@matthiaskrijgsman/mat-ui 0.0.26 → 0.0.28
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/README.md +22 -2
- package/dist/components/inputs/InputTextArea.d.ts +1 -0
- package/dist/index.js +445 -436
- package/dist/index.js.map +1 -1
- package/dist/index.umd.cjs +12 -12
- package/dist/index.umd.cjs.map +1 -1
- package/dist/style.css +1 -1
- package/package.json +4 -16
package/dist/index.js
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
"use client";
|
|
1
2
|
import * as E from "react";
|
|
2
3
|
import qa, { createContext as rt, useRef as ye, useLayoutEffect as Pr, useEffect as be, useId as Rr, useContext as me, useInsertionEffect as Ha, useMemo as Ee, useCallback as we, Children as Ru, isValidElement as Au, useState as ue, Fragment as Ar, createElement as Vn, forwardRef as Dr, Component as Du, version as Ou, useReducer as Mu, useImperativeHandle as Iu } from "react";
|
|
3
4
|
import * as Ka from "react-dom";
|
|
@@ -49,13 +50,13 @@ var Gt = {};
|
|
|
49
50
|
var No;
|
|
50
51
|
function Fu() {
|
|
51
52
|
return No || (No = 1, process.env.NODE_ENV !== "production" && (function() {
|
|
52
|
-
function e(
|
|
53
|
-
if (
|
|
54
|
-
if (typeof
|
|
55
|
-
return
|
|
56
|
-
if (typeof
|
|
57
|
-
switch (
|
|
58
|
-
case
|
|
53
|
+
function e(x) {
|
|
54
|
+
if (x == null) return null;
|
|
55
|
+
if (typeof x == "function")
|
|
56
|
+
return x.$$typeof === B ? null : x.displayName || x.name || null;
|
|
57
|
+
if (typeof x == "string") return x;
|
|
58
|
+
switch (x) {
|
|
59
|
+
case v:
|
|
59
60
|
return "Fragment";
|
|
60
61
|
case h:
|
|
61
62
|
return "Profiler";
|
|
@@ -68,126 +69,126 @@ function Fu() {
|
|
|
68
69
|
case O:
|
|
69
70
|
return "Activity";
|
|
70
71
|
}
|
|
71
|
-
if (typeof
|
|
72
|
-
switch (typeof
|
|
72
|
+
if (typeof x == "object")
|
|
73
|
+
switch (typeof x.tag == "number" && console.error(
|
|
73
74
|
"Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."
|
|
74
|
-
),
|
|
75
|
-
case
|
|
75
|
+
), x.$$typeof) {
|
|
76
|
+
case g:
|
|
76
77
|
return "Portal";
|
|
77
78
|
case w:
|
|
78
|
-
return (
|
|
79
|
+
return (x.displayName || "Context") + ".Provider";
|
|
79
80
|
case T:
|
|
80
|
-
return (
|
|
81
|
+
return (x._context.displayName || "Context") + ".Consumer";
|
|
81
82
|
case S:
|
|
82
|
-
var k =
|
|
83
|
-
return
|
|
83
|
+
var k = x.render;
|
|
84
|
+
return x = x.displayName, x || (x = k.displayName || k.name || "", x = x !== "" ? "ForwardRef(" + x + ")" : "ForwardRef"), x;
|
|
84
85
|
case j:
|
|
85
|
-
return k =
|
|
86
|
+
return k = x.displayName || null, k !== null ? k : e(x.type) || "Memo";
|
|
86
87
|
case P:
|
|
87
|
-
k =
|
|
88
|
+
k = x._payload, x = x._init;
|
|
88
89
|
try {
|
|
89
|
-
return e(
|
|
90
|
+
return e(x(k));
|
|
90
91
|
} catch {
|
|
91
92
|
}
|
|
92
93
|
}
|
|
93
94
|
return null;
|
|
94
95
|
}
|
|
95
|
-
function t(
|
|
96
|
-
return "" +
|
|
96
|
+
function t(x) {
|
|
97
|
+
return "" + x;
|
|
97
98
|
}
|
|
98
|
-
function n(
|
|
99
|
+
function n(x) {
|
|
99
100
|
try {
|
|
100
|
-
t(
|
|
101
|
+
t(x);
|
|
101
102
|
var k = !1;
|
|
102
103
|
} catch {
|
|
103
104
|
k = !0;
|
|
104
105
|
}
|
|
105
106
|
if (k) {
|
|
106
107
|
k = console;
|
|
107
|
-
var M = k.error, F = typeof Symbol == "function" && Symbol.toStringTag &&
|
|
108
|
+
var M = k.error, F = typeof Symbol == "function" && Symbol.toStringTag && x[Symbol.toStringTag] || x.constructor.name || "Object";
|
|
108
109
|
return M.call(
|
|
109
110
|
k,
|
|
110
111
|
"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
|
|
111
112
|
F
|
|
112
|
-
), t(
|
|
113
|
+
), t(x);
|
|
113
114
|
}
|
|
114
115
|
}
|
|
115
|
-
function i(
|
|
116
|
-
if (
|
|
117
|
-
if (typeof
|
|
116
|
+
function i(x) {
|
|
117
|
+
if (x === v) return "<>";
|
|
118
|
+
if (typeof x == "object" && x !== null && x.$$typeof === P)
|
|
118
119
|
return "<...>";
|
|
119
120
|
try {
|
|
120
|
-
var k = e(
|
|
121
|
+
var k = e(x);
|
|
121
122
|
return k ? "<" + k + ">" : "<...>";
|
|
122
123
|
} catch {
|
|
123
124
|
return "<...>";
|
|
124
125
|
}
|
|
125
126
|
}
|
|
126
127
|
function r() {
|
|
127
|
-
var
|
|
128
|
-
return
|
|
128
|
+
var x = D.A;
|
|
129
|
+
return x === null ? null : x.getOwner();
|
|
129
130
|
}
|
|
130
131
|
function o() {
|
|
131
132
|
return Error("react-stack-top-frame");
|
|
132
133
|
}
|
|
133
|
-
function s(
|
|
134
|
-
if (X.call(
|
|
135
|
-
var k = Object.getOwnPropertyDescriptor(
|
|
134
|
+
function s(x) {
|
|
135
|
+
if (X.call(x, "key")) {
|
|
136
|
+
var k = Object.getOwnPropertyDescriptor(x, "key").get;
|
|
136
137
|
if (k && k.isReactWarning) return !1;
|
|
137
138
|
}
|
|
138
|
-
return
|
|
139
|
+
return x.key !== void 0;
|
|
139
140
|
}
|
|
140
|
-
function a(
|
|
141
|
+
function a(x, k) {
|
|
141
142
|
function M() {
|
|
142
143
|
J || (J = !0, console.error(
|
|
143
144
|
"%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",
|
|
144
145
|
k
|
|
145
146
|
));
|
|
146
147
|
}
|
|
147
|
-
M.isReactWarning = !0, Object.defineProperty(
|
|
148
|
+
M.isReactWarning = !0, Object.defineProperty(x, "key", {
|
|
148
149
|
get: M,
|
|
149
150
|
configurable: !0
|
|
150
151
|
});
|
|
151
152
|
}
|
|
152
153
|
function l() {
|
|
153
|
-
var
|
|
154
|
-
return te[
|
|
154
|
+
var x = e(this.type);
|
|
155
|
+
return te[x] || (te[x] = !0, console.error(
|
|
155
156
|
"Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release."
|
|
156
|
-
)),
|
|
157
|
+
)), x = this.props.ref, x !== void 0 ? x : null;
|
|
157
158
|
}
|
|
158
|
-
function u(
|
|
159
|
-
return M = _.ref,
|
|
159
|
+
function u(x, k, M, F, V, _, U, z) {
|
|
160
|
+
return M = _.ref, x = {
|
|
160
161
|
$$typeof: m,
|
|
161
|
-
type:
|
|
162
|
+
type: x,
|
|
162
163
|
key: k,
|
|
163
164
|
props: _,
|
|
164
165
|
_owner: V
|
|
165
|
-
}, (M !== void 0 ? M : null) !== null ? Object.defineProperty(
|
|
166
|
+
}, (M !== void 0 ? M : null) !== null ? Object.defineProperty(x, "ref", {
|
|
166
167
|
enumerable: !1,
|
|
167
168
|
get: l
|
|
168
|
-
}) : Object.defineProperty(
|
|
169
|
+
}) : Object.defineProperty(x, "ref", { enumerable: !1, value: null }), x._store = {}, Object.defineProperty(x._store, "validated", {
|
|
169
170
|
configurable: !1,
|
|
170
171
|
enumerable: !1,
|
|
171
172
|
writable: !0,
|
|
172
173
|
value: 0
|
|
173
|
-
}), Object.defineProperty(
|
|
174
|
+
}), Object.defineProperty(x, "_debugInfo", {
|
|
174
175
|
configurable: !1,
|
|
175
176
|
enumerable: !1,
|
|
176
177
|
writable: !0,
|
|
177
178
|
value: null
|
|
178
|
-
}), Object.defineProperty(
|
|
179
|
+
}), Object.defineProperty(x, "_debugStack", {
|
|
179
180
|
configurable: !1,
|
|
180
181
|
enumerable: !1,
|
|
181
182
|
writable: !0,
|
|
182
183
|
value: U
|
|
183
|
-
}), Object.defineProperty(
|
|
184
|
+
}), Object.defineProperty(x, "_debugTask", {
|
|
184
185
|
configurable: !1,
|
|
185
186
|
enumerable: !1,
|
|
186
187
|
writable: !0,
|
|
187
188
|
value: z
|
|
188
|
-
}), Object.freeze && (Object.freeze(
|
|
189
|
+
}), Object.freeze && (Object.freeze(x.props), Object.freeze(x)), x;
|
|
189
190
|
}
|
|
190
|
-
function c(
|
|
191
|
+
function c(x, k, M, F, V, _, U, z) {
|
|
191
192
|
var L = k.children;
|
|
192
193
|
if (L !== void 0)
|
|
193
194
|
if (F)
|
|
@@ -201,7 +202,7 @@ function Fu() {
|
|
|
201
202
|
);
|
|
202
203
|
else d(L);
|
|
203
204
|
if (X.call(k, "key")) {
|
|
204
|
-
L = e(
|
|
205
|
+
L = e(x);
|
|
205
206
|
var K = Object.keys(k).filter(function(ce) {
|
|
206
207
|
return ce !== "key";
|
|
207
208
|
});
|
|
@@ -225,9 +226,9 @@ React keys must be passed directly to JSX without using spread:
|
|
|
225
226
|
} else M = k;
|
|
226
227
|
return L && a(
|
|
227
228
|
M,
|
|
228
|
-
typeof
|
|
229
|
+
typeof x == "function" ? x.displayName || x.name || "Unknown" : x
|
|
229
230
|
), u(
|
|
230
|
-
|
|
231
|
+
x,
|
|
231
232
|
L,
|
|
232
233
|
_,
|
|
233
234
|
V,
|
|
@@ -237,44 +238,44 @@ React keys must be passed directly to JSX without using spread:
|
|
|
237
238
|
z
|
|
238
239
|
);
|
|
239
240
|
}
|
|
240
|
-
function d(
|
|
241
|
-
typeof
|
|
241
|
+
function d(x) {
|
|
242
|
+
typeof x == "object" && x !== null && x.$$typeof === m && x._store && (x._store.validated = 1);
|
|
242
243
|
}
|
|
243
|
-
var f = qa, m = Symbol.for("react.transitional.element"),
|
|
244
|
+
var f = qa, m = Symbol.for("react.transitional.element"), g = Symbol.for("react.portal"), v = Symbol.for("react.fragment"), b = Symbol.for("react.strict_mode"), h = Symbol.for("react.profiler"), T = Symbol.for("react.consumer"), w = Symbol.for("react.context"), S = Symbol.for("react.forward_ref"), y = Symbol.for("react.suspense"), C = Symbol.for("react.suspense_list"), j = Symbol.for("react.memo"), P = Symbol.for("react.lazy"), O = Symbol.for("react.activity"), B = Symbol.for("react.client.reference"), D = f.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, X = Object.prototype.hasOwnProperty, H = Array.isArray, N = console.createTask ? console.createTask : function() {
|
|
244
245
|
return null;
|
|
245
246
|
};
|
|
246
247
|
f = {
|
|
247
|
-
react_stack_bottom_frame: function(
|
|
248
|
-
return
|
|
248
|
+
react_stack_bottom_frame: function(x) {
|
|
249
|
+
return x();
|
|
249
250
|
}
|
|
250
251
|
};
|
|
251
252
|
var J, te = {}, Y = f.react_stack_bottom_frame.bind(
|
|
252
253
|
f,
|
|
253
254
|
o
|
|
254
255
|
)(), W = N(i(o)), G = {};
|
|
255
|
-
Gt.Fragment =
|
|
256
|
+
Gt.Fragment = v, Gt.jsx = function(x, k, M, F, V) {
|
|
256
257
|
var _ = 1e4 > D.recentlyCreatedOwnerStacks++;
|
|
257
258
|
return c(
|
|
258
|
-
|
|
259
|
+
x,
|
|
259
260
|
k,
|
|
260
261
|
M,
|
|
261
262
|
!1,
|
|
262
263
|
F,
|
|
263
264
|
V,
|
|
264
265
|
_ ? Error("react-stack-top-frame") : Y,
|
|
265
|
-
_ ? N(i(
|
|
266
|
+
_ ? N(i(x)) : W
|
|
266
267
|
);
|
|
267
|
-
}, Gt.jsxs = function(
|
|
268
|
+
}, Gt.jsxs = function(x, k, M, F, V) {
|
|
268
269
|
var _ = 1e4 > D.recentlyCreatedOwnerStacks++;
|
|
269
270
|
return c(
|
|
270
|
-
|
|
271
|
+
x,
|
|
271
272
|
k,
|
|
272
273
|
M,
|
|
273
274
|
!0,
|
|
274
275
|
F,
|
|
275
276
|
V,
|
|
276
277
|
_ ? Error("react-stack-top-frame") : Y,
|
|
277
|
-
_ ? N(i(
|
|
278
|
+
_ ? N(i(x)) : W
|
|
278
279
|
);
|
|
279
280
|
};
|
|
280
281
|
})()), Gt;
|
|
@@ -432,8 +433,8 @@ function Hu(e, t) {
|
|
|
432
433
|
* Schedule a process to run on the next frame.
|
|
433
434
|
*/
|
|
434
435
|
schedule: (c, d = !1, f = !1) => {
|
|
435
|
-
const
|
|
436
|
-
return d && s.add(c),
|
|
436
|
+
const g = f && r ? n : i;
|
|
437
|
+
return d && s.add(c), g.has(c) || g.add(c), c;
|
|
437
438
|
},
|
|
438
439
|
/**
|
|
439
440
|
* Cancel the provided callback from running on the next frame.
|
|
@@ -461,11 +462,11 @@ function pl(e, t) {
|
|
|
461
462
|
delta: 0,
|
|
462
463
|
timestamp: 0,
|
|
463
464
|
isProcessing: !1
|
|
464
|
-
}, o = () => n = !0, s = Cn.reduce((w, S) => (w[S] = Hu(o), w), {}), { setup: a, read: l, resolveKeyframes: u, preUpdate: c, update: d, preRender: f, render: m, postRender:
|
|
465
|
+
}, o = () => n = !0, s = Cn.reduce((w, S) => (w[S] = Hu(o), w), {}), { setup: a, read: l, resolveKeyframes: u, preUpdate: c, update: d, preRender: f, render: m, postRender: g } = s, v = () => {
|
|
465
466
|
const w = Ye.useManualTiming ? r.timestamp : performance.now();
|
|
466
|
-
n = !1, Ye.useManualTiming || (r.delta = i ? 1e3 / 60 : Math.max(Math.min(w - r.timestamp, Ku), 1)), r.timestamp = w, r.isProcessing = !0, a.process(r), l.process(r), u.process(r), c.process(r), d.process(r), f.process(r), m.process(r),
|
|
467
|
+
n = !1, Ye.useManualTiming || (r.delta = i ? 1e3 / 60 : Math.max(Math.min(w - r.timestamp, Ku), 1)), r.timestamp = w, r.isProcessing = !0, a.process(r), l.process(r), u.process(r), c.process(r), d.process(r), f.process(r), m.process(r), g.process(r), r.isProcessing = !1, n && t && (i = !1, e(v));
|
|
467
468
|
}, b = () => {
|
|
468
|
-
n = !0, i = !0, r.isProcessing || e(
|
|
469
|
+
n = !0, i = !0, r.isProcessing || e(v);
|
|
469
470
|
};
|
|
470
471
|
return { schedule: Cn.reduce((w, S) => {
|
|
471
472
|
const y = s[S];
|
|
@@ -746,11 +747,11 @@ function bd({ duration: e = ae.duration, bounce: t = ae.bounce, velocity: n = ae
|
|
|
746
747
|
_t(e <= /* @__PURE__ */ Oe(ae.maxDuration), "Spring duration must be 10 seconds or less", "spring-duration-limit");
|
|
747
748
|
let s = 1 - t;
|
|
748
749
|
s = Ke(ae.minDamping, ae.maxDamping, s), e = Ke(ae.minDuration, ae.maxDuration, /* @__PURE__ */ ze(e)), s < 1 ? (r = (u) => {
|
|
749
|
-
const c = u * s, d = c * e, f = c - n, m = Ji(u, s),
|
|
750
|
-
return ki - f / m *
|
|
750
|
+
const c = u * s, d = c * e, f = c - n, m = Ji(u, s), g = Math.exp(-d);
|
|
751
|
+
return ki - f / m * g;
|
|
751
752
|
}, o = (u) => {
|
|
752
|
-
const d = u * s * e, f = d * n + n, m = Math.pow(s, 2) * Math.pow(u, 2) * e,
|
|
753
|
-
return (-r(u) + ki > 0 ? -1 : 1) * ((f - m) *
|
|
753
|
+
const d = u * s * e, f = d * n + n, m = Math.pow(s, 2) * Math.pow(u, 2) * e, g = Math.exp(-d), v = Ji(Math.pow(u, 2), s);
|
|
754
|
+
return (-r(u) + ki > 0 ? -1 : 1) * ((f - m) * g) / v;
|
|
754
755
|
}) : (r = (u) => {
|
|
755
756
|
const c = Math.exp(-u * e), d = (u - n) * e + 1;
|
|
756
757
|
return -ki + c * d;
|
|
@@ -826,22 +827,22 @@ function an(e = ae.visualDuration, t = ae.bounce) {
|
|
|
826
827
|
const o = n.keyframes[0], s = n.keyframes[n.keyframes.length - 1], a = { done: !1, value: o }, { stiffness: l, damping: u, mass: c, duration: d, velocity: f, isResolvedFromDuration: m } = jd({
|
|
827
828
|
...n,
|
|
828
829
|
velocity: -/* @__PURE__ */ ze(n.velocity || 0)
|
|
829
|
-
}),
|
|
830
|
+
}), g = f || 0, v = u / (2 * Math.sqrt(l * c)), b = s - o, h = /* @__PURE__ */ ze(Math.sqrt(l / c)), T = Math.abs(b) < 5;
|
|
830
831
|
i || (i = T ? ae.restSpeed.granular : ae.restSpeed.default), r || (r = T ? ae.restDelta.granular : ae.restDelta.default);
|
|
831
832
|
let w;
|
|
832
|
-
if (
|
|
833
|
-
const y = Ji(h,
|
|
833
|
+
if (v < 1) {
|
|
834
|
+
const y = Ji(h, v);
|
|
834
835
|
w = (C) => {
|
|
835
|
-
const j = Math.exp(-
|
|
836
|
-
return s - j * ((
|
|
836
|
+
const j = Math.exp(-v * h * C);
|
|
837
|
+
return s - j * ((g + v * h * b) / y * Math.sin(y * C) + b * Math.cos(y * C));
|
|
837
838
|
};
|
|
838
|
-
} else if (
|
|
839
|
-
w = (y) => s - Math.exp(-h * y) * (b + (
|
|
839
|
+
} else if (v === 1)
|
|
840
|
+
w = (y) => s - Math.exp(-h * y) * (b + (g + h * b) * y);
|
|
840
841
|
else {
|
|
841
|
-
const y = h * Math.sqrt(
|
|
842
|
+
const y = h * Math.sqrt(v * v - 1);
|
|
842
843
|
w = (C) => {
|
|
843
|
-
const j = Math.exp(-
|
|
844
|
-
return s - j * ((
|
|
844
|
+
const j = Math.exp(-v * h * C), P = Math.min(y * C, 300);
|
|
845
|
+
return s - j * ((g + v * h * b) * Math.sinh(P) + y * b * Math.cosh(P)) / y;
|
|
845
846
|
};
|
|
846
847
|
}
|
|
847
848
|
const S = {
|
|
@@ -851,8 +852,8 @@ function an(e = ae.visualDuration, t = ae.bounce) {
|
|
|
851
852
|
if (m)
|
|
852
853
|
a.done = y >= d;
|
|
853
854
|
else {
|
|
854
|
-
let j = y === 0 ?
|
|
855
|
-
|
|
855
|
+
let j = y === 0 ? g : 0;
|
|
856
|
+
v < 1 && (j = y === 0 ? /* @__PURE__ */ Oe(g) : Sl(w, y, C));
|
|
856
857
|
const P = Math.abs(j) <= i, O = Math.abs(s - C) <= r;
|
|
857
858
|
a.done = P && O;
|
|
858
859
|
}
|
|
@@ -875,18 +876,18 @@ function Qi({ keyframes: e, velocity: t = 0, power: n = 0.8, timeConstant: i = 3
|
|
|
875
876
|
const d = e[0], f = {
|
|
876
877
|
done: !1,
|
|
877
878
|
value: d
|
|
878
|
-
}, m = (P) => a !== void 0 && P < a || l !== void 0 && P > l,
|
|
879
|
-
let
|
|
880
|
-
const b = d +
|
|
881
|
-
h !== b && (
|
|
882
|
-
const T = (P) => -
|
|
879
|
+
}, m = (P) => a !== void 0 && P < a || l !== void 0 && P > l, g = (P) => a === void 0 ? l : l === void 0 || Math.abs(a - P) < Math.abs(l - P) ? a : l;
|
|
880
|
+
let v = n * t;
|
|
881
|
+
const b = d + v, h = s === void 0 ? b : s(b);
|
|
882
|
+
h !== b && (v = h - d);
|
|
883
|
+
const T = (P) => -v * Math.exp(-P / i), w = (P) => h + T(P), S = (P) => {
|
|
883
884
|
const O = T(P), B = w(P);
|
|
884
885
|
f.done = Math.abs(O) <= u, f.value = f.done ? h : B;
|
|
885
886
|
};
|
|
886
887
|
let y, C;
|
|
887
888
|
const j = (P) => {
|
|
888
889
|
m(f.value) && (y = P, C = an({
|
|
889
|
-
keyframes: [f.value,
|
|
890
|
+
keyframes: [f.value, g(f.value)],
|
|
890
891
|
velocity: Sl(w, P, f.value),
|
|
891
892
|
// TODO: This should be passing * 1000
|
|
892
893
|
damping: r,
|
|
@@ -1040,7 +1041,7 @@ class Gr extends Yr {
|
|
|
1040
1041
|
const { generator: i, totalDuration: r, mixKeyframes: o, mirroredGenerator: s, resolvedDuration: a, calculatedDuration: l } = this;
|
|
1041
1042
|
if (this.startTime === null)
|
|
1042
1043
|
return i.next(0);
|
|
1043
|
-
const { delay: u = 0, keyframes: c, repeat: d, repeatType: f, repeatDelay: m, type:
|
|
1044
|
+
const { delay: u = 0, keyframes: c, repeat: d, repeatType: f, repeatDelay: m, type: g, onUpdate: v, finalKeyframe: b } = this.options;
|
|
1044
1045
|
this.speed > 0 ? this.startTime = Math.min(this.startTime, t) : this.speed < 0 && (this.startTime = Math.min(t - r / this.speed, this.startTime)), n ? this.currentTime = t : this.updateTime(t);
|
|
1045
1046
|
const h = this.currentTime - u * (this.playbackSpeed >= 0 ? 1 : -1), T = this.playbackSpeed >= 0 ? h < 0 : h > r;
|
|
1046
1047
|
this.currentTime = Math.max(h, 0), this.state === "finished" && this.holdTime === null && (this.currentTime = r);
|
|
@@ -1055,7 +1056,7 @@ class Gr extends Yr {
|
|
|
1055
1056
|
let { done: C } = y;
|
|
1056
1057
|
!T && l !== null && (C = this.playbackSpeed >= 0 ? this.currentTime >= r : this.currentTime <= 0);
|
|
1057
1058
|
const j = this.holdTime === null && (this.state === "finished" || this.state === "running" && C);
|
|
1058
|
-
return j &&
|
|
1059
|
+
return j && g !== Qi && (y.value = Kr(c, this.options, b, this.speed)), v && v(y.value), j && this.finish(), y;
|
|
1059
1060
|
}
|
|
1060
1061
|
/**
|
|
1061
1062
|
* Allows the returned animation to be awaited or promise-chained. Currently
|
|
@@ -1527,7 +1528,7 @@ class op extends Yr {
|
|
|
1527
1528
|
element: c,
|
|
1528
1529
|
...d
|
|
1529
1530
|
}, m = c?.KeyframeResolver || Xr;
|
|
1530
|
-
this.keyframeResolver = new m(a, (
|
|
1531
|
+
this.keyframeResolver = new m(a, (g, v, b) => this.onKeyframesResolved(g, v, f, !b), l, u, c), this.keyframeResolver?.scheduleResolve();
|
|
1531
1532
|
}
|
|
1532
1533
|
onKeyframesResolved(t, n, i, r) {
|
|
1533
1534
|
this.keyframeResolver = void 0;
|
|
@@ -2178,8 +2179,8 @@ function Pp(e, t, n = {}) {
|
|
|
2178
2179
|
if (!is(a))
|
|
2179
2180
|
return;
|
|
2180
2181
|
_n.add(l);
|
|
2181
|
-
const u = t(l, a), c = (m,
|
|
2182
|
-
window.removeEventListener("pointerup", d), window.removeEventListener("pointercancel", f), _n.has(l) && _n.delete(l), is(m) && typeof u == "function" && u(m, { success:
|
|
2182
|
+
const u = t(l, a), c = (m, g) => {
|
|
2183
|
+
window.removeEventListener("pointerup", d), window.removeEventListener("pointercancel", f), _n.has(l) && _n.delete(l), is(m) && typeof u == "function" && u(m, { success: g });
|
|
2183
2184
|
}, d = (m) => {
|
|
2184
2185
|
c(m, l === window || l === document || n.useGlobalTarget || Wl(l, m.target));
|
|
2185
2186
|
}, f = (m) => {
|
|
@@ -2234,10 +2235,10 @@ function Op({ children: e, isPresent: t, anchorX: n, root: i }) {
|
|
|
2234
2235
|
return;
|
|
2235
2236
|
const m = n === "left" ? `left: ${d}` : `right: ${f}`;
|
|
2236
2237
|
o.current.dataset.motionPopId = r;
|
|
2237
|
-
const
|
|
2238
|
-
a && (
|
|
2239
|
-
const
|
|
2240
|
-
return
|
|
2238
|
+
const g = document.createElement("style");
|
|
2239
|
+
a && (g.nonce = a);
|
|
2240
|
+
const v = i ?? document.head;
|
|
2241
|
+
return v.appendChild(g), g.sheet && g.sheet.insertRule(`
|
|
2241
2242
|
[data-motion-pop-id="${r}"] {
|
|
2242
2243
|
position: absolute !important;
|
|
2243
2244
|
width: ${l}px !important;
|
|
@@ -2246,7 +2247,7 @@ function Op({ children: e, isPresent: t, anchorX: n, root: i }) {
|
|
|
2246
2247
|
top: ${c}px !important;
|
|
2247
2248
|
}
|
|
2248
2249
|
`), () => {
|
|
2249
|
-
|
|
2250
|
+
v.contains(g) && v.removeChild(g);
|
|
2250
2251
|
};
|
|
2251
2252
|
}, [t]), p.jsx(Dp, { isPresent: t, childRef: o, sizeRef: s, children: E.cloneElement(e, { ref: o }) });
|
|
2252
2253
|
}
|
|
@@ -2259,15 +2260,15 @@ const Mp = ({ children: e, initial: t, isPresent: n, onExitComplete: i, custom:
|
|
|
2259
2260
|
custom: r,
|
|
2260
2261
|
onExitComplete: (m) => {
|
|
2261
2262
|
u.set(m, !0);
|
|
2262
|
-
for (const
|
|
2263
|
-
if (!
|
|
2263
|
+
for (const g of u.values())
|
|
2264
|
+
if (!g)
|
|
2264
2265
|
return;
|
|
2265
2266
|
i && i();
|
|
2266
2267
|
},
|
|
2267
2268
|
register: (m) => (u.set(m, !1), () => u.delete(m))
|
|
2268
2269
|
}), [n, u, i]);
|
|
2269
2270
|
return o && d && (f = { ...f }), Ee(() => {
|
|
2270
|
-
u.forEach((m,
|
|
2271
|
+
u.forEach((m, g) => u.set(g, !1));
|
|
2271
2272
|
}, [n]), E.useEffect(() => {
|
|
2272
2273
|
!n && !u.size && i && i();
|
|
2273
2274
|
}, [n]), s === "popLayout" && (e = p.jsx(Op, { isPresent: n, anchorX: a, root: l, children: e })), p.jsx(ni.Provider, { value: f, children: e });
|
|
@@ -2295,12 +2296,12 @@ function rs(e) {
|
|
|
2295
2296
|
}), t;
|
|
2296
2297
|
}
|
|
2297
2298
|
const ri = ({ children: e, custom: t, initial: n = !0, onExitComplete: i, presenceAffectsLayout: r = !0, mode: o = "sync", propagate: s = !1, anchorX: a = "left", root: l }) => {
|
|
2298
|
-
const [u, c] = ql(s), d = Ee(() => rs(e), [e]), f = s && !u ? [] : d.map(Rn), m = ye(!0),
|
|
2299
|
+
const [u, c] = ql(s), d = Ee(() => rs(e), [e]), f = s && !u ? [] : d.map(Rn), m = ye(!0), g = ye(d), v = Mr(() => /* @__PURE__ */ new Map()), [b, h] = ue(d), [T, w] = ue(d);
|
|
2299
2300
|
Ga(() => {
|
|
2300
|
-
m.current = !1,
|
|
2301
|
+
m.current = !1, g.current = d;
|
|
2301
2302
|
for (let C = 0; C < T.length; C++) {
|
|
2302
2303
|
const j = Rn(T[C]);
|
|
2303
|
-
f.includes(j) ?
|
|
2304
|
+
f.includes(j) ? v.delete(j) : v.get(j) !== !0 && v.set(j, !1);
|
|
2304
2305
|
}
|
|
2305
2306
|
}, [T, f.length, f.join("-")]);
|
|
2306
2307
|
const S = [];
|
|
@@ -2316,14 +2317,14 @@ const ri = ({ children: e, custom: t, initial: n = !0, onExitComplete: i, presen
|
|
|
2316
2317
|
const { forceRender: y } = me(Or);
|
|
2317
2318
|
return p.jsx(p.Fragment, { children: T.map((C) => {
|
|
2318
2319
|
const j = Rn(C), P = s && !u ? !1 : d === T || f.includes(j), O = () => {
|
|
2319
|
-
if (
|
|
2320
|
-
|
|
2320
|
+
if (v.has(j))
|
|
2321
|
+
v.set(j, !0);
|
|
2321
2322
|
else
|
|
2322
2323
|
return;
|
|
2323
2324
|
let B = !0;
|
|
2324
|
-
|
|
2325
|
+
v.forEach((D) => {
|
|
2325
2326
|
D || (B = !1);
|
|
2326
|
-
}), B && (y?.(), w(
|
|
2327
|
+
}), B && (y?.(), w(g.current), s && c?.(), i && i());
|
|
2327
2328
|
};
|
|
2328
2329
|
return p.jsx(Mp, { isPresent: P, initial: !m.current || n ? void 0 : !1, custom: t, presenceAffectsLayout: r, mode: o, root: l, onExitComplete: P ? void 0 : O, anchorX: a, children: C }, j);
|
|
2329
2330
|
}) });
|
|
@@ -2668,9 +2669,9 @@ function tf(e, t, n, i) {
|
|
|
2668
2669
|
if (d && typeof d != "boolean" && !si(d)) {
|
|
2669
2670
|
const f = Array.isArray(d) ? d : [d];
|
|
2670
2671
|
for (let m = 0; m < f.length; m++) {
|
|
2671
|
-
const
|
|
2672
|
-
if (
|
|
2673
|
-
const { transitionEnd:
|
|
2672
|
+
const g = co(e, f[m]);
|
|
2673
|
+
if (g) {
|
|
2674
|
+
const { transitionEnd: v, transition: b, ...h } = g;
|
|
2674
2675
|
for (const T in h) {
|
|
2675
2676
|
let w = h[T];
|
|
2676
2677
|
if (Array.isArray(w)) {
|
|
@@ -2679,8 +2680,8 @@ function tf(e, t, n, i) {
|
|
|
2679
2680
|
}
|
|
2680
2681
|
w !== null && (r[T] = w);
|
|
2681
2682
|
}
|
|
2682
|
-
for (const T in
|
|
2683
|
-
r[T] =
|
|
2683
|
+
for (const T in v)
|
|
2684
|
+
r[T] = v[T];
|
|
2684
2685
|
}
|
|
2685
2686
|
}
|
|
2686
2687
|
}
|
|
@@ -2746,13 +2747,13 @@ function lf(e, t, n, i, r) {
|
|
|
2746
2747
|
Ha(() => {
|
|
2747
2748
|
c && f.current && c.update(n, a);
|
|
2748
2749
|
});
|
|
2749
|
-
const m = n[nc],
|
|
2750
|
+
const m = n[nc], g = ye(!!m && !window.MotionHandoffIsComplete?.(m) && window.MotionHasOptimisedAnimation?.(m));
|
|
2750
2751
|
return Ga(() => {
|
|
2751
|
-
c && (f.current = !0, window.MotionIsMounted = !0, c.updateFeatures(), c.scheduleRenderMicrotask(),
|
|
2752
|
+
c && (f.current = !0, window.MotionIsMounted = !0, c.updateFeatures(), c.scheduleRenderMicrotask(), g.current && c.animationState && c.animationState.animateChanges());
|
|
2752
2753
|
}), be(() => {
|
|
2753
|
-
c && (!
|
|
2754
|
+
c && (!g.current && c.animationState && c.animationState.animateChanges(), g.current && (queueMicrotask(() => {
|
|
2754
2755
|
window.MotionHandoffMarkAsComplete?.(m);
|
|
2755
|
-
}),
|
|
2756
|
+
}), g.current = !1), c.enteringChildren = void 0);
|
|
2756
2757
|
}), c;
|
|
2757
2758
|
}
|
|
2758
2759
|
function cf(e, t, n, i) {
|
|
@@ -2792,8 +2793,8 @@ function Ei(e, { forwardMotionProps: t = !1 } = {}, n, i) {
|
|
|
2792
2793
|
}, { isStatic: d } = c, f = zp(a), m = r(a, d);
|
|
2793
2794
|
if (!d && Ir) {
|
|
2794
2795
|
df(c, n);
|
|
2795
|
-
const
|
|
2796
|
-
u =
|
|
2796
|
+
const g = pf(c);
|
|
2797
|
+
u = g.MeasureLayout, f.visualElement = lf(e, m, c, i, g.ProjectionNode);
|
|
2797
2798
|
}
|
|
2798
2799
|
return p.jsxs(oi.Provider, { value: f, children: [u && f.visualElement ? p.jsx(u, { visualElement: f.visualElement, ...c }) : null, Qp(e, a, sf(m, f.visualElement, l), m, d, t)] });
|
|
2799
2800
|
}
|
|
@@ -3393,18 +3394,18 @@ function mo(e, t, { delay: n = 0, transitionOverride: i, type: r } = {}) {
|
|
|
3393
3394
|
const m = {
|
|
3394
3395
|
delay: n,
|
|
3395
3396
|
...Jr(o || {}, c)
|
|
3396
|
-
},
|
|
3397
|
-
if (
|
|
3397
|
+
}, g = d.get();
|
|
3398
|
+
if (g !== void 0 && !d.isAnimating && !Array.isArray(f) && f === g && !m.velocity)
|
|
3398
3399
|
continue;
|
|
3399
|
-
let
|
|
3400
|
+
let v = !1;
|
|
3400
3401
|
if (window.MotionHandoffAnimation) {
|
|
3401
3402
|
const h = gc(e);
|
|
3402
3403
|
if (h) {
|
|
3403
3404
|
const T = window.MotionHandoffAnimation(h, c, oe);
|
|
3404
|
-
T !== null && (m.startTime = T,
|
|
3405
|
+
T !== null && (m.startTime = T, v = !0);
|
|
3405
3406
|
}
|
|
3406
3407
|
}
|
|
3407
|
-
fr(e, c), d.start(fo(c, d, f, e.shouldReduceMotion && Ml.has(c) ? { type: !1 } : m, e,
|
|
3408
|
+
fr(e, c), d.start(fo(c, d, f, e.shouldReduceMotion && Ml.has(c) ? { type: !1 } : m, e, v));
|
|
3408
3409
|
const b = d.animation;
|
|
3409
3410
|
b && l.push(b);
|
|
3410
3411
|
}
|
|
@@ -3492,8 +3493,8 @@ function $f(e) {
|
|
|
3492
3493
|
const r = (l) => (u, c) => {
|
|
3493
3494
|
const d = Ot(e, c, l === "exit" ? e.presenceContext?.custom : void 0);
|
|
3494
3495
|
if (d) {
|
|
3495
|
-
const { transition: f, transitionEnd: m, ...
|
|
3496
|
-
u = { ...u, ...
|
|
3496
|
+
const { transition: f, transitionEnd: m, ...g } = d;
|
|
3497
|
+
u = { ...u, ...g, ...m };
|
|
3497
3498
|
}
|
|
3498
3499
|
return u;
|
|
3499
3500
|
};
|
|
@@ -3502,10 +3503,10 @@ function $f(e) {
|
|
|
3502
3503
|
}
|
|
3503
3504
|
function s(l) {
|
|
3504
3505
|
const { props: u } = e, c = yc(e.parent) || {}, d = [], f = /* @__PURE__ */ new Set();
|
|
3505
|
-
let m = {},
|
|
3506
|
+
let m = {}, g = 1 / 0;
|
|
3506
3507
|
for (let b = 0; b < zf; b++) {
|
|
3507
3508
|
const h = _f[b], T = n[h], w = u[h] !== void 0 ? u[h] : c[h], S = ln(w), y = h === l ? T.isActive : null;
|
|
3508
|
-
y === !1 && (
|
|
3509
|
+
y === !1 && (g = b);
|
|
3509
3510
|
let C = w === c[h] && w !== u[h] && S;
|
|
3510
3511
|
if (C && i && e.manuallyAnimateOnMount && (C = !1), T.protectedKeys = { ...m }, // If it isn't active and hasn't *just* been set as inactive
|
|
3511
3512
|
!T.isActive && y === null || // If we didn't and don't have any defined prop for this animation type
|
|
@@ -3515,7 +3516,7 @@ function $f(e) {
|
|
|
3515
3516
|
const j = Wf(T.prevProp, w);
|
|
3516
3517
|
let P = j || // If we're making this variant active, we want to always make it active
|
|
3517
3518
|
h === l && T.isActive && !C && S || // If we removed a higher-priority variant (i is in reverse order)
|
|
3518
|
-
b >
|
|
3519
|
+
b > g && S, O = !1;
|
|
3519
3520
|
const B = Array.isArray(w) ? w : [w];
|
|
3520
3521
|
let D = B.reduce(r(h), {});
|
|
3521
3522
|
y === !1 && (D = {});
|
|
@@ -3531,17 +3532,17 @@ function $f(e) {
|
|
|
3531
3532
|
const W = D[Y], G = X[Y];
|
|
3532
3533
|
if (m.hasOwnProperty(Y))
|
|
3533
3534
|
continue;
|
|
3534
|
-
let
|
|
3535
|
-
pr(W) && pr(G) ?
|
|
3535
|
+
let x = !1;
|
|
3536
|
+
pr(W) && pr(G) ? x = !xc(W, G) : x = W !== G, x ? W != null ? N(Y) : f.add(Y) : W !== void 0 && f.has(Y) ? N(Y) : T.protectedKeys[Y] = !0;
|
|
3536
3537
|
}
|
|
3537
3538
|
T.prevProp = w, T.prevResolvedValues = D, T.isActive && (m = { ...m, ...D }), i && e.blockInitialAnimation && (P = !1);
|
|
3538
3539
|
const J = C && j;
|
|
3539
3540
|
P && (!J || O) && d.push(...B.map((Y) => {
|
|
3540
3541
|
const W = { type: h };
|
|
3541
3542
|
if (typeof Y == "string" && i && !J && e.manuallyAnimateOnMount && e.parent) {
|
|
3542
|
-
const { parent: G } = e,
|
|
3543
|
-
if (G.enteringChildren &&
|
|
3544
|
-
const { delayChildren: k } =
|
|
3543
|
+
const { parent: G } = e, x = Ot(G, Y);
|
|
3544
|
+
if (G.enteringChildren && x) {
|
|
3545
|
+
const { delayChildren: k } = x.transition || {};
|
|
3545
3546
|
W.delay = vc(G.enteringChildren, e, k);
|
|
3546
3547
|
}
|
|
3547
3548
|
}
|
|
@@ -3562,8 +3563,8 @@ function $f(e) {
|
|
|
3562
3563
|
w && (w.liveStyle = !0), b[h] = T ?? null;
|
|
3563
3564
|
}), d.push({ animation: b });
|
|
3564
3565
|
}
|
|
3565
|
-
let
|
|
3566
|
-
return i && (u.initial === !1 || u.initial === u.animate) && !e.manuallyAnimateOnMount && (
|
|
3566
|
+
let v = !!d.length;
|
|
3567
|
+
return i && (u.initial === !1 || u.initial === u.animate) && !e.manuallyAnimateOnMount && (v = !1), i = !1, v ? t(d) : Promise.resolve();
|
|
3567
3568
|
}
|
|
3568
3569
|
function a(l, u) {
|
|
3569
3570
|
if (n[l].isActive === u)
|
|
@@ -3724,22 +3725,22 @@ class Sc {
|
|
|
3724
3725
|
if (this.startEvent = null, this.lastMoveEvent = null, this.lastMoveEventInfo = null, this.handlers = {}, this.contextWindow = window, this.updatePoint = () => {
|
|
3725
3726
|
if (!(this.lastMoveEvent && this.lastMoveEventInfo))
|
|
3726
3727
|
return;
|
|
3727
|
-
const f = Ri(this.lastMoveEventInfo, this.history), m = this.startEvent !== null,
|
|
3728
|
-
if (!m && !
|
|
3728
|
+
const f = Ri(this.lastMoveEventInfo, this.history), m = this.startEvent !== null, g = tm(f.offset, { x: 0, y: 0 }) >= this.distanceThreshold;
|
|
3729
|
+
if (!m && !g)
|
|
3729
3730
|
return;
|
|
3730
|
-
const { point:
|
|
3731
|
-
this.history.push({ ...
|
|
3731
|
+
const { point: v } = f, { timestamp: b } = xe;
|
|
3732
|
+
this.history.push({ ...v, timestamp: b });
|
|
3732
3733
|
const { onStart: h, onMove: T } = this.handlers;
|
|
3733
3734
|
m || (h && h(this.lastMoveEvent, f), this.startEvent = this.lastMoveEvent), T && T(this.lastMoveEvent, f);
|
|
3734
3735
|
}, this.handlePointerMove = (f, m) => {
|
|
3735
3736
|
this.lastMoveEvent = f, this.lastMoveEventInfo = Pi(m, this.transformPagePoint), oe.update(this.updatePoint, !0);
|
|
3736
3737
|
}, this.handlePointerUp = (f, m) => {
|
|
3737
3738
|
this.end();
|
|
3738
|
-
const { onEnd:
|
|
3739
|
+
const { onEnd: g, onSessionEnd: v, resumeAnimation: b } = this.handlers;
|
|
3739
3740
|
if (this.dragSnapToOrigin && b && b(), !(this.lastMoveEvent && this.lastMoveEventInfo))
|
|
3740
3741
|
return;
|
|
3741
3742
|
const h = Ri(f.type === "pointercancel" ? this.lastMoveEventInfo : Pi(m, this.transformPagePoint), this.history);
|
|
3742
|
-
this.startEvent &&
|
|
3743
|
+
this.startEvent && g && g(f, h), v && v(f, h);
|
|
3743
3744
|
}, !to(t))
|
|
3744
3745
|
return;
|
|
3745
3746
|
this.dragSnapToOrigin = o, this.handlers = n, this.transformPagePoint = i, this.distanceThreshold = s, this.contextWindow = r || window;
|
|
@@ -3856,8 +3857,8 @@ class dm {
|
|
|
3856
3857
|
const { dragSnapToOrigin: f } = this.getProps();
|
|
3857
3858
|
f ? this.pauseAnimation() : this.stopAnimation(), n && this.snapToCursor(bn(d).point);
|
|
3858
3859
|
}, s = (d, f) => {
|
|
3859
|
-
const { drag: m, dragPropagation:
|
|
3860
|
-
if (m && !
|
|
3860
|
+
const { drag: m, dragPropagation: g, onDragStart: v } = this.getProps();
|
|
3861
|
+
if (m && !g && (this.openDragLock && this.openDragLock(), this.openDragLock = Sp(m), !this.openDragLock))
|
|
3861
3862
|
return;
|
|
3862
3863
|
this.latestPointerEvent = d, this.latestPanInfo = f, this.isDragging = !0, this.currentDirection = null, this.resolveConstraints(), this.visualElement.projection && (this.visualElement.projection.isAnimationBlocked = !0, this.visualElement.projection.target = void 0), Re((h) => {
|
|
3863
3864
|
let T = this.getAxisMotionValue(h).get() || 0;
|
|
@@ -3869,17 +3870,17 @@ class dm {
|
|
|
3869
3870
|
}
|
|
3870
3871
|
}
|
|
3871
3872
|
this.originPoint[h] = T;
|
|
3872
|
-
}),
|
|
3873
|
+
}), v && oe.postRender(() => v(d, f)), fr(this.visualElement, "transform");
|
|
3873
3874
|
const { animationState: b } = this.visualElement;
|
|
3874
3875
|
b && b.setActive("whileDrag", !0);
|
|
3875
3876
|
}, a = (d, f) => {
|
|
3876
3877
|
this.latestPointerEvent = d, this.latestPanInfo = f;
|
|
3877
|
-
const { dragPropagation: m, dragDirectionLock:
|
|
3878
|
+
const { dragPropagation: m, dragDirectionLock: g, onDirectionLock: v, onDrag: b } = this.getProps();
|
|
3878
3879
|
if (!m && !this.openDragLock)
|
|
3879
3880
|
return;
|
|
3880
3881
|
const { offset: h } = f;
|
|
3881
|
-
if (
|
|
3882
|
-
this.currentDirection = pm(h), this.currentDirection !== null &&
|
|
3882
|
+
if (g && this.currentDirection === null) {
|
|
3883
|
+
this.currentDirection = pm(h), this.currentDirection !== null && v && v(this.currentDirection);
|
|
3883
3884
|
return;
|
|
3884
3885
|
}
|
|
3885
3886
|
this.updateAxis("x", f.point, h), this.updateAxis("y", f.point, h), this.visualElement.render(), b && b(d, f);
|
|
@@ -3958,7 +3959,7 @@ class dm {
|
|
|
3958
3959
|
return;
|
|
3959
3960
|
let d = l && l[c] || {};
|
|
3960
3961
|
s && (d = { min: 0, max: 0 });
|
|
3961
|
-
const f = r ? 200 : 1e6, m = r ? 40 : 1e7,
|
|
3962
|
+
const f = r ? 200 : 1e6, m = r ? 40 : 1e7, g = {
|
|
3962
3963
|
type: "inertia",
|
|
3963
3964
|
velocity: i ? t[c] : 0,
|
|
3964
3965
|
bounceStiffness: f,
|
|
@@ -3969,7 +3970,7 @@ class dm {
|
|
|
3969
3970
|
...o,
|
|
3970
3971
|
...d
|
|
3971
3972
|
};
|
|
3972
|
-
return this.startAxisValueAnimation(c,
|
|
3973
|
+
return this.startAxisValueAnimation(c, g);
|
|
3973
3974
|
});
|
|
3974
3975
|
return Promise.all(u).then(a);
|
|
3975
3976
|
}
|
|
@@ -4375,8 +4376,8 @@ function Am(e, t, n) {
|
|
|
4375
4376
|
let i = "";
|
|
4376
4377
|
const r = e.x.translate / t.x, o = e.y.translate / t.y, s = n?.z || 0;
|
|
4377
4378
|
if ((r || o || s) && (i = `translate3d(${r}px, ${o}px, ${s}px) `), (t.x !== 1 || t.y !== 1) && (i += `scale(${1 / t.x}, ${1 / t.y}) `), n) {
|
|
4378
|
-
const { transformPerspective: u, rotate: c, rotateX: d, rotateY: f, skewX: m, skewY:
|
|
4379
|
-
u && (i = `perspective(${u}px) ${i}`), c && (i += `rotate(${c}deg) `), d && (i += `rotateX(${d}deg) `), f && (i += `rotateY(${f}deg) `), m && (i += `skewX(${m}deg) `),
|
|
4379
|
+
const { transformPerspective: u, rotate: c, rotateX: d, rotateY: f, skewX: m, skewY: g } = n;
|
|
4380
|
+
u && (i = `perspective(${u}px) ${i}`), c && (i += `rotate(${c}deg) `), d && (i += `rotateX(${d}deg) `), f && (i += `rotateY(${f}deg) `), m && (i += `skewX(${m}deg) `), g && (i += `skewY(${g}deg) `);
|
|
4380
4381
|
}
|
|
4381
4382
|
const a = e.x.scale * t.x, l = e.y.scale * t.y;
|
|
4382
4383
|
return (a !== 1 || l !== 1) && (i += `scale(${a}, ${l})`), i || "none";
|
|
@@ -4446,12 +4447,12 @@ function Oc({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
|
|
|
4446
4447
|
this.target = void 0, this.relativeTarget = void 0;
|
|
4447
4448
|
return;
|
|
4448
4449
|
}
|
|
4449
|
-
const
|
|
4450
|
+
const g = this.options.transition || u.getDefaultTransition() || qm, { onLayoutAnimationStart: v, onLayoutAnimationComplete: b } = u.getProps(), h = !this.targetLayout || !Ac(this.targetLayout, m), T = !d && f;
|
|
4450
4451
|
if (this.options.layoutRoot || this.resumeFrom || T || d && (h || !this.currentAnimation)) {
|
|
4451
4452
|
this.resumeFrom && (this.resumingFrom = this.resumeFrom, this.resumingFrom.resumingFrom = void 0);
|
|
4452
4453
|
const w = {
|
|
4453
|
-
...Jr(
|
|
4454
|
-
onPlay:
|
|
4454
|
+
...Jr(g, "layout"),
|
|
4455
|
+
onPlay: v,
|
|
4455
4456
|
onComplete: b
|
|
4456
4457
|
};
|
|
4457
4458
|
(u.shouldReduceMotion || this.options.layoutRoot) && (w.delay = 0, w.type = !1), this.startAnimation(w), this.setAnimationOrigin(c, T);
|
|
@@ -4703,12 +4704,12 @@ function Oc({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
|
|
|
4703
4704
|
setAnimationOrigin(s, a = !1) {
|
|
4704
4705
|
const l = this.snapshot, u = l ? l.latestValues : {}, c = { ...this.latestValues }, d = Dt();
|
|
4705
4706
|
(!this.relativeParent || !this.relativeParent.options.layoutRoot) && (this.relativeTarget = this.relativeTargetOrigin = void 0), this.attemptToResolveRelativeTarget = !a;
|
|
4706
|
-
const f = le(), m = l ? l.source : void 0,
|
|
4707
|
+
const f = le(), m = l ? l.source : void 0, g = this.layout ? this.layout.source : void 0, v = m !== g, b = this.getStack(), h = !b || b.members.length <= 1, T = !!(v && !h && this.options.crossfade === !0 && !this.path.some(Um));
|
|
4707
4708
|
this.animationProgress = 0;
|
|
4708
4709
|
let w;
|
|
4709
4710
|
this.mixTargetDelta = (S) => {
|
|
4710
4711
|
const y = S / 1e3;
|
|
4711
|
-
Us(d.x, s.x, y), Us(d.y, s.y, y), this.setTargetDelta(d), this.relativeTarget && this.relativeTargetOrigin && this.layout && this.relativeParent && this.relativeParent.layout && (rn(f, this.layout.layoutBox, this.relativeParent.layout.layoutBox), Wm(this.relativeTarget, this.relativeTargetOrigin, f, y), w && Pm(this.relativeTarget, w) && (this.isProjectionDirty = !1), w || (w = le()), Pe(w, this.relativeTarget)),
|
|
4712
|
+
Us(d.x, s.x, y), Us(d.y, s.y, y), this.setTargetDelta(d), this.relativeTarget && this.relativeTargetOrigin && this.layout && this.relativeParent && this.relativeParent.layout && (rn(f, this.layout.layoutBox, this.relativeParent.layout.layoutBox), Wm(this.relativeTarget, this.relativeTargetOrigin, f, y), w && Pm(this.relativeTarget, w) && (this.isProjectionDirty = !1), w || (w = le()), Pe(w, this.relativeTarget)), v && (this.animationValues = c, Tm(c, u, this.latestValues, y, T, h)), this.root.scheduleUpdateProjection(), this.scheduleRender(), this.animationProgress = y;
|
|
4712
4713
|
}, this.mixTargetDelta(this.options.layoutRoot ? 1e3 : 0);
|
|
4713
4714
|
}
|
|
4714
4715
|
startAnimation(s) {
|
|
@@ -4824,16 +4825,16 @@ function Oc({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
|
|
|
4824
4825
|
l && (d = l(c, d)), s.transform = d;
|
|
4825
4826
|
const { x: f, y: m } = this.projectionDelta;
|
|
4826
4827
|
s.transformOrigin = `${f.origin * 100}% ${m.origin * 100}% 0`, u.animationValues ? s.opacity = u === this ? c.opacity ?? this.latestValues.opacity ?? 1 : this.preserveOpacity ? this.latestValues.opacity : c.opacityExit : s.opacity = u === this ? c.opacity !== void 0 ? c.opacity : "" : c.opacityExit !== void 0 ? c.opacityExit : 0;
|
|
4827
|
-
for (const
|
|
4828
|
-
if (c[
|
|
4828
|
+
for (const g in cn) {
|
|
4829
|
+
if (c[g] === void 0)
|
|
4829
4830
|
continue;
|
|
4830
|
-
const { correct:
|
|
4831
|
+
const { correct: v, applyTo: b, isCSSVariable: h } = cn[g], T = d === "none" ? c[g] : v(c[g], u);
|
|
4831
4832
|
if (b) {
|
|
4832
4833
|
const w = b.length;
|
|
4833
4834
|
for (let S = 0; S < w; S++)
|
|
4834
4835
|
s[b[S]] = T;
|
|
4835
4836
|
} else
|
|
4836
|
-
h ? this.options.visualElement.renderState.vars[
|
|
4837
|
+
h ? this.options.visualElement.renderState.vars[g] = T : s[g] = T;
|
|
4837
4838
|
}
|
|
4838
4839
|
this.options.layoutId && (s.pointerEvents = u === this ? zn(a?.pointerEvents) || "" : "none");
|
|
4839
4840
|
}
|
|
@@ -4873,8 +4874,8 @@ function Im(e) {
|
|
|
4873
4874
|
if (d && f) {
|
|
4874
4875
|
const m = le();
|
|
4875
4876
|
rn(m, t.layoutBox, d.layoutBox);
|
|
4876
|
-
const
|
|
4877
|
-
rn(
|
|
4877
|
+
const g = le();
|
|
4878
|
+
rn(g, n, f.layoutBox), Ac(m, g) || (u = !0), c.options.layoutRoot && (e.relativeTarget = g, e.relativeTargetOrigin = m, e.relativeParent = c);
|
|
4878
4879
|
}
|
|
4879
4880
|
}
|
|
4880
4881
|
}
|
|
@@ -5161,24 +5162,24 @@ function gh(e, { defaultTransition: t = {}, ...n } = {}, i, r) {
|
|
|
5161
5162
|
const o = t.duration || 0.3, s = /* @__PURE__ */ new Map(), a = /* @__PURE__ */ new Map(), l = {}, u = /* @__PURE__ */ new Map();
|
|
5162
5163
|
let c = 0, d = 0, f = 0;
|
|
5163
5164
|
for (let m = 0; m < e.length; m++) {
|
|
5164
|
-
const
|
|
5165
|
-
if (typeof
|
|
5166
|
-
u.set(
|
|
5165
|
+
const g = e[m];
|
|
5166
|
+
if (typeof g == "string") {
|
|
5167
|
+
u.set(g, d);
|
|
5167
5168
|
continue;
|
|
5168
|
-
} else if (!Array.isArray(
|
|
5169
|
-
u.set(
|
|
5169
|
+
} else if (!Array.isArray(g)) {
|
|
5170
|
+
u.set(g.name, Zs(d, g.at, c, u));
|
|
5170
5171
|
continue;
|
|
5171
5172
|
}
|
|
5172
|
-
let [
|
|
5173
|
+
let [v, b, h = {}] = g;
|
|
5173
5174
|
h.at !== void 0 && (d = Zs(d, h.at, c, u));
|
|
5174
5175
|
let T = 0;
|
|
5175
5176
|
const w = (S, y, C, j = 0, P = 0) => {
|
|
5176
5177
|
const O = vh(S), { delay: B = 0, times: D = jl(O), type: X = "keyframes", repeat: H, repeatType: N, repeatDelay: J = 0, ...te } = y;
|
|
5177
5178
|
let { ease: Y = t.ease || "easeOut", duration: W } = y;
|
|
5178
|
-
const G = typeof B == "function" ? B(j, P) : B,
|
|
5179
|
-
if (
|
|
5179
|
+
const G = typeof B == "function" ? B(j, P) : B, x = O.length, k = Zr(X) ? X : r?.[X || "keyframes"];
|
|
5180
|
+
if (x <= 2 && k) {
|
|
5180
5181
|
let _ = 100;
|
|
5181
|
-
if (
|
|
5182
|
+
if (x === 2 && bh(O)) {
|
|
5182
5183
|
const L = O[1] - O[0];
|
|
5183
5184
|
_ = Math.abs(L);
|
|
5184
5185
|
}
|
|
@@ -5206,11 +5207,11 @@ function gh(e, { defaultTransition: t = {}, ...n } = {}, i, r) {
|
|
|
5206
5207
|
const V = M + W;
|
|
5207
5208
|
dh(C, O, Y, D, M, V), T = Math.max(G + W, T), f = Math.max(V, f);
|
|
5208
5209
|
};
|
|
5209
|
-
if (he(
|
|
5210
|
-
const S = Js(
|
|
5210
|
+
if (he(v)) {
|
|
5211
|
+
const S = Js(v, a);
|
|
5211
5212
|
w(b, h, Qs("default", S));
|
|
5212
5213
|
} else {
|
|
5213
|
-
const S = Nc(
|
|
5214
|
+
const S = Nc(v, b, i, l), y = S.length;
|
|
5214
5215
|
for (let C = 0; C < y; C++) {
|
|
5215
5216
|
b = b, h = h;
|
|
5216
5217
|
const j = S[C], P = Js(j, a);
|
|
@@ -5220,21 +5221,21 @@ function gh(e, { defaultTransition: t = {}, ...n } = {}, i, r) {
|
|
|
5220
5221
|
}
|
|
5221
5222
|
c = d, d += T;
|
|
5222
5223
|
}
|
|
5223
|
-
return a.forEach((m,
|
|
5224
|
-
for (const
|
|
5225
|
-
const b = m[
|
|
5224
|
+
return a.forEach((m, g) => {
|
|
5225
|
+
for (const v in m) {
|
|
5226
|
+
const b = m[v];
|
|
5226
5227
|
b.sort(fh);
|
|
5227
5228
|
const h = [], T = [], w = [];
|
|
5228
5229
|
for (let y = 0; y < b.length; y++) {
|
|
5229
5230
|
const { at: C, value: j, easing: P } = b[y];
|
|
5230
5231
|
h.push(j), T.push(/* @__PURE__ */ It(0, f, C)), w.push(P || "easeOut");
|
|
5231
5232
|
}
|
|
5232
|
-
T[0] !== 0 && (T.unshift(0), h.unshift(h[0]), w.unshift(mh)), T[T.length - 1] !== 1 && (T.push(1), h.push(null)), s.has(
|
|
5233
|
+
T[0] !== 0 && (T.unshift(0), h.unshift(h[0]), w.unshift(mh)), T[T.length - 1] !== 1 && (T.push(1), h.push(null)), s.has(g) || s.set(g, {
|
|
5233
5234
|
keyframes: {},
|
|
5234
5235
|
transition: {}
|
|
5235
5236
|
});
|
|
5236
|
-
const S = s.get(
|
|
5237
|
-
S.keyframes[
|
|
5237
|
+
const S = s.get(g);
|
|
5238
|
+
S.keyframes[v] = h, S.transition[v] = {
|
|
5238
5239
|
...t,
|
|
5239
5240
|
duration: f,
|
|
5240
5241
|
ease: w,
|
|
@@ -5617,7 +5618,7 @@ const fe = (e, t, n, i) => {
|
|
|
5617
5618
|
},
|
|
5618
5619
|
[
|
|
5619
5620
|
l && Vn("title", { key: "svg-title" }, l),
|
|
5620
|
-
...i.map(([m,
|
|
5621
|
+
...i.map(([m, g]) => Vn(m, g)),
|
|
5621
5622
|
...Array.isArray(c) ? c : [c]
|
|
5622
5623
|
]
|
|
5623
5624
|
)
|
|
@@ -6420,12 +6421,12 @@ const bv = async (e, t, n) => {
|
|
|
6420
6421
|
}), {
|
|
6421
6422
|
x: c,
|
|
6422
6423
|
y: d
|
|
6423
|
-
} = aa(u, i, l), f = i, m = {},
|
|
6424
|
-
for (let
|
|
6424
|
+
} = aa(u, i, l), f = i, m = {}, g = 0;
|
|
6425
|
+
for (let v = 0; v < a.length; v++) {
|
|
6425
6426
|
const {
|
|
6426
6427
|
name: b,
|
|
6427
6428
|
fn: h
|
|
6428
|
-
} = a[
|
|
6429
|
+
} = a[v], {
|
|
6429
6430
|
x: T,
|
|
6430
6431
|
y: w,
|
|
6431
6432
|
data: S,
|
|
@@ -6450,14 +6451,14 @@ const bv = async (e, t, n) => {
|
|
|
6450
6451
|
...m[b],
|
|
6451
6452
|
...S
|
|
6452
6453
|
}
|
|
6453
|
-
}, y &&
|
|
6454
|
+
}, y && g <= 50 && (g++, typeof y == "object" && (y.placement && (f = y.placement), y.rects && (u = y.rects === !0 ? await s.getElementRects({
|
|
6454
6455
|
reference: e,
|
|
6455
6456
|
floating: t,
|
|
6456
6457
|
strategy: r
|
|
6457
6458
|
}) : y.rects), {
|
|
6458
6459
|
x: c,
|
|
6459
6460
|
y: d
|
|
6460
|
-
} = aa(u, f, l)),
|
|
6461
|
+
} = aa(u, f, l)), v = -1);
|
|
6461
6462
|
}
|
|
6462
6463
|
return {
|
|
6463
6464
|
x: c,
|
|
@@ -6483,7 +6484,7 @@ async function wv(e, t) {
|
|
|
6483
6484
|
elementContext: d = "floating",
|
|
6484
6485
|
altBoundary: f = !1,
|
|
6485
6486
|
padding: m = 0
|
|
6486
|
-
} = Uc(t, e),
|
|
6487
|
+
} = Uc(t, e), g = $g(m), b = a[f ? d === "floating" ? "reference" : "floating" : d], h = Yn(await o.getClippingRect({
|
|
6487
6488
|
element: (n = await (o.isElement == null ? void 0 : o.isElement(b))) == null || n ? b : b.contextElement || await (o.getDocumentElement == null ? void 0 : o.getDocumentElement(a.floating)),
|
|
6488
6489
|
boundary: u,
|
|
6489
6490
|
rootBoundary: c,
|
|
@@ -6506,10 +6507,10 @@ async function wv(e, t) {
|
|
|
6506
6507
|
strategy: l
|
|
6507
6508
|
}) : T);
|
|
6508
6509
|
return {
|
|
6509
|
-
top: (h.top - y.top +
|
|
6510
|
-
bottom: (y.bottom - h.bottom +
|
|
6511
|
-
left: (h.left - y.left +
|
|
6512
|
-
right: (y.right - h.right +
|
|
6510
|
+
top: (h.top - y.top + g.top) / S.y,
|
|
6511
|
+
bottom: (y.bottom - h.bottom + g.bottom) / S.y,
|
|
6512
|
+
left: (h.left - y.left + g.left) / S.x,
|
|
6513
|
+
right: (y.right - h.right + g.right) / S.x
|
|
6513
6514
|
};
|
|
6514
6515
|
}
|
|
6515
6516
|
const Tv = function(e) {
|
|
@@ -6528,16 +6529,16 @@ const Tv = function(e) {
|
|
|
6528
6529
|
},
|
|
6529
6530
|
...u
|
|
6530
6531
|
} = Uc(e, t), c = await wv(t, u), d = So(r), f = qc(r), m = ko(r) === "y", {
|
|
6531
|
-
width:
|
|
6532
|
-
height:
|
|
6532
|
+
width: g,
|
|
6533
|
+
height: v
|
|
6533
6534
|
} = o.floating;
|
|
6534
6535
|
let b, h;
|
|
6535
6536
|
d === "top" || d === "bottom" ? (b = d, h = f === (await (s.isRTL == null ? void 0 : s.isRTL(a.floating)) ? "start" : "end") ? "left" : "right") : (h = d, b = f === "end" ? "top" : "bottom");
|
|
6536
|
-
const T =
|
|
6537
|
+
const T = v - c.top - c.bottom, w = g - c.left - c.right, S = mn(v - c[b], T), y = mn(g - c[h], w), C = !t.middlewareData.shift;
|
|
6537
6538
|
let j = S, P = y;
|
|
6538
6539
|
if ((n = t.middlewareData.shift) != null && n.enabled.x && (P = w), (i = t.middlewareData.shift) != null && i.enabled.y && (j = T), C && !f) {
|
|
6539
6540
|
const B = Ae(c.left, 0), D = Ae(c.right, 0), X = Ae(c.top, 0), H = Ae(c.bottom, 0);
|
|
6540
|
-
m ? P =
|
|
6541
|
+
m ? P = g - 2 * (B !== 0 || D !== 0 ? B + D : Ae(c.left, c.right)) : j = v - 2 * (X !== 0 || H !== 0 ? X + H : Ae(c.top, c.bottom));
|
|
6541
6542
|
}
|
|
6542
6543
|
await l({
|
|
6543
6544
|
...t,
|
|
@@ -6545,7 +6546,7 @@ const Tv = function(e) {
|
|
|
6545
6546
|
availableHeight: j
|
|
6546
6547
|
});
|
|
6547
6548
|
const O = await s.getDimensions(a.floating);
|
|
6548
|
-
return
|
|
6549
|
+
return g !== O.width || v !== O.height ? {
|
|
6549
6550
|
reset: {
|
|
6550
6551
|
rects: !0
|
|
6551
6552
|
}
|
|
@@ -6601,10 +6602,10 @@ function vt(e, t, n, i) {
|
|
|
6601
6602
|
let l = (r.left + a.x) / s.x, u = (r.top + a.y) / s.y, c = r.width / s.x, d = r.height / s.y;
|
|
6602
6603
|
if (o) {
|
|
6603
6604
|
const f = Ce(o), m = i && Te(i) ? Ce(i) : i;
|
|
6604
|
-
let
|
|
6605
|
-
for (;
|
|
6606
|
-
const b = Mt(
|
|
6607
|
-
l *= b.x, u *= b.y, c *= b.x, d *= b.y, l += w, u += S,
|
|
6605
|
+
let g = f, v = yr(g);
|
|
6606
|
+
for (; v && i && m !== g; ) {
|
|
6607
|
+
const b = Mt(v), h = v.getBoundingClientRect(), T = Ve(v), w = h.left + (v.clientLeft + parseFloat(T.paddingLeft)) * b.x, S = h.top + (v.clientTop + parseFloat(T.paddingTop)) * b.y;
|
|
6608
|
+
l *= b.x, u *= b.y, c *= b.x, d *= b.y, l += w, u += S, g = Ce(v), v = yr(g);
|
|
6608
6609
|
}
|
|
6609
6610
|
}
|
|
6610
6611
|
return Yn({
|
|
@@ -6677,8 +6678,8 @@ function Pv(e, t) {
|
|
|
6677
6678
|
}
|
|
6678
6679
|
const u = di(i);
|
|
6679
6680
|
if (u <= 0) {
|
|
6680
|
-
const c = i.ownerDocument, d = c.body, f = getComputedStyle(d), m = c.compatMode === "CSS1Compat" && parseFloat(f.marginLeft) + parseFloat(f.marginRight) || 0,
|
|
6681
|
-
|
|
6681
|
+
const c = i.ownerDocument, d = c.body, f = getComputedStyle(d), m = c.compatMode === "CSS1Compat" && parseFloat(f.marginLeft) + parseFloat(f.marginRight) || 0, g = Math.abs(i.clientWidth - d.clientWidth - m);
|
|
6682
|
+
g <= la && (o -= g);
|
|
6682
6683
|
} else u <= la && (o += u);
|
|
6683
6684
|
return {
|
|
6684
6685
|
width: o,
|
|
@@ -6861,8 +6862,8 @@ function Lv(e, t) {
|
|
|
6861
6862
|
} = u;
|
|
6862
6863
|
if (a || t(), !f || !m)
|
|
6863
6864
|
return;
|
|
6864
|
-
const
|
|
6865
|
-
rootMargin: -
|
|
6865
|
+
const g = Dn(d), v = Dn(r.clientWidth - (c + f)), b = Dn(r.clientHeight - (d + m)), h = Dn(c), w = {
|
|
6866
|
+
rootMargin: -g + "px " + -v + "px " + -b + "px " + -h + "px",
|
|
6866
6867
|
threshold: Ae(0, mn(1, l)) || 1
|
|
6867
6868
|
};
|
|
6868
6869
|
let S = !0;
|
|
@@ -6913,17 +6914,17 @@ function _v(e, t, n, i) {
|
|
|
6913
6914
|
(w = m) == null || w.observe(t);
|
|
6914
6915
|
})), n();
|
|
6915
6916
|
}), u && !l && m.observe(u), m.observe(t));
|
|
6916
|
-
let
|
|
6917
|
+
let g, v = l ? vt(e) : null;
|
|
6917
6918
|
l && b();
|
|
6918
6919
|
function b() {
|
|
6919
6920
|
const h = vt(e);
|
|
6920
|
-
|
|
6921
|
+
v && !ru(v, h) && n(), v = h, g = requestAnimationFrame(b);
|
|
6921
6922
|
}
|
|
6922
6923
|
return n(), () => {
|
|
6923
6924
|
var h;
|
|
6924
6925
|
c.forEach((T) => {
|
|
6925
6926
|
r && T.removeEventListener("scroll", n), o && T.removeEventListener("resize", n);
|
|
6926
|
-
}), d?.(), (h = m) == null || h.disconnect(), m = null, l && cancelAnimationFrame(
|
|
6927
|
+
}), d?.(), (h = m) == null || h.disconnect(), m = null, l && cancelAnimationFrame(g);
|
|
6927
6928
|
};
|
|
6928
6929
|
}
|
|
6929
6930
|
const zv = Tv, Bv = (e, t, n) => {
|
|
@@ -7007,11 +7008,11 @@ function Uv(e) {
|
|
|
7007
7008
|
isPositioned: !1
|
|
7008
7009
|
}), [f, m] = E.useState(i);
|
|
7009
7010
|
Zn(f, i) || m(i);
|
|
7010
|
-
const [
|
|
7011
|
-
W !== C.current && (C.current = W,
|
|
7011
|
+
const [g, v] = E.useState(null), [b, h] = E.useState(null), T = E.useCallback((W) => {
|
|
7012
|
+
W !== C.current && (C.current = W, v(W));
|
|
7012
7013
|
}, []), w = E.useCallback((W) => {
|
|
7013
7014
|
W !== j.current && (j.current = W, h(W));
|
|
7014
|
-
}, []), S = o ||
|
|
7015
|
+
}, []), S = o || g, y = s || b, C = E.useRef(null), j = E.useRef(null), P = E.useRef(c), O = l != null, B = Li(l), D = Li(r), X = Li(u), H = E.useCallback(() => {
|
|
7015
7016
|
if (!C.current || !j.current)
|
|
7016
7017
|
return;
|
|
7017
7018
|
const W = {
|
|
@@ -7020,7 +7021,7 @@ function Uv(e) {
|
|
|
7020
7021
|
middleware: f
|
|
7021
7022
|
};
|
|
7022
7023
|
D.current && (W.platform = D.current), Bv(C.current, j.current, W).then((G) => {
|
|
7023
|
-
const
|
|
7024
|
+
const x = {
|
|
7024
7025
|
...G,
|
|
7025
7026
|
// The floating element's position may be recomputed while it's closed
|
|
7026
7027
|
// but still mounted (such as when transitioning out). To ensure
|
|
@@ -7028,8 +7029,8 @@ function Uv(e) {
|
|
|
7028
7029
|
// setting it to `true` when `open === false` (must be specified).
|
|
7029
7030
|
isPositioned: X.current !== !1
|
|
7030
7031
|
};
|
|
7031
|
-
N.current && !Zn(P.current,
|
|
7032
|
-
d(
|
|
7032
|
+
N.current && !Zn(P.current, x) && (P.current = x, Ka.flushSync(() => {
|
|
7033
|
+
d(x);
|
|
7033
7034
|
}));
|
|
7034
7035
|
});
|
|
7035
7036
|
}, [f, t, n, D, X]);
|
|
@@ -7065,17 +7066,17 @@ function Uv(e) {
|
|
|
7065
7066
|
};
|
|
7066
7067
|
if (!te.floating)
|
|
7067
7068
|
return W;
|
|
7068
|
-
const G = da(te.floating, c.x),
|
|
7069
|
+
const G = da(te.floating, c.x), x = da(te.floating, c.y);
|
|
7069
7070
|
return a ? {
|
|
7070
7071
|
...W,
|
|
7071
|
-
transform: "translate(" + G + "px, " +
|
|
7072
|
+
transform: "translate(" + G + "px, " + x + "px)",
|
|
7072
7073
|
...ou(te.floating) >= 1.5 && {
|
|
7073
7074
|
willChange: "transform"
|
|
7074
7075
|
}
|
|
7075
7076
|
} : {
|
|
7076
7077
|
position: n,
|
|
7077
7078
|
left: G,
|
|
7078
|
-
top:
|
|
7079
|
+
top: x
|
|
7079
7080
|
};
|
|
7080
7081
|
}, [n, a, te.floating, c.x, c.y]);
|
|
7081
7082
|
return E.useMemo(() => ({
|
|
@@ -7207,7 +7208,7 @@ function Co(e) {
|
|
|
7207
7208
|
} = e, o = nx({
|
|
7208
7209
|
id: n,
|
|
7209
7210
|
root: i
|
|
7210
|
-
}), [s, a] = E.useState(null), l = E.useRef(null), u = E.useRef(null), c = E.useRef(null), d = E.useRef(null), f = s?.modal, m = s?.open,
|
|
7211
|
+
}), [s, a] = E.useState(null), l = E.useRef(null), u = E.useRef(null), c = E.useRef(null), d = E.useRef(null), f = s?.modal, m = s?.open, g = (
|
|
7211
7212
|
// The FocusManager and therefore floating element are currently open/
|
|
7212
7213
|
// rendered.
|
|
7213
7214
|
!!s && // Guards are only for non-modal focus management.
|
|
@@ -7217,11 +7218,11 @@ function Co(e) {
|
|
|
7217
7218
|
return E.useEffect(() => {
|
|
7218
7219
|
if (!o || !r || f)
|
|
7219
7220
|
return;
|
|
7220
|
-
function
|
|
7221
|
+
function v(b) {
|
|
7221
7222
|
o && Fi(b) && (b.type === "focusin" ? sa : yv)(o);
|
|
7222
7223
|
}
|
|
7223
|
-
return o.addEventListener("focusin",
|
|
7224
|
-
o.removeEventListener("focusin",
|
|
7224
|
+
return o.addEventListener("focusin", v, !0), o.addEventListener("focusout", v, !0), () => {
|
|
7225
|
+
o.removeEventListener("focusin", v, !0), o.removeEventListener("focusout", v, !0);
|
|
7225
7226
|
};
|
|
7226
7227
|
}, [o, r, f]), E.useEffect(() => {
|
|
7227
7228
|
o && (m || sa(o));
|
|
@@ -7235,11 +7236,11 @@ function Co(e) {
|
|
|
7235
7236
|
portalNode: o,
|
|
7236
7237
|
setFocusManagerState: a
|
|
7237
7238
|
}), [r, o]),
|
|
7238
|
-
children: [
|
|
7239
|
+
children: [g && o && /* @__PURE__ */ p.jsx(ma, {
|
|
7239
7240
|
"data-type": "outside",
|
|
7240
7241
|
ref: l,
|
|
7241
|
-
onFocus: (
|
|
7242
|
-
if (Fi(
|
|
7242
|
+
onFocus: (v) => {
|
|
7243
|
+
if (Fi(v, o)) {
|
|
7243
7244
|
var b;
|
|
7244
7245
|
(b = c.current) == null || b.focus();
|
|
7245
7246
|
} else {
|
|
@@ -7247,19 +7248,19 @@ function Co(e) {
|
|
|
7247
7248
|
T?.focus();
|
|
7248
7249
|
}
|
|
7249
7250
|
}
|
|
7250
|
-
}),
|
|
7251
|
+
}), g && o && /* @__PURE__ */ p.jsx("span", {
|
|
7251
7252
|
"aria-owns": o.id,
|
|
7252
7253
|
style: lu
|
|
7253
|
-
}), o && /* @__PURE__ */ Ka.createPortal(t, o),
|
|
7254
|
+
}), o && /* @__PURE__ */ Ka.createPortal(t, o), g && o && /* @__PURE__ */ p.jsx(ma, {
|
|
7254
7255
|
"data-type": "outside",
|
|
7255
7256
|
ref: u,
|
|
7256
|
-
onFocus: (
|
|
7257
|
-
if (Fi(
|
|
7257
|
+
onFocus: (v) => {
|
|
7258
|
+
if (Fi(v, o)) {
|
|
7258
7259
|
var b;
|
|
7259
7260
|
(b = d.current) == null || b.focus();
|
|
7260
7261
|
} else {
|
|
7261
7262
|
const h = s ? s.domReference : null, T = vv(h);
|
|
7262
|
-
T?.focus(), s?.closeOnFocusOut && s?.onOpenChange(!1,
|
|
7263
|
+
T?.focus(), s?.closeOnFocusOut && s?.onOpenChange(!1, v.nativeEvent, "focus-out");
|
|
7263
7264
|
}
|
|
7264
7265
|
}
|
|
7265
7266
|
})]
|
|
@@ -7329,13 +7330,13 @@ function ox(e) {
|
|
|
7329
7330
|
const m = i.reference;
|
|
7330
7331
|
m && !Te(m) && Xv("Cannot pass a virtual element to the `elements.reference` option,", "as it must be a real DOM element. Use `refs.setPositionReference()`", "instead.");
|
|
7331
7332
|
}
|
|
7332
|
-
const [l, u] = E.useState(i.reference), c = gv((m,
|
|
7333
|
-
o.current.openEvent = m ?
|
|
7333
|
+
const [l, u] = E.useState(i.reference), c = gv((m, g, v) => {
|
|
7334
|
+
o.current.openEvent = m ? g : void 0, s.emit("openchange", {
|
|
7334
7335
|
open: m,
|
|
7335
|
-
event:
|
|
7336
|
-
reason:
|
|
7336
|
+
event: g,
|
|
7337
|
+
reason: v,
|
|
7337
7338
|
nested: a
|
|
7338
|
-
}), n?.(m,
|
|
7339
|
+
}), n?.(m, g, v);
|
|
7339
7340
|
}), d = E.useMemo(() => ({
|
|
7340
7341
|
setPositionReference: u
|
|
7341
7342
|
}), []), f = E.useMemo(() => ({
|
|
@@ -7376,24 +7377,24 @@ function sx(e) {
|
|
|
7376
7377
|
reference: a
|
|
7377
7378
|
}
|
|
7378
7379
|
}
|
|
7379
|
-
}),
|
|
7380
|
+
}), g = E.useCallback((w) => {
|
|
7380
7381
|
const S = Te(w) ? {
|
|
7381
7382
|
getBoundingClientRect: () => w.getBoundingClientRect(),
|
|
7382
7383
|
getClientRects: () => w.getClientRects(),
|
|
7383
7384
|
contextElement: w
|
|
7384
7385
|
} : w;
|
|
7385
7386
|
l(S), m.refs.setReference(S);
|
|
7386
|
-
}, [m.refs]),
|
|
7387
|
+
}, [m.refs]), v = E.useCallback((w) => {
|
|
7387
7388
|
(Te(w) || w === null) && (d.current = w, s(w)), (Te(m.refs.reference.current) || m.refs.reference.current === null || // Don't allow setting virtual elements using the old technique back to
|
|
7388
7389
|
// `null` to support `positionReference` + an unstable `reference`
|
|
7389
7390
|
// callback ref.
|
|
7390
7391
|
w !== null && !Te(w)) && m.refs.setReference(w);
|
|
7391
7392
|
}, [m.refs]), b = E.useMemo(() => ({
|
|
7392
7393
|
...m.refs,
|
|
7393
|
-
setReference:
|
|
7394
|
-
setPositionReference:
|
|
7394
|
+
setReference: v,
|
|
7395
|
+
setPositionReference: g,
|
|
7395
7396
|
domReference: d
|
|
7396
|
-
}), [m.refs,
|
|
7397
|
+
}), [m.refs, v, g]), h = E.useMemo(() => ({
|
|
7397
7398
|
...m.elements,
|
|
7398
7399
|
domReference: c
|
|
7399
7400
|
}), [m.elements, c]), T = E.useMemo(() => ({
|
|
@@ -7468,15 +7469,15 @@ const ax = {
|
|
|
7468
7469
|
};
|
|
7469
7470
|
const c = E.useMemo(() => {
|
|
7470
7471
|
const d = (f) => {
|
|
7471
|
-
const { floatingStyles: m, setFloating:
|
|
7472
|
+
const { floatingStyles: m, setFloating: g, onOutsideClick: v, placement: b } = u.current, { className: h, open: T, children: w } = f;
|
|
7472
7473
|
return /* @__PURE__ */ p.jsx(
|
|
7473
7474
|
lx,
|
|
7474
7475
|
{
|
|
7475
7476
|
open: T,
|
|
7476
7477
|
className: h,
|
|
7477
|
-
onOutsideClick:
|
|
7478
|
+
onOutsideClick: v,
|
|
7478
7479
|
floatingStyles: m,
|
|
7479
|
-
setFloating:
|
|
7480
|
+
setFloating: g,
|
|
7480
7481
|
placement: b,
|
|
7481
7482
|
children: w
|
|
7482
7483
|
}
|
|
@@ -7513,26 +7514,26 @@ const ax = {
|
|
|
7513
7514
|
const [n, i] = ue(() => ia(e) ?? [0, 0, 1]), r = ye(Zt(n[0], n[1], n[2]));
|
|
7514
7515
|
be(() => {
|
|
7515
7516
|
if ((e || "").toUpperCase() === r.current) return;
|
|
7516
|
-
const
|
|
7517
|
-
|
|
7517
|
+
const v = ia(e);
|
|
7518
|
+
v && i(v);
|
|
7518
7519
|
}, [e]);
|
|
7519
|
-
const o = (
|
|
7520
|
-
i(
|
|
7521
|
-
const b = Zt(
|
|
7520
|
+
const o = (v) => {
|
|
7521
|
+
i(v);
|
|
7522
|
+
const b = Zt(v[0], v[1], v[2]);
|
|
7522
7523
|
r.current = b, t(b);
|
|
7523
|
-
}, [s, a, l] = n, u = Zt(s, 1, 1), c = Zt(s, a, 1), d = Zt(s, a, l), f = Ni((
|
|
7524
|
-
o([s, Mn((
|
|
7525
|
-
}), m = Ni((
|
|
7526
|
-
o([Mn((
|
|
7527
|
-
}),
|
|
7528
|
-
o([s, a, Mn((
|
|
7524
|
+
}, [s, a, l] = n, u = Zt(s, 1, 1), c = Zt(s, a, 1), d = Zt(s, a, l), f = Ni((v, b, h) => {
|
|
7525
|
+
o([s, Mn((v - h.left) / h.width), 1 - Mn((b - h.top) / h.height)]);
|
|
7526
|
+
}), m = Ni((v, b, h) => {
|
|
7527
|
+
o([Mn((v - h.left) / h.width) * 360, a, l]);
|
|
7528
|
+
}), g = Ni((v, b, h) => {
|
|
7529
|
+
o([s, a, Mn((v - h.left) / h.width)]);
|
|
7529
7530
|
});
|
|
7530
7531
|
return /* @__PURE__ */ p.jsxs(
|
|
7531
7532
|
"div",
|
|
7532
7533
|
{
|
|
7533
7534
|
className: "flex flex-col gap-3",
|
|
7534
7535
|
style: { width: 220, userSelect: "none" },
|
|
7535
|
-
onMouseDown: (
|
|
7536
|
+
onMouseDown: (v) => v.preventDefault(),
|
|
7536
7537
|
children: [
|
|
7537
7538
|
/* @__PURE__ */ p.jsxs(
|
|
7538
7539
|
"div",
|
|
@@ -7624,7 +7625,7 @@ const ax = {
|
|
|
7624
7625
|
touchAction: "none",
|
|
7625
7626
|
cursor: "ew-resize"
|
|
7626
7627
|
},
|
|
7627
|
-
...
|
|
7628
|
+
...g.bind,
|
|
7628
7629
|
children: /* @__PURE__ */ p.jsx(
|
|
7629
7630
|
$e.div,
|
|
7630
7631
|
{
|
|
@@ -7636,7 +7637,7 @@ const ax = {
|
|
|
7636
7637
|
boxShadow: _i
|
|
7637
7638
|
},
|
|
7638
7639
|
initial: kt(!1),
|
|
7639
|
-
animate: kt(
|
|
7640
|
+
animate: kt(g.isDragging),
|
|
7640
7641
|
transition: zi
|
|
7641
7642
|
}
|
|
7642
7643
|
)
|
|
@@ -7659,15 +7660,15 @@ const ax = {
|
|
|
7659
7660
|
onBlur: c,
|
|
7660
7661
|
onFocus: d,
|
|
7661
7662
|
...f
|
|
7662
|
-
} = e, [m,
|
|
7663
|
+
} = e, [m, g] = ue(
|
|
7663
7664
|
a != null ? String(a) : l != null ? String(l) : ""
|
|
7664
|
-
), [
|
|
7665
|
-
Ht(
|
|
7665
|
+
), [v, b] = ue(!1), h = ye(null), T = a != null ? String(a) : m, w = T || "white";
|
|
7666
|
+
Ht(v, () => b(!1));
|
|
7666
7667
|
const { anchorRef: S, Popover: y } = qt({
|
|
7667
7668
|
placement: "bottom-start",
|
|
7668
7669
|
onOutsideClick: () => b(!1)
|
|
7669
7670
|
}), C = (D) => {
|
|
7670
|
-
|
|
7671
|
+
g(D.target.value), u?.(D);
|
|
7671
7672
|
}, j = (D) => {
|
|
7672
7673
|
b(!0), d?.(D);
|
|
7673
7674
|
}, P = (D) => {
|
|
@@ -7721,7 +7722,7 @@ const ax = {
|
|
|
7721
7722
|
r && /* @__PURE__ */ p.jsx(at, {}),
|
|
7722
7723
|
o
|
|
7723
7724
|
] }),
|
|
7724
|
-
/* @__PURE__ */ p.jsx(y, { open:
|
|
7725
|
+
/* @__PURE__ */ p.jsx(y, { open: v, children: /* @__PURE__ */ p.jsx(Wt, { padding: "md", children: /* @__PURE__ */ p.jsx(gx, { value: T, onChange: O }) }) })
|
|
7725
7726
|
] }),
|
|
7726
7727
|
/* @__PURE__ */ p.jsx(Ie, { children: i }),
|
|
7727
7728
|
/* @__PURE__ */ p.jsx(Ne, { children: r })
|
|
@@ -7792,22 +7793,30 @@ const Gy = (e) => {
|
|
|
7792
7793
|
error: r,
|
|
7793
7794
|
size: o = "md",
|
|
7794
7795
|
autogrow: s = !1,
|
|
7795
|
-
|
|
7796
|
-
|
|
7797
|
-
|
|
7798
|
-
|
|
7799
|
-
|
|
7800
|
-
|
|
7801
|
-
|
|
7796
|
+
maxRows: a,
|
|
7797
|
+
ref: l,
|
|
7798
|
+
onChange: u,
|
|
7799
|
+
...c
|
|
7800
|
+
} = e, d = E.useRef(null), f = E.useCallback(() => {
|
|
7801
|
+
const g = d.current;
|
|
7802
|
+
if (!g) return;
|
|
7803
|
+
g.style.height = "auto";
|
|
7804
|
+
let v = g.scrollHeight;
|
|
7805
|
+
if (a) {
|
|
7806
|
+
const b = window.getComputedStyle(g), h = parseFloat(b.lineHeight), T = parseFloat(b.paddingTop), w = parseFloat(b.paddingBottom), S = parseFloat(b.borderTopWidth), y = parseFloat(b.borderBottomWidth), C = h * a + T + w + S + y;
|
|
7807
|
+
v = Math.min(g.scrollHeight, C);
|
|
7808
|
+
}
|
|
7809
|
+
g.style.height = `${v}px`;
|
|
7810
|
+
}, [a]);
|
|
7802
7811
|
E.useLayoutEffect(() => {
|
|
7803
7812
|
if (!s) {
|
|
7804
|
-
|
|
7813
|
+
d.current && (d.current.style.height = "");
|
|
7805
7814
|
return;
|
|
7806
7815
|
}
|
|
7807
|
-
|
|
7808
|
-
}, [s,
|
|
7809
|
-
const
|
|
7810
|
-
|
|
7816
|
+
f();
|
|
7817
|
+
}, [s, f, e.value, e.defaultValue, o]);
|
|
7818
|
+
const m = (g) => {
|
|
7819
|
+
u?.(g), s && f();
|
|
7811
7820
|
};
|
|
7812
7821
|
return /* @__PURE__ */ p.jsx(Ze.Provider, { value: o, children: /* @__PURE__ */ p.jsxs(
|
|
7813
7822
|
"div",
|
|
@@ -7822,8 +7831,8 @@ const Gy = (e) => {
|
|
|
7822
7831
|
/* @__PURE__ */ p.jsx(
|
|
7823
7832
|
"textarea",
|
|
7824
7833
|
{
|
|
7825
|
-
ref:
|
|
7826
|
-
onChange:
|
|
7834
|
+
ref: l ? yx([l, d]) : d,
|
|
7835
|
+
onChange: m,
|
|
7827
7836
|
className: I(
|
|
7828
7837
|
"py-2.5 border input-base transition-all duration-150 rounded-xl shadow-sm ring-0 focus:ring-4 focus:outline-none",
|
|
7829
7838
|
Dh[o],
|
|
@@ -7831,9 +7840,9 @@ const Gy = (e) => {
|
|
|
7831
7840
|
xt[o],
|
|
7832
7841
|
r ? yt[o] : go[o],
|
|
7833
7842
|
r && "input-error",
|
|
7834
|
-
s && "resize-none overflow-hidden"
|
|
7843
|
+
s && (a ? "resize-none overflow-y-auto [scrollbar-width:none] [&::-webkit-scrollbar]:hidden" : "resize-none overflow-hidden")
|
|
7835
7844
|
),
|
|
7836
|
-
...
|
|
7845
|
+
...c
|
|
7837
7846
|
}
|
|
7838
7847
|
),
|
|
7839
7848
|
/* @__PURE__ */ p.jsx(wt, { className: "top-3.5 translate-y-0", children: r && /* @__PURE__ */ p.jsx(at, {}) })
|
|
@@ -7971,7 +7980,7 @@ var ya;
|
|
|
7971
7980
|
function bx() {
|
|
7972
7981
|
if (ya) return Q;
|
|
7973
7982
|
ya = 1;
|
|
7974
|
-
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, i = e ? Symbol.for("react.fragment") : 60107, r = e ? Symbol.for("react.strict_mode") : 60108, o = e ? Symbol.for("react.profiler") : 60114, s = e ? Symbol.for("react.provider") : 60109, a = e ? Symbol.for("react.context") : 60110, l = e ? Symbol.for("react.async_mode") : 60111, u = e ? Symbol.for("react.concurrent_mode") : 60111, c = e ? Symbol.for("react.forward_ref") : 60112, d = e ? Symbol.for("react.suspense") : 60113, f = e ? Symbol.for("react.suspense_list") : 60120, m = e ? Symbol.for("react.memo") : 60115,
|
|
7983
|
+
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, i = e ? Symbol.for("react.fragment") : 60107, r = e ? Symbol.for("react.strict_mode") : 60108, o = e ? Symbol.for("react.profiler") : 60114, s = e ? Symbol.for("react.provider") : 60109, a = e ? Symbol.for("react.context") : 60110, l = e ? Symbol.for("react.async_mode") : 60111, u = e ? Symbol.for("react.concurrent_mode") : 60111, c = e ? Symbol.for("react.forward_ref") : 60112, d = e ? Symbol.for("react.suspense") : 60113, f = e ? Symbol.for("react.suspense_list") : 60120, m = e ? Symbol.for("react.memo") : 60115, g = e ? Symbol.for("react.lazy") : 60116, v = e ? Symbol.for("react.block") : 60121, b = e ? Symbol.for("react.fundamental") : 60117, h = e ? Symbol.for("react.responder") : 60118, T = e ? Symbol.for("react.scope") : 60119;
|
|
7975
7984
|
function w(y) {
|
|
7976
7985
|
if (typeof y == "object" && y !== null) {
|
|
7977
7986
|
var C = y.$$typeof;
|
|
@@ -7989,7 +7998,7 @@ function bx() {
|
|
|
7989
7998
|
switch (y = y && y.$$typeof, y) {
|
|
7990
7999
|
case a:
|
|
7991
8000
|
case c:
|
|
7992
|
-
case
|
|
8001
|
+
case g:
|
|
7993
8002
|
case m:
|
|
7994
8003
|
case s:
|
|
7995
8004
|
return y;
|
|
@@ -8005,7 +8014,7 @@ function bx() {
|
|
|
8005
8014
|
function S(y) {
|
|
8006
8015
|
return w(y) === u;
|
|
8007
8016
|
}
|
|
8008
|
-
return Q.AsyncMode = l, Q.ConcurrentMode = u, Q.ContextConsumer = a, Q.ContextProvider = s, Q.Element = t, Q.ForwardRef = c, Q.Fragment = i, Q.Lazy =
|
|
8017
|
+
return Q.AsyncMode = l, Q.ConcurrentMode = u, Q.ContextConsumer = a, Q.ContextProvider = s, Q.Element = t, Q.ForwardRef = c, Q.Fragment = i, Q.Lazy = g, Q.Memo = m, Q.Portal = n, Q.Profiler = o, Q.StrictMode = r, Q.Suspense = d, Q.isAsyncMode = function(y) {
|
|
8009
8018
|
return S(y) || w(y) === l;
|
|
8010
8019
|
}, Q.isConcurrentMode = S, Q.isContextConsumer = function(y) {
|
|
8011
8020
|
return w(y) === a;
|
|
@@ -8018,7 +8027,7 @@ function bx() {
|
|
|
8018
8027
|
}, Q.isFragment = function(y) {
|
|
8019
8028
|
return w(y) === i;
|
|
8020
8029
|
}, Q.isLazy = function(y) {
|
|
8021
|
-
return w(y) ===
|
|
8030
|
+
return w(y) === g;
|
|
8022
8031
|
}, Q.isMemo = function(y) {
|
|
8023
8032
|
return w(y) === m;
|
|
8024
8033
|
}, Q.isPortal = function(y) {
|
|
@@ -8030,7 +8039,7 @@ function bx() {
|
|
|
8030
8039
|
}, Q.isSuspense = function(y) {
|
|
8031
8040
|
return w(y) === d;
|
|
8032
8041
|
}, Q.isValidElementType = function(y) {
|
|
8033
|
-
return typeof y == "string" || typeof y == "function" || y === i || y === u || y === o || y === r || y === d || y === f || typeof y == "object" && y !== null && (y.$$typeof ===
|
|
8042
|
+
return typeof y == "string" || typeof y == "function" || y === i || y === u || y === o || y === r || y === d || y === f || typeof y == "object" && y !== null && (y.$$typeof === g || y.$$typeof === m || y.$$typeof === s || y.$$typeof === a || y.$$typeof === c || y.$$typeof === b || y.$$typeof === h || y.$$typeof === T || y.$$typeof === v);
|
|
8034
8043
|
}, Q.typeOf = w, Q;
|
|
8035
8044
|
}
|
|
8036
8045
|
var ee = {};
|
|
@@ -8045,10 +8054,10 @@ var ee = {};
|
|
|
8045
8054
|
var ba;
|
|
8046
8055
|
function wx() {
|
|
8047
8056
|
return ba || (ba = 1, process.env.NODE_ENV !== "production" && (function() {
|
|
8048
|
-
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, i = e ? Symbol.for("react.fragment") : 60107, r = e ? Symbol.for("react.strict_mode") : 60108, o = e ? Symbol.for("react.profiler") : 60114, s = e ? Symbol.for("react.provider") : 60109, a = e ? Symbol.for("react.context") : 60110, l = e ? Symbol.for("react.async_mode") : 60111, u = e ? Symbol.for("react.concurrent_mode") : 60111, c = e ? Symbol.for("react.forward_ref") : 60112, d = e ? Symbol.for("react.suspense") : 60113, f = e ? Symbol.for("react.suspense_list") : 60120, m = e ? Symbol.for("react.memo") : 60115,
|
|
8057
|
+
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, i = e ? Symbol.for("react.fragment") : 60107, r = e ? Symbol.for("react.strict_mode") : 60108, o = e ? Symbol.for("react.profiler") : 60114, s = e ? Symbol.for("react.provider") : 60109, a = e ? Symbol.for("react.context") : 60110, l = e ? Symbol.for("react.async_mode") : 60111, u = e ? Symbol.for("react.concurrent_mode") : 60111, c = e ? Symbol.for("react.forward_ref") : 60112, d = e ? Symbol.for("react.suspense") : 60113, f = e ? Symbol.for("react.suspense_list") : 60120, m = e ? Symbol.for("react.memo") : 60115, g = e ? Symbol.for("react.lazy") : 60116, v = e ? Symbol.for("react.block") : 60121, b = e ? Symbol.for("react.fundamental") : 60117, h = e ? Symbol.for("react.responder") : 60118, T = e ? Symbol.for("react.scope") : 60119;
|
|
8049
8058
|
function w(R) {
|
|
8050
8059
|
return typeof R == "string" || typeof R == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
|
|
8051
|
-
R === i || R === u || R === o || R === r || R === d || R === f || typeof R == "object" && R !== null && (R.$$typeof ===
|
|
8060
|
+
R === i || R === u || R === o || R === r || R === d || R === f || typeof R == "object" && R !== null && (R.$$typeof === g || R.$$typeof === m || R.$$typeof === s || R.$$typeof === a || R.$$typeof === c || R.$$typeof === b || R.$$typeof === h || R.$$typeof === T || R.$$typeof === v);
|
|
8052
8061
|
}
|
|
8053
8062
|
function S(R) {
|
|
8054
8063
|
if (typeof R == "object" && R !== null) {
|
|
@@ -8069,7 +8078,7 @@ function wx() {
|
|
|
8069
8078
|
switch (Kt) {
|
|
8070
8079
|
case a:
|
|
8071
8080
|
case c:
|
|
8072
|
-
case
|
|
8081
|
+
case g:
|
|
8073
8082
|
case m:
|
|
8074
8083
|
case s:
|
|
8075
8084
|
return Kt;
|
|
@@ -8082,11 +8091,11 @@ function wx() {
|
|
|
8082
8091
|
}
|
|
8083
8092
|
}
|
|
8084
8093
|
}
|
|
8085
|
-
var y = l, C = u, j = a, P = s, O = t, B = c, D = i, X =
|
|
8094
|
+
var y = l, C = u, j = a, P = s, O = t, B = c, D = i, X = g, H = m, N = n, J = o, te = r, Y = d, W = !1;
|
|
8086
8095
|
function G(R) {
|
|
8087
|
-
return W || (W = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),
|
|
8096
|
+
return W || (W = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), x(R) || S(R) === l;
|
|
8088
8097
|
}
|
|
8089
|
-
function
|
|
8098
|
+
function x(R) {
|
|
8090
8099
|
return S(R) === u;
|
|
8091
8100
|
}
|
|
8092
8101
|
function k(R) {
|
|
@@ -8105,7 +8114,7 @@ function wx() {
|
|
|
8105
8114
|
return S(R) === i;
|
|
8106
8115
|
}
|
|
8107
8116
|
function U(R) {
|
|
8108
|
-
return S(R) ===
|
|
8117
|
+
return S(R) === g;
|
|
8109
8118
|
}
|
|
8110
8119
|
function z(R) {
|
|
8111
8120
|
return S(R) === m;
|
|
@@ -8122,7 +8131,7 @@ function wx() {
|
|
|
8122
8131
|
function ce(R) {
|
|
8123
8132
|
return S(R) === d;
|
|
8124
8133
|
}
|
|
8125
|
-
ee.AsyncMode = y, ee.ConcurrentMode = C, ee.ContextConsumer = j, ee.ContextProvider = P, ee.Element = O, ee.ForwardRef = B, ee.Fragment = D, ee.Lazy = X, ee.Memo = H, ee.Portal = N, ee.Profiler = J, ee.StrictMode = te, ee.Suspense = Y, ee.isAsyncMode = G, ee.isConcurrentMode =
|
|
8134
|
+
ee.AsyncMode = y, ee.ConcurrentMode = C, ee.ContextConsumer = j, ee.ContextProvider = P, ee.Element = O, ee.ForwardRef = B, ee.Fragment = D, ee.Lazy = X, ee.Memo = H, ee.Portal = N, ee.Profiler = J, ee.StrictMode = te, ee.Suspense = Y, ee.isAsyncMode = G, ee.isConcurrentMode = x, ee.isContextConsumer = k, ee.isContextProvider = M, ee.isElement = F, ee.isForwardRef = V, ee.isFragment = _, ee.isLazy = U, ee.isMemo = z, ee.isPortal = L, ee.isProfiler = K, ee.isStrictMode = Z, ee.isSuspense = ce, ee.isValidElementType = w, ee.typeOf = S;
|
|
8126
8135
|
})()), ee;
|
|
8127
8136
|
}
|
|
8128
8137
|
var wa;
|
|
@@ -8221,8 +8230,8 @@ function Sx() {
|
|
|
8221
8230
|
throw f.name = "Invariant Violation", f;
|
|
8222
8231
|
}
|
|
8223
8232
|
d = o[c](s, c, l, a, null, t);
|
|
8224
|
-
} catch (
|
|
8225
|
-
d =
|
|
8233
|
+
} catch (g) {
|
|
8234
|
+
d = g;
|
|
8226
8235
|
}
|
|
8227
8236
|
if (d && !(d instanceof Error) && e(
|
|
8228
8237
|
(l || "React class") + ": type specification of " + a + " `" + c + "` is invalid; the type checker function must return `null` or an `Error` but returned a " + typeof d + ". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."
|
|
@@ -8259,8 +8268,8 @@ function kx() {
|
|
|
8259
8268
|
}
|
|
8260
8269
|
return qi = function(a, l) {
|
|
8261
8270
|
var u = typeof Symbol == "function" && Symbol.iterator, c = "@@iterator";
|
|
8262
|
-
function d(
|
|
8263
|
-
var k =
|
|
8271
|
+
function d(x) {
|
|
8272
|
+
var k = x && (u && x[u] || x[c]);
|
|
8264
8273
|
if (typeof k == "function")
|
|
8265
8274
|
return k;
|
|
8266
8275
|
}
|
|
@@ -8285,14 +8294,14 @@ function kx() {
|
|
|
8285
8294
|
shape: X,
|
|
8286
8295
|
exact: H
|
|
8287
8296
|
};
|
|
8288
|
-
function
|
|
8289
|
-
return
|
|
8297
|
+
function g(x, k) {
|
|
8298
|
+
return x === k ? x !== 0 || 1 / x === 1 / k : x !== x && k !== k;
|
|
8290
8299
|
}
|
|
8291
|
-
function x
|
|
8292
|
-
this.message =
|
|
8300
|
+
function v(x, k) {
|
|
8301
|
+
this.message = x, this.data = k && typeof k == "object" ? k : {}, this.stack = "";
|
|
8293
8302
|
}
|
|
8294
|
-
|
|
8295
|
-
function b(
|
|
8303
|
+
v.prototype = Error.prototype;
|
|
8304
|
+
function b(x) {
|
|
8296
8305
|
if (process.env.NODE_ENV !== "production")
|
|
8297
8306
|
var k = {}, M = 0;
|
|
8298
8307
|
function F(_, U, z, L, K, Z, ce) {
|
|
@@ -8310,19 +8319,19 @@ function kx() {
|
|
|
8310
8319
|
), k[ge] = !0, M++);
|
|
8311
8320
|
}
|
|
8312
8321
|
}
|
|
8313
|
-
return U[z] == null ? _ ? U[z] === null ? new
|
|
8322
|
+
return U[z] == null ? _ ? U[z] === null ? new v("The " + K + " `" + Z + "` is marked as required " + ("in `" + L + "`, but its value is `null`.")) : new v("The " + K + " `" + Z + "` is marked as required in " + ("`" + L + "`, but its value is `undefined`.")) : null : x(U, z, L, K, Z);
|
|
8314
8323
|
}
|
|
8315
8324
|
var V = F.bind(null, !1);
|
|
8316
8325
|
return V.isRequired = F.bind(null, !0), V;
|
|
8317
8326
|
}
|
|
8318
|
-
function h(
|
|
8327
|
+
function h(x) {
|
|
8319
8328
|
function k(M, F, V, _, U, z) {
|
|
8320
8329
|
var L = M[F], K = te(L);
|
|
8321
|
-
if (K !==
|
|
8330
|
+
if (K !== x) {
|
|
8322
8331
|
var Z = Y(L);
|
|
8323
|
-
return new
|
|
8324
|
-
"Invalid " + _ + " `" + U + "` of type " + ("`" + Z + "` supplied to `" + V + "`, expected ") + ("`" +
|
|
8325
|
-
{ expectedType:
|
|
8332
|
+
return new v(
|
|
8333
|
+
"Invalid " + _ + " `" + U + "` of type " + ("`" + Z + "` supplied to `" + V + "`, expected ") + ("`" + x + "`."),
|
|
8334
|
+
{ expectedType: x }
|
|
8326
8335
|
);
|
|
8327
8336
|
}
|
|
8328
8337
|
return null;
|
|
@@ -8332,17 +8341,17 @@ function kx() {
|
|
|
8332
8341
|
function T() {
|
|
8333
8342
|
return b(s);
|
|
8334
8343
|
}
|
|
8335
|
-
function w(
|
|
8344
|
+
function w(x) {
|
|
8336
8345
|
function k(M, F, V, _, U) {
|
|
8337
|
-
if (typeof
|
|
8338
|
-
return new
|
|
8346
|
+
if (typeof x != "function")
|
|
8347
|
+
return new v("Property `" + U + "` of component `" + V + "` has invalid PropType notation inside arrayOf.");
|
|
8339
8348
|
var z = M[F];
|
|
8340
8349
|
if (!Array.isArray(z)) {
|
|
8341
8350
|
var L = te(z);
|
|
8342
|
-
return new
|
|
8351
|
+
return new v("Invalid " + _ + " `" + U + "` of type " + ("`" + L + "` supplied to `" + V + "`, expected an array."));
|
|
8343
8352
|
}
|
|
8344
8353
|
for (var K = 0; K < z.length; K++) {
|
|
8345
|
-
var Z =
|
|
8354
|
+
var Z = x(z, K, V, _, U + "[" + K + "]", n);
|
|
8346
8355
|
if (Z instanceof Error)
|
|
8347
8356
|
return Z;
|
|
8348
8357
|
}
|
|
@@ -8351,64 +8360,64 @@ function kx() {
|
|
|
8351
8360
|
return b(k);
|
|
8352
8361
|
}
|
|
8353
8362
|
function S() {
|
|
8354
|
-
function
|
|
8363
|
+
function x(k, M, F, V, _) {
|
|
8355
8364
|
var U = k[M];
|
|
8356
8365
|
if (!a(U)) {
|
|
8357
8366
|
var z = te(U);
|
|
8358
|
-
return new
|
|
8367
|
+
return new v("Invalid " + V + " `" + _ + "` of type " + ("`" + z + "` supplied to `" + F + "`, expected a single ReactElement."));
|
|
8359
8368
|
}
|
|
8360
8369
|
return null;
|
|
8361
8370
|
}
|
|
8362
|
-
return b(
|
|
8371
|
+
return b(x);
|
|
8363
8372
|
}
|
|
8364
8373
|
function y() {
|
|
8365
|
-
function
|
|
8374
|
+
function x(k, M, F, V, _) {
|
|
8366
8375
|
var U = k[M];
|
|
8367
8376
|
if (!e.isValidElementType(U)) {
|
|
8368
8377
|
var z = te(U);
|
|
8369
|
-
return new
|
|
8378
|
+
return new v("Invalid " + V + " `" + _ + "` of type " + ("`" + z + "` supplied to `" + F + "`, expected a single ReactElement type."));
|
|
8370
8379
|
}
|
|
8371
8380
|
return null;
|
|
8372
8381
|
}
|
|
8373
|
-
return b(
|
|
8382
|
+
return b(x);
|
|
8374
8383
|
}
|
|
8375
|
-
function C(
|
|
8384
|
+
function C(x) {
|
|
8376
8385
|
function k(M, F, V, _, U) {
|
|
8377
|
-
if (!(M[F] instanceof
|
|
8378
|
-
var z =
|
|
8379
|
-
return new
|
|
8386
|
+
if (!(M[F] instanceof x)) {
|
|
8387
|
+
var z = x.name || f, L = G(M[F]);
|
|
8388
|
+
return new v("Invalid " + _ + " `" + U + "` of type " + ("`" + L + "` supplied to `" + V + "`, expected ") + ("instance of `" + z + "`."));
|
|
8380
8389
|
}
|
|
8381
8390
|
return null;
|
|
8382
8391
|
}
|
|
8383
8392
|
return b(k);
|
|
8384
8393
|
}
|
|
8385
|
-
function j(
|
|
8386
|
-
if (!Array.isArray(
|
|
8394
|
+
function j(x) {
|
|
8395
|
+
if (!Array.isArray(x))
|
|
8387
8396
|
return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? o(
|
|
8388
8397
|
"Invalid arguments supplied to oneOf, expected an array, got " + arguments.length + " arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."
|
|
8389
8398
|
) : o("Invalid argument supplied to oneOf, expected an array.")), s;
|
|
8390
8399
|
function k(M, F, V, _, U) {
|
|
8391
|
-
for (var z = M[F], L = 0; L <
|
|
8392
|
-
if (
|
|
8400
|
+
for (var z = M[F], L = 0; L < x.length; L++)
|
|
8401
|
+
if (g(z, x[L]))
|
|
8393
8402
|
return null;
|
|
8394
|
-
var K = JSON.stringify(
|
|
8403
|
+
var K = JSON.stringify(x, function(ce, R) {
|
|
8395
8404
|
var ge = Y(R);
|
|
8396
8405
|
return ge === "symbol" ? String(R) : R;
|
|
8397
8406
|
});
|
|
8398
|
-
return new
|
|
8407
|
+
return new v("Invalid " + _ + " `" + U + "` of value `" + String(z) + "` " + ("supplied to `" + V + "`, expected one of " + K + "."));
|
|
8399
8408
|
}
|
|
8400
8409
|
return b(k);
|
|
8401
8410
|
}
|
|
8402
|
-
function P(
|
|
8411
|
+
function P(x) {
|
|
8403
8412
|
function k(M, F, V, _, U) {
|
|
8404
|
-
if (typeof
|
|
8405
|
-
return new
|
|
8413
|
+
if (typeof x != "function")
|
|
8414
|
+
return new v("Property `" + U + "` of component `" + V + "` has invalid PropType notation inside objectOf.");
|
|
8406
8415
|
var z = M[F], L = te(z);
|
|
8407
8416
|
if (L !== "object")
|
|
8408
|
-
return new
|
|
8417
|
+
return new v("Invalid " + _ + " `" + U + "` of type " + ("`" + L + "` supplied to `" + V + "`, expected an object."));
|
|
8409
8418
|
for (var K in z)
|
|
8410
8419
|
if (i(z, K)) {
|
|
8411
|
-
var Z =
|
|
8420
|
+
var Z = x(z, K, V, _, U + "." + K, n);
|
|
8412
8421
|
if (Z instanceof Error)
|
|
8413
8422
|
return Z;
|
|
8414
8423
|
}
|
|
@@ -8416,46 +8425,46 @@ function kx() {
|
|
|
8416
8425
|
}
|
|
8417
8426
|
return b(k);
|
|
8418
8427
|
}
|
|
8419
|
-
function O(
|
|
8420
|
-
if (!Array.isArray(
|
|
8428
|
+
function O(x) {
|
|
8429
|
+
if (!Array.isArray(x))
|
|
8421
8430
|
return process.env.NODE_ENV !== "production" && o("Invalid argument supplied to oneOfType, expected an instance of array."), s;
|
|
8422
|
-
for (var k = 0; k <
|
|
8423
|
-
var M =
|
|
8431
|
+
for (var k = 0; k < x.length; k++) {
|
|
8432
|
+
var M = x[k];
|
|
8424
8433
|
if (typeof M != "function")
|
|
8425
8434
|
return o(
|
|
8426
8435
|
"Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + W(M) + " at index " + k + "."
|
|
8427
8436
|
), s;
|
|
8428
8437
|
}
|
|
8429
8438
|
function F(V, _, U, z, L) {
|
|
8430
|
-
for (var K = [], Z = 0; Z <
|
|
8431
|
-
var ce =
|
|
8439
|
+
for (var K = [], Z = 0; Z < x.length; Z++) {
|
|
8440
|
+
var ce = x[Z], R = ce(V, _, U, z, L, n);
|
|
8432
8441
|
if (R == null)
|
|
8433
8442
|
return null;
|
|
8434
8443
|
R.data && i(R.data, "expectedType") && K.push(R.data.expectedType);
|
|
8435
8444
|
}
|
|
8436
8445
|
var ge = K.length > 0 ? ", expected one of type [" + K.join(", ") + "]" : "";
|
|
8437
|
-
return new
|
|
8446
|
+
return new v("Invalid " + z + " `" + L + "` supplied to " + ("`" + U + "`" + ge + "."));
|
|
8438
8447
|
}
|
|
8439
8448
|
return b(F);
|
|
8440
8449
|
}
|
|
8441
8450
|
function B() {
|
|
8442
|
-
function
|
|
8443
|
-
return N(k[M]) ? null : new
|
|
8451
|
+
function x(k, M, F, V, _) {
|
|
8452
|
+
return N(k[M]) ? null : new v("Invalid " + V + " `" + _ + "` supplied to " + ("`" + F + "`, expected a ReactNode."));
|
|
8444
8453
|
}
|
|
8445
|
-
return b(
|
|
8454
|
+
return b(x);
|
|
8446
8455
|
}
|
|
8447
|
-
function D(
|
|
8448
|
-
return new
|
|
8449
|
-
(
|
|
8456
|
+
function D(x, k, M, F, V) {
|
|
8457
|
+
return new v(
|
|
8458
|
+
(x || "React class") + ": " + k + " type `" + M + "." + F + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + V + "`."
|
|
8450
8459
|
);
|
|
8451
8460
|
}
|
|
8452
|
-
function X(
|
|
8461
|
+
function X(x) {
|
|
8453
8462
|
function k(M, F, V, _, U) {
|
|
8454
8463
|
var z = M[F], L = te(z);
|
|
8455
8464
|
if (L !== "object")
|
|
8456
|
-
return new
|
|
8457
|
-
for (var K in
|
|
8458
|
-
var Z =
|
|
8465
|
+
return new v("Invalid " + _ + " `" + U + "` of type `" + L + "` " + ("supplied to `" + V + "`, expected `object`."));
|
|
8466
|
+
for (var K in x) {
|
|
8467
|
+
var Z = x[K];
|
|
8459
8468
|
if (typeof Z != "function")
|
|
8460
8469
|
return D(V, _, U, K, Y(Z));
|
|
8461
8470
|
var ce = Z(z, K, V, _, U + "." + K, n);
|
|
@@ -8466,20 +8475,20 @@ function kx() {
|
|
|
8466
8475
|
}
|
|
8467
8476
|
return b(k);
|
|
8468
8477
|
}
|
|
8469
|
-
function H(
|
|
8478
|
+
function H(x) {
|
|
8470
8479
|
function k(M, F, V, _, U) {
|
|
8471
8480
|
var z = M[F], L = te(z);
|
|
8472
8481
|
if (L !== "object")
|
|
8473
|
-
return new
|
|
8474
|
-
var K = t({}, M[F],
|
|
8482
|
+
return new v("Invalid " + _ + " `" + U + "` of type `" + L + "` " + ("supplied to `" + V + "`, expected `object`."));
|
|
8483
|
+
var K = t({}, M[F], x);
|
|
8475
8484
|
for (var Z in K) {
|
|
8476
|
-
var ce =
|
|
8477
|
-
if (i(
|
|
8485
|
+
var ce = x[Z];
|
|
8486
|
+
if (i(x, Z) && typeof ce != "function")
|
|
8478
8487
|
return D(V, _, U, Z, Y(ce));
|
|
8479
8488
|
if (!ce)
|
|
8480
|
-
return new
|
|
8489
|
+
return new v(
|
|
8481
8490
|
"Invalid " + _ + " `" + U + "` key `" + Z + "` supplied to `" + V + "`.\nBad object: " + JSON.stringify(M[F], null, " ") + `
|
|
8482
|
-
Valid keys: ` + JSON.stringify(Object.keys(
|
|
8491
|
+
Valid keys: ` + JSON.stringify(Object.keys(x), null, " ")
|
|
8483
8492
|
);
|
|
8484
8493
|
var R = ce(z, Z, V, _, U + "." + Z, n);
|
|
8485
8494
|
if (R)
|
|
@@ -8489,23 +8498,23 @@ Valid keys: ` + JSON.stringify(Object.keys(g), null, " ")
|
|
|
8489
8498
|
}
|
|
8490
8499
|
return b(k);
|
|
8491
8500
|
}
|
|
8492
|
-
function N(
|
|
8493
|
-
switch (typeof
|
|
8501
|
+
function N(x) {
|
|
8502
|
+
switch (typeof x) {
|
|
8494
8503
|
case "number":
|
|
8495
8504
|
case "string":
|
|
8496
8505
|
case "undefined":
|
|
8497
8506
|
return !0;
|
|
8498
8507
|
case "boolean":
|
|
8499
|
-
return !
|
|
8508
|
+
return !x;
|
|
8500
8509
|
case "object":
|
|
8501
|
-
if (Array.isArray(
|
|
8502
|
-
return
|
|
8503
|
-
if (
|
|
8510
|
+
if (Array.isArray(x))
|
|
8511
|
+
return x.every(N);
|
|
8512
|
+
if (x === null || a(x))
|
|
8504
8513
|
return !0;
|
|
8505
|
-
var k = d(
|
|
8514
|
+
var k = d(x);
|
|
8506
8515
|
if (k) {
|
|
8507
|
-
var M = k.call(
|
|
8508
|
-
if (k !==
|
|
8516
|
+
var M = k.call(x), F;
|
|
8517
|
+
if (k !== x.entries) {
|
|
8509
8518
|
for (; !(F = M.next()).done; )
|
|
8510
8519
|
if (!N(F.value))
|
|
8511
8520
|
return !1;
|
|
@@ -8522,27 +8531,27 @@ Valid keys: ` + JSON.stringify(Object.keys(g), null, " ")
|
|
|
8522
8531
|
return !1;
|
|
8523
8532
|
}
|
|
8524
8533
|
}
|
|
8525
|
-
function J(
|
|
8526
|
-
return
|
|
8534
|
+
function J(x, k) {
|
|
8535
|
+
return x === "symbol" ? !0 : k ? k["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && k instanceof Symbol : !1;
|
|
8527
8536
|
}
|
|
8528
|
-
function te(
|
|
8529
|
-
var k = typeof
|
|
8530
|
-
return Array.isArray(
|
|
8537
|
+
function te(x) {
|
|
8538
|
+
var k = typeof x;
|
|
8539
|
+
return Array.isArray(x) ? "array" : x instanceof RegExp ? "object" : J(k, x) ? "symbol" : k;
|
|
8531
8540
|
}
|
|
8532
|
-
function Y(
|
|
8533
|
-
if (typeof
|
|
8534
|
-
return "" +
|
|
8535
|
-
var k = te(
|
|
8541
|
+
function Y(x) {
|
|
8542
|
+
if (typeof x > "u" || x === null)
|
|
8543
|
+
return "" + x;
|
|
8544
|
+
var k = te(x);
|
|
8536
8545
|
if (k === "object") {
|
|
8537
|
-
if (
|
|
8546
|
+
if (x instanceof Date)
|
|
8538
8547
|
return "date";
|
|
8539
|
-
if (
|
|
8548
|
+
if (x instanceof RegExp)
|
|
8540
8549
|
return "regexp";
|
|
8541
8550
|
}
|
|
8542
8551
|
return k;
|
|
8543
8552
|
}
|
|
8544
|
-
function W(
|
|
8545
|
-
var k = Y(
|
|
8553
|
+
function W(x) {
|
|
8554
|
+
var k = Y(x);
|
|
8546
8555
|
switch (k) {
|
|
8547
8556
|
case "array":
|
|
8548
8557
|
case "object":
|
|
@@ -8555,8 +8564,8 @@ Valid keys: ` + JSON.stringify(Object.keys(g), null, " ")
|
|
|
8555
8564
|
return k;
|
|
8556
8565
|
}
|
|
8557
8566
|
}
|
|
8558
|
-
function G(
|
|
8559
|
-
return !
|
|
8567
|
+
function G(x) {
|
|
8568
|
+
return !x.constructor || !x.constructor.name ? f : x.constructor.name;
|
|
8560
8569
|
}
|
|
8561
8570
|
return m.checkPropTypes = r, m.resetWarningCache = r.resetWarningCache, m.PropTypes = m, m;
|
|
8562
8571
|
}, qi;
|
|
@@ -10142,8 +10151,8 @@ function dt(e) {
|
|
|
10142
10151
|
function ny(e) {
|
|
10143
10152
|
var t = e.files, n = e.accept, i = e.minSize, r = e.maxSize, o = e.multiple, s = e.maxFiles, a = e.validator;
|
|
10144
10153
|
return !o && t.length > 1 || o && s >= 1 && t.length > s ? !1 : t.every(function(l) {
|
|
10145
|
-
var u = gu(l, n), c = gn(u, 1), d = c[0], f = vu(l, i, r), m = gn(f, 1),
|
|
10146
|
-
return d &&
|
|
10154
|
+
var u = gu(l, n), c = gn(u, 1), d = c[0], f = vu(l, i, r), m = gn(f, 1), g = m[0], v = a ? a(l) : null;
|
|
10155
|
+
return d && g && !v;
|
|
10147
10156
|
});
|
|
10148
10157
|
}
|
|
10149
10158
|
function Qn(e) {
|
|
@@ -10525,15 +10534,15 @@ var Cr = {
|
|
|
10525
10534
|
fileRejections: []
|
|
10526
10535
|
};
|
|
10527
10536
|
function Do() {
|
|
10528
|
-
var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = ie(ie({}, wu), e), n = t.accept, i = t.disabled, r = t.getFilesFromEvent, o = t.maxSize, s = t.minSize, a = t.multiple, l = t.maxFiles, u = t.onDragEnter, c = t.onDragLeave, d = t.onDragOver, f = t.onDrop, m = t.onDropAccepted,
|
|
10537
|
+
var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = ie(ie({}, wu), e), n = t.accept, i = t.disabled, r = t.getFilesFromEvent, o = t.maxSize, s = t.minSize, a = t.multiple, l = t.maxFiles, u = t.onDragEnter, c = t.onDragLeave, d = t.onDragOver, f = t.onDrop, m = t.onDropAccepted, g = t.onDropRejected, v = t.onFileDialogCancel, b = t.onFileDialogOpen, h = t.useFsAccessApi, T = t.autoFocus, w = t.preventDropOnDocument, S = t.noClick, y = t.noKeyboard, C = t.noDrag, j = t.noDragEventsBubbling, P = t.onError, O = t.validator, B = Ee(function() {
|
|
10529
10538
|
return ly(n);
|
|
10530
10539
|
}, [n]), D = Ee(function() {
|
|
10531
10540
|
return ay(n);
|
|
10532
10541
|
}, [n]), X = Ee(function() {
|
|
10533
10542
|
return typeof b == "function" ? b : Ba;
|
|
10534
10543
|
}, [b]), H = Ee(function() {
|
|
10535
|
-
return typeof
|
|
10536
|
-
}, [
|
|
10544
|
+
return typeof v == "function" ? v : Ba;
|
|
10545
|
+
}, [v]), N = ye(null), J = ye(null), te = Mu(Ty, Cr), Y = Yi(te, 2), W = Y[0], G = Y[1], x = W.isFocused, k = W.isFileDialogActive, M = ye(typeof window < "u" && window.isSecureContext && h && sy()), F = function() {
|
|
10537
10546
|
!M.current && k && setTimeout(function() {
|
|
10538
10547
|
if (J.current) {
|
|
10539
10548
|
var $ = J.current.files;
|
|
@@ -10654,8 +10663,8 @@ function Do() {
|
|
|
10654
10663
|
acceptedFiles: se,
|
|
10655
10664
|
fileRejections: de,
|
|
10656
10665
|
type: "setFiles"
|
|
10657
|
-
}), f && f(se, de, $), de.length > 0 &&
|
|
10658
|
-
}, [G, a, B, s, o, l, f, m,
|
|
10666
|
+
}), f && f(se, de, $), de.length > 0 && g && g(de, $), se.length > 0 && m && m(se, $);
|
|
10667
|
+
}, [G, a, B, s, o, l, f, m, g, O]), R = we(function(A) {
|
|
10659
10668
|
A.preventDefault(), A.persist(), kn(A), V.current = [], Jt(A) && Promise.resolve(r(A)).then(function($) {
|
|
10660
10669
|
Qn(A) && !j || ce($, A);
|
|
10661
10670
|
}).catch(function($) {
|
|
@@ -10753,7 +10762,7 @@ function Do() {
|
|
|
10753
10762
|
};
|
|
10754
10763
|
}, [J, n, a, R, i]);
|
|
10755
10764
|
return ie(ie({}, W), {}, {
|
|
10756
|
-
isFocused:
|
|
10765
|
+
isFocused: x && !i,
|
|
10757
10766
|
getRootProps: ju,
|
|
10758
10767
|
getInputProps: Cu,
|
|
10759
10768
|
rootRef: N,
|
|
@@ -10830,8 +10839,8 @@ const Sy = {
|
|
|
10830
10839
|
onChange: d,
|
|
10831
10840
|
onDropRejected: f,
|
|
10832
10841
|
accept: m,
|
|
10833
|
-
maxSize:
|
|
10834
|
-
minSize:
|
|
10842
|
+
maxSize: g,
|
|
10843
|
+
minSize: v,
|
|
10835
10844
|
disabled: b = !1,
|
|
10836
10845
|
className: h
|
|
10837
10846
|
} = e, T = async (O) => {
|
|
@@ -10846,8 +10855,8 @@ const Sy = {
|
|
|
10846
10855
|
} = Do({
|
|
10847
10856
|
multiple: !1,
|
|
10848
10857
|
accept: m,
|
|
10849
|
-
maxSize:
|
|
10850
|
-
minSize:
|
|
10858
|
+
maxSize: g,
|
|
10859
|
+
minSize: v,
|
|
10851
10860
|
disabled: b,
|
|
10852
10861
|
onDrop: T,
|
|
10853
10862
|
onDropRejected: f
|
|
@@ -10967,8 +10976,8 @@ const Sy = {
|
|
|
10967
10976
|
accept: d,
|
|
10968
10977
|
maxSize: f,
|
|
10969
10978
|
minSize: m,
|
|
10970
|
-
maxFiles:
|
|
10971
|
-
disabled:
|
|
10979
|
+
maxFiles: g,
|
|
10980
|
+
disabled: v = !1,
|
|
10972
10981
|
className: b
|
|
10973
10982
|
} = e, [h, T] = ue([]), w = ye(0), S = (D, X) => {
|
|
10974
10983
|
T((H) => H.map((N) => N.id === D ? { ...N, ...X } : N));
|
|
@@ -11000,8 +11009,8 @@ const Sy = {
|
|
|
11000
11009
|
accept: d,
|
|
11001
11010
|
maxSize: f,
|
|
11002
11011
|
minSize: m,
|
|
11003
|
-
maxFiles:
|
|
11004
|
-
disabled:
|
|
11012
|
+
maxFiles: g,
|
|
11013
|
+
disabled: v,
|
|
11005
11014
|
onDrop: y,
|
|
11006
11015
|
onDropRejected: u
|
|
11007
11016
|
});
|
|
@@ -11018,7 +11027,7 @@ const Sy = {
|
|
|
11018
11027
|
"ring-0 focus:outline-none",
|
|
11019
11028
|
(B || O) && "ring-4",
|
|
11020
11029
|
i && "input-error",
|
|
11021
|
-
|
|
11030
|
+
v && "opacity-60 cursor-not-allowed"
|
|
11022
11031
|
)
|
|
11023
11032
|
}),
|
|
11024
11033
|
children: [
|
|
@@ -11128,11 +11137,11 @@ const Sy = {
|
|
|
11128
11137
|
maxHeight: l = 300,
|
|
11129
11138
|
error: u,
|
|
11130
11139
|
size: c = "md"
|
|
11131
|
-
} = e, [d, f] = ue(!1), m = E.useRef(null),
|
|
11140
|
+
} = e, [d, f] = ue(!1), m = E.useRef(null), g = r?.find((h) => h.value === s);
|
|
11132
11141
|
Ht(d, () => f(!1)), be(() => {
|
|
11133
11142
|
d && m.current?.focus({ preventScroll: !0 });
|
|
11134
11143
|
}, [d]);
|
|
11135
|
-
const { anchorRef:
|
|
11144
|
+
const { anchorRef: v, Popover: b } = qt({
|
|
11136
11145
|
placement: "bottom",
|
|
11137
11146
|
fullWidth: !0,
|
|
11138
11147
|
onOutsideClick: () => f(!1)
|
|
@@ -11146,7 +11155,7 @@ const Sy = {
|
|
|
11146
11155
|
),
|
|
11147
11156
|
children: [
|
|
11148
11157
|
/* @__PURE__ */ p.jsx(Xe, { children: n }),
|
|
11149
|
-
/* @__PURE__ */ p.jsxs("div", { className: "relative flex w-full flex-col", ref:
|
|
11158
|
+
/* @__PURE__ */ p.jsxs("div", { className: "relative flex w-full flex-col", ref: v, children: [
|
|
11150
11159
|
/* @__PURE__ */ p.jsxs(
|
|
11151
11160
|
"div",
|
|
11152
11161
|
{
|
|
@@ -11165,8 +11174,8 @@ const Sy = {
|
|
|
11165
11174
|
onKeyDown: (h) => h.key === " " && f((T) => !T),
|
|
11166
11175
|
onClick: () => f(!d),
|
|
11167
11176
|
children: [
|
|
11168
|
-
|
|
11169
|
-
!
|
|
11177
|
+
g && /* @__PURE__ */ p.jsx("span", { children: g.label }),
|
|
11178
|
+
!g && a && /* @__PURE__ */ p.jsx("span", { className: "select-placeholder", children: a })
|
|
11170
11179
|
]
|
|
11171
11180
|
}
|
|
11172
11181
|
),
|
|
@@ -11209,9 +11218,9 @@ const Sy = {
|
|
|
11209
11218
|
maxHeight: u = 300,
|
|
11210
11219
|
error: c,
|
|
11211
11220
|
size: d = "md"
|
|
11212
|
-
} = e, [f, m] = ue(!1), [
|
|
11221
|
+
} = e, [f, m] = ue(!1), [g, v] = ue(r), [b, h] = ue(""), T = E.useRef(null), w = E.useRef(null), S = r?.find((j) => j.value === a);
|
|
11213
11222
|
Ht(f, () => m(!1)), be(() => {
|
|
11214
|
-
|
|
11223
|
+
v(s(b));
|
|
11215
11224
|
}, [b, r, s]), be(() => {
|
|
11216
11225
|
f && setTimeout(() => w.current?.focus(), 100);
|
|
11217
11226
|
}, [f]);
|
|
@@ -11275,8 +11284,8 @@ const Sy = {
|
|
|
11275
11284
|
] }),
|
|
11276
11285
|
/* @__PURE__ */ p.jsxs("div", { className: "flex flex-col gap-1 p-2", children: [
|
|
11277
11286
|
b !== "" && /* @__PURE__ */ p.jsxs(p.Fragment, { children: [
|
|
11278
|
-
|
|
11279
|
-
|
|
11287
|
+
g.length === 0 && /* @__PURE__ */ p.jsx("div", { className: "flex flex-col items-center justify-center py-6", children: /* @__PURE__ */ p.jsx(Bc, { className: "h-6 w-6 text-[var(--color-input-text)]" }) }),
|
|
11288
|
+
g.map((j) => {
|
|
11280
11289
|
const P = j.value === a;
|
|
11281
11290
|
return /* @__PURE__ */ p.jsx(
|
|
11282
11291
|
ti,
|
|
@@ -11339,8 +11348,8 @@ const Sy = {
|
|
|
11339
11348
|
maxHeight: c = 300,
|
|
11340
11349
|
error: d,
|
|
11341
11350
|
size: f = "md"
|
|
11342
|
-
} = e, [m,
|
|
11343
|
-
Ht(m, () =>
|
|
11351
|
+
} = e, [m, g] = ue(!1), v = E.useRef(null), [b, h] = ue(""), [T, w] = ue([]), [S, y] = ue(null), C = E.useRef(null), [j, P] = ue(!1), [O, B] = ue(!1);
|
|
11352
|
+
Ht(m, () => g(!1));
|
|
11344
11353
|
const D = Ry(b, a);
|
|
11345
11354
|
be(() => {
|
|
11346
11355
|
(async () => {
|
|
@@ -11365,7 +11374,7 @@ const Sy = {
|
|
|
11365
11374
|
const { anchorRef: X, Popover: H } = qt({
|
|
11366
11375
|
placement: "bottom",
|
|
11367
11376
|
fullWidth: !0,
|
|
11368
|
-
onOutsideClick: () =>
|
|
11377
|
+
onOutsideClick: () => g(!1)
|
|
11369
11378
|
});
|
|
11370
11379
|
return /* @__PURE__ */ p.jsx(Ze.Provider, { value: f, children: /* @__PURE__ */ p.jsxs(
|
|
11371
11380
|
"div",
|
|
@@ -11380,7 +11389,7 @@ const Sy = {
|
|
|
11380
11389
|
/* @__PURE__ */ p.jsxs(
|
|
11381
11390
|
"div",
|
|
11382
11391
|
{
|
|
11383
|
-
ref:
|
|
11392
|
+
ref: v,
|
|
11384
11393
|
role: "button",
|
|
11385
11394
|
tabIndex: 0,
|
|
11386
11395
|
className: I(
|
|
@@ -11392,8 +11401,8 @@ const Sy = {
|
|
|
11392
11401
|
d && "select-trigger-error",
|
|
11393
11402
|
m && "ring-4"
|
|
11394
11403
|
),
|
|
11395
|
-
onKeyDown: (N) => N.key === " " &&
|
|
11396
|
-
onClick: () =>
|
|
11404
|
+
onKeyDown: (N) => N.key === " " && g((J) => !J),
|
|
11405
|
+
onClick: () => g(!m),
|
|
11397
11406
|
children: [
|
|
11398
11407
|
!O && S && /* @__PURE__ */ p.jsx("span", { children: S.label }),
|
|
11399
11408
|
!O && !S && u && /* @__PURE__ */ p.jsx("span", { className: "select-placeholder", children: u }),
|
|
@@ -11430,7 +11439,7 @@ const Sy = {
|
|
|
11430
11439
|
ti,
|
|
11431
11440
|
{
|
|
11432
11441
|
onClick: () => {
|
|
11433
|
-
!N.disabled && r && (r(N.value),
|
|
11442
|
+
!N.disabled && r && (r(N.value), g(!1));
|
|
11434
11443
|
},
|
|
11435
11444
|
selected: J,
|
|
11436
11445
|
disabled: N.disabled,
|
|
@@ -11834,13 +11843,13 @@ const Sy = {
|
|
|
11834
11843
|
if (!c || !d) return;
|
|
11835
11844
|
let f = !0;
|
|
11836
11845
|
const m = () => {
|
|
11837
|
-
const
|
|
11838
|
-
if (!(
|
|
11846
|
+
const v = i ? c.scrollWidth - c.clientWidth : c.scrollHeight - c.clientHeight, b = i ? c.scrollLeft : c.scrollTop;
|
|
11847
|
+
if (!(v <= 0 || Math.abs(v - b) < 1)) {
|
|
11839
11848
|
if (f) {
|
|
11840
|
-
f = !1, i ? c.scrollLeft =
|
|
11849
|
+
f = !1, i ? c.scrollLeft = v : c.scrollTop = v;
|
|
11841
11850
|
return;
|
|
11842
11851
|
}
|
|
11843
|
-
u.current?.stop(), u.current = Rh(b,
|
|
11852
|
+
u.current?.stop(), u.current = Rh(b, v, {
|
|
11844
11853
|
duration: t,
|
|
11845
11854
|
ease: n,
|
|
11846
11855
|
onUpdate: (h) => {
|
|
@@ -11848,9 +11857,9 @@ const Sy = {
|
|
|
11848
11857
|
}
|
|
11849
11858
|
});
|
|
11850
11859
|
}
|
|
11851
|
-
},
|
|
11852
|
-
return
|
|
11853
|
-
|
|
11860
|
+
}, g = new ResizeObserver(m);
|
|
11861
|
+
return g.observe(d), () => {
|
|
11862
|
+
g.disconnect(), u.current?.stop();
|
|
11854
11863
|
};
|
|
11855
11864
|
}, [t, n, i]), /* @__PURE__ */ p.jsx(
|
|
11856
11865
|
"div",
|
|
@@ -11874,9 +11883,9 @@ function Iy(e) {
|
|
|
11874
11883
|
disabled: r = !1,
|
|
11875
11884
|
primaryButtonOnly: o = !0,
|
|
11876
11885
|
preventScrollOnMove: s = !0
|
|
11877
|
-
} = e, [a, l] = E.useState(!1), u = E.useRef(!1), c = E.useRef(0), d = E.useRef(0), f = E.useRef(0), m = E.useRef(null),
|
|
11886
|
+
} = e, [a, l] = E.useState(!1), u = E.useRef(!1), c = E.useRef(0), d = E.useRef(0), f = E.useRef(0), m = E.useRef(null), g = E.useRef(null), v = E.useRef({ onDelta: t, onDragStart: n, onDragEnd: i, preventScrollOnMove: s });
|
|
11878
11887
|
E.useEffect(() => {
|
|
11879
|
-
|
|
11888
|
+
v.current = { onDelta: t, onDragStart: n, onDragEnd: i, preventScrollOnMove: s };
|
|
11880
11889
|
});
|
|
11881
11890
|
const b = E.useRef({}), h = E.useCallback((w) => {
|
|
11882
11891
|
if (!u.current) return;
|
|
@@ -11888,7 +11897,7 @@ function Iy(e) {
|
|
|
11888
11897
|
};
|
|
11889
11898
|
u.current = !1, l(!1);
|
|
11890
11899
|
const { move: y, up: C, keydown: j } = b.current;
|
|
11891
|
-
y && window.removeEventListener("pointermove", y, !0), C && (window.removeEventListener("pointerup", C, !0), window.removeEventListener("pointercancel", C, !0)), j && window.removeEventListener("keydown", j, !0), b.current = {},
|
|
11900
|
+
y && window.removeEventListener("pointermove", y, !0), C && (window.removeEventListener("pointerup", C, !0), window.removeEventListener("pointercancel", C, !0)), j && window.removeEventListener("keydown", j, !0), b.current = {}, g.current != null && (cancelAnimationFrame(g.current), g.current = null), v.current.onDragEnd?.(S), m.current = null, f.current = 0;
|
|
11892
11901
|
}, []), T = E.useCallback((w) => {
|
|
11893
11902
|
if (r || o && w.button !== 0) return;
|
|
11894
11903
|
w.target.setPointerCapture?.(w.pointerId), c.current = w.clientX, d.current = w.clientX, f.current = 0, m.current = w.target, u.current = !0, l(!0);
|
|
@@ -11898,10 +11907,10 @@ function Iy(e) {
|
|
|
11898
11907
|
totalDeltaX: 0,
|
|
11899
11908
|
target: w.target
|
|
11900
11909
|
};
|
|
11901
|
-
|
|
11910
|
+
v.current.onDragStart?.(S);
|
|
11902
11911
|
const y = (P) => {
|
|
11903
|
-
u.current &&
|
|
11904
|
-
|
|
11912
|
+
u.current && g.current == null && (g.current = requestAnimationFrame(() => {
|
|
11913
|
+
g.current = null;
|
|
11905
11914
|
const O = P.clientX, B = O - d.current;
|
|
11906
11915
|
if (B === 0) return;
|
|
11907
11916
|
d.current = O, f.current += B;
|
|
@@ -11911,7 +11920,7 @@ function Iy(e) {
|
|
|
11911
11920
|
totalDeltaX: f.current,
|
|
11912
11921
|
target: m.current
|
|
11913
11922
|
};
|
|
11914
|
-
|
|
11923
|
+
v.current.preventScrollOnMove && P.preventDefault(), v.current.onDelta(B, D);
|
|
11915
11924
|
}));
|
|
11916
11925
|
}, C = (P) => {
|
|
11917
11926
|
h(P.clientX);
|
|
@@ -12025,24 +12034,24 @@ const Ny = (e) => {
|
|
|
12025
12034
|
}
|
|
12026
12035
|
s(null);
|
|
12027
12036
|
}
|
|
12028
|
-
}, [o, s]),
|
|
12037
|
+
}, [o, s]), g = t.reduce(
|
|
12029
12038
|
(h, T) => h + (c[T.id] ?? T.defaultWidth ?? jt),
|
|
12030
12039
|
0
|
|
12031
|
-
),
|
|
12032
|
-
|
|
12040
|
+
), v = ye(null), b = (h) => {
|
|
12041
|
+
v.current && (v.current.scrollLeft = h.currentTarget.scrollLeft);
|
|
12033
12042
|
};
|
|
12034
12043
|
return /* @__PURE__ */ p.jsxs("div", { className: I("flex flex-col h-full w-full", a), children: [
|
|
12035
12044
|
/* @__PURE__ */ p.jsx(
|
|
12036
12045
|
"div",
|
|
12037
12046
|
{
|
|
12038
|
-
ref:
|
|
12039
|
-
className: "overflow-hidden shrink-0",
|
|
12047
|
+
ref: v,
|
|
12048
|
+
className: "overflow-hidden shrink-0 table-header-strip",
|
|
12040
12049
|
style: { height: u },
|
|
12041
12050
|
children: /* @__PURE__ */ p.jsx(
|
|
12042
12051
|
"div",
|
|
12043
12052
|
{
|
|
12044
12053
|
className: "flex flex-row table-header font-medium",
|
|
12045
|
-
style: { width:
|
|
12054
|
+
style: { width: g, minWidth: "100%" },
|
|
12046
12055
|
children: t.map((h) => /* @__PURE__ */ p.jsx(
|
|
12047
12056
|
Ny,
|
|
12048
12057
|
{
|
|
@@ -12068,7 +12077,7 @@ const Ny = (e) => {
|
|
|
12068
12077
|
"div",
|
|
12069
12078
|
{
|
|
12070
12079
|
className: "flex flex-col",
|
|
12071
|
-
style: { width:
|
|
12080
|
+
style: { width: g, minWidth: "100%" },
|
|
12072
12081
|
children: n.map((h, T) => /* @__PURE__ */ p.jsx(
|
|
12073
12082
|
"div",
|
|
12074
12083
|
{
|