@cloudoperators/juno-messages-provider 0.2.31 → 0.2.33
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/index.js +595 -594
- package/package.json +3 -3
package/build/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as d from "react";
|
|
2
|
-
import q, { createContext as pe, useContext as be, forwardRef as
|
|
2
|
+
import q, { createContext as pe, useContext as be, forwardRef as U, isValidElement as ar, cloneElement as pi, useId as je, useState as we, Fragment as dt, useRef as se, useCallback as ce, useMemo as Me, useEffect as ye, useLayoutEffect as mi, createElement as Es, useSyncExternalStore as Ss } from "react";
|
|
3
3
|
import { createStore as Ms, useStore as Cs } from "zustand";
|
|
4
4
|
import * as Vn from "react-dom";
|
|
5
5
|
import { createPortal as hi, flushSync as Ve } from "react-dom";
|
|
@@ -185,7 +185,7 @@ function Is() {
|
|
|
185
185
|
function u(O, j, J, ne, de, B) {
|
|
186
186
|
var te = J.ref;
|
|
187
187
|
return O = {
|
|
188
|
-
$$typeof:
|
|
188
|
+
$$typeof: v,
|
|
189
189
|
type: O,
|
|
190
190
|
key: j,
|
|
191
191
|
props: J,
|
|
@@ -221,13 +221,13 @@ function Is() {
|
|
|
221
221
|
if (ne)
|
|
222
222
|
if (R(te)) {
|
|
223
223
|
for (ne = 0; ne < te.length; ne++)
|
|
224
|
-
|
|
224
|
+
g(te[ne]);
|
|
225
225
|
Object.freeze && Object.freeze(te);
|
|
226
226
|
} else
|
|
227
227
|
console.error(
|
|
228
228
|
"React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."
|
|
229
229
|
);
|
|
230
|
-
else
|
|
230
|
+
else g(te);
|
|
231
231
|
if (E.call(j, "key")) {
|
|
232
232
|
te = t(O);
|
|
233
233
|
var oe = Object.keys(j).filter(function(Qt) {
|
|
@@ -263,13 +263,13 @@ React keys must be passed directly to JSX without using spread:
|
|
|
263
263
|
B
|
|
264
264
|
);
|
|
265
265
|
}
|
|
266
|
-
function
|
|
266
|
+
function g(O) {
|
|
267
267
|
m(O) ? O._store && (O._store.validated = 1) : typeof O == "object" && O !== null && O.$$typeof === F && (O._payload.status === "fulfilled" ? m(O._payload.value) && O._payload.value._store && (O._payload.value._store.validated = 1) : O._store && (O._store.validated = 1));
|
|
268
268
|
}
|
|
269
269
|
function m(O) {
|
|
270
|
-
return typeof O == "object" && O !== null && O.$$typeof ===
|
|
270
|
+
return typeof O == "object" && O !== null && O.$$typeof === v;
|
|
271
271
|
}
|
|
272
|
-
var p = q,
|
|
272
|
+
var p = q, v = /* @__PURE__ */ Symbol.for("react.transitional.element"), b = /* @__PURE__ */ Symbol.for("react.portal"), x = /* @__PURE__ */ Symbol.for("react.fragment"), M = /* @__PURE__ */ Symbol.for("react.strict_mode"), C = /* @__PURE__ */ Symbol.for("react.profiler"), k = /* @__PURE__ */ Symbol.for("react.consumer"), L = /* @__PURE__ */ Symbol.for("react.context"), _ = /* @__PURE__ */ Symbol.for("react.forward_ref"), P = /* @__PURE__ */ Symbol.for("react.suspense"), N = /* @__PURE__ */ Symbol.for("react.suspense_list"), I = /* @__PURE__ */ Symbol.for("react.memo"), F = /* @__PURE__ */ Symbol.for("react.lazy"), S = /* @__PURE__ */ Symbol.for("react.activity"), z = /* @__PURE__ */ Symbol.for("react.client.reference"), w = p.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, E = Object.prototype.hasOwnProperty, R = Array.isArray, A = console.createTask ? console.createTask : function() {
|
|
273
273
|
return null;
|
|
274
274
|
};
|
|
275
275
|
p = {
|
|
@@ -314,7 +314,7 @@ const As = ({
|
|
|
314
314
|
titleId: n,
|
|
315
315
|
...e
|
|
316
316
|
}, r) => /* @__PURE__ */ d.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 49, height: 41, fill: "none", viewBox: "0 0 49 41", alt: "Juno UI", ref: r, "aria-labelledby": n, ...e }, t ? /* @__PURE__ */ d.createElement("title", { id: n }, t) : null, /* @__PURE__ */ d.createElement("path", { fill: "#0FA7B4", d: "M11.093 16 4 20.095l7.093 4.105 7.093-4.105L11.093 16Z" }), /* @__PURE__ */ d.createElement("path", { fill: "#000", fillRule: "evenodd", d: "m11.093 16.346 6.793 3.922v7.844l-6.793 3.922L4.3 28.112v-7.844l6.793-3.922ZM4 20.095 11.093 16l7.093 4.095v8.19l-7.093 4.095L4 28.285v-8.19Z", clipRule: "evenodd" }), /* @__PURE__ */ d.createElement("path", { fill: "#05646D", d: "M11.093 24.19v8.19l7.093-4.095v-8.19l-7.093 4.095Z" }), /* @__PURE__ */ d.createElement("path", { fill: "#05646D", d: "M11.093 24.19v8.19l7.093-4.095v-8.19l-7.093 4.095Z" }), /* @__PURE__ */ d.createElement("path", { fill: "#098590", d: "M11.093 24.19v8.19L4 28.285v-8.19l7.093 4.095Z" }), /* @__PURE__ */ d.createElement("path", { fill: "#15D0E0", fillRule: "evenodd", d: "M18.186 20.095 11.093 16 4 20.095v8.19l7.093 4.095 7.093-4.095v-8.19Zm-7.093-3.749 6.493 3.75-6.493 3.757L4.6 20.095l6.494-3.749Zm-.3 8.017L4.3 20.614v7.498l6.493 3.748v-7.497Zm7.093-3.749-6.493 3.749v7.497l6.492-3.748v-7.498Z", clipRule: "evenodd" }), /* @__PURE__ */ d.createElement("path", { fill: "#098590", d: "M24.402 36.76V20.38l-14.185-8.19v8.226l7.065 4.079v8.155l7.12 4.11Z" }), /* @__PURE__ */ d.createElement("path", { fill: "#0FA7B4", d: "m38.587 20.388-7.08 4.087v-8.19l7.08-4.087v-.008l-14.185 8.19v16.38l14.185-8.19v-8.182Z" }), /* @__PURE__ */ d.createElement("path", { fill: "#05646D", d: "M31.591 16.337v.064-8.254l-7.093 4.095 7.093 4.095Z" }), /* @__PURE__ */ d.createElement("path", { fill: "#02454B", d: "M31.51 16.285v8.19l7.092-4.095-7.093-4.095Z" }), /* @__PURE__ */ d.createElement("path", { fill: "#15D0E0", d: "M37.092 8 30 12.095v8.19l7.092 4.095 7.093-4.095v-8.19L37.092 8Z" }), /* @__PURE__ */ d.createElement("path", { fill: "#0FA7B4", d: "M37.092 16.19v8.19l7.093-4.095v-8.19l-7.093 4.095Z" }), /* @__PURE__ */ d.createElement("path", { fill: "#098590", d: "M37.092 16.19v8.19L30 20.285v-8.19l7.092 4.095Z" }), /* @__PURE__ */ d.createElement("path", { fill: "url(#a)", fillRule: "evenodd", d: "M44.185 12.095 37.092 8 30 12.095v8.19l7.092 4.095 7.093-4.095v-8.19Zm-7.093-3.749 6.493 3.75-6.493 3.757-6.493-3.758 6.493-3.749Zm-.3 8.017-6.493-3.749v7.497l6.493 3.75v-7.498Zm7.093-3.749-6.493 3.749v7.497l6.493-3.748v-7.498Z", clipRule: "evenodd" }), /* @__PURE__ */ d.createElement("path", { fill: "#0FA7B4", d: "m31.502 32.65-7.1 4.15V20.4l7.1-4.11v16.36Z" }), /* @__PURE__ */ d.createElement("path", { fill: "#15D0E0", d: "m24.502 12.25 7 4.04-7.1 4.11-14.2-8.2 14.2-8.2 7.2 4.15-7.1 4.1Z" }), /* @__PURE__ */ d.createElement("path", { fill: "url(#b)", fillRule: "evenodd", d: "M31.602 8.15 24.402 4l-14.184 8.191h-.001v.001l-.014.008.013.008v8.147l7.066 4.08v8.19l7.12 4.135V28.7v8.1l5.52-3.226 8.665-5.003v-5.054l-.3.173v4.707l-6.77 3.91.033-7.51 3.133-1.808-.3-.173-2.831 1.634v-.011h-.044v-8.154l1.19-.687v-.008l-1.203.695-6.773-3.908.006-.01-.214-.124 7.088-4.093Zm-6.9 28.127v-7.576l6.506-3.717v.011l.042-.024-.034 7.509-1.446.835-5.068 2.962Zm0-7.921 6.506-3.718v-7.84l-6.506 3.756v7.802Zm6.3-20.206-6.787 3.92-6.577-3.817 6.764-3.907 6.6 3.804Zm-7.096 4.087-6.568-3.811-6.535 3.774 6.199 3.58 6.904-3.543Zm.294.185-6.889 3.537 7.09 4.095 6.501-3.764-6.702-3.868Zm-6.618 20.055V24.26l-7.066-4.08v-7.47l13.586 7.844V36.24l-6.52-3.764Z", clipRule: "evenodd" }), /* @__PURE__ */ d.createElement("path", { fill: "url(#c)", d: "m34.376 14.622.007.004 4.204-2.428v-.008l-4.21 2.432Z" }), /* @__PURE__ */ d.createElement("defs", null, /* @__PURE__ */ d.createElement("linearGradient", { id: "a", x1: 24.093, x2: 23.823, y1: 36.799, y2: 3.998, gradientUnits: "userSpaceOnUse" }, /* @__PURE__ */ d.createElement("stop", { stopColor: "#05646D" }), /* @__PURE__ */ d.createElement("stop", { offset: 0.613, stopColor: "#15D0E0" }), /* @__PURE__ */ d.createElement("stop", { offset: 1, stopColor: "#098590" })), /* @__PURE__ */ d.createElement("linearGradient", { id: "b", x1: 26.402, x2: 15.344, y1: -1, y2: 32.206, gradientUnits: "userSpaceOnUse" }, /* @__PURE__ */ d.createElement("stop", { stopColor: "#127E88" }), /* @__PURE__ */ d.createElement("stop", { offset: 0.539, stopColor: "#44F0FF" }), /* @__PURE__ */ d.createElement("stop", { offset: 1, stopColor: "#0B717A" })), /* @__PURE__ */ d.createElement("linearGradient", { id: "c", x1: 26.402, x2: 15.344, y1: -1, y2: 32.206, gradientUnits: "userSpaceOnUse" }, /* @__PURE__ */ d.createElement("stop", { stopColor: "#127E88" }), /* @__PURE__ */ d.createElement("stop", { offset: 0.539, stopColor: "#44F0FF" }), /* @__PURE__ */ d.createElement("stop", { offset: 1, stopColor: "#0B717A" }))));
|
|
317
|
-
|
|
317
|
+
U(As);
|
|
318
318
|
pe(void 0);
|
|
319
319
|
const Ps = {
|
|
320
320
|
position: "relative",
|
|
@@ -330,227 +330,227 @@ const Fs = pe(void 0), Ls = ({
|
|
|
330
330
|
title: t,
|
|
331
331
|
titleId: n,
|
|
332
332
|
...e
|
|
333
|
-
}, r) => /* @__PURE__ */ d.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", ref: r, "aria-labelledby": n, ...e }, t ? /* @__PURE__ */ d.createElement("title", { id: n }, t) : null, /* @__PURE__ */ d.createElement("path", { d: "M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z" }), /* @__PURE__ */ d.createElement("path", { d: "M12.5 7H11v6l5.25 3.15.75-1.23-4.5-2.67z" })), Rs =
|
|
333
|
+
}, r) => /* @__PURE__ */ d.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", ref: r, "aria-labelledby": n, ...e }, t ? /* @__PURE__ */ d.createElement("title", { id: n }, t) : null, /* @__PURE__ */ d.createElement("path", { d: "M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z" }), /* @__PURE__ */ d.createElement("path", { d: "M12.5 7H11v6l5.25 3.15.75-1.23-4.5-2.67z" })), Rs = U(Ls), _s = ({
|
|
334
334
|
title: t,
|
|
335
335
|
titleId: n,
|
|
336
336
|
...e
|
|
337
|
-
}, r) => /* @__PURE__ */ d.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", ref: r, "aria-labelledby": n, ...e }, t ? /* @__PURE__ */ d.createElement("title", { id: n }, t) : null, /* @__PURE__ */ d.createElement("path", { d: "M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 4c1.93 0 3.5 1.57 3.5 3.5S13.93 13 12 13s-3.5-1.57-3.5-3.5S10.07 6 12 6zm0 14c-2.03 0-4.43-.82-6.14-2.88a9.947 9.947 0 0 1 12.28 0C16.43 19.18 14.03 20 12 20z" })), Hs =
|
|
337
|
+
}, r) => /* @__PURE__ */ d.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", ref: r, "aria-labelledby": n, ...e }, t ? /* @__PURE__ */ d.createElement("title", { id: n }, t) : null, /* @__PURE__ */ d.createElement("path", { d: "M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 4c1.93 0 3.5 1.57 3.5 3.5S13.93 13 12 13s-3.5-1.57-3.5-3.5S10.07 6 12 6zm0 14c-2.03 0-4.43-.82-6.14-2.88a9.947 9.947 0 0 1 12.28 0C16.43 19.18 14.03 20 12 20z" })), Hs = U(_s), zs = ({
|
|
338
338
|
title: t,
|
|
339
339
|
titleId: n,
|
|
340
340
|
...e
|
|
341
|
-
}, r) => /* @__PURE__ */ d.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", ref: r, "aria-labelledby": n, ...e }, t ? /* @__PURE__ */ d.createElement("title", { id: n }, t) : null, /* @__PURE__ */ d.createElement("path", { d: "M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm5 11h-4v4h-2v-4H7v-2h4V7h2v4h4v2z" })), Vs =
|
|
341
|
+
}, r) => /* @__PURE__ */ d.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", ref: r, "aria-labelledby": n, ...e }, t ? /* @__PURE__ */ d.createElement("title", { id: n }, t) : null, /* @__PURE__ */ d.createElement("path", { d: "M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm5 11h-4v4h-2v-4H7v-2h4V7h2v4h4v2z" })), Vs = U(zs), Ws = ({
|
|
342
342
|
title: t,
|
|
343
343
|
titleId: n,
|
|
344
344
|
...e
|
|
345
|
-
}, r) => /* @__PURE__ */ d.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", ref: r, "aria-labelledby": n, ...e }, t ? /* @__PURE__ */ d.createElement("title", { id: n }, t) : null, /* @__PURE__ */ d.createElement("path", { d: "M3 5v14a2 2 0 0 0 2 2h6V3H5a2 2 0 0 0-2 2zm16-2h-6v8h8V5c0-1.1-.9-2-2-2zm-6 18h6c1.1 0 2-.9 2-2v-6h-8v8z" })), $s =
|
|
345
|
+
}, r) => /* @__PURE__ */ d.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", ref: r, "aria-labelledby": n, ...e }, t ? /* @__PURE__ */ d.createElement("title", { id: n }, t) : null, /* @__PURE__ */ d.createElement("path", { d: "M3 5v14a2 2 0 0 0 2 2h6V3H5a2 2 0 0 0-2 2zm16-2h-6v8h8V5c0-1.1-.9-2-2-2zm-6 18h6c1.1 0 2-.9 2-2v-6h-8v8z" })), $s = U(Ws), Bs = ({
|
|
346
346
|
title: t,
|
|
347
347
|
titleId: n,
|
|
348
348
|
...e
|
|
349
|
-
}, r) => /* @__PURE__ */ d.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", ref: r, "aria-labelledby": n, ...e }, t ? /* @__PURE__ */ d.createElement("title", { id: n }, t) : null, /* @__PURE__ */ d.createElement("path", { d: "M14 2H4a2 2 0 0 0-2 2v10h2V4h10V2zm4 4H8a2 2 0 0 0-2 2v10h2V8h10V6zm2 4h-8a2 2 0 0 0-2 2v8a2 2 0 0 0 2 2h8c1.1 0 2-.9 2-2v-8c0-1.1-.9-2-2-2z" })), Ys =
|
|
349
|
+
}, r) => /* @__PURE__ */ d.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", ref: r, "aria-labelledby": n, ...e }, t ? /* @__PURE__ */ d.createElement("title", { id: n }, t) : null, /* @__PURE__ */ d.createElement("path", { d: "M14 2H4a2 2 0 0 0-2 2v10h2V4h10V2zm4 4H8a2 2 0 0 0-2 2v10h2V8h10V6zm2 4h-8a2 2 0 0 0-2 2v8a2 2 0 0 0 2 2h8c1.1 0 2-.9 2-2v-8c0-1.1-.9-2-2-2z" })), Ys = U(Bs), Ks = ({
|
|
350
350
|
title: t,
|
|
351
351
|
titleId: n,
|
|
352
352
|
...e
|
|
353
|
-
}, r) => /* @__PURE__ */ d.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", ref: r, "aria-labelledby": n, ...e }, t ? /* @__PURE__ */ d.createElement("title", { id: n }, t) : null, /* @__PURE__ */ d.createElement("path", { d: "M11 21h-1l1-7H7.5c-.58 0-.57-.32-.38-.66.19-.34.05-.08.07-.12C8.48 10.94 10.42 7.54 13 3h1l-1 7h3.5c.49 0 .56.33.47.51l-.07.15C12.96 17.55 11 21 11 21z" })),
|
|
353
|
+
}, r) => /* @__PURE__ */ d.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", ref: r, "aria-labelledby": n, ...e }, t ? /* @__PURE__ */ d.createElement("title", { id: n }, t) : null, /* @__PURE__ */ d.createElement("path", { d: "M11 21h-1l1-7H7.5c-.58 0-.57-.32-.38-.66.19-.34.05-.08.07-.12C8.48 10.94 10.42 7.54 13 3h1l-1 7h3.5c.49 0 .56.33.47.51l-.07.15C12.96 17.55 11 21 11 21z" })), Us = U(Ks), Zs = ({
|
|
354
354
|
title: t,
|
|
355
355
|
titleId: n,
|
|
356
356
|
...e
|
|
357
|
-
}, r) => /* @__PURE__ */ d.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", ref: r, "aria-labelledby": n, ...e }, t ? /* @__PURE__ */ d.createElement("title", { id: n }, t) : null, /* @__PURE__ */ d.createElement("path", { d: "M20 3h-1V1h-2v2H7V1H5v2H4c-1.1 0-2 .9-2 2v16c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 18H4V8h16v13z" })), qs =
|
|
357
|
+
}, r) => /* @__PURE__ */ d.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", ref: r, "aria-labelledby": n, ...e }, t ? /* @__PURE__ */ d.createElement("title", { id: n }, t) : null, /* @__PURE__ */ d.createElement("path", { d: "M20 3h-1V1h-2v2H7V1H5v2H4c-1.1 0-2 .9-2 2v16c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 18H4V8h16v13z" })), qs = U(Zs), Gs = ({
|
|
358
358
|
title: t,
|
|
359
359
|
titleId: n,
|
|
360
360
|
...e
|
|
361
|
-
}, r) => /* @__PURE__ */ d.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", ref: r, "aria-labelledby": n, ...e }, t ? /* @__PURE__ */ d.createElement("title", { id: n }, t) : null, /* @__PURE__ */ d.createElement("path", { d: "M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12 17 15.59z" })), Qs =
|
|
361
|
+
}, r) => /* @__PURE__ */ d.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", ref: r, "aria-labelledby": n, ...e }, t ? /* @__PURE__ */ d.createElement("title", { id: n }, t) : null, /* @__PURE__ */ d.createElement("path", { d: "M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12 17 15.59z" })), Qs = U(Gs), Xs = ({
|
|
362
362
|
title: t,
|
|
363
363
|
titleId: n,
|
|
364
364
|
...e
|
|
365
|
-
}, r) => /* @__PURE__ */ d.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", ref: r, "aria-labelledby": n, ...e }, t ? /* @__PURE__ */ d.createElement("title", { id: n }, t) : null, /* @__PURE__ */ d.createElement("path", { d: "M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z" })), Js =
|
|
365
|
+
}, r) => /* @__PURE__ */ d.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", ref: r, "aria-labelledby": n, ...e }, t ? /* @__PURE__ */ d.createElement("title", { id: n }, t) : null, /* @__PURE__ */ d.createElement("path", { d: "M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z" })), Js = U(Xs), ec = ({
|
|
366
366
|
title: t,
|
|
367
367
|
titleId: n,
|
|
368
368
|
...e
|
|
369
|
-
}, r) => /* @__PURE__ */ d.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", ref: r, "aria-labelledby": n, ...e }, t ? /* @__PURE__ */ d.createElement("title", { id: n }, t) : null, /* @__PURE__ */ d.createElement("path", { d: "M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z" })), tc =
|
|
369
|
+
}, r) => /* @__PURE__ */ d.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", ref: r, "aria-labelledby": n, ...e }, t ? /* @__PURE__ */ d.createElement("title", { id: n }, t) : null, /* @__PURE__ */ d.createElement("path", { d: "M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z" })), tc = U(ec), nc = ({
|
|
370
370
|
title: t,
|
|
371
371
|
titleId: n,
|
|
372
372
|
...e
|
|
373
|
-
}, r) => /* @__PURE__ */ d.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", ref: r, "aria-labelledby": n, ...e }, t ? /* @__PURE__ */ d.createElement("title", { id: n }, t) : null, /* @__PURE__ */ d.createElement("path", { d: "M15.41 7.41 14 6l-6 6 6 6 1.41-1.41L10.83 12l4.58-4.59z" })), rc =
|
|
373
|
+
}, r) => /* @__PURE__ */ d.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", ref: r, "aria-labelledby": n, ...e }, t ? /* @__PURE__ */ d.createElement("title", { id: n }, t) : null, /* @__PURE__ */ d.createElement("path", { d: "M15.41 7.41 14 6l-6 6 6 6 1.41-1.41L10.83 12l4.58-4.59z" })), rc = U(nc), ic = ({
|
|
374
374
|
title: t,
|
|
375
375
|
titleId: n,
|
|
376
376
|
...e
|
|
377
|
-
}, r) => /* @__PURE__ */ d.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", ref: r, "aria-labelledby": n, ...e }, t ? /* @__PURE__ */ d.createElement("title", { id: n }, t) : null, /* @__PURE__ */ d.createElement("path", { d: "M10 6 8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6-6-6z" })), oc =
|
|
377
|
+
}, r) => /* @__PURE__ */ d.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", ref: r, "aria-labelledby": n, ...e }, t ? /* @__PURE__ */ d.createElement("title", { id: n }, t) : null, /* @__PURE__ */ d.createElement("path", { d: "M10 6 8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6-6-6z" })), oc = U(ic), ac = ({
|
|
378
378
|
title: t,
|
|
379
379
|
titleId: n,
|
|
380
380
|
...e
|
|
381
|
-
}, r) => /* @__PURE__ */ d.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", ref: r, "aria-labelledby": n, ...e }, t ? /* @__PURE__ */ d.createElement("title", { id: n }, t) : null, /* @__PURE__ */ d.createElement("path", { d: "M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z" })), lc =
|
|
381
|
+
}, r) => /* @__PURE__ */ d.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", ref: r, "aria-labelledby": n, ...e }, t ? /* @__PURE__ */ d.createElement("title", { id: n }, t) : null, /* @__PURE__ */ d.createElement("path", { d: "M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z" })), lc = U(ac), sc = ({
|
|
382
382
|
title: t,
|
|
383
383
|
titleId: n,
|
|
384
384
|
...e
|
|
385
|
-
}, r) => /* @__PURE__ */ d.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", ref: r, "aria-labelledby": n, ...e }, t ? /* @__PURE__ */ d.createElement("title", { id: n }, t) : null, /* @__PURE__ */ d.createElement("path", { d: "M21.99 4c0-1.1-.89-2-1.99-2H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h14l4 4-.01-18zM18 14H6v-2h12v2zm0-3H6V9h12v2zm0-3H6V6h12v2z" })), cc =
|
|
385
|
+
}, r) => /* @__PURE__ */ d.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", ref: r, "aria-labelledby": n, ...e }, t ? /* @__PURE__ */ d.createElement("title", { id: n }, t) : null, /* @__PURE__ */ d.createElement("path", { d: "M21.99 4c0-1.1-.89-2-1.99-2H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h14l4 4-.01-18zM18 14H6v-2h12v2zm0-3H6V9h12v2zm0-3H6V6h12v2z" })), cc = U(sc), uc = ({
|
|
386
386
|
title: t,
|
|
387
387
|
titleId: n,
|
|
388
388
|
...e
|
|
389
|
-
}, r) => /* @__PURE__ */ d.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", ref: r, "aria-labelledby": n, ...e }, t ? /* @__PURE__ */ d.createElement("title", { id: n }, t) : null, /* @__PURE__ */ d.createElement("path", { d: "M16 1H4c-1.1 0-2 .9-2 2v14h2V3h12V1zm3 4H8c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h11c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2zm0 16H8V7h11v14z" })), dc =
|
|
389
|
+
}, r) => /* @__PURE__ */ d.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", ref: r, "aria-labelledby": n, ...e }, t ? /* @__PURE__ */ d.createElement("title", { id: n }, t) : null, /* @__PURE__ */ d.createElement("path", { d: "M16 1H4c-1.1 0-2 .9-2 2v14h2V3h12V1zm3 4H8c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h11c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2zm0 16H8V7h11v14z" })), dc = U(uc), fc = ({
|
|
390
390
|
title: t,
|
|
391
391
|
titleId: n,
|
|
392
392
|
...e
|
|
393
|
-
}, r) => /* @__PURE__ */ d.createElement("svg", { width: "24px", height: "24px", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg", xmlnsXlink: "http://www.w3.org/1999/xlink", ref: r, "aria-labelledby": n, ...e }, t ? /* @__PURE__ */ d.createElement("title", { id: n }, t) : null, /* @__PURE__ */ d.createElement("path", { d: "M22,17.9999996 L22,19.9999996 L2,19.9999996 L2,17.9999996 L22,17.9999996 Z M12,6.428571 C14.7642857,6.428571 17.0146825,8.23991359 17.1375716,10.5179164 L17.1428571,10.7142853 L17.1428571,16.7142853 L6.85714286,16.7142853 L6.85714286,10.7142853 L6.86242835,10.5179164 C6.98531746,8.23991359 9.23571429,6.428571 12,6.428571 Z M12,7.71428529 L12,15.428571 L15.8571429,15.428571 L15.8571429,11.1428567 L15.851803,10.960591 C15.745448,9.15003461 14.0636603,7.71428529 12,7.71428529 Z M19.075912,3.96838198 L20.490712,5.38218198 L18.370012,7.50438202 L16.955212,6.09058202 L19.075912,3.96838198 Z M4.956739,3.939208 L7.078039,6.060508 L5.663839,7.474708 L3.542539,5.353408 L4.956739,3.939208 Z M13,1.428571 L13,4.428571 L11,4.428571 L11,1.428571 L13,1.428571 Z" })), pc =
|
|
393
|
+
}, r) => /* @__PURE__ */ d.createElement("svg", { width: "24px", height: "24px", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg", xmlnsXlink: "http://www.w3.org/1999/xlink", ref: r, "aria-labelledby": n, ...e }, t ? /* @__PURE__ */ d.createElement("title", { id: n }, t) : null, /* @__PURE__ */ d.createElement("path", { d: "M22,17.9999996 L22,19.9999996 L2,19.9999996 L2,17.9999996 L22,17.9999996 Z M12,6.428571 C14.7642857,6.428571 17.0146825,8.23991359 17.1375716,10.5179164 L17.1428571,10.7142853 L17.1428571,16.7142853 L6.85714286,16.7142853 L6.85714286,10.7142853 L6.86242835,10.5179164 C6.98531746,8.23991359 9.23571429,6.428571 12,6.428571 Z M12,7.71428529 L12,15.428571 L15.8571429,15.428571 L15.8571429,11.1428567 L15.851803,10.960591 C15.745448,9.15003461 14.0636603,7.71428529 12,7.71428529 Z M19.075912,3.96838198 L20.490712,5.38218198 L18.370012,7.50438202 L16.955212,6.09058202 L19.075912,3.96838198 Z M4.956739,3.939208 L7.078039,6.060508 L5.663839,7.474708 L3.542539,5.353408 L4.956739,3.939208 Z M13,1.428571 L13,4.428571 L11,4.428571 L11,1.428571 L13,1.428571 Z" })), pc = U(fc), mc = ({
|
|
394
394
|
title: t,
|
|
395
395
|
titleId: n,
|
|
396
396
|
...e
|
|
397
|
-
}, r) => /* @__PURE__ */ d.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", ref: r, "aria-labelledby": n, ...e }, t ? /* @__PURE__ */ d.createElement("title", { id: n }, t) : null, /* @__PURE__ */ d.createElement("path", { d: "M15.73 3H8.27L3 8.27v7.46L8.27 21h7.46L21 15.73V8.27L15.73 3zM17 15.74 15.74 17 12 13.26 8.26 17 7 15.74 10.74 12 7 8.26 8.26 7 12 10.74 15.74 7 17 8.26 13.26 12 17 15.74z" })), uo =
|
|
397
|
+
}, r) => /* @__PURE__ */ d.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", ref: r, "aria-labelledby": n, ...e }, t ? /* @__PURE__ */ d.createElement("title", { id: n }, t) : null, /* @__PURE__ */ d.createElement("path", { d: "M15.73 3H8.27L3 8.27v7.46L8.27 21h7.46L21 15.73V8.27L15.73 3zM17 15.74 15.74 17 12 13.26 8.26 17 7 15.74 10.74 12 7 8.26 8.26 7 12 10.74 15.74 7 17 8.26 13.26 12 17 15.74z" })), uo = U(mc), hc = ({
|
|
398
398
|
title: t,
|
|
399
399
|
titleId: n,
|
|
400
400
|
...e
|
|
401
|
-
}, r) => /* @__PURE__ */ d.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", ref: r, "aria-labelledby": n, ...e }, t ? /* @__PURE__ */ d.createElement("title", { id: n }, t) : null, /* @__PURE__ */ d.createElement("path", { d: "M5 20h14v-2H5v2zM19 9h-4V3H9v6H5l7 7 7-7z" })), gc =
|
|
401
|
+
}, r) => /* @__PURE__ */ d.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", ref: r, "aria-labelledby": n, ...e }, t ? /* @__PURE__ */ d.createElement("title", { id: n }, t) : null, /* @__PURE__ */ d.createElement("path", { d: "M5 20h14v-2H5v2zM19 9h-4V3H9v6H5l7 7 7-7z" })), gc = U(hc), vc = ({
|
|
402
402
|
title: t,
|
|
403
403
|
titleId: n,
|
|
404
404
|
...e
|
|
405
|
-
}, r) => /* @__PURE__ */ d.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", ref: r, "aria-labelledby": n, ...e }, t ? /* @__PURE__ */ d.createElement("title", { id: n }, t) : null, /* @__PURE__ */ d.createElement("path", { d: "M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6v12zm2.46-7.12 1.41-1.41L12 12.59l2.12-2.12 1.41 1.41L13.41 14l2.12 2.12-1.41 1.41L12 15.41l-2.12 2.12-1.41-1.41L10.59 14l-2.13-2.12zM15.5 4l-1-1h-5l-1 1H5v2h14V4z" })), bc =
|
|
405
|
+
}, r) => /* @__PURE__ */ d.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", ref: r, "aria-labelledby": n, ...e }, t ? /* @__PURE__ */ d.createElement("title", { id: n }, t) : null, /* @__PURE__ */ d.createElement("path", { d: "M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6v12zm2.46-7.12 1.41-1.41L12 12.59l2.12-2.12 1.41 1.41L13.41 14l2.12 2.12-1.41 1.41L12 15.41l-2.12 2.12-1.41-1.41L10.59 14l-2.13-2.12zM15.5 4l-1-1h-5l-1 1H5v2h14V4z" })), bc = U(vc), wc = ({
|
|
406
406
|
title: t,
|
|
407
407
|
titleId: n,
|
|
408
408
|
...e
|
|
409
|
-
}, r) => /* @__PURE__ */ d.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", ref: r, "aria-labelledby": n, ...e }, t ? /* @__PURE__ */ d.createElement("title", { id: n }, t) : null, /* @__PURE__ */ d.createElement("path", { d: "M14 2H6c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8l-6-6zm2 16H8v-2h8v2zm0-4H8v-2h8v2zm-3-5V3.5L18.5 9H13z" })), yc =
|
|
409
|
+
}, r) => /* @__PURE__ */ d.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", ref: r, "aria-labelledby": n, ...e }, t ? /* @__PURE__ */ d.createElement("title", { id: n }, t) : null, /* @__PURE__ */ d.createElement("path", { d: "M14 2H6c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8l-6-6zm2 16H8v-2h8v2zm0-4H8v-2h8v2zm-3-5V3.5L18.5 9H13z" })), yc = U(wc), xc = ({
|
|
410
410
|
title: t,
|
|
411
411
|
titleId: n,
|
|
412
412
|
...e
|
|
413
|
-
}, r) => /* @__PURE__ */ d.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", ref: r, "aria-labelledby": n, ...e }, t ? /* @__PURE__ */ d.createElement("title", { id: n }, t) : null, /* @__PURE__ */ d.createElement("path", { d: "M20 13H4c-.55 0-1 .45-1 1v6c0 .55.45 1 1 1h16c.55 0 1-.45 1-1v-6c0-.55-.45-1-1-1zM7 19c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2zM20 3H4c-.55 0-1 .45-1 1v6c0 .55.45 1 1 1h16c.55 0 1-.45 1-1V4c0-.55-.45-1-1-1zM7 9c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2z" })), Ec =
|
|
413
|
+
}, r) => /* @__PURE__ */ d.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", ref: r, "aria-labelledby": n, ...e }, t ? /* @__PURE__ */ d.createElement("title", { id: n }, t) : null, /* @__PURE__ */ d.createElement("path", { d: "M20 13H4c-.55 0-1 .45-1 1v6c0 .55.45 1 1 1h16c.55 0 1-.45 1-1v-6c0-.55-.45-1-1-1zM7 19c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2zM20 3H4c-.55 0-1 .45-1 1v6c0 .55.45 1 1 1h16c.55 0 1-.45 1-1V4c0-.55-.45-1-1-1zM7 9c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2z" })), Ec = U(xc), Sc = ({
|
|
414
414
|
title: t,
|
|
415
415
|
titleId: n,
|
|
416
416
|
...e
|
|
417
|
-
}, r) => /* @__PURE__ */ d.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", ref: r, "aria-labelledby": n, ...e }, t ? /* @__PURE__ */ d.createElement("title", { id: n }, t) : null, /* @__PURE__ */ d.createElement("path", { d: "M3 17.25V21h3.75L17.81 9.94l-3.75-3.75L3 17.25zM20.71 7.04a.996.996 0 0 0 0-1.41l-2.34-2.34a.996.996 0 0 0-1.41 0l-1.83 1.83 3.75 3.75 1.83-1.83z" })), Mc =
|
|
417
|
+
}, r) => /* @__PURE__ */ d.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", ref: r, "aria-labelledby": n, ...e }, t ? /* @__PURE__ */ d.createElement("title", { id: n }, t) : null, /* @__PURE__ */ d.createElement("path", { d: "M3 17.25V21h3.75L17.81 9.94l-3.75-3.75L3 17.25zM20.71 7.04a.996.996 0 0 0 0-1.41l-2.34-2.34a.996.996 0 0 0-1.41 0l-1.83 1.83 3.75 3.75 1.83-1.83z" })), Mc = U(Sc), Cc = ({
|
|
418
418
|
title: t,
|
|
419
419
|
titleId: n,
|
|
420
420
|
...e
|
|
421
|
-
}, r) => /* @__PURE__ */ d.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", ref: r, "aria-labelledby": n, ...e }, t ? /* @__PURE__ */ d.createElement("title", { id: n }, t) : null, /* @__PURE__ */ d.createElement("path", { d: "M11 15h2v2h-2v-2zm0-8h2v6h-2V7zm.99-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z" })), Oc =
|
|
421
|
+
}, r) => /* @__PURE__ */ d.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", ref: r, "aria-labelledby": n, ...e }, t ? /* @__PURE__ */ d.createElement("title", { id: n }, t) : null, /* @__PURE__ */ d.createElement("path", { d: "M11 15h2v2h-2v-2zm0-8h2v6h-2V7zm.99-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z" })), Oc = U(Cc), Dc = ({
|
|
422
422
|
title: t,
|
|
423
423
|
titleId: n,
|
|
424
424
|
...e
|
|
425
|
-
}, r) => /* @__PURE__ */ d.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", ref: r, "aria-labelledby": n, ...e }, t ? /* @__PURE__ */ d.createElement("title", { id: n }, t) : null, /* @__PURE__ */ d.createElement("path", { d: "M10.09 15.59 11.5 17l5-5-5-5-1.41 1.41L12.67 11H3v2h9.67l-2.58 2.59zM19 3H5a2 2 0 0 0-2 2v4h2V5h14v14H5v-4H3v4a2 2 0 0 0 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z" })), Tc =
|
|
425
|
+
}, r) => /* @__PURE__ */ d.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", ref: r, "aria-labelledby": n, ...e }, t ? /* @__PURE__ */ d.createElement("title", { id: n }, t) : null, /* @__PURE__ */ d.createElement("path", { d: "M10.09 15.59 11.5 17l5-5-5-5-1.41 1.41L12.67 11H3v2h9.67l-2.58 2.59zM19 3H5a2 2 0 0 0-2 2v4h2V5h14v14H5v-4H3v4a2 2 0 0 0 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z" })), Tc = U(Dc), kc = ({
|
|
426
426
|
title: t,
|
|
427
427
|
titleId: n,
|
|
428
428
|
...e
|
|
429
|
-
}, r) => /* @__PURE__ */ d.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", ref: r, "aria-labelledby": n, ...e }, t ? /* @__PURE__ */ d.createElement("title", { id: n }, t) : null, /* @__PURE__ */ d.createElement("path", { d: "m12 8-6 6 1.41 1.41L12 10.83l4.59 4.58L18 14l-6-6z" })), Ic =
|
|
429
|
+
}, r) => /* @__PURE__ */ d.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", ref: r, "aria-labelledby": n, ...e }, t ? /* @__PURE__ */ d.createElement("title", { id: n }, t) : null, /* @__PURE__ */ d.createElement("path", { d: "m12 8-6 6 1.41 1.41L12 10.83l4.59 4.58L18 14l-6-6z" })), Ic = U(kc), jc = ({
|
|
430
430
|
title: t,
|
|
431
431
|
titleId: n,
|
|
432
432
|
...e
|
|
433
|
-
}, r) => /* @__PURE__ */ d.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", ref: r, "aria-labelledby": n, ...e }, t ? /* @__PURE__ */ d.createElement("title", { id: n }, t) : null, /* @__PURE__ */ d.createElement("path", { d: "M16.59 8.59 12 13.17 7.41 8.59 6 10l6 6 6-6-1.41-1.41z" })), Ac =
|
|
433
|
+
}, r) => /* @__PURE__ */ d.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", ref: r, "aria-labelledby": n, ...e }, t ? /* @__PURE__ */ d.createElement("title", { id: n }, t) : null, /* @__PURE__ */ d.createElement("path", { d: "M16.59 8.59 12 13.17 7.41 8.59 6 10l6 6 6-6-1.41-1.41z" })), Ac = U(jc), Pc = ({
|
|
434
434
|
title: t,
|
|
435
435
|
titleId: n,
|
|
436
436
|
...e
|
|
437
|
-
}, r) => /* @__PURE__ */ d.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", ref: r, "aria-labelledby": n, ...e }, t ? /* @__PURE__ */ d.createElement("title", { id: n }, t) : null, /* @__PURE__ */ d.createElement("path", { d: "M4.25 5.61C6.27 8.2 10 13 10 13v6c0 .55.45 1 1 1h2c.55 0 1-.45 1-1v-6s3.72-4.8 5.74-7.39A.998.998 0 0 0 18.95 4H5.04c-.83 0-1.3.95-.79 1.61z" })), Nc =
|
|
437
|
+
}, r) => /* @__PURE__ */ d.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", ref: r, "aria-labelledby": n, ...e }, t ? /* @__PURE__ */ d.createElement("title", { id: n }, t) : null, /* @__PURE__ */ d.createElement("path", { d: "M4.25 5.61C6.27 8.2 10 13 10 13v6c0 .55.45 1 1 1h2c.55 0 1-.45 1-1v-6s3.72-4.8 5.74-7.39A.998.998 0 0 0 18.95 4H5.04c-.83 0-1.3.95-.79 1.61z" })), Nc = U(Pc), Fc = ({
|
|
438
438
|
title: t,
|
|
439
439
|
titleId: n,
|
|
440
440
|
...e
|
|
441
|
-
}, r) => /* @__PURE__ */ d.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", ref: r, "aria-labelledby": n, ...e }, t ? /* @__PURE__ */ d.createElement("title", { id: n }, t) : null, /* @__PURE__ */ d.createElement("path", { d: "M21 6h-2v9H6v2c0 .55.45 1 1 1h11l4 4V7c0-.55-.45-1-1-1zm-4 6V3c0-.55-.45-1-1-1H3c-.55 0-1 .45-1 1v14l4-4h10c.55 0 1-.45 1-1z" })), Lc =
|
|
441
|
+
}, r) => /* @__PURE__ */ d.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", ref: r, "aria-labelledby": n, ...e }, t ? /* @__PURE__ */ d.createElement("title", { id: n }, t) : null, /* @__PURE__ */ d.createElement("path", { d: "M21 6h-2v9H6v2c0 .55.45 1 1 1h11l4 4V7c0-.55-.45-1-1-1zm-4 6V3c0-.55-.45-1-1-1H3c-.55 0-1 .45-1 1v14l4-4h10c.55 0 1-.45 1-1z" })), Lc = U(Fc), Rc = ({
|
|
442
442
|
title: t,
|
|
443
443
|
titleId: n,
|
|
444
444
|
...e
|
|
445
|
-
}, r) => /* @__PURE__ */ d.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", ref: r, "aria-labelledby": n, ...e }, t ? /* @__PURE__ */ d.createElement("title", { id: n }, t) : null, /* @__PURE__ */ d.createElement("path", { d: "M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 17h-2v-2h2v2zm2.07-7.75-.9.92C13.45 12.9 13 13.5 13 15h-2v-.5c0-1.1.45-2.1 1.17-2.83l1.24-1.26c.37-.36.59-.86.59-1.41 0-1.1-.9-2-2-2s-2 .9-2 2H8c0-2.21 1.79-4 4-4s4 1.79 4 4c0 .88-.36 1.68-.93 2.25z" })), Nr =
|
|
445
|
+
}, r) => /* @__PURE__ */ d.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", ref: r, "aria-labelledby": n, ...e }, t ? /* @__PURE__ */ d.createElement("title", { id: n }, t) : null, /* @__PURE__ */ d.createElement("path", { d: "M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 17h-2v-2h2v2zm2.07-7.75-.9.92C13.45 12.9 13 13.5 13 15h-2v-.5c0-1.1.45-2.1 1.17-2.83l1.24-1.26c.37-.36.59-.86.59-1.41 0-1.1-.9-2-2-2s-2 .9-2 2H8c0-2.21 1.79-4 4-4s4 1.79 4 4c0 .88-.36 1.68-.93 2.25z" })), Nr = U(Rc), _c = ({
|
|
446
446
|
title: t,
|
|
447
447
|
titleId: n,
|
|
448
448
|
...e
|
|
449
|
-
}, r) => /* @__PURE__ */ d.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", height: 24, viewBox: "0 0 24 24", width: 24, ref: r, "aria-labelledby": n, ...e }, t ? /* @__PURE__ */ d.createElement("title", { id: n }, t) : null, /* @__PURE__ */ d.createElement("path", { d: "M0 0h24v24H0V0z", fill: "none" }), /* @__PURE__ */ d.createElement("path", { d: "M10 20v-6h4v6h5v-8h3L12 3 2 12h3v8h5z" })), Hc =
|
|
449
|
+
}, r) => /* @__PURE__ */ d.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", height: 24, viewBox: "0 0 24 24", width: 24, ref: r, "aria-labelledby": n, ...e }, t ? /* @__PURE__ */ d.createElement("title", { id: n }, t) : null, /* @__PURE__ */ d.createElement("path", { d: "M0 0h24v24H0V0z", fill: "none" }), /* @__PURE__ */ d.createElement("path", { d: "M10 20v-6h4v6h5v-8h3L12 3 2 12h3v8h5z" })), Hc = U(_c), zc = ({
|
|
450
450
|
title: t,
|
|
451
451
|
titleId: n,
|
|
452
452
|
...e
|
|
453
|
-
}, r) => /* @__PURE__ */ d.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", ref: r, "aria-labelledby": n, ...e }, t ? /* @__PURE__ */ d.createElement("title", { id: n }, t) : null, /* @__PURE__ */ d.createElement("path", { d: "M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-6h2v6zm0-8h-2V7h2v2z" })), Vc =
|
|
453
|
+
}, r) => /* @__PURE__ */ d.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", ref: r, "aria-labelledby": n, ...e }, t ? /* @__PURE__ */ d.createElement("title", { id: n }, t) : null, /* @__PURE__ */ d.createElement("path", { d: "M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-6h2v6zm0-8h-2V7h2v2z" })), Vc = U(zc), Wc = ({
|
|
454
454
|
title: t,
|
|
455
455
|
titleId: n,
|
|
456
456
|
...e
|
|
457
|
-
}, r) => /* @__PURE__ */ d.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", ref: r, "aria-labelledby": n, ...e }, t ? /* @__PURE__ */ d.createElement("title", { id: n }, t) : null, /* @__PURE__ */ d.createElement("path", { d: "M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zm6.93 6h-2.95a15.65 15.65 0 0 0-1.38-3.56A8.03 8.03 0 0 1 18.92 8zM12 4.04c.83 1.2 1.48 2.53 1.91 3.96h-3.82c.43-1.43 1.08-2.76 1.91-3.96zM4.26 14C4.1 13.36 4 12.69 4 12s.1-1.36.26-2h3.38c-.08.66-.14 1.32-.14 2 0 .68.06 1.34.14 2H4.26zm.82 2h2.95c.32 1.25.78 2.45 1.38 3.56A7.987 7.987 0 0 1 5.08 16zm2.95-8H5.08a7.987 7.987 0 0 1 4.33-3.56A15.65 15.65 0 0 0 8.03 8zM12 19.96c-.83-1.2-1.48-2.53-1.91-3.96h3.82c-.43 1.43-1.08 2.76-1.91 3.96zM14.34 14H9.66c-.09-.66-.16-1.32-.16-2 0-.68.07-1.35.16-2h4.68c.09.65.16 1.32.16 2 0 .68-.07 1.34-.16 2zm.25 5.56c.6-1.11 1.06-2.31 1.38-3.56h2.95a8.03 8.03 0 0 1-4.33 3.56zM16.36 14c.08-.66.14-1.32.14-2 0-.68-.06-1.34-.14-2h3.38c.16.64.26 1.31.26 2s-.1 1.36-.26 2h-3.38z" })), $c =
|
|
457
|
+
}, r) => /* @__PURE__ */ d.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", ref: r, "aria-labelledby": n, ...e }, t ? /* @__PURE__ */ d.createElement("title", { id: n }, t) : null, /* @__PURE__ */ d.createElement("path", { d: "M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zm6.93 6h-2.95a15.65 15.65 0 0 0-1.38-3.56A8.03 8.03 0 0 1 18.92 8zM12 4.04c.83 1.2 1.48 2.53 1.91 3.96h-3.82c.43-1.43 1.08-2.76 1.91-3.96zM4.26 14C4.1 13.36 4 12.69 4 12s.1-1.36.26-2h3.38c-.08.66-.14 1.32-.14 2 0 .68.06 1.34.14 2H4.26zm.82 2h2.95c.32 1.25.78 2.45 1.38 3.56A7.987 7.987 0 0 1 5.08 16zm2.95-8H5.08a7.987 7.987 0 0 1 4.33-3.56A15.65 15.65 0 0 0 8.03 8zM12 19.96c-.83-1.2-1.48-2.53-1.91-3.96h3.82c-.43 1.43-1.08 2.76-1.91 3.96zM14.34 14H9.66c-.09-.66-.16-1.32-.16-2 0-.68.07-1.35.16-2h4.68c.09.65.16 1.32.16 2 0 .68-.07 1.34-.16 2zm.25 5.56c.6-1.11 1.06-2.31 1.38-3.56h2.95a8.03 8.03 0 0 1-4.33 3.56zM16.36 14c.08-.66.14-1.32.14-2 0-.68-.06-1.34-.14-2h3.38c.16.64.26 1.31.26 2s-.1 1.36-.26 2h-3.38z" })), $c = U(Wc), Bc = ({
|
|
458
458
|
title: t,
|
|
459
459
|
titleId: n,
|
|
460
460
|
...e
|
|
461
|
-
}, r) => /* @__PURE__ */ d.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", ref: r, "aria-labelledby": n, ...e }, t ? /* @__PURE__ */ d.createElement("title", { id: n }, t) : null, /* @__PURE__ */ d.createElement("circle", { cx: 10, cy: 8, r: 4 }), /* @__PURE__ */ d.createElement("path", { d: "M10.67 13.02c-.22-.01-.44-.02-.67-.02-2.42 0-4.68.67-6.61 1.82-.88.52-1.39 1.5-1.39 2.53V20h9.26a6.963 6.963 0 0 1-.59-6.98zM20.75 16c0-.22-.03-.42-.06-.63l1.14-1.01-1-1.73-1.45.49c-.32-.27-.68-.48-1.08-.63L18 11h-2l-.3 1.49c-.4.15-.76.36-1.08.63l-1.45-.49-1 1.73 1.14 1.01c-.03.21-.06.41-.06.63s.03.42.06.63l-1.14 1.01 1 1.73 1.45-.49c.32.27.68.48 1.08.63L16 21h2l.3-1.49c.4-.15.76-.36 1.08-.63l1.45.49 1-1.73-1.14-1.01c.03-.21.06-.41.06-.63zM17 18c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2z" })), Yc =
|
|
461
|
+
}, r) => /* @__PURE__ */ d.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", ref: r, "aria-labelledby": n, ...e }, t ? /* @__PURE__ */ d.createElement("title", { id: n }, t) : null, /* @__PURE__ */ d.createElement("circle", { cx: 10, cy: 8, r: 4 }), /* @__PURE__ */ d.createElement("path", { d: "M10.67 13.02c-.22-.01-.44-.02-.67-.02-2.42 0-4.68.67-6.61 1.82-.88.52-1.39 1.5-1.39 2.53V20h9.26a6.963 6.963 0 0 1-.59-6.98zM20.75 16c0-.22-.03-.42-.06-.63l1.14-1.01-1-1.73-1.45.49c-.32-.27-.68-.48-1.08-.63L18 11h-2l-.3 1.49c-.4.15-.76.36-1.08.63l-1.45-.49-1 1.73 1.14 1.01c-.03.21-.06.41-.06.63s.03.42.06.63l-1.14 1.01 1 1.73 1.45-.49c.32.27.68.48 1.08.63L16 21h2l.3-1.49c.4-.15.76-.36 1.08-.63l1.45.49 1-1.73-1.14-1.01c.03-.21.06-.41.06-.63zM17 18c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2z" })), Yc = U(Bc), Kc = ({
|
|
462
462
|
title: t,
|
|
463
463
|
titleId: n,
|
|
464
464
|
...e
|
|
465
|
-
}, r) => /* @__PURE__ */ d.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", ref: r, "aria-labelledby": n, ...e }, t ? /* @__PURE__ */ d.createElement("title", { id: n }, t) : null, /* @__PURE__ */ d.createElement("path", { d: "M20 4H4c-1.1 0-2 .9-2 2v3h2V6h16v3h2V6c0-1.1-.9-2-2-2zm0 14H4v-3H2v3c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2v-3h-2v3z" }), /* @__PURE__ */ d.createElement("path", { d: "M14.89 7.55c-.34-.68-1.45-.68-1.79 0L10 13.76l-1.11-2.21A.988.988 0 0 0 8 11H2v2h5.38l1.72 3.45c.18.34.52.55.9.55s.72-.21.89-.55L14 10.24l1.11 2.21c.17.34.51.55.89.55h6v-2h-5.38l-1.73-3.45z" })),
|
|
465
|
+
}, r) => /* @__PURE__ */ d.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", ref: r, "aria-labelledby": n, ...e }, t ? /* @__PURE__ */ d.createElement("title", { id: n }, t) : null, /* @__PURE__ */ d.createElement("path", { d: "M20 4H4c-1.1 0-2 .9-2 2v3h2V6h16v3h2V6c0-1.1-.9-2-2-2zm0 14H4v-3H2v3c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2v-3h-2v3z" }), /* @__PURE__ */ d.createElement("path", { d: "M14.89 7.55c-.34-.68-1.45-.68-1.79 0L10 13.76l-1.11-2.21A.988.988 0 0 0 8 11H2v2h5.38l1.72 3.45c.18.34.52.55.9.55s.72-.21.89-.55L14 10.24l1.11 2.21c.17.34.51.55.89.55h6v-2h-5.38l-1.73-3.45z" })), Uc = U(Kc), Zc = ({
|
|
466
466
|
title: t,
|
|
467
467
|
titleId: n,
|
|
468
468
|
...e
|
|
469
|
-
}, r) => /* @__PURE__ */ d.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", ref: r, "aria-labelledby": n, ...e }, t ? /* @__PURE__ */ d.createElement("title", { id: n }, t) : null, /* @__PURE__ */ d.createElement("path", { d: "M12 8c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm0 2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z" })), qc =
|
|
469
|
+
}, r) => /* @__PURE__ */ d.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", ref: r, "aria-labelledby": n, ...e }, t ? /* @__PURE__ */ d.createElement("title", { id: n }, t) : null, /* @__PURE__ */ d.createElement("path", { d: "M12 8c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm0 2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z" })), qc = U(Zc), Gc = ({
|
|
470
470
|
title: t,
|
|
471
471
|
titleId: n,
|
|
472
472
|
...e
|
|
473
|
-
}, r) => /* @__PURE__ */ d.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", ref: r, "aria-labelledby": n, ...e }, t ? /* @__PURE__ */ d.createElement("title", { id: n }, t) : null, /* @__PURE__ */ d.createElement("path", { d: "M19.78 17.51c-2.47 0-6.57-1.33-8.68-5.43-2.33-4.51-.5-8.48.53-10.07C6.27 2.2 1.98 6.59 1.98 12c0 .14.02.28.02.42.61-.26 1.28-.42 1.98-.42 0-3.09 1.73-5.77 4.3-7.1-.5 2.19-.54 5.04 1.04 8.1 1.57 3.04 4.18 4.95 6.8 5.86a8 8 0 0 1-5.61 1.01c-.37.7-.94 1.27-1.64 1.64.98.32 2.03.5 3.11.5 3.5 0 6.58-1.8 8.37-4.52-.17.01-.37.02-.57.02z" }), /* @__PURE__ */ d.createElement("path", { d: "M7 16h-.18C6.4 14.84 5.3 14 4 14c-1.66 0-3 1.34-3 3s1.34 3 3 3h3c1.1 0 2-.9 2-2s-.9-2-2-2z" })), Qc =
|
|
473
|
+
}, r) => /* @__PURE__ */ d.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", ref: r, "aria-labelledby": n, ...e }, t ? /* @__PURE__ */ d.createElement("title", { id: n }, t) : null, /* @__PURE__ */ d.createElement("path", { d: "M19.78 17.51c-2.47 0-6.57-1.33-8.68-5.43-2.33-4.51-.5-8.48.53-10.07C6.27 2.2 1.98 6.59 1.98 12c0 .14.02.28.02.42.61-.26 1.28-.42 1.98-.42 0-3.09 1.73-5.77 4.3-7.1-.5 2.19-.54 5.04 1.04 8.1 1.57 3.04 4.18 4.95 6.8 5.86a8 8 0 0 1-5.61 1.01c-.37.7-.94 1.27-1.64 1.64.98.32 2.03.5 3.11.5 3.5 0 6.58-1.8 8.37-4.52-.17.01-.37.02-.57.02z" }), /* @__PURE__ */ d.createElement("path", { d: "M7 16h-.18C6.4 14.84 5.3 14 4 14c-1.66 0-3 1.34-3 3s1.34 3 3 3h3c1.1 0 2-.9 2-2s-.9-2-2-2z" })), Qc = U(Gc), Xc = ({
|
|
474
474
|
title: t,
|
|
475
475
|
titleId: n,
|
|
476
476
|
...e
|
|
477
|
-
}, r) => /* @__PURE__ */ d.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", ref: r, "aria-labelledby": n, ...e }, t ? /* @__PURE__ */ d.createElement("title", { id: n }, t) : null, /* @__PURE__ */ d.createElement("path", { d: "M12 22c1.1 0 2-.9 2-2h-4c0 1.1.9 2 2 2zm0-15.5c2.49 0 4 2.02 4 4.5v.1l2 2V11c0-3.07-1.63-5.64-4.5-6.32V4c0-.83-.67-1.5-1.5-1.5s-1.5.67-1.5 1.5v.68c-.24.06-.47.15-.69.23l1.64 1.64c.18-.02.36-.05.55-.05zM5.41 3.35 4 4.76l2.81 2.81C6.29 8.57 6 9.74 6 11v5l-2 2v1h14.24l1.74 1.74 1.41-1.41L5.41 3.35zM16 17H8v-6c0-.68.12-1.32.34-1.9L16 16.76V17z" })), Jc =
|
|
477
|
+
}, r) => /* @__PURE__ */ d.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", ref: r, "aria-labelledby": n, ...e }, t ? /* @__PURE__ */ d.createElement("title", { id: n }, t) : null, /* @__PURE__ */ d.createElement("path", { d: "M12 22c1.1 0 2-.9 2-2h-4c0 1.1.9 2 2 2zm0-15.5c2.49 0 4 2.02 4 4.5v.1l2 2V11c0-3.07-1.63-5.64-4.5-6.32V4c0-.83-.67-1.5-1.5-1.5s-1.5.67-1.5 1.5v.68c-.24.06-.47.15-.69.23l1.64 1.64c.18-.02.36-.05.55-.05zM5.41 3.35 4 4.76l2.81 2.81C6.29 8.57 6 9.74 6 11v5l-2 2v1h14.24l1.74 1.74 1.41-1.41L5.41 3.35zM16 17H8v-6c0-.68.12-1.32.34-1.9L16 16.76V17z" })), Jc = U(Xc), eu = ({
|
|
478
478
|
title: t,
|
|
479
479
|
titleId: n,
|
|
480
480
|
...e
|
|
481
|
-
}, r) => /* @__PURE__ */ d.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", ref: r, "aria-labelledby": n, ...e }, t ? /* @__PURE__ */ d.createElement("title", { id: n }, t) : null, /* @__PURE__ */ d.createElement("path", { d: "M19 4H5a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h4v-2H5V8h14v10h-4v2h4c1.1 0 2-.9 2-2V6a2 2 0 0 0-2-2zm-7 6-4 4h3v6h2v-6h3l-4-4z" })), tu =
|
|
481
|
+
}, r) => /* @__PURE__ */ d.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", ref: r, "aria-labelledby": n, ...e }, t ? /* @__PURE__ */ d.createElement("title", { id: n }, t) : null, /* @__PURE__ */ d.createElement("path", { d: "M19 4H5a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h4v-2H5V8h14v10h-4v2h4c1.1 0 2-.9 2-2V6a2 2 0 0 0-2-2zm-7 6-4 4h3v6h2v-6h3l-4-4z" })), tu = U(eu), nu = ({
|
|
482
482
|
title: t,
|
|
483
483
|
titleId: n,
|
|
484
484
|
...e
|
|
485
|
-
}, r) => /* @__PURE__ */ d.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", ref: r, "aria-labelledby": n, ...e }, t ? /* @__PURE__ */ d.createElement("title", { id: n }, t) : null, /* @__PURE__ */ d.createElement("path", { d: "M19 19H5V5h7V3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14c1.1 0 2-.9 2-2v-7h-2v7zM14 3v2h3.59l-9.83 9.83 1.41 1.41L19 6.41V10h2V3h-7z" })), ru =
|
|
485
|
+
}, r) => /* @__PURE__ */ d.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", ref: r, "aria-labelledby": n, ...e }, t ? /* @__PURE__ */ d.createElement("title", { id: n }, t) : null, /* @__PURE__ */ d.createElement("path", { d: "M19 19H5V5h7V3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14c1.1 0 2-.9 2-2v-7h-2v7zM14 3v2h3.59l-9.83 9.83 1.41 1.41L19 6.41V10h2V3h-7z" })), ru = U(nu), iu = ({
|
|
486
486
|
title: t,
|
|
487
487
|
titleId: n,
|
|
488
488
|
...e
|
|
489
|
-
}, r) => /* @__PURE__ */ d.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", height: 24, viewBox: "0 0 24 24", width: 24, ref: r, "aria-labelledby": n, ...e }, t ? /* @__PURE__ */ d.createElement("title", { id: n }, t) : null, /* @__PURE__ */ d.createElement("path", { d: "M0 0h24v24H0z", fill: "none" }), /* @__PURE__ */ d.createElement("path", { d: "M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9.5c-1.38 0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5z" })), ou =
|
|
489
|
+
}, r) => /* @__PURE__ */ d.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", height: 24, viewBox: "0 0 24 24", width: 24, ref: r, "aria-labelledby": n, ...e }, t ? /* @__PURE__ */ d.createElement("title", { id: n }, t) : null, /* @__PURE__ */ d.createElement("path", { d: "M0 0h24v24H0z", fill: "none" }), /* @__PURE__ */ d.createElement("path", { d: "M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9.5c-1.38 0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5z" })), ou = U(iu), au = ({
|
|
490
490
|
title: t,
|
|
491
491
|
titleId: n,
|
|
492
492
|
...e
|
|
493
|
-
}, r) => /* @__PURE__ */ d.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", ref: r, "aria-labelledby": n, ...e }, t ? /* @__PURE__ */ d.createElement("title", { id: n }, t) : null, /* @__PURE__ */ d.createElement("path", { d: "M19 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V5a2 2 0 0 0-2-2zm-9 14-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z" })), lu =
|
|
493
|
+
}, r) => /* @__PURE__ */ d.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", ref: r, "aria-labelledby": n, ...e }, t ? /* @__PURE__ */ d.createElement("title", { id: n }, t) : null, /* @__PURE__ */ d.createElement("path", { d: "M19 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V5a2 2 0 0 0-2-2zm-9 14-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z" })), lu = U(au), su = ({
|
|
494
494
|
title: t,
|
|
495
495
|
titleId: n,
|
|
496
496
|
...e
|
|
497
|
-
}, r) => /* @__PURE__ */ d.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", ref: r, "aria-labelledby": n, ...e }, t ? /* @__PURE__ */ d.createElement("title", { id: n }, t) : null, /* @__PURE__ */ d.createElement("path", { d: "M15.5 14h-.79l-.28-.27A6.471 6.471 0 0 0 16 9.5 6.5 6.5 0 1 0 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z" })), cu =
|
|
497
|
+
}, r) => /* @__PURE__ */ d.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", ref: r, "aria-labelledby": n, ...e }, t ? /* @__PURE__ */ d.createElement("title", { id: n }, t) : null, /* @__PURE__ */ d.createElement("path", { d: "M15.5 14h-.79l-.28-.27A6.471 6.471 0 0 0 16 9.5 6.5 6.5 0 1 0 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z" })), cu = U(su), uu = ({
|
|
498
498
|
title: t,
|
|
499
499
|
titleId: n,
|
|
500
500
|
...e
|
|
501
|
-
}, r) => /* @__PURE__ */ d.createElement("svg", { width: 24, height: 24, viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg", "data-icon": "severity-low", ref: r, "aria-labelledby": n, ...e }, t ? /* @__PURE__ */ d.createElement("title", { id: n }, t) : null, /* @__PURE__ */ d.createElement("path", { d: "M12 20L20 5H4L12 20Z" })), du =
|
|
501
|
+
}, r) => /* @__PURE__ */ d.createElement("svg", { width: 24, height: 24, viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg", "data-icon": "severity-low", ref: r, "aria-labelledby": n, ...e }, t ? /* @__PURE__ */ d.createElement("title", { id: n }, t) : null, /* @__PURE__ */ d.createElement("path", { d: "M12 20L20 5H4L12 20Z" })), du = U(uu), fu = ({
|
|
502
502
|
title: t,
|
|
503
503
|
titleId: n,
|
|
504
504
|
...e
|
|
505
|
-
}, r) => /* @__PURE__ */ d.createElement("svg", { width: 24, height: 24, viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg", "data-icon": "severity-medium", ref: r, "aria-labelledby": n, ...e }, t ? /* @__PURE__ */ d.createElement("title", { id: n }, t) : null, /* @__PURE__ */ d.createElement("path", { d: "M12 5L20 20H4L12 5Z" })), pu =
|
|
505
|
+
}, r) => /* @__PURE__ */ d.createElement("svg", { width: 24, height: 24, viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg", "data-icon": "severity-medium", ref: r, "aria-labelledby": n, ...e }, t ? /* @__PURE__ */ d.createElement("title", { id: n }, t) : null, /* @__PURE__ */ d.createElement("path", { d: "M12 5L20 20H4L12 5Z" })), pu = U(fu), mu = ({
|
|
506
506
|
title: t,
|
|
507
507
|
titleId: n,
|
|
508
508
|
...e
|
|
509
|
-
}, r) => /* @__PURE__ */ d.createElement("svg", { width: 24, height: 24, viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg", "data-icon": "severity-high", ref: r, "aria-labelledby": n, ...e }, t ? /* @__PURE__ */ d.createElement("title", { id: n }, t) : null, /* @__PURE__ */ d.createElement("path", { d: "M19 5H5V19H19V5Z" })), hu =
|
|
509
|
+
}, r) => /* @__PURE__ */ d.createElement("svg", { width: 24, height: 24, viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg", "data-icon": "severity-high", ref: r, "aria-labelledby": n, ...e }, t ? /* @__PURE__ */ d.createElement("title", { id: n }, t) : null, /* @__PURE__ */ d.createElement("path", { d: "M19 5H5V19H19V5Z" })), hu = U(mu), gu = ({
|
|
510
510
|
title: t,
|
|
511
511
|
titleId: n,
|
|
512
512
|
...e
|
|
513
|
-
}, r) => /* @__PURE__ */ d.createElement("svg", { width: 24, height: 24, viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg", "data-icon": "severity-very-high", ref: r, "aria-labelledby": n, ...e }, t ? /* @__PURE__ */ d.createElement("title", { id: n }, t) : null, /* @__PURE__ */ d.createElement("path", { d: "M12 3L21 12L12 21L3 12L12 3Z" })), vu =
|
|
513
|
+
}, r) => /* @__PURE__ */ d.createElement("svg", { width: 24, height: 24, viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg", "data-icon": "severity-very-high", ref: r, "aria-labelledby": n, ...e }, t ? /* @__PURE__ */ d.createElement("title", { id: n }, t) : null, /* @__PURE__ */ d.createElement("path", { d: "M12 3L21 12L12 21L3 12L12 3Z" })), vu = U(gu), bu = ({
|
|
514
514
|
title: t,
|
|
515
515
|
titleId: n,
|
|
516
516
|
...e
|
|
517
|
-
}, r) => /* @__PURE__ */ d.createElement("svg", { width: 24, height: 24, viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg", "data-icon": "severity-critical", ref: r, "aria-labelledby": n, ...e }, t ? /* @__PURE__ */ d.createElement("title", { id: n }, t) : null, /* @__PURE__ */ d.createElement("path", { d: "M11.5 4L18.8612 8.25V16.75L11.5 21L4.13878 16.75V8.25L11.5 4Z" })), wu =
|
|
517
|
+
}, r) => /* @__PURE__ */ d.createElement("svg", { width: 24, height: 24, viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg", "data-icon": "severity-critical", ref: r, "aria-labelledby": n, ...e }, t ? /* @__PURE__ */ d.createElement("title", { id: n }, t) : null, /* @__PURE__ */ d.createElement("path", { d: "M11.5 4L18.8612 8.25V16.75L11.5 21L4.13878 16.75V8.25L11.5 4Z" })), wu = U(bu), yu = ({
|
|
518
518
|
title: t,
|
|
519
519
|
titleId: n,
|
|
520
520
|
...e
|
|
521
|
-
}, r) => /* @__PURE__ */ d.createElement("svg", { width: 24, height: 24, viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg", "data-icon": "severity-unknown", ref: r, "aria-labelledby": n, ...e }, t ? /* @__PURE__ */ d.createElement("title", { id: n }, t) : null, /* @__PURE__ */ d.createElement("path", { d: "M4.5 12C4.5 7.86 7.86 4.5 12 4.5C16.14 4.5 19.5 7.86 19.5 12C19.5 16.14 16.14 19.5 12 19.5C7.86 19.5 4.5 16.14 4.5 12ZM12 16.5C14.4825 16.5 16.5 14.4825 16.5 12C16.5 9.5175 14.4825 7.5 12 7.5C9.5175 7.5 7.5 9.5175 7.5 12C7.5 14.4825 9.5175 16.5 12 16.5Z" })), xu =
|
|
521
|
+
}, r) => /* @__PURE__ */ d.createElement("svg", { width: 24, height: 24, viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg", "data-icon": "severity-unknown", ref: r, "aria-labelledby": n, ...e }, t ? /* @__PURE__ */ d.createElement("title", { id: n }, t) : null, /* @__PURE__ */ d.createElement("path", { d: "M4.5 12C4.5 7.86 7.86 4.5 12 4.5C16.14 4.5 19.5 7.86 19.5 12C19.5 16.14 16.14 19.5 12 19.5C7.86 19.5 4.5 16.14 4.5 12ZM12 16.5C14.4825 16.5 16.5 14.4825 16.5 12C16.5 9.5175 14.4825 7.5 12 7.5C9.5175 7.5 7.5 9.5175 7.5 12C7.5 14.4825 9.5175 16.5 12 16.5Z" })), xu = U(yu), Eu = ({
|
|
522
522
|
title: t,
|
|
523
523
|
titleId: n,
|
|
524
524
|
...e
|
|
525
|
-
}, r) => /* @__PURE__ */ d.createElement("svg", { width: 24, height: 24, viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg", "data-icon": "sort_short-wide_arrow-up", ref: r, "aria-labelledby": n, ...e }, t ? /* @__PURE__ */ d.createElement("title", { id: n }, t) : null, /* @__PURE__ */ d.createElement("rect", { width: 24, height: 24, fill: "none" }), /* @__PURE__ */ d.createElement("path", { d: "M12 21H23V18H12V21Z" }), /* @__PURE__ */ d.createElement("path", { d: "M12 16H20V13H12V16Z" }), /* @__PURE__ */ d.createElement("path", { d: "M12 11H17V8H12V11Z" }), /* @__PURE__ */ d.createElement("path", { d: "M12 3H15V6H12V3Z" }), /* @__PURE__ */ d.createElement("path", { d: "M4 21H7V8H4V21Z" }), /* @__PURE__ */ d.createElement("path", { d: "M10 8H1L5.5 3L10 8Z" })), Su =
|
|
525
|
+
}, r) => /* @__PURE__ */ d.createElement("svg", { width: 24, height: 24, viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg", "data-icon": "sort_short-wide_arrow-up", ref: r, "aria-labelledby": n, ...e }, t ? /* @__PURE__ */ d.createElement("title", { id: n }, t) : null, /* @__PURE__ */ d.createElement("rect", { width: 24, height: 24, fill: "none" }), /* @__PURE__ */ d.createElement("path", { d: "M12 21H23V18H12V21Z" }), /* @__PURE__ */ d.createElement("path", { d: "M12 16H20V13H12V16Z" }), /* @__PURE__ */ d.createElement("path", { d: "M12 11H17V8H12V11Z" }), /* @__PURE__ */ d.createElement("path", { d: "M12 3H15V6H12V3Z" }), /* @__PURE__ */ d.createElement("path", { d: "M4 21H7V8H4V21Z" }), /* @__PURE__ */ d.createElement("path", { d: "M10 8H1L5.5 3L10 8Z" })), Su = U(Eu), Mu = ({
|
|
526
526
|
title: t,
|
|
527
527
|
titleId: n,
|
|
528
528
|
...e
|
|
529
|
-
}, r) => /* @__PURE__ */ d.createElement("svg", { width: 24, height: 24, viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg", "data-icon": "sort_short-wide_arrow-down", ref: r, "aria-labelledby": n, ...e }, t ? /* @__PURE__ */ d.createElement("title", { id: n }, t) : null, /* @__PURE__ */ d.createElement("rect", { width: 24, height: 24, fill: "none" }), /* @__PURE__ */ d.createElement("path", { d: "M12 21H23V18H12V21Z" }), /* @__PURE__ */ d.createElement("path", { d: "M12 16H20V13H12V16Z" }), /* @__PURE__ */ d.createElement("path", { d: "M12 11H17V8H12V11Z" }), /* @__PURE__ */ d.createElement("path", { d: "M12 3H15V6H12V3Z" }), /* @__PURE__ */ d.createElement("path", { d: "M4 3H7V16H4V3Z" }), /* @__PURE__ */ d.createElement("path", { d: "M10 16H1L5.5 21L10 16Z" })), Cu =
|
|
529
|
+
}, r) => /* @__PURE__ */ d.createElement("svg", { width: 24, height: 24, viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg", "data-icon": "sort_short-wide_arrow-down", ref: r, "aria-labelledby": n, ...e }, t ? /* @__PURE__ */ d.createElement("title", { id: n }, t) : null, /* @__PURE__ */ d.createElement("rect", { width: 24, height: 24, fill: "none" }), /* @__PURE__ */ d.createElement("path", { d: "M12 21H23V18H12V21Z" }), /* @__PURE__ */ d.createElement("path", { d: "M12 16H20V13H12V16Z" }), /* @__PURE__ */ d.createElement("path", { d: "M12 11H17V8H12V11Z" }), /* @__PURE__ */ d.createElement("path", { d: "M12 3H15V6H12V3Z" }), /* @__PURE__ */ d.createElement("path", { d: "M4 3H7V16H4V3Z" }), /* @__PURE__ */ d.createElement("path", { d: "M10 16H1L5.5 21L10 16Z" })), Cu = U(Mu), Ou = ({
|
|
530
530
|
title: t,
|
|
531
531
|
titleId: n,
|
|
532
532
|
...e
|
|
533
|
-
}, r) => /* @__PURE__ */ d.createElement("svg", { width: 24, height: 24, viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg", "data-icon": "sort_wide-short_arrow-up", ref: r, "aria-labelledby": n, ...e }, t ? /* @__PURE__ */ d.createElement("title", { id: n }, t) : null, /* @__PURE__ */ d.createElement("rect", { width: 24, height: 24, fill: "none" }), /* @__PURE__ */ d.createElement("path", { d: "M12 3H23V6H12V3Z" }), /* @__PURE__ */ d.createElement("path", { d: "M12 8H20V11H12V8Z" }), /* @__PURE__ */ d.createElement("path", { d: "M12 13H17V16H12V13Z" }), /* @__PURE__ */ d.createElement("path", { d: "M12 21H15V18H12V21Z" }), /* @__PURE__ */ d.createElement("path", { d: "M4 21H7V8H4V21Z" }), /* @__PURE__ */ d.createElement("path", { d: "M10 8H1L5.5 3L10 8Z" })), Du =
|
|
533
|
+
}, r) => /* @__PURE__ */ d.createElement("svg", { width: 24, height: 24, viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg", "data-icon": "sort_wide-short_arrow-up", ref: r, "aria-labelledby": n, ...e }, t ? /* @__PURE__ */ d.createElement("title", { id: n }, t) : null, /* @__PURE__ */ d.createElement("rect", { width: 24, height: 24, fill: "none" }), /* @__PURE__ */ d.createElement("path", { d: "M12 3H23V6H12V3Z" }), /* @__PURE__ */ d.createElement("path", { d: "M12 8H20V11H12V8Z" }), /* @__PURE__ */ d.createElement("path", { d: "M12 13H17V16H12V13Z" }), /* @__PURE__ */ d.createElement("path", { d: "M12 21H15V18H12V21Z" }), /* @__PURE__ */ d.createElement("path", { d: "M4 21H7V8H4V21Z" }), /* @__PURE__ */ d.createElement("path", { d: "M10 8H1L5.5 3L10 8Z" })), Du = U(Ou), Tu = ({
|
|
534
534
|
title: t,
|
|
535
535
|
titleId: n,
|
|
536
536
|
...e
|
|
537
|
-
}, r) => /* @__PURE__ */ d.createElement("svg", { width: 24, height: 24, viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg", "data-icon": "sort_wide-short_arrow-down", ref: r, "aria-labelledby": n, ...e }, t ? /* @__PURE__ */ d.createElement("title", { id: n }, t) : null, /* @__PURE__ */ d.createElement("rect", { width: 24, height: 24, fill: "none" }), /* @__PURE__ */ d.createElement("path", { d: "M12 3H23V6H12V3Z" }), /* @__PURE__ */ d.createElement("path", { d: "M12 8H20V11H12V8Z" }), /* @__PURE__ */ d.createElement("path", { d: "M12 13H17V16H12V13Z" }), /* @__PURE__ */ d.createElement("path", { d: "M12 21H15V18H12V21Z" }), /* @__PURE__ */ d.createElement("path", { d: "M4 3H7V16H4V3Z" }), /* @__PURE__ */ d.createElement("path", { d: "M10 16H1L5.5 21L10 16Z" })), ku =
|
|
537
|
+
}, r) => /* @__PURE__ */ d.createElement("svg", { width: 24, height: 24, viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg", "data-icon": "sort_wide-short_arrow-down", ref: r, "aria-labelledby": n, ...e }, t ? /* @__PURE__ */ d.createElement("title", { id: n }, t) : null, /* @__PURE__ */ d.createElement("rect", { width: 24, height: 24, fill: "none" }), /* @__PURE__ */ d.createElement("path", { d: "M12 3H23V6H12V3Z" }), /* @__PURE__ */ d.createElement("path", { d: "M12 8H20V11H12V8Z" }), /* @__PURE__ */ d.createElement("path", { d: "M12 13H17V16H12V13Z" }), /* @__PURE__ */ d.createElement("path", { d: "M12 21H15V18H12V21Z" }), /* @__PURE__ */ d.createElement("path", { d: "M4 3H7V16H4V3Z" }), /* @__PURE__ */ d.createElement("path", { d: "M10 16H1L5.5 21L10 16Z" })), ku = U(Tu), Iu = ({
|
|
538
538
|
title: t,
|
|
539
539
|
titleId: n,
|
|
540
540
|
...e
|
|
541
|
-
}, r) => /* @__PURE__ */ d.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", ref: r, "aria-labelledby": n, ...e }, t ? /* @__PURE__ */ d.createElement("title", { id: n }, t) : null, /* @__PURE__ */ d.createElement("path", { d: "M5 20h14v-2H5v2zm0-10h4v6h6v-6h4l-7-7-7 7z" })), ju =
|
|
541
|
+
}, r) => /* @__PURE__ */ d.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", ref: r, "aria-labelledby": n, ...e }, t ? /* @__PURE__ */ d.createElement("title", { id: n }, t) : null, /* @__PURE__ */ d.createElement("path", { d: "M5 20h14v-2H5v2zm0-10h4v6h6v-6h4l-7-7-7 7z" })), ju = U(Iu), Au = ({
|
|
542
542
|
title: t,
|
|
543
543
|
titleId: n,
|
|
544
544
|
...e
|
|
545
|
-
}, r) => /* @__PURE__ */ d.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", ref: r, "aria-labelledby": n, ...e }, t ? /* @__PURE__ */ d.createElement("title", { id: n }, t) : null, /* @__PURE__ */ d.createElement("path", { d: "M1 21h22L12 2 1 21zm12-3h-2v-2h2v2zm0-4h-2v-4h2v4z" })), Pu =
|
|
545
|
+
}, r) => /* @__PURE__ */ d.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", ref: r, "aria-labelledby": n, ...e }, t ? /* @__PURE__ */ d.createElement("title", { id: n }, t) : null, /* @__PURE__ */ d.createElement("path", { d: "M1 21h22L12 2 1 21zm12-3h-2v-2h2v2zm0-4h-2v-4h2v4z" })), Pu = U(Au), Nu = ({
|
|
546
546
|
title: t,
|
|
547
547
|
titleId: n,
|
|
548
548
|
...e
|
|
549
|
-
}, r) => /* @__PURE__ */ d.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", ref: r, "aria-labelledby": n, ...e }, t ? /* @__PURE__ */ d.createElement("title", { id: n }, t) : null, /* @__PURE__ */ d.createElement("path", { d: "m6.76 4.84-1.8-1.79-1.41 1.41 1.79 1.79zM1 10.5h3v2H1zM11 .55h2V3.5h-2zm8.04 2.495 1.408 1.407-1.79 1.79-1.407-1.408zm-1.8 15.115 1.79 1.8 1.41-1.41-1.8-1.79zM20 10.5h3v2h-3zm-8-5c-3.31 0-6 2.69-6 6s2.69 6 6 6 6-2.69 6-6-2.69-6-6-6zm0 10c-2.21 0-4-1.79-4-4s1.79-4 4-4 4 1.79 4 4-1.79 4-4 4zm-1 4h2v2.95h-2zm-7.45-.96 1.41 1.41 1.79-1.8-1.41-1.41z" })), Fu =
|
|
549
|
+
}, r) => /* @__PURE__ */ d.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", ref: r, "aria-labelledby": n, ...e }, t ? /* @__PURE__ */ d.createElement("title", { id: n }, t) : null, /* @__PURE__ */ d.createElement("path", { d: "m6.76 4.84-1.8-1.79-1.41 1.41 1.79 1.79zM1 10.5h3v2H1zM11 .55h2V3.5h-2zm8.04 2.495 1.408 1.407-1.79 1.79-1.407-1.408zm-1.8 15.115 1.79 1.8 1.41-1.41-1.8-1.79zM20 10.5h3v2h-3zm-8-5c-3.31 0-6 2.69-6 6s2.69 6 6 6 6-2.69 6-6-2.69-6-6-6zm0 10c-2.21 0-4-1.79-4-4s1.79-4 4-4 4 1.79 4 4-1.79 4-4 4zm-1 4h2v2.95h-2zm-7.45-.96 1.41 1.41 1.79-1.8-1.41-1.41z" })), Fu = U(Nu), Lu = ({
|
|
550
550
|
title: t,
|
|
551
551
|
titleId: n,
|
|
552
552
|
...e
|
|
553
|
-
}, r) => /* @__PURE__ */ d.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", ref: r, "aria-labelledby": n, ...e }, t ? /* @__PURE__ */ d.createElement("title", { id: n }, t) : null, /* @__PURE__ */ d.createElement("path", { d: "M13 13v8h8v-8h-8zM3 21h8v-8H3v8zM3 3v8h8V3H3zm13.66-1.31L11 7.34 16.66 13l5.66-5.66-5.66-5.65z" })), Ru =
|
|
553
|
+
}, r) => /* @__PURE__ */ d.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", ref: r, "aria-labelledby": n, ...e }, t ? /* @__PURE__ */ d.createElement("title", { id: n }, t) : null, /* @__PURE__ */ d.createElement("path", { d: "M13 13v8h8v-8h-8zM3 21h8v-8H3v8zM3 3v8h8V3H3zm13.66-1.31L11 7.34 16.66 13l5.66-5.66-5.66-5.65z" })), Ru = U(Lu), _u = `
|
|
554
554
|
jn:text-current
|
|
555
555
|
jn:hover:text-theme-high
|
|
556
556
|
jn:focus:outline-hidden
|
|
@@ -641,7 +641,7 @@ const zu = ({ icon: t, color: n, size: e, title: r, iconClassName: i, ...o }) =>
|
|
|
641
641
|
);
|
|
642
642
|
case "bolt":
|
|
643
643
|
return /* @__PURE__ */ H.jsx(
|
|
644
|
-
|
|
644
|
+
Us,
|
|
645
645
|
{
|
|
646
646
|
width: e,
|
|
647
647
|
height: e,
|
|
@@ -1018,7 +1018,7 @@ const zu = ({ icon: t, color: n, size: e, title: r, iconClassName: i, ...o }) =>
|
|
|
1018
1018
|
);
|
|
1019
1019
|
case "monitorHeart":
|
|
1020
1020
|
return /* @__PURE__ */ H.jsx(
|
|
1021
|
-
|
|
1021
|
+
Uc,
|
|
1022
1022
|
{
|
|
1023
1023
|
width: e,
|
|
1024
1024
|
height: e,
|
|
@@ -1342,7 +1342,7 @@ const zu = ({ icon: t, color: n, size: e, title: r, iconClassName: i, ...o }) =>
|
|
|
1342
1342
|
}
|
|
1343
1343
|
);
|
|
1344
1344
|
}
|
|
1345
|
-
}, Wn =
|
|
1345
|
+
}, Wn = U(function({ icon: t, color: n = "", size: e = 24, title: r = "", className: i = "", href: o = "", disabled: a = !1, onClick: l, ...s }, u) {
|
|
1346
1346
|
const c = zu({
|
|
1347
1347
|
icon: t || void 0,
|
|
1348
1348
|
color: n,
|
|
@@ -1350,14 +1350,14 @@ const zu = ({ icon: t, color: n, size: e, title: r, iconClassName: i, ...o }) =>
|
|
|
1350
1350
|
title: r,
|
|
1351
1351
|
iconClassName: o || l ? "" : i,
|
|
1352
1352
|
...o || l ? {} : s
|
|
1353
|
-
}),
|
|
1354
|
-
l && l(
|
|
1353
|
+
}), g = (v) => {
|
|
1354
|
+
l && l(v);
|
|
1355
1355
|
}, m = /* @__PURE__ */ H.jsx(
|
|
1356
1356
|
"button",
|
|
1357
1357
|
{
|
|
1358
1358
|
...s,
|
|
1359
1359
|
type: "button",
|
|
1360
|
-
onClick:
|
|
1360
|
+
onClick: g,
|
|
1361
1361
|
className: `juno-icon-button ${Hu} ${i}`,
|
|
1362
1362
|
"aria-label": r || t || void 0,
|
|
1363
1363
|
disabled: a,
|
|
@@ -1389,9 +1389,9 @@ const zu = ({ icon: t, color: n, size: e, title: r, iconClassName: i, ...o }) =>
|
|
|
1389
1389
|
jn:text-theme-success
|
|
1390
1390
|
`, Yu = `
|
|
1391
1391
|
jn:text-theme-warning
|
|
1392
|
-
`,
|
|
1392
|
+
`, Ku = `
|
|
1393
1393
|
jn:text-theme-on-default
|
|
1394
|
-
`,
|
|
1394
|
+
`, Uu = ({
|
|
1395
1395
|
variant: t = "default",
|
|
1396
1396
|
size: n,
|
|
1397
1397
|
className: e = "",
|
|
@@ -1409,7 +1409,7 @@ const zu = ({ icon: t, color: n, size: e, title: r, iconClassName: i, ...o }) =>
|
|
|
1409
1409
|
case "warning":
|
|
1410
1410
|
return Yu;
|
|
1411
1411
|
default:
|
|
1412
|
-
return
|
|
1412
|
+
return Ku;
|
|
1413
1413
|
}
|
|
1414
1414
|
}, a = (s) => {
|
|
1415
1415
|
switch (s) {
|
|
@@ -1467,17 +1467,17 @@ const zu = ({ icon: t, color: n, size: e, title: r, iconClassName: i, ...o }) =>
|
|
|
1467
1467
|
jn:text-base
|
|
1468
1468
|
jn:leading-6
|
|
1469
1469
|
`, Zu = `
|
|
1470
|
-
jn:py-
|
|
1470
|
+
jn:py-1.25
|
|
1471
1471
|
jn:px-[0.5rem]
|
|
1472
1472
|
`, qu = `
|
|
1473
1473
|
jn:py-[0.25rem]
|
|
1474
|
-
jn:px-
|
|
1474
|
+
jn:px-1.75
|
|
1475
1475
|
`, Gu = `
|
|
1476
|
-
jn:py-
|
|
1477
|
-
jn:px-
|
|
1476
|
+
jn:py-1.75
|
|
1477
|
+
jn:px-2.5
|
|
1478
1478
|
`, Qu = `
|
|
1479
|
-
jn:py-
|
|
1480
|
-
jn:px-
|
|
1479
|
+
jn:py-1.5
|
|
1480
|
+
jn:px-2.25
|
|
1481
1481
|
`, ho = `
|
|
1482
1482
|
jn:bg-theme-button-default
|
|
1483
1483
|
jn:text-theme-button-default
|
|
@@ -1534,84 +1534,85 @@ const zu = ({ icon: t, color: n, size: e, title: r, iconClassName: i, ...o }) =>
|
|
|
1534
1534
|
default:
|
|
1535
1535
|
return "";
|
|
1536
1536
|
}
|
|
1537
|
-
}, od =
|
|
1537
|
+
}, od = U(
|
|
1538
1538
|
({
|
|
1539
1539
|
label: t,
|
|
1540
1540
|
title: n,
|
|
1541
|
-
|
|
1542
|
-
|
|
1543
|
-
|
|
1544
|
-
|
|
1545
|
-
|
|
1546
|
-
|
|
1547
|
-
|
|
1548
|
-
|
|
1549
|
-
|
|
1550
|
-
|
|
1551
|
-
|
|
1552
|
-
|
|
1553
|
-
|
|
1541
|
+
type: e = "button",
|
|
1542
|
+
variant: r = "default",
|
|
1543
|
+
size: i = "default",
|
|
1544
|
+
disabled: o,
|
|
1545
|
+
href: a,
|
|
1546
|
+
icon: l,
|
|
1547
|
+
className: s = "",
|
|
1548
|
+
onClick: u,
|
|
1549
|
+
children: c,
|
|
1550
|
+
progress: g = !1,
|
|
1551
|
+
progressLabel: m = "",
|
|
1552
|
+
...p
|
|
1553
|
+
}, v) => {
|
|
1554
|
+
const b = n || t || "", x = g ? /* @__PURE__ */ H.jsx(Uu, { size: i === "small" ? "1.125rem" : "1.5rem", color: id(r) }) : l ? /* @__PURE__ */ H.jsx(
|
|
1554
1555
|
Wn,
|
|
1555
1556
|
{
|
|
1556
|
-
icon:
|
|
1557
|
-
title:
|
|
1558
|
-
className: `juno-button-icon ${t ||
|
|
1559
|
-
size:
|
|
1557
|
+
icon: l,
|
|
1558
|
+
title: b,
|
|
1559
|
+
className: `juno-button-icon ${t || c ? rd(i) : ""} `,
|
|
1560
|
+
size: i === "small" ? "1.125rem" : "1.5rem"
|
|
1560
1561
|
}
|
|
1561
|
-
) : null,
|
|
1562
|
-
|
|
1563
|
-
},
|
|
1562
|
+
) : null, M = g && m ? m : t || c, C = (_) => {
|
|
1563
|
+
u && u(_);
|
|
1564
|
+
}, k = /* @__PURE__ */ H.jsxs(
|
|
1564
1565
|
"button",
|
|
1565
1566
|
{
|
|
1566
1567
|
className: `
|
|
1567
1568
|
juno-button
|
|
1568
|
-
juno-button-${
|
|
1569
|
-
juno-button-${
|
|
1569
|
+
juno-button-${r}
|
|
1570
|
+
juno-button-${i}-size
|
|
1570
1571
|
${fo}
|
|
1571
|
-
${
|
|
1572
|
-
${go(
|
|
1573
|
-
${vo(
|
|
1574
|
-
${bo(
|
|
1575
|
-
${
|
|
1576
|
-
disabled:
|
|
1577
|
-
onClick:
|
|
1578
|
-
ref:
|
|
1579
|
-
...
|
|
1580
|
-
type:
|
|
1581
|
-
title:
|
|
1572
|
+
${i === "small" ? po : mo}
|
|
1573
|
+
${go(i, r)}
|
|
1574
|
+
${vo(r)}
|
|
1575
|
+
${bo(g)}
|
|
1576
|
+
${s}`,
|
|
1577
|
+
disabled: o || void 0,
|
|
1578
|
+
onClick: C,
|
|
1579
|
+
ref: v,
|
|
1580
|
+
...p,
|
|
1581
|
+
type: e,
|
|
1582
|
+
title: b,
|
|
1582
1583
|
children: [
|
|
1583
|
-
|
|
1584
|
-
|
|
1584
|
+
x,
|
|
1585
|
+
M
|
|
1585
1586
|
]
|
|
1586
1587
|
}
|
|
1587
|
-
),
|
|
1588
|
+
), L = /* @__PURE__ */ H.jsxs(
|
|
1588
1589
|
"a",
|
|
1589
1590
|
{
|
|
1590
|
-
href:
|
|
1591
|
+
href: a || void 0,
|
|
1591
1592
|
role: "button",
|
|
1592
1593
|
className: `
|
|
1593
1594
|
juno-button
|
|
1594
|
-
juno-button-${
|
|
1595
|
-
juno-button-${
|
|
1595
|
+
juno-button-${r}
|
|
1596
|
+
juno-button-${i}-size
|
|
1596
1597
|
${fo}
|
|
1597
|
-
${
|
|
1598
|
-
${go(
|
|
1599
|
-
${vo(
|
|
1600
|
-
${bo(
|
|
1601
|
-
${
|
|
1598
|
+
${i === "small" ? po : mo}
|
|
1599
|
+
${go(i, r)}
|
|
1600
|
+
${vo(r)}
|
|
1601
|
+
${bo(g)}
|
|
1602
|
+
${s}
|
|
1602
1603
|
`,
|
|
1603
|
-
disabled:
|
|
1604
|
-
onClick:
|
|
1605
|
-
ref:
|
|
1606
|
-
...
|
|
1607
|
-
title:
|
|
1604
|
+
disabled: o,
|
|
1605
|
+
onClick: u,
|
|
1606
|
+
ref: v,
|
|
1607
|
+
...p,
|
|
1608
|
+
title: b,
|
|
1608
1609
|
children: [
|
|
1609
|
-
|
|
1610
|
-
|
|
1610
|
+
x,
|
|
1611
|
+
M
|
|
1611
1612
|
]
|
|
1612
1613
|
}
|
|
1613
1614
|
);
|
|
1614
|
-
return
|
|
1615
|
+
return a ? L : k;
|
|
1615
1616
|
}
|
|
1616
1617
|
);
|
|
1617
1618
|
od.displayName = "Button";
|
|
@@ -1641,7 +1642,7 @@ const ad = `
|
|
|
1641
1642
|
`, ud = `
|
|
1642
1643
|
jn:opacity-50
|
|
1643
1644
|
jn:cursor-not-allowed
|
|
1644
|
-
`, dd =
|
|
1645
|
+
`, dd = U(
|
|
1645
1646
|
({
|
|
1646
1647
|
text: t = "",
|
|
1647
1648
|
htmlFor: n,
|
|
@@ -2053,8 +2054,8 @@ function Ld(t) {
|
|
|
2053
2054
|
i
|
|
2054
2055
|
]), a = Ta(o), l = ce((s) => {
|
|
2055
2056
|
let u = Le(s);
|
|
2056
|
-
const c = yt(u),
|
|
2057
|
-
u === s.currentTarget && u ===
|
|
2057
|
+
const c = yt(u), g = c ? Yt(c) : Yt();
|
|
2058
|
+
u === s.currentTarget && u === g && (e && e(s), i && i(!0), a(s));
|
|
2058
2059
|
}, [
|
|
2059
2060
|
i,
|
|
2060
2061
|
e,
|
|
@@ -2070,20 +2071,20 @@ function Ld(t) {
|
|
|
2070
2071
|
function Rd(t) {
|
|
2071
2072
|
let { isDisabled: n, onBlurWithin: e, onFocusWithin: r, onFocusWithinChange: i } = t, o = se({
|
|
2072
2073
|
isFocusWithin: !1
|
|
2073
|
-
}), { addGlobalListener: a, removeAllGlobalListeners: l } = Oa(), s = ce((
|
|
2074
|
-
ht(
|
|
2074
|
+
}), { addGlobalListener: a, removeAllGlobalListeners: l } = Oa(), s = ce((g) => {
|
|
2075
|
+
ht(g.currentTarget, Le(g)) && o.current.isFocusWithin && !ht(g.currentTarget, g.relatedTarget) && (o.current.isFocusWithin = !1, l(), e && e(g), i && i(!1));
|
|
2075
2076
|
}, [
|
|
2076
2077
|
e,
|
|
2077
2078
|
i,
|
|
2078
2079
|
o,
|
|
2079
2080
|
l
|
|
2080
|
-
]), u = Ta(s), c = ce((
|
|
2081
|
-
if (!ht(
|
|
2082
|
-
let m = Le(
|
|
2083
|
-
const p = yt(m),
|
|
2084
|
-
if (!o.current.isFocusWithin &&
|
|
2085
|
-
r && r(
|
|
2086
|
-
let b =
|
|
2081
|
+
]), u = Ta(s), c = ce((g) => {
|
|
2082
|
+
if (!ht(g.currentTarget, Le(g))) return;
|
|
2083
|
+
let m = Le(g);
|
|
2084
|
+
const p = yt(m), v = Yt(p);
|
|
2085
|
+
if (!o.current.isFocusWithin && v === m) {
|
|
2086
|
+
r && r(g), i && i(!0), o.current.isFocusWithin = !0, u(g);
|
|
2087
|
+
let b = g.currentTarget;
|
|
2087
2088
|
a(p, "focus", (x) => {
|
|
2088
2089
|
let M = Le(x);
|
|
2089
2090
|
if (o.current.isFocusWithin && !ht(b, M)) {
|
|
@@ -2141,7 +2142,7 @@ function sr(t) {
|
|
|
2141
2142
|
target: null
|
|
2142
2143
|
}).current;
|
|
2143
2144
|
ye(_d, []);
|
|
2144
|
-
let { addGlobalListener: s, removeAllGlobalListeners: u } = Oa(), { hoverProps: c, triggerHoverEnd:
|
|
2145
|
+
let { addGlobalListener: s, removeAllGlobalListeners: u } = Oa(), { hoverProps: c, triggerHoverEnd: g } = Me(() => {
|
|
2145
2146
|
let m = (b, x) => {
|
|
2146
2147
|
if (l.pointerType = x, i || x === "touch" || l.isHovered || !ht(b.currentTarget, Le(b))) return;
|
|
2147
2148
|
l.isHovered = !0;
|
|
@@ -2162,19 +2163,19 @@ function sr(t) {
|
|
|
2162
2163
|
target: M,
|
|
2163
2164
|
pointerType: x
|
|
2164
2165
|
}), e && e(!1), a(!1));
|
|
2165
|
-
},
|
|
2166
|
-
return typeof PointerEvent < "u" ? (
|
|
2166
|
+
}, v = {};
|
|
2167
|
+
return typeof PointerEvent < "u" ? (v.onPointerEnter = (b) => {
|
|
2167
2168
|
Bn && b.pointerType === "mouse" || m(b, b.pointerType);
|
|
2168
|
-
},
|
|
2169
|
+
}, v.onPointerLeave = (b) => {
|
|
2169
2170
|
!i && ht(b.currentTarget, Le(b)) && p(b, b.pointerType);
|
|
2170
|
-
}) : process.env.NODE_ENV === "test" && (
|
|
2171
|
+
}) : process.env.NODE_ENV === "test" && (v.onTouchStart = () => {
|
|
2171
2172
|
l.ignoreEmulatedMouseEvents = !0;
|
|
2172
|
-
},
|
|
2173
|
+
}, v.onMouseEnter = (b) => {
|
|
2173
2174
|
!l.ignoreEmulatedMouseEvents && !Bn && m(b, "mouse"), l.ignoreEmulatedMouseEvents = !1;
|
|
2174
|
-
},
|
|
2175
|
+
}, v.onMouseLeave = (b) => {
|
|
2175
2176
|
!i && ht(b.currentTarget, Le(b)) && p(b, "mouse");
|
|
2176
2177
|
}), {
|
|
2177
|
-
hoverProps:
|
|
2178
|
+
hoverProps: v,
|
|
2178
2179
|
triggerHoverEnd: p
|
|
2179
2180
|
};
|
|
2180
2181
|
}, [
|
|
@@ -2187,7 +2188,7 @@ function sr(t) {
|
|
|
2187
2188
|
u
|
|
2188
2189
|
]);
|
|
2189
2190
|
return ye(() => {
|
|
2190
|
-
i &&
|
|
2191
|
+
i && g({
|
|
2191
2192
|
currentTarget: l.target
|
|
2192
2193
|
}, l.pointerType);
|
|
2193
2194
|
}, [
|
|
@@ -2215,7 +2216,7 @@ function cr(t = {}) {
|
|
|
2215
2216
|
enabled: o,
|
|
2216
2217
|
isTextInput: e
|
|
2217
2218
|
});
|
|
2218
|
-
let { focusProps:
|
|
2219
|
+
let { focusProps: g } = Ld({
|
|
2219
2220
|
isDisabled: r,
|
|
2220
2221
|
onFocusChange: c
|
|
2221
2222
|
}), { focusWithinProps: m } = Rd({
|
|
@@ -2225,7 +2226,7 @@ function cr(t = {}) {
|
|
|
2225
2226
|
return {
|
|
2226
2227
|
isFocused: o,
|
|
2227
2228
|
isFocusVisible: l,
|
|
2228
|
-
focusProps: r ? m :
|
|
2229
|
+
focusProps: r ? m : g
|
|
2229
2230
|
};
|
|
2230
2231
|
}
|
|
2231
2232
|
var Hd = Object.defineProperty, zd = (t, n, e) => n in t ? Hd(t, n, { enumerable: !0, configurable: !0, writable: !0, value: e }) : t[n] = e, Fr = (t, n, e) => (zd(t, typeof n != "symbol" ? n + "" : n, e), e);
|
|
@@ -2377,24 +2378,24 @@ function Te(t, n, ...e) {
|
|
|
2377
2378
|
}
|
|
2378
2379
|
var At = ((t) => (t[t.None = 0] = "None", t[t.RenderStrategy = 1] = "RenderStrategy", t[t.Static = 2] = "Static", t))(At || {}), Yd = ((t) => (t[t.Unmount = 0] = "Unmount", t[t.Hidden = 1] = "Hidden", t))(Yd || {});
|
|
2379
2380
|
function Ee() {
|
|
2380
|
-
let t =
|
|
2381
|
-
return ce((n) =>
|
|
2381
|
+
let t = Ud();
|
|
2382
|
+
return ce((n) => Kd({ mergeRefs: t, ...n }), [t]);
|
|
2382
2383
|
}
|
|
2383
|
-
function
|
|
2384
|
+
function Kd({ ourProps: t, theirProps: n, slot: e, defaultTag: r, features: i, visible: o = !0, name: a, mergeRefs: l }) {
|
|
2384
2385
|
l = l ?? Zd;
|
|
2385
2386
|
let s = Na(n, t);
|
|
2386
2387
|
if (o) return jn(s, e, r, a, l);
|
|
2387
2388
|
let u = i ?? 0;
|
|
2388
2389
|
if (u & 2) {
|
|
2389
|
-
let { static: c = !1, ...
|
|
2390
|
-
if (c) return jn(
|
|
2390
|
+
let { static: c = !1, ...g } = s;
|
|
2391
|
+
if (c) return jn(g, e, r, a, l);
|
|
2391
2392
|
}
|
|
2392
2393
|
if (u & 1) {
|
|
2393
|
-
let { unmount: c = !0, ...
|
|
2394
|
+
let { unmount: c = !0, ...g } = s;
|
|
2394
2395
|
return Te(c ? 0 : 1, { 0() {
|
|
2395
2396
|
return null;
|
|
2396
2397
|
}, 1() {
|
|
2397
|
-
return jn({ ...
|
|
2398
|
+
return jn({ ...g, hidden: !0, style: { display: "none" } }, e, r, a, l);
|
|
2398
2399
|
} });
|
|
2399
2400
|
}
|
|
2400
2401
|
return jn(s, e, r, a, l);
|
|
@@ -2402,28 +2403,28 @@ function Ud({ ourProps: t, theirProps: n, slot: e, defaultTag: r, features: i, v
|
|
|
2402
2403
|
function jn(t, n = {}, e, r, i) {
|
|
2403
2404
|
let { as: o = e, children: a, refName: l = "ref", ...s } = Lr(t, ["unmount", "static"]), u = t.ref !== void 0 ? { [l]: t.ref } : {}, c = typeof a == "function" ? a(n) : a;
|
|
2404
2405
|
"className" in s && s.className && typeof s.className == "function" && (s.className = s.className(n)), s["aria-labelledby"] && s["aria-labelledby"] === s.id && (s["aria-labelledby"] = void 0);
|
|
2405
|
-
let
|
|
2406
|
+
let g = {};
|
|
2406
2407
|
if (n) {
|
|
2407
2408
|
let m = !1, p = [];
|
|
2408
|
-
for (let [
|
|
2409
|
+
for (let [v, b] of Object.entries(n)) typeof b == "boolean" && (m = !0), b === !0 && p.push(v.replace(/([A-Z])/g, (x) => `-${x.toLowerCase()}`));
|
|
2409
2410
|
if (m) {
|
|
2410
|
-
|
|
2411
|
-
for (let
|
|
2411
|
+
g["data-headlessui-state"] = p.join(" ");
|
|
2412
|
+
for (let v of p) g[`data-${v}`] = "";
|
|
2412
2413
|
}
|
|
2413
2414
|
}
|
|
2414
|
-
if (Rn(o) && (Object.keys(Mt(s)).length > 0 || Object.keys(Mt(
|
|
2415
|
-
if (Object.keys(Mt(s)).length > 0) throw new Error(['Passing props on "Fragment"!', "", `The current component <${r} /> is rendering a "Fragment".`, "However we need to passthrough the following props:", Object.keys(Mt(s)).concat(Object.keys(Mt(
|
|
2415
|
+
if (Rn(o) && (Object.keys(Mt(s)).length > 0 || Object.keys(Mt(g)).length > 0)) if (!ar(c) || Array.isArray(c) && c.length > 1 || Gd(c)) {
|
|
2416
|
+
if (Object.keys(Mt(s)).length > 0) throw new Error(['Passing props on "Fragment"!', "", `The current component <${r} /> is rendering a "Fragment".`, "However we need to passthrough the following props:", Object.keys(Mt(s)).concat(Object.keys(Mt(g))).map((m) => ` - ${m}`).join(`
|
|
2416
2417
|
`), "", "You can apply a few solutions:", ['Add an `as="..."` prop, to ensure that we render an actual element instead of a "Fragment".', "Render a single element as the child so that we can forward the props onto that element."].map((m) => ` - ${m}`).join(`
|
|
2417
2418
|
`)].join(`
|
|
2418
2419
|
`));
|
|
2419
2420
|
} else {
|
|
2420
|
-
let m = c.props, p = m?.className,
|
|
2421
|
-
for (let M in
|
|
2422
|
-
return pi(c, Object.assign({}, x,
|
|
2421
|
+
let m = c.props, p = m?.className, v = typeof p == "function" ? (...M) => yo(p(...M), s.className) : yo(p, s.className), b = v ? { className: v } : {}, x = Na(c.props, Mt(Lr(s, ["ref"])));
|
|
2422
|
+
for (let M in g) M in x && delete g[M];
|
|
2423
|
+
return pi(c, Object.assign({}, x, g, u, { ref: i(qd(c), u.ref) }, b));
|
|
2423
2424
|
}
|
|
2424
|
-
return Es(o, Object.assign({}, Lr(s, ["ref"]), !Rn(o) && u, !Rn(o) &&
|
|
2425
|
+
return Es(o, Object.assign({}, Lr(s, ["ref"]), !Rn(o) && u, !Rn(o) && g), c);
|
|
2425
2426
|
}
|
|
2426
|
-
function
|
|
2427
|
+
function Ud() {
|
|
2427
2428
|
let t = se([]), n = ce((e) => {
|
|
2428
2429
|
for (let r of t.current) r != null && (typeof r == "function" ? r(e) : r.current = e);
|
|
2429
2430
|
}, []);
|
|
@@ -2467,7 +2468,7 @@ function Rt(...t) {
|
|
|
2467
2468
|
}
|
|
2468
2469
|
function Se(t) {
|
|
2469
2470
|
var n;
|
|
2470
|
-
return Object.assign(
|
|
2471
|
+
return Object.assign(U(t), { displayName: (n = t.displayName) != null ? n : t.name });
|
|
2471
2472
|
}
|
|
2472
2473
|
function Mt(t) {
|
|
2473
2474
|
let n = Object.assign({}, t);
|
|
@@ -2577,7 +2578,7 @@ function af(t) {
|
|
|
2577
2578
|
function lf(t) {
|
|
2578
2579
|
return tt(t) && t.nodeName === "IFRAME";
|
|
2579
2580
|
}
|
|
2580
|
-
function
|
|
2581
|
+
function Kn(t) {
|
|
2581
2582
|
return tt(t) && t.nodeName === "INPUT";
|
|
2582
2583
|
}
|
|
2583
2584
|
function xo(t) {
|
|
@@ -2631,7 +2632,7 @@ function Ya() {
|
|
|
2631
2632
|
}
|
|
2632
2633
|
return t;
|
|
2633
2634
|
}
|
|
2634
|
-
function
|
|
2635
|
+
function Ka() {
|
|
2635
2636
|
var t, n;
|
|
2636
2637
|
return (n = (t = be(pr)) == null ? void 0 : t.value) != null ? n : void 0;
|
|
2637
2638
|
}
|
|
@@ -2674,8 +2675,8 @@ function hr({ inherit: t = !1 } = {}) {
|
|
|
2674
2675
|
let n = wn(), [e, r] = we([]), i = t ? [n, ...e].filter(Boolean) : e;
|
|
2675
2676
|
return [i.length > 0 ? i.join(" ") : void 0, Me(() => function(o) {
|
|
2676
2677
|
let a = X((s) => (r((u) => [...u, s]), () => r((u) => {
|
|
2677
|
-
let c = u.slice(),
|
|
2678
|
-
return
|
|
2678
|
+
let c = u.slice(), g = c.indexOf(s);
|
|
2679
|
+
return g !== -1 && c.splice(g, 1), c;
|
|
2679
2680
|
}))), l = Me(() => ({ register: a, slot: o.slot, name: o.name, props: o.props, value: o.value }), [a, o.slot, o.name, o.props, o.value]);
|
|
2680
2681
|
return q.createElement(mr.Provider, { value: l }, o.children);
|
|
2681
2682
|
}, [r])];
|
|
@@ -2683,7 +2684,7 @@ function hr({ inherit: t = !1 } = {}) {
|
|
|
2683
2684
|
let gf = "label";
|
|
2684
2685
|
function vf(t, n) {
|
|
2685
2686
|
var e;
|
|
2686
|
-
let r = je(), i = Si(), o = Ei(), a = dr(), { id: l = `headlessui-label-${r}`, htmlFor: s = o ?? ((e = i.props) == null ? void 0 : e.htmlFor), passive: u = !1, ...c } = t,
|
|
2687
|
+
let r = je(), i = Si(), o = Ei(), a = dr(), { id: l = `headlessui-label-${r}`, htmlFor: s = o ?? ((e = i.props) == null ? void 0 : e.htmlFor), passive: u = !1, ...c } = t, g = ke(n);
|
|
2687
2688
|
ve(() => i.register(l), [l, i.register]);
|
|
2688
2689
|
let m = X((b) => {
|
|
2689
2690
|
let x = b.currentTarget;
|
|
@@ -2694,32 +2695,32 @@ function vf(t, n) {
|
|
|
2694
2695
|
if (C === "true" || C === "") return;
|
|
2695
2696
|
let k = M.getAttribute("aria-disabled");
|
|
2696
2697
|
if (k === "true" || k === "") return;
|
|
2697
|
-
(
|
|
2698
|
+
(Kn(M) && (M.type === "file" || M.type === "radio" || M.type === "checkbox") || M.role === "radio" || M.role === "checkbox" || M.role === "switch") && M.click(), M.focus({ preventScroll: !0 });
|
|
2698
2699
|
}
|
|
2699
2700
|
}
|
|
2700
|
-
}), p = Ie({ ...i.slot, disabled: a || !1 }),
|
|
2701
|
-
return u && ("onClick" in
|
|
2701
|
+
}), p = Ie({ ...i.slot, disabled: a || !1 }), v = { ref: g, ...i.props, id: l, htmlFor: s, onClick: m };
|
|
2702
|
+
return u && ("onClick" in v && (delete v.htmlFor, delete v.onClick), "onClick" in c && delete c.onClick), Ee()({ ourProps: v, theirProps: c, slot: p, defaultTag: s ? gf : "div", name: i.name || "Label" });
|
|
2702
2703
|
}
|
|
2703
|
-
let bf = Se(vf),
|
|
2704
|
+
let bf = Se(vf), Ua = Object.assign(bf, {});
|
|
2704
2705
|
function zt(t, n, e) {
|
|
2705
2706
|
let r = e.initialDeps ?? [], i, o = !0;
|
|
2706
2707
|
function a() {
|
|
2707
2708
|
var l, s, u;
|
|
2708
2709
|
let c;
|
|
2709
2710
|
e.key && (l = e.debug) != null && l.call(e) && (c = Date.now());
|
|
2710
|
-
const
|
|
2711
|
-
if (!(
|
|
2711
|
+
const g = t();
|
|
2712
|
+
if (!(g.length !== r.length || g.some((p, v) => r[v] !== p)))
|
|
2712
2713
|
return i;
|
|
2713
|
-
r =
|
|
2714
|
+
r = g;
|
|
2714
2715
|
let m;
|
|
2715
|
-
if (e.key && (s = e.debug) != null && s.call(e) && (m = Date.now()), i = n(...
|
|
2716
|
-
const p = Math.round((Date.now() - c) * 100) / 100,
|
|
2716
|
+
if (e.key && (s = e.debug) != null && s.call(e) && (m = Date.now()), i = n(...g), e.key && (u = e.debug) != null && u.call(e)) {
|
|
2717
|
+
const p = Math.round((Date.now() - c) * 100) / 100, v = Math.round((Date.now() - m) * 100) / 100, b = v / 16, x = (M, C) => {
|
|
2717
2718
|
for (M = String(M); M.length < C; )
|
|
2718
2719
|
M = " " + M;
|
|
2719
2720
|
return M;
|
|
2720
2721
|
};
|
|
2721
2722
|
console.info(
|
|
2722
|
-
`%c⏱ ${x(
|
|
2723
|
+
`%c⏱ ${x(v, 5)} /${x(p, 5)} ms`,
|
|
2723
2724
|
`
|
|
2724
2725
|
font-size: .6rem;
|
|
2725
2726
|
font-weight: bold;
|
|
@@ -2803,8 +2804,8 @@ const wf = (t, n) => Math.abs(t - n) < 1.01, yf = (t, n, e) => {
|
|
|
2803
2804
|
},
|
|
2804
2805
|
t.options.isScrollingResetDelay
|
|
2805
2806
|
), a = (c) => () => {
|
|
2806
|
-
const { horizontal:
|
|
2807
|
-
i =
|
|
2807
|
+
const { horizontal: g, isRtl: m } = t.options;
|
|
2808
|
+
i = g ? e.scrollLeft * (m && -1 || 1) : e.scrollTop, o(), n(i, c);
|
|
2808
2809
|
}, l = a(!0), s = a(!1);
|
|
2809
2810
|
e.addEventListener("scroll", l, Co);
|
|
2810
2811
|
const u = t.options.useScrollendEvent && Oo;
|
|
@@ -2992,19 +2993,19 @@ class Df {
|
|
|
2992
2993
|
}));
|
|
2993
2994
|
const u = this.lanesSettling ? 0 : this.pendingMeasuredCacheIndexes.length > 0 ? Math.min(...this.pendingMeasuredCacheIndexes) : 0;
|
|
2994
2995
|
this.pendingMeasuredCacheIndexes = [], this.lanesSettling && this.measurementsCache.length === e && (this.lanesSettling = !1);
|
|
2995
|
-
const c = this.measurementsCache.slice(0, u),
|
|
2996
|
+
const c = this.measurementsCache.slice(0, u), g = new Array(l).fill(
|
|
2996
2997
|
void 0
|
|
2997
2998
|
);
|
|
2998
2999
|
for (let m = 0; m < u; m++) {
|
|
2999
3000
|
const p = c[m];
|
|
3000
|
-
p && (
|
|
3001
|
+
p && (g[p.lane] = m);
|
|
3001
3002
|
}
|
|
3002
3003
|
for (let m = u; m < e; m++) {
|
|
3003
|
-
const p = o(m),
|
|
3004
|
+
const p = o(m), v = this.laneAssignments.get(m);
|
|
3004
3005
|
let b, x;
|
|
3005
|
-
if (
|
|
3006
|
-
b =
|
|
3007
|
-
const L =
|
|
3006
|
+
if (v !== void 0 && this.options.lanes > 1) {
|
|
3007
|
+
b = v;
|
|
3008
|
+
const L = g[b], _ = L !== void 0 ? c[L] : void 0;
|
|
3008
3009
|
x = _ ? _.end + this.options.gap : r + i;
|
|
3009
3010
|
} else {
|
|
3010
3011
|
const L = this.options.lanes === 1 ? c[m - 1] : this.getFurthestMeasurement(c, m);
|
|
@@ -3018,7 +3019,7 @@ class Df {
|
|
|
3018
3019
|
end: k,
|
|
3019
3020
|
key: p,
|
|
3020
3021
|
lane: b
|
|
3021
|
-
},
|
|
3022
|
+
}, g[b] = m;
|
|
3022
3023
|
}
|
|
3023
3024
|
return this.measurementsCache = c, c;
|
|
3024
3025
|
},
|
|
@@ -3346,7 +3347,7 @@ function To(t) {
|
|
|
3346
3347
|
let { width: n, height: e } = t.getBoundingClientRect();
|
|
3347
3348
|
return { width: n, height: e };
|
|
3348
3349
|
}
|
|
3349
|
-
function
|
|
3350
|
+
function Un(t, n, e = !1) {
|
|
3350
3351
|
let [r, i] = we(() => To(n));
|
|
3351
3352
|
return ve(() => {
|
|
3352
3353
|
if (!n || !t) return;
|
|
@@ -3479,25 +3480,25 @@ function Hf() {
|
|
|
3479
3480
|
return s === u && (s !== 0 || 1 / s === 1 / u) || s !== s && u !== u;
|
|
3480
3481
|
}
|
|
3481
3482
|
var e = typeof Object.is == "function" ? Object.is : n, r = t.useSyncExternalStore, i = t.useRef, o = t.useEffect, a = t.useMemo, l = t.useDebugValue;
|
|
3482
|
-
return zr.useSyncExternalStoreWithSelector = function(s, u, c,
|
|
3483
|
+
return zr.useSyncExternalStoreWithSelector = function(s, u, c, g, m) {
|
|
3483
3484
|
var p = i(null);
|
|
3484
3485
|
if (p.current === null) {
|
|
3485
|
-
var
|
|
3486
|
-
p.current =
|
|
3487
|
-
} else
|
|
3486
|
+
var v = { hasValue: !1, value: null };
|
|
3487
|
+
p.current = v;
|
|
3488
|
+
} else v = p.current;
|
|
3488
3489
|
p = a(
|
|
3489
3490
|
function() {
|
|
3490
3491
|
function x(_) {
|
|
3491
3492
|
if (!M) {
|
|
3492
|
-
if (M = !0, C = _, _ =
|
|
3493
|
-
var P =
|
|
3493
|
+
if (M = !0, C = _, _ = g(_), m !== void 0 && v.hasValue) {
|
|
3494
|
+
var P = v.value;
|
|
3494
3495
|
if (m(P, _))
|
|
3495
3496
|
return k = P;
|
|
3496
3497
|
}
|
|
3497
3498
|
return k = _;
|
|
3498
3499
|
}
|
|
3499
3500
|
if (P = k, e(C, _)) return P;
|
|
3500
|
-
var N =
|
|
3501
|
+
var N = g(_);
|
|
3501
3502
|
return m !== void 0 && m(P, N) ? (C = _, P) : (C = _, k = N);
|
|
3502
3503
|
}
|
|
3503
3504
|
var M = !1, C, k, L = c === void 0 ? null : c;
|
|
@@ -3510,12 +3511,12 @@ function Hf() {
|
|
|
3510
3511
|
}
|
|
3511
3512
|
];
|
|
3512
3513
|
},
|
|
3513
|
-
[u, c,
|
|
3514
|
+
[u, c, g, m]
|
|
3514
3515
|
);
|
|
3515
3516
|
var b = r(s, p[0], p[1]);
|
|
3516
3517
|
return o(
|
|
3517
3518
|
function() {
|
|
3518
|
-
|
|
3519
|
+
v.hasValue = !0, v.value = b;
|
|
3519
3520
|
},
|
|
3520
3521
|
[b]
|
|
3521
3522
|
), l(b), b;
|
|
@@ -3529,18 +3530,18 @@ function zf() {
|
|
|
3529
3530
|
}
|
|
3530
3531
|
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());
|
|
3531
3532
|
var n = q, e = typeof Object.is == "function" ? Object.is : t, r = n.useSyncExternalStore, i = n.useRef, o = n.useEffect, a = n.useMemo, l = n.useDebugValue;
|
|
3532
|
-
Po.useSyncExternalStoreWithSelector = function(s, u, c,
|
|
3533
|
+
Po.useSyncExternalStoreWithSelector = function(s, u, c, g, m) {
|
|
3533
3534
|
var p = i(null);
|
|
3534
3535
|
if (p.current === null) {
|
|
3535
|
-
var
|
|
3536
|
-
p.current =
|
|
3537
|
-
} else
|
|
3536
|
+
var v = { hasValue: !1, value: null };
|
|
3537
|
+
p.current = v;
|
|
3538
|
+
} else v = p.current;
|
|
3538
3539
|
p = a(
|
|
3539
3540
|
function() {
|
|
3540
3541
|
function x(_) {
|
|
3541
3542
|
if (!M) {
|
|
3542
|
-
if (M = !0, C = _, _ =
|
|
3543
|
-
var P =
|
|
3543
|
+
if (M = !0, C = _, _ = g(_), m !== void 0 && v.hasValue) {
|
|
3544
|
+
var P = v.value;
|
|
3544
3545
|
if (m(P, _))
|
|
3545
3546
|
return k = P;
|
|
3546
3547
|
}
|
|
@@ -3548,7 +3549,7 @@ function zf() {
|
|
|
3548
3549
|
}
|
|
3549
3550
|
if (P = k, e(C, _))
|
|
3550
3551
|
return P;
|
|
3551
|
-
var N =
|
|
3552
|
+
var N = g(_);
|
|
3552
3553
|
return m !== void 0 && m(P, N) ? (C = _, P) : (C = _, k = N);
|
|
3553
3554
|
}
|
|
3554
3555
|
var M = !1, C, k, L = c === void 0 ? null : c;
|
|
@@ -3561,12 +3562,12 @@ function zf() {
|
|
|
3561
3562
|
}
|
|
3562
3563
|
];
|
|
3563
3564
|
},
|
|
3564
|
-
[u, c,
|
|
3565
|
+
[u, c, g, m]
|
|
3565
3566
|
);
|
|
3566
3567
|
var b = r(s, p[0], p[1]);
|
|
3567
3568
|
return o(
|
|
3568
3569
|
function() {
|
|
3569
|
-
|
|
3570
|
+
v.hasValue = !0, v.value = b;
|
|
3570
3571
|
},
|
|
3571
3572
|
[b]
|
|
3572
3573
|
), l(b), b;
|
|
@@ -3617,7 +3618,7 @@ function Oi(t, { allowed: n, disallowed: e } = {}) {
|
|
|
3617
3618
|
if (!u) continue;
|
|
3618
3619
|
let c = s.parentElement;
|
|
3619
3620
|
for (; c && c !== u.body; ) {
|
|
3620
|
-
for (let
|
|
3621
|
+
for (let g of c.children) l.some((m) => g.contains(m)) || a.add(Lo(g));
|
|
3621
3622
|
c = c.parentElement;
|
|
3622
3623
|
}
|
|
3623
3624
|
}
|
|
@@ -3646,11 +3647,11 @@ function Di(t, n, e) {
|
|
|
3646
3647
|
}, [n, r, t]);
|
|
3647
3648
|
}
|
|
3648
3649
|
let Zn = ["[contentEditable=true]", "[tabindex]", "a[href]", "area[href]", "button:not([disabled])", "iframe", "input:not([disabled])", "select:not([disabled])", "details>summary", "textarea:not([disabled])"].map((t) => `${t}:not([tabindex='-1'])`).join(","), Bf = ["[data-autofocus]"].map((t) => `${t}:not([tabindex='-1'])`).join(",");
|
|
3649
|
-
var dn = ((t) => (t[t.First = 1] = "First", t[t.Previous = 2] = "Previous", t[t.Next = 4] = "Next", t[t.Last = 8] = "Last", t[t.WrapAround = 16] = "WrapAround", t[t.NoScroll = 32] = "NoScroll", t[t.AutoFocus = 64] = "AutoFocus", t))(dn || {}), Yf = ((t) => (t[t.Error = 0] = "Error", t[t.Overflow = 1] = "Overflow", t[t.Success = 2] = "Success", t[t.Underflow = 3] = "Underflow", t))(Yf || {}),
|
|
3650
|
+
var dn = ((t) => (t[t.First = 1] = "First", t[t.Previous = 2] = "Previous", t[t.Next = 4] = "Next", t[t.Last = 8] = "Last", t[t.WrapAround = 16] = "WrapAround", t[t.NoScroll = 32] = "NoScroll", t[t.AutoFocus = 64] = "AutoFocus", t))(dn || {}), Yf = ((t) => (t[t.Error = 0] = "Error", t[t.Overflow = 1] = "Overflow", t[t.Success = 2] = "Success", t[t.Underflow = 3] = "Underflow", t))(Yf || {}), Kf = ((t) => (t[t.Previous = -1] = "Previous", t[t.Next = 1] = "Next", t))(Kf || {});
|
|
3650
3651
|
function tl(t = document.body) {
|
|
3651
3652
|
return t == null ? [] : Array.from(t.querySelectorAll(Zn)).sort((n, e) => Math.sign((n.tabIndex || Number.MAX_SAFE_INTEGER) - (e.tabIndex || Number.MAX_SAFE_INTEGER)));
|
|
3652
3653
|
}
|
|
3653
|
-
function
|
|
3654
|
+
function Uf(t = document.body) {
|
|
3654
3655
|
return t == null ? [] : Array.from(t.querySelectorAll(Bf)).sort((n, e) => Math.sign((n.tabIndex || Number.MAX_SAFE_INTEGER) - (e.tabIndex || Number.MAX_SAFE_INTEGER)));
|
|
3655
3656
|
}
|
|
3656
3657
|
var br = ((t) => (t[t.Strict = 0] = "Strict", t[t.Loose = 1] = "Loose", t))(br || {});
|
|
@@ -3699,8 +3700,8 @@ function rl(t, n, e = t === null ? document.body : Yn(t)) {
|
|
|
3699
3700
|
return Xf(tl(e), n, { relativeTo: t });
|
|
3700
3701
|
}
|
|
3701
3702
|
function Xf(t, n, { sorted: e = !0, relativeTo: r = null, skipElements: i = [] } = {}) {
|
|
3702
|
-
let o = Array.isArray(t) ? t.length > 0 ? Yn(t[0]) : document : Yn(t), a = Array.isArray(t) ? e ? yr(t) : t : n & 64 ?
|
|
3703
|
-
i.length > 0 && a.length > 1 && (a = a.filter((p) => !i.some((
|
|
3703
|
+
let o = Array.isArray(t) ? t.length > 0 ? Yn(t[0]) : document : Yn(t), a = Array.isArray(t) ? e ? yr(t) : t : n & 64 ? Uf(t) : tl(t);
|
|
3704
|
+
i.length > 0 && a.length > 1 && (a = a.filter((p) => !i.some((v) => v != null && "current" in v ? v?.current === p : v === p))), r = r ?? o?.activeElement;
|
|
3704
3705
|
let l = (() => {
|
|
3705
3706
|
if (n & 5) return 1;
|
|
3706
3707
|
if (n & 10) return -1;
|
|
@@ -3711,14 +3712,14 @@ function Xf(t, n, { sorted: e = !0, relativeTo: r = null, skipElements: i = [] }
|
|
|
3711
3712
|
if (n & 4) return Math.max(0, a.indexOf(r)) + 1;
|
|
3712
3713
|
if (n & 8) return a.length - 1;
|
|
3713
3714
|
throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last");
|
|
3714
|
-
})(), u = n & 32 ? { preventScroll: !0 } : {}, c = 0,
|
|
3715
|
+
})(), u = n & 32 ? { preventScroll: !0 } : {}, c = 0, g = a.length, m;
|
|
3715
3716
|
do {
|
|
3716
|
-
if (c >=
|
|
3717
|
+
if (c >= g || c + g <= 0) return 0;
|
|
3717
3718
|
let p = s + c;
|
|
3718
|
-
if (n & 16) p = (p +
|
|
3719
|
+
if (n & 16) p = (p + g) % g;
|
|
3719
3720
|
else {
|
|
3720
3721
|
if (p < 0) return 3;
|
|
3721
|
-
if (p >=
|
|
3722
|
+
if (p >= g) return 1;
|
|
3722
3723
|
}
|
|
3723
3724
|
m = a[p], m?.focus(u), c += l;
|
|
3724
3725
|
} while (m !== wi(m));
|
|
@@ -3759,10 +3760,10 @@ function Ti(t, n, e) {
|
|
|
3759
3760
|
if (l.defaultPrevented) return;
|
|
3760
3761
|
let u = s(l);
|
|
3761
3762
|
if (u === null || !u.getRootNode().contains(u) || !u.isConnected) return;
|
|
3762
|
-
let c = (function
|
|
3763
|
-
return typeof m == "function" ?
|
|
3763
|
+
let c = (function g(m) {
|
|
3764
|
+
return typeof m == "function" ? g(m()) : Array.isArray(m) || m instanceof Set ? m : [m];
|
|
3764
3765
|
})(n);
|
|
3765
|
-
for (let
|
|
3766
|
+
for (let g of c) if (g !== null && (g.contains(u) || l.composed && l.composedPath().includes(g))) return;
|
|
3766
3767
|
return !wr(u, br.Loose) && u.tabIndex !== -1 && l.preventDefault(), r.current(l, u);
|
|
3767
3768
|
}, [r, n]), o = se(null);
|
|
3768
3769
|
Vt(t, "pointerdown", (l) => {
|
|
@@ -3792,14 +3793,14 @@ function ki(t, { trigger: n, action: e, close: r, select: i }) {
|
|
|
3792
3793
|
Wa(s?.target) && n != null && n.contains(s.target) && (a.current = s.x, l.current = s.y, o.current = s.timeStamp);
|
|
3793
3794
|
}), Vt(t && n !== null, "pointerup", (s) => {
|
|
3794
3795
|
var u, c;
|
|
3795
|
-
let
|
|
3796
|
-
if (
|
|
3796
|
+
let g = o.current;
|
|
3797
|
+
if (g === null || (o.current = null, !gt(s.target)) || Math.abs(s.x - ((u = a.current) != null ? u : s.x)) < Ho && Math.abs(s.y - ((c = l.current) != null ? c : s.y)) < Ho) return;
|
|
3797
3798
|
let m = e(s);
|
|
3798
3799
|
switch (m.kind) {
|
|
3799
3800
|
case 0:
|
|
3800
3801
|
return;
|
|
3801
3802
|
case 1: {
|
|
3802
|
-
s.timeStamp -
|
|
3803
|
+
s.timeStamp - g > np && (i(m.target), r());
|
|
3803
3804
|
break;
|
|
3804
3805
|
}
|
|
3805
3806
|
case 2: {
|
|
@@ -3823,9 +3824,9 @@ function ol(t) {
|
|
|
3823
3824
|
let n = se({ value: "", selectionStart: null, selectionEnd: null });
|
|
3824
3825
|
return rp(t, "blur", (e) => {
|
|
3825
3826
|
let r = e.target;
|
|
3826
|
-
|
|
3827
|
+
Kn(r) && (n.current = { value: r.value, selectionStart: r.selectionStart, selectionEnd: r.selectionEnd });
|
|
3827
3828
|
}), X(() => {
|
|
3828
|
-
if (!ur(t) &&
|
|
3829
|
+
if (!ur(t) && Kn(t) && t.isConnected) {
|
|
3829
3830
|
if (t.focus({ preventScroll: !0 }), t.value !== n.current.value) t.setSelectionRange(t.value.length, t.value.length);
|
|
3830
3831
|
else {
|
|
3831
3832
|
let { selectionStart: e, selectionEnd: r } = n.current;
|
|
@@ -3899,7 +3900,7 @@ function lp() {
|
|
|
3899
3900
|
});
|
|
3900
3901
|
}), n.addEventListener(t, "touchmove", (l) => {
|
|
3901
3902
|
if (gt(l.target)) {
|
|
3902
|
-
if (
|
|
3903
|
+
if (Kn(l.target)) return;
|
|
3903
3904
|
if (r(l.target)) {
|
|
3904
3905
|
let s = l.target;
|
|
3905
3906
|
for (; s.parentElement && s.dataset.headlessuiPortal !== "" && !(s.scrollHeight > s.clientHeight || s.scrollWidth > s.clientWidth); ) s = s.parentElement;
|
|
@@ -3990,7 +3991,7 @@ function Pi(t) {
|
|
|
3990
3991
|
return n;
|
|
3991
3992
|
}
|
|
3992
3993
|
function Ni(t, n, e, r) {
|
|
3993
|
-
let [i, o] = we(e), { hasFlag: a, addFlag: l, removeFlag: s } = up(t && i ? 3 : 0), u = se(!1), c = se(!1),
|
|
3994
|
+
let [i, o] = we(e), { hasFlag: a, addFlag: l, removeFlag: s } = up(t && i ? 3 : 0), u = se(!1), c = se(!1), g = xt();
|
|
3994
3995
|
return ve(() => {
|
|
3995
3996
|
var m;
|
|
3996
3997
|
if (t) {
|
|
@@ -4007,7 +4008,7 @@ function Ni(t, n, e, r) {
|
|
|
4007
4008
|
c.current && hp(n) || (u.current = !1, s(7), e || o(!1), (p = void 0) == null || p.call(r, e));
|
|
4008
4009
|
} });
|
|
4009
4010
|
}
|
|
4010
|
-
}, [t, e, n,
|
|
4011
|
+
}, [t, e, n, g]), t ? [i, { closed: a(1), enter: a(2), leave: a(4), transition: a(2) || a(4) }] : [e, { closed: void 0, enter: void 0, leave: void 0, transition: void 0 }];
|
|
4011
4012
|
}
|
|
4012
4013
|
function fp(t, { prepare: n, run: e, done: r, inFlight: i }) {
|
|
4013
4014
|
let o = _e();
|
|
@@ -4050,7 +4051,7 @@ function al(t, { container: n, accept: e, walk: r }) {
|
|
|
4050
4051
|
if (!n || !t) return;
|
|
4051
4052
|
let a = bn(n);
|
|
4052
4053
|
if (!a) return;
|
|
4053
|
-
let l = i.current, s = o.current, u = Object.assign((
|
|
4054
|
+
let l = i.current, s = o.current, u = Object.assign((g) => l(g), { acceptNode: l }), c = a.createTreeWalker(n, NodeFilter.SHOW_ELEMENT, u, !1);
|
|
4054
4055
|
for (; c.nextNode(); ) s(c.currentNode);
|
|
4055
4056
|
}, [n, t, i, o]);
|
|
4056
4057
|
}
|
|
@@ -4067,10 +4068,10 @@ function Bo(t, n) {
|
|
|
4067
4068
|
function xr() {
|
|
4068
4069
|
return typeof window < "u";
|
|
4069
4070
|
}
|
|
4070
|
-
function
|
|
4071
|
+
function Ut(t) {
|
|
4071
4072
|
return ll(t) ? (t.nodeName || "").toLowerCase() : "#document";
|
|
4072
4073
|
}
|
|
4073
|
-
function
|
|
4074
|
+
function Ue(t) {
|
|
4074
4075
|
var n;
|
|
4075
4076
|
return (t == null || (n = t.ownerDocument) == null ? void 0 : n.defaultView) || window;
|
|
4076
4077
|
}
|
|
@@ -4079,16 +4080,16 @@ function lt(t) {
|
|
|
4079
4080
|
return (n = (ll(t) ? t.ownerDocument : t.document) || window.document) == null ? void 0 : n.documentElement;
|
|
4080
4081
|
}
|
|
4081
4082
|
function ll(t) {
|
|
4082
|
-
return xr() ? t instanceof Node || t instanceof
|
|
4083
|
+
return xr() ? t instanceof Node || t instanceof Ue(t).Node : !1;
|
|
4083
4084
|
}
|
|
4084
4085
|
function Re(t) {
|
|
4085
|
-
return xr() ? t instanceof Element || t instanceof
|
|
4086
|
+
return xr() ? t instanceof Element || t instanceof Ue(t).Element : !1;
|
|
4086
4087
|
}
|
|
4087
4088
|
function pt(t) {
|
|
4088
|
-
return xr() ? t instanceof HTMLElement || t instanceof
|
|
4089
|
+
return xr() ? t instanceof HTMLElement || t instanceof Ue(t).HTMLElement : !1;
|
|
4089
4090
|
}
|
|
4090
4091
|
function Yo(t) {
|
|
4091
|
-
return !xr() || typeof ShadowRoot > "u" ? !1 : t instanceof ShadowRoot || t instanceof
|
|
4092
|
+
return !xr() || typeof ShadowRoot > "u" ? !1 : t instanceof ShadowRoot || t instanceof Ue(t).ShadowRoot;
|
|
4092
4093
|
}
|
|
4093
4094
|
function yn(t) {
|
|
4094
4095
|
const {
|
|
@@ -4100,7 +4101,7 @@ function yn(t) {
|
|
|
4100
4101
|
return /auto|scroll|overlay|hidden|clip/.test(n + r + e) && i !== "inline" && i !== "contents";
|
|
4101
4102
|
}
|
|
4102
4103
|
function gp(t) {
|
|
4103
|
-
return /^(table|td|th)$/.test(
|
|
4104
|
+
return /^(table|td|th)$/.test(Ut(t));
|
|
4104
4105
|
}
|
|
4105
4106
|
function Er(t) {
|
|
4106
4107
|
try {
|
|
@@ -4122,7 +4123,7 @@ function Fi(t) {
|
|
|
4122
4123
|
}
|
|
4123
4124
|
function wp(t) {
|
|
4124
4125
|
let n = bt(t);
|
|
4125
|
-
for (; pt(n) && !
|
|
4126
|
+
for (; pt(n) && !Kt(n); ) {
|
|
4126
4127
|
if (Fi(n))
|
|
4127
4128
|
return n;
|
|
4128
4129
|
if (Er(n))
|
|
@@ -4134,11 +4135,11 @@ function wp(t) {
|
|
|
4134
4135
|
function Li() {
|
|
4135
4136
|
return Vr == null && (Vr = typeof CSS < "u" && CSS.supports && CSS.supports("-webkit-backdrop-filter", "none")), Vr;
|
|
4136
4137
|
}
|
|
4137
|
-
function
|
|
4138
|
-
return /^(html|body|#document)$/.test(
|
|
4138
|
+
function Kt(t) {
|
|
4139
|
+
return /^(html|body|#document)$/.test(Ut(t));
|
|
4139
4140
|
}
|
|
4140
4141
|
function et(t) {
|
|
4141
|
-
return
|
|
4142
|
+
return Ue(t).getComputedStyle(t);
|
|
4142
4143
|
}
|
|
4143
4144
|
function Sr(t) {
|
|
4144
4145
|
return Re(t) ? {
|
|
@@ -4150,7 +4151,7 @@ function Sr(t) {
|
|
|
4150
4151
|
};
|
|
4151
4152
|
}
|
|
4152
4153
|
function bt(t) {
|
|
4153
|
-
if (
|
|
4154
|
+
if (Ut(t) === "html")
|
|
4154
4155
|
return t;
|
|
4155
4156
|
const n = (
|
|
4156
4157
|
// Step into the shadow DOM of the parent of a slotted node.
|
|
@@ -4163,12 +4164,12 @@ function bt(t) {
|
|
|
4163
4164
|
}
|
|
4164
4165
|
function sl(t) {
|
|
4165
4166
|
const n = bt(t);
|
|
4166
|
-
return
|
|
4167
|
+
return Kt(n) ? t.ownerDocument ? t.ownerDocument.body : t.body : pt(n) && yn(n) ? n : sl(n);
|
|
4167
4168
|
}
|
|
4168
4169
|
function fn(t, n, e) {
|
|
4169
4170
|
var r;
|
|
4170
4171
|
n === void 0 && (n = []), e === void 0 && (e = !0);
|
|
4171
|
-
const i = sl(t), o = i === ((r = t.ownerDocument) == null ? void 0 : r.body), a =
|
|
4172
|
+
const i = sl(t), o = i === ((r = t.ownerDocument) == null ? void 0 : r.body), a = Ue(i);
|
|
4172
4173
|
if (o) {
|
|
4173
4174
|
const l = ai(a);
|
|
4174
4175
|
return n.concat(a, a.visualViewport || [], yn(i) ? i : [], l && e ? fn(l) : []);
|
|
@@ -4197,7 +4198,7 @@ const Nt = Math.min, Ne = Math.max, pn = Math.round, An = Math.floor, ot = (t) =
|
|
|
4197
4198
|
bottom: "top",
|
|
4198
4199
|
top: "bottom"
|
|
4199
4200
|
};
|
|
4200
|
-
function
|
|
4201
|
+
function Ko(t, n, e) {
|
|
4201
4202
|
return Ne(t, Nt(n, e));
|
|
4202
4203
|
}
|
|
4203
4204
|
function Zt(t, n) {
|
|
@@ -4235,12 +4236,12 @@ function Sp(t) {
|
|
|
4235
4236
|
function li(t) {
|
|
4236
4237
|
return t.includes("start") ? t.replace("start", "end") : t.replace("end", "start");
|
|
4237
4238
|
}
|
|
4238
|
-
const
|
|
4239
|
+
const Uo = ["left", "right"], Zo = ["right", "left"], Mp = ["top", "bottom"], Cp = ["bottom", "top"];
|
|
4239
4240
|
function Op(t, n, e) {
|
|
4240
4241
|
switch (t) {
|
|
4241
4242
|
case "top":
|
|
4242
4243
|
case "bottom":
|
|
4243
|
-
return e ? n ? Zo :
|
|
4244
|
+
return e ? n ? Zo : Uo : n ? Uo : Zo;
|
|
4244
4245
|
case "left":
|
|
4245
4246
|
case "right":
|
|
4246
4247
|
return n ? Mp : Cp;
|
|
@@ -4327,8 +4328,8 @@ var fl = ["input:not([inert]):not([inert] *)", "select:not([inert]):not([inert]
|
|
|
4327
4328
|
var u = Ft.call(o, Qn);
|
|
4328
4329
|
u && e.filter(o) && (n || !t.includes(o)) && r.push(o);
|
|
4329
4330
|
var c = o.shadowRoot || // check for an undisclosed shadow
|
|
4330
|
-
typeof e.getShadowRoot == "function" && e.getShadowRoot(o),
|
|
4331
|
-
if (c &&
|
|
4331
|
+
typeof e.getShadowRoot == "function" && e.getShadowRoot(o), g = !Jn(c, !1) && (!e.shadowRootFilter || e.shadowRootFilter(o));
|
|
4332
|
+
if (c && g) {
|
|
4332
4333
|
var m = er(c === !0 ? o.children : c.children, !0, e);
|
|
4333
4334
|
e.flatten ? r.push.apply(r, m) : r.push({
|
|
4334
4335
|
scopeParent: o,
|
|
@@ -4513,7 +4514,7 @@ function Go(t, n, e) {
|
|
|
4513
4514
|
reference: r,
|
|
4514
4515
|
floating: i
|
|
4515
4516
|
} = t;
|
|
4516
|
-
const o = ut(n), a = dl(n), l = ul(a), s = wt(n), u = o === "y", c = r.x + r.width / 2 - i.width / 2,
|
|
4517
|
+
const o = ut(n), a = dl(n), l = ul(a), s = wt(n), u = o === "y", c = r.x + r.width / 2 - i.width / 2, g = r.y + r.height / 2 - i.height / 2, m = r[l] / 2 - i[l] / 2;
|
|
4517
4518
|
let p;
|
|
4518
4519
|
switch (s) {
|
|
4519
4520
|
case "top":
|
|
@@ -4531,13 +4532,13 @@ function Go(t, n, e) {
|
|
|
4531
4532
|
case "right":
|
|
4532
4533
|
p = {
|
|
4533
4534
|
x: r.x + r.width,
|
|
4534
|
-
y:
|
|
4535
|
+
y: g
|
|
4535
4536
|
};
|
|
4536
4537
|
break;
|
|
4537
4538
|
case "left":
|
|
4538
4539
|
p = {
|
|
4539
4540
|
x: r.x - i.width,
|
|
4540
|
-
y:
|
|
4541
|
+
y: g
|
|
4541
4542
|
};
|
|
4542
4543
|
break;
|
|
4543
4544
|
default:
|
|
@@ -4569,15 +4570,15 @@ async function yl(t, n) {
|
|
|
4569
4570
|
} = t, {
|
|
4570
4571
|
boundary: u = "clippingAncestors",
|
|
4571
4572
|
rootBoundary: c = "viewport",
|
|
4572
|
-
elementContext:
|
|
4573
|
+
elementContext: g = "floating",
|
|
4573
4574
|
altBoundary: m = !1,
|
|
4574
4575
|
padding: p = 0
|
|
4575
|
-
} = Zt(n, t),
|
|
4576
|
+
} = Zt(n, t), v = kp(p), b = l[m ? g === "floating" ? "reference" : "floating" : g], x = Gn(await o.getClippingRect({
|
|
4576
4577
|
element: (e = await (o.isElement == null ? void 0 : o.isElement(b))) == null || e ? b : b.contextElement || await (o.getDocumentElement == null ? void 0 : o.getDocumentElement(l.floating)),
|
|
4577
4578
|
boundary: u,
|
|
4578
4579
|
rootBoundary: c,
|
|
4579
4580
|
strategy: s
|
|
4580
|
-
})), M =
|
|
4581
|
+
})), M = g === "floating" ? {
|
|
4581
4582
|
x: r,
|
|
4582
4583
|
y: i,
|
|
4583
4584
|
width: a.floating.width,
|
|
@@ -4595,13 +4596,13 @@ async function yl(t, n) {
|
|
|
4595
4596
|
strategy: s
|
|
4596
4597
|
}) : M);
|
|
4597
4598
|
return {
|
|
4598
|
-
top: (x.top - L.top +
|
|
4599
|
-
bottom: (L.bottom - x.bottom +
|
|
4600
|
-
left: (x.left - L.left +
|
|
4601
|
-
right: (L.right - x.right +
|
|
4599
|
+
top: (x.top - L.top + v.top) / k.y,
|
|
4600
|
+
bottom: (L.bottom - x.bottom + v.bottom) / k.y,
|
|
4601
|
+
left: (x.left - L.left + v.left) / k.x,
|
|
4602
|
+
right: (L.right - x.right + v.right) / k.x
|
|
4602
4603
|
};
|
|
4603
4604
|
}
|
|
4604
|
-
const Yp = 50,
|
|
4605
|
+
const Yp = 50, Kp = async (t, n, e) => {
|
|
4605
4606
|
const {
|
|
4606
4607
|
placement: r = "bottom",
|
|
4607
4608
|
strategy: i = "absolute",
|
|
@@ -4617,9 +4618,9 @@ const Yp = 50, Up = async (t, n, e) => {
|
|
|
4617
4618
|
strategy: i
|
|
4618
4619
|
}), {
|
|
4619
4620
|
x: c,
|
|
4620
|
-
y:
|
|
4621
|
+
y: g
|
|
4621
4622
|
} = Go(u, r, s), m = r, p = 0;
|
|
4622
|
-
const
|
|
4623
|
+
const v = {};
|
|
4623
4624
|
for (let b = 0; b < o.length; b++) {
|
|
4624
4625
|
const x = o[b];
|
|
4625
4626
|
if (!x)
|
|
@@ -4634,11 +4635,11 @@ const Yp = 50, Up = async (t, n, e) => {
|
|
|
4634
4635
|
reset: P
|
|
4635
4636
|
} = await C({
|
|
4636
4637
|
x: c,
|
|
4637
|
-
y:
|
|
4638
|
+
y: g,
|
|
4638
4639
|
initialPlacement: r,
|
|
4639
4640
|
placement: m,
|
|
4640
4641
|
strategy: i,
|
|
4641
|
-
middlewareData:
|
|
4642
|
+
middlewareData: v,
|
|
4642
4643
|
rects: u,
|
|
4643
4644
|
platform: l,
|
|
4644
4645
|
elements: {
|
|
@@ -4646,8 +4647,8 @@ const Yp = 50, Up = async (t, n, e) => {
|
|
|
4646
4647
|
floating: n
|
|
4647
4648
|
}
|
|
4648
4649
|
});
|
|
4649
|
-
c = k ?? c,
|
|
4650
|
-
...
|
|
4650
|
+
c = k ?? c, g = L ?? g, v[M] = {
|
|
4651
|
+
...v[M],
|
|
4651
4652
|
..._
|
|
4652
4653
|
}, P && p < Yp && (p++, typeof P == "object" && (P.placement && (m = P.placement), P.rects && (u = P.rects === !0 ? await a.getElementRects({
|
|
4653
4654
|
reference: t,
|
|
@@ -4655,17 +4656,17 @@ const Yp = 50, Up = async (t, n, e) => {
|
|
|
4655
4656
|
strategy: i
|
|
4656
4657
|
}) : P.rects), {
|
|
4657
4658
|
x: c,
|
|
4658
|
-
y:
|
|
4659
|
+
y: g
|
|
4659
4660
|
} = Go(u, m, s)), b = -1);
|
|
4660
4661
|
}
|
|
4661
4662
|
return {
|
|
4662
4663
|
x: c,
|
|
4663
|
-
y:
|
|
4664
|
+
y: g,
|
|
4664
4665
|
placement: m,
|
|
4665
4666
|
strategy: i,
|
|
4666
|
-
middlewareData:
|
|
4667
|
+
middlewareData: v
|
|
4667
4668
|
};
|
|
4668
|
-
},
|
|
4669
|
+
}, Up = function(t) {
|
|
4669
4670
|
return t === void 0 && (t = {}), {
|
|
4670
4671
|
name: "flip",
|
|
4671
4672
|
options: t,
|
|
@@ -4680,20 +4681,20 @@ const Yp = 50, Up = async (t, n, e) => {
|
|
|
4680
4681
|
elements: u
|
|
4681
4682
|
} = n, {
|
|
4682
4683
|
mainAxis: c = !0,
|
|
4683
|
-
crossAxis:
|
|
4684
|
+
crossAxis: g = !0,
|
|
4684
4685
|
fallbackPlacements: m,
|
|
4685
4686
|
fallbackStrategy: p = "bestFit",
|
|
4686
|
-
fallbackAxisSideDirection:
|
|
4687
|
+
fallbackAxisSideDirection: v = "none",
|
|
4687
4688
|
flipAlignment: b = !0,
|
|
4688
4689
|
...x
|
|
4689
4690
|
} = Zt(t, n);
|
|
4690
4691
|
if ((e = o.arrow) != null && e.alignmentOffset)
|
|
4691
4692
|
return {};
|
|
4692
|
-
const M = wt(i), C = ut(l), k = wt(l) === l, L = await (s.isRTL == null ? void 0 : s.isRTL(u.floating)), _ = m || (k || !b ? [qn(l)] : Sp(l)), P =
|
|
4693
|
-
!m && P && _.push(...Dp(l, b,
|
|
4693
|
+
const M = wt(i), C = ut(l), k = wt(l) === l, L = await (s.isRTL == null ? void 0 : s.isRTL(u.floating)), _ = m || (k || !b ? [qn(l)] : Sp(l)), P = v !== "none";
|
|
4694
|
+
!m && P && _.push(...Dp(l, b, v, L));
|
|
4694
4695
|
const N = [l, ..._], I = await s.detectOverflow(n, x), F = [];
|
|
4695
4696
|
let S = ((r = o.flip) == null ? void 0 : r.overflows) || [];
|
|
4696
|
-
if (c && F.push(I[M]),
|
|
4697
|
+
if (c && F.push(I[M]), g) {
|
|
4697
4698
|
const R = Ep(i, a, L);
|
|
4698
4699
|
F.push(I[R[0]], I[R[1]]);
|
|
4699
4700
|
}
|
|
@@ -4703,7 +4704,7 @@ const Yp = 50, Up = async (t, n, e) => {
|
|
|
4703
4704
|
}], !F.every((R) => R <= 0)) {
|
|
4704
4705
|
var z, w;
|
|
4705
4706
|
const R = (((z = o.flip) == null ? void 0 : z.index) || 0) + 1, A = N[R];
|
|
4706
|
-
if (A && (!(
|
|
4707
|
+
if (A && (!(g === "alignment" && C !== ut(A)) || // We leave the current main axis only if every placement on that axis
|
|
4707
4708
|
// overflows the main axis.
|
|
4708
4709
|
S.every((Z) => ut(Z.placement) === C ? Z.overflows[0] > 0 : !0)))
|
|
4709
4710
|
return {
|
|
@@ -4752,21 +4753,21 @@ async function qp(t, n) {
|
|
|
4752
4753
|
placement: e,
|
|
4753
4754
|
platform: r,
|
|
4754
4755
|
elements: i
|
|
4755
|
-
} = t, o = await (r.isRTL == null ? void 0 : r.isRTL(i.floating)), a = wt(e), l = xn(e), s = ut(e) === "y", u = Zp.has(a) ? -1 : 1, c = o && s ? -1 : 1,
|
|
4756
|
+
} = t, o = await (r.isRTL == null ? void 0 : r.isRTL(i.floating)), a = wt(e), l = xn(e), s = ut(e) === "y", u = Zp.has(a) ? -1 : 1, c = o && s ? -1 : 1, g = Zt(n, t);
|
|
4756
4757
|
let {
|
|
4757
4758
|
mainAxis: m,
|
|
4758
4759
|
crossAxis: p,
|
|
4759
|
-
alignmentAxis:
|
|
4760
|
-
} = typeof
|
|
4761
|
-
mainAxis:
|
|
4760
|
+
alignmentAxis: v
|
|
4761
|
+
} = typeof g == "number" ? {
|
|
4762
|
+
mainAxis: g,
|
|
4762
4763
|
crossAxis: 0,
|
|
4763
4764
|
alignmentAxis: null
|
|
4764
4765
|
} : {
|
|
4765
|
-
mainAxis:
|
|
4766
|
-
crossAxis:
|
|
4767
|
-
alignmentAxis:
|
|
4766
|
+
mainAxis: g.mainAxis || 0,
|
|
4767
|
+
crossAxis: g.crossAxis || 0,
|
|
4768
|
+
alignmentAxis: g.alignmentAxis
|
|
4768
4769
|
};
|
|
4769
|
-
return l && typeof
|
|
4770
|
+
return l && typeof v == "number" && (p = l === "end" ? v * -1 : v), s ? {
|
|
4770
4771
|
x: p * c,
|
|
4771
4772
|
y: m * u
|
|
4772
4773
|
} : {
|
|
@@ -4825,19 +4826,19 @@ const Gp = function(t) {
|
|
|
4825
4826
|
} = Zt(t, n), c = {
|
|
4826
4827
|
x: e,
|
|
4827
4828
|
y: r
|
|
4828
|
-
},
|
|
4829
|
-
let
|
|
4829
|
+
}, g = await o.detectOverflow(n, u), m = ut(wt(i)), p = cl(m);
|
|
4830
|
+
let v = c[p], b = c[m];
|
|
4830
4831
|
if (a) {
|
|
4831
|
-
const M = p === "y" ? "top" : "left", C = p === "y" ? "bottom" : "right", k =
|
|
4832
|
-
|
|
4832
|
+
const M = p === "y" ? "top" : "left", C = p === "y" ? "bottom" : "right", k = v + g[M], L = v - g[C];
|
|
4833
|
+
v = Ko(k, v, L);
|
|
4833
4834
|
}
|
|
4834
4835
|
if (l) {
|
|
4835
|
-
const M = m === "y" ? "top" : "left", C = m === "y" ? "bottom" : "right", k = b +
|
|
4836
|
-
b =
|
|
4836
|
+
const M = m === "y" ? "top" : "left", C = m === "y" ? "bottom" : "right", k = b + g[M], L = b - g[C];
|
|
4837
|
+
b = Ko(k, b, L);
|
|
4837
4838
|
}
|
|
4838
4839
|
const x = s.fn({
|
|
4839
4840
|
...n,
|
|
4840
|
-
[p]:
|
|
4841
|
+
[p]: v,
|
|
4841
4842
|
[m]: b
|
|
4842
4843
|
});
|
|
4843
4844
|
return {
|
|
@@ -4868,17 +4869,17 @@ const Gp = function(t) {
|
|
|
4868
4869
|
apply: s = () => {
|
|
4869
4870
|
},
|
|
4870
4871
|
...u
|
|
4871
|
-
} = Zt(t, n), c = await a.detectOverflow(n, u),
|
|
4872
|
-
width:
|
|
4872
|
+
} = Zt(t, n), c = await a.detectOverflow(n, u), g = wt(i), m = xn(i), p = ut(i) === "y", {
|
|
4873
|
+
width: v,
|
|
4873
4874
|
height: b
|
|
4874
4875
|
} = o.floating;
|
|
4875
4876
|
let x, M;
|
|
4876
|
-
|
|
4877
|
-
const C = b - c.top - c.bottom, k =
|
|
4877
|
+
g === "top" || g === "bottom" ? (x = g, M = m === (await (a.isRTL == null ? void 0 : a.isRTL(l.floating)) ? "start" : "end") ? "left" : "right") : (M = g, x = m === "end" ? "top" : "bottom");
|
|
4878
|
+
const C = b - c.top - c.bottom, k = v - c.left - c.right, L = Nt(b - c[x], C), _ = Nt(v - c[M], k), P = !n.middlewareData.shift;
|
|
4878
4879
|
let N = L, I = _;
|
|
4879
4880
|
if ((e = n.middlewareData.shift) != null && e.enabled.x && (I = k), (r = n.middlewareData.shift) != null && r.enabled.y && (N = C), P && !m) {
|
|
4880
4881
|
const S = Ne(c.left, 0), z = Ne(c.right, 0), w = Ne(c.top, 0), E = Ne(c.bottom, 0);
|
|
4881
|
-
p ? I =
|
|
4882
|
+
p ? I = v - 2 * (S !== 0 || z !== 0 ? S + z : Ne(c.left, c.right)) : N = b - 2 * (w !== 0 || E !== 0 ? w + E : Ne(c.top, c.bottom));
|
|
4882
4883
|
}
|
|
4883
4884
|
await s({
|
|
4884
4885
|
...n,
|
|
@@ -4886,7 +4887,7 @@ const Gp = function(t) {
|
|
|
4886
4887
|
availableHeight: N
|
|
4887
4888
|
});
|
|
4888
4889
|
const F = await a.getDimensions(l.floating);
|
|
4889
|
-
return
|
|
4890
|
+
return v !== F.width || b !== F.height ? {
|
|
4890
4891
|
reset: {
|
|
4891
4892
|
rects: !0
|
|
4892
4893
|
}
|
|
@@ -4924,14 +4925,14 @@ function Wt(t) {
|
|
|
4924
4925
|
}
|
|
4925
4926
|
const Jp = /* @__PURE__ */ ot(0);
|
|
4926
4927
|
function El(t) {
|
|
4927
|
-
const n =
|
|
4928
|
+
const n = Ue(t);
|
|
4928
4929
|
return !Li() || !n.visualViewport ? Jp : {
|
|
4929
4930
|
x: n.visualViewport.offsetLeft,
|
|
4930
4931
|
y: n.visualViewport.offsetTop
|
|
4931
4932
|
};
|
|
4932
4933
|
}
|
|
4933
4934
|
function em(t, n, e) {
|
|
4934
|
-
return n === void 0 && (n = !1), !e || n && e !==
|
|
4935
|
+
return n === void 0 && (n = !1), !e || n && e !== Ue(t) ? !1 : n;
|
|
4935
4936
|
}
|
|
4936
4937
|
function Lt(t, n, e, r) {
|
|
4937
4938
|
n === void 0 && (n = !1), e === void 0 && (e = !1);
|
|
@@ -4939,18 +4940,18 @@ function Lt(t, n, e, r) {
|
|
|
4939
4940
|
let a = ot(1);
|
|
4940
4941
|
n && (r ? Re(r) && (a = Wt(r)) : a = Wt(t));
|
|
4941
4942
|
const l = em(o, e, r) ? El(o) : ot(0);
|
|
4942
|
-
let s = (i.left + l.x) / a.x, u = (i.top + l.y) / a.y, c = i.width / a.x,
|
|
4943
|
+
let s = (i.left + l.x) / a.x, u = (i.top + l.y) / a.y, c = i.width / a.x, g = i.height / a.y;
|
|
4943
4944
|
if (o) {
|
|
4944
|
-
const m =
|
|
4945
|
-
let
|
|
4946
|
-
for (; b && r && p !==
|
|
4945
|
+
const m = Ue(o), p = r && Re(r) ? Ue(r) : r;
|
|
4946
|
+
let v = m, b = ai(v);
|
|
4947
|
+
for (; b && r && p !== v; ) {
|
|
4947
4948
|
const x = Wt(b), M = b.getBoundingClientRect(), C = et(b), k = M.left + (b.clientLeft + parseFloat(C.paddingLeft)) * x.x, L = M.top + (b.clientTop + parseFloat(C.paddingTop)) * x.y;
|
|
4948
|
-
s *= x.x, u *= x.y, c *= x.x,
|
|
4949
|
+
s *= x.x, u *= x.y, c *= x.x, g *= x.y, s += k, u += L, v = Ue(b), b = ai(v);
|
|
4949
4950
|
}
|
|
4950
4951
|
}
|
|
4951
4952
|
return Gn({
|
|
4952
4953
|
width: c,
|
|
4953
|
-
height:
|
|
4954
|
+
height: g,
|
|
4954
4955
|
x: s,
|
|
4955
4956
|
y: u
|
|
4956
4957
|
});
|
|
@@ -4980,12 +4981,12 @@ function tm(t) {
|
|
|
4980
4981
|
scrollLeft: 0,
|
|
4981
4982
|
scrollTop: 0
|
|
4982
4983
|
}, u = ot(1);
|
|
4983
|
-
const c = ot(0),
|
|
4984
|
-
if ((
|
|
4984
|
+
const c = ot(0), g = pt(r);
|
|
4985
|
+
if ((g || !g && !o) && ((Ut(r) !== "body" || yn(a)) && (s = Sr(r)), g)) {
|
|
4985
4986
|
const p = Lt(r);
|
|
4986
4987
|
u = Wt(r), c.x = p.x + r.clientLeft, c.y = p.y + r.clientTop;
|
|
4987
4988
|
}
|
|
4988
|
-
const m = a && !
|
|
4989
|
+
const m = a && !g && !o ? Sl(a, s) : ot(0);
|
|
4989
4990
|
return {
|
|
4990
4991
|
width: e.width * u.x,
|
|
4991
4992
|
height: e.height * u.y,
|
|
@@ -5009,7 +5010,7 @@ function rm(t) {
|
|
|
5009
5010
|
}
|
|
5010
5011
|
const Qo = 25;
|
|
5011
5012
|
function im(t, n) {
|
|
5012
|
-
const e =
|
|
5013
|
+
const e = Ue(t), r = lt(t), i = e.visualViewport;
|
|
5013
5014
|
let o = r.clientWidth, a = r.clientHeight, l = 0, s = 0;
|
|
5014
5015
|
if (i) {
|
|
5015
5016
|
o = i.width, a = i.height;
|
|
@@ -5018,8 +5019,8 @@ function im(t, n) {
|
|
|
5018
5019
|
}
|
|
5019
5020
|
const u = Mr(r);
|
|
5020
5021
|
if (u <= 0) {
|
|
5021
|
-
const c = r.ownerDocument,
|
|
5022
|
-
|
|
5022
|
+
const c = r.ownerDocument, g = c.body, m = getComputedStyle(g), p = c.compatMode === "CSS1Compat" && parseFloat(m.marginLeft) + parseFloat(m.marginRight) || 0, v = Math.abs(r.clientWidth - g.clientWidth - p);
|
|
5023
|
+
v <= Qo && (o -= v);
|
|
5023
5024
|
} else u <= Qo && (o += u);
|
|
5024
5025
|
return {
|
|
5025
5026
|
width: o,
|
|
@@ -5058,16 +5059,16 @@ function Xo(t, n, e) {
|
|
|
5058
5059
|
}
|
|
5059
5060
|
function Ml(t, n) {
|
|
5060
5061
|
const e = bt(t);
|
|
5061
|
-
return e === n || !Re(e) ||
|
|
5062
|
+
return e === n || !Re(e) || Kt(e) ? !1 : et(e).position === "fixed" || Ml(e, n);
|
|
5062
5063
|
}
|
|
5063
5064
|
function am(t, n) {
|
|
5064
5065
|
const e = n.get(t);
|
|
5065
5066
|
if (e)
|
|
5066
5067
|
return e;
|
|
5067
|
-
let r = fn(t, [], !1).filter((l) => Re(l) &&
|
|
5068
|
+
let r = fn(t, [], !1).filter((l) => Re(l) && Ut(l) !== "body"), i = null;
|
|
5068
5069
|
const o = et(t).position === "fixed";
|
|
5069
5070
|
let a = o ? bt(t) : t;
|
|
5070
|
-
for (; Re(a) && !
|
|
5071
|
+
for (; Re(a) && !Kt(a); ) {
|
|
5071
5072
|
const l = et(a), s = Fi(a);
|
|
5072
5073
|
!s && l.position === "fixed" && (i = null), (o ? !s && !i : !s && l.position === "static" && i && (i.position === "absolute" || i.position === "fixed") || yn(a) && !s && Ml(t, a)) ? r = r.filter((u) => u !== a) : i = l, a = bt(a);
|
|
5073
5074
|
}
|
|
@@ -5082,8 +5083,8 @@ function lm(t) {
|
|
|
5082
5083
|
} = t;
|
|
5083
5084
|
const o = [...e === "clippingAncestors" ? Er(n) ? [] : am(n, this._c) : [].concat(e), r], a = Xo(n, o[0], i);
|
|
5084
5085
|
let l = a.top, s = a.right, u = a.bottom, c = a.left;
|
|
5085
|
-
for (let
|
|
5086
|
-
const m = Xo(n, o[
|
|
5086
|
+
for (let g = 1; g < o.length; g++) {
|
|
5087
|
+
const m = Xo(n, o[g], i);
|
|
5087
5088
|
l = Ne(m.top, l), s = Nt(m.right, s), u = Nt(m.bottom, u), c = Ne(m.left, c);
|
|
5088
5089
|
}
|
|
5089
5090
|
return {
|
|
@@ -5114,14 +5115,14 @@ function cm(t, n, e) {
|
|
|
5114
5115
|
s.x = Mr(i);
|
|
5115
5116
|
}
|
|
5116
5117
|
if (r || !r && !o)
|
|
5117
|
-
if ((
|
|
5118
|
+
if ((Ut(n) !== "body" || yn(i)) && (l = Sr(n)), r) {
|
|
5118
5119
|
const p = Lt(n, !0, o, n);
|
|
5119
5120
|
s.x = p.x + n.clientLeft, s.y = p.y + n.clientTop;
|
|
5120
5121
|
} else i && u();
|
|
5121
5122
|
o && !r && i && u();
|
|
5122
|
-
const c = i && !r && !o ? Sl(i, l) : ot(0),
|
|
5123
|
+
const c = i && !r && !o ? Sl(i, l) : ot(0), g = a.left + l.scrollLeft - s.x - c.x, m = a.top + l.scrollTop - s.y - c.y;
|
|
5123
5124
|
return {
|
|
5124
|
-
x:
|
|
5125
|
+
x: g,
|
|
5125
5126
|
y: m,
|
|
5126
5127
|
width: a.width,
|
|
5127
5128
|
height: a.height
|
|
@@ -5139,12 +5140,12 @@ function Jo(t, n) {
|
|
|
5139
5140
|
return lt(t) === e && (e = e.ownerDocument.body), e;
|
|
5140
5141
|
}
|
|
5141
5142
|
function Cl(t, n) {
|
|
5142
|
-
const e =
|
|
5143
|
+
const e = Ue(t);
|
|
5143
5144
|
if (Er(t))
|
|
5144
5145
|
return e;
|
|
5145
5146
|
if (!pt(t)) {
|
|
5146
5147
|
let i = bt(t);
|
|
5147
|
-
for (; i && !
|
|
5148
|
+
for (; i && !Kt(i); ) {
|
|
5148
5149
|
if (Re(i) && !Wr(i))
|
|
5149
5150
|
return i;
|
|
5150
5151
|
i = bt(i);
|
|
@@ -5154,7 +5155,7 @@ function Cl(t, n) {
|
|
|
5154
5155
|
let r = Jo(t, n);
|
|
5155
5156
|
for (; r && gp(r) && Wr(r); )
|
|
5156
5157
|
r = Jo(r, n);
|
|
5157
|
-
return r &&
|
|
5158
|
+
return r && Kt(r) && Wr(r) && !Fi(r) ? e : r || wp(t) || e;
|
|
5158
5159
|
}
|
|
5159
5160
|
const um = async function(t) {
|
|
5160
5161
|
const n = this.getOffsetParent || Cl, e = this.getDimensions, r = await e(t.floating);
|
|
@@ -5197,14 +5198,14 @@ function pm(t, n) {
|
|
|
5197
5198
|
l === void 0 && (l = !1), s === void 0 && (s = 1), o();
|
|
5198
5199
|
const u = t.getBoundingClientRect(), {
|
|
5199
5200
|
left: c,
|
|
5200
|
-
top:
|
|
5201
|
+
top: g,
|
|
5201
5202
|
width: m,
|
|
5202
5203
|
height: p
|
|
5203
5204
|
} = u;
|
|
5204
5205
|
if (l || n(), !m || !p)
|
|
5205
5206
|
return;
|
|
5206
|
-
const
|
|
5207
|
-
rootMargin: -
|
|
5207
|
+
const v = An(g), b = An(i.clientWidth - (c + m)), x = An(i.clientHeight - (g + p)), M = An(c), C = {
|
|
5208
|
+
rootMargin: -v + "px " + -b + "px " + -x + "px " + -M + "px",
|
|
5208
5209
|
threshold: Ne(0, Nt(1, s)) || 1
|
|
5209
5210
|
};
|
|
5210
5211
|
let k = !0;
|
|
@@ -5246,7 +5247,7 @@ function mm(t, n, e, r) {
|
|
|
5246
5247
|
passive: !0
|
|
5247
5248
|
}), o && M.addEventListener("resize", e);
|
|
5248
5249
|
});
|
|
5249
|
-
const
|
|
5250
|
+
const g = u && l ? pm(u, e) : null;
|
|
5250
5251
|
let m = -1, p = null;
|
|
5251
5252
|
a && (p = new ResizeObserver((M) => {
|
|
5252
5253
|
let [C] = M;
|
|
@@ -5255,20 +5256,20 @@ function mm(t, n, e, r) {
|
|
|
5255
5256
|
(k = p) == null || k.observe(n);
|
|
5256
5257
|
})), e();
|
|
5257
5258
|
}), u && !s && p.observe(u), n && p.observe(n));
|
|
5258
|
-
let
|
|
5259
|
+
let v, b = s ? Lt(t) : null;
|
|
5259
5260
|
s && x();
|
|
5260
5261
|
function x() {
|
|
5261
5262
|
const M = Lt(t);
|
|
5262
|
-
b && !Ol(b, M) && e(), b = M,
|
|
5263
|
+
b && !Ol(b, M) && e(), b = M, v = requestAnimationFrame(x);
|
|
5263
5264
|
}
|
|
5264
5265
|
return e(), () => {
|
|
5265
5266
|
var M;
|
|
5266
5267
|
c.forEach((C) => {
|
|
5267
5268
|
i && C.removeEventListener("scroll", e), o && C.removeEventListener("resize", e);
|
|
5268
|
-
}),
|
|
5269
|
+
}), g?.(), (M = p) == null || M.disconnect(), p = null, s && cancelAnimationFrame(v);
|
|
5269
5270
|
};
|
|
5270
5271
|
}
|
|
5271
|
-
const $r = yl, hm = Gp, gm = Qp, vm =
|
|
5272
|
+
const $r = yl, hm = Gp, gm = Qp, vm = Up, bm = Xp, wm = (t, n, e) => {
|
|
5272
5273
|
const r = /* @__PURE__ */ new Map(), i = {
|
|
5273
5274
|
platform: fm,
|
|
5274
5275
|
...e
|
|
@@ -5276,7 +5277,7 @@ const $r = yl, hm = Gp, gm = Qp, vm = Kp, bm = Xp, wm = (t, n, e) => {
|
|
|
5276
5277
|
...i.platform,
|
|
5277
5278
|
_c: r
|
|
5278
5279
|
};
|
|
5279
|
-
return
|
|
5280
|
+
return Kp(t, n, {
|
|
5280
5281
|
...i,
|
|
5281
5282
|
platform: o
|
|
5282
5283
|
});
|
|
@@ -5340,7 +5341,7 @@ function Em(t) {
|
|
|
5340
5341
|
transform: l = !0,
|
|
5341
5342
|
whileElementsMounted: s,
|
|
5342
5343
|
open: u
|
|
5343
|
-
} = t, [c,
|
|
5344
|
+
} = t, [c, g] = d.useState({
|
|
5344
5345
|
x: 0,
|
|
5345
5346
|
y: 0,
|
|
5346
5347
|
strategy: e,
|
|
@@ -5349,11 +5350,11 @@ function Em(t) {
|
|
|
5349
5350
|
isPositioned: !1
|
|
5350
5351
|
}), [m, p] = d.useState(r);
|
|
5351
5352
|
nr(m, r) || p(r);
|
|
5352
|
-
const [
|
|
5353
|
+
const [v, b] = d.useState(null), [x, M] = d.useState(null), C = d.useCallback((D) => {
|
|
5353
5354
|
D !== P.current && (P.current = D, b(D));
|
|
5354
5355
|
}, []), k = d.useCallback((D) => {
|
|
5355
5356
|
D !== N.current && (N.current = D, M(D));
|
|
5356
|
-
}, []), L = o ||
|
|
5357
|
+
}, []), L = o || v, _ = a || x, P = d.useRef(null), N = d.useRef(null), I = d.useRef(c), F = s != null, S = Br(s), z = Br(i), w = Br(u), E = d.useCallback(() => {
|
|
5357
5358
|
if (!P.current || !N.current)
|
|
5358
5359
|
return;
|
|
5359
5360
|
const D = {
|
|
@@ -5371,12 +5372,12 @@ function Em(t) {
|
|
|
5371
5372
|
isPositioned: w.current !== !1
|
|
5372
5373
|
};
|
|
5373
5374
|
R.current && !nr(I.current, Y) && (I.current = Y, Vn.flushSync(() => {
|
|
5374
|
-
|
|
5375
|
+
g(Y);
|
|
5375
5376
|
}));
|
|
5376
5377
|
});
|
|
5377
5378
|
}, [m, n, e, z, w]);
|
|
5378
5379
|
Hn(() => {
|
|
5379
|
-
u === !1 && I.current.isPositioned && (I.current.isPositioned = !1,
|
|
5380
|
+
u === !1 && I.current.isPositioned && (I.current.isPositioned = !1, g((D) => ({
|
|
5380
5381
|
...D,
|
|
5381
5382
|
isPositioned: !1
|
|
5382
5383
|
})));
|
|
@@ -5538,14 +5539,14 @@ function zm(t) {
|
|
|
5538
5539
|
const p = r.reference;
|
|
5539
5540
|
p && !Re(p) && Pm("Cannot pass a virtual element to the `elements.reference` option,", "as it must be a real DOM element. Use `refs.setPositionReference()`", "instead.");
|
|
5540
5541
|
}
|
|
5541
|
-
const [s, u] = d.useState(r.reference), c = Il((p,
|
|
5542
|
-
o.current.openEvent = p ?
|
|
5542
|
+
const [s, u] = d.useState(r.reference), c = Il((p, v, b) => {
|
|
5543
|
+
o.current.openEvent = p ? v : void 0, a.emit("openchange", {
|
|
5543
5544
|
open: p,
|
|
5544
|
-
event:
|
|
5545
|
+
event: v,
|
|
5545
5546
|
reason: b,
|
|
5546
5547
|
nested: l
|
|
5547
|
-
}), e?.(p,
|
|
5548
|
-
}),
|
|
5548
|
+
}), e?.(p, v, b);
|
|
5549
|
+
}), g = d.useMemo(() => ({
|
|
5549
5550
|
setPositionReference: u
|
|
5550
5551
|
}), []), m = d.useMemo(() => ({
|
|
5551
5552
|
reference: s || r.reference || null,
|
|
@@ -5559,8 +5560,8 @@ function zm(t) {
|
|
|
5559
5560
|
elements: m,
|
|
5560
5561
|
events: a,
|
|
5561
5562
|
floatingId: i,
|
|
5562
|
-
refs:
|
|
5563
|
-
}), [n, c, m, a, i,
|
|
5563
|
+
refs: g
|
|
5564
|
+
}), [n, c, m, a, i, g]);
|
|
5564
5565
|
}
|
|
5565
5566
|
function Vm(t) {
|
|
5566
5567
|
t === void 0 && (t = {});
|
|
@@ -5573,7 +5574,7 @@ function Vm(t) {
|
|
|
5573
5574
|
floating: null,
|
|
5574
5575
|
...t.elements
|
|
5575
5576
|
}
|
|
5576
|
-
}), r = t.rootContext || e, i = r.elements, [o, a] = d.useState(null), [l, s] = d.useState(null), u = i?.domReference || o, c = d.useRef(null),
|
|
5577
|
+
}), r = t.rootContext || e, i = r.elements, [o, a] = d.useState(null), [l, s] = d.useState(null), u = i?.domReference || o, c = d.useRef(null), g = _m();
|
|
5577
5578
|
ci(() => {
|
|
5578
5579
|
u && (c.current = u);
|
|
5579
5580
|
}, [u]);
|
|
@@ -5591,17 +5592,17 @@ function Vm(t) {
|
|
|
5591
5592
|
contextElement: C
|
|
5592
5593
|
} : C;
|
|
5593
5594
|
s(k), m.refs.setReference(k);
|
|
5594
|
-
}, [m.refs]),
|
|
5595
|
+
}, [m.refs]), v = d.useCallback((C) => {
|
|
5595
5596
|
(Re(C) || C === null) && (c.current = C, a(C)), (Re(m.refs.reference.current) || m.refs.reference.current === null || // Don't allow setting virtual elements using the old technique back to
|
|
5596
5597
|
// `null` to support `positionReference` + an unstable `reference`
|
|
5597
5598
|
// callback ref.
|
|
5598
5599
|
C !== null && !Re(C)) && m.refs.setReference(C);
|
|
5599
5600
|
}, [m.refs]), b = d.useMemo(() => ({
|
|
5600
5601
|
...m.refs,
|
|
5601
|
-
setReference:
|
|
5602
|
+
setReference: v,
|
|
5602
5603
|
setPositionReference: p,
|
|
5603
5604
|
domReference: c
|
|
5604
|
-
}), [m.refs,
|
|
5605
|
+
}), [m.refs, v, p]), x = d.useMemo(() => ({
|
|
5605
5606
|
...m.elements,
|
|
5606
5607
|
domReference: u
|
|
5607
5608
|
}), [m.elements, u]), M = d.useMemo(() => ({
|
|
@@ -5613,7 +5614,7 @@ function Vm(t) {
|
|
|
5613
5614
|
}), [m, b, x, n, r]);
|
|
5614
5615
|
return ci(() => {
|
|
5615
5616
|
r.dataRef.current.floatingContext = M;
|
|
5616
|
-
const C =
|
|
5617
|
+
const C = g?.nodesRef.current.find((k) => k.id === n);
|
|
5617
5618
|
C && (C.context = M);
|
|
5618
5619
|
}), d.useMemo(() => ({
|
|
5619
5620
|
...m,
|
|
@@ -5648,11 +5649,11 @@ function Yr(t, n, e) {
|
|
|
5648
5649
|
if (!(i && [ra, ia].includes(u)))
|
|
5649
5650
|
if (u.indexOf("on") === 0) {
|
|
5650
5651
|
if (r.has(u) || r.set(u, []), typeof c == "function") {
|
|
5651
|
-
var
|
|
5652
|
-
(
|
|
5653
|
-
for (var m, p = arguments.length,
|
|
5654
|
-
|
|
5655
|
-
return (m = r.get(u)) == null ? void 0 : m.map((x) => x(...
|
|
5652
|
+
var g;
|
|
5653
|
+
(g = r.get(u)) == null || g.push(c), a[u] = function() {
|
|
5654
|
+
for (var m, p = arguments.length, v = new Array(p), b = 0; b < p; b++)
|
|
5655
|
+
v[b] = arguments[b];
|
|
5656
|
+
return (m = r.get(u)) == null ? void 0 : m.map((x) => x(...v)).find((x) => x !== void 0);
|
|
5656
5657
|
};
|
|
5657
5658
|
}
|
|
5658
5659
|
} else
|
|
@@ -5708,28 +5709,28 @@ const $m = (t) => ({
|
|
|
5708
5709
|
scrollRef: u,
|
|
5709
5710
|
...c
|
|
5710
5711
|
} = Zt(t, n), {
|
|
5711
|
-
rects:
|
|
5712
|
+
rects: g,
|
|
5712
5713
|
elements: {
|
|
5713
5714
|
floating: m
|
|
5714
5715
|
}
|
|
5715
|
-
} = n, p = e.current[a],
|
|
5716
|
+
} = n, p = e.current[a], v = u?.current || m, b = m.clientTop || v.clientTop, x = m.clientTop !== 0, M = v.clientTop !== 0, C = m === v;
|
|
5716
5717
|
if (process.env.NODE_ENV !== "production" && (n.placement.startsWith("bottom") || Am('`placement` side must be "bottom" when using the `inner`', "middleware.")), !p)
|
|
5717
5718
|
return {};
|
|
5718
5719
|
const k = {
|
|
5719
5720
|
...n,
|
|
5720
|
-
...await Tl(-p.offsetTop - m.clientTop -
|
|
5721
|
-
}, L = await $r(oa(k,
|
|
5721
|
+
...await Tl(-p.offsetTop - m.clientTop - g.reference.height / 2 - p.offsetHeight / 2 - o).fn(n)
|
|
5722
|
+
}, L = await $r(oa(k, v.scrollHeight + b + m.clientTop), c), _ = await $r(k, {
|
|
5722
5723
|
...c,
|
|
5723
5724
|
elementContext: "reference"
|
|
5724
|
-
}), P = Ne(0, L.top), N = k.y + P, I = (
|
|
5725
|
-
if (
|
|
5726
|
-
const F =
|
|
5725
|
+
}), P = Ne(0, L.top), N = k.y + P, I = (v.scrollHeight > v.clientHeight ? (F) => F : pn)(Ne(0, v.scrollHeight + (x && C || M ? b * 2 : 0) - P - Ne(0, L.bottom)));
|
|
5726
|
+
if (v.style.maxHeight = I + "px", v.scrollTop = P, i) {
|
|
5727
|
+
const F = v.offsetHeight < p.offsetHeight * Nt(l, e.current.length) - 1 || _.top >= -s || _.bottom >= -s;
|
|
5727
5728
|
Vn.flushSync(() => i(F));
|
|
5728
5729
|
}
|
|
5729
5730
|
return r && (r.current = await $r(oa({
|
|
5730
5731
|
...k,
|
|
5731
5732
|
y: N
|
|
5732
|
-
},
|
|
5733
|
+
}, v.offsetHeight + b + m.clientTop), c)), {
|
|
5733
5734
|
y: N
|
|
5734
5735
|
};
|
|
5735
5736
|
}
|
|
@@ -5743,25 +5744,25 @@ function Bm(t, n) {
|
|
|
5743
5744
|
overflowRef: o,
|
|
5744
5745
|
scrollRef: a,
|
|
5745
5746
|
onChange: l
|
|
5746
|
-
} = n, s = Il(l), u = d.useRef(!1), c = d.useRef(null),
|
|
5747
|
+
} = n, s = Il(l), u = d.useRef(!1), c = d.useRef(null), g = d.useRef(null);
|
|
5747
5748
|
d.useEffect(() => {
|
|
5748
5749
|
if (!i) return;
|
|
5749
5750
|
function p(b) {
|
|
5750
|
-
if (b.ctrlKey || !
|
|
5751
|
+
if (b.ctrlKey || !v || o.current == null)
|
|
5751
5752
|
return;
|
|
5752
|
-
const x = b.deltaY, M = o.current.top >= -0.5, C = o.current.bottom >= -0.5, k =
|
|
5753
|
-
|
|
5753
|
+
const x = b.deltaY, M = o.current.top >= -0.5, C = o.current.bottom >= -0.5, k = v.scrollHeight - v.clientHeight, L = x < 0 ? -1 : 1, _ = x < 0 ? "max" : "min";
|
|
5754
|
+
v.scrollHeight <= v.clientHeight || (!M && x > 0 || !C && x < 0 ? (b.preventDefault(), Vn.flushSync(() => {
|
|
5754
5755
|
s((P) => P + Math[_](x, k * L));
|
|
5755
|
-
})) : /firefox/i.test(yp()) && (
|
|
5756
|
+
})) : /firefox/i.test(yp()) && (v.scrollTop += x));
|
|
5756
5757
|
}
|
|
5757
|
-
const
|
|
5758
|
-
if (e &&
|
|
5759
|
-
return
|
|
5760
|
-
c.current =
|
|
5758
|
+
const v = a?.current || r.floating;
|
|
5759
|
+
if (e && v)
|
|
5760
|
+
return v.addEventListener("wheel", p), requestAnimationFrame(() => {
|
|
5761
|
+
c.current = v.scrollTop, o.current != null && (g.current = {
|
|
5761
5762
|
...o.current
|
|
5762
5763
|
});
|
|
5763
5764
|
}), () => {
|
|
5764
|
-
c.current = null,
|
|
5765
|
+
c.current = null, g.current = null, v.removeEventListener("wheel", p);
|
|
5765
5766
|
};
|
|
5766
5767
|
}, [i, e, r.floating, o, a, s]);
|
|
5767
5768
|
const m = d.useMemo(() => ({
|
|
@@ -5778,8 +5779,8 @@ function Bm(t, n) {
|
|
|
5778
5779
|
const p = a?.current || r.floating;
|
|
5779
5780
|
if (!(!o.current || !p || !u.current)) {
|
|
5780
5781
|
if (c.current !== null) {
|
|
5781
|
-
const
|
|
5782
|
-
(o.current.bottom < -0.5 &&
|
|
5782
|
+
const v = p.scrollTop - c.current;
|
|
5783
|
+
(o.current.bottom < -0.5 && v < -1 || o.current.top < -0.5 && v > 1) && Vn.flushSync(() => s((b) => b + v));
|
|
5783
5784
|
}
|
|
5784
5785
|
requestAnimationFrame(() => {
|
|
5785
5786
|
c.current = p.scrollTop;
|
|
@@ -5826,11 +5827,11 @@ let aa = 4;
|
|
|
5826
5827
|
function $i({ children: t, enabled: n = !0 }) {
|
|
5827
5828
|
let [e, r] = we(null), [i, o] = we(0), a = se(null), [l, s] = we(null);
|
|
5828
5829
|
Ym(l);
|
|
5829
|
-
let u = n && e !== null && l !== null, { to: c = "bottom", gap:
|
|
5830
|
+
let u = n && e !== null && l !== null, { to: c = "bottom", gap: g = 0, offset: m = 0, padding: p = 0, inner: v } = Km(e, l), [b, x = "center"] = c.split(" ");
|
|
5830
5831
|
ve(() => {
|
|
5831
5832
|
u && o(0);
|
|
5832
5833
|
}, [u]);
|
|
5833
|
-
let { refs: M, floatingStyles: C, context: k } = Vm({ open: u, placement: b === "selection" ? x === "center" ? "bottom" : `bottom-${x}` : x === "center" ? `${b}` : `${b}-${x}`, strategy: "absolute", transform: !1, middleware: [Tl({ mainAxis: b === "selection" ? 0 :
|
|
5834
|
+
let { refs: M, floatingStyles: C, context: k } = Vm({ open: u, placement: b === "selection" ? x === "center" ? "bottom" : `bottom-${x}` : x === "center" ? `${b}` : `${b}-${x}`, strategy: "absolute", transform: !1, middleware: [Tl({ mainAxis: b === "selection" ? 0 : g, crossAxis: m }), Sm({ padding: p }), b !== "selection" && Mm({ padding: p }), b === "selection" && v ? $m({ ...v, padding: p, overflowRef: a, offset: i, minItemsVisible: aa, referenceOverflowThreshold: p, onFallbackChange(z) {
|
|
5834
5835
|
var w, E;
|
|
5835
5836
|
if (!z) return;
|
|
5836
5837
|
let R = k.elements.floating;
|
|
@@ -5871,24 +5872,24 @@ function Ym(t) {
|
|
|
5871
5872
|
};
|
|
5872
5873
|
}, [t]);
|
|
5873
5874
|
}
|
|
5874
|
-
function
|
|
5875
|
+
function Km(t, n) {
|
|
5875
5876
|
var e, r, i;
|
|
5876
|
-
let o =
|
|
5877
|
+
let o = Kr((e = t?.gap) != null ? e : "var(--anchor-gap, 0)", n), a = Kr((r = t?.offset) != null ? r : "var(--anchor-offset, 0)", n), l = Kr((i = t?.padding) != null ? i : "var(--anchor-padding, 0)", n);
|
|
5877
5878
|
return { ...t, gap: o, offset: a, padding: l };
|
|
5878
5879
|
}
|
|
5879
|
-
function
|
|
5880
|
+
function Kr(t, n, e = void 0) {
|
|
5880
5881
|
let r = xt(), i = X((s, u) => {
|
|
5881
5882
|
if (s == null) return [e, null];
|
|
5882
5883
|
if (typeof s == "number") return [s, null];
|
|
5883
5884
|
if (typeof s == "string") {
|
|
5884
5885
|
if (!u) return [e, null];
|
|
5885
5886
|
let c = la(s, u);
|
|
5886
|
-
return [c, (
|
|
5887
|
+
return [c, (g) => {
|
|
5887
5888
|
let m = Al(s);
|
|
5888
5889
|
{
|
|
5889
|
-
let p = m.map((
|
|
5890
|
-
r.requestAnimationFrame(function
|
|
5891
|
-
r.nextFrame(
|
|
5890
|
+
let p = m.map((v) => window.getComputedStyle(u).getPropertyValue(v));
|
|
5891
|
+
r.requestAnimationFrame(function v() {
|
|
5892
|
+
r.nextFrame(v);
|
|
5892
5893
|
let b = !1;
|
|
5893
5894
|
for (let [M, C] of m.entries()) {
|
|
5894
5895
|
let k = window.getComputedStyle(u).getPropertyValue(C);
|
|
@@ -5899,7 +5900,7 @@ function Ur(t, n, e = void 0) {
|
|
|
5899
5900
|
}
|
|
5900
5901
|
if (!b) return;
|
|
5901
5902
|
let x = la(s, u);
|
|
5902
|
-
c !== x && (
|
|
5903
|
+
c !== x && (g(x), c = x);
|
|
5903
5904
|
});
|
|
5904
5905
|
}
|
|
5905
5906
|
return r.dispose;
|
|
@@ -5928,11 +5929,11 @@ function la(t, n) {
|
|
|
5928
5929
|
let r = parseFloat(window.getComputedStyle(e).marginTop) || 0;
|
|
5929
5930
|
return n.removeChild(e), r;
|
|
5930
5931
|
}
|
|
5931
|
-
function
|
|
5932
|
+
function Um({ children: t, freeze: n }, e) {
|
|
5932
5933
|
let r = rr(n, t);
|
|
5933
5934
|
return ar(r) ? pi(r, { ref: e }) : q.createElement(q.Fragment, null, r);
|
|
5934
5935
|
}
|
|
5935
|
-
const Zm = q.forwardRef(
|
|
5936
|
+
const Zm = q.forwardRef(Um);
|
|
5936
5937
|
function rr(t, n) {
|
|
5937
5938
|
let [e, r] = we(n);
|
|
5938
5939
|
return !t && e !== n && r(n), t ? e : n;
|
|
@@ -5943,7 +5944,7 @@ var Ze = ((t) => (t[t.Open = 1] = "Open", t[t.Closed = 2] = "Closed", t[t.Closin
|
|
|
5943
5944
|
function Yi() {
|
|
5944
5945
|
return be(Bi);
|
|
5945
5946
|
}
|
|
5946
|
-
function
|
|
5947
|
+
function Ki({ value: t, children: n }) {
|
|
5947
5948
|
return q.createElement(Bi.Provider, { value: t }, n);
|
|
5948
5949
|
}
|
|
5949
5950
|
function qm(t) {
|
|
@@ -6029,13 +6030,13 @@ function Jm(t) {
|
|
|
6029
6030
|
let Pl = dt, eh = Se(function(t, n) {
|
|
6030
6031
|
let { ownerDocument: e = null, ...r } = t, i = se(null), o = ke(df((m) => {
|
|
6031
6032
|
i.current = m;
|
|
6032
|
-
}), n), a = Pt(i.current), l = e ?? a, s = Jm(l), u = be(ih), c = xt(),
|
|
6033
|
+
}), n), a = Pt(i.current), l = e ?? a, s = Jm(l), u = be(ih), c = xt(), g = Ee();
|
|
6033
6034
|
return Cr(() => {
|
|
6034
6035
|
var m;
|
|
6035
6036
|
s && s.childNodes.length <= 0 && ((m = s.parentElement) == null || m.removeChild(s));
|
|
6036
6037
|
}), s ? hi(q.createElement("div", { "data-headlessui-portal": "", ref: (m) => {
|
|
6037
6038
|
c.dispose(), u && m && c.add(u.register(m));
|
|
6038
|
-
} },
|
|
6039
|
+
} }, g({ ourProps: { ref: o }, theirProps: r, slot: {}, defaultTag: Pl, name: "Portal" })), s) : null;
|
|
6039
6040
|
});
|
|
6040
6041
|
function th(t, n) {
|
|
6041
6042
|
let e = ke(n), { enabled: r = !0, ownerDocument: i, ...o } = t, a = Ee();
|
|
@@ -6046,8 +6047,8 @@ function rh(t, n) {
|
|
|
6046
6047
|
let { target: e, ...r } = t, i = { ref: ke(n) }, o = Ee();
|
|
6047
6048
|
return q.createElement(Nl.Provider, { value: e }, o({ ourProps: i, theirProps: r, defaultTag: nh, name: "Popover.Group" }));
|
|
6048
6049
|
}
|
|
6049
|
-
let ih = pe(null), oh = Se(th), ah = Se(rh),
|
|
6050
|
-
const
|
|
6050
|
+
let ih = pe(null), oh = Se(th), ah = Se(rh), Ui = Object.assign(oh, { Group: ah });
|
|
6051
|
+
const Ke = { Idle: { kind: "Idle" }, Tracked: (t) => ({ kind: "Tracked", position: t }), Moved: { kind: "Moved" } };
|
|
6051
6052
|
function Or(t) {
|
|
6052
6053
|
let n = t.getBoundingClientRect();
|
|
6053
6054
|
return `${n.x},${n.y}`;
|
|
@@ -6063,38 +6064,38 @@ function Zi(t, n, e) {
|
|
|
6063
6064
|
return () => r.dispose();
|
|
6064
6065
|
}
|
|
6065
6066
|
var lh = Object.defineProperty, sh = (t, n, e) => n in t ? lh(t, n, { enumerable: !0, configurable: !0, writable: !0, value: e }) : t[n] = e, sa = (t, n, e) => (sh(t, typeof n != "symbol" ? n + "" : n, e), e), fe = ((t) => (t[t.Open = 0] = "Open", t[t.Closed = 1] = "Closed", t))(fe || {}), Ye = ((t) => (t[t.Single = 0] = "Single", t[t.Multi = 1] = "Multi", t))(Ye || {}), at = ((t) => (t[t.Pointer = 0] = "Pointer", t[t.Focus = 1] = "Focus", t[t.Other = 2] = "Other", t))(at || {}), Fl = ((t) => (t[t.OpenCombobox = 0] = "OpenCombobox", t[t.CloseCombobox = 1] = "CloseCombobox", t[t.GoToOption = 2] = "GoToOption", t[t.SetTyping = 3] = "SetTyping", t[t.RegisterOption = 4] = "RegisterOption", t[t.UnregisterOption = 5] = "UnregisterOption", t[t.DefaultToFirstOption = 6] = "DefaultToFirstOption", t[t.SetActivationTrigger = 7] = "SetActivationTrigger", t[t.UpdateVirtualConfiguration = 8] = "UpdateVirtualConfiguration", t[t.SetInputElement = 9] = "SetInputElement", t[t.SetButtonElement = 10] = "SetButtonElement", t[t.SetOptionsElement = 11] = "SetOptionsElement", t[t.MarkInputAsMoved = 12] = "MarkInputAsMoved", t))(Fl || {});
|
|
6066
|
-
function
|
|
6067
|
+
function Ur(t, n = (e) => e) {
|
|
6067
6068
|
let e = t.activeOptionIndex !== null ? t.options[t.activeOptionIndex] : null, r = n(t.options.slice()), i = r.length > 0 && r[0].dataRef.current.order !== null ? r.sort((a, l) => a.dataRef.current.order - l.dataRef.current.order) : yr(r, (a) => a.dataRef.current.domRef.current), o = e ? i.indexOf(e) : null;
|
|
6068
6069
|
return o === -1 && (o = null), { options: i, activeOptionIndex: o };
|
|
6069
6070
|
}
|
|
6070
6071
|
let ch = { 1(t) {
|
|
6071
6072
|
var n;
|
|
6072
6073
|
if ((n = t.dataRef.current) != null && n.disabled || t.comboboxState === 1) return t;
|
|
6073
|
-
let e = t.inputElement ?
|
|
6074
|
+
let e = t.inputElement ? Ke.Tracked(Or(t.inputElement)) : t.inputPositionState;
|
|
6074
6075
|
return { ...t, activeOptionIndex: null, comboboxState: 1, isTyping: !1, activationTrigger: 2, inputPositionState: e, __demoMode: !1 };
|
|
6075
6076
|
}, 0(t) {
|
|
6076
6077
|
var n, e;
|
|
6077
6078
|
if ((n = t.dataRef.current) != null && n.disabled || t.comboboxState === 0) return t;
|
|
6078
6079
|
if ((e = t.dataRef.current) != null && e.value) {
|
|
6079
6080
|
let r = t.dataRef.current.calculateIndex(t.dataRef.current.value);
|
|
6080
|
-
if (r !== -1) return { ...t, activeOptionIndex: r, comboboxState: 0, __demoMode: !1, inputPositionState:
|
|
6081
|
+
if (r !== -1) return { ...t, activeOptionIndex: r, comboboxState: 0, __demoMode: !1, inputPositionState: Ke.Idle };
|
|
6081
6082
|
}
|
|
6082
|
-
return { ...t, comboboxState: 0, inputPositionState:
|
|
6083
|
+
return { ...t, comboboxState: 0, inputPositionState: Ke.Idle, __demoMode: !1 };
|
|
6083
6084
|
}, 3(t, n) {
|
|
6084
6085
|
return t.isTyping === n.isTyping ? t : { ...t, isTyping: n.isTyping };
|
|
6085
6086
|
}, 2(t, n) {
|
|
6086
6087
|
var e, r, i, o;
|
|
6087
6088
|
if ((e = t.dataRef.current) != null && e.disabled || t.optionsElement && !((r = t.dataRef.current) != null && r.optionsPropsRef.current.static) && t.comboboxState === 1) return t;
|
|
6088
6089
|
if (t.virtual) {
|
|
6089
|
-
let { options: u, disabled: c } = t.virtual,
|
|
6090
|
-
var p,
|
|
6091
|
-
return (
|
|
6090
|
+
let { options: u, disabled: c } = t.virtual, g = n.focus === ee.Specific ? n.idx : it(n, { resolveItems: () => u, resolveActiveIndex: () => {
|
|
6091
|
+
var p, v;
|
|
6092
|
+
return (v = (p = t.activeOptionIndex) != null ? p : u.findIndex((b) => !c(b))) != null ? v : null;
|
|
6092
6093
|
}, resolveDisabled: c, resolveId() {
|
|
6093
6094
|
throw new Error("Function not implemented.");
|
|
6094
6095
|
} }), m = (i = n.trigger) != null ? i : 2;
|
|
6095
|
-
return t.activeOptionIndex ===
|
|
6096
|
+
return t.activeOptionIndex === g && t.activationTrigger === m ? t : { ...t, activeOptionIndex: g, activationTrigger: m, isTyping: !1, __demoMode: !1 };
|
|
6096
6097
|
}
|
|
6097
|
-
let a =
|
|
6098
|
+
let a = Ur(t);
|
|
6098
6099
|
if (a.activeOptionIndex === null) {
|
|
6099
6100
|
let u = a.options.findIndex((c) => !c.dataRef.current.disabled);
|
|
6100
6101
|
u !== -1 && (a.activeOptionIndex = u);
|
|
@@ -6104,14 +6105,14 @@ let ch = { 1(t) {
|
|
|
6104
6105
|
}, 4: (t, n) => {
|
|
6105
6106
|
var e, r, i, o;
|
|
6106
6107
|
if ((e = t.dataRef.current) != null && e.virtual) return { ...t, options: [...t.options, n.payload] };
|
|
6107
|
-
let a = n.payload, l =
|
|
6108
|
+
let a = n.payload, l = Ur(t, (u) => (u.push(a), u));
|
|
6108
6109
|
t.activeOptionIndex === null && (i = (r = t.dataRef.current).isSelected) != null && i.call(r, n.payload.dataRef.current.value) && (l.activeOptionIndex = l.options.indexOf(a));
|
|
6109
6110
|
let s = { ...t, ...l, activationTrigger: 2 };
|
|
6110
6111
|
return (o = t.dataRef.current) != null && o.__demoMode && t.dataRef.current.value === void 0 && (s.activeOptionIndex = 0), s;
|
|
6111
6112
|
}, 5: (t, n) => {
|
|
6112
6113
|
var e;
|
|
6113
6114
|
if ((e = t.dataRef.current) != null && e.virtual) return { ...t, options: t.options.filter((i) => i.id !== n.id) };
|
|
6114
|
-
let r =
|
|
6115
|
+
let r = Ur(t, (i) => {
|
|
6115
6116
|
let o = i.findIndex((a) => a.id === n.id);
|
|
6116
6117
|
return o !== -1 && i.splice(o, 1), i;
|
|
6117
6118
|
});
|
|
@@ -6127,7 +6128,7 @@ let ch = { 1(t) {
|
|
|
6127
6128
|
}
|
|
6128
6129
|
return { ...t, activeOptionIndex: i, virtual: { options: n.options, disabled: (r = n.disabled) != null ? r : () => !1 } };
|
|
6129
6130
|
}, 9: (t, n) => t.inputElement === n.element ? t : { ...t, inputElement: n.element }, 10: (t, n) => t.buttonElement === n.element ? t : { ...t, buttonElement: n.element }, 11: (t, n) => t.optionsElement === n.element ? t : { ...t, optionsElement: n.element }, 12(t) {
|
|
6130
|
-
return t.inputPositionState.kind !== "Tracked" ? t : { ...t, inputPositionState:
|
|
6131
|
+
return t.inputPositionState.kind !== "Tracked" ? t : { ...t, inputPositionState: Ke.Moved };
|
|
6131
6132
|
} }, uh = class Ll extends gr {
|
|
6132
6133
|
constructor(n) {
|
|
6133
6134
|
super(n), sa(this, "actions", { onChange: (e) => {
|
|
@@ -6207,7 +6208,7 @@ let ch = { 1(t) {
|
|
|
6207
6208
|
}
|
|
6208
6209
|
static new({ id: n, virtual: e = null, __demoMode: r = !1 }) {
|
|
6209
6210
|
var i;
|
|
6210
|
-
return new Ll({ id: n, dataRef: { current: {} }, comboboxState: r ? 0 : 1, isTyping: !1, options: [], virtual: e ? { options: e.options, disabled: (i = e.disabled) != null ? i : () => !1 } : null, activeOptionIndex: null, activationTrigger: 2, inputElement: null, buttonElement: null, optionsElement: null, __demoMode: r, inputPositionState:
|
|
6211
|
+
return new Ll({ id: n, dataRef: { current: {} }, comboboxState: r ? 0 : 1, isTyping: !1, options: [], virtual: e ? { options: e.options, disabled: (i = e.disabled) != null ? i : () => !1 } : null, activeOptionIndex: null, activationTrigger: 2, inputElement: null, buttonElement: null, optionsElement: null, __demoMode: r, inputPositionState: Ke.Idle });
|
|
6211
6212
|
}
|
|
6212
6213
|
reduce(n, e) {
|
|
6213
6214
|
return Te(e.type, ch, n, e);
|
|
@@ -6241,8 +6242,8 @@ function dh(t) {
|
|
|
6241
6242
|
let n = En("VirtualProvider"), e = Gt("VirtualProvider"), { options: r } = e.virtual, i = le(n, (p) => p.optionsElement), [o, a] = Me(() => {
|
|
6242
6243
|
let p = i;
|
|
6243
6244
|
if (!p) return [0, 0];
|
|
6244
|
-
let
|
|
6245
|
-
return [parseFloat(
|
|
6245
|
+
let v = window.getComputedStyle(p);
|
|
6246
|
+
return [parseFloat(v.paddingBlockStart || v.paddingTop), parseFloat(v.paddingBlockEnd || v.paddingBottom)];
|
|
6246
6247
|
}, [i]), l = If({ enabled: r.length !== 0, scrollPaddingStart: o, scrollPaddingEnd: a, count: r.length, estimateSize() {
|
|
6247
6248
|
return 40;
|
|
6248
6249
|
}, getScrollElement() {
|
|
@@ -6251,17 +6252,17 @@ function dh(t) {
|
|
|
6251
6252
|
ve(() => {
|
|
6252
6253
|
u((p) => p + 1);
|
|
6253
6254
|
}, [r]);
|
|
6254
|
-
let c = l.getVirtualItems(),
|
|
6255
|
+
let c = l.getVirtualItems(), g = le(n, (p) => p.activationTrigger === at.Pointer), m = le(n, n.selectors.activeOptionIndex);
|
|
6255
6256
|
return c.length === 0 ? null : q.createElement(Hl.Provider, { value: l }, q.createElement("div", { style: { position: "relative", width: "100%", height: `${l.getTotalSize()}px` }, ref: (p) => {
|
|
6256
|
-
p && (
|
|
6257
|
+
p && (g || m !== null && r.length > m && l.scrollToIndex(m));
|
|
6257
6258
|
} }, c.map((p) => {
|
|
6258
|
-
var
|
|
6259
|
-
return q.createElement(dt, { key: p.key }, q.cloneElement((
|
|
6259
|
+
var v;
|
|
6260
|
+
return q.createElement(dt, { key: p.key }, q.cloneElement((v = t.children) == null ? void 0 : v.call(t, { ...t.slot, option: r[p.index] }), { key: `${s}-${p.key}`, "data-index": p.index, "aria-setsize": r.length, "aria-posinset": p.index + 1, style: { position: "absolute", top: 0, left: 0, transform: `translateY(${p.start}px)`, overflowAnchor: "none" } }));
|
|
6260
6261
|
})));
|
|
6261
6262
|
}
|
|
6262
6263
|
let fh = dt;
|
|
6263
6264
|
function ph(t, n) {
|
|
6264
|
-
let e = je(), r = dr(), { value: i, defaultValue: o, onChange: a, form: l, name: s, by: u, invalid: c = !1, disabled:
|
|
6265
|
+
let e = je(), r = dr(), { value: i, defaultValue: o, onChange: a, form: l, name: s, by: u, invalid: c = !1, disabled: g = r || !1, onClose: m, __demoMode: p = !1, multiple: v = !1, immediate: b = !1, virtual: x = null, nullable: M, ...C } = t, k = La(o), [L = v ? [] : void 0, _] = Fa(i, a, k), P = _l({ id: e, virtual: x, __demoMode: p }), N = se({ static: !1, hold: !1 }), I = qa(u), F = X((oe) => x ? u === null ? x.options.indexOf(oe) : x.options.findIndex((De) => I(De, oe)) : P.state.options.findIndex((De) => I(De.dataRef.current.value, oe))), S = ce((oe) => Te(E.mode, { [Ye.Multi]: () => L.some((De) => I(De, oe)), [Ye.Single]: () => I(L, oe) }), [L]), z = le(P, (oe) => oe.virtual), w = X(() => m?.()), E = Me(() => ({ __demoMode: p, immediate: b, optionsPropsRef: N, value: L, defaultValue: k, disabled: g, invalid: c, mode: v ? Ye.Multi : Ye.Single, virtual: x ? z : null, onChange: _, isSelected: S, calculateIndex: F, compare: I, onClose: w }), [p, b, N, L, k, g, c, v, x, z, _, S, F, I, w]);
|
|
6265
6266
|
ve(() => {
|
|
6266
6267
|
var oe;
|
|
6267
6268
|
x && P.send({ type: Fl.UpdateVirtualConfiguration, options: x.options, disabled: (oe = x.disabled) != null ? oe : null });
|
|
@@ -6270,15 +6271,15 @@ function ph(t, n) {
|
|
|
6270
6271
|
}, [E]);
|
|
6271
6272
|
let [R, A, V, Z] = le(P, (oe) => [oe.comboboxState, oe.buttonElement, oe.inputElement, oe.optionsElement]), D = _t.get(null), $ = le(D, ce((oe) => D.selectors.isTop(oe, e), [D, e]));
|
|
6272
6273
|
Ti($, [A, V, Z], () => P.actions.closeCombobox());
|
|
6273
|
-
let Y = le(P, P.selectors.activeOptionIndex), O = le(P, P.selectors.activeOption), j = Ie({ open: R === fe.Open, disabled:
|
|
6274
|
+
let Y = le(P, P.selectors.activeOptionIndex), O = le(P, P.selectors.activeOption), j = Ie({ open: R === fe.Open, disabled: g, invalid: c, activeIndex: Y, activeOption: O, value: L }), [J, ne] = hr(), de = n === null ? {} : { ref: n }, B = ce(() => {
|
|
6274
6275
|
if (k !== void 0) return _?.(k);
|
|
6275
6276
|
}, [_, k]), te = Ee();
|
|
6276
|
-
return q.createElement(ne, { value: J, props: { htmlFor: V?.id }, slot: { open: R === fe.Open, disabled:
|
|
6277
|
+
return q.createElement(ne, { value: J, props: { htmlFor: V?.id }, slot: { open: R === fe.Open, disabled: g } }, q.createElement($i, null, q.createElement(hn.Provider, { value: E }, q.createElement(Rl.Provider, { value: P }, q.createElement(Ki, { value: Te(R, { [fe.Open]: Ze.Open, [fe.Closed]: Ze.Closed }) }, s != null && q.createElement(Va, { disabled: g, data: L != null ? { [s]: L } : {}, form: l, onReset: B }), te({ ourProps: de, theirProps: C, slot: j, defaultTag: fh, name: "Combobox" }))))));
|
|
6277
6278
|
}
|
|
6278
6279
|
let mh = "input";
|
|
6279
6280
|
function hh(t, n) {
|
|
6280
6281
|
var e, r;
|
|
6281
|
-
let i = En("Combobox.Input"), o = Gt("Combobox.Input"), a = je(), l = Ei(), { id: s = l || `headlessui-combobox-input-${a}`, onChange: u, displayValue: c, disabled:
|
|
6282
|
+
let i = En("Combobox.Input"), o = Gt("Combobox.Input"), a = je(), l = Ei(), { id: s = l || `headlessui-combobox-input-${a}`, onChange: u, displayValue: c, disabled: g = o.disabled || !1, autoFocus: m = !1, type: p = "text", ...v } = t, b = se(null), x = ke(b, n, zi(), i.actions.setInputElement), [M, C] = le(i, (j) => [j.comboboxState, j.isTyping]), k = xt(), L = X(() => {
|
|
6282
6283
|
i.actions.onChange(null), i.state.optionsElement && (i.state.optionsElement.scrollTop = 0), i.actions.goToOption({ focus: ee.Nothing });
|
|
6283
6284
|
}), _ = Me(() => {
|
|
6284
6285
|
var j;
|
|
@@ -6352,17 +6353,17 @@ function hh(t, n) {
|
|
|
6352
6353
|
(ne = i.state.buttonElement) != null && ne.contains(B) || (de = i.state.optionsElement) != null && de.contains(B) || o.disabled || o.immediate && i.state.comboboxState !== fe.Open && k.microTask(() => {
|
|
6353
6354
|
Ve(() => i.actions.openCombobox()), i.actions.setActivationTrigger(at.Focus);
|
|
6354
6355
|
});
|
|
6355
|
-
}), E = wn(), R =
|
|
6356
|
-
return Ee()({ ourProps: O, theirProps:
|
|
6356
|
+
}), E = wn(), R = Ka(), { isFocused: A, focusProps: V } = cr({ autoFocus: m }), { isHovered: Z, hoverProps: D } = sr({ isDisabled: g }), $ = le(i, (j) => j.optionsElement), Y = Ie({ open: M === fe.Open, disabled: g, invalid: o.invalid, hover: Z, focus: A, autofocus: m }), O = Rt({ ref: x, id: s, role: "combobox", type: p, "aria-controls": $?.id, "aria-expanded": M === fe.Open, "aria-activedescendant": le(i, i.selectors.activeDescendantId), "aria-labelledby": E, "aria-describedby": R, "aria-autocomplete": "list", defaultValue: (r = (e = t.defaultValue) != null ? e : o.defaultValue !== void 0 ? c?.(o.defaultValue) : null) != null ? r : o.defaultValue, disabled: g || void 0, autoFocus: m, onCompositionStart: N, onCompositionEnd: I, onKeyDown: F, onChange: S, onFocus: w, onBlur: z }, V, D);
|
|
6357
|
+
return Ee()({ ourProps: O, theirProps: v, slot: Y, defaultTag: mh, name: "Combobox.Input" });
|
|
6357
6358
|
}
|
|
6358
6359
|
let gh = "button";
|
|
6359
6360
|
function vh(t, n) {
|
|
6360
|
-
let e = En("Combobox.Button"), r = Gt("Combobox.Button"), [i, o] = we(null), a = ke(n, o, e.actions.setButtonElement), l = je(), { id: s = `headlessui-combobox-button-${l}`, disabled: u = r.disabled || !1, autoFocus: c = !1, ...
|
|
6361
|
+
let e = En("Combobox.Button"), r = Gt("Combobox.Button"), [i, o] = we(null), a = ke(n, o, e.actions.setButtonElement), l = je(), { id: s = `headlessui-combobox-button-${l}`, disabled: u = r.disabled || !1, autoFocus: c = !1, ...g } = t, [m, p, v] = le(e, (w) => [w.comboboxState, w.inputElement, w.optionsElement]), b = ol(p), x = m === fe.Open;
|
|
6361
6362
|
ki(x, { trigger: i, action: ce((w) => {
|
|
6362
6363
|
if (i != null && i.contains(w.target) || p != null && p.contains(w.target)) return Je.Ignore;
|
|
6363
6364
|
let E = w.target.closest('[role="option"]:not([data-disabled])');
|
|
6364
|
-
return tt(E) ? Je.Select(E) :
|
|
6365
|
-
}, [i, p,
|
|
6365
|
+
return tt(E) ? Je.Select(E) : v != null && v.contains(w.target) ? Je.Ignore : Je.Close;
|
|
6366
|
+
}, [i, p, v]), close: e.actions.closeCombobox, select: e.actions.selectActiveOption });
|
|
6366
6367
|
let M = X((w) => {
|
|
6367
6368
|
switch (w.key) {
|
|
6368
6369
|
case re.Space:
|
|
@@ -6384,27 +6385,27 @@ function vh(t, n) {
|
|
|
6384
6385
|
}
|
|
6385
6386
|
}), C = Ci(() => {
|
|
6386
6387
|
e.state.comboboxState === fe.Open ? e.actions.closeCombobox() : e.actions.openCombobox(), b();
|
|
6387
|
-
}), k = wn([s]), { isFocusVisible: L, focusProps: _ } = cr({ autoFocus: c }), { isHovered: P, hoverProps: N } = sr({ isDisabled: u }), { pressed: I, pressProps: F } = yi({ disabled: u }), S = Ie({ open: m === fe.Open, active: I || m === fe.Open, disabled: u, invalid: r.invalid, value: r.value, hover: P, focus: L }), z = Rt({ ref: a, id: s, type: Ii(t, i), tabIndex: -1, "aria-haspopup": "listbox", "aria-controls":
|
|
6388
|
-
return Ee()({ ourProps: z, theirProps:
|
|
6388
|
+
}), k = wn([s]), { isFocusVisible: L, focusProps: _ } = cr({ autoFocus: c }), { isHovered: P, hoverProps: N } = sr({ isDisabled: u }), { pressed: I, pressProps: F } = yi({ disabled: u }), S = Ie({ open: m === fe.Open, active: I || m === fe.Open, disabled: u, invalid: r.invalid, value: r.value, hover: P, focus: L }), z = Rt({ ref: a, id: s, type: Ii(t, i), tabIndex: -1, "aria-haspopup": "listbox", "aria-controls": v?.id, "aria-expanded": m === fe.Open, "aria-labelledby": k, disabled: u || void 0, autoFocus: c, onKeyDown: M }, C, _, N, F);
|
|
6389
|
+
return Ee()({ ourProps: z, theirProps: g, slot: S, defaultTag: gh, name: "Combobox.Button" });
|
|
6389
6390
|
}
|
|
6390
6391
|
let bh = "div", wh = At.RenderStrategy | At.Static;
|
|
6391
6392
|
function yh(t, n) {
|
|
6392
6393
|
var e, r, i;
|
|
6393
|
-
let o = je(), { id: a = `headlessui-combobox-options-${o}`, hold: l = !1, anchor: s, portal: u = !1, modal: c = !0, transition:
|
|
6394
|
+
let o = je(), { id: a = `headlessui-combobox-options-${o}`, hold: l = !1, anchor: s, portal: u = !1, modal: c = !0, transition: g = !1, ...m } = t, p = En("Combobox.Options"), v = Gt("Combobox.Options"), b = Hi(s);
|
|
6394
6395
|
b && (u = !0);
|
|
6395
|
-
let [x, M] = Wi(b), [C, k] = we(null), L = Vi(), _ = ke(n, b ? x : null, p.actions.setOptionsElement, k), [P, N, I, F, S] = le(p, (Ce) => [Ce.comboboxState, Ce.inputElement, Ce.buttonElement, Ce.optionsElement, Ce.activationTrigger]), z = Pt(N || I), w = Pt(F), E = Yi(), [R, A] = Ni(
|
|
6396
|
+
let [x, M] = Wi(b), [C, k] = we(null), L = Vi(), _ = ke(n, b ? x : null, p.actions.setOptionsElement, k), [P, N, I, F, S] = le(p, (Ce) => [Ce.comboboxState, Ce.inputElement, Ce.buttonElement, Ce.optionsElement, Ce.activationTrigger]), z = Pt(N || I), w = Pt(F), E = Yi(), [R, A] = Ni(g, C, E !== null ? (E & Ze.Open) === Ze.Open : P === fe.Open);
|
|
6396
6397
|
Di(R, N, p.actions.closeCombobox);
|
|
6397
|
-
let V =
|
|
6398
|
+
let V = v.__demoMode ? !1 : c && P === fe.Open;
|
|
6398
6399
|
ji(V, w);
|
|
6399
|
-
let Z =
|
|
6400
|
+
let Z = v.__demoMode ? !1 : c && P === fe.Open;
|
|
6400
6401
|
Oi(Z, { allowed: ce(() => [N, I, F], [N, I, F]) });
|
|
6401
6402
|
let D = le(p, p.selectors.didInputMove) ? !1 : R;
|
|
6402
6403
|
ve(() => {
|
|
6403
6404
|
var Ce;
|
|
6404
|
-
|
|
6405
|
-
}, [
|
|
6406
|
-
|
|
6407
|
-
}, [
|
|
6405
|
+
v.optionsPropsRef.current.static = (Ce = t.static) != null ? Ce : !1;
|
|
6406
|
+
}, [v.optionsPropsRef, t.static]), ve(() => {
|
|
6407
|
+
v.optionsPropsRef.current.hold = l;
|
|
6408
|
+
}, [v.optionsPropsRef, l]), al(P === fe.Open, { container: F, accept(Ce) {
|
|
6408
6409
|
return Ce.getAttribute("role") === "option" ? NodeFilter.FILTER_REJECT : Ce.hasAttribute("role") ? NodeFilter.FILTER_SKIP : NodeFilter.FILTER_ACCEPT;
|
|
6409
6410
|
}, walk(Ce) {
|
|
6410
6411
|
Ce.setAttribute("role", "none");
|
|
@@ -6413,19 +6414,19 @@ function yh(t, n) {
|
|
|
6413
6414
|
p.actions.setActivationTrigger(at.Pointer);
|
|
6414
6415
|
}), j = X((Ce) => {
|
|
6415
6416
|
Ce.preventDefault(), p.actions.setActivationTrigger(at.Pointer);
|
|
6416
|
-
}), J = Rt(b ? L() : {}, { "aria-labelledby": $, role: "listbox", "aria-multiselectable":
|
|
6417
|
-
if (!
|
|
6417
|
+
}), J = Rt(b ? L() : {}, { "aria-labelledby": $, role: "listbox", "aria-multiselectable": v.mode === Ye.Multi ? !0 : void 0, id: a, ref: _, style: { ...m.style, ...M, "--input-width": Un(R, N, !0).width, "--button-width": Un(R, I, !0).width }, onWheel: S === at.Pointer ? void 0 : O, onMouseDown: j, ...Pi(A) }), ne = R && P === fe.Closed && !t.static, de = rr(ne, (e = v.virtual) == null ? void 0 : e.options), B = rr(ne, v.value), te = ce((Ce) => v.compare(B, Ce), [v.compare, B]), oe = Me(() => {
|
|
6418
|
+
if (!v.virtual) return v;
|
|
6418
6419
|
if (de === void 0) throw new Error("Missing `options` in virtual mode");
|
|
6419
|
-
return de !==
|
|
6420
|
-
}, [
|
|
6421
|
-
|
|
6422
|
-
let De = Ee(), Qt = Me(() =>
|
|
6423
|
-
return q.createElement(
|
|
6420
|
+
return de !== v.virtual.options ? { ...v, virtual: { ...v.virtual, options: de } } : v;
|
|
6421
|
+
}, [v, de, (r = v.virtual) == null ? void 0 : r.options]);
|
|
6422
|
+
v.virtual && Object.assign(m, { children: q.createElement(hn.Provider, { value: oe }, q.createElement(dh, { slot: Y }, m.children)) });
|
|
6423
|
+
let De = Ee(), Qt = Me(() => v.mode === Ye.Multi ? v : { ...v, isSelected: te }, [v, te]);
|
|
6424
|
+
return q.createElement(Ui, { enabled: u ? t.static || R : !1, ownerDocument: z }, q.createElement(hn.Provider, { value: Qt }, De({ ourProps: J, theirProps: { ...m, children: q.createElement(Zm, { freeze: ne }, typeof m.children == "function" ? (i = m.children) == null ? void 0 : i.call(m, Y) : m.children) }, slot: Y, defaultTag: bh, features: wh, visible: D, name: "Combobox.Options" })));
|
|
6424
6425
|
}
|
|
6425
6426
|
let xh = "div";
|
|
6426
6427
|
function Eh(t, n) {
|
|
6427
6428
|
var e, r, i;
|
|
6428
|
-
let o = Gt("Combobox.Option"), a = En("Combobox.Option"), l = je(), { id: s = `headlessui-combobox-option-${l}`, value: u, disabled: c = (i = (r = (e = o.virtual) == null ? void 0 : e.disabled) == null ? void 0 : r.call(e, u)) != null ? i : !1, order:
|
|
6429
|
+
let o = Gt("Combobox.Option"), a = En("Combobox.Option"), l = je(), { id: s = `headlessui-combobox-option-${l}`, value: u, disabled: c = (i = (r = (e = o.virtual) == null ? void 0 : e.disabled) == null ? void 0 : r.call(e, u)) != null ? i : !1, order: g = null, ...m } = t, [p] = le(a, (A) => [A.inputElement]), v = ol(p), b = le(a, ce((A) => a.selectors.isActive(A, u, s), [u, s])), x = o.isSelected(u), M = se(null), C = Et({ disabled: c, value: u, domRef: M, order: g }), k = be(Hl), L = ke(n, M, k ? k.measureElement : null), _ = X(() => {
|
|
6429
6430
|
a.actions.setIsTyping(!1), a.actions.onChange(u);
|
|
6430
6431
|
});
|
|
6431
6432
|
ve(() => a.actions.registerOption(s, C), [C, s]);
|
|
@@ -6437,7 +6438,7 @@ function Eh(t, n) {
|
|
|
6437
6438
|
});
|
|
6438
6439
|
}, [P, M]);
|
|
6439
6440
|
let N = X((A) => {
|
|
6440
|
-
A.preventDefault(), A.button === Mi.Left && (c || (_(), oi() || requestAnimationFrame(() =>
|
|
6441
|
+
A.preventDefault(), A.button === Mi.Left && (c || (_(), oi() || requestAnimationFrame(() => v()), o.mode === Ye.Single && a.actions.closeCombobox()));
|
|
6441
6442
|
}), I = X(() => {
|
|
6442
6443
|
if (c) return a.actions.goToOption({ focus: ee.Nothing });
|
|
6443
6444
|
let A = o.calculateIndex(u);
|
|
@@ -6451,7 +6452,7 @@ function Eh(t, n) {
|
|
|
6451
6452
|
}), E = Ie({ active: b, focus: b, selected: x, disabled: c }), R = { id: s, ref: L, role: "option", tabIndex: c === !0 ? void 0 : -1, "aria-disabled": c === !0 ? !0 : void 0, "aria-selected": x, disabled: void 0, onMouseDown: N, onFocus: I, onPointerEnter: S, onMouseEnter: S, onPointerMove: z, onMouseMove: z, onPointerLeave: w, onMouseLeave: w };
|
|
6452
6453
|
return Ee()({ ourProps: R, theirProps: m, slot: E, defaultTag: xh, name: "Combobox.Option" });
|
|
6453
6454
|
}
|
|
6454
|
-
let Sh = Se(ph), Mh = Se(vh), Ch = Se(hh), Oh =
|
|
6455
|
+
let Sh = Se(ph), Mh = Se(vh), Ch = Se(hh), Oh = Ua, Dh = Se(yh), Th = Se(Eh);
|
|
6455
6456
|
Object.assign(Sh, { Input: Ch, Button: Mh, Label: Oh, Options: Dh, Option: Th });
|
|
6456
6457
|
let ca = /([\u2700-\u27BF]|[\uE000-\uF8FF]|\uD83C[\uDC00-\uDFFF]|\uD83D[\uDC00-\uDFFF]|[\u2011-\u26FF]|\uD83E[\uDD10-\uDDFF])/g;
|
|
6457
6458
|
function ua(t) {
|
|
@@ -6498,12 +6499,12 @@ function fa(t, n = (e) => e) {
|
|
|
6498
6499
|
}
|
|
6499
6500
|
let Ah = { 1(t) {
|
|
6500
6501
|
if (t.dataRef.current.disabled || t.listboxState === 1) return t;
|
|
6501
|
-
let n = t.buttonElement ?
|
|
6502
|
+
let n = t.buttonElement ? Ke.Tracked(Or(t.buttonElement)) : t.buttonPositionState;
|
|
6502
6503
|
return { ...t, activeOptionIndex: null, pendingFocus: { focus: ee.Nothing }, listboxState: 1, __demoMode: !1, buttonPositionState: n };
|
|
6503
6504
|
}, 0(t, n) {
|
|
6504
6505
|
if (t.dataRef.current.disabled || t.listboxState === 0) return t;
|
|
6505
6506
|
let e = t.activeOptionIndex, { isSelected: r } = t.dataRef.current, i = t.options.findIndex((o) => r(o.dataRef.current.value));
|
|
6506
|
-
return i !== -1 && (e = i), { ...t, frozenValue: !1, pendingFocus: n.focus, listboxState: 0, activeOptionIndex: e, __demoMode: !1, buttonPositionState:
|
|
6507
|
+
return i !== -1 && (e = i), { ...t, frozenValue: !1, pendingFocus: n.focus, listboxState: 0, activeOptionIndex: e, __demoMode: !1, buttonPositionState: Ke.Idle };
|
|
6507
6508
|
}, 2(t, n) {
|
|
6508
6509
|
var e, r, i, o, a;
|
|
6509
6510
|
if (t.dataRef.current.disabled || t.listboxState === 1) return t;
|
|
@@ -6513,19 +6514,19 @@ let Ah = { 1(t) {
|
|
|
6513
6514
|
if (n.focus === ee.Previous) {
|
|
6514
6515
|
let c = t.activeOptionIndex;
|
|
6515
6516
|
if (c !== null) {
|
|
6516
|
-
let
|
|
6517
|
+
let g = t.options[c].dataRef.current.domRef, m = it(n, { resolveItems: () => t.options, resolveActiveIndex: () => t.activeOptionIndex, resolveId: (p) => p.id, resolveDisabled: (p) => p.dataRef.current.disabled });
|
|
6517
6518
|
if (m !== null) {
|
|
6518
6519
|
let p = t.options[m].dataRef.current.domRef;
|
|
6519
|
-
if (((r =
|
|
6520
|
+
if (((r = g.current) == null ? void 0 : r.previousElementSibling) === p.current || ((i = p.current) == null ? void 0 : i.previousElementSibling) === null) return { ...l, activeOptionIndex: m };
|
|
6520
6521
|
}
|
|
6521
6522
|
}
|
|
6522
6523
|
} else if (n.focus === ee.Next) {
|
|
6523
6524
|
let c = t.activeOptionIndex;
|
|
6524
6525
|
if (c !== null) {
|
|
6525
|
-
let
|
|
6526
|
+
let g = t.options[c].dataRef.current.domRef, m = it(n, { resolveItems: () => t.options, resolveActiveIndex: () => t.activeOptionIndex, resolveId: (p) => p.id, resolveDisabled: (p) => p.dataRef.current.disabled });
|
|
6526
6527
|
if (m !== null) {
|
|
6527
6528
|
let p = t.options[m].dataRef.current.domRef;
|
|
6528
|
-
if (((o =
|
|
6529
|
+
if (((o = g.current) == null ? void 0 : o.nextElementSibling) === p.current || ((a = p.current) == null ? void 0 : a.nextElementSibling) === null) return { ...l, activeOptionIndex: m };
|
|
6529
6530
|
}
|
|
6530
6531
|
}
|
|
6531
6532
|
}
|
|
@@ -6561,7 +6562,7 @@ let Ah = { 1(t) {
|
|
|
6561
6562
|
}
|
|
6562
6563
|
return { ...t, options: e, activationTrigger: 1 };
|
|
6563
6564
|
}, 8: (t, n) => t.buttonElement === n.element ? t : { ...t, buttonElement: n.element }, 9: (t, n) => t.optionsElement === n.element ? t : { ...t, optionsElement: n.element }, 10: (t) => t.pendingShouldSort ? { ...t, ...fa(t), pendingShouldSort: !1 } : t, 11(t) {
|
|
6564
|
-
return t.buttonPositionState.kind !== "Tracked" ? t : { ...t, buttonPositionState:
|
|
6565
|
+
return t.buttonPositionState.kind !== "Tracked" ? t : { ...t, buttonPositionState: Ke.Moved };
|
|
6565
6566
|
} }, Ph = class Wl extends gr {
|
|
6566
6567
|
constructor(n) {
|
|
6567
6568
|
super(n), da(this, "actions", { onChange: (e) => {
|
|
@@ -6642,7 +6643,7 @@ let Ah = { 1(t) {
|
|
|
6642
6643
|
});
|
|
6643
6644
|
}
|
|
6644
6645
|
static new({ id: n, __demoMode: e = !1 }) {
|
|
6645
|
-
return new Wl({ id: n, dataRef: { current: {} }, listboxState: e ? 0 : 1, options: [], searchQuery: "", activeOptionIndex: null, activationTrigger: 1, buttonElement: null, optionsElement: null, pendingShouldSort: !1, pendingFocus: { focus: ee.Nothing }, frozenValue: !1, __demoMode: e, buttonPositionState:
|
|
6646
|
+
return new Wl({ id: n, dataRef: { current: {} }, listboxState: e ? 0 : 1, options: [], searchQuery: "", activeOptionIndex: null, activationTrigger: 1, buttonElement: null, optionsElement: null, pendingShouldSort: !1, pendingFocus: { focus: ee.Nothing }, frozenValue: !1, __demoMode: e, buttonPositionState: Ke.Idle });
|
|
6646
6647
|
}
|
|
6647
6648
|
reduce(n, e) {
|
|
6648
6649
|
return Te(e.type, Ah, n, e);
|
|
@@ -6673,9 +6674,9 @@ function Sn(t) {
|
|
|
6673
6674
|
}
|
|
6674
6675
|
let Nh = dt;
|
|
6675
6676
|
function Fh(t, n) {
|
|
6676
|
-
let e = je(), r = dr(), { value: i, defaultValue: o, form: a, name: l, onChange: s, by: u, invalid: c = !1, disabled:
|
|
6677
|
+
let e = je(), r = dr(), { value: i, defaultValue: o, form: a, name: l, onChange: s, by: u, invalid: c = !1, disabled: g = r || !1, horizontal: m = !1, multiple: p = !1, __demoMode: v = !1, ...b } = t;
|
|
6677
6678
|
const x = m ? "horizontal" : "vertical";
|
|
6678
|
-
let M = ke(n), C = La(o), [k = p ? [] : void 0, L] = Fa(i, s, C), _ = Bl({ id: e, __demoMode:
|
|
6679
|
+
let M = ke(n), C = La(o), [k = p ? [] : void 0, L] = Fa(i, s, C), _ = Bl({ id: e, __demoMode: v }), P = se({ static: !1, hold: !1 }), N = se(/* @__PURE__ */ new Map()), I = qa(u), F = ce((j) => Te(S.mode, { [vt.Multi]: () => k.some((J) => I(J, j)), [vt.Single]: () => I(k, j) }), [k]), S = Ie({ value: k, disabled: g, invalid: c, mode: p ? vt.Multi : vt.Single, orientation: x, onChange: L, compare: I, isSelected: F, optionsPropsRef: P, listRef: N });
|
|
6679
6680
|
ve(() => {
|
|
6680
6681
|
_.state.dataRef.current = S;
|
|
6681
6682
|
}, [S]);
|
|
@@ -6683,19 +6684,19 @@ function Fh(t, n) {
|
|
|
6683
6684
|
Ti(E, [R, A], (j, J) => {
|
|
6684
6685
|
_.send({ type: Vl.CloseListbox }), wr(J, br.Loose) || (j.preventDefault(), R?.focus());
|
|
6685
6686
|
});
|
|
6686
|
-
let V = Ie({ open: z === Fe.Open, disabled:
|
|
6687
|
+
let V = Ie({ open: z === Fe.Open, disabled: g, invalid: c, value: k }), [Z, D] = hr({ inherit: !0 }), $ = { ref: M }, Y = ce(() => {
|
|
6687
6688
|
if (C !== void 0) return L?.(C);
|
|
6688
6689
|
}, [L, C]), O = Ee();
|
|
6689
|
-
return q.createElement(D, { value: Z, props: { htmlFor: R?.id }, slot: { open: z === Fe.Open, disabled:
|
|
6690
|
+
return q.createElement(D, { value: Z, props: { htmlFor: R?.id }, slot: { open: z === Fe.Open, disabled: g } }, q.createElement($i, null, q.createElement($l.Provider, { value: _ }, q.createElement(Dr.Provider, { value: S }, q.createElement(Ki, { value: Te(z, { [Fe.Open]: Ze.Open, [Fe.Closed]: Ze.Closed }) }, l != null && k != null && q.createElement(Va, { disabled: g, data: { [l]: k }, form: a, onReset: Y }), O({ ourProps: $, theirProps: b, slot: V, defaultTag: Nh, name: "Listbox" }))))));
|
|
6690
6691
|
}
|
|
6691
6692
|
let Lh = "button";
|
|
6692
6693
|
function Rh(t, n) {
|
|
6693
|
-
let e = je(), r = Ei(), i = Sn("Listbox.Button"), o = qi("Listbox.Button"), { id: a = r || `headlessui-listbox-button-${e}`, disabled: l = i.disabled || !1, autoFocus: s = !1, ...u } = t, c = ke(n, zi(), o.actions.setButtonElement),
|
|
6694
|
+
let e = je(), r = Ei(), i = Sn("Listbox.Button"), o = qi("Listbox.Button"), { id: a = r || `headlessui-listbox-button-${e}`, disabled: l = i.disabled || !1, autoFocus: s = !1, ...u } = t, c = ke(n, zi(), o.actions.setButtonElement), g = jl(), [m, p, v] = le(o, (A) => [A.listboxState, A.buttonElement, A.optionsElement]), b = m === Fe.Open;
|
|
6694
6695
|
ki(b, { trigger: p, action: ce((A) => {
|
|
6695
6696
|
if (p != null && p.contains(A.target)) return Je.Ignore;
|
|
6696
6697
|
let V = A.target.closest('[role="option"]:not([data-disabled])');
|
|
6697
|
-
return tt(V) ? Je.Select(V) :
|
|
6698
|
-
}, [p,
|
|
6698
|
+
return tt(V) ? Je.Select(V) : v != null && v.contains(A.target) ? Je.Ignore : Je.Close;
|
|
6699
|
+
}, [p, v]), close: o.actions.closeListbox, select: o.actions.selectActiveOption });
|
|
6699
6700
|
let x = X((A) => {
|
|
6700
6701
|
switch (A.key) {
|
|
6701
6702
|
case re.Enter:
|
|
@@ -6714,18 +6715,18 @@ function Rh(t, n) {
|
|
|
6714
6715
|
}), C = Ci((A) => {
|
|
6715
6716
|
var V;
|
|
6716
6717
|
o.state.listboxState === Fe.Open ? (Ve(() => o.actions.closeListbox()), (V = o.state.buttonElement) == null || V.focus({ preventScroll: !0 })) : (A.preventDefault(), o.actions.openListbox({ focus: ee.Nothing }));
|
|
6717
|
-
}), k = X((A) => A.preventDefault()), L = wn([a]), _ =
|
|
6718
|
+
}), k = X((A) => A.preventDefault()), L = wn([a]), _ = Ka(), { isFocusVisible: P, focusProps: N } = cr({ autoFocus: s }), { isHovered: I, hoverProps: F } = sr({ isDisabled: l }), { pressed: S, pressProps: z } = yi({ disabled: l }), w = Ie({ open: m === Fe.Open, active: S || m === Fe.Open, disabled: l, invalid: i.invalid, value: i.value, hover: I, focus: P, autofocus: s }), E = le(o, (A) => A.listboxState === Fe.Open), R = Rt(g(), { ref: c, id: a, type: Ii(t, p), "aria-haspopup": "listbox", "aria-controls": v?.id, "aria-expanded": E, "aria-labelledby": L, "aria-describedby": _, disabled: l || void 0, autoFocus: s, onKeyDown: x, onKeyUp: M, onKeyPress: k }, C, N, F, z);
|
|
6718
6719
|
return Ee()({ ourProps: R, theirProps: u, slot: w, defaultTag: Lh, name: "Listbox.Button" });
|
|
6719
6720
|
}
|
|
6720
6721
|
let Yl = pe(!1), _h = "div", Hh = At.RenderStrategy | At.Static;
|
|
6721
6722
|
function zh(t, n) {
|
|
6722
|
-
let e = je(), { id: r = `headlessui-listbox-options-${e}`, anchor: i, portal: o = !1, modal: a = !0, transition: l = !1, ...s } = t, u = Hi(i), [c,
|
|
6723
|
+
let e = je(), { id: r = `headlessui-listbox-options-${e}`, anchor: i, portal: o = !1, modal: a = !0, transition: l = !1, ...s } = t, u = Hi(i), [c, g] = we(null);
|
|
6723
6724
|
u && (o = !0);
|
|
6724
|
-
let m = Sn("Listbox.Options"), p = qi("Listbox.Options"), [
|
|
6725
|
+
let m = Sn("Listbox.Options"), p = qi("Listbox.Options"), [v, b, x, M] = le(p, (B) => [B.listboxState, B.buttonElement, B.optionsElement, B.__demoMode]), C = Pt(b), k = Pt(x), L = Yi(), [_, P] = Ni(l, c, L !== null ? (L & Ze.Open) === Ze.Open : v === Fe.Open);
|
|
6725
6726
|
Di(_, b, p.actions.closeListbox);
|
|
6726
|
-
let N = M ? !1 : a &&
|
|
6727
|
+
let N = M ? !1 : a && v === Fe.Open;
|
|
6727
6728
|
ji(N, k);
|
|
6728
|
-
let I = M ? !1 : a &&
|
|
6729
|
+
let I = M ? !1 : a && v === Fe.Open;
|
|
6729
6730
|
Oi(I, { allowed: ce(() => [b, x], [b, x]) });
|
|
6730
6731
|
let F = le(p, p.selectors.didButtonMove) ? !1 : _, S = le(p, p.selectors.hasFrozenValue) && !t.static, z = rr(S, m.value), w = ce((B) => m.compare(z, B), [m.compare, z]), E = le(p, (B) => {
|
|
6731
6732
|
var te;
|
|
@@ -6737,11 +6738,11 @@ function zh(t, n) {
|
|
|
6737
6738
|
if (E === null) return { ...u, inner: void 0 };
|
|
6738
6739
|
let B = Array.from(m.listRef.current.values());
|
|
6739
6740
|
return { ...u, inner: { listRef: { current: B }, index: E } };
|
|
6740
|
-
})(), [A, V] = Wi(R), Z = Vi(), D = ke(n, u ? A : null, p.actions.setOptionsElement,
|
|
6741
|
+
})(), [A, V] = Wi(R), Z = Vi(), D = ke(n, u ? A : null, p.actions.setOptionsElement, g), $ = xt();
|
|
6741
6742
|
ye(() => {
|
|
6742
6743
|
let B = x;
|
|
6743
|
-
B &&
|
|
6744
|
-
}, [
|
|
6744
|
+
B && v === Fe.Open && (ur(B) || B == null || B.focus({ preventScroll: !0 }));
|
|
6745
|
+
}, [v, x]);
|
|
6745
6746
|
let Y = X((B) => {
|
|
6746
6747
|
var te;
|
|
6747
6748
|
switch ($.dispose(), B.key) {
|
|
@@ -6773,12 +6774,12 @@ function zh(t, n) {
|
|
|
6773
6774
|
}), O = le(p, (B) => {
|
|
6774
6775
|
var te;
|
|
6775
6776
|
return (te = B.buttonElement) == null ? void 0 : te.id;
|
|
6776
|
-
}), j = Ie({ open:
|
|
6777
|
-
return q.createElement(
|
|
6777
|
+
}), j = Ie({ open: v === Fe.Open }), J = Rt(u ? Z() : {}, { id: r, ref: D, "aria-activedescendant": le(p, p.selectors.activeDescendantId), "aria-multiselectable": m.mode === vt.Multi ? !0 : void 0, "aria-labelledby": O, "aria-orientation": m.orientation, onKeyDown: Y, role: "listbox", tabIndex: v === Fe.Open ? 0 : void 0, style: { ...s.style, ...V, "--button-width": Un(_, b, !0).width }, ...Pi(P) }), ne = Ee(), de = Me(() => m.mode === vt.Multi ? m : { ...m, isSelected: w }, [m, w]);
|
|
6778
|
+
return q.createElement(Ui, { enabled: o ? t.static || _ : !1, ownerDocument: C }, q.createElement(Dr.Provider, { value: de }, ne({ ourProps: J, theirProps: s, slot: j, defaultTag: _h, features: Hh, visible: F, name: "Listbox.Options" })));
|
|
6778
6779
|
}
|
|
6779
6780
|
let Vh = "div";
|
|
6780
6781
|
function Wh(t, n) {
|
|
6781
|
-
let e = je(), { id: r = `headlessui-listbox-option-${e}`, disabled: i = !1, value: o, ...a } = t, l = be(Yl) === !0, s = Sn("Listbox.Option"), u = qi("Listbox.Option"), c = le(u, (S) => u.selectors.isActive(S, r)),
|
|
6782
|
+
let e = je(), { id: r = `headlessui-listbox-option-${e}`, disabled: i = !1, value: o, ...a } = t, l = be(Yl) === !0, s = Sn("Listbox.Option"), u = qi("Listbox.Option"), c = le(u, (S) => u.selectors.isActive(S, r)), g = s.isSelected(o), m = se(null), p = zl(m), v = Et({ disabled: i, value: o, domRef: m, get textValue() {
|
|
6782
6783
|
return p();
|
|
6783
6784
|
} }), b = ke(n, m, (S) => {
|
|
6784
6785
|
S ? s.listRef.current.set(r, S) : s.listRef.current.delete(r);
|
|
@@ -6789,8 +6790,8 @@ function Wh(t, n) {
|
|
|
6789
6790
|
(z = (S = m.current) == null ? void 0 : S.scrollIntoView) == null || z.call(S, { block: "nearest" });
|
|
6790
6791
|
});
|
|
6791
6792
|
}, [x, m]), ve(() => {
|
|
6792
|
-
if (!l) return u.actions.registerOption(r,
|
|
6793
|
-
}, [
|
|
6793
|
+
if (!l) return u.actions.registerOption(r, v), () => u.actions.unregisterOption(r);
|
|
6794
|
+
}, [v, r, l]);
|
|
6794
6795
|
let M = X((S) => {
|
|
6795
6796
|
if (i) return S.preventDefault();
|
|
6796
6797
|
u.actions.selectOption(o);
|
|
@@ -6801,16 +6802,16 @@ function Wh(t, n) {
|
|
|
6801
6802
|
k.wasMoved(S) && (i || c && u.state.activationTrigger === zn.Pointer || u.actions.goToOption({ focus: ee.Specific, id: r }, zn.Pointer));
|
|
6802
6803
|
}), P = X((S) => {
|
|
6803
6804
|
k.wasMoved(S) && (i || c && u.state.activationTrigger === zn.Pointer && u.actions.goToOption({ focus: ee.Nothing }));
|
|
6804
|
-
}), N = Ie({ active: c, focus: c, selected:
|
|
6805
|
-
return !
|
|
6805
|
+
}), N = Ie({ active: c, focus: c, selected: g, disabled: i, selectedOption: g && l }), I = l ? {} : { id: r, ref: b, role: "option", tabIndex: i === !0 ? void 0 : -1, "aria-disabled": i === !0 ? !0 : void 0, "aria-selected": g, disabled: void 0, onClick: M, onFocus: C, onPointerEnter: L, onMouseEnter: L, onPointerMove: _, onMouseMove: _, onPointerLeave: P, onMouseLeave: P }, F = Ee();
|
|
6806
|
+
return !g && l ? null : F({ ourProps: I, theirProps: a, slot: N, defaultTag: Vh, name: "Listbox.Option" });
|
|
6806
6807
|
}
|
|
6807
6808
|
let $h = dt;
|
|
6808
6809
|
function Bh(t, n) {
|
|
6809
6810
|
let { options: e, placeholder: r, ...i } = t, o = { ref: ke(n) }, a = Sn("ListboxSelectedOption"), l = Ie({}), s = a.value === void 0 || a.value === null || a.mode === vt.Multi && Array.isArray(a.value) && a.value.length === 0, u = Ee();
|
|
6810
6811
|
return q.createElement(Yl.Provider, { value: !0 }, u({ ourProps: o, theirProps: { ...i, children: q.createElement(q.Fragment, null, r && s ? r : e) }, slot: l, defaultTag: $h, name: "ListboxSelectedOption" }));
|
|
6811
6812
|
}
|
|
6812
|
-
let Yh = Se(Fh),
|
|
6813
|
-
Object.assign(Yh, { Button:
|
|
6813
|
+
let Yh = Se(Fh), Kh = Se(Rh), Uh = Ua, Zh = Se(zh), qh = Se(Wh), Gh = Se(Bh);
|
|
6814
|
+
Object.assign(Yh, { Button: Kh, Label: Uh, Options: Zh, Option: qh, SelectedOption: Gh });
|
|
6814
6815
|
var Qh = Object.defineProperty, Xh = (t, n, e) => n in t ? Qh(t, n, { enumerable: !0, configurable: !0, writable: !0, value: e }) : t[n] = e, pa = (t, n, e) => (Xh(t, typeof n != "symbol" ? n + "" : n, e), e), Pe = ((t) => (t[t.Open = 0] = "Open", t[t.Closed = 1] = "Closed", t))(Pe || {}), ir = ((t) => (t[t.Pointer = 0] = "Pointer", t[t.Other = 1] = "Other", t))(ir || {}), ge = ((t) => (t[t.OpenMenu = 0] = "OpenMenu", t[t.CloseMenu = 1] = "CloseMenu", t[t.GoToItem = 2] = "GoToItem", t[t.Search = 3] = "Search", t[t.ClearSearch = 4] = "ClearSearch", t[t.RegisterItems = 5] = "RegisterItems", t[t.UnregisterItems = 6] = "UnregisterItems", t[t.SetButtonElement = 7] = "SetButtonElement", t[t.SetItemsElement = 8] = "SetItemsElement", t[t.SortItems = 9] = "SortItems", t[t.MarkButtonAsMoved = 10] = "MarkButtonAsMoved", t))(ge || {});
|
|
6815
6816
|
function ma(t, n = (e) => e) {
|
|
6816
6817
|
let e = t.activeItemIndex !== null ? t.items[t.activeItemIndex] : null, r = yr(n(t.items.slice()), (o) => o.dataRef.current.domRef.current), i = e ? r.indexOf(e) : null;
|
|
@@ -6818,10 +6819,10 @@ function ma(t, n = (e) => e) {
|
|
|
6818
6819
|
}
|
|
6819
6820
|
let Jh = { 1(t) {
|
|
6820
6821
|
if (t.menuState === 1) return t;
|
|
6821
|
-
let n = t.buttonElement ?
|
|
6822
|
+
let n = t.buttonElement ? Ke.Tracked(Or(t.buttonElement)) : t.buttonPositionState;
|
|
6822
6823
|
return { ...t, activeItemIndex: null, pendingFocus: { focus: ee.Nothing }, menuState: 1, buttonPositionState: n };
|
|
6823
6824
|
}, 0(t, n) {
|
|
6824
|
-
return t.menuState === 0 ? t : { ...t, __demoMode: !1, pendingFocus: n.focus, menuState: 0, buttonPositionState:
|
|
6825
|
+
return t.menuState === 0 ? t : { ...t, __demoMode: !1, pendingFocus: n.focus, menuState: 0, buttonPositionState: Ke.Idle };
|
|
6825
6826
|
}, 2: (t, n) => {
|
|
6826
6827
|
var e, r, i, o, a;
|
|
6827
6828
|
if (t.menuState === 1) return t;
|
|
@@ -6831,19 +6832,19 @@ let Jh = { 1(t) {
|
|
|
6831
6832
|
if (n.focus === ee.Previous) {
|
|
6832
6833
|
let c = t.activeItemIndex;
|
|
6833
6834
|
if (c !== null) {
|
|
6834
|
-
let
|
|
6835
|
+
let g = t.items[c].dataRef.current.domRef, m = it(n, { resolveItems: () => t.items, resolveActiveIndex: () => t.activeItemIndex, resolveId: (p) => p.id, resolveDisabled: (p) => p.dataRef.current.disabled });
|
|
6835
6836
|
if (m !== null) {
|
|
6836
6837
|
let p = t.items[m].dataRef.current.domRef;
|
|
6837
|
-
if (((r =
|
|
6838
|
+
if (((r = g.current) == null ? void 0 : r.previousElementSibling) === p.current || ((i = p.current) == null ? void 0 : i.previousElementSibling) === null) return { ...l, activeItemIndex: m };
|
|
6838
6839
|
}
|
|
6839
6840
|
}
|
|
6840
6841
|
} else if (n.focus === ee.Next) {
|
|
6841
6842
|
let c = t.activeItemIndex;
|
|
6842
6843
|
if (c !== null) {
|
|
6843
|
-
let
|
|
6844
|
+
let g = t.items[c].dataRef.current.domRef, m = it(n, { resolveItems: () => t.items, resolveActiveIndex: () => t.activeItemIndex, resolveId: (p) => p.id, resolveDisabled: (p) => p.dataRef.current.disabled });
|
|
6844
6845
|
if (m !== null) {
|
|
6845
6846
|
let p = t.items[m].dataRef.current.domRef;
|
|
6846
|
-
if (((o =
|
|
6847
|
+
if (((o = g.current) == null ? void 0 : o.nextElementSibling) === p.current || ((a = p.current) == null ? void 0 : a.nextElementSibling) === null) return { ...l, activeItemIndex: m };
|
|
6847
6848
|
}
|
|
6848
6849
|
}
|
|
6849
6850
|
}
|
|
@@ -6869,7 +6870,7 @@ let Jh = { 1(t) {
|
|
|
6869
6870
|
}
|
|
6870
6871
|
return { ...t, items: e, activationTrigger: 1 };
|
|
6871
6872
|
}, 7: (t, n) => t.buttonElement === n.element ? t : { ...t, buttonElement: n.element }, 8: (t, n) => t.itemsElement === n.element ? t : { ...t, itemsElement: n.element }, 9: (t) => t.pendingShouldSort ? { ...t, ...ma(t), pendingShouldSort: !1 } : t, 10(t) {
|
|
6872
|
-
return t.buttonPositionState.kind !== "Tracked" ? t : { ...t, buttonPositionState:
|
|
6873
|
+
return t.buttonPositionState.kind !== "Tracked" ? t : { ...t, buttonPositionState: Ke.Moved };
|
|
6873
6874
|
} };
|
|
6874
6875
|
class Gi extends gr {
|
|
6875
6876
|
constructor(n) {
|
|
@@ -6913,40 +6914,40 @@ class Gi extends gr {
|
|
|
6913
6914
|
});
|
|
6914
6915
|
}
|
|
6915
6916
|
static new({ id: n, __demoMode: e = !1 }) {
|
|
6916
|
-
return new Gi({ id: n, __demoMode: e, menuState: e ? 0 : 1, buttonElement: null, itemsElement: null, items: [], searchQuery: "", activeItemIndex: null, activationTrigger: 1, pendingShouldSort: !1, pendingFocus: { focus: ee.Nothing }, buttonPositionState:
|
|
6917
|
+
return new Gi({ id: n, __demoMode: e, menuState: e ? 0 : 1, buttonElement: null, itemsElement: null, items: [], searchQuery: "", activeItemIndex: null, activationTrigger: 1, pendingShouldSort: !1, pendingFocus: { focus: ee.Nothing }, buttonPositionState: Ke.Idle });
|
|
6917
6918
|
}
|
|
6918
6919
|
reduce(n, e) {
|
|
6919
6920
|
return Te(e.type, Jh, n, e);
|
|
6920
6921
|
}
|
|
6921
6922
|
}
|
|
6922
|
-
const
|
|
6923
|
+
const Kl = pe(null);
|
|
6923
6924
|
function Qi(t) {
|
|
6924
|
-
let n = be(
|
|
6925
|
+
let n = be(Kl);
|
|
6925
6926
|
if (n === null) {
|
|
6926
6927
|
let e = new Error(`<${t} /> is missing a parent <Menu /> component.`);
|
|
6927
|
-
throw Error.captureStackTrace && Error.captureStackTrace(e,
|
|
6928
|
+
throw Error.captureStackTrace && Error.captureStackTrace(e, Ul), e;
|
|
6928
6929
|
}
|
|
6929
6930
|
return n;
|
|
6930
6931
|
}
|
|
6931
|
-
function
|
|
6932
|
+
function Ul({ id: t, __demoMode: n = !1 }) {
|
|
6932
6933
|
let e = Me(() => Gi.new({ id: t, __demoMode: n }), []);
|
|
6933
6934
|
return Cr(() => e.dispose()), e;
|
|
6934
6935
|
}
|
|
6935
6936
|
let eg = dt;
|
|
6936
6937
|
function tg(t, n) {
|
|
6937
|
-
let e = je(), { __demoMode: r = !1, ...i } = t, o =
|
|
6938
|
-
Ti(
|
|
6938
|
+
let e = je(), { __demoMode: r = !1, ...i } = t, o = Ul({ id: e, __demoMode: r }), [a, l, s] = le(o, (x) => [x.menuState, x.itemsElement, x.buttonElement]), u = ke(n), c = _t.get(null), g = le(c, ce((x) => c.selectors.isTop(x, e), [c, e]));
|
|
6939
|
+
Ti(g, [s, l], (x, M) => {
|
|
6939
6940
|
var C;
|
|
6940
6941
|
o.send({ type: ge.CloseMenu }), wr(M, br.Loose) || (x.preventDefault(), (C = o.state.buttonElement) == null || C.focus());
|
|
6941
6942
|
});
|
|
6942
6943
|
let m = X(() => {
|
|
6943
6944
|
o.send({ type: ge.CloseMenu });
|
|
6944
|
-
}), p = Ie({ open: a === Pe.Open, close: m }),
|
|
6945
|
-
return q.createElement($i, null, q.createElement(
|
|
6945
|
+
}), p = Ie({ open: a === Pe.Open, close: m }), v = { ref: u }, b = Ee();
|
|
6946
|
+
return q.createElement($i, null, q.createElement(Kl.Provider, { value: o }, q.createElement(Ki, { value: Te(a, { [Pe.Open]: Ze.Open, [Pe.Closed]: Ze.Closed }) }, b({ ourProps: v, theirProps: i, slot: p, defaultTag: eg, name: "Menu" }))));
|
|
6946
6947
|
}
|
|
6947
6948
|
let ng = "button";
|
|
6948
6949
|
function rg(t, n) {
|
|
6949
|
-
let e = Qi("Menu.Button"), r = je(), { id: i = `headlessui-menu-button-${r}`, disabled: o = !1, autoFocus: a = !1, ...l } = t, s = se(null), u = jl(), c = ke(n, s, zi(), X((S) => e.send({ type: ge.SetButtonElement, element: S }))),
|
|
6950
|
+
let e = Qi("Menu.Button"), r = je(), { id: i = `headlessui-menu-button-${r}`, disabled: o = !1, autoFocus: a = !1, ...l } = t, s = se(null), u = jl(), c = ke(n, s, zi(), X((S) => e.send({ type: ge.SetButtonElement, element: S }))), g = X((S) => {
|
|
6950
6951
|
switch (S.key) {
|
|
6951
6952
|
case re.Space:
|
|
6952
6953
|
case re.Enter:
|
|
@@ -6959,35 +6960,35 @@ function rg(t, n) {
|
|
|
6959
6960
|
}
|
|
6960
6961
|
}), m = X((S) => {
|
|
6961
6962
|
S.key === re.Space && S.preventDefault();
|
|
6962
|
-
}), [p,
|
|
6963
|
-
ki(x, { trigger:
|
|
6964
|
-
if (
|
|
6963
|
+
}), [p, v, b] = le(e, (S) => [S.menuState, S.buttonElement, S.itemsElement]), x = p === Pe.Open;
|
|
6964
|
+
ki(x, { trigger: v, action: ce((S) => {
|
|
6965
|
+
if (v != null && v.contains(S.target)) return Je.Ignore;
|
|
6965
6966
|
let z = S.target.closest('[role="menuitem"]:not([data-disabled])');
|
|
6966
6967
|
return tt(z) ? Je.Select(z) : b != null && b.contains(S.target) ? Je.Ignore : Je.Close;
|
|
6967
|
-
}, [
|
|
6968
|
+
}, [v, b]), close: ce(() => e.send({ type: ge.CloseMenu }), []), select: ce((S) => S.click(), []) });
|
|
6968
6969
|
let M = Ci((S) => {
|
|
6969
6970
|
var z;
|
|
6970
6971
|
o || (p === Pe.Open ? (Ve(() => e.send({ type: ge.CloseMenu })), (z = s.current) == null || z.focus({ preventScroll: !0 })) : (S.preventDefault(), e.send({ type: ge.OpenMenu, focus: { focus: ee.Nothing }, trigger: ir.Pointer })));
|
|
6971
|
-
}), { isFocusVisible: C, focusProps: k } = cr({ autoFocus: a }), { isHovered: L, hoverProps: _ } = sr({ isDisabled: o }), { pressed: P, pressProps: N } = yi({ disabled: o }), I = Ie({ open: p === Pe.Open, active: P || p === Pe.Open, disabled: o, hover: L, focus: C, autofocus: a }), F = Rt(u(), { ref: c, id: i, type: Ii(t, s.current), "aria-haspopup": "menu", "aria-controls": b?.id, "aria-expanded": p === Pe.Open, disabled: o || void 0, autoFocus: a, onKeyDown:
|
|
6972
|
+
}), { isFocusVisible: C, focusProps: k } = cr({ autoFocus: a }), { isHovered: L, hoverProps: _ } = sr({ isDisabled: o }), { pressed: P, pressProps: N } = yi({ disabled: o }), I = Ie({ open: p === Pe.Open, active: P || p === Pe.Open, disabled: o, hover: L, focus: C, autofocus: a }), F = Rt(u(), { ref: c, id: i, type: Ii(t, s.current), "aria-haspopup": "menu", "aria-controls": b?.id, "aria-expanded": p === Pe.Open, disabled: o || void 0, autoFocus: a, onKeyDown: g, onKeyUp: m }, M, k, _, N);
|
|
6972
6973
|
return Ee()({ ourProps: F, theirProps: l, slot: I, defaultTag: ng, name: "Menu.Button" });
|
|
6973
6974
|
}
|
|
6974
6975
|
let ig = "div", og = At.RenderStrategy | At.Static;
|
|
6975
6976
|
function ag(t, n) {
|
|
6976
|
-
let e = je(), { id: r = `headlessui-menu-items-${e}`, anchor: i, portal: o = !1, modal: a = !0, transition: l = !1, ...s } = t, u = Hi(i), c = Qi("Menu.Items"), [
|
|
6977
|
+
let e = je(), { id: r = `headlessui-menu-items-${e}`, anchor: i, portal: o = !1, modal: a = !0, transition: l = !1, ...s } = t, u = Hi(i), c = Qi("Menu.Items"), [g, m] = Wi(u), p = Vi(), [v, b] = we(null), x = ke(n, u ? g : null, X((D) => c.send({ type: ge.SetItemsElement, element: D })), b), [M, C] = le(c, (D) => [D.menuState, D.buttonElement]), k = Pt(C), L = Pt(v);
|
|
6977
6978
|
u && (o = !0);
|
|
6978
|
-
let _ = Yi(), [P, N] = Ni(l,
|
|
6979
|
+
let _ = Yi(), [P, N] = Ni(l, v, _ !== null ? (_ & Ze.Open) === Ze.Open : M === Pe.Open);
|
|
6979
6980
|
Di(P, C, () => {
|
|
6980
6981
|
c.send({ type: ge.CloseMenu });
|
|
6981
6982
|
});
|
|
6982
6983
|
let I = le(c, (D) => D.__demoMode), F = I ? !1 : a && M === Pe.Open;
|
|
6983
6984
|
ji(F, L);
|
|
6984
6985
|
let S = I ? !1 : a && M === Pe.Open;
|
|
6985
|
-
Oi(S, { allowed: ce(() => [C,
|
|
6986
|
+
Oi(S, { allowed: ce(() => [C, v], [C, v]) });
|
|
6986
6987
|
let z = le(c, c.selectors.didButtonMove) ? !1 : P;
|
|
6987
6988
|
ye(() => {
|
|
6988
|
-
let D =
|
|
6989
|
+
let D = v;
|
|
6989
6990
|
D && M === Pe.Open && (ur(D) || D.focus({ preventScroll: !0 }));
|
|
6990
|
-
}, [M,
|
|
6991
|
+
}, [M, v]), al(M === Pe.Open, { container: v, accept(D) {
|
|
6991
6992
|
return D.getAttribute("role") === "menuitem" ? NodeFilter.FILTER_REJECT : D.hasAttribute("role") ? NodeFilter.FILTER_SKIP : NodeFilter.FILTER_ACCEPT;
|
|
6992
6993
|
}, walk(D) {
|
|
6993
6994
|
D.setAttribute("role", "none");
|
|
@@ -7029,8 +7030,8 @@ function ag(t, n) {
|
|
|
7029
7030
|
}), A = Ie({ open: M === Pe.Open }), V = Rt(u ? p() : {}, { "aria-activedescendant": le(c, c.selectors.activeDescendantId), "aria-labelledby": le(c, (D) => {
|
|
7030
7031
|
var $;
|
|
7031
7032
|
return ($ = D.buttonElement) == null ? void 0 : $.id;
|
|
7032
|
-
}), id: r, onKeyDown: E, onKeyUp: R, role: "menu", tabIndex: M === Pe.Open ? 0 : void 0, ref: x, style: { ...s.style, ...m, "--button-width":
|
|
7033
|
-
return q.createElement(
|
|
7033
|
+
}), id: r, onKeyDown: E, onKeyUp: R, role: "menu", tabIndex: M === Pe.Open ? 0 : void 0, ref: x, style: { ...s.style, ...m, "--button-width": Un(P, C, !0).width }, ...Pi(N) }), Z = Ee();
|
|
7034
|
+
return q.createElement(Ui, { enabled: o ? t.static || P : !1, ownerDocument: k }, Z({ ourProps: V, theirProps: s, slot: A, defaultTag: ig, features: og, visible: z, name: "Menu.Items" }));
|
|
7034
7035
|
}
|
|
7035
7036
|
let lg = dt;
|
|
7036
7037
|
function sg(t, n) {
|
|
@@ -7041,15 +7042,15 @@ function sg(t, n) {
|
|
|
7041
7042
|
(w = (z = s.current) == null ? void 0 : z.scrollIntoView) == null || w.call(z, { block: "nearest" });
|
|
7042
7043
|
});
|
|
7043
7044
|
}, [c, s]);
|
|
7044
|
-
let
|
|
7045
|
-
return
|
|
7045
|
+
let g = zl(s), m = se({ disabled: i, domRef: s, get textValue() {
|
|
7046
|
+
return g();
|
|
7046
7047
|
} });
|
|
7047
7048
|
ve(() => {
|
|
7048
7049
|
m.current.disabled = i;
|
|
7049
7050
|
}, [m, i]), ve(() => (a.actions.registerItem(r, m), () => a.actions.unregisterItem(r)), [m, r]);
|
|
7050
7051
|
let p = X(() => {
|
|
7051
7052
|
a.send({ type: ge.CloseMenu });
|
|
7052
|
-
}),
|
|
7053
|
+
}), v = X((z) => {
|
|
7053
7054
|
if (i) return z.preventDefault();
|
|
7054
7055
|
a.send({ type: ge.CloseMenu }), nl(a.state.buttonElement);
|
|
7055
7056
|
}), b = X(() => {
|
|
@@ -7059,7 +7060,7 @@ function sg(t, n) {
|
|
|
7059
7060
|
x.wasMoved(z) && (i || l || a.send({ type: ge.GoToItem, focus: ee.Specific, id: r, trigger: ir.Pointer }));
|
|
7060
7061
|
}), k = X((z) => {
|
|
7061
7062
|
x.wasMoved(z) && (i || l && a.state.activationTrigger === ir.Pointer && a.send({ type: ge.GoToItem, focus: ee.Nothing }));
|
|
7062
|
-
}), [L, _] = hr(), [P, N] = ff(), I = Ie({ active: l, focus: l, disabled: i, close: p }), F = { id: r, ref: u, role: "menuitem", tabIndex: i === !0 ? void 0 : -1, "aria-disabled": i === !0 ? !0 : void 0, "aria-labelledby": L, "aria-describedby": P, disabled: void 0, onClick:
|
|
7063
|
+
}), [L, _] = hr(), [P, N] = ff(), I = Ie({ active: l, focus: l, disabled: i, close: p }), F = { id: r, ref: u, role: "menuitem", tabIndex: i === !0 ? void 0 : -1, "aria-disabled": i === !0 ? !0 : void 0, "aria-labelledby": L, "aria-describedby": P, disabled: void 0, onClick: v, onFocus: b, onPointerEnter: M, onMouseEnter: M, onPointerMove: C, onMouseMove: C, onPointerLeave: k, onMouseLeave: k }, S = Ee();
|
|
7063
7064
|
return q.createElement(_, null, q.createElement(N, null, S({ ourProps: F, theirProps: o, slot: I, defaultTag: lg, name: "Menu.Item" })));
|
|
7064
7065
|
}
|
|
7065
7066
|
let cg = "div";
|
|
@@ -7121,7 +7122,7 @@ const Eg = pe({}), Sg = () => be(Eg), Mg = (t, n) => `
|
|
|
7121
7122
|
`, Cg = (t) => {
|
|
7122
7123
|
let n;
|
|
7123
7124
|
return t && (n = { gridColumn: `span ${t} / span ${t}` }), n;
|
|
7124
|
-
}, Zl =
|
|
7125
|
+
}, Zl = U(
|
|
7125
7126
|
({ colSpan: t, nowrap: n = !1, className: e = "", children: r, ...i }, o) => {
|
|
7126
7127
|
const a = (Sg() || {}).cellVerticalAlignment;
|
|
7127
7128
|
return /* @__PURE__ */ H.jsx(
|
|
@@ -7143,7 +7144,7 @@ const Og = `
|
|
|
7143
7144
|
jn:text-theme-high
|
|
7144
7145
|
jn:bg-theme-background-lvl-1
|
|
7145
7146
|
jn:border-theme-background-lvl-0
|
|
7146
|
-
`, Dg =
|
|
7147
|
+
`, Dg = U(
|
|
7147
7148
|
({
|
|
7148
7149
|
// sortable,
|
|
7149
7150
|
colSpan: t,
|
|
@@ -7165,7 +7166,7 @@ const Og = `
|
|
|
7165
7166
|
)
|
|
7166
7167
|
);
|
|
7167
7168
|
Dg.displayName = "DataGridHeadCell";
|
|
7168
|
-
const Tg =
|
|
7169
|
+
const Tg = U(
|
|
7169
7170
|
({ isSelected: t = !1, onClick: n, className: e = "", children: r, ...i }, o) => {
|
|
7170
7171
|
const a = (s) => {
|
|
7171
7172
|
n && n(s);
|
|
@@ -7544,15 +7545,15 @@ var Gr = function() {
|
|
|
7544
7545
|
var n = t.config, e = n === void 0 ? $t : n, r = t.l10n, i = r === void 0 ? gn : r, o = t.isMobile, a = o === void 0 ? !1 : o;
|
|
7545
7546
|
return function(l, s, u) {
|
|
7546
7547
|
var c = u || i;
|
|
7547
|
-
return e.formatDate !== void 0 && !a ? e.formatDate(l, s, c) : s.split("").map(function(
|
|
7548
|
-
return ln[
|
|
7548
|
+
return e.formatDate !== void 0 && !a ? e.formatDate(l, s, c) : s.split("").map(function(g, m, p) {
|
|
7549
|
+
return ln[g] && p[m - 1] !== "\\" ? ln[g](l, c, e) : g !== "\\" ? g : "";
|
|
7549
7550
|
}).join("");
|
|
7550
7551
|
};
|
|
7551
7552
|
}, di = function(t) {
|
|
7552
7553
|
var n = t.config, e = n === void 0 ? $t : n, r = t.l10n, i = r === void 0 ? gn : r;
|
|
7553
7554
|
return function(o, a, l, s) {
|
|
7554
7555
|
if (!(o !== 0 && !o)) {
|
|
7555
|
-
var u = s || i, c,
|
|
7556
|
+
var u = s || i, c, g = o;
|
|
7556
7557
|
if (o instanceof Date)
|
|
7557
7558
|
c = new Date(o.getTime());
|
|
7558
7559
|
else if (typeof o != "string" && o.toFixed !== void 0)
|
|
@@ -7566,12 +7567,12 @@ var Gr = function() {
|
|
|
7566
7567
|
else if (/Z$/.test(p) || /GMT$/.test(p))
|
|
7567
7568
|
c = new Date(o);
|
|
7568
7569
|
else {
|
|
7569
|
-
for (var
|
|
7570
|
+
for (var v = void 0, b = [], x = 0, M = 0, C = ""; x < m.length; x++) {
|
|
7570
7571
|
var k = m[x], L = k === "\\", _ = m[x - 1] === "\\" || L;
|
|
7571
7572
|
if (Dt[k] && !_) {
|
|
7572
7573
|
C += Dt[k];
|
|
7573
7574
|
var P = new RegExp(C).exec(o);
|
|
7574
|
-
P && (
|
|
7575
|
+
P && (v = !0) && b[k !== "Y" ? "push" : "unshift"]({
|
|
7575
7576
|
fn: kg[k],
|
|
7576
7577
|
val: P[++M]
|
|
7577
7578
|
});
|
|
@@ -7580,11 +7581,11 @@ var Gr = function() {
|
|
|
7580
7581
|
c = !e || !e.noCalendar ? new Date((/* @__PURE__ */ new Date()).getFullYear(), 0, 1, 0, 0, 0, 0) : new Date((/* @__PURE__ */ new Date()).setHours(0, 0, 0, 0)), b.forEach(function(N) {
|
|
7581
7582
|
var I = N.fn, F = N.val;
|
|
7582
7583
|
return c = I(c, F, u) || c;
|
|
7583
|
-
}), c =
|
|
7584
|
+
}), c = v ? c : void 0;
|
|
7584
7585
|
}
|
|
7585
7586
|
}
|
|
7586
7587
|
if (!(c instanceof Date && !isNaN(c.getTime()))) {
|
|
7587
|
-
e.errorHandler(new Error("Invalid date provided: " +
|
|
7588
|
+
e.errorHandler(new Error("Invalid date provided: " + g));
|
|
7588
7589
|
return;
|
|
7589
7590
|
}
|
|
7590
7591
|
return l === !0 && c.setHours(0, 0, 0, 0), c;
|
|
@@ -7687,7 +7688,7 @@ function Ng(t, n) {
|
|
|
7687
7688
|
}
|
|
7688
7689
|
f !== void 0 && f.type !== "blur" && fs(f);
|
|
7689
7690
|
var T = e._input.value;
|
|
7690
|
-
|
|
7691
|
+
g(), st(), e._input.value !== T && e._debouncedChange();
|
|
7691
7692
|
}
|
|
7692
7693
|
function u(f, h) {
|
|
7693
7694
|
return f % 12 + 12 * Ge(h === e.l10n.amPM[1]);
|
|
@@ -7701,15 +7702,15 @@ function Ng(t, n) {
|
|
|
7701
7702
|
return f % 12;
|
|
7702
7703
|
}
|
|
7703
7704
|
}
|
|
7704
|
-
function
|
|
7705
|
+
function g() {
|
|
7705
7706
|
if (!(e.hourElement === void 0 || e.minuteElement === void 0)) {
|
|
7706
7707
|
var f = (parseInt(e.hourElement.value.slice(-2), 10) || 0) % 24, h = (parseInt(e.minuteElement.value, 10) || 0) % 60, y = e.secondElement !== void 0 ? (parseInt(e.secondElement.value, 10) || 0) % 60 : 0;
|
|
7707
7708
|
e.amPM !== void 0 && (f = u(f, e.amPM.textContent));
|
|
7708
7709
|
var T = e.config.minTime !== void 0 || e.config.minDate && e.minDateHasTime && e.latestSelectedDateObj && Be(e.latestSelectedDateObj, e.config.minDate, !0) === 0, W = e.config.maxTime !== void 0 || e.config.maxDate && e.maxDateHasTime && e.latestSelectedDateObj && Be(e.latestSelectedDateObj, e.config.maxDate, !0) === 0;
|
|
7709
7710
|
if (e.config.maxTime !== void 0 && e.config.minTime !== void 0 && e.config.minTime > e.config.maxTime) {
|
|
7710
|
-
var
|
|
7711
|
-
if (Q > ae && Q <
|
|
7712
|
-
var ue = jg(
|
|
7711
|
+
var K = Qr(e.config.minTime.getHours(), e.config.minTime.getMinutes(), e.config.minTime.getSeconds()), ae = Qr(e.config.maxTime.getHours(), e.config.maxTime.getMinutes(), e.config.maxTime.getSeconds()), Q = Qr(f, h, y);
|
|
7712
|
+
if (Q > ae && Q < K) {
|
|
7713
|
+
var ue = jg(K);
|
|
7713
7714
|
f = ue[0], h = ue[1], y = ue[2];
|
|
7714
7715
|
}
|
|
7715
7716
|
} else {
|
|
@@ -7732,7 +7733,7 @@ function Ng(t, n) {
|
|
|
7732
7733
|
function p(f, h, y) {
|
|
7733
7734
|
e.latestSelectedDateObj !== void 0 && e.latestSelectedDateObj.setHours(f % 24, h, y || 0, 0), !(!e.hourElement || !e.minuteElement || e.isMobile) && (e.hourElement.value = ze(e.config.time_24hr ? f : (12 + f) % 12 + 12 * Ge(f % 12 === 0)), e.minuteElement.value = ze(h), e.amPM !== void 0 && (e.amPM.textContent = e.l10n.amPM[Ge(f >= 12)]), e.secondElement !== void 0 && (e.secondElement.value = ze(y)));
|
|
7734
7735
|
}
|
|
7735
|
-
function
|
|
7736
|
+
function v(f) {
|
|
7736
7737
|
var h = $e(f), y = parseInt(h.value) + (f.delta || 0);
|
|
7737
7738
|
(y / 1e3 > 1 || f.key === "Enter" && !/[^\d]/.test(y.toString())) && te(y);
|
|
7738
7739
|
}
|
|
@@ -7766,7 +7767,7 @@ function Ng(t, n) {
|
|
|
7766
7767
|
var f = ha(Jl, 50);
|
|
7767
7768
|
if (e._debouncedChange = ha(x, Pg), e.daysContainer && !/iPhone|iPad|iPod/i.test(navigator.userAgent) && b(e.daysContainer, "mouseover", function(y) {
|
|
7768
7769
|
e.config.mode === "range" && Mn($e(y));
|
|
7769
|
-
}), b(e._input, "keydown", Ce), e.calendarContainer !== void 0 && b(e.calendarContainer, "keydown", Ce), !e.config.inline && !e.config.static && b(window, "resize", f), window.ontouchstart !== void 0 ? b(window.document, "touchstart", B) : b(window.document, "mousedown", B), b(window.document, "focus", B, { capture: !0 }), e.config.clickOpens === !0 && (b(e._input, "focus", e.open), b(e._input, "click", e.open)), e.daysContainer !== void 0 && (b(e.monthNav, "click", ds), b(e.monthNav, ["keyup", "increment"],
|
|
7770
|
+
}), b(e._input, "keydown", Ce), e.calendarContainer !== void 0 && b(e.calendarContainer, "keydown", Ce), !e.config.inline && !e.config.static && b(window, "resize", f), window.ontouchstart !== void 0 ? b(window.document, "touchstart", B) : b(window.document, "mousedown", B), b(window.document, "focus", B, { capture: !0 }), e.config.clickOpens === !0 && (b(e._input, "focus", e.open), b(e._input, "click", e.open)), e.daysContainer !== void 0 && (b(e.monthNav, "click", ds), b(e.monthNav, ["keyup", "increment"], v), b(e.daysContainer, "click", no)), e.timeContainer !== void 0 && e.minuteElement !== void 0 && e.hourElement !== void 0) {
|
|
7770
7771
|
var h = function(y) {
|
|
7771
7772
|
return $e(y).select();
|
|
7772
7773
|
};
|
|
@@ -7782,8 +7783,8 @@ function Ng(t, n) {
|
|
|
7782
7783
|
var y = f !== void 0 ? e.parseDate(f) : e.latestSelectedDateObj || (e.config.minDate && e.config.minDate > e.now ? e.config.minDate : e.config.maxDate && e.config.maxDate < e.now ? e.config.maxDate : e.now), T = e.currentYear, W = e.currentMonth;
|
|
7783
7784
|
try {
|
|
7784
7785
|
y !== void 0 && (e.currentYear = y.getFullYear(), e.currentMonth = y.getMonth());
|
|
7785
|
-
} catch (
|
|
7786
|
-
|
|
7786
|
+
} catch (K) {
|
|
7787
|
+
K.message = "Invalid date supplied: " + y, e.config.errorHandler(K);
|
|
7787
7788
|
}
|
|
7788
7789
|
h && e.currentYear !== T && (xe("onYearChange"), E()), h && (e.currentYear !== T || e.currentMonth !== W) && xe("onMonthChange"), e.redraw();
|
|
7789
7790
|
}
|
|
@@ -7792,8 +7793,8 @@ function Ng(t, n) {
|
|
|
7792
7793
|
~h.className.indexOf("arrow") && L(f, h.classList.contains("arrowUp") ? 1 : -1);
|
|
7793
7794
|
}
|
|
7794
7795
|
function L(f, h, y) {
|
|
7795
|
-
var T = f && $e(f), W = y || T && T.parentNode && T.parentNode.firstChild,
|
|
7796
|
-
|
|
7796
|
+
var T = f && $e(f), W = y || T && T.parentNode && T.parentNode.firstChild, K = kr("increment");
|
|
7797
|
+
K.delta = h, W && W.dispatchEvent(K);
|
|
7797
7798
|
}
|
|
7798
7799
|
function _() {
|
|
7799
7800
|
var f = window.document.createDocumentFragment();
|
|
@@ -7807,29 +7808,29 @@ function Ng(t, n) {
|
|
|
7807
7808
|
e.config.enableTime && f.appendChild(Z()), He(e.calendarContainer, "rangeMode", e.config.mode === "range"), He(e.calendarContainer, "animate", e.config.animate === !0), He(e.calendarContainer, "multiMonth", e.config.showMonths > 1), e.calendarContainer.appendChild(f);
|
|
7808
7809
|
var W = e.config.appendTo !== void 0 && e.config.appendTo.nodeType !== void 0;
|
|
7809
7810
|
if ((e.config.inline || e.config.static) && (e.calendarContainer.classList.add(e.config.inline ? "inline" : "static"), e.config.inline && (!W && e.element.parentNode ? e.element.parentNode.insertBefore(e.calendarContainer, e._input.nextSibling) : e.config.appendTo !== void 0 && e.config.appendTo.appendChild(e.calendarContainer)), e.config.static)) {
|
|
7810
|
-
var
|
|
7811
|
-
e.element.parentNode && e.element.parentNode.insertBefore(
|
|
7811
|
+
var K = me("div", "flatpickr-wrapper");
|
|
7812
|
+
e.element.parentNode && e.element.parentNode.insertBefore(K, e.element), K.appendChild(e.element), e.altInput && K.appendChild(e.altInput), K.appendChild(e.calendarContainer);
|
|
7812
7813
|
}
|
|
7813
7814
|
!e.config.static && !e.config.inline && (e.config.appendTo !== void 0 ? e.config.appendTo : window.document.body).appendChild(e.calendarContainer);
|
|
7814
7815
|
}
|
|
7815
7816
|
function P(f, h, y, T) {
|
|
7816
|
-
var W = oe(h, !0),
|
|
7817
|
-
return
|
|
7817
|
+
var W = oe(h, !0), K = me("span", f, h.getDate().toString());
|
|
7818
|
+
return K.dateObj = h, K.$i = T, K.setAttribute("aria-label", e.formatDate(h, e.config.ariaDateFormat)), f.indexOf("hidden") === -1 && Be(h, e.now) === 0 && (e.todayDateElem = K, K.classList.add("today"), K.setAttribute("aria-current", "date")), W ? (K.tabIndex = -1, Ir(h) && (K.classList.add("selected"), e.selectedDateElem = K, e.config.mode === "range" && (He(K, "startRange", e.selectedDates[0] && Be(h, e.selectedDates[0], !0) === 0), He(K, "endRange", e.selectedDates[1] && Be(h, e.selectedDates[1], !0) === 0), f === "nextMonthDay" && K.classList.add("inRange")))) : K.classList.add("flatpickr-disabled"), e.config.mode === "range" && us(h) && !Ir(h) && K.classList.add("inRange"), e.weekNumbers && e.config.showMonths === 1 && f !== "prevMonthDay" && T % 7 === 6 && e.weekNumbers.insertAdjacentHTML("beforeend", "<span class='flatpickr-day'>" + e.config.getWeek(h) + "</span>"), xe("onDayCreate", K), K;
|
|
7818
7819
|
}
|
|
7819
7820
|
function N(f) {
|
|
7820
7821
|
f.focus(), e.config.mode === "range" && Mn(f);
|
|
7821
7822
|
}
|
|
7822
7823
|
function I(f) {
|
|
7823
7824
|
for (var h = f > 0 ? 0 : e.config.showMonths - 1, y = f > 0 ? e.config.showMonths : -1, T = h; T != y; T += f)
|
|
7824
|
-
for (var W = e.daysContainer.children[T],
|
|
7825
|
+
for (var W = e.daysContainer.children[T], K = f > 0 ? 0 : W.children.length - 1, ae = f > 0 ? W.children.length : -1, Q = K; Q != ae; Q += f) {
|
|
7825
7826
|
var ue = W.children[Q];
|
|
7826
7827
|
if (ue.className.indexOf("hidden") === -1 && oe(ue.dateObj))
|
|
7827
7828
|
return ue;
|
|
7828
7829
|
}
|
|
7829
7830
|
}
|
|
7830
7831
|
function F(f, h) {
|
|
7831
|
-
for (var y = f.className.indexOf("Month") === -1 ? f.dateObj.getMonth() : e.currentMonth, T = h > 0 ? e.config.showMonths : -1, W = h > 0 ? 1 : -1,
|
|
7832
|
-
for (var ae = e.daysContainer.children[
|
|
7832
|
+
for (var y = f.className.indexOf("Month") === -1 ? f.dateObj.getMonth() : e.currentMonth, T = h > 0 ? e.config.showMonths : -1, W = h > 0 ? 1 : -1, K = y - e.currentMonth; K != T; K += W)
|
|
7833
|
+
for (var ae = e.daysContainer.children[K], Q = y - e.currentMonth === K ? f.$i + h : h < 0 ? ae.children.length - 1 : 0, ue = ae.children.length, G = Q; G >= 0 && G < ue && G != (h > 0 ? ue : -1); G += W) {
|
|
7833
7834
|
var ie = ae.children[G];
|
|
7834
7835
|
if (ie.className.indexOf("hidden") === -1 && oe(ie.dateObj) && Math.abs(f.$i - G) >= Math.abs(h))
|
|
7835
7836
|
return N(ie);
|
|
@@ -7841,14 +7842,14 @@ function Ng(t, n) {
|
|
|
7841
7842
|
W === void 0 ? e._input.focus() : T ? F(W, h) : N(W);
|
|
7842
7843
|
}
|
|
7843
7844
|
function z(f, h) {
|
|
7844
|
-
for (var y = (new Date(f, h, 1).getDay() - e.l10n.firstDayOfWeek + 7) % 7, T = e.utils.getDaysInMonth((h - 1 + 12) % 12, f), W = e.utils.getDaysInMonth(h, f),
|
|
7845
|
-
|
|
7845
|
+
for (var y = (new Date(f, h, 1).getDay() - e.l10n.firstDayOfWeek + 7) % 7, T = e.utils.getDaysInMonth((h - 1 + 12) % 12, f), W = e.utils.getDaysInMonth(h, f), K = window.document.createDocumentFragment(), ae = e.config.showMonths > 1, Q = ae ? "prevMonthDay hidden" : "prevMonthDay", ue = ae ? "nextMonthDay hidden" : "nextMonthDay", G = T + 1 - y, ie = 0; G <= T; G++, ie++)
|
|
7846
|
+
K.appendChild(P("flatpickr-day " + Q, new Date(f, h - 1, G), G, ie));
|
|
7846
7847
|
for (G = 1; G <= W; G++, ie++)
|
|
7847
|
-
|
|
7848
|
+
K.appendChild(P("flatpickr-day", new Date(f, h, G), G, ie));
|
|
7848
7849
|
for (var he = W + 1; he <= 42 - y && (e.config.showMonths === 1 || ie % 7 !== 0); he++, ie++)
|
|
7849
|
-
|
|
7850
|
+
K.appendChild(P("flatpickr-day " + ue, new Date(f, h + 1, he % W), he, ie));
|
|
7850
7851
|
var nt = me("div", "dayContainer");
|
|
7851
|
-
return nt.appendChild(
|
|
7852
|
+
return nt.appendChild(K), nt;
|
|
7852
7853
|
}
|
|
7853
7854
|
function w() {
|
|
7854
7855
|
if (e.daysContainer !== void 0) {
|
|
@@ -7881,8 +7882,8 @@ function Ng(t, n) {
|
|
|
7881
7882
|
}), E(), y = e.monthsDropdownContainer);
|
|
7882
7883
|
var T = Nn("cur-year", { tabindex: "-1" }), W = T.getElementsByTagName("input")[0];
|
|
7883
7884
|
W.setAttribute("aria-label", e.l10n.yearAriaLabel), e.config.minDate && W.setAttribute("min", e.config.minDate.getFullYear().toString()), e.config.maxDate && (W.setAttribute("max", e.config.maxDate.getFullYear().toString()), W.disabled = !!e.config.minDate && e.config.minDate.getFullYear() === e.config.maxDate.getFullYear());
|
|
7884
|
-
var
|
|
7885
|
-
return
|
|
7885
|
+
var K = me("div", "flatpickr-current-month");
|
|
7886
|
+
return K.appendChild(y), K.appendChild(T), h.appendChild(K), f.appendChild(h), {
|
|
7886
7887
|
container: f,
|
|
7887
7888
|
yearElement: W,
|
|
7888
7889
|
monthElement: y
|
|
@@ -7968,8 +7969,8 @@ function Ng(t, n) {
|
|
|
7968
7969
|
}
|
|
7969
7970
|
function j(f, h) {
|
|
7970
7971
|
if (f === void 0 && (f = !0), h === void 0 && (h = !0), e.input.value = "", e.altInput !== void 0 && (e.altInput.value = ""), e.mobileInput !== void 0 && (e.mobileInput.value = ""), e.selectedDates = [], e.latestSelectedDateObj = void 0, h === !0 && (e.currentYear = e._initialDate.getFullYear(), e.currentMonth = e._initialDate.getMonth()), e.config.enableTime === !0) {
|
|
7971
|
-
var y = Xr(e.config), T = y.hours, W = y.minutes,
|
|
7972
|
-
p(T, W,
|
|
7972
|
+
var y = Xr(e.config), T = y.hours, W = y.minutes, K = y.seconds;
|
|
7973
|
+
p(T, W, K);
|
|
7973
7974
|
}
|
|
7974
7975
|
e.redraw(), f && xe("onChange");
|
|
7975
7976
|
}
|
|
@@ -8034,10 +8035,10 @@ function Ng(t, n) {
|
|
|
8034
8035
|
}
|
|
8035
8036
|
function B(f) {
|
|
8036
8037
|
if (e.isOpen && !e.config.inline) {
|
|
8037
|
-
var h = $e(f), y = de(h), T = h === e.input || h === e.altInput || e.element.contains(h) || f.path && f.path.indexOf && (~f.path.indexOf(e.input) || ~f.path.indexOf(e.altInput)), W = !T && !y && !de(f.relatedTarget),
|
|
8038
|
+
var h = $e(f), y = de(h), T = h === e.input || h === e.altInput || e.element.contains(h) || f.path && f.path.indexOf && (~f.path.indexOf(e.input) || ~f.path.indexOf(e.altInput)), W = !T && !y && !de(f.relatedTarget), K = !e.config.ignoredFocusElements.some(function(ae) {
|
|
8038
8039
|
return ae.contains(h);
|
|
8039
8040
|
});
|
|
8040
|
-
W &&
|
|
8041
|
+
W && K && (e.config.allowInput && e.setDate(e._input.value, !1, e.config.altInput ? e.config.altFormat : e.config.dateFormat), e.timeContainer !== void 0 && e.minuteElement !== void 0 && e.hourElement !== void 0 && e.input.value !== "" && e.input.value !== void 0 && s(), e.close(), e.config && e.config.mode === "range" && e.selectedDates.length === 1 && e.clear(!1));
|
|
8041
8042
|
}
|
|
8042
8043
|
}
|
|
8043
8044
|
function te(f) {
|
|
@@ -8056,8 +8057,8 @@ function Ng(t, n) {
|
|
|
8056
8057
|
return !0;
|
|
8057
8058
|
if (T === void 0)
|
|
8058
8059
|
return !1;
|
|
8059
|
-
for (var W = !!e.config.enable,
|
|
8060
|
-
if (Q =
|
|
8060
|
+
for (var W = !!e.config.enable, K = (y = e.config.enable) !== null && y !== void 0 ? y : e.config.disable, ae = 0, Q = void 0; ae < K.length; ae++) {
|
|
8061
|
+
if (Q = K[ae], typeof Q == "function" && Q(T) || Q instanceof Date && T !== void 0 && Q.getTime() === T.getTime())
|
|
8061
8062
|
return W;
|
|
8062
8063
|
if (typeof Q == "string") {
|
|
8063
8064
|
var ue = e.parseDate(Q, void 0, !0);
|
|
@@ -8075,12 +8076,12 @@ function Ng(t, n) {
|
|
|
8075
8076
|
h && y && !(f.relatedTarget && de(f.relatedTarget)) && e.setDate(e._input.value, !0, f.target === e.altInput ? e.config.altFormat : e.config.dateFormat);
|
|
8076
8077
|
}
|
|
8077
8078
|
function Ce(f) {
|
|
8078
|
-
var h = $e(f), y = e.config.wrap ? t.contains(h) : h === e._input, T = e.config.allowInput, W = e.isOpen && (!T || !y),
|
|
8079
|
+
var h = $e(f), y = e.config.wrap ? t.contains(h) : h === e._input, T = e.config.allowInput, W = e.isOpen && (!T || !y), K = e.config.inline && y && !T;
|
|
8079
8080
|
if (f.keyCode === 13 && y) {
|
|
8080
8081
|
if (T)
|
|
8081
8082
|
return e.setDate(e._input.value, !0, h === e.altInput ? e.config.altFormat : e.config.dateFormat), e.close(), h.blur();
|
|
8082
8083
|
e.open();
|
|
8083
|
-
} else if (de(h) || W ||
|
|
8084
|
+
} else if (de(h) || W || K) {
|
|
8084
8085
|
var ae = !!e.timeContainer && e.timeContainer.contains(h);
|
|
8085
8086
|
switch (f.keyCode) {
|
|
8086
8087
|
case 13:
|
|
@@ -8132,19 +8133,19 @@ function Ng(t, n) {
|
|
|
8132
8133
|
switch (f.key) {
|
|
8133
8134
|
case e.l10n.amPM[0].charAt(0):
|
|
8134
8135
|
case e.l10n.amPM[0].charAt(0).toLowerCase():
|
|
8135
|
-
e.amPM.textContent = e.l10n.amPM[0],
|
|
8136
|
+
e.amPM.textContent = e.l10n.amPM[0], g(), st();
|
|
8136
8137
|
break;
|
|
8137
8138
|
case e.l10n.amPM[1].charAt(0):
|
|
8138
8139
|
case e.l10n.amPM[1].charAt(0).toLowerCase():
|
|
8139
|
-
e.amPM.textContent = e.l10n.amPM[1],
|
|
8140
|
+
e.amPM.textContent = e.l10n.amPM[1], g(), st();
|
|
8140
8141
|
break;
|
|
8141
8142
|
}
|
|
8142
8143
|
(y || de(h)) && xe("onKeyDown", f);
|
|
8143
8144
|
}
|
|
8144
8145
|
function Mn(f, h) {
|
|
8145
8146
|
if (h === void 0 && (h = "flatpickr-day"), !(e.selectedDates.length !== 1 || f && (!f.classList.contains(h) || f.classList.contains("flatpickr-disabled")))) {
|
|
8146
|
-
for (var y = f ? f.dateObj.getTime() : e.days.firstElementChild.dateObj.getTime(), T = e.parseDate(e.selectedDates[0], void 0, !0).getTime(), W = Math.min(y, e.selectedDates[0].getTime()),
|
|
8147
|
-
oe(new Date(G), !0) || (ae = ae || G > W && G <
|
|
8147
|
+
for (var y = f ? f.dateObj.getTime() : e.days.firstElementChild.dateObj.getTime(), T = e.parseDate(e.selectedDates[0], void 0, !0).getTime(), W = Math.min(y, e.selectedDates[0].getTime()), K = Math.max(y, e.selectedDates[0].getTime()), ae = !1, Q = 0, ue = 0, G = W; G < K; G += Ag.DAY)
|
|
8148
|
+
oe(new Date(G), !0) || (ae = ae || G > W && G < K, G < T && (!Q || G > Q) ? Q = G : G > T && (!ue || G < ue) && (ue = G));
|
|
8148
8149
|
var ie = Array.from(e.rContainer.querySelectorAll("*:nth-child(-n+" + e.config.showMonths + ") > ." + h));
|
|
8149
8150
|
ie.forEach(function(he) {
|
|
8150
8151
|
var nt = he.dateObj, We = nt.getTime(), Xt = Q > 0 && We < Q || ue > 0 && We > ue;
|
|
@@ -8226,8 +8227,8 @@ function Ng(t, n) {
|
|
|
8226
8227
|
y.dateFormat = h.noCalendar || T ? "H:i" + (h.enableSeconds ? ":S" : "") : W + " H:i" + (h.enableSeconds ? ":S" : "");
|
|
8227
8228
|
}
|
|
8228
8229
|
if (h.altInput && (h.enableTime || T) && !h.altFormat) {
|
|
8229
|
-
var
|
|
8230
|
-
y.altFormat = h.noCalendar || T ? "h:i" + (h.enableSeconds ? ":S K" : " K") :
|
|
8230
|
+
var K = Oe.defaultConfig.altFormat || $t.altFormat;
|
|
8231
|
+
y.altFormat = h.noCalendar || T ? "h:i" + (h.enableSeconds ? ":S K" : " K") : K + (" h:i" + (h.enableSeconds ? ":S" : "") + " K");
|
|
8231
8232
|
}
|
|
8232
8233
|
Object.defineProperty(e.config, "minDate", {
|
|
8233
8234
|
get: function() {
|
|
@@ -8285,7 +8286,7 @@ function Ng(t, n) {
|
|
|
8285
8286
|
xe("onPreCalendarPosition");
|
|
8286
8287
|
var h = f || e._positionElement, y = Array.prototype.reduce.call(e.calendarContainer.children, (function(ys, xs) {
|
|
8287
8288
|
return ys + xs.offsetHeight;
|
|
8288
|
-
}), 0), T = e.calendarContainer.offsetWidth, W = e.config.position.split(" "),
|
|
8289
|
+
}), 0), T = e.calendarContainer.offsetWidth, W = e.config.position.split(" "), K = W[0], ae = W.length > 1 ? W[1] : null, Q = h.getBoundingClientRect(), ue = window.innerHeight - Q.bottom, G = K === "above" || K !== "below" && ue < y && Q.top > y, ie = window.pageYOffset + Q.top + (G ? -y - 2 : h.offsetHeight + 2);
|
|
8289
8290
|
if (He(e.calendarContainer, "arrowTop", !G), He(e.calendarContainer, "arrowBottom", G), !e.config.inline) {
|
|
8290
8291
|
var he = window.pageXOffset + Q.left, nt = !1, We = !1;
|
|
8291
8292
|
ae === "center" ? (he -= (T - Q.width) / 2, nt = !0) : ae === "right" && (he -= T - Q.width, We = !0), He(e.calendarContainer, "arrowLeft", !nt && !We), He(e.calendarContainer, "arrowCenter", nt), He(e.calendarContainer, "arrowRight", We);
|
|
@@ -8336,7 +8337,7 @@ function Ng(t, n) {
|
|
|
8336
8337
|
return ie.classList && ie.classList.contains("flatpickr-day") && !ie.classList.contains("flatpickr-disabled") && !ie.classList.contains("notAllowed");
|
|
8337
8338
|
}, y = ql($e(f), h);
|
|
8338
8339
|
if (y !== void 0) {
|
|
8339
|
-
var T = y, W = e.latestSelectedDateObj = new Date(T.dateObj.getTime()),
|
|
8340
|
+
var T = y, W = e.latestSelectedDateObj = new Date(T.dateObj.getTime()), K = (W.getMonth() < e.currentMonth || W.getMonth() > e.currentMonth + e.config.showMonths - 1) && e.config.mode !== "range";
|
|
8340
8341
|
if (e.selectedDateElem = T, e.config.mode === "single")
|
|
8341
8342
|
e.selectedDates = [W];
|
|
8342
8343
|
else if (e.config.mode === "multiple") {
|
|
@@ -8345,11 +8346,11 @@ function Ng(t, n) {
|
|
|
8345
8346
|
} else e.config.mode === "range" && (e.selectedDates.length === 2 && e.clear(!1, !1), e.latestSelectedDateObj = W, e.selectedDates.push(W), Be(W, e.selectedDates[0], !0) !== 0 && e.selectedDates.sort(function(ie, he) {
|
|
8346
8347
|
return ie.getTime() - he.getTime();
|
|
8347
8348
|
}));
|
|
8348
|
-
if (
|
|
8349
|
+
if (g(), K) {
|
|
8349
8350
|
var Q = e.currentYear !== W.getFullYear();
|
|
8350
8351
|
e.currentYear = W.getFullYear(), e.currentMonth = W.getMonth(), Q && (xe("onYearChange"), E()), xe("onMonthChange");
|
|
8351
8352
|
}
|
|
8352
|
-
if (Dn(), w(), st(), !
|
|
8353
|
+
if (Dn(), w(), st(), !K && e.config.mode !== "range" && e.config.showMonths === 1 ? N(T) : e.selectedDateElem !== void 0 && e.hourElement === void 0 && e.selectedDateElem && e.selectedDateElem.focus(), e.hourElement !== void 0 && e.hourElement !== void 0 && e.hourElement.focus(), e.config.closeOnSelect) {
|
|
8353
8354
|
var ue = e.config.mode === "single" && !e.config.enableTime, G = e.config.mode === "range" && e.selectedDates.length === 2 && !e.config.enableTime;
|
|
8354
8355
|
(ue || G) && Tr();
|
|
8355
8356
|
}
|
|
@@ -8509,10 +8510,10 @@ function Ng(t, n) {
|
|
|
8509
8510
|
f.preventDefault();
|
|
8510
8511
|
var h = f.type === "keydown", y = $e(f), T = y;
|
|
8511
8512
|
e.amPM !== void 0 && y === e.amPM && (e.amPM.textContent = e.l10n.amPM[Ge(e.amPM.textContent === e.l10n.amPM[0])]);
|
|
8512
|
-
var W = parseFloat(T.getAttribute("min")),
|
|
8513
|
+
var W = parseFloat(T.getAttribute("min")), K = parseFloat(T.getAttribute("max")), ae = parseFloat(T.getAttribute("step")), Q = parseInt(T.value, 10), ue = f.delta || (h ? f.which === 38 ? 1 : -1 : 0), G = Q + ae * ue;
|
|
8513
8514
|
if (typeof T.value < "u" && T.value.length === 2) {
|
|
8514
8515
|
var ie = T === e.hourElement, he = T === e.minuteElement;
|
|
8515
|
-
G < W ? (G =
|
|
8516
|
+
G < W ? (G = K + G + Ge(!ie) + (Ge(ie) && Ge(!e.amPM)), he && L(void 0, -1, e.hourElement)) : G > K && (G = T === e.hourElement ? G - K - Ge(!e.amPM) : W, he && L(void 0, 1, e.hourElement)), e.amPM && ie && (ae === 1 ? G + Q === 23 : Math.abs(G - Q) > ae) && (e.amPM.textContent = e.l10n.amPM[Ge(e.amPM.textContent === e.l10n.amPM[0])]), T.value = ze(G);
|
|
8516
8517
|
}
|
|
8517
8518
|
}
|
|
8518
8519
|
return i(), e;
|
|
@@ -8625,7 +8626,7 @@ const Fg = ({
|
|
|
8625
8626
|
} })))), /* @__PURE__ */ d.createElement("path", { fill: "none", stroke: "currentcolor", d: "M123.3-21.9c1.6 4.3 2.5 8.9 2.5 13.8c0 21.4-16.9 38.8-38.1 39.7v.1h-1.7h-11.4h-75.2c-17.2-0.4-31.1-14.4-31.1-31.7c0-17.5 14.2-31.7 31.7-31.7c1.7 0 3.4 .2 5 .4c0-0.1 0-0.2 0-0.4c0-20.8 16.9-37.7 37.7-37.7c15.5 0 28.7 9.2 34.6 22.5c2.8-0.6 5.7-0.9 8.7-0.9c17.1 0 31.7 10.7 37.3 25.9Z", strokeDasharray: "427 427", strokeDashoffset: 427, strokeWidth: 6, strokeLinecap: "round", visibility: "hidden", transform: "translate(51.4,122.3)", style: {
|
|
8626
8627
|
animation: "5s linear infinite both a14_t, 5s linear infinite forwards a14_v, 5s linear infinite both a14_o, 5s linear infinite both a14_do"
|
|
8627
8628
|
} }));
|
|
8628
|
-
|
|
8629
|
+
U(Fg);
|
|
8629
8630
|
pe({});
|
|
8630
8631
|
const Lg = `
|
|
8631
8632
|
jn:text-theme-high
|
|
@@ -8709,11 +8710,11 @@ const Lg = `
|
|
|
8709
8710
|
default:
|
|
8710
8711
|
return "jn:text-theme-info jn:shrink-0";
|
|
8711
8712
|
}
|
|
8712
|
-
},
|
|
8713
|
+
}, Kg = (t, n, e, r) => {
|
|
8713
8714
|
!t || n < 1 || (r.current !== null && clearTimeout(r.current), r.current = window.setTimeout(() => {
|
|
8714
8715
|
e();
|
|
8715
8716
|
}, n));
|
|
8716
|
-
},
|
|
8717
|
+
}, Ug = (t) => {
|
|
8717
8718
|
t.current !== null && (clearTimeout(t.current), t.current = null);
|
|
8718
8719
|
}, Zg = ({
|
|
8719
8720
|
title: t,
|
|
@@ -8725,15 +8726,15 @@ const Lg = `
|
|
|
8725
8726
|
className: a = "",
|
|
8726
8727
|
...l
|
|
8727
8728
|
}) => {
|
|
8728
|
-
const [s, u] = we(!0), c = se(null), { text:
|
|
8729
|
+
const [s, u] = we(!0), c = se(null), { text: g, children: m } = l, p = () => {
|
|
8729
8730
|
u(!1), o && o();
|
|
8730
8731
|
};
|
|
8731
8732
|
if (ye(() => () => {
|
|
8732
|
-
|
|
8733
|
+
Ug(c);
|
|
8733
8734
|
}, []), ye(() => {
|
|
8734
|
-
|
|
8735
|
+
Kg(r, i, p, c);
|
|
8735
8736
|
}, [r, i]), !s) return null;
|
|
8736
|
-
const
|
|
8737
|
+
const v = Bg(n), b = Vg(n), x = Wg(n);
|
|
8737
8738
|
return /* @__PURE__ */ H.jsxs(
|
|
8738
8739
|
"div",
|
|
8739
8740
|
{
|
|
@@ -8741,10 +8742,10 @@ const Lg = `
|
|
|
8741
8742
|
...l,
|
|
8742
8743
|
children: [
|
|
8743
8744
|
/* @__PURE__ */ H.jsx("div", { className: `juno-message-border ${Hg} ${x}` }),
|
|
8744
|
-
/* @__PURE__ */ H.jsx(Wn, { icon:
|
|
8745
|
+
/* @__PURE__ */ H.jsx(Wn, { icon: v, className: `${Yg(n)}` }),
|
|
8745
8746
|
/* @__PURE__ */ H.jsxs("div", { className: `juno-message-content ${_g}`, children: [
|
|
8746
8747
|
t && /* @__PURE__ */ H.jsx("h1", { className: Rg, children: t }),
|
|
8747
|
-
/* @__PURE__ */ H.jsx("div", { children: m ||
|
|
8748
|
+
/* @__PURE__ */ H.jsx("div", { children: m || g })
|
|
8748
8749
|
] }),
|
|
8749
8750
|
e && /* @__PURE__ */ H.jsx("div", { className: zg, children: /* @__PURE__ */ H.jsx(
|
|
8750
8751
|
Wn,
|
|
@@ -9016,7 +9017,7 @@ var ct = {
|
|
|
9016
9017
|
if (!w)
|
|
9017
9018
|
throw new Error("Your focus-trap needs to have at least one focusable element");
|
|
9018
9019
|
return w;
|
|
9019
|
-
},
|
|
9020
|
+
}, g = function() {
|
|
9020
9021
|
if (o.containerGroups = o.containers.map(function(w) {
|
|
9021
9022
|
var E = bl(w, i.tabbableOptions), R = wl(w, i.tabbableOptions), A = E.length > 0 ? E[0] : void 0, V = E.length > 0 ? E[E.length - 1] : void 0, Z = R.find(function(Y) {
|
|
9022
9023
|
return Ct(Y);
|
|
@@ -9085,14 +9086,14 @@ var ct = {
|
|
|
9085
9086
|
preventScroll: !!i.preventScroll
|
|
9086
9087
|
}), o.mostRecentlyFocusedNode = w, nv(w) && w.select();
|
|
9087
9088
|
}
|
|
9088
|
-
},
|
|
9089
|
+
}, v = function(w) {
|
|
9089
9090
|
var E = u("setReturnFocus", {
|
|
9090
9091
|
params: [w]
|
|
9091
9092
|
});
|
|
9092
9093
|
return E || (E === !1 ? !1 : w);
|
|
9093
9094
|
}, b = function(w) {
|
|
9094
9095
|
var E = w.target, R = w.event, A = w.isBackward, V = A === void 0 ? !1 : A;
|
|
9095
|
-
E = E || Ln(R),
|
|
9096
|
+
E = E || Ln(R), g();
|
|
9096
9097
|
var Z = null;
|
|
9097
9098
|
if (o.tabbableGroups.length > 0) {
|
|
9098
9099
|
var D = s(E, R), $ = D >= 0 ? o.containerGroups[D] : void 0;
|
|
@@ -9269,9 +9270,9 @@ var ct = {
|
|
|
9269
9270
|
(D = V._setSubtreeIsolation) === null || D === void 0 || D.call(V, !1), Z = !0;
|
|
9270
9271
|
}
|
|
9271
9272
|
try {
|
|
9272
|
-
A ||
|
|
9273
|
+
A || g(), o.active = !0, o.paused = !1, o.nodeFocusedBeforeActivation = m(e), E?.();
|
|
9273
9274
|
var $ = function() {
|
|
9274
|
-
A &&
|
|
9275
|
+
A && g(), P(), z(), i.isolateSubtrees && a._setSubtreeIsolation(!0), R?.();
|
|
9275
9276
|
};
|
|
9276
9277
|
if (A)
|
|
9277
9278
|
return A(o.containers.concat()).then($, $), this;
|
|
@@ -9298,10 +9299,10 @@ var ct = {
|
|
|
9298
9299
|
R?.();
|
|
9299
9300
|
var D = function() {
|
|
9300
9301
|
ya(function() {
|
|
9301
|
-
Z && p(
|
|
9302
|
+
Z && p(v(o.nodeFocusedBeforeActivation)), A?.();
|
|
9302
9303
|
});
|
|
9303
9304
|
};
|
|
9304
|
-
return Z && V ? (V(
|
|
9305
|
+
return Z && V ? (V(v(o.nodeFocusedBeforeActivation)).then(D, D), this) : (D(), this);
|
|
9305
9306
|
},
|
|
9306
9307
|
pause: function(w) {
|
|
9307
9308
|
return o.active ? (o.manuallyPaused = !0, this._setPausedState(!0, w)) : this;
|
|
@@ -9313,7 +9314,7 @@ var ct = {
|
|
|
9313
9314
|
var E = [].concat(w).filter(Boolean);
|
|
9314
9315
|
return o.containers = E.map(function(R) {
|
|
9315
9316
|
return typeof R == "string" ? e.querySelector(R) : R;
|
|
9316
|
-
}), i.isolateSubtrees && N(o.containers), o.active && (
|
|
9317
|
+
}), i.isolateSubtrees && N(o.containers), o.active && (g(), i.isolateSubtrees && !o.paused && a._setSubtreeIsolation(!0)), z(), this;
|
|
9317
9318
|
}
|
|
9318
9319
|
}, Object.defineProperties(a, {
|
|
9319
9320
|
_isManuallyPaused: {
|
|
@@ -9330,7 +9331,7 @@ var ct = {
|
|
|
9330
9331
|
R?.(), I(), z(), a._setSubtreeIsolation(!1), A?.();
|
|
9331
9332
|
} else {
|
|
9332
9333
|
var V = l(E, "onUnpause"), Z = l(E, "onPostUnpause");
|
|
9333
|
-
V?.(), a._setSubtreeIsolation(!0),
|
|
9334
|
+
V?.(), a._setSubtreeIsolation(!0), g(), P(), z(), Z?.();
|
|
9334
9335
|
}
|
|
9335
9336
|
return this;
|
|
9336
9337
|
}
|
|
@@ -9368,7 +9369,7 @@ function dv() {
|
|
|
9368
9369
|
function i(N, I) {
|
|
9369
9370
|
for (var F = 0; F < I.length; F++) {
|
|
9370
9371
|
var S = I[F];
|
|
9371
|
-
S.enumerable = S.enumerable || !1, S.configurable = !0, "value" in S && (S.writable = !0), Object.defineProperty(N,
|
|
9372
|
+
S.enumerable = S.enumerable || !1, S.configurable = !0, "value" in S && (S.writable = !0), Object.defineProperty(N, v(S.key), S);
|
|
9372
9373
|
}
|
|
9373
9374
|
}
|
|
9374
9375
|
function o(N, I, F) {
|
|
@@ -9401,7 +9402,7 @@ function dv() {
|
|
|
9401
9402
|
return I.__proto__ || Object.getPrototypeOf(I);
|
|
9402
9403
|
}, c(N);
|
|
9403
9404
|
}
|
|
9404
|
-
function
|
|
9405
|
+
function g(N, I) {
|
|
9405
9406
|
if (typeof I != "function" && I !== null) throw new TypeError("Super expression must either be null or a function");
|
|
9406
9407
|
N.prototype = Object.create(I && I.prototype, { constructor: { value: N, writable: !0, configurable: !0 } }), Object.defineProperty(N, "prototype", { writable: !1 }), I && m(N, I);
|
|
9407
9408
|
}
|
|
@@ -9411,9 +9412,9 @@ function dv() {
|
|
|
9411
9412
|
}, m(N, I);
|
|
9412
9413
|
}
|
|
9413
9414
|
function p(N, I, F) {
|
|
9414
|
-
return (I =
|
|
9415
|
+
return (I = v(I)) in N ? Object.defineProperty(N, I, { value: F, enumerable: !0, configurable: !0, writable: !0 }) : N[I] = F, N;
|
|
9415
9416
|
}
|
|
9416
|
-
function
|
|
9417
|
+
function v(N) {
|
|
9417
9418
|
var I = b(N, "string");
|
|
9418
9419
|
return t(I) == "symbol" ? I : I + "";
|
|
9419
9420
|
}
|
|
@@ -9490,7 +9491,7 @@ function dv() {
|
|
|
9490
9491
|
}
|
|
9491
9492
|
return S.outsideClick = null, S.focusTrapElements = F.containerElements || [], S.updatePreviousElement(), S;
|
|
9492
9493
|
}
|
|
9493
|
-
return
|
|
9494
|
+
return g(I, N), o(I, [{
|
|
9494
9495
|
key: "getDocument",
|
|
9495
9496
|
value: function() {
|
|
9496
9497
|
return this.props.focusTrapOptions.document || (typeof document < "u" ? document : void 0);
|
|
@@ -9628,7 +9629,7 @@ const fv = `
|
|
|
9628
9629
|
jn:h-px
|
|
9629
9630
|
jn:w-full
|
|
9630
9631
|
jn:bg-theme-background-lvl-3
|
|
9631
|
-
`, pv =
|
|
9632
|
+
`, pv = U(
|
|
9632
9633
|
({ className: t = "", ...n }, e) => /* @__PURE__ */ H.jsx("div", { className: `juno-select-divider ${fv} ${t}`, ref: e, ...n })
|
|
9633
9634
|
);
|
|
9634
9635
|
pv.displayName = "SelectDivider";
|
|
@@ -9654,7 +9655,7 @@ const mv = pe(null), Xl = () => {
|
|
|
9654
9655
|
`, vv = `
|
|
9655
9656
|
jn:shrink-0
|
|
9656
9657
|
`, bv = (t) => t === "error" ? "dangerous" : t;
|
|
9657
|
-
|
|
9658
|
+
U(function({ className: t = "", children: n, ...e }, r) {
|
|
9658
9659
|
const i = Xl(), o = ui([i.refs?.setFloating ?? null, r]), a = i.variant;
|
|
9659
9660
|
return i.disabled ? null : /* @__PURE__ */ H.jsx(H.Fragment, { children: i.open && /* @__PURE__ */ H.jsxs(
|
|
9660
9661
|
"div",
|
|
@@ -9679,7 +9680,7 @@ K(function({ className: t = "", children: n, ...e }, r) {
|
|
|
9679
9680
|
}
|
|
9680
9681
|
) });
|
|
9681
9682
|
});
|
|
9682
|
-
|
|
9683
|
+
U(function({ children: t, asChild: n = !1, className: e = "", ...r }, i) {
|
|
9683
9684
|
const o = Xl(), a = ui([o.refs?.setReference, i]);
|
|
9684
9685
|
if (n && ar(t)) {
|
|
9685
9686
|
const l = t.props, s = l.ref, u = o.refs?.setReference, c = {
|
|
@@ -9688,8 +9689,8 @@ K(function({ children: t, asChild: n = !1, className: e = "", ...r }, i) {
|
|
|
9688
9689
|
...l,
|
|
9689
9690
|
"data-state": o.open ? "open" : "closed",
|
|
9690
9691
|
className: l.className + `${o.disabled && " jn:cursor-default"}`
|
|
9691
|
-
},
|
|
9692
|
-
return pi(t,
|
|
9692
|
+
}, g = o.getReferenceProps(c);
|
|
9693
|
+
return pi(t, g);
|
|
9693
9694
|
}
|
|
9694
9695
|
return /* @__PURE__ */ H.jsx(
|
|
9695
9696
|
"button",
|