@automattic/agenttic-ui 0.1.37 → 0.1.39
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/dist/components/chat/Messages.d.ts.map +1 -1
- package/dist/index.css +1 -1
- package/dist/index.js +562 -562
- package/dist/types/index.d.ts +1 -0
- package/dist/types/index.d.ts.map +1 -1
- package/package.json +1 -1
- package/dist/components/chat/page-pattern-modal/dist/esm/components/page-pattern-modal.d.ts +0 -3
- package/dist/components/chat/page-pattern-modal/dist/esm/components/page-pattern-modal.d.ts.map +0 -1
- package/dist/components/chat/page-pattern-modal/dist/esm/components/pattern-selector-control.d.ts +0 -9
- package/dist/components/chat/page-pattern-modal/dist/esm/components/pattern-selector-control.d.ts.map +0 -1
- package/dist/components/chat/page-pattern-modal/dist/esm/components/pattern-selector-item.d.ts +0 -3
- package/dist/components/chat/page-pattern-modal/dist/esm/components/pattern-selector-item.d.ts.map +0 -1
- package/dist/components/chat/page-pattern-modal/dist/esm/index.d.ts +0 -3
- package/dist/components/chat/page-pattern-modal/dist/esm/index.d.ts.map +0 -1
- package/dist/components/chat/page-pattern-modal/dist/esm/pattern-definition.d.ts +0 -2
- package/dist/components/chat/page-pattern-modal/dist/esm/pattern-definition.d.ts.map +0 -1
- package/dist/components/chat/page-pattern-modal/dist/esm/utils/contains-missing-block.d.ts +0 -9
- package/dist/components/chat/page-pattern-modal/dist/esm/utils/contains-missing-block.d.ts.map +0 -1
- package/dist/components/chat/page-pattern-modal/dist/esm/utils/group-utils.d.ts +0 -8
- package/dist/components/chat/page-pattern-modal/dist/esm/utils/group-utils.d.ts.map +0 -1
- package/dist/components/chat/page-pattern-modal/dist/esm/utils/map-blocks-recursively.d.ts +0 -9
- package/dist/components/chat/page-pattern-modal/dist/esm/utils/map-blocks-recursively.d.ts.map +0 -1
- package/dist/components/chat/page-pattern-modal/dist/esm/utils/replace-placeholders.d.ts +0 -3
- package/dist/components/chat/page-pattern-modal/dist/esm/utils/replace-placeholders.d.ts.map +0 -1
- package/dist/components/chat/page-pattern-modal/dist/esm/utils/tracking.d.ts +0 -5
- package/dist/components/chat/page-pattern-modal/dist/esm/utils/tracking.d.ts.map +0 -1
package/dist/index.js
CHANGED
|
@@ -2128,12 +2128,12 @@ function Xt({
|
|
|
2128
2128
|
showExpandButton: A = !0,
|
|
2129
2129
|
focusOnMount: d = !1,
|
|
2130
2130
|
customActions: s = [],
|
|
2131
|
-
actionOrder:
|
|
2131
|
+
actionOrder: W = "before-submit",
|
|
2132
2132
|
onStop: w,
|
|
2133
2133
|
disabled: L,
|
|
2134
2134
|
onMouseEnter: B,
|
|
2135
|
-
onMouseLeave:
|
|
2136
|
-
expandOnClick:
|
|
2135
|
+
onMouseLeave: h,
|
|
2136
|
+
expandOnClick: m = !1
|
|
2137
2137
|
}) {
|
|
2138
2138
|
const g = Bt(), { variant: y, floatingChatState: x, isInputOverLimit: I } = N2(), C = (
|
|
2139
2139
|
// If the consumer actively sets `disabled` to `false` (vs undefined), that takes precedence.
|
|
@@ -2170,7 +2170,7 @@ function Xt({
|
|
|
2170
2170
|
"aria-label": q["aria-label"]
|
|
2171
2171
|
},
|
|
2172
2172
|
q.id
|
|
2173
|
-
)), P = () => y === "embedded" || x === "expanded" ||
|
|
2173
|
+
)), P = () => y === "embedded" || x === "expanded" || m ? null : A && r ? /* @__PURE__ */ R(
|
|
2174
2174
|
H1,
|
|
2175
2175
|
{
|
|
2176
2176
|
className: V2.button,
|
|
@@ -2203,7 +2203,7 @@ function Xt({
|
|
|
2203
2203
|
"data-slot": "chat-input",
|
|
2204
2204
|
className: V2.container,
|
|
2205
2205
|
onMouseEnter: B,
|
|
2206
|
-
onMouseLeave:
|
|
2206
|
+
onMouseLeave: h,
|
|
2207
2207
|
children: [
|
|
2208
2208
|
/* @__PURE__ */ n0(
|
|
2209
2209
|
p1.div,
|
|
@@ -2258,9 +2258,9 @@ function Xt({
|
|
|
2258
2258
|
},
|
|
2259
2259
|
children: [
|
|
2260
2260
|
P(),
|
|
2261
|
-
|
|
2261
|
+
W === "before-submit" && _(),
|
|
2262
2262
|
J(),
|
|
2263
|
-
|
|
2263
|
+
W === "after-submit" && _()
|
|
2264
2264
|
]
|
|
2265
2265
|
}
|
|
2266
2266
|
)
|
|
@@ -2372,16 +2372,16 @@ function r3({
|
|
|
2372
2372
|
customActions: A,
|
|
2373
2373
|
actionOrder: d,
|
|
2374
2374
|
onStop: s,
|
|
2375
|
-
suggestions:
|
|
2375
|
+
suggestions: W,
|
|
2376
2376
|
clearSuggestions: w,
|
|
2377
2377
|
handleSuggestionSubmit: L,
|
|
2378
2378
|
expandOnClick: B = !1
|
|
2379
2379
|
}) {
|
|
2380
|
-
const [
|
|
2380
|
+
const [h, m] = h0(!1), { setNamedTimeout: g, clearAllTimeouts: y } = v4(), x = t0(() => {
|
|
2381
2381
|
g(
|
|
2382
2382
|
"hide-suggestions",
|
|
2383
2383
|
() => {
|
|
2384
|
-
|
|
2384
|
+
m(!1);
|
|
2385
2385
|
},
|
|
2386
2386
|
N4
|
|
2387
2387
|
);
|
|
@@ -2390,17 +2390,17 @@ function r3({
|
|
|
2390
2390
|
}, [B, a, e]);
|
|
2391
2391
|
return d0(() => {
|
|
2392
2392
|
if (y(), e) {
|
|
2393
|
-
|
|
2393
|
+
m(!1);
|
|
2394
2394
|
return;
|
|
2395
2395
|
}
|
|
2396
|
-
if (!
|
|
2397
|
-
|
|
2396
|
+
if (!W || W.length === 0) {
|
|
2397
|
+
m(!1);
|
|
2398
2398
|
return;
|
|
2399
2399
|
}
|
|
2400
|
-
|
|
2400
|
+
m(!0), x();
|
|
2401
2401
|
}, [
|
|
2402
2402
|
e,
|
|
2403
|
-
|
|
2403
|
+
W,
|
|
2404
2404
|
y,
|
|
2405
2405
|
g,
|
|
2406
2406
|
w,
|
|
@@ -2427,7 +2427,7 @@ function r3({
|
|
|
2427
2427
|
onStop: s,
|
|
2428
2428
|
expandOnClick: B,
|
|
2429
2429
|
onMouseEnter: () => {
|
|
2430
|
-
y(),
|
|
2430
|
+
y(), m(!0);
|
|
2431
2431
|
},
|
|
2432
2432
|
onMouseLeave: () => x()
|
|
2433
2433
|
}
|
|
@@ -2435,12 +2435,12 @@ function r3({
|
|
|
2435
2435
|
!e && /* @__PURE__ */ R(
|
|
2436
2436
|
Ab,
|
|
2437
2437
|
{
|
|
2438
|
-
suggestions:
|
|
2438
|
+
suggestions: W,
|
|
2439
2439
|
onSubmit: L,
|
|
2440
2440
|
layout: "vertical",
|
|
2441
|
-
visible:
|
|
2441
|
+
visible: h,
|
|
2442
2442
|
onMouseEnter: () => {
|
|
2443
|
-
y(),
|
|
2443
|
+
y(), m(!0);
|
|
2444
2444
|
},
|
|
2445
2445
|
onMouseLeave: () => x()
|
|
2446
2446
|
}
|
|
@@ -2490,12 +2490,12 @@ function O3({
|
|
|
2490
2490
|
onStop: A,
|
|
2491
2491
|
emptyView: d,
|
|
2492
2492
|
floatingChatState: s,
|
|
2493
|
-
suggestions:
|
|
2493
|
+
suggestions: W,
|
|
2494
2494
|
clearSuggestions: w,
|
|
2495
2495
|
onSuggestionClick: L,
|
|
2496
2496
|
messageRenderer: B,
|
|
2497
|
-
className:
|
|
2498
|
-
inputValue:
|
|
2497
|
+
className: h,
|
|
2498
|
+
inputValue: m,
|
|
2499
2499
|
onInputChange: g,
|
|
2500
2500
|
draggableStates: y = ["expanded"],
|
|
2501
2501
|
// Default to only expanded for backward compatibility
|
|
@@ -2509,7 +2509,7 @@ function O3({
|
|
|
2509
2509
|
onChatPositionChange: $,
|
|
2510
2510
|
onTypingStatusChange: k
|
|
2511
2511
|
}) {
|
|
2512
|
-
const _ =
|
|
2512
|
+
const _ = m !== void 0, [P, J] = h0(""), q = _ ? m : P, b0 = _ ? g : J, O = e3(s), u = r0(!1), z0 = r0(!1), a0 = r0(!1), [f, e0] = h0(!1), [M0, G] = h0(!1), [o0, l] = h0(!1), K = Ki(), [U, X] = h0(!1);
|
|
2513
2513
|
d0(() => {
|
|
2514
2514
|
Gi(x, {
|
|
2515
2515
|
domain: "a8c-agenttic"
|
|
@@ -2692,7 +2692,7 @@ function O3({
|
|
|
2692
2692
|
onExpand: k1,
|
|
2693
2693
|
onClose: J1,
|
|
2694
2694
|
// Suggestions
|
|
2695
|
-
suggestions:
|
|
2695
|
+
suggestions: W,
|
|
2696
2696
|
clearSuggestions: w,
|
|
2697
2697
|
handleSuggestionSubmit: b1,
|
|
2698
2698
|
// Notice
|
|
@@ -2714,7 +2714,7 @@ function O3({
|
|
|
2714
2714
|
{
|
|
2715
2715
|
"data-slot": "chat-embedded",
|
|
2716
2716
|
className: A1(
|
|
2717
|
-
|
|
2717
|
+
h,
|
|
2718
2718
|
_1.container,
|
|
2719
2719
|
_1.embedded
|
|
2720
2720
|
),
|
|
@@ -2741,7 +2741,7 @@ function O3({
|
|
|
2741
2741
|
{
|
|
2742
2742
|
ref: P0,
|
|
2743
2743
|
"data-slot": "chat-floating",
|
|
2744
|
-
className: A1(
|
|
2744
|
+
className: A1(h, _1.container, _1.floating, {
|
|
2745
2745
|
animating: f
|
|
2746
2746
|
}),
|
|
2747
2747
|
onMouseLeave: O.state === "compact" ? Ne : void 0,
|
|
@@ -2806,7 +2806,7 @@ function O3({
|
|
|
2806
2806
|
showExpandButton: !F.value.trim(),
|
|
2807
2807
|
focusOnMount: u.current,
|
|
2808
2808
|
onStop: A,
|
|
2809
|
-
suggestions:
|
|
2809
|
+
suggestions: W,
|
|
2810
2810
|
clearSuggestions: w,
|
|
2811
2811
|
handleSuggestionSubmit: b1,
|
|
2812
2812
|
expandOnClick: T
|
|
@@ -3000,10 +3000,10 @@ const E4 = "Message-module_message", _4 = "Message-module_user", S4 = "Message-m
|
|
|
3000
3000
|
function K4(e, M, b, z) {
|
|
3001
3001
|
var t = this, p = r0(null), c = r0(0), n = r0(0), o = r0(null), a = r0([]), i = r0(), r = r0(), A = r0(e), d = r0(!0);
|
|
3002
3002
|
A.current = e;
|
|
3003
|
-
var s = typeof window < "u",
|
|
3003
|
+
var s = typeof window < "u", W = !M && M !== 0 && s;
|
|
3004
3004
|
if (typeof e != "function") throw new TypeError("Expected a function");
|
|
3005
3005
|
M = +M || 0;
|
|
3006
|
-
var w = !!(b = b || {}).leading, L = !("trailing" in b) || !!b.trailing, B = "maxWait" in b,
|
|
3006
|
+
var w = !!(b = b || {}).leading, L = !("trailing" in b) || !!b.trailing, B = "maxWait" in b, h = "debounceOnServer" in b && !!b.debounceOnServer, m = B ? Math.max(+b.maxWait || 0, M) : null;
|
|
3007
3007
|
d0(function() {
|
|
3008
3008
|
return d.current = !0, function() {
|
|
3009
3009
|
d.current = !1;
|
|
@@ -3014,24 +3014,24 @@ function K4(e, M, b, z) {
|
|
|
3014
3014
|
var k = a.current, _ = i.current;
|
|
3015
3015
|
return a.current = i.current = null, c.current = $, n.current = n.current || $, r.current = A.current.apply(_, k);
|
|
3016
3016
|
}, x = function($, k) {
|
|
3017
|
-
|
|
3017
|
+
W && cancelAnimationFrame(o.current), o.current = W ? requestAnimationFrame($) : setTimeout($, k);
|
|
3018
3018
|
}, I = function($) {
|
|
3019
3019
|
if (!d.current) return !1;
|
|
3020
3020
|
var k = $ - p.current;
|
|
3021
|
-
return !p.current || k >= M || k < 0 || B && $ - c.current >=
|
|
3021
|
+
return !p.current || k >= M || k < 0 || B && $ - c.current >= m;
|
|
3022
3022
|
}, C = function($) {
|
|
3023
3023
|
return o.current = null, L && a.current ? y($) : (a.current = i.current = null, r.current);
|
|
3024
3024
|
}, T = function $() {
|
|
3025
3025
|
var k = Date.now();
|
|
3026
3026
|
if (w && n.current === c.current && j(), I(k)) return C(k);
|
|
3027
3027
|
if (d.current) {
|
|
3028
|
-
var _ = M - (k - p.current), P = B ? Math.min(_,
|
|
3028
|
+
var _ = M - (k - p.current), P = B ? Math.min(_, m - (k - c.current)) : _;
|
|
3029
3029
|
x($, P);
|
|
3030
3030
|
}
|
|
3031
3031
|
}, j = function() {
|
|
3032
3032
|
z && z({});
|
|
3033
3033
|
}, V = function() {
|
|
3034
|
-
if (s ||
|
|
3034
|
+
if (s || h) {
|
|
3035
3035
|
var $ = Date.now(), k = I($);
|
|
3036
3036
|
if (a.current = [].slice.call(arguments), i.current = t, p.current = $, k) {
|
|
3037
3037
|
if (!o.current && d.current) return c.current = p.current, x(T, M), w ? y(p.current) : r.current;
|
|
@@ -3042,13 +3042,13 @@ function K4(e, M, b, z) {
|
|
|
3042
3042
|
};
|
|
3043
3043
|
return V.cancel = function() {
|
|
3044
3044
|
var $ = o.current;
|
|
3045
|
-
$ && (
|
|
3045
|
+
$ && (W ? cancelAnimationFrame(o.current) : clearTimeout(o.current)), c.current = 0, a.current = p.current = i.current = o.current = null, $ && z && z({});
|
|
3046
3046
|
}, V.isPending = function() {
|
|
3047
3047
|
return !!o.current;
|
|
3048
3048
|
}, V.flush = function() {
|
|
3049
3049
|
return o.current ? C(Date.now()) : r.current;
|
|
3050
3050
|
}, V;
|
|
3051
|
-
}, [w, B, M,
|
|
3051
|
+
}, [w, B, M, m, L, W, s, h, z]);
|
|
3052
3052
|
return g;
|
|
3053
3053
|
}
|
|
3054
3054
|
function J4(e, M) {
|
|
@@ -3068,15 +3068,15 @@ function s3({
|
|
|
3068
3068
|
messageRenderer: t,
|
|
3069
3069
|
thinkingMessage: p
|
|
3070
3070
|
}) {
|
|
3071
|
-
const c = r0(null), n = r0([]), o = r0(!0), a = G4(e), i = m0(() => {
|
|
3072
|
-
const
|
|
3073
|
-
(
|
|
3071
|
+
const c = r0(null), n = r0([]), o = r0(!0), a = G4(e), i = a.length > 0 && a[a.length - 1].role === "agent", r = m0(() => {
|
|
3072
|
+
const d = a.filter(
|
|
3073
|
+
(W) => W.role === "agent"
|
|
3074
3074
|
);
|
|
3075
|
-
return
|
|
3076
|
-
}, [a]), [
|
|
3075
|
+
return d.length ? d[d.length - 1].content.filter((W) => W.type === "text").map((W) => W.text).join(" ") : "";
|
|
3076
|
+
}, [a]), [A] = Q4(r, 1e3);
|
|
3077
3077
|
return d0(() => {
|
|
3078
|
-
const
|
|
3079
|
-
o.current && a.length > 0 && c.current ? c.current.scrollTop = c.current.scrollHeight :
|
|
3078
|
+
const d = a.length > n.current.length;
|
|
3079
|
+
o.current && a.length > 0 && c.current ? c.current.scrollTop = c.current.scrollHeight : d && !o.current && c.current && c.current.scrollTo({
|
|
3080
3080
|
top: c.current.scrollHeight,
|
|
3081
3081
|
behavior: "smooth"
|
|
3082
3082
|
}), o.current && (o.current = !1), n.current = a;
|
|
@@ -3101,7 +3101,7 @@ function s3({
|
|
|
3101
3101
|
height: "1px",
|
|
3102
3102
|
overflow: "hidden"
|
|
3103
3103
|
},
|
|
3104
|
-
children:
|
|
3104
|
+
children: A
|
|
3105
3105
|
}
|
|
3106
3106
|
),
|
|
3107
3107
|
/* @__PURE__ */ R(
|
|
@@ -3111,15 +3111,15 @@ function s3({
|
|
|
3111
3111
|
className: Jb.container,
|
|
3112
3112
|
ref: c,
|
|
3113
3113
|
children: /* @__PURE__ */ n0(nM, { mode: "popLayout", children: [
|
|
3114
|
-
a.map((
|
|
3114
|
+
a.map((d) => /* @__PURE__ */ R(
|
|
3115
3115
|
H4,
|
|
3116
3116
|
{
|
|
3117
|
-
message:
|
|
3117
|
+
message: d,
|
|
3118
3118
|
messageRenderer: t
|
|
3119
3119
|
},
|
|
3120
|
-
|
|
3120
|
+
d.reactKey || d.id
|
|
3121
3121
|
)),
|
|
3122
|
-
M && /* @__PURE__ */ R(Y4, { content: p }),
|
|
3122
|
+
M && !i && /* @__PURE__ */ R(Y4, { content: p }),
|
|
3123
3123
|
b && /* @__PURE__ */ R(
|
|
3124
3124
|
"div",
|
|
3125
3125
|
{
|
|
@@ -3177,7 +3177,7 @@ function d3({
|
|
|
3177
3177
|
onStop: A,
|
|
3178
3178
|
fromCompact: d,
|
|
3179
3179
|
onExpand: s,
|
|
3180
|
-
showExpandButton:
|
|
3180
|
+
showExpandButton: W,
|
|
3181
3181
|
focusOnMount: w,
|
|
3182
3182
|
onInputFocus: L,
|
|
3183
3183
|
onInputBlur: B
|
|
@@ -3188,8 +3188,8 @@ function d3({
|
|
|
3188
3188
|
value: p,
|
|
3189
3189
|
onChange: c,
|
|
3190
3190
|
onSubmit: n,
|
|
3191
|
-
onKeyDown: (
|
|
3192
|
-
t == null || t(
|
|
3191
|
+
onKeyDown: (m) => {
|
|
3192
|
+
t == null || t(m), !m.defaultPrevented && o(m);
|
|
3193
3193
|
},
|
|
3194
3194
|
onFocus: L,
|
|
3195
3195
|
onBlur: B,
|
|
@@ -3199,7 +3199,7 @@ function d3({
|
|
|
3199
3199
|
onStop: A,
|
|
3200
3200
|
fromCompact: d,
|
|
3201
3201
|
onExpand: s,
|
|
3202
|
-
showExpandButton:
|
|
3202
|
+
showExpandButton: W,
|
|
3203
3203
|
focusOnMount: w,
|
|
3204
3204
|
disabled: M,
|
|
3205
3205
|
customActions: b,
|
|
@@ -3514,32 +3514,32 @@ function qA({
|
|
|
3514
3514
|
disabled: t
|
|
3515
3515
|
} = {}) {
|
|
3516
3516
|
const [p, c] = h0(!1), n = r0(null), o = r0(null), a = r0(null), i = Q.useId(), r = () => {
|
|
3517
|
-
c((
|
|
3517
|
+
c((W) => !W);
|
|
3518
3518
|
}, A = () => {
|
|
3519
3519
|
c(!1);
|
|
3520
3520
|
};
|
|
3521
3521
|
d0(() => {
|
|
3522
|
-
const
|
|
3522
|
+
const W = (w) => {
|
|
3523
3523
|
n.current && !n.current.contains(w.target) && A();
|
|
3524
3524
|
};
|
|
3525
3525
|
if (p)
|
|
3526
|
-
return document.addEventListener("mousedown",
|
|
3527
|
-
document.removeEventListener("mousedown",
|
|
3526
|
+
return document.addEventListener("mousedown", W), () => {
|
|
3527
|
+
document.removeEventListener("mousedown", W);
|
|
3528
3528
|
};
|
|
3529
3529
|
}, [p]), d0(() => {
|
|
3530
|
-
const
|
|
3530
|
+
const W = (w) => {
|
|
3531
3531
|
var L;
|
|
3532
3532
|
p && w.key === "Escape" && (w.preventDefault(), A(), (L = o.current) == null || L.focus());
|
|
3533
3533
|
};
|
|
3534
3534
|
if (p)
|
|
3535
|
-
return document.addEventListener("keydown",
|
|
3536
|
-
document.removeEventListener("keydown",
|
|
3535
|
+
return document.addEventListener("keydown", W), () => {
|
|
3536
|
+
document.removeEventListener("keydown", W);
|
|
3537
3537
|
};
|
|
3538
3538
|
}, [p]), d0(() => {
|
|
3539
3539
|
p && a.current && a.current.focus();
|
|
3540
3540
|
}, [p]);
|
|
3541
|
-
const d = (
|
|
3542
|
-
(
|
|
3541
|
+
const d = (W) => {
|
|
3542
|
+
(W.key === "Enter" || W.key === " ") && (W.preventDefault(), r());
|
|
3543
3543
|
}, s = z ?? "Input Toolbar";
|
|
3544
3544
|
return /* @__PURE__ */ R("div", { ref: n, className: M, children: /* @__PURE__ */ n0("div", { className: Te.container, children: [
|
|
3545
3545
|
/* @__PURE__ */ n0(
|
|
@@ -3640,13 +3640,13 @@ function WA({
|
|
|
3640
3640
|
suggestions: A,
|
|
3641
3641
|
clearSuggestions: d,
|
|
3642
3642
|
focusOnMount: s,
|
|
3643
|
-
customActions:
|
|
3643
|
+
customActions: W,
|
|
3644
3644
|
actionOrder: w
|
|
3645
3645
|
}) {
|
|
3646
3646
|
const L = t0(
|
|
3647
|
-
(B,
|
|
3648
|
-
const
|
|
3649
|
-
M(
|
|
3647
|
+
(B, h) => {
|
|
3648
|
+
const m = B.prompt ?? B.label;
|
|
3649
|
+
M(m), d == null || d();
|
|
3650
3650
|
},
|
|
3651
3651
|
[M, d]
|
|
3652
3652
|
);
|
|
@@ -3692,7 +3692,7 @@ function WA({
|
|
|
3692
3692
|
onExpand: a,
|
|
3693
3693
|
showExpandButton: !1,
|
|
3694
3694
|
focusOnMount: s,
|
|
3695
|
-
customActions:
|
|
3695
|
+
customActions: W,
|
|
3696
3696
|
actionOrder: w,
|
|
3697
3697
|
disabled: i
|
|
3698
3698
|
}
|
|
@@ -3717,17 +3717,17 @@ function jp({
|
|
|
3717
3717
|
onClose: A,
|
|
3718
3718
|
onExpand: d,
|
|
3719
3719
|
notice: s,
|
|
3720
|
-
emptyView:
|
|
3720
|
+
emptyView: W,
|
|
3721
3721
|
suggestions: w,
|
|
3722
3722
|
clearSuggestions: L,
|
|
3723
3723
|
messageRenderer: B,
|
|
3724
|
-
focusOnMount:
|
|
3724
|
+
focusOnMount: h = !1
|
|
3725
3725
|
}) {
|
|
3726
3726
|
return d0(() => {
|
|
3727
|
-
const
|
|
3727
|
+
const m = (g) => {
|
|
3728
3728
|
g.key === "Escape" && A && A();
|
|
3729
3729
|
};
|
|
3730
|
-
return document.addEventListener("keydown",
|
|
3730
|
+
return document.addEventListener("keydown", m), () => document.removeEventListener("keydown", m);
|
|
3731
3731
|
}, [A]), /* @__PURE__ */ n0(
|
|
3732
3732
|
"div",
|
|
3733
3733
|
{
|
|
@@ -3741,7 +3741,7 @@ function jp({
|
|
|
3741
3741
|
messages: e,
|
|
3742
3742
|
isProcessing: o,
|
|
3743
3743
|
error: M,
|
|
3744
|
-
emptyView:
|
|
3744
|
+
emptyView: W,
|
|
3745
3745
|
messageRenderer: B
|
|
3746
3746
|
}
|
|
3747
3747
|
),
|
|
@@ -3761,7 +3761,7 @@ function jp({
|
|
|
3761
3761
|
notice: s,
|
|
3762
3762
|
suggestions: w,
|
|
3763
3763
|
clearSuggestions: L,
|
|
3764
|
-
focusOnMount:
|
|
3764
|
+
focusOnMount: h
|
|
3765
3765
|
}
|
|
3766
3766
|
)
|
|
3767
3767
|
]
|
|
@@ -3784,58 +3784,58 @@ function FN({
|
|
|
3784
3784
|
emptyView: A,
|
|
3785
3785
|
floatingChatState: d,
|
|
3786
3786
|
suggestions: s,
|
|
3787
|
-
clearSuggestions:
|
|
3787
|
+
clearSuggestions: W,
|
|
3788
3788
|
messageRenderer: w,
|
|
3789
3789
|
className: L
|
|
3790
3790
|
}) {
|
|
3791
|
-
const [B,
|
|
3791
|
+
const [B, h] = h0(""), m = e3(d), g = r0(!1), y = r0(!1), x = r0(!1), [I, C] = h0(!1);
|
|
3792
3792
|
d0(() => {
|
|
3793
3793
|
g.current = !1, y.current = !1, x.current = !1;
|
|
3794
|
-
}, [
|
|
3794
|
+
}, [m.state]);
|
|
3795
3795
|
const T = r0(/* @__PURE__ */ new Set()), j = t0(() => {
|
|
3796
3796
|
T.current.forEach((D) => {
|
|
3797
3797
|
clearTimeout(D);
|
|
3798
3798
|
}), T.current.clear();
|
|
3799
3799
|
}, []), V = M3({
|
|
3800
3800
|
value: B,
|
|
3801
|
-
setValue:
|
|
3801
|
+
setValue: h,
|
|
3802
3802
|
onSubmit: async (D) => {
|
|
3803
|
-
|
|
3803
|
+
m.state !== "expanded" && (a == null || a()), m.setState("expanded"), await z(D);
|
|
3804
3804
|
},
|
|
3805
3805
|
isProcessing: M,
|
|
3806
|
-
floatingChatState:
|
|
3806
|
+
floatingChatState: m.state
|
|
3807
3807
|
}), [$, k] = h0(56), [_, P] = h0(
|
|
3808
3808
|
z3
|
|
3809
3809
|
), J = r0(null), q = r0(null), b0 = r0(null), O = _ === "right" ? window.innerWidth - q0.COMPACT_WIDTH - q0.VIEWPORT_OFFSET * 2 : 0, u = IM(O), z0 = IM(0), a0 = Mn(), f = t0(() => {
|
|
3810
|
-
g.current = !0,
|
|
3811
|
-
}, [
|
|
3810
|
+
g.current = !0, m.open(), o == null || o();
|
|
3811
|
+
}, [m, o]), e0 = t0(() => {
|
|
3812
3812
|
var F, A0, O0;
|
|
3813
3813
|
const D = (A0 = (F = b0.current) == null ? void 0 : F.ownerDocument) == null ? void 0 : A0.activeElement;
|
|
3814
3814
|
return !(D && ((O0 = b0.current) != null && O0.contains(D)) || B.trim());
|
|
3815
3815
|
}, [B, b0]), M0 = (D) => D === "collapsed" ? q0.COLLAPSED_SIZE : D === "compact" ? $ : q0.EXPANDED_HEIGHT, G = t0(() => {
|
|
3816
|
-
if (
|
|
3816
|
+
if (m.state === "collapsed" && (m.setState("compact"), m.initialState === "collapsed")) {
|
|
3817
3817
|
const D = setTimeout(() => {
|
|
3818
|
-
|
|
3818
|
+
m.state === "compact" && e0() && m.setState("collapsed"), T.current.delete(D);
|
|
3819
3819
|
}, q0.AUTO_COLLAPSE_DELAY);
|
|
3820
3820
|
T.current.add(D);
|
|
3821
3821
|
}
|
|
3822
|
-
}, [
|
|
3823
|
-
if (
|
|
3822
|
+
}, [m, e0]), o0 = t0(() => {
|
|
3823
|
+
if (m.initialState === "collapsed" && m.state === "compact" && e0()) {
|
|
3824
3824
|
const D = setTimeout(() => {
|
|
3825
|
-
|
|
3825
|
+
m.state === "compact" && e0() && m.setState("collapsed"), T.current.delete(D);
|
|
3826
3826
|
}, q0.AUTO_COLLAPSE_DELAY);
|
|
3827
3827
|
T.current.add(D);
|
|
3828
3828
|
}
|
|
3829
|
-
}, [
|
|
3829
|
+
}, [m, e0]), l = t0(async () => {
|
|
3830
3830
|
if (V.value.trim()) {
|
|
3831
3831
|
const D = V.value.trim();
|
|
3832
|
-
V.clear(),
|
|
3832
|
+
V.clear(), m.state !== "expanded" && (a == null || a()), m.setState("expanded"), await z(D);
|
|
3833
3833
|
}
|
|
3834
|
-
}, [V, z,
|
|
3835
|
-
x.current = !0, a == null || a(),
|
|
3836
|
-
}, [a,
|
|
3837
|
-
y.current = !0, V.clear(),
|
|
3838
|
-
}, [V,
|
|
3834
|
+
}, [V, z, m, a]), K = t0(() => {
|
|
3835
|
+
x.current = !0, a == null || a(), m.setState("expanded");
|
|
3836
|
+
}, [a, m]), U = t0(() => {
|
|
3837
|
+
y.current = !0, V.clear(), m.close(), i && i();
|
|
3838
|
+
}, [V, m, i]), X = t0(
|
|
3839
3839
|
(D) => {
|
|
3840
3840
|
if (!b0.current || !q.current)
|
|
3841
3841
|
return null;
|
|
@@ -3867,18 +3867,18 @@ function FN({
|
|
|
3867
3867
|
}));
|
|
3868
3868
|
},
|
|
3869
3869
|
[u, z0, X]
|
|
3870
|
-
), S = r0(
|
|
3870
|
+
), S = r0(m.state), H = S.current === "compact" && m.state === "expanded";
|
|
3871
3871
|
return d0(() => {
|
|
3872
|
-
j(), S.current =
|
|
3873
|
-
}, [
|
|
3874
|
-
if (
|
|
3872
|
+
j(), S.current = m.state;
|
|
3873
|
+
}, [m.state, j]), d0(() => {
|
|
3874
|
+
if (m.state !== "expanded")
|
|
3875
3875
|
return;
|
|
3876
3876
|
const D = () => {
|
|
3877
3877
|
const F = X();
|
|
3878
3878
|
F && (u.set(F.x), z0.set(F.y));
|
|
3879
3879
|
};
|
|
3880
3880
|
return window.addEventListener("resize", D), () => window.removeEventListener("resize", D);
|
|
3881
|
-
}, [
|
|
3881
|
+
}, [m.state, u, z0, X]), d0(() => {
|
|
3882
3882
|
const D = T.current;
|
|
3883
3883
|
return () => {
|
|
3884
3884
|
D.forEach((F) => {
|
|
@@ -3886,11 +3886,11 @@ function FN({
|
|
|
3886
3886
|
}), D.clear();
|
|
3887
3887
|
};
|
|
3888
3888
|
}, []), d0(() => {
|
|
3889
|
-
if (
|
|
3889
|
+
if (m.state === "compact" && J.current) {
|
|
3890
3890
|
const D = J.current.scrollHeight + q0.PADDING;
|
|
3891
3891
|
k(D);
|
|
3892
3892
|
}
|
|
3893
|
-
}, [
|
|
3893
|
+
}, [m.state, V.value]), t === "embedded" ? /* @__PURE__ */ R(
|
|
3894
3894
|
"div",
|
|
3895
3895
|
{
|
|
3896
3896
|
"data-slot": "chat-embedded",
|
|
@@ -3910,7 +3910,7 @@ function FN({
|
|
|
3910
3910
|
showHeader: !1,
|
|
3911
3911
|
notice: n,
|
|
3912
3912
|
suggestions: s,
|
|
3913
|
-
clearSuggestions:
|
|
3913
|
+
clearSuggestions: W,
|
|
3914
3914
|
error: b,
|
|
3915
3915
|
emptyView: A,
|
|
3916
3916
|
messageRenderer: w,
|
|
@@ -3942,8 +3942,8 @@ function FN({
|
|
|
3942
3942
|
className: A1(L, _1.container, _1.floating, {
|
|
3943
3943
|
animating: I
|
|
3944
3944
|
}),
|
|
3945
|
-
onMouseLeave:
|
|
3946
|
-
drag:
|
|
3945
|
+
onMouseLeave: m.state === "compact" ? o0 : void 0,
|
|
3946
|
+
drag: m.state === "expanded",
|
|
3947
3947
|
dragControls: a0,
|
|
3948
3948
|
dragListener: !1,
|
|
3949
3949
|
dragConstraints: q,
|
|
@@ -3965,9 +3965,9 @@ function FN({
|
|
|
3965
3965
|
className: _1.content,
|
|
3966
3966
|
initial: !1,
|
|
3967
3967
|
animate: {
|
|
3968
|
-
width:
|
|
3969
|
-
height: M0(
|
|
3970
|
-
x:
|
|
3968
|
+
width: m.state === "collapsed" ? q0.COLLAPSED_SIZE : q0.COMPACT_WIDTH,
|
|
3969
|
+
height: M0(m.state),
|
|
3970
|
+
x: m.state === "collapsed" && _ === "right" ? q0.COMPACT_WIDTH - q0.COLLAPSED_SIZE : 0,
|
|
3971
3971
|
transition: V.value.trim() ? { duration: 0 } : ib
|
|
3972
3972
|
},
|
|
3973
3973
|
onAnimationStart: () => C(!0),
|
|
@@ -3976,7 +3976,7 @@ function FN({
|
|
|
3976
3976
|
borderRadius: q0.BORDER_RADIUS
|
|
3977
3977
|
},
|
|
3978
3978
|
children: /* @__PURE__ */ n0(nM, { mode: "wait", children: [
|
|
3979
|
-
|
|
3979
|
+
m.state === "collapsed" && /* @__PURE__ */ R(
|
|
3980
3980
|
n3,
|
|
3981
3981
|
{
|
|
3982
3982
|
icon: p,
|
|
@@ -3986,7 +3986,7 @@ function FN({
|
|
|
3986
3986
|
},
|
|
3987
3987
|
"collapsed"
|
|
3988
3988
|
),
|
|
3989
|
-
|
|
3989
|
+
m.state === "compact" && /* @__PURE__ */ R("div", { ref: J, children: /* @__PURE__ */ R(
|
|
3990
3990
|
r3,
|
|
3991
3991
|
{
|
|
3992
3992
|
value: V.value,
|
|
@@ -4002,11 +4002,11 @@ function FN({
|
|
|
4002
4002
|
focusOnMount: g.current,
|
|
4003
4003
|
onStop: r,
|
|
4004
4004
|
suggestions: s,
|
|
4005
|
-
clearSuggestions:
|
|
4005
|
+
clearSuggestions: W
|
|
4006
4006
|
},
|
|
4007
4007
|
"compact"
|
|
4008
4008
|
) }),
|
|
4009
|
-
|
|
4009
|
+
m.state === "expanded" && /* @__PURE__ */ R(
|
|
4010
4010
|
jp,
|
|
4011
4011
|
{
|
|
4012
4012
|
messages: e,
|
|
@@ -4023,7 +4023,7 @@ function FN({
|
|
|
4023
4023
|
fromCompact: H,
|
|
4024
4024
|
notice: n,
|
|
4025
4025
|
suggestions: s,
|
|
4026
|
-
clearSuggestions:
|
|
4026
|
+
clearSuggestions: W,
|
|
4027
4027
|
error: b,
|
|
4028
4028
|
emptyView: A,
|
|
4029
4029
|
messageRenderer: w,
|
|
@@ -4129,12 +4129,12 @@ function jN({
|
|
|
4129
4129
|
uploadingIndicator: A,
|
|
4130
4130
|
className: d = "",
|
|
4131
4131
|
showFileMetadata: s = !0,
|
|
4132
|
-
allowDragToInsert:
|
|
4132
|
+
allowDragToInsert: W = !0,
|
|
4133
4133
|
onError: w,
|
|
4134
4134
|
visible: L = !0,
|
|
4135
4135
|
dropZoneRef: B
|
|
4136
4136
|
}) {
|
|
4137
|
-
const { textareaRef:
|
|
4137
|
+
const { textareaRef: h } = N2(), [m, g] = h0(!1), [y, x] = h0(!1), [I, C] = h0(!1), T = r0(null), j = r0(null), V = r0(0);
|
|
4138
4138
|
d0(() => {
|
|
4139
4139
|
const U = (E) => {
|
|
4140
4140
|
var S, H;
|
|
@@ -4197,7 +4197,7 @@ function jN({
|
|
|
4197
4197
|
}, [k]), d0(() => {
|
|
4198
4198
|
const U = (X) => {
|
|
4199
4199
|
var D;
|
|
4200
|
-
const v =
|
|
4200
|
+
const v = h.current && document.activeElement === h.current, E = h.current && X.target && (X.target === h.current || h.current.contains(X.target));
|
|
4201
4201
|
if (!v && !E)
|
|
4202
4202
|
return;
|
|
4203
4203
|
const S = (D = X.clipboardData) == null ? void 0 : D.items;
|
|
@@ -4264,7 +4264,7 @@ function jN({
|
|
|
4264
4264
|
), K = M0 && (B == null ? void 0 : B.current) && /* @__PURE__ */ R(
|
|
4265
4265
|
"div",
|
|
4266
4266
|
{
|
|
4267
|
-
className: `${I0.expandedDropOverlay} ${
|
|
4267
|
+
className: `${I0.expandedDropOverlay} ${m ? I0.draggingOver : ""}`,
|
|
4268
4268
|
onDragOver: P,
|
|
4269
4269
|
onDragLeave: J,
|
|
4270
4270
|
onDrop: q,
|
|
@@ -4288,7 +4288,7 @@ function jN({
|
|
|
4288
4288
|
/* @__PURE__ */ R(
|
|
4289
4289
|
"div",
|
|
4290
4290
|
{
|
|
4291
|
-
className: `${I0.uploader} ${e0 ? I0.uploading : ""} ${
|
|
4291
|
+
className: `${I0.uploader} ${e0 ? I0.uploading : ""} ${m ? I0.draggingOver : ""}`,
|
|
4292
4292
|
children: /* @__PURE__ */ n0("div", { className: I0.content, children: [
|
|
4293
4293
|
!I && /* @__PURE__ */ n0(I2, { children: [
|
|
4294
4294
|
/* @__PURE__ */ R(
|
|
@@ -4333,7 +4333,7 @@ function jN({
|
|
|
4333
4333
|
PA,
|
|
4334
4334
|
{
|
|
4335
4335
|
image: U,
|
|
4336
|
-
allowDragToInsert:
|
|
4336
|
+
allowDragToInsert: W,
|
|
4337
4337
|
showFileMetadata: s,
|
|
4338
4338
|
onDragStart: u,
|
|
4339
4339
|
onDragEnd: z0,
|
|
@@ -4853,7 +4853,7 @@ function g3(e, M, b, z) {
|
|
|
4853
4853
|
}
|
|
4854
4854
|
return A;
|
|
4855
4855
|
function A() {
|
|
4856
|
-
let d = m3, s,
|
|
4856
|
+
let d = m3, s, W, w;
|
|
4857
4857
|
if ((!M || p(o, a, i[i.length - 1] || void 0)) && (d = Os(b(o, i)), d[0] === Hz))
|
|
4858
4858
|
return d;
|
|
4859
4859
|
if ("children" in o && o.children) {
|
|
@@ -4862,11 +4862,11 @@ function g3(e, M, b, z) {
|
|
|
4862
4862
|
o
|
|
4863
4863
|
);
|
|
4864
4864
|
if (L.children && d[0] !== rs)
|
|
4865
|
-
for (
|
|
4866
|
-
const B = L.children[
|
|
4867
|
-
if (s = n(B,
|
|
4865
|
+
for (W = (z ? L.children.length : -1) + c, w = i.concat(L); W > -1 && W < L.children.length; ) {
|
|
4866
|
+
const B = L.children[W];
|
|
4867
|
+
if (s = n(B, W, w)(), s[0] === Hz)
|
|
4868
4868
|
return s;
|
|
4869
|
-
|
|
4869
|
+
W = typeof s[1] == "number" ? s[1] : W + c;
|
|
4870
4870
|
}
|
|
4871
4871
|
}
|
|
4872
4872
|
return d;
|
|
@@ -4902,20 +4902,20 @@ function is(e, M, b) {
|
|
|
4902
4902
|
const w = r.children.indexOf(a);
|
|
4903
4903
|
let L = !1, B = [];
|
|
4904
4904
|
A.lastIndex = 0;
|
|
4905
|
-
let
|
|
4906
|
-
for (;
|
|
4907
|
-
const
|
|
4908
|
-
index:
|
|
4909
|
-
input:
|
|
4905
|
+
let h = A.exec(a.value);
|
|
4906
|
+
for (; h; ) {
|
|
4907
|
+
const m = h.index, g = {
|
|
4908
|
+
index: h.index,
|
|
4909
|
+
input: h.input,
|
|
4910
4910
|
stack: [...i, a]
|
|
4911
4911
|
};
|
|
4912
|
-
let y = d(...
|
|
4913
|
-
if (typeof y == "string" && (y = y.length > 0 ? { type: "text", value: y } : void 0), y === !1 ? A.lastIndex =
|
|
4912
|
+
let y = d(...h, g);
|
|
4913
|
+
if (typeof y == "string" && (y = y.length > 0 ? { type: "text", value: y } : void 0), y === !1 ? A.lastIndex = m + 1 : (s !== m && B.push({
|
|
4914
4914
|
type: "text",
|
|
4915
|
-
value: a.value.slice(s,
|
|
4916
|
-
}), Array.isArray(y) ? B.push(...y) : y && B.push(y), s =
|
|
4915
|
+
value: a.value.slice(s, m)
|
|
4916
|
+
}), Array.isArray(y) ? B.push(...y) : y && B.push(y), s = m + h[0].length, L = !0), !A.global)
|
|
4917
4917
|
break;
|
|
4918
|
-
|
|
4918
|
+
h = A.exec(a.value);
|
|
4919
4919
|
}
|
|
4920
4920
|
return L ? (s < a.value.length && B.push({ type: "text", value: a.value.slice(s) }), r.children.splice(w, 1, ...B)) : B = [a], w + B.length;
|
|
4921
4921
|
}
|
|
@@ -5207,56 +5207,56 @@ function $s(e, M) {
|
|
|
5207
5207
|
const b = M || {}, z = (b.align || []).concat(), t = b.stringLength || Us, p = [], c = [], n = [], o = [];
|
|
5208
5208
|
let a = 0, i = -1;
|
|
5209
5209
|
for (; ++i < e.length; ) {
|
|
5210
|
-
const
|
|
5210
|
+
const W = [], w = [];
|
|
5211
5211
|
let L = -1;
|
|
5212
5212
|
for (e[i].length > a && (a = e[i].length); ++L < e[i].length; ) {
|
|
5213
5213
|
const B = Ys(e[i][L]);
|
|
5214
5214
|
if (b.alignDelimiters !== !1) {
|
|
5215
|
-
const
|
|
5216
|
-
w[L] =
|
|
5215
|
+
const h = t(B);
|
|
5216
|
+
w[L] = h, (o[L] === void 0 || h > o[L]) && (o[L] = h);
|
|
5217
5217
|
}
|
|
5218
|
-
|
|
5218
|
+
W.push(B);
|
|
5219
5219
|
}
|
|
5220
|
-
c[i] =
|
|
5220
|
+
c[i] = W, n[i] = w;
|
|
5221
5221
|
}
|
|
5222
5222
|
let r = -1;
|
|
5223
5223
|
if (typeof z == "object" && "length" in z)
|
|
5224
5224
|
for (; ++r < a; )
|
|
5225
5225
|
p[r] = Up(z[r]);
|
|
5226
5226
|
else {
|
|
5227
|
-
const
|
|
5227
|
+
const W = Up(z);
|
|
5228
5228
|
for (; ++r < a; )
|
|
5229
|
-
p[r] =
|
|
5229
|
+
p[r] = W;
|
|
5230
5230
|
}
|
|
5231
5231
|
r = -1;
|
|
5232
5232
|
const A = [], d = [];
|
|
5233
5233
|
for (; ++r < a; ) {
|
|
5234
|
-
const
|
|
5234
|
+
const W = p[r];
|
|
5235
5235
|
let w = "", L = "";
|
|
5236
|
-
|
|
5236
|
+
W === 99 ? (w = ":", L = ":") : W === 108 ? w = ":" : W === 114 && (L = ":");
|
|
5237
5237
|
let B = b.alignDelimiters === !1 ? 1 : Math.max(
|
|
5238
5238
|
1,
|
|
5239
5239
|
o[r] - w.length - L.length
|
|
5240
5240
|
);
|
|
5241
|
-
const
|
|
5242
|
-
b.alignDelimiters !== !1 && (B = w.length + B + L.length, B > o[r] && (o[r] = B), d[r] = B), A[r] =
|
|
5241
|
+
const h = w + "-".repeat(B) + L;
|
|
5242
|
+
b.alignDelimiters !== !1 && (B = w.length + B + L.length, B > o[r] && (o[r] = B), d[r] = B), A[r] = h;
|
|
5243
5243
|
}
|
|
5244
5244
|
c.splice(1, 0, A), n.splice(1, 0, d), i = -1;
|
|
5245
5245
|
const s = [];
|
|
5246
5246
|
for (; ++i < c.length; ) {
|
|
5247
|
-
const
|
|
5247
|
+
const W = c[i], w = n[i];
|
|
5248
5248
|
r = -1;
|
|
5249
5249
|
const L = [];
|
|
5250
5250
|
for (; ++r < a; ) {
|
|
5251
|
-
const B =
|
|
5252
|
-
let
|
|
5251
|
+
const B = W[r] || "";
|
|
5252
|
+
let h = "", m = "";
|
|
5253
5253
|
if (b.alignDelimiters !== !1) {
|
|
5254
5254
|
const g = o[r] - (w[r] || 0), y = p[r];
|
|
5255
|
-
y === 114 ?
|
|
5255
|
+
y === 114 ? h = " ".repeat(g) : y === 99 ? g % 2 ? (h = " ".repeat(g / 2 + 0.5), m = " ".repeat(g / 2 - 0.5)) : (h = " ".repeat(g / 2), m = h) : m = " ".repeat(g);
|
|
5256
5256
|
}
|
|
5257
5257
|
b.delimiterStart !== !1 && !r && L.push("|"), b.padding !== !1 && // Don’t add the opening space if we’re not aligning and the cell is
|
|
5258
5258
|
// empty: there will be a closing space.
|
|
5259
|
-
!(b.alignDelimiters === !1 && B === "") && (b.delimiterStart !== !1 || r) && L.push(" "), b.alignDelimiters !== !1 && L.push(
|
|
5259
|
+
!(b.alignDelimiters === !1 && B === "") && (b.delimiterStart !== !1 || r) && L.push(" "), b.alignDelimiters !== !1 && L.push(h), L.push(B), b.alignDelimiters !== !1 && L.push(m), b.padding !== !1 && L.push(" "), (b.delimiterEnd !== !1 || r !== a - 1) && L.push("|");
|
|
5260
5260
|
}
|
|
5261
5261
|
s.push(
|
|
5262
5262
|
b.delimiterEnd === !1 ? L.join("").replace(/ +$/, "") : L.join("")
|
|
@@ -5988,21 +5988,21 @@ function El(e) {
|
|
|
5988
5988
|
tableRow: n
|
|
5989
5989
|
}
|
|
5990
5990
|
};
|
|
5991
|
-
function c(d, s,
|
|
5992
|
-
return a(i(d,
|
|
5991
|
+
function c(d, s, W, w) {
|
|
5992
|
+
return a(i(d, W, w), d.align);
|
|
5993
5993
|
}
|
|
5994
|
-
function n(d, s,
|
|
5995
|
-
const L = r(d,
|
|
5994
|
+
function n(d, s, W, w) {
|
|
5995
|
+
const L = r(d, W, w), B = a([L]);
|
|
5996
5996
|
return B.slice(0, B.indexOf(`
|
|
5997
5997
|
`));
|
|
5998
5998
|
}
|
|
5999
|
-
function o(d, s,
|
|
6000
|
-
const L =
|
|
5999
|
+
function o(d, s, W, w) {
|
|
6000
|
+
const L = W.enter("tableCell"), B = W.enter("phrasing"), h = W.containerPhrasing(d, {
|
|
6001
6001
|
...w,
|
|
6002
6002
|
before: p,
|
|
6003
6003
|
after: p
|
|
6004
6004
|
});
|
|
6005
|
-
return B(), L(),
|
|
6005
|
+
return B(), L(), h;
|
|
6006
6006
|
}
|
|
6007
6007
|
function a(d, s) {
|
|
6008
6008
|
return $s(d, {
|
|
@@ -6015,25 +6015,25 @@ function El(e) {
|
|
|
6015
6015
|
stringLength: t
|
|
6016
6016
|
});
|
|
6017
6017
|
}
|
|
6018
|
-
function i(d, s,
|
|
6018
|
+
function i(d, s, W) {
|
|
6019
6019
|
const w = d.children;
|
|
6020
6020
|
let L = -1;
|
|
6021
|
-
const B = [],
|
|
6021
|
+
const B = [], h = s.enter("table");
|
|
6022
6022
|
for (; ++L < w.length; )
|
|
6023
|
-
B[L] = r(w[L], s,
|
|
6024
|
-
return
|
|
6023
|
+
B[L] = r(w[L], s, W);
|
|
6024
|
+
return h(), B;
|
|
6025
6025
|
}
|
|
6026
|
-
function r(d, s,
|
|
6026
|
+
function r(d, s, W) {
|
|
6027
6027
|
const w = d.children;
|
|
6028
6028
|
let L = -1;
|
|
6029
|
-
const B = [],
|
|
6029
|
+
const B = [], h = s.enter("tableRow");
|
|
6030
6030
|
for (; ++L < w.length; )
|
|
6031
|
-
B[L] = o(w[L], d, s,
|
|
6032
|
-
return
|
|
6031
|
+
B[L] = o(w[L], d, s, W);
|
|
6032
|
+
return h(), B;
|
|
6033
6033
|
}
|
|
6034
|
-
function A(d, s,
|
|
6035
|
-
let w = P3.inlineCode(d, s,
|
|
6036
|
-
return
|
|
6034
|
+
function A(d, s, W) {
|
|
6035
|
+
let w = P3.inlineCode(d, s, W);
|
|
6036
|
+
return W.stack.includes("tableCell") && (w = w.replace(/\|/g, "\\$&")), w;
|
|
6037
6037
|
}
|
|
6038
6038
|
}
|
|
6039
6039
|
function _l() {
|
|
@@ -6527,8 +6527,8 @@ function Od(e, M, b) {
|
|
|
6527
6527
|
return b(s);
|
|
6528
6528
|
if (s === 93) {
|
|
6529
6529
|
e.exit("chunkString");
|
|
6530
|
-
const
|
|
6531
|
-
return p = rM(z.sliceSerialize(
|
|
6530
|
+
const W = e.exit("gfmFootnoteDefinitionLabelString");
|
|
6531
|
+
return p = rM(z.sliceSerialize(W)), e.enter("gfmFootnoteDefinitionLabelMarker"), e.consume(s), e.exit("gfmFootnoteDefinitionLabelMarker"), e.exit("gfmFootnoteDefinitionLabel"), A;
|
|
6532
6532
|
}
|
|
6533
6533
|
return r1(s) || (n = !0), c++, e.consume(s), s === 92 ? r : i;
|
|
6534
6534
|
}
|
|
@@ -6608,12 +6608,12 @@ function ld(e) {
|
|
|
6608
6608
|
return a === 126 && i[i.length - 1][1].type !== "characterEscape" ? o(s) : (c.enter("strikethroughSequenceTemporary"), d(s));
|
|
6609
6609
|
}
|
|
6610
6610
|
function d(s) {
|
|
6611
|
-
const
|
|
6611
|
+
const W = VM(a);
|
|
6612
6612
|
if (s === 126)
|
|
6613
6613
|
return r > 1 ? o(s) : (c.consume(s), r++, d);
|
|
6614
6614
|
if (r < 2 && !b) return o(s);
|
|
6615
6615
|
const w = c.exit("strikethroughSequenceTemporary"), L = VM(s);
|
|
6616
|
-
return w._open = !L || L === 2 && !!
|
|
6616
|
+
return w._open = !L || L === 2 && !!W, w._close = !W || W === 2 && !!L, n(s);
|
|
6617
6617
|
}
|
|
6618
6618
|
}
|
|
6619
6619
|
}
|
|
@@ -6750,24 +6750,24 @@ function Wd(e, M, b) {
|
|
|
6750
6750
|
return z.interrupt = !1, z.parser.lazy[z.now().line] ? b(T) : (e.enter("tableDelimiterRow"), c = !1, t2(T) ? p2(e, s, "linePrefix", z.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4)(T) : s(T));
|
|
6751
6751
|
}
|
|
6752
6752
|
function s(T) {
|
|
6753
|
-
return T === 45 || T === 58 ? w(T) : T === 124 ? (c = !0, e.enter("tableCellDivider"), e.consume(T), e.exit("tableCellDivider"),
|
|
6753
|
+
return T === 45 || T === 58 ? w(T) : T === 124 ? (c = !0, e.enter("tableCellDivider"), e.consume(T), e.exit("tableCellDivider"), W) : g(T);
|
|
6754
6754
|
}
|
|
6755
|
-
function
|
|
6755
|
+
function W(T) {
|
|
6756
6756
|
return t2(T) ? p2(e, w, "whitespace")(T) : w(T);
|
|
6757
6757
|
}
|
|
6758
6758
|
function w(T) {
|
|
6759
|
-
return T === 58 ? (p += 1, c = !0, e.enter("tableDelimiterMarker"), e.consume(T), e.exit("tableDelimiterMarker"), L) : T === 45 ? (p += 1, L(T)) : T === null || Z2(T) ?
|
|
6759
|
+
return T === 58 ? (p += 1, c = !0, e.enter("tableDelimiterMarker"), e.consume(T), e.exit("tableDelimiterMarker"), L) : T === 45 ? (p += 1, L(T)) : T === null || Z2(T) ? m(T) : g(T);
|
|
6760
6760
|
}
|
|
6761
6761
|
function L(T) {
|
|
6762
6762
|
return T === 45 ? (e.enter("tableDelimiterFiller"), B(T)) : g(T);
|
|
6763
6763
|
}
|
|
6764
6764
|
function B(T) {
|
|
6765
|
-
return T === 45 ? (e.consume(T), B) : T === 58 ? (c = !0, e.exit("tableDelimiterFiller"), e.enter("tableDelimiterMarker"), e.consume(T), e.exit("tableDelimiterMarker"),
|
|
6766
|
-
}
|
|
6767
|
-
function W(T) {
|
|
6768
|
-
return t2(T) ? p2(e, h, "whitespace")(T) : h(T);
|
|
6765
|
+
return T === 45 ? (e.consume(T), B) : T === 58 ? (c = !0, e.exit("tableDelimiterFiller"), e.enter("tableDelimiterMarker"), e.consume(T), e.exit("tableDelimiterMarker"), h) : (e.exit("tableDelimiterFiller"), h(T));
|
|
6769
6766
|
}
|
|
6770
6767
|
function h(T) {
|
|
6768
|
+
return t2(T) ? p2(e, m, "whitespace")(T) : m(T);
|
|
6769
|
+
}
|
|
6770
|
+
function m(T) {
|
|
6771
6771
|
return T === 124 ? s(T) : T === null || Z2(T) ? !c || t !== p ? g(T) : (e.exit("tableDelimiterRow"), e.exit("tableHead"), M(T)) : g(T);
|
|
6772
6772
|
}
|
|
6773
6773
|
function g(T) {
|
|
@@ -6827,8 +6827,8 @@ function RM(e, M, b, z, t, p) {
|
|
|
6827
6827
|
if (e.add(b[2], 0, [["enter", r, M]]), z !== 2) {
|
|
6828
6828
|
const A = M.events[b[2]], d = M.events[b[3]];
|
|
6829
6829
|
if (A[1].end = Object.assign({}, d[1].end), A[1].type = "chunkText", A[1].contentType = "text", b[3] > b[2] + 1) {
|
|
6830
|
-
const s = b[2] + 1,
|
|
6831
|
-
e.add(s,
|
|
6830
|
+
const s = b[2] + 1, W = b[3] - b[2] - 1;
|
|
6831
|
+
e.add(s, W, []);
|
|
6832
6832
|
}
|
|
6833
6833
|
}
|
|
6834
6834
|
e.add(b[3] + 1, 0, [["exit", r, M]]);
|
|
@@ -7046,8 +7046,8 @@ var ec;
|
|
|
7046
7046
|
function Bd() {
|
|
7047
7047
|
if (ec) return B0;
|
|
7048
7048
|
ec = 1;
|
|
7049
|
-
var e = typeof Symbol == "function" && Symbol.for, M = e ? Symbol.for("react.element") : 60103, b = e ? Symbol.for("react.portal") : 60106, z = e ? Symbol.for("react.fragment") : 60107, t = e ? Symbol.for("react.strict_mode") : 60108, p = e ? Symbol.for("react.profiler") : 60114, c = e ? Symbol.for("react.provider") : 60109, n = e ? Symbol.for("react.context") : 60110, o = e ? Symbol.for("react.async_mode") : 60111, a = e ? Symbol.for("react.concurrent_mode") : 60111, i = e ? Symbol.for("react.forward_ref") : 60112, r = e ? Symbol.for("react.suspense") : 60113, A = e ? Symbol.for("react.suspense_list") : 60120, d = e ? Symbol.for("react.memo") : 60115, s = e ? Symbol.for("react.lazy") : 60116,
|
|
7050
|
-
function
|
|
7049
|
+
var e = typeof Symbol == "function" && Symbol.for, M = e ? Symbol.for("react.element") : 60103, b = e ? Symbol.for("react.portal") : 60106, z = e ? Symbol.for("react.fragment") : 60107, t = e ? Symbol.for("react.strict_mode") : 60108, p = e ? Symbol.for("react.profiler") : 60114, c = e ? Symbol.for("react.provider") : 60109, n = e ? Symbol.for("react.context") : 60110, o = e ? Symbol.for("react.async_mode") : 60111, a = e ? Symbol.for("react.concurrent_mode") : 60111, i = e ? Symbol.for("react.forward_ref") : 60112, r = e ? Symbol.for("react.suspense") : 60113, A = e ? Symbol.for("react.suspense_list") : 60120, d = e ? Symbol.for("react.memo") : 60115, s = e ? Symbol.for("react.lazy") : 60116, W = e ? Symbol.for("react.block") : 60121, w = e ? Symbol.for("react.fundamental") : 60117, L = e ? Symbol.for("react.responder") : 60118, B = e ? Symbol.for("react.scope") : 60119;
|
|
7050
|
+
function h(g) {
|
|
7051
7051
|
if (typeof g == "object" && g !== null) {
|
|
7052
7052
|
var y = g.$$typeof;
|
|
7053
7053
|
switch (y) {
|
|
@@ -7077,36 +7077,36 @@ function Bd() {
|
|
|
7077
7077
|
}
|
|
7078
7078
|
}
|
|
7079
7079
|
}
|
|
7080
|
-
function
|
|
7081
|
-
return
|
|
7080
|
+
function m(g) {
|
|
7081
|
+
return h(g) === a;
|
|
7082
7082
|
}
|
|
7083
7083
|
return B0.AsyncMode = o, B0.ConcurrentMode = a, B0.ContextConsumer = n, B0.ContextProvider = c, B0.Element = M, B0.ForwardRef = i, B0.Fragment = z, B0.Lazy = s, B0.Memo = d, B0.Portal = b, B0.Profiler = p, B0.StrictMode = t, B0.Suspense = r, B0.isAsyncMode = function(g) {
|
|
7084
|
-
return
|
|
7085
|
-
}, B0.isConcurrentMode =
|
|
7086
|
-
return
|
|
7084
|
+
return m(g) || h(g) === o;
|
|
7085
|
+
}, B0.isConcurrentMode = m, B0.isContextConsumer = function(g) {
|
|
7086
|
+
return h(g) === n;
|
|
7087
7087
|
}, B0.isContextProvider = function(g) {
|
|
7088
|
-
return
|
|
7088
|
+
return h(g) === c;
|
|
7089
7089
|
}, B0.isElement = function(g) {
|
|
7090
7090
|
return typeof g == "object" && g !== null && g.$$typeof === M;
|
|
7091
7091
|
}, B0.isForwardRef = function(g) {
|
|
7092
|
-
return
|
|
7092
|
+
return h(g) === i;
|
|
7093
7093
|
}, B0.isFragment = function(g) {
|
|
7094
|
-
return
|
|
7094
|
+
return h(g) === z;
|
|
7095
7095
|
}, B0.isLazy = function(g) {
|
|
7096
|
-
return
|
|
7096
|
+
return h(g) === s;
|
|
7097
7097
|
}, B0.isMemo = function(g) {
|
|
7098
|
-
return
|
|
7098
|
+
return h(g) === d;
|
|
7099
7099
|
}, B0.isPortal = function(g) {
|
|
7100
|
-
return
|
|
7100
|
+
return h(g) === b;
|
|
7101
7101
|
}, B0.isProfiler = function(g) {
|
|
7102
|
-
return
|
|
7102
|
+
return h(g) === p;
|
|
7103
7103
|
}, B0.isStrictMode = function(g) {
|
|
7104
|
-
return
|
|
7104
|
+
return h(g) === t;
|
|
7105
7105
|
}, B0.isSuspense = function(g) {
|
|
7106
|
-
return
|
|
7106
|
+
return h(g) === r;
|
|
7107
7107
|
}, B0.isValidElementType = function(g) {
|
|
7108
|
-
return typeof g == "string" || typeof g == "function" || g === z || g === a || g === p || g === t || g === r || g === A || typeof g == "object" && g !== null && (g.$$typeof === s || g.$$typeof === d || g.$$typeof === c || g.$$typeof === n || g.$$typeof === i || g.$$typeof === w || g.$$typeof === L || g.$$typeof === B || g.$$typeof ===
|
|
7109
|
-
}, B0.typeOf =
|
|
7108
|
+
return typeof g == "string" || typeof g == "function" || g === z || g === a || g === p || g === t || g === r || g === A || typeof g == "object" && g !== null && (g.$$typeof === s || g.$$typeof === d || g.$$typeof === c || g.$$typeof === n || g.$$typeof === i || g.$$typeof === w || g.$$typeof === L || g.$$typeof === B || g.$$typeof === W);
|
|
7109
|
+
}, B0.typeOf = h, B0;
|
|
7110
7110
|
}
|
|
7111
7111
|
var T0 = {};
|
|
7112
7112
|
/** @license React v16.13.1
|
|
@@ -7120,12 +7120,12 @@ var T0 = {};
|
|
|
7120
7120
|
var Mc;
|
|
7121
7121
|
function Td() {
|
|
7122
7122
|
return Mc || (Mc = 1, process.env.NODE_ENV !== "production" && function() {
|
|
7123
|
-
var e = typeof Symbol == "function" && Symbol.for, M = e ? Symbol.for("react.element") : 60103, b = e ? Symbol.for("react.portal") : 60106, z = e ? Symbol.for("react.fragment") : 60107, t = e ? Symbol.for("react.strict_mode") : 60108, p = e ? Symbol.for("react.profiler") : 60114, c = e ? Symbol.for("react.provider") : 60109, n = e ? Symbol.for("react.context") : 60110, o = e ? Symbol.for("react.async_mode") : 60111, a = e ? Symbol.for("react.concurrent_mode") : 60111, i = e ? Symbol.for("react.forward_ref") : 60112, r = e ? Symbol.for("react.suspense") : 60113, A = e ? Symbol.for("react.suspense_list") : 60120, d = e ? Symbol.for("react.memo") : 60115, s = e ? Symbol.for("react.lazy") : 60116,
|
|
7124
|
-
function
|
|
7123
|
+
var e = typeof Symbol == "function" && Symbol.for, M = e ? Symbol.for("react.element") : 60103, b = e ? Symbol.for("react.portal") : 60106, z = e ? Symbol.for("react.fragment") : 60107, t = e ? Symbol.for("react.strict_mode") : 60108, p = e ? Symbol.for("react.profiler") : 60114, c = e ? Symbol.for("react.provider") : 60109, n = e ? Symbol.for("react.context") : 60110, o = e ? Symbol.for("react.async_mode") : 60111, a = e ? Symbol.for("react.concurrent_mode") : 60111, i = e ? Symbol.for("react.forward_ref") : 60112, r = e ? Symbol.for("react.suspense") : 60113, A = e ? Symbol.for("react.suspense_list") : 60120, d = e ? Symbol.for("react.memo") : 60115, s = e ? Symbol.for("react.lazy") : 60116, W = e ? Symbol.for("react.block") : 60121, w = e ? Symbol.for("react.fundamental") : 60117, L = e ? Symbol.for("react.responder") : 60118, B = e ? Symbol.for("react.scope") : 60119;
|
|
7124
|
+
function h(X) {
|
|
7125
7125
|
return typeof X == "string" || typeof X == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
|
|
7126
|
-
X === z || X === a || X === p || X === t || X === r || X === A || typeof X == "object" && X !== null && (X.$$typeof === s || X.$$typeof === d || X.$$typeof === c || X.$$typeof === n || X.$$typeof === i || X.$$typeof === w || X.$$typeof === L || X.$$typeof === B || X.$$typeof ===
|
|
7126
|
+
X === z || X === a || X === p || X === t || X === r || X === A || typeof X == "object" && X !== null && (X.$$typeof === s || X.$$typeof === d || X.$$typeof === c || X.$$typeof === n || X.$$typeof === i || X.$$typeof === w || X.$$typeof === L || X.$$typeof === B || X.$$typeof === W);
|
|
7127
7127
|
}
|
|
7128
|
-
function
|
|
7128
|
+
function m(X) {
|
|
7129
7129
|
if (typeof X == "object" && X !== null) {
|
|
7130
7130
|
var v = X.$$typeof;
|
|
7131
7131
|
switch (v) {
|
|
@@ -7159,45 +7159,45 @@ function Td() {
|
|
|
7159
7159
|
}
|
|
7160
7160
|
var g = o, y = a, x = n, I = c, C = M, T = i, j = z, V = s, $ = d, k = b, _ = p, P = t, J = r, q = !1;
|
|
7161
7161
|
function b0(X) {
|
|
7162
|
-
return q || (q = !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.")), O(X) ||
|
|
7162
|
+
return q || (q = !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.")), O(X) || m(X) === o;
|
|
7163
7163
|
}
|
|
7164
7164
|
function O(X) {
|
|
7165
|
-
return
|
|
7165
|
+
return m(X) === a;
|
|
7166
7166
|
}
|
|
7167
7167
|
function u(X) {
|
|
7168
|
-
return
|
|
7168
|
+
return m(X) === n;
|
|
7169
7169
|
}
|
|
7170
7170
|
function z0(X) {
|
|
7171
|
-
return
|
|
7171
|
+
return m(X) === c;
|
|
7172
7172
|
}
|
|
7173
7173
|
function a0(X) {
|
|
7174
7174
|
return typeof X == "object" && X !== null && X.$$typeof === M;
|
|
7175
7175
|
}
|
|
7176
7176
|
function f(X) {
|
|
7177
|
-
return
|
|
7177
|
+
return m(X) === i;
|
|
7178
7178
|
}
|
|
7179
7179
|
function e0(X) {
|
|
7180
|
-
return
|
|
7180
|
+
return m(X) === z;
|
|
7181
7181
|
}
|
|
7182
7182
|
function M0(X) {
|
|
7183
|
-
return
|
|
7183
|
+
return m(X) === s;
|
|
7184
7184
|
}
|
|
7185
7185
|
function G(X) {
|
|
7186
|
-
return
|
|
7186
|
+
return m(X) === d;
|
|
7187
7187
|
}
|
|
7188
7188
|
function o0(X) {
|
|
7189
|
-
return
|
|
7189
|
+
return m(X) === b;
|
|
7190
7190
|
}
|
|
7191
7191
|
function l(X) {
|
|
7192
|
-
return
|
|
7192
|
+
return m(X) === p;
|
|
7193
7193
|
}
|
|
7194
7194
|
function K(X) {
|
|
7195
|
-
return
|
|
7195
|
+
return m(X) === t;
|
|
7196
7196
|
}
|
|
7197
7197
|
function U(X) {
|
|
7198
|
-
return
|
|
7198
|
+
return m(X) === r;
|
|
7199
7199
|
}
|
|
7200
|
-
T0.AsyncMode = g, T0.ConcurrentMode = y, T0.ContextConsumer = x, T0.ContextProvider = I, T0.Element = C, T0.ForwardRef = T, T0.Fragment = j, T0.Lazy = V, T0.Memo = $, T0.Portal = k, T0.Profiler = _, T0.StrictMode = P, T0.Suspense = J, T0.isAsyncMode = b0, T0.isConcurrentMode = O, T0.isContextConsumer = u, T0.isContextProvider = z0, T0.isElement = a0, T0.isForwardRef = f, T0.isFragment = e0, T0.isLazy = M0, T0.isMemo = G, T0.isPortal = o0, T0.isProfiler = l, T0.isStrictMode = K, T0.isSuspense = U, T0.isValidElementType =
|
|
7200
|
+
T0.AsyncMode = g, T0.ConcurrentMode = y, T0.ContextConsumer = x, T0.ContextProvider = I, T0.Element = C, T0.ForwardRef = T, T0.Fragment = j, T0.Lazy = V, T0.Memo = $, T0.Portal = k, T0.Profiler = _, T0.StrictMode = P, T0.Suspense = J, T0.isAsyncMode = b0, T0.isConcurrentMode = O, T0.isContextConsumer = u, T0.isContextProvider = z0, T0.isElement = a0, T0.isForwardRef = f, T0.isFragment = e0, T0.isLazy = M0, T0.isMemo = G, T0.isPortal = o0, T0.isProfiler = l, T0.isStrictMode = K, T0.isSuspense = U, T0.isValidElementType = h, T0.typeOf = m;
|
|
7201
7201
|
}()), T0;
|
|
7202
7202
|
}
|
|
7203
7203
|
var bc;
|
|
@@ -7349,8 +7349,8 @@ function xd() {
|
|
|
7349
7349
|
string: L("string"),
|
|
7350
7350
|
symbol: L("symbol"),
|
|
7351
7351
|
any: B(),
|
|
7352
|
-
arrayOf:
|
|
7353
|
-
element:
|
|
7352
|
+
arrayOf: h,
|
|
7353
|
+
element: m(),
|
|
7354
7354
|
elementType: g(),
|
|
7355
7355
|
instanceOf: y,
|
|
7356
7356
|
node: T(),
|
|
@@ -7363,10 +7363,10 @@ function xd() {
|
|
|
7363
7363
|
function s(O, u) {
|
|
7364
7364
|
return O === u ? O !== 0 || 1 / O === 1 / u : O !== O && u !== u;
|
|
7365
7365
|
}
|
|
7366
|
-
function
|
|
7366
|
+
function W(O, u) {
|
|
7367
7367
|
this.message = O, this.data = u && typeof u == "object" ? u : {}, this.stack = "";
|
|
7368
7368
|
}
|
|
7369
|
-
|
|
7369
|
+
W.prototype = Error.prototype;
|
|
7370
7370
|
function w(O) {
|
|
7371
7371
|
if (process.env.NODE_ENV !== "production")
|
|
7372
7372
|
var u = {}, z0 = 0;
|
|
@@ -7385,7 +7385,7 @@ function xd() {
|
|
|
7385
7385
|
), u[v] = !0, z0++);
|
|
7386
7386
|
}
|
|
7387
7387
|
}
|
|
7388
|
-
return M0[G] == null ? e0 ? M0[G] === null ? new
|
|
7388
|
+
return M0[G] == null ? e0 ? M0[G] === null ? new W("The " + l + " `" + K + "` is marked as required " + ("in `" + o0 + "`, but its value is `null`.")) : new W("The " + l + " `" + K + "` is marked as required in " + ("`" + o0 + "`, but its value is `undefined`.")) : null : O(M0, G, o0, l, K);
|
|
7389
7389
|
}
|
|
7390
7390
|
var f = a0.bind(null, !1);
|
|
7391
7391
|
return f.isRequired = a0.bind(null, !0), f;
|
|
@@ -7395,7 +7395,7 @@ function xd() {
|
|
|
7395
7395
|
var o0 = z0[a0], l = P(o0);
|
|
7396
7396
|
if (l !== O) {
|
|
7397
7397
|
var K = J(o0);
|
|
7398
|
-
return new
|
|
7398
|
+
return new W(
|
|
7399
7399
|
"Invalid " + e0 + " `" + M0 + "` of type " + ("`" + K + "` supplied to `" + f + "`, expected ") + ("`" + O + "`."),
|
|
7400
7400
|
{ expectedType: O }
|
|
7401
7401
|
);
|
|
@@ -7407,14 +7407,14 @@ function xd() {
|
|
|
7407
7407
|
function B() {
|
|
7408
7408
|
return w(c);
|
|
7409
7409
|
}
|
|
7410
|
-
function
|
|
7410
|
+
function h(O) {
|
|
7411
7411
|
function u(z0, a0, f, e0, M0) {
|
|
7412
7412
|
if (typeof O != "function")
|
|
7413
|
-
return new
|
|
7413
|
+
return new W("Property `" + M0 + "` of component `" + f + "` has invalid PropType notation inside arrayOf.");
|
|
7414
7414
|
var G = z0[a0];
|
|
7415
7415
|
if (!Array.isArray(G)) {
|
|
7416
7416
|
var o0 = P(G);
|
|
7417
|
-
return new
|
|
7417
|
+
return new W("Invalid " + e0 + " `" + M0 + "` of type " + ("`" + o0 + "` supplied to `" + f + "`, expected an array."));
|
|
7418
7418
|
}
|
|
7419
7419
|
for (var l = 0; l < G.length; l++) {
|
|
7420
7420
|
var K = O(G, l, f, e0, M0 + "[" + l + "]", b);
|
|
@@ -7425,12 +7425,12 @@ function xd() {
|
|
|
7425
7425
|
}
|
|
7426
7426
|
return w(u);
|
|
7427
7427
|
}
|
|
7428
|
-
function
|
|
7428
|
+
function m() {
|
|
7429
7429
|
function O(u, z0, a0, f, e0) {
|
|
7430
7430
|
var M0 = u[z0];
|
|
7431
7431
|
if (!n(M0)) {
|
|
7432
7432
|
var G = P(M0);
|
|
7433
|
-
return new
|
|
7433
|
+
return new W("Invalid " + f + " `" + e0 + "` of type " + ("`" + G + "` supplied to `" + a0 + "`, expected a single ReactElement."));
|
|
7434
7434
|
}
|
|
7435
7435
|
return null;
|
|
7436
7436
|
}
|
|
@@ -7441,7 +7441,7 @@ function xd() {
|
|
|
7441
7441
|
var M0 = u[z0];
|
|
7442
7442
|
if (!e.isValidElementType(M0)) {
|
|
7443
7443
|
var G = P(M0);
|
|
7444
|
-
return new
|
|
7444
|
+
return new W("Invalid " + f + " `" + e0 + "` of type " + ("`" + G + "` supplied to `" + a0 + "`, expected a single ReactElement type."));
|
|
7445
7445
|
}
|
|
7446
7446
|
return null;
|
|
7447
7447
|
}
|
|
@@ -7451,7 +7451,7 @@ function xd() {
|
|
|
7451
7451
|
function u(z0, a0, f, e0, M0) {
|
|
7452
7452
|
if (!(z0[a0] instanceof O)) {
|
|
7453
7453
|
var G = O.name || A, o0 = b0(z0[a0]);
|
|
7454
|
-
return new
|
|
7454
|
+
return new W("Invalid " + e0 + " `" + M0 + "` of type " + ("`" + o0 + "` supplied to `" + f + "`, expected ") + ("instance of `" + G + "`."));
|
|
7455
7455
|
}
|
|
7456
7456
|
return null;
|
|
7457
7457
|
}
|
|
@@ -7470,17 +7470,17 @@ function xd() {
|
|
|
7470
7470
|
var v = J(X);
|
|
7471
7471
|
return v === "symbol" ? String(X) : X;
|
|
7472
7472
|
});
|
|
7473
|
-
return new
|
|
7473
|
+
return new W("Invalid " + e0 + " `" + M0 + "` of value `" + String(G) + "` " + ("supplied to `" + f + "`, expected one of " + l + "."));
|
|
7474
7474
|
}
|
|
7475
7475
|
return w(u);
|
|
7476
7476
|
}
|
|
7477
7477
|
function I(O) {
|
|
7478
7478
|
function u(z0, a0, f, e0, M0) {
|
|
7479
7479
|
if (typeof O != "function")
|
|
7480
|
-
return new
|
|
7480
|
+
return new W("Property `" + M0 + "` of component `" + f + "` has invalid PropType notation inside objectOf.");
|
|
7481
7481
|
var G = z0[a0], o0 = P(G);
|
|
7482
7482
|
if (o0 !== "object")
|
|
7483
|
-
return new
|
|
7483
|
+
return new W("Invalid " + e0 + " `" + M0 + "` of type " + ("`" + o0 + "` supplied to `" + f + "`, expected an object."));
|
|
7484
7484
|
for (var l in G)
|
|
7485
7485
|
if (z(G, l)) {
|
|
7486
7486
|
var K = O(G, l, f, e0, M0 + "." + l, b);
|
|
@@ -7509,18 +7509,18 @@ function xd() {
|
|
|
7509
7509
|
X.data && z(X.data, "expectedType") && l.push(X.data.expectedType);
|
|
7510
7510
|
}
|
|
7511
7511
|
var v = l.length > 0 ? ", expected one of type [" + l.join(", ") + "]" : "";
|
|
7512
|
-
return new
|
|
7512
|
+
return new W("Invalid " + G + " `" + o0 + "` supplied to " + ("`" + M0 + "`" + v + "."));
|
|
7513
7513
|
}
|
|
7514
7514
|
return w(a0);
|
|
7515
7515
|
}
|
|
7516
7516
|
function T() {
|
|
7517
7517
|
function O(u, z0, a0, f, e0) {
|
|
7518
|
-
return k(u[z0]) ? null : new
|
|
7518
|
+
return k(u[z0]) ? null : new W("Invalid " + f + " `" + e0 + "` supplied to " + ("`" + a0 + "`, expected a ReactNode."));
|
|
7519
7519
|
}
|
|
7520
7520
|
return w(O);
|
|
7521
7521
|
}
|
|
7522
7522
|
function j(O, u, z0, a0, f) {
|
|
7523
|
-
return new
|
|
7523
|
+
return new W(
|
|
7524
7524
|
(O || "React class") + ": " + u + " type `" + z0 + "." + a0 + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + f + "`."
|
|
7525
7525
|
);
|
|
7526
7526
|
}
|
|
@@ -7528,7 +7528,7 @@ function xd() {
|
|
|
7528
7528
|
function u(z0, a0, f, e0, M0) {
|
|
7529
7529
|
var G = z0[a0], o0 = P(G);
|
|
7530
7530
|
if (o0 !== "object")
|
|
7531
|
-
return new
|
|
7531
|
+
return new W("Invalid " + e0 + " `" + M0 + "` of type `" + o0 + "` " + ("supplied to `" + f + "`, expected `object`."));
|
|
7532
7532
|
for (var l in O) {
|
|
7533
7533
|
var K = O[l];
|
|
7534
7534
|
if (typeof K != "function")
|
|
@@ -7545,14 +7545,14 @@ function xd() {
|
|
|
7545
7545
|
function u(z0, a0, f, e0, M0) {
|
|
7546
7546
|
var G = z0[a0], o0 = P(G);
|
|
7547
7547
|
if (o0 !== "object")
|
|
7548
|
-
return new
|
|
7548
|
+
return new W("Invalid " + e0 + " `" + M0 + "` of type `" + o0 + "` " + ("supplied to `" + f + "`, expected `object`."));
|
|
7549
7549
|
var l = M({}, z0[a0], O);
|
|
7550
7550
|
for (var K in l) {
|
|
7551
7551
|
var U = O[K];
|
|
7552
7552
|
if (z(O, K) && typeof U != "function")
|
|
7553
7553
|
return j(f, e0, M0, K, J(U));
|
|
7554
7554
|
if (!U)
|
|
7555
|
-
return new
|
|
7555
|
+
return new W(
|
|
7556
7556
|
"Invalid " + e0 + " `" + M0 + "` key `" + K + "` supplied to `" + f + "`.\nBad object: " + JSON.stringify(z0[a0], null, " ") + `
|
|
7557
7557
|
Valid keys: ` + JSON.stringify(Object.keys(O), null, " ")
|
|
7558
7558
|
);
|
|
@@ -7763,7 +7763,7 @@ function x5(e, M, b) {
|
|
|
7763
7763
|
function s(y) {
|
|
7764
7764
|
return a = y, n = setTimeout(L, M), i ? d(y) : c;
|
|
7765
7765
|
}
|
|
7766
|
-
function
|
|
7766
|
+
function W(y) {
|
|
7767
7767
|
var x = y - o, I = y - a, C = M - x;
|
|
7768
7768
|
return r ? k5(C, p - I) : C;
|
|
7769
7769
|
}
|
|
@@ -7775,15 +7775,15 @@ function x5(e, M, b) {
|
|
|
7775
7775
|
var y = az();
|
|
7776
7776
|
if (w(y))
|
|
7777
7777
|
return B(y);
|
|
7778
|
-
n = setTimeout(L,
|
|
7778
|
+
n = setTimeout(L, W(y));
|
|
7779
7779
|
}
|
|
7780
7780
|
function B(y) {
|
|
7781
7781
|
return n = void 0, A && z ? d(y) : (z = t = void 0, c);
|
|
7782
7782
|
}
|
|
7783
|
-
function
|
|
7783
|
+
function h() {
|
|
7784
7784
|
n !== void 0 && clearTimeout(n), a = 0, z = o = t = n = void 0;
|
|
7785
7785
|
}
|
|
7786
|
-
function
|
|
7786
|
+
function m() {
|
|
7787
7787
|
return n === void 0 ? c : B(az());
|
|
7788
7788
|
}
|
|
7789
7789
|
function g() {
|
|
@@ -7796,7 +7796,7 @@ function x5(e, M, b) {
|
|
|
7796
7796
|
}
|
|
7797
7797
|
return n === void 0 && (n = setTimeout(L, M)), c;
|
|
7798
7798
|
}
|
|
7799
|
-
return g.cancel =
|
|
7799
|
+
return g.cancel = h, g.flush = m, g;
|
|
7800
7800
|
}
|
|
7801
7801
|
var C5 = x5;
|
|
7802
7802
|
const E5 = /* @__PURE__ */ q2(C5);
|
|
@@ -7817,25 +7817,25 @@ var _5 = [], lc = {
|
|
|
7817
7817
|
left: 0
|
|
7818
7818
|
};
|
|
7819
7819
|
function S5(e) {
|
|
7820
|
-
var M = e === void 0 ? {} : e, b = M.initialSize, z = b === void 0 ? lc : b, t = M.debounceTime, p = t === void 0 ? 300 : t, c = M.ignoreDimensions, n = c === void 0 ? _5 : c, o = M.enableDebounceLeadingCall, a = o === void 0 ? !0 : o, i = M.resizeObserverPolyfill, r = r0(null), A = r0(0), d = h0($M({}, lc, z)), s = d[0],
|
|
7820
|
+
var M = e === void 0 ? {} : e, b = M.initialSize, z = b === void 0 ? lc : b, t = M.debounceTime, p = t === void 0 ? 300 : t, c = M.ignoreDimensions, n = c === void 0 ? _5 : c, o = M.enableDebounceLeadingCall, a = o === void 0 ? !0 : o, i = M.resizeObserverPolyfill, r = r0(null), A = r0(0), d = h0($M({}, lc, z)), s = d[0], W = d[1], w = m0(function() {
|
|
7821
7821
|
var L = Array.isArray(n) ? n : [n];
|
|
7822
7822
|
return E5(function(B) {
|
|
7823
|
-
|
|
7824
|
-
var
|
|
7825
|
-
return
|
|
7823
|
+
W(function(h) {
|
|
7824
|
+
var m = Object.keys(h), g = m.filter(function(x) {
|
|
7825
|
+
return h[x] !== B[x];
|
|
7826
7826
|
}), y = g.every(function(x) {
|
|
7827
7827
|
return L.includes(x);
|
|
7828
7828
|
});
|
|
7829
|
-
return y ?
|
|
7829
|
+
return y ? h : B;
|
|
7830
7830
|
});
|
|
7831
7831
|
}, p, {
|
|
7832
7832
|
leading: a
|
|
7833
7833
|
});
|
|
7834
7834
|
}, [p, a, n]);
|
|
7835
7835
|
return d0(function() {
|
|
7836
|
-
var L = i || window.ResizeObserver, B = new L(function(
|
|
7837
|
-
|
|
7838
|
-
var g, y = (g =
|
|
7836
|
+
var L = i || window.ResizeObserver, B = new L(function(h) {
|
|
7837
|
+
h.forEach(function(m) {
|
|
7838
|
+
var g, y = (g = m == null ? void 0 : m.contentRect) != null ? g : {}, x = y.left, I = y.top, C = y.width, T = y.height;
|
|
7839
7839
|
A.current = window.requestAnimationFrame(function() {
|
|
7840
7840
|
w({
|
|
7841
7841
|
width: C,
|
|
@@ -9966,25 +9966,25 @@ const vq = {
|
|
|
9966
9966
|
T: new Lq()
|
|
9967
9967
|
}, Nq = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, wq = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g, yq = /^'([^]*?)'?$/, Bq = /''/g, Tq = /\S/, Xq = /[a-zA-Z]/;
|
|
9968
9968
|
function kq(e, M, b, z) {
|
|
9969
|
-
var w, L, B,
|
|
9970
|
-
const t = () => $0(b, NaN), p = _u(), c = p.locale ?? vu, n = p.firstWeekContainsDate ?? ((L = (w = p.locale) == null ? void 0 : w.options) == null ? void 0 : L.firstWeekContainsDate) ?? 1, o = p.weekStartsOn ?? ((
|
|
9969
|
+
var w, L, B, h;
|
|
9970
|
+
const t = () => $0(b, NaN), p = _u(), c = p.locale ?? vu, n = p.firstWeekContainsDate ?? ((L = (w = p.locale) == null ? void 0 : w.options) == null ? void 0 : L.firstWeekContainsDate) ?? 1, o = p.weekStartsOn ?? ((h = (B = p.locale) == null ? void 0 : B.options) == null ? void 0 : h.weekStartsOn) ?? 0;
|
|
9971
9971
|
if (!M)
|
|
9972
9972
|
return e ? t() : e1(b, z == null ? void 0 : z.in);
|
|
9973
9973
|
const a = {
|
|
9974
9974
|
firstWeekContainsDate: n,
|
|
9975
9975
|
weekStartsOn: o,
|
|
9976
9976
|
locale: c
|
|
9977
|
-
}, i = [new Fu(z == null ? void 0 : z.in, b)], r = M.match(wq).map((
|
|
9978
|
-
const g =
|
|
9977
|
+
}, i = [new Fu(z == null ? void 0 : z.in, b)], r = M.match(wq).map((m) => {
|
|
9978
|
+
const g = m[0];
|
|
9979
9979
|
if (g in fc) {
|
|
9980
9980
|
const y = fc[g];
|
|
9981
|
-
return y(
|
|
9981
|
+
return y(m, c.formatLong);
|
|
9982
9982
|
}
|
|
9983
|
-
return
|
|
9983
|
+
return m;
|
|
9984
9984
|
}).join("").match(Nq), A = [];
|
|
9985
|
-
for (let
|
|
9986
|
-
Cu(
|
|
9987
|
-
const g =
|
|
9985
|
+
for (let m of r) {
|
|
9986
|
+
Cu(m) && Wc(m, M, e), xu(m) && Wc(m, M, e);
|
|
9987
|
+
const g = m[0], y = vq[g];
|
|
9988
9988
|
if (y) {
|
|
9989
9989
|
const { incompatibleTokens: x } = y;
|
|
9990
9990
|
if (Array.isArray(x)) {
|
|
@@ -9993,16 +9993,16 @@ function kq(e, M, b, z) {
|
|
|
9993
9993
|
);
|
|
9994
9994
|
if (C)
|
|
9995
9995
|
throw new RangeError(
|
|
9996
|
-
`The format string mustn't contain \`${C.fullToken}\` and \`${
|
|
9996
|
+
`The format string mustn't contain \`${C.fullToken}\` and \`${m}\` at the same time`
|
|
9997
9997
|
);
|
|
9998
9998
|
} else if (y.incompatibleTokens === "*" && A.length > 0)
|
|
9999
9999
|
throw new RangeError(
|
|
10000
|
-
`The format string mustn't contain \`${
|
|
10000
|
+
`The format string mustn't contain \`${m}\` and any other token at the same time`
|
|
10001
10001
|
);
|
|
10002
|
-
A.push({ token: g, fullToken:
|
|
10002
|
+
A.push({ token: g, fullToken: m });
|
|
10003
10003
|
const I = y.run(
|
|
10004
10004
|
e,
|
|
10005
|
-
|
|
10005
|
+
m,
|
|
10006
10006
|
c.match,
|
|
10007
10007
|
a
|
|
10008
10008
|
);
|
|
@@ -10014,25 +10014,25 @@ function kq(e, M, b, z) {
|
|
|
10014
10014
|
throw new RangeError(
|
|
10015
10015
|
"Format string contains an unescaped latin alphabet character `" + g + "`"
|
|
10016
10016
|
);
|
|
10017
|
-
if (
|
|
10018
|
-
e = e.slice(
|
|
10017
|
+
if (m === "''" ? m = "'" : g === "'" && (m = xq(m)), e.indexOf(m) === 0)
|
|
10018
|
+
e = e.slice(m.length);
|
|
10019
10019
|
else
|
|
10020
10020
|
return t();
|
|
10021
10021
|
}
|
|
10022
10022
|
}
|
|
10023
10023
|
if (e.length > 0 && Tq.test(e))
|
|
10024
10024
|
return t();
|
|
10025
|
-
const d = i.map((
|
|
10026
|
-
(
|
|
10027
|
-
).map((
|
|
10025
|
+
const d = i.map((m) => m.priority).sort((m, g) => g - m).filter((m, g, y) => y.indexOf(m) === g).map(
|
|
10026
|
+
(m) => i.filter((g) => g.priority === m).sort((g, y) => y.subPriority - g.subPriority)
|
|
10027
|
+
).map((m) => m[0]);
|
|
10028
10028
|
let s = e1(b, z == null ? void 0 : z.in);
|
|
10029
10029
|
if (isNaN(+s)) return t();
|
|
10030
|
-
const
|
|
10031
|
-
for (const
|
|
10032
|
-
if (!
|
|
10030
|
+
const W = {};
|
|
10031
|
+
for (const m of d) {
|
|
10032
|
+
if (!m.validate(s, a))
|
|
10033
10033
|
return t();
|
|
10034
|
-
const g =
|
|
10035
|
-
Array.isArray(g) ? (s = g[0], Object.assign(
|
|
10034
|
+
const g = m.set(s, W, a);
|
|
10035
|
+
Array.isArray(g) ? (s = g[0], Object.assign(W, g[1])) : s = g;
|
|
10036
10036
|
}
|
|
10037
10037
|
return s;
|
|
10038
10038
|
}
|
|
@@ -12764,7 +12764,7 @@ const Zh = /* @__PURE__ */ yd(Qh);
|
|
|
12764
12764
|
for (var E = 0; E < v.length; E++)
|
|
12765
12765
|
v[E] = d(v[E]);
|
|
12766
12766
|
}
|
|
12767
|
-
function
|
|
12767
|
+
function W(v, E) {
|
|
12768
12768
|
for (var S = 0; S < E; S++)
|
|
12769
12769
|
v[S] = Math.round((v[S - 1] || 0) + v[S] * 6e4);
|
|
12770
12770
|
v[E - 1] = 1 / 0;
|
|
@@ -12777,7 +12777,7 @@ const Zh = /* @__PURE__ */ yd(Qh);
|
|
|
12777
12777
|
}
|
|
12778
12778
|
function L(v) {
|
|
12779
12779
|
var E = v.split("|"), S = E[2].split(" "), H = E[3].split(""), D = E[4].split(" ");
|
|
12780
|
-
return s(S), s(H), s(D),
|
|
12780
|
+
return s(S), s(H), s(D), W(D, H.length), {
|
|
12781
12781
|
name: E[0],
|
|
12782
12782
|
abbrs: w(E[1].split(" "), H),
|
|
12783
12783
|
offsets: w(S, H),
|
|
@@ -12788,7 +12788,7 @@ const Zh = /* @__PURE__ */ yd(Qh);
|
|
|
12788
12788
|
function B(v) {
|
|
12789
12789
|
v && this._set(L(v));
|
|
12790
12790
|
}
|
|
12791
|
-
function
|
|
12791
|
+
function h(v, E) {
|
|
12792
12792
|
var S = E.length;
|
|
12793
12793
|
if (v < E[0])
|
|
12794
12794
|
return 0;
|
|
@@ -12806,7 +12806,7 @@ const Zh = /* @__PURE__ */ yd(Qh);
|
|
|
12806
12806
|
},
|
|
12807
12807
|
_index: function(v) {
|
|
12808
12808
|
var E = +v, S = this.untils, H;
|
|
12809
|
-
if (H =
|
|
12809
|
+
if (H = h(E, S), H >= 0)
|
|
12810
12810
|
return H;
|
|
12811
12811
|
},
|
|
12812
12812
|
countries: function() {
|
|
@@ -12832,7 +12832,7 @@ const Zh = /* @__PURE__ */ yd(Qh);
|
|
|
12832
12832
|
return this.offsets[this._index(v)];
|
|
12833
12833
|
}
|
|
12834
12834
|
};
|
|
12835
|
-
function
|
|
12835
|
+
function m(v, E) {
|
|
12836
12836
|
this.name = v, this.zones = E;
|
|
12837
12837
|
}
|
|
12838
12838
|
function g(v) {
|
|
@@ -12932,7 +12932,7 @@ const Zh = /* @__PURE__ */ yd(Qh);
|
|
|
12932
12932
|
var E, S, H, D;
|
|
12933
12933
|
if (!(!v || !v.length))
|
|
12934
12934
|
for (E = 0; E < v.length; E++)
|
|
12935
|
-
D = v[E].split("|"), S = D[0].toUpperCase(), H = D[1].split(" "), p[S] = new
|
|
12935
|
+
D = v[E].split("|"), S = D[0].toUpperCase(), H = D[1].split(" "), p[S] = new m(
|
|
12936
12936
|
S,
|
|
12937
12937
|
H
|
|
12938
12938
|
);
|
|
@@ -13882,129 +13882,129 @@ function o8() {
|
|
|
13882
13882
|
if (!M.tz)
|
|
13883
13883
|
throw new Error("moment-timezone-utils.js must be loaded after moment-timezone.js");
|
|
13884
13884
|
var b = "0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWX", z = 1e-6;
|
|
13885
|
-
function t(
|
|
13886
|
-
for (var g = ".", y = "", x;
|
|
13887
|
-
|
|
13885
|
+
function t(h, m) {
|
|
13886
|
+
for (var g = ".", y = "", x; m > 0; )
|
|
13887
|
+
m -= 1, h *= 60, x = Math.floor(h + z), g += b[x], h -= x, x && (y += g, g = "");
|
|
13888
13888
|
return y;
|
|
13889
13889
|
}
|
|
13890
|
-
function p(
|
|
13891
|
-
for (var g = "", y = Math.abs(
|
|
13890
|
+
function p(h, m) {
|
|
13891
|
+
for (var g = "", y = Math.abs(h), x = Math.floor(y), I = t(y - x, Math.min(~~m, 10)); x > 0; )
|
|
13892
13892
|
g = b[x % 60] + g, x = Math.floor(x / 60);
|
|
13893
|
-
return
|
|
13894
|
-
}
|
|
13895
|
-
function c(
|
|
13896
|
-
var
|
|
13897
|
-
for (y = 0; y <
|
|
13898
|
-
|
|
13899
|
-
return
|
|
13900
|
-
}
|
|
13901
|
-
function n(
|
|
13902
|
-
var
|
|
13903
|
-
for (C = 0; C <
|
|
13904
|
-
T =
|
|
13893
|
+
return h < 0 && (g = "-" + g), g && I ? g + I : !I && g === "-" ? "0" : g || I || "0";
|
|
13894
|
+
}
|
|
13895
|
+
function c(h) {
|
|
13896
|
+
var m = [], g = 0, y;
|
|
13897
|
+
for (y = 0; y < h.length - 1; y++)
|
|
13898
|
+
m[y] = p(Math.round((h[y] - g) / 1e3) / 60, 1), g = h[y];
|
|
13899
|
+
return m.join(" ");
|
|
13900
|
+
}
|
|
13901
|
+
function n(h) {
|
|
13902
|
+
var m = 0, g = [], y = [], x = [], I = {}, C, T;
|
|
13903
|
+
for (C = 0; C < h.abbrs.length; C++)
|
|
13904
|
+
T = h.abbrs[C] + "|" + h.offsets[C], I[T] === void 0 && (I[T] = m, g[m] = h.abbrs[C], y[m] = p(Math.round(h.offsets[C] * 60) / 60, 1), m++), x[C] = p(I[T], 0);
|
|
13905
13905
|
return g.join(" ") + "|" + y.join(" ") + "|" + x.join("");
|
|
13906
13906
|
}
|
|
13907
|
-
function o(
|
|
13908
|
-
if (!
|
|
13907
|
+
function o(h) {
|
|
13908
|
+
if (!h)
|
|
13909
13909
|
return "";
|
|
13910
|
-
if (
|
|
13911
|
-
return
|
|
13912
|
-
var
|
|
13913
|
-
return g + "e" +
|
|
13910
|
+
if (h < 1e3)
|
|
13911
|
+
return h;
|
|
13912
|
+
var m = String(h | 0).length - 2, g = Math.round(h / Math.pow(10, m));
|
|
13913
|
+
return g + "e" + m;
|
|
13914
13914
|
}
|
|
13915
|
-
function a(
|
|
13916
|
-
if (!
|
|
13915
|
+
function a(h) {
|
|
13916
|
+
if (!h.name)
|
|
13917
13917
|
throw new Error("Missing name");
|
|
13918
|
-
if (!
|
|
13918
|
+
if (!h.abbrs)
|
|
13919
13919
|
throw new Error("Missing abbrs");
|
|
13920
|
-
if (!
|
|
13920
|
+
if (!h.untils)
|
|
13921
13921
|
throw new Error("Missing untils");
|
|
13922
|
-
if (!
|
|
13922
|
+
if (!h.offsets)
|
|
13923
13923
|
throw new Error("Missing offsets");
|
|
13924
|
-
if (
|
|
13924
|
+
if (h.offsets.length !== h.untils.length || h.offsets.length !== h.abbrs.length)
|
|
13925
13925
|
throw new Error("Mismatched array lengths");
|
|
13926
13926
|
}
|
|
13927
|
-
function i(
|
|
13928
|
-
return a(
|
|
13929
|
-
|
|
13927
|
+
function i(h) {
|
|
13928
|
+
return a(h), [
|
|
13929
|
+
h.name,
|
|
13930
13930
|
// 0 - timezone name
|
|
13931
|
-
n(
|
|
13931
|
+
n(h),
|
|
13932
13932
|
// 1 - abbrs, 2 - offsets, 3 - indices
|
|
13933
|
-
c(
|
|
13933
|
+
c(h.untils),
|
|
13934
13934
|
// 4 - untils
|
|
13935
|
-
o(
|
|
13935
|
+
o(h.population)
|
|
13936
13936
|
// 5 - population
|
|
13937
13937
|
].join("|");
|
|
13938
13938
|
}
|
|
13939
|
-
function r(
|
|
13939
|
+
function r(h) {
|
|
13940
13940
|
return [
|
|
13941
|
-
|
|
13942
|
-
|
|
13941
|
+
h.name,
|
|
13942
|
+
h.zones.join(" ")
|
|
13943
13943
|
].join("|");
|
|
13944
13944
|
}
|
|
13945
|
-
function A(
|
|
13945
|
+
function A(h, m) {
|
|
13946
13946
|
var g;
|
|
13947
|
-
if (
|
|
13947
|
+
if (h.length !== m.length)
|
|
13948
13948
|
return !1;
|
|
13949
|
-
for (g = 0; g <
|
|
13950
|
-
if (
|
|
13949
|
+
for (g = 0; g < h.length; g++)
|
|
13950
|
+
if (h[g] !== m[g])
|
|
13951
13951
|
return !1;
|
|
13952
13952
|
return !0;
|
|
13953
13953
|
}
|
|
13954
|
-
function d(
|
|
13955
|
-
return A(
|
|
13954
|
+
function d(h, m) {
|
|
13955
|
+
return A(h.offsets, m.offsets) && A(h.abbrs, m.abbrs) && A(h.untils, m.untils);
|
|
13956
13956
|
}
|
|
13957
|
-
function s(
|
|
13957
|
+
function s(h, m, g, y) {
|
|
13958
13958
|
var x, I, C, T, j, V, $ = [];
|
|
13959
|
-
for (x = 0; x <
|
|
13960
|
-
for (V = !1, C =
|
|
13959
|
+
for (x = 0; x < h.length; x++) {
|
|
13960
|
+
for (V = !1, C = h[x], I = 0; I < $.length; I++)
|
|
13961
13961
|
j = $[I], T = j[0], d(C, T) && (C.population > T.population || C.population === T.population && y && y[C.name] ? j.unshift(C) : j.push(C), V = !0);
|
|
13962
13962
|
V || $.push([C]);
|
|
13963
13963
|
}
|
|
13964
13964
|
for (x = 0; x < $.length; x++)
|
|
13965
|
-
for (j = $[x],
|
|
13965
|
+
for (j = $[x], m.push(j[0]), I = 1; I < j.length; I++)
|
|
13966
13966
|
g.push(j[0].name + "|" + j[I].name);
|
|
13967
13967
|
}
|
|
13968
|
-
function
|
|
13968
|
+
function W(h, m) {
|
|
13969
13969
|
var g = [], y = [];
|
|
13970
|
-
return
|
|
13971
|
-
version:
|
|
13970
|
+
return h.links && (y = h.links.slice()), s(h.zones, g, y, m), {
|
|
13971
|
+
version: h.version,
|
|
13972
13972
|
zones: g,
|
|
13973
13973
|
links: y.sort()
|
|
13974
13974
|
};
|
|
13975
13975
|
}
|
|
13976
|
-
function w(
|
|
13977
|
-
var y = 0, x =
|
|
13978
|
-
for (g || (g =
|
|
13979
|
-
|
|
13976
|
+
function w(h, m, g) {
|
|
13977
|
+
var y = 0, x = h.length + 1, I, C;
|
|
13978
|
+
for (g || (g = m), m > g && (C = m, m = g, g = C), C = 0; C < h.length; C++)
|
|
13979
|
+
h[C] != null && (I = new Date(h[C]).getUTCFullYear(), I < m && (y = C + 1), I > g && (x = Math.min(x, C + 1)));
|
|
13980
13980
|
return [y, x];
|
|
13981
13981
|
}
|
|
13982
|
-
function L(
|
|
13983
|
-
var y = Array.prototype.slice, x = w(
|
|
13982
|
+
function L(h, m, g) {
|
|
13983
|
+
var y = Array.prototype.slice, x = w(h.untils, m, g), I = y.apply(h.untils, x);
|
|
13984
13984
|
return I[I.length - 1] = null, {
|
|
13985
|
-
name:
|
|
13986
|
-
abbrs: y.apply(
|
|
13985
|
+
name: h.name,
|
|
13986
|
+
abbrs: y.apply(h.abbrs, x),
|
|
13987
13987
|
untils: I,
|
|
13988
|
-
offsets: y.apply(
|
|
13989
|
-
population:
|
|
13990
|
-
countries:
|
|
13988
|
+
offsets: y.apply(h.offsets, x),
|
|
13989
|
+
population: h.population,
|
|
13990
|
+
countries: h.countries
|
|
13991
13991
|
};
|
|
13992
13992
|
}
|
|
13993
|
-
function B(
|
|
13994
|
-
var x, I =
|
|
13993
|
+
function B(h, m, g, y) {
|
|
13994
|
+
var x, I = h.zones, C = [], T;
|
|
13995
13995
|
for (x = 0; x < I.length; x++)
|
|
13996
|
-
C[x] = L(I[x],
|
|
13997
|
-
for (T =
|
|
13996
|
+
C[x] = L(I[x], m, g);
|
|
13997
|
+
for (T = W({
|
|
13998
13998
|
zones: C,
|
|
13999
|
-
links:
|
|
14000
|
-
version:
|
|
13999
|
+
links: h.links.slice(),
|
|
14000
|
+
version: h.version
|
|
14001
14001
|
}, y), x = 0; x < T.zones.length; x++)
|
|
14002
14002
|
T.zones[x] = i(T.zones[x]);
|
|
14003
|
-
return T.countries =
|
|
14003
|
+
return T.countries = h.countries ? h.countries.map(function(j) {
|
|
14004
14004
|
return r(j);
|
|
14005
14005
|
}) : [], T;
|
|
14006
14006
|
}
|
|
14007
|
-
return M.tz.pack = i, M.tz.packBase60 = p, M.tz.createLinks =
|
|
14007
|
+
return M.tz.pack = i, M.tz.packBase60 = p, M.tz.createLinks = W, M.tz.filterYears = L, M.tz.filterLinkPack = B, M.tz.packCountry = r, M;
|
|
14008
14008
|
});
|
|
14009
14009
|
})(M8);
|
|
14010
14010
|
const uz = "WP";
|
|
@@ -14166,32 +14166,32 @@ function O8(e) {
|
|
|
14166
14166
|
b.selectColor = M;
|
|
14167
14167
|
function b(i) {
|
|
14168
14168
|
let r, A = null, d, s;
|
|
14169
|
-
function
|
|
14170
|
-
if (!
|
|
14169
|
+
function W(...w) {
|
|
14170
|
+
if (!W.enabled)
|
|
14171
14171
|
return;
|
|
14172
|
-
const L =
|
|
14173
|
-
L.diff =
|
|
14174
|
-
let
|
|
14172
|
+
const L = W, B = Number(/* @__PURE__ */ new Date()), h = B - (r || B);
|
|
14173
|
+
L.diff = h, L.prev = r, L.curr = B, r = B, w[0] = b.coerce(w[0]), typeof w[0] != "string" && w.unshift("%O");
|
|
14174
|
+
let m = 0;
|
|
14175
14175
|
w[0] = w[0].replace(/%([a-zA-Z%])/g, (y, x) => {
|
|
14176
14176
|
if (y === "%%")
|
|
14177
14177
|
return "%";
|
|
14178
|
-
|
|
14178
|
+
m++;
|
|
14179
14179
|
const I = b.formatters[x];
|
|
14180
14180
|
if (typeof I == "function") {
|
|
14181
|
-
const C = w[
|
|
14182
|
-
y = I.call(L, C), w.splice(
|
|
14181
|
+
const C = w[m];
|
|
14182
|
+
y = I.call(L, C), w.splice(m, 1), m--;
|
|
14183
14183
|
}
|
|
14184
14184
|
return y;
|
|
14185
14185
|
}), b.formatArgs.call(L, w), (L.log || b.log).apply(L, w);
|
|
14186
14186
|
}
|
|
14187
|
-
return
|
|
14187
|
+
return W.namespace = i, W.useColors = b.useColors(), W.color = b.selectColor(i), W.extend = z, W.destroy = b.destroy, Object.defineProperty(W, "enabled", {
|
|
14188
14188
|
enumerable: !0,
|
|
14189
14189
|
configurable: !1,
|
|
14190
14190
|
get: () => A !== null ? A : (d !== b.namespaces && (d = b.namespaces, s = b.enabled(i)), s),
|
|
14191
14191
|
set: (w) => {
|
|
14192
14192
|
A = w;
|
|
14193
14193
|
}
|
|
14194
|
-
}), typeof b.init == "function" && b.init(
|
|
14194
|
+
}), typeof b.init == "function" && b.init(W), W;
|
|
14195
14195
|
}
|
|
14196
14196
|
function z(i, r) {
|
|
14197
14197
|
const A = b(this.namespace + (typeof r > "u" ? ":" : r) + i);
|
|
@@ -14204,12 +14204,12 @@ function O8(e) {
|
|
|
14204
14204
|
A[0] === "-" ? b.skips.push(A.slice(1)) : b.names.push(A);
|
|
14205
14205
|
}
|
|
14206
14206
|
function p(i, r) {
|
|
14207
|
-
let A = 0, d = 0, s = -1,
|
|
14207
|
+
let A = 0, d = 0, s = -1, W = 0;
|
|
14208
14208
|
for (; A < i.length; )
|
|
14209
14209
|
if (d < r.length && (r[d] === i[A] || r[d] === "*"))
|
|
14210
|
-
r[d] === "*" ? (s = d,
|
|
14210
|
+
r[d] === "*" ? (s = d, W = A, d++) : (A++, d++);
|
|
14211
14211
|
else if (s !== -1)
|
|
14212
|
-
d = s + 1,
|
|
14212
|
+
d = s + 1, W++, A = W;
|
|
14213
14213
|
else
|
|
14214
14214
|
return !1;
|
|
14215
14215
|
for (; d < r.length && r[d] === "*"; )
|
|
@@ -14934,12 +14934,12 @@ const d8 = ({ number: e, browserSafeLocale: M, currency: b, stripZeros: z, isSma
|
|
|
14934
14934
|
forceLatin: n,
|
|
14935
14935
|
stripZeros: z,
|
|
14936
14936
|
signForPositive: p
|
|
14937
|
-
}).formatToParts(r).reduce((s,
|
|
14938
|
-
switch (
|
|
14937
|
+
}).formatToParts(r).reduce((s, W) => {
|
|
14938
|
+
switch (W.type) {
|
|
14939
14939
|
case "currency":
|
|
14940
|
-
return a != null && a.symbol ? s + a.symbol : s +
|
|
14940
|
+
return a != null && a.symbol ? s + a.symbol : s + W.value;
|
|
14941
14941
|
default:
|
|
14942
|
-
return s +
|
|
14942
|
+
return s + W.value;
|
|
14943
14943
|
}
|
|
14944
14944
|
}, "");
|
|
14945
14945
|
}, u8 = ({ number: e, browserSafeLocale: M, currency: b, stripZeros: z, isSmallestUnit: t, signForPositive: p, geoLocation: c, forceLatin: n }) => {
|
|
@@ -14951,23 +14951,23 @@ const d8 = ({ number: e, browserSafeLocale: M, currency: b, stripZeros: z, isSma
|
|
|
14951
14951
|
stripZeros: z,
|
|
14952
14952
|
signForPositive: p
|
|
14953
14953
|
}).formatToParts(r);
|
|
14954
|
-
let s = "",
|
|
14954
|
+
let s = "", W = "$", w = "before", L = !1, B = !1, h = "", m = "";
|
|
14955
14955
|
d.forEach((y) => {
|
|
14956
14956
|
switch (y.type) {
|
|
14957
14957
|
case "currency":
|
|
14958
|
-
|
|
14958
|
+
W = (a == null ? void 0 : a.symbol) ?? y.value, L && (w = "after");
|
|
14959
14959
|
return;
|
|
14960
14960
|
case "group":
|
|
14961
|
-
|
|
14961
|
+
h += y.value, L = !0;
|
|
14962
14962
|
return;
|
|
14963
14963
|
case "decimal":
|
|
14964
|
-
|
|
14964
|
+
m += y.value, L = !0, B = !0;
|
|
14965
14965
|
return;
|
|
14966
14966
|
case "integer":
|
|
14967
|
-
|
|
14967
|
+
h += y.value, L = !0;
|
|
14968
14968
|
return;
|
|
14969
14969
|
case "fraction":
|
|
14970
|
-
|
|
14970
|
+
m += y.value, L = !0, B = !0;
|
|
14971
14971
|
return;
|
|
14972
14972
|
case "minusSign":
|
|
14973
14973
|
s = "-";
|
|
@@ -14979,10 +14979,10 @@ const d8 = ({ number: e, browserSafeLocale: M, currency: b, stripZeros: z, isSma
|
|
|
14979
14979
|
const g = !Number.isInteger(r) && B;
|
|
14980
14980
|
return {
|
|
14981
14981
|
sign: s,
|
|
14982
|
-
symbol:
|
|
14982
|
+
symbol: W,
|
|
14983
14983
|
symbolPosition: w,
|
|
14984
|
-
integer:
|
|
14985
|
-
fraction:
|
|
14984
|
+
integer: h,
|
|
14985
|
+
fraction: m,
|
|
14986
14986
|
hasNonZeroFraction: g
|
|
14987
14987
|
};
|
|
14988
14988
|
}, ir = ({ browserSafeLocale: e, decimals: M = 0, forceLatin: b = !0, numberFormatOptions: z = {} }) => {
|
|
@@ -15493,8 +15493,8 @@ u0.lex = function(e, M) {
|
|
|
15493
15493
|
throw new u0.Exception("Unexpected Space");
|
|
15494
15494
|
continue;
|
|
15495
15495
|
}
|
|
15496
|
-
var d = A.token, s = A.type,
|
|
15497
|
-
for (
|
|
15496
|
+
var d = A.token, s = A.type, W = A.value, w = A.precedence, L = A.show, B = b[b.length - 1], h;
|
|
15497
|
+
for (h = z.length; h-- && z[h] === 0; )
|
|
15498
15498
|
if ([0, 2, 3, 4, 5, 9, 11, 12, 13].indexOf(s) !== -1) {
|
|
15499
15499
|
if (p[s] !== !0)
|
|
15500
15500
|
throw new u0.Exception(d + " is not allowed after " + o);
|
|
@@ -15502,8 +15502,8 @@ u0.lex = function(e, M) {
|
|
|
15502
15502
|
}
|
|
15503
15503
|
if (p[s] !== !0)
|
|
15504
15504
|
throw new u0.Exception(d + " is not allowed after " + o);
|
|
15505
|
-
if (n[s] === !0 && (s = 2,
|
|
15506
|
-
value:
|
|
15505
|
+
if (n[s] === !0 && (s = 2, W = u0.math.mul, L = "×", w = 3, a = a - 1), i = {
|
|
15506
|
+
value: W,
|
|
15507
15507
|
type: s,
|
|
15508
15508
|
pre: w,
|
|
15509
15509
|
show: L,
|
|
@@ -15511,7 +15511,7 @@ u0.lex = function(e, M) {
|
|
|
15511
15511
|
}, s === 0)
|
|
15512
15512
|
p = C1, n = L1, c1(z, 2), b.push(i), r[a + 1].type !== 4 && (b.push(Pe), z.push(2));
|
|
15513
15513
|
else if (s === 1)
|
|
15514
|
-
B.type === 1 ? (B.value +=
|
|
15514
|
+
B.type === 1 ? (B.value += W, c1(z, 1)) : b.push(i), p = Y2, n = y8;
|
|
15515
15515
|
else if (s === 2)
|
|
15516
15516
|
p = C1, n = L1, c1(z, 2), b.push(i);
|
|
15517
15517
|
else if (s === 3)
|
|
@@ -15529,11 +15529,11 @@ u0.lex = function(e, M) {
|
|
|
15529
15529
|
value: 0,
|
|
15530
15530
|
type: 1,
|
|
15531
15531
|
pre: 0
|
|
15532
|
-
}, b.push(B)), p = B8, c1(z, 1), n = L1, B.value +=
|
|
15532
|
+
}, b.push(B)), p = B8, c1(z, 1), n = L1, B.value += W, B.hasDec = !0;
|
|
15533
15533
|
} else s === 7 && (p = Y2, n = De, c1(z, 1), b.push(i));
|
|
15534
|
-
s === 8 ? (p = C1, n = L1, c1(z, A.numberOfArguments + 2), b.push(i), r[a + 1].type !== 4 && (b.push(Pe), z.push(A.numberOfArguments + 2))) : s === 9 ? (B.type === 9 ? B.value === u0.math.add ? (B.value =
|
|
15534
|
+
s === 8 ? (p = C1, n = L1, c1(z, A.numberOfArguments + 2), b.push(i), r[a + 1].type !== 4 && (b.push(Pe), z.push(A.numberOfArguments + 2))) : s === 9 ? (B.type === 9 ? B.value === u0.math.add ? (B.value = W, B.show = L, c1(z, 1)) : B.value === u0.math.sub && L === "-" && (B.value = u0.math.add, B.show = "+", c1(z, 1)) : B.type !== 5 && B.type !== 7 && B.type !== 1 && B.type !== 3 && B.type !== 13 ? d === "-" && (p = C1, n = L1, c1(z, 2).push(2), b.push(k8), b.push(Pe)) : (b.push(i), c1(z, 2)), p = C1, n = L1) : s === 10 ? (p = C1, n = L1, c1(z, 2), b.push(i)) : s === 11 ? (p = C1, n = L1, b.push(i)) : s === 12 ? (p = C1, n = L1, c1(z, 6), b.push(i), r[a + 1].type !== 4 && (b.push(Pe), z.push(6))) : s === 13 && (p = Y2, n = De, b.push(i)), c1(z, -1), o = d;
|
|
15535
15535
|
}
|
|
15536
|
-
for (
|
|
15536
|
+
for (h = z.length; h--; )
|
|
15537
15537
|
b.push(BM);
|
|
15538
15538
|
if (p[5] !== !0)
|
|
15539
15539
|
throw new u0.Exception("complete the expression");
|
|
@@ -15878,7 +15878,7 @@ function Sc(e) {
|
|
|
15878
15878
|
);
|
|
15879
15879
|
}
|
|
15880
15880
|
function zt(e) {
|
|
15881
|
-
var M = e.verticalAnchor, b = M === void 0 ? "end" : M, z = e.scaleToFit, t = z === void 0 ? !1 : z, p = e.angle, c = e.width, n = e.lineHeight, o = n === void 0 ? "1em" : n, a = e.capHeight, i = a === void 0 ? "0.71em" : a, r = e.children, A = e.style, d = o7(e, c7), s = d.x,
|
|
15881
|
+
var M = e.verticalAnchor, b = M === void 0 ? "end" : M, z = e.scaleToFit, t = z === void 0 ? !1 : z, p = e.angle, c = e.width, n = e.lineHeight, o = n === void 0 ? "1em" : n, a = e.capHeight, i = a === void 0 ? "0.71em" : a, r = e.children, A = e.style, d = o7(e, c7), s = d.x, W = s === void 0 ? 0 : s, w = d.y, L = w === void 0 ? 0 : w, B = !Sc(W) || !Sc(L), h = m0(function() {
|
|
15882
15882
|
var C = r == null ? [] : r.toString().split(/(?:(?!\u00A0+)\s+)/);
|
|
15883
15883
|
return {
|
|
15884
15884
|
wordsWithWidth: C.map(function(T) {
|
|
@@ -15889,8 +15889,8 @@ function zt(e) {
|
|
|
15889
15889
|
}),
|
|
15890
15890
|
spaceWidth: bt(" ", A) || 0
|
|
15891
15891
|
};
|
|
15892
|
-
}, [r, A]),
|
|
15893
|
-
return B ? [] : c || t ?
|
|
15892
|
+
}, [r, A]), m = h.wordsWithWidth, g = h.spaceWidth, y = m0(function() {
|
|
15893
|
+
return B ? [] : c || t ? m.reduce(function(C, T) {
|
|
15894
15894
|
var j = T.word, V = T.wordWidth, $ = C[C.length - 1];
|
|
15895
15895
|
if ($ && (c == null || t || ($.width || 0) + V + g < c))
|
|
15896
15896
|
$.words.push(j), $.width = $.width || 0, $.width += V + g;
|
|
@@ -15905,19 +15905,19 @@ function zt(e) {
|
|
|
15905
15905
|
}, []) : [{
|
|
15906
15906
|
words: r == null ? [] : r.toString().split(/(?:(?!\u00A0+)\s+)/)
|
|
15907
15907
|
}];
|
|
15908
|
-
}, [B, c, t, r,
|
|
15908
|
+
}, [B, c, t, r, m, g]), x = m0(function() {
|
|
15909
15909
|
var C = B ? "" : Wz(b === "start" ? "calc(" + i + ")" : b === "middle" ? "calc(" + (y.length - 1) / 2 + " * -" + o + " + (" + i + " / 2))" : "calc(" + (y.length - 1) + " * -" + o + ")");
|
|
15910
15910
|
return C;
|
|
15911
15911
|
}, [B, b, i, y.length, o]), I = m0(function() {
|
|
15912
15912
|
var C = [];
|
|
15913
15913
|
if (B)
|
|
15914
15914
|
return "";
|
|
15915
|
-
if (mz(
|
|
15916
|
-
var T = y[0].width || 1, j = t === "shrink-only" ? Math.min(c / T, 1) : c / T, V = j, $ =
|
|
15915
|
+
if (mz(W) && mz(L) && mz(c) && t && y.length > 0) {
|
|
15916
|
+
var T = y[0].width || 1, j = t === "shrink-only" ? Math.min(c / T, 1) : c / T, V = j, $ = W - j * W, k = L - V * L;
|
|
15917
15917
|
C.push("matrix(" + j + ", 0, 0, " + V + ", " + $ + ", " + k + ")");
|
|
15918
15918
|
}
|
|
15919
|
-
return p && C.push("rotate(" + p + ", " +
|
|
15920
|
-
}, [B,
|
|
15919
|
+
return p && C.push("rotate(" + p + ", " + W + ", " + L + ")"), C.length > 0 ? C.join(" ") : "";
|
|
15920
|
+
}, [B, W, L, c, t, y, p]);
|
|
15921
15921
|
return {
|
|
15922
15922
|
wordsByLines: y,
|
|
15923
15923
|
startDy: x,
|
|
@@ -15950,7 +15950,7 @@ function Dc(e) {
|
|
|
15950
15950
|
e.verticalAnchor, e.angle;
|
|
15951
15951
|
var a = e.lineHeight, i = a === void 0 ? "1em" : a;
|
|
15952
15952
|
e.scaleToFit, e.capHeight, e.width;
|
|
15953
|
-
var r = a7(e, n7), A = r.x, d = A === void 0 ? 0 : A, s = r.fontSize,
|
|
15953
|
+
var r = a7(e, n7), A = r.x, d = A === void 0 ? 0 : A, s = r.fontSize, W = zt(e), w = W.wordsByLines, L = W.startDy, B = W.transform;
|
|
15954
15954
|
return /* @__PURE__ */ Q.createElement("svg", {
|
|
15955
15955
|
ref: n,
|
|
15956
15956
|
x: b,
|
|
@@ -15962,12 +15962,12 @@ function Dc(e) {
|
|
|
15962
15962
|
transform: B
|
|
15963
15963
|
}, r, {
|
|
15964
15964
|
textAnchor: c
|
|
15965
|
-
}), w.map(function(
|
|
15965
|
+
}), w.map(function(h, m) {
|
|
15966
15966
|
return /* @__PURE__ */ Q.createElement("tspan", {
|
|
15967
|
-
key:
|
|
15967
|
+
key: m,
|
|
15968
15968
|
x: d,
|
|
15969
|
-
dy:
|
|
15970
|
-
},
|
|
15969
|
+
dy: m === 0 ? L : i
|
|
15970
|
+
}, h.words.join(" "));
|
|
15971
15971
|
})) : null);
|
|
15972
15972
|
}
|
|
15973
15973
|
var O7 = function(M) {
|
|
@@ -16082,7 +16082,7 @@ function pt({ debounce: e, scroll: M, polyfill: b, offsetSize: z } = { debounce:
|
|
|
16082
16082
|
const [r, A, d] = m0(() => {
|
|
16083
16083
|
const L = () => {
|
|
16084
16084
|
if (!n.current.element) return;
|
|
16085
|
-
const { left: B, top:
|
|
16085
|
+
const { left: B, top: h, width: m, height: g, bottom: y, right: x, x: I, y: C } = n.current.element.getBoundingClientRect(), T = { left: B, top: h, width: m, height: g, bottom: y, right: x, x: I, y: C };
|
|
16086
16086
|
n.current.element instanceof HTMLElement && z && (T.height = n.current.element.offsetHeight, T.width = n.current.element.offsetWidth), Object.freeze(T), i.current && !B7(n.current.lastBounds, T) && c(n.current.lastBounds = T);
|
|
16087
16087
|
};
|
|
16088
16088
|
return [L, a ? Ic(L, a) : L, o ? Ic(L, o) : L];
|
|
@@ -16090,16 +16090,16 @@ function pt({ debounce: e, scroll: M, polyfill: b, offsetSize: z } = { debounce:
|
|
|
16090
16090
|
function s() {
|
|
16091
16091
|
n.current.scrollContainers && (n.current.scrollContainers.forEach((L) => L.removeEventListener("scroll", d, !0)), n.current.scrollContainers = null), n.current.resizeObserver && (n.current.resizeObserver.disconnect(), n.current.resizeObserver = null), n.current.orientationHandler && ("orientation" in screen && "removeEventListener" in screen.orientation ? screen.orientation.removeEventListener("change", n.current.orientationHandler) : "onorientationchange" in window && window.removeEventListener("orientationchange", n.current.orientationHandler));
|
|
16092
16092
|
}
|
|
16093
|
-
function
|
|
16093
|
+
function W() {
|
|
16094
16094
|
n.current.element && (n.current.resizeObserver = new t(d), n.current.resizeObserver.observe(n.current.element), M && n.current.scrollContainers && n.current.scrollContainers.forEach((L) => L.addEventListener("scroll", d, { capture: !0, passive: !0 })), n.current.orientationHandler = () => {
|
|
16095
16095
|
d();
|
|
16096
16096
|
}, "orientation" in screen && "addEventListener" in screen.orientation ? screen.orientation.addEventListener("change", n.current.orientationHandler) : "onorientationchange" in window && window.addEventListener("orientationchange", n.current.orientationHandler));
|
|
16097
16097
|
}
|
|
16098
16098
|
const w = (L) => {
|
|
16099
|
-
!L || L === n.current.element || (s(), n.current.element = L, n.current.scrollContainers = Lr(L),
|
|
16099
|
+
!L || L === n.current.element || (s(), n.current.element = L, n.current.scrollContainers = Lr(L), W());
|
|
16100
16100
|
};
|
|
16101
16101
|
return w7(d, !!M), N7(A), d0(() => {
|
|
16102
|
-
s(),
|
|
16102
|
+
s(), W();
|
|
16103
16103
|
}, [M, d, A]), d0(() => s, []), [w, p, r];
|
|
16104
16104
|
}
|
|
16105
16105
|
function N7(e) {
|
|
@@ -16315,8 +16315,8 @@ function lp() {
|
|
|
16315
16315
|
var e = sp().unknown(void 0), M = e.domain, b = e.range, z = 0, t = 1, p, c, n = !1, o = 0, a = 0, i = 0.5;
|
|
16316
16316
|
delete e.unknown;
|
|
16317
16317
|
function r() {
|
|
16318
|
-
var A = M().length, d = t < z, s = d ? t : z,
|
|
16319
|
-
p = (
|
|
16318
|
+
var A = M().length, d = t < z, s = d ? t : z, W = d ? z : t;
|
|
16319
|
+
p = (W - s) / Math.max(1, A - o + a * 2), n && (p = Math.floor(p)), s += (W - s - p * (A - o)) * i, c = p * (1 - o), n && (s = Math.round(s), c = Math.round(c));
|
|
16320
16320
|
var w = D7(A).map(function(L) {
|
|
16321
16321
|
return s + p * L;
|
|
16322
16322
|
});
|
|
@@ -17076,10 +17076,10 @@ function wR(e) {
|
|
|
17076
17076
|
var M = e.grouping === void 0 || e.thousands === void 0 ? po : gR(co.call(e.grouping, Number), e.thousands + ""), b = e.currency === void 0 ? "" : e.currency[0] + "", z = e.currency === void 0 ? "" : e.currency[1] + "", t = e.decimal === void 0 ? "." : e.decimal + "", p = e.numerals === void 0 ? po : RR(co.call(e.numerals, String)), c = e.percent === void 0 ? "%" : e.percent + "", n = e.minus === void 0 ? "−" : e.minus + "", o = e.nan === void 0 ? "NaN" : e.nan + "";
|
|
17077
17077
|
function a(r) {
|
|
17078
17078
|
r = oM(r);
|
|
17079
|
-
var A = r.fill, d = r.align, s = r.sign,
|
|
17080
|
-
g === "n" ? (B = !0, g = "g") : to[g] || (
|
|
17081
|
-
var y =
|
|
17082
|
-
|
|
17079
|
+
var A = r.fill, d = r.align, s = r.sign, W = r.symbol, w = r.zero, L = r.width, B = r.comma, h = r.precision, m = r.trim, g = r.type;
|
|
17080
|
+
g === "n" ? (B = !0, g = "g") : to[g] || (h === void 0 && (h = 12), m = !0, g = "g"), (w || A === "0" && d === "=") && (w = !0, A = "0", d = "=");
|
|
17081
|
+
var y = W === "$" ? b : W === "#" && /[boxX]/.test(g) ? "0" + g.toLowerCase() : "", x = W === "$" ? z : /[%p]/.test(g) ? c : "", I = to[g], C = /[defgprs%]/.test(g);
|
|
17082
|
+
h = h === void 0 ? 6 : /[gprs]/.test(g) ? Math.max(1, Math.min(21, h)) : Math.max(0, Math.min(20, h));
|
|
17083
17083
|
function T(j) {
|
|
17084
17084
|
var V = y, $ = x, k, _, P;
|
|
17085
17085
|
if (g === "c")
|
|
@@ -17087,7 +17087,7 @@ function wR(e) {
|
|
|
17087
17087
|
else {
|
|
17088
17088
|
j = +j;
|
|
17089
17089
|
var J = j < 0 || 1 / j < 0;
|
|
17090
|
-
if (j = isNaN(j) ? o : I(Math.abs(j),
|
|
17090
|
+
if (j = isNaN(j) ? o : I(Math.abs(j), h), m && (j = vR(j)), J && +j == 0 && s !== "+" && (J = !1), V = (J ? s === "(" ? s : n : s === "-" || s === "(" ? "" : s) + V, $ = (g === "s" ? oo[8 + $r / 3] : "") + $ + (J && s === "(" ? ")" : ""), C) {
|
|
17091
17091
|
for (k = -1, _ = j.length; ++k < _; )
|
|
17092
17092
|
if (P = j.charCodeAt(k), 48 > P || P > 57) {
|
|
17093
17093
|
$ = (P === 46 ? t + j.slice(k + 1) : j.slice(k)) + $, j = j.slice(0, k);
|
|
@@ -17118,9 +17118,9 @@ function wR(e) {
|
|
|
17118
17118
|
}, T;
|
|
17119
17119
|
}
|
|
17120
17120
|
function i(r, A) {
|
|
17121
|
-
var d = a((r = oM(r), r.type = "f", r)), s = Math.max(-8, Math.min(8, Math.floor(Oe(A) / 3))) * 3,
|
|
17121
|
+
var d = a((r = oM(r), r.type = "f", r)), s = Math.max(-8, Math.min(8, Math.floor(Oe(A) / 3))) * 3, W = Math.pow(10, -s), w = oo[8 + s / 3];
|
|
17122
17122
|
return function(L) {
|
|
17123
|
-
return d(
|
|
17123
|
+
return d(W * L) + w;
|
|
17124
17124
|
};
|
|
17125
17125
|
}
|
|
17126
17126
|
return {
|
|
@@ -17244,22 +17244,22 @@ function DR(e) {
|
|
|
17244
17244
|
let a = o[0], i = o[o.length - 1];
|
|
17245
17245
|
const r = i < a;
|
|
17246
17246
|
r && ([a, i] = [i, a]);
|
|
17247
|
-
let A = t(a), d = t(i), s,
|
|
17247
|
+
let A = t(a), d = t(i), s, W;
|
|
17248
17248
|
const w = n == null ? 10 : +n;
|
|
17249
17249
|
let L = [];
|
|
17250
17250
|
if (!(z % 1) && d - A < w) {
|
|
17251
17251
|
if (A = Math.floor(A), d = Math.ceil(d), a > 0) {
|
|
17252
17252
|
for (; A <= d; ++A)
|
|
17253
17253
|
for (s = 1; s < z; ++s)
|
|
17254
|
-
if (
|
|
17255
|
-
if (
|
|
17256
|
-
L.push(
|
|
17254
|
+
if (W = A < 0 ? s / p(-A) : s * p(A), !(W < a)) {
|
|
17255
|
+
if (W > i) break;
|
|
17256
|
+
L.push(W);
|
|
17257
17257
|
}
|
|
17258
17258
|
} else for (; A <= d; ++A)
|
|
17259
17259
|
for (s = z - 1; s >= 1; --s)
|
|
17260
|
-
if (
|
|
17261
|
-
if (
|
|
17262
|
-
L.push(
|
|
17260
|
+
if (W = A > 0 ? s / p(-A) : s * p(A), !(W < a)) {
|
|
17261
|
+
if (W > i) break;
|
|
17262
|
+
L.push(W);
|
|
17263
17263
|
}
|
|
17264
17264
|
L.length * 2 < w && (L = at(a, i, w));
|
|
17265
17265
|
} else
|
|
@@ -17588,8 +17588,8 @@ function zO(e, M, b, z, t, p) {
|
|
|
17588
17588
|
const A = Math.abs(i - a) / r, d = Ap(([, , w]) => w).right(c, A);
|
|
17589
17589
|
if (d === c.length) return e.every(rt(a / Tz, i / Tz, r));
|
|
17590
17590
|
if (d === 0) return tb.every(Math.max(rt(a, i, r), 1));
|
|
17591
|
-
const [s,
|
|
17592
|
-
return s.every(
|
|
17591
|
+
const [s, W] = c[A / c[d - 1][2] < c[d][2] / A ? d - 1 : d];
|
|
17592
|
+
return s.every(W);
|
|
17593
17593
|
}
|
|
17594
17594
|
return [n, o];
|
|
17595
17595
|
}
|
|
@@ -17612,7 +17612,7 @@ function Ie(e, M, b) {
|
|
|
17612
17612
|
return { y: e, m: M, d: b, H: 0, M: 0, S: 0, L: 0 };
|
|
17613
17613
|
}
|
|
17614
17614
|
function zL(e) {
|
|
17615
|
-
var M = e.dateTime, b = e.date, z = e.time, t = e.periods, p = e.days, c = e.shortDays, n = e.months, o = e.shortMonths, a = He(t), i = Fe(t), r = He(p), A = Fe(p), d = He(c), s = Fe(c),
|
|
17615
|
+
var M = e.dateTime, b = e.date, z = e.time, t = e.periods, p = e.days, c = e.shortDays, n = e.months, o = e.shortMonths, a = He(t), i = Fe(t), r = He(p), A = Fe(p), d = He(c), s = Fe(c), W = He(n), w = Fe(n), L = He(o), B = Fe(o), h = {
|
|
17616
17616
|
a: J,
|
|
17617
17617
|
A: q,
|
|
17618
17618
|
b: b0,
|
|
@@ -17645,7 +17645,7 @@ function zL(e) {
|
|
|
17645
17645
|
Y: _L,
|
|
17646
17646
|
Z: DL,
|
|
17647
17647
|
"%": go
|
|
17648
|
-
},
|
|
17648
|
+
}, m = {
|
|
17649
17649
|
a: a0,
|
|
17650
17650
|
A: f,
|
|
17651
17651
|
b: e0,
|
|
@@ -17712,7 +17712,7 @@ function zL(e) {
|
|
|
17712
17712
|
Z: iL,
|
|
17713
17713
|
"%": WL
|
|
17714
17714
|
};
|
|
17715
|
-
|
|
17715
|
+
h.x = y(b, h), h.X = y(z, h), h.c = y(M, h), m.x = y(b, m), m.X = y(z, m), m.c = y(M, m);
|
|
17716
17716
|
function y(l, K) {
|
|
17717
17717
|
return function(U) {
|
|
17718
17718
|
var X = [], v = -1, E = 0, S = l.length, H, D, F;
|
|
@@ -17761,7 +17761,7 @@ function zL(e) {
|
|
|
17761
17761
|
return X ? (l.m = B.get(X[0].toLowerCase()), U + X[0].length) : -1;
|
|
17762
17762
|
}
|
|
17763
17763
|
function $(l, K, U) {
|
|
17764
|
-
var X =
|
|
17764
|
+
var X = W.exec(K.slice(U));
|
|
17765
17765
|
return X ? (l.m = w.get(X[0].toLowerCase()), U + X[0].length) : -1;
|
|
17766
17766
|
}
|
|
17767
17767
|
function k(l, K, U) {
|
|
@@ -17811,7 +17811,7 @@ function zL(e) {
|
|
|
17811
17811
|
}
|
|
17812
17812
|
return {
|
|
17813
17813
|
format: function(l) {
|
|
17814
|
-
var K = y(l += "",
|
|
17814
|
+
var K = y(l += "", h);
|
|
17815
17815
|
return K.toString = function() {
|
|
17816
17816
|
return l;
|
|
17817
17817
|
}, K;
|
|
@@ -17823,7 +17823,7 @@ function zL(e) {
|
|
|
17823
17823
|
}, K;
|
|
17824
17824
|
},
|
|
17825
17825
|
utcFormat: function(l) {
|
|
17826
|
-
var K = y(l += "",
|
|
17826
|
+
var K = y(l += "", m);
|
|
17827
17827
|
return K.toString = function() {
|
|
17828
17828
|
return l;
|
|
17829
17829
|
}, K;
|
|
@@ -18087,9 +18087,9 @@ function pv(e) {
|
|
|
18087
18087
|
return e instanceof Date ? +e : +/* @__PURE__ */ new Date(+e);
|
|
18088
18088
|
}
|
|
18089
18089
|
function Lp(e, M, b, z, t, p, c, n, o, a) {
|
|
18090
|
-
var i = Ur(), r = i.invert, A = i.domain, d = a(".%L"), s = a(":%S"),
|
|
18090
|
+
var i = Ur(), r = i.invert, A = i.domain, d = a(".%L"), s = a(":%S"), W = a("%I:%M"), w = a("%I %p"), L = a("%a %d"), B = a("%b %d"), h = a("%B"), m = a("%Y");
|
|
18091
18091
|
function g(y) {
|
|
18092
|
-
return (o(y) < y ? d : n(y) < y ? s : c(y) < y ?
|
|
18092
|
+
return (o(y) < y ? d : n(y) < y ? s : c(y) < y ? W : p(y) < y ? w : z(y) < y ? t(y) < y ? L : B : b(y) < y ? h : m)(y);
|
|
18093
18093
|
}
|
|
18094
18094
|
return i.invert = function(y) {
|
|
18095
18095
|
return new Date(r(y));
|
|
@@ -18483,13 +18483,13 @@ var p9 = (e) => {
|
|
|
18483
18483
|
const y = Math.min(...z.filter((C) => C > xz)), x = Math.max(...z.filter((C) => C < xz)) + e2, I = x - y;
|
|
18484
18484
|
I < B && (n = y, o = x, B = I);
|
|
18485
18485
|
}
|
|
18486
|
-
const
|
|
18486
|
+
const h = Math.max(
|
|
18487
18487
|
B * i9,
|
|
18488
18488
|
O9
|
|
18489
18489
|
);
|
|
18490
|
-
d = (n + o) / 2 -
|
|
18490
|
+
d = (n + o) / 2 - h / 2 + d / e2 * h, d = (d % e2 + e2) % e2;
|
|
18491
18491
|
}
|
|
18492
|
-
const s = To + (e + A) % Xo * ko,
|
|
18492
|
+
const s = To + (e + A) % Xo * ko, W = xo + (e + A) % Co * Eo, w = [d, s, W];
|
|
18493
18493
|
let L = !0;
|
|
18494
18494
|
for (const B of t)
|
|
18495
18495
|
if (o9(w, B) < n9) {
|
|
@@ -18497,7 +18497,7 @@ var p9 = (e) => {
|
|
|
18497
18497
|
break;
|
|
18498
18498
|
}
|
|
18499
18499
|
if (L)
|
|
18500
|
-
return `hsl(${Math.round(d)}, ${s}%, ${
|
|
18500
|
+
return `hsl(${Math.round(d)}, ${s}%, ${W}%)`;
|
|
18501
18501
|
}
|
|
18502
18502
|
const a = (e - b.length) * Bo * e2 % e2, i = To + e % Xo * ko, r = xo + e % Co * Eo;
|
|
18503
18503
|
return `hsl(${Math.round(a)}, ${i}%, ${r}%)`;
|
|
@@ -18565,18 +18565,18 @@ var p9 = (e) => {
|
|
|
18565
18565
|
}
|
|
18566
18566
|
}, me = rb(null), vp = ({ children: e, theme: M }) => {
|
|
18567
18567
|
const [b, z] = h0(() => /* @__PURE__ */ new Map()), t = m0(() => M ? t9(ob, M) : ob, [M]), p = m0(() => {
|
|
18568
|
-
const { colors: s } = t,
|
|
18568
|
+
const { colors: s } = t, W = [], w = [];
|
|
18569
18569
|
let L = 360, B = 0;
|
|
18570
18570
|
if (Array.isArray(s)) {
|
|
18571
|
-
for (const
|
|
18572
|
-
if (
|
|
18573
|
-
const
|
|
18574
|
-
|
|
18571
|
+
for (const h of s)
|
|
18572
|
+
if (h && typeof h == "string" && h.startsWith("#")) {
|
|
18573
|
+
const m = c9(h);
|
|
18574
|
+
W.push(m[0]), w.push(m), L = Math.min(L, m[0]), B = Math.max(B, m[0]);
|
|
18575
18575
|
}
|
|
18576
18576
|
}
|
|
18577
18577
|
return {
|
|
18578
18578
|
colors: s || [],
|
|
18579
|
-
hues:
|
|
18579
|
+
hues: W,
|
|
18580
18580
|
existingHslColors: w,
|
|
18581
18581
|
minHue: L,
|
|
18582
18582
|
maxHue: B
|
|
@@ -18587,11 +18587,11 @@ var p9 = (e) => {
|
|
|
18587
18587
|
d0(() => {
|
|
18588
18588
|
n(/* @__PURE__ */ new Map());
|
|
18589
18589
|
}, [t.colors]);
|
|
18590
|
-
const o = t0((s,
|
|
18591
|
-
z((w) => new Map(w).set(s,
|
|
18590
|
+
const o = t0((s, W) => {
|
|
18591
|
+
z((w) => new Map(w).set(s, W));
|
|
18592
18592
|
}, []), a = t0((s) => {
|
|
18593
|
-
z((
|
|
18594
|
-
const w = new Map(
|
|
18593
|
+
z((W) => {
|
|
18594
|
+
const w = new Map(W);
|
|
18595
18595
|
return w.delete(s), w;
|
|
18596
18596
|
});
|
|
18597
18597
|
}, []), i = t0(
|
|
@@ -18600,7 +18600,7 @@ var p9 = (e) => {
|
|
|
18600
18600
|
), r = t0(
|
|
18601
18601
|
({
|
|
18602
18602
|
group: s,
|
|
18603
|
-
index:
|
|
18603
|
+
index: W,
|
|
18604
18604
|
overrideColor: w
|
|
18605
18605
|
}) => {
|
|
18606
18606
|
if (w)
|
|
@@ -18609,25 +18609,25 @@ var p9 = (e) => {
|
|
|
18609
18609
|
const L = c.get(s);
|
|
18610
18610
|
if (L)
|
|
18611
18611
|
return L;
|
|
18612
|
-
const B = c.size,
|
|
18613
|
-
return c.set(s,
|
|
18612
|
+
const B = c.size, h = p.colors.length > 0 ? _o(B, p) : "#000000";
|
|
18613
|
+
return c.set(s, h), h;
|
|
18614
18614
|
}
|
|
18615
|
-
return p.colors.length > 0 ? _o(
|
|
18615
|
+
return p.colors.length > 0 ? _o(W, p) : "#000000";
|
|
18616
18616
|
},
|
|
18617
18617
|
[p, c]
|
|
18618
18618
|
), A = t0(
|
|
18619
|
-
({ data: s, index:
|
|
18620
|
-
var
|
|
18621
|
-
const B = s && typeof s == "object" && "data" in s && "options" in s,
|
|
18619
|
+
({ data: s, index: W, overrideColor: w, legendShape: L }) => {
|
|
18620
|
+
var m, g;
|
|
18621
|
+
const B = s && typeof s == "object" && "data" in s && "options" in s, h = s && typeof s == "object" && "percentage" in s;
|
|
18622
18622
|
return {
|
|
18623
18623
|
color: r({
|
|
18624
18624
|
group: s == null ? void 0 : s.group,
|
|
18625
|
-
index:
|
|
18626
|
-
overrideColor: w || B && ((
|
|
18625
|
+
index: W,
|
|
18626
|
+
overrideColor: w || B && ((m = s == null ? void 0 : s.options) == null ? void 0 : m.stroke) || h && (s == null ? void 0 : s.color)
|
|
18627
18627
|
}),
|
|
18628
|
-
lineStyles: B ? iO(s,
|
|
18629
|
-
glyph: (g = t.glyphs) == null ? void 0 : g[
|
|
18630
|
-
shapeStyles: B ? z9(s,
|
|
18628
|
+
lineStyles: B ? iO(s, W, t) : {},
|
|
18629
|
+
glyph: (g = t.glyphs) == null ? void 0 : g[W],
|
|
18630
|
+
shapeStyles: B ? z9(s, W, t, L) : {}
|
|
18631
18631
|
};
|
|
18632
18632
|
},
|
|
18633
18633
|
[t, r]
|
|
@@ -18698,10 +18698,10 @@ var p9 = (e) => {
|
|
|
18698
18698
|
return Qv(a, (r = (i = M.axis) == null ? void 0 : i.y) == null ? void 0 : r.numTicks);
|
|
18699
18699
|
}, [M, b, e, t]);
|
|
18700
18700
|
return m0(() => {
|
|
18701
|
-
var A, d, s,
|
|
18701
|
+
var A, d, s, W, w, L;
|
|
18702
18702
|
const c = { top: 10, right: 20, bottom: 20, left: 20 }, n = 40, o = (d = (A = M.axis) == null ? void 0 : A.y) == null ? void 0 : d.orientation, a = o === "right" ? z.axisStyles.y.right : z.axisStyles.y.left, r = (b9(
|
|
18703
18703
|
p,
|
|
18704
|
-
(
|
|
18704
|
+
(W = (s = M.axis) == null ? void 0 : s.y) == null ? void 0 : W.tickFormat,
|
|
18705
18705
|
a.axisLabel
|
|
18706
18706
|
) ?? n) + ((a == null ? void 0 : a.tickLength) ?? 0);
|
|
18707
18707
|
return o === "right" ? c.right = r : c.left = r, ((L = (w = M.axis) == null ? void 0 : w.x) == null ? void 0 : L.orientation) === "top" && (c.top = 20, c.bottom = 10), c;
|
|
@@ -19061,7 +19061,7 @@ var v9 = {
|
|
|
19061
19061
|
display: "flex"
|
|
19062
19062
|
};
|
|
19063
19063
|
function gO(e) {
|
|
19064
|
-
var M = e.className, b = e.style, z = b === void 0 ? v9 : b, t = e.scale, p = e.shape, c = e.domain, n = e.fill, o = n === void 0 ? So : n, a = e.size, i = a === void 0 ? So : a, r = e.labelFormat, A = r === void 0 ? mO : r, d = e.labelTransform, s = d === void 0 ? g9 : d,
|
|
19064
|
+
var M = e.className, b = e.style, z = b === void 0 ? v9 : b, t = e.scale, p = e.shape, c = e.domain, n = e.fill, o = n === void 0 ? So : n, a = e.size, i = a === void 0 ? So : a, r = e.labelFormat, A = r === void 0 ? mO : r, d = e.labelTransform, s = d === void 0 ? g9 : d, W = e.shapeWidth, w = W === void 0 ? 15 : W, L = e.shapeHeight, B = L === void 0 ? 15 : L, h = e.shapeMargin, m = h === void 0 ? "2px 4px 2px 0" : h, g = e.shapeStyle, y = e.labelAlign, x = y === void 0 ? "left" : y, I = e.labelFlex, C = I === void 0 ? "1" : I, T = e.labelMargin, j = T === void 0 ? "0 4px" : T, V = e.itemMargin, $ = V === void 0 ? "0" : V, k = e.direction, _ = k === void 0 ? "column" : k, P = e.itemDirection, J = P === void 0 ? "row" : P, q = e.legendLabelProps, b0 = e.children, O = L9(e, R9), u = c || ("domain" in t ? t.domain() : []), z0 = s({
|
|
19065
19065
|
scale: t,
|
|
19066
19066
|
labelFormat: A
|
|
19067
19067
|
}), a0 = u.map(z0);
|
|
@@ -19079,7 +19079,7 @@ function gO(e) {
|
|
|
19079
19079
|
shape: p,
|
|
19080
19080
|
height: B,
|
|
19081
19081
|
width: w,
|
|
19082
|
-
margin:
|
|
19082
|
+
margin: m,
|
|
19083
19083
|
item: u[e0],
|
|
19084
19084
|
itemIndex: e0,
|
|
19085
19085
|
label: f,
|
|
@@ -19192,13 +19192,13 @@ var z2 = {
|
|
|
19192
19192
|
shapeWidth: A = 16,
|
|
19193
19193
|
shapeHeight: d = 16,
|
|
19194
19194
|
shapeMargin: s = "2px 4px 2px 0",
|
|
19195
|
-
labelAlign:
|
|
19195
|
+
labelAlign: W = "left",
|
|
19196
19196
|
labelFlex: w = "0 0 auto",
|
|
19197
19197
|
// Use natural width instead of expanding to fill space
|
|
19198
19198
|
labelMargin: L = "0 4px",
|
|
19199
19199
|
itemMargin: B = "0",
|
|
19200
|
-
itemDirection:
|
|
19201
|
-
legendLabelProps:
|
|
19200
|
+
itemDirection: h = "row",
|
|
19201
|
+
legendLabelProps: m,
|
|
19202
19202
|
legendItemClassName: g,
|
|
19203
19203
|
render: y,
|
|
19204
19204
|
...x
|
|
@@ -19248,7 +19248,7 @@ var z2 = {
|
|
|
19248
19248
|
),
|
|
19249
19249
|
"data-testid": "legend-item",
|
|
19250
19250
|
margin: B,
|
|
19251
|
-
flexDirection: b === "vertical" && t === "end" ? "row-reverse" :
|
|
19251
|
+
flexDirection: b === "vertical" && t === "end" ? "row-reverse" : h,
|
|
19252
19252
|
...x,
|
|
19253
19253
|
children: [
|
|
19254
19254
|
(P = e[_]) != null && P.renderGlyph ? /* @__PURE__ */ R(
|
|
@@ -19287,12 +19287,12 @@ var z2 = {
|
|
|
19287
19287
|
{
|
|
19288
19288
|
className: i2("visx-legend-label", z2["legend-item-label"]),
|
|
19289
19289
|
style: {
|
|
19290
|
-
justifyContent:
|
|
19290
|
+
justifyContent: W,
|
|
19291
19291
|
flex: w,
|
|
19292
19292
|
margin: L,
|
|
19293
19293
|
...C.legendLabelStyles
|
|
19294
19294
|
},
|
|
19295
|
-
...
|
|
19295
|
+
...m,
|
|
19296
19296
|
children: [
|
|
19297
19297
|
/* @__PURE__ */ R(
|
|
19298
19298
|
X9,
|
|
@@ -19360,14 +19360,14 @@ function vO(e, M, b, z, t) {
|
|
|
19360
19360
|
}
|
|
19361
19361
|
function C9(e, M, b, z, t, p, c) {
|
|
19362
19362
|
const n = (o, a) => {
|
|
19363
|
-
var s,
|
|
19363
|
+
var s, W;
|
|
19364
19364
|
const { color: i, glyph: r, shapeStyles: A } = M({
|
|
19365
19365
|
data: o,
|
|
19366
19366
|
index: a,
|
|
19367
19367
|
legendShape: c
|
|
19368
19368
|
}), d = {
|
|
19369
19369
|
label: o.label,
|
|
19370
|
-
value: b ? ((
|
|
19370
|
+
value: b ? ((W = (s = o.data) == null ? void 0 : s.length) == null ? void 0 : W.toString()) || "0" : "",
|
|
19371
19371
|
color: i,
|
|
19372
19372
|
shapeStyle: A
|
|
19373
19373
|
};
|
|
@@ -19669,8 +19669,8 @@ function P9(e, M) {
|
|
|
19669
19669
|
return b;
|
|
19670
19670
|
}
|
|
19671
19671
|
function BO(e) {
|
|
19672
|
-
var M = e.children, b = e.id, z = e.from, t = e.to, p = e.x1, c = e.y1, n = e.x2, o = e.y2, a = e.fromOffset, i = a === void 0 ? "0%" : a, r = e.fromOpacity, A = r === void 0 ? 1 : r, d = e.toOffset, s = d === void 0 ? "100%" : d,
|
|
19673
|
-
return
|
|
19672
|
+
var M = e.children, b = e.id, z = e.from, t = e.to, p = e.x1, c = e.y1, n = e.x2, o = e.y2, a = e.fromOffset, i = a === void 0 ? "0%" : a, r = e.fromOpacity, A = r === void 0 ? 1 : r, d = e.toOffset, s = d === void 0 ? "100%" : d, W = e.toOpacity, w = W === void 0 ? 1 : W, L = e.rotate, B = e.transform, h = e.vertical, m = h === void 0 ? !0 : h, g = P9(e, D9), y = p, x = n, I = c, C = o;
|
|
19673
|
+
return m && !y && !x && !I && !C && (y = "0", x = "0", I = "0", C = "1"), /* @__PURE__ */ Q.createElement("defs", null, /* @__PURE__ */ Q.createElement("linearGradient", gt({
|
|
19674
19674
|
id: b,
|
|
19675
19675
|
x1: y,
|
|
19676
19676
|
y1: I,
|
|
@@ -19770,19 +19770,19 @@ var TO = {};
|
|
|
19770
19770
|
}
|
|
19771
19771
|
function s(k, _) {
|
|
19772
19772
|
if (typeof _ != "function" && _ !== null) throw new TypeError("Super expression must either be null or a function");
|
|
19773
|
-
k.prototype = Object.create(_ && _.prototype, { constructor: { value: k, writable: !0, configurable: !0 } }), Object.defineProperty(k, "prototype", { writable: !1 }), _ &&
|
|
19773
|
+
k.prototype = Object.create(_ && _.prototype, { constructor: { value: k, writable: !0, configurable: !0 } }), Object.defineProperty(k, "prototype", { writable: !1 }), _ && W(k, _);
|
|
19774
19774
|
}
|
|
19775
|
-
function
|
|
19776
|
-
return
|
|
19775
|
+
function W(k, _) {
|
|
19776
|
+
return W = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(P, J) {
|
|
19777
19777
|
return P.__proto__ = J, P;
|
|
19778
|
-
},
|
|
19778
|
+
}, W(k, _);
|
|
19779
19779
|
}
|
|
19780
19780
|
function w(k) {
|
|
19781
|
-
var _ =
|
|
19781
|
+
var _ = h();
|
|
19782
19782
|
return function() {
|
|
19783
|
-
var P, J =
|
|
19783
|
+
var P, J = m(k);
|
|
19784
19784
|
if (_) {
|
|
19785
|
-
var q =
|
|
19785
|
+
var q = m(this).constructor;
|
|
19786
19786
|
P = Reflect.construct(J, arguments, q);
|
|
19787
19787
|
} else P = J.apply(this, arguments);
|
|
19788
19788
|
return L(this, P);
|
|
@@ -19797,7 +19797,7 @@ var TO = {};
|
|
|
19797
19797
|
if (k === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
19798
19798
|
return k;
|
|
19799
19799
|
}
|
|
19800
|
-
function
|
|
19800
|
+
function h() {
|
|
19801
19801
|
if (typeof Reflect > "u" || !Reflect.construct || Reflect.construct.sham) return !1;
|
|
19802
19802
|
if (typeof Proxy == "function") return !0;
|
|
19803
19803
|
try {
|
|
@@ -19807,10 +19807,10 @@ var TO = {};
|
|
|
19807
19807
|
return !1;
|
|
19808
19808
|
}
|
|
19809
19809
|
}
|
|
19810
|
-
function
|
|
19811
|
-
return
|
|
19810
|
+
function m(k) {
|
|
19811
|
+
return m = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(_) {
|
|
19812
19812
|
return _.__proto__ || Object.getPrototypeOf(_);
|
|
19813
|
-
},
|
|
19813
|
+
}, m(k);
|
|
19814
19814
|
}
|
|
19815
19815
|
function g(k, _, P) {
|
|
19816
19816
|
return _ = y(_), _ in k ? Object.defineProperty(k, _, { value: P, enumerable: !0, configurable: !0, writable: !0 }) : k[_] = P, k;
|
|
@@ -20484,16 +20484,16 @@ function Rt() {
|
|
|
20484
20484
|
}, Rt.apply(this, arguments);
|
|
20485
20485
|
}
|
|
20486
20486
|
function XO(e) {
|
|
20487
|
-
var M, b, z, t, p = e.className, c = e.x, n = e.y, o = e.dx, a = e.dy, i = e.type, r = i === void 0 ? "elbow" : i, A = e.stroke, d = A === void 0 ? "#222" : A, s = e.pathProps,
|
|
20487
|
+
var M, b, z, t, p = e.className, c = e.x, n = e.y, o = e.dx, a = e.dy, i = e.type, r = i === void 0 ? "elbow" : i, A = e.stroke, d = A === void 0 ? "#222" : A, s = e.pathProps, W = Z0(Le), w = c ?? ((M = W.x) != null ? M : 0), L = n ?? ((b = W.y) != null ? b : 0), B = o ?? ((z = W.dx) != null ? z : 0), h = a ?? ((t = W.dy) != null ? t : 0), m = w, g = L, y = w + B, x = L + h;
|
|
20488
20488
|
if (r === "elbow")
|
|
20489
|
-
if (Math.abs(B) <= Math.abs(
|
|
20490
|
-
|
|
20491
|
-
var I =
|
|
20492
|
-
g = L + I * Math.abs(
|
|
20489
|
+
if (Math.abs(B) <= Math.abs(h)) {
|
|
20490
|
+
m = y;
|
|
20491
|
+
var I = h > 0 ? 1 : -1;
|
|
20492
|
+
g = L + I * Math.abs(m - w);
|
|
20493
20493
|
} else {
|
|
20494
20494
|
g = x;
|
|
20495
20495
|
var C = B > 0 ? 1 : -1;
|
|
20496
|
-
|
|
20496
|
+
m = w + C * Math.abs(g - L);
|
|
20497
20497
|
}
|
|
20498
20498
|
return /* @__PURE__ */ Q.createElement("path", Rt({
|
|
20499
20499
|
className: O1("visx-annotation-connector", p),
|
|
@@ -20501,7 +20501,7 @@ function XO(e) {
|
|
|
20501
20501
|
stroke: d,
|
|
20502
20502
|
fill: "transparent",
|
|
20503
20503
|
pointerEvents: "none",
|
|
20504
|
-
d: "M" + w + "," + L + (r === "elbow" ? "L" +
|
|
20504
|
+
d: "M" + w + "," + L + (r === "elbow" ? "L" + m + "," + g : "") + "L" + y + "," + x
|
|
20505
20505
|
}, s));
|
|
20506
20506
|
}
|
|
20507
20507
|
XO.propTypes = {
|
|
@@ -20577,7 +20577,7 @@ function H9(e) {
|
|
|
20577
20577
|
} : h2({}, Uo, e);
|
|
20578
20578
|
}
|
|
20579
20579
|
function kO(e) {
|
|
20580
|
-
var M, b, z, t = e.anchorLineStroke, p = t === void 0 ? "#222" : t, c = e.backgroundFill, n = c === void 0 ? "#eaeaea" : c, o = e.backgroundPadding, a = e.backgroundProps, i = e.className, r = e.fontColor, A = r === void 0 ? "#222" : r, d = e.horizontalAnchor, s = e.resizeObserverPolyfill,
|
|
20580
|
+
var M, b, z, t = e.anchorLineStroke, p = t === void 0 ? "#222" : t, c = e.backgroundFill, n = c === void 0 ? "#eaeaea" : c, o = e.backgroundPadding, a = e.backgroundProps, i = e.className, r = e.fontColor, A = r === void 0 ? "#222" : r, d = e.horizontalAnchor, s = e.resizeObserverPolyfill, W = e.showAnchorLine, w = W === void 0 ? !0 : W, L = e.showBackground, B = L === void 0 ? !0 : L, h = e.subtitle, m = e.subtitleDy, g = m === void 0 ? 4 : m, y = e.subtitleFontSize, x = y === void 0 ? 12 : y, I = e.subtitleFontWeight, C = I === void 0 ? 200 : I, T = e.subtitleProps, j = e.title, V = e.titleFontSize, $ = V === void 0 ? 16 : V, k = e.titleFontWeight, _ = k === void 0 ? 600 : k, P = e.titleProps, J = e.verticalAnchor, q = e.width, b0 = e.maxWidth, O = b0 === void 0 ? 125 : b0, u = e.x, z0 = e.y, a0 = pt({
|
|
20581
20581
|
polyfill: s
|
|
20582
20582
|
}), f = a0[0], e0 = a0[1], M0 = pt({
|
|
20583
20583
|
polyfill: s
|
|
@@ -20592,7 +20592,7 @@ function kO(e) {
|
|
|
20592
20592
|
fontFamily: P == null ? void 0 : P.fontFamily,
|
|
20593
20593
|
width: O
|
|
20594
20594
|
}, P)), l0 = O0.wordsByLines, m1 = zt(h2({
|
|
20595
|
-
children:
|
|
20595
|
+
children: h,
|
|
20596
20596
|
verticalAnchor: "start",
|
|
20597
20597
|
capHeight: x,
|
|
20598
20598
|
fontSize: x,
|
|
@@ -20624,7 +20624,7 @@ function kO(e) {
|
|
|
20624
20624
|
fontFamily: Ne
|
|
20625
20625
|
};
|
|
20626
20626
|
}, [x, C, Ne]);
|
|
20627
|
-
return !j && !
|
|
20627
|
+
return !j && !h ? null : /* @__PURE__ */ Q.createElement(ge, {
|
|
20628
20628
|
top: g1.y,
|
|
20629
20629
|
left: g1.x,
|
|
20630
20630
|
pointerEvents: "none",
|
|
@@ -20654,7 +20654,7 @@ function kO(e) {
|
|
|
20654
20654
|
capHeight: $,
|
|
20655
20655
|
style: ve
|
|
20656
20656
|
// used for size calculation
|
|
20657
|
-
}, P), j),
|
|
20657
|
+
}, P), j), h && /* @__PURE__ */ Q.createElement(Dc, h2({
|
|
20658
20658
|
innerTextRef: G,
|
|
20659
20659
|
fill: A,
|
|
20660
20660
|
verticalAnchor: "start",
|
|
@@ -20665,7 +20665,7 @@ function kO(e) {
|
|
|
20665
20665
|
capHeight: x,
|
|
20666
20666
|
style: hM
|
|
20667
20667
|
// used for size calculation
|
|
20668
|
-
}, T),
|
|
20668
|
+
}, T), h));
|
|
20669
20669
|
}
|
|
20670
20670
|
kO.propTypes = {
|
|
20671
20671
|
anchorLineStroke: N.string,
|
|
@@ -20704,13 +20704,13 @@ var $o = {
|
|
|
20704
20704
|
function xO(e) {
|
|
20705
20705
|
var M = e.anchorLineStroke, b = M === void 0 ? "#222" : M, z = e.children, t = e.className, p = e.containerStyle, c = e.horizontalAnchor, n = e.resizeObserverPolyfill, o = e.showAnchorLine, a = o === void 0 ? !0 : o, i = e.verticalAnchor, r = e.x, A = e.y, d = pt({
|
|
20706
20706
|
polyfill: n
|
|
20707
|
-
}), s = d[0],
|
|
20708
|
-
var k = r ??
|
|
20707
|
+
}), s = d[0], W = d[1], w = W.width, L = W.height, B = Z0(Le), h = B.x, m = h === void 0 ? 0 : h, g = B.y, y = g === void 0 ? 0 : g, x = B.dx, I = x === void 0 ? 0 : x, C = B.dy, T = C === void 0 ? 0 : C, j = c || (Math.abs(I) < Math.abs(T) ? "middle" : I > 0 ? "start" : "end"), V = i || (Math.abs(I) > Math.abs(T) ? "middle" : T > 0 ? "start" : "end"), $ = m0(function() {
|
|
20708
|
+
var k = r ?? m + I, _ = A ?? y + T;
|
|
20709
20709
|
return j === "middle" && (k -= w / 2), j === "end" && (k -= w), V === "middle" && (_ -= L / 2), V === "end" && (_ -= L), {
|
|
20710
20710
|
x: k,
|
|
20711
20711
|
y: _
|
|
20712
20712
|
};
|
|
20713
|
-
}, [r,
|
|
20713
|
+
}, [r, m, I, A, y, T, j, V, w, L]);
|
|
20714
20714
|
return /* @__PURE__ */ Q.createElement(ge, {
|
|
20715
20715
|
top: $.y,
|
|
20716
20716
|
left: $.x,
|
|
@@ -20928,10 +20928,10 @@ var $9 = (e) => {
|
|
|
20928
20928
|
] });
|
|
20929
20929
|
}, G9 = Y9, K9 = ({ children: e }) => {
|
|
20930
20930
|
const { chartRef: M, chartWidth: b, chartHeight: z } = y9(), [t, p] = h0(null), [c, n] = h0(!1), o = t0((r) => {
|
|
20931
|
-
const A = r.xScale.domain(), d = r.yScale.domain(), s = r.xScale.range(),
|
|
20931
|
+
const A = r.xScale.domain(), d = r.yScale.domain(), s = r.xScale.range(), W = r.yScale.range();
|
|
20932
20932
|
return `${A.join(",")}-${d.join(",")}-${s.join(
|
|
20933
20933
|
","
|
|
20934
|
-
)}-${
|
|
20934
|
+
)}-${W.join(",")}`;
|
|
20935
20935
|
}, []), a = t0(() => {
|
|
20936
20936
|
if (M != null && M.current) {
|
|
20937
20937
|
const r = M.current.getScales();
|
|
@@ -20950,7 +20950,7 @@ var $9 = (e) => {
|
|
|
20950
20950
|
}, [M, o]);
|
|
20951
20951
|
if (d0(() => {
|
|
20952
20952
|
let r = null, A = null, d = 0;
|
|
20953
|
-
const s = 20,
|
|
20953
|
+
const s = 20, W = 50;
|
|
20954
20954
|
n(!1);
|
|
20955
20955
|
const w = () => {
|
|
20956
20956
|
const L = a();
|
|
@@ -20961,7 +20961,7 @@ var $9 = (e) => {
|
|
|
20961
20961
|
}
|
|
20962
20962
|
p(L.scales), A = L.signature;
|
|
20963
20963
|
}
|
|
20964
|
-
d < s && (d++, r = setTimeout(w,
|
|
20964
|
+
d < s && (d++, r = setTimeout(w, W));
|
|
20965
20965
|
};
|
|
20966
20966
|
return w(), () => {
|
|
20967
20967
|
r && clearTimeout(r);
|
|
@@ -21023,7 +21023,7 @@ var $9 = (e) => {
|
|
|
21023
21023
|
d(P.height);
|
|
21024
21024
|
}
|
|
21025
21025
|
}, []);
|
|
21026
|
-
const
|
|
21026
|
+
const W = m0(() => {
|
|
21027
21027
|
var z0;
|
|
21028
21028
|
if (!e || !e.date || e.value == null || !a || !i) return null;
|
|
21029
21029
|
const _ = a(e.date), P = i(e.value);
|
|
@@ -21054,16 +21054,16 @@ var $9 = (e) => {
|
|
|
21054
21054
|
});
|
|
21055
21055
|
return { x: _, y: P, yMin: J, yMax: q, xMin: b0, xMax: O, ...u };
|
|
21056
21056
|
}, [e, a, i, z, (k = s == null ? void 0 : s.label) == null ? void 0 : k.maxWidth, A, c]);
|
|
21057
|
-
if (!
|
|
21058
|
-
const { x: w, y: L, yMin: B, yMax:
|
|
21057
|
+
if (!W) return null;
|
|
21058
|
+
const { x: w, y: L, yMin: B, yMax: h, xMin: m, xMax: g, dx: y, dy: x, isFlippedHorizontally: I, isFlippedVertically: C } = W, T = () => {
|
|
21059
21059
|
var P;
|
|
21060
21060
|
const _ = (P = s == null ? void 0 : s.label) == null ? void 0 : P.y;
|
|
21061
|
-
return _ === "start" ?
|
|
21061
|
+
return _ === "start" ? h : _ === "end" ? B : _;
|
|
21062
21062
|
}, V = {
|
|
21063
21063
|
x: (() => {
|
|
21064
21064
|
var P;
|
|
21065
21065
|
const _ = (P = s == null ? void 0 : s.label) == null ? void 0 : P.x;
|
|
21066
|
-
return _ === "start" ?
|
|
21066
|
+
return _ === "start" ? m : _ === "end" ? g : _;
|
|
21067
21067
|
})(),
|
|
21068
21068
|
y: T()
|
|
21069
21069
|
}, $ = () => {
|
|
@@ -21080,7 +21080,7 @@ var $9 = (e) => {
|
|
|
21080
21080
|
z === "line-vertical" && /* @__PURE__ */ R(
|
|
21081
21081
|
wt,
|
|
21082
21082
|
{
|
|
21083
|
-
min:
|
|
21083
|
+
min: h,
|
|
21084
21084
|
max: B,
|
|
21085
21085
|
...s == null ? void 0 : s.lineSubject,
|
|
21086
21086
|
orientation: "vertical"
|
|
@@ -21089,7 +21089,7 @@ var $9 = (e) => {
|
|
|
21089
21089
|
z === "line-horizontal" && /* @__PURE__ */ R(
|
|
21090
21090
|
wt,
|
|
21091
21091
|
{
|
|
21092
|
-
min:
|
|
21092
|
+
min: m,
|
|
21093
21093
|
max: g,
|
|
21094
21094
|
...s == null ? void 0 : s.lineSubject,
|
|
21095
21095
|
orientation: "horizontal"
|
|
@@ -21115,7 +21115,7 @@ var $9 = (e) => {
|
|
|
21115
21115
|
z,
|
|
21116
21116
|
C,
|
|
21117
21117
|
L,
|
|
21118
|
-
|
|
21118
|
+
h,
|
|
21119
21119
|
A ?? SO
|
|
21120
21120
|
)
|
|
21121
21121
|
}
|
|
@@ -21249,12 +21249,12 @@ var $9 = (e) => {
|
|
|
21249
21249
|
legendMaxWidth: A,
|
|
21250
21250
|
legendTextOverflow: d = "wrap",
|
|
21251
21251
|
legendItemClassName: s,
|
|
21252
|
-
renderGlyph:
|
|
21252
|
+
renderGlyph: W = pN,
|
|
21253
21253
|
glyphStyle: w = {},
|
|
21254
21254
|
legendShape: L = "line",
|
|
21255
21255
|
withLegendGlyph: B = !1,
|
|
21256
|
-
withGradientFill:
|
|
21257
|
-
smoothing:
|
|
21256
|
+
withGradientFill: h = !1,
|
|
21257
|
+
smoothing: m = !0,
|
|
21258
21258
|
curveType: g,
|
|
21259
21259
|
renderTooltip: y = nN,
|
|
21260
21260
|
withStartGlyphs: x = !1,
|
|
@@ -21331,24 +21331,24 @@ var $9 = (e) => {
|
|
|
21331
21331
|
data: P0,
|
|
21332
21332
|
index: C0
|
|
21333
21333
|
}), V0 = { ...s0, color: d1 };
|
|
21334
|
-
return z1 ? z1(V0) :
|
|
21335
|
-
}, [G,
|
|
21334
|
+
return z1 ? z1(V0) : W(V0);
|
|
21335
|
+
}, [G, W, o0]), S = uO(z, v, G, J), H = iN(G), D = !H, F = m0(
|
|
21336
21336
|
() => ({
|
|
21337
21337
|
withGlyph: B,
|
|
21338
21338
|
glyphSize: Math.max(0, cN(w == null ? void 0 : w.radius) ?? 4),
|
|
21339
|
-
renderGlyph:
|
|
21339
|
+
renderGlyph: W
|
|
21340
21340
|
}),
|
|
21341
|
-
[B, w == null ? void 0 : w.radius,
|
|
21341
|
+
[B, w == null ? void 0 : w.radius, W]
|
|
21342
21342
|
), A0 = NO(G, F, L), O0 = m0(
|
|
21343
21343
|
() => ({
|
|
21344
|
-
withGradientFill:
|
|
21345
|
-
smoothing:
|
|
21344
|
+
withGradientFill: h,
|
|
21345
|
+
smoothing: m,
|
|
21346
21346
|
curveType: g,
|
|
21347
21347
|
withStartGlyphs: x,
|
|
21348
21348
|
withEndGlyphs: I,
|
|
21349
21349
|
withLegendGlyph: B
|
|
21350
21350
|
}),
|
|
21351
|
-
[
|
|
21351
|
+
[h, m, g, x, I, B]
|
|
21352
21352
|
);
|
|
21353
21353
|
fO({
|
|
21354
21354
|
chartId: q,
|
|
@@ -21425,7 +21425,7 @@ var $9 = (e) => {
|
|
|
21425
21425
|
...d1
|
|
21426
21426
|
};
|
|
21427
21427
|
return /* @__PURE__ */ n0("g", { children: [
|
|
21428
|
-
|
|
21428
|
+
h && /* @__PURE__ */ R(
|
|
21429
21429
|
BO,
|
|
21430
21430
|
{
|
|
21431
21431
|
id: `area-gradient-${q}-${C0 + 1}`,
|
|
@@ -21453,9 +21453,9 @@ var $9 = (e) => {
|
|
|
21453
21453
|
dataKey: s0 == null ? void 0 : s0.label,
|
|
21454
21454
|
data: s0.data,
|
|
21455
21455
|
...l0,
|
|
21456
|
-
fill:
|
|
21456
|
+
fill: h ? `url(#area-gradient-${q}-${C0 + 1})` : "transparent",
|
|
21457
21457
|
renderLine: !0,
|
|
21458
|
-
curve: oN(g,
|
|
21458
|
+
curve: oN(g, m),
|
|
21459
21459
|
lineProps: V0
|
|
21460
21460
|
},
|
|
21461
21461
|
s0 == null ? void 0 : s0.label
|
|
@@ -21466,7 +21466,7 @@ var $9 = (e) => {
|
|
|
21466
21466
|
index: C0,
|
|
21467
21467
|
data: s0,
|
|
21468
21468
|
color: P0,
|
|
21469
|
-
renderGlyph: z1 ??
|
|
21469
|
+
renderGlyph: z1 ?? W,
|
|
21470
21470
|
accessors: l0,
|
|
21471
21471
|
glyphStyle: w,
|
|
21472
21472
|
position: "start"
|
|
@@ -21478,7 +21478,7 @@ var $9 = (e) => {
|
|
|
21478
21478
|
index: C0,
|
|
21479
21479
|
data: s0,
|
|
21480
21480
|
color: P0,
|
|
21481
|
-
renderGlyph: z1 ??
|
|
21481
|
+
renderGlyph: z1 ?? W,
|
|
21482
21482
|
accessors: l0,
|
|
21483
21483
|
glyphStyle: w,
|
|
21484
21484
|
position: "end"
|
|
@@ -21594,7 +21594,7 @@ function lN(e) {
|
|
|
21594
21594
|
}
|
|
21595
21595
|
}
|
|
21596
21596
|
function PO(e) {
|
|
21597
|
-
var M = e.id, b = e.width, z = e.height, t = e.stroke, p = e.strokeWidth, c = e.strokeDasharray, n = e.strokeLinecap, o = n === void 0 ? "square" : n, a = e.shapeRendering, i = a === void 0 ? "auto" : a, r = e.orientation, A = r === void 0 ? ["vertical"] : r, d = e.background, s = e.className,
|
|
21597
|
+
var M = e.id, b = e.width, z = e.height, t = e.stroke, p = e.strokeWidth, c = e.strokeDasharray, n = e.strokeLinecap, o = n === void 0 ? "square" : n, a = e.shapeRendering, i = a === void 0 ? "auto" : a, r = e.orientation, A = r === void 0 ? ["vertical"] : r, d = e.background, s = e.className, W = Array.isArray(A) ? A : [A];
|
|
21598
21598
|
return /* @__PURE__ */ Q.createElement(Gb, {
|
|
21599
21599
|
id: M,
|
|
21600
21600
|
width: b,
|
|
@@ -21604,7 +21604,7 @@ function PO(e) {
|
|
|
21604
21604
|
width: b,
|
|
21605
21605
|
height: z,
|
|
21606
21606
|
fill: d
|
|
21607
|
-
}),
|
|
21607
|
+
}), W.map(function(w, L) {
|
|
21608
21608
|
return /* @__PURE__ */ Q.createElement("path", {
|
|
21609
21609
|
key: "visx-" + M + "-line-" + w + "-" + L,
|
|
21610
21610
|
className: O1("visx-pattern-line", s),
|
|
@@ -21634,8 +21634,8 @@ PO.propTypes = {
|
|
|
21634
21634
|
orientation: N.array
|
|
21635
21635
|
};
|
|
21636
21636
|
function IO(e) {
|
|
21637
|
-
var M, b = e.id, z = e.width, t = e.height, p = e.radius, c = p === void 0 ? 2 : p, n = e.fill, o = e.stroke, a = e.strokeWidth, i = e.strokeDasharray, r = e.background, A = e.complement, d = A === void 0 ? !1 : A, s = e.className,
|
|
21638
|
-
return d && (
|
|
21637
|
+
var M, b = e.id, z = e.width, t = e.height, p = e.radius, c = p === void 0 ? 2 : p, n = e.fill, o = e.stroke, a = e.strokeWidth, i = e.strokeDasharray, r = e.background, A = e.complement, d = A === void 0 ? !1 : A, s = e.className, W;
|
|
21638
|
+
return d && (W = [[0, 0], [0, t], [z, 0], [z, t]]), /* @__PURE__ */ Q.createElement(Gb, {
|
|
21639
21639
|
id: b,
|
|
21640
21640
|
width: z,
|
|
21641
21641
|
height: t
|
|
@@ -21652,7 +21652,7 @@ function IO(e) {
|
|
|
21652
21652
|
stroke: o,
|
|
21653
21653
|
strokeWidth: a,
|
|
21654
21654
|
strokeDasharray: i
|
|
21655
|
-
}), (M =
|
|
21655
|
+
}), (M = W) == null ? void 0 : M.map(function(w) {
|
|
21656
21656
|
var L = w[0], B = w[1];
|
|
21657
21657
|
return /* @__PURE__ */ Q.createElement("circle", {
|
|
21658
21658
|
key: b + "-complement-" + L + "-" + B,
|
|
@@ -21681,7 +21681,7 @@ IO.propTypes = {
|
|
|
21681
21681
|
background: N.string
|
|
21682
21682
|
};
|
|
21683
21683
|
function Cp(e) {
|
|
21684
|
-
var M = e.id, b = e.width, z = e.height, t = e.path, p = e.fill, c = p === void 0 ? "transparent" : p, n = e.stroke, o = e.strokeWidth, a = e.strokeDasharray, i = e.strokeLinecap, r = i === void 0 ? "square" : i, A = e.shapeRendering, d = A === void 0 ? "auto" : A, s = e.background,
|
|
21684
|
+
var M = e.id, b = e.width, z = e.height, t = e.path, p = e.fill, c = p === void 0 ? "transparent" : p, n = e.stroke, o = e.strokeWidth, a = e.strokeDasharray, i = e.strokeLinecap, r = i === void 0 ? "square" : i, A = e.shapeRendering, d = A === void 0 ? "auto" : A, s = e.background, W = e.className;
|
|
21685
21685
|
return /* @__PURE__ */ Q.createElement(Gb, {
|
|
21686
21686
|
id: M,
|
|
21687
21687
|
width: b,
|
|
@@ -21691,7 +21691,7 @@ function Cp(e) {
|
|
|
21691
21691
|
height: z,
|
|
21692
21692
|
fill: s
|
|
21693
21693
|
}), /* @__PURE__ */ Q.createElement("path", {
|
|
21694
|
-
className: O1("visx-pattern-path",
|
|
21694
|
+
className: O1("visx-pattern-path", W),
|
|
21695
21695
|
d: t,
|
|
21696
21696
|
fill: c,
|
|
21697
21697
|
stroke: n,
|
|
@@ -21823,7 +21823,7 @@ function qN(e, M, b = {}) {
|
|
|
21823
21823
|
};
|
|
21824
21824
|
}, [e]);
|
|
21825
21825
|
return m0(() => {
|
|
21826
|
-
var w, L, B,
|
|
21826
|
+
var w, L, B, h, m, g;
|
|
21827
21827
|
const t = M ? "horizontal" : "vertical", {
|
|
21828
21828
|
xTickFormat: p,
|
|
21829
21829
|
yTickFormat: c,
|
|
@@ -21833,7 +21833,7 @@ function qN(e, M, b = {}) {
|
|
|
21833
21833
|
gridVisibility: i,
|
|
21834
21834
|
xScale: r,
|
|
21835
21835
|
yScale: A
|
|
21836
|
-
} = z[t], d = { ...r, ...b.xScale || {} }, s = { ...A, ...b.yScale || {} },
|
|
21836
|
+
} = z[t], d = { ...r, ...b.xScale || {} }, s = { ...A, ...b.yScale || {} }, W = M ? (L = (w = b.axis) == null ? void 0 : w.y) == null ? void 0 : L.tickFormat : (h = (B = b.axis) == null ? void 0 : B.x) == null ? void 0 : h.tickFormat;
|
|
21837
21837
|
return {
|
|
21838
21838
|
gridVisibility: i,
|
|
21839
21839
|
xScale: d,
|
|
@@ -21847,7 +21847,7 @@ function qN(e, M, b = {}) {
|
|
|
21847
21847
|
orientation: "bottom",
|
|
21848
21848
|
numTicks: 4,
|
|
21849
21849
|
tickFormat: p,
|
|
21850
|
-
...((
|
|
21850
|
+
...((m = b.axis) == null ? void 0 : m.x) || {}
|
|
21851
21851
|
},
|
|
21852
21852
|
y: {
|
|
21853
21853
|
orientation: "left",
|
|
@@ -21860,7 +21860,7 @@ function qN(e, M, b = {}) {
|
|
|
21860
21860
|
padding: uN(M ? s : d)
|
|
21861
21861
|
},
|
|
21862
21862
|
tooltip: {
|
|
21863
|
-
labelFormatter:
|
|
21863
|
+
labelFormatter: W || n
|
|
21864
21864
|
}
|
|
21865
21865
|
};
|
|
21866
21866
|
}, [z, b, M]);
|
|
@@ -21885,16 +21885,16 @@ var fN = (e) => e != null && e.length ? e.some(
|
|
|
21885
21885
|
legendTextOverflow: A = "wrap",
|
|
21886
21886
|
legendItemClassName: d,
|
|
21887
21887
|
legendShape: s = "rect",
|
|
21888
|
-
gridVisibility:
|
|
21888
|
+
gridVisibility: W,
|
|
21889
21889
|
renderTooltip: w,
|
|
21890
21890
|
options: L = {},
|
|
21891
21891
|
orientation: B = "vertical",
|
|
21892
|
-
withPatterns:
|
|
21893
|
-
showZeroValues:
|
|
21892
|
+
withPatterns: h = !1,
|
|
21893
|
+
showZeroValues: m = !1,
|
|
21894
21894
|
children: g
|
|
21895
21895
|
}) => {
|
|
21896
21896
|
const y = B === "horizontal", x = sO(M), I = lO(e), C = dO(e), T = l9(C, {
|
|
21897
|
-
enabled:
|
|
21897
|
+
enabled: m
|
|
21898
21898
|
}), j = NO(C), V = qN(T, y, L), $ = uO(z, V, C, I, y), [k, _] = qO(), P = r0(null), [J, q] = h0(void 0), [b0, O] = h0(!1), u = Math.max(0, ...e.map((D) => {
|
|
21899
21899
|
var F;
|
|
21900
21900
|
return ((F = D.data) == null ? void 0 : F.length) || 0;
|
|
@@ -21906,8 +21906,8 @@ var fN = (e) => e != null && e.length ? e.some(
|
|
|
21906
21906
|
chartRef: P,
|
|
21907
21907
|
totalPoints: u
|
|
21908
21908
|
}), { getElementStyles: M0 } = $b(), G = t0(
|
|
21909
|
-
(D) => () =>
|
|
21910
|
-
[
|
|
21909
|
+
(D) => () => h ? `url(#${Sz(x, D)})` : M0({ data: C[D], index: D }).color,
|
|
21910
|
+
[h, M0, C, x]
|
|
21911
21911
|
), o0 = t0(
|
|
21912
21912
|
({ tooltipData: D }) => {
|
|
21913
21913
|
var A0, O0;
|
|
@@ -21984,9 +21984,9 @@ var fN = (e) => e != null && e.length ? e.some(
|
|
|
21984
21984
|
}, [J, e, x]), X = fN(C), v = !X, E = m0(
|
|
21985
21985
|
() => ({
|
|
21986
21986
|
orientation: B,
|
|
21987
|
-
withPatterns:
|
|
21987
|
+
withPatterns: h
|
|
21988
21988
|
}),
|
|
21989
|
-
[B,
|
|
21989
|
+
[B, h]
|
|
21990
21990
|
);
|
|
21991
21991
|
if (fO({
|
|
21992
21992
|
chartId: x,
|
|
@@ -21996,7 +21996,7 @@ var fN = (e) => e != null && e.length ? e.some(
|
|
|
21996
21996
|
metadata: E
|
|
21997
21997
|
}), X)
|
|
21998
21998
|
return /* @__PURE__ */ R("div", { className: i2("bar-chart", M2["bar-chart"]), children: X });
|
|
21999
|
-
const S =
|
|
21999
|
+
const S = W ?? V.gridVisibility, H = U();
|
|
22000
22000
|
return /* @__PURE__ */ R(
|
|
22001
22001
|
Tp.Provider,
|
|
22002
22002
|
{
|
|
@@ -22049,7 +22049,7 @@ var fN = (e) => e != null && e.length ? e.some(
|
|
|
22049
22049
|
numTicks: 4
|
|
22050
22050
|
}
|
|
22051
22051
|
),
|
|
22052
|
-
|
|
22052
|
+
h && /* @__PURE__ */ n0(I2, { children: [
|
|
22053
22053
|
/* @__PURE__ */ R("defs", { "data-testid": "bar-chart-patterns", children: C.map(
|
|
22054
22054
|
(D, F) => l(F, M0({ data: D, index: F }).color)
|
|
22055
22055
|
) }),
|
|
@@ -22230,12 +22230,12 @@ const hN = (e, M = "") => {
|
|
|
22230
22230
|
maxLabelLength: a = 15,
|
|
22231
22231
|
error: i,
|
|
22232
22232
|
...r
|
|
22233
|
-
} = e, A = (B,
|
|
22233
|
+
} = e, A = (B, h) => !o || B.length <= h ? B : B.substring(0, h - 3) + "...", d = () => {
|
|
22234
22234
|
if (n === "item-comparison" && M && M.length > 0) {
|
|
22235
22235
|
let B = "";
|
|
22236
|
-
return M.forEach((
|
|
22237
|
-
|
|
22238
|
-
const g =
|
|
22236
|
+
return M.forEach((h) => {
|
|
22237
|
+
h != null && h.data && h.data.forEach((m) => {
|
|
22238
|
+
const g = m.label || "", y = A(g, a);
|
|
22239
22239
|
y.length > B.length && (B = y);
|
|
22240
22240
|
});
|
|
22241
22241
|
}), yt(80, 6, 25, B.length);
|
|
@@ -22388,10 +22388,10 @@ const RN = (e) => {
|
|
|
22388
22388
|
), [n, o] = h0(300), a = r0(null), i = t0(
|
|
22389
22389
|
(L) => {
|
|
22390
22390
|
var I;
|
|
22391
|
-
const { tooltipData: B } = L,
|
|
22392
|
-
if (!
|
|
22391
|
+
const { tooltipData: B } = L, h = (I = B == null ? void 0 : B.nearestDatum) == null ? void 0 : I.datum;
|
|
22392
|
+
if (!h)
|
|
22393
22393
|
return null;
|
|
22394
|
-
const
|
|
22394
|
+
const m = (C) => {
|
|
22395
22395
|
if (p != null && p.currency) {
|
|
22396
22396
|
const { symbol: T, symbolPosition: j } = p.currency;
|
|
22397
22397
|
let V;
|
|
@@ -22413,7 +22413,7 @@ const RN = (e) => {
|
|
|
22413
22413
|
month: "short",
|
|
22414
22414
|
day: "numeric"
|
|
22415
22415
|
});
|
|
22416
|
-
}, y =
|
|
22416
|
+
}, y = h.label, x = Object.entries(
|
|
22417
22417
|
(B == null ? void 0 : B.datumByKey) || {}
|
|
22418
22418
|
).map(([C, T]) => {
|
|
22419
22419
|
const j = T.datum;
|
|
@@ -22437,7 +22437,7 @@ const RN = (e) => {
|
|
|
22437
22437
|
children: y
|
|
22438
22438
|
}
|
|
22439
22439
|
),
|
|
22440
|
-
|
|
22440
|
+
h.date && /* @__PURE__ */ R(
|
|
22441
22441
|
"div",
|
|
22442
22442
|
{
|
|
22443
22443
|
style: {
|
|
@@ -22445,7 +22445,7 @@ const RN = (e) => {
|
|
|
22445
22445
|
opacity: 0.8,
|
|
22446
22446
|
marginBottom: "4px"
|
|
22447
22447
|
},
|
|
22448
|
-
children: g(
|
|
22448
|
+
children: g(h.date)
|
|
22449
22449
|
}
|
|
22450
22450
|
),
|
|
22451
22451
|
x.map((C) => /* @__PURE__ */ n0(
|
|
@@ -22458,7 +22458,7 @@ const RN = (e) => {
|
|
|
22458
22458
|
":"
|
|
22459
22459
|
] }),
|
|
22460
22460
|
" ",
|
|
22461
|
-
|
|
22461
|
+
m(C.value)
|
|
22462
22462
|
]
|
|
22463
22463
|
},
|
|
22464
22464
|
C.key
|
|
@@ -22507,13 +22507,13 @@ const RN = (e) => {
|
|
|
22507
22507
|
});
|
|
22508
22508
|
return;
|
|
22509
22509
|
}
|
|
22510
|
-
const B = L.data.map((
|
|
22511
|
-
...
|
|
22512
|
-
data:
|
|
22510
|
+
const B = L.data.map((m) => ({
|
|
22511
|
+
...m,
|
|
22512
|
+
data: m.data.map((g) => {
|
|
22513
22513
|
if (g.date) {
|
|
22514
22514
|
const y = new Date(g.date);
|
|
22515
22515
|
return isNaN(y.getTime()) ? (console.warn(
|
|
22516
|
-
`Invalid date string: "${g.date}" in series "${
|
|
22516
|
+
`Invalid date string: "${g.date}" in series "${m.label}"`
|
|
22517
22517
|
), {
|
|
22518
22518
|
label: g.label,
|
|
22519
22519
|
value: g.value,
|
|
@@ -22530,14 +22530,14 @@ const RN = (e) => {
|
|
|
22530
22530
|
date: void 0
|
|
22531
22531
|
};
|
|
22532
22532
|
})
|
|
22533
|
-
})),
|
|
22533
|
+
})), h = {
|
|
22534
22534
|
chartType: L.chartType,
|
|
22535
22535
|
title: L.title,
|
|
22536
22536
|
data: B,
|
|
22537
22537
|
currency: L.currency,
|
|
22538
22538
|
mode: L.mode || "time-comparison"
|
|
22539
22539
|
};
|
|
22540
|
-
c(
|
|
22540
|
+
c(h);
|
|
22541
22541
|
} catch {
|
|
22542
22542
|
t({
|
|
22543
22543
|
message: R0(
|
|
@@ -22550,9 +22550,9 @@ const RN = (e) => {
|
|
|
22550
22550
|
}, [e]);
|
|
22551
22551
|
const r = t0((L) => {
|
|
22552
22552
|
if (a.current && a.current.disconnect(), L) {
|
|
22553
|
-
const { width: B } = L.getBoundingClientRect(),
|
|
22554
|
-
o(
|
|
22555
|
-
for (const g of
|
|
22553
|
+
const { width: B } = L.getBoundingClientRect(), h = Math.max(280, B - 4);
|
|
22554
|
+
o(h), a.current = new ResizeObserver((m) => {
|
|
22555
|
+
for (const g of m) {
|
|
22556
22556
|
const y = g.contentRect.width, x = Math.max(
|
|
22557
22557
|
280,
|
|
22558
22558
|
y - 4
|
|
@@ -22573,7 +22573,7 @@ const RN = (e) => {
|
|
|
22573
22573
|
message: R0("No chart data available", "a8c-agenttic")
|
|
22574
22574
|
}
|
|
22575
22575
|
);
|
|
22576
|
-
const d = p.data.length > 1, s = n,
|
|
22576
|
+
const d = p.data.length > 1, s = n, W = {
|
|
22577
22577
|
data: p.data,
|
|
22578
22578
|
currency: p.currency,
|
|
22579
22579
|
showLegend: d,
|
|
@@ -22586,12 +22586,12 @@ const RN = (e) => {
|
|
|
22586
22586
|
}, w = () => {
|
|
22587
22587
|
switch (p.chartType) {
|
|
22588
22588
|
case "line":
|
|
22589
|
-
return /* @__PURE__ */ R(RN, { ...
|
|
22589
|
+
return /* @__PURE__ */ R(RN, { ...W });
|
|
22590
22590
|
case "bar":
|
|
22591
22591
|
return /* @__PURE__ */ R(
|
|
22592
22592
|
mN,
|
|
22593
22593
|
{
|
|
22594
|
-
...
|
|
22594
|
+
...W,
|
|
22595
22595
|
mode: p.mode
|
|
22596
22596
|
}
|
|
22597
22597
|
);
|
|
@@ -22672,8 +22672,8 @@ function zw(e = {}) {
|
|
|
22672
22672
|
const [i, r] = Q.useState(a);
|
|
22673
22673
|
return Q.useEffect(() => {
|
|
22674
22674
|
t ? yN().then(async (A) => {
|
|
22675
|
-
const s = (await A.parseMarkdownIntoBlocks(a)).map((
|
|
22676
|
-
|
|
22675
|
+
const s = (await A.parseMarkdownIntoBlocks(a)).map((W) => A.parseIncompleteMarkdown(
|
|
22676
|
+
W.trim()
|
|
22677
22677
|
)).join(`
|
|
22678
22678
|
|
|
22679
22679
|
`);
|