@launchchair/agent 0.5.0 → 0.5.2
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/AGENTS.md +3 -0
- package/README.md +19 -1
- package/launchchair-cli.mjs +1 -1
- package/local-bridge.mjs +1 -1
- package/mcp-bridge-server.mjs +29 -4
- package/mcp-widget.html +1203 -0
- package/mcp-widgets.mjs +74 -0
- package/package.json +3 -1
- package/server.json +2 -2
package/mcp-widget.html
ADDED
|
@@ -0,0 +1,1203 @@
|
|
|
1
|
+
<!doctype html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1"><title>LaunchChair</title><link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&display=swap"><style>/*!
|
|
2
|
+
* OverlayScrollbars
|
|
3
|
+
* Version: 2.14.0
|
|
4
|
+
*
|
|
5
|
+
* Copyright (c) Rene Haas | KingSora.
|
|
6
|
+
* https://github.com/KingSora
|
|
7
|
+
*
|
|
8
|
+
* Released under the MIT license.
|
|
9
|
+
*/
|
|
10
|
+
.os-size-observer,
|
|
11
|
+
.os-size-observer-listener {
|
|
12
|
+
scroll-behavior: auto !important;
|
|
13
|
+
direction: inherit;
|
|
14
|
+
pointer-events: none;
|
|
15
|
+
overflow: hidden;
|
|
16
|
+
visibility: hidden;
|
|
17
|
+
box-sizing: border-box;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.os-size-observer,
|
|
21
|
+
.os-size-observer-listener,
|
|
22
|
+
.os-size-observer-listener-item,
|
|
23
|
+
.os-size-observer-listener-item-final {
|
|
24
|
+
writing-mode: horizontal-tb;
|
|
25
|
+
position: absolute;
|
|
26
|
+
left: 0;
|
|
27
|
+
top: 0;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.os-size-observer {
|
|
31
|
+
z-index: -1;
|
|
32
|
+
contain: strict;
|
|
33
|
+
display: flex;
|
|
34
|
+
flex-direction: row;
|
|
35
|
+
flex-wrap: nowrap;
|
|
36
|
+
padding: inherit;
|
|
37
|
+
border: inherit;
|
|
38
|
+
box-sizing: inherit;
|
|
39
|
+
margin: -133px;
|
|
40
|
+
top: 0;
|
|
41
|
+
right: 0;
|
|
42
|
+
bottom: 0;
|
|
43
|
+
left: 0;
|
|
44
|
+
transform: scale(0.1);
|
|
45
|
+
}
|
|
46
|
+
.os-size-observer::before {
|
|
47
|
+
content: "";
|
|
48
|
+
flex: none;
|
|
49
|
+
box-sizing: inherit;
|
|
50
|
+
padding: 10px;
|
|
51
|
+
width: 10px;
|
|
52
|
+
height: 10px;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
.os-size-observer-appear {
|
|
56
|
+
animation: os-size-observer-appear-animation 1ms forwards;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
.os-size-observer-listener {
|
|
60
|
+
box-sizing: border-box;
|
|
61
|
+
position: relative;
|
|
62
|
+
flex: auto;
|
|
63
|
+
padding: inherit;
|
|
64
|
+
border: inherit;
|
|
65
|
+
margin: -133px;
|
|
66
|
+
transform: scale(calc(1 / 0.1));
|
|
67
|
+
}
|
|
68
|
+
.os-size-observer-listener.ltr {
|
|
69
|
+
margin-right: -266px;
|
|
70
|
+
margin-left: 0;
|
|
71
|
+
}
|
|
72
|
+
.os-size-observer-listener.rtl {
|
|
73
|
+
margin-left: -266px;
|
|
74
|
+
margin-right: 0;
|
|
75
|
+
}
|
|
76
|
+
.os-size-observer-listener:empty::before {
|
|
77
|
+
content: "";
|
|
78
|
+
width: 100%;
|
|
79
|
+
height: 100%;
|
|
80
|
+
}
|
|
81
|
+
.os-size-observer-listener:empty::before, .os-size-observer-listener > .os-size-observer-listener-item {
|
|
82
|
+
display: block;
|
|
83
|
+
position: relative;
|
|
84
|
+
padding: inherit;
|
|
85
|
+
border: inherit;
|
|
86
|
+
box-sizing: content-box;
|
|
87
|
+
flex: auto;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
.os-size-observer-listener-scroll {
|
|
91
|
+
box-sizing: border-box;
|
|
92
|
+
display: flex;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
.os-size-observer-listener-item {
|
|
96
|
+
right: 0;
|
|
97
|
+
bottom: 0;
|
|
98
|
+
overflow: hidden;
|
|
99
|
+
direction: ltr;
|
|
100
|
+
flex: none;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
.os-size-observer-listener-item-final {
|
|
104
|
+
transition: none;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
@keyframes os-size-observer-appear-animation {
|
|
108
|
+
from {
|
|
109
|
+
cursor: auto;
|
|
110
|
+
}
|
|
111
|
+
to {
|
|
112
|
+
cursor: none;
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
.os-trinsic-observer {
|
|
116
|
+
flex: none;
|
|
117
|
+
box-sizing: border-box;
|
|
118
|
+
position: relative;
|
|
119
|
+
max-width: 0px;
|
|
120
|
+
max-height: 1px;
|
|
121
|
+
padding: 0;
|
|
122
|
+
margin: 0;
|
|
123
|
+
border: none;
|
|
124
|
+
overflow: hidden;
|
|
125
|
+
z-index: -1;
|
|
126
|
+
height: 0;
|
|
127
|
+
top: calc(100% + 1px);
|
|
128
|
+
contain: strict;
|
|
129
|
+
}
|
|
130
|
+
.os-trinsic-observer:not(:empty) {
|
|
131
|
+
height: calc(100% + 1px);
|
|
132
|
+
top: -1px;
|
|
133
|
+
}
|
|
134
|
+
.os-trinsic-observer:not(:empty) > .os-size-observer {
|
|
135
|
+
width: 1000%;
|
|
136
|
+
height: 1000%;
|
|
137
|
+
min-height: 1px;
|
|
138
|
+
min-width: 1px;
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
/**
|
|
142
|
+
* hide native scrollbars
|
|
143
|
+
* changes to this styles need to be reflected in the environment styles to correctly detect scrollbar hiding
|
|
144
|
+
*/
|
|
145
|
+
[data-overlayscrollbars-initialize]:not([data-overlayscrollbars-viewport]),
|
|
146
|
+
[data-overlayscrollbars-viewport~=scrollbarHidden],
|
|
147
|
+
html[data-overlayscrollbars-viewport~=scrollbarHidden] > body {
|
|
148
|
+
scrollbar-width: none !important;
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
[data-overlayscrollbars-initialize]:not([data-overlayscrollbars-viewport])::-webkit-scrollbar,
|
|
152
|
+
[data-overlayscrollbars-initialize]:not([data-overlayscrollbars-viewport])::-webkit-scrollbar-corner,
|
|
153
|
+
[data-overlayscrollbars-viewport~=scrollbarHidden]::-webkit-scrollbar,
|
|
154
|
+
[data-overlayscrollbars-viewport~=scrollbarHidden]::-webkit-scrollbar-corner,
|
|
155
|
+
html[data-overlayscrollbars-viewport~=scrollbarHidden] > body::-webkit-scrollbar,
|
|
156
|
+
html[data-overlayscrollbars-viewport~=scrollbarHidden] > body::-webkit-scrollbar-corner {
|
|
157
|
+
-webkit-appearance: none !important;
|
|
158
|
+
appearance: none !important;
|
|
159
|
+
display: none !important;
|
|
160
|
+
width: 0 !important;
|
|
161
|
+
height: 0 !important;
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
[data-overlayscrollbars-initialize]:not([data-overlayscrollbars]):not(html):not(body) {
|
|
165
|
+
overflow: auto;
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
/**
|
|
169
|
+
* body element
|
|
170
|
+
*/
|
|
171
|
+
html[data-overlayscrollbars-body] {
|
|
172
|
+
overflow: hidden;
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
html[data-overlayscrollbars-body],
|
|
176
|
+
html[data-overlayscrollbars-body] > body {
|
|
177
|
+
width: 100%;
|
|
178
|
+
height: 100%;
|
|
179
|
+
margin: 0;
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
html[data-overlayscrollbars-body] > body {
|
|
183
|
+
overflow: visible;
|
|
184
|
+
margin: 0;
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
/**
|
|
188
|
+
* structure setup
|
|
189
|
+
*/
|
|
190
|
+
[data-overlayscrollbars] {
|
|
191
|
+
position: relative;
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
[data-overlayscrollbars~=host],
|
|
195
|
+
[data-overlayscrollbars-padding] {
|
|
196
|
+
display: flex;
|
|
197
|
+
align-items: stretch !important;
|
|
198
|
+
flex-direction: row !important;
|
|
199
|
+
flex-wrap: nowrap !important;
|
|
200
|
+
scroll-behavior: auto !important;
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
[data-overlayscrollbars-padding],
|
|
204
|
+
[data-overlayscrollbars-viewport]:not([data-overlayscrollbars]) {
|
|
205
|
+
box-sizing: inherit;
|
|
206
|
+
position: relative;
|
|
207
|
+
flex: auto;
|
|
208
|
+
height: auto;
|
|
209
|
+
width: 100%;
|
|
210
|
+
min-width: 0;
|
|
211
|
+
padding: 0;
|
|
212
|
+
margin: 0;
|
|
213
|
+
border: none;
|
|
214
|
+
z-index: 0;
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
[data-overlayscrollbars-viewport]:not([data-overlayscrollbars]) {
|
|
218
|
+
--os-vaw: 0;
|
|
219
|
+
--os-vah: 0;
|
|
220
|
+
outline: none;
|
|
221
|
+
}
|
|
222
|
+
[data-overlayscrollbars-viewport]:not([data-overlayscrollbars]):focus {
|
|
223
|
+
outline: none;
|
|
224
|
+
}
|
|
225
|
+
[data-overlayscrollbars-viewport][data-overlayscrollbars-viewport~=arrange]::before {
|
|
226
|
+
content: "";
|
|
227
|
+
position: absolute;
|
|
228
|
+
pointer-events: none;
|
|
229
|
+
z-index: -1;
|
|
230
|
+
min-width: 1px;
|
|
231
|
+
min-height: 1px;
|
|
232
|
+
width: var(--os-vaw);
|
|
233
|
+
height: var(--os-vah);
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
/**
|
|
237
|
+
* wrapper elements overflow:
|
|
238
|
+
*/
|
|
239
|
+
[data-overlayscrollbars~=host],
|
|
240
|
+
[data-overlayscrollbars-padding] {
|
|
241
|
+
overflow: hidden !important;
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
[data-overlayscrollbars~=host][data-overlayscrollbars~=noClipping],
|
|
245
|
+
[data-overlayscrollbars-padding~=noClipping] {
|
|
246
|
+
overflow: visible !important;
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
/**
|
|
250
|
+
* viewport overflow:
|
|
251
|
+
*/
|
|
252
|
+
[data-overlayscrollbars-viewport] {
|
|
253
|
+
--os-viewport-overflow-x: hidden;
|
|
254
|
+
--os-viewport-overflow-y: hidden;
|
|
255
|
+
overflow-x: var(--os-viewport-overflow-x);
|
|
256
|
+
overflow-y: var(--os-viewport-overflow-y);
|
|
257
|
+
}
|
|
258
|
+
|
|
259
|
+
[data-overlayscrollbars-viewport~=overflowXVisible] {
|
|
260
|
+
--os-viewport-overflow-x: visible;
|
|
261
|
+
}
|
|
262
|
+
|
|
263
|
+
[data-overlayscrollbars-viewport~=overflowXHidden] {
|
|
264
|
+
--os-viewport-overflow-x: hidden;
|
|
265
|
+
}
|
|
266
|
+
|
|
267
|
+
[data-overlayscrollbars-viewport~=overflowXScroll] {
|
|
268
|
+
--os-viewport-overflow-x: scroll;
|
|
269
|
+
}
|
|
270
|
+
|
|
271
|
+
[data-overlayscrollbars-viewport~=overflowYVisible] {
|
|
272
|
+
--os-viewport-overflow-y: visible;
|
|
273
|
+
}
|
|
274
|
+
|
|
275
|
+
[data-overlayscrollbars-viewport~=overflowYHidden] {
|
|
276
|
+
--os-viewport-overflow-y: hidden;
|
|
277
|
+
}
|
|
278
|
+
|
|
279
|
+
[data-overlayscrollbars-viewport~=overflowYScroll] {
|
|
280
|
+
--os-viewport-overflow-y: scroll;
|
|
281
|
+
}
|
|
282
|
+
|
|
283
|
+
[data-overlayscrollbars-viewport~=overflowImportant] {
|
|
284
|
+
overflow-x: var(--os-viewport-overflow-x) !important;
|
|
285
|
+
overflow-y: var(--os-viewport-overflow-y) !important;
|
|
286
|
+
}
|
|
287
|
+
|
|
288
|
+
/**
|
|
289
|
+
* viewport state modifiers:
|
|
290
|
+
*/
|
|
291
|
+
[data-overlayscrollbars-viewport~=noContent]:not(#osFakeId) {
|
|
292
|
+
font-size: 0 !important;
|
|
293
|
+
line-height: 0 !important;
|
|
294
|
+
}
|
|
295
|
+
|
|
296
|
+
[data-overlayscrollbars-viewport~=noContent]:not(#osFakeId)::before,
|
|
297
|
+
[data-overlayscrollbars-viewport~=noContent]:not(#osFakeId)::after,
|
|
298
|
+
[data-overlayscrollbars-viewport~=noContent]:not(#osFakeId) > *:not(#osFakeId) {
|
|
299
|
+
display: none !important;
|
|
300
|
+
position: absolute !important;
|
|
301
|
+
width: 1px !important;
|
|
302
|
+
height: 1px !important;
|
|
303
|
+
padding: 0 !important;
|
|
304
|
+
margin: -1px !important;
|
|
305
|
+
overflow: hidden !important;
|
|
306
|
+
clip: rect(0, 0, 0, 0) !important;
|
|
307
|
+
white-space: nowrap !important;
|
|
308
|
+
border-width: 0 !important;
|
|
309
|
+
}
|
|
310
|
+
|
|
311
|
+
[data-overlayscrollbars-viewport~=measuring],
|
|
312
|
+
[data-overlayscrollbars-viewport~=scrolling] {
|
|
313
|
+
scroll-behavior: auto !important;
|
|
314
|
+
scroll-snap-type: none !important;
|
|
315
|
+
}
|
|
316
|
+
|
|
317
|
+
[data-overlayscrollbars-viewport~=measuring][data-overlayscrollbars-viewport~=overflowXVisible] {
|
|
318
|
+
overflow-x: hidden !important;
|
|
319
|
+
}
|
|
320
|
+
|
|
321
|
+
[data-overlayscrollbars-viewport~=measuring][data-overlayscrollbars-viewport~=overflowYVisible] {
|
|
322
|
+
overflow-y: hidden !important;
|
|
323
|
+
}
|
|
324
|
+
|
|
325
|
+
/**
|
|
326
|
+
* content element:
|
|
327
|
+
*/
|
|
328
|
+
[data-overlayscrollbars-content] {
|
|
329
|
+
box-sizing: inherit;
|
|
330
|
+
}
|
|
331
|
+
|
|
332
|
+
/**
|
|
333
|
+
* Display contents to bridge any flickering during deferred initialization.
|
|
334
|
+
*/
|
|
335
|
+
[data-overlayscrollbars-contents]:not(#osFakeId):not([data-overlayscrollbars-padding]):not([data-overlayscrollbars-viewport]):not([data-overlayscrollbars-content]) {
|
|
336
|
+
display: contents;
|
|
337
|
+
}
|
|
338
|
+
|
|
339
|
+
/**
|
|
340
|
+
* optional & experimental grid mode
|
|
341
|
+
*/
|
|
342
|
+
[data-overlayscrollbars-grid],
|
|
343
|
+
[data-overlayscrollbars-grid] [data-overlayscrollbars-padding] {
|
|
344
|
+
display: grid;
|
|
345
|
+
grid-template: 1fr/1fr;
|
|
346
|
+
}
|
|
347
|
+
|
|
348
|
+
[data-overlayscrollbars-grid] > [data-overlayscrollbars-padding],
|
|
349
|
+
[data-overlayscrollbars-grid] > [data-overlayscrollbars-viewport],
|
|
350
|
+
[data-overlayscrollbars-grid] > [data-overlayscrollbars-padding] > [data-overlayscrollbars-viewport] {
|
|
351
|
+
height: auto !important;
|
|
352
|
+
width: auto !important;
|
|
353
|
+
}
|
|
354
|
+
|
|
355
|
+
@property --os-scroll-percent {
|
|
356
|
+
syntax: "<number>";
|
|
357
|
+
inherits: true;
|
|
358
|
+
initial-value: 0;
|
|
359
|
+
}
|
|
360
|
+
@property --os-viewport-percent {
|
|
361
|
+
syntax: "<number>";
|
|
362
|
+
inherits: true;
|
|
363
|
+
initial-value: 0;
|
|
364
|
+
}
|
|
365
|
+
.os-scrollbar {
|
|
366
|
+
--os-viewport-percent: 0;
|
|
367
|
+
--os-scroll-percent: 0;
|
|
368
|
+
--os-scroll-direction: 0;
|
|
369
|
+
--os-scroll-percent-directional: calc(
|
|
370
|
+
var(--os-scroll-percent) - (var(--os-scroll-percent) + (1 - var(--os-scroll-percent)) * -1) *
|
|
371
|
+
var(--os-scroll-direction)
|
|
372
|
+
);
|
|
373
|
+
}
|
|
374
|
+
|
|
375
|
+
.os-scrollbar {
|
|
376
|
+
contain: size layout;
|
|
377
|
+
contain: size layout style;
|
|
378
|
+
transition: opacity 0.15s, visibility 0.15s, top 0.15s, right 0.15s, bottom 0.15s, left 0.15s;
|
|
379
|
+
pointer-events: none;
|
|
380
|
+
position: absolute;
|
|
381
|
+
opacity: 0;
|
|
382
|
+
visibility: hidden;
|
|
383
|
+
}
|
|
384
|
+
|
|
385
|
+
body > .os-scrollbar {
|
|
386
|
+
position: fixed;
|
|
387
|
+
z-index: 99999;
|
|
388
|
+
}
|
|
389
|
+
|
|
390
|
+
.os-scrollbar-transitionless {
|
|
391
|
+
transition: none !important;
|
|
392
|
+
}
|
|
393
|
+
|
|
394
|
+
.os-scrollbar-track {
|
|
395
|
+
position: relative;
|
|
396
|
+
padding: 0 !important;
|
|
397
|
+
border: none !important;
|
|
398
|
+
}
|
|
399
|
+
|
|
400
|
+
.os-scrollbar-handle {
|
|
401
|
+
position: absolute;
|
|
402
|
+
}
|
|
403
|
+
|
|
404
|
+
.os-scrollbar-track,
|
|
405
|
+
.os-scrollbar-handle {
|
|
406
|
+
pointer-events: none;
|
|
407
|
+
width: 100%;
|
|
408
|
+
height: 100%;
|
|
409
|
+
}
|
|
410
|
+
|
|
411
|
+
.os-scrollbar.os-scrollbar-track-interactive .os-scrollbar-track,
|
|
412
|
+
.os-scrollbar.os-scrollbar-handle-interactive .os-scrollbar-handle {
|
|
413
|
+
pointer-events: auto;
|
|
414
|
+
touch-action: none;
|
|
415
|
+
}
|
|
416
|
+
|
|
417
|
+
.os-scrollbar-horizontal {
|
|
418
|
+
bottom: 0;
|
|
419
|
+
left: 0;
|
|
420
|
+
}
|
|
421
|
+
|
|
422
|
+
.os-scrollbar-vertical {
|
|
423
|
+
top: 0;
|
|
424
|
+
right: 0;
|
|
425
|
+
}
|
|
426
|
+
|
|
427
|
+
.os-scrollbar-rtl.os-scrollbar-horizontal {
|
|
428
|
+
right: 0;
|
|
429
|
+
}
|
|
430
|
+
|
|
431
|
+
.os-scrollbar-rtl.os-scrollbar-vertical {
|
|
432
|
+
right: auto;
|
|
433
|
+
left: 0;
|
|
434
|
+
}
|
|
435
|
+
|
|
436
|
+
.os-scrollbar-visible {
|
|
437
|
+
opacity: 1;
|
|
438
|
+
visibility: visible;
|
|
439
|
+
}
|
|
440
|
+
|
|
441
|
+
.os-scrollbar-auto-hide.os-scrollbar-auto-hide-hidden {
|
|
442
|
+
opacity: 0;
|
|
443
|
+
visibility: hidden;
|
|
444
|
+
}
|
|
445
|
+
|
|
446
|
+
.os-scrollbar-interaction.os-scrollbar-visible {
|
|
447
|
+
opacity: 1;
|
|
448
|
+
visibility: visible;
|
|
449
|
+
}
|
|
450
|
+
|
|
451
|
+
.os-scrollbar-unusable,
|
|
452
|
+
.os-scrollbar-unusable *,
|
|
453
|
+
.os-scrollbar-wheel,
|
|
454
|
+
.os-scrollbar-wheel * {
|
|
455
|
+
pointer-events: none !important;
|
|
456
|
+
}
|
|
457
|
+
|
|
458
|
+
.os-scrollbar-unusable .os-scrollbar-handle {
|
|
459
|
+
opacity: 0 !important;
|
|
460
|
+
transition: none !important;
|
|
461
|
+
}
|
|
462
|
+
|
|
463
|
+
.os-scrollbar-horizontal .os-scrollbar-handle {
|
|
464
|
+
bottom: 0;
|
|
465
|
+
left: calc(var(--os-scroll-percent-directional) * 100%);
|
|
466
|
+
transform: translateX(calc(var(--os-scroll-percent-directional) * -100%));
|
|
467
|
+
width: calc(var(--os-viewport-percent) * 100%);
|
|
468
|
+
}
|
|
469
|
+
|
|
470
|
+
.os-scrollbar-vertical .os-scrollbar-handle {
|
|
471
|
+
right: 0;
|
|
472
|
+
top: calc(var(--os-scroll-percent-directional) * 100%);
|
|
473
|
+
transform: translateY(calc(var(--os-scroll-percent-directional) * -100%));
|
|
474
|
+
height: calc(var(--os-viewport-percent) * 100%);
|
|
475
|
+
}
|
|
476
|
+
|
|
477
|
+
@supports (container-type: size) {
|
|
478
|
+
.os-scrollbar-track {
|
|
479
|
+
container-type: size;
|
|
480
|
+
}
|
|
481
|
+
.os-scrollbar-horizontal .os-scrollbar-handle {
|
|
482
|
+
left: auto;
|
|
483
|
+
transform: translateX(calc(var(--os-scroll-percent-directional) * 100cqw + var(--os-scroll-percent-directional) * -100%));
|
|
484
|
+
}
|
|
485
|
+
.os-scrollbar-vertical .os-scrollbar-handle {
|
|
486
|
+
top: auto;
|
|
487
|
+
transform: translateY(calc(var(--os-scroll-percent-directional) * 100cqh + var(--os-scroll-percent-directional) * -100%));
|
|
488
|
+
}
|
|
489
|
+
.os-scrollbar-rtl.os-scrollbar-horizontal .os-scrollbar-handle {
|
|
490
|
+
right: auto;
|
|
491
|
+
left: 0;
|
|
492
|
+
}
|
|
493
|
+
}
|
|
494
|
+
.os-scrollbar-rtl.os-scrollbar-vertical .os-scrollbar-handle {
|
|
495
|
+
right: auto;
|
|
496
|
+
left: 0;
|
|
497
|
+
}
|
|
498
|
+
|
|
499
|
+
.os-scrollbar.os-scrollbar-horizontal.os-scrollbar-cornerless,
|
|
500
|
+
.os-scrollbar.os-scrollbar-horizontal.os-scrollbar-cornerless.os-scrollbar-rtl {
|
|
501
|
+
left: 0;
|
|
502
|
+
right: 0;
|
|
503
|
+
}
|
|
504
|
+
|
|
505
|
+
.os-scrollbar.os-scrollbar-vertical.os-scrollbar-cornerless,
|
|
506
|
+
.os-scrollbar.os-scrollbar-vertical.os-scrollbar-cornerless.os-scrollbar-rtl {
|
|
507
|
+
top: 0;
|
|
508
|
+
bottom: 0;
|
|
509
|
+
}
|
|
510
|
+
|
|
511
|
+
@media print {
|
|
512
|
+
.os-scrollbar {
|
|
513
|
+
display: none;
|
|
514
|
+
}
|
|
515
|
+
}
|
|
516
|
+
.os-scrollbar {
|
|
517
|
+
--os-size: 0;
|
|
518
|
+
--os-padding-perpendicular: 0;
|
|
519
|
+
--os-padding-axis: 0;
|
|
520
|
+
--os-track-border-radius: 0;
|
|
521
|
+
--os-track-bg: none;
|
|
522
|
+
--os-track-bg-hover: none;
|
|
523
|
+
--os-track-bg-active: none;
|
|
524
|
+
--os-track-border: none;
|
|
525
|
+
--os-track-border-hover: none;
|
|
526
|
+
--os-track-border-active: none;
|
|
527
|
+
--os-handle-border-radius: 0;
|
|
528
|
+
--os-handle-bg: none;
|
|
529
|
+
--os-handle-bg-hover: none;
|
|
530
|
+
--os-handle-bg-active: none;
|
|
531
|
+
--os-handle-border: none;
|
|
532
|
+
--os-handle-border-hover: none;
|
|
533
|
+
--os-handle-border-active: none;
|
|
534
|
+
--os-handle-min-size: 33px;
|
|
535
|
+
--os-handle-max-size: none;
|
|
536
|
+
--os-handle-perpendicular-size: 100%;
|
|
537
|
+
--os-handle-perpendicular-size-hover: 100%;
|
|
538
|
+
--os-handle-perpendicular-size-active: 100%;
|
|
539
|
+
--os-handle-interactive-area-offset: 0;
|
|
540
|
+
}
|
|
541
|
+
|
|
542
|
+
.os-scrollbar-track {
|
|
543
|
+
border: var(--os-track-border);
|
|
544
|
+
border-radius: var(--os-track-border-radius);
|
|
545
|
+
background: var(--os-track-bg);
|
|
546
|
+
transition: opacity 0.15s, background-color 0.15s, border-color 0.15s;
|
|
547
|
+
}
|
|
548
|
+
.os-scrollbar-track:hover {
|
|
549
|
+
border: var(--os-track-border-hover);
|
|
550
|
+
background: var(--os-track-bg-hover);
|
|
551
|
+
}
|
|
552
|
+
.os-scrollbar-track:active {
|
|
553
|
+
border: var(--os-track-border-active);
|
|
554
|
+
background: var(--os-track-bg-active);
|
|
555
|
+
}
|
|
556
|
+
|
|
557
|
+
.os-scrollbar-handle {
|
|
558
|
+
border: var(--os-handle-border);
|
|
559
|
+
border-radius: var(--os-handle-border-radius);
|
|
560
|
+
background: var(--os-handle-bg);
|
|
561
|
+
}
|
|
562
|
+
.os-scrollbar-handle:hover {
|
|
563
|
+
border: var(--os-handle-border-hover);
|
|
564
|
+
background: var(--os-handle-bg-hover);
|
|
565
|
+
}
|
|
566
|
+
.os-scrollbar-handle:active {
|
|
567
|
+
border: var(--os-handle-border-active);
|
|
568
|
+
background: var(--os-handle-bg-active);
|
|
569
|
+
}
|
|
570
|
+
|
|
571
|
+
.os-scrollbar-track:before,
|
|
572
|
+
.os-scrollbar-handle:before {
|
|
573
|
+
content: "";
|
|
574
|
+
position: absolute;
|
|
575
|
+
left: 0;
|
|
576
|
+
right: 0;
|
|
577
|
+
top: 0;
|
|
578
|
+
bottom: 0;
|
|
579
|
+
display: block;
|
|
580
|
+
}
|
|
581
|
+
|
|
582
|
+
.os-scrollbar-horizontal {
|
|
583
|
+
padding: var(--os-padding-perpendicular) var(--os-padding-axis);
|
|
584
|
+
right: var(--os-size);
|
|
585
|
+
height: var(--os-size);
|
|
586
|
+
}
|
|
587
|
+
.os-scrollbar-horizontal.os-scrollbar-rtl {
|
|
588
|
+
left: var(--os-size);
|
|
589
|
+
right: 0;
|
|
590
|
+
}
|
|
591
|
+
.os-scrollbar-horizontal .os-scrollbar-track:before {
|
|
592
|
+
top: calc(var(--os-padding-perpendicular) * -1);
|
|
593
|
+
bottom: calc(var(--os-padding-perpendicular) * -1);
|
|
594
|
+
}
|
|
595
|
+
.os-scrollbar-horizontal .os-scrollbar-handle {
|
|
596
|
+
min-width: var(--os-handle-min-size);
|
|
597
|
+
max-width: var(--os-handle-max-size);
|
|
598
|
+
height: var(--os-handle-perpendicular-size);
|
|
599
|
+
transition: opacity 0.15s, background-color 0.15s, border-color 0.15s, height 0.15s;
|
|
600
|
+
}
|
|
601
|
+
.os-scrollbar-horizontal .os-scrollbar-handle:before {
|
|
602
|
+
top: calc((var(--os-padding-perpendicular) + var(--os-handle-interactive-area-offset)) * -1);
|
|
603
|
+
bottom: calc(var(--os-padding-perpendicular) * -1);
|
|
604
|
+
}
|
|
605
|
+
.os-scrollbar-horizontal:hover .os-scrollbar-handle {
|
|
606
|
+
height: var(--os-handle-perpendicular-size-hover);
|
|
607
|
+
}
|
|
608
|
+
.os-scrollbar-horizontal:active .os-scrollbar-handle {
|
|
609
|
+
height: var(--os-handle-perpendicular-size-active);
|
|
610
|
+
}
|
|
611
|
+
|
|
612
|
+
.os-scrollbar-vertical {
|
|
613
|
+
padding: var(--os-padding-axis) var(--os-padding-perpendicular);
|
|
614
|
+
bottom: var(--os-size);
|
|
615
|
+
width: var(--os-size);
|
|
616
|
+
}
|
|
617
|
+
.os-scrollbar-vertical .os-scrollbar-track:before {
|
|
618
|
+
left: calc(var(--os-padding-perpendicular) * -1);
|
|
619
|
+
right: calc(var(--os-padding-perpendicular) * -1);
|
|
620
|
+
}
|
|
621
|
+
.os-scrollbar-vertical .os-scrollbar-handle {
|
|
622
|
+
min-height: var(--os-handle-min-size);
|
|
623
|
+
max-height: var(--os-handle-max-size);
|
|
624
|
+
width: var(--os-handle-perpendicular-size);
|
|
625
|
+
transition: opacity 0.15s, background-color 0.15s, border-color 0.15s, width 0.15s;
|
|
626
|
+
}
|
|
627
|
+
.os-scrollbar-vertical .os-scrollbar-handle:before {
|
|
628
|
+
left: calc((var(--os-padding-perpendicular) + var(--os-handle-interactive-area-offset)) * -1);
|
|
629
|
+
right: calc(var(--os-padding-perpendicular) * -1);
|
|
630
|
+
}
|
|
631
|
+
.os-scrollbar-vertical.os-scrollbar-rtl .os-scrollbar-handle:before {
|
|
632
|
+
right: calc((var(--os-padding-perpendicular) + var(--os-handle-interactive-area-offset)) * -1);
|
|
633
|
+
left: calc(var(--os-padding-perpendicular) * -1);
|
|
634
|
+
}
|
|
635
|
+
.os-scrollbar-vertical:hover .os-scrollbar-handle {
|
|
636
|
+
width: var(--os-handle-perpendicular-size-hover);
|
|
637
|
+
}
|
|
638
|
+
.os-scrollbar-vertical:active .os-scrollbar-handle {
|
|
639
|
+
width: var(--os-handle-perpendicular-size-active);
|
|
640
|
+
}
|
|
641
|
+
|
|
642
|
+
/* NONE THEME: */
|
|
643
|
+
[data-overlayscrollbars-viewport~=measuring] > .os-scrollbar,
|
|
644
|
+
.os-theme-none.os-scrollbar {
|
|
645
|
+
display: none !important;
|
|
646
|
+
}
|
|
647
|
+
|
|
648
|
+
/* DARK & LIGHT THEME: */
|
|
649
|
+
.os-theme-dark,
|
|
650
|
+
.os-theme-light {
|
|
651
|
+
box-sizing: border-box;
|
|
652
|
+
--os-size: 10px;
|
|
653
|
+
--os-padding-perpendicular: 2px;
|
|
654
|
+
--os-padding-axis: 2px;
|
|
655
|
+
--os-track-border-radius: 10px;
|
|
656
|
+
--os-handle-interactive-area-offset: 4px;
|
|
657
|
+
--os-handle-border-radius: 10px;
|
|
658
|
+
}
|
|
659
|
+
|
|
660
|
+
.os-theme-dark {
|
|
661
|
+
--os-handle-bg: rgba(0, 0, 0, 0.44);
|
|
662
|
+
--os-handle-bg-hover: rgba(0, 0, 0, 0.55);
|
|
663
|
+
--os-handle-bg-active: rgba(0, 0, 0, 0.66);
|
|
664
|
+
}
|
|
665
|
+
|
|
666
|
+
.os-theme-light {
|
|
667
|
+
--os-handle-bg: rgba(255, 255, 255, 0.44);
|
|
668
|
+
--os-handle-bg-hover: rgba(255, 255, 255, 0.55);
|
|
669
|
+
--os-handle-bg-active: rgba(255, 255, 255, 0.66);
|
|
670
|
+
}/* OverlayScrollbars global theme hook. */
|
|
671
|
+
.os-theme-founder {
|
|
672
|
+
--os-size: 6px;
|
|
673
|
+
--os-padding-axis: 2px;
|
|
674
|
+
--os-padding-perpendicular: 0px;
|
|
675
|
+
--os-track-bg: rgba(148, 163, 184, 0.22);
|
|
676
|
+
--os-track-bg-hover: rgba(148, 163, 184, 0.28);
|
|
677
|
+
--os-track-bg-active: rgba(148, 163, 184, 0.34);
|
|
678
|
+
--os-handle-bg: rgba(71, 85, 105, 0.62);
|
|
679
|
+
--os-handle-bg-hover: rgba(71, 85, 105, 0.8);
|
|
680
|
+
--os-handle-bg-active: rgba(15, 23, 42, 0.9);
|
|
681
|
+
--os-handle-border-radius: 999px;
|
|
682
|
+
}
|
|
683
|
+
|
|
684
|
+
.os-scrollbar.os-theme-founder {
|
|
685
|
+
--os-size: 6px !important;
|
|
686
|
+
--os-padding-axis: 2px !important;
|
|
687
|
+
--os-padding-perpendicular: 0px !important;
|
|
688
|
+
--os-track-bg: rgba(148, 163, 184, 0.25) !important;
|
|
689
|
+
--os-track-bg-hover: rgba(148, 163, 184, 0.3) !important;
|
|
690
|
+
--os-track-bg-active: rgba(148, 163, 184, 0.36) !important;
|
|
691
|
+
--os-handle-bg: #FFBCA6 !important;
|
|
692
|
+
--os-handle-bg-hover: #FF8C66 !important;
|
|
693
|
+
--os-handle-bg-active: #FF6633 !important;
|
|
694
|
+
--os-handle-border-radius: 999px !important;
|
|
695
|
+
}
|
|
696
|
+
|
|
697
|
+
.os-scrollbar.os-theme-founder .os-scrollbar-track {
|
|
698
|
+
background: rgba(148, 163, 184, 0.25) !important;
|
|
699
|
+
}
|
|
700
|
+
|
|
701
|
+
.os-scrollbar.os-theme-founder .os-scrollbar-handle {
|
|
702
|
+
background: #FFBCA6 !important;
|
|
703
|
+
opacity: 1 !important;
|
|
704
|
+
--os-handle-border-radius: 999px !important;
|
|
705
|
+
}
|
|
706
|
+
|
|
707
|
+
|
|
708
|
+
.os-scrollbar-handle{
|
|
709
|
+
--os-handle-border-radius: 999px !important;
|
|
710
|
+
background-color: #FFBCA6;
|
|
711
|
+
opacity: 0.5;
|
|
712
|
+
}
|
|
713
|
+
|
|
714
|
+
.os-scrollbar-track {
|
|
715
|
+
|
|
716
|
+
}
|
|
717
|
+
|
|
718
|
+
:is(.launchchair-scrollbar, .chakra-textarea, .overlay-textarea) {
|
|
719
|
+
--lc-scrollbar-thumb: var(--chakra-colors-brand-500, #FF4E00);
|
|
720
|
+
--lc-scrollbar-thumb-hover: var(--chakra-colors-brand-600, #D63B00);
|
|
721
|
+
scrollbar-width: thin;
|
|
722
|
+
scrollbar-color: var(--lc-scrollbar-thumb) transparent;
|
|
723
|
+
scrollbar-gutter: stable;
|
|
724
|
+
}
|
|
725
|
+
|
|
726
|
+
.launchchair-scrollbar {
|
|
727
|
+
--lc-scrollbar-size: 6px;
|
|
728
|
+
}
|
|
729
|
+
|
|
730
|
+
.launchchair-scrollbar--green {
|
|
731
|
+
--lc-scrollbar-thumb: #DFFF1F;
|
|
732
|
+
--lc-scrollbar-thumb-hover: #E7FF52;
|
|
733
|
+
}
|
|
734
|
+
|
|
735
|
+
/* Explicit dimensions keep Chrome/Safari thumbs visible between scrolls.
|
|
736
|
+
Reset the standard properties so they don't override these custom styles. */
|
|
737
|
+
@supports selector(::-webkit-scrollbar) {
|
|
738
|
+
:is(.launchchair-scrollbar, .chakra-textarea, .overlay-textarea) {
|
|
739
|
+
scrollbar-width: auto;
|
|
740
|
+
scrollbar-color: auto;
|
|
741
|
+
}
|
|
742
|
+
}
|
|
743
|
+
|
|
744
|
+
:is(.launchchair-scrollbar, .chakra-textarea, .overlay-textarea)::-webkit-scrollbar {
|
|
745
|
+
width: var(--lc-scrollbar-size, 8px);
|
|
746
|
+
height: var(--lc-scrollbar-size, 8px);
|
|
747
|
+
background: transparent;
|
|
748
|
+
}
|
|
749
|
+
|
|
750
|
+
:is(.launchchair-scrollbar, .chakra-textarea, .overlay-textarea)::-webkit-scrollbar-track {
|
|
751
|
+
background: transparent;
|
|
752
|
+
}
|
|
753
|
+
|
|
754
|
+
.launchchair-comparison-scroll::-webkit-scrollbar-track:vertical {
|
|
755
|
+
margin-top: calc(var(--comparison-header-height, 88px) + 8px);
|
|
756
|
+
margin-bottom: 8px;
|
|
757
|
+
}
|
|
758
|
+
|
|
759
|
+
.launchchair-comparison-scroll::-webkit-scrollbar-track:horizontal {
|
|
760
|
+
margin-left: 24px;
|
|
761
|
+
margin-right: 8px;
|
|
762
|
+
}
|
|
763
|
+
|
|
764
|
+
:is(.launchchair-scrollbar, .chakra-textarea, .overlay-textarea)::-webkit-scrollbar-thumb {
|
|
765
|
+
background: var(--lc-scrollbar-thumb);
|
|
766
|
+
border-radius: 999px;
|
|
767
|
+
border: none;
|
|
768
|
+
}
|
|
769
|
+
|
|
770
|
+
:is(.launchchair-scrollbar, .chakra-textarea, .overlay-textarea)::-webkit-scrollbar-thumb:hover {
|
|
771
|
+
background: var(--lc-scrollbar-thumb-hover);
|
|
772
|
+
}
|
|
773
|
+
|
|
774
|
+
:is(.launchchair-scrollbar, .chakra-textarea, .overlay-textarea)::-webkit-scrollbar-button {
|
|
775
|
+
display: none;
|
|
776
|
+
}
|
|
777
|
+
|
|
778
|
+
:is(.launchchair-scrollbar, .chakra-textarea, .overlay-textarea)::-webkit-scrollbar-corner {
|
|
779
|
+
background: transparent;
|
|
780
|
+
}
|
|
781
|
+
html,body{margin:0;background:transparent!important}#launchchair-widget-root{width:100%}</style></head><body><div id="launchchair-widget-root"></div><script>"use strict";(()=>{var aK=Object.create;var uh=Object.defineProperty;var sK=Object.getOwnPropertyDescriptor;var iK=Object.getOwnPropertyNames;var lK=Object.getPrototypeOf,cK=Object.prototype.hasOwnProperty;var uK=(e,t,o)=>t in e?uh(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o;var pv=(e,t)=>()=>(e&&(t=e(e=0)),t);var _n=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),R9=(e,t)=>{for(var o in t)uh(e,o,{get:t[o],enumerable:!0})},_9=(e,t,o,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of iK(t))!cK.call(e,n)&&n!==o&&uh(e,n,{get:()=>t[n],enumerable:!(r=sK(t,n))||r.enumerable});return e};var k=(e,t,o)=>(o=e!=null?aK(lK(e)):{},_9(t||!e||!e.__esModule?uh(o,"default",{value:e,enumerable:!0}):o,e)),mK=e=>_9(uh({},"__esModule",{value:!0}),e);var rt=(e,t,o)=>uK(e,typeof t!="symbol"?t+"":t,o);var j9=_n(lo=>{"use strict";/**
|
|
782
|
+
* @license React
|
|
783
|
+
* scheduler.production.js
|
|
784
|
+
*
|
|
785
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
786
|
+
*
|
|
787
|
+
* This source code is licensed under the MIT license found in the
|
|
788
|
+
* LICENSE file in the root directory of this source tree.
|
|
789
|
+
*/function yv(e,t){var o=e.length;e.push(t);e:for(;0<o;){var r=o-1>>>1,n=e[r];if(0<ab(n,t))e[r]=t,e[o]=n,o=r;else break e}}function ui(e){return e.length===0?null:e[0]}function ib(e){if(e.length===0)return null;var t=e[0],o=e.pop();if(o!==t){e[0]=o;e:for(var r=0,n=e.length,a=n>>>1;r<a;){var s=2*(r+1)-1,i=e[s],l=s+1,c=e[l];if(0>ab(i,o))l<n&&0>ab(c,i)?(e[r]=c,e[l]=o,r=l):(e[r]=i,e[s]=o,r=s);else if(l<n&&0>ab(c,o))e[r]=c,e[l]=o,r=l;else break e}}return t}function ab(e,t){var o=e.sortIndex-t.sortIndex;return o!==0?o:e.id-t.id}lo.unstable_now=void 0;typeof performance=="object"&&typeof performance.now=="function"?(F9=performance,lo.unstable_now=function(){return F9.now()}):(hv=Date,H9=hv.now(),lo.unstable_now=function(){return hv.now()-H9});var F9,hv,H9,$i=[],cc=[],fK=1,ts=null,kn=3,Sv=!1,mh=!1,fh=!1,xv=!1,N9=typeof setTimeout=="function"?setTimeout:null,z9=typeof clearTimeout=="function"?clearTimeout:null,O9=typeof setImmediate<"u"?setImmediate:null;function sb(e){for(var t=ui(cc);t!==null;){if(t.callback===null)ib(cc);else if(t.startTime<=e)ib(cc),t.sortIndex=t.expirationTime,yv($i,t);else break;t=ui(cc)}}function Iv(e){if(fh=!1,sb(e),!mh)if(ui($i)!==null)mh=!0,Pf||(Pf=!0,Lf());else{var t=ui(cc);t!==null&&vv(Iv,t.startTime-e)}}var Pf=!1,dh=-1,W9=5,U9=-1;function Z9(){return xv?!0:!(lo.unstable_now()-U9<W9)}function gv(){if(xv=!1,Pf){var e=lo.unstable_now();U9=e;var t=!0;try{e:{mh=!1,fh&&(fh=!1,z9(dh),dh=-1),Sv=!0;var o=kn;try{t:{for(sb(e),ts=ui($i);ts!==null&&!(ts.expirationTime>e&&Z9());){var r=ts.callback;if(typeof r=="function"){ts.callback=null,kn=ts.priorityLevel;var n=r(ts.expirationTime<=e);if(e=lo.unstable_now(),typeof n=="function"){ts.callback=n,sb(e),t=!0;break t}ts===ui($i)&&ib($i),sb(e)}else ib($i);ts=ui($i)}if(ts!==null)t=!0;else{var a=ui(cc);a!==null&&vv(Iv,a.startTime-e),t=!1}}break e}finally{ts=null,kn=o,Sv=!1}t=void 0}}finally{t?Lf():Pf=!1}}}var Lf;typeof O9=="function"?Lf=function(){O9(gv)}:typeof MessageChannel<"u"?(bv=new MessageChannel,V9=bv.port2,bv.port1.onmessage=gv,Lf=function(){V9.postMessage(null)}):Lf=function(){N9(gv,0)};var bv,V9;function vv(e,t){dh=N9(function(){e(lo.unstable_now())},t)}lo.unstable_IdlePriority=5;lo.unstable_ImmediatePriority=1;lo.unstable_LowPriority=4;lo.unstable_NormalPriority=3;lo.unstable_Profiling=null;lo.unstable_UserBlockingPriority=2;lo.unstable_cancelCallback=function(e){e.callback=null};lo.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):W9=0<e?Math.floor(1e3/e):5};lo.unstable_getCurrentPriorityLevel=function(){return kn};lo.unstable_next=function(e){switch(kn){case 1:case 2:case 3:var t=3;break;default:t=kn}var o=kn;kn=t;try{return e()}finally{kn=o}};lo.unstable_requestPaint=function(){xv=!0};lo.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var o=kn;kn=e;try{return t()}finally{kn=o}};lo.unstable_scheduleCallback=function(e,t,o){var r=lo.unstable_now();switch(typeof o=="object"&&o!==null?(o=o.delay,o=typeof o=="number"&&0<o?r+o:r):o=r,e){case 1:var n=-1;break;case 2:n=250;break;case 5:n=1073741823;break;case 4:n=1e4;break;default:n=5e3}return n=o+n,e={id:fK++,callback:t,priorityLevel:e,startTime:o,expirationTime:n,sortIndex:-1},o>r?(e.sortIndex=o,yv(cc,e),ui($i)===null&&e===ui(cc)&&(fh?(z9(dh),dh=-1):fh=!0,vv(Iv,o-r))):(e.sortIndex=n,yv($i,e),mh||Sv||(mh=!0,Pf||(Pf=!0,Lf()))),e};lo.unstable_shouldYield=Z9;lo.unstable_wrapCallback=function(e){var t=kn;return function(){var o=kn;kn=t;try{return e.apply(this,arguments)}finally{kn=o}}}});var $9=_n((Tbe,G9)=>{"use strict";G9.exports=j9()});var n7=_n(Ge=>{"use strict";/**
|
|
790
|
+
* @license React
|
|
791
|
+
* react.production.js
|
|
792
|
+
*
|
|
793
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
794
|
+
*
|
|
795
|
+
* This source code is licensed under the MIT license found in the
|
|
796
|
+
* LICENSE file in the root directory of this source tree.
|
|
797
|
+
*/var Tv=Symbol.for("react.transitional.element"),dK=Symbol.for("react.portal"),pK=Symbol.for("react.fragment"),hK=Symbol.for("react.strict_mode"),gK=Symbol.for("react.profiler"),bK=Symbol.for("react.consumer"),yK=Symbol.for("react.context"),SK=Symbol.for("react.forward_ref"),xK=Symbol.for("react.suspense"),IK=Symbol.for("react.memo"),Q9=Symbol.for("react.lazy"),vK=Symbol.for("react.activity"),q9=Symbol.iterator;function CK(e){return e===null||typeof e!="object"?null:(e=q9&&e[q9]||e["@@iterator"],typeof e=="function"?e:null)}var J9={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},e7=Object.assign,t7={};function Bf(e,t,o){this.props=e,this.context=t,this.refs=t7,this.updater=o||J9}Bf.prototype.isReactComponent={};Bf.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};Bf.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function o7(){}o7.prototype=Bf.prototype;function Av(e,t,o){this.props=e,this.context=t,this.refs=t7,this.updater=o||J9}var kv=Av.prototype=new o7;kv.constructor=Av;e7(kv,Bf.prototype);kv.isPureReactComponent=!0;var X9=Array.isArray;function wv(){}var Jt={H:null,A:null,T:null,S:null},r7=Object.prototype.hasOwnProperty;function Mv(e,t,o){var r=o.ref;return{$$typeof:Tv,type:e,key:t,ref:r!==void 0?r:null,props:o}}function wK(e,t){return Mv(e.type,t,e.props)}function Lv(e){return typeof e=="object"&&e!==null&&e.$$typeof===Tv}function TK(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(o){return t[o]})}var Y9=/\/+/g;function Cv(e,t){return typeof e=="object"&&e!==null&&e.key!=null?TK(""+e.key):t.toString(36)}function AK(e){switch(e.status){case"fulfilled":return e.value;case"rejected":throw e.reason;default:switch(typeof e.status=="string"?e.then(wv,wv):(e.status="pending",e.then(function(t){e.status==="pending"&&(e.status="fulfilled",e.value=t)},function(t){e.status==="pending"&&(e.status="rejected",e.reason=t)})),e.status){case"fulfilled":return e.value;case"rejected":throw e.reason}}throw e}function Ef(e,t,o,r,n){var a=typeof e;(a==="undefined"||a==="boolean")&&(e=null);var s=!1;if(e===null)s=!0;else switch(a){case"bigint":case"string":case"number":s=!0;break;case"object":switch(e.$$typeof){case Tv:case dK:s=!0;break;case Q9:return s=e._init,Ef(s(e._payload),t,o,r,n)}}if(s)return n=n(e),s=r===""?"."+Cv(e,0):r,X9(n)?(o="",s!=null&&(o=s.replace(Y9,"$&/")+"/"),Ef(n,t,o,"",function(c){return c})):n!=null&&(Lv(n)&&(n=wK(n,o+(n.key==null||e&&e.key===n.key?"":(""+n.key).replace(Y9,"$&/")+"/")+s)),t.push(n)),1;s=0;var i=r===""?".":r+":";if(X9(e))for(var l=0;l<e.length;l++)r=e[l],a=i+Cv(r,l),s+=Ef(r,t,o,a,n);else if(l=CK(e),typeof l=="function")for(e=l.call(e),l=0;!(r=e.next()).done;)r=r.value,a=i+Cv(r,l++),s+=Ef(r,t,o,a,n);else if(a==="object"){if(typeof e.then=="function")return Ef(AK(e),t,o,r,n);throw t=String(e),Error("Objects are not valid as a React child (found: "+(t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.")}return s}function lb(e,t,o){if(e==null)return e;var r=[],n=0;return Ef(e,r,"","",function(a){return t.call(o,a,n++)}),r}function kK(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(o){(e._status===0||e._status===-1)&&(e._status=1,e._result=o)},function(o){(e._status===0||e._status===-1)&&(e._status=2,e._result=o)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var K9=typeof reportError=="function"?reportError:function(e){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof e=="object"&&e!==null&&typeof e.message=="string"?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",e);return}console.error(e)},MK={map:lb,forEach:function(e,t,o){lb(e,function(){t.apply(this,arguments)},o)},count:function(e){var t=0;return lb(e,function(){t++}),t},toArray:function(e){return lb(e,function(t){return t})||[]},only:function(e){if(!Lv(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};Ge.Activity=vK;Ge.Children=MK;Ge.Component=Bf;Ge.Fragment=pK;Ge.Profiler=gK;Ge.PureComponent=Av;Ge.StrictMode=hK;Ge.Suspense=xK;Ge.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=Jt;Ge.__COMPILER_RUNTIME={__proto__:null,c:function(e){return Jt.H.useMemoCache(e)}};Ge.cache=function(e){return function(){return e.apply(null,arguments)}};Ge.cacheSignal=function(){return null};Ge.cloneElement=function(e,t,o){if(e==null)throw Error("The argument must be a React element, but you passed "+e+".");var r=e7({},e.props),n=e.key;if(t!=null)for(a in t.key!==void 0&&(n=""+t.key),t)!r7.call(t,a)||a==="key"||a==="__self"||a==="__source"||a==="ref"&&t.ref===void 0||(r[a]=t[a]);var a=arguments.length-2;if(a===1)r.children=o;else if(1<a){for(var s=Array(a),i=0;i<a;i++)s[i]=arguments[i+2];r.children=s}return Mv(e.type,n,r)};Ge.createContext=function(e){return e={$$typeof:yK,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null},e.Provider=e,e.Consumer={$$typeof:bK,_context:e},e};Ge.createElement=function(e,t,o){var r,n={},a=null;if(t!=null)for(r in t.key!==void 0&&(a=""+t.key),t)r7.call(t,r)&&r!=="key"&&r!=="__self"&&r!=="__source"&&(n[r]=t[r]);var s=arguments.length-2;if(s===1)n.children=o;else if(1<s){for(var i=Array(s),l=0;l<s;l++)i[l]=arguments[l+2];n.children=i}if(e&&e.defaultProps)for(r in s=e.defaultProps,s)n[r]===void 0&&(n[r]=s[r]);return Mv(e,a,n)};Ge.createRef=function(){return{current:null}};Ge.forwardRef=function(e){return{$$typeof:SK,render:e}};Ge.isValidElement=Lv;Ge.lazy=function(e){return{$$typeof:Q9,_payload:{_status:-1,_result:e},_init:kK}};Ge.memo=function(e,t){return{$$typeof:IK,type:e,compare:t===void 0?null:t}};Ge.startTransition=function(e){var t=Jt.T,o={};Jt.T=o;try{var r=e(),n=Jt.S;n!==null&&n(o,r),typeof r=="object"&&r!==null&&typeof r.then=="function"&&r.then(wv,K9)}catch(a){K9(a)}finally{t!==null&&o.types!==null&&(t.types=o.types),Jt.T=t}};Ge.unstable_useCacheRefresh=function(){return Jt.H.useCacheRefresh()};Ge.use=function(e){return Jt.H.use(e)};Ge.useActionState=function(e,t,o){return Jt.H.useActionState(e,t,o)};Ge.useCallback=function(e,t){return Jt.H.useCallback(e,t)};Ge.useContext=function(e){return Jt.H.useContext(e)};Ge.useDebugValue=function(){};Ge.useDeferredValue=function(e,t){return Jt.H.useDeferredValue(e,t)};Ge.useEffect=function(e,t){return Jt.H.useEffect(e,t)};Ge.useEffectEvent=function(e){return Jt.H.useEffectEvent(e)};Ge.useId=function(){return Jt.H.useId()};Ge.useImperativeHandle=function(e,t,o){return Jt.H.useImperativeHandle(e,t,o)};Ge.useInsertionEffect=function(e,t){return Jt.H.useInsertionEffect(e,t)};Ge.useLayoutEffect=function(e,t){return Jt.H.useLayoutEffect(e,t)};Ge.useMemo=function(e,t){return Jt.H.useMemo(e,t)};Ge.useOptimistic=function(e,t){return Jt.H.useOptimistic(e,t)};Ge.useReducer=function(e,t,o){return Jt.H.useReducer(e,t,o)};Ge.useRef=function(e){return Jt.H.useRef(e)};Ge.useState=function(e){return Jt.H.useState(e)};Ge.useSyncExternalStore=function(e,t,o){return Jt.H.useSyncExternalStore(e,t,o)};Ge.useTransition=function(){return Jt.H.useTransition()};Ge.version="19.2.8"});var F=_n((kbe,a7)=>{"use strict";a7.exports=n7()});var i7=_n(Hn=>{"use strict";/**
|
|
798
|
+
* @license React
|
|
799
|
+
* react-dom.production.js
|
|
800
|
+
*
|
|
801
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
802
|
+
*
|
|
803
|
+
* This source code is licensed under the MIT license found in the
|
|
804
|
+
* LICENSE file in the root directory of this source tree.
|
|
805
|
+
*/var LK=F();function s7(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var o=2;o<arguments.length;o++)t+="&args[]="+encodeURIComponent(arguments[o])}return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function uc(){}var Fn={d:{f:uc,r:function(){throw Error(s7(522))},D:uc,C:uc,L:uc,m:uc,X:uc,S:uc,M:uc},p:0,findDOMNode:null},PK=Symbol.for("react.portal");function EK(e,t,o){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:PK,key:r==null?null:""+r,children:e,containerInfo:t,implementation:o}}var ph=LK.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function cb(e,t){if(e==="font")return"";if(typeof t=="string")return t==="use-credentials"?t:""}Hn.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=Fn;Hn.createPortal=function(e,t){var o=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11)throw Error(s7(299));return EK(e,t,null,o)};Hn.flushSync=function(e){var t=ph.T,o=Fn.p;try{if(ph.T=null,Fn.p=2,e)return e()}finally{ph.T=t,Fn.p=o,Fn.d.f()}};Hn.preconnect=function(e,t){typeof e=="string"&&(t?(t=t.crossOrigin,t=typeof t=="string"?t==="use-credentials"?t:"":void 0):t=null,Fn.d.C(e,t))};Hn.prefetchDNS=function(e){typeof e=="string"&&Fn.d.D(e)};Hn.preinit=function(e,t){if(typeof e=="string"&&t&&typeof t.as=="string"){var o=t.as,r=cb(o,t.crossOrigin),n=typeof t.integrity=="string"?t.integrity:void 0,a=typeof t.fetchPriority=="string"?t.fetchPriority:void 0;o==="style"?Fn.d.S(e,typeof t.precedence=="string"?t.precedence:void 0,{crossOrigin:r,integrity:n,fetchPriority:a}):o==="script"&&Fn.d.X(e,{crossOrigin:r,integrity:n,fetchPriority:a,nonce:typeof t.nonce=="string"?t.nonce:void 0})}};Hn.preinitModule=function(e,t){if(typeof e=="string")if(typeof t=="object"&&t!==null){if(t.as==null||t.as==="script"){var o=cb(t.as,t.crossOrigin);Fn.d.M(e,{crossOrigin:o,integrity:typeof t.integrity=="string"?t.integrity:void 0,nonce:typeof t.nonce=="string"?t.nonce:void 0})}}else t==null&&Fn.d.M(e)};Hn.preload=function(e,t){if(typeof e=="string"&&typeof t=="object"&&t!==null&&typeof t.as=="string"){var o=t.as,r=cb(o,t.crossOrigin);Fn.d.L(e,o,{crossOrigin:r,integrity:typeof t.integrity=="string"?t.integrity:void 0,nonce:typeof t.nonce=="string"?t.nonce:void 0,type:typeof t.type=="string"?t.type:void 0,fetchPriority:typeof t.fetchPriority=="string"?t.fetchPriority:void 0,referrerPolicy:typeof t.referrerPolicy=="string"?t.referrerPolicy:void 0,imageSrcSet:typeof t.imageSrcSet=="string"?t.imageSrcSet:void 0,imageSizes:typeof t.imageSizes=="string"?t.imageSizes:void 0,media:typeof t.media=="string"?t.media:void 0})}};Hn.preloadModule=function(e,t){if(typeof e=="string")if(t){var o=cb(t.as,t.crossOrigin);Fn.d.m(e,{as:typeof t.as=="string"&&t.as!=="script"?t.as:void 0,crossOrigin:o,integrity:typeof t.integrity=="string"?t.integrity:void 0})}else Fn.d.m(e)};Hn.requestFormReset=function(e){Fn.d.r(e)};Hn.unstable_batchedUpdates=function(e,t){return e(t)};Hn.useFormState=function(e,t,o){return ph.H.useFormState(e,t,o)};Hn.useFormStatus=function(){return ph.H.useHostTransitionStatus()};Hn.version="19.2.8"});var Pv=_n((Lbe,c7)=>{"use strict";function l7(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(l7)}catch(e){console.error(e)}}l7(),c7.exports=i7()});var IR=_n(Ry=>{"use strict";/**
|
|
806
|
+
* @license React
|
|
807
|
+
* react-dom-client.production.js
|
|
808
|
+
*
|
|
809
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
810
|
+
*
|
|
811
|
+
* This source code is licensed under the MIT license found in the
|
|
812
|
+
* LICENSE file in the root directory of this source tree.
|
|
813
|
+
*/var Ur=$9(),_E=F(),BK=Pv();function oe(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var o=2;o<arguments.length;o++)t+="&args[]="+encodeURIComponent(arguments[o])}return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function FE(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function eg(e){var t=e,o=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,(t.flags&4098)!==0&&(o=t.return),e=t.return;while(e)}return t.tag===3?o:null}function HE(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function OE(e){if(e.tag===31){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function u7(e){if(eg(e)!==e)throw Error(oe(188))}function DK(e){var t=e.alternate;if(!t){if(t=eg(e),t===null)throw Error(oe(188));return t!==e?null:e}for(var o=e,r=t;;){var n=o.return;if(n===null)break;var a=n.alternate;if(a===null){if(r=n.return,r!==null){o=r;continue}break}if(n.child===a.child){for(a=n.child;a;){if(a===o)return u7(n),e;if(a===r)return u7(n),t;a=a.sibling}throw Error(oe(188))}if(o.return!==r.return)o=n,r=a;else{for(var s=!1,i=n.child;i;){if(i===o){s=!0,o=n,r=a;break}if(i===r){s=!0,r=n,o=a;break}i=i.sibling}if(!s){for(i=a.child;i;){if(i===o){s=!0,o=a,r=n;break}if(i===r){s=!0,r=a,o=n;break}i=i.sibling}if(!s)throw Error(oe(189))}}if(o.alternate!==r)throw Error(oe(190))}if(o.tag!==3)throw Error(oe(188));return o.stateNode.current===o?e:t}function VE(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e;for(e=e.child;e!==null;){if(t=VE(e),t!==null)return t;e=e.sibling}return null}var oo=Object.assign,RK=Symbol.for("react.element"),ub=Symbol.for("react.transitional.element"),vh=Symbol.for("react.portal"),Of=Symbol.for("react.fragment"),NE=Symbol.for("react.strict_mode"),uC=Symbol.for("react.profiler"),zE=Symbol.for("react.consumer"),tl=Symbol.for("react.context"),aw=Symbol.for("react.forward_ref"),mC=Symbol.for("react.suspense"),fC=Symbol.for("react.suspense_list"),sw=Symbol.for("react.memo"),mc=Symbol.for("react.lazy");Symbol.for("react.scope");var dC=Symbol.for("react.activity");Symbol.for("react.legacy_hidden");Symbol.for("react.tracing_marker");var _K=Symbol.for("react.memo_cache_sentinel");Symbol.for("react.view_transition");var m7=Symbol.iterator;function hh(e){return e===null||typeof e!="object"?null:(e=m7&&e[m7]||e["@@iterator"],typeof e=="function"?e:null)}var FK=Symbol.for("react.client.reference");function pC(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===FK?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case Of:return"Fragment";case uC:return"Profiler";case NE:return"StrictMode";case mC:return"Suspense";case fC:return"SuspenseList";case dC:return"Activity"}if(typeof e=="object")switch(e.$$typeof){case vh:return"Portal";case tl:return e.displayName||"Context";case zE:return(e._context.displayName||"Context")+".Consumer";case aw:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case sw:return t=e.displayName||null,t!==null?t:pC(e.type)||"Memo";case mc:t=e._payload,e=e._init;try{return pC(e(t))}catch{}}return null}var Ch=Array.isArray,He=_E.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Pt=BK.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Uu={pending:!1,data:null,method:null,action:null},hC=[],Vf=-1;function hi(e){return{current:e}}function rn(e){0>Vf||(e.current=hC[Vf],hC[Vf]=null,Vf--)}function qt(e,t){Vf++,hC[Vf]=e.current,e.current=t}var pi=hi(null),Nh=hi(null),vc=hi(null),Ub=hi(null);function Zb(e,t){switch(qt(vc,t),qt(Nh,e),qt(pi,null),t.nodeType){case 9:case 11:e=(e=t.documentElement)&&(e=e.namespaceURI)?yE(e):0;break;default:if(e=t.tagName,t=t.namespaceURI)t=yE(t),e=iR(t,e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}rn(pi),qt(pi,e)}function rd(){rn(pi),rn(Nh),rn(vc)}function gC(e){e.memoizedState!==null&&qt(Ub,e);var t=pi.current,o=iR(t,e.type);t!==o&&(qt(Nh,e),qt(pi,o))}function jb(e){Nh.current===e&&(rn(pi),rn(Nh)),Ub.current===e&&(rn(Ub),Kh._currentValue=Uu)}var Ev,f7;function Vu(e){if(Ev===void 0)try{throw Error()}catch(o){var t=o.stack.trim().match(/\n( *(at )?)/);Ev=t&&t[1]||"",f7=-1<o.stack.indexOf(`
|
|
814
|
+
at`)?" (<anonymous>)":-1<o.stack.indexOf("@")?"@unknown:0:0":""}return`
|
|
815
|
+
`+Ev+e+f7}var Bv=!1;function Dv(e,t){if(!e||Bv)return"";Bv=!0;var o=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var r={DetermineComponentFrameRoot:function(){try{if(t){var m=function(){throw Error()};if(Object.defineProperty(m.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(m,[])}catch(d){var f=d}Reflect.construct(e,[],m)}else{try{m.call()}catch(d){f=d}e.call(m.prototype)}}else{try{throw Error()}catch(d){f=d}(m=e())&&typeof m.catch=="function"&&m.catch(function(){})}}catch(d){if(d&&f&&typeof d.stack=="string")return[d.stack,f.stack]}return[null,null]}};r.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var n=Object.getOwnPropertyDescriptor(r.DetermineComponentFrameRoot,"name");n&&n.configurable&&Object.defineProperty(r.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var a=r.DetermineComponentFrameRoot(),s=a[0],i=a[1];if(s&&i){var l=s.split(`
|
|
816
|
+
`),c=i.split(`
|
|
817
|
+
`);for(n=r=0;r<l.length&&!l[r].includes("DetermineComponentFrameRoot");)r++;for(;n<c.length&&!c[n].includes("DetermineComponentFrameRoot");)n++;if(r===l.length||n===c.length)for(r=l.length-1,n=c.length-1;1<=r&&0<=n&&l[r]!==c[n];)n--;for(;1<=r&&0<=n;r--,n--)if(l[r]!==c[n]){if(r!==1||n!==1)do if(r--,n--,0>n||l[r]!==c[n]){var u=`
|
|
818
|
+
`+l[r].replace(" at new "," at ");return e.displayName&&u.includes("<anonymous>")&&(u=u.replace("<anonymous>",e.displayName)),u}while(1<=r&&0<=n);break}}}finally{Bv=!1,Error.prepareStackTrace=o}return(o=e?e.displayName||e.name:"")?Vu(o):""}function HK(e,t){switch(e.tag){case 26:case 27:case 5:return Vu(e.type);case 16:return Vu("Lazy");case 13:return e.child!==t&&t!==null?Vu("Suspense Fallback"):Vu("Suspense");case 19:return Vu("SuspenseList");case 0:case 15:return Dv(e.type,!1);case 11:return Dv(e.type.render,!1);case 1:return Dv(e.type,!0);case 31:return Vu("Activity");default:return""}}function d7(e){try{var t="",o=null;do t+=HK(e,o),o=e,e=e.return;while(e);return t}catch(r){return`
|
|
819
|
+
Error generating stack: `+r.message+`
|
|
820
|
+
`+r.stack}}var bC=Object.prototype.hasOwnProperty,iw=Ur.unstable_scheduleCallback,Rv=Ur.unstable_cancelCallback,OK=Ur.unstable_shouldYield,VK=Ur.unstable_requestPaint,La=Ur.unstable_now,NK=Ur.unstable_getCurrentPriorityLevel,WE=Ur.unstable_ImmediatePriority,UE=Ur.unstable_UserBlockingPriority,Gb=Ur.unstable_NormalPriority,zK=Ur.unstable_LowPriority,ZE=Ur.unstable_IdlePriority,WK=Ur.log,UK=Ur.unstable_setDisableYieldValue,tg=null,Pa=null;function bc(e){if(typeof WK=="function"&&UK(e),Pa&&typeof Pa.setStrictMode=="function")try{Pa.setStrictMode(tg,e)}catch{}}var Ea=Math.clz32?Math.clz32:GK,ZK=Math.log,jK=Math.LN2;function GK(e){return e>>>=0,e===0?32:31-(ZK(e)/jK|0)|0}var mb=256,fb=262144,db=4194304;function Nu(e){var t=e&42;if(t!==0)return t;switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return e&261888;case 262144:case 524288:case 1048576:case 2097152:return e&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return e&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return e}}function yy(e,t,o){var r=e.pendingLanes;if(r===0)return 0;var n=0,a=e.suspendedLanes,s=e.pingedLanes;e=e.warmLanes;var i=r&134217727;return i!==0?(r=i&~a,r!==0?n=Nu(r):(s&=i,s!==0?n=Nu(s):o||(o=i&~e,o!==0&&(n=Nu(o))))):(i=r&~a,i!==0?n=Nu(i):s!==0?n=Nu(s):o||(o=r&~e,o!==0&&(n=Nu(o)))),n===0?0:t!==0&&t!==n&&(t&a)===0&&(a=n&-n,o=t&-t,a>=o||a===32&&(o&4194048)!==0)?t:n}function og(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function $K(e,t){switch(e){case 1:case 2:case 4:case 8:case 64:return t+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function jE(){var e=db;return db<<=1,(db&62914560)===0&&(db=4194304),e}function _v(e){for(var t=[],o=0;31>o;o++)t.push(e);return t}function rg(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function qK(e,t,o,r,n,a){var s=e.pendingLanes;e.pendingLanes=o,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=o,e.entangledLanes&=o,e.errorRecoveryDisabledLanes&=o,e.shellSuspendCounter=0;var i=e.entanglements,l=e.expirationTimes,c=e.hiddenUpdates;for(o=s&~o;0<o;){var u=31-Ea(o),m=1<<u;i[u]=0,l[u]=-1;var f=c[u];if(f!==null)for(c[u]=null,u=0;u<f.length;u++){var d=f[u];d!==null&&(d.lane&=-536870913)}o&=~m}r!==0&&GE(e,r,0),a!==0&&n===0&&e.tag!==0&&(e.suspendedLanes|=a&~(s&~t))}function GE(e,t,o){e.pendingLanes|=t,e.suspendedLanes&=~t;var r=31-Ea(t);e.entangledLanes|=t,e.entanglements[r]=e.entanglements[r]|1073741824|o&261930}function $E(e,t){var o=e.entangledLanes|=t;for(e=e.entanglements;o;){var r=31-Ea(o),n=1<<r;n&t|e[r]&t&&(e[r]|=t),o&=~n}}function qE(e,t){var o=t&-t;return o=(o&42)!==0?1:lw(o),(o&(e.suspendedLanes|t))!==0?0:o}function lw(e){switch(e){case 2:e=1;break;case 8:e=4;break;case 32:e=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:e=128;break;case 268435456:e=134217728;break;default:e=0}return e}function cw(e){return e&=-e,2<e?8<e?(e&134217727)!==0?32:268435456:8:2}function XE(){var e=Pt.p;return e!==0?e:(e=window.event,e===void 0?32:yR(e.type))}function p7(e,t){var o=Pt.p;try{return Pt.p=e,t()}finally{Pt.p=o}}var _c=Math.random().toString(36).slice(2),pn="__reactFiber$"+_c,ra="__reactProps$"+_c,pd="__reactContainer$"+_c,yC="__reactEvents$"+_c,XK="__reactListeners$"+_c,YK="__reactHandles$"+_c,h7="__reactResources$"+_c,ng="__reactMarker$"+_c;function uw(e){delete e[pn],delete e[ra],delete e[yC],delete e[XK],delete e[YK]}function Nf(e){var t=e[pn];if(t)return t;for(var o=e.parentNode;o;){if(t=o[pd]||o[pn]){if(o=t.alternate,t.child!==null||o!==null&&o.child!==null)for(e=CE(e);e!==null;){if(o=e[pn])return o;e=CE(e)}return t}e=o,o=e.parentNode}return null}function hd(e){if(e=e[pn]||e[pd]){var t=e.tag;if(t===5||t===6||t===13||t===31||t===26||t===27||t===3)return e}return null}function wh(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e.stateNode;throw Error(oe(33))}function Yf(e){var t=e[h7];return t||(t=e[h7]={hoistableStyles:new Map,hoistableScripts:new Map}),t}function on(e){e[ng]=!0}var YE=new Set,KE={};function Ju(e,t){nd(e,t),nd(e+"Capture",t)}function nd(e,t){for(KE[e]=t,e=0;e<t.length;e++)YE.add(t[e])}var KK=RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),g7={},b7={};function QK(e){return bC.call(b7,e)?!0:bC.call(g7,e)?!1:KK.test(e)?b7[e]=!0:(g7[e]=!0,!1)}function Mb(e,t,o){if(QK(t))if(o===null)e.removeAttribute(t);else{switch(typeof o){case"undefined":case"function":case"symbol":e.removeAttribute(t);return;case"boolean":var r=t.toLowerCase().slice(0,5);if(r!=="data-"&&r!=="aria-"){e.removeAttribute(t);return}}e.setAttribute(t,""+o)}}function pb(e,t,o){if(o===null)e.removeAttribute(t);else{switch(typeof o){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(t);return}e.setAttribute(t,""+o)}}function qi(e,t,o,r){if(r===null)e.removeAttribute(o);else{switch(typeof r){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(o);return}e.setAttributeNS(t,o,""+r)}}function rs(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function QE(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function JK(e,t,o){var r=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);if(!e.hasOwnProperty(t)&&typeof r<"u"&&typeof r.get=="function"&&typeof r.set=="function"){var n=r.get,a=r.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return n.call(this)},set:function(s){o=""+s,a.call(this,s)}}),Object.defineProperty(e,t,{enumerable:r.enumerable}),{getValue:function(){return o},setValue:function(s){o=""+s},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function SC(e){if(!e._valueTracker){var t=QE(e)?"checked":"value";e._valueTracker=JK(e,t,""+e[t])}}function JE(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var o=t.getValue(),r="";return e&&(r=QE(e)?e.checked?"true":"false":e.value),e=r,e!==o?(t.setValue(e),!0):!1}function $b(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}var eQ=/[\n"\\]/g;function ss(e){return e.replace(eQ,function(t){return"\\"+t.charCodeAt(0).toString(16)+" "})}function xC(e,t,o,r,n,a,s,i){e.name="",s!=null&&typeof s!="function"&&typeof s!="symbol"&&typeof s!="boolean"?e.type=s:e.removeAttribute("type"),t!=null?s==="number"?(t===0&&e.value===""||e.value!=t)&&(e.value=""+rs(t)):e.value!==""+rs(t)&&(e.value=""+rs(t)):s!=="submit"&&s!=="reset"||e.removeAttribute("value"),t!=null?IC(e,s,rs(t)):o!=null?IC(e,s,rs(o)):r!=null&&e.removeAttribute("value"),n==null&&a!=null&&(e.defaultChecked=!!a),n!=null&&(e.checked=n&&typeof n!="function"&&typeof n!="symbol"),i!=null&&typeof i!="function"&&typeof i!="symbol"&&typeof i!="boolean"?e.name=""+rs(i):e.removeAttribute("name")}function eB(e,t,o,r,n,a,s,i){if(a!=null&&typeof a!="function"&&typeof a!="symbol"&&typeof a!="boolean"&&(e.type=a),t!=null||o!=null){if(!(a!=="submit"&&a!=="reset"||t!=null)){SC(e);return}o=o!=null?""+rs(o):"",t=t!=null?""+rs(t):o,i||t===e.value||(e.value=t),e.defaultValue=t}r=r??n,r=typeof r!="function"&&typeof r!="symbol"&&!!r,e.checked=i?e.checked:!!r,e.defaultChecked=!!r,s!=null&&typeof s!="function"&&typeof s!="symbol"&&typeof s!="boolean"&&(e.name=s),SC(e)}function IC(e,t,o){t==="number"&&$b(e.ownerDocument)===e||e.defaultValue===""+o||(e.defaultValue=""+o)}function Kf(e,t,o,r){if(e=e.options,t){t={};for(var n=0;n<o.length;n++)t["$"+o[n]]=!0;for(o=0;o<e.length;o++)n=t.hasOwnProperty("$"+e[o].value),e[o].selected!==n&&(e[o].selected=n),n&&r&&(e[o].defaultSelected=!0)}else{for(o=""+rs(o),t=null,n=0;n<e.length;n++){if(e[n].value===o){e[n].selected=!0,r&&(e[n].defaultSelected=!0);return}t!==null||e[n].disabled||(t=e[n])}t!==null&&(t.selected=!0)}}function tB(e,t,o){if(t!=null&&(t=""+rs(t),t!==e.value&&(e.value=t),o==null)){e.defaultValue!==t&&(e.defaultValue=t);return}e.defaultValue=o!=null?""+rs(o):""}function oB(e,t,o,r){if(t==null){if(r!=null){if(o!=null)throw Error(oe(92));if(Ch(r)){if(1<r.length)throw Error(oe(93));r=r[0]}o=r}o==null&&(o=""),t=o}o=rs(t),e.defaultValue=o,r=e.textContent,r===o&&r!==""&&r!==null&&(e.value=r),SC(e)}function ad(e,t){if(t){var o=e.firstChild;if(o&&o===e.lastChild&&o.nodeType===3){o.nodeValue=t;return}}e.textContent=t}var tQ=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" "));function y7(e,t,o){var r=t.indexOf("--")===0;o==null||typeof o=="boolean"||o===""?r?e.setProperty(t,""):t==="float"?e.cssFloat="":e[t]="":r?e.setProperty(t,o):typeof o!="number"||o===0||tQ.has(t)?t==="float"?e.cssFloat=o:e[t]=(""+o).trim():e[t]=o+"px"}function rB(e,t,o){if(t!=null&&typeof t!="object")throw Error(oe(62));if(e=e.style,o!=null){for(var r in o)!o.hasOwnProperty(r)||t!=null&&t.hasOwnProperty(r)||(r.indexOf("--")===0?e.setProperty(r,""):r==="float"?e.cssFloat="":e[r]="");for(var n in t)r=t[n],t.hasOwnProperty(n)&&o[n]!==r&&y7(e,n,r)}else for(var a in t)t.hasOwnProperty(a)&&y7(e,a,t[a])}function mw(e){if(e.indexOf("-")===-1)return!1;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var oQ=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),rQ=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;function Lb(e){return rQ.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}function ol(){}var vC=null;function fw(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var zf=null,Qf=null;function S7(e){var t=hd(e);if(t&&(e=t.stateNode)){var o=e[ra]||null;e:switch(e=t.stateNode,t.type){case"input":if(xC(e,o.value,o.defaultValue,o.defaultValue,o.checked,o.defaultChecked,o.type,o.name),t=o.name,o.type==="radio"&&t!=null){for(o=e;o.parentNode;)o=o.parentNode;for(o=o.querySelectorAll('input[name="'+ss(""+t)+'"][type="radio"]'),t=0;t<o.length;t++){var r=o[t];if(r!==e&&r.form===e.form){var n=r[ra]||null;if(!n)throw Error(oe(90));xC(r,n.value,n.defaultValue,n.defaultValue,n.checked,n.defaultChecked,n.type,n.name)}}for(t=0;t<o.length;t++)r=o[t],r.form===e.form&&JE(r)}break e;case"textarea":tB(e,o.value,o.defaultValue);break e;case"select":t=o.value,t!=null&&Kf(e,!!o.multiple,t,!1)}}}var Fv=!1;function nB(e,t,o){if(Fv)return e(t,o);Fv=!0;try{var r=e(t);return r}finally{if(Fv=!1,(zf!==null||Qf!==null)&&(Py(),zf&&(t=zf,e=Qf,Qf=zf=null,S7(t),e)))for(t=0;t<e.length;t++)S7(e[t])}}function zh(e,t){var o=e.stateNode;if(o===null)return null;var r=o[ra]||null;if(r===null)return null;o=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(e=e.type,r=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!r;break e;default:e=!1}if(e)return null;if(o&&typeof o!="function")throw Error(oe(231,t,typeof o));return o}var il=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),CC=!1;if(il)try{Df={},Object.defineProperty(Df,"passive",{get:function(){CC=!0}}),window.addEventListener("test",Df,Df),window.removeEventListener("test",Df,Df)}catch{CC=!1}var Df,yc=null,dw=null,Pb=null;function aB(){if(Pb)return Pb;var e,t=dw,o=t.length,r,n="value"in yc?yc.value:yc.textContent,a=n.length;for(e=0;e<o&&t[e]===n[e];e++);var s=o-e;for(r=1;r<=s&&t[o-r]===n[a-r];r++);return Pb=n.slice(e,1<r?1-r:void 0)}function Eb(e){var t=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function hb(){return!0}function x7(){return!1}function na(e){function t(o,r,n,a,s){this._reactName=o,this._targetInst=n,this.type=r,this.nativeEvent=a,this.target=s,this.currentTarget=null;for(var i in e)e.hasOwnProperty(i)&&(o=e[i],this[i]=o?o(a):a[i]);return this.isDefaultPrevented=(a.defaultPrevented!=null?a.defaultPrevented:a.returnValue===!1)?hb:x7,this.isPropagationStopped=x7,this}return oo(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var o=this.nativeEvent;o&&(o.preventDefault?o.preventDefault():typeof o.returnValue!="unknown"&&(o.returnValue=!1),this.isDefaultPrevented=hb)},stopPropagation:function(){var o=this.nativeEvent;o&&(o.stopPropagation?o.stopPropagation():typeof o.cancelBubble!="unknown"&&(o.cancelBubble=!0),this.isPropagationStopped=hb)},persist:function(){},isPersistent:hb}),t}var em={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Sy=na(em),ag=oo({},em,{view:0,detail:0}),nQ=na(ag),Hv,Ov,gh,xy=oo({},ag,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:pw,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==gh&&(gh&&e.type==="mousemove"?(Hv=e.screenX-gh.screenX,Ov=e.screenY-gh.screenY):Ov=Hv=0,gh=e),Hv)},movementY:function(e){return"movementY"in e?e.movementY:Ov}}),I7=na(xy),aQ=oo({},xy,{dataTransfer:0}),sQ=na(aQ),iQ=oo({},ag,{relatedTarget:0}),Vv=na(iQ),lQ=oo({},em,{animationName:0,elapsedTime:0,pseudoElement:0}),cQ=na(lQ),uQ=oo({},em,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),mQ=na(uQ),fQ=oo({},em,{data:0}),v7=na(fQ),dQ={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},pQ={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},hQ={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function gQ(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=hQ[e])?!!t[e]:!1}function pw(){return gQ}var bQ=oo({},ag,{key:function(e){if(e.key){var t=dQ[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=Eb(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?pQ[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:pw,charCode:function(e){return e.type==="keypress"?Eb(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Eb(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),yQ=na(bQ),SQ=oo({},xy,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),C7=na(SQ),xQ=oo({},ag,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:pw}),IQ=na(xQ),vQ=oo({},em,{propertyName:0,elapsedTime:0,pseudoElement:0}),CQ=na(vQ),wQ=oo({},xy,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),TQ=na(wQ),AQ=oo({},em,{newState:0,oldState:0}),kQ=na(AQ),MQ=[9,13,27,32],hw=il&&"CompositionEvent"in window,kh=null;il&&"documentMode"in document&&(kh=document.documentMode);var LQ=il&&"TextEvent"in window&&!kh,sB=il&&(!hw||kh&&8<kh&&11>=kh),w7=" ",T7=!1;function iB(e,t){switch(e){case"keyup":return MQ.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function lB(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Wf=!1;function PQ(e,t){switch(e){case"compositionend":return lB(t);case"keypress":return t.which!==32?null:(T7=!0,w7);case"textInput":return e=t.data,e===w7&&T7?null:e;default:return null}}function EQ(e,t){if(Wf)return e==="compositionend"||!hw&&iB(e,t)?(e=aB(),Pb=dw=yc=null,Wf=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return sB&&t.locale!=="ko"?null:t.data;default:return null}}var BQ={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function A7(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!BQ[e.type]:t==="textarea"}function cB(e,t,o,r){zf?Qf?Qf.push(r):Qf=[r]:zf=r,t=my(t,"onChange"),0<t.length&&(o=new Sy("onChange","change",null,o,r),e.push({event:o,listeners:t}))}var Mh=null,Wh=null;function DQ(e){nR(e,0)}function Iy(e){var t=wh(e);if(JE(t))return e}function k7(e,t){if(e==="change")return t}var uB=!1;il&&(il?(bb="oninput"in document,bb||(Nv=document.createElement("div"),Nv.setAttribute("oninput","return;"),bb=typeof Nv.oninput=="function"),gb=bb):gb=!1,uB=gb&&(!document.documentMode||9<document.documentMode));var gb,bb,Nv;function M7(){Mh&&(Mh.detachEvent("onpropertychange",mB),Wh=Mh=null)}function mB(e){if(e.propertyName==="value"&&Iy(Wh)){var t=[];cB(t,Wh,e,fw(e)),nB(DQ,t)}}function RQ(e,t,o){e==="focusin"?(M7(),Mh=t,Wh=o,Mh.attachEvent("onpropertychange",mB)):e==="focusout"&&M7()}function _Q(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return Iy(Wh)}function FQ(e,t){if(e==="click")return Iy(t)}function HQ(e,t){if(e==="input"||e==="change")return Iy(t)}function OQ(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var Da=typeof Object.is=="function"?Object.is:OQ;function Uh(e,t){if(Da(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var o=Object.keys(e),r=Object.keys(t);if(o.length!==r.length)return!1;for(r=0;r<o.length;r++){var n=o[r];if(!bC.call(t,n)||!Da(e[n],t[n]))return!1}return!0}function L7(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function P7(e,t){var o=L7(e);e=0;for(var r;o;){if(o.nodeType===3){if(r=e+o.textContent.length,e<=t&&r>=t)return{node:o,offset:t-e};e=r}e:{for(;o;){if(o.nextSibling){o=o.nextSibling;break e}o=o.parentNode}o=void 0}o=L7(o)}}function fB(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?fB(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function dB(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=$b(e.document);t instanceof e.HTMLIFrameElement;){try{var o=typeof t.contentWindow.location.href=="string"}catch{o=!1}if(o)e=t.contentWindow;else break;t=$b(e.document)}return t}function gw(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}var VQ=il&&"documentMode"in document&&11>=document.documentMode,Uf=null,wC=null,Lh=null,TC=!1;function E7(e,t,o){var r=o.window===o?o.document:o.nodeType===9?o:o.ownerDocument;TC||Uf==null||Uf!==$b(r)||(r=Uf,"selectionStart"in r&&gw(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),Lh&&Uh(Lh,r)||(Lh=r,r=my(wC,"onSelect"),0<r.length&&(t=new Sy("onSelect","select",null,t,o),e.push({event:t,listeners:r}),t.target=Uf)))}function Ou(e,t){var o={};return o[e.toLowerCase()]=t.toLowerCase(),o["Webkit"+e]="webkit"+t,o["Moz"+e]="moz"+t,o}var Zf={animationend:Ou("Animation","AnimationEnd"),animationiteration:Ou("Animation","AnimationIteration"),animationstart:Ou("Animation","AnimationStart"),transitionrun:Ou("Transition","TransitionRun"),transitionstart:Ou("Transition","TransitionStart"),transitioncancel:Ou("Transition","TransitionCancel"),transitionend:Ou("Transition","TransitionEnd")},zv={},pB={};il&&(pB=document.createElement("div").style,"AnimationEvent"in window||(delete Zf.animationend.animation,delete Zf.animationiteration.animation,delete Zf.animationstart.animation),"TransitionEvent"in window||delete Zf.transitionend.transition);function tm(e){if(zv[e])return zv[e];if(!Zf[e])return e;var t=Zf[e],o;for(o in t)if(t.hasOwnProperty(o)&&o in pB)return zv[e]=t[o];return e}var hB=tm("animationend"),gB=tm("animationiteration"),bB=tm("animationstart"),NQ=tm("transitionrun"),zQ=tm("transitionstart"),WQ=tm("transitioncancel"),yB=tm("transitionend"),SB=new Map,AC="abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");AC.push("scrollEnd");function zs(e,t){SB.set(e,t),Ju(t,[e])}var qb=typeof reportError=="function"?reportError:function(e){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof e=="object"&&e!==null&&typeof e.message=="string"?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",e);return}console.error(e)},os=[],jf=0,bw=0;function vy(){for(var e=jf,t=bw=jf=0;t<e;){var o=os[t];os[t++]=null;var r=os[t];os[t++]=null;var n=os[t];os[t++]=null;var a=os[t];if(os[t++]=null,r!==null&&n!==null){var s=r.pending;s===null?n.next=n:(n.next=s.next,s.next=n),r.pending=n}a!==0&&xB(o,n,a)}}function Cy(e,t,o,r){os[jf++]=e,os[jf++]=t,os[jf++]=o,os[jf++]=r,bw|=r,e.lanes|=r,e=e.alternate,e!==null&&(e.lanes|=r)}function yw(e,t,o,r){return Cy(e,t,o,r),Xb(e)}function om(e,t){return Cy(e,null,null,t),Xb(e)}function xB(e,t,o){e.lanes|=o;var r=e.alternate;r!==null&&(r.lanes|=o);for(var n=!1,a=e.return;a!==null;)a.childLanes|=o,r=a.alternate,r!==null&&(r.childLanes|=o),a.tag===22&&(e=a.stateNode,e===null||e._visibility&1||(n=!0)),e=a,a=a.return;return e.tag===3?(a=e.stateNode,n&&t!==null&&(n=31-Ea(o),e=a.hiddenUpdates,r=e[n],r===null?e[n]=[t]:r.push(t),t.lane=o|536870912),a):null}function Xb(e){if(50<Oh)throw Oh=0,$C=null,Error(oe(185));for(var t=e.return;t!==null;)e=t,t=e.return;return e.tag===3?e.stateNode:null}var Gf={};function UQ(e,t,o,r){this.tag=e,this.key=o,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function ka(e,t,o,r){return new UQ(e,t,o,r)}function Sw(e){return e=e.prototype,!(!e||!e.isReactComponent)}function nl(e,t){var o=e.alternate;return o===null?(o=ka(e.tag,t,e.key,e.mode),o.elementType=e.elementType,o.type=e.type,o.stateNode=e.stateNode,o.alternate=e,e.alternate=o):(o.pendingProps=t,o.type=e.type,o.flags=0,o.subtreeFlags=0,o.deletions=null),o.flags=e.flags&65011712,o.childLanes=e.childLanes,o.lanes=e.lanes,o.child=e.child,o.memoizedProps=e.memoizedProps,o.memoizedState=e.memoizedState,o.updateQueue=e.updateQueue,t=e.dependencies,o.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},o.sibling=e.sibling,o.index=e.index,o.ref=e.ref,o.refCleanup=e.refCleanup,o}function IB(e,t){e.flags&=65011714;var o=e.alternate;return o===null?(e.childLanes=0,e.lanes=t,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null):(e.childLanes=o.childLanes,e.lanes=o.lanes,e.child=o.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=o.memoizedProps,e.memoizedState=o.memoizedState,e.updateQueue=o.updateQueue,e.type=o.type,t=o.dependencies,e.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext}),e}function Bb(e,t,o,r,n,a){var s=0;if(r=e,typeof e=="function")Sw(e)&&(s=1);else if(typeof e=="string")s=GJ(e,o,pi.current)?26:e==="html"||e==="head"||e==="body"?27:5;else e:switch(e){case dC:return e=ka(31,o,t,n),e.elementType=dC,e.lanes=a,e;case Of:return Zu(o.children,n,a,t);case NE:s=8,n|=24;break;case uC:return e=ka(12,o,t,n|2),e.elementType=uC,e.lanes=a,e;case mC:return e=ka(13,o,t,n),e.elementType=mC,e.lanes=a,e;case fC:return e=ka(19,o,t,n),e.elementType=fC,e.lanes=a,e;default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case tl:s=10;break e;case zE:s=9;break e;case aw:s=11;break e;case sw:s=14;break e;case mc:s=16,r=null;break e}s=29,o=Error(oe(130,e===null?"null":typeof e,"")),r=null}return t=ka(s,o,t,n),t.elementType=e,t.type=r,t.lanes=a,t}function Zu(e,t,o,r){return e=ka(7,e,r,t),e.lanes=o,e}function Wv(e,t,o){return e=ka(6,e,null,t),e.lanes=o,e}function vB(e){var t=ka(18,null,null,0);return t.stateNode=e,t}function Uv(e,t,o){return t=ka(4,e.children!==null?e.children:[],e.key,t),t.lanes=o,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}var B7=new WeakMap;function is(e,t){if(typeof e=="object"&&e!==null){var o=B7.get(e);return o!==void 0?o:(t={value:e,source:t,stack:d7(t)},B7.set(e,t),t)}return{value:e,source:t,stack:d7(t)}}var $f=[],qf=0,Yb=null,Zh=0,ns=[],as=0,Ec=null,mi=1,fi="";function Ji(e,t){$f[qf++]=Zh,$f[qf++]=Yb,Yb=e,Zh=t}function CB(e,t,o){ns[as++]=mi,ns[as++]=fi,ns[as++]=Ec,Ec=e;var r=mi;e=fi;var n=32-Ea(r)-1;r&=~(1<<n),o+=1;var a=32-Ea(t)+n;if(30<a){var s=n-n%5;a=(r&(1<<s)-1).toString(32),r>>=s,n-=s,mi=1<<32-Ea(t)+n|o<<n|r,fi=a+e}else mi=1<<a|o<<n|r,fi=e}function xw(e){e.return!==null&&(Ji(e,1),CB(e,1,0))}function Iw(e){for(;e===Yb;)Yb=$f[--qf],$f[qf]=null,Zh=$f[--qf],$f[qf]=null;for(;e===Ec;)Ec=ns[--as],ns[as]=null,fi=ns[--as],ns[as]=null,mi=ns[--as],ns[as]=null}function wB(e,t){ns[as++]=mi,ns[as++]=fi,ns[as++]=Ec,mi=t.id,fi=t.overflow,Ec=e}var hn=null,to=null,yt=!1,Cc=null,ls=!1,kC=Error(oe(519));function Bc(e){var t=Error(oe(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw jh(is(t,e)),kC}function D7(e){var t=e.stateNode,o=e.type,r=e.memoizedProps;switch(t[pn]=e,t[ra]=r,o){case"dialog":it("cancel",t),it("close",t);break;case"iframe":case"object":case"embed":it("load",t);break;case"video":case"audio":for(o=0;o<Xh.length;o++)it(Xh[o],t);break;case"source":it("error",t);break;case"img":case"image":case"link":it("error",t),it("load",t);break;case"details":it("toggle",t);break;case"input":it("invalid",t),eB(t,r.value,r.defaultValue,r.checked,r.defaultChecked,r.type,r.name,!0);break;case"select":it("invalid",t);break;case"textarea":it("invalid",t),oB(t,r.value,r.defaultValue,r.children)}o=r.children,typeof o!="string"&&typeof o!="number"&&typeof o!="bigint"||t.textContent===""+o||r.suppressHydrationWarning===!0||sR(t.textContent,o)?(r.popover!=null&&(it("beforetoggle",t),it("toggle",t)),r.onScroll!=null&&it("scroll",t),r.onScrollEnd!=null&&it("scrollend",t),r.onClick!=null&&(t.onclick=ol),t=!0):t=!1,t||Bc(e,!0)}function R7(e){for(hn=e.return;hn;)switch(hn.tag){case 5:case 31:case 13:ls=!1;return;case 27:case 3:ls=!0;return;default:hn=hn.return}}function Rf(e){if(e!==hn)return!1;if(!yt)return R7(e),yt=!0,!1;var t=e.tag,o;if((o=t!==3&&t!==27)&&((o=t===5)&&(o=e.type,o=!(o!=="form"&&o!=="button")||QC(e.type,e.memoizedProps)),o=!o),o&&to&&Bc(e),R7(e),t===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(oe(317));to=vE(e)}else if(t===31){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(oe(317));to=vE(e)}else t===27?(t=to,Fc(e.type)?(e=ow,ow=null,to=e):to=t):to=hn?us(e.stateNode.nextSibling):null;return!0}function qu(){to=hn=null,yt=!1}function Zv(){var e=Cc;return e!==null&&(ta===null?ta=e:ta.push.apply(ta,e),Cc=null),e}function jh(e){Cc===null?Cc=[e]:Cc.push(e)}var MC=hi(null),rm=null,rl=null;function dc(e,t,o){qt(MC,t._currentValue),t._currentValue=o}function al(e){e._currentValue=MC.current,rn(MC)}function LC(e,t,o){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,r!==null&&(r.childLanes|=t)):r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===o)break;e=e.return}}function PC(e,t,o,r){var n=e.child;for(n!==null&&(n.return=e);n!==null;){var a=n.dependencies;if(a!==null){var s=n.child;a=a.firstContext;e:for(;a!==null;){var i=a;a=n;for(var l=0;l<t.length;l++)if(i.context===t[l]){a.lanes|=o,i=a.alternate,i!==null&&(i.lanes|=o),LC(a.return,o,e),r||(s=null);break e}a=i.next}}else if(n.tag===18){if(s=n.return,s===null)throw Error(oe(341));s.lanes|=o,a=s.alternate,a!==null&&(a.lanes|=o),LC(s,o,e),s=null}else s=n.child;if(s!==null)s.return=n;else for(s=n;s!==null;){if(s===e){s=null;break}if(n=s.sibling,n!==null){n.return=s.return,s=n;break}s=s.return}n=s}}function gd(e,t,o,r){e=null;for(var n=t,a=!1;n!==null;){if(!a){if((n.flags&524288)!==0)a=!0;else if((n.flags&262144)!==0)break}if(n.tag===10){var s=n.alternate;if(s===null)throw Error(oe(387));if(s=s.memoizedProps,s!==null){var i=n.type;Da(n.pendingProps.value,s.value)||(e!==null?e.push(i):e=[i])}}else if(n===Ub.current){if(s=n.alternate,s===null)throw Error(oe(387));s.memoizedState.memoizedState!==n.memoizedState.memoizedState&&(e!==null?e.push(Kh):e=[Kh])}n=n.return}e!==null&&PC(t,e,o,r),t.flags|=262144}function Kb(e){for(e=e.firstContext;e!==null;){if(!Da(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function Xu(e){rm=e,rl=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function gn(e){return TB(rm,e)}function yb(e,t){return rm===null&&Xu(e),TB(e,t)}function TB(e,t){var o=t._currentValue;if(t={context:t,memoizedValue:o,next:null},rl===null){if(e===null)throw Error(oe(308));rl=t,e.dependencies={lanes:0,firstContext:t},e.flags|=524288}else rl=rl.next=t;return o}var ZQ=typeof AbortController<"u"?AbortController:function(){var e=[],t=this.signal={aborted:!1,addEventListener:function(o,r){e.push(r)}};this.abort=function(){t.aborted=!0,e.forEach(function(o){return o()})}},jQ=Ur.unstable_scheduleCallback,GQ=Ur.unstable_NormalPriority,Pr={$$typeof:tl,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function vw(){return{controller:new ZQ,data:new Map,refCount:0}}function sg(e){e.refCount--,e.refCount===0&&jQ(GQ,function(){e.controller.abort()})}var Ph=null,EC=0,sd=0,Jf=null;function $Q(e,t){if(Ph===null){var o=Ph=[];EC=0,sd=$w(),Jf={status:"pending",value:void 0,then:function(r){o.push(r)}}}return EC++,t.then(_7,_7),t}function _7(){if(--EC===0&&Ph!==null){Jf!==null&&(Jf.status="fulfilled");var e=Ph;Ph=null,sd=0,Jf=null;for(var t=0;t<e.length;t++)(0,e[t])()}}function qQ(e,t){var o=[],r={status:"pending",value:null,reason:null,then:function(n){o.push(n)}};return e.then(function(){r.status="fulfilled",r.value=t;for(var n=0;n<o.length;n++)(0,o[n])(t)},function(n){for(r.status="rejected",r.reason=n,n=0;n<o.length;n++)(0,o[n])(void 0)}),r}var F7=He.S;He.S=function(e,t){VD=La(),typeof t=="object"&&t!==null&&typeof t.then=="function"&&$Q(e,t),F7!==null&&F7(e,t)};var ju=hi(null);function Cw(){var e=ju.current;return e!==null?e:Zt.pooledCache}function Db(e,t){t===null?qt(ju,ju.current):qt(ju,t.pool)}function AB(){var e=Cw();return e===null?null:{parent:Pr._currentValue,pool:e}}var bd=Error(oe(460)),ww=Error(oe(474)),wy=Error(oe(542)),Qb={then:function(){}};function H7(e){return e=e.status,e==="fulfilled"||e==="rejected"}function kB(e,t,o){switch(o=e[o],o===void 0?e.push(t):o!==t&&(t.then(ol,ol),t=o),t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,V7(e),e;default:if(typeof t.status=="string")t.then(ol,ol);else{if(e=Zt,e!==null&&100<e.shellSuspendCounter)throw Error(oe(482));e=t,e.status="pending",e.then(function(r){if(t.status==="pending"){var n=t;n.status="fulfilled",n.value=r}},function(r){if(t.status==="pending"){var n=t;n.status="rejected",n.reason=r}})}switch(t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,V7(e),e}throw Gu=t,bd}}function zu(e){try{var t=e._init;return t(e._payload)}catch(o){throw o!==null&&typeof o=="object"&&typeof o.then=="function"?(Gu=o,bd):o}}var Gu=null;function O7(){if(Gu===null)throw Error(oe(459));var e=Gu;return Gu=null,e}function V7(e){if(e===bd||e===wy)throw Error(oe(483))}var ed=null,Gh=0;function Sb(e){var t=Gh;return Gh+=1,ed===null&&(ed=[]),kB(ed,e,t)}function bh(e,t){t=t.props.ref,e.ref=t!==void 0?t:null}function xb(e,t){throw t.$$typeof===RK?Error(oe(525)):(e=Object.prototype.toString.call(t),Error(oe(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e)))}function MB(e){function t(g,b){if(e){var I=g.deletions;I===null?(g.deletions=[b],g.flags|=16):I.push(b)}}function o(g,b){if(!e)return null;for(;b!==null;)t(g,b),b=b.sibling;return null}function r(g){for(var b=new Map;g!==null;)g.key!==null?b.set(g.key,g):b.set(g.index,g),g=g.sibling;return b}function n(g,b){return g=nl(g,b),g.index=0,g.sibling=null,g}function a(g,b,I){return g.index=I,e?(I=g.alternate,I!==null?(I=I.index,I<b?(g.flags|=67108866,b):I):(g.flags|=67108866,b)):(g.flags|=1048576,b)}function s(g){return e&&g.alternate===null&&(g.flags|=67108866),g}function i(g,b,I,v){return b===null||b.tag!==6?(b=Wv(I,g.mode,v),b.return=g,b):(b=n(b,I),b.return=g,b)}function l(g,b,I,v){var C=I.type;return C===Of?u(g,b,I.props.children,v,I.key):b!==null&&(b.elementType===C||typeof C=="object"&&C!==null&&C.$$typeof===mc&&zu(C)===b.type)?(b=n(b,I.props),bh(b,I),b.return=g,b):(b=Bb(I.type,I.key,I.props,null,g.mode,v),bh(b,I),b.return=g,b)}function c(g,b,I,v){return b===null||b.tag!==4||b.stateNode.containerInfo!==I.containerInfo||b.stateNode.implementation!==I.implementation?(b=Uv(I,g.mode,v),b.return=g,b):(b=n(b,I.children||[]),b.return=g,b)}function u(g,b,I,v,C){return b===null||b.tag!==7?(b=Zu(I,g.mode,v,C),b.return=g,b):(b=n(b,I),b.return=g,b)}function m(g,b,I){if(typeof b=="string"&&b!==""||typeof b=="number"||typeof b=="bigint")return b=Wv(""+b,g.mode,I),b.return=g,b;if(typeof b=="object"&&b!==null){switch(b.$$typeof){case ub:return I=Bb(b.type,b.key,b.props,null,g.mode,I),bh(I,b),I.return=g,I;case vh:return b=Uv(b,g.mode,I),b.return=g,b;case mc:return b=zu(b),m(g,b,I)}if(Ch(b)||hh(b))return b=Zu(b,g.mode,I,null),b.return=g,b;if(typeof b.then=="function")return m(g,Sb(b),I);if(b.$$typeof===tl)return m(g,yb(g,b),I);xb(g,b)}return null}function f(g,b,I,v){var C=b!==null?b.key:null;if(typeof I=="string"&&I!==""||typeof I=="number"||typeof I=="bigint")return C!==null?null:i(g,b,""+I,v);if(typeof I=="object"&&I!==null){switch(I.$$typeof){case ub:return I.key===C?l(g,b,I,v):null;case vh:return I.key===C?c(g,b,I,v):null;case mc:return I=zu(I),f(g,b,I,v)}if(Ch(I)||hh(I))return C!==null?null:u(g,b,I,v,null);if(typeof I.then=="function")return f(g,b,Sb(I),v);if(I.$$typeof===tl)return f(g,b,yb(g,I),v);xb(g,I)}return null}function d(g,b,I,v,C){if(typeof v=="string"&&v!==""||typeof v=="number"||typeof v=="bigint")return g=g.get(I)||null,i(b,g,""+v,C);if(typeof v=="object"&&v!==null){switch(v.$$typeof){case ub:return g=g.get(v.key===null?I:v.key)||null,l(b,g,v,C);case vh:return g=g.get(v.key===null?I:v.key)||null,c(b,g,v,C);case mc:return v=zu(v),d(g,b,I,v,C)}if(Ch(v)||hh(v))return g=g.get(I)||null,u(b,g,v,C,null);if(typeof v.then=="function")return d(g,b,I,Sb(v),C);if(v.$$typeof===tl)return d(g,b,I,yb(b,v),C);xb(b,v)}return null}function p(g,b,I,v){for(var C=null,T=null,w=b,E=b=0,B=null;w!==null&&E<I.length;E++){w.index>E?(B=w,w=null):B=w.sibling;var L=f(g,w,I[E],v);if(L===null){w===null&&(w=B);break}e&&w&&L.alternate===null&&t(g,w),b=a(L,b,E),T===null?C=L:T.sibling=L,T=L,w=B}if(E===I.length)return o(g,w),yt&&Ji(g,E),C;if(w===null){for(;E<I.length;E++)w=m(g,I[E],v),w!==null&&(b=a(w,b,E),T===null?C=w:T.sibling=w,T=w);return yt&&Ji(g,E),C}for(w=r(w);E<I.length;E++)B=d(w,g,E,I[E],v),B!==null&&(e&&B.alternate!==null&&w.delete(B.key===null?E:B.key),b=a(B,b,E),T===null?C=B:T.sibling=B,T=B);return e&&w.forEach(function(_){return t(g,_)}),yt&&Ji(g,E),C}function h(g,b,I,v){if(I==null)throw Error(oe(151));for(var C=null,T=null,w=b,E=b=0,B=null,L=I.next();w!==null&&!L.done;E++,L=I.next()){w.index>E?(B=w,w=null):B=w.sibling;var _=f(g,w,L.value,v);if(_===null){w===null&&(w=B);break}e&&w&&_.alternate===null&&t(g,w),b=a(_,b,E),T===null?C=_:T.sibling=_,T=_,w=B}if(L.done)return o(g,w),yt&&Ji(g,E),C;if(w===null){for(;!L.done;E++,L=I.next())L=m(g,L.value,v),L!==null&&(b=a(L,b,E),T===null?C=L:T.sibling=L,T=L);return yt&&Ji(g,E),C}for(w=r(w);!L.done;E++,L=I.next())L=d(w,g,E,L.value,v),L!==null&&(e&&L.alternate!==null&&w.delete(L.key===null?E:L.key),b=a(L,b,E),T===null?C=L:T.sibling=L,T=L);return e&&w.forEach(function(j){return t(g,j)}),yt&&Ji(g,E),C}function S(g,b,I,v){if(typeof I=="object"&&I!==null&&I.type===Of&&I.key===null&&(I=I.props.children),typeof I=="object"&&I!==null){switch(I.$$typeof){case ub:e:{for(var C=I.key;b!==null;){if(b.key===C){if(C=I.type,C===Of){if(b.tag===7){o(g,b.sibling),v=n(b,I.props.children),v.return=g,g=v;break e}}else if(b.elementType===C||typeof C=="object"&&C!==null&&C.$$typeof===mc&&zu(C)===b.type){o(g,b.sibling),v=n(b,I.props),bh(v,I),v.return=g,g=v;break e}o(g,b);break}else t(g,b);b=b.sibling}I.type===Of?(v=Zu(I.props.children,g.mode,v,I.key),v.return=g,g=v):(v=Bb(I.type,I.key,I.props,null,g.mode,v),bh(v,I),v.return=g,g=v)}return s(g);case vh:e:{for(C=I.key;b!==null;){if(b.key===C)if(b.tag===4&&b.stateNode.containerInfo===I.containerInfo&&b.stateNode.implementation===I.implementation){o(g,b.sibling),v=n(b,I.children||[]),v.return=g,g=v;break e}else{o(g,b);break}else t(g,b);b=b.sibling}v=Uv(I,g.mode,v),v.return=g,g=v}return s(g);case mc:return I=zu(I),S(g,b,I,v)}if(Ch(I))return p(g,b,I,v);if(hh(I)){if(C=hh(I),typeof C!="function")throw Error(oe(150));return I=C.call(I),h(g,b,I,v)}if(typeof I.then=="function")return S(g,b,Sb(I),v);if(I.$$typeof===tl)return S(g,b,yb(g,I),v);xb(g,I)}return typeof I=="string"&&I!==""||typeof I=="number"||typeof I=="bigint"?(I=""+I,b!==null&&b.tag===6?(o(g,b.sibling),v=n(b,I),v.return=g,g=v):(o(g,b),v=Wv(I,g.mode,v),v.return=g,g=v),s(g)):o(g,b)}return function(g,b,I,v){try{Gh=0;var C=S(g,b,I,v);return ed=null,C}catch(w){if(w===bd||w===wy)throw w;var T=ka(29,w,null,g.mode);return T.lanes=v,T.return=g,T}finally{}}}var Yu=MB(!0),LB=MB(!1),fc=!1;function Tw(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function BC(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function wc(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function Tc(e,t,o){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,(Lt&2)!==0){var n=r.pending;return n===null?t.next=t:(t.next=n.next,n.next=t),r.pending=t,t=Xb(e),xB(e,null,o),t}return Cy(e,r,t,o),Xb(e)}function Eh(e,t,o){if(t=t.updateQueue,t!==null&&(t=t.shared,(o&4194048)!==0)){var r=t.lanes;r&=e.pendingLanes,o|=r,t.lanes=o,$E(e,o)}}function jv(e,t){var o=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,o===r)){var n=null,a=null;if(o=o.firstBaseUpdate,o!==null){do{var s={lane:o.lane,tag:o.tag,payload:o.payload,callback:null,next:null};a===null?n=a=s:a=a.next=s,o=o.next}while(o!==null);a===null?n=a=t:a=a.next=t}else n=a=t;o={baseState:r.baseState,firstBaseUpdate:n,lastBaseUpdate:a,shared:r.shared,callbacks:r.callbacks},e.updateQueue=o;return}e=o.lastBaseUpdate,e===null?o.firstBaseUpdate=t:e.next=t,o.lastBaseUpdate=t}var DC=!1;function Bh(){if(DC){var e=Jf;if(e!==null)throw e}}function Dh(e,t,o,r){DC=!1;var n=e.updateQueue;fc=!1;var a=n.firstBaseUpdate,s=n.lastBaseUpdate,i=n.shared.pending;if(i!==null){n.shared.pending=null;var l=i,c=l.next;l.next=null,s===null?a=c:s.next=c,s=l;var u=e.alternate;u!==null&&(u=u.updateQueue,i=u.lastBaseUpdate,i!==s&&(i===null?u.firstBaseUpdate=c:i.next=c,u.lastBaseUpdate=l))}if(a!==null){var m=n.baseState;s=0,u=c=l=null,i=a;do{var f=i.lane&-536870913,d=f!==i.lane;if(d?(mt&f)===f:(r&f)===f){f!==0&&f===sd&&(DC=!0),u!==null&&(u=u.next={lane:0,tag:i.tag,payload:i.payload,callback:null,next:null});e:{var p=e,h=i;f=t;var S=o;switch(h.tag){case 1:if(p=h.payload,typeof p=="function"){m=p.call(S,m,f);break e}m=p;break e;case 3:p.flags=p.flags&-65537|128;case 0:if(p=h.payload,f=typeof p=="function"?p.call(S,m,f):p,f==null)break e;m=oo({},m,f);break e;case 2:fc=!0}}f=i.callback,f!==null&&(e.flags|=64,d&&(e.flags|=8192),d=n.callbacks,d===null?n.callbacks=[f]:d.push(f))}else d={lane:f,tag:i.tag,payload:i.payload,callback:i.callback,next:null},u===null?(c=u=d,l=m):u=u.next=d,s|=f;if(i=i.next,i===null){if(i=n.shared.pending,i===null)break;d=i,i=d.next,d.next=null,n.lastBaseUpdate=d,n.shared.pending=null}}while(!0);u===null&&(l=m),n.baseState=l,n.firstBaseUpdate=c,n.lastBaseUpdate=u,a===null&&(n.shared.lanes=0),Rc|=s,e.lanes=s,e.memoizedState=m}}function PB(e,t){if(typeof e!="function")throw Error(oe(191,e));e.call(t)}function EB(e,t){var o=e.callbacks;if(o!==null)for(e.callbacks=null,e=0;e<o.length;e++)PB(o[e],t)}var id=hi(null),Jb=hi(0);function N7(e,t){e=ml,qt(Jb,e),qt(id,t),ml=e|t.baseLanes}function RC(){qt(Jb,ml),qt(id,id.current)}function Aw(){ml=Jb.current,rn(id),rn(Jb)}var Ra=hi(null),cs=null;function pc(e){var t=e.alternate;qt(Lo,Lo.current&1),qt(Ra,e),cs===null&&(t===null||id.current!==null||t.memoizedState!==null)&&(cs=e)}function _C(e){qt(Lo,Lo.current),qt(Ra,e),cs===null&&(cs=e)}function BB(e){e.tag===22?(qt(Lo,Lo.current),qt(Ra,e),cs===null&&(cs=e)):hc(e)}function hc(){qt(Lo,Lo.current),qt(Ra,Ra.current)}function Aa(e){rn(Ra),cs===e&&(cs=null),rn(Lo)}var Lo=hi(0);function ey(e){for(var t=e;t!==null;){if(t.tag===13){var o=t.memoizedState;if(o!==null&&(o=o.dehydrated,o===null||ew(o)||tw(o)))return t}else if(t.tag===19&&(t.memoizedProps.revealOrder==="forwards"||t.memoizedProps.revealOrder==="backwards"||t.memoizedProps.revealOrder==="unstable_legacy-backwards"||t.memoizedProps.revealOrder==="together")){if((t.flags&128)!==0)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var ll=0,Ye=null,Nt=null,Mr=null,ty=!1,td=!1,Ku=!1,oy=0,$h=0,od=null,XQ=0;function Co(){throw Error(oe(321))}function kw(e,t){if(t===null)return!1;for(var o=0;o<t.length&&o<e.length;o++)if(!Da(e[o],t[o]))return!1;return!0}function Mw(e,t,o,r,n,a){return ll=a,Ye=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,He.H=e===null||e.memoizedState===null?cD:Vw,Ku=!1,a=o(r,n),Ku=!1,td&&(a=RB(t,o,r,n)),DB(e),a}function DB(e){He.H=qh;var t=Nt!==null&&Nt.next!==null;if(ll=0,Mr=Nt=Ye=null,ty=!1,$h=0,od=null,t)throw Error(oe(300));e===null||Er||(e=e.dependencies,e!==null&&Kb(e)&&(Er=!0))}function RB(e,t,o,r){Ye=e;var n=0;do{if(td&&(od=null),$h=0,td=!1,25<=n)throw Error(oe(301));if(n+=1,Mr=Nt=null,e.updateQueue!=null){var a=e.updateQueue;a.lastEffect=null,a.events=null,a.stores=null,a.memoCache!=null&&(a.memoCache.index=0)}He.H=uD,a=t(o,r)}while(td);return a}function YQ(){var e=He.H,t=e.useState()[0];return t=typeof t.then=="function"?ig(t):t,e=e.useState()[0],(Nt!==null?Nt.memoizedState:null)!==e&&(Ye.flags|=1024),t}function Lw(){var e=oy!==0;return oy=0,e}function Pw(e,t,o){t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o}function Ew(e){if(ty){for(e=e.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}ty=!1}ll=0,Mr=Nt=Ye=null,td=!1,$h=oy=0,od=null}function On(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Mr===null?Ye.memoizedState=Mr=e:Mr=Mr.next=e,Mr}function Po(){if(Nt===null){var e=Ye.alternate;e=e!==null?e.memoizedState:null}else e=Nt.next;var t=Mr===null?Ye.memoizedState:Mr.next;if(t!==null)Mr=t,Nt=e;else{if(e===null)throw Ye.alternate===null?Error(oe(467)):Error(oe(310));Nt=e,e={memoizedState:Nt.memoizedState,baseState:Nt.baseState,baseQueue:Nt.baseQueue,queue:Nt.queue,next:null},Mr===null?Ye.memoizedState=Mr=e:Mr=Mr.next=e}return Mr}function Ty(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function ig(e){var t=$h;return $h+=1,od===null&&(od=[]),e=kB(od,e,t),t=Ye,(Mr===null?t.memoizedState:Mr.next)===null&&(t=t.alternate,He.H=t===null||t.memoizedState===null?cD:Vw),e}function Ay(e){if(e!==null&&typeof e=="object"){if(typeof e.then=="function")return ig(e);if(e.$$typeof===tl)return gn(e)}throw Error(oe(438,String(e)))}function Bw(e){var t=null,o=Ye.updateQueue;if(o!==null&&(t=o.memoCache),t==null){var r=Ye.alternate;r!==null&&(r=r.updateQueue,r!==null&&(r=r.memoCache,r!=null&&(t={data:r.data.map(function(n){return n.slice()}),index:0})))}if(t==null&&(t={data:[],index:0}),o===null&&(o=Ty(),Ye.updateQueue=o),o.memoCache=t,o=t.data[t.index],o===void 0)for(o=t.data[t.index]=Array(e),r=0;r<e;r++)o[r]=_K;return t.index++,o}function cl(e,t){return typeof t=="function"?t(e):t}function Rb(e){var t=Po();return Dw(t,Nt,e)}function Dw(e,t,o){var r=e.queue;if(r===null)throw Error(oe(311));r.lastRenderedReducer=o;var n=e.baseQueue,a=r.pending;if(a!==null){if(n!==null){var s=n.next;n.next=a.next,a.next=s}t.baseQueue=n=a,r.pending=null}if(a=e.baseState,n===null)e.memoizedState=a;else{t=n.next;var i=s=null,l=null,c=t,u=!1;do{var m=c.lane&-536870913;if(m!==c.lane?(mt&m)===m:(ll&m)===m){var f=c.revertLane;if(f===0)l!==null&&(l=l.next={lane:0,revertLane:0,gesture:null,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null}),m===sd&&(u=!0);else if((ll&f)===f){c=c.next,f===sd&&(u=!0);continue}else m={lane:0,revertLane:c.revertLane,gesture:null,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null},l===null?(i=l=m,s=a):l=l.next=m,Ye.lanes|=f,Rc|=f;m=c.action,Ku&&o(a,m),a=c.hasEagerState?c.eagerState:o(a,m)}else f={lane:m,revertLane:c.revertLane,gesture:c.gesture,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null},l===null?(i=l=f,s=a):l=l.next=f,Ye.lanes|=m,Rc|=m;c=c.next}while(c!==null&&c!==t);if(l===null?s=a:l.next=i,!Da(a,e.memoizedState)&&(Er=!0,u&&(o=Jf,o!==null)))throw o;e.memoizedState=a,e.baseState=s,e.baseQueue=l,r.lastRenderedState=a}return n===null&&(r.lanes=0),[e.memoizedState,r.dispatch]}function Gv(e){var t=Po(),o=t.queue;if(o===null)throw Error(oe(311));o.lastRenderedReducer=e;var r=o.dispatch,n=o.pending,a=t.memoizedState;if(n!==null){o.pending=null;var s=n=n.next;do a=e(a,s.action),s=s.next;while(s!==n);Da(a,t.memoizedState)||(Er=!0),t.memoizedState=a,t.baseQueue===null&&(t.baseState=a),o.lastRenderedState=a}return[a,r]}function _B(e,t,o){var r=Ye,n=Po(),a=yt;if(a){if(o===void 0)throw Error(oe(407));o=o()}else o=t();var s=!Da((Nt||n).memoizedState,o);if(s&&(n.memoizedState=o,Er=!0),n=n.queue,Rw(OB.bind(null,r,n,e),[e]),n.getSnapshot!==t||s||Mr!==null&&Mr.memoizedState.tag&1){if(r.flags|=2048,ld(9,{destroy:void 0},HB.bind(null,r,n,o,t),null),Zt===null)throw Error(oe(349));a||(ll&127)!==0||FB(r,t,o)}return o}function FB(e,t,o){e.flags|=16384,e={getSnapshot:t,value:o},t=Ye.updateQueue,t===null?(t=Ty(),Ye.updateQueue=t,t.stores=[e]):(o=t.stores,o===null?t.stores=[e]:o.push(e))}function HB(e,t,o,r){t.value=o,t.getSnapshot=r,VB(t)&&NB(e)}function OB(e,t,o){return o(function(){VB(t)&&NB(e)})}function VB(e){var t=e.getSnapshot;e=e.value;try{var o=t();return!Da(e,o)}catch{return!0}}function NB(e){var t=om(e,2);t!==null&&oa(t,e,2)}function FC(e){var t=On();if(typeof e=="function"){var o=e;if(e=o(),Ku){bc(!0);try{o()}finally{bc(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:cl,lastRenderedState:e},t}function zB(e,t,o,r){return e.baseState=o,Dw(e,Nt,typeof r=="function"?r:cl)}function KQ(e,t,o,r,n){if(My(e))throw Error(oe(485));if(e=t.action,e!==null){var a={payload:n,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(s){a.listeners.push(s)}};He.T!==null?o(!0):a.isTransition=!1,r(a),o=t.pending,o===null?(a.next=t.pending=a,WB(t,a)):(a.next=o.next,t.pending=o.next=a)}}function WB(e,t){var o=t.action,r=t.payload,n=e.state;if(t.isTransition){var a=He.T,s={};He.T=s;try{var i=o(n,r),l=He.S;l!==null&&l(s,i),z7(e,t,i)}catch(c){HC(e,t,c)}finally{a!==null&&s.types!==null&&(a.types=s.types),He.T=a}}else try{a=o(n,r),z7(e,t,a)}catch(c){HC(e,t,c)}}function z7(e,t,o){o!==null&&typeof o=="object"&&typeof o.then=="function"?o.then(function(r){W7(e,t,r)},function(r){return HC(e,t,r)}):W7(e,t,o)}function W7(e,t,o){t.status="fulfilled",t.value=o,UB(t),e.state=o,t=e.pending,t!==null&&(o=t.next,o===t?e.pending=null:(o=o.next,t.next=o,WB(e,o)))}function HC(e,t,o){var r=e.pending;if(e.pending=null,r!==null){r=r.next;do t.status="rejected",t.reason=o,UB(t),t=t.next;while(t!==r)}e.action=null}function UB(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function ZB(e,t){return t}function U7(e,t){if(yt){var o=Zt.formState;if(o!==null){e:{var r=Ye;if(yt){if(to){t:{for(var n=to,a=ls;n.nodeType!==8;){if(!a){n=null;break t}if(n=us(n.nextSibling),n===null){n=null;break t}}a=n.data,n=a==="F!"||a==="F"?n:null}if(n){to=us(n.nextSibling),r=n.data==="F!";break e}}Bc(r)}r=!1}r&&(t=o[0])}}return o=On(),o.memoizedState=o.baseState=t,r={pending:null,lanes:0,dispatch:null,lastRenderedReducer:ZB,lastRenderedState:t},o.queue=r,o=sD.bind(null,Ye,r),r.dispatch=o,r=FC(!1),a=Ow.bind(null,Ye,!1,r.queue),r=On(),n={state:t,dispatch:null,action:e,pending:null},r.queue=n,o=KQ.bind(null,Ye,n,a,o),n.dispatch=o,r.memoizedState=e,[t,o,!1]}function Z7(e){var t=Po();return jB(t,Nt,e)}function jB(e,t,o){if(t=Dw(e,t,ZB)[0],e=Rb(cl)[0],typeof t=="object"&&t!==null&&typeof t.then=="function")try{var r=ig(t)}catch(s){throw s===bd?wy:s}else r=t;t=Po();var n=t.queue,a=n.dispatch;return o!==t.memoizedState&&(Ye.flags|=2048,ld(9,{destroy:void 0},QQ.bind(null,n,o),null)),[r,a,e]}function QQ(e,t){e.action=t}function j7(e){var t=Po(),o=Nt;if(o!==null)return jB(t,o,e);Po(),t=t.memoizedState,o=Po();var r=o.queue.dispatch;return o.memoizedState=e,[t,r,!1]}function ld(e,t,o,r){return e={tag:e,create:o,deps:r,inst:t,next:null},t=Ye.updateQueue,t===null&&(t=Ty(),Ye.updateQueue=t),o=t.lastEffect,o===null?t.lastEffect=e.next=e:(r=o.next,o.next=e,e.next=r,t.lastEffect=e),e}function GB(){return Po().memoizedState}function _b(e,t,o,r){var n=On();Ye.flags|=e,n.memoizedState=ld(1|t,{destroy:void 0},o,r===void 0?null:r)}function ky(e,t,o,r){var n=Po();r=r===void 0?null:r;var a=n.memoizedState.inst;Nt!==null&&r!==null&&kw(r,Nt.memoizedState.deps)?n.memoizedState=ld(t,a,o,r):(Ye.flags|=e,n.memoizedState=ld(1|t,a,o,r))}function G7(e,t){_b(8390656,8,e,t)}function Rw(e,t){ky(2048,8,e,t)}function JQ(e){Ye.flags|=4;var t=Ye.updateQueue;if(t===null)t=Ty(),Ye.updateQueue=t,t.events=[e];else{var o=t.events;o===null?t.events=[e]:o.push(e)}}function $B(e){var t=Po().memoizedState;return JQ({ref:t,nextImpl:e}),function(){if((Lt&2)!==0)throw Error(oe(440));return t.impl.apply(void 0,arguments)}}function qB(e,t){return ky(4,2,e,t)}function XB(e,t){return ky(4,4,e,t)}function YB(e,t){if(typeof t=="function"){e=e();var o=t(e);return function(){typeof o=="function"?o():t(null)}}if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function KB(e,t,o){o=o!=null?o.concat([e]):null,ky(4,4,YB.bind(null,t,e),o)}function _w(){}function QB(e,t){var o=Po();t=t===void 0?null:t;var r=o.memoizedState;return t!==null&&kw(t,r[1])?r[0]:(o.memoizedState=[e,t],e)}function JB(e,t){var o=Po();t=t===void 0?null:t;var r=o.memoizedState;if(t!==null&&kw(t,r[1]))return r[0];if(r=e(),Ku){bc(!0);try{e()}finally{bc(!1)}}return o.memoizedState=[r,t],r}function Fw(e,t,o){return o===void 0||(ll&1073741824)!==0&&(mt&261930)===0?e.memoizedState=t:(e.memoizedState=o,e=zD(),Ye.lanes|=e,Rc|=e,o)}function eD(e,t,o,r){return Da(o,t)?o:id.current!==null?(e=Fw(e,o,r),Da(e,t)||(Er=!0),e):(ll&42)===0||(ll&1073741824)!==0&&(mt&261930)===0?(Er=!0,e.memoizedState=o):(e=zD(),Ye.lanes|=e,Rc|=e,t)}function tD(e,t,o,r,n){var a=Pt.p;Pt.p=a!==0&&8>a?a:8;var s=He.T,i={};He.T=i,Ow(e,!1,t,o);try{var l=n(),c=He.S;if(c!==null&&c(i,l),l!==null&&typeof l=="object"&&typeof l.then=="function"){var u=qQ(l,r);Rh(e,t,u,Ba(e))}else Rh(e,t,r,Ba(e))}catch(m){Rh(e,t,{then:function(){},status:"rejected",reason:m},Ba())}finally{Pt.p=a,s!==null&&i.types!==null&&(s.types=i.types),He.T=s}}function eJ(){}function OC(e,t,o,r){if(e.tag!==5)throw Error(oe(476));var n=oD(e).queue;tD(e,n,t,Uu,o===null?eJ:function(){return rD(e),o(r)})}function oD(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:Uu,baseState:Uu,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:cl,lastRenderedState:Uu},next:null};var o={};return t.next={memoizedState:o,baseState:o,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:cl,lastRenderedState:o},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function rD(e){var t=oD(e);t.next===null&&(t=e.alternate.memoizedState),Rh(e,t.next.queue,{},Ba())}function Hw(){return gn(Kh)}function nD(){return Po().memoizedState}function aD(){return Po().memoizedState}function tJ(e){for(var t=e.return;t!==null;){switch(t.tag){case 24:case 3:var o=Ba();e=wc(o);var r=Tc(t,e,o);r!==null&&(oa(r,t,o),Eh(r,t,o)),t={cache:vw()},e.payload=t;return}t=t.return}}function oJ(e,t,o){var r=Ba();o={lane:r,revertLane:0,gesture:null,action:o,hasEagerState:!1,eagerState:null,next:null},My(e)?iD(t,o):(o=yw(e,t,o,r),o!==null&&(oa(o,e,r),lD(o,t,r)))}function sD(e,t,o){var r=Ba();Rh(e,t,o,r)}function Rh(e,t,o,r){var n={lane:r,revertLane:0,gesture:null,action:o,hasEagerState:!1,eagerState:null,next:null};if(My(e))iD(t,n);else{var a=e.alternate;if(e.lanes===0&&(a===null||a.lanes===0)&&(a=t.lastRenderedReducer,a!==null))try{var s=t.lastRenderedState,i=a(s,o);if(n.hasEagerState=!0,n.eagerState=i,Da(i,s))return Cy(e,t,n,0),Zt===null&&vy(),!1}catch{}finally{}if(o=yw(e,t,n,r),o!==null)return oa(o,e,r),lD(o,t,r),!0}return!1}function Ow(e,t,o,r){if(r={lane:2,revertLane:$w(),gesture:null,action:r,hasEagerState:!1,eagerState:null,next:null},My(e)){if(t)throw Error(oe(479))}else t=yw(e,o,r,2),t!==null&&oa(t,e,2)}function My(e){var t=e.alternate;return e===Ye||t!==null&&t===Ye}function iD(e,t){td=ty=!0;var o=e.pending;o===null?t.next=t:(t.next=o.next,o.next=t),e.pending=t}function lD(e,t,o){if((o&4194048)!==0){var r=t.lanes;r&=e.pendingLanes,o|=r,t.lanes=o,$E(e,o)}}var qh={readContext:gn,use:Ay,useCallback:Co,useContext:Co,useEffect:Co,useImperativeHandle:Co,useLayoutEffect:Co,useInsertionEffect:Co,useMemo:Co,useReducer:Co,useRef:Co,useState:Co,useDebugValue:Co,useDeferredValue:Co,useTransition:Co,useSyncExternalStore:Co,useId:Co,useHostTransitionStatus:Co,useFormState:Co,useActionState:Co,useOptimistic:Co,useMemoCache:Co,useCacheRefresh:Co};qh.useEffectEvent=Co;var cD={readContext:gn,use:Ay,useCallback:function(e,t){return On().memoizedState=[e,t===void 0?null:t],e},useContext:gn,useEffect:G7,useImperativeHandle:function(e,t,o){o=o!=null?o.concat([e]):null,_b(4194308,4,YB.bind(null,t,e),o)},useLayoutEffect:function(e,t){return _b(4194308,4,e,t)},useInsertionEffect:function(e,t){_b(4,2,e,t)},useMemo:function(e,t){var o=On();t=t===void 0?null:t;var r=e();if(Ku){bc(!0);try{e()}finally{bc(!1)}}return o.memoizedState=[r,t],r},useReducer:function(e,t,o){var r=On();if(o!==void 0){var n=o(t);if(Ku){bc(!0);try{o(t)}finally{bc(!1)}}}else n=t;return r.memoizedState=r.baseState=n,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:n},r.queue=e,e=e.dispatch=oJ.bind(null,Ye,e),[r.memoizedState,e]},useRef:function(e){var t=On();return e={current:e},t.memoizedState=e},useState:function(e){e=FC(e);var t=e.queue,o=sD.bind(null,Ye,t);return t.dispatch=o,[e.memoizedState,o]},useDebugValue:_w,useDeferredValue:function(e,t){var o=On();return Fw(o,e,t)},useTransition:function(){var e=FC(!1);return e=tD.bind(null,Ye,e.queue,!0,!1),On().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,t,o){var r=Ye,n=On();if(yt){if(o===void 0)throw Error(oe(407));o=o()}else{if(o=t(),Zt===null)throw Error(oe(349));(mt&127)!==0||FB(r,t,o)}n.memoizedState=o;var a={value:o,getSnapshot:t};return n.queue=a,G7(OB.bind(null,r,a,e),[e]),r.flags|=2048,ld(9,{destroy:void 0},HB.bind(null,r,a,o,t),null),o},useId:function(){var e=On(),t=Zt.identifierPrefix;if(yt){var o=fi,r=mi;o=(r&~(1<<32-Ea(r)-1)).toString(32)+o,t="_"+t+"R_"+o,o=oy++,0<o&&(t+="H"+o.toString(32)),t+="_"}else o=XQ++,t="_"+t+"r_"+o.toString(32)+"_";return e.memoizedState=t},useHostTransitionStatus:Hw,useFormState:U7,useActionState:U7,useOptimistic:function(e){var t=On();t.memoizedState=t.baseState=e;var o={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=o,t=Ow.bind(null,Ye,!0,o),o.dispatch=t,[e,t]},useMemoCache:Bw,useCacheRefresh:function(){return On().memoizedState=tJ.bind(null,Ye)},useEffectEvent:function(e){var t=On(),o={impl:e};return t.memoizedState=o,function(){if((Lt&2)!==0)throw Error(oe(440));return o.impl.apply(void 0,arguments)}}},Vw={readContext:gn,use:Ay,useCallback:QB,useContext:gn,useEffect:Rw,useImperativeHandle:KB,useInsertionEffect:qB,useLayoutEffect:XB,useMemo:JB,useReducer:Rb,useRef:GB,useState:function(){return Rb(cl)},useDebugValue:_w,useDeferredValue:function(e,t){var o=Po();return eD(o,Nt.memoizedState,e,t)},useTransition:function(){var e=Rb(cl)[0],t=Po().memoizedState;return[typeof e=="boolean"?e:ig(e),t]},useSyncExternalStore:_B,useId:nD,useHostTransitionStatus:Hw,useFormState:Z7,useActionState:Z7,useOptimistic:function(e,t){var o=Po();return zB(o,Nt,e,t)},useMemoCache:Bw,useCacheRefresh:aD};Vw.useEffectEvent=$B;var uD={readContext:gn,use:Ay,useCallback:QB,useContext:gn,useEffect:Rw,useImperativeHandle:KB,useInsertionEffect:qB,useLayoutEffect:XB,useMemo:JB,useReducer:Gv,useRef:GB,useState:function(){return Gv(cl)},useDebugValue:_w,useDeferredValue:function(e,t){var o=Po();return Nt===null?Fw(o,e,t):eD(o,Nt.memoizedState,e,t)},useTransition:function(){var e=Gv(cl)[0],t=Po().memoizedState;return[typeof e=="boolean"?e:ig(e),t]},useSyncExternalStore:_B,useId:nD,useHostTransitionStatus:Hw,useFormState:j7,useActionState:j7,useOptimistic:function(e,t){var o=Po();return Nt!==null?zB(o,Nt,e,t):(o.baseState=e,[e,o.queue.dispatch])},useMemoCache:Bw,useCacheRefresh:aD};uD.useEffectEvent=$B;function $v(e,t,o,r){t=e.memoizedState,o=o(r,t),o=o==null?t:oo({},t,o),e.memoizedState=o,e.lanes===0&&(e.updateQueue.baseState=o)}var VC={enqueueSetState:function(e,t,o){e=e._reactInternals;var r=Ba(),n=wc(r);n.payload=t,o!=null&&(n.callback=o),t=Tc(e,n,r),t!==null&&(oa(t,e,r),Eh(t,e,r))},enqueueReplaceState:function(e,t,o){e=e._reactInternals;var r=Ba(),n=wc(r);n.tag=1,n.payload=t,o!=null&&(n.callback=o),t=Tc(e,n,r),t!==null&&(oa(t,e,r),Eh(t,e,r))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var o=Ba(),r=wc(o);r.tag=2,t!=null&&(r.callback=t),t=Tc(e,r,o),t!==null&&(oa(t,e,o),Eh(t,e,o))}};function $7(e,t,o,r,n,a,s){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(r,a,s):t.prototype&&t.prototype.isPureReactComponent?!Uh(o,r)||!Uh(n,a):!0}function q7(e,t,o,r){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(o,r),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(o,r),t.state!==e&&VC.enqueueReplaceState(t,t.state,null)}function Qu(e,t){var o=t;if("ref"in t){o={};for(var r in t)r!=="ref"&&(o[r]=t[r])}if(e=e.defaultProps){o===t&&(o=oo({},o));for(var n in e)o[n]===void 0&&(o[n]=e[n])}return o}function mD(e){qb(e)}function fD(e){console.error(e)}function dD(e){qb(e)}function ry(e,t){try{var o=e.onUncaughtError;o(t.value,{componentStack:t.stack})}catch(r){setTimeout(function(){throw r})}}function X7(e,t,o){try{var r=e.onCaughtError;r(o.value,{componentStack:o.stack,errorBoundary:t.tag===1?t.stateNode:null})}catch(n){setTimeout(function(){throw n})}}function NC(e,t,o){return o=wc(o),o.tag=3,o.payload={element:null},o.callback=function(){ry(e,t)},o}function pD(e){return e=wc(e),e.tag=3,e}function hD(e,t,o,r){var n=o.type.getDerivedStateFromError;if(typeof n=="function"){var a=r.value;e.payload=function(){return n(a)},e.callback=function(){X7(t,o,r)}}var s=o.stateNode;s!==null&&typeof s.componentDidCatch=="function"&&(e.callback=function(){X7(t,o,r),typeof n!="function"&&(Ac===null?Ac=new Set([this]):Ac.add(this));var i=r.stack;this.componentDidCatch(r.value,{componentStack:i!==null?i:""})})}function rJ(e,t,o,r,n){if(o.flags|=32768,r!==null&&typeof r=="object"&&typeof r.then=="function"){if(t=o.alternate,t!==null&&gd(t,o,n,!0),o=Ra.current,o!==null){switch(o.tag){case 31:case 13:return cs===null?ly():o.alternate===null&&wo===0&&(wo=3),o.flags&=-257,o.flags|=65536,o.lanes=n,r===Qb?o.flags|=16384:(t=o.updateQueue,t===null?o.updateQueue=new Set([r]):t.add(r),nC(e,r,n)),!1;case 22:return o.flags|=65536,r===Qb?o.flags|=16384:(t=o.updateQueue,t===null?(t={transitions:null,markerInstances:null,retryQueue:new Set([r])},o.updateQueue=t):(o=t.retryQueue,o===null?t.retryQueue=new Set([r]):o.add(r)),nC(e,r,n)),!1}throw Error(oe(435,o.tag))}return nC(e,r,n),ly(),!1}if(yt)return t=Ra.current,t!==null?((t.flags&65536)===0&&(t.flags|=256),t.flags|=65536,t.lanes=n,r!==kC&&(e=Error(oe(422),{cause:r}),jh(is(e,o)))):(r!==kC&&(t=Error(oe(423),{cause:r}),jh(is(t,o))),e=e.current.alternate,e.flags|=65536,n&=-n,e.lanes|=n,r=is(r,o),n=NC(e.stateNode,r,n),jv(e,n),wo!==4&&(wo=2)),!1;var a=Error(oe(520),{cause:r});if(a=is(a,o),Hh===null?Hh=[a]:Hh.push(a),wo!==4&&(wo=2),t===null)return!0;r=is(r,o),o=t;do{switch(o.tag){case 3:return o.flags|=65536,e=n&-n,o.lanes|=e,e=NC(o.stateNode,r,e),jv(o,e),!1;case 1:if(t=o.type,a=o.stateNode,(o.flags&128)===0&&(typeof t.getDerivedStateFromError=="function"||a!==null&&typeof a.componentDidCatch=="function"&&(Ac===null||!Ac.has(a))))return o.flags|=65536,n&=-n,o.lanes|=n,n=pD(n),hD(n,e,o,r),jv(o,n),!1}o=o.return}while(o!==null);return!1}var Nw=Error(oe(461)),Er=!1;function dn(e,t,o,r){t.child=e===null?LB(t,null,o,r):Yu(t,e.child,o,r)}function Y7(e,t,o,r,n){o=o.render;var a=t.ref;if("ref"in r){var s={};for(var i in r)i!=="ref"&&(s[i]=r[i])}else s=r;return Xu(t),r=Mw(e,t,o,s,a,n),i=Lw(),e!==null&&!Er?(Pw(e,t,n),ul(e,t,n)):(yt&&i&&xw(t),t.flags|=1,dn(e,t,r,n),t.child)}function K7(e,t,o,r,n){if(e===null){var a=o.type;return typeof a=="function"&&!Sw(a)&&a.defaultProps===void 0&&o.compare===null?(t.tag=15,t.type=a,gD(e,t,a,r,n)):(e=Bb(o.type,null,r,t,t.mode,n),e.ref=t.ref,e.return=t,t.child=e)}if(a=e.child,!zw(e,n)){var s=a.memoizedProps;if(o=o.compare,o=o!==null?o:Uh,o(s,r)&&e.ref===t.ref)return ul(e,t,n)}return t.flags|=1,e=nl(a,r),e.ref=t.ref,e.return=t,t.child=e}function gD(e,t,o,r,n){if(e!==null){var a=e.memoizedProps;if(Uh(a,r)&&e.ref===t.ref)if(Er=!1,t.pendingProps=r=a,zw(e,n))(e.flags&131072)!==0&&(Er=!0);else return t.lanes=e.lanes,ul(e,t,n)}return zC(e,t,o,r,n)}function bD(e,t,o,r){var n=r.children,a=e!==null?e.memoizedState:null;if(e===null&&t.stateNode===null&&(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),r.mode==="hidden"){if((t.flags&128)!==0){if(a=a!==null?a.baseLanes|o:o,e!==null){for(r=t.child=e.child,n=0;r!==null;)n=n|r.lanes|r.childLanes,r=r.sibling;r=n&~a}else r=0,t.child=null;return Q7(e,t,a,o,r)}if((o&536870912)!==0)t.memoizedState={baseLanes:0,cachePool:null},e!==null&&Db(t,a!==null?a.cachePool:null),a!==null?N7(t,a):RC(),BB(t);else return r=t.lanes=536870912,Q7(e,t,a!==null?a.baseLanes|o:o,o,r)}else a!==null?(Db(t,a.cachePool),N7(t,a),hc(t),t.memoizedState=null):(e!==null&&Db(t,null),RC(),hc(t));return dn(e,t,n,o),t.child}function Th(e,t){return e!==null&&e.tag===22||t.stateNode!==null||(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),t.sibling}function Q7(e,t,o,r,n){var a=Cw();return a=a===null?null:{parent:Pr._currentValue,pool:a},t.memoizedState={baseLanes:o,cachePool:a},e!==null&&Db(t,null),RC(),BB(t),e!==null&&gd(e,t,r,!0),t.childLanes=n,null}function Fb(e,t){return t=ny({mode:t.mode,children:t.children},e.mode),t.ref=e.ref,e.child=t,t.return=e,t}function J7(e,t,o){return Yu(t,e.child,null,o),e=Fb(t,t.pendingProps),e.flags|=2,Aa(t),t.memoizedState=null,e}function nJ(e,t,o){var r=t.pendingProps,n=(t.flags&128)!==0;if(t.flags&=-129,e===null){if(yt){if(r.mode==="hidden")return e=Fb(t,r),t.lanes=536870912,Th(null,e);if(_C(t),(e=to)?(e=cR(e,ls),e=e!==null&&e.data==="&"?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:Ec!==null?{id:mi,overflow:fi}:null,retryLane:536870912,hydrationErrors:null},o=vB(e),o.return=t,t.child=o,hn=t,to=null)):e=null,e===null)throw Bc(t);return t.lanes=536870912,null}return Fb(t,r)}var a=e.memoizedState;if(a!==null){var s=a.dehydrated;if(_C(t),n)if(t.flags&256)t.flags&=-257,t=J7(e,t,o);else if(t.memoizedState!==null)t.child=e.child,t.flags|=128,t=null;else throw Error(oe(558));else if(Er||gd(e,t,o,!1),n=(o&e.childLanes)!==0,Er||n){if(r=Zt,r!==null&&(s=qE(r,o),s!==0&&s!==a.retryLane))throw a.retryLane=s,om(e,s),oa(r,e,s),Nw;ly(),t=J7(e,t,o)}else e=a.treeContext,to=us(s.nextSibling),hn=t,yt=!0,Cc=null,ls=!1,e!==null&&wB(t,e),t=Fb(t,r),t.flags|=4096;return t}return e=nl(e.child,{mode:r.mode,children:r.children}),e.ref=t.ref,t.child=e,e.return=t,e}function Hb(e,t){var o=t.ref;if(o===null)e!==null&&e.ref!==null&&(t.flags|=4194816);else{if(typeof o!="function"&&typeof o!="object")throw Error(oe(284));(e===null||e.ref!==o)&&(t.flags|=4194816)}}function zC(e,t,o,r,n){return Xu(t),o=Mw(e,t,o,r,void 0,n),r=Lw(),e!==null&&!Er?(Pw(e,t,n),ul(e,t,n)):(yt&&r&&xw(t),t.flags|=1,dn(e,t,o,n),t.child)}function eE(e,t,o,r,n,a){return Xu(t),t.updateQueue=null,o=RB(t,r,o,n),DB(e),r=Lw(),e!==null&&!Er?(Pw(e,t,a),ul(e,t,a)):(yt&&r&&xw(t),t.flags|=1,dn(e,t,o,a),t.child)}function tE(e,t,o,r,n){if(Xu(t),t.stateNode===null){var a=Gf,s=o.contextType;typeof s=="object"&&s!==null&&(a=gn(s)),a=new o(r,a),t.memoizedState=a.state!==null&&a.state!==void 0?a.state:null,a.updater=VC,t.stateNode=a,a._reactInternals=t,a=t.stateNode,a.props=r,a.state=t.memoizedState,a.refs={},Tw(t),s=o.contextType,a.context=typeof s=="object"&&s!==null?gn(s):Gf,a.state=t.memoizedState,s=o.getDerivedStateFromProps,typeof s=="function"&&($v(t,o,s,r),a.state=t.memoizedState),typeof o.getDerivedStateFromProps=="function"||typeof a.getSnapshotBeforeUpdate=="function"||typeof a.UNSAFE_componentWillMount!="function"&&typeof a.componentWillMount!="function"||(s=a.state,typeof a.componentWillMount=="function"&&a.componentWillMount(),typeof a.UNSAFE_componentWillMount=="function"&&a.UNSAFE_componentWillMount(),s!==a.state&&VC.enqueueReplaceState(a,a.state,null),Dh(t,r,a,n),Bh(),a.state=t.memoizedState),typeof a.componentDidMount=="function"&&(t.flags|=4194308),r=!0}else if(e===null){a=t.stateNode;var i=t.memoizedProps,l=Qu(o,i);a.props=l;var c=a.context,u=o.contextType;s=Gf,typeof u=="object"&&u!==null&&(s=gn(u));var m=o.getDerivedStateFromProps;u=typeof m=="function"||typeof a.getSnapshotBeforeUpdate=="function",i=t.pendingProps!==i,u||typeof a.UNSAFE_componentWillReceiveProps!="function"&&typeof a.componentWillReceiveProps!="function"||(i||c!==s)&&q7(t,a,r,s),fc=!1;var f=t.memoizedState;a.state=f,Dh(t,r,a,n),Bh(),c=t.memoizedState,i||f!==c||fc?(typeof m=="function"&&($v(t,o,m,r),c=t.memoizedState),(l=fc||$7(t,o,l,r,f,c,s))?(u||typeof a.UNSAFE_componentWillMount!="function"&&typeof a.componentWillMount!="function"||(typeof a.componentWillMount=="function"&&a.componentWillMount(),typeof a.UNSAFE_componentWillMount=="function"&&a.UNSAFE_componentWillMount()),typeof a.componentDidMount=="function"&&(t.flags|=4194308)):(typeof a.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=c),a.props=r,a.state=c,a.context=s,r=l):(typeof a.componentDidMount=="function"&&(t.flags|=4194308),r=!1)}else{a=t.stateNode,BC(e,t),s=t.memoizedProps,u=Qu(o,s),a.props=u,m=t.pendingProps,f=a.context,c=o.contextType,l=Gf,typeof c=="object"&&c!==null&&(l=gn(c)),i=o.getDerivedStateFromProps,(c=typeof i=="function"||typeof a.getSnapshotBeforeUpdate=="function")||typeof a.UNSAFE_componentWillReceiveProps!="function"&&typeof a.componentWillReceiveProps!="function"||(s!==m||f!==l)&&q7(t,a,r,l),fc=!1,f=t.memoizedState,a.state=f,Dh(t,r,a,n),Bh();var d=t.memoizedState;s!==m||f!==d||fc||e!==null&&e.dependencies!==null&&Kb(e.dependencies)?(typeof i=="function"&&($v(t,o,i,r),d=t.memoizedState),(u=fc||$7(t,o,u,r,f,d,l)||e!==null&&e.dependencies!==null&&Kb(e.dependencies))?(c||typeof a.UNSAFE_componentWillUpdate!="function"&&typeof a.componentWillUpdate!="function"||(typeof a.componentWillUpdate=="function"&&a.componentWillUpdate(r,d,l),typeof a.UNSAFE_componentWillUpdate=="function"&&a.UNSAFE_componentWillUpdate(r,d,l)),typeof a.componentDidUpdate=="function"&&(t.flags|=4),typeof a.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof a.componentDidUpdate!="function"||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),typeof a.getSnapshotBeforeUpdate!="function"||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=d),a.props=r,a.state=d,a.context=l,r=u):(typeof a.componentDidUpdate!="function"||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),typeof a.getSnapshotBeforeUpdate!="function"||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),r=!1)}return a=r,Hb(e,t),r=(t.flags&128)!==0,a||r?(a=t.stateNode,o=r&&typeof o.getDerivedStateFromError!="function"?null:a.render(),t.flags|=1,e!==null&&r?(t.child=Yu(t,e.child,null,n),t.child=Yu(t,null,o,n)):dn(e,t,o,n),t.memoizedState=a.state,e=t.child):e=ul(e,t,n),e}function oE(e,t,o,r){return qu(),t.flags|=256,dn(e,t,o,r),t.child}var qv={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function Xv(e){return{baseLanes:e,cachePool:AB()}}function Yv(e,t,o){return e=e!==null?e.childLanes&~o:0,t&&(e|=Ma),e}function yD(e,t,o){var r=t.pendingProps,n=!1,a=(t.flags&128)!==0,s;if((s=a)||(s=e!==null&&e.memoizedState===null?!1:(Lo.current&2)!==0),s&&(n=!0,t.flags&=-129),s=(t.flags&32)!==0,t.flags&=-33,e===null){if(yt){if(n?pc(t):hc(t),(e=to)?(e=cR(e,ls),e=e!==null&&e.data!=="&"?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:Ec!==null?{id:mi,overflow:fi}:null,retryLane:536870912,hydrationErrors:null},o=vB(e),o.return=t,t.child=o,hn=t,to=null)):e=null,e===null)throw Bc(t);return tw(e)?t.lanes=32:t.lanes=536870912,null}var i=r.children;return r=r.fallback,n?(hc(t),n=t.mode,i=ny({mode:"hidden",children:i},n),r=Zu(r,n,o,null),i.return=t,r.return=t,i.sibling=r,t.child=i,r=t.child,r.memoizedState=Xv(o),r.childLanes=Yv(e,s,o),t.memoizedState=qv,Th(null,r)):(pc(t),WC(t,i))}var l=e.memoizedState;if(l!==null&&(i=l.dehydrated,i!==null)){if(a)t.flags&256?(pc(t),t.flags&=-257,t=Kv(e,t,o)):t.memoizedState!==null?(hc(t),t.child=e.child,t.flags|=128,t=null):(hc(t),i=r.fallback,n=t.mode,r=ny({mode:"visible",children:r.children},n),i=Zu(i,n,o,null),i.flags|=2,r.return=t,i.return=t,r.sibling=i,t.child=r,Yu(t,e.child,null,o),r=t.child,r.memoizedState=Xv(o),r.childLanes=Yv(e,s,o),t.memoizedState=qv,t=Th(null,r));else if(pc(t),tw(i)){if(s=i.nextSibling&&i.nextSibling.dataset,s)var c=s.dgst;s=c,r=Error(oe(419)),r.stack="",r.digest=s,jh({value:r,source:null,stack:null}),t=Kv(e,t,o)}else if(Er||gd(e,t,o,!1),s=(o&e.childLanes)!==0,Er||s){if(s=Zt,s!==null&&(r=qE(s,o),r!==0&&r!==l.retryLane))throw l.retryLane=r,om(e,r),oa(s,e,r),Nw;ew(i)||ly(),t=Kv(e,t,o)}else ew(i)?(t.flags|=192,t.child=e.child,t=null):(e=l.treeContext,to=us(i.nextSibling),hn=t,yt=!0,Cc=null,ls=!1,e!==null&&wB(t,e),t=WC(t,r.children),t.flags|=4096);return t}return n?(hc(t),i=r.fallback,n=t.mode,l=e.child,c=l.sibling,r=nl(l,{mode:"hidden",children:r.children}),r.subtreeFlags=l.subtreeFlags&65011712,c!==null?i=nl(c,i):(i=Zu(i,n,o,null),i.flags|=2),i.return=t,r.return=t,r.sibling=i,t.child=r,Th(null,r),r=t.child,i=e.child.memoizedState,i===null?i=Xv(o):(n=i.cachePool,n!==null?(l=Pr._currentValue,n=n.parent!==l?{parent:l,pool:l}:n):n=AB(),i={baseLanes:i.baseLanes|o,cachePool:n}),r.memoizedState=i,r.childLanes=Yv(e,s,o),t.memoizedState=qv,Th(e.child,r)):(pc(t),o=e.child,e=o.sibling,o=nl(o,{mode:"visible",children:r.children}),o.return=t,o.sibling=null,e!==null&&(s=t.deletions,s===null?(t.deletions=[e],t.flags|=16):s.push(e)),t.child=o,t.memoizedState=null,o)}function WC(e,t){return t=ny({mode:"visible",children:t},e.mode),t.return=e,e.child=t}function ny(e,t){return e=ka(22,e,null,t),e.lanes=0,e}function Kv(e,t,o){return Yu(t,e.child,null,o),e=WC(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function rE(e,t,o){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),LC(e.return,t,o)}function Qv(e,t,o,r,n,a){var s=e.memoizedState;s===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:o,tailMode:n,treeForkCount:a}:(s.isBackwards=t,s.rendering=null,s.renderingStartTime=0,s.last=r,s.tail=o,s.tailMode=n,s.treeForkCount=a)}function SD(e,t,o){var r=t.pendingProps,n=r.revealOrder,a=r.tail;r=r.children;var s=Lo.current,i=(s&2)!==0;if(i?(s=s&1|2,t.flags|=128):s&=1,qt(Lo,s),dn(e,t,r,o),r=yt?Zh:0,!i&&e!==null&&(e.flags&128)!==0)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&rE(e,o,t);else if(e.tag===19)rE(e,o,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}switch(n){case"forwards":for(o=t.child,n=null;o!==null;)e=o.alternate,e!==null&&ey(e)===null&&(n=o),o=o.sibling;o=n,o===null?(n=t.child,t.child=null):(n=o.sibling,o.sibling=null),Qv(t,!1,n,o,a,r);break;case"backwards":case"unstable_legacy-backwards":for(o=null,n=t.child,t.child=null;n!==null;){if(e=n.alternate,e!==null&&ey(e)===null){t.child=n;break}e=n.sibling,n.sibling=o,o=n,n=e}Qv(t,!0,o,null,a,r);break;case"together":Qv(t,!1,null,null,void 0,r);break;default:t.memoizedState=null}return t.child}function ul(e,t,o){if(e!==null&&(t.dependencies=e.dependencies),Rc|=t.lanes,(o&t.childLanes)===0)if(e!==null){if(gd(e,t,o,!1),(o&t.childLanes)===0)return null}else return null;if(e!==null&&t.child!==e.child)throw Error(oe(153));if(t.child!==null){for(e=t.child,o=nl(e,e.pendingProps),t.child=o,o.return=t;e.sibling!==null;)e=e.sibling,o=o.sibling=nl(e,e.pendingProps),o.return=t;o.sibling=null}return t.child}function zw(e,t){return(e.lanes&t)!==0?!0:(e=e.dependencies,!!(e!==null&&Kb(e)))}function aJ(e,t,o){switch(t.tag){case 3:Zb(t,t.stateNode.containerInfo),dc(t,Pr,e.memoizedState.cache),qu();break;case 27:case 5:gC(t);break;case 4:Zb(t,t.stateNode.containerInfo);break;case 10:dc(t,t.type,t.memoizedProps.value);break;case 31:if(t.memoizedState!==null)return t.flags|=128,_C(t),null;break;case 13:var r=t.memoizedState;if(r!==null)return r.dehydrated!==null?(pc(t),t.flags|=128,null):(o&t.child.childLanes)!==0?yD(e,t,o):(pc(t),e=ul(e,t,o),e!==null?e.sibling:null);pc(t);break;case 19:var n=(e.flags&128)!==0;if(r=(o&t.childLanes)!==0,r||(gd(e,t,o,!1),r=(o&t.childLanes)!==0),n){if(r)return SD(e,t,o);t.flags|=128}if(n=t.memoizedState,n!==null&&(n.rendering=null,n.tail=null,n.lastEffect=null),qt(Lo,Lo.current),r)break;return null;case 22:return t.lanes=0,bD(e,t,o,t.pendingProps);case 24:dc(t,Pr,e.memoizedState.cache)}return ul(e,t,o)}function xD(e,t,o){if(e!==null)if(e.memoizedProps!==t.pendingProps)Er=!0;else{if(!zw(e,o)&&(t.flags&128)===0)return Er=!1,aJ(e,t,o);Er=(e.flags&131072)!==0}else Er=!1,yt&&(t.flags&1048576)!==0&&CB(t,Zh,t.index);switch(t.lanes=0,t.tag){case 16:e:{var r=t.pendingProps;if(e=zu(t.elementType),t.type=e,typeof e=="function")Sw(e)?(r=Qu(e,r),t.tag=1,t=tE(null,t,e,r,o)):(t.tag=0,t=zC(null,t,e,r,o));else{if(e!=null){var n=e.$$typeof;if(n===aw){t.tag=11,t=Y7(null,t,e,r,o);break e}else if(n===sw){t.tag=14,t=K7(null,t,e,r,o);break e}}throw t=pC(e)||e,Error(oe(306,t,""))}}return t;case 0:return zC(e,t,t.type,t.pendingProps,o);case 1:return r=t.type,n=Qu(r,t.pendingProps),tE(e,t,r,n,o);case 3:e:{if(Zb(t,t.stateNode.containerInfo),e===null)throw Error(oe(387));r=t.pendingProps;var a=t.memoizedState;n=a.element,BC(e,t),Dh(t,r,null,o);var s=t.memoizedState;if(r=s.cache,dc(t,Pr,r),r!==a.cache&&PC(t,[Pr],o,!0),Bh(),r=s.element,a.isDehydrated)if(a={element:r,isDehydrated:!1,cache:s.cache},t.updateQueue.baseState=a,t.memoizedState=a,t.flags&256){t=oE(e,t,r,o);break e}else if(r!==n){n=is(Error(oe(424)),t),jh(n),t=oE(e,t,r,o);break e}else{switch(e=t.stateNode.containerInfo,e.nodeType){case 9:e=e.body;break;default:e=e.nodeName==="HTML"?e.ownerDocument.body:e}for(to=us(e.firstChild),hn=t,yt=!0,Cc=null,ls=!0,o=LB(t,null,r,o),t.child=o;o;)o.flags=o.flags&-3|4096,o=o.sibling}else{if(qu(),r===n){t=ul(e,t,o);break e}dn(e,t,r,o)}t=t.child}return t;case 26:return Hb(e,t),e===null?(o=TE(t.type,null,t.pendingProps,null))?t.memoizedState=o:yt||(o=t.type,e=t.pendingProps,r=fy(vc.current).createElement(o),r[pn]=t,r[ra]=e,bn(r,o,e),on(r),t.stateNode=r):t.memoizedState=TE(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return gC(t),e===null&&yt&&(r=t.stateNode=uR(t.type,t.pendingProps,vc.current),hn=t,ls=!0,n=to,Fc(t.type)?(ow=n,to=us(r.firstChild)):to=n),dn(e,t,t.pendingProps.children,o),Hb(e,t),e===null&&(t.flags|=4194304),t.child;case 5:return e===null&&yt&&((n=r=to)&&(r=DJ(r,t.type,t.pendingProps,ls),r!==null?(t.stateNode=r,hn=t,to=us(r.firstChild),ls=!1,n=!0):n=!1),n||Bc(t)),gC(t),n=t.type,a=t.pendingProps,s=e!==null?e.memoizedProps:null,r=a.children,QC(n,a)?r=null:s!==null&&QC(n,s)&&(t.flags|=32),t.memoizedState!==null&&(n=Mw(e,t,YQ,null,null,o),Kh._currentValue=n),Hb(e,t),dn(e,t,r,o),t.child;case 6:return e===null&&yt&&((e=o=to)&&(o=RJ(o,t.pendingProps,ls),o!==null?(t.stateNode=o,hn=t,to=null,e=!0):e=!1),e||Bc(t)),null;case 13:return yD(e,t,o);case 4:return Zb(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=Yu(t,null,r,o):dn(e,t,r,o),t.child;case 11:return Y7(e,t,t.type,t.pendingProps,o);case 7:return dn(e,t,t.pendingProps,o),t.child;case 8:return dn(e,t,t.pendingProps.children,o),t.child;case 12:return dn(e,t,t.pendingProps.children,o),t.child;case 10:return r=t.pendingProps,dc(t,t.type,r.value),dn(e,t,r.children,o),t.child;case 9:return n=t.type._context,r=t.pendingProps.children,Xu(t),n=gn(n),r=r(n),t.flags|=1,dn(e,t,r,o),t.child;case 14:return K7(e,t,t.type,t.pendingProps,o);case 15:return gD(e,t,t.type,t.pendingProps,o);case 19:return SD(e,t,o);case 31:return nJ(e,t,o);case 22:return bD(e,t,o,t.pendingProps);case 24:return Xu(t),r=gn(Pr),e===null?(n=Cw(),n===null&&(n=Zt,a=vw(),n.pooledCache=a,a.refCount++,a!==null&&(n.pooledCacheLanes|=o),n=a),t.memoizedState={parent:r,cache:n},Tw(t),dc(t,Pr,n)):((e.lanes&o)!==0&&(BC(e,t),Dh(t,null,null,o),Bh()),n=e.memoizedState,a=t.memoizedState,n.parent!==r?(n={parent:r,cache:r},t.memoizedState=n,t.lanes===0&&(t.memoizedState=t.updateQueue.baseState=n),dc(t,Pr,r)):(r=a.cache,dc(t,Pr,r),r!==n.cache&&PC(t,[Pr],o,!0))),dn(e,t,t.pendingProps.children,o),t.child;case 29:throw t.pendingProps}throw Error(oe(156,t.tag))}function Xi(e){e.flags|=4}function Jv(e,t,o,r,n){if((t=(e.mode&32)!==0)&&(t=!1),t){if(e.flags|=16777216,(n&335544128)===n)if(e.stateNode.complete)e.flags|=8192;else if(ZD())e.flags|=8192;else throw Gu=Qb,ww}else e.flags&=-16777217}function nE(e,t){if(t.type!=="stylesheet"||(t.state.loading&4)!==0)e.flags&=-16777217;else if(e.flags|=16777216,!dR(t))if(ZD())e.flags|=8192;else throw Gu=Qb,ww}function Ib(e,t){t!==null&&(e.flags|=4),e.flags&16384&&(t=e.tag!==22?jE():536870912,e.lanes|=t,cd|=t)}function yh(e,t){if(!yt)switch(e.tailMode){case"hidden":t=e.tail;for(var o=null;t!==null;)t.alternate!==null&&(o=t),t=t.sibling;o===null?e.tail=null:o.sibling=null;break;case"collapsed":o=e.tail;for(var r=null;o!==null;)o.alternate!==null&&(r=o),o=o.sibling;r===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:r.sibling=null}}function eo(e){var t=e.alternate!==null&&e.alternate.child===e.child,o=0,r=0;if(t)for(var n=e.child;n!==null;)o|=n.lanes|n.childLanes,r|=n.subtreeFlags&65011712,r|=n.flags&65011712,n.return=e,n=n.sibling;else for(n=e.child;n!==null;)o|=n.lanes|n.childLanes,r|=n.subtreeFlags,r|=n.flags,n.return=e,n=n.sibling;return e.subtreeFlags|=r,e.childLanes=o,t}function sJ(e,t,o){var r=t.pendingProps;switch(Iw(t),t.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return eo(t),null;case 1:return eo(t),null;case 3:return o=t.stateNode,r=null,e!==null&&(r=e.memoizedState.cache),t.memoizedState.cache!==r&&(t.flags|=2048),al(Pr),rd(),o.pendingContext&&(o.context=o.pendingContext,o.pendingContext=null),(e===null||e.child===null)&&(Rf(t)?Xi(t):e===null||e.memoizedState.isDehydrated&&(t.flags&256)===0||(t.flags|=1024,Zv())),eo(t),null;case 26:var n=t.type,a=t.memoizedState;return e===null?(Xi(t),a!==null?(eo(t),nE(t,a)):(eo(t),Jv(t,n,null,r,o))):a?a!==e.memoizedState?(Xi(t),eo(t),nE(t,a)):(eo(t),t.flags&=-16777217):(e=e.memoizedProps,e!==r&&Xi(t),eo(t),Jv(t,n,e,r,o)),null;case 27:if(jb(t),o=vc.current,n=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==r&&Xi(t);else{if(!r){if(t.stateNode===null)throw Error(oe(166));return eo(t),null}e=pi.current,Rf(t)?D7(t,e):(e=uR(n,r,o),t.stateNode=e,Xi(t))}return eo(t),null;case 5:if(jb(t),n=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==r&&Xi(t);else{if(!r){if(t.stateNode===null)throw Error(oe(166));return eo(t),null}if(a=pi.current,Rf(t))D7(t,a);else{var s=fy(vc.current);switch(a){case 1:a=s.createElementNS("http://www.w3.org/2000/svg",n);break;case 2:a=s.createElementNS("http://www.w3.org/1998/Math/MathML",n);break;default:switch(n){case"svg":a=s.createElementNS("http://www.w3.org/2000/svg",n);break;case"math":a=s.createElementNS("http://www.w3.org/1998/Math/MathML",n);break;case"script":a=s.createElement("div"),a.innerHTML="<script><\/script>",a=a.removeChild(a.firstChild);break;case"select":a=typeof r.is=="string"?s.createElement("select",{is:r.is}):s.createElement("select"),r.multiple?a.multiple=!0:r.size&&(a.size=r.size);break;default:a=typeof r.is=="string"?s.createElement(n,{is:r.is}):s.createElement(n)}}a[pn]=t,a[ra]=r;e:for(s=t.child;s!==null;){if(s.tag===5||s.tag===6)a.appendChild(s.stateNode);else if(s.tag!==4&&s.tag!==27&&s.child!==null){s.child.return=s,s=s.child;continue}if(s===t)break e;for(;s.sibling===null;){if(s.return===null||s.return===t)break e;s=s.return}s.sibling.return=s.return,s=s.sibling}t.stateNode=a;e:switch(bn(a,n,r),n){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}r&&Xi(t)}}return eo(t),Jv(t,t.type,e===null?null:e.memoizedProps,t.pendingProps,o),null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==r&&Xi(t);else{if(typeof r!="string"&&t.stateNode===null)throw Error(oe(166));if(e=vc.current,Rf(t)){if(e=t.stateNode,o=t.memoizedProps,r=null,n=hn,n!==null)switch(n.tag){case 27:case 5:r=n.memoizedProps}e[pn]=t,e=!!(e.nodeValue===o||r!==null&&r.suppressHydrationWarning===!0||sR(e.nodeValue,o)),e||Bc(t,!0)}else e=fy(e).createTextNode(r),e[pn]=t,t.stateNode=e}return eo(t),null;case 31:if(o=t.memoizedState,e===null||e.memoizedState!==null){if(r=Rf(t),o!==null){if(e===null){if(!r)throw Error(oe(318));if(e=t.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(oe(557));e[pn]=t}else qu(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;eo(t),e=!1}else o=Zv(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=o),e=!0;if(!e)return t.flags&256?(Aa(t),t):(Aa(t),null);if((t.flags&128)!==0)throw Error(oe(558))}return eo(t),null;case 13:if(r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(n=Rf(t),r!==null&&r.dehydrated!==null){if(e===null){if(!n)throw Error(oe(318));if(n=t.memoizedState,n=n!==null?n.dehydrated:null,!n)throw Error(oe(317));n[pn]=t}else qu(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;eo(t),n=!1}else n=Zv(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=n),n=!0;if(!n)return t.flags&256?(Aa(t),t):(Aa(t),null)}return Aa(t),(t.flags&128)!==0?(t.lanes=o,t):(o=r!==null,e=e!==null&&e.memoizedState!==null,o&&(r=t.child,n=null,r.alternate!==null&&r.alternate.memoizedState!==null&&r.alternate.memoizedState.cachePool!==null&&(n=r.alternate.memoizedState.cachePool.pool),a=null,r.memoizedState!==null&&r.memoizedState.cachePool!==null&&(a=r.memoizedState.cachePool.pool),a!==n&&(r.flags|=2048)),o!==e&&o&&(t.child.flags|=8192),Ib(t,t.updateQueue),eo(t),null);case 4:return rd(),e===null&&qw(t.stateNode.containerInfo),eo(t),null;case 10:return al(t.type),eo(t),null;case 19:if(rn(Lo),r=t.memoizedState,r===null)return eo(t),null;if(n=(t.flags&128)!==0,a=r.rendering,a===null)if(n)yh(r,!1);else{if(wo!==0||e!==null&&(e.flags&128)!==0)for(e=t.child;e!==null;){if(a=ey(e),a!==null){for(t.flags|=128,yh(r,!1),e=a.updateQueue,t.updateQueue=e,Ib(t,e),t.subtreeFlags=0,e=o,o=t.child;o!==null;)IB(o,e),o=o.sibling;return qt(Lo,Lo.current&1|2),yt&&Ji(t,r.treeForkCount),t.child}e=e.sibling}r.tail!==null&&La()>sy&&(t.flags|=128,n=!0,yh(r,!1),t.lanes=4194304)}else{if(!n)if(e=ey(a),e!==null){if(t.flags|=128,n=!0,e=e.updateQueue,t.updateQueue=e,Ib(t,e),yh(r,!0),r.tail===null&&r.tailMode==="hidden"&&!a.alternate&&!yt)return eo(t),null}else 2*La()-r.renderingStartTime>sy&&o!==536870912&&(t.flags|=128,n=!0,yh(r,!1),t.lanes=4194304);r.isBackwards?(a.sibling=t.child,t.child=a):(e=r.last,e!==null?e.sibling=a:t.child=a,r.last=a)}return r.tail!==null?(e=r.tail,r.rendering=e,r.tail=e.sibling,r.renderingStartTime=La(),e.sibling=null,o=Lo.current,qt(Lo,n?o&1|2:o&1),yt&&Ji(t,r.treeForkCount),e):(eo(t),null);case 22:case 23:return Aa(t),Aw(),r=t.memoizedState!==null,e!==null?e.memoizedState!==null!==r&&(t.flags|=8192):r&&(t.flags|=8192),r?(o&536870912)!==0&&(t.flags&128)===0&&(eo(t),t.subtreeFlags&6&&(t.flags|=8192)):eo(t),o=t.updateQueue,o!==null&&Ib(t,o.retryQueue),o=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(o=e.memoizedState.cachePool.pool),r=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(r=t.memoizedState.cachePool.pool),r!==o&&(t.flags|=2048),e!==null&&rn(ju),null;case 24:return o=null,e!==null&&(o=e.memoizedState.cache),t.memoizedState.cache!==o&&(t.flags|=2048),al(Pr),eo(t),null;case 25:return null;case 30:return null}throw Error(oe(156,t.tag))}function iJ(e,t){switch(Iw(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return al(Pr),rd(),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return jb(t),null;case 31:if(t.memoizedState!==null){if(Aa(t),t.alternate===null)throw Error(oe(340));qu()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 13:if(Aa(t),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(oe(340));qu()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return rn(Lo),null;case 4:return rd(),null;case 10:return al(t.type),null;case 22:case 23:return Aa(t),Aw(),e!==null&&rn(ju),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 24:return al(Pr),null;case 25:return null;default:return null}}function ID(e,t){switch(Iw(t),t.tag){case 3:al(Pr),rd();break;case 26:case 27:case 5:jb(t);break;case 4:rd();break;case 31:t.memoizedState!==null&&Aa(t);break;case 13:Aa(t);break;case 19:rn(Lo);break;case 10:al(t.type);break;case 22:case 23:Aa(t),Aw(),e!==null&&rn(ju);break;case 24:al(Pr)}}function lg(e,t){try{var o=t.updateQueue,r=o!==null?o.lastEffect:null;if(r!==null){var n=r.next;o=n;do{if((o.tag&e)===e){r=void 0;var a=o.create,s=o.inst;r=a(),s.destroy=r}o=o.next}while(o!==n)}}catch(i){_t(t,t.return,i)}}function Dc(e,t,o){try{var r=t.updateQueue,n=r!==null?r.lastEffect:null;if(n!==null){var a=n.next;r=a;do{if((r.tag&e)===e){var s=r.inst,i=s.destroy;if(i!==void 0){s.destroy=void 0,n=t;var l=o,c=i;try{c()}catch(u){_t(n,l,u)}}}r=r.next}while(r!==a)}}catch(u){_t(t,t.return,u)}}function vD(e){var t=e.updateQueue;if(t!==null){var o=e.stateNode;try{EB(t,o)}catch(r){_t(e,e.return,r)}}}function CD(e,t,o){o.props=Qu(e.type,e.memoizedProps),o.state=e.memoizedState;try{o.componentWillUnmount()}catch(r){_t(e,t,r)}}function _h(e,t){try{var o=e.ref;if(o!==null){switch(e.tag){case 26:case 27:case 5:var r=e.stateNode;break;case 30:r=e.stateNode;break;default:r=e.stateNode}typeof o=="function"?e.refCleanup=o(r):o.current=r}}catch(n){_t(e,t,n)}}function di(e,t){var o=e.ref,r=e.refCleanup;if(o!==null)if(typeof r=="function")try{r()}catch(n){_t(e,t,n)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof o=="function")try{o(null)}catch(n){_t(e,t,n)}else o.current=null}function wD(e){var t=e.type,o=e.memoizedProps,r=e.stateNode;try{e:switch(t){case"button":case"input":case"select":case"textarea":o.autoFocus&&r.focus();break e;case"img":o.src?r.src=o.src:o.srcSet&&(r.srcset=o.srcSet)}}catch(n){_t(e,e.return,n)}}function eC(e,t,o){try{var r=e.stateNode;kJ(r,e.type,o,t),r[ra]=t}catch(n){_t(e,e.return,n)}}function TD(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&Fc(e.type)||e.tag===4}function tC(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||TD(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.tag===27&&Fc(e.type)||e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function UC(e,t,o){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?(o.nodeType===9?o.body:o.nodeName==="HTML"?o.ownerDocument.body:o).insertBefore(e,t):(t=o.nodeType===9?o.body:o.nodeName==="HTML"?o.ownerDocument.body:o,t.appendChild(e),o=o._reactRootContainer,o!=null||t.onclick!==null||(t.onclick=ol));else if(r!==4&&(r===27&&Fc(e.type)&&(o=e.stateNode,t=null),e=e.child,e!==null))for(UC(e,t,o),e=e.sibling;e!==null;)UC(e,t,o),e=e.sibling}function ay(e,t,o){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?o.insertBefore(e,t):o.appendChild(e);else if(r!==4&&(r===27&&Fc(e.type)&&(o=e.stateNode),e=e.child,e!==null))for(ay(e,t,o),e=e.sibling;e!==null;)ay(e,t,o),e=e.sibling}function AD(e){var t=e.stateNode,o=e.memoizedProps;try{for(var r=e.type,n=t.attributes;n.length;)t.removeAttributeNode(n[0]);bn(t,r,o),t[pn]=e,t[ra]=o}catch(a){_t(e,e.return,a)}}var el=!1,Lr=!1,oC=!1,aE=typeof WeakSet=="function"?WeakSet:Set,tn=null;function lJ(e,t){if(e=e.containerInfo,YC=gy,e=dB(e),gw(e)){if("selectionStart"in e)var o={start:e.selectionStart,end:e.selectionEnd};else e:{o=(o=e.ownerDocument)&&o.defaultView||window;var r=o.getSelection&&o.getSelection();if(r&&r.rangeCount!==0){o=r.anchorNode;var n=r.anchorOffset,a=r.focusNode;r=r.focusOffset;try{o.nodeType,a.nodeType}catch{o=null;break e}var s=0,i=-1,l=-1,c=0,u=0,m=e,f=null;t:for(;;){for(var d;m!==o||n!==0&&m.nodeType!==3||(i=s+n),m!==a||r!==0&&m.nodeType!==3||(l=s+r),m.nodeType===3&&(s+=m.nodeValue.length),(d=m.firstChild)!==null;)f=m,m=d;for(;;){if(m===e)break t;if(f===o&&++c===n&&(i=s),f===a&&++u===r&&(l=s),(d=m.nextSibling)!==null)break;m=f,f=m.parentNode}m=d}o=i===-1||l===-1?null:{start:i,end:l}}else o=null}o=o||{start:0,end:0}}else o=null;for(KC={focusedElem:e,selectionRange:o},gy=!1,tn=t;tn!==null;)if(t=tn,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,tn=e;else for(;tn!==null;){switch(t=tn,a=t.alternate,e=t.flags,t.tag){case 0:if((e&4)!==0&&(e=t.updateQueue,e=e!==null?e.events:null,e!==null))for(o=0;o<e.length;o++)n=e[o],n.ref.impl=n.nextImpl;break;case 11:case 15:break;case 1:if((e&1024)!==0&&a!==null){e=void 0,o=t,n=a.memoizedProps,a=a.memoizedState,r=o.stateNode;try{var p=Qu(o.type,n);e=r.getSnapshotBeforeUpdate(p,a),r.__reactInternalSnapshotBeforeUpdate=e}catch(h){_t(o,o.return,h)}}break;case 3:if((e&1024)!==0){if(e=t.stateNode.containerInfo,o=e.nodeType,o===9)JC(e);else if(o===1)switch(e.nodeName){case"HEAD":case"HTML":case"BODY":JC(e);break;default:e.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((e&1024)!==0)throw Error(oe(163))}if(e=t.sibling,e!==null){e.return=t.return,tn=e;break}tn=t.return}}function kD(e,t,o){var r=o.flags;switch(o.tag){case 0:case 11:case 15:Ki(e,o),r&4&&lg(5,o);break;case 1:if(Ki(e,o),r&4)if(e=o.stateNode,t===null)try{e.componentDidMount()}catch(s){_t(o,o.return,s)}else{var n=Qu(o.type,t.memoizedProps);t=t.memoizedState;try{e.componentDidUpdate(n,t,e.__reactInternalSnapshotBeforeUpdate)}catch(s){_t(o,o.return,s)}}r&64&&vD(o),r&512&&_h(o,o.return);break;case 3:if(Ki(e,o),r&64&&(e=o.updateQueue,e!==null)){if(t=null,o.child!==null)switch(o.child.tag){case 27:case 5:t=o.child.stateNode;break;case 1:t=o.child.stateNode}try{EB(e,t)}catch(s){_t(o,o.return,s)}}break;case 27:t===null&&r&4&&AD(o);case 26:case 5:Ki(e,o),t===null&&r&4&&wD(o),r&512&&_h(o,o.return);break;case 12:Ki(e,o);break;case 31:Ki(e,o),r&4&&PD(e,o);break;case 13:Ki(e,o),r&4&&ED(e,o),r&64&&(e=o.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(o=bJ.bind(null,o),_J(e,o))));break;case 22:if(r=o.memoizedState!==null||el,!r){t=t!==null&&t.memoizedState!==null||Lr,n=el;var a=Lr;el=r,(Lr=t)&&!a?Qi(e,o,(o.subtreeFlags&8772)!==0):Ki(e,o),el=n,Lr=a}break;case 30:break;default:Ki(e,o)}}function MD(e){var t=e.alternate;t!==null&&(e.alternate=null,MD(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&uw(t)),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}var co=null,ea=!1;function Yi(e,t,o){for(o=o.child;o!==null;)LD(e,t,o),o=o.sibling}function LD(e,t,o){if(Pa&&typeof Pa.onCommitFiberUnmount=="function")try{Pa.onCommitFiberUnmount(tg,o)}catch{}switch(o.tag){case 26:Lr||di(o,t),Yi(e,t,o),o.memoizedState?o.memoizedState.count--:o.stateNode&&(o=o.stateNode,o.parentNode.removeChild(o));break;case 27:Lr||di(o,t);var r=co,n=ea;Fc(o.type)&&(co=o.stateNode,ea=!1),Yi(e,t,o),Vh(o.stateNode),co=r,ea=n;break;case 5:Lr||di(o,t);case 6:if(r=co,n=ea,co=null,Yi(e,t,o),co=r,ea=n,co!==null)if(ea)try{(co.nodeType===9?co.body:co.nodeName==="HTML"?co.ownerDocument.body:co).removeChild(o.stateNode)}catch(a){_t(o,t,a)}else try{co.removeChild(o.stateNode)}catch(a){_t(o,t,a)}break;case 18:co!==null&&(ea?(e=co,xE(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,o.stateNode),dd(e)):xE(co,o.stateNode));break;case 4:r=co,n=ea,co=o.stateNode.containerInfo,ea=!0,Yi(e,t,o),co=r,ea=n;break;case 0:case 11:case 14:case 15:Dc(2,o,t),Lr||Dc(4,o,t),Yi(e,t,o);break;case 1:Lr||(di(o,t),r=o.stateNode,typeof r.componentWillUnmount=="function"&&CD(o,t,r)),Yi(e,t,o);break;case 21:Yi(e,t,o);break;case 22:Lr=(r=Lr)||o.memoizedState!==null,Yi(e,t,o),Lr=r;break;default:Yi(e,t,o)}}function PD(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null))){e=e.dehydrated;try{dd(e)}catch(o){_t(t,t.return,o)}}}function ED(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{dd(e)}catch(o){_t(t,t.return,o)}}function cJ(e){switch(e.tag){case 31:case 13:case 19:var t=e.stateNode;return t===null&&(t=e.stateNode=new aE),t;case 22:return e=e.stateNode,t=e._retryCache,t===null&&(t=e._retryCache=new aE),t;default:throw Error(oe(435,e.tag))}}function vb(e,t){var o=cJ(e);t.forEach(function(r){if(!o.has(r)){o.add(r);var n=yJ.bind(null,e,r);r.then(n,n)}})}function Qn(e,t){var o=t.deletions;if(o!==null)for(var r=0;r<o.length;r++){var n=o[r],a=e,s=t,i=s;e:for(;i!==null;){switch(i.tag){case 27:if(Fc(i.type)){co=i.stateNode,ea=!1;break e}break;case 5:co=i.stateNode,ea=!1;break e;case 3:case 4:co=i.stateNode.containerInfo,ea=!0;break e}i=i.return}if(co===null)throw Error(oe(160));LD(a,s,n),co=null,ea=!1,a=n.alternate,a!==null&&(a.return=null),n.return=null}if(t.subtreeFlags&13886)for(t=t.child;t!==null;)BD(t,e),t=t.sibling}var Ns=null;function BD(e,t){var o=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:Qn(t,e),Jn(e),r&4&&(Dc(3,e,e.return),lg(3,e),Dc(5,e,e.return));break;case 1:Qn(t,e),Jn(e),r&512&&(Lr||o===null||di(o,o.return)),r&64&&el&&(e=e.updateQueue,e!==null&&(r=e.callbacks,r!==null&&(o=e.shared.hiddenCallbacks,e.shared.hiddenCallbacks=o===null?r:o.concat(r))));break;case 26:var n=Ns;if(Qn(t,e),Jn(e),r&512&&(Lr||o===null||di(o,o.return)),r&4){var a=o!==null?o.memoizedState:null;if(r=e.memoizedState,o===null)if(r===null)if(e.stateNode===null){e:{r=e.type,o=e.memoizedProps,n=n.ownerDocument||n;t:switch(r){case"title":a=n.getElementsByTagName("title")[0],(!a||a[ng]||a[pn]||a.namespaceURI==="http://www.w3.org/2000/svg"||a.hasAttribute("itemprop"))&&(a=n.createElement(r),n.head.insertBefore(a,n.querySelector("head > title"))),bn(a,r,o),a[pn]=e,on(a),r=a;break e;case"link":var s=kE("link","href",n).get(r+(o.href||""));if(s){for(var i=0;i<s.length;i++)if(a=s[i],a.getAttribute("href")===(o.href==null||o.href===""?null:o.href)&&a.getAttribute("rel")===(o.rel==null?null:o.rel)&&a.getAttribute("title")===(o.title==null?null:o.title)&&a.getAttribute("crossorigin")===(o.crossOrigin==null?null:o.crossOrigin)){s.splice(i,1);break t}}a=n.createElement(r),bn(a,r,o),n.head.appendChild(a);break;case"meta":if(s=kE("meta","content",n).get(r+(o.content||""))){for(i=0;i<s.length;i++)if(a=s[i],a.getAttribute("content")===(o.content==null?null:""+o.content)&&a.getAttribute("name")===(o.name==null?null:o.name)&&a.getAttribute("property")===(o.property==null?null:o.property)&&a.getAttribute("http-equiv")===(o.httpEquiv==null?null:o.httpEquiv)&&a.getAttribute("charset")===(o.charSet==null?null:o.charSet)){s.splice(i,1);break t}}a=n.createElement(r),bn(a,r,o),n.head.appendChild(a);break;default:throw Error(oe(468,r))}a[pn]=e,on(a),r=a}e.stateNode=r}else ME(n,e.type,e.stateNode);else e.stateNode=AE(n,r,e.memoizedProps);else a!==r?(a===null?o.stateNode!==null&&(o=o.stateNode,o.parentNode.removeChild(o)):a.count--,r===null?ME(n,e.type,e.stateNode):AE(n,r,e.memoizedProps)):r===null&&e.stateNode!==null&&eC(e,e.memoizedProps,o.memoizedProps)}break;case 27:Qn(t,e),Jn(e),r&512&&(Lr||o===null||di(o,o.return)),o!==null&&r&4&&eC(e,e.memoizedProps,o.memoizedProps);break;case 5:if(Qn(t,e),Jn(e),r&512&&(Lr||o===null||di(o,o.return)),e.flags&32){n=e.stateNode;try{ad(n,"")}catch(p){_t(e,e.return,p)}}r&4&&e.stateNode!=null&&(n=e.memoizedProps,eC(e,n,o!==null?o.memoizedProps:n)),r&1024&&(oC=!0);break;case 6:if(Qn(t,e),Jn(e),r&4){if(e.stateNode===null)throw Error(oe(162));r=e.memoizedProps,o=e.stateNode;try{o.nodeValue=r}catch(p){_t(e,e.return,p)}}break;case 3:if(Nb=null,n=Ns,Ns=dy(t.containerInfo),Qn(t,e),Ns=n,Jn(e),r&4&&o!==null&&o.memoizedState.isDehydrated)try{dd(t.containerInfo)}catch(p){_t(e,e.return,p)}oC&&(oC=!1,DD(e));break;case 4:r=Ns,Ns=dy(e.stateNode.containerInfo),Qn(t,e),Jn(e),Ns=r;break;case 12:Qn(t,e),Jn(e);break;case 31:Qn(t,e),Jn(e),r&4&&(r=e.updateQueue,r!==null&&(e.updateQueue=null,vb(e,r)));break;case 13:Qn(t,e),Jn(e),e.child.flags&8192&&e.memoizedState!==null!=(o!==null&&o.memoizedState!==null)&&(Ly=La()),r&4&&(r=e.updateQueue,r!==null&&(e.updateQueue=null,vb(e,r)));break;case 22:n=e.memoizedState!==null;var l=o!==null&&o.memoizedState!==null,c=el,u=Lr;if(el=c||n,Lr=u||l,Qn(t,e),Lr=u,el=c,Jn(e),r&8192)e:for(t=e.stateNode,t._visibility=n?t._visibility&-2:t._visibility|1,n&&(o===null||l||el||Lr||Wu(e)),o=null,t=e;;){if(t.tag===5||t.tag===26){if(o===null){l=o=t;try{if(a=l.stateNode,n)s=a.style,typeof s.setProperty=="function"?s.setProperty("display","none","important"):s.display="none";else{i=l.stateNode;var m=l.memoizedProps.style,f=m!=null&&m.hasOwnProperty("display")?m.display:null;i.style.display=f==null||typeof f=="boolean"?"":(""+f).trim()}}catch(p){_t(l,l.return,p)}}}else if(t.tag===6){if(o===null){l=t;try{l.stateNode.nodeValue=n?"":l.memoizedProps}catch(p){_t(l,l.return,p)}}}else if(t.tag===18){if(o===null){l=t;try{var d=l.stateNode;n?IE(d,!0):IE(l.stateNode,!1)}catch(p){_t(l,l.return,p)}}}else if((t.tag!==22&&t.tag!==23||t.memoizedState===null||t===e)&&t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break e;for(;t.sibling===null;){if(t.return===null||t.return===e)break e;o===t&&(o=null),t=t.return}o===t&&(o=null),t.sibling.return=t.return,t=t.sibling}r&4&&(r=e.updateQueue,r!==null&&(o=r.retryQueue,o!==null&&(r.retryQueue=null,vb(e,o))));break;case 19:Qn(t,e),Jn(e),r&4&&(r=e.updateQueue,r!==null&&(e.updateQueue=null,vb(e,r)));break;case 30:break;case 21:break;default:Qn(t,e),Jn(e)}}function Jn(e){var t=e.flags;if(t&2){try{for(var o,r=e.return;r!==null;){if(TD(r)){o=r;break}r=r.return}if(o==null)throw Error(oe(160));switch(o.tag){case 27:var n=o.stateNode,a=tC(e);ay(e,a,n);break;case 5:var s=o.stateNode;o.flags&32&&(ad(s,""),o.flags&=-33);var i=tC(e);ay(e,i,s);break;case 3:case 4:var l=o.stateNode.containerInfo,c=tC(e);UC(e,c,l);break;default:throw Error(oe(161))}}catch(u){_t(e,e.return,u)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function DD(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var t=e;DD(t),t.tag===5&&t.flags&1024&&t.stateNode.reset(),e=e.sibling}}function Ki(e,t){if(t.subtreeFlags&8772)for(t=t.child;t!==null;)kD(e,t.alternate,t),t=t.sibling}function Wu(e){for(e=e.child;e!==null;){var t=e;switch(t.tag){case 0:case 11:case 14:case 15:Dc(4,t,t.return),Wu(t);break;case 1:di(t,t.return);var o=t.stateNode;typeof o.componentWillUnmount=="function"&&CD(t,t.return,o),Wu(t);break;case 27:Vh(t.stateNode);case 26:case 5:di(t,t.return),Wu(t);break;case 22:t.memoizedState===null&&Wu(t);break;case 30:Wu(t);break;default:Wu(t)}e=e.sibling}}function Qi(e,t,o){for(o=o&&(t.subtreeFlags&8772)!==0,t=t.child;t!==null;){var r=t.alternate,n=e,a=t,s=a.flags;switch(a.tag){case 0:case 11:case 15:Qi(n,a,o),lg(4,a);break;case 1:if(Qi(n,a,o),r=a,n=r.stateNode,typeof n.componentDidMount=="function")try{n.componentDidMount()}catch(c){_t(r,r.return,c)}if(r=a,n=r.updateQueue,n!==null){var i=r.stateNode;try{var l=n.shared.hiddenCallbacks;if(l!==null)for(n.shared.hiddenCallbacks=null,n=0;n<l.length;n++)PB(l[n],i)}catch(c){_t(r,r.return,c)}}o&&s&64&&vD(a),_h(a,a.return);break;case 27:AD(a);case 26:case 5:Qi(n,a,o),o&&r===null&&s&4&&wD(a),_h(a,a.return);break;case 12:Qi(n,a,o);break;case 31:Qi(n,a,o),o&&s&4&&PD(n,a);break;case 13:Qi(n,a,o),o&&s&4&&ED(n,a);break;case 22:a.memoizedState===null&&Qi(n,a,o),_h(a,a.return);break;case 30:break;default:Qi(n,a,o)}t=t.sibling}}function Ww(e,t){var o=null;e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(o=e.memoizedState.cachePool.pool),e=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(e=t.memoizedState.cachePool.pool),e!==o&&(e!=null&&e.refCount++,o!=null&&sg(o))}function Uw(e,t){e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&sg(e))}function Vs(e,t,o,r){if(t.subtreeFlags&10256)for(t=t.child;t!==null;)RD(e,t,o,r),t=t.sibling}function RD(e,t,o,r){var n=t.flags;switch(t.tag){case 0:case 11:case 15:Vs(e,t,o,r),n&2048&&lg(9,t);break;case 1:Vs(e,t,o,r);break;case 3:Vs(e,t,o,r),n&2048&&(e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&sg(e)));break;case 12:if(n&2048){Vs(e,t,o,r),e=t.stateNode;try{var a=t.memoizedProps,s=a.id,i=a.onPostCommit;typeof i=="function"&&i(s,t.alternate===null?"mount":"update",e.passiveEffectDuration,-0)}catch(l){_t(t,t.return,l)}}else Vs(e,t,o,r);break;case 31:Vs(e,t,o,r);break;case 13:Vs(e,t,o,r);break;case 23:break;case 22:a=t.stateNode,s=t.alternate,t.memoizedState!==null?a._visibility&2?Vs(e,t,o,r):Fh(e,t):a._visibility&2?Vs(e,t,o,r):(a._visibility|=2,Ff(e,t,o,r,(t.subtreeFlags&10256)!==0||!1)),n&2048&&Ww(s,t);break;case 24:Vs(e,t,o,r),n&2048&&Uw(t.alternate,t);break;default:Vs(e,t,o,r)}}function Ff(e,t,o,r,n){for(n=n&&((t.subtreeFlags&10256)!==0||!1),t=t.child;t!==null;){var a=e,s=t,i=o,l=r,c=s.flags;switch(s.tag){case 0:case 11:case 15:Ff(a,s,i,l,n),lg(8,s);break;case 23:break;case 22:var u=s.stateNode;s.memoizedState!==null?u._visibility&2?Ff(a,s,i,l,n):Fh(a,s):(u._visibility|=2,Ff(a,s,i,l,n)),n&&c&2048&&Ww(s.alternate,s);break;case 24:Ff(a,s,i,l,n),n&&c&2048&&Uw(s.alternate,s);break;default:Ff(a,s,i,l,n)}t=t.sibling}}function Fh(e,t){if(t.subtreeFlags&10256)for(t=t.child;t!==null;){var o=e,r=t,n=r.flags;switch(r.tag){case 22:Fh(o,r),n&2048&&Ww(r.alternate,r);break;case 24:Fh(o,r),n&2048&&Uw(r.alternate,r);break;default:Fh(o,r)}t=t.sibling}}var Ah=8192;function _f(e,t,o){if(e.subtreeFlags&Ah)for(e=e.child;e!==null;)_D(e,t,o),e=e.sibling}function _D(e,t,o){switch(e.tag){case 26:_f(e,t,o),e.flags&Ah&&e.memoizedState!==null&&$J(o,Ns,e.memoizedState,e.memoizedProps);break;case 5:_f(e,t,o);break;case 3:case 4:var r=Ns;Ns=dy(e.stateNode.containerInfo),_f(e,t,o),Ns=r;break;case 22:e.memoizedState===null&&(r=e.alternate,r!==null&&r.memoizedState!==null?(r=Ah,Ah=16777216,_f(e,t,o),Ah=r):_f(e,t,o));break;default:_f(e,t,o)}}function FD(e){var t=e.alternate;if(t!==null&&(e=t.child,e!==null)){t.child=null;do t=e.sibling,e.sibling=null,e=t;while(e!==null)}}function Sh(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var o=0;o<t.length;o++){var r=t[o];tn=r,OD(r,e)}FD(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)HD(e),e=e.sibling}function HD(e){switch(e.tag){case 0:case 11:case 15:Sh(e),e.flags&2048&&Dc(9,e,e.return);break;case 3:Sh(e);break;case 12:Sh(e);break;case 22:var t=e.stateNode;e.memoizedState!==null&&t._visibility&2&&(e.return===null||e.return.tag!==13)?(t._visibility&=-3,Ob(e)):Sh(e);break;default:Sh(e)}}function Ob(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var o=0;o<t.length;o++){var r=t[o];tn=r,OD(r,e)}FD(e)}for(e=e.child;e!==null;){switch(t=e,t.tag){case 0:case 11:case 15:Dc(8,t,t.return),Ob(t);break;case 22:o=t.stateNode,o._visibility&2&&(o._visibility&=-3,Ob(t));break;default:Ob(t)}e=e.sibling}}function OD(e,t){for(;tn!==null;){var o=tn;switch(o.tag){case 0:case 11:case 15:Dc(8,o,t);break;case 23:case 22:if(o.memoizedState!==null&&o.memoizedState.cachePool!==null){var r=o.memoizedState.cachePool.pool;r!=null&&r.refCount++}break;case 24:sg(o.memoizedState.cache)}if(r=o.child,r!==null)r.return=o,tn=r;else e:for(o=e;tn!==null;){r=tn;var n=r.sibling,a=r.return;if(MD(r),r===o){tn=null;break e}if(n!==null){n.return=a,tn=n;break e}tn=a}}}var uJ={getCacheForType:function(e){var t=gn(Pr),o=t.data.get(e);return o===void 0&&(o=e(),t.data.set(e,o)),o},cacheSignal:function(){return gn(Pr).controller.signal}},mJ=typeof WeakMap=="function"?WeakMap:Map,Lt=0,Zt=null,lt=null,mt=0,Rt=0,Ta=null,Sc=!1,yd=!1,Zw=!1,ml=0,wo=0,Rc=0,$u=0,jw=0,Ma=0,cd=0,Hh=null,ta=null,ZC=!1,Ly=0,VD=0,sy=1/0,iy=null,Ac=null,Wr=0,kc=null,ud=null,sl=0,jC=0,GC=null,ND=null,Oh=0,$C=null;function Ba(){return(Lt&2)!==0&&mt!==0?mt&-mt:He.T!==null?$w():XE()}function zD(){if(Ma===0)if((mt&536870912)===0||yt){var e=fb;fb<<=1,(fb&3932160)===0&&(fb=262144),Ma=e}else Ma=536870912;return e=Ra.current,e!==null&&(e.flags|=32),Ma}function oa(e,t,o){(e===Zt&&(Rt===2||Rt===9)||e.cancelPendingCommit!==null)&&(md(e,0),xc(e,mt,Ma,!1)),rg(e,o),((Lt&2)===0||e!==Zt)&&(e===Zt&&((Lt&2)===0&&($u|=o),wo===4&&xc(e,mt,Ma,!1)),gi(e))}function WD(e,t,o){if((Lt&6)!==0)throw Error(oe(327));var r=!o&&(t&127)===0&&(t&e.expiredLanes)===0||og(e,t),n=r?pJ(e,t):rC(e,t,!0),a=r;do{if(n===0){yd&&!r&&xc(e,t,0,!1);break}else{if(o=e.current.alternate,a&&!fJ(o)){n=rC(e,t,!1),a=!1;continue}if(n===2){if(a=t,e.errorRecoveryDisabledLanes&a)var s=0;else s=e.pendingLanes&-536870913,s=s!==0?s:s&536870912?536870912:0;if(s!==0){t=s;e:{var i=e;n=Hh;var l=i.current.memoizedState.isDehydrated;if(l&&(md(i,s).flags|=256),s=rC(i,s,!1),s!==2){if(Zw&&!l){i.errorRecoveryDisabledLanes|=a,$u|=a,n=4;break e}a=ta,ta=n,a!==null&&(ta===null?ta=a:ta.push.apply(ta,a))}n=s}if(a=!1,n!==2)continue}}if(n===1){md(e,0),xc(e,t,0,!0);break}e:{switch(r=e,a=n,a){case 0:case 1:throw Error(oe(345));case 4:if((t&4194048)!==t)break;case 6:xc(r,t,Ma,!Sc);break e;case 2:ta=null;break;case 3:case 5:break;default:throw Error(oe(329))}if((t&62914560)===t&&(n=Ly+300-La(),10<n)){if(xc(r,t,Ma,!Sc),yy(r,0,!0)!==0)break e;sl=t,r.timeoutHandle=lR(sE.bind(null,r,o,ta,iy,ZC,t,Ma,$u,cd,Sc,a,"Throttled",-0,0),n);break e}sE(r,o,ta,iy,ZC,t,Ma,$u,cd,Sc,a,null,-0,0)}}break}while(!0);gi(e)}function sE(e,t,o,r,n,a,s,i,l,c,u,m,f,d){if(e.timeoutHandle=-1,m=t.subtreeFlags,m&8192||(m&16785408)===16785408){m={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:ol},_D(t,a,m);var p=(a&62914560)===a?Ly-La():(a&4194048)===a?VD-La():0;if(p=qJ(m,p),p!==null){sl=a,e.cancelPendingCommit=p(lE.bind(null,e,t,a,o,r,n,s,i,l,u,m,null,f,d)),xc(e,a,s,!c);return}}lE(e,t,a,o,r,n,s,i,l)}function fJ(e){for(var t=e;;){var o=t.tag;if((o===0||o===11||o===15)&&t.flags&16384&&(o=t.updateQueue,o!==null&&(o=o.stores,o!==null)))for(var r=0;r<o.length;r++){var n=o[r],a=n.getSnapshot;n=n.value;try{if(!Da(a(),n))return!1}catch{return!1}}if(o=t.child,t.subtreeFlags&16384&&o!==null)o.return=t,t=o;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function xc(e,t,o,r){t&=~jw,t&=~$u,e.suspendedLanes|=t,e.pingedLanes&=~t,r&&(e.warmLanes|=t),r=e.expirationTimes;for(var n=t;0<n;){var a=31-Ea(n),s=1<<a;r[a]=-1,n&=~s}o!==0&&GE(e,o,t)}function Py(){return(Lt&6)===0?(cg(0,!1),!1):!0}function Gw(){if(lt!==null){if(Rt===0)var e=lt.return;else e=lt,rl=rm=null,Ew(e),ed=null,Gh=0,e=lt;for(;e!==null;)ID(e.alternate,e),e=e.return;lt=null}}function md(e,t){var o=e.timeoutHandle;o!==-1&&(e.timeoutHandle=-1,PJ(o)),o=e.cancelPendingCommit,o!==null&&(e.cancelPendingCommit=null,o()),sl=0,Gw(),Zt=e,lt=o=nl(e.current,null),mt=t,Rt=0,Ta=null,Sc=!1,yd=og(e,t),Zw=!1,cd=Ma=jw=$u=Rc=wo=0,ta=Hh=null,ZC=!1,(t&8)!==0&&(t|=t&32);var r=e.entangledLanes;if(r!==0)for(e=e.entanglements,r&=t;0<r;){var n=31-Ea(r),a=1<<n;t|=e[n],r&=~a}return ml=t,vy(),o}function UD(e,t){Ye=null,He.H=qh,t===bd||t===wy?(t=O7(),Rt=3):t===ww?(t=O7(),Rt=4):Rt=t===Nw?8:t!==null&&typeof t=="object"&&typeof t.then=="function"?6:1,Ta=t,lt===null&&(wo=1,ry(e,is(t,e.current)))}function ZD(){var e=Ra.current;return e===null?!0:(mt&4194048)===mt?cs===null:(mt&62914560)===mt||(mt&536870912)!==0?e===cs:!1}function jD(){var e=He.H;return He.H=qh,e===null?qh:e}function GD(){var e=He.A;return He.A=uJ,e}function ly(){wo=4,Sc||(mt&4194048)!==mt&&Ra.current!==null||(yd=!0),(Rc&134217727)===0&&($u&134217727)===0||Zt===null||xc(Zt,mt,Ma,!1)}function rC(e,t,o){var r=Lt;Lt|=2;var n=jD(),a=GD();(Zt!==e||mt!==t)&&(iy=null,md(e,t)),t=!1;var s=wo;e:do try{if(Rt!==0&<!==null){var i=lt,l=Ta;switch(Rt){case 8:Gw(),s=6;break e;case 3:case 2:case 9:case 6:Ra.current===null&&(t=!0);var c=Rt;if(Rt=0,Ta=null,Xf(e,i,l,c),o&&yd){s=0;break e}break;default:c=Rt,Rt=0,Ta=null,Xf(e,i,l,c)}}dJ(),s=wo;break}catch(u){UD(e,u)}while(!0);return t&&e.shellSuspendCounter++,rl=rm=null,Lt=r,He.H=n,He.A=a,lt===null&&(Zt=null,mt=0,vy()),s}function dJ(){for(;lt!==null;)$D(lt)}function pJ(e,t){var o=Lt;Lt|=2;var r=jD(),n=GD();Zt!==e||mt!==t?(iy=null,sy=La()+500,md(e,t)):yd=og(e,t);e:do try{if(Rt!==0&<!==null){t=lt;var a=Ta;t:switch(Rt){case 1:Rt=0,Ta=null,Xf(e,t,a,1);break;case 2:case 9:if(H7(a)){Rt=0,Ta=null,iE(t);break}t=function(){Rt!==2&&Rt!==9||Zt!==e||(Rt=7),gi(e)},a.then(t,t);break e;case 3:Rt=7;break e;case 4:Rt=5;break e;case 7:H7(a)?(Rt=0,Ta=null,iE(t)):(Rt=0,Ta=null,Xf(e,t,a,7));break;case 5:var s=null;switch(lt.tag){case 26:s=lt.memoizedState;case 5:case 27:var i=lt;if(s?dR(s):i.stateNode.complete){Rt=0,Ta=null;var l=i.sibling;if(l!==null)lt=l;else{var c=i.return;c!==null?(lt=c,Ey(c)):lt=null}break t}}Rt=0,Ta=null,Xf(e,t,a,5);break;case 6:Rt=0,Ta=null,Xf(e,t,a,6);break;case 8:Gw(),wo=6;break e;default:throw Error(oe(462))}}hJ();break}catch(u){UD(e,u)}while(!0);return rl=rm=null,He.H=r,He.A=n,Lt=o,lt!==null?0:(Zt=null,mt=0,vy(),wo)}function hJ(){for(;lt!==null&&!OK();)$D(lt)}function $D(e){var t=xD(e.alternate,e,ml);e.memoizedProps=e.pendingProps,t===null?Ey(e):lt=t}function iE(e){var t=e,o=t.alternate;switch(t.tag){case 15:case 0:t=eE(o,t,t.pendingProps,t.type,void 0,mt);break;case 11:t=eE(o,t,t.pendingProps,t.type.render,t.ref,mt);break;case 5:Ew(t);default:ID(o,t),t=lt=IB(t,ml),t=xD(o,t,ml)}e.memoizedProps=e.pendingProps,t===null?Ey(e):lt=t}function Xf(e,t,o,r){rl=rm=null,Ew(t),ed=null,Gh=0;var n=t.return;try{if(rJ(e,n,t,o,mt)){wo=1,ry(e,is(o,e.current)),lt=null;return}}catch(a){if(n!==null)throw lt=n,a;wo=1,ry(e,is(o,e.current)),lt=null;return}t.flags&32768?(yt||r===1?e=!0:yd||(mt&536870912)!==0?e=!1:(Sc=e=!0,(r===2||r===9||r===3||r===6)&&(r=Ra.current,r!==null&&r.tag===13&&(r.flags|=16384))),qD(t,e)):Ey(t)}function Ey(e){var t=e;do{if((t.flags&32768)!==0){qD(t,Sc);return}e=t.return;var o=sJ(t.alternate,t,ml);if(o!==null){lt=o;return}if(t=t.sibling,t!==null){lt=t;return}lt=t=e}while(t!==null);wo===0&&(wo=5)}function qD(e,t){do{var o=iJ(e.alternate,e);if(o!==null){o.flags&=32767,lt=o;return}if(o=e.return,o!==null&&(o.flags|=32768,o.subtreeFlags=0,o.deletions=null),!t&&(e=e.sibling,e!==null)){lt=e;return}lt=e=o}while(e!==null);wo=6,lt=null}function lE(e,t,o,r,n,a,s,i,l){e.cancelPendingCommit=null;do By();while(Wr!==0);if((Lt&6)!==0)throw Error(oe(327));if(t!==null){if(t===e.current)throw Error(oe(177));if(a=t.lanes|t.childLanes,a|=bw,qK(e,o,a,s,i,l),e===Zt&&(lt=Zt=null,mt=0),ud=t,kc=e,sl=o,jC=a,GC=n,ND=r,(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?(e.callbackNode=null,e.callbackPriority=0,SJ(Gb,function(){return JD(),null})):(e.callbackNode=null,e.callbackPriority=0),r=(t.flags&13878)!==0,(t.subtreeFlags&13878)!==0||r){r=He.T,He.T=null,n=Pt.p,Pt.p=2,s=Lt,Lt|=4;try{lJ(e,t,o)}finally{Lt=s,Pt.p=n,He.T=r}}Wr=1,XD(),YD(),KD()}}function XD(){if(Wr===1){Wr=0;var e=kc,t=ud,o=(t.flags&13878)!==0;if((t.subtreeFlags&13878)!==0||o){o=He.T,He.T=null;var r=Pt.p;Pt.p=2;var n=Lt;Lt|=4;try{BD(t,e);var a=KC,s=dB(e.containerInfo),i=a.focusedElem,l=a.selectionRange;if(s!==i&&i&&i.ownerDocument&&fB(i.ownerDocument.documentElement,i)){if(l!==null&&gw(i)){var c=l.start,u=l.end;if(u===void 0&&(u=c),"selectionStart"in i)i.selectionStart=c,i.selectionEnd=Math.min(u,i.value.length);else{var m=i.ownerDocument||document,f=m&&m.defaultView||window;if(f.getSelection){var d=f.getSelection(),p=i.textContent.length,h=Math.min(l.start,p),S=l.end===void 0?h:Math.min(l.end,p);!d.extend&&h>S&&(s=S,S=h,h=s);var g=P7(i,h),b=P7(i,S);if(g&&b&&(d.rangeCount!==1||d.anchorNode!==g.node||d.anchorOffset!==g.offset||d.focusNode!==b.node||d.focusOffset!==b.offset)){var I=m.createRange();I.setStart(g.node,g.offset),d.removeAllRanges(),h>S?(d.addRange(I),d.extend(b.node,b.offset)):(I.setEnd(b.node,b.offset),d.addRange(I))}}}}for(m=[],d=i;d=d.parentNode;)d.nodeType===1&&m.push({element:d,left:d.scrollLeft,top:d.scrollTop});for(typeof i.focus=="function"&&i.focus(),i=0;i<m.length;i++){var v=m[i];v.element.scrollLeft=v.left,v.element.scrollTop=v.top}}gy=!!YC,KC=YC=null}finally{Lt=n,Pt.p=r,He.T=o}}e.current=t,Wr=2}}function YD(){if(Wr===2){Wr=0;var e=kc,t=ud,o=(t.flags&8772)!==0;if((t.subtreeFlags&8772)!==0||o){o=He.T,He.T=null;var r=Pt.p;Pt.p=2;var n=Lt;Lt|=4;try{kD(e,t.alternate,t)}finally{Lt=n,Pt.p=r,He.T=o}}Wr=3}}function KD(){if(Wr===4||Wr===3){Wr=0,VK();var e=kc,t=ud,o=sl,r=ND;(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?Wr=5:(Wr=0,ud=kc=null,QD(e,e.pendingLanes));var n=e.pendingLanes;if(n===0&&(Ac=null),cw(o),t=t.stateNode,Pa&&typeof Pa.onCommitFiberRoot=="function")try{Pa.onCommitFiberRoot(tg,t,void 0,(t.current.flags&128)===128)}catch{}if(r!==null){t=He.T,n=Pt.p,Pt.p=2,He.T=null;try{for(var a=e.onRecoverableError,s=0;s<r.length;s++){var i=r[s];a(i.value,{componentStack:i.stack})}}finally{He.T=t,Pt.p=n}}(sl&3)!==0&&By(),gi(e),n=e.pendingLanes,(o&261930)!==0&&(n&42)!==0?e===$C?Oh++:(Oh=0,$C=e):Oh=0,cg(0,!1)}}function QD(e,t){(e.pooledCacheLanes&=t)===0&&(t=e.pooledCache,t!=null&&(e.pooledCache=null,sg(t)))}function By(){return XD(),YD(),KD(),JD()}function JD(){if(Wr!==5)return!1;var e=kc,t=jC;jC=0;var o=cw(sl),r=He.T,n=Pt.p;try{Pt.p=32>o?32:o,He.T=null,o=GC,GC=null;var a=kc,s=sl;if(Wr=0,ud=kc=null,sl=0,(Lt&6)!==0)throw Error(oe(331));var i=Lt;if(Lt|=4,HD(a.current),RD(a,a.current,s,o),Lt=i,cg(0,!1),Pa&&typeof Pa.onPostCommitFiberRoot=="function")try{Pa.onPostCommitFiberRoot(tg,a)}catch{}return!0}finally{Pt.p=n,He.T=r,QD(e,t)}}function cE(e,t,o){t=is(o,t),t=NC(e.stateNode,t,2),e=Tc(e,t,2),e!==null&&(rg(e,2),gi(e))}function _t(e,t,o){if(e.tag===3)cE(e,e,o);else for(;t!==null;){if(t.tag===3){cE(t,e,o);break}else if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof r.componentDidCatch=="function"&&(Ac===null||!Ac.has(r))){e=is(o,e),o=pD(2),r=Tc(t,o,2),r!==null&&(hD(o,r,t,e),rg(r,2),gi(r));break}}t=t.return}}function nC(e,t,o){var r=e.pingCache;if(r===null){r=e.pingCache=new mJ;var n=new Set;r.set(t,n)}else n=r.get(t),n===void 0&&(n=new Set,r.set(t,n));n.has(o)||(Zw=!0,n.add(o),e=gJ.bind(null,e,t,o),t.then(e,e))}function gJ(e,t,o){var r=e.pingCache;r!==null&&r.delete(t),e.pingedLanes|=e.suspendedLanes&o,e.warmLanes&=~o,Zt===e&&(mt&o)===o&&(wo===4||wo===3&&(mt&62914560)===mt&&300>La()-Ly?(Lt&2)===0&&md(e,0):jw|=o,cd===mt&&(cd=0)),gi(e)}function eR(e,t){t===0&&(t=jE()),e=om(e,t),e!==null&&(rg(e,t),gi(e))}function bJ(e){var t=e.memoizedState,o=0;t!==null&&(o=t.retryLane),eR(e,o)}function yJ(e,t){var o=0;switch(e.tag){case 31:case 13:var r=e.stateNode,n=e.memoizedState;n!==null&&(o=n.retryLane);break;case 19:r=e.stateNode;break;case 22:r=e.stateNode._retryCache;break;default:throw Error(oe(314))}r!==null&&r.delete(t),eR(e,o)}function SJ(e,t){return iw(e,t)}var cy=null,Hf=null,qC=!1,uy=!1,aC=!1,Ic=0;function gi(e){e!==Hf&&e.next===null&&(Hf===null?cy=Hf=e:Hf=Hf.next=e),uy=!0,qC||(qC=!0,IJ())}function cg(e,t){if(!aC&&uy){aC=!0;do for(var o=!1,r=cy;r!==null;){if(!t)if(e!==0){var n=r.pendingLanes;if(n===0)var a=0;else{var s=r.suspendedLanes,i=r.pingedLanes;a=(1<<31-Ea(42|e)+1)-1,a&=n&~(s&~i),a=a&201326741?a&201326741|1:a?a|2:0}a!==0&&(o=!0,uE(r,a))}else a=mt,a=yy(r,r===Zt?a:0,r.cancelPendingCommit!==null||r.timeoutHandle!==-1),(a&3)===0||og(r,a)||(o=!0,uE(r,a));r=r.next}while(o);aC=!1}}function xJ(){tR()}function tR(){uy=qC=!1;var e=0;Ic!==0&&LJ()&&(e=Ic);for(var t=La(),o=null,r=cy;r!==null;){var n=r.next,a=oR(r,t);a===0?(r.next=null,o===null?cy=n:o.next=n,n===null&&(Hf=o)):(o=r,(e!==0||(a&3)!==0)&&(uy=!0)),r=n}Wr!==0&&Wr!==5||cg(e,!1),Ic!==0&&(Ic=0)}function oR(e,t){for(var o=e.suspendedLanes,r=e.pingedLanes,n=e.expirationTimes,a=e.pendingLanes&-62914561;0<a;){var s=31-Ea(a),i=1<<s,l=n[s];l===-1?((i&o)===0||(i&r)!==0)&&(n[s]=$K(i,t)):l<=t&&(e.expiredLanes|=i),a&=~i}if(t=Zt,o=mt,o=yy(e,e===t?o:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),r=e.callbackNode,o===0||e===t&&(Rt===2||Rt===9)||e.cancelPendingCommit!==null)return r!==null&&r!==null&&Rv(r),e.callbackNode=null,e.callbackPriority=0;if((o&3)===0||og(e,o)){if(t=o&-o,t===e.callbackPriority)return t;switch(r!==null&&Rv(r),cw(o)){case 2:case 8:o=UE;break;case 32:o=Gb;break;case 268435456:o=ZE;break;default:o=Gb}return r=rR.bind(null,e),o=iw(o,r),e.callbackPriority=t,e.callbackNode=o,t}return r!==null&&r!==null&&Rv(r),e.callbackPriority=2,e.callbackNode=null,2}function rR(e,t){if(Wr!==0&&Wr!==5)return e.callbackNode=null,e.callbackPriority=0,null;var o=e.callbackNode;if(By()&&e.callbackNode!==o)return null;var r=mt;return r=yy(e,e===Zt?r:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),r===0?null:(WD(e,r,t),oR(e,La()),e.callbackNode!=null&&e.callbackNode===o?rR.bind(null,e):null)}function uE(e,t){if(By())return null;WD(e,t,!0)}function IJ(){EJ(function(){(Lt&6)!==0?iw(WE,xJ):tR()})}function $w(){if(Ic===0){var e=sd;e===0&&(e=mb,mb<<=1,(mb&261888)===0&&(mb=256)),Ic=e}return Ic}function mE(e){return e==null||typeof e=="symbol"||typeof e=="boolean"?null:typeof e=="function"?e:Lb(""+e)}function fE(e,t){var o=t.ownerDocument.createElement("input");return o.name=t.name,o.value=t.value,e.id&&o.setAttribute("form",e.id),t.parentNode.insertBefore(o,t),e=new FormData(e),o.parentNode.removeChild(o),e}function vJ(e,t,o,r,n){if(t==="submit"&&o&&o.stateNode===n){var a=mE((n[ra]||null).action),s=r.submitter;s&&(t=(t=s[ra]||null)?mE(t.formAction):s.getAttribute("formAction"),t!==null&&(a=t,s=null));var i=new Sy("action","action",null,r,n);e.push({event:i,listeners:[{instance:null,listener:function(){if(r.defaultPrevented){if(Ic!==0){var l=s?fE(n,s):new FormData(n);OC(o,{pending:!0,data:l,method:n.method,action:a},null,l)}}else typeof a=="function"&&(i.preventDefault(),l=s?fE(n,s):new FormData(n),OC(o,{pending:!0,data:l,method:n.method,action:a},a,l))},currentTarget:n}]})}}for(Cb=0;Cb<AC.length;Cb++)wb=AC[Cb],dE=wb.toLowerCase(),pE=wb[0].toUpperCase()+wb.slice(1),zs(dE,"on"+pE);var wb,dE,pE,Cb;zs(hB,"onAnimationEnd");zs(gB,"onAnimationIteration");zs(bB,"onAnimationStart");zs("dblclick","onDoubleClick");zs("focusin","onFocus");zs("focusout","onBlur");zs(NQ,"onTransitionRun");zs(zQ,"onTransitionStart");zs(WQ,"onTransitionCancel");zs(yB,"onTransitionEnd");nd("onMouseEnter",["mouseout","mouseover"]);nd("onMouseLeave",["mouseout","mouseover"]);nd("onPointerEnter",["pointerout","pointerover"]);nd("onPointerLeave",["pointerout","pointerover"]);Ju("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));Ju("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));Ju("onBeforeInput",["compositionend","keypress","textInput","paste"]);Ju("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));Ju("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));Ju("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Xh="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),CJ=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Xh));function nR(e,t){t=(t&4)!==0;for(var o=0;o<e.length;o++){var r=e[o],n=r.event;r=r.listeners;e:{var a=void 0;if(t)for(var s=r.length-1;0<=s;s--){var i=r[s],l=i.instance,c=i.currentTarget;if(i=i.listener,l!==a&&n.isPropagationStopped())break e;a=i,n.currentTarget=c;try{a(n)}catch(u){qb(u)}n.currentTarget=null,a=l}else for(s=0;s<r.length;s++){if(i=r[s],l=i.instance,c=i.currentTarget,i=i.listener,l!==a&&n.isPropagationStopped())break e;a=i,n.currentTarget=c;try{a(n)}catch(u){qb(u)}n.currentTarget=null,a=l}}}}function it(e,t){var o=t[yC];o===void 0&&(o=t[yC]=new Set);var r=e+"__bubble";o.has(r)||(aR(t,e,2,!1),o.add(r))}function sC(e,t,o){var r=0;t&&(r|=4),aR(o,e,r,t)}var Tb="_reactListening"+Math.random().toString(36).slice(2);function qw(e){if(!e[Tb]){e[Tb]=!0,YE.forEach(function(o){o!=="selectionchange"&&(CJ.has(o)||sC(o,!1,e),sC(o,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[Tb]||(t[Tb]=!0,sC("selectionchange",!1,t))}}function aR(e,t,o,r){switch(yR(t)){case 2:var n=KJ;break;case 8:n=QJ;break;default:n=Qw}o=n.bind(null,t,o,e),n=void 0,!CC||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(n=!0),r?n!==void 0?e.addEventListener(t,o,{capture:!0,passive:n}):e.addEventListener(t,o,!0):n!==void 0?e.addEventListener(t,o,{passive:n}):e.addEventListener(t,o,!1)}function iC(e,t,o,r,n){var a=r;if((t&1)===0&&(t&2)===0&&r!==null)e:for(;;){if(r===null)return;var s=r.tag;if(s===3||s===4){var i=r.stateNode.containerInfo;if(i===n)break;if(s===4)for(s=r.return;s!==null;){var l=s.tag;if((l===3||l===4)&&s.stateNode.containerInfo===n)return;s=s.return}for(;i!==null;){if(s=Nf(i),s===null)return;if(l=s.tag,l===5||l===6||l===26||l===27){r=a=s;continue e}i=i.parentNode}}r=r.return}nB(function(){var c=a,u=fw(o),m=[];e:{var f=SB.get(e);if(f!==void 0){var d=Sy,p=e;switch(e){case"keypress":if(Eb(o)===0)break e;case"keydown":case"keyup":d=yQ;break;case"focusin":p="focus",d=Vv;break;case"focusout":p="blur",d=Vv;break;case"beforeblur":case"afterblur":d=Vv;break;case"click":if(o.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":d=I7;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":d=sQ;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":d=IQ;break;case hB:case gB:case bB:d=cQ;break;case yB:d=CQ;break;case"scroll":case"scrollend":d=nQ;break;case"wheel":d=TQ;break;case"copy":case"cut":case"paste":d=mQ;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":d=C7;break;case"toggle":case"beforetoggle":d=kQ}var h=(t&4)!==0,S=!h&&(e==="scroll"||e==="scrollend"),g=h?f!==null?f+"Capture":null:f;h=[];for(var b=c,I;b!==null;){var v=b;if(I=v.stateNode,v=v.tag,v!==5&&v!==26&&v!==27||I===null||g===null||(v=zh(b,g),v!=null&&h.push(Yh(b,v,I))),S)break;b=b.return}0<h.length&&(f=new d(f,p,null,o,u),m.push({event:f,listeners:h}))}}if((t&7)===0){e:{if(f=e==="mouseover"||e==="pointerover",d=e==="mouseout"||e==="pointerout",f&&o!==vC&&(p=o.relatedTarget||o.fromElement)&&(Nf(p)||p[pd]))break e;if((d||f)&&(f=u.window===u?u:(f=u.ownerDocument)?f.defaultView||f.parentWindow:window,d?(p=o.relatedTarget||o.toElement,d=c,p=p?Nf(p):null,p!==null&&(S=eg(p),h=p.tag,p!==S||h!==5&&h!==27&&h!==6)&&(p=null)):(d=null,p=c),d!==p)){if(h=I7,v="onMouseLeave",g="onMouseEnter",b="mouse",(e==="pointerout"||e==="pointerover")&&(h=C7,v="onPointerLeave",g="onPointerEnter",b="pointer"),S=d==null?f:wh(d),I=p==null?f:wh(p),f=new h(v,b+"leave",d,o,u),f.target=S,f.relatedTarget=I,v=null,Nf(u)===c&&(h=new h(g,b+"enter",p,o,u),h.target=I,h.relatedTarget=S,v=h),S=v,d&&p)t:{for(h=wJ,g=d,b=p,I=0,v=g;v;v=h(v))I++;v=0;for(var C=b;C;C=h(C))v++;for(;0<I-v;)g=h(g),I--;for(;0<v-I;)b=h(b),v--;for(;I--;){if(g===b||b!==null&&g===b.alternate){h=g;break t}g=h(g),b=h(b)}h=null}else h=null;d!==null&&hE(m,f,d,h,!1),p!==null&&S!==null&&hE(m,S,p,h,!0)}}e:{if(f=c?wh(c):window,d=f.nodeName&&f.nodeName.toLowerCase(),d==="select"||d==="input"&&f.type==="file")var T=k7;else if(A7(f))if(uB)T=HQ;else{T=_Q;var w=RQ}else d=f.nodeName,!d||d.toLowerCase()!=="input"||f.type!=="checkbox"&&f.type!=="radio"?c&&mw(c.elementType)&&(T=k7):T=FQ;if(T&&(T=T(e,c))){cB(m,T,o,u);break e}w&&w(e,f,c),e==="focusout"&&c&&f.type==="number"&&c.memoizedProps.value!=null&&IC(f,"number",f.value)}switch(w=c?wh(c):window,e){case"focusin":(A7(w)||w.contentEditable==="true")&&(Uf=w,wC=c,Lh=null);break;case"focusout":Lh=wC=Uf=null;break;case"mousedown":TC=!0;break;case"contextmenu":case"mouseup":case"dragend":TC=!1,E7(m,o,u);break;case"selectionchange":if(VQ)break;case"keydown":case"keyup":E7(m,o,u)}var E;if(hw)e:{switch(e){case"compositionstart":var B="onCompositionStart";break e;case"compositionend":B="onCompositionEnd";break e;case"compositionupdate":B="onCompositionUpdate";break e}B=void 0}else Wf?iB(e,o)&&(B="onCompositionEnd"):e==="keydown"&&o.keyCode===229&&(B="onCompositionStart");B&&(sB&&o.locale!=="ko"&&(Wf||B!=="onCompositionStart"?B==="onCompositionEnd"&&Wf&&(E=aB()):(yc=u,dw="value"in yc?yc.value:yc.textContent,Wf=!0)),w=my(c,B),0<w.length&&(B=new v7(B,e,null,o,u),m.push({event:B,listeners:w}),E?B.data=E:(E=lB(o),E!==null&&(B.data=E)))),(E=LQ?PQ(e,o):EQ(e,o))&&(B=my(c,"onBeforeInput"),0<B.length&&(w=new v7("onBeforeInput","beforeinput",null,o,u),m.push({event:w,listeners:B}),w.data=E)),vJ(m,e,c,o,u)}nR(m,t)})}function Yh(e,t,o){return{instance:e,listener:t,currentTarget:o}}function my(e,t){for(var o=t+"Capture",r=[];e!==null;){var n=e,a=n.stateNode;if(n=n.tag,n!==5&&n!==26&&n!==27||a===null||(n=zh(e,o),n!=null&&r.unshift(Yh(e,n,a)),n=zh(e,t),n!=null&&r.push(Yh(e,n,a))),e.tag===3)return r;e=e.return}return[]}function wJ(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function hE(e,t,o,r,n){for(var a=t._reactName,s=[];o!==null&&o!==r;){var i=o,l=i.alternate,c=i.stateNode;if(i=i.tag,l!==null&&l===r)break;i!==5&&i!==26&&i!==27||c===null||(l=c,n?(c=zh(o,a),c!=null&&s.unshift(Yh(o,c,l))):n||(c=zh(o,a),c!=null&&s.push(Yh(o,c,l)))),o=o.return}s.length!==0&&e.push({event:t,listeners:s})}var TJ=/\r\n?/g,AJ=/\u0000|\uFFFD/g;function gE(e){return(typeof e=="string"?e:""+e).replace(TJ,`
|
|
821
|
+
`).replace(AJ,"")}function sR(e,t){return t=gE(t),gE(e)===t}function Vt(e,t,o,r,n,a){switch(o){case"children":typeof r=="string"?t==="body"||t==="textarea"&&r===""||ad(e,r):(typeof r=="number"||typeof r=="bigint")&&t!=="body"&&ad(e,""+r);break;case"className":pb(e,"class",r);break;case"tabIndex":pb(e,"tabindex",r);break;case"dir":case"role":case"viewBox":case"width":case"height":pb(e,o,r);break;case"style":rB(e,r,a);break;case"data":if(t!=="object"){pb(e,"data",r);break}case"src":case"href":if(r===""&&(t!=="a"||o!=="href")){e.removeAttribute(o);break}if(r==null||typeof r=="function"||typeof r=="symbol"||typeof r=="boolean"){e.removeAttribute(o);break}r=Lb(""+r),e.setAttribute(o,r);break;case"action":case"formAction":if(typeof r=="function"){e.setAttribute(o,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof a=="function"&&(o==="formAction"?(t!=="input"&&Vt(e,t,"name",n.name,n,null),Vt(e,t,"formEncType",n.formEncType,n,null),Vt(e,t,"formMethod",n.formMethod,n,null),Vt(e,t,"formTarget",n.formTarget,n,null)):(Vt(e,t,"encType",n.encType,n,null),Vt(e,t,"method",n.method,n,null),Vt(e,t,"target",n.target,n,null)));if(r==null||typeof r=="symbol"||typeof r=="boolean"){e.removeAttribute(o);break}r=Lb(""+r),e.setAttribute(o,r);break;case"onClick":r!=null&&(e.onclick=ol);break;case"onScroll":r!=null&&it("scroll",e);break;case"onScrollEnd":r!=null&&it("scrollend",e);break;case"dangerouslySetInnerHTML":if(r!=null){if(typeof r!="object"||!("__html"in r))throw Error(oe(61));if(o=r.__html,o!=null){if(n.children!=null)throw Error(oe(60));e.innerHTML=o}}break;case"multiple":e.multiple=r&&typeof r!="function"&&typeof r!="symbol";break;case"muted":e.muted=r&&typeof r!="function"&&typeof r!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(r==null||typeof r=="function"||typeof r=="boolean"||typeof r=="symbol"){e.removeAttribute("xlink:href");break}o=Lb(""+r),e.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",o);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":r!=null&&typeof r!="function"&&typeof r!="symbol"?e.setAttribute(o,""+r):e.removeAttribute(o);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":r&&typeof r!="function"&&typeof r!="symbol"?e.setAttribute(o,""):e.removeAttribute(o);break;case"capture":case"download":r===!0?e.setAttribute(o,""):r!==!1&&r!=null&&typeof r!="function"&&typeof r!="symbol"?e.setAttribute(o,r):e.removeAttribute(o);break;case"cols":case"rows":case"size":case"span":r!=null&&typeof r!="function"&&typeof r!="symbol"&&!isNaN(r)&&1<=r?e.setAttribute(o,r):e.removeAttribute(o);break;case"rowSpan":case"start":r==null||typeof r=="function"||typeof r=="symbol"||isNaN(r)?e.removeAttribute(o):e.setAttribute(o,r);break;case"popover":it("beforetoggle",e),it("toggle",e),Mb(e,"popover",r);break;case"xlinkActuate":qi(e,"http://www.w3.org/1999/xlink","xlink:actuate",r);break;case"xlinkArcrole":qi(e,"http://www.w3.org/1999/xlink","xlink:arcrole",r);break;case"xlinkRole":qi(e,"http://www.w3.org/1999/xlink","xlink:role",r);break;case"xlinkShow":qi(e,"http://www.w3.org/1999/xlink","xlink:show",r);break;case"xlinkTitle":qi(e,"http://www.w3.org/1999/xlink","xlink:title",r);break;case"xlinkType":qi(e,"http://www.w3.org/1999/xlink","xlink:type",r);break;case"xmlBase":qi(e,"http://www.w3.org/XML/1998/namespace","xml:base",r);break;case"xmlLang":qi(e,"http://www.w3.org/XML/1998/namespace","xml:lang",r);break;case"xmlSpace":qi(e,"http://www.w3.org/XML/1998/namespace","xml:space",r);break;case"is":Mb(e,"is",r);break;case"innerText":case"textContent":break;default:(!(2<o.length)||o[0]!=="o"&&o[0]!=="O"||o[1]!=="n"&&o[1]!=="N")&&(o=oQ.get(o)||o,Mb(e,o,r))}}function XC(e,t,o,r,n,a){switch(o){case"style":rB(e,r,a);break;case"dangerouslySetInnerHTML":if(r!=null){if(typeof r!="object"||!("__html"in r))throw Error(oe(61));if(o=r.__html,o!=null){if(n.children!=null)throw Error(oe(60));e.innerHTML=o}}break;case"children":typeof r=="string"?ad(e,r):(typeof r=="number"||typeof r=="bigint")&&ad(e,""+r);break;case"onScroll":r!=null&&it("scroll",e);break;case"onScrollEnd":r!=null&&it("scrollend",e);break;case"onClick":r!=null&&(e.onclick=ol);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!KE.hasOwnProperty(o))e:{if(o[0]==="o"&&o[1]==="n"&&(n=o.endsWith("Capture"),t=o.slice(2,n?o.length-7:void 0),a=e[ra]||null,a=a!=null?a[o]:null,typeof a=="function"&&e.removeEventListener(t,a,n),typeof r=="function")){typeof a!="function"&&a!==null&&(o in e?e[o]=null:e.hasAttribute(o)&&e.removeAttribute(o)),e.addEventListener(t,r,n);break e}o in e?e[o]=r:r===!0?e.setAttribute(o,""):Mb(e,o,r)}}}function bn(e,t,o){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":it("error",e),it("load",e);var r=!1,n=!1,a;for(a in o)if(o.hasOwnProperty(a)){var s=o[a];if(s!=null)switch(a){case"src":r=!0;break;case"srcSet":n=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(oe(137,t));default:Vt(e,t,a,s,o,null)}}n&&Vt(e,t,"srcSet",o.srcSet,o,null),r&&Vt(e,t,"src",o.src,o,null);return;case"input":it("invalid",e);var i=a=s=n=null,l=null,c=null;for(r in o)if(o.hasOwnProperty(r)){var u=o[r];if(u!=null)switch(r){case"name":n=u;break;case"type":s=u;break;case"checked":l=u;break;case"defaultChecked":c=u;break;case"value":a=u;break;case"defaultValue":i=u;break;case"children":case"dangerouslySetInnerHTML":if(u!=null)throw Error(oe(137,t));break;default:Vt(e,t,r,u,o,null)}}eB(e,a,i,l,c,s,n,!1);return;case"select":it("invalid",e),r=s=a=null;for(n in o)if(o.hasOwnProperty(n)&&(i=o[n],i!=null))switch(n){case"value":a=i;break;case"defaultValue":s=i;break;case"multiple":r=i;default:Vt(e,t,n,i,o,null)}t=a,o=s,e.multiple=!!r,t!=null?Kf(e,!!r,t,!1):o!=null&&Kf(e,!!r,o,!0);return;case"textarea":it("invalid",e),a=n=r=null;for(s in o)if(o.hasOwnProperty(s)&&(i=o[s],i!=null))switch(s){case"value":r=i;break;case"defaultValue":n=i;break;case"children":a=i;break;case"dangerouslySetInnerHTML":if(i!=null)throw Error(oe(91));break;default:Vt(e,t,s,i,o,null)}oB(e,r,n,a);return;case"option":for(l in o)if(o.hasOwnProperty(l)&&(r=o[l],r!=null))switch(l){case"selected":e.selected=r&&typeof r!="function"&&typeof r!="symbol";break;default:Vt(e,t,l,r,o,null)}return;case"dialog":it("beforetoggle",e),it("toggle",e),it("cancel",e),it("close",e);break;case"iframe":case"object":it("load",e);break;case"video":case"audio":for(r=0;r<Xh.length;r++)it(Xh[r],e);break;case"image":it("error",e),it("load",e);break;case"details":it("toggle",e);break;case"embed":case"source":case"link":it("error",e),it("load",e);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(c in o)if(o.hasOwnProperty(c)&&(r=o[c],r!=null))switch(c){case"children":case"dangerouslySetInnerHTML":throw Error(oe(137,t));default:Vt(e,t,c,r,o,null)}return;default:if(mw(t)){for(u in o)o.hasOwnProperty(u)&&(r=o[u],r!==void 0&&XC(e,t,u,r,o,void 0));return}}for(i in o)o.hasOwnProperty(i)&&(r=o[i],r!=null&&Vt(e,t,i,r,o,null))}function kJ(e,t,o,r){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var n=null,a=null,s=null,i=null,l=null,c=null,u=null;for(d in o){var m=o[d];if(o.hasOwnProperty(d)&&m!=null)switch(d){case"checked":break;case"value":break;case"defaultValue":l=m;default:r.hasOwnProperty(d)||Vt(e,t,d,null,r,m)}}for(var f in r){var d=r[f];if(m=o[f],r.hasOwnProperty(f)&&(d!=null||m!=null))switch(f){case"type":a=d;break;case"name":n=d;break;case"checked":c=d;break;case"defaultChecked":u=d;break;case"value":s=d;break;case"defaultValue":i=d;break;case"children":case"dangerouslySetInnerHTML":if(d!=null)throw Error(oe(137,t));break;default:d!==m&&Vt(e,t,f,d,r,m)}}xC(e,s,i,l,c,u,a,n);return;case"select":d=s=i=f=null;for(a in o)if(l=o[a],o.hasOwnProperty(a)&&l!=null)switch(a){case"value":break;case"multiple":d=l;default:r.hasOwnProperty(a)||Vt(e,t,a,null,r,l)}for(n in r)if(a=r[n],l=o[n],r.hasOwnProperty(n)&&(a!=null||l!=null))switch(n){case"value":f=a;break;case"defaultValue":i=a;break;case"multiple":s=a;default:a!==l&&Vt(e,t,n,a,r,l)}t=i,o=s,r=d,f!=null?Kf(e,!!o,f,!1):!!r!=!!o&&(t!=null?Kf(e,!!o,t,!0):Kf(e,!!o,o?[]:"",!1));return;case"textarea":d=f=null;for(i in o)if(n=o[i],o.hasOwnProperty(i)&&n!=null&&!r.hasOwnProperty(i))switch(i){case"value":break;case"children":break;default:Vt(e,t,i,null,r,n)}for(s in r)if(n=r[s],a=o[s],r.hasOwnProperty(s)&&(n!=null||a!=null))switch(s){case"value":f=n;break;case"defaultValue":d=n;break;case"children":break;case"dangerouslySetInnerHTML":if(n!=null)throw Error(oe(91));break;default:n!==a&&Vt(e,t,s,n,r,a)}tB(e,f,d);return;case"option":for(var p in o)if(f=o[p],o.hasOwnProperty(p)&&f!=null&&!r.hasOwnProperty(p))switch(p){case"selected":e.selected=!1;break;default:Vt(e,t,p,null,r,f)}for(l in r)if(f=r[l],d=o[l],r.hasOwnProperty(l)&&f!==d&&(f!=null||d!=null))switch(l){case"selected":e.selected=f&&typeof f!="function"&&typeof f!="symbol";break;default:Vt(e,t,l,f,r,d)}return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var h in o)f=o[h],o.hasOwnProperty(h)&&f!=null&&!r.hasOwnProperty(h)&&Vt(e,t,h,null,r,f);for(c in r)if(f=r[c],d=o[c],r.hasOwnProperty(c)&&f!==d&&(f!=null||d!=null))switch(c){case"children":case"dangerouslySetInnerHTML":if(f!=null)throw Error(oe(137,t));break;default:Vt(e,t,c,f,r,d)}return;default:if(mw(t)){for(var S in o)f=o[S],o.hasOwnProperty(S)&&f!==void 0&&!r.hasOwnProperty(S)&&XC(e,t,S,void 0,r,f);for(u in r)f=r[u],d=o[u],!r.hasOwnProperty(u)||f===d||f===void 0&&d===void 0||XC(e,t,u,f,r,d);return}}for(var g in o)f=o[g],o.hasOwnProperty(g)&&f!=null&&!r.hasOwnProperty(g)&&Vt(e,t,g,null,r,f);for(m in r)f=r[m],d=o[m],!r.hasOwnProperty(m)||f===d||f==null&&d==null||Vt(e,t,m,f,r,d)}function bE(e){switch(e){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function MJ(){if(typeof performance.getEntriesByType=="function"){for(var e=0,t=0,o=performance.getEntriesByType("resource"),r=0;r<o.length;r++){var n=o[r],a=n.transferSize,s=n.initiatorType,i=n.duration;if(a&&i&&bE(s)){for(s=0,i=n.responseEnd,r+=1;r<o.length;r++){var l=o[r],c=l.startTime;if(c>i)break;var u=l.transferSize,m=l.initiatorType;u&&bE(m)&&(l=l.responseEnd,s+=u*(l<i?1:(i-c)/(l-c)))}if(--r,t+=8*(a+s)/(n.duration/1e3),e++,10<e)break}}if(0<e)return t/e/1e6}return navigator.connection&&(e=navigator.connection.downlink,typeof e=="number")?e:5}var YC=null,KC=null;function fy(e){return e.nodeType===9?e:e.ownerDocument}function yE(e){switch(e){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function iR(e,t){if(e===0)switch(t){case"svg":return 1;case"math":return 2;default:return 0}return e===1&&t==="foreignObject"?0:e}function QC(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.children=="bigint"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var lC=null;function LJ(){var e=window.event;return e&&e.type==="popstate"?e===lC?!1:(lC=e,!0):(lC=null,!1)}var lR=typeof setTimeout=="function"?setTimeout:void 0,PJ=typeof clearTimeout=="function"?clearTimeout:void 0,SE=typeof Promise=="function"?Promise:void 0,EJ=typeof queueMicrotask=="function"?queueMicrotask:typeof SE<"u"?function(e){return SE.resolve(null).then(e).catch(BJ)}:lR;function BJ(e){setTimeout(function(){throw e})}function Fc(e){return e==="head"}function xE(e,t){var o=t,r=0;do{var n=o.nextSibling;if(e.removeChild(o),n&&n.nodeType===8)if(o=n.data,o==="/$"||o==="/&"){if(r===0){e.removeChild(n),dd(t);return}r--}else if(o==="$"||o==="$?"||o==="$~"||o==="$!"||o==="&")r++;else if(o==="html")Vh(e.ownerDocument.documentElement);else if(o==="head"){o=e.ownerDocument.head,Vh(o);for(var a=o.firstChild;a;){var s=a.nextSibling,i=a.nodeName;a[ng]||i==="SCRIPT"||i==="STYLE"||i==="LINK"&&a.rel.toLowerCase()==="stylesheet"||o.removeChild(a),a=s}}else o==="body"&&Vh(e.ownerDocument.body);o=n}while(o);dd(t)}function IE(e,t){var o=e;e=0;do{var r=o.nextSibling;if(o.nodeType===1?t?(o._stashedDisplay=o.style.display,o.style.display="none"):(o.style.display=o._stashedDisplay||"",o.getAttribute("style")===""&&o.removeAttribute("style")):o.nodeType===3&&(t?(o._stashedText=o.nodeValue,o.nodeValue=""):o.nodeValue=o._stashedText||""),r&&r.nodeType===8)if(o=r.data,o==="/$"){if(e===0)break;e--}else o!=="$"&&o!=="$?"&&o!=="$~"&&o!=="$!"||e++;o=r}while(o)}function JC(e){var t=e.firstChild;for(t&&t.nodeType===10&&(t=t.nextSibling);t;){var o=t;switch(t=t.nextSibling,o.nodeName){case"HTML":case"HEAD":case"BODY":JC(o),uw(o);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(o.rel.toLowerCase()==="stylesheet")continue}e.removeChild(o)}}function DJ(e,t,o,r){for(;e.nodeType===1;){var n=o;if(e.nodeName.toLowerCase()!==t.toLowerCase()){if(!r&&(e.nodeName!=="INPUT"||e.type!=="hidden"))break}else if(r){if(!e[ng])switch(t){case"meta":if(!e.hasAttribute("itemprop"))break;return e;case"link":if(a=e.getAttribute("rel"),a==="stylesheet"&&e.hasAttribute("data-precedence"))break;if(a!==n.rel||e.getAttribute("href")!==(n.href==null||n.href===""?null:n.href)||e.getAttribute("crossorigin")!==(n.crossOrigin==null?null:n.crossOrigin)||e.getAttribute("title")!==(n.title==null?null:n.title))break;return e;case"style":if(e.hasAttribute("data-precedence"))break;return e;case"script":if(a=e.getAttribute("src"),(a!==(n.src==null?null:n.src)||e.getAttribute("type")!==(n.type==null?null:n.type)||e.getAttribute("crossorigin")!==(n.crossOrigin==null?null:n.crossOrigin))&&a&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}}else if(t==="input"&&e.type==="hidden"){var a=n.name==null?null:""+n.name;if(n.type==="hidden"&&e.getAttribute("name")===a)return e}else return e;if(e=us(e.nextSibling),e===null)break}return null}function RJ(e,t,o){if(t==="")return null;for(;e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!o||(e=us(e.nextSibling),e===null))return null;return e}function cR(e,t){for(;e.nodeType!==8;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!t||(e=us(e.nextSibling),e===null))return null;return e}function ew(e){return e.data==="$?"||e.data==="$~"}function tw(e){return e.data==="$!"||e.data==="$?"&&e.ownerDocument.readyState!=="loading"}function _J(e,t){var o=e.ownerDocument;if(e.data==="$~")e._reactRetry=t;else if(e.data!=="$?"||o.readyState!=="loading")t();else{var r=function(){t(),o.removeEventListener("DOMContentLoaded",r)};o.addEventListener("DOMContentLoaded",r),e._reactRetry=r}}function us(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t==="$"||t==="$!"||t==="$?"||t==="$~"||t==="&"||t==="F!"||t==="F")break;if(t==="/$"||t==="/&")return null}}return e}var ow=null;function vE(e){e=e.nextSibling;for(var t=0;e;){if(e.nodeType===8){var o=e.data;if(o==="/$"||o==="/&"){if(t===0)return us(e.nextSibling);t--}else o!=="$"&&o!=="$!"&&o!=="$?"&&o!=="$~"&&o!=="&"||t++}e=e.nextSibling}return null}function CE(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var o=e.data;if(o==="$"||o==="$!"||o==="$?"||o==="$~"||o==="&"){if(t===0)return e;t--}else o!=="/$"&&o!=="/&"||t++}e=e.previousSibling}return null}function uR(e,t,o){switch(t=fy(o),e){case"html":if(e=t.documentElement,!e)throw Error(oe(452));return e;case"head":if(e=t.head,!e)throw Error(oe(453));return e;case"body":if(e=t.body,!e)throw Error(oe(454));return e;default:throw Error(oe(451))}}function Vh(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);uw(e)}var ms=new Map,wE=new Set;function dy(e){return typeof e.getRootNode=="function"?e.getRootNode():e.nodeType===9?e:e.ownerDocument}var fl=Pt.d;Pt.d={f:FJ,r:HJ,D:OJ,C:VJ,L:NJ,m:zJ,X:UJ,S:WJ,M:ZJ};function FJ(){var e=fl.f(),t=Py();return e||t}function HJ(e){var t=hd(e);t!==null&&t.tag===5&&t.type==="form"?rD(t):fl.r(e)}var Sd=typeof document>"u"?null:document;function mR(e,t,o){var r=Sd;if(r&&typeof t=="string"&&t){var n=ss(t);n='link[rel="'+e+'"][href="'+n+'"]',typeof o=="string"&&(n+='[crossorigin="'+o+'"]'),wE.has(n)||(wE.add(n),e={rel:e,crossOrigin:o,href:t},r.querySelector(n)===null&&(t=r.createElement("link"),bn(t,"link",e),on(t),r.head.appendChild(t)))}}function OJ(e){fl.D(e),mR("dns-prefetch",e,null)}function VJ(e,t){fl.C(e,t),mR("preconnect",e,t)}function NJ(e,t,o){fl.L(e,t,o);var r=Sd;if(r&&e&&t){var n='link[rel="preload"][as="'+ss(t)+'"]';t==="image"&&o&&o.imageSrcSet?(n+='[imagesrcset="'+ss(o.imageSrcSet)+'"]',typeof o.imageSizes=="string"&&(n+='[imagesizes="'+ss(o.imageSizes)+'"]')):n+='[href="'+ss(e)+'"]';var a=n;switch(t){case"style":a=fd(e);break;case"script":a=xd(e)}ms.has(a)||(e=oo({rel:"preload",href:t==="image"&&o&&o.imageSrcSet?void 0:e,as:t},o),ms.set(a,e),r.querySelector(n)!==null||t==="style"&&r.querySelector(ug(a))||t==="script"&&r.querySelector(mg(a))||(t=r.createElement("link"),bn(t,"link",e),on(t),r.head.appendChild(t)))}}function zJ(e,t){fl.m(e,t);var o=Sd;if(o&&e){var r=t&&typeof t.as=="string"?t.as:"script",n='link[rel="modulepreload"][as="'+ss(r)+'"][href="'+ss(e)+'"]',a=n;switch(r){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":a=xd(e)}if(!ms.has(a)&&(e=oo({rel:"modulepreload",href:e},t),ms.set(a,e),o.querySelector(n)===null)){switch(r){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(o.querySelector(mg(a)))return}r=o.createElement("link"),bn(r,"link",e),on(r),o.head.appendChild(r)}}}function WJ(e,t,o){fl.S(e,t,o);var r=Sd;if(r&&e){var n=Yf(r).hoistableStyles,a=fd(e);t=t||"default";var s=n.get(a);if(!s){var i={loading:0,preload:null};if(s=r.querySelector(ug(a)))i.loading=5;else{e=oo({rel:"stylesheet",href:e,"data-precedence":t},o),(o=ms.get(a))&&Xw(e,o);var l=s=r.createElement("link");on(l),bn(l,"link",e),l._p=new Promise(function(c,u){l.onload=c,l.onerror=u}),l.addEventListener("load",function(){i.loading|=1}),l.addEventListener("error",function(){i.loading|=2}),i.loading|=4,Vb(s,t,r)}s={type:"stylesheet",instance:s,count:1,state:i},n.set(a,s)}}}function UJ(e,t){fl.X(e,t);var o=Sd;if(o&&e){var r=Yf(o).hoistableScripts,n=xd(e),a=r.get(n);a||(a=o.querySelector(mg(n)),a||(e=oo({src:e,async:!0},t),(t=ms.get(n))&&Yw(e,t),a=o.createElement("script"),on(a),bn(a,"link",e),o.head.appendChild(a)),a={type:"script",instance:a,count:1,state:null},r.set(n,a))}}function ZJ(e,t){fl.M(e,t);var o=Sd;if(o&&e){var r=Yf(o).hoistableScripts,n=xd(e),a=r.get(n);a||(a=o.querySelector(mg(n)),a||(e=oo({src:e,async:!0,type:"module"},t),(t=ms.get(n))&&Yw(e,t),a=o.createElement("script"),on(a),bn(a,"link",e),o.head.appendChild(a)),a={type:"script",instance:a,count:1,state:null},r.set(n,a))}}function TE(e,t,o,r){var n=(n=vc.current)?dy(n):null;if(!n)throw Error(oe(446));switch(e){case"meta":case"title":return null;case"style":return typeof o.precedence=="string"&&typeof o.href=="string"?(t=fd(o.href),o=Yf(n).hoistableStyles,r=o.get(t),r||(r={type:"style",instance:null,count:0,state:null},o.set(t,r)),r):{type:"void",instance:null,count:0,state:null};case"link":if(o.rel==="stylesheet"&&typeof o.href=="string"&&typeof o.precedence=="string"){e=fd(o.href);var a=Yf(n).hoistableStyles,s=a.get(e);if(s||(n=n.ownerDocument||n,s={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},a.set(e,s),(a=n.querySelector(ug(e)))&&!a._p&&(s.instance=a,s.state.loading=5),ms.has(e)||(o={rel:"preload",as:"style",href:o.href,crossOrigin:o.crossOrigin,integrity:o.integrity,media:o.media,hrefLang:o.hrefLang,referrerPolicy:o.referrerPolicy},ms.set(e,o),a||jJ(n,e,o,s.state))),t&&r===null)throw Error(oe(528,""));return s}if(t&&r!==null)throw Error(oe(529,""));return null;case"script":return t=o.async,o=o.src,typeof o=="string"&&t&&typeof t!="function"&&typeof t!="symbol"?(t=xd(o),o=Yf(n).hoistableScripts,r=o.get(t),r||(r={type:"script",instance:null,count:0,state:null},o.set(t,r)),r):{type:"void",instance:null,count:0,state:null};default:throw Error(oe(444,e))}}function fd(e){return'href="'+ss(e)+'"'}function ug(e){return'link[rel="stylesheet"]['+e+"]"}function fR(e){return oo({},e,{"data-precedence":e.precedence,precedence:null})}function jJ(e,t,o,r){e.querySelector('link[rel="preload"][as="style"]['+t+"]")?r.loading=1:(t=e.createElement("link"),r.preload=t,t.addEventListener("load",function(){return r.loading|=1}),t.addEventListener("error",function(){return r.loading|=2}),bn(t,"link",o),on(t),e.head.appendChild(t))}function xd(e){return'[src="'+ss(e)+'"]'}function mg(e){return"script[async]"+e}function AE(e,t,o){if(t.count++,t.instance===null)switch(t.type){case"style":var r=e.querySelector('style[data-href~="'+ss(o.href)+'"]');if(r)return t.instance=r,on(r),r;var n=oo({},o,{"data-href":o.href,"data-precedence":o.precedence,href:null,precedence:null});return r=(e.ownerDocument||e).createElement("style"),on(r),bn(r,"style",n),Vb(r,o.precedence,e),t.instance=r;case"stylesheet":n=fd(o.href);var a=e.querySelector(ug(n));if(a)return t.state.loading|=4,t.instance=a,on(a),a;r=fR(o),(n=ms.get(n))&&Xw(r,n),a=(e.ownerDocument||e).createElement("link"),on(a);var s=a;return s._p=new Promise(function(i,l){s.onload=i,s.onerror=l}),bn(a,"link",r),t.state.loading|=4,Vb(a,o.precedence,e),t.instance=a;case"script":return a=xd(o.src),(n=e.querySelector(mg(a)))?(t.instance=n,on(n),n):(r=o,(n=ms.get(a))&&(r=oo({},o),Yw(r,n)),e=e.ownerDocument||e,n=e.createElement("script"),on(n),bn(n,"link",r),e.head.appendChild(n),t.instance=n);case"void":return null;default:throw Error(oe(443,t.type))}else t.type==="stylesheet"&&(t.state.loading&4)===0&&(r=t.instance,t.state.loading|=4,Vb(r,o.precedence,e));return t.instance}function Vb(e,t,o){for(var r=o.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),n=r.length?r[r.length-1]:null,a=n,s=0;s<r.length;s++){var i=r[s];if(i.dataset.precedence===t)a=i;else if(a!==n)break}a?a.parentNode.insertBefore(e,a.nextSibling):(t=o.nodeType===9?o.head:o,t.insertBefore(e,t.firstChild))}function Xw(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.title==null&&(e.title=t.title)}function Yw(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.integrity==null&&(e.integrity=t.integrity)}var Nb=null;function kE(e,t,o){if(Nb===null){var r=new Map,n=Nb=new Map;n.set(o,r)}else n=Nb,r=n.get(o),r||(r=new Map,n.set(o,r));if(r.has(e))return r;for(r.set(e,null),o=o.getElementsByTagName(e),n=0;n<o.length;n++){var a=o[n];if(!(a[ng]||a[pn]||e==="link"&&a.getAttribute("rel")==="stylesheet")&&a.namespaceURI!=="http://www.w3.org/2000/svg"){var s=a.getAttribute(t)||"";s=e+s;var i=r.get(s);i?i.push(a):r.set(s,[a])}}return r}function ME(e,t,o){e=e.ownerDocument||e,e.head.insertBefore(o,t==="title"?e.querySelector("head > title"):null)}function GJ(e,t,o){if(o===1||t.itemProp!=null)return!1;switch(e){case"meta":case"title":return!0;case"style":if(typeof t.precedence!="string"||typeof t.href!="string"||t.href==="")break;return!0;case"link":if(typeof t.rel!="string"||typeof t.href!="string"||t.href===""||t.onLoad||t.onError)break;switch(t.rel){case"stylesheet":return e=t.disabled,typeof t.precedence=="string"&&e==null;default:return!0}case"script":if(t.async&&typeof t.async!="function"&&typeof t.async!="symbol"&&!t.onLoad&&!t.onError&&t.src&&typeof t.src=="string")return!0}return!1}function dR(e){return!(e.type==="stylesheet"&&(e.state.loading&3)===0)}function $J(e,t,o,r){if(o.type==="stylesheet"&&(typeof r.media!="string"||matchMedia(r.media).matches!==!1)&&(o.state.loading&4)===0){if(o.instance===null){var n=fd(r.href),a=t.querySelector(ug(n));if(a){t=a._p,t!==null&&typeof t=="object"&&typeof t.then=="function"&&(e.count++,e=py.bind(e),t.then(e,e)),o.state.loading|=4,o.instance=a,on(a);return}a=t.ownerDocument||t,r=fR(r),(n=ms.get(n))&&Xw(r,n),a=a.createElement("link"),on(a);var s=a;s._p=new Promise(function(i,l){s.onload=i,s.onerror=l}),bn(a,"link",r),o.instance=a}e.stylesheets===null&&(e.stylesheets=new Map),e.stylesheets.set(o,t),(t=o.state.preload)&&(o.state.loading&3)===0&&(e.count++,o=py.bind(e),t.addEventListener("load",o),t.addEventListener("error",o))}}var cC=0;function qJ(e,t){return e.stylesheets&&e.count===0&&zb(e,e.stylesheets),0<e.count||0<e.imgCount?function(o){var r=setTimeout(function(){if(e.stylesheets&&zb(e,e.stylesheets),e.unsuspend){var a=e.unsuspend;e.unsuspend=null,a()}},6e4+t);0<e.imgBytes&&cC===0&&(cC=62500*MJ());var n=setTimeout(function(){if(e.waitingForImages=!1,e.count===0&&(e.stylesheets&&zb(e,e.stylesheets),e.unsuspend)){var a=e.unsuspend;e.unsuspend=null,a()}},(e.imgBytes>cC?50:800)+t);return e.unsuspend=o,function(){e.unsuspend=null,clearTimeout(r),clearTimeout(n)}}:null}function py(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)zb(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}var hy=null;function zb(e,t){e.stylesheets=null,e.unsuspend!==null&&(e.count++,hy=new Map,t.forEach(XJ,e),hy=null,py.call(e))}function XJ(e,t){if(!(t.state.loading&4)){var o=hy.get(e);if(o)var r=o.get(null);else{o=new Map,hy.set(e,o);for(var n=e.querySelectorAll("link[data-precedence],style[data-precedence]"),a=0;a<n.length;a++){var s=n[a];(s.nodeName==="LINK"||s.getAttribute("media")!=="not all")&&(o.set(s.dataset.precedence,s),r=s)}r&&o.set(null,r)}n=t.instance,s=n.getAttribute("data-precedence"),a=o.get(s)||r,a===r&&o.set(null,n),o.set(s,n),this.count++,r=py.bind(this),n.addEventListener("load",r),n.addEventListener("error",r),a?a.parentNode.insertBefore(n,a.nextSibling):(e=e.nodeType===9?e.head:e,e.insertBefore(n,e.firstChild)),t.state.loading|=4}}var Kh={$$typeof:tl,Provider:null,Consumer:null,_currentValue:Uu,_currentValue2:Uu,_threadCount:0};function YJ(e,t,o,r,n,a,s,i,l){this.tag=1,this.containerInfo=e,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=_v(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=_v(0),this.hiddenUpdates=_v(null),this.identifierPrefix=r,this.onUncaughtError=n,this.onCaughtError=a,this.onRecoverableError=s,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=l,this.incompleteTransitions=new Map}function pR(e,t,o,r,n,a,s,i,l,c,u,m){return e=new YJ(e,t,o,s,l,c,u,m,i),t=1,a===!0&&(t|=24),a=ka(3,null,null,t),e.current=a,a.stateNode=e,t=vw(),t.refCount++,e.pooledCache=t,t.refCount++,a.memoizedState={element:r,isDehydrated:o,cache:t},Tw(a),e}function hR(e){return e?(e=Gf,e):Gf}function gR(e,t,o,r,n,a){n=hR(n),r.context===null?r.context=n:r.pendingContext=n,r=wc(t),r.payload={element:o},a=a===void 0?null:a,a!==null&&(r.callback=a),o=Tc(e,r,t),o!==null&&(oa(o,e,t),Eh(o,e,t))}function LE(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var o=e.retryLane;e.retryLane=o!==0&&o<t?o:t}}function Kw(e,t){LE(e,t),(e=e.alternate)&&LE(e,t)}function bR(e){if(e.tag===13||e.tag===31){var t=om(e,67108864);t!==null&&oa(t,e,67108864),Kw(e,67108864)}}function PE(e){if(e.tag===13||e.tag===31){var t=Ba();t=lw(t);var o=om(e,t);o!==null&&oa(o,e,t),Kw(e,t)}}var gy=!0;function KJ(e,t,o,r){var n=He.T;He.T=null;var a=Pt.p;try{Pt.p=2,Qw(e,t,o,r)}finally{Pt.p=a,He.T=n}}function QJ(e,t,o,r){var n=He.T;He.T=null;var a=Pt.p;try{Pt.p=8,Qw(e,t,o,r)}finally{Pt.p=a,He.T=n}}function Qw(e,t,o,r){if(gy){var n=rw(r);if(n===null)iC(e,t,r,by,o),EE(e,r);else if(eee(n,e,t,o,r))r.stopPropagation();else if(EE(e,r),t&4&&-1<JJ.indexOf(e)){for(;n!==null;){var a=hd(n);if(a!==null)switch(a.tag){case 3:if(a=a.stateNode,a.current.memoizedState.isDehydrated){var s=Nu(a.pendingLanes);if(s!==0){var i=a;for(i.pendingLanes|=2,i.entangledLanes|=2;s;){var l=1<<31-Ea(s);i.entanglements[1]|=l,s&=~l}gi(a),(Lt&6)===0&&(sy=La()+500,cg(0,!1))}}break;case 31:case 13:i=om(a,2),i!==null&&oa(i,a,2),Py(),Kw(a,2)}if(a=rw(r),a===null&&iC(e,t,r,by,o),a===n)break;n=a}n!==null&&r.stopPropagation()}else iC(e,t,r,null,o)}}function rw(e){return e=fw(e),Jw(e)}var by=null;function Jw(e){if(by=null,e=Nf(e),e!==null){var t=eg(e);if(t===null)e=null;else{var o=t.tag;if(o===13){if(e=HE(t),e!==null)return e;e=null}else if(o===31){if(e=OE(t),e!==null)return e;e=null}else if(o===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null)}}return by=e,null}function yR(e){switch(e){case"beforetoggle":case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 2;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(NK()){case WE:return 2;case UE:return 8;case Gb:case zK:return 32;case ZE:return 268435456;default:return 32}default:return 32}}var nw=!1,Mc=null,Lc=null,Pc=null,Qh=new Map,Jh=new Map,gc=[],JJ="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset".split(" ");function EE(e,t){switch(e){case"focusin":case"focusout":Mc=null;break;case"dragenter":case"dragleave":Lc=null;break;case"mouseover":case"mouseout":Pc=null;break;case"pointerover":case"pointerout":Qh.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Jh.delete(t.pointerId)}}function xh(e,t,o,r,n,a){return e===null||e.nativeEvent!==a?(e={blockedOn:t,domEventName:o,eventSystemFlags:r,nativeEvent:a,targetContainers:[n]},t!==null&&(t=hd(t),t!==null&&bR(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,n!==null&&t.indexOf(n)===-1&&t.push(n),e)}function eee(e,t,o,r,n){switch(t){case"focusin":return Mc=xh(Mc,e,t,o,r,n),!0;case"dragenter":return Lc=xh(Lc,e,t,o,r,n),!0;case"mouseover":return Pc=xh(Pc,e,t,o,r,n),!0;case"pointerover":var a=n.pointerId;return Qh.set(a,xh(Qh.get(a)||null,e,t,o,r,n)),!0;case"gotpointercapture":return a=n.pointerId,Jh.set(a,xh(Jh.get(a)||null,e,t,o,r,n)),!0}return!1}function SR(e){var t=Nf(e.target);if(t!==null){var o=eg(t);if(o!==null){if(t=o.tag,t===13){if(t=HE(o),t!==null){e.blockedOn=t,p7(e.priority,function(){PE(o)});return}}else if(t===31){if(t=OE(o),t!==null){e.blockedOn=t,p7(e.priority,function(){PE(o)});return}}else if(t===3&&o.stateNode.current.memoizedState.isDehydrated){e.blockedOn=o.tag===3?o.stateNode.containerInfo:null;return}}}e.blockedOn=null}function Wb(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var o=rw(e.nativeEvent);if(o===null){o=e.nativeEvent;var r=new o.constructor(o.type,o);vC=r,o.target.dispatchEvent(r),vC=null}else return t=hd(o),t!==null&&bR(t),e.blockedOn=o,!1;t.shift()}return!0}function BE(e,t,o){Wb(e)&&o.delete(t)}function tee(){nw=!1,Mc!==null&&Wb(Mc)&&(Mc=null),Lc!==null&&Wb(Lc)&&(Lc=null),Pc!==null&&Wb(Pc)&&(Pc=null),Qh.forEach(BE),Jh.forEach(BE)}function Ab(e,t){e.blockedOn===t&&(e.blockedOn=null,nw||(nw=!0,Ur.unstable_scheduleCallback(Ur.unstable_NormalPriority,tee)))}var kb=null;function DE(e){kb!==e&&(kb=e,Ur.unstable_scheduleCallback(Ur.unstable_NormalPriority,function(){kb===e&&(kb=null);for(var t=0;t<e.length;t+=3){var o=e[t],r=e[t+1],n=e[t+2];if(typeof r!="function"){if(Jw(r||o)===null)continue;break}var a=hd(o);a!==null&&(e.splice(t,3),t-=3,OC(a,{pending:!0,data:n,method:o.method,action:r},r,n))}}))}function dd(e){function t(l){return Ab(l,e)}Mc!==null&&Ab(Mc,e),Lc!==null&&Ab(Lc,e),Pc!==null&&Ab(Pc,e),Qh.forEach(t),Jh.forEach(t);for(var o=0;o<gc.length;o++){var r=gc[o];r.blockedOn===e&&(r.blockedOn=null)}for(;0<gc.length&&(o=gc[0],o.blockedOn===null);)SR(o),o.blockedOn===null&&gc.shift();if(o=(e.ownerDocument||e).$$reactFormReplay,o!=null)for(r=0;r<o.length;r+=3){var n=o[r],a=o[r+1],s=n[ra]||null;if(typeof a=="function")s||DE(o);else if(s){var i=null;if(a&&a.hasAttribute("formAction")){if(n=a,s=a[ra]||null)i=s.formAction;else if(Jw(n)!==null)continue}else i=s.action;typeof i=="function"?o[r+1]=i:(o.splice(r,3),r-=3),DE(o)}}}function xR(){function e(a){a.canIntercept&&a.info==="react-transition"&&a.intercept({handler:function(){return new Promise(function(s){return n=s})},focusReset:"manual",scroll:"manual"})}function t(){n!==null&&(n(),n=null),r||setTimeout(o,20)}function o(){if(!r&&!navigation.transition){var a=navigation.currentEntry;a&&a.url!=null&&navigation.navigate(a.url,{state:a.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var r=!1,n=null;return navigation.addEventListener("navigate",e),navigation.addEventListener("navigatesuccess",t),navigation.addEventListener("navigateerror",t),setTimeout(o,100),function(){r=!0,navigation.removeEventListener("navigate",e),navigation.removeEventListener("navigatesuccess",t),navigation.removeEventListener("navigateerror",t),n!==null&&(n(),n=null)}}}function e3(e){this._internalRoot=e}Dy.prototype.render=e3.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(oe(409));var o=t.current,r=Ba();gR(o,r,e,t,null,null)};Dy.prototype.unmount=e3.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;gR(e.current,2,null,e,null,null),Py(),t[pd]=null}};function Dy(e){this._internalRoot=e}Dy.prototype.unstable_scheduleHydration=function(e){if(e){var t=XE();e={blockedOn:null,target:e,priority:t};for(var o=0;o<gc.length&&t!==0&&t<gc[o].priority;o++);gc.splice(o,0,e),o===0&&SR(e)}};var RE=_E.version;if(RE!=="19.2.8")throw Error(oe(527,RE,"19.2.8"));Pt.findDOMNode=function(e){var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(oe(188)):(e=Object.keys(e).join(","),Error(oe(268,e)));return e=DK(t),e=e!==null?VE(e):null,e=e===null?null:e.stateNode,e};var oee={bundleType:0,version:"19.2.8",rendererPackageName:"react-dom",currentDispatcherRef:He,reconcilerVersion:"19.2.8"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&(Ih=__REACT_DEVTOOLS_GLOBAL_HOOK__,!Ih.isDisabled&&Ih.supportsFiber))try{tg=Ih.inject(oee),Pa=Ih}catch{}var Ih;Ry.createRoot=function(e,t){if(!FE(e))throw Error(oe(299));var o=!1,r="",n=mD,a=fD,s=dD;return t!=null&&(t.unstable_strictMode===!0&&(o=!0),t.identifierPrefix!==void 0&&(r=t.identifierPrefix),t.onUncaughtError!==void 0&&(n=t.onUncaughtError),t.onCaughtError!==void 0&&(a=t.onCaughtError),t.onRecoverableError!==void 0&&(s=t.onRecoverableError)),t=pR(e,1,!1,null,null,o,r,null,n,a,s,xR),e[pd]=t.current,qw(e),new e3(t)};Ry.hydrateRoot=function(e,t,o){if(!FE(e))throw Error(oe(299));var r=!1,n="",a=mD,s=fD,i=dD,l=null;return o!=null&&(o.unstable_strictMode===!0&&(r=!0),o.identifierPrefix!==void 0&&(n=o.identifierPrefix),o.onUncaughtError!==void 0&&(a=o.onUncaughtError),o.onCaughtError!==void 0&&(s=o.onCaughtError),o.onRecoverableError!==void 0&&(i=o.onRecoverableError),o.formState!==void 0&&(l=o.formState)),t=pR(e,1,!0,t,o??null,r,n,l,a,s,i,xR),t.context=hR(null),o=t.current,r=Ba(),r=lw(r),n=wc(r),n.callback=null,Tc(o,n,r),o=r,t.current.lanes=o,rg(t,o),gi(t),e[pd]=t.current,qw(e),new Dy(t)};Ry.version="19.2.8"});var wR=_n((Ebe,CR)=>{"use strict";function vR(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(vR)}catch(e){console.error(e)}}vR(),CR.exports=IR()});var n_=_n((bg,vd)=>{var gee=200,VR="__lodash_hash_undefined__",bee=800,yee=16,NR=9007199254740991,zR="[object Arguments]",See="[object Array]",xee="[object AsyncFunction]",Iee="[object Boolean]",vee="[object Date]",Cee="[object Error]",WR="[object Function]",wee="[object GeneratorFunction]",Tee="[object Map]",Aee="[object Number]",kee="[object Null]",UR="[object Object]",Mee="[object Proxy]",Lee="[object RegExp]",Pee="[object Set]",Eee="[object String]",Bee="[object Undefined]",Dee="[object WeakMap]",Ree="[object ArrayBuffer]",_ee="[object DataView]",Fee="[object Float32Array]",Hee="[object Float64Array]",Oee="[object Int8Array]",Vee="[object Int16Array]",Nee="[object Int32Array]",zee="[object Uint8Array]",Wee="[object Uint8ClampedArray]",Uee="[object Uint16Array]",Zee="[object Uint32Array]",jee=/[\\^$.*+?()[\]{}|]/g,Gee=/^\[object .+?Constructor\]$/,$ee=/^(?:0|[1-9]\d*)$/,ro={};ro[Fee]=ro[Hee]=ro[Oee]=ro[Vee]=ro[Nee]=ro[zee]=ro[Wee]=ro[Uee]=ro[Zee]=!0;ro[zR]=ro[See]=ro[Ree]=ro[Iee]=ro[_ee]=ro[vee]=ro[Cee]=ro[WR]=ro[Tee]=ro[Aee]=ro[UR]=ro[Lee]=ro[Pee]=ro[Eee]=ro[Dee]=!1;var ZR=typeof global=="object"&&global&&global.Object===Object&&global,qee=typeof self=="object"&&self&&self.Object===Object&&self,xg=ZR||qee||Function("return this")(),jR=typeof bg=="object"&&bg&&!bg.nodeType&&bg,yg=jR&&typeof vd=="object"&&vd&&!vd.nodeType&&vd,GR=yg&&yg.exports===jR,f3=GR&&ZR.process,PR=(function(){try{var e=yg&&yg.require&&yg.require("util").types;return e||f3&&f3.binding&&f3.binding("util")}catch{}})(),ER=PR&&PR.isTypedArray;function Xee(e,t,o){switch(o.length){case 0:return e.call(t);case 1:return e.call(t,o[0]);case 2:return e.call(t,o[0],o[1]);case 3:return e.call(t,o[0],o[1],o[2])}return e.apply(t,o)}function Yee(e,t){for(var o=-1,r=Array(e);++o<e;)r[o]=t(o);return r}function Kee(e){return function(t){return e(t)}}function Qee(e,t){return e?.[t]}function Jee(e,t){return function(o){return e(t(o))}}var ete=Array.prototype,tte=Function.prototype,Uy=Object.prototype,d3=xg["__core-js_shared__"],Zy=tte.toString,hl=Uy.hasOwnProperty,BR=(function(){var e=/[^.]+$/.exec(d3&&d3.keys&&d3.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""})(),$R=Uy.toString,ote=Zy.call(Object),rte=RegExp("^"+Zy.call(hl).replace(jee,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),zy=GR?xg.Buffer:void 0,DR=xg.Symbol,RR=xg.Uint8Array,_R=zy?zy.allocUnsafe:void 0,qR=Jee(Object.getPrototypeOf,Object),FR=Object.create,nte=Uy.propertyIsEnumerable,ate=ete.splice,im=DR?DR.toStringTag:void 0,Wy=(function(){try{var e=S3(Object,"defineProperty");return e({},"",{}),e}catch{}})(),ste=zy?zy.isBuffer:void 0,HR=Math.max,ite=Date.now,XR=S3(xg,"Map"),Sg=S3(Object,"create"),lte=(function(){function e(){}return function(t){if(!cm(t))return{};if(FR)return FR(t);e.prototype=t;var o=new e;return e.prototype=void 0,o}})();function lm(e){var t=-1,o=e==null?0:e.length;for(this.clear();++t<o;){var r=e[t];this.set(r[0],r[1])}}function cte(){this.__data__=Sg?Sg(null):{},this.size=0}function ute(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}function mte(e){var t=this.__data__;if(Sg){var o=t[e];return o===VR?void 0:o}return hl.call(t,e)?t[e]:void 0}function fte(e){var t=this.__data__;return Sg?t[e]!==void 0:hl.call(t,e)}function dte(e,t){var o=this.__data__;return this.size+=this.has(e)?0:1,o[e]=Sg&&t===void 0?VR:t,this}lm.prototype.clear=cte;lm.prototype.delete=ute;lm.prototype.get=mte;lm.prototype.has=fte;lm.prototype.set=dte;function gl(e){var t=-1,o=e==null?0:e.length;for(this.clear();++t<o;){var r=e[t];this.set(r[0],r[1])}}function pte(){this.__data__=[],this.size=0}function hte(e){var t=this.__data__,o=jy(t,e);if(o<0)return!1;var r=t.length-1;return o==r?t.pop():ate.call(t,o,1),--this.size,!0}function gte(e){var t=this.__data__,o=jy(t,e);return o<0?void 0:t[o][1]}function bte(e){return jy(this.__data__,e)>-1}function yte(e,t){var o=this.__data__,r=jy(o,e);return r<0?(++this.size,o.push([e,t])):o[r][1]=t,this}gl.prototype.clear=pte;gl.prototype.delete=hte;gl.prototype.get=gte;gl.prototype.has=bte;gl.prototype.set=yte;function Cd(e){var t=-1,o=e==null?0:e.length;for(this.clear();++t<o;){var r=e[t];this.set(r[0],r[1])}}function Ste(){this.size=0,this.__data__={hash:new lm,map:new(XR||gl),string:new lm}}function xte(e){var t=$y(this,e).delete(e);return this.size-=t?1:0,t}function Ite(e){return $y(this,e).get(e)}function vte(e){return $y(this,e).has(e)}function Cte(e,t){var o=$y(this,e),r=o.size;return o.set(e,t),this.size+=o.size==r?0:1,this}Cd.prototype.clear=Ste;Cd.prototype.delete=xte;Cd.prototype.get=Ite;Cd.prototype.has=vte;Cd.prototype.set=Cte;function wd(e){var t=this.__data__=new gl(e);this.size=t.size}function wte(){this.__data__=new gl,this.size=0}function Tte(e){var t=this.__data__,o=t.delete(e);return this.size=t.size,o}function Ate(e){return this.__data__.get(e)}function kte(e){return this.__data__.has(e)}function Mte(e,t){var o=this.__data__;if(o instanceof gl){var r=o.__data__;if(!XR||r.length<gee-1)return r.push([e,t]),this.size=++o.size,this;o=this.__data__=new Cd(r)}return o.set(e,t),this.size=o.size,this}wd.prototype.clear=wte;wd.prototype.delete=Tte;wd.prototype.get=Ate;wd.prototype.has=kte;wd.prototype.set=Mte;function Lte(e,t){var o=b3(e),r=!o&&g3(e),n=!o&&!r&&JR(e),a=!o&&!r&&!n&&t_(e),s=o||r||n||a,i=s?Yee(e.length,String):[],l=i.length;for(var c in e)(t||hl.call(e,c))&&!(s&&(c=="length"||n&&(c=="offset"||c=="parent")||a&&(c=="buffer"||c=="byteLength"||c=="byteOffset")||KR(c,l)))&&i.push(c);return i}function p3(e,t,o){(o!==void 0&&!qy(e[t],o)||o===void 0&&!(t in e))&&y3(e,t,o)}function Pte(e,t,o){var r=e[t];(!(hl.call(e,t)&&qy(r,o))||o===void 0&&!(t in e))&&y3(e,t,o)}function jy(e,t){for(var o=e.length;o--;)if(qy(e[o][0],t))return o;return-1}function y3(e,t,o){t=="__proto__"&&Wy?Wy(e,t,{configurable:!0,enumerable:!0,value:o,writable:!0}):e[t]=o}var Ete=Zte();function Gy(e){return e==null?e===void 0?Bee:kee:im&&im in Object(e)?jte(e):Kte(e)}function OR(e){return Ig(e)&&Gy(e)==zR}function Bte(e){if(!cm(e)||Xte(e))return!1;var t=I3(e)?rte:Gee;return t.test(toe(e))}function Dte(e){return Ig(e)&&e_(e.length)&&!!ro[Gy(e)]}function Rte(e){if(!cm(e))return Yte(e);var t=QR(e),o=[];for(var r in e)r=="constructor"&&(t||!hl.call(e,r))||o.push(r);return o}function YR(e,t,o,r,n){e!==t&&Ete(t,function(a,s){if(n||(n=new wd),cm(a))_te(e,t,s,o,YR,r,n);else{var i=r?r(h3(e,s),a,s+"",e,t,n):void 0;i===void 0&&(i=a),p3(e,s,i)}},o_)}function _te(e,t,o,r,n,a,s){var i=h3(e,o),l=h3(t,o),c=s.get(l);if(c){p3(e,o,c);return}var u=a?a(i,l,o+"",e,t,s):void 0,m=u===void 0;if(m){var f=b3(l),d=!f&&JR(l),p=!f&&!d&&t_(l);u=l,f||d||p?b3(i)?u=i:ooe(i)?u=zte(i):d?(m=!1,u=Ote(l,!0)):p?(m=!1,u=Nte(l,!0)):u=[]:roe(l)||g3(l)?(u=i,g3(i)?u=noe(i):(!cm(i)||I3(i))&&(u=Gte(l))):m=!1}m&&(s.set(l,u),n(u,l,r,a,s),s.delete(l)),p3(e,o,u)}function Fte(e,t){return Jte(Qte(e,t,r_),e+"")}var Hte=Wy?function(e,t){return Wy(e,"toString",{configurable:!0,enumerable:!1,value:soe(t),writable:!0})}:r_;function Ote(e,t){if(t)return e.slice();var o=e.length,r=_R?_R(o):new e.constructor(o);return e.copy(r),r}function Vte(e){var t=new e.constructor(e.byteLength);return new RR(t).set(new RR(e)),t}function Nte(e,t){var o=t?Vte(e.buffer):e.buffer;return new e.constructor(o,e.byteOffset,e.length)}function zte(e,t){var o=-1,r=e.length;for(t||(t=Array(r));++o<r;)t[o]=e[o];return t}function Wte(e,t,o,r){var n=!o;o||(o={});for(var a=-1,s=t.length;++a<s;){var i=t[a],l=r?r(o[i],e[i],i,o,e):void 0;l===void 0&&(l=e[i]),n?y3(o,i,l):Pte(o,i,l)}return o}function Ute(e){return Fte(function(t,o){var r=-1,n=o.length,a=n>1?o[n-1]:void 0,s=n>2?o[2]:void 0;for(a=e.length>3&&typeof a=="function"?(n--,a):void 0,s&&$te(o[0],o[1],s)&&(a=n<3?void 0:a,n=1),t=Object(t);++r<n;){var i=o[r];i&&e(t,i,r,a)}return t})}function Zte(e){return function(t,o,r){for(var n=-1,a=Object(t),s=r(t),i=s.length;i--;){var l=s[e?i:++n];if(o(a[l],l,a)===!1)break}return t}}function $y(e,t){var o=e.__data__;return qte(t)?o[typeof t=="string"?"string":"hash"]:o.map}function S3(e,t){var o=Qee(e,t);return Bte(o)?o:void 0}function jte(e){var t=hl.call(e,im),o=e[im];try{e[im]=void 0;var r=!0}catch{}var n=$R.call(e);return r&&(t?e[im]=o:delete e[im]),n}function Gte(e){return typeof e.constructor=="function"&&!QR(e)?lte(qR(e)):{}}function KR(e,t){var o=typeof e;return t=t??NR,!!t&&(o=="number"||o!="symbol"&&$ee.test(e))&&e>-1&&e%1==0&&e<t}function $te(e,t,o){if(!cm(o))return!1;var r=typeof t;return(r=="number"?x3(o)&&KR(t,o.length):r=="string"&&t in o)?qy(o[t],e):!1}function qte(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}function Xte(e){return!!BR&&BR in e}function QR(e){var t=e&&e.constructor,o=typeof t=="function"&&t.prototype||Uy;return e===o}function Yte(e){var t=[];if(e!=null)for(var o in Object(e))t.push(o);return t}function Kte(e){return $R.call(e)}function Qte(e,t,o){return t=HR(t===void 0?e.length-1:t,0),function(){for(var r=arguments,n=-1,a=HR(r.length-t,0),s=Array(a);++n<a;)s[n]=r[t+n];n=-1;for(var i=Array(t+1);++n<t;)i[n]=r[n];return i[t]=o(s),Xee(e,this,i)}}function h3(e,t){if(!(t==="constructor"&&typeof e[t]=="function")&&t!="__proto__")return e[t]}var Jte=eoe(Hte);function eoe(e){var t=0,o=0;return function(){var r=ite(),n=yee-(r-o);if(o=r,n>0){if(++t>=bee)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}function toe(e){if(e!=null){try{return Zy.call(e)}catch{}try{return e+""}catch{}}return""}function qy(e,t){return e===t||e!==e&&t!==t}var g3=OR((function(){return arguments})())?OR:function(e){return Ig(e)&&hl.call(e,"callee")&&!nte.call(e,"callee")},b3=Array.isArray;function x3(e){return e!=null&&e_(e.length)&&!I3(e)}function ooe(e){return Ig(e)&&x3(e)}var JR=ste||ioe;function I3(e){if(!cm(e))return!1;var t=Gy(e);return t==WR||t==wee||t==xee||t==Mee}function e_(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=NR}function cm(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}function Ig(e){return e!=null&&typeof e=="object"}function roe(e){if(!Ig(e)||Gy(e)!=UR)return!1;var t=qR(e);if(t===null)return!0;var o=hl.call(t,"constructor")&&t.constructor;return typeof o=="function"&&o instanceof o&&Zy.call(o)==ote}var t_=ER?Kee(ER):Dte;function noe(e){return Wte(e,o_(e))}function o_(e){return x3(e)?Lte(e,!0):Rte(e)}var aoe=Ute(function(e,t,o,r){YR(e,t,o,r)});function soe(e){return function(){return e}}function r_(e){return e}function ioe(){return!1}vd.exports=aoe});var SH=_n(AS=>{"use strict";/**
|
|
822
|
+
* @license React
|
|
823
|
+
* react-jsx-runtime.production.js
|
|
824
|
+
*
|
|
825
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
826
|
+
*
|
|
827
|
+
* This source code is licensed under the MIT license found in the
|
|
828
|
+
* LICENSE file in the root directory of this source tree.
|
|
829
|
+
*/var pie=Symbol.for("react.transitional.element"),hie=Symbol.for("react.fragment");function yH(e,t,o){var r=null;if(o!==void 0&&(r=""+o),t.key!==void 0&&(r=""+t.key),"key"in t){o={};for(var n in t)n!=="key"&&(o[n]=t[n])}else o=t;return t=o.ref,{$$typeof:pie,type:e,key:r,ref:t!==void 0?t:null,props:o}}AS.Fragment=hie;AS.jsx=yH;AS.jsxs=yH});var re=_n((xCe,xH)=>{"use strict";xH.exports=SH()});function RS(e){var t=Object.create(null);return function(o){return t[o]===void 0&&(t[o]=e(o)),t[o]}}var _S=pv(()=>{});var ZH=_n(Ht=>{"use strict";/** @license React v16.13.1
|
|
830
|
+
* react-is.production.min.js
|
|
831
|
+
*
|
|
832
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
833
|
+
*
|
|
834
|
+
* This source code is licensed under the MIT license found in the
|
|
835
|
+
* LICENSE file in the root directory of this source tree.
|
|
836
|
+
*/var nn=typeof Symbol=="function"&&Symbol.for,UT=nn?Symbol.for("react.element"):60103,ZT=nn?Symbol.for("react.portal"):60106,FS=nn?Symbol.for("react.fragment"):60107,HS=nn?Symbol.for("react.strict_mode"):60108,OS=nn?Symbol.for("react.profiler"):60114,VS=nn?Symbol.for("react.provider"):60109,NS=nn?Symbol.for("react.context"):60110,jT=nn?Symbol.for("react.async_mode"):60111,zS=nn?Symbol.for("react.concurrent_mode"):60111,WS=nn?Symbol.for("react.forward_ref"):60112,US=nn?Symbol.for("react.suspense"):60113,kie=nn?Symbol.for("react.suspense_list"):60120,ZS=nn?Symbol.for("react.memo"):60115,jS=nn?Symbol.for("react.lazy"):60116,Mie=nn?Symbol.for("react.block"):60121,Lie=nn?Symbol.for("react.fundamental"):60117,Pie=nn?Symbol.for("react.responder"):60118,Eie=nn?Symbol.for("react.scope"):60119;function Oa(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case UT:switch(e=e.type,e){case jT:case zS:case FS:case OS:case HS:case US:return e;default:switch(e=e&&e.$$typeof,e){case NS:case WS:case jS:case ZS:case VS:return e;default:return t}}case ZT:return t}}}function UH(e){return Oa(e)===zS}Ht.AsyncMode=jT;Ht.ConcurrentMode=zS;Ht.ContextConsumer=NS;Ht.ContextProvider=VS;Ht.Element=UT;Ht.ForwardRef=WS;Ht.Fragment=FS;Ht.Lazy=jS;Ht.Memo=ZS;Ht.Portal=ZT;Ht.Profiler=OS;Ht.StrictMode=HS;Ht.Suspense=US;Ht.isAsyncMode=function(e){return UH(e)||Oa(e)===jT};Ht.isConcurrentMode=UH;Ht.isContextConsumer=function(e){return Oa(e)===NS};Ht.isContextProvider=function(e){return Oa(e)===VS};Ht.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===UT};Ht.isForwardRef=function(e){return Oa(e)===WS};Ht.isFragment=function(e){return Oa(e)===FS};Ht.isLazy=function(e){return Oa(e)===jS};Ht.isMemo=function(e){return Oa(e)===ZS};Ht.isPortal=function(e){return Oa(e)===ZT};Ht.isProfiler=function(e){return Oa(e)===OS};Ht.isStrictMode=function(e){return Oa(e)===HS};Ht.isSuspense=function(e){return Oa(e)===US};Ht.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===FS||e===zS||e===OS||e===HS||e===US||e===kie||typeof e=="object"&&e!==null&&(e.$$typeof===jS||e.$$typeof===ZS||e.$$typeof===VS||e.$$typeof===NS||e.$$typeof===WS||e.$$typeof===Lie||e.$$typeof===Pie||e.$$typeof===Eie||e.$$typeof===Mie)};Ht.typeOf=Oa});var GH=_n((ZCe,jH)=>{"use strict";jH.exports=ZH()});var JH=_n((jCe,QH)=>{"use strict";var GT=GH(),Bie={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},Die={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},Rie={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},YH={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},$T={};$T[GT.ForwardRef]=Rie;$T[GT.Memo]=YH;function $H(e){return GT.isMemo(e)?YH:$T[e.$$typeof]||Bie}var _ie=Object.defineProperty,Fie=Object.getOwnPropertyNames,qH=Object.getOwnPropertySymbols,Hie=Object.getOwnPropertyDescriptor,Oie=Object.getPrototypeOf,XH=Object.prototype;function KH(e,t,o){if(typeof t!="string"){if(XH){var r=Oie(t);r&&r!==XH&&KH(e,r,o)}var n=Fie(t);qH&&(n=n.concat(qH(t)));for(var a=$H(e),s=$H(t),i=0;i<n.length;++i){var l=n[i];if(!Die[l]&&!(o&&o[l])&&!(s&&s[l])&&!(a&&a[l])){var c=Hie(t,l);try{_ie(e,l,c)}catch{}}}}return e}QH.exports=KH});var VO={};R9(VO,{default:()=>lA});var cle,lA,ax=pv(()=>{_S();cle=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|popover|popoverTarget|popoverTargetAction|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,lA=RS(function(e){return cle.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91})});var rW=_n((BHe,oW)=>{var Rue=typeof Element<"u",_ue=typeof Map=="function",Fue=typeof Set=="function",Hue=typeof ArrayBuffer=="function"&&!!ArrayBuffer.isView;function wI(e,t){if(e===t)return!0;if(e&&t&&typeof e=="object"&&typeof t=="object"){if(e.constructor!==t.constructor)return!1;var o,r,n;if(Array.isArray(e)){if(o=e.length,o!=t.length)return!1;for(r=o;r--!==0;)if(!wI(e[r],t[r]))return!1;return!0}var a;if(_ue&&e instanceof Map&&t instanceof Map){if(e.size!==t.size)return!1;for(a=e.entries();!(r=a.next()).done;)if(!t.has(r.value[0]))return!1;for(a=e.entries();!(r=a.next()).done;)if(!wI(r.value[1],t.get(r.value[0])))return!1;return!0}if(Fue&&e instanceof Set&&t instanceof Set){if(e.size!==t.size)return!1;for(a=e.entries();!(r=a.next()).done;)if(!t.has(r.value[0]))return!1;return!0}if(Hue&&ArrayBuffer.isView(e)&&ArrayBuffer.isView(t)){if(o=e.length,o!=t.length)return!1;for(r=o;r--!==0;)if(e[r]!==t[r])return!1;return!0}if(e.constructor===RegExp)return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf&&typeof e.valueOf=="function"&&typeof t.valueOf=="function")return e.valueOf()===t.valueOf();if(e.toString!==Object.prototype.toString&&typeof e.toString=="function"&&typeof t.toString=="function")return e.toString()===t.toString();if(n=Object.keys(e),o=n.length,o!==Object.keys(t).length)return!1;for(r=o;r--!==0;)if(!Object.prototype.hasOwnProperty.call(t,n[r]))return!1;if(Rue&&e instanceof Element)return!1;for(r=o;r--!==0;)if(!((n[r]==="_owner"||n[r]==="__v"||n[r]==="__o")&&e.$$typeof)&&!wI(e[n[r]],t[n[r]]))return!1;return!0}return e!==e&&t!==t}oW.exports=function(t,o){try{return wI(t,o)}catch(r){if((r.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw r}}});var qX={};R9(qX,{ClickScrollPlugin:()=>s1e,OverlayScrollbars:()=>Eu,ScrollbarsHidingPlugin:()=>a1e,SizeObserverPlugin:()=>r1e});function Ot(e,t){if($P(e))for(let o=0;o<e.length&&t(e[o],o,e)!==!1;o++);else e&&Ot(Object.keys(e),(o=>t(e[o],o,e)));return e}function oc(e,t){e&&t&&Ot(t,((o,r)=>{try{let n=e.style,a=V6(o)||N6(o)?"":ku(o)?wX(o):o;r.indexOf("--")===0?n.setProperty(r,a):n[r]=a}catch{}}))}function si(e,t,o){let r=q0(t),n=r?"":{};if(e){let a=xa.getComputedStyle(e,o)||e.style;n=r?Yq(a,t):Bu(t).reduce(((s,i)=>(s[i]=Yq(a,i),s)),n)}return n}var $a,Tge,xa,P6,Age,DP,Au,jq,H6,j0,jP,fX,O6,kge,Gq,N0,V2,GP,V6,ku,q0,N6,Ps,Ls,E6,$P,j2,B6,z6,$q,kP,dX,G0,So,Bu,qP,D6,R6,Xa,XP,N2,z2,W2,U2,Z2,z0,YP,KP,X0,$2,tc,ai,Pu,Mge,W6,QP,A6,Lge,Oe,xf,qq,pX,hX,qn,vt,gX,JP,vf,bX,If,e9,Xq,ec,Ni,U6,t9,o9,_6,r9,yX,SX,Z6,xX,Pge,RP,IX,_P,G2,W0,FP,Ege,$0,Xn,vX,Bge,Dge,Z0,n9,Yq,CX,w6,HP,wX,Kq,MP,Rge,_ge,j6,Fge,Mu,TX,F6,a9,LP,Hge,OP,AX,Qq,Gt,s9,VP,kX,Ms,qa,MX,Oge,PP,Jq,NP,eX,zP,LX,PX,Vge,EX,Y0,Nge,K0,k6,T6,EP,M6,tX,Lu,zge,zi,Wge,Uge,BX,DX,Zge,RX,jge,WP,oX,i9,Gge,l9,$ge,L6,rX,qge,Xge,Ya,Yge,Kge,Qge,_X,c9,Jge,e1e,nX,aX,UP,sX,iX,t1e,o1e,FX,r1e,HX,U0,n1e,ZP,OX,G6,a1e,VX,s1e,lX,cX,i1e,NX,zX,l1e,WX,uX,UX,c1e,u1e,BP,m1e,Wi,f1e,mX,Sf,ZX,d1e,p1e,jX,h1e,GX,g1e,b1e,y1e,S1e,x1e,I1e,v1e,C1e,w1e,T1e,u9,A1e,k1e,$X,Eu,XX=pv(()=>{/*!
|
|
837
|
+
* OverlayScrollbars
|
|
838
|
+
* Version: 2.14.0
|
|
839
|
+
*
|
|
840
|
+
* Copyright (c) Rene Haas | KingSora.
|
|
841
|
+
* https://github.com/KingSora
|
|
842
|
+
*
|
|
843
|
+
* Released under the MIT license.
|
|
844
|
+
*/$a=(e,t)=>{let{o,i:r,u:n}=e,a=o,s,i=(u,m)=>{let f=a,d=u,p=m||(r?!r(f,d):f!==d);return(p||n)&&(a=d,s=f),[a,p,s]};return[t?u=>i(t(a,s),u):i,u=>[a,!!u,s]]},Tge=typeof window<"u"&&typeof HTMLElement<"u"&&!!window.document,xa=Tge?window:{},P6=Math.max,Age=Math.min,DP=Math.round,Au=Math.abs,jq=Math.sign,H6=xa.cancelAnimationFrame,j0=xa.requestAnimationFrame,jP=xa.setTimeout,fX=xa.clearTimeout,O6=e=>typeof xa[e]<"u"?xa[e]:void 0,kge=O6("MutationObserver"),Gq=O6("IntersectionObserver"),N0=O6("ResizeObserver"),V2=O6("ScrollTimeline"),GP=e=>e===void 0,V6=e=>e===null,ku=e=>typeof e=="number",q0=e=>typeof e=="string",N6=e=>typeof e=="boolean",Ps=e=>typeof e=="function",Ls=e=>Array.isArray(e),E6=e=>typeof e=="object"&&!Ls(e)&&!V6(e),$P=e=>{let t=!!e&&e.length,o=ku(t)&&t>-1&&t%1==0;return Ls(e)||!Ps(e)&&o?t>0&&E6(e)?t-1 in e:!0:!1},j2=e=>!!e&&e.constructor===Object,B6=e=>e instanceof HTMLElement,z6=e=>e instanceof Element,$q=()=>performance.now(),kP=(e,t,o,r,n)=>{let a=0,s=$q(),i=P6(0,o),l=c=>{let u=$q(),f=u-s>=i,d=c?1:1-(P6(0,s+i-u)/i||0),p=(t-e)*(Ps(n)?n(d,d*i,0,1,i):d)+e,h=f||d===1;r&&r(p,d,h),a=h?0:j0((()=>l()))};return l(),c=>{H6(a),c&&l(c)}};dX=(e,t)=>e.indexOf(t)>=0,G0=(e,t)=>e.concat(t),So=(e,t,o)=>(!q0(t)&&$P(t)?Array.prototype.push.apply(e,t):e.push(t),e),Bu=e=>Array.from(e||[]),qP=e=>Ls(e)?e:!q0(e)&&$P(e)?Bu(e):[e],D6=e=>!!e&&!e.length,R6=e=>Bu(new Set(e)),Xa=(e,t,o)=>{Ot(e,n=>n?n.apply(void 0,t||[]):!0),o||(e.length=0)},XP="paddingTop",N2="paddingRight",z2="paddingLeft",W2="paddingBottom",U2="marginLeft",Z2="marginRight",z0="marginBottom",YP="overflowX",KP="overflowY",X0="width",$2="height",tc="visible",ai="hidden",Pu="scroll",Mge=e=>{let t=String(e||"");return t?t[0].toUpperCase()+t.slice(1):""},W6=(e,t,o,r)=>{if(e&&t){let n=!0;return Ot(o,(a=>{let s=e[a],i=t[a];s!==i&&(n=!1)})),n}return!1},QP=(e,t)=>W6(e,t,["w","h"]),A6=(e,t)=>W6(e,t,["x","y"]),Lge=(e,t)=>W6(e,t,["t","r","b","l"]),Oe=(e,...t)=>e.bind(0,...t),xf=e=>{let t,o=e?jP:j0,r=e?fX:H6;return[n=>{r(t),t=o((()=>n()),Ps(e)?e():e)},()=>r(t)]},qq=e=>{let t=Ps(e)?e():e;if(ku(t)){let o=t?jP:j0,r=t?fX:H6;return n=>{let a=o((()=>n()),t);return()=>{r(a)}}}return t&&t._},pX=(e,t)=>{let{p:o,v:r,S:n,m:a}=t||{},s,i,l,c,u=function(h){i&&i(),s&&s(),c=i=s=l=void 0,e.apply(this,h)},m=p=>a&&l?a(l,p):p,f=()=>{i&&l&&u(m(l)||l)},d=function(){let h=Bu(arguments),S=qq(o);if(S){let g=typeof n=="function"?n():n,b=qq(r),v=m(h)||h,C=u.bind(0,v);i&&i(),g&&!c?(C(),c=!0,i=S((()=>c=void 0))):(i=S(C),b&&!s&&(s=b(f))),l=v}else u(h)};return d.O=f,d},hX=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),qn=e=>e?Object.keys(e):[],vt=(e,t,o,r,n,a,s)=>{let i=[t,o,r,n,a,s];return(typeof e!="object"||V6(e))&&!Ps(e)&&(e={}),Ot(i,(l=>{Ot(l,((c,u)=>{let m=l[u];if(e===m)return!0;let f=Ls(m);if(m&&j2(m)){let d=e[u],p=d;f&&!Ls(d)?p=[]:!f&&!j2(d)&&(p={}),e[u]=vt(p,m)}else e[u]=f?m.slice():m}))})),e},gX=(e,t)=>Ot(vt({},e),((o,r,n)=>{o===void 0?delete n[r]:o&&j2(o)&&(n[r]=gX(o))})),JP=e=>!qn(e).length,vf=()=>{},bX=(e,t,o)=>P6(e,Age(t,o)),If=e=>R6((Ls(e)?e:(e||"").split(" ")).filter((t=>t))),e9=(e,t)=>e&&e.getAttribute(t),Xq=(e,t)=>e&&e.hasAttribute(t),ec=(e,t,o)=>{Ot(If(t),(r=>{e&&e.setAttribute(r,String(o||""))}))},Ni=(e,t)=>{Ot(If(t),(o=>e&&e.removeAttribute(o)))},U6=(e,t)=>{let o=If(e9(e,t)),r=Oe(ec,e,t),n=(a,s)=>{let i=new Set(o);return Ot(If(a),(l=>{i[s](l)})),Bu(i).join(" ")};return{C:a=>r(n(a,"delete")),$:a=>r(n(a,"add")),H:a=>{let s=If(a);return s.reduce(((i,l)=>i&&o.includes(l)),s.length>0)}}},t9=(e,t,o)=>(U6(e,t).C(o),Oe(o9,e,t,o)),o9=(e,t,o)=>(U6(e,t).$(o),Oe(t9,e,t,o)),_6=(e,t,o,r)=>(r?o9:t9)(e,t,o),r9=(e,t,o)=>U6(e,t).H(o),yX=e=>U6(e,"class"),SX=(e,t)=>{yX(e).C(t)},Z6=(e,t)=>(yX(e).$(t),Oe(SX,e,t)),xX=(e,t)=>{let o=t?z6(t)&&t:document;return o?Bu(o.querySelectorAll(e)):[]},Pge=(e,t)=>{let o=t?z6(t)&&t:document;return o&&o.querySelector(e)},RP=(e,t)=>z6(e)&&e.matches(t),IX=e=>RP(e,"body"),_P=e=>e?Bu(e.childNodes):[],G2=e=>e&&e.parentElement,W0=(e,t)=>z6(e)&&e.closest(t),FP=e=>document.activeElement,Ege=(e,t,o)=>{let r=W0(e,t),n=e&&Pge(o,r),a=W0(n,t)===r;return r&&n?r===e||n===e||a&&W0(W0(e,o),t)!==r:!1},$0=e=>{Ot(qP(e),(t=>{let o=G2(t);t&&o&&o.removeChild(t)}))},Xn=(e,t)=>Oe($0,e&&t&&Ot(qP(t),(o=>{o&&e.appendChild(o)}))),Bge=()=>vX,Dge=e=>{vX=e},Z0=e=>{let t=document.createElement("div");return ec(t,"class",e),t},n9=e=>{let t=Z0(),o=Bge(),r=e.trim();return t.innerHTML=o?o.createHTML(r):r,Ot(_P(t),(n=>$0(n)))},Yq=(e,t)=>e.getPropertyValue(t)||e[t]||"",CX=e=>{let t=e||0;return isFinite(t)?t:0},w6=e=>CX(parseFloat(e||"")),HP=e=>Math.round(e*1e4)/1e4,wX=e=>`${HP(CX(e))}px`;Kq=(e,t,o)=>{let r=t?`${t}-`:"",n=o?`-${o}`:"",a=`${r}top${n}`,s=`${r}right${n}`,i=`${r}bottom${n}`,l=`${r}left${n}`,c=si(e,[a,s,i,l]);return{t:w6(c[a]),r:w6(c[s]),b:w6(c[i]),l:w6(c[l])}},MP=(e,t)=>`translate${E6(e)?`(${e.x},${e.y})`:`${t?"X":"Y"}(${e})`}`,Rge=e=>!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length),_ge={w:0,h:0},j6=(e,t)=>t?{w:t[`${e}Width`],h:t[`${e}Height`]}:_ge,Fge=e=>j6("inner",e||xa),Mu=Oe(j6,"offset"),TX=Oe(j6,"client"),F6=Oe(j6,"scroll"),a9=e=>{let t=parseFloat(si(e,X0))||0,o=parseFloat(si(e,$2))||0;return{w:t-DP(t),h:o-DP(o)}},LP=e=>e.getBoundingClientRect(),Hge=e=>!!e&&Rge(e),OP=e=>!!(e&&(e[$2]||e[X0])),AX=(e,t)=>{let o=OP(e);return!OP(t)&&o},Qq=(e,t,o,r)=>{Ot(If(t),(n=>{e&&e.removeEventListener(n,o,r)}))},Gt=(e,t,o,r)=>{var n;let a=(n=r&&r.I)!=null?n:!0,s=r&&r.A||!1,i=r&&r.T||!1,l={passive:a,capture:s};return Oe(Xa,If(t).map((c=>{let u=i?m=>{Qq(e,c,u,s),o&&o(m)}:o;return e&&e.addEventListener(c,u,l),Oe(Qq,e,c,u,s)})))},s9=e=>e.stopPropagation(),VP=e=>e.preventDefault(),kX=e=>s9(e)||VP(e),Ms=(e,t)=>{let{x:o,y:r}=ku(t)?{x:t,y:t}:t||{};ku(o)&&(e.scrollLeft=o),ku(r)&&(e.scrollTop=r)},qa=e=>({x:e.scrollLeft,y:e.scrollTop}),MX=()=>({D:{x:0,y:0},M:{x:0,y:0}}),Oge=(e,t)=>{let{D:o,M:r}=e,{w:n,h:a}=t,s=(m,f,d)=>{let p=jq(m)*d,h=jq(f)*d;if(p===h){let S=Au(m),g=Au(f);h=S>g?0:h,p=S<g?0:p}return p=p===h?0:p,[p+0,h+0]},[i,l]=s(o.x,r.x,n),[c,u]=s(o.y,r.y,a);return{D:{x:i,y:c},M:{x:l,y:u}}},PP=({D:e,M:t})=>{let o=(r,n)=>r===0&&r<=n;return{x:o(e.x,t.x),y:o(e.y,t.y)}},Jq=({D:e,M:t},o)=>{let r=(n,a,s)=>bX(0,1,(n-s)/(n-a)||0);return{x:r(e.x,t.x,o.x),y:r(e.y,t.y,o.y)}},NP=e=>{e&&e.focus&&e.focus({preventScroll:!0,focusVisible:!1})},eX=(e,t)=>{Ot(qP(t),e)},zP=e=>{let t=new Map,o=(a,s)=>{if(a){let i=t.get(a);eX((l=>{i&&i[l?"delete":"clear"](l)}),s)}else t.forEach((i=>{i.clear()})),t.clear()},r=(a,s)=>{if(q0(a)){let c=t.get(a)||new Set;return t.set(a,c),eX((u=>{Ps(u)&&c.add(u)}),s),Oe(o,a,s)}N6(s)&&s&&o();let i=qn(a),l=[];return Ot(i,(c=>{let u=a[c];u&&So(l,r(c,u))})),Oe(Xa,l)},n=(a,s)=>{Ot(Bu(t.get(a)),(i=>{s&&!D6(s)?i.apply(0,s):i()}))};return r(e||{}),[r,o,n]},LX={},PX={},Vge=e=>{Ot(e,(t=>Ot(t,((o,r)=>{LX[r]=t[r]}))))},EX=(e,t,o)=>qn(e).map((r=>{let{static:n,instance:a}=e[r],[s,i,l]=o||[],c=o?a:n;if(c){let u=o?c(s,i,t):c(t);return(l||PX)[r]=u}})),Y0=e=>PX[e],Nge="__osOptionsValidationPlugin",K0="data-overlayscrollbars",k6="os-environment",T6=`${k6}-scrollbar-hidden`,EP=`${K0}-initialize`,M6="noClipping",tX=`${K0}-body`,Lu=K0,zge="host",zi=`${K0}-viewport`,Wge=YP,Uge=KP,BX="arrange",DX="measuring",Zge="scrolling",RX="scrollbarHidden",jge="noContent",WP=`${K0}-padding`,oX=`${K0}-content`,i9="os-size-observer",Gge=`${i9}-appear`,l9=`${i9}-listener`,$ge=`${l9}-scroll`,L6=`${l9}-item`,rX=`${L6}-final`,qge="os-trinsic-observer",Xge="os-theme-none",Ya="os-scrollbar",Yge=`${Ya}-rtl`,Kge=`${Ya}-horizontal`,Qge=`${Ya}-vertical`,_X=`${Ya}-track`,c9=`${Ya}-handle`,Jge=`${Ya}-visible`,e1e=`${Ya}-cornerless`,nX=`${Ya}-interaction`,aX=`${Ya}-unusable`,UP=`${Ya}-auto-hide`,sX=`${UP}-hidden`,iX=`${Ya}-wheel`,t1e=`${_X}-interactive`,o1e=`${c9}-interactive`,FX="__osSizeObserverPlugin",r1e={[FX]:{static:()=>(e,t,o)=>{let n="scroll",a=n9(`<div class="${L6}" dir="ltr"><div class="${L6}"><div class="${rX}"></div></div><div class="${L6}"><div class="${rX}" style="width: 200%; height: 200%"></div></div></div>`),s=a[0],i=s.lastChild,l=s.firstChild,c=l?.firstChild,u=Mu(s),m=u,f=!1,d,p=()=>{Ms(l,3333333),Ms(i,3333333)},h=b=>{d=0,f&&(u=m,t(b===!0))},S=b=>{m=Mu(s),f=!b||!QP(m,u),b?(s9(b),f&&!d&&(H6(d),d=j0(h))):h(b===!1),p()},g=[Xn(e,a),Gt(l,n,S),Gt(i,n,S)];return Z6(e,$ge),oc(c,{[X0]:3333333,[$2]:3333333}),j0(p),[o?Oe(S,!1):p,g]}}},HX=(e,t)=>{let{k:o}=t,[r,n]=e("showNativeOverlaidScrollbars");return[r&&o.x&&o.y,n]},U0=e=>e.indexOf(tc)===0,n1e=e=>e.replace(`${tc}-`,""),ZP=(e,t)=>{if(e==="auto")return t?Pu:ai;let o=e||ai;return[ai,Pu,tc].includes(o)?o:ai},OX=(e,t)=>{let{overflowX:o,overflowY:r}=si(e,[YP,KP]);return{x:ZP(o,t.x),y:ZP(r,t.y)}},G6="__osScrollbarsHidingPlugin",a1e={[G6]:{static:()=>({R:(e,t,o,r,n)=>{let{V:a,L:s}=e,{U:i,k:l,P:c}=r,u=!a&&!i&&(l.x||l.y),[m]=HX(n,r),f=S=>{let g=i||m?0:42,b=(w,E,B)=>[E&&!i?w?g:B:0,w&&!!g],[I,v]=b(l.x,S.x===Pu,c.x),[C,T]=b(l.y,S.y===Pu,c.y);return{N:{x:I,y:C},q:{x:v,y:T}}},d=S=>{if(!a){let{B:g}=o,b=vt({},{[Z2]:0,[z0]:0,[U2]:0}),{N:I,q:v}=f(S),{x:C,y:T}=v,{x:w,y:E}=I,{F:B}=t,L=g?U2:Z2,_=g?z2:N2,j=B[L],ne=B[z0],K=B[_],ie=B[W2];return b[X0]=`calc(100% + ${E+j*-1}px)`,b[L]=-E+j,b[z0]=-w+ne,u&&(b[_]=K+(T?E:0),b[W2]=ie+(C?w:0)),b}};return{X:(S,g,b)=>{if(u){let{F:I}=t,{N:v,q:C}=f(S),{x:T,y:w}=C,{x:E,y:B}=v,{B:L}=o,j=I[L?N2:z2],ne=I.paddingTop,K=g.w+b.w,ie=g.h+b.h,se={w:B&&w?`${B+K-j}px`:"",h:E&&T?`${E+ie-ne}px`:""};oc(s,{"--os-vaw":se.w,"--os-vah":se.h})}return u},Y:()=>{if(u){let{j:S,F:g}=t,b=OX(s,S),{q:I}=f(b),{x:v,y:C}=I,T={},w=L=>Ot(L,(_=>{T[_]=g[_]}));v&&w([z0,XP,W2]),C&&w([U2,Z2,z2,N2]);let E=si(s,qn(T)),B=t9(s,zi,BX);return oc(s,T),()=>{oc(s,vt({},E,d(b))),B()}}return vf},W:d}}})}},VX="__osClickScrollPlugin",s1e={[VX]:{static:()=>(e,t,o,r)=>{let n=!1,a=vf,s=133,i=222,[l,c]=xf(s),u=Math.sign(t),m=o*u,f=m/2,d=g=>1-(1-g)*(1-g),p=(g,b)=>kP(g,b,i,e,d),h=(g,b)=>kP(g,t-m,s*b,((I,v,C)=>{e(I),C&&(a=p(I,t))})),S=kP(0,m,i,((g,b,I)=>{if(e(g),I&&(r(n),!n)){let v=t-g;Math.sign(v-f)===u&&l((()=>{let T=v-m;a=Math.sign(T)===u?h(g,Math.abs(T)/o):p(g,t)}))}}),d);return g=>{n=!0,g&&S(),c(),a()}}}},lX=e=>JSON.stringify(e,((t,o)=>{if(Ps(o))throw 0;return o})),cX=(e,t)=>e?`${t}`.split(".").reduce(((o,r)=>o&&hX(o,r)?o[r]:void 0),e):void 0,i1e=[0,33],NX=[33,99],zX=[222,666,!0],l1e={paddingAbsolute:!1,showNativeOverlaidScrollbars:!1,update:{elementEvents:[["img","load"]],debounce:{mutation:i1e,resize:null,event:NX,env:zX},attributes:null,ignoreMutation:null,flowDirectionStyles:null},overflow:{x:"scroll",y:"scroll"},scrollbars:{theme:"os-theme-dark",visibility:"auto",autoHide:"never",autoHideDelay:1300,autoHideSuspend:!1,dragScroll:!0,clickScroll:!1,pointers:["mouse","touch","pen"]}},WX=(e,t)=>{let o={},r=G0(qn(t),qn(e));return Ot(r,(n=>{let a=e[n],s=t[n];if(E6(a)&&E6(s))vt(o[n]={},WX(a,s)),JP(o[n])&&delete o[n];else if(hX(t,n)&&s!==a){let i=!0;if(Ls(a)||Ls(s))try{lX(a)===lX(s)&&(i=!1)}catch{}i&&(o[n]=s)}})),o},uX=(e,t,o)=>r=>[cX(e,r),o||cX(t,r)!==void 0],c1e=()=>UX,u1e=e=>{UX=e},m1e=()=>{let e=(v,C,T)=>{Xn(document.body,v),Xn(document.body,v);let w=TX(v),E=Mu(v),B=a9(C);return T&&$0(v),{x:E.h-w.h+B.h,y:E.w-w.w+B.w}},t=v=>{let C=!1,T=Z6(v,T6);try{C=si(v,"scrollbar-width")==="none"||si(v,"display","::-webkit-scrollbar")==="none"}catch{}return T(),C},o=`.${k6}{scroll-behavior:auto!important;position:fixed;opacity:0;visibility:hidden;overflow:scroll;height:200px;width:200px;z-index:-1}.${k6} div{width:200%;height:200%;margin:10px 0}.${T6}{scrollbar-width:none!important}.${T6}::-webkit-scrollbar,.${T6}::-webkit-scrollbar-corner{appearance:none!important;display:none!important;width:0!important;height:0!important}`,n=n9(`<div class="${k6}"><div></div><style>${o}</style></div>`)[0],a=n.firstChild,s=n.lastChild,i=c1e();i&&(s.nonce=i);let[l,,c]=zP(),[u,m]=$a({o:e(n,a),i:A6},Oe(e,n,a,!0)),[f]=m(),d=t(n),p={x:f.x===0,y:f.y===0},h={elements:{host:null,padding:!d,viewport:v=>d&&IX(v)&&v,content:!1},scrollbars:{slot:!0},cancel:{nativeScrollbarsOverlaid:!1,body:null}},S=vt({},l1e),g=Oe(vt,{},S),b=Oe(vt,{},h),I={P:f,k:p,U:d,J:!!V2,G:Oe(l,"r"),K:b,Z:v=>vt(h,v)&&b(),tt:g,nt:v=>vt(S,v)&&g(),ot:vt({},h),st:vt({},S)};if(Ni(n,"style"),$0(n),Gt(xa,"resize",(()=>{c("r",[])})),Ps(xa.matchMedia)&&!d&&(!p.x||!p.y)){let v=C=>{let T=xa.matchMedia(`(resolution: ${xa.devicePixelRatio}dppx)`);Gt(T,"change",(()=>{C(),v(C)}),{T:!0})};v((()=>{let[C,T]=u();vt(I.P,C),c("r",[T])}))}return I},Wi=()=>(BP||(BP=m1e()),BP),f1e=(e,t,o)=>{let r=!1,n=o?new WeakMap:!1,a=()=>{r=!0},s=i=>{if(n&&o){let l=o.map((c=>{let[u,m]=c||[];return[m&&u?(i||xX)(u,e):[],m]}));Ot(l,(c=>Ot(c[0],(u=>{let m=c[1],f=n.get(u)||[];if(e.contains(u)&&m){let p=Gt(u,m,(h=>{r?(p(),n.delete(u)):t(h)}));n.set(u,So(f,p))}else Xa(f),n.delete(u)}))))}};return s(),[a,s]},mX=(e,t,o,r)=>{let n=!1,{et:a,ct:s,rt:i,it:l,lt:c,ut:u}=r||{},[m,f]=f1e(e,(()=>n&&o(!0)),i),d=a||[],p=s||[],h=G0(d,p),S=(b,I)=>{if(!D6(I)){let v=c||vf,C=u||vf,T=[],w=[],E=!1,B=!1;if(Ot(I,(L=>{let{attributeName:_,target:j,type:ne,oldValue:K,addedNodes:ie,removedNodes:se}=L,W=ne==="attributes",de=ne==="childList",q=e===j,fe=W&&_,he=fe&&e9(j,_||""),ge=q0(he)?he:null,J=fe&&K!==ge,X=dX(p,_)&&J;if(t&&(de||!q)){let ee=W&&J,pe=ee&&l&&RP(j,l),ce=(pe?!v(j,_,K,ge):!W||ee)&&!C(L,!!pe,e,r);Ot(ie,(we=>So(T,we))),Ot(se,(we=>So(T,we))),B=B||ce}!t&&q&&J&&!v(j,_,K,ge)&&(So(w,_),E=E||X)})),f((L=>R6(T).reduce(((_,j)=>(So(_,xX(L,j)),RP(j,L)?So(_,j):_)),[]))),t)return!b&&B&&o(!1),[!1];if(!D6(w)||E){let L=[R6(w),E];return b||o.apply(0,L),L}}},g=new kge(Oe(S,!1));return[()=>(g.observe(e,{attributes:!0,attributeOldValue:!0,attributeFilter:h,subtree:t,childList:t,characterData:t}),n=!0,()=>{n&&(m(),g.disconnect(),n=!1)}),()=>{if(n)return S(!0,g.takeRecords())}]},Sf=null,ZX=(e,t,o)=>{let{ft:r}=o||{},n=Y0(FX),[a]=$a({o:!1,u:!0});return()=>{let s=[],l=n9(`<div class="${i9}"><div class="${l9}"></div></div>`)[0],c=l.firstChild,u=m=>{let f=Ls(m)&&!D6(m),d=!1,p=!1;if(f){let h=m[0],[S,,g]=a(h.contentRect),b=OP(S);p=AX(S,g),d=!p&&!b}else p=m===!0;d||t({_t:!0,ft:p})};if(N0){if(!N6(Sf)){let p=new N0(vf);p.observe(e,{get box(){Sf=!0}}),Sf=Sf||!1,p.disconnect()}let m=pX(u,{p:0,v:0}),f=p=>m(p),d=new N0(f);if(d.observe(Sf?e:c),So(s,[()=>{d.disconnect()},!Sf&&Xn(e,l)]),Sf){let p=new N0(f);p.observe(e,{box:"border-box"}),So(s,(()=>p.disconnect()))}}else if(n){let[m,f]=n(c,u,r);So(s,G0([Z6(l,Gge),Gt(l,"animationstart",m),Xn(e,l)],f))}else return vf;return Oe(Xa,s)}},d1e=(e,t)=>{let o,r=l=>l.h===0||l.isIntersecting||l.intersectionRatio>0,n=Z0(qge),[a]=$a({o:!1}),s=(l,c)=>{if(l){let u=a(r(l)),[,m]=u;return m&&!c&&t(u)&&[u]}},i=(l,c)=>s(c.pop(),l);return[()=>{let l=[];if(Gq)o=new Gq(Oe(i,!1),{root:e}),o.observe(n),So(l,(()=>{o.disconnect()}));else{let c=()=>{let u=Mu(n);s(u)};So(l,ZX(n,c)()),c()}return Oe(Xa,So(l,Xn(e,n)))},()=>o&&i(!0,o.takeRecords())]},p1e=(e,t,o,r)=>{let n,a,s,i,l,c,u,m,f=`[${Lu}]`,d=`[${zi}]`,p=["id","class","style","open","wrap","cols","rows"],{dt:h,vt:S,L:g,gt:b,ht:I,V:v,bt:C,wt:T,yt:w,St:E}=e,B=H=>si(H,"direction")==="rtl",L=()=>{let H,ce,we,ue=pX(r,{p:()=>H,v:()=>ce,S:()=>we,m(ye,De){let[me]=ye,[ke]=De;return[G0(qn(me),qn(ke)).reduce(((Ae,Be)=>(Ae[Be]=me[Be]||ke[Be],Ae)),{})]}}),Ce=(ye,De)=>{if(Ls(De)){let[me,ke,Ae]=De;H=me,ce=ke,we=Ae}else ku(De)?(H=De,ce=!1,we=!1):(H=!1,ce=!1,we=!1);ue(ye)};return Ce.O=ue.O,Ce},_={Ot:!1,B:B(h)},j=Wi(),ne=Y0(G6),[K]=$a({i:QP,o:{w:0,h:0}},(()=>{let H=ne&&ne.R(e,t,_,j,o).Y,we=!(C&&v)&&r9(S,Lu,M6),ue=!v&&T(BX),Ce=ue&&qa(b),ye=Ce&&E(),De=w(DX,we),me=ue&&H&&H(),ke=F6(g),Ae=a9(g);return me&&me(),Ms(b,Ce),ye&&ye(),we&&De(),{w:ke.w+Ae.w,h:ke.h+Ae.h}})),ie=L(),se=H=>{let ce=B(h);vt(H,{Ct:m!==ce}),vt(_,{B:ce}),m=ce},W=(H,ce)=>{let[we,ue]=H,Ce={$t:ue};return vt(_,{Ot:we}),ce||r(Ce),Ce},de=({_t:H,ft:ce})=>{let we=ce?r:ie,ue={_t:H||ce,ft:ce};se(ue),we(ue,a)},q=(H,ce)=>{let[,we]=K(),ue={xt:we};return se(ue),we&&!ce&&ie(ue,H?s:n),ue},fe=(H,ce,we)=>{let ue={Ht:ce};return se(ue),ce&&!we&&ie(ue,n),ue},[he,ge]=I?d1e(S,W):[],J=!v&&ZX(S,de,{ft:!0}),[X,ee]=mX(S,!1,fe,{ct:p,et:p}),pe=v&&N0&&new N0((H=>{let ce=H[H.length-1].contentRect;de({_t:!0,ft:AX(ce,u)}),u=ce}));return[()=>{pe&&pe.observe(S);let H=J&&J(),ce=he&&he(),we=X(),ue=j.G((Ce=>{let[,ye]=K();ie({Et:Ce,xt:ye,_t:C},i)}));return()=>{pe&&pe.disconnect(),H&&H(),ce&&ce(),c&&c(),we(),ue()}},({zt:H,It:ce,At:we})=>{let ue={},[Ce]=H("update.ignoreMutation"),[ye,De]=H("update.attributes"),[me,ke]=H("update.elementEvents"),[Ae,Be]=H("update.debounce"),xt=ke||De,We=ce||we,Fe=Qe=>Ps(Ce)&&Ce(Qe);if(xt){l&&l(),c&&c();let[Qe,ut]=mX(I||g,!0,q,{et:G0(p,ye||[]),rt:me,it:f,ut:(ae,Re)=>{let{target:Xe,attributeName:Je}=ae;return(!Re&&Je&&!v?Ege(Xe,f,d):!1)||!!W0(Xe,`.${Ya}`)||!!Fe(ae)}});c=Qe(),l=ut}if(Be&&(ie.O(),Ls(Ae)||ku(Ae)?(n=Ae,a=!1,s=NX,i=zX):j2(Ae)?(n=Ae.mutation,a=Ae.resize,s=Ae.event,i=Ae.env):(n=!1,a=!1,s=!1,i=!1)),We){let Qe=ee(),ut=ge&&ge(),ae=l&&l();Qe&&vt(ue,fe(Qe[0],Qe[1],We)),ut&&vt(ue,W(ut[0],We)),ae&&vt(ue,q(ae[0],We))}return se(ue),ue},_]},jX=(e,t)=>Ps(t)?t.apply(0,e):t,h1e=(e,t,o,r)=>{let n=GP(r)?o:r;return jX(e,n)||t.apply(0,e)},GX=(e,t,o,r)=>{let n=GP(r)?o:r,a=jX(e,n);return!!a&&(B6(a)?a:t.apply(0,e))},g1e=(e,t)=>{let{nativeScrollbarsOverlaid:o,body:r}=t||{},{k:n,U:a,K:s}=Wi(),{nativeScrollbarsOverlaid:i,body:l}=s().cancel,c=o??i,u=GP(r)?l:r,m=(n.x||n.y)&&c,f=e&&(V6(u)?!a:u);return!!m||!!f},b1e=(e,t,o,r)=>{let n="--os-viewport-percent",a="--os-scroll-percent",s="--os-scroll-direction",{K:i}=Wi(),{scrollbars:l}=i(),{slot:c}=l,{dt:u,vt:m,L:f,Tt:d,gt:p,bt:h,V:S}=t,{scrollbars:g}=d?{}:e,{slot:b}=g||{},I=[],v=[],C=[],T=GX([u,m,f],(()=>S&&h?u:m),c,b),w=he=>{if(V2){let ge=null,J=[],X=new V2({source:p,axis:he}),ee=()=>{ge&&ge.cancel(),ge=null};return{kt:H=>{let{Dt:ce}=o,we=PP(ce)[he],ue=he==="x",Ce=[MP(0,ue),MP(`calc(-100% + 100cq${ue?"w":"h"})`,ue)],ye=we?Ce:Ce.reverse();return J[0]===ye[0]&&J[1]===ye[1]||(J=ye,ee(),ge=H.Mt.animate({clear:["left"],transform:ye},{timeline:X})),ee}}}},E={x:w("x"),y:w("y")},B=()=>{let{Rt:he,Vt:ge}=o,J=(X,ee)=>bX(0,1,X/(X+ee)||0);return{x:J(ge.x,he.x),y:J(ge.y,he.y)}},L=(he,ge,J)=>{let X=J?Z6:SX;Ot(he,(ee=>{X(ee.Lt,ge)}))},_=(he,ge)=>{Ot(he,(J=>{let[X,ee]=ge(J);oc(X,ee)}))},j=(he,ge,J)=>{let X=N6(J),ee=X?J:!0,pe=X?!J:!0;ee&&L(v,he,ge),pe&&L(C,he,ge)},ne=()=>{let he=B(),ge=J=>X=>[X.Lt,{[n]:HP(J)+""}];_(v,ge(he.x)),_(C,ge(he.y))},K=()=>{if(!V2){let{Dt:he}=o,ge=Jq(he,qa(p)),J=X=>ee=>[ee.Lt,{[a]:HP(X)+""}];_(v,J(ge.x)),_(C,J(ge.y))}},ie=()=>{let{Dt:he}=o,ge=PP(he),J=X=>ee=>[ee.Lt,{[s]:X?"0":"1"}];_(v,J(ge.x)),_(C,J(ge.y)),V2&&(v.forEach(E.x.kt),C.forEach(E.y.kt))},se=()=>{if(S&&!h){let{Rt:he,Dt:ge}=o,J=PP(ge),X=Jq(ge,qa(p)),ee=pe=>{let{Lt:H}=pe,ce=G2(H)===f&&H,we=(ue,Ce,ye)=>{let De=Ce*ue;return wX(ye?De:-De)};return[ce,ce&&{transform:MP({x:we(X.x,he.x,J.x),y:we(X.y,he.y,J.y)})}]};_(v,ee),_(C,ee)}},W=he=>{let ge=he?"x":"y",X=Z0(`${Ya} ${he?Kge:Qge}`),ee=Z0(_X),pe=Z0(c9),H={Lt:X,Ut:ee,Mt:pe},ce=E[ge];return So(he?v:C,H),So(I,[Xn(X,ee),Xn(ee,pe),Oe($0,X),ce&&ce.kt(H),r(H,j,he)]),H},de=Oe(W,!0),q=Oe(W,!1),fe=()=>(Xn(T,v[0].Lt),Xn(T,C[0].Lt),Oe(Xa,I));return de(),q(),[{Pt:ne,Nt:K,qt:ie,Bt:se,Ft:j,jt:{Xt:v,Yt:de,Wt:Oe(_,v)},Jt:{Xt:C,Yt:q,Wt:Oe(_,C)}},fe]},y1e=(e,t,o,r)=>(n,a,s)=>{let{vt:i,L:l,V:c,gt:u,Gt:m,St:f}=t,{Lt:d,Ut:p,Mt:h}=n,[S,g]=xf(333),[b,I]=xf(444),v=w=>{Ps(u.scrollBy)&&u.scrollBy({behavior:"smooth",left:w.x,top:w.y})},C=()=>{let w="pointerup pointercancel lostpointercapture",E=`client${s?"X":"Y"}`,B=s?X0:$2,L=s?"left":"top",_=s?"w":"h",j=s?"x":"y",ne=(ie,se)=>W=>{let{Rt:de}=o,q=Mu(p)[_]-Mu(h)[_],he=se*W/q*de[j];Ms(u,{[j]:ie+he})},K=[];return Gt(p,"pointerdown",(ie=>{let se=W0(ie.target,`.${c9}`)===h,W=se?h:p,de=e.scrollbars,q=de[se?"dragScroll":"clickScroll"],{button:fe,isPrimary:he,pointerType:ge}=ie,{pointers:J}=de;if(fe===0&&he&&q&&(J||[]).includes(ge)){Xa(K),I();let ee=!se&&(ie.shiftKey||q==="instant"),pe=Oe(LP,h),H=Oe(LP,p),ce=(ut,ae)=>(ut||pe())[L]-(ae||H())[L],we=DP(LP(u)[B])/Mu(u)[_]||1,ue=ne(qa(u)[j],1/we),Ce=ie[E],ye=pe(),De=H(),me=ye[B],ke=ce(ye,De)+me/2,Ae=Ce-De[L],Be=se?0:Ae-ke,xt=ut=>{Xa(Qe),W.releasePointerCapture(ut.pointerId)},We=se||ee,Fe=f(),Qe=[Gt(m,w,xt),Gt(m,"selectstart",(ut=>VP(ut)),{I:!1}),Gt(p,w,xt),We&&Gt(p,"pointermove",(ut=>ue(Be+(ut[E]-Ce)))),We&&(()=>{let ut=qa(u);Fe();let ae=qa(u),Re={x:ae.x-ut.x,y:ae.y-ut.y};(Au(Re.x)>3||Au(Re.y)>3)&&(f(),Ms(u,ut),v(Re),b(Fe))})];if(W.setPointerCapture(ie.pointerId),ee)ue(Be);else if(!se){let ut=Y0(VX);if(ut){let ae=ut(ue,Be,me,(Re=>{Re?Fe():So(Qe,Fe)}));So(Qe,ae),So(K,Oe(ae,!0))}}}}))},T=!0;return Oe(Xa,[Gt(h,"pointermove pointerleave",r),Gt(d,"pointerenter",(()=>{a(nX,!0)})),Gt(d,"pointerleave pointercancel",(()=>{a(nX,!1)})),!c&&Gt(d,"mousedown",(()=>{let w=FP();(Xq(w,zi)||Xq(w,Lu)||w===document.body)&&jP(Oe(NP,l),25)})),Gt(d,"wheel",(w=>{let{deltaX:E,deltaY:B,deltaMode:L}=w;T&&L===0&&G2(d)===i&&v({x:E,y:B}),T=!1,a(iX,!0),S((()=>{T=!0,a(iX)})),VP(w)}),{I:!1,A:!0}),Gt(d,"pointerdown",(()=>{let w=Gt(m,"click",(B=>{E(),kX(B)}),{T:!0,A:!0,I:!1}),E=Gt(m,"pointerup pointercancel",(()=>{E(),setTimeout(w,150)}),{A:!0,I:!0})}),{A:!0,I:!0}),C(),g,I])},S1e=(e,t,o,r,n,a)=>{let s,i,l,c,u,m=vf,f=0,d=["mouse","pen"],p=J=>d.includes(J.pointerType),[h,S]=xf(),[g,b]=xf(100),[I,v]=xf(100),[C,T]=xf((()=>f)),[w,E]=b1e(e,n,r,y1e(t,n,r,(J=>p(J)&&de()))),{vt:B,Kt:L,bt:_}=n,{Ft:j,Pt:ne,Nt:K,qt:ie,Bt:se}=w,W=(J,X)=>{if(T(),J)j(sX);else{let ee=Oe(j,sX,!0);f>0&&!X?C(ee):ee()}},de=()=>{(l?!s:!c)&&(W(!0),g((()=>{W(!1)})))},q=J=>{j(UP,J,!0),j(UP,J,!1)},fe=J=>{p(J)&&(s=l,l&&W(!0))},he=[T,b,v,S,()=>m(),Gt(B,"pointerover",fe,{T:!0}),Gt(B,"pointerenter",fe),Gt(B,"pointerleave",(J=>{p(J)&&(s=!1,l&&W(!1))})),Gt(B,"pointermove",(J=>{p(J)&&i&&de()})),Gt(L,"scroll",(J=>{h((()=>{K(),de()})),a(J),se()}))],ge=Y0(G6);return[()=>Oe(Xa,So(he,E())),({zt:J,At:X,Qt:ee,Zt:pe})=>{let{tn:H,nn:ce,sn:we,en:ue}=pe||{},{Ct:Ce,ft:ye}=ee||{},{B:De}=o,{k:me,U:ke}=Wi(),{cn:Ae,j:Be}=r,[xt,We]=J("showNativeOverlaidScrollbars"),[Fe,Qe]=J("scrollbars.theme"),[ut,ae]=J("scrollbars.visibility"),[Re,Xe]=J("scrollbars.autoHide"),[Je,An]=J("scrollbars.autoHideSuspend"),[vo]=J("scrollbars.autoHideDelay"),[Jr,Hs]=J("scrollbars.dragScroll"),[Q,bt]=J("scrollbars.clickScroll"),[$t,Rn]=J("overflow"),kr=ye&&!X,Os=Be.x||Be.y,R=H||ce||ue||Ce||X,te=we||ae||Rn,je=xt&&me.x&&me.y,et=!ke&&!ge,Qt=je||et,wa=(es,en,Gi)=>{let eb=es.includes(Pu)&&(ut===tc||ut==="auto"&&en===Pu);return j(Jge,eb,Gi),eb};if(f=vo,kr&&(Je&&Os?(q(!1),m(),I((()=>{m=Gt(L,"scroll",Oe(q,!0),{T:!0})}))):q(!0)),(We||et)&&j(Xge,Qt),Qe&&(j(u),j(Fe,!0),u=Fe),An&&!Je&&q(!0),Xe&&(i=Re==="move",l=Re==="leave",c=Re==="never",W(c,!0)),Hs&&j(o1e,Jr),bt&&j(t1e,!!Q),te){let es=wa($t.x,Ae.x,!0),en=wa($t.y,Ae.y,!1);j(e1e,!(es&&en))}R&&(K(),ne(),se(),ue&&ie(),j(aX,!Be.x,!0),j(aX,!Be.y,!1),j(Yge,De&&!_))},{},w]},x1e=e=>{let t=Wi(),{K:o,U:r}=t,{elements:n}=o(),{padding:a,viewport:s,content:i}=n,l=B6(e),c=l?{}:e,{elements:u}=c,{padding:m,viewport:f,content:d}=u||{},p=l?e:c.target,h=IX(p),S=p.ownerDocument,g=S.documentElement,b=()=>S.defaultView||xa,I=Oe(h1e,[p]),v=Oe(GX,[p]),C=Oe(Z0,""),T=Oe(I,C,s),w=Oe(v,C,i),E=me=>{let ke=Mu(me),Ae=F6(me),Be=si(me,YP),xt=si(me,KP);return Ae.w-ke.w>0&&!U0(Be)||Ae.h-ke.h>0&&!U0(xt)},B=T(f),L=B===p,_=L&&h,j=!L&&w(d),ne=!L&&B===j,K=_?g:B,ie=_?K:p,se=!L&&v(C,a,m),W=!ne&&j,de=[W,K,se,ie].map((me=>B6(me)&&!G2(me)&&me)),q=me=>me&&dX(de,me),fe=!q(K)&&E(K)?K:p,he=_?g:K,J={dt:p,vt:ie,L:K,rn:se,ht:W,gt:he,Kt:_?S:K,ln:h?g:fe,Gt:S,bt:h,Tt:l,V:L,an:b,wt:me=>r9(K,zi,me),yt:(me,ke)=>_6(K,zi,me,ke),St:()=>_6(he,zi,Zge,!0)},{dt:X,vt:ee,rn:pe,L:H,ht:ce}=J,we=[()=>{Ni(ee,[Lu,EP]),Ni(X,EP),h&&Ni(g,[EP,Lu])}],ue=_P([ce,H,pe,ee,X].find((me=>me&&!q(me)))),Ce=_?X:ce||H,ye=Oe(Xa,we);return[J,()=>{let me=b(),ke=FP(),Ae=Qe=>{Xn(G2(Qe),_P(Qe)),$0(Qe)},Be=Qe=>Gt(Qe,"focusin focusout focus blur",kX,{A:!0,I:!1}),xt="tabindex",We=e9(H,xt),Fe=Be(ke);return ec(ee,Lu,L?"":zge),ec(pe,WP,""),ec(H,zi,""),ec(ce,oX,""),L||(ec(H,xt,We||"-1"),h&&ec(g,tX,"")),Xn(Ce,ue),Xn(ee,pe),Xn(pe||ee,!L&&H),Xn(H,ce),So(we,[Fe,()=>{let Qe=FP(),ut=q(H),ae=ut&&Qe===H?X:Qe,Re=Be(ae);Ni(pe,WP),Ni(ce,oX),Ni(H,zi),h&&Ni(g,tX),We?ec(H,xt,We):Ni(H,xt),q(ce)&&Ae(ce),ut&&Ae(H),q(pe)&&Ae(pe),NP(ae),Re()}]),r&&!L&&(o9(H,zi,RX),So(we,Oe(Ni,H,zi))),NP(!L&&h&&ke===X&&me.top===me?H:ke),Fe(),ue=0,ye},ye]},I1e=({ht:e})=>({Qt:t,un:o,At:r})=>{let{$t:n}=t||{},{Ot:a}=o;e&&(n||r)&&oc(e,{[$2]:a&&"100%"})},v1e=({vt:e,rn:t,L:o,V:r},n)=>{let[a,s]=$a({i:Lge,o:Kq()},Oe(Kq,e,"padding",""));return({zt:i,Qt:l,un:c,At:u})=>{let[m,f]=s(u),{U:d}=Wi(),{_t:p,xt:h,Ct:S}=l||{},{B:g}=c,[b,I]=i("paddingAbsolute");(p||f||(u||h))&&([m,f]=a(u));let C=!r&&(I||S||f);if(C){let T=!b||!t&&!d,w=m.r+m.l,E=m.t+m.b,B={[Z2]:T&&!g?-w:0,[z0]:T?-E:0,[U2]:T&&g?-w:0,top:T?-m.t:0,right:T?g?-m.r:"auto":0,left:T?g?"auto":-m.l:0,[X0]:T&&`calc(100% + ${w}px)`},L={[XP]:T?m.t:0,[N2]:T?m.r:0,[W2]:T?m.b:0,[z2]:T?m.l:0};oc(t||o,B),oc(o,L),vt(n,{rn:m,fn:!T,F:t?L:vt({},B,L)})}return{_n:C}}},C1e=(e,t)=>{let o=Wi(),{vt:r,rn:n,L:a,V:s,Kt:i,gt:l,bt:c,yt:u,an:m}=e,{U:f}=o,d=c&&s,p=Oe(P6,0),h={display:()=>!1,direction:X=>X!=="ltr",flexDirection:X=>X.endsWith("-reverse"),writingMode:X=>X!=="horizontal-tb"},S=qn(h),g={i:QP,o:{w:0,h:0}},b={i:A6,o:{}},I=X=>{u(DX,!d&&X)},v=()=>si(a,S),C=(X,ee)=>{let pe=!qn(X).length,H=!ee&&S.some((We=>{let Fe=X[We];return q0(Fe)&&h[We](Fe)}));if(pe&&!H||!Hge(a))return{D:{x:0,y:0},M:{x:1,y:1}};I(!0);let we=qa(l),ue=Gt(i,Pu,(We=>{let Fe=qa(l);We.isTrusted&&Fe.x===we.x&&Fe.y===we.y&&s9(We)}),{A:!0,T:!0}),Ce=u(jge,!0);Ms(l,{x:0,y:0}),Ce();let ye=qa(l),De=F6(l);Ms(l,{x:De.w,y:De.h});let me=qa(l),ke={x:me.x-ye.x,y:me.y-ye.y};Ms(l,{x:-De.w,y:-De.h});let Ae=qa(l),Be={x:Ae.x-ye.x,y:Ae.y-ye.y},xt={x:Au(ke.x)>=Au(Be.x)?me.x:Ae.x,y:Au(ke.y)>=Au(Be.y)?me.y:Ae.y};return Ms(l,we),j0((()=>ue())),{D:ye,M:xt}},T=(X,ee)=>{let pe=xa.devicePixelRatio%1!==0?1:0,H={w:p(X.w-ee.w),h:p(X.h-ee.h)};return{w:H.w>pe?H.w:0,h:H.h>pe?H.h:0}},w=(X,ee)=>{let pe=(H,ce,we,ue)=>{let Ce=H===tc?ai:n1e(H),ye=U0(H),De=U0(we);return!ce&&!ue?ai:ye&&De?tc:ye?ce&&ue?Ce:ce?tc:ai:ce?Ce:De&&ue?tc:ai};return{x:pe(ee.x,X.x,ee.y,X.y),y:pe(ee.y,X.y,ee.x,X.x)}},E=X=>{let ee=H=>[tc,ai,Pu].map((ce=>J(ZP(ce),H))),pe=ee(!0).concat(ee()).join(" ");u(pe),u(qn(X).map((H=>J(X[H],H==="x"))).join(" "),!0)},[B,L]=$a(g,Oe(a9,a)),[_,j]=$a(g,Oe(F6,a)),[ne,K]=$a(g),[ie]=$a(b),[se,W]=$a(g),[de]=$a(b),[q]=$a({i:(X,ee)=>W6(X,ee,R6(G0(qn(X),qn(ee)))),o:{}}),[fe,he]=$a({i:(X,ee)=>A6(X.D,ee.D)&&A6(X.M,ee.M),o:MX()}),ge=Y0(G6),J=(X,ee)=>`${ee?Wge:Uge}${Mge(X)}`;return({zt:X,Qt:ee,un:pe,At:H},{_n:ce})=>{let{_t:we,Ht:ue,xt:Ce,Ct:ye,ft:De,Et:me}=ee||{},ke=ge&&ge.R(e,t,pe,o,X),{X:Ae,Y:Be,W:xt}=ke||{},[We,Fe]=HX(X,o),[Qe,ut]=X("overflow"),ae=U0(Qe.x),Re=U0(Qe.y),Xe=we||ce||Ce||ye||me||Fe,Je=L(H),An=j(H),vo=K(H),Jr=W(H);if(Fe&&f&&u(RX,!We),Xe){r9(r,Lu,M6)&&I(!0);let B9=Be&&Be(),[tb]=Je=B(H),[ob]=An=_(H),rb=TX(a),nb=d&&Fge(m()),nK={w:p(ob.w+tb.w),h:p(ob.h+tb.h)},D9={w:p((nb?nb.w:rb.w+p(rb.w-ob.w))+tb.w),h:p((nb?nb.h:rb.h+p(rb.h-ob.h))+tb.h)};B9&&B9(),Jr=se(D9),vo=ne(T(nK,D9),H)}let[Hs,Q]=Jr,[bt,$t]=vo,[Rn,kr]=An,[Os,R]=Je,[te,je]=ie({x:bt.w>0,y:bt.h>0}),et=ae&&Re&&(te.x||te.y)||ae&&te.x&&!te.y||Re&&te.y&&!te.x,Qt=ce||ye||me||R||kr||Q||$t||ut||Fe||Xe||ue&&d,[wa]=X("update.flowDirectionStyles"),[es,en]=q(wa?wa(a):v(),H),Gi=ye||De||en||je||H,[eb,tK]=Gi?fe(C(es,!!wa),H):he(),ch=w(te,Qe);I(!1),Qt&&(E(ch),ch=OX(a,te),xt&&Ae&&(Ae(ch,Rn,Os),oc(a,xt(ch))));let[oK,rK]=de(ch);return _6(r,Lu,M6,et),_6(n,WP,M6,et),vt(t,{cn:oK,Vt:{x:Hs.w,y:Hs.h},Rt:{x:bt.w,y:bt.h},j:te,Dt:Oge(eb,bt)}),{sn:rK,tn:Q,nn:$t,en:tK||$t}}},w1e=e=>{let[t,o,r]=x1e(e),n={rn:{t:0,r:0,b:0,l:0},fn:!1,F:{[Z2]:0,[z0]:0,[U2]:0,[XP]:0,[N2]:0,[W2]:0,[z2]:0},Vt:{x:0,y:0},Rt:{x:0,y:0},cn:{x:ai,y:ai},j:{x:!1,y:!1},Dt:MX()},{dt:a,gt:s,V:i,St:l}=t,{U:c,k:u}=Wi(),m=!c&&(u.x||u.y),f=[I1e(t),v1e(t,n),C1e(t,n)];return[o,d=>{let p={},S=m&&qa(s),g=S&&l();return Ot(f,(b=>{vt(p,b(d,p)||{})})),Ms(s,S),g&&g(),i||Ms(a,0),p},n,t,r]},T1e=(e,t,o,r,n)=>{let a=!1,s=uX(t,{}),[i,l,c,u,m]=w1e(e),[f,d,p]=p1e(u,c,s,(v=>{I({},v)})),[h,S,,g]=S1e(e,t,p,c,u,n),b=v=>qn(v).some((C=>!!v[C])),I=(v,C)=>{if(o())return!1;let{dn:T,At:w,It:E,pn:B}=v,L=T||{},_=!!w||!a,j={zt:uX(t,L,_),dn:L,At:_};if(B)return S(j),!1;let ne=C||d(vt({},j,{It:E})),K=l(vt({},j,{un:p,Qt:ne}));S(vt({},j,{Qt:ne,Zt:K}));let ie=b(ne),se=b(K),W=ie||se||!JP(L)||_;return a=!0,W&&r(v,{Qt:ne,Zt:K}),W};return[()=>{let{ln:v,gt:C,St:T}=u,w=qa(v),E=[f(),i(),h()],B=T();return Ms(C,w),B(),Oe(Xa,E)},I,()=>({vn:p,gn:c}),{hn:u,bn:g},m]},u9=new WeakMap,A1e=(e,t)=>{u9.set(e,t)},k1e=e=>{u9.delete(e)},$X=e=>u9.get(e),Eu=(e,t,o)=>{let{tt:r}=Wi(),n=B6(e),a=n?e:e.target,s=$X(a);if(t&&!s){let i=!1,l=[],c={},u=L=>{let _=gX(L),j=Y0(Nge);return j?j(_,!0):_},m=vt({},r(),u(t)),[f,d,p]=zP(),[h,S,g]=zP(o),b=(L,_)=>{g(L,_),p(L,_)},[I,v,C,T,w]=T1e(e,m,(()=>i),(({dn:L,At:_},{Qt:j,Zt:ne})=>{let{_t:K,Ct:ie,$t:se,xt:W,Ht:de,ft:q}=j,{tn:fe,nn:he,sn:ge,en:J}=ne;b("updated",[B,{updateHints:{sizeChanged:!!K,directionChanged:!!ie,heightIntrinsicChanged:!!se,overflowEdgeChanged:!!fe,overflowAmountChanged:!!he,overflowStyleChanged:!!ge,scrollCoordinatesChanged:!!J,contentMutation:!!W,hostMutation:!!de,appear:!!q},changedOptions:L||{},force:!!_}])}),(L=>b("scroll",[B,L]))),E=L=>{k1e(a),Xa(l),i=!0,b("destroyed",[B,L]),d(),S()},B={options(L,_){if(L){let j=_?r():{},ne=WX(m,vt(j,u(L)));JP(ne)||(vt(m,ne),v({dn:ne}))}return vt({},m)},on:h,off:(L,_)=>{L&&_&&S(L,_)},state(){let{vn:L,gn:_}=C(),{B:j}=L,{Vt:ne,Rt:K,cn:ie,j:se,rn:W,fn:de,Dt:q}=_;return vt({},{overflowEdge:ne,overflowAmount:K,overflowStyle:ie,hasOverflow:se,scrollCoordinates:{start:q.D,end:q.M},padding:W,paddingAbsolute:de,directionRTL:j,destroyed:i})},elements(){let{dt:L,vt:_,rn:j,L:ne,ht:K,gt:ie,Kt:se}=T.hn,{jt:W,Jt:de}=T.bn,q=he=>{let{Mt:ge,Ut:J,Lt:X}=he;return{scrollbar:X,track:J,handle:ge}},fe=he=>{let{Xt:ge,Yt:J}=he,X=q(ge[0]);return vt({},X,{clone:()=>{let ee=q(J());return v({pn:!0}),ee}})};return vt({},{target:L,host:_,padding:j||ne,viewport:ne,content:K||ne,scrollOffsetElement:ie,scrollEventElement:se,scrollbarHorizontal:fe(W),scrollbarVertical:fe(de)})},update:L=>v({At:L,It:!0}),destroy:Oe(E,!1),plugin:L=>c[qn(L)[0]]};return So(l,[w]),A1e(a,B),EX(LX,Eu,[B,f,c]),g1e(T.hn.bt,!n&&e.cancel)?(E(!0),B):(So(l,I()),b("initialized",[B]),B.update(),B)}return s};Eu.plugin=e=>{let t=Ls(e),o=t?e:[e],r=o.map((n=>EX(n,Eu)[0]));return Vge(o),t?r:r[0]};Eu.valid=e=>{let t=e&&e.elements,o=Ps(t)&&t();return j2(o)&&!!$X(o.target)};Eu.env=()=>{let{P:e,k:t,U:o,J:r,ot:n,st:a,K:s,Z:i,tt:l,nt:c}=Wi();return vt({},{scrollbarsSize:e,scrollbarsOverlaid:t,scrollbarsHiding:o,scrollTimeline:r,staticDefaultInitialization:n,staticDefaultOptions:a,getDefaultInitialization:s,setDefaultInitialization:i,getDefaultOptions:l,setDefaultOptions:c})};Eu.nonce=u1e;Eu.trustedTypePolicy=Dge});var JY=k(wR());var Kn=k(F());function fg(e){return e!=null&&typeof e=="object"&&"nodeType"in e&&e.nodeType===Node.ELEMENT_NODE}function t3(){return!!globalThis?.document}function _y(e){return e.parentElement&&_y(e.parentElement)?!0:e.hidden}function o3(e){let t=e.getAttribute("contenteditable");return t!=="false"&&t!=null}function r3(e){return!!e.getAttribute("disabled")||!!e.getAttribute("aria-disabled")}function n3(e,...t){if(e==null)throw new TypeError("Cannot convert undefined or null to object");let o={...e};for(let r of t)if(r!=null)for(let n in r)Object.prototype.hasOwnProperty.call(r,n)&&(n in o&&delete o[n],o[n]=r[n]);return o}var Le=e=>e?"":void 0,dl=e=>e?!0:void 0;function dg(e){return Array.isArray(e)}function Et(e){let t=typeof e;return e!=null&&(t==="object"||t==="function")&&!dg(e)}function ree(e){let t=e==null?0:e.length;return t?e[t-1]:void 0}function nee(e){let t=parseFloat(e.toString()),o=e.toString().replace(String(t),"");return{unitless:!o,value:t,unit:o}}function Fy(e){if(e==null)return e;let{unitless:t}=nee(e);return t||typeof e=="number"?`${e}px`:e}var kR=(e,t)=>parseInt(e[1],10)>parseInt(t[1],10)?1:-1,a3=e=>Object.fromEntries(Object.entries(e).sort(kR));function TR(e){let t=a3(e);return Object.assign(Object.values(t),t)}function aee(e){let t=Object.keys(a3(e));return new Set(t)}function AR(e){if(!e)return e;e=Fy(e)??e;let t=-.02;return typeof e=="number"?`${e+t}`:e.replace(/(\d+\.?\d*)/u,o=>`${parseFloat(o)+t}`)}function nm(e,t){let o=["@media screen"];return e&&o.push("and",`(min-width: ${Fy(e)})`),t&&o.push("and",`(max-width: ${Fy(t)})`),o.join(" ")}function s3(e){if(!e)return null;e.base=e.base??"0px";let t=TR(e),o=Object.entries(e).sort(kR).map(([a,s],i,l)=>{let[,c]=l[i+1]??[];return c=parseFloat(c)>0?AR(c):void 0,{_minW:AR(s),breakpoint:a,minW:s,maxW:c,maxWQuery:nm(null,c),minWQuery:nm(s),minMaxQuery:nm(s,c)}}),r=aee(e),n=Array.from(r.values());return{keys:r,normalized:t,isResponsive(a){let s=Object.keys(a);return s.length>0&&s.every(i=>r.has(i))},asObject:a3(e),asArray:TR(e),details:o,get(a){return o.find(s=>s.breakpoint===a)},media:[null,...t.map(a=>nm(a)).slice(1)],toArrayValue(a){if(!Et(a))throw new Error("toArrayValue: value must be an object");let s=n.map(i=>a[i]??null);for(;ree(s)===null;)s.pop();return s},toObjectValue(a){if(!Array.isArray(a))throw new Error("toObjectValue: value must be an array");return a.reduce((s,i,l)=>{let c=n[l];return c!=null&&i!=null&&(s[c]=i),s},{})}}}function pg(...e){return function(...o){e.forEach(r=>r?.(...o))}}function ze(...e){return function(o){e.some(r=>(r?.(o),o?.defaultPrevented))}}var Hy=k(F(),1);function am(e){return Hy.Children.toArray(e).filter(t=>(0,Hy.isValidElement)(t))}function sm(e){let t=Object.assign({},e);for(let o in t)t[o]===void 0&&delete t[o];return t}var Oy=k(F(),1);function see(e,t){return`${e} returned \`undefined\`. Seems you forgot to wrap component within ${t}`}function $e(e={}){let{name:t,strict:o=!0,hookName:r="useContext",providerName:n="Provider",errorMessage:a,defaultValue:s}=e,i=(0,Oy.createContext)(s);i.displayName=t;function l(){let c=(0,Oy.useContext)(i);if(!c&&o){let u=new Error(a??see(r,n));throw u.name="ContextError",Error.captureStackTrace?.(u,l),u}return c}return[i.Provider,l,i]}var xe=(...e)=>e.filter(Boolean).join(" ");var iee=e=>e.hasAttribute("tabindex");function MR(e){if(!fg(e)||_y(e)||r3(e))return!1;let{localName:t}=e;if(["input","select","textarea","button"].indexOf(t)>=0)return!0;let r={a:()=>e.hasAttribute("href"),audio:()=>e.hasAttribute("controls"),video:()=>e.hasAttribute("controls")};return t in r?r[t]():o3(e)?!0:iee(e)}var lee=["input:not(:disabled):not([disabled])","select:not(:disabled):not([disabled])","textarea:not(:disabled):not([disabled])","embed","iframe","object","a[href]","area[href]","button:not(:disabled):not([disabled])","[tabindex]","audio[controls]","video[controls]","*[tabindex]:not([aria-disabled])","*[contenteditable]"],cee=lee.join(),uee=e=>e.offsetWidth>0&&e.offsetHeight>0;function i3(e){let t=Array.from(e.querySelectorAll(cee));return t.unshift(e),t.filter(o=>MR(o)&&uee(o))}function LR(e,t,o,r){let n=typeof t=="string"?t.split("."):[t];for(r=0;r<n.length&&e;r+=1)e=e[n[r]];return e===void 0?o:e}var mee=e=>{let t=new WeakMap;return(r,n,a,s)=>{if(typeof r>"u")return e(r,n,a);t.has(r)||t.set(r,new Map);let i=t.get(r);if(i.has(n))return i.get(n);let l=e(r,n,a,s);return i.set(n,l),l}},hg=mee(LR);var l3=e=>e.default||e;function c3(e){let{wasSelected:t,enabled:o,isSelected:r,mode:n="unmount"}=e;return!!(!o||r||n==="keepMounted"&&t)}function pl(e,t=[]){let o=Object.assign({},e);for(let r of t)r in o&&delete o[r];return o}function gg(e,t){let o={};for(let r of t)r in e&&(o[r]=e[r]);return o}var fee=Object.freeze(["base","sm","md","lg","xl","2xl"]);function Id(e,t){return Array.isArray(e)?e.map(o=>o===null?null:t(o)):Et(e)?Object.keys(e).reduce((o,r)=>(o[r]=t(e[r]),o),{}):e!=null?t(e):null}var dee=e=>typeof e=="function";function Br(e,...t){return dee(e)?e(...t):e}function pee(e){let t=e.ownerDocument.defaultView||window,{overflow:o,overflowX:r,overflowY:n}=t.getComputedStyle(e);return/auto|scroll|overlay|hidden/.test(o+n+r)}function hee(e){return e.localName==="html"?e:e.assignedSlot||e.parentElement||e.ownerDocument.documentElement}function Vy(e){return["html","body","#document"].includes(e.localName)?e.ownerDocument.body:fg(e)&&pee(e)?e:Vy(hee(e))}function u3(e,t){let o={},r={};for(let[n,a]of Object.entries(e))t.includes(n)?o[n]=a:r[n]=a;return[o,r]}function m3(e,...t){let o=Object.getOwnPropertyDescriptors(e),r=Object.keys(o),n=s=>{let i={};for(let l=0;l<s.length;l++){let c=s[l];o[c]&&(Object.defineProperty(i,c,o[c]),delete o[c])}return i},a=s=>n(Array.isArray(s)?s:r.filter(s));return t.map(a).concat(n(r))}function Ny(e,t,o={}){let{stop:r,getKey:n}=o;function a(s,i=[]){if(Et(s)||Array.isArray(s)){let l={};for(let[c,u]of Object.entries(s)){let m=n?.(c)??c,f=[...i,m];if(r?.(s,f))return t(s,i);l[m]=a(u,f)}return l}return t(s,i)}return a(e)}var Zr=k(n_(),1);var a_=k(F(),1);var Td=k(F(),1);function Mn(e,t=[]){let o=(0,Td.useRef)(e);return(0,Td.useEffect)(()=>{o.current=e}),(0,Td.useCallback)((...r)=>o.current?.(...r),t)}function vg(e,t,o,r){let n=Mn(o);return(0,a_.useEffect)(()=>{let a=typeof e=="function"?e():e??document;if(!(!o||!a))return a.addEventListener(t,n,r),()=>{a.removeEventListener(t,n,r)}},[t,e,r,n,o]),()=>{(typeof e=="function"?e():e??document)?.removeEventListener(t,n,r)}}var v3=k(F(),1);function C3(e){let{value:t,defaultValue:o,onChange:r,shouldUpdate:n=(f,d)=>f!==d}=e,a=Mn(r),s=Mn(n),[i,l]=(0,v3.useState)(o),c=t!==void 0,u=c?t:i,m=Mn(f=>{let p=typeof f=="function"?f(u):f;s(u,p)&&(c||l(p),a(p))},[c,a,u,s]);return[u,m]}var Hc=k(F(),1);function w3(e={}){let{onClose:t,onOpen:o,isOpen:r,id:n}=e,a=Mn(o),s=Mn(t),[i,l]=(0,Hc.useState)(e.defaultIsOpen||!1),c=r!==void 0?r:i,u=r!==void 0,m=(0,Hc.useId)(),f=n??`disclosure-${m}`,d=(0,Hc.useCallback)(()=>{u||l(!1),s?.()},[u,s]),p=(0,Hc.useCallback)(()=>{u||l(!0),a?.()},[u,a]),h=(0,Hc.useCallback)(()=>{c?d():p()},[c,p,d]);function S(b={}){return{...b,"aria-expanded":c,"aria-controls":f,onClick(I){b.onClick?.(I),h()}}}function g(b={}){return{...b,hidden:!c,id:f}}return{isOpen:c,onOpen:p,onClose:d,onToggle:h,isControlled:u,getButtonProps:S,getDisclosureProps:g}}var Xy=k(F(),1),fs=globalThis?.document?Xy.useLayoutEffect:Xy.useEffect;var Ad=k(F(),1),kd=(e,t)=>{let o=(0,Ad.useRef)(!1),r=(0,Ad.useRef)(!1);(0,Ad.useEffect)(()=>{if(o.current&&r.current)return e();r.current=!0},t),(0,Ad.useEffect)(()=>(o.current=!0,()=>{o.current=!1}),[])};var s_=k(F(),1);function loe(e,t){if(e!=null){if(typeof e=="function"){e(t);return}try{e.current=t}catch{throw new Error(`Cannot assign value '${t}' to ref '${e}'`)}}}function uo(...e){return t=>{e.forEach(o=>{loe(o,t)})}}function T3(...e){return(0,s_.useMemo)(()=>uo(...e),e)}var i_=k(F(),1);function A3(e,t){let o=Mn(e);(0,i_.useEffect)(()=>{if(t==null)return;let r=null;return r=window.setTimeout(()=>{o()},t),()=>{r&&window.clearTimeout(r)}},[t,o])}var jr={open:(e,t)=>`${e}[data-open], ${e}[open], ${e}[data-state=open] ${t}`,closed:(e,t)=>`${e}[data-closed], ${e}[data-state=closed] ${t}`,hover:(e,t)=>`${e}:hover ${t}, ${e}[data-hover] ${t}`,focus:(e,t)=>`${e}:focus ${t}, ${e}[data-focus] ${t}`,focusVisible:(e,t)=>`${e}:focus-visible ${t}`,focusWithin:(e,t)=>`${e}:focus-within ${t}`,active:(e,t)=>`${e}:active ${t}, ${e}[data-active] ${t}`,disabled:(e,t)=>`${e}:disabled ${t}, ${e}[data-disabled] ${t}`,invalid:(e,t)=>`${e}:invalid ${t}, ${e}[data-invalid] ${t}`,checked:(e,t)=>`${e}:checked ${t}, ${e}[data-checked] ${t}`,indeterminate:(e,t)=>`${e}:indeterminate ${t}, ${e}[aria-checked=mixed] ${t}, ${e}[data-indeterminate] ${t}`,readOnly:(e,t)=>`${e}:read-only ${t}, ${e}[readonly] ${t}, ${e}[data-read-only] ${t}`,expanded:(e,t)=>`${e}:read-only ${t}, ${e}[aria-expanded=true] ${t}, ${e}[data-expanded] ${t}`,placeholderShown:(e,t)=>`${e}:placeholder-shown ${t}`},bi=e=>l_(t=>e(t,"&"),"[role=group]","[data-group]",".group"),bl=e=>l_(t=>e(t,"~ &"),"[data-peer]",".peer"),l_=(e,...t)=>t.map(e).join(", "),um={_hover:"&:hover, &[data-hover]",_active:"&:active, &[data-active]",_focus:"&:focus, &[data-focus]",_highlighted:"&[data-highlighted]",_focusWithin:"&:focus-within, &[data-focus-within]",_focusVisible:"&:focus-visible, &[data-focus-visible]",_disabled:"&:disabled, &[disabled], &[aria-disabled=true], &[data-disabled]",_readOnly:"&[aria-readonly=true], &[readonly], &[data-readonly]",_before:"&::before",_after:"&::after",_empty:"&:empty, &[data-empty]",_expanded:"&[aria-expanded=true], &[data-expanded], &[data-state=expanded]",_checked:"&[aria-checked=true], &[data-checked], &[data-state=checked]",_grabbed:"&[aria-grabbed=true], &[data-grabbed]",_pressed:"&[aria-pressed=true], &[data-pressed]",_invalid:"&[aria-invalid=true], &[data-invalid]",_valid:"&[data-valid], &[data-state=valid]",_loading:"&[data-loading], &[aria-busy=true]",_selected:"&[aria-selected=true], &[data-selected]",_hidden:"&[hidden], &[data-hidden]",_autofill:"&:-webkit-autofill",_even:"&:nth-of-type(even)",_odd:"&:nth-of-type(odd)",_first:"&:first-of-type",_firstLetter:"&::first-letter",_last:"&:last-of-type",_notFirst:"&:not(:first-of-type)",_notLast:"&:not(:last-of-type)",_visited:"&:visited",_activeLink:"&[aria-current=page]",_activeStep:"&[aria-current=step]",_indeterminate:"&:indeterminate, &[aria-checked=mixed], &[data-indeterminate], &[data-state=indeterminate]",_groupOpen:bi(jr.open),_groupClosed:bi(jr.closed),_groupHover:bi(jr.hover),_peerHover:bl(jr.hover),_groupFocus:bi(jr.focus),_peerFocus:bl(jr.focus),_groupFocusVisible:bi(jr.focusVisible),_peerFocusVisible:bl(jr.focusVisible),_groupActive:bi(jr.active),_peerActive:bl(jr.active),_groupDisabled:bi(jr.disabled),_peerDisabled:bl(jr.disabled),_groupInvalid:bi(jr.invalid),_peerInvalid:bl(jr.invalid),_groupChecked:bi(jr.checked),_peerChecked:bl(jr.checked),_groupFocusWithin:bi(jr.focusWithin),_peerFocusWithin:bl(jr.focusWithin),_peerPlaceholderShown:bl(jr.placeholderShown),_placeholder:"&::placeholder, &[data-placeholder]",_placeholderShown:"&:placeholder-shown, &[data-placeholder-shown]",_fullScreen:"&:fullscreen, &[data-fullscreen]",_selection:"&::selection",_rtl:"[dir=rtl] &, &[dir=rtl]",_ltr:"[dir=ltr] &, &[dir=ltr]",_mediaDark:"@media (prefers-color-scheme: dark)",_mediaReduceMotion:"@media (prefers-reduced-motion: reduce)",_dark:".chakra-ui-dark &:not([data-theme]),[data-theme=dark] &:not([data-theme]),&[data-theme=dark]",_light:".chakra-ui-light &:not([data-theme]),[data-theme=light] &:not([data-theme]),&[data-theme=light]",_horizontal:"&[data-orientation=horizontal]",_vertical:"&[data-orientation=vertical]",_open:"&[data-open], &[open], &[data-state=open]",_closed:"&[data-closed], &[data-state=closed]",_complete:"&[data-complete]",_incomplete:"&[data-incomplete]",_current:"&[data-current]"},Yy=Object.keys(um);var coe=e=>/!(important)?$/.test(e),c_=e=>typeof e=="string"?e.replace(/!(important)?$/,"").trim():e,uoe=(e,t)=>o=>{let r=String(t),n=coe(r),a=c_(r),s=e?`${e}.${a}`:a,i=Et(o.__cssMap)&&s in o.__cssMap?o.__cssMap[s].varRef:t;return i=c_(i),n?`${i} !important`:i};function Cg(e){let{scale:t,transform:o,compose:r}=e;return(a,s)=>{let i=uoe(t,a)(s),l=o?.(i,s)??i;return r&&(l=r(l,s)),l}}var wg=(...e)=>t=>e.reduce((o,r)=>r(o),t);function _a(e,t){return o=>{let r={property:o,scale:e};return r.transform=Cg({scale:e,transform:t}),r}}var moe=({rtl:e,ltr:t})=>o=>o.direction==="rtl"?e:t;function u_(e){let{property:t,scale:o,transform:r}=e;return{scale:o,property:moe(t),transform:o?Cg({scale:o,compose:r}):r}}var m_=["rotate(var(--chakra-rotate, 0))","scaleX(var(--chakra-scale-x, 1))","scaleY(var(--chakra-scale-y, 1))","skewX(var(--chakra-skew-x, 0))","skewY(var(--chakra-skew-y, 0))"];function f_(){return["translateX(var(--chakra-translate-x, 0))","translateY(var(--chakra-translate-y, 0))",...m_].join(" ")}function d_(){return["translate3d(var(--chakra-translate-x, 0), var(--chakra-translate-y, 0), 0)",...m_].join(" ")}var p_={"--chakra-blur":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-brightness":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-contrast":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-grayscale":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-hue-rotate":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-invert":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-saturate":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-sepia":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-drop-shadow":"var(--chakra-empty,/*!*/ /*!*/)",filter:["var(--chakra-blur)","var(--chakra-brightness)","var(--chakra-contrast)","var(--chakra-grayscale)","var(--chakra-hue-rotate)","var(--chakra-invert)","var(--chakra-saturate)","var(--chakra-sepia)","var(--chakra-drop-shadow)"].join(" ")},h_={backdropFilter:["var(--chakra-backdrop-blur)","var(--chakra-backdrop-brightness)","var(--chakra-backdrop-contrast)","var(--chakra-backdrop-grayscale)","var(--chakra-backdrop-hue-rotate)","var(--chakra-backdrop-invert)","var(--chakra-backdrop-opacity)","var(--chakra-backdrop-saturate)","var(--chakra-backdrop-sepia)"].join(" "),"--chakra-backdrop-blur":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-brightness":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-contrast":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-grayscale":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-hue-rotate":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-invert":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-opacity":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-saturate":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-sepia":"var(--chakra-empty,/*!*/ /*!*/)"};function g_(e){return{"--chakra-ring-offset-shadow":"var(--chakra-ring-inset) 0 0 0 var(--chakra-ring-offset-width) var(--chakra-ring-offset-color)","--chakra-ring-shadow":"var(--chakra-ring-inset) 0 0 0 calc(var(--chakra-ring-width) + var(--chakra-ring-offset-width)) var(--chakra-ring-color)","--chakra-ring-width":e,boxShadow:["var(--chakra-ring-offset-shadow)","var(--chakra-ring-shadow)","var(--chakra-shadow, 0 0 #0000)"].join(", ")}}var b_={"row-reverse":{space:"--chakra-space-x-reverse",divide:"--chakra-divide-x-reverse"},"column-reverse":{space:"--chakra-space-y-reverse",divide:"--chakra-divide-y-reverse"}};var k3={"to-t":"to top","to-tr":"to top right","to-r":"to right","to-br":"to bottom right","to-b":"to bottom","to-bl":"to bottom left","to-l":"to left","to-tl":"to top left"},foe=new Set(Object.values(k3)),Ky=new Set(["none","-moz-initial","inherit","initial","revert","unset"]),doe=e=>e.trim();function poe(e,t){if(e==null||Ky.has(e))return e;if(!(Qy(e)||Ky.has(e)))return`url('${e}')`;let n=/(^[a-z-A-Z]+)\((.*)\)/g.exec(e),a=n?.[1],s=n?.[2];if(!a||!s)return e;let i=a.includes("-gradient")?a:`${a}-gradient`,[l,...c]=s.split(",").map(doe).filter(Boolean);if(c?.length===0)return e;let u=l in k3?k3[l]:l;c.unshift(u);let m=c.map(f=>{if(foe.has(f))return f;let d=f.indexOf(" "),[p,h]=d!==-1?[f.substr(0,d),f.substr(d+1)]:[f],S=Qy(h)?h:h&&h.split(" "),g=`colors.${p}`,b=g in t.__cssMap?t.__cssMap[g].varRef:p;return S?[b,...Array.isArray(S)?S:[S]].join(" "):b});return`${i}(${m.join(", ")})`}var Qy=e=>typeof e=="string"&&e.includes("(")&&e.includes(")"),y_=(e,t)=>poe(e,t??{});function hoe(e){return/^var\(--.+\)$/.test(e)}var goe=e=>{let t=parseFloat(e.toString()),o=e.toString().replace(String(t),"");return{unitless:!o,value:t,unit:o}},yi=e=>t=>`${e}(${t})`,Ue={filter(e){return e!=="auto"?e:p_},backdropFilter(e){return e!=="auto"?e:h_},ring(e){return g_(Ue.px(e))},bgClip(e){return e==="text"?{color:"transparent",backgroundClip:"text"}:{backgroundClip:e}},transform(e){return e==="auto"?f_():e==="auto-gpu"?d_():e},vh(e){return e==="$100vh"?"var(--chakra-vh)":e},px(e){if(e==null)return e;let{unitless:t}=goe(e);return t||typeof e=="number"?`${e}px`:e},fraction(e){return typeof e!="number"||e>1?e:`${e*100}%`},float(e,t){let o={left:"right",right:"left"};return t.direction==="rtl"?o[e]:e},degree(e){if(hoe(e)||e==null)return e;let t=typeof e=="string"&&!e.endsWith("deg");return typeof e=="number"||t?`${e}deg`:e},gradient:y_,blur:yi("blur"),opacity:yi("opacity"),brightness:yi("brightness"),contrast:yi("contrast"),dropShadow:yi("drop-shadow"),grayscale:yi("grayscale"),hueRotate:e=>yi("hue-rotate")(Ue.degree(e)),invert:yi("invert"),saturate:yi("saturate"),sepia:yi("sepia"),bgImage(e){return e==null||Qy(e)||Ky.has(e)?e:`url(${e})`},outline(e){let t=String(e)==="0"||String(e)==="none";return e!==null&&t?{outline:"2px solid transparent",outlineOffset:"2px"}:{outline:e}},flexDirection(e){let{space:t,divide:o}=b_[e]??{},r={flexDirection:e};return t&&(r[t]=1),o&&(r[o]=1),r}};var V={borderWidths:_a("borderWidths"),borderStyles:_a("borderStyles"),colors:_a("colors"),borders:_a("borders"),gradients:_a("gradients",Ue.gradient),radii:_a("radii",Ue.px),space:_a("space",wg(Ue.vh,Ue.px)),spaceT:_a("space",wg(Ue.vh,Ue.px)),degreeT(e){return{property:e,transform:Ue.degree}},prop(e,t,o){return{property:e,scale:t,...t&&{transform:Cg({scale:t,transform:o})}}},propT(e,t){return{property:e,transform:t}},sizes:_a("sizes",wg(Ue.vh,Ue.px)),sizesT:_a("sizes",wg(Ue.vh,Ue.fraction)),shadows:_a("shadows"),logical:u_,blur:_a("blur",Ue.blur)};var Tg={background:V.colors("background"),backgroundColor:V.colors("backgroundColor"),backgroundImage:V.gradients("backgroundImage"),backgroundSize:!0,backgroundPosition:!0,backgroundRepeat:!0,backgroundAttachment:!0,backgroundClip:{transform:Ue.bgClip},bgSize:V.prop("backgroundSize"),bgPosition:V.prop("backgroundPosition"),bg:V.colors("background"),bgColor:V.colors("backgroundColor"),bgPos:V.prop("backgroundPosition"),bgRepeat:V.prop("backgroundRepeat"),bgAttachment:V.prop("backgroundAttachment"),bgGradient:V.gradients("backgroundImage"),bgClip:{transform:Ue.bgClip}};Object.assign(Tg,{bgImage:Tg.backgroundImage,bgImg:Tg.backgroundImage});var At={border:V.borders("border"),borderWidth:V.borderWidths("borderWidth"),borderStyle:V.borderStyles("borderStyle"),borderColor:V.colors("borderColor"),borderRadius:V.radii("borderRadius"),borderTop:V.borders("borderTop"),borderBlockStart:V.borders("borderBlockStart"),borderTopLeftRadius:V.radii("borderTopLeftRadius"),borderStartStartRadius:V.logical({scale:"radii",property:{ltr:"borderTopLeftRadius",rtl:"borderTopRightRadius"}}),borderEndStartRadius:V.logical({scale:"radii",property:{ltr:"borderBottomLeftRadius",rtl:"borderBottomRightRadius"}}),borderTopRightRadius:V.radii("borderTopRightRadius"),borderStartEndRadius:V.logical({scale:"radii",property:{ltr:"borderTopRightRadius",rtl:"borderTopLeftRadius"}}),borderEndEndRadius:V.logical({scale:"radii",property:{ltr:"borderBottomRightRadius",rtl:"borderBottomLeftRadius"}}),borderRight:V.borders("borderRight"),borderInlineEnd:V.borders("borderInlineEnd"),borderBottom:V.borders("borderBottom"),borderBlockEnd:V.borders("borderBlockEnd"),borderBottomLeftRadius:V.radii("borderBottomLeftRadius"),borderBottomRightRadius:V.radii("borderBottomRightRadius"),borderLeft:V.borders("borderLeft"),borderInlineStart:{property:"borderInlineStart",scale:"borders"},borderInlineStartRadius:V.logical({scale:"radii",property:{ltr:["borderTopLeftRadius","borderBottomLeftRadius"],rtl:["borderTopRightRadius","borderBottomRightRadius"]}}),borderInlineEndRadius:V.logical({scale:"radii",property:{ltr:["borderTopRightRadius","borderBottomRightRadius"],rtl:["borderTopLeftRadius","borderBottomLeftRadius"]}}),borderX:V.borders(["borderLeft","borderRight"]),borderInline:V.borders("borderInline"),borderY:V.borders(["borderTop","borderBottom"]),borderBlock:V.borders("borderBlock"),borderTopWidth:V.borderWidths("borderTopWidth"),borderBlockStartWidth:V.borderWidths("borderBlockStartWidth"),borderTopColor:V.colors("borderTopColor"),borderBlockStartColor:V.colors("borderBlockStartColor"),borderTopStyle:V.borderStyles("borderTopStyle"),borderBlockStartStyle:V.borderStyles("borderBlockStartStyle"),borderBottomWidth:V.borderWidths("borderBottomWidth"),borderBlockEndWidth:V.borderWidths("borderBlockEndWidth"),borderBottomColor:V.colors("borderBottomColor"),borderBlockEndColor:V.colors("borderBlockEndColor"),borderBottomStyle:V.borderStyles("borderBottomStyle"),borderBlockEndStyle:V.borderStyles("borderBlockEndStyle"),borderLeftWidth:V.borderWidths("borderLeftWidth"),borderInlineStartWidth:V.borderWidths("borderInlineStartWidth"),borderLeftColor:V.colors("borderLeftColor"),borderInlineStartColor:V.colors("borderInlineStartColor"),borderLeftStyle:V.borderStyles("borderLeftStyle"),borderInlineStartStyle:V.borderStyles("borderInlineStartStyle"),borderRightWidth:V.borderWidths("borderRightWidth"),borderInlineEndWidth:V.borderWidths("borderInlineEndWidth"),borderRightColor:V.colors("borderRightColor"),borderInlineEndColor:V.colors("borderInlineEndColor"),borderRightStyle:V.borderStyles("borderRightStyle"),borderInlineEndStyle:V.borderStyles("borderInlineEndStyle"),borderTopRadius:V.radii(["borderTopLeftRadius","borderTopRightRadius"]),borderBottomRadius:V.radii(["borderBottomLeftRadius","borderBottomRightRadius"]),borderLeftRadius:V.radii(["borderTopLeftRadius","borderBottomLeftRadius"]),borderRightRadius:V.radii(["borderTopRightRadius","borderBottomRightRadius"])};Object.assign(At,{rounded:At.borderRadius,roundedTop:At.borderTopRadius,roundedTopLeft:At.borderTopLeftRadius,roundedTopRight:At.borderTopRightRadius,roundedTopStart:At.borderStartStartRadius,roundedTopEnd:At.borderStartEndRadius,roundedBottom:At.borderBottomRadius,roundedBottomLeft:At.borderBottomLeftRadius,roundedBottomRight:At.borderBottomRightRadius,roundedBottomStart:At.borderEndStartRadius,roundedBottomEnd:At.borderEndEndRadius,roundedLeft:At.borderLeftRadius,roundedRight:At.borderRightRadius,roundedStart:At.borderInlineStartRadius,roundedEnd:At.borderInlineEndRadius,borderStart:At.borderInlineStart,borderEnd:At.borderInlineEnd,borderTopStartRadius:At.borderStartStartRadius,borderTopEndRadius:At.borderStartEndRadius,borderBottomStartRadius:At.borderEndStartRadius,borderBottomEndRadius:At.borderEndEndRadius,borderStartRadius:At.borderInlineStartRadius,borderEndRadius:At.borderInlineEndRadius,borderStartWidth:At.borderInlineStartWidth,borderEndWidth:At.borderInlineEndWidth,borderStartColor:At.borderInlineStartColor,borderEndColor:At.borderInlineEndColor,borderStartStyle:At.borderInlineStartStyle,borderEndStyle:At.borderInlineEndStyle});var S_={color:V.colors("color"),textColor:V.colors("color"),fill:V.colors("fill"),stroke:V.colors("stroke"),accentColor:V.colors("accentColor"),textFillColor:V.colors("textFillColor")};var Ag={alignItems:!0,alignContent:!0,justifyItems:!0,justifyContent:!0,flexWrap:!0,flexDirection:{transform:Ue.flexDirection},flex:!0,flexFlow:!0,flexGrow:!0,flexShrink:!0,flexBasis:V.sizes("flexBasis"),justifySelf:!0,alignSelf:!0,order:!0,placeItems:!0,placeContent:!0,placeSelf:!0,gap:V.space("gap"),rowGap:V.space("rowGap"),columnGap:V.space("columnGap")};Object.assign(Ag,{flexDir:Ag.flexDirection});var Fa={width:V.sizesT("width"),inlineSize:V.sizesT("inlineSize"),height:V.sizes("height"),blockSize:V.sizes("blockSize"),boxSize:V.sizes(["width","height"]),minWidth:V.sizes("minWidth"),minInlineSize:V.sizes("minInlineSize"),minHeight:V.sizes("minHeight"),minBlockSize:V.sizes("minBlockSize"),maxWidth:V.sizes("maxWidth"),maxInlineSize:V.sizes("maxInlineSize"),maxHeight:V.sizes("maxHeight"),maxBlockSize:V.sizes("maxBlockSize"),overflow:!0,overflowX:!0,overflowY:!0,overscrollBehavior:!0,overscrollBehaviorX:!0,overscrollBehaviorY:!0,display:!0,aspectRatio:!0,hideFrom:{scale:"breakpoints",transform:(e,t)=>({[`@media screen and (min-width: ${t.__breakpoints?.get(e)?.minW??e})`]:{display:"none"}})},hideBelow:{scale:"breakpoints",transform:(e,t)=>({[`@media screen and (max-width: ${t.__breakpoints?.get(e)?._minW??e})`]:{display:"none"}})},verticalAlign:!0,boxSizing:!0,boxDecorationBreak:!0,float:V.propT("float",Ue.float),objectFit:!0,objectPosition:!0,visibility:!0,isolation:!0};Object.assign(Fa,{w:Fa.width,h:Fa.height,minW:Fa.minWidth,maxW:Fa.maxWidth,minH:Fa.minHeight,maxH:Fa.maxHeight,overscroll:Fa.overscrollBehavior,overscrollX:Fa.overscrollBehaviorX,overscrollY:Fa.overscrollBehaviorY});var x_={filter:{transform:Ue.filter},blur:V.blur("--chakra-blur"),brightness:V.propT("--chakra-brightness",Ue.brightness),contrast:V.propT("--chakra-contrast",Ue.contrast),hueRotate:V.propT("--chakra-hue-rotate",Ue.hueRotate),invert:V.propT("--chakra-invert",Ue.invert),saturate:V.propT("--chakra-saturate",Ue.saturate),dropShadow:V.propT("--chakra-drop-shadow",Ue.dropShadow),backdropFilter:{transform:Ue.backdropFilter},backdropBlur:V.blur("--chakra-backdrop-blur"),backdropBrightness:V.propT("--chakra-backdrop-brightness",Ue.brightness),backdropContrast:V.propT("--chakra-backdrop-contrast",Ue.contrast),backdropHueRotate:V.propT("--chakra-backdrop-hue-rotate",Ue.hueRotate),backdropInvert:V.propT("--chakra-backdrop-invert",Ue.invert),backdropSaturate:V.propT("--chakra-backdrop-saturate",Ue.saturate)};var I_={ring:{transform:Ue.ring},ringColor:V.colors("--chakra-ring-color"),ringOffset:V.prop("--chakra-ring-offset-width"),ringOffsetColor:V.colors("--chakra-ring-offset-color"),ringInset:V.prop("--chakra-ring-inset")};var v_={appearance:!0,cursor:!0,resize:!0,userSelect:!0,pointerEvents:!0,outline:{transform:Ue.outline},outlineOffset:!0,outlineColor:V.colors("outlineColor")};var M3={gridGap:V.space("gridGap"),gridColumnGap:V.space("gridColumnGap"),gridRowGap:V.space("gridRowGap"),gridColumn:!0,gridRow:!0,gridAutoFlow:!0,gridAutoColumns:!0,gridColumnStart:!0,gridColumnEnd:!0,gridRowStart:!0,gridRowEnd:!0,gridAutoRows:!0,gridTemplate:!0,gridTemplateColumns:!0,gridTemplateRows:!0,gridTemplateAreas:!0,gridArea:!0};function boe(e,t,o,r){let n=typeof t=="string"?t.split("."):[t];for(r=0;r<n.length&&e;r+=1)e=e[n[r]];return e===void 0?o:e}var yoe=e=>{let t=new WeakMap;return(r,n,a,s)=>{if(typeof r>"u")return e(r,n,a);t.has(r)||t.set(r,new Map);let i=t.get(r);if(i.has(n))return i.get(n);let l=e(r,n,a,s);return i.set(n,l),l}},C_=yoe(boe);var Soe={border:"0px",clip:"rect(0, 0, 0, 0)",width:"1px",height:"1px",margin:"-1px",padding:"0px",overflow:"hidden",whiteSpace:"nowrap",position:"absolute"},xoe={position:"static",width:"auto",height:"auto",clip:"auto",padding:"0",margin:"0",overflow:"visible",whiteSpace:"normal"},L3=(e,t,o)=>{let r={},n=C_(e,t,{});for(let a in n)a in o&&o[a]!=null||(r[a]=n[a]);return r},w_={srOnly:{transform(e){return e===!0?Soe:e==="focusable"?xoe:{}}},layerStyle:{processResult:!0,transform:(e,t,o)=>L3(t,`layerStyles.${e}`,o)},textStyle:{processResult:!0,transform:(e,t,o)=>L3(t,`textStyles.${e}`,o)},apply:{processResult:!0,transform:(e,t,o)=>L3(t,e,o)}};var Md={position:!0,pos:V.prop("position"),zIndex:V.prop("zIndex","zIndices"),inset:V.spaceT("inset"),insetX:V.spaceT(["left","right"]),insetInline:V.spaceT("insetInline"),insetY:V.spaceT(["top","bottom"]),insetBlock:V.spaceT("insetBlock"),top:V.spaceT("top"),insetBlockStart:V.spaceT("insetBlockStart"),bottom:V.spaceT("bottom"),insetBlockEnd:V.spaceT("insetBlockEnd"),left:V.spaceT("left"),insetInlineStart:V.logical({scale:"space",property:{ltr:"left",rtl:"right"}}),right:V.spaceT("right"),insetInlineEnd:V.logical({scale:"space",property:{ltr:"right",rtl:"left"}})};Object.assign(Md,{insetStart:Md.insetInlineStart,insetEnd:Md.insetInlineEnd});var Jy={boxShadow:V.shadows("boxShadow"),mixBlendMode:!0,blendMode:V.prop("mixBlendMode"),backgroundBlendMode:!0,bgBlendMode:V.prop("backgroundBlendMode"),opacity:!0};Object.assign(Jy,{shadow:Jy.boxShadow});var Xt={margin:V.spaceT("margin"),marginTop:V.spaceT("marginTop"),marginBlockStart:V.spaceT("marginBlockStart"),marginRight:V.spaceT("marginRight"),marginInlineEnd:V.spaceT("marginInlineEnd"),marginBottom:V.spaceT("marginBottom"),marginBlockEnd:V.spaceT("marginBlockEnd"),marginLeft:V.spaceT("marginLeft"),marginInlineStart:V.spaceT("marginInlineStart"),marginX:V.spaceT(["marginInlineStart","marginInlineEnd"]),marginInline:V.spaceT("marginInline"),marginY:V.spaceT(["marginTop","marginBottom"]),marginBlock:V.spaceT("marginBlock"),padding:V.space("padding"),paddingTop:V.space("paddingTop"),paddingBlockStart:V.space("paddingBlockStart"),paddingRight:V.space("paddingRight"),paddingBottom:V.space("paddingBottom"),paddingBlockEnd:V.space("paddingBlockEnd"),paddingLeft:V.space("paddingLeft"),paddingInlineStart:V.space("paddingInlineStart"),paddingInlineEnd:V.space("paddingInlineEnd"),paddingX:V.space(["paddingInlineStart","paddingInlineEnd"]),paddingInline:V.space("paddingInline"),paddingY:V.space(["paddingTop","paddingBottom"]),paddingBlock:V.space("paddingBlock")};Object.assign(Xt,{m:Xt.margin,mt:Xt.marginTop,mr:Xt.marginRight,me:Xt.marginInlineEnd,marginEnd:Xt.marginInlineEnd,mb:Xt.marginBottom,ml:Xt.marginLeft,ms:Xt.marginInlineStart,marginStart:Xt.marginInlineStart,mx:Xt.marginX,my:Xt.marginY,p:Xt.padding,pt:Xt.paddingTop,py:Xt.paddingY,px:Xt.paddingX,pb:Xt.paddingBottom,pl:Xt.paddingLeft,ps:Xt.paddingInlineStart,paddingStart:Xt.paddingInlineStart,pr:Xt.paddingRight,pe:Xt.paddingInlineEnd,paddingEnd:Xt.paddingInlineEnd});var T_={scrollBehavior:!0,scrollSnapAlign:!0,scrollSnapStop:!0,scrollSnapType:!0,scrollMargin:V.spaceT("scrollMargin"),scrollMarginTop:V.spaceT("scrollMarginTop"),scrollMarginBottom:V.spaceT("scrollMarginBottom"),scrollMarginLeft:V.spaceT("scrollMarginLeft"),scrollMarginRight:V.spaceT("scrollMarginRight"),scrollMarginX:V.spaceT(["scrollMarginLeft","scrollMarginRight"]),scrollMarginY:V.spaceT(["scrollMarginTop","scrollMarginBottom"]),scrollPadding:V.spaceT("scrollPadding"),scrollPaddingTop:V.spaceT("scrollPaddingTop"),scrollPaddingBottom:V.spaceT("scrollPaddingBottom"),scrollPaddingLeft:V.spaceT("scrollPaddingLeft"),scrollPaddingRight:V.spaceT("scrollPaddingRight"),scrollPaddingX:V.spaceT(["scrollPaddingLeft","scrollPaddingRight"]),scrollPaddingY:V.spaceT(["scrollPaddingTop","scrollPaddingBottom"])};var A_={fontFamily:V.prop("fontFamily","fonts"),fontSize:V.prop("fontSize","fontSizes",Ue.px),fontWeight:V.prop("fontWeight","fontWeights"),lineHeight:V.prop("lineHeight","lineHeights"),letterSpacing:V.prop("letterSpacing","letterSpacings"),textAlign:!0,fontStyle:!0,textIndent:!0,wordBreak:!0,overflowWrap:!0,textOverflow:!0,textTransform:!0,whiteSpace:!0,isTruncated:{transform(e){if(e===!0)return{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}}},noOfLines:{static:{overflow:"hidden",textOverflow:"ellipsis",display:"-webkit-box",WebkitBoxOrient:"vertical",WebkitLineClamp:"var(--chakra-line-clamp)"},property:"--chakra-line-clamp"}};var k_={textDecorationColor:V.colors("textDecorationColor"),textDecoration:!0,textDecor:{property:"textDecoration"},textDecorationLine:!0,textDecorationStyle:!0,textDecorationThickness:!0,textUnderlineOffset:!0,textShadow:V.shadows("textShadow")};var M_={clipPath:!0,transform:V.propT("transform",Ue.transform),transformOrigin:!0,translateX:V.spaceT("--chakra-translate-x"),translateY:V.spaceT("--chakra-translate-y"),skewX:V.degreeT("--chakra-skew-x"),skewY:V.degreeT("--chakra-skew-y"),scaleX:V.prop("--chakra-scale-x"),scaleY:V.prop("--chakra-scale-y"),scale:V.prop(["--chakra-scale-x","--chakra-scale-y"]),rotate:V.degreeT("--chakra-rotate")};var L_={listStyleType:!0,listStylePosition:!0,listStylePos:V.prop("listStylePosition"),listStyleImage:!0,listStyleImg:V.prop("listStyleImage")};var P_={transition:!0,transitionDelay:!0,animation:!0,willChange:!0,transitionDuration:V.prop("transitionDuration","transition.duration"),transitionProperty:V.prop("transitionProperty","transition.property"),transitionTimingFunction:V.prop("transitionTimingFunction","transition.easing")};var kg=(0,Zr.default)({},Tg,At,S_,Ag,Fa,x_,I_,v_,M3,w_,Md,Jy,Xt,T_,A_,k_,M_,L_,P_),Ioe=Object.assign({},Xt,Fa,Ag,M3,Md),P3=Object.keys(Ioe),E3=[...Object.keys(kg),...Yy],voe={...kg,...um},B3=e=>e in voe;var E_=e=>t=>{if(!t.__breakpoints)return e;let{isResponsive:o,toArrayValue:r,media:n}=t.__breakpoints,a={};for(let s in e){let i=Br(e[s],t);if(i==null)continue;if(i=Et(i)&&o(i)?r(i):i,!Array.isArray(i)){a[s]=i;continue}let l=i.slice(0,n.length).length;for(let c=0;c<l;c+=1){let u=n?.[c];if(!u){a[s]=i[c];continue}a[u]=a[u]||{},i[c]!=null&&(a[u][s]=i[c])}}return a};function B_(e){let t=[],o="",r=!1;for(let n=0;n<e.length;n++){let a=e[n];a==="("?(r=!0,o+=a):a===")"?(r=!1,o+=a):a===","&&!r?(t.push(o),o=""):o+=a}return o=o.trim(),o&&t.push(o),t}function Coe(e){return/^var\(--.+\)$/.test(e)}var woe=(e,t)=>e.startsWith("--")&&typeof t=="string"&&!Coe(t),Toe=(e,t)=>{if(t==null)return t;let o=s=>e.__cssMap?.[s]?.varRef,r=s=>o(s)??s,[n,a]=B_(t);return t=o(n)??r(a)??r(t),t};function D_(e){let{configs:t={},pseudos:o={},theme:r}=e,n=(a,s=!1)=>{let i=Br(a,r),l=E_(i)(r),c={};for(let u in l){let m=l[u],f=Br(m,r);u in o&&(u=o[u]),woe(u,f)&&(f=Toe(r,f));let d=t[u];if(d===!0&&(d={property:u}),Et(f)){c[u]=c[u]??{},c[u]=(0,Zr.default)({},c[u],n(f,!0));continue}let p=d?.transform?.(f,r,i)??f;p=d?.processResult?n(p,!0):p;let h=Br(d?.property,r);if(!s&&d?.static){let S=Br(d.static,r);c=(0,Zr.default)({},c,S)}if(h&&Array.isArray(h)){for(let S of h)c[S]=p;continue}if(h){h==="&"&&Et(p)?c=(0,Zr.default)({},c,p):c[h]=p;continue}if(Et(p)){c=(0,Zr.default)({},c,p);continue}c[u]=p}return c};return n}var Mg=e=>t=>D_({theme:t,pseudos:um,configs:kg})(e);function _e(e){return{definePartsStyle(t){return t},defineMultiStyleConfig(t){return{parts:e,...t}}}}function D3(e,t,o){return e.__cssMap?.[`${t}.${o}`]?.varRef??o}function Aoe(e,t){if(Array.isArray(e))return e;if(Et(e))return t(e);if(e!=null)return[e]}function koe(e,t){for(let o=t+1;o<e.length;o++)if(e[o]!=null)return o;return-1}function Moe(e){let t=e.__breakpoints;return function(r,n,a,s){if(!t)return;let i={},l=Aoe(a,t.toArrayValue);if(!l)return i;let c=l.length,u=c===1,m=!!r.parts;for(let f=0;f<c;f++){let d=t.details[f],p=t.details[koe(l,f)],h=nm(d.minW,p?._minW),S=Br(r[n]?.[l[f]],s);if(S){if(m){r.parts?.forEach(g=>{(0,Zr.default)(i,{[g]:u?S[g]:{[h]:S[g]}})});continue}if(!m){u?(0,Zr.default)(i,S):i[h]=S;continue}i[h]=S}}return i}}function R3(e){return t=>{let{variant:o,size:r,theme:n}=t,a=Moe(n);return(0,Zr.default)({},Br(e.baseStyle??{},t),a(e,"sizes",r,t),a(e,"variants",o,t))}}function qe(e){return pl(e,["styleConfig","size","variant","colorScheme"])}function O_(e){return Et(e)&&e.reference?e.reference:String(e)}var eS=(e,...t)=>t.map(O_).join(` ${e} `).replace(/calc/g,""),R_=(...e)=>`calc(${eS("+",...e)})`,__=(...e)=>`calc(${eS("-",...e)})`,_3=(...e)=>`calc(${eS("*",...e)})`,F_=(...e)=>`calc(${eS("/",...e)})`,H_=e=>{let t=O_(e);return t!=null&&!Number.isNaN(parseFloat(t))?String(t).startsWith("-")?String(t).slice(1):`-${t}`:_3(t,-1)},ds=Object.assign(e=>({add:(...t)=>ds(R_(e,...t)),subtract:(...t)=>ds(__(e,...t)),multiply:(...t)=>ds(_3(e,...t)),divide:(...t)=>ds(F_(e,...t)),negate:()=>ds(H_(e)),toString:()=>e.toString()}),{add:R_,subtract:__,multiply:_3,divide:F_,negate:H_});function Loe(e,t="-"){return e.replace(/\s+/g,t)}function Poe(e){let t=Loe(e.toString());return Boe(Eoe(t))}function Eoe(e){return e.includes("\\.")?e:!Number.isInteger(parseFloat(e.toString()))?e.replace(".","\\."):e}function Boe(e){return e.replace(/[!-,/:-@[-^`{-~]/g,"\\$&")}function V_(e,t=""){return[t,e].filter(Boolean).join("-")}function N_(e,t){return`var(${e}${t?`, ${t}`:""})`}function z_(e,t=""){return Poe(`--${V_(e,t)}`)}function Ie(e,t,o){let r=z_(e,o);return{variable:r,reference:N_(r,t)}}function F3(e,t){let o={};for(let r of t){if(Array.isArray(r)){let[n,a]=r;o[n]=Ie(`${e}-${n}`,a);continue}o[r]=Ie(`${e}-${r}`)}return o}var Doe=["colors","borders","borderWidths","borderStyles","fonts","fontSizes","fontWeights","gradients","letterSpacings","lineHeights","radii","space","shadows","sizes","zIndices","transition","blur","breakpoints"];function W_(e){return gg(e,Doe)}function U_(e){return e.semanticTokens}function Z_(e){let{__cssMap:t,__cssVars:o,__breakpoints:r,...n}=e;return n}function j_(e){let t=W_(e),o=U_(e),r=a=>Yy.includes(a)||a==="default",n={};return Ny(t,(a,s)=>{a!=null&&(n[s.join(".")]={isSemantic:!1,value:a})}),Ny(o,(a,s)=>{a!=null&&(n[s.join(".")]={isSemantic:!0,value:a})},{stop:a=>Object.keys(a).every(r)}),n}function G_(e,t){return Ie(String(e).replace(/\./g,"-"),void 0,t)}function $_(e){let t=j_(e),o=e.config?.cssVarPrefix,r={},n={};function a(s,i){let c=[String(s).split(".")[0],i].join(".");if(!t[c])return i;let{reference:m}=G_(c,o);return m}for(let[s,i]of Object.entries(t)){let{isSemantic:l,value:c}=i,{variable:u,reference:m}=G_(s,o);if(!l){if(s.startsWith("space")){let d=s.split("."),[p,...h]=d,S=`${p}.-${h.join(".")}`,g=ds.negate(c),b=ds.negate(m);n[S]={value:g,var:u,varRef:b}}r[u]=c,n[s]={value:c,var:u,varRef:m};continue}let f=Et(c)?c:{default:c};r=(0,Zr.default)(r,Object.entries(f).reduce((d,[p,h])=>{if(!h)return d;let S=a(s,`${h}`);if(p==="default")return d[u]=S,d;let g=um?.[p]??p;return d[g]={[u]:S},d},{})),n[s]={value:m,var:u,varRef:m}}return{cssVars:r,cssMap:n}}function H3(e){let t=Z_(e),{cssMap:o,cssVars:r}=$_(t);return Object.assign(t,{__cssVars:{...{"--chakra-ring-inset":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-ring-offset-width":"0px","--chakra-ring-offset-color":"#fff","--chakra-ring-color":"rgba(66, 153, 225, 0.6)","--chakra-ring-offset-shadow":"0 0 #0000","--chakra-ring-shadow":"0 0 #0000","--chakra-space-x-reverse":"0","--chakra-space-y-reverse":"0"},...r},__cssMap:o,__breakpoints:s3(t.breakpoints)}),t}function kt(e,t={}){let o=!1;function r(){if(!o){o=!0;return}throw new Error("[anatomy] .part(...) should only be called once. Did you mean to use .extend(...) ?")}function n(...u){r();for(let m of u)t[m]=l(m);return kt(e,t)}function a(...u){for(let m of u)m in t||(t[m]=l(m));return kt(e,t)}function s(){return Object.fromEntries(Object.entries(t).map(([m,f])=>[m,f.selector]))}function i(){return Object.fromEntries(Object.entries(t).map(([m,f])=>[m,f.className]))}function l(u){let d=`chakra-${(["container","root"].includes(u??"")?[e]:[e,u]).filter(Boolean).join("__")}`;return{className:d,selector:`.${d}`,toString:()=>u}}return{parts:n,toPart:l,extend:a,selectors:s,classnames:i,get keys(){return Object.keys(t)},__type:{}}}var O3=kt("accordion").parts("root","container","button","panel","icon"),V3=kt("alert").parts("title","description","container","icon","spinner"),N3=kt("avatar").parts("label","badge","container","excessLabel","group"),z3=kt("breadcrumb").parts("link","item","container","separator"),Roe=kt("button").parts(),W3=kt("checkbox").parts("control","icon","container","label"),_oe=kt("progress").parts("track","filledTrack","label"),U3=kt("drawer").parts("overlay","dialogContainer","dialog","header","closeButton","body","footer"),Z3=kt("editable").parts("preview","input","textarea"),j3=kt("form").parts("container","requiredIndicator","helperText"),G3=kt("formError").parts("text","icon"),$3=kt("input").parts("addon","field","element","group"),q3=kt("list").parts("container","item","icon"),X3=kt("menu").parts("button","list","item","groupTitle","icon","command","divider"),Y3=kt("modal").parts("overlay","dialogContainer","dialog","header","closeButton","body","footer"),K3=kt("numberinput").parts("root","field","stepperGroup","stepper"),Foe=kt("pininput").parts("field"),Q3=kt("popover").parts("content","header","body","footer","popper","arrow","closeButton"),J3=kt("progress").parts("label","filledTrack","track"),eT=kt("radio").parts("container","control","label"),tT=kt("select").parts("field","icon"),oT=kt("slider").parts("container","track","thumb","filledTrack","mark"),rT=kt("stat").parts("container","label","helpText","number","icon"),nT=kt("switch").parts("container","track","thumb","label"),aT=kt("table").parts("table","thead","tbody","tr","th","td","tfoot","caption"),sT=kt("tabs").parts("root","tab","tablist","tabpanel","tabpanels","indicator"),iT=kt("tag").parts("container","label","closeButton"),lT=kt("card").parts("container","header","body","footer"),Hoe=kt("stepper").parts("stepper","step","title","description","indicator","separator","icon","number");var{definePartsStyle:Ooe,defineMultiStyleConfig:Voe}=_e(O3.keys),Noe={borderTopWidth:"1px",borderColor:"inherit",_last:{borderBottomWidth:"1px"}},zoe={transitionProperty:"common",transitionDuration:"normal",fontSize:"md",_focusVisible:{boxShadow:"outline"},_hover:{bg:"blackAlpha.50"},_disabled:{opacity:.4,cursor:"not-allowed"},px:"4",py:"2"},Woe={pt:"2",px:"4",pb:"5"},Uoe={fontSize:"1.25em"},Zoe=Ooe({container:Noe,button:zoe,panel:Woe,icon:Uoe}),q_=Voe({baseStyle:Zoe});function mm(e,t,o){return Math.min(Math.max(e,o),t)}var cT=class extends Error{constructor(t){super(`Failed to parse color: "${t}"`)}},Lg=cT;function oS(e){if(typeof e!="string")throw new Lg(e);if(e.trim().toLowerCase()==="transparent")return[0,0,0,0];let t=e.trim();t=Qoe.test(e)?$oe(e):e;let o=qoe.exec(t);if(o){let s=Array.from(o).slice(1);return[...s.slice(0,3).map(i=>parseInt(Pg(i,2),16)),parseInt(Pg(s[3]||"f",2),16)/255]}let r=Xoe.exec(t);if(r){let s=Array.from(r).slice(1);return[...s.slice(0,3).map(i=>parseInt(i,16)),parseInt(s[3]||"ff",16)/255]}let n=Yoe.exec(t);if(n){let s=Array.from(n).slice(1);return[...s.slice(0,3).map(i=>parseInt(i,10)),parseFloat(s[3]||"1")]}let a=Koe.exec(t);if(a){let[s,i,l,c]=Array.from(a).slice(1).map(parseFloat);if(mm(0,100,i)!==i)throw new Lg(e);if(mm(0,100,l)!==l)throw new Lg(e);return[...Joe(s,i,l),Number.isNaN(c)?1:c]}throw new Lg(e)}function joe(e){let t=5381,o=e.length;for(;o;)t=t*33^e.charCodeAt(--o);return(t>>>0)%2341}var X_=e=>parseInt(e.replace(/_/g,""),36),Goe="1q29ehhb 1n09sgk7 1kl1ekf_ _yl4zsno 16z9eiv3 1p29lhp8 _bd9zg04 17u0____ _iw9zhe5 _to73___ _r45e31e _7l6g016 _jh8ouiv _zn3qba8 1jy4zshs 11u87k0u 1ro9yvyo 1aj3xael 1gz9zjz0 _3w8l4xo 1bf1ekf_ _ke3v___ _4rrkb__ 13j776yz _646mbhl _nrjr4__ _le6mbhl 1n37ehkb _m75f91n _qj3bzfz 1939yygw 11i5z6x8 _1k5f8xs 1509441m 15t5lwgf _ae2th1n _tg1ugcv 1lp1ugcv 16e14up_ _h55rw7n _ny9yavn _7a11xb_ 1ih442g9 _pv442g9 1mv16xof 14e6y7tu 1oo9zkds 17d1cisi _4v9y70f _y98m8kc 1019pq0v 12o9zda8 _348j4f4 1et50i2o _8epa8__ _ts6senj 1o350i2o 1mi9eiuo 1259yrp0 1ln80gnw _632xcoy 1cn9zldc _f29edu4 1n490c8q _9f9ziet 1b94vk74 _m49zkct 1kz6s73a 1eu9dtog _q58s1rz 1dy9sjiq __u89jo3 _aj5nkwg _ld89jo3 13h9z6wx _qa9z2ii _l119xgq _bs5arju 1hj4nwk9 1qt4nwk9 1ge6wau6 14j9zlcw 11p1edc_ _ms1zcxe _439shk6 _jt9y70f _754zsow 1la40eju _oq5p___ _x279qkz 1fa5r3rv _yd2d9ip _424tcku _8y1di2_ _zi2uabw _yy7rn9h 12yz980_ __39ljp6 1b59zg0x _n39zfzp 1fy9zest _b33k___ _hp9wq92 1il50hz4 _io472ub _lj9z3eo 19z9ykg0 _8t8iu3a 12b9bl4a 1ak5yw0o _896v4ku _tb8k8lv _s59zi6t _c09ze0p 1lg80oqn 1id9z8wb _238nba5 1kq6wgdi _154zssg _tn3zk49 _da9y6tc 1sg7cv4f _r12jvtt 1gq5fmkz 1cs9rvci _lp9jn1c _xw1tdnb 13f9zje6 16f6973h _vo7ir40 _bt5arjf _rc45e4t _hr4e100 10v4e100 _hc9zke2 _w91egv_ _sj2r1kk 13c87yx8 _vqpds__ _ni8ggk8 _tj9yqfb 1ia2j4r4 _7x9b10u 1fc9ld4j 1eq9zldr _5j9lhpx _ez9zl6o _md61fzm".split(" ").reduce((e,t)=>{let o=X_(t.substring(0,3)),r=X_(t.substring(3)).toString(16),n="";for(let a=0;a<6-r.length;a++)n+="0";return e[o]=`${n}${r}`,e},{});function $oe(e){let t=e.toLowerCase().trim(),o=Goe[joe(t)];if(!o)throw new Lg(e);return`#${o}`}var Pg=(e,t)=>Array.from(Array(t)).map(()=>e).join(""),qoe=new RegExp(`^#${Pg("([a-f0-9])",3)}([a-f0-9])?$`,"i"),Xoe=new RegExp(`^#${Pg("([a-f0-9]{2})",3)}([a-f0-9]{2})?$`,"i"),Yoe=new RegExp(`^rgba?\\(\\s*(\\d+)\\s*${Pg(",\\s*(\\d+)\\s*",2)}(?:,\\s*([\\d.]+))?\\s*\\)$`,"i"),Koe=/^hsla?\(\s*([\d.]+)\s*,\s*([\d.]+)%\s*,\s*([\d.]+)%(?:\s*,\s*([\d.]+))?\s*\)$/i,Qoe=/^[a-z]+$/i,Y_=e=>Math.round(e*255),Joe=(e,t,o)=>{let r=o/100;if(t===0)return[r,r,r].map(Y_);let n=(e%360+360)%360/60,a=(1-Math.abs(2*r-1))*(t/100),s=a*(1-Math.abs(n%2-1)),i=0,l=0,c=0;n>=0&&n<1?(i=a,l=s):n>=1&&n<2?(i=s,l=a):n>=2&&n<3?(l=a,c=s):n>=3&&n<4?(l=s,c=a):n>=4&&n<5?(i=s,c=a):n>=5&&n<6&&(i=a,c=s);let u=r-a/2,m=i+u,f=l+u,d=c+u;return[m,f,d].map(Y_)};function ere(e,t,o,r){return`rgba(${mm(0,255,e).toFixed()}, ${mm(0,255,t).toFixed()}, ${mm(0,255,o).toFixed()}, ${parseFloat(mm(0,1,r).toFixed(3))})`}function K_(e,t){let[o,r,n,a]=oS(e);return ere(o,r,n,a-t)}function Q_(e){let[t,o,r,n]=oS(e),a=s=>{let i=mm(0,255,s).toString(16);return i.length===1?`0${i}`:i};return`#${a(t)}${a(o)}${a(r)}${n<1?a(Math.round(n*255)):""}`}var tre=e=>Object.keys(e).length===0;function ore(e,t,o,r,n){for(t=t.split?t.split("."):t,r=0;r<t.length;r++)e=e?e[t[r]]:n;return e===n?o:e}var Gr=(e,t,o)=>{let r=ore(e,`colors.${t}`,t);try{return Q_(r),r}catch{return o??"#000000"}};var rre=e=>{let[t,o,r]=oS(e);return(t*299+o*587+r*114)/1e3},J_=e=>t=>{let o=Gr(t,e);return rre(o)<128?"dark":"light"},uT=e=>t=>J_(e)(t)==="dark";var Si=(e,t)=>o=>{let r=Gr(o,e);return K_(r,1-t)};function rS(e="1rem",t="rgba(255, 255, 255, 0.15)"){return{backgroundImage:`linear-gradient(
|
|
845
|
+
45deg,
|
|
846
|
+
${t} 25%,
|
|
847
|
+
transparent 25%,
|
|
848
|
+
transparent 50%,
|
|
849
|
+
${t} 50%,
|
|
850
|
+
${t} 75%,
|
|
851
|
+
transparent 75%,
|
|
852
|
+
transparent
|
|
853
|
+
)`,backgroundSize:`${e} ${e}`}}var nre=()=>`#${Math.floor(Math.random()*16777215).toString(16).padEnd(6,"0")}`;function mT(e){let t=nre();return!e||tre(e)?t:e.string&&e.colors?sre(e.string,e.colors):e.string&&!e.colors?are(e.string):e.colors&&!e.string?ire(e.colors):t}function are(e){let t=0;if(e.length===0)return t.toString();for(let r=0;r<e.length;r+=1)t=e.charCodeAt(r)+((t<<5)-t),t=t&t;let o="#";for(let r=0;r<3;r+=1){let n=t>>r*8&255;o+=`00${n.toString(16)}`.substr(-2)}return o}function sre(e,t){let o=0;if(e.length===0)return t[0];for(let r=0;r<e.length;r+=1)o=e.charCodeAt(r)+((o<<5)-o),o=o&o;return o=(o%t.length+t.length)%t.length,t[o]}function ire(e){return e[Math.floor(Math.random()*e.length)]}function U(e,t){return o=>o.colorMode==="dark"?t:e}function Eg(e){let{orientation:t,vertical:o,horizontal:r}=e;return t?t==="vertical"?o:r:{}}function nF(e){return Et(e)&&e.reference?e.reference:String(e)}var nS=(e,...t)=>t.map(nF).join(` ${e} `).replace(/calc/g,""),eF=(...e)=>`calc(${nS("+",...e)})`,tF=(...e)=>`calc(${nS("-",...e)})`,fT=(...e)=>`calc(${nS("*",...e)})`,oF=(...e)=>`calc(${nS("/",...e)})`,rF=e=>{let t=nF(e);return t!=null&&!Number.isNaN(parseFloat(t))?String(t).startsWith("-")?String(t).slice(1):`-${t}`:fT(t,-1)},ps=Object.assign(e=>({add:(...t)=>ps(eF(e,...t)),subtract:(...t)=>ps(tF(e,...t)),multiply:(...t)=>ps(fT(e,...t)),divide:(...t)=>ps(oF(e,...t)),negate:()=>ps(rF(e)),toString:()=>e.toString()}),{add:eF,subtract:tF,multiply:fT,divide:oF,negate:rF});function aF(e){return!Number.isInteger(parseFloat(e.toString()))}function lre(e,t="-"){return e.replace(/\s+/g,t)}function sF(e){let t=lre(e.toString());return t.includes("\\.")?e:aF(e)?t.replace(".","\\."):e}function iF(e,t=""){return[t,sF(e)].filter(Boolean).join("-")}function lF(e,t){return`var(${sF(e)}${t?`, ${t}`:""})`}function cF(e,t=""){return`--${iF(e,t)}`}function Yt(e,t){let o=cF(e,t?.prefix);return{variable:o,reference:lF(o,cre(t?.fallback))}}function cre(e){return typeof e=="string"?e:e?.reference}var{definePartsStyle:Bg,defineMultiStyleConfig:ure}=_e(V3.keys),Ha=Ie("alert-fg"),yl=Ie("alert-bg"),mre=Bg({container:{bg:yl.reference,px:"4",py:"3"},title:{fontWeight:"bold",lineHeight:"6",marginEnd:"2"},description:{lineHeight:"6"},icon:{color:Ha.reference,flexShrink:0,marginEnd:"3",w:"5",h:"6"},spinner:{color:Ha.reference,flexShrink:0,marginEnd:"3",w:"5",h:"5"}});function dT(e){let{theme:t,colorScheme:o}=e,r=Si(`${o}.200`,.16)(t);return{light:`colors.${o}.100`,dark:r}}var fre=Bg(e=>{let{colorScheme:t}=e,o=dT(e);return{container:{[Ha.variable]:`colors.${t}.600`,[yl.variable]:o.light,_dark:{[Ha.variable]:`colors.${t}.200`,[yl.variable]:o.dark}}}}),dre=Bg(e=>{let{colorScheme:t}=e,o=dT(e);return{container:{[Ha.variable]:`colors.${t}.600`,[yl.variable]:o.light,_dark:{[Ha.variable]:`colors.${t}.200`,[yl.variable]:o.dark},paddingStart:"3",borderStartWidth:"4px",borderStartColor:Ha.reference}}}),pre=Bg(e=>{let{colorScheme:t}=e,o=dT(e);return{container:{[Ha.variable]:`colors.${t}.600`,[yl.variable]:o.light,_dark:{[Ha.variable]:`colors.${t}.200`,[yl.variable]:o.dark},pt:"2",borderTopWidth:"4px",borderTopColor:Ha.reference}}}),hre=Bg(e=>{let{colorScheme:t}=e;return{container:{[Ha.variable]:"colors.white",[yl.variable]:`colors.${t}.600`,_dark:{[Ha.variable]:"colors.gray.900",[yl.variable]:`colors.${t}.200`},color:Ha.reference}}}),gre={subtle:fre,"left-accent":dre,"top-accent":pre,solid:hre},uF=ure({baseStyle:mre,variants:gre,defaultProps:{variant:"subtle",colorScheme:"blue"}});var aS={px:"1px",.5:"0.125rem",1:"0.25rem",1.5:"0.375rem",2:"0.5rem",2.5:"0.625rem",3:"0.75rem",3.5:"0.875rem",4:"1rem",5:"1.25rem",6:"1.5rem",7:"1.75rem",8:"2rem",9:"2.25rem",10:"2.5rem",12:"3rem",14:"3.5rem",16:"4rem",20:"5rem",24:"6rem",28:"7rem",32:"8rem",36:"9rem",40:"10rem",44:"11rem",48:"12rem",52:"13rem",56:"14rem",60:"15rem",64:"16rem",72:"18rem",80:"20rem",96:"24rem"};var bre={max:"max-content",min:"min-content",full:"100%","3xs":"14rem","2xs":"16rem",xs:"20rem",sm:"24rem",md:"28rem",lg:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem","7xl":"80rem","8xl":"90rem",prose:"60ch"},yre={sm:"640px",md:"768px",lg:"1024px",xl:"1280px"},sS={...aS,...bre,container:yre};var Sre=e=>typeof e=="function";function ho(e,...t){return Sre(e)?e(...t):e}var{definePartsStyle:mF,defineMultiStyleConfig:xre}=_e(N3.keys),Ld=Ie("avatar-border-color"),Dg=Ie("avatar-bg"),Rg=Ie("avatar-font-size"),Pd=Ie("avatar-size"),Ire={borderRadius:"full",border:"0.2em solid",borderColor:Ld.reference,[Ld.variable]:"white",_dark:{[Ld.variable]:"colors.gray.800"}},vre={bg:Dg.reference,fontSize:Rg.reference,width:Pd.reference,height:Pd.reference,lineHeight:"1",[Dg.variable]:"colors.gray.200",_dark:{[Dg.variable]:"colors.whiteAlpha.400"}},Cre=e=>{let{name:t,theme:o}=e,r=t?mT({string:t}):"colors.gray.400",n=uT(r)(o),a="white";return n||(a="gray.800"),{bg:Dg.reference,fontSize:Rg.reference,color:a,borderColor:Ld.reference,verticalAlign:"top",width:Pd.reference,height:Pd.reference,"&:not([data-loaded])":{[Dg.variable]:r},[Ld.variable]:"colors.white",_dark:{[Ld.variable]:"colors.gray.800"}}},wre={fontSize:Rg.reference,lineHeight:"1"},Tre=mF(e=>({badge:ho(Ire,e),excessLabel:ho(vre,e),container:ho(Cre,e),label:wre}));function Oc(e){let t=e!=="100%"?sS[e]:void 0;return mF({container:{[Pd.variable]:t??e,[Rg.variable]:`calc(${t??e} / 2.5)`},excessLabel:{[Pd.variable]:t??e,[Rg.variable]:`calc(${t??e} / 2.5)`}})}var Are={"2xs":Oc(4),xs:Oc(6),sm:Oc(8),md:Oc(12),lg:Oc(16),xl:Oc(24),"2xl":Oc(32),full:Oc("100%")},fF=xre({baseStyle:Tre,sizes:Are,defaultProps:{size:"md"}});var go=F3("badge",["bg","color","shadow"]),kre={px:1,textTransform:"uppercase",fontSize:"xs",borderRadius:"sm",fontWeight:"bold",bg:go.bg.reference,color:go.color.reference,boxShadow:go.shadow.reference},Mre=e=>{let{colorScheme:t,theme:o}=e,r=Si(`${t}.500`,.6)(o);return{[go.bg.variable]:`colors.${t}.500`,[go.color.variable]:"colors.white",_dark:{[go.bg.variable]:r,[go.color.variable]:"colors.whiteAlpha.800"}}},Lre=e=>{let{colorScheme:t,theme:o}=e,r=Si(`${t}.200`,.16)(o);return{[go.bg.variable]:`colors.${t}.100`,[go.color.variable]:`colors.${t}.800`,_dark:{[go.bg.variable]:r,[go.color.variable]:`colors.${t}.200`}}},Pre=e=>{let{colorScheme:t,theme:o}=e,r=Si(`${t}.200`,.8)(o);return{[go.color.variable]:`colors.${t}.500`,_dark:{[go.color.variable]:r},[go.shadow.variable]:`inset 0 0 0px 1px ${go.color.reference}`}},Ere={solid:Mre,subtle:Lre,outline:Pre},Vc={baseStyle:kre,variants:Ere,defaultProps:{variant:"subtle",colorScheme:"gray"}};var{defineMultiStyleConfig:Bre,definePartsStyle:Dre}=_e(z3.keys),pT=Ie("breadcrumb-link-decor"),Rre={transitionProperty:"common",transitionDuration:"fast",transitionTimingFunction:"ease-out",outline:"none",color:"inherit",textDecoration:pT.reference,[pT.variable]:"none","&:not([aria-current=page])":{cursor:"pointer",_hover:{[pT.variable]:"underline"},_focusVisible:{boxShadow:"outline"}}},_re=Dre({link:Rre}),dF=Bre({baseStyle:_re});var Fre={lineHeight:"1.2",borderRadius:"md",fontWeight:"semibold",transitionProperty:"common",transitionDuration:"normal",_focusVisible:{boxShadow:"outline"},_disabled:{opacity:.4,cursor:"not-allowed",boxShadow:"none"},_hover:{_disabled:{bg:"initial"}}},pF=e=>{let{colorScheme:t,theme:o}=e;if(t==="gray")return{color:U("gray.800","whiteAlpha.900")(e),_hover:{bg:U("gray.100","whiteAlpha.200")(e)},_active:{bg:U("gray.200","whiteAlpha.300")(e)}};let r=Si(`${t}.200`,.12)(o),n=Si(`${t}.200`,.24)(o);return{color:U(`${t}.600`,`${t}.200`)(e),bg:"transparent",_hover:{bg:U(`${t}.50`,r)(e)},_active:{bg:U(`${t}.100`,n)(e)}}},Hre=e=>{let{colorScheme:t}=e,o=U("gray.200","whiteAlpha.300")(e);return{border:"1px solid",borderColor:t==="gray"?o:"currentColor",".chakra-button__group[data-attached][data-orientation=horizontal] > &:not(:last-of-type)":{marginEnd:"-1px"},".chakra-button__group[data-attached][data-orientation=vertical] > &:not(:last-of-type)":{marginBottom:"-1px"},...ho(pF,e)}},Ore={yellow:{bg:"yellow.400",color:"black",hoverBg:"yellow.500",activeBg:"yellow.600"},cyan:{bg:"cyan.400",color:"black",hoverBg:"cyan.500",activeBg:"cyan.600"}},Vre=e=>{let{colorScheme:t}=e;if(t==="gray"){let i=U("gray.100","whiteAlpha.200")(e);return{bg:i,color:U("gray.800","whiteAlpha.900")(e),_hover:{bg:U("gray.200","whiteAlpha.300")(e),_disabled:{bg:i}},_active:{bg:U("gray.300","whiteAlpha.400")(e)}}}let{bg:o=`${t}.500`,color:r="white",hoverBg:n=`${t}.600`,activeBg:a=`${t}.700`}=Ore[t]??{},s=U(o,`${t}.200`)(e);return{bg:s,color:U(r,"gray.800")(e),_hover:{bg:U(n,`${t}.300`)(e),_disabled:{bg:s}},_active:{bg:U(a,`${t}.400`)(e)}}},Nre=e=>{let{colorScheme:t}=e;return{padding:0,height:"auto",lineHeight:"normal",verticalAlign:"baseline",color:U(`${t}.500`,`${t}.200`)(e),_hover:{textDecoration:"underline",_disabled:{textDecoration:"none"}},_active:{color:U(`${t}.700`,`${t}.500`)(e)}}},zre={bg:"none",color:"inherit",display:"inline",lineHeight:"inherit",m:"0",p:"0"},Wre={ghost:pF,outline:Hre,solid:Vre,link:Nre,unstyled:zre},Ure={lg:{h:"12",minW:"12",fontSize:"lg",px:"6"},md:{h:"10",minW:"10",fontSize:"md",px:"4"},sm:{h:"8",minW:"8",fontSize:"sm",px:"3"},xs:{h:"6",minW:"6",fontSize:"xs",px:"2"}},hF={baseStyle:Fre,variants:Wre,sizes:Ure,defaultProps:{variant:"solid",size:"md",colorScheme:"gray"}};var{definePartsStyle:fm,defineMultiStyleConfig:Zre}=_e(lT.keys),lS=Ie("card-bg"),Sl=Ie("card-padding"),gF=Ie("card-shadow"),iS=Ie("card-radius"),bF=Ie("card-border-width","0"),yF=Ie("card-border-color"),jre=fm({container:{[lS.variable]:"colors.chakra-body-bg",backgroundColor:lS.reference,boxShadow:gF.reference,borderRadius:iS.reference,color:"chakra-body-text",borderWidth:bF.reference,borderColor:yF.reference},body:{padding:Sl.reference,flex:"1 1 0%"},header:{padding:Sl.reference},footer:{padding:Sl.reference}}),Gre={sm:fm({container:{[iS.variable]:"radii.base",[Sl.variable]:"space.3"}}),md:fm({container:{[iS.variable]:"radii.md",[Sl.variable]:"space.5"}}),lg:fm({container:{[iS.variable]:"radii.xl",[Sl.variable]:"space.7"}})},$re={elevated:fm({container:{[gF.variable]:"shadows.base",_dark:{[lS.variable]:"colors.gray.700"}}}),outline:fm({container:{[bF.variable]:"1px",[yF.variable]:"colors.chakra-border-color"}}),filled:fm({container:{[lS.variable]:"colors.chakra-subtle-bg"}}),unstyled:{body:{[Sl.variable]:0},header:{[Sl.variable]:0},footer:{[Sl.variable]:0}}},SF=Zre({baseStyle:jre,variants:$re,sizes:Gre,defaultProps:{variant:"elevated",size:"md"}});var{definePartsStyle:cS,defineMultiStyleConfig:qre}=_e(W3.keys),_g=Ie("checkbox-size"),Xre=e=>{let{colorScheme:t}=e;return{w:_g.reference,h:_g.reference,transitionProperty:"box-shadow",transitionDuration:"normal",border:"2px solid",borderRadius:"sm",borderColor:"inherit",color:"white",_checked:{bg:U(`${t}.500`,`${t}.200`)(e),borderColor:U(`${t}.500`,`${t}.200`)(e),color:U("white","gray.900")(e),_hover:{bg:U(`${t}.600`,`${t}.300`)(e),borderColor:U(`${t}.600`,`${t}.300`)(e)},_disabled:{borderColor:U("gray.200","transparent")(e),bg:U("gray.200","whiteAlpha.300")(e),color:U("gray.500","whiteAlpha.500")(e)}},_indeterminate:{bg:U(`${t}.500`,`${t}.200`)(e),borderColor:U(`${t}.500`,`${t}.200`)(e),color:U("white","gray.900")(e)},_disabled:{bg:U("gray.100","whiteAlpha.100")(e),borderColor:U("gray.100","transparent")(e)},_focusVisible:{boxShadow:"outline"},_invalid:{borderColor:U("red.500","red.300")(e)}}},Yre={_disabled:{cursor:"not-allowed"}},Kre={userSelect:"none",_disabled:{opacity:.4}},Qre={transitionProperty:"transform",transitionDuration:"normal"},Jre=cS(e=>({icon:Qre,container:Yre,control:ho(Xre,e),label:Kre})),ene={sm:cS({control:{[_g.variable]:"sizes.3"},label:{fontSize:"sm"},icon:{fontSize:"3xs"}}),md:cS({control:{[_g.variable]:"sizes.4"},label:{fontSize:"md"},icon:{fontSize:"2xs"}}),lg:cS({control:{[_g.variable]:"sizes.5"},label:{fontSize:"lg"},icon:{fontSize:"2xs"}})},Ed=qre({baseStyle:Jre,sizes:ene,defaultProps:{size:"md",colorScheme:"blue"}});var Hg=Yt("close-button-size"),Fg=Yt("close-button-bg"),tne={w:[Hg.reference],h:[Hg.reference],borderRadius:"md",transitionProperty:"common",transitionDuration:"normal",_disabled:{opacity:.4,cursor:"not-allowed",boxShadow:"none"},_hover:{[Fg.variable]:"colors.blackAlpha.100",_dark:{[Fg.variable]:"colors.whiteAlpha.100"}},_active:{[Fg.variable]:"colors.blackAlpha.200",_dark:{[Fg.variable]:"colors.whiteAlpha.200"}},_focusVisible:{boxShadow:"outline"},bg:Fg.reference},one={lg:{[Hg.variable]:"sizes.10",fontSize:"md"},md:{[Hg.variable]:"sizes.8",fontSize:"xs"},sm:{[Hg.variable]:"sizes.6",fontSize:"2xs"}},xF={baseStyle:tne,sizes:one,defaultProps:{size:"md"}};var{variants:rne,defaultProps:nne}=Vc,ane={fontFamily:"mono",fontSize:"sm",px:"0.2em",borderRadius:"sm",bg:go.bg.reference,color:go.color.reference,boxShadow:go.shadow.reference},IF={baseStyle:ane,variants:rne,defaultProps:nne};var sne={w:"100%",mx:"auto",maxW:"prose",px:"4"},vF={baseStyle:sne};var ine={opacity:.6,borderColor:"inherit"},lne={borderStyle:"solid"},cne={borderStyle:"dashed"},une={solid:lne,dashed:cne},CF={baseStyle:ine,variants:une,defaultProps:{variant:"solid"}};var{definePartsStyle:bT,defineMultiStyleConfig:mne}=_e(U3.keys),hT=Ie("drawer-bg"),gT=Ie("drawer-box-shadow");function Bd(e){return bT(e==="full"?{dialog:{maxW:"100vw",h:"100vh"}}:{dialog:{maxW:e}})}var fne={bg:"blackAlpha.600",zIndex:"modal"},dne={display:"flex",zIndex:"modal",justifyContent:"center"},pne=e=>{let{isFullHeight:t}=e;return{...t&&{height:"100vh"},zIndex:"modal",maxH:"100vh",color:"inherit",[hT.variable]:"colors.white",[gT.variable]:"shadows.lg",_dark:{[hT.variable]:"colors.gray.700",[gT.variable]:"shadows.dark-lg"},bg:hT.reference,boxShadow:gT.reference}},hne={px:"6",py:"4",fontSize:"xl",fontWeight:"semibold"},gne={position:"absolute",top:"2",insetEnd:"3"},bne={px:"6",py:"2",flex:"1",overflow:"auto"},yne={px:"6",py:"4"},Sne=bT(e=>({overlay:fne,dialogContainer:dne,dialog:ho(pne,e),header:hne,closeButton:gne,body:bne,footer:yne})),xne={xs:Bd("xs"),sm:Bd("md"),md:Bd("lg"),lg:Bd("2xl"),xl:Bd("4xl"),full:Bd("full")},wF=mne({baseStyle:Sne,sizes:xne,defaultProps:{size:"xs"}});var{definePartsStyle:Ine,defineMultiStyleConfig:vne}=_e(Z3.keys),Cne={borderRadius:"md",py:"1",transitionProperty:"common",transitionDuration:"normal"},wne={borderRadius:"md",py:"1",transitionProperty:"common",transitionDuration:"normal",width:"full",_focusVisible:{boxShadow:"outline"},_placeholder:{opacity:.6}},Tne={borderRadius:"md",py:"1",transitionProperty:"common",transitionDuration:"normal",width:"full",_focusVisible:{boxShadow:"outline"},_placeholder:{opacity:.6}},Ane=Ine({preview:Cne,input:wne,textarea:Tne}),TF=vne({baseStyle:Ane});var{definePartsStyle:kne,defineMultiStyleConfig:Mne}=_e(j3.keys),Dd=Ie("form-control-color"),Lne={marginStart:"1",[Dd.variable]:"colors.red.500",_dark:{[Dd.variable]:"colors.red.300"},color:Dd.reference},Pne={mt:"2",[Dd.variable]:"colors.gray.600",_dark:{[Dd.variable]:"colors.whiteAlpha.600"},color:Dd.reference,lineHeight:"normal",fontSize:"sm"},Ene=kne({container:{width:"100%",position:"relative"},requiredIndicator:Lne,helperText:Pne}),AF=Mne({baseStyle:Ene});var{definePartsStyle:Bne,defineMultiStyleConfig:Dne}=_e(G3.keys),Rd=Ie("form-error-color"),Rne={[Rd.variable]:"colors.red.500",_dark:{[Rd.variable]:"colors.red.300"},color:Rd.reference,mt:"2",fontSize:"sm",lineHeight:"normal"},_ne={marginEnd:"0.5em",[Rd.variable]:"colors.red.500",_dark:{[Rd.variable]:"colors.red.300"},color:Rd.reference},Fne=Bne({text:Rne,icon:_ne}),kF=Dne({baseStyle:Fne});var Hne={fontSize:"md",marginEnd:"3",mb:"2",fontWeight:"medium",transitionProperty:"common",transitionDuration:"normal",opacity:1,_disabled:{opacity:.4}},MF={baseStyle:Hne};var One={fontFamily:"heading",fontWeight:"bold"},Vne={"4xl":{fontSize:["6xl",null,"7xl"],lineHeight:1},"3xl":{fontSize:["5xl",null,"6xl"],lineHeight:1},"2xl":{fontSize:["4xl",null,"5xl"],lineHeight:[1.2,null,1]},xl:{fontSize:["3xl",null,"4xl"],lineHeight:[1.33,null,1.2]},lg:{fontSize:["2xl",null,"3xl"],lineHeight:[1.33,null,1.2]},md:{fontSize:"xl",lineHeight:1.2},sm:{fontSize:"md",lineHeight:1.2},xs:{fontSize:"sm",lineHeight:1.2}},LF={baseStyle:One,sizes:Vne,defaultProps:{size:"xl"}};var{definePartsStyle:xl,defineMultiStyleConfig:Nne}=_e($3.keys),_d=Ie("input-height"),Fd=Ie("input-font-size"),Hd=Ie("input-padding"),Od=Ie("input-border-radius"),zne=xl({addon:{height:_d.reference,fontSize:Fd.reference,px:Hd.reference,borderRadius:Od.reference},field:{width:"100%",height:_d.reference,fontSize:Fd.reference,px:Hd.reference,borderRadius:Od.reference,minWidth:0,outline:0,position:"relative",appearance:"none",transitionProperty:"common",transitionDuration:"normal",_disabled:{opacity:.4,cursor:"not-allowed"}}}),Nc={lg:{[Fd.variable]:"fontSizes.lg",[Hd.variable]:"space.4",[Od.variable]:"radii.md",[_d.variable]:"sizes.12"},md:{[Fd.variable]:"fontSizes.md",[Hd.variable]:"space.4",[Od.variable]:"radii.md",[_d.variable]:"sizes.10"},sm:{[Fd.variable]:"fontSizes.sm",[Hd.variable]:"space.3",[Od.variable]:"radii.sm",[_d.variable]:"sizes.8"},xs:{[Fd.variable]:"fontSizes.xs",[Hd.variable]:"space.2",[Od.variable]:"radii.sm",[_d.variable]:"sizes.6"}},Wne={lg:xl({field:Nc.lg,group:Nc.lg}),md:xl({field:Nc.md,group:Nc.md}),sm:xl({field:Nc.sm,group:Nc.sm}),xs:xl({field:Nc.xs,group:Nc.xs})};function yT(e){let{focusBorderColor:t,errorBorderColor:o}=e;return{focusBorderColor:t||U("blue.500","blue.300")(e),errorBorderColor:o||U("red.500","red.300")(e)}}var Une=xl(e=>{let{theme:t}=e,{focusBorderColor:o,errorBorderColor:r}=yT(e);return{field:{border:"1px solid",borderColor:"inherit",bg:"inherit",_hover:{borderColor:U("gray.300","whiteAlpha.400")(e)},_readOnly:{boxShadow:"none !important",userSelect:"all"},_invalid:{borderColor:Gr(t,r),boxShadow:`0 0 0 1px ${Gr(t,r)}`},_focusVisible:{zIndex:1,borderColor:Gr(t,o),boxShadow:`0 0 0 1px ${Gr(t,o)}`}},addon:{border:"1px solid",borderColor:U("inherit","whiteAlpha.50")(e),bg:U("gray.100","whiteAlpha.300")(e)}}}),Zne=xl(e=>{let{theme:t}=e,{focusBorderColor:o,errorBorderColor:r}=yT(e);return{field:{border:"2px solid",borderColor:"transparent",bg:U("gray.100","whiteAlpha.50")(e),_hover:{bg:U("gray.200","whiteAlpha.100")(e)},_readOnly:{boxShadow:"none !important",userSelect:"all"},_invalid:{borderColor:Gr(t,r)},_focusVisible:{bg:"transparent",borderColor:Gr(t,o)}},addon:{border:"2px solid",borderColor:"transparent",bg:U("gray.100","whiteAlpha.50")(e)}}}),jne=xl(e=>{let{theme:t}=e,{focusBorderColor:o,errorBorderColor:r}=yT(e);return{field:{borderBottom:"1px solid",borderColor:"inherit",borderRadius:"0",px:"0",bg:"transparent",_readOnly:{boxShadow:"none !important",userSelect:"all"},_invalid:{borderColor:Gr(t,r),boxShadow:`0px 1px 0px 0px ${Gr(t,r)}`},_focusVisible:{borderColor:Gr(t,o),boxShadow:`0px 1px 0px 0px ${Gr(t,o)}`}},addon:{borderBottom:"2px solid",borderColor:"inherit",borderRadius:"0",px:"0",bg:"transparent"}}}),Gne=xl({field:{bg:"transparent",px:"0",height:"auto"},addon:{bg:"transparent",px:"0",height:"auto"}}),$ne={outline:Une,filled:Zne,flushed:jne,unstyled:Gne},ft=Nne({baseStyle:zne,sizes:Wne,variants:$ne,defaultProps:{size:"md",variant:"outline"}});var ST=Ie("kbd-bg"),qne={[ST.variable]:"colors.gray.100",_dark:{[ST.variable]:"colors.whiteAlpha.100"},bg:ST.reference,borderRadius:"md",borderWidth:"1px",borderBottomWidth:"3px",fontSize:"0.8em",fontWeight:"bold",lineHeight:"normal",px:"0.4em",whiteSpace:"nowrap"},PF={baseStyle:qne};var Xne={transitionProperty:"common",transitionDuration:"fast",transitionTimingFunction:"ease-out",cursor:"pointer",textDecoration:"none",outline:"none",color:"inherit",_hover:{textDecoration:"underline"},_focusVisible:{boxShadow:"outline"}},EF={baseStyle:Xne};var{defineMultiStyleConfig:Yne,definePartsStyle:Kne}=_e(q3.keys),Qne={marginEnd:"2",display:"inline",verticalAlign:"text-bottom"},Jne=Kne({icon:Qne}),BF=Yne({baseStyle:Jne});var{defineMultiStyleConfig:eae,definePartsStyle:tae}=_e(X3.keys),xi=Ie("menu-bg"),xT=Ie("menu-shadow"),oae={[xi.variable]:"#fff",[xT.variable]:"shadows.sm",_dark:{[xi.variable]:"colors.gray.700",[xT.variable]:"shadows.dark-lg"},color:"inherit",minW:"3xs",py:"2",zIndex:"dropdown",borderRadius:"md",borderWidth:"1px",bg:xi.reference,boxShadow:xT.reference},rae={py:"1.5",px:"3",transitionProperty:"background",transitionDuration:"ultra-fast",transitionTimingFunction:"ease-in",_focus:{[xi.variable]:"colors.gray.100",_dark:{[xi.variable]:"colors.whiteAlpha.100"}},_active:{[xi.variable]:"colors.gray.200",_dark:{[xi.variable]:"colors.whiteAlpha.200"}},_expanded:{[xi.variable]:"colors.gray.100",_dark:{[xi.variable]:"colors.whiteAlpha.100"}},_disabled:{opacity:.4,cursor:"not-allowed"},bg:xi.reference},nae={mx:4,my:2,fontWeight:"semibold",fontSize:"sm"},aae={display:"inline-flex",alignItems:"center",justifyContent:"center",flexShrink:0},sae={opacity:.6},iae={border:0,borderBottom:"1px solid",borderColor:"inherit",my:"2",opacity:.6},lae={transitionProperty:"common",transitionDuration:"normal"},cae=tae({button:lae,list:oae,item:rae,groupTitle:nae,icon:aae,command:sae,divider:iae}),DF=eae({baseStyle:cae});var{defineMultiStyleConfig:uae,definePartsStyle:CT}=_e(Y3.keys),IT=Ie("modal-bg"),vT=Ie("modal-shadow"),mae={bg:"blackAlpha.600",zIndex:"modal"},fae=e=>{let{isCentered:t,scrollBehavior:o}=e;return{display:"flex",zIndex:"modal",justifyContent:"center",alignItems:t?"center":"flex-start",overflow:o==="inside"?"hidden":"auto",overscrollBehaviorY:"none"}},dae=e=>{let{isCentered:t,scrollBehavior:o}=e;return{borderRadius:"md",color:"inherit",my:t?"auto":"16",mx:t?"auto":void 0,zIndex:"modal",maxH:o==="inside"?"calc(100% - 7.5rem)":void 0,[IT.variable]:"colors.white",[vT.variable]:"shadows.lg",_dark:{[IT.variable]:"colors.gray.700",[vT.variable]:"shadows.dark-lg"},bg:IT.reference,boxShadow:vT.reference}},pae={px:"6",py:"4",fontSize:"xl",fontWeight:"semibold"},hae={position:"absolute",top:"2",insetEnd:"3"},gae=e=>{let{scrollBehavior:t}=e;return{px:"6",py:"2",flex:"1",overflow:t==="inside"?"auto":void 0}},bae={px:"6",py:"4"},yae=CT(e=>({overlay:mae,dialogContainer:ho(fae,e),dialog:ho(dae,e),header:pae,closeButton:hae,body:ho(gae,e),footer:bae}));function Ws(e){return CT(e==="full"?{dialog:{maxW:"100vw",minH:"$100vh",my:"0",borderRadius:"0"}}:{dialog:{maxW:e}})}var Sae={xs:Ws("xs"),sm:Ws("sm"),md:Ws("md"),lg:Ws("lg"),xl:Ws("xl"),"2xl":Ws("2xl"),"3xl":Ws("3xl"),"4xl":Ws("4xl"),"5xl":Ws("5xl"),"6xl":Ws("6xl"),full:Ws("full")},RF=uae({baseStyle:yae,sizes:Sae,defaultProps:{size:"md"}});var uS={letterSpacings:{tighter:"-0.05em",tight:"-0.025em",normal:"0",wide:"0.025em",wider:"0.05em",widest:"0.1em"},lineHeights:{normal:"normal",none:1,shorter:1.25,short:1.375,base:1.5,tall:1.625,taller:"2",3:".75rem",4:"1rem",5:"1.25rem",6:"1.5rem",7:"1.75rem",8:"2rem",9:"2.25rem",10:"2.5rem"},fontWeights:{hairline:100,thin:200,light:300,normal:400,medium:500,semibold:600,bold:700,extrabold:800,black:900},fonts:{heading:'-apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"',body:'-apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"',mono:'SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace'},fontSizes:{"3xs":"0.45rem","2xs":"0.625rem",xs:"0.75rem",sm:"0.875rem",md:"1rem",lg:"1.125rem",xl:"1.25rem","2xl":"1.5rem","3xl":"1.875rem","4xl":"2.25rem","5xl":"3rem","6xl":"3.75rem","7xl":"4.5rem","8xl":"6rem","9xl":"8rem"}};var{defineMultiStyleConfig:xae,definePartsStyle:_F}=_e(K3.keys),kT=Yt("number-input-stepper-width"),FF=Yt("number-input-input-padding"),Iae=ps(kT).add("0.5rem").toString(),wT=Yt("number-input-bg"),TT=Yt("number-input-color"),AT=Yt("number-input-border-color"),vae={[kT.variable]:"sizes.6",[FF.variable]:Iae},Cae=e=>ho(ft.baseStyle,e)?.field??{},wae={width:kT.reference},Tae={borderStart:"1px solid",borderStartColor:AT.reference,color:TT.reference,bg:wT.reference,[TT.variable]:"colors.chakra-body-text",[AT.variable]:"colors.chakra-border-color",_dark:{[TT.variable]:"colors.whiteAlpha.800",[AT.variable]:"colors.whiteAlpha.300"},_active:{[wT.variable]:"colors.gray.200",_dark:{[wT.variable]:"colors.whiteAlpha.300"}},_disabled:{opacity:.4,cursor:"not-allowed"}},Aae=_F(e=>({root:vae,field:ho(Cae,e)??{},stepperGroup:wae,stepper:Tae}));function mS(e){let t=ft.sizes?.[e],o={lg:"md",md:"md",sm:"sm",xs:"sm"},r=t.field?.fontSize??"md",n=uS.fontSizes[r];return _F({field:{...t.field,paddingInlineEnd:FF.reference,verticalAlign:"top"},stepper:{fontSize:ps(n).multiply(.75).toString(),_first:{borderTopEndRadius:o[e]},_last:{borderBottomEndRadius:o[e],mt:"-1px",borderTopWidth:1}}})}var kae={xs:mS("xs"),sm:mS("sm"),md:mS("md"),lg:mS("lg")},HF=xae({baseStyle:Aae,sizes:kae,variants:ft.variants,defaultProps:ft.defaultProps});var Mae={...ft.baseStyle?.field,textAlign:"center"},Lae={lg:{fontSize:"lg",w:12,h:12,borderRadius:"md"},md:{fontSize:"md",w:10,h:10,borderRadius:"md"},sm:{fontSize:"sm",w:8,h:8,borderRadius:"sm"},xs:{fontSize:"xs",w:6,h:6,borderRadius:"sm"}},Pae={outline:e=>ho(ft.variants?.outline,e)?.field??{},flushed:e=>ho(ft.variants?.flushed,e)?.field??{},filled:e=>ho(ft.variants?.filled,e)?.field??{},unstyled:ft.variants?.unstyled.field??{}},OF={baseStyle:Mae,sizes:Lae,variants:Pae,defaultProps:ft.defaultProps};var{defineMultiStyleConfig:Eae,definePartsStyle:Bae}=_e(Q3.keys),fS=Yt("popper-bg"),Dae=Yt("popper-arrow-bg"),VF=Yt("popper-arrow-shadow-color"),Rae={zIndex:"popover"},_ae={[fS.variable]:"colors.white",bg:fS.reference,[Dae.variable]:fS.reference,[VF.variable]:"colors.gray.200",_dark:{[fS.variable]:"colors.gray.700",[VF.variable]:"colors.whiteAlpha.300"},width:"xs",border:"1px solid",borderColor:"inherit",borderRadius:"md",boxShadow:"sm",zIndex:"inherit",_focusVisible:{outline:0,boxShadow:"outline"}},Fae={px:3,py:2,borderBottomWidth:"1px"},Hae={px:3,py:2},Oae={px:3,py:2,borderTopWidth:"1px"},Vae={position:"absolute",borderRadius:"md",top:1,insetEnd:2,padding:2},Nae=Bae({popper:Rae,content:_ae,header:Fae,body:Hae,footer:Oae,closeButton:Vae}),NF=Eae({baseStyle:Nae});var{defineMultiStyleConfig:zae,definePartsStyle:Og}=_e(J3.keys),Wae=e=>{let{colorScheme:t,theme:o,isIndeterminate:r,hasStripe:n}=e,a=U(rS(),rS("1rem","rgba(0,0,0,0.1)"))(e),s=U(`${t}.500`,`${t}.200`)(e),i=`linear-gradient(
|
|
854
|
+
to right,
|
|
855
|
+
transparent 0%,
|
|
856
|
+
${Gr(o,s)} 50%,
|
|
857
|
+
transparent 100%
|
|
858
|
+
)`;return{...!r&&n&&a,...r?{bgImage:i}:{bgColor:s}}},Uae={lineHeight:"1",fontSize:"0.25em",fontWeight:"bold",color:"white"},Zae=e=>({bg:U("gray.100","whiteAlpha.300")(e)}),jae=e=>({transitionProperty:"common",transitionDuration:"slow",...Wae(e)}),Gae=Og(e=>({label:Uae,filledTrack:jae(e),track:Zae(e)})),$ae={xs:Og({track:{h:"1"}}),sm:Og({track:{h:"2"}}),md:Og({track:{h:"3"}}),lg:Og({track:{h:"4"}})},zF=zae({sizes:$ae,baseStyle:Gae,defaultProps:{size:"md",colorScheme:"blue"}});var{defineMultiStyleConfig:qae,definePartsStyle:dS}=_e(eT.keys),Xae=e=>{let t=ho(Ed.baseStyle,e)?.control;return{...t,borderRadius:"full",_checked:{...t?._checked,_before:{content:'""',display:"inline-block",pos:"relative",w:"50%",h:"50%",borderRadius:"50%",bg:"currentColor"}}}},Yae=dS(e=>({label:Ed.baseStyle?.(e).label,container:Ed.baseStyle?.(e).container,control:Xae(e)})),Kae={md:dS({control:{w:"4",h:"4"},label:{fontSize:"md"}}),lg:dS({control:{w:"5",h:"5"},label:{fontSize:"lg"}}),sm:dS({control:{width:"3",height:"3"},label:{fontSize:"sm"}})},WF=qae({baseStyle:Yae,sizes:Kae,defaultProps:{size:"md",colorScheme:"blue"}});var{defineMultiStyleConfig:Qae,definePartsStyle:Jae}=_e(tT.keys),pS=Ie("select-bg"),ese={...ft.baseStyle?.field,appearance:"none",paddingBottom:"1px",lineHeight:"normal",bg:pS.reference,[pS.variable]:"colors.white",_dark:{[pS.variable]:"colors.gray.700"},"> option, > optgroup":{bg:pS.reference}},tse={width:"6",height:"100%",insetEnd:"2",position:"relative",color:"currentColor",fontSize:"xl",_disabled:{opacity:.5}},ose=Jae({field:ese,icon:tse}),hS={paddingInlineEnd:"8"},rse={lg:{...ft.sizes?.lg,field:{...ft.sizes?.lg.field,...hS}},md:{...ft.sizes?.md,field:{...ft.sizes?.md.field,...hS}},sm:{...ft.sizes?.sm,field:{...ft.sizes?.sm.field,...hS}},xs:{...ft.sizes?.xs,field:{...ft.sizes?.xs.field,...hS},icon:{insetEnd:"1"}}},UF=Qae({baseStyle:ose,sizes:rse,variants:ft.variants,defaultProps:ft.defaultProps});var MT=Ie("skeleton-start-color"),LT=Ie("skeleton-end-color"),nse={[MT.variable]:"colors.gray.100",[LT.variable]:"colors.gray.400",_dark:{[MT.variable]:"colors.gray.800",[LT.variable]:"colors.gray.600"},background:MT.reference,borderColor:LT.reference,opacity:.7,borderRadius:"sm"},ZF={baseStyle:nse};var PT=Ie("skip-link-bg"),ase={borderRadius:"md",fontWeight:"semibold",_focusVisible:{boxShadow:"outline",padding:"4",position:"fixed",top:"6",insetStart:"6",[PT.variable]:"colors.white",_dark:{[PT.variable]:"colors.gray.700"},bg:PT.reference}},jF={baseStyle:ase};var{defineMultiStyleConfig:sse,definePartsStyle:gS}=_e(oT.keys),dm=Ie("slider-thumb-size"),Vg=Ie("slider-track-size"),zc=Ie("slider-bg"),ise=e=>{let{orientation:t}=e;return{display:"inline-block",position:"relative",cursor:"pointer",_disabled:{opacity:.6,cursor:"default",pointerEvents:"none"},...Eg({orientation:t,vertical:{h:"100%",px:ds(dm.reference).divide(2).toString()},horizontal:{w:"100%",py:ds(dm.reference).divide(2).toString()}})}},lse=e=>({...Eg({orientation:e.orientation,horizontal:{h:Vg.reference},vertical:{w:Vg.reference}}),overflow:"hidden",borderRadius:"sm",[zc.variable]:"colors.gray.200",_dark:{[zc.variable]:"colors.whiteAlpha.200"},_disabled:{[zc.variable]:"colors.gray.300",_dark:{[zc.variable]:"colors.whiteAlpha.300"}},bg:zc.reference}),cse=e=>{let{orientation:t}=e;return{...Eg({orientation:t,vertical:{left:"50%"},horizontal:{top:"50%"}}),w:dm.reference,h:dm.reference,display:"flex",alignItems:"center",justifyContent:"center",position:"absolute",outline:0,zIndex:1,borderRadius:"full",bg:"white",boxShadow:"base",border:"1px solid",borderColor:"transparent",transitionProperty:"transform",transitionDuration:"normal",_focusVisible:{boxShadow:"outline"},_active:{"--slider-thumb-scale":"1.15"},_disabled:{bg:"gray.300"}}},use=e=>{let{colorScheme:t}=e;return{width:"inherit",height:"inherit",[zc.variable]:`colors.${t}.500`,_dark:{[zc.variable]:`colors.${t}.200`},bg:zc.reference}},mse=gS(e=>({container:ise(e),track:lse(e),thumb:cse(e),filledTrack:use(e)})),fse=gS({container:{[dm.variable]:"sizes.4",[Vg.variable]:"sizes.1"}}),dse=gS({container:{[dm.variable]:"sizes.3.5",[Vg.variable]:"sizes.1"}}),pse=gS({container:{[dm.variable]:"sizes.2.5",[Vg.variable]:"sizes.0.5"}}),hse={lg:fse,md:dse,sm:pse},GF=sse({baseStyle:mse,sizes:hse,defaultProps:{size:"md",colorScheme:"blue"}});var pm=Yt("spinner-size"),gse={width:[pm.reference],height:[pm.reference]},bse={xs:{[pm.variable]:"sizes.3"},sm:{[pm.variable]:"sizes.4"},md:{[pm.variable]:"sizes.6"},lg:{[pm.variable]:"sizes.8"},xl:{[pm.variable]:"sizes.12"}},$F={baseStyle:gse,sizes:bse,defaultProps:{size:"md"}};var{defineMultiStyleConfig:yse,definePartsStyle:qF}=_e(rT.keys),Sse={fontWeight:"medium"},xse={opacity:.8,marginBottom:"2"},Ise={verticalAlign:"baseline",fontWeight:"semibold"},vse={marginEnd:1,w:"3.5",h:"3.5",verticalAlign:"middle"},Cse=qF({container:{},label:Sse,helpText:xse,number:Ise,icon:vse}),wse={md:qF({label:{fontSize:"sm"},helpText:{fontSize:"sm"},number:{fontSize:"2xl"}})},XF=yse({baseStyle:Cse,sizes:wse,defaultProps:{size:"md"}});var{defineMultiStyleConfig:Tse,definePartsStyle:zg}=_e(["stepper","step","title","description","indicator","separator","icon","number"]),Il=Ie("stepper-indicator-size"),Vd=Ie("stepper-icon-size"),Nd=Ie("stepper-title-font-size"),Wg=Ie("stepper-description-font-size"),Ng=Ie("stepper-accent-color"),Ase=zg(({colorScheme:e})=>({stepper:{display:"flex",justifyContent:"space-between",gap:"4","&[data-orientation=vertical]":{flexDirection:"column",alignItems:"flex-start"},"&[data-orientation=horizontal]":{flexDirection:"row",alignItems:"center"},[Ng.variable]:`colors.${e}.500`,_dark:{[Ng.variable]:`colors.${e}.200`}},title:{fontSize:Nd.reference,fontWeight:"medium"},description:{fontSize:Wg.reference,color:"chakra-subtle-text"},number:{fontSize:Nd.reference},step:{flexShrink:0,position:"relative",display:"flex",gap:"2","&[data-orientation=horizontal]":{alignItems:"center"},flex:"1","&:last-of-type:not([data-stretch])":{flex:"initial"}},icon:{flexShrink:0,width:Vd.reference,height:Vd.reference},indicator:{flexShrink:0,borderRadius:"full",width:Il.reference,height:Il.reference,display:"flex",justifyContent:"center",alignItems:"center","&[data-status=active]":{borderWidth:"2px",borderColor:Ng.reference},"&[data-status=complete]":{bg:Ng.reference,color:"chakra-inverse-text"},"&[data-status=incomplete]":{borderWidth:"2px"}},separator:{bg:"chakra-border-color",flex:"1","&[data-status=complete]":{bg:Ng.reference},"&[data-orientation=horizontal]":{width:"100%",height:"2px",marginStart:"2"},"&[data-orientation=vertical]":{width:"2px",position:"absolute",height:"100%",maxHeight:`calc(100% - ${Il.reference} - 8px)`,top:`calc(${Il.reference} + 4px)`,insetStart:`calc(${Il.reference} / 2 - 1px)`}}})),YF=Tse({baseStyle:Ase,sizes:{xs:zg({stepper:{[Il.variable]:"sizes.4",[Vd.variable]:"sizes.3",[Nd.variable]:"fontSizes.xs",[Wg.variable]:"fontSizes.xs"}}),sm:zg({stepper:{[Il.variable]:"sizes.6",[Vd.variable]:"sizes.4",[Nd.variable]:"fontSizes.sm",[Wg.variable]:"fontSizes.xs"}}),md:zg({stepper:{[Il.variable]:"sizes.8",[Vd.variable]:"sizes.5",[Nd.variable]:"fontSizes.md",[Wg.variable]:"fontSizes.sm"}}),lg:zg({stepper:{[Il.variable]:"sizes.10",[Vd.variable]:"sizes.6",[Nd.variable]:"fontSizes.lg",[Wg.variable]:"fontSizes.md"}})},defaultProps:{size:"md",colorScheme:"blue"}});var{defineMultiStyleConfig:kse,definePartsStyle:bS}=_e(nT.keys),Zg=Yt("switch-track-width"),hm=Yt("switch-track-height"),ET=Yt("switch-track-diff"),Mse=ps.subtract(Zg,hm),BT=Yt("switch-thumb-x"),Ug=Yt("switch-bg"),Lse=e=>{let{colorScheme:t}=e;return{borderRadius:"full",p:"0.5",width:[Zg.reference],height:[hm.reference],transitionProperty:"common",transitionDuration:"fast",[Ug.variable]:"colors.gray.300",_dark:{[Ug.variable]:"colors.whiteAlpha.400"},_focusVisible:{boxShadow:"outline"},_disabled:{opacity:.4,cursor:"not-allowed"},_checked:{[Ug.variable]:`colors.${t}.500`,_dark:{[Ug.variable]:`colors.${t}.200`}},bg:Ug.reference}},Pse={bg:"white",transitionProperty:"transform",transitionDuration:"normal",borderRadius:"inherit",width:[hm.reference],height:[hm.reference],_checked:{transform:`translateX(${BT.reference})`}},Ese=bS(e=>({container:{[ET.variable]:Mse,[BT.variable]:ET.reference,_rtl:{[BT.variable]:ps(ET).negate().toString()}},track:Lse(e),thumb:Pse})),Bse={sm:bS({container:{[Zg.variable]:"1.375rem",[hm.variable]:"sizes.3"}}),md:bS({container:{[Zg.variable]:"1.875rem",[hm.variable]:"sizes.4"}}),lg:bS({container:{[Zg.variable]:"2.875rem",[hm.variable]:"sizes.6"}})},KF=kse({baseStyle:Ese,sizes:Bse,defaultProps:{size:"md",colorScheme:"blue"}});var{defineMultiStyleConfig:Dse,definePartsStyle:zd}=_e(aT.keys),Rse=zd({table:{fontVariantNumeric:"lining-nums tabular-nums",borderCollapse:"collapse",width:"full"},th:{fontFamily:"heading",fontWeight:"bold",textTransform:"uppercase",letterSpacing:"wider",textAlign:"start"},td:{textAlign:"start"},caption:{mt:4,fontFamily:"heading",textAlign:"center",fontWeight:"medium"}}),yS={"&[data-is-numeric=true]":{textAlign:"end"}},_se=zd(e=>{let{colorScheme:t}=e;return{th:{color:U("gray.600","gray.400")(e),borderBottom:"1px",borderColor:U(`${t}.100`,`${t}.700`)(e),...yS},td:{borderBottom:"1px",borderColor:U(`${t}.100`,`${t}.700`)(e),...yS},caption:{color:U("gray.600","gray.100")(e)},tfoot:{tr:{"&:last-of-type":{th:{borderBottomWidth:0}}}}}}),Fse=zd(e=>{let{colorScheme:t}=e;return{th:{color:U("gray.600","gray.400")(e),borderBottom:"1px",borderColor:U(`${t}.100`,`${t}.700`)(e),...yS},td:{borderBottom:"1px",borderColor:U(`${t}.100`,`${t}.700`)(e),...yS},caption:{color:U("gray.600","gray.100")(e)},tbody:{tr:{"&:nth-of-type(odd)":{"th, td":{borderBottomWidth:"1px",borderColor:U(`${t}.100`,`${t}.700`)(e)},td:{background:U(`${t}.100`,`${t}.700`)(e)}}}},tfoot:{tr:{"&:last-of-type":{th:{borderBottomWidth:0}}}}}}),Hse={simple:_se,striped:Fse,unstyled:{}},Ose={sm:zd({th:{px:"4",py:"1",lineHeight:"4",fontSize:"xs"},td:{px:"4",py:"2",fontSize:"sm",lineHeight:"4"},caption:{px:"4",py:"2",fontSize:"xs"}}),md:zd({th:{px:"6",py:"3",lineHeight:"4",fontSize:"xs"},td:{px:"6",py:"4",lineHeight:"5"},caption:{px:"6",py:"2",fontSize:"sm"}}),lg:zd({th:{px:"8",py:"4",lineHeight:"5",fontSize:"sm"},td:{px:"8",py:"5",lineHeight:"6"},caption:{px:"6",py:"2",fontSize:"md"}})},QF=Dse({baseStyle:Rse,variants:Hse,sizes:Ose,defaultProps:{variant:"simple",size:"md",colorScheme:"gray"}});var aa=Ie("tabs-color"),Us=Ie("tabs-bg"),SS=Ie("tabs-border-color"),{defineMultiStyleConfig:Vse,definePartsStyle:Ii}=_e(sT.keys),Nse=e=>{let{orientation:t}=e;return{display:t==="vertical"?"flex":"block"}},zse=e=>{let{isFitted:t}=e;return{flex:t?1:void 0,transitionProperty:"common",transitionDuration:"normal",_focusVisible:{zIndex:1,boxShadow:"outline"},_disabled:{cursor:"not-allowed",opacity:.4}}},Wse=e=>{let{align:t="start",orientation:o}=e;return{justifyContent:{end:"flex-end",center:"center",start:"flex-start"}[t],flexDirection:o==="vertical"?"column":"row"}},Use={p:4},Zse=Ii(e=>({root:Nse(e),tab:zse(e),tablist:Wse(e),tabpanel:Use})),jse={sm:Ii({tab:{py:1,px:4,fontSize:"sm"}}),md:Ii({tab:{fontSize:"md",py:2,px:4}}),lg:Ii({tab:{fontSize:"lg",py:3,px:4}})},Gse=Ii(e=>{let{colorScheme:t,orientation:o}=e,r=o==="vertical",n=r?"borderStart":"borderBottom",a=r?"marginStart":"marginBottom";return{tablist:{[n]:"2px solid",borderColor:"inherit"},tab:{[n]:"2px solid",borderColor:"transparent",[a]:"-2px",_selected:{[aa.variable]:`colors.${t}.600`,_dark:{[aa.variable]:`colors.${t}.300`},borderColor:"currentColor"},_active:{[Us.variable]:"colors.gray.200",_dark:{[Us.variable]:"colors.whiteAlpha.300"}},_disabled:{_active:{bg:"none"}},color:aa.reference,bg:Us.reference}}}),$se=Ii(e=>{let{colorScheme:t}=e;return{tab:{borderTopRadius:"md",border:"1px solid",borderColor:"transparent",mb:"-1px",[SS.variable]:"transparent",_selected:{[aa.variable]:`colors.${t}.600`,[SS.variable]:"colors.white",_dark:{[aa.variable]:`colors.${t}.300`,[SS.variable]:"colors.gray.800"},borderColor:"inherit",borderBottomColor:SS.reference},color:aa.reference},tablist:{mb:"-1px",borderBottom:"1px solid",borderColor:"inherit"}}}),qse=Ii(e=>{let{colorScheme:t}=e;return{tab:{border:"1px solid",borderColor:"inherit",[Us.variable]:"colors.gray.50",_dark:{[Us.variable]:"colors.whiteAlpha.50"},mb:"-1px",_notLast:{marginEnd:"-1px"},_selected:{[Us.variable]:"colors.white",[aa.variable]:`colors.${t}.600`,_dark:{[Us.variable]:"colors.gray.800",[aa.variable]:`colors.${t}.300`},borderColor:"inherit",borderTopColor:"currentColor",borderBottomColor:"transparent"},color:aa.reference,bg:Us.reference},tablist:{mb:"-1px",borderBottom:"1px solid",borderColor:"inherit"}}}),Xse=Ii(e=>{let{colorScheme:t,theme:o}=e;return{tab:{borderRadius:"full",fontWeight:"semibold",color:"gray.600",_selected:{color:Gr(o,`${t}.700`),bg:Gr(o,`${t}.100`)}}}}),Yse=Ii(e=>{let{colorScheme:t}=e;return{tab:{borderRadius:"full",fontWeight:"semibold",[aa.variable]:"colors.gray.600",_dark:{[aa.variable]:"inherit"},_selected:{[aa.variable]:"colors.white",[Us.variable]:`colors.${t}.600`,_dark:{[aa.variable]:"colors.gray.800",[Us.variable]:`colors.${t}.300`}},color:aa.reference,bg:Us.reference}}}),Kse=Ii({}),Qse={line:Gse,enclosed:$se,"enclosed-colored":qse,"soft-rounded":Xse,"solid-rounded":Yse,unstyled:Kse},JF=Vse({baseStyle:Zse,sizes:jse,variants:Qse,defaultProps:{size:"md",variant:"line",colorScheme:"blue"}});var{defineMultiStyleConfig:Jse,definePartsStyle:gm}=_e(iT.keys),eH=Ie("tag-bg"),tH=Ie("tag-color"),DT=Ie("tag-shadow"),xS=Ie("tag-min-height"),IS=Ie("tag-min-width"),vS=Ie("tag-font-size"),CS=Ie("tag-padding-inline"),eie={fontWeight:"medium",lineHeight:1.2,outline:0,[tH.variable]:go.color.reference,[eH.variable]:go.bg.reference,[DT.variable]:go.shadow.reference,color:tH.reference,bg:eH.reference,boxShadow:DT.reference,borderRadius:"md",minH:xS.reference,minW:IS.reference,fontSize:vS.reference,px:CS.reference,_focusVisible:{[DT.variable]:"shadows.outline"}},tie={lineHeight:1.2,overflow:"visible"},oie={fontSize:"lg",w:"5",h:"5",transitionProperty:"common",transitionDuration:"normal",borderRadius:"full",marginStart:"1.5",marginEnd:"-1",opacity:.5,_disabled:{opacity:.4},_focusVisible:{boxShadow:"outline",bg:"rgba(0, 0, 0, 0.14)"},_hover:{opacity:.8},_active:{opacity:1}},rie=gm({container:eie,label:tie,closeButton:oie}),nie={sm:gm({container:{[xS.variable]:"sizes.5",[IS.variable]:"sizes.5",[vS.variable]:"fontSizes.xs",[CS.variable]:"space.2"},closeButton:{marginEnd:"-2px",marginStart:"0.35rem"}}),md:gm({container:{[xS.variable]:"sizes.6",[IS.variable]:"sizes.6",[vS.variable]:"fontSizes.sm",[CS.variable]:"space.2"}}),lg:gm({container:{[xS.variable]:"sizes.8",[IS.variable]:"sizes.8",[vS.variable]:"fontSizes.md",[CS.variable]:"space.3"}})},aie={subtle:gm(e=>({container:Vc.variants?.subtle(e)})),solid:gm(e=>({container:Vc.variants?.solid(e)})),outline:gm(e=>({container:Vc.variants?.outline(e)}))},oH=Jse({variants:aie,baseStyle:rie,sizes:nie,defaultProps:{size:"md",variant:"subtle",colorScheme:"gray"}});var sie={...ft.baseStyle?.field,paddingY:"2",minHeight:"20",lineHeight:"short",verticalAlign:"top"},iie={outline:e=>ft.variants?.outline(e).field??{},flushed:e=>ft.variants?.flushed(e).field??{},filled:e=>ft.variants?.filled(e).field??{},unstyled:ft.variants?.unstyled.field??{}},lie={xs:ft.sizes?.xs.field??{},sm:ft.sizes?.sm.field??{},md:ft.sizes?.md.field??{},lg:ft.sizes?.lg.field??{}},rH={baseStyle:sie,sizes:lie,variants:iie,defaultProps:{size:"md",variant:"outline"}};var wS=Yt("tooltip-bg"),RT=Yt("tooltip-fg"),cie=Yt("popper-arrow-bg"),uie={bg:wS.reference,color:RT.reference,[wS.variable]:"colors.gray.700",[RT.variable]:"colors.whiteAlpha.900",_dark:{[wS.variable]:"colors.gray.300",[RT.variable]:"colors.gray.900"},[cie.variable]:wS.reference,px:"2",py:"0.5",borderRadius:"sm",fontWeight:"medium",fontSize:"sm",boxShadow:"md",maxW:"xs",zIndex:"tooltip"},nH={baseStyle:uie};var aH={Accordion:q_,Alert:uF,Avatar:fF,Badge:Vc,Breadcrumb:dF,Button:hF,Checkbox:Ed,CloseButton:xF,Code:IF,Container:vF,Divider:CF,Drawer:wF,Editable:TF,Form:AF,FormError:kF,FormLabel:MF,Heading:LF,Input:ft,Kbd:PF,Link:EF,List:BF,Menu:DF,Modal:RF,NumberInput:HF,PinInput:OF,Popover:NF,Progress:zF,Radio:WF,Select:UF,Skeleton:ZF,SkipLink:jF,Slider:GF,Spinner:$F,Stat:XF,Switch:KF,Table:QF,Tabs:JF,Tag:oH,Textarea:rH,Tooltip:nH,Card:SF,Stepper:YF};var sH={none:0,"1px":"1px solid","2px":"2px solid","4px":"4px solid","8px":"8px solid"};var iH={base:"0em",sm:"30em",md:"48em",lg:"62em",xl:"80em","2xl":"96em"};var lH={transparent:"transparent",current:"currentColor",black:"#000000",white:"#FFFFFF",whiteAlpha:{50:"rgba(255, 255, 255, 0.04)",100:"rgba(255, 255, 255, 0.06)",200:"rgba(255, 255, 255, 0.08)",300:"rgba(255, 255, 255, 0.16)",400:"rgba(255, 255, 255, 0.24)",500:"rgba(255, 255, 255, 0.36)",600:"rgba(255, 255, 255, 0.48)",700:"rgba(255, 255, 255, 0.64)",800:"rgba(255, 255, 255, 0.80)",900:"rgba(255, 255, 255, 0.92)"},blackAlpha:{50:"rgba(0, 0, 0, 0.04)",100:"rgba(0, 0, 0, 0.06)",200:"rgba(0, 0, 0, 0.08)",300:"rgba(0, 0, 0, 0.16)",400:"rgba(0, 0, 0, 0.24)",500:"rgba(0, 0, 0, 0.36)",600:"rgba(0, 0, 0, 0.48)",700:"rgba(0, 0, 0, 0.64)",800:"rgba(0, 0, 0, 0.80)",900:"rgba(0, 0, 0, 0.92)"},gray:{50:"#F7FAFC",100:"#EDF2F7",200:"#E2E8F0",300:"#CBD5E0",400:"#A0AEC0",500:"#718096",600:"#4A5568",700:"#2D3748",800:"#1A202C",900:"#171923"},red:{50:"#FFF5F5",100:"#FED7D7",200:"#FEB2B2",300:"#FC8181",400:"#F56565",500:"#E53E3E",600:"#C53030",700:"#9B2C2C",800:"#822727",900:"#63171B"},orange:{50:"#FFFAF0",100:"#FEEBC8",200:"#FBD38D",300:"#F6AD55",400:"#ED8936",500:"#DD6B20",600:"#C05621",700:"#9C4221",800:"#7B341E",900:"#652B19"},yellow:{50:"#FFFFF0",100:"#FEFCBF",200:"#FAF089",300:"#F6E05E",400:"#ECC94B",500:"#D69E2E",600:"#B7791F",700:"#975A16",800:"#744210",900:"#5F370E"},green:{50:"#F0FFF4",100:"#C6F6D5",200:"#9AE6B4",300:"#68D391",400:"#48BB78",500:"#38A169",600:"#2F855A",700:"#276749",800:"#22543D",900:"#1C4532"},teal:{50:"#E6FFFA",100:"#B2F5EA",200:"#81E6D9",300:"#4FD1C5",400:"#38B2AC",500:"#319795",600:"#2C7A7B",700:"#285E61",800:"#234E52",900:"#1D4044"},blue:{50:"#ebf8ff",100:"#bee3f8",200:"#90cdf4",300:"#63b3ed",400:"#4299e1",500:"#3182ce",600:"#2b6cb0",700:"#2c5282",800:"#2a4365",900:"#1A365D"},cyan:{50:"#EDFDFD",100:"#C4F1F9",200:"#9DECF9",300:"#76E4F7",400:"#0BC5EA",500:"#00B5D8",600:"#00A3C4",700:"#0987A0",800:"#086F83",900:"#065666"},purple:{50:"#FAF5FF",100:"#E9D8FD",200:"#D6BCFA",300:"#B794F4",400:"#9F7AEA",500:"#805AD5",600:"#6B46C1",700:"#553C9A",800:"#44337A",900:"#322659"},pink:{50:"#FFF5F7",100:"#FED7E2",200:"#FBB6CE",300:"#F687B3",400:"#ED64A6",500:"#D53F8C",600:"#B83280",700:"#97266D",800:"#702459",900:"#521B41"}};var cH={none:"0",sm:"0.125rem",base:"0.25rem",md:"0.375rem",lg:"0.5rem",xl:"0.75rem","2xl":"1rem","3xl":"1.5rem",full:"9999px"};var uH={xs:"0 0 0 1px rgba(0, 0, 0, 0.05)",sm:"0 1px 2px 0 rgba(0, 0, 0, 0.05)",base:"0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06)",md:"0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06)",lg:"0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05)",xl:"0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04)","2xl":"0 25px 50px -12px rgba(0, 0, 0, 0.25)",outline:"0 0 0 3px rgba(66, 153, 225, 0.6)",inner:"inset 0 2px 4px 0 rgba(0,0,0,0.06)",none:"none","dark-lg":"rgba(0, 0, 0, 0.1) 0px 0px 0px 1px, rgba(0, 0, 0, 0.2) 0px 5px 10px, rgba(0, 0, 0, 0.4) 0px 15px 40px"};var mie={common:"background-color, border-color, color, fill, stroke, opacity, box-shadow, transform",colors:"background-color, border-color, color, fill, stroke",dimensions:"width, height",position:"left, right, top, bottom",background:"background-color, background-image, background-position"},fie={"ease-in":"cubic-bezier(0.4, 0, 1, 1)","ease-out":"cubic-bezier(0, 0, 0.2, 1)","ease-in-out":"cubic-bezier(0.4, 0, 0.2, 1)"},die={"ultra-fast":"50ms",faster:"100ms",fast:"150ms",normal:"200ms",slow:"300ms",slower:"400ms","ultra-slow":"500ms"},mH={property:mie,easing:fie,duration:die};var fH={hide:-1,auto:"auto",base:0,docked:10,dropdown:1e3,sticky:1100,banner:1200,overlay:1300,modal:1400,popover:1500,skipLink:1600,toast:1700,tooltip:1800};var dH={none:0,sm:"4px",base:"8px",md:"12px",lg:"16px",xl:"24px","2xl":"40px","3xl":"64px"};var _T={breakpoints:iH,zIndices:fH,radii:cH,blur:dH,colors:lH,...uS,sizes:sS,shadows:uH,space:aS,borders:sH,transition:mH};var FT={colors:{"chakra-body-text":{_light:"gray.800",_dark:"whiteAlpha.900"},"chakra-body-bg":{_light:"white",_dark:"gray.800"},"chakra-border-color":{_light:"gray.200",_dark:"whiteAlpha.300"},"chakra-inverse-text":{_light:"white",_dark:"gray.800"},"chakra-subtle-bg":{_light:"gray.100",_dark:"gray.700"},"chakra-subtle-text":{_light:"gray.600",_dark:"gray.400"},"chakra-placeholder-color":{_light:"gray.500",_dark:"whiteAlpha.400"}}};var HT={global:{body:{fontFamily:"body",color:"chakra-body-text",bg:"chakra-body-bg",transitionProperty:"background-color",transitionDuration:"normal",lineHeight:"base"},"*::placeholder":{color:"chakra-placeholder-color"},"*, *::before, &::after":{borderColor:"chakra-border-color"}}};var pH=["borders","breakpoints","colors","components","config","direction","fonts","fontSizes","fontWeights","letterSpacings","lineHeights","radii","shadows","sizes","space","styles","transition","zIndices"];function OT(e){return Et(e)?pH.every(t=>Object.prototype.hasOwnProperty.call(e,t)):!1}var hH="ltr",gH={useSystemColorMode:!1,initialColorMode:"light",cssVarPrefix:"chakra"},TS={semanticTokens:FT,direction:hH,..._T,components:aH,styles:HT,config:gH},bH={semanticTokens:FT,direction:hH,components:{},..._T,styles:HT,config:gH};var T1=k(re(),1);var vl=k(re(),1);var XS=k(re(),1);var sa=k(F()),Jg=k(F());var gie=!1;function bie(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}function yie(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),e.nonce!==void 0&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}var IH=(function(){function e(o){var r=this;this._insertTag=function(n){var a;r.tags.length===0?r.insertionPoint?a=r.insertionPoint.nextSibling:r.prepend?a=r.container.firstChild:a=r.before:a=r.tags[r.tags.length-1].nextSibling,r.container.insertBefore(n,a),r.tags.push(n)},this.isSpeedy=o.speedy===void 0?!gie:o.speedy,this.tags=[],this.ctr=0,this.nonce=o.nonce,this.key=o.key,this.container=o.container,this.prepend=o.prepend,this.insertionPoint=o.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(r){r.forEach(this._insertTag)},t.insert=function(r){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(yie(this));var n=this.tags[this.tags.length-1];if(this.isSpeedy){var a=bie(n);try{a.insertRule(r,a.cssRules.length)}catch{}}else n.appendChild(document.createTextNode(r));this.ctr++},t.flush=function(){this.tags.forEach(function(r){var n;return(n=r.parentNode)==null?void 0:n.removeChild(r)}),this.tags=[],this.ctr=0},e})();var yn="-ms-",jg="-moz-",Mt="-webkit-",kS="comm",Wd="rule",Ud="decl";var vH="@import";var MS="@keyframes";var CH="@layer";var wH=Math.abs,bm=String.fromCharCode,TH=Object.assign;function AH(e,t){return Eo(e,0)^45?(((t<<2^Eo(e,0))<<2^Eo(e,1))<<2^Eo(e,2))<<2^Eo(e,3):0}function LS(e){return e.trim()}function VT(e,t){return(e=t.exec(e))?e[0]:e}function It(e,t,o){return e.replace(t,o)}function Gg(e,t){return e.indexOf(t)}function Eo(e,t){return e.charCodeAt(t)|0}function Wc(e,t,o){return e.slice(t,o)}function Vn(e){return e.length}function Zd(e){return e.length}function jd(e,t){return t.push(e),e}function NT(e,t){return e.map(t).join("")}var PS=1,Gd=1,kH=0,Nn=0,Dr=0,qd="";function $g(e,t,o,r,n,a,s){return{value:e,root:t,parent:o,type:r,props:n,children:a,line:PS,column:Gd,length:s,return:""}}function Xd(e,t){return TH($g("",null,null,"",null,null,0),e,{length:-e.length},t)}function MH(){return Dr}function LH(){return Dr=Nn>0?Eo(qd,--Nn):0,Gd--,Dr===10&&(Gd=1,PS--),Dr}function zn(){return Dr=Nn<kH?Eo(qd,Nn++):0,Gd++,Dr===10&&(Gd=1,PS++),Dr}function hs(){return Eo(qd,Nn)}function qg(){return Nn}function Yd(e,t){return Wc(qd,e,t)}function $d(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function ES(e){return PS=Gd=1,kH=Vn(qd=e),Nn=0,[]}function BS(e){return qd="",e}function Kd(e){return LS(Yd(Nn-1,zT(e===91?e+2:e===40?e+1:e)))}function PH(e){for(;(Dr=hs())&&Dr<33;)zn();return $d(e)>2||$d(Dr)>3?"":" "}function EH(e,t){for(;--t&&zn()&&!(Dr<48||Dr>102||Dr>57&&Dr<65||Dr>70&&Dr<97););return Yd(e,qg()+(t<6&&hs()==32&&zn()==32))}function zT(e){for(;zn();)switch(Dr){case e:return Nn;case 34:case 39:e!==34&&e!==39&&zT(Dr);break;case 40:e===41&&zT(e);break;case 92:zn();break}return Nn}function BH(e,t){for(;zn()&&e+Dr!==57;)if(e+Dr===84&&hs()===47)break;return"/*"+Yd(t,Nn-1)+"*"+bm(e===47?e:zn())}function DH(e){for(;!$d(hs());)zn();return Yd(e,Nn)}function FH(e){return BS(DS("",null,null,null,[""],e=ES(e),0,[0],e))}function DS(e,t,o,r,n,a,s,i,l){for(var c=0,u=0,m=s,f=0,d=0,p=0,h=1,S=1,g=1,b=0,I="",v=n,C=a,T=r,w=I;S;)switch(p=b,b=zn()){case 40:if(p!=108&&Eo(w,m-1)==58){Gg(w+=It(Kd(b),"&","&\f"),"&\f")!=-1&&(g=-1);break}case 34:case 39:case 91:w+=Kd(b);break;case 9:case 10:case 13:case 32:w+=PH(p);break;case 92:w+=EH(qg()-1,7);continue;case 47:switch(hs()){case 42:case 47:jd(Sie(BH(zn(),qg()),t,o),l);break;default:w+="/"}break;case 123*h:i[c++]=Vn(w)*g;case 125*h:case 59:case 0:switch(b){case 0:case 125:S=0;case 59+u:g==-1&&(w=It(w,/\f/g,"")),d>0&&Vn(w)-m&&jd(d>32?_H(w+";",r,o,m-1):_H(It(w," ","")+";",r,o,m-2),l);break;case 59:w+=";";default:if(jd(T=RH(w,t,o,c,u,n,i,I,v=[],C=[],m),a),b===123)if(u===0)DS(w,t,T,T,v,a,m,i,C);else switch(f===99&&Eo(w,3)===110?100:f){case 100:case 108:case 109:case 115:DS(e,T,T,r&&jd(RH(e,T,T,0,0,n,i,I,n,v=[],m),C),n,C,m,i,r?v:C);break;default:DS(w,T,T,T,[""],C,0,i,C)}}c=u=d=0,h=g=1,I=w="",m=s;break;case 58:m=1+Vn(w),d=p;default:if(h<1){if(b==123)--h;else if(b==125&&h++==0&&LH()==125)continue}switch(w+=bm(b),b*h){case 38:g=u>0?1:(w+="\f",-1);break;case 44:i[c++]=(Vn(w)-1)*g,g=1;break;case 64:hs()===45&&(w+=Kd(zn())),f=hs(),u=m=Vn(I=w+=DH(qg())),b++;break;case 45:p===45&&Vn(w)==2&&(h=0)}}return a}function RH(e,t,o,r,n,a,s,i,l,c,u){for(var m=n-1,f=n===0?a:[""],d=Zd(f),p=0,h=0,S=0;p<r;++p)for(var g=0,b=Wc(e,m+1,m=wH(h=s[p])),I=e;g<d;++g)(I=LS(h>0?f[g]+" "+b:It(b,/&\f/g,f[g])))&&(l[S++]=I);return $g(e,t,o,n===0?Wd:i,l,c,u)}function Sie(e,t,o){return $g(e,t,o,kS,bm(MH()),Wc(e,2,-2),0)}function _H(e,t,o,r){return $g(e,t,o,Ud,Wc(e,0,r),Wc(e,r+1,-1),r)}function ym(e,t){for(var o="",r=Zd(e),n=0;n<r;n++)o+=t(e[n],n,e,t)||"";return o}function HH(e,t,o,r){switch(e.type){case CH:if(e.children.length)break;case vH:case Ud:return e.return=e.return||e.value;case kS:return"";case MS:return e.return=e.value+"{"+ym(e.children,r)+"}";case Wd:e.value=e.props.join(",")}return Vn(o=ym(e.children,r))?e.return=e.value+"{"+o+"}":""}function OH(e){var t=Zd(e);return function(o,r,n,a){for(var s="",i=0;i<t;i++)s+=e[i](o,r,n,a)||"";return s}}function VH(e){return function(t){t.root||(t=t.return)&&e(t)}}var WT=function(t){var o=new WeakMap;return function(r){if(o.has(r))return o.get(r);var n=t(r);return o.set(r,n),n}};_S();var xie=function(t,o,r){for(var n=0,a=0;n=a,a=hs(),n===38&&a===12&&(o[r]=1),!$d(a);)zn();return Yd(t,Nn)},Iie=function(t,o){var r=-1,n=44;do switch($d(n)){case 0:n===38&&hs()===12&&(o[r]=1),t[r]+=xie(Nn-1,o,r);break;case 2:t[r]+=Kd(n);break;case 4:if(n===44){t[++r]=hs()===58?"&\f":"",o[r]=t[r].length;break}default:t[r]+=bm(n)}while(n=zn());return t},vie=function(t,o){return BS(Iie(ES(t),o))},NH=new WeakMap,Cie=function(t){if(!(t.type!=="rule"||!t.parent||t.length<1)){for(var o=t.value,r=t.parent,n=t.column===r.column&&t.line===r.line;r.type!=="rule";)if(r=r.parent,!r)return;if(!(t.props.length===1&&o.charCodeAt(0)!==58&&!NH.get(r))&&!n){NH.set(t,!0);for(var a=[],s=vie(o,a),i=r.props,l=0,c=0;l<s.length;l++)for(var u=0;u<i.length;u++,c++)t.props[c]=a[l]?s[l].replace(/&\f/g,i[u]):i[u]+" "+s[l]}}},wie=function(t){if(t.type==="decl"){var o=t.value;o.charCodeAt(0)===108&&o.charCodeAt(2)===98&&(t.return="",t.value="")}};function zH(e,t){switch(AH(e,t)){case 5103:return Mt+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return Mt+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return Mt+e+jg+e+yn+e+e;case 6828:case 4268:return Mt+e+yn+e+e;case 6165:return Mt+e+yn+"flex-"+e+e;case 5187:return Mt+e+It(e,/(\w+).+(:[^]+)/,Mt+"box-$1$2"+yn+"flex-$1$2")+e;case 5443:return Mt+e+yn+"flex-item-"+It(e,/flex-|-self/,"")+e;case 4675:return Mt+e+yn+"flex-line-pack"+It(e,/align-content|flex-|-self/,"")+e;case 5548:return Mt+e+yn+It(e,"shrink","negative")+e;case 5292:return Mt+e+yn+It(e,"basis","preferred-size")+e;case 6060:return Mt+"box-"+It(e,"-grow","")+Mt+e+yn+It(e,"grow","positive")+e;case 4554:return Mt+It(e,/([^-])(transform)/g,"$1"+Mt+"$2")+e;case 6187:return It(It(It(e,/(zoom-|grab)/,Mt+"$1"),/(image-set)/,Mt+"$1"),e,"")+e;case 5495:case 3959:return It(e,/(image-set\([^]*)/,Mt+"$1$`$1");case 4968:return It(It(e,/(.+:)(flex-)?(.*)/,Mt+"box-pack:$3"+yn+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+Mt+e+e;case 4095:case 3583:case 4068:case 2532:return It(e,/(.+)-inline(.+)/,Mt+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(Vn(e)-1-t>6)switch(Eo(e,t+1)){case 109:if(Eo(e,t+4)!==45)break;case 102:return It(e,/(.+:)(.+)-([^]+)/,"$1"+Mt+"$2-$3$1"+jg+(Eo(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~Gg(e,"stretch")?zH(It(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(Eo(e,t+1)!==115)break;case 6444:switch(Eo(e,Vn(e)-3-(~Gg(e,"!important")&&10))){case 107:return It(e,":",":"+Mt)+e;case 101:return It(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+Mt+(Eo(e,14)===45?"inline-":"")+"box$3$1"+Mt+"$2$3$1"+yn+"$2box$3")+e}break;case 5936:switch(Eo(e,t+11)){case 114:return Mt+e+yn+It(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return Mt+e+yn+It(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return Mt+e+yn+It(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return Mt+e+yn+e+e}return e}var Tie=function(t,o,r,n){if(t.length>-1&&!t.return)switch(t.type){case Ud:t.return=zH(t.value,t.length);break;case MS:return ym([Xd(t,{value:It(t.value,"@","@"+Mt)})],n);case Wd:if(t.length)return NT(t.props,function(a){switch(VT(a,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return ym([Xd(t,{props:[It(a,/:(read-\w+)/,":"+jg+"$1")]})],n);case"::placeholder":return ym([Xd(t,{props:[It(a,/:(plac\w+)/,":"+Mt+"input-$1")]}),Xd(t,{props:[It(a,/:(plac\w+)/,":"+jg+"$1")]}),Xd(t,{props:[It(a,/:(plac\w+)/,yn+"input-$1")]})],n)}return""})}},Aie=[Tie],WH=function(t){var o=t.key;if(o==="css"){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(r,function(h){var S=h.getAttribute("data-emotion");S.indexOf(" ")!==-1&&(document.head.appendChild(h),h.setAttribute("data-s",""))})}var n=t.stylisPlugins||Aie,a={},s,i=[];s=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+o+' "]'),function(h){for(var S=h.getAttribute("data-emotion").split(" "),g=1;g<S.length;g++)a[S[g]]=!0;i.push(h)});var l,c=[Cie,wie];{var u,m=[HH,VH(function(h){u.insert(h)})],f=OH(c.concat(n,m)),d=function(S){return ym(FH(S),f)};l=function(S,g,b,I){u=b,d(S?S+"{"+g.styles+"}":g.styles),I&&(p.inserted[g.name]=!0)}}var p={key:o,sheet:new IH({key:o,container:s,nonce:t.nonce,speedy:t.speedy,prepend:t.prepend,insertionPoint:t.insertionPoint}),nonce:t.nonce,inserted:a,registered:{},insert:l};return p.sheet.hydrate(i),p};function Zs(){return Zs=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)({}).hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},Zs.apply(null,arguments)}var Vie=!0;function Xg(e,t,o){var r="";return o.split(" ").forEach(function(n){e[n]!==void 0?t.push(e[n]+";"):n&&(r+=n+" ")}),r}var Qd=function(t,o,r){var n=t.key+"-"+o.name;(r===!1||Vie===!1)&&t.registered[n]===void 0&&(t.registered[n]=o.styles)},Jd=function(t,o,r){Qd(t,o,r);var n=t.key+"-"+o.name;if(t.inserted[o.name]===void 0){var a=o;do t.insert(o===a?"."+n:"",a,t.sheet,!0),a=a.next;while(a!==void 0)}};function eO(e){for(var t=0,o,r=0,n=e.length;n>=4;++r,n-=4)o=e.charCodeAt(r)&255|(e.charCodeAt(++r)&255)<<8|(e.charCodeAt(++r)&255)<<16|(e.charCodeAt(++r)&255)<<24,o=(o&65535)*1540483477+((o>>>16)*59797<<16),o^=o>>>24,t=(o&65535)*1540483477+((o>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(n){case 3:t^=(e.charCodeAt(r+2)&255)<<16;case 2:t^=(e.charCodeAt(r+1)&255)<<8;case 1:t^=e.charCodeAt(r)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var tO={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};_S();var Nie=!1,zie=/[A-Z]|^ms/g,Wie=/_EMO_([^_]+?)_([^]*?)_EMO_/g,aO=function(t){return t.charCodeAt(1)===45},oO=function(t){return t!=null&&typeof t!="boolean"},qT=RS(function(e){return aO(e)?e:e.replace(zie,"-$&").toLowerCase()}),rO=function(t,o){switch(t){case"animation":case"animationName":if(typeof o=="string")return o.replace(Wie,function(r,n,a){return vi={name:n,styles:a,next:vi},n})}return tO[t]!==1&&!aO(t)&&typeof o=="number"&&o!==0?o+"px":o},Uie="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function Yg(e,t,o){if(o==null)return"";var r=o;if(r.__emotion_styles!==void 0)return r;switch(typeof o){case"boolean":return"";case"object":{var n=o;if(n.anim===1)return vi={name:n.name,styles:n.styles,next:vi},n.name;var a=o;if(a.styles!==void 0){var s=a.next;if(s!==void 0)for(;s!==void 0;)vi={name:s.name,styles:s.styles,next:vi},s=s.next;var i=a.styles+";";return i}return Zie(e,t,o)}case"function":{if(e!==void 0){var l=vi,c=o(e);return vi=l,Yg(e,t,c)}break}}var u=o;if(t==null)return u;var m=t[u];return m!==void 0?m:u}function Zie(e,t,o){var r="";if(Array.isArray(o))for(var n=0;n<o.length;n++)r+=Yg(e,t,o[n])+";";else for(var a in o){var s=o[a];if(typeof s!="object"){var i=s;t!=null&&t[i]!==void 0?r+=a+"{"+t[i]+"}":oO(i)&&(r+=qT(a)+":"+rO(a,i)+";")}else{if(a==="NO_COMPONENT_SELECTOR"&&Nie)throw new Error(Uie);if(Array.isArray(s)&&typeof s[0]=="string"&&(t==null||t[s[0]]===void 0))for(var l=0;l<s.length;l++)oO(s[l])&&(r+=qT(a)+":"+rO(a,s[l])+";");else{var c=Yg(e,t,s);switch(a){case"animation":case"animationName":{r+=qT(a)+":"+c+";";break}default:r+=a+"{"+c+"}"}}}}return r}var nO=/label:\s*([^\s;{]+)\s*(;|$)/g,vi;function Sm(e,t,o){if(e.length===1&&typeof e[0]=="object"&&e[0]!==null&&e[0].styles!==void 0)return e[0];var r=!0,n="";vi=void 0;var a=e[0];if(a==null||a.raw===void 0)r=!1,n+=Yg(o,t,a);else{var s=a;n+=s[0]}for(var i=1;i<e.length;i++)if(n+=Yg(o,t,e[i]),r){var l=a;n+=l[i]}nO.lastIndex=0;for(var c="",u;(u=nO.exec(n))!==null;)c+="-"+u[1];var m=eO(n)+c;return{name:m,styles:n,next:vi}}var Kg=k(F()),jie=function(t){return t()},sO=Kg.useInsertionEffect?Kg.useInsertionEffect:!1,Qg=sO||jie,XT=sO||Kg.useLayoutEffect;var iO=!1,KT=sa.createContext(typeof HTMLElement<"u"?WH({key:"css"}):null),Gie=KT.Provider,QT=function(){return(0,Jg.useContext)(KT)},ep=function(t){return(0,Jg.forwardRef)(function(o,r){var n=(0,Jg.useContext)(KT);return t(o,n,r)})},Ci=sa.createContext({});var $ie=function(t,o){if(typeof o=="function"){var r=o(t);return r}return Zs({},t,o)},qie=WT(function(e){return WT(function(t){return $ie(e,t)})}),JT=function(t){var o=sa.useContext(Ci);return t.theme!==o&&(o=qie(o)(t.theme)),sa.createElement(Ci.Provider,{value:o},t.children)};var GS={}.hasOwnProperty,YT="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",lO=function(t,o){var r={};for(var n in o)GS.call(o,n)&&(r[n]=o[n]);return r[YT]=t,r},Xie=function(t){var o=t.cache,r=t.serialized,n=t.isStringTag;return Qd(o,r,n),Qg(function(){return Jd(o,r,n)}),null},Yie=ep(function(e,t,o){var r=e.css;typeof r=="string"&&t.registered[r]!==void 0&&(r=t.registered[r]);var n=e[YT],a=[r],s="";typeof e.className=="string"?s=Xg(t.registered,a,e.className):e.className!=null&&(s=e.className+" ");var i=Sm(a,void 0,sa.useContext(Ci));s+=t.key+"-"+i.name;var l={};for(var c in e)GS.call(e,c)&&c!=="css"&&c!==YT&&!iO&&(l[c]=e[c]);return l.className=s,o&&(l.ref=o),sa.createElement(sa.Fragment,null,sa.createElement(Xie,{cache:t,serialized:i,isStringTag:typeof n=="string"}),sa.createElement(n,l))}),cO=Yie;var Uc=k(F());var gwe=k(JH()),uO=function(t,o){var r=arguments;if(o==null||!GS.call(o,"css"))return Uc.createElement.apply(void 0,r);var n=r.length,a=new Array(n);a[0]=cO,a[1]=lO(t,o);for(var s=2;s<n;s++)a[s]=r[s];return Uc.createElement.apply(null,a)};(function(e){var t;t||(t=e.JSX||(e.JSX={}))})(uO||(uO={}));var tp=ep(function(e,t){var o=e.styles,r=Sm([o],void 0,Uc.useContext(Ci)),n=Uc.useRef();return XT(function(){var a=t.key+"-global",s=new t.sheet.constructor({key:a,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),i=!1,l=document.querySelector('style[data-emotion="'+a+" "+r.name+'"]');return t.sheet.tags.length&&(s.before=t.sheet.tags[0]),l!==null&&(i=!0,l.setAttribute("data-emotion",a),s.hydrate([l])),n.current=[s,i],function(){s.flush()}},[t]),XT(function(){var a=n.current,s=a[0],i=a[1];if(i){a[1]=!1;return}if(r.next!==void 0&&Jd(t,r.next,!0),s.tags.length){var l=s.tags[s.tags.length-1].nextElementSibling;s.before=l,s.flush()}t.insert("",r,s,!1)},[t,r.name]),null});function Kie(){for(var e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];return Sm(t)}function js(){var e=Kie.apply(void 0,arguments),t="animation-"+e.name;return{name:t,styles:"@keyframes "+t+"{"+e.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}}var Sn=k(F(),1);var $S=k(F(),1),xm=(0,$S.createContext)({});xm.displayName="ColorModeContext";function wi(){let e=(0,$S.useContext)(xm);if(e===void 0)throw new Error("useColorMode must be used within a ColorModeProvider");return e}function Zc(e,t){let{colorMode:o}=wi();return o==="dark"?t:e}var qS={light:"chakra-ui-light",dark:"chakra-ui-dark"};function mO(e={}){let{preventTransition:t=!0,nonce:o}=e,r={setDataset:n=>{let a=t?r.preventTransition():void 0;document.documentElement.dataset.theme=n,document.documentElement.style.colorScheme=n,a?.()},setClassName(n){document.body.classList.add(n?qS.dark:qS.light),document.body.classList.remove(n?qS.light:qS.dark)},query(){return window.matchMedia("(prefers-color-scheme: dark)")},getSystemTheme(n){return r.query().matches??n==="dark"?"dark":"light"},addListener(n){let a=r.query(),s=i=>{n(i.matches?"dark":"light")};return typeof a.addListener=="function"?a.addListener(s):a.addEventListener("change",s),()=>{typeof a.removeListener=="function"?a.removeListener(s):a.removeEventListener("change",s)}},preventTransition(){let n=document.createElement("style");return n.appendChild(document.createTextNode("*{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}")),o!==void 0&&(n.nonce=o),document.head.appendChild(n),()=>{window.getComputedStyle(document.body),requestAnimationFrame(()=>{requestAnimationFrame(()=>{document.head.removeChild(n)})})}}};return r}var dO="chakra-ui-color-mode";function Qie(e){return{ssr:!1,type:"localStorage",get(t){if(!globalThis?.document)return t;let o;try{o=localStorage.getItem(e)||t}catch{}return o||t},set(t){try{localStorage.setItem(e,t)}catch{}}}}var pO=Qie(dO);function fO(e,t){return e.match(new RegExp(`(^| )${t}=([^;]+)`))?.[2]}function Jie(e,t){return{ssr:!!t,type:"cookie",get(o){return t?fO(t,e):globalThis?.document&&fO(document.cookie,e)||o},set(o){document.cookie=`${e}=${o}; max-age=31536000; path=/`}}}var Iwe=Jie(dO);var op=()=>{},ele=t3()?Sn.useLayoutEffect:Sn.useEffect;function hO(e,t){return e.type==="cookie"&&e.ssr?e.get(t):t}var eA=function(t){let{value:o,children:r,options:{useSystemColorMode:n,initialColorMode:a,disableTransitionOnChange:s}={},colorModeManager:i=pO}=t,l=QT(),c=a==="dark"?"dark":"light",[u,m]=(0,Sn.useState)(()=>hO(i,c)),[f,d]=(0,Sn.useState)(()=>hO(i)),{getSystemTheme:p,setClassName:h,setDataset:S,addListener:g}=(0,Sn.useMemo)(()=>mO({preventTransition:s,nonce:l?.nonce}),[s,l?.nonce]),b=a==="system"&&!u?f:u,I=(0,Sn.useCallback)(T=>{let w=T==="system"?p():T;m(w),h(w==="dark"),S(w),i.set(w)},[i,p,h,S]);ele(()=>{a==="system"&&d(p())},[]),(0,Sn.useEffect)(()=>{let T=i.get();if(T){I(T);return}if(a==="system"){I("system");return}I(c)},[i,c,a,I]);let v=(0,Sn.useCallback)(()=>{I(b==="dark"?"light":"dark")},[b,I]);(0,Sn.useEffect)(()=>{if(n)return g(I)},[n,g,I]);let C=(0,Sn.useMemo)(()=>({colorMode:o??b,toggleColorMode:o?op:v,setColorMode:o?op:I,forced:o!==void 0}),[b,v,I,o]);return(0,XS.jsx)(xm.Provider,{value:C,children:r})};eA.displayName="ColorModeProvider";function tle(e){let t=(0,Sn.useMemo)(()=>({colorMode:"dark",toggleColorMode:op,setColorMode:op,forced:!0}),[]);return(0,XS.jsx)(xm.Provider,{value:t,...e})}tle.displayName="DarkMode";function ole(e){let t=(0,Sn.useMemo)(()=>({colorMode:"light",toggleColorMode:op,setColorMode:op,forced:!0}),[]);return(0,XS.jsx)(xm.Provider,{value:t,...e})}ole.displayName="LightMode";var tA=k(re(),1);var gO=String.raw,bO=gO`
|
|
859
|
+
:root,
|
|
860
|
+
:host {
|
|
861
|
+
--chakra-vh: 100vh;
|
|
862
|
+
}
|
|
863
|
+
|
|
864
|
+
@supports (height: -webkit-fill-available) {
|
|
865
|
+
:root,
|
|
866
|
+
:host {
|
|
867
|
+
--chakra-vh: -webkit-fill-available;
|
|
868
|
+
}
|
|
869
|
+
}
|
|
870
|
+
|
|
871
|
+
@supports (height: -moz-fill-available) {
|
|
872
|
+
:root,
|
|
873
|
+
:host {
|
|
874
|
+
--chakra-vh: -moz-fill-available;
|
|
875
|
+
}
|
|
876
|
+
}
|
|
877
|
+
|
|
878
|
+
@supports (height: 100dvh) {
|
|
879
|
+
:root,
|
|
880
|
+
:host {
|
|
881
|
+
--chakra-vh: 100dvh;
|
|
882
|
+
}
|
|
883
|
+
}
|
|
884
|
+
`,yO=()=>(0,tA.jsx)(tp,{styles:bO}),SO=({scope:e=""})=>(0,tA.jsx)(tp,{styles:gO`
|
|
885
|
+
html {
|
|
886
|
+
line-height: 1.5;
|
|
887
|
+
-webkit-text-size-adjust: 100%;
|
|
888
|
+
font-family: system-ui, sans-serif;
|
|
889
|
+
-webkit-font-smoothing: antialiased;
|
|
890
|
+
text-rendering: optimizeLegibility;
|
|
891
|
+
-moz-osx-font-smoothing: grayscale;
|
|
892
|
+
touch-action: manipulation;
|
|
893
|
+
}
|
|
894
|
+
|
|
895
|
+
body {
|
|
896
|
+
position: relative;
|
|
897
|
+
min-height: 100%;
|
|
898
|
+
margin: 0;
|
|
899
|
+
font-feature-settings: "kern";
|
|
900
|
+
}
|
|
901
|
+
|
|
902
|
+
${e} :where(*, *::before, *::after) {
|
|
903
|
+
border-width: 0;
|
|
904
|
+
border-style: solid;
|
|
905
|
+
box-sizing: border-box;
|
|
906
|
+
word-wrap: break-word;
|
|
907
|
+
}
|
|
908
|
+
|
|
909
|
+
main {
|
|
910
|
+
display: block;
|
|
911
|
+
}
|
|
912
|
+
|
|
913
|
+
${e} hr {
|
|
914
|
+
border-top-width: 1px;
|
|
915
|
+
box-sizing: content-box;
|
|
916
|
+
height: 0;
|
|
917
|
+
overflow: visible;
|
|
918
|
+
}
|
|
919
|
+
|
|
920
|
+
${e} :where(pre, code, kbd,samp) {
|
|
921
|
+
font-family: SFMono-Regular, Menlo, Monaco, Consolas, monospace;
|
|
922
|
+
font-size: 1em;
|
|
923
|
+
}
|
|
924
|
+
|
|
925
|
+
${e} a {
|
|
926
|
+
background-color: transparent;
|
|
927
|
+
color: inherit;
|
|
928
|
+
text-decoration: inherit;
|
|
929
|
+
}
|
|
930
|
+
|
|
931
|
+
${e} abbr[title] {
|
|
932
|
+
border-bottom: none;
|
|
933
|
+
text-decoration: underline;
|
|
934
|
+
-webkit-text-decoration: underline dotted;
|
|
935
|
+
text-decoration: underline dotted;
|
|
936
|
+
}
|
|
937
|
+
|
|
938
|
+
${e} :where(b, strong) {
|
|
939
|
+
font-weight: bold;
|
|
940
|
+
}
|
|
941
|
+
|
|
942
|
+
${e} small {
|
|
943
|
+
font-size: 80%;
|
|
944
|
+
}
|
|
945
|
+
|
|
946
|
+
${e} :where(sub,sup) {
|
|
947
|
+
font-size: 75%;
|
|
948
|
+
line-height: 0;
|
|
949
|
+
position: relative;
|
|
950
|
+
vertical-align: baseline;
|
|
951
|
+
}
|
|
952
|
+
|
|
953
|
+
${e} sub {
|
|
954
|
+
bottom: -0.25em;
|
|
955
|
+
}
|
|
956
|
+
|
|
957
|
+
${e} sup {
|
|
958
|
+
top: -0.5em;
|
|
959
|
+
}
|
|
960
|
+
|
|
961
|
+
${e} img {
|
|
962
|
+
border-style: none;
|
|
963
|
+
}
|
|
964
|
+
|
|
965
|
+
${e} :where(button, input, optgroup, select, textarea) {
|
|
966
|
+
font-family: inherit;
|
|
967
|
+
font-size: 100%;
|
|
968
|
+
line-height: 1.15;
|
|
969
|
+
margin: 0;
|
|
970
|
+
}
|
|
971
|
+
|
|
972
|
+
${e} :where(button, input) {
|
|
973
|
+
overflow: visible;
|
|
974
|
+
}
|
|
975
|
+
|
|
976
|
+
${e} :where(button, select) {
|
|
977
|
+
text-transform: none;
|
|
978
|
+
}
|
|
979
|
+
|
|
980
|
+
${e} :where(
|
|
981
|
+
button::-moz-focus-inner,
|
|
982
|
+
[type="button"]::-moz-focus-inner,
|
|
983
|
+
[type="reset"]::-moz-focus-inner,
|
|
984
|
+
[type="submit"]::-moz-focus-inner
|
|
985
|
+
) {
|
|
986
|
+
border-style: none;
|
|
987
|
+
padding: 0;
|
|
988
|
+
}
|
|
989
|
+
|
|
990
|
+
${e} fieldset {
|
|
991
|
+
padding: 0.35em 0.75em 0.625em;
|
|
992
|
+
}
|
|
993
|
+
|
|
994
|
+
${e} legend {
|
|
995
|
+
box-sizing: border-box;
|
|
996
|
+
color: inherit;
|
|
997
|
+
display: table;
|
|
998
|
+
max-width: 100%;
|
|
999
|
+
padding: 0;
|
|
1000
|
+
white-space: normal;
|
|
1001
|
+
}
|
|
1002
|
+
|
|
1003
|
+
${e} progress {
|
|
1004
|
+
vertical-align: baseline;
|
|
1005
|
+
}
|
|
1006
|
+
|
|
1007
|
+
${e} textarea {
|
|
1008
|
+
overflow: auto;
|
|
1009
|
+
}
|
|
1010
|
+
|
|
1011
|
+
${e} :where([type="checkbox"], [type="radio"]) {
|
|
1012
|
+
box-sizing: border-box;
|
|
1013
|
+
padding: 0;
|
|
1014
|
+
}
|
|
1015
|
+
|
|
1016
|
+
${e} input[type="number"]::-webkit-inner-spin-button,
|
|
1017
|
+
${e} input[type="number"]::-webkit-outer-spin-button {
|
|
1018
|
+
-webkit-appearance: none !important;
|
|
1019
|
+
}
|
|
1020
|
+
|
|
1021
|
+
${e} input[type="number"] {
|
|
1022
|
+
-moz-appearance: textfield;
|
|
1023
|
+
}
|
|
1024
|
+
|
|
1025
|
+
${e} input[type="search"] {
|
|
1026
|
+
-webkit-appearance: textfield;
|
|
1027
|
+
outline-offset: -2px;
|
|
1028
|
+
}
|
|
1029
|
+
|
|
1030
|
+
${e} input[type="search"]::-webkit-search-decoration {
|
|
1031
|
+
-webkit-appearance: none !important;
|
|
1032
|
+
}
|
|
1033
|
+
|
|
1034
|
+
${e} ::-webkit-file-upload-button {
|
|
1035
|
+
-webkit-appearance: button;
|
|
1036
|
+
font: inherit;
|
|
1037
|
+
}
|
|
1038
|
+
|
|
1039
|
+
${e} details {
|
|
1040
|
+
display: block;
|
|
1041
|
+
}
|
|
1042
|
+
|
|
1043
|
+
${e} summary {
|
|
1044
|
+
display: list-item;
|
|
1045
|
+
}
|
|
1046
|
+
|
|
1047
|
+
template {
|
|
1048
|
+
display: none;
|
|
1049
|
+
}
|
|
1050
|
+
|
|
1051
|
+
[hidden] {
|
|
1052
|
+
display: none !important;
|
|
1053
|
+
}
|
|
1054
|
+
|
|
1055
|
+
${e} :where(
|
|
1056
|
+
blockquote,
|
|
1057
|
+
dl,
|
|
1058
|
+
dd,
|
|
1059
|
+
h1,
|
|
1060
|
+
h2,
|
|
1061
|
+
h3,
|
|
1062
|
+
h4,
|
|
1063
|
+
h5,
|
|
1064
|
+
h6,
|
|
1065
|
+
hr,
|
|
1066
|
+
figure,
|
|
1067
|
+
p,
|
|
1068
|
+
pre
|
|
1069
|
+
) {
|
|
1070
|
+
margin: 0;
|
|
1071
|
+
}
|
|
1072
|
+
|
|
1073
|
+
${e} button {
|
|
1074
|
+
background: transparent;
|
|
1075
|
+
padding: 0;
|
|
1076
|
+
}
|
|
1077
|
+
|
|
1078
|
+
${e} fieldset {
|
|
1079
|
+
margin: 0;
|
|
1080
|
+
padding: 0;
|
|
1081
|
+
}
|
|
1082
|
+
|
|
1083
|
+
${e} :where(ol, ul) {
|
|
1084
|
+
margin: 0;
|
|
1085
|
+
padding: 0;
|
|
1086
|
+
}
|
|
1087
|
+
|
|
1088
|
+
${e} textarea {
|
|
1089
|
+
resize: vertical;
|
|
1090
|
+
}
|
|
1091
|
+
|
|
1092
|
+
${e} :where(button, [role="button"]) {
|
|
1093
|
+
cursor: pointer;
|
|
1094
|
+
}
|
|
1095
|
+
|
|
1096
|
+
${e} button::-moz-focus-inner {
|
|
1097
|
+
border: 0 !important;
|
|
1098
|
+
}
|
|
1099
|
+
|
|
1100
|
+
${e} table {
|
|
1101
|
+
border-collapse: collapse;
|
|
1102
|
+
}
|
|
1103
|
+
|
|
1104
|
+
${e} :where(h1, h2, h3, h4, h5, h6) {
|
|
1105
|
+
font-size: inherit;
|
|
1106
|
+
font-weight: inherit;
|
|
1107
|
+
}
|
|
1108
|
+
|
|
1109
|
+
${e} :where(button, input, optgroup, select, textarea) {
|
|
1110
|
+
padding: 0;
|
|
1111
|
+
line-height: inherit;
|
|
1112
|
+
color: inherit;
|
|
1113
|
+
}
|
|
1114
|
+
|
|
1115
|
+
${e} :where(img, svg, video, canvas, audio, iframe, embed, object) {
|
|
1116
|
+
display: block;
|
|
1117
|
+
}
|
|
1118
|
+
|
|
1119
|
+
${e} :where(img, video) {
|
|
1120
|
+
max-width: 100%;
|
|
1121
|
+
height: auto;
|
|
1122
|
+
}
|
|
1123
|
+
|
|
1124
|
+
[data-js-focus-visible]
|
|
1125
|
+
:focus:not([data-focus-visible-added]):not(
|
|
1126
|
+
[data-focus-visible-disabled]
|
|
1127
|
+
) {
|
|
1128
|
+
outline: none;
|
|
1129
|
+
box-shadow: none;
|
|
1130
|
+
}
|
|
1131
|
+
|
|
1132
|
+
${e} select::-ms-expand {
|
|
1133
|
+
display: none;
|
|
1134
|
+
}
|
|
1135
|
+
|
|
1136
|
+
${bO}
|
|
1137
|
+
`});var rp=k(re(),1);var xO=k(F(),1);function IO(e){let{cssVarsRoot:t,theme:o,children:r}=e,n=(0,xO.useMemo)(()=>H3(o),[o]);return(0,rp.jsxs)(JT,{theme:n,children:[(0,rp.jsx)(rle,{root:t}),r]})}function rle({root:e=":host, :root"}){let t=[e,"[data-theme]"].join(",");return(0,rp.jsx)(tp,{styles:o=>({[t]:o.__cssVars})})}var[_we,Fwe]=$e({name:"StylesContext",errorMessage:"useStyles: `styles` is undefined. Seems you forgot to wrap the components in `<StylesProvider />` "});function vO(){let{colorMode:e}=wi();return(0,rp.jsx)(tp,{styles:t=>{let o=hg(t,"styles.global"),r=Br(o,{theme:t,colorMode:e});return r?Mg(r)(t):void 0}})}var CO=k(re(),1);var[nle,wO]=$e({strict:!1,name:"PortalManagerContext"});function oA(e){let{children:t,zIndex:o}=e;return(0,CO.jsx)(nle,{value:{zIndex:o},children:t})}oA.displayName="PortalManager";var YS=k(re(),1);var jc=k(F(),1),TO=(0,jc.createContext)({getDocument(){return document},getWindow(){return window}});TO.displayName="EnvironmentContext";function rA(e){let{children:t,environment:o,disabled:r}=e,n=(0,jc.useRef)(null),a=(0,jc.useMemo)(()=>o||{getDocument:()=>n.current?.ownerDocument??document,getWindow:()=>n.current?.ownerDocument.defaultView??window},[o]),s=!r||!o;return(0,YS.jsxs)(TO.Provider,{value:a,children:[t,s&&(0,YS.jsx)("span",{id:"__chakra_env",hidden:!0,ref:n})]})}rA.displayName="EnvironmentProvider";var AO=e=>{let{children:t,colorModeManager:o,portalZIndex:r,resetScope:n,resetCSS:a=!0,theme:s={},environment:i,cssVarsRoot:l,disableEnvironment:c,disableGlobalStyle:u}=e,m=(0,vl.jsx)(rA,{environment:i,disabled:c,children:t});return(0,vl.jsx)(IO,{theme:s,cssVarsRoot:l,children:(0,vl.jsxs)(eA,{colorModeManager:o,options:s.config,children:[a?(0,vl.jsx)(SO,{scope:n}):(0,vl.jsx)(yO,{}),!u&&(0,vl.jsx)(vO,{}),r?(0,vl.jsx)(oA,{zIndex:r,children:m}):m]})})};var w1=k(re(),1);var t1=k(re(),1),Ti=k(F(),1);var kO=k(F(),1),np=(0,kO.createContext)({});var MO=k(F(),1);function ap(e){let t=(0,MO.useRef)(null);return t.current===null&&(t.current=e()),t.current}var aA=k(re(),1),DO=k(F(),1),Im=k(F(),1);var LO=k(F(),1),Cl=(0,LO.createContext)(null);var EO=k(re(),1),KS=k(F(),1),wl=k(F(),1);var PO=k(F(),1),sp=(0,PO.createContext)({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"});var nA=class extends KS.Component{getSnapshotBeforeUpdate(t){let o=this.props.childRef.current;if(o&&t.isPresent&&!this.props.isPresent){let r=this.props.sizeRef.current;r.height=o.offsetHeight||0,r.width=o.offsetWidth||0,r.top=o.offsetTop,r.left=o.offsetLeft}return null}componentDidUpdate(){}render(){return this.props.children}};function BO({children:e,isPresent:t}){let o=(0,wl.useId)(),r=(0,wl.useRef)(null),n=(0,wl.useRef)({width:0,height:0,top:0,left:0}),{nonce:a}=(0,wl.useContext)(sp);return(0,wl.useInsertionEffect)(()=>{let{width:s,height:i,top:l,left:c}=n.current;if(t||!r.current||!s||!i)return;r.current.dataset.motionPopId=o;let u=document.createElement("style");return a&&(u.nonce=a),document.head.appendChild(u),u.sheet&&u.sheet.insertRule(`
|
|
1138
|
+
[data-motion-pop-id="${o}"] {
|
|
1139
|
+
position: absolute !important;
|
|
1140
|
+
width: ${s}px !important;
|
|
1141
|
+
height: ${i}px !important;
|
|
1142
|
+
top: ${l}px !important;
|
|
1143
|
+
left: ${c}px !important;
|
|
1144
|
+
}
|
|
1145
|
+
`),()=>{document.head.removeChild(u)}},[t]),(0,EO.jsx)(nA,{isPresent:t,childRef:r,sizeRef:n,children:KS.cloneElement(e,{ref:r})})}var RO=({children:e,initial:t,isPresent:o,onExitComplete:r,custom:n,presenceAffectsLayout:a,mode:s})=>{let i=ap(ale),l=(0,Im.useId)(),c=(0,Im.useCallback)(m=>{i.set(m,!0);for(let f of i.values())if(!f)return;r&&r()},[i,r]),u=(0,Im.useMemo)(()=>({id:l,initial:t,isPresent:o,custom:n,onExitComplete:c,register:m=>(i.set(m,!1),()=>i.delete(m))}),a?[Math.random(),c]:[o,c]);return(0,Im.useMemo)(()=>{i.forEach((m,f)=>i.set(f,!1))},[o]),DO.useEffect(()=>{!o&&!i.size&&r&&r()},[o]),s==="popLayout"&&(e=(0,aA.jsx)(BO,{isPresent:o,children:e})),(0,aA.jsx)(Cl.Provider,{value:u,children:e})};function ale(){return new Map}var Tl=k(F(),1);function vm(e=!0){let t=(0,Tl.useContext)(Cl);if(t===null)return[!0,null];let{isPresent:o,onExitComplete:r,register:n}=t,a=(0,Tl.useId)();(0,Tl.useEffect)(()=>{e&&n(a)},[e]);let s=(0,Tl.useCallback)(()=>e&&r&&r(a),[a,r,e]);return!o&&r?[!1,s]:[!0]}function sA(){return sle((0,Tl.useContext)(Cl))}function sle(e){return e===null?!0:e.isPresent}var QS=k(F(),1),e1=e=>e.key||"";function iA(e){let t=[];return QS.Children.forEach(e,o=>{(0,QS.isValidElement)(o)&&t.push(o)}),t}var JS=k(F(),1);var ip=typeof window<"u";var ex=ip?JS.useLayoutEffect:JS.useEffect;var Gs=({children:e,custom:t,initial:o=!0,onExitComplete:r,presenceAffectsLayout:n=!0,mode:a="sync",propagate:s=!1})=>{let[i,l]=vm(s),c=(0,Ti.useMemo)(()=>iA(e),[e]),u=s&&!i?[]:c.map(e1),m=(0,Ti.useRef)(!0),f=(0,Ti.useRef)(c),d=ap(()=>new Map),[p,h]=(0,Ti.useState)(c),[S,g]=(0,Ti.useState)(c);ex(()=>{m.current=!1,f.current=c;for(let v=0;v<S.length;v++){let C=e1(S[v]);u.includes(C)?d.delete(C):d.get(C)!==!0&&d.set(C,!1)}},[S,u.length,u.join("-")]);let b=[];if(c!==p){let v=[...c];for(let C=0;C<S.length;C++){let T=S[C],w=e1(T);u.includes(w)||(v.splice(C,0,T),b.push(T))}a==="wait"&&b.length&&(v=b),g(iA(v)),h(c);return}let{forceRender:I}=(0,Ti.useContext)(np);return(0,t1.jsx)(t1.Fragment,{children:S.map(v=>{let C=e1(v),T=s&&!i?!1:c===S||u.includes(C),w=()=>{if(d.has(C))d.set(C,!0);else return;let E=!0;d.forEach(B=>{B||(E=!1)}),E&&(I?.(),g(f.current),s&&l?.(),r&&r())};return(0,t1.jsx)(RO,{isPresent:T,initial:!m.current||o?void 0:!1,custom:T?void 0:t,presenceAffectsLayout:n,mode:a,onExitComplete:T?void 0:w,children:v},C)})})};var zt=e=>e;var Al=zt,$s=zt;function Cm(e){let t;return()=>(t===void 0&&(t=e()),t)}var Va=(e,t,o)=>{let r=t-e;return r===0?1:(o-e)/r};var Bo=e=>e*1e3,xn=e=>e/1e3;var lp={skipAnimations:!1,useManualTiming:!1};function _O(e){let t=new Set,o=new Set,r=!1,n=!1,a=new WeakSet,s={delta:0,timestamp:0,isProcessing:!1};function i(c){a.has(c)&&(l.schedule(c),e()),c(s)}let l={schedule:(c,u=!1,m=!1)=>{let d=m&&r?t:o;return u&&a.add(c),d.has(c)||d.add(c),c},cancel:c=>{o.delete(c),a.delete(c)},process:c=>{if(s=c,r){n=!0;return}r=!0,[t,o]=[o,t],t.forEach(i),t.clear(),r=!1,n&&(n=!1,l.process(c))}};return l}var tx=["read","resolveKeyframes","update","preRender","render","postRender"],ile=40;function ox(e,t){let o=!1,r=!0,n={delta:0,timestamp:0,isProcessing:!1},a=()=>o=!0,s=tx.reduce((g,b)=>(g[b]=_O(a),g),{}),{read:i,resolveKeyframes:l,update:c,preRender:u,render:m,postRender:f}=s,d=()=>{let g=lp.useManualTiming?n.timestamp:performance.now();o=!1,n.delta=r?1e3/60:Math.max(Math.min(g-n.timestamp,ile),1),n.timestamp=g,n.isProcessing=!0,i.process(n),l.process(n),c.process(n),u.process(n),m.process(n),f.process(n),n.isProcessing=!1,o&&t&&(r=!1,e(d))},p=()=>{o=!0,r=!0,n.isProcessing||e(d)};return{schedule:tx.reduce((g,b)=>{let I=s[b];return g[b]=(v,C=!1,T=!1)=>(o||p(),I.schedule(v,C,T)),g},{}),cancel:g=>{for(let b=0;b<tx.length;b++)s[tx[b]].cancel(g)},state:n,steps:s}}var{schedule:tt,cancel:Na,state:Do,steps:rx}=ox(typeof requestAnimationFrame<"u"?requestAnimationFrame:zt,!0);var FO=k(F(),1),nx=(0,FO.createContext)({strict:!1});var HO={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},kl={};for(let e in HO)kl[e]={isEnabled:t=>HO[e].some(o=>!!t[o])};function OO(e){for(let t in e)kl[t]={...kl[t],...e[t]}}var lle=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function o1(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||lle.has(e)}var NO=e=>!o1(e);function ule(e){e&&(NO=t=>t.startsWith("on")?!o1(t):e(t))}try{ule((ax(),mK(VO)).default)}catch{}function zO(e,t,o){let r={};for(let n in e)n==="values"&&typeof e.values=="object"||(NO(n)||o===!0&&o1(n)||!t&&!o1(n)||e.draggable&&n.startsWith("onDrag"))&&(r[n]=e[n]);return r}function WO(e){if(typeof Proxy>"u")return e;let t=new Map,o=(...r)=>e(...r);return new Proxy(o,{get:(r,n)=>n==="create"?e:(t.has(n)||t.set(n,e(n)),t.get(n))})}var mx=k(re(),1);var mp=k(F(),1);var UO=k(F(),1),Gc=(0,UO.createContext)({});var lx=k(F(),1);function Ml(e){return typeof e=="string"||Array.isArray(e)}function $c(e){return e!==null&&typeof e=="object"&&typeof e.start=="function"}var sx=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],r1=["initial",...sx];function wm(e){return $c(e.animate)||r1.some(t=>Ml(e[t]))}function ix(e){return!!(wm(e)||e.variants)}function ZO(e,t){if(wm(e)){let{initial:o,animate:r}=e;return{initial:o===!1||Ml(o)?o:void 0,animate:Ml(r)?r:void 0}}return e.inherit!==!1?t:{}}function GO(e){let{initial:t,animate:o}=ZO(e,(0,lx.useContext)(Gc));return(0,lx.useMemo)(()=>({initial:t,animate:o}),[jO(t),jO(o)])}function jO(e){return Array.isArray(e)?e.join(" "):e}var $O=Symbol.for("motionComponentSymbol");var qO=k(F(),1);function Ll(e){return e&&typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function XO(e,t,o){return(0,qO.useCallback)(r=>{r&&e.onMount&&e.onMount(r),t&&(r?t.mount(r):t.unmount()),o&&(typeof o=="function"?o(r):Ll(o)&&(o.current=r))},[t])}var ia=k(F(),1);var cp=e=>e.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase();var mle="framerAppearId",cx="data-"+cp(mle);var{schedule:up,cancel:dTe}=ox(queueMicrotask,!1);var YO=k(F(),1),ux=(0,YO.createContext)({});function KO(e,t,o,r,n){var a,s;let{visualElement:i}=(0,ia.useContext)(Gc),l=(0,ia.useContext)(nx),c=(0,ia.useContext)(Cl),u=(0,ia.useContext)(sp).reducedMotion,m=(0,ia.useRef)(null);r=r||l.renderer,!m.current&&r&&(m.current=r(e,{visualState:t,parent:i,props:o,presenceContext:c,blockInitialAnimation:c?c.initial===!1:!1,reducedMotionConfig:u}));let f=m.current,d=(0,ia.useContext)(ux);f&&!f.projection&&n&&(f.type==="html"||f.type==="svg")&&fle(m.current,o,n,d);let p=(0,ia.useRef)(!1);(0,ia.useInsertionEffect)(()=>{f&&p.current&&f.update(o,c)});let h=o[cx],S=(0,ia.useRef)(!!h&&!(!((a=window.MotionHandoffIsComplete)===null||a===void 0)&&a.call(window,h))&&((s=window.MotionHasOptimisedAnimation)===null||s===void 0?void 0:s.call(window,h)));return ex(()=>{f&&(p.current=!0,window.MotionIsMounted=!0,f.updateFeatures(),up.render(f.render),S.current&&f.animationState&&f.animationState.animateChanges())}),(0,ia.useEffect)(()=>{f&&(!S.current&&f.animationState&&f.animationState.animateChanges(),S.current&&(queueMicrotask(()=>{var g;(g=window.MotionHandoffMarkAsComplete)===null||g===void 0||g.call(window,h)}),S.current=!1))}),f}function fle(e,t,o,r){let{layoutId:n,layout:a,drag:s,dragConstraints:i,layoutScroll:l,layoutRoot:c}=t;e.projection=new o(e.latestValues,t["data-framer-portal-id"]?void 0:QO(e.parent)),e.projection.setOptions({layoutId:n,layout:a,alwaysMeasureLayout:!!s||i&&Ll(i),visualElement:e,animationType:typeof a=="string"?a:"both",initialPromotionConfig:r,layoutScroll:l,layoutRoot:c})}function QO(e){if(e)return e.options.allowProjection!==!1?e.projection:QO(e.parent)}function JO({preloadedFeatures:e,createVisualElement:t,useRender:o,useVisualState:r,Component:n}){var a,s;e&&OO(e);function i(c,u){let m,f={...(0,mp.useContext)(sp),...c,layoutId:dle(c)},{isStatic:d}=f,p=GO(c),h=r(c,d);if(!d&&ip){ple(f,e);let S=hle(f);m=S.MeasureLayout,p.visualElement=KO(n,h,f,t,S.ProjectionNode)}return(0,mx.jsxs)(Gc.Provider,{value:p,children:[m&&p.visualElement?(0,mx.jsx)(m,{visualElement:p.visualElement,...f}):null,o(n,c,XO(h,p.visualElement,u),h,d,p.visualElement)]})}i.displayName=`motion.${typeof n=="string"?n:`create(${(s=(a=n.displayName)!==null&&a!==void 0?a:n.name)!==null&&s!==void 0?s:""})`}`;let l=(0,mp.forwardRef)(i);return l[$O]=n,l}function dle({layoutId:e}){let t=(0,mp.useContext)(np).id;return t&&e!==void 0?t+"-"+e:e}function ple(e,t){let o=(0,mp.useContext)(nx).strict}function hle(e){let{drag:t,layout:o}=kl;if(!t&&!o)return{};let r={...t,...o};return{MeasureLayout:t?.isEnabled(e)||o?.isEnabled(e)?r.MeasureLayout:void 0,ProjectionNode:r.ProjectionNode}}var eV=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function fp(e){return typeof e!="string"||e.includes("-")?!1:!!(eV.indexOf(e)>-1||/[A-Z]/u.test(e))}var cA=k(F(),1);function tV(e){let t=[{},{}];return e?.values.forEach((o,r)=>{t[0][r]=o.get(),t[1][r]=o.getVelocity()}),t}function dp(e,t,o,r){if(typeof t=="function"){let[n,a]=tV(r);t=t(o!==void 0?o:e.custom,n,a)}if(typeof t=="string"&&(t=e.variants&&e.variants[t]),typeof t=="function"){let[n,a]=tV(r);t=t(o!==void 0?o:e.custom,n,a)}return t}var n1=e=>Array.isArray(e);var oV=e=>!!(e&&typeof e=="object"&&e.mix&&e.toValue),rV=e=>n1(e)?e[e.length-1]||0:e;var Kt=e=>!!(e&&e.getVelocity);function pp(e){let t=Kt(e)?e.get():e;return oV(t)?t.toValue():t}function gle({scrapeMotionValuesFromProps:e,createRenderState:t,onUpdate:o},r,n,a){let s={latestValues:ble(r,n,a,e),renderState:t()};return o&&(s.onMount=i=>o({props:r,current:i,...s}),s.onUpdate=i=>o(i)),s}var fx=e=>(t,o)=>{let r=(0,cA.useContext)(Gc),n=(0,cA.useContext)(Cl),a=()=>gle(e,t,r,n);return o?a():ap(a)};function ble(e,t,o,r){let n={},a=r(e,{});for(let f in a)n[f]=pp(a[f]);let{initial:s,animate:i}=e,l=wm(e),c=ix(e);t&&c&&!l&&e.inherit!==!1&&(s===void 0&&(s=t.initial),i===void 0&&(i=t.animate));let u=o?o.initial===!1:!1;u=u||s===!1;let m=u?i:s;if(m&&typeof m!="boolean"&&!$c(m)){let f=Array.isArray(m)?m:[m];for(let d=0;d<f.length;d++){let p=dp(e,f[d]);if(p){let{transitionEnd:h,transition:S,...g}=p;for(let b in g){let I=g[b];if(Array.isArray(I)){let v=u?I.length-1:0;I=I[v]}I!==null&&(n[b]=I)}for(let b in h)n[b]=h[b]}}}return n}var Ai=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],la=new Set(Ai);var nV=e=>t=>typeof t=="string"&&t.startsWith(e),dx=nV("--"),yle=nV("var(--"),hp=e=>yle(e)?Sle.test(e.split("/*")[0].trim()):!1,Sle=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;var px=(e,t)=>t&&typeof e=="number"?t.transform(e):e;var In=(e,t,o)=>o>t?t:o<e?e:o;var ki={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},Pl={...ki,transform:e=>In(0,1,e)},a1={...ki,default:1};var s1=e=>({test:t=>typeof t=="string"&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),Mi=s1("deg"),Wn=s1("%"),Me=s1("px"),aV=s1("vh"),sV=s1("vw"),uA={...Wn,parse:e=>Wn.parse(e)/100,transform:e=>Wn.transform(e*100)};var iV={borderWidth:Me,borderTopWidth:Me,borderRightWidth:Me,borderBottomWidth:Me,borderLeftWidth:Me,borderRadius:Me,radius:Me,borderTopLeftRadius:Me,borderTopRightRadius:Me,borderBottomRightRadius:Me,borderBottomLeftRadius:Me,width:Me,maxWidth:Me,height:Me,maxHeight:Me,top:Me,right:Me,bottom:Me,left:Me,padding:Me,paddingTop:Me,paddingRight:Me,paddingBottom:Me,paddingLeft:Me,margin:Me,marginTop:Me,marginRight:Me,marginBottom:Me,marginLeft:Me,backgroundPositionX:Me,backgroundPositionY:Me};var lV={rotate:Mi,rotateX:Mi,rotateY:Mi,rotateZ:Mi,scale:a1,scaleX:a1,scaleY:a1,scaleZ:a1,skew:Mi,skewX:Mi,skewY:Mi,distance:Me,translateX:Me,translateY:Me,translateZ:Me,x:Me,y:Me,z:Me,perspective:Me,transformPerspective:Me,opacity:Pl,originX:uA,originY:uA,originZ:Me};var mA={...ki,transform:Math.round};var gp={...iV,...lV,zIndex:mA,size:Me,fillOpacity:Pl,strokeOpacity:Pl,numOctaves:mA};var xle={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},Ile=Ai.length;function cV(e,t,o){let r="",n=!0;for(let a=0;a<Ile;a++){let s=Ai[a],i=e[s];if(i===void 0)continue;let l=!0;if(typeof i=="number"?l=i===(s.startsWith("scale")?1:0):l=parseFloat(i)===0,!l||o){let c=px(i,gp[s]);if(!l){n=!1;let u=xle[s]||s;r+=`${u}(${c}) `}o&&(t[s]=c)}}return r=r.trim(),o?r=o(t,n?"":r):n&&(r="none"),r}function bp(e,t,o){let{style:r,vars:n,transformOrigin:a}=e,s=!1,i=!1;for(let l in t){let c=t[l];if(la.has(l)){s=!0;continue}else if(dx(l)){n[l]=c;continue}else{let u=px(c,gp[l]);l.startsWith("origin")?(i=!0,a[l]=u):r[l]=u}}if(t.transform||(s||o?r.transform=cV(t,e.transform,o):r.transform&&(r.transform="none")),i){let{originX:l="50%",originY:c="50%",originZ:u=0}=a;r.transformOrigin=`${l} ${c} ${u}`}}var vle={offset:"stroke-dashoffset",array:"stroke-dasharray"},Cle={offset:"strokeDashoffset",array:"strokeDasharray"};function uV(e,t,o=1,r=0,n=!0){e.pathLength=1;let a=n?vle:Cle;e[a.offset]=Me.transform(-r);let s=Me.transform(t),i=Me.transform(o);e[a.array]=`${s} ${i}`}function mV(e,t,o){return typeof e=="string"?e:Me.transform(t+o*e)}function fV(e,t,o){let r=mV(t,e.x,e.width),n=mV(o,e.y,e.height);return`${r} ${n}`}function yp(e,{attrX:t,attrY:o,attrScale:r,originX:n,originY:a,pathLength:s,pathSpacing:i=1,pathOffset:l=0,...c},u,m){if(bp(e,c,m),u){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};let{attrs:f,style:d,dimensions:p}=e;f.transform&&(p&&(d.transform=f.transform),delete f.transform),p&&(n!==void 0||a!==void 0||d.transform)&&(d.transformOrigin=fV(p,n!==void 0?n:.5,a!==void 0?a:.5)),t!==void 0&&(f.x=t),o!==void 0&&(f.y=o),r!==void 0&&(f.scale=r),s!==void 0&&uV(f,s,i,l,!1)}var Sp=()=>({style:{},transform:{},transformOrigin:{},vars:{}});var hx=()=>({...Sp(),attrs:{}});var xp=e=>typeof e=="string"&&e.toLowerCase()==="svg";function gx(e,{style:t,vars:o},r,n){Object.assign(e.style,t,n&&n.getProjectionStyles(r));for(let a in o)e.style.setProperty(a,o[a])}var bx=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]);function yx(e,t,o,r){gx(e,t,void 0,r);for(let n in t.attrs)e.setAttribute(bx.has(n)?n:cp(n),t.attrs[n])}var Ip={};function dV(e){Object.assign(Ip,e)}function Sx(e,{layout:t,layoutId:o}){return la.has(e)||e.startsWith("origin")||(t||o!==void 0)&&(!!Ip[e]||e==="opacity")}function vp(e,t,o){var r;let{style:n}=e,a={};for(let s in n)(Kt(n[s])||t.style&&Kt(t.style[s])||Sx(s,e)||((r=o?.getValue(s))===null||r===void 0?void 0:r.liveStyle)!==void 0)&&(a[s]=n[s]);return a}function xx(e,t,o){let r=vp(e,t,o);for(let n in e)if(Kt(e[n])||Kt(t[n])){let a=Ai.indexOf(n)!==-1?"attr"+n.charAt(0).toUpperCase()+n.substring(1):n;r[a]=e[n]}return r}function wle(e,t){try{t.dimensions=typeof e.getBBox=="function"?e.getBBox():e.getBoundingClientRect()}catch{t.dimensions={x:0,y:0,width:0,height:0}}}var pV=["x","y","width","height","cx","cy","r"],hV={useVisualState:fx({scrapeMotionValuesFromProps:xx,createRenderState:hx,onUpdate:({props:e,prevProps:t,current:o,renderState:r,latestValues:n})=>{if(!o)return;let a=!!e.drag;if(!a){for(let i in n)if(la.has(i)){a=!0;break}}if(!a)return;let s=!t;if(t)for(let i=0;i<pV.length;i++){let l=pV[i];e[l]!==t[l]&&(s=!0)}s&&tt.read(()=>{wle(o,r),tt.render(()=>{yp(r,n,xp(o.tagName),e.transformTemplate),yx(o,r)})})}})};var gV={useVisualState:fx({scrapeMotionValuesFromProps:vp,createRenderState:Sp})};var Cp=k(F(),1);var bV=k(F(),1);function fA(e,t,o){for(let r in t)!Kt(t[r])&&!Sx(r,o)&&(e[r]=t[r])}function Tle({transformTemplate:e},t){return(0,bV.useMemo)(()=>{let o=Sp();return bp(o,t,e),Object.assign({},o.vars,o.style)},[t])}function Ale(e,t){let o=e.style||{},r={};return fA(r,o,e),Object.assign(r,Tle(e,t)),r}function yV(e,t){let o={},r=Ale(e,t);return e.drag&&e.dragListener!==!1&&(o.draggable=!1,r.userSelect=r.WebkitUserSelect=r.WebkitTouchCallout="none",r.touchAction=e.drag===!0?"none":`pan-${e.drag==="x"?"y":"x"}`),e.tabIndex===void 0&&(e.onTap||e.onTapStart||e.whileTap)&&(o.tabIndex=0),o.style=r,o}var SV=k(F(),1);function xV(e,t,o,r){let n=(0,SV.useMemo)(()=>{let a=hx();return yp(a,t,xp(r),e.transformTemplate),{...a.attrs,style:{...a.style}}},[t]);if(e.style){let a={};fA(a,e.style,e),n.style={...a,...n.style}}return n}function IV(e=!1){return(o,r,n,{latestValues:a},s)=>{let l=(fp(o)?xV:yV)(r,a,s,o),c=zO(r,typeof o=="string",e),u=o!==Cp.Fragment?{...c,...l,ref:n}:{},{children:m}=r,f=(0,Cp.useMemo)(()=>Kt(m)?m.get():m,[m]);return(0,Cp.createElement)(o,{...u,children:f})}}function vV(e,t){return function(r,{forwardMotionProps:n}={forwardMotionProps:!1}){let s={...fp(r)?hV:gV,preloadedFeatures:e,useRender:IV(n),createVisualElement:t,Component:r};return JO(s)}}function dA(e,t){if(!Array.isArray(t))return!1;let o=t.length;if(o!==e.length)return!1;for(let r=0;r<o;r++)if(t[r]!==e[r])return!1;return!0}function qc(e,t,o){let r=e.getProps();return dp(r,t,o!==void 0?o:r.custom,e)}var pA=Cm(()=>window.ScrollTimeline!==void 0);var i1=class{constructor(t){this.stop=()=>this.runAll("stop"),this.animations=t.filter(Boolean)}get finished(){return Promise.all(this.animations.map(t=>"finished"in t?t.finished:t))}getAll(t){return this.animations[0][t]}setAll(t,o){for(let r=0;r<this.animations.length;r++)this.animations[r][t]=o}attachTimeline(t,o){let r=this.animations.map(n=>{if(pA()&&n.attachTimeline)return n.attachTimeline(t);if(typeof o=="function")return o(n)});return()=>{r.forEach((n,a)=>{n&&n(),this.animations[a].stop()})}}get time(){return this.getAll("time")}set time(t){this.setAll("time",t)}get speed(){return this.getAll("speed")}set speed(t){this.setAll("speed",t)}get startTime(){return this.getAll("startTime")}get duration(){let t=0;for(let o=0;o<this.animations.length;o++)t=Math.max(t,this.animations[o].duration);return t}runAll(t){this.animations.forEach(o=>o[t]())}flatten(){this.runAll("flatten")}play(){this.runAll("play")}pause(){this.runAll("pause")}cancel(){this.runAll("cancel")}complete(){this.runAll("complete")}};var l1=class extends i1{then(t,o){return Promise.all(this.animations).then(t).catch(o)}};function Xc(e,t){return e?e[t]||e.default||e:void 0}function wp(e){let t=0,o=50,r=e.next(t);for(;!r.done&&t<2e4;)t+=o,r=e.next(t);return t>=2e4?1/0:t}function Yc(e){return typeof e=="function"}function c1(e,t){e.timeline=t,e.onfinish=null}var Tp=e=>Array.isArray(e)&&typeof e[0]=="number";var gA={linearEasing:void 0};function CV(e,t){let o=Cm(e);return()=>{var r;return(r=gA[t])!==null&&r!==void 0?r:o()}}var Kc=CV(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing");var u1=(e,t,o=10)=>{let r="",n=Math.max(Math.round(t/o),2);for(let a=0;a<n;a++)r+=e(Va(0,n-1,a))+", ";return`linear(${r.substring(0,r.length-2)})`};function vx(e){return!!(typeof e=="function"&&Kc()||!e||typeof e=="string"&&(e in Ix||Kc())||Tp(e)||Array.isArray(e)&&e.every(vx))}var Ap=([e,t,o,r])=>`cubic-bezier(${e}, ${t}, ${o}, ${r})`,Ix={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:Ap([0,.65,.55,1]),circOut:Ap([.55,0,1,.45]),backIn:Ap([.31,.01,.66,-.59]),backOut:Ap([.33,1.53,.69,.99])};function kp(e,t){if(e)return typeof e=="function"&&Kc()?u1(e,t):Tp(e)?Ap(e):Array.isArray(e)?e.map(o=>kp(o,t)||Ix.easeOut):Ix[e]}var za={x:!1,y:!1};function Mp(){return za.x||za.y}function bA(e,t,o){var r;if(e instanceof Element)return[e];if(typeof e=="string"){let n=document;t&&(n=t.current);let a=(r=o?.[e])!==null&&r!==void 0?r:n.querySelectorAll(e);return a?Array.from(a):[]}return Array.from(e)}function Cx(e,t){let o=bA(e),r=new AbortController,n={passive:!0,...t,signal:r.signal};return[o,n,()=>r.abort()]}function wV(e){return t=>{t.pointerType==="touch"||Mp()||e(t)}}function yA(e,t,o={}){let[r,n,a]=Cx(e,o),s=wV(i=>{let{target:l}=i,c=t(i);if(typeof c!="function"||!l)return;let u=wV(m=>{c(m),l.removeEventListener("pointerleave",u)});l.addEventListener("pointerleave",u,n)});return r.forEach(i=>{i.addEventListener("pointerenter",s,n)}),a}var wx=(e,t)=>t?e===t?!0:wx(e,t.parentElement):!1;var Tm=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1;var kle=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function TV(e){return kle.has(e.tagName)||e.tabIndex!==-1}var Am=new WeakSet;function AV(e){return t=>{t.key==="Enter"&&e(t)}}function SA(e,t){e.dispatchEvent(new PointerEvent("pointer"+t,{isPrimary:!0,bubbles:!0}))}var kV=(e,t)=>{let o=e.currentTarget;if(!o)return;let r=AV(()=>{if(Am.has(o))return;SA(o,"down");let n=AV(()=>{SA(o,"up")}),a=()=>SA(o,"cancel");o.addEventListener("keyup",n,t),o.addEventListener("blur",a,t)});o.addEventListener("keydown",r,t),o.addEventListener("blur",()=>o.removeEventListener("keydown",r),t)};function MV(e){return Tm(e)&&!Mp()}function xA(e,t,o={}){let[r,n,a]=Cx(e,o),s=i=>{let l=i.currentTarget;if(!MV(i)||Am.has(l))return;Am.add(l);let c=t(i),u=(d,p)=>{window.removeEventListener("pointerup",m),window.removeEventListener("pointercancel",f),!(!MV(d)||!Am.has(l))&&(Am.delete(l),typeof c=="function"&&c(d,{success:p}))},m=d=>{u(d,o.useGlobalTarget||wx(l,d.target))},f=d=>{u(d,!1)};window.addEventListener("pointerup",m,n),window.addEventListener("pointercancel",f,n)};return r.forEach(i=>{!TV(i)&&i.getAttribute("tabindex")===null&&(i.tabIndex=0),(o.useGlobalTarget?window:i).addEventListener("pointerdown",s,n),i.addEventListener("focus",c=>kV(c,n),n)}),a}function IA(e){return e==="x"||e==="y"?za[e]?null:(za[e]=!0,()=>{za[e]=!1}):za.x||za.y?null:(za.x=za.y=!0,()=>{za.x=za.y=!1})}var Tx=new Set(["width","height","top","left","right","bottom",...Ai]);var Ax;function Lle(){Ax=void 0}var Ln={now:()=>(Ax===void 0&&Ln.set(Do.isProcessing||lp.useManualTiming?Do.timestamp:performance.now()),Ax),set:e=>{Ax=e,queueMicrotask(Lle)}};function Lp(e,t){e.indexOf(t)===-1&&e.push(t)}function Pp(e,t){let o=e.indexOf(t);o>-1&&e.splice(o,1)}var Qc=class{constructor(){this.subscriptions=[]}add(t){return Lp(this.subscriptions,t),()=>Pp(this.subscriptions,t)}notify(t,o,r){let n=this.subscriptions.length;if(n)if(n===1)this.subscriptions[0](t,o,r);else for(let a=0;a<n;a++){let s=this.subscriptions[a];s&&s(t,o,r)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}};function kx(e,t){return t?e*(1e3/t):0}var PV=30,Ple=e=>!isNaN(parseFloat(e)),EV={current:void 0},vA=class{constructor(t,o={}){this.version="11.18.2",this.canTrackVelocity=null,this.events={},this.updateAndNotify=(r,n=!0)=>{let a=Ln.now();this.updatedAt!==a&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(r),this.current!==this.prev&&this.events.change&&this.events.change.notify(this.current),n&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.hasAnimated=!1,this.setCurrent(t),this.owner=o.owner}setCurrent(t){this.current=t,this.updatedAt=Ln.now(),this.canTrackVelocity===null&&t!==void 0&&(this.canTrackVelocity=Ple(this.current))}setPrevFrameValue(t=this.current){this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt}onChange(t){return this.on("change",t)}on(t,o){this.events[t]||(this.events[t]=new Qc);let r=this.events[t].add(o);return t==="change"?()=>{r(),tt.read(()=>{this.events.change.getSize()||this.stop()})}:r}clearListeners(){for(let t in this.events)this.events[t].clear()}attach(t,o){this.passiveEffect=t,this.stopPassiveEffect=o}set(t,o=!0){!o||!this.passiveEffect?this.updateAndNotify(t,o):this.passiveEffect(t,this.updateAndNotify)}setWithVelocity(t,o,r){this.set(o),this.prev=void 0,this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt-r}jump(t,o=!0){this.updateAndNotify(t),this.prev=t,this.prevUpdatedAt=this.prevFrameValue=void 0,o&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return EV.current&&EV.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){let t=Ln.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||t-this.updatedAt>PV)return 0;let o=Math.min(this.updatedAt-this.prevUpdatedAt,PV);return kx(parseFloat(this.current)-parseFloat(this.prevFrameValue),o)}start(t){return this.stop(),new Promise(o=>{this.hasAnimated=!0,this.animation=t(o),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}};function El(e,t){return new vA(e,t)}function Ele(e,t,o){e.hasValue(t)?e.getValue(t).set(o):e.addValue(t,El(o))}function BV(e,t){let o=qc(e,t),{transitionEnd:r={},transition:n={},...a}=o||{};a={...a,...r};for(let s in a){let i=rV(a[s]);Ele(e,s,i)}}function DV(e){return!!(Kt(e)&&e.add)}function m1(e,t){let o=e.getValue("willChange");if(DV(o))return o.add(t)}function Mx(e){return e.props[cx]}var Lx={current:!1};var RV=(e,t,o)=>(((1-3*o+3*t)*e+(3*o-6*t))*e+3*t)*e,Ble=1e-7,Dle=12;function Rle(e,t,o,r,n){let a,s,i=0;do s=t+(o-t)/2,a=RV(s,r,n)-e,a>0?o=s:t=s;while(Math.abs(a)>Ble&&++i<Dle);return s}function Jc(e,t,o,r){if(e===t&&o===r)return zt;let n=a=>Rle(a,0,1,e,o);return a=>a===0||a===1?a:RV(n(a),t,r)}var Px=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2;var Ex=e=>t=>1-e(1-t);var CA=Jc(.33,1.53,.69,.99),f1=Ex(CA),Bx=Px(f1);var Dx=e=>(e*=2)<1?.5*f1(e):.5*(2-Math.pow(2,-10*(e-1)));var Rx=e=>1-Math.sin(Math.acos(e)),_x=Ex(Rx),Fx=Px(Rx);var Hx=e=>/^0[^.\s]+$/u.test(e);function _V(e){return typeof e=="number"?e===0:e!==null?e==="none"||e==="0"||Hx(e):!0}var eu=e=>Math.round(e*1e5)/1e5;var Ep=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function FV(e){return e==null}var HV=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu;var Bp=(e,t)=>o=>!!(typeof o=="string"&&HV.test(o)&&o.startsWith(e)||t&&!FV(o)&&Object.prototype.hasOwnProperty.call(o,t)),Ox=(e,t,o)=>r=>{if(typeof r!="string")return r;let[n,a,s,i]=r.match(Ep);return{[e]:parseFloat(n),[t]:parseFloat(a),[o]:parseFloat(s),alpha:i!==void 0?parseFloat(i):1}};var _le=e=>In(0,255,e),wA={...ki,transform:e=>Math.round(_le(e))},Li={test:Bp("rgb","red"),parse:Ox("red","green","blue"),transform:({red:e,green:t,blue:o,alpha:r=1})=>"rgba("+wA.transform(e)+", "+wA.transform(t)+", "+wA.transform(o)+", "+eu(Pl.transform(r))+")"};function Fle(e){let t="",o="",r="",n="";return e.length>5?(t=e.substring(1,3),o=e.substring(3,5),r=e.substring(5,7),n=e.substring(7,9)):(t=e.substring(1,2),o=e.substring(2,3),r=e.substring(3,4),n=e.substring(4,5),t+=t,o+=o,r+=r,n+=n),{red:parseInt(t,16),green:parseInt(o,16),blue:parseInt(r,16),alpha:n?parseInt(n,16)/255:1}}var d1={test:Bp("#"),parse:Fle,transform:Li.transform};var tu={test:Bp("hsl","hue"),parse:Ox("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:o,alpha:r=1})=>"hsla("+Math.round(e)+", "+Wn.transform(eu(t))+", "+Wn.transform(eu(o))+", "+eu(Pl.transform(r))+")"};var Rr={test:e=>Li.test(e)||d1.test(e)||tu.test(e),parse:e=>Li.test(e)?Li.parse(e):tu.test(e)?tu.parse(e):d1.parse(e),transform:e=>typeof e=="string"?e:e.hasOwnProperty("red")?Li.transform(e):tu.transform(e)};var OV=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function Hle(e){var t,o;return isNaN(e)&&typeof e=="string"&&(((t=e.match(Ep))===null||t===void 0?void 0:t.length)||0)+(((o=e.match(OV))===null||o===void 0?void 0:o.length)||0)>0}var NV="number",zV="color",Ole="var",Vle="var(",VV="${}",Nle=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function km(e){let t=e.toString(),o=[],r={color:[],number:[],var:[]},n=[],a=0,i=t.replace(Nle,l=>(Rr.test(l)?(r.color.push(a),n.push(zV),o.push(Rr.parse(l))):l.startsWith(Vle)?(r.var.push(a),n.push(Ole),o.push(l)):(r.number.push(a),n.push(NV),o.push(parseFloat(l))),++a,VV)).split(VV);return{values:o,split:i,indexes:r,types:n}}function WV(e){return km(e).values}function UV(e){let{split:t,types:o}=km(e),r=t.length;return n=>{let a="";for(let s=0;s<r;s++)if(a+=t[s],n[s]!==void 0){let i=o[s];i===NV?a+=eu(n[s]):i===zV?a+=Rr.transform(n[s]):a+=n[s]}return a}}var zle=e=>typeof e=="number"?0:e;function Wle(e){let t=WV(e);return UV(e)(t.map(zle))}var Un={test:Hle,parse:WV,createTransformer:UV,getAnimatableNone:Wle};var Ule=new Set(["brightness","contrast","saturate","opacity"]);function Zle(e){let[t,o]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;let[r]=o.match(Ep)||[];if(!r)return e;let n=o.replace(r,""),a=Ule.has(t)?1:0;return r!==o&&(a*=100),t+"("+a+n+")"}var jle=/\b([a-z-]*)\(.*?\)/gu,p1={...Un,getAnimatableNone:e=>{let t=e.match(jle);return t?t.map(Zle).join(" "):e}};var Gle={...gp,color:Rr,backgroundColor:Rr,outlineColor:Rr,fill:Rr,stroke:Rr,borderColor:Rr,borderTopColor:Rr,borderRightColor:Rr,borderBottomColor:Rr,borderLeftColor:Rr,filter:p1,WebkitFilter:p1},Dp=e=>Gle[e];function Vx(e,t){let o=Dp(e);return o!==p1&&(o=Un),o.getAnimatableNone?o.getAnimatableNone(t):void 0}var $le=new Set(["auto","none","0"]);function ZV(e,t,o){let r=0,n;for(;r<e.length&&!n;){let a=e[r];typeof a=="string"&&!$le.has(a)&&km(a).values.length&&(n=e[r]),r++}if(n&&o)for(let a of t)e[a]=Vx(o,n)}var TA=e=>e===ki||e===Me,jV=(e,t)=>parseFloat(e.split(", ")[t]),GV=(e,t)=>(o,{transform:r})=>{if(r==="none"||!r)return 0;let n=r.match(/^matrix3d\((.+)\)$/u);if(n)return jV(n[1],t);{let a=r.match(/^matrix\((.+)\)$/u);return a?jV(a[1],e):0}},qle=new Set(["x","y","z"]),Xle=Ai.filter(e=>!qle.has(e));function $V(e){let t=[];return Xle.forEach(o=>{let r=e.getValue(o);r!==void 0&&(t.push([o,r.get()]),r.set(o.startsWith("scale")?1:0))}),t}var Mm={width:({x:e},{paddingLeft:t="0",paddingRight:o="0"})=>e.max-e.min-parseFloat(t)-parseFloat(o),height:({y:e},{paddingTop:t="0",paddingBottom:o="0"})=>e.max-e.min-parseFloat(t)-parseFloat(o),top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:GV(4,13),y:GV(5,14)};Mm.translateX=Mm.x;Mm.translateY=Mm.y;var Lm=new Set,AA=!1,kA=!1;function qV(){if(kA){let e=Array.from(Lm).filter(r=>r.needsMeasurement),t=new Set(e.map(r=>r.element)),o=new Map;t.forEach(r=>{let n=$V(r);n.length&&(o.set(r,n),r.render())}),e.forEach(r=>r.measureInitialState()),t.forEach(r=>{r.render();let n=o.get(r);n&&n.forEach(([a,s])=>{var i;(i=r.getValue(a))===null||i===void 0||i.set(s)})}),e.forEach(r=>r.measureEndState()),e.forEach(r=>{r.suspendedScrollY!==void 0&&window.scrollTo(0,r.suspendedScrollY)})}kA=!1,AA=!1,Lm.forEach(e=>e.complete()),Lm.clear()}function XV(){Lm.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(kA=!0)})}function YV(){XV(),qV()}var ou=class{constructor(t,o,r,n,a,s=!1){this.isComplete=!1,this.isAsync=!1,this.needsMeasurement=!1,this.isScheduled=!1,this.unresolvedKeyframes=[...t],this.onComplete=o,this.name=r,this.motionValue=n,this.element=a,this.isAsync=s}scheduleResolve(){this.isScheduled=!0,this.isAsync?(Lm.add(this),AA||(AA=!0,tt.read(XV),tt.resolveKeyframes(qV))):(this.readKeyframes(),this.complete())}readKeyframes(){let{unresolvedKeyframes:t,name:o,element:r,motionValue:n}=this;for(let a=0;a<t.length;a++)if(t[a]===null)if(a===0){let s=n?.get(),i=t[t.length-1];if(s!==void 0)t[0]=s;else if(r&&o){let l=r.readValue(o,i);l!=null&&(t[0]=l)}t[0]===void 0&&(t[0]=i),n&&s===void 0&&n.set(t[0])}else t[a]=t[a-1]}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(){this.isComplete=!0,this.onComplete(this.unresolvedKeyframes,this.finalKeyframe),Lm.delete(this)}cancel(){this.isComplete||(this.isScheduled=!1,Lm.delete(this))}resume(){this.isComplete||this.scheduleResolve()}};var Nx=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e);var Yle=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function Kle(e){let t=Yle.exec(e);if(!t)return[,];let[,o,r,n]=t;return[`--${o??r}`,n]}var Qle=4;function MA(e,t,o=1){$s(o<=Qle,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`);let[r,n]=Kle(e);if(!r)return;let a=window.getComputedStyle(t).getPropertyValue(r);if(a){let s=a.trim();return Nx(s)?parseFloat(s):s}return hp(n)?MA(n,t,o+1):n}var zx=e=>t=>t.test(e);var KV={test:e=>e==="auto",parse:e=>e};var LA=[ki,Me,Wn,Mi,sV,aV,KV],PA=e=>LA.find(zx(e));var Rp=class extends ou{constructor(t,o,r,n,a){super(t,o,r,n,a,!0)}readKeyframes(){let{unresolvedKeyframes:t,element:o,name:r}=this;if(!o||!o.current)return;super.readKeyframes();for(let l=0;l<t.length;l++){let c=t[l];if(typeof c=="string"&&(c=c.trim(),hp(c))){let u=MA(c,o.current);u!==void 0&&(t[l]=u),l===t.length-1&&(this.finalKeyframe=c)}}if(this.resolveNoneKeyframes(),!Tx.has(r)||t.length!==2)return;let[n,a]=t,s=PA(n),i=PA(a);if(s!==i)if(TA(s)&&TA(i))for(let l=0;l<t.length;l++){let c=t[l];typeof c=="string"&&(t[l]=parseFloat(c))}else this.needsMeasurement=!0}resolveNoneKeyframes(){let{unresolvedKeyframes:t,name:o}=this,r=[];for(let n=0;n<t.length;n++)_V(t[n])&&r.push(n);r.length&&ZV(t,r,o)}measureInitialState(){let{element:t,unresolvedKeyframes:o,name:r}=this;if(!t||!t.current)return;r==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=Mm[r](t.measureViewportBox(),window.getComputedStyle(t.current)),o[0]=this.measuredOrigin;let n=o[o.length-1];n!==void 0&&t.getValue(r,n).jump(n,!1)}measureEndState(){var t;let{element:o,name:r,unresolvedKeyframes:n}=this;if(!o||!o.current)return;let a=o.getValue(r);a&&a.jump(this.measuredOrigin,!1);let s=n.length-1,i=n[s];n[s]=Mm[r](o.measureViewportBox(),window.getComputedStyle(o.current)),i!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=i),!((t=this.removedTransforms)===null||t===void 0)&&t.length&&this.removedTransforms.forEach(([l,c])=>{o.getValue(l).set(c)}),this.resolveNoneKeyframes()}};var EA=(e,t)=>t==="zIndex"?!1:!!(typeof e=="number"||Array.isArray(e)||typeof e=="string"&&(Un.test(e)||e==="0")&&!e.startsWith("url("));function Jle(e){let t=e[0];if(e.length===1)return!0;for(let o=0;o<e.length;o++)if(e[o]!==t)return!0}function QV(e,t,o,r){let n=e[0];if(n===null)return!1;if(t==="display"||t==="visibility")return!0;let a=e[e.length-1],s=EA(n,t),i=EA(a,t);return Al(s===i,`You are trying to animate ${t} from "${n}" to "${a}". ${n} is not an animatable value - to enable this animation set ${n} to a value animatable to ${a} via the \`style\` property.`),!s||!i?!1:Jle(e)||(o==="spring"||Yc(o))&&r}var ece=e=>e!==null;function ru(e,{repeat:t,repeatType:o="loop"},r){let n=e.filter(ece),a=t&&o!=="loop"&&t%2===1?0:n.length-1;return!a||r===void 0?n[a]:r}var tce=40,_p=class{constructor({autoplay:t=!0,delay:o=0,type:r="keyframes",repeat:n=0,repeatDelay:a=0,repeatType:s="loop",...i}){this.isStopped=!1,this.hasAttemptedResolve=!1,this.createdAt=Ln.now(),this.options={autoplay:t,delay:o,type:r,repeat:n,repeatDelay:a,repeatType:s,...i},this.updateFinishedPromise()}calcStartTime(){return this.resolvedAt?this.resolvedAt-this.createdAt>tce?this.resolvedAt:this.createdAt:this.createdAt}get resolved(){return!this._resolved&&!this.hasAttemptedResolve&&YV(),this._resolved}onKeyframesResolved(t,o){this.resolvedAt=Ln.now(),this.hasAttemptedResolve=!0;let{name:r,type:n,velocity:a,delay:s,onComplete:i,onUpdate:l,isGenerator:c}=this.options;if(!c&&!QV(t,r,n,a))if(Lx.current||!s){l&&l(ru(t,this.options,o)),i&&i(),this.resolveFinishedPromise();return}else this.options.duration=0;let u=this.initPlayback(t,o);u!==!1&&(this._resolved={keyframes:t,finalKeyframe:o,...u},this.onPostResolved())}onPostResolved(){}then(t,o){return this.currentFinishedPromise.then(t,o)}flatten(){this.options.type="keyframes",this.options.ease="linear"}updateFinishedPromise(){this.currentFinishedPromise=new Promise(t=>{this.resolveFinishedPromise=t})}};var St=(e,t,o)=>e+(t-e)*o;function BA(e,t,o){return o<0&&(o+=1),o>1&&(o-=1),o<1/6?e+(t-e)*6*o:o<1/2?t:o<2/3?e+(t-e)*(2/3-o)*6:e}function JV({hue:e,saturation:t,lightness:o,alpha:r}){e/=360,t/=100,o/=100;let n=0,a=0,s=0;if(!t)n=a=s=o;else{let i=o<.5?o*(1+t):o+t-o*t,l=2*o-i;n=BA(l,i,e+1/3),a=BA(l,i,e),s=BA(l,i,e-1/3)}return{red:Math.round(n*255),green:Math.round(a*255),blue:Math.round(s*255),alpha:r}}function Fp(e,t){return o=>o>0?t:e}var DA=(e,t,o)=>{let r=e*e,n=o*(t*t-r)+r;return n<0?0:Math.sqrt(n)},oce=[d1,Li,tu],rce=e=>oce.find(t=>t.test(e));function eN(e){let t=rce(e);if(Al(!!t,`'${e}' is not an animatable color. Use the equivalent color code instead.`),!t)return!1;let o=t.parse(e);return t===tu&&(o=JV(o)),o}var RA=(e,t)=>{let o=eN(e),r=eN(t);if(!o||!r)return Fp(e,t);let n={...o};return a=>(n.red=DA(o.red,r.red,a),n.green=DA(o.green,r.green,a),n.blue=DA(o.blue,r.blue,a),n.alpha=St(o.alpha,r.alpha,a),Li.transform(n))};var nce=(e,t)=>o=>t(e(o)),Pi=(...e)=>e.reduce(nce);var Wx=new Set(["none","hidden"]);function tN(e,t){return Wx.has(e)?o=>o<=0?e:t:o=>o>=1?t:e}function ace(e,t){return o=>St(e,t,o)}function Ux(e){return typeof e=="number"?ace:typeof e=="string"?hp(e)?Fp:Rr.test(e)?RA:lce:Array.isArray(e)?oN:typeof e=="object"?Rr.test(e)?RA:sce:Fp}function oN(e,t){let o=[...e],r=o.length,n=e.map((a,s)=>Ux(a)(a,t[s]));return a=>{for(let s=0;s<r;s++)o[s]=n[s](a);return o}}function sce(e,t){let o={...e,...t},r={};for(let n in o)e[n]!==void 0&&t[n]!==void 0&&(r[n]=Ux(e[n])(e[n],t[n]));return n=>{for(let a in r)o[a]=r[a](n);return o}}function ice(e,t){var o;let r=[],n={color:0,var:0,number:0};for(let a=0;a<t.values.length;a++){let s=t.types[a],i=e.indexes[s][n[s]],l=(o=e.values[i])!==null&&o!==void 0?o:0;r[a]=l,n[s]++}return r}var lce=(e,t)=>{let o=Un.createTransformer(t),r=km(e),n=km(t);return r.indexes.var.length===n.indexes.var.length&&r.indexes.color.length===n.indexes.color.length&&r.indexes.number.length>=n.indexes.number.length?Wx.has(e)&&!n.values.length||Wx.has(t)&&!r.values.length?tN(e,t):Pi(oN(ice(r,n),n.values),o):(Al(!0,`Complex values '${e}' and '${t}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`),Fp(e,t))};function Zx(e,t,o){return typeof e=="number"&&typeof t=="number"&&typeof o=="number"?St(e,t,o):Ux(e)(e,t)}var cce=5;function jx(e,t,o){let r=Math.max(t-cce,0);return kx(o-e(r),t-r)}var no={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1};var _A=.001;function rN({duration:e=no.duration,bounce:t=no.bounce,velocity:o=no.velocity,mass:r=no.mass}){let n,a;Al(e<=Bo(no.maxDuration),"Spring duration must be 10 seconds or less");let s=1-t;s=In(no.minDamping,no.maxDamping,s),e=In(no.minDuration,no.maxDuration,xn(e)),s<1?(n=c=>{let u=c*s,m=u*e,f=u-o,d=Gx(c,s),p=Math.exp(-m);return _A-f/d*p},a=c=>{let m=c*s*e,f=m*o+o,d=Math.pow(s,2)*Math.pow(c,2)*e,p=Math.exp(-m),h=Gx(Math.pow(c,2),s);return(-n(c)+_A>0?-1:1)*((f-d)*p)/h}):(n=c=>{let u=Math.exp(-c*e),m=(c-o)*e+1;return-_A+u*m},a=c=>{let u=Math.exp(-c*e),m=(o-c)*(e*e);return u*m});let i=5/e,l=mce(n,a,i);if(e=Bo(e),isNaN(l))return{stiffness:no.stiffness,damping:no.damping,duration:e};{let c=Math.pow(l,2)*r;return{stiffness:c,damping:s*2*Math.sqrt(r*c),duration:e}}}var uce=12;function mce(e,t,o){let r=o;for(let n=1;n<uce;n++)r=r-e(r)/t(r);return r}function Gx(e,t){return e*Math.sqrt(1-t*t)}var fce=["duration","bounce"],dce=["stiffness","damping","mass"];function nN(e,t){return t.some(o=>e[o]!==void 0)}function pce(e){let t={velocity:no.velocity,stiffness:no.stiffness,damping:no.damping,mass:no.mass,isResolvedFromDuration:!1,...e};if(!nN(e,dce)&&nN(e,fce))if(e.visualDuration){let o=e.visualDuration,r=2*Math.PI/(o*1.2),n=r*r,a=2*In(.05,1,1-(e.bounce||0))*Math.sqrt(n);t={...t,mass:no.mass,stiffness:n,damping:a}}else{let o=rN(e);t={...t,...o,mass:no.mass},t.isResolvedFromDuration=!0}return t}function $x(e=no.visualDuration,t=no.bounce){let o=typeof e!="object"?{visualDuration:e,keyframes:[0,1],bounce:t}:e,{restSpeed:r,restDelta:n}=o,a=o.keyframes[0],s=o.keyframes[o.keyframes.length-1],i={done:!1,value:a},{stiffness:l,damping:c,mass:u,duration:m,velocity:f,isResolvedFromDuration:d}=pce({...o,velocity:-xn(o.velocity||0)}),p=f||0,h=c/(2*Math.sqrt(l*u)),S=s-a,g=xn(Math.sqrt(l/u)),b=Math.abs(S)<5;r||(r=b?no.restSpeed.granular:no.restSpeed.default),n||(n=b?no.restDelta.granular:no.restDelta.default);let I;if(h<1){let C=Gx(g,h);I=T=>{let w=Math.exp(-h*g*T);return s-w*((p+h*g*S)/C*Math.sin(C*T)+S*Math.cos(C*T))}}else if(h===1)I=C=>s-Math.exp(-g*C)*(S+(p+g*S)*C);else{let C=g*Math.sqrt(h*h-1);I=T=>{let w=Math.exp(-h*g*T),E=Math.min(C*T,300);return s-w*((p+h*g*S)*Math.sinh(E)+C*S*Math.cosh(E))/C}}let v={calculatedDuration:d&&m||null,next:C=>{let T=I(C);if(d)i.done=C>=m;else{let w=0;h<1&&(w=C===0?Bo(p):jx(I,C,T));let E=Math.abs(w)<=r,B=Math.abs(s-T)<=n;i.done=E&&B}return i.value=i.done?s:T,i},toString:()=>{let C=Math.min(wp(v),2e4),T=u1(w=>v.next(C*w).value,C,30);return C+"ms "+T}};return v}function FA({keyframes:e,velocity:t=0,power:o=.8,timeConstant:r=325,bounceDamping:n=10,bounceStiffness:a=500,modifyTarget:s,min:i,max:l,restDelta:c=.5,restSpeed:u}){let m=e[0],f={done:!1,value:m},d=E=>i!==void 0&&E<i||l!==void 0&&E>l,p=E=>i===void 0?l:l===void 0||Math.abs(i-E)<Math.abs(l-E)?i:l,h=o*t,S=m+h,g=s===void 0?S:s(S);g!==S&&(h=g-m);let b=E=>-h*Math.exp(-E/r),I=E=>g+b(E),v=E=>{let B=b(E),L=I(E);f.done=Math.abs(B)<=c,f.value=f.done?g:L},C,T,w=E=>{d(f.value)&&(C=E,T=$x({keyframes:[f.value,p(f.value)],velocity:jx(I,E,f.value),damping:n,stiffness:a,restDelta:c,restSpeed:u}))};return w(0),{calculatedDuration:null,next:E=>{let B=!1;return!T&&C===void 0&&(B=!0,v(E),w(E)),C!==void 0&&E>=C?T.next(E-C):(!B&&v(E),f)}}}var aN=Jc(.42,0,1,1),sN=Jc(0,0,.58,1),qx=Jc(.42,0,.58,1);var iN=e=>Array.isArray(e)&&typeof e[0]!="number";var lN={linear:zt,easeIn:aN,easeInOut:qx,easeOut:sN,circIn:Rx,circInOut:Fx,circOut:_x,backIn:f1,backInOut:Bx,backOut:CA,anticipate:Dx},HA=e=>{if(Tp(e)){$s(e.length===4,"Cubic bezier arrays must contain four numerical values.");let[t,o,r,n]=e;return Jc(t,o,r,n)}else if(typeof e=="string")return $s(lN[e]!==void 0,`Invalid easing type '${e}'`),lN[e];return e};function hce(e,t,o){let r=[],n=o||Zx,a=e.length-1;for(let s=0;s<a;s++){let i=n(e[s],e[s+1]);if(t){let l=Array.isArray(t)?t[s]||zt:t;i=Pi(l,i)}r.push(i)}return r}function cN(e,t,{clamp:o=!0,ease:r,mixer:n}={}){let a=e.length;if($s(a===t.length,"Both input and output ranges must be the same length"),a===1)return()=>t[0];if(a===2&&t[0]===t[1])return()=>t[1];let s=e[0]===e[1];e[0]>e[a-1]&&(e=[...e].reverse(),t=[...t].reverse());let i=hce(t,r,n),l=i.length,c=u=>{if(s&&u<e[0])return t[0];let m=0;if(l>1)for(;m<e.length-2&&!(u<e[m+1]);m++);let f=Va(e[m],e[m+1],u);return i[m](f)};return o?u=>c(In(e[0],e[a-1],u)):c}function uN(e,t){let o=e[e.length-1];for(let r=1;r<=t;r++){let n=Va(0,t,r);e.push(St(o,1,n))}}function mN(e){let t=[0];return uN(t,e.length-1),t}function fN(e,t){return e.map(o=>o*t)}function gce(e,t){return e.map(()=>t||qx).splice(0,e.length-1)}function h1({duration:e=300,keyframes:t,times:o,ease:r="easeInOut"}){let n=iN(r)?r.map(HA):HA(r),a={done:!1,value:t[0]},s=fN(o&&o.length===t.length?o:mN(t),e),i=cN(s,t,{ease:Array.isArray(n)?n:gce(t,n)});return{calculatedDuration:e,next:l=>(a.value=i(l),a.done=l>=e,a)}}var dN=e=>{let t=({timestamp:o})=>e(o);return{start:()=>tt.update(t,!0),stop:()=>Na(t),now:()=>Do.isProcessing?Do.timestamp:Ln.now()}};var bce={decay:FA,inertia:FA,tween:h1,keyframes:h1,spring:$x},yce=e=>e/100,Pm=class extends _p{constructor(t){super(t),this.holdTime=null,this.cancelTime=null,this.currentTime=0,this.playbackSpeed=1,this.pendingPlayState="running",this.startTime=null,this.state="idle",this.stop=()=>{if(this.resolver.cancel(),this.isStopped=!0,this.state==="idle")return;this.teardown();let{onStop:l}=this.options;l&&l()};let{name:o,motionValue:r,element:n,keyframes:a}=this.options,s=n?.KeyframeResolver||ou,i=(l,c)=>this.onKeyframesResolved(l,c);this.resolver=new s(a,i,o,r,n),this.resolver.scheduleResolve()}flatten(){super.flatten(),this._resolved&&Object.assign(this._resolved,this.initPlayback(this._resolved.keyframes))}initPlayback(t){let{type:o="keyframes",repeat:r=0,repeatDelay:n=0,repeatType:a,velocity:s=0}=this.options,i=Yc(o)?o:bce[o]||h1,l,c;i!==h1&&typeof t[0]!="number"&&(l=Pi(yce,Zx(t[0],t[1])),t=[0,100]);let u=i({...this.options,keyframes:t});a==="mirror"&&(c=i({...this.options,keyframes:[...t].reverse(),velocity:-s})),u.calculatedDuration===null&&(u.calculatedDuration=wp(u));let{calculatedDuration:m}=u,f=m+n,d=f*(r+1)-n;return{generator:u,mirroredGenerator:c,mapPercentToKeyframes:l,calculatedDuration:m,resolvedDuration:f,totalDuration:d}}onPostResolved(){let{autoplay:t=!0}=this.options;this.play(),this.pendingPlayState==="paused"||!t?this.pause():this.state=this.pendingPlayState}tick(t,o=!1){let{resolved:r}=this;if(!r){let{keyframes:E}=this.options;return{done:!0,value:E[E.length-1]}}let{finalKeyframe:n,generator:a,mirroredGenerator:s,mapPercentToKeyframes:i,keyframes:l,calculatedDuration:c,totalDuration:u,resolvedDuration:m}=r;if(this.startTime===null)return a.next(0);let{delay:f,repeat:d,repeatType:p,repeatDelay:h,onUpdate:S}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-u/this.speed,this.startTime)),o?this.currentTime=t:this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=Math.round(t-this.startTime)*this.speed;let g=this.currentTime-f*(this.speed>=0?1:-1),b=this.speed>=0?g<0:g>u;this.currentTime=Math.max(g,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=u);let I=this.currentTime,v=a;if(d){let E=Math.min(this.currentTime,u)/m,B=Math.floor(E),L=E%1;!L&&E>=1&&(L=1),L===1&&B--,B=Math.min(B,d+1),!!(B%2)&&(p==="reverse"?(L=1-L,h&&(L-=h/m)):p==="mirror"&&(v=s)),I=In(0,1,L)*m}let C=b?{done:!1,value:l[0]}:v.next(I);i&&(C.value=i(C.value));let{done:T}=C;!b&&c!==null&&(T=this.speed>=0?this.currentTime>=u:this.currentTime<=0);let w=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&T);return w&&n!==void 0&&(C.value=ru(l,this.options,n)),S&&S(C.value),w&&this.finish(),C}get duration(){let{resolved:t}=this;return t?xn(t.calculatedDuration):0}get time(){return xn(this.currentTime)}set time(t){t=Bo(t),this.currentTime=t,this.holdTime!==null||this.speed===0?this.holdTime=t:this.driver&&(this.startTime=this.driver.now()-t/this.speed)}get speed(){return this.playbackSpeed}set speed(t){let o=this.playbackSpeed!==t;this.playbackSpeed=t,o&&(this.time=xn(this.currentTime))}play(){if(this.resolver.isScheduled||this.resolver.resume(),!this._resolved){this.pendingPlayState="running";return}if(this.isStopped)return;let{driver:t=dN,onPlay:o,startTime:r}=this.options;this.driver||(this.driver=t(a=>this.tick(a))),o&&o();let n=this.driver.now();this.holdTime!==null?this.startTime=n-this.holdTime:this.startTime?this.state==="finished"&&(this.startTime=n):this.startTime=r??this.calcStartTime(),this.state==="finished"&&this.updateFinishedPromise(),this.cancelTime=this.startTime,this.holdTime=null,this.state="running",this.driver.start()}pause(){var t;if(!this._resolved){this.pendingPlayState="paused";return}this.state="paused",this.holdTime=(t=this.currentTime)!==null&&t!==void 0?t:0}complete(){this.state!=="running"&&this.play(),this.pendingPlayState=this.state="finished",this.holdTime=null}finish(){this.teardown(),this.state="finished";let{onComplete:t}=this.options;t&&t()}cancel(){this.cancelTime!==null&&this.tick(this.cancelTime),this.teardown(),this.updateFinishedPromise()}teardown(){this.state="idle",this.stopDriver(),this.resolveFinishedPromise(),this.updateFinishedPromise(),this.startTime=this.cancelTime=null,this.resolver.cancel()}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(t){return this.startTime=0,this.tick(t,!0)}};var pN=new Set(["opacity","clipPath","filter","transform"]);function hN(e,t,o,{delay:r=0,duration:n=300,repeat:a=0,repeatType:s="loop",ease:i="easeInOut",times:l}={}){let c={[t]:o};l&&(c.offset=l);let u=kp(i,n);return Array.isArray(u)&&(c.easing=u),e.animate(c,{delay:r,duration:n,easing:Array.isArray(u)?"linear":u,fill:"both",iterations:a+1,direction:s==="reverse"?"alternate":"normal"})}var gN=Cm(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));var Xx=10,Sce=2e4;function xce(e){return Yc(e.type)||e.type==="spring"||!vx(e.ease)}function Ice(e,t){let o=new Pm({...t,keyframes:e,repeat:0,delay:0,isGenerator:!0}),r={done:!1,value:e[0]},n=[],a=0;for(;!r.done&&a<Sce;)r=o.sample(a),n.push(r.value),a+=Xx;return{times:void 0,keyframes:n,duration:a-Xx,ease:"linear"}}var bN={anticipate:Dx,backInOut:Bx,circInOut:Fx};function vce(e){return e in bN}var g1=class extends _p{constructor(t){super(t);let{name:o,motionValue:r,element:n,keyframes:a}=this.options;this.resolver=new Rp(a,(s,i)=>this.onKeyframesResolved(s,i),o,r,n),this.resolver.scheduleResolve()}initPlayback(t,o){let{duration:r=300,times:n,ease:a,type:s,motionValue:i,name:l,startTime:c}=this.options;if(!i.owner||!i.owner.current)return!1;if(typeof a=="string"&&Kc()&&vce(a)&&(a=bN[a]),xce(this.options)){let{onComplete:m,onUpdate:f,motionValue:d,element:p,...h}=this.options,S=Ice(t,h);t=S.keyframes,t.length===1&&(t[1]=t[0]),r=S.duration,n=S.times,a=S.ease,s="keyframes"}let u=hN(i.owner.current,l,t,{...this.options,duration:r,times:n,ease:a});return u.startTime=c??this.calcStartTime(),this.pendingTimeline?(c1(u,this.pendingTimeline),this.pendingTimeline=void 0):u.onfinish=()=>{let{onComplete:m}=this.options;i.set(ru(t,this.options,o)),m&&m(),this.cancel(),this.resolveFinishedPromise()},{animation:u,duration:r,times:n,type:s,ease:a,keyframes:t}}get duration(){let{resolved:t}=this;if(!t)return 0;let{duration:o}=t;return xn(o)}get time(){let{resolved:t}=this;if(!t)return 0;let{animation:o}=t;return xn(o.currentTime||0)}set time(t){let{resolved:o}=this;if(!o)return;let{animation:r}=o;r.currentTime=Bo(t)}get speed(){let{resolved:t}=this;if(!t)return 1;let{animation:o}=t;return o.playbackRate}set speed(t){let{resolved:o}=this;if(!o)return;let{animation:r}=o;r.playbackRate=t}get state(){let{resolved:t}=this;if(!t)return"idle";let{animation:o}=t;return o.playState}get startTime(){let{resolved:t}=this;if(!t)return null;let{animation:o}=t;return o.startTime}attachTimeline(t){if(!this._resolved)this.pendingTimeline=t;else{let{resolved:o}=this;if(!o)return zt;let{animation:r}=o;c1(r,t)}return zt}play(){if(this.isStopped)return;let{resolved:t}=this;if(!t)return;let{animation:o}=t;o.playState==="finished"&&this.updateFinishedPromise(),o.play()}pause(){let{resolved:t}=this;if(!t)return;let{animation:o}=t;o.pause()}stop(){if(this.resolver.cancel(),this.isStopped=!0,this.state==="idle")return;this.resolveFinishedPromise(),this.updateFinishedPromise();let{resolved:t}=this;if(!t)return;let{animation:o,keyframes:r,duration:n,type:a,ease:s,times:i}=t;if(o.playState==="idle"||o.playState==="finished")return;if(this.time){let{motionValue:c,onUpdate:u,onComplete:m,element:f,...d}=this.options,p=new Pm({...d,keyframes:r,duration:n,type:a,ease:s,times:i,isGenerator:!0}),h=Bo(this.time);c.setWithVelocity(p.sample(h-Xx).value,p.sample(h).value,Xx)}let{onStop:l}=this.options;l&&l(),this.cancel()}complete(){let{resolved:t}=this;t&&t.animation.finish()}cancel(){let{resolved:t}=this;t&&t.animation.cancel()}static supports(t){let{motionValue:o,name:r,repeatDelay:n,repeatType:a,damping:s,type:i}=t;if(!o||!o.owner||!(o.owner.current instanceof HTMLElement))return!1;let{onUpdate:l,transformTemplate:c}=o.owner.getProps();return gN()&&r&&pN.has(r)&&!l&&!c&&!n&&a!=="mirror"&&s!==0&&i!=="inertia"}};var Cce={type:"spring",stiffness:500,damping:25,restSpeed:10},wce=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),Tce={type:"keyframes",duration:.8},Ace={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},yN=(e,{keyframes:t})=>t.length>2?Tce:la.has(e)?e.startsWith("scale")?wce(t[1]):Cce:Ace;function SN({when:e,delay:t,delayChildren:o,staggerChildren:r,staggerDirection:n,repeat:a,repeatType:s,repeatDelay:i,from:l,elapsed:c,...u}){return!!Object.keys(u).length}var Hp=(e,t,o,r={},n,a)=>s=>{let i=Xc(r,e)||{},l=i.delay||r.delay||0,{elapsed:c=0}=r;c=c-Bo(l);let u={keyframes:Array.isArray(o)?o:[null,o],ease:"easeOut",velocity:t.getVelocity(),...i,delay:-c,onUpdate:f=>{t.set(f),i.onUpdate&&i.onUpdate(f)},onComplete:()=>{s(),i.onComplete&&i.onComplete()},name:e,motionValue:t,element:a?void 0:n};SN(i)||(u={...u,...yN(e,u)}),u.duration&&(u.duration=Bo(u.duration)),u.repeatDelay&&(u.repeatDelay=Bo(u.repeatDelay)),u.from!==void 0&&(u.keyframes[0]=u.from);let m=!1;if((u.type===!1||u.duration===0&&!u.repeatDelay)&&(u.duration=0,u.delay===0&&(m=!0)),(Lx.current||lp.skipAnimations)&&(m=!0,u.duration=0,u.delay=0),m&&!a&&t.get()!==void 0){let f=ru(u.keyframes,i);if(f!==void 0)return tt.update(()=>{u.onUpdate(f),u.onComplete()}),new l1([])}return!a&&g1.supports(u)?new g1(u):new Pm(u)};function kce({protectedKeys:e,needsAnimating:t},o){let r=e.hasOwnProperty(o)&&t[o]!==!0;return t[o]=!1,r}function Yx(e,t,{delay:o=0,transitionOverride:r,type:n}={}){var a;let{transition:s=e.getDefaultTransition(),transitionEnd:i,...l}=t;r&&(s=r);let c=[],u=n&&e.animationState&&e.animationState.getState()[n];for(let m in l){let f=e.getValue(m,(a=e.latestValues[m])!==null&&a!==void 0?a:null),d=l[m];if(d===void 0||u&&kce(u,m))continue;let p={delay:o,...Xc(s||{},m)},h=!1;if(window.MotionHandoffAnimation){let g=Mx(e);if(g){let b=window.MotionHandoffAnimation(g,m,tt);b!==null&&(p.startTime=b,h=!0)}}m1(e,m),f.start(Hp(m,f,d,e.shouldReduceMotion&&Tx.has(m)?{type:!1}:p,e,h));let S=f.animation;S&&c.push(S)}return i&&Promise.all(c).then(()=>{tt.update(()=>{i&&BV(e,i)})}),c}function Kx(e,t,o={}){var r;let n=qc(e,t,o.type==="exit"?(r=e.presenceContext)===null||r===void 0?void 0:r.custom:void 0),{transition:a=e.getDefaultTransition()||{}}=n||{};o.transitionOverride&&(a=o.transitionOverride);let s=n?()=>Promise.all(Yx(e,n,o)):()=>Promise.resolve(),i=e.variantChildren&&e.variantChildren.size?(c=0)=>{let{delayChildren:u=0,staggerChildren:m,staggerDirection:f}=a;return Mce(e,t,u+c,m,f,o)}:()=>Promise.resolve(),{when:l}=a;if(l){let[c,u]=l==="beforeChildren"?[s,i]:[i,s];return c().then(()=>u())}else return Promise.all([s(),i(o.delay)])}function Mce(e,t,o=0,r=0,n=1,a){let s=[],i=(e.variantChildren.size-1)*r,l=n===1?(c=0)=>c*r:(c=0)=>i-c*r;return Array.from(e.variantChildren).sort(Lce).forEach((c,u)=>{c.notify("AnimationStart",t),s.push(Kx(c,t,{...a,delay:o+l(u)}).then(()=>c.notify("AnimationComplete",t)))}),Promise.all(s)}function Lce(e,t){return e.sortNodePosition(t)}function xN(e,t,o={}){e.notify("AnimationStart",t);let r;if(Array.isArray(t)){let n=t.map(a=>Kx(e,a,o));r=Promise.all(n)}else if(typeof t=="string")r=Kx(e,t,o);else{let n=typeof t=="function"?qc(e,t,o.custom):t;r=Promise.all(Yx(e,n,o))}return r.then(()=>{e.notify("AnimationComplete",t)})}var Pce=r1.length;function OA(e){if(!e)return;if(!e.isControllingVariants){let o=e.parent?OA(e.parent)||{}:{};return e.props.initial!==void 0&&(o.initial=e.props.initial),o}let t={};for(let o=0;o<Pce;o++){let r=r1[o],n=e.props[r];(Ml(n)||n===!1)&&(t[r]=n)}return t}var Ece=[...sx].reverse(),Bce=sx.length;function Dce(e){return t=>Promise.all(t.map(({animation:o,options:r})=>xN(e,o,r)))}function vN(e){let t=Dce(e),o=IN(),r=!0,n=l=>(c,u)=>{var m;let f=qc(e,u,l==="exit"?(m=e.presenceContext)===null||m===void 0?void 0:m.custom:void 0);if(f){let{transition:d,transitionEnd:p,...h}=f;c={...c,...h,...p}}return c};function a(l){t=l(e)}function s(l){let{props:c}=e,u=OA(e.parent)||{},m=[],f=new Set,d={},p=1/0;for(let S=0;S<Bce;S++){let g=Ece[S],b=o[g],I=c[g]!==void 0?c[g]:u[g],v=Ml(I),C=g===l?b.isActive:null;C===!1&&(p=S);let T=I===u[g]&&I!==c[g]&&v;if(T&&r&&e.manuallyAnimateOnMount&&(T=!1),b.protectedKeys={...d},!b.isActive&&C===null||!I&&!b.prevProp||$c(I)||typeof I=="boolean")continue;let w=Rce(b.prevProp,I),E=w||g===l&&b.isActive&&!T&&v||S>p&&v,B=!1,L=Array.isArray(I)?I:[I],_=L.reduce(n(g),{});C===!1&&(_={});let{prevResolvedValues:j={}}=b,ne={...j,..._},K=W=>{E=!0,f.has(W)&&(B=!0,f.delete(W)),b.needsAnimating[W]=!0;let de=e.getValue(W);de&&(de.liveStyle=!1)};for(let W in ne){let de=_[W],q=j[W];if(d.hasOwnProperty(W))continue;let fe=!1;n1(de)&&n1(q)?fe=!dA(de,q):fe=de!==q,fe?de!=null?K(W):f.add(W):de!==void 0&&f.has(W)?K(W):b.protectedKeys[W]=!0}b.prevProp=I,b.prevResolvedValues=_,b.isActive&&(d={...d,..._}),r&&e.blockInitialAnimation&&(E=!1),E&&(!(T&&w)||B)&&m.push(...L.map(W=>({animation:W,options:{type:g}})))}if(f.size){let S={};f.forEach(g=>{let b=e.getBaseTarget(g),I=e.getValue(g);I&&(I.liveStyle=!0),S[g]=b??null}),m.push({animation:S})}let h=!!m.length;return r&&(c.initial===!1||c.initial===c.animate)&&!e.manuallyAnimateOnMount&&(h=!1),r=!1,h?t(m):Promise.resolve()}function i(l,c){var u;if(o[l].isActive===c)return Promise.resolve();(u=e.variantChildren)===null||u===void 0||u.forEach(f=>{var d;return(d=f.animationState)===null||d===void 0?void 0:d.setActive(l,c)}),o[l].isActive=c;let m=s(l);for(let f in o)o[f].protectedKeys={};return m}return{animateChanges:s,setActive:i,setAnimateFunction:a,getState:()=>o,reset:()=>{o=IN(),r=!0}}}function Rce(e,t){return typeof t=="string"?t!==e:Array.isArray(t)?!dA(t,e):!1}function Em(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function IN(){return{animate:Em(!0),whileInView:Em(),whileHover:Em(),whileTap:Em(),whileDrag:Em(),whileFocus:Em(),exit:Em()}}var an=class{constructor(t){this.isMounted=!1,this.node=t}update(){}};var Qx=class extends an{constructor(t){super(t),t.animationState||(t.animationState=vN(t))}updateAnimationControlsSubscription(){let{animate:t}=this.node.getProps();$c(t)&&(this.unmountControls=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){let{animate:t}=this.node.getProps(),{animate:o}=this.node.prevProps||{};t!==o&&this.updateAnimationControlsSubscription()}unmount(){var t;this.node.animationState.reset(),(t=this.unmountControls)===null||t===void 0||t.call(this)}};var _ce=0,Jx=class extends an{constructor(){super(...arguments),this.id=_ce++}update(){if(!this.node.presenceContext)return;let{isPresent:t,onExitComplete:o}=this.node.presenceContext,{isPresent:r}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===r)return;let n=this.node.animationState.setActive("exit",!t);o&&!t&&n.then(()=>o(this.id))}mount(){let{register:t}=this.node.presenceContext||{};t&&(this.unmount=t(this.id))}unmount(){}};var CN={animation:{Feature:Qx},exit:{Feature:Jx}};function Bl(e,t,o,r={passive:!0}){return e.addEventListener(t,o,r),()=>e.removeEventListener(t,o)}function Dl(e){return{point:{x:e.pageX,y:e.pageY}}}var wN=e=>t=>Tm(t)&&e(t,Dl(t));function nu(e,t,o,r){return Bl(e,t,wN(o),r)}var TN=(e,t)=>Math.abs(e-t);function AN(e,t){let o=TN(e.x,t.x),r=TN(e.y,t.y);return Math.sqrt(o**2+r**2)}var Op=class{constructor(t,o,{transformPagePoint:r,contextWindow:n,dragSnapToOrigin:a=!1}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let m=NA(this.lastMoveEventInfo,this.history),f=this.startEvent!==null,d=AN(m.offset,{x:0,y:0})>=3;if(!f&&!d)return;let{point:p}=m,{timestamp:h}=Do;this.history.push({...p,timestamp:h});let{onStart:S,onMove:g}=this.handlers;f||(S&&S(this.lastMoveEvent,m),this.startEvent=this.lastMoveEvent),g&&g(this.lastMoveEvent,m)},this.handlePointerMove=(m,f)=>{this.lastMoveEvent=m,this.lastMoveEventInfo=VA(f,this.transformPagePoint),tt.update(this.updatePoint,!0)},this.handlePointerUp=(m,f)=>{this.end();let{onEnd:d,onSessionEnd:p,resumeAnimation:h}=this.handlers;if(this.dragSnapToOrigin&&h&&h(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let S=NA(m.type==="pointercancel"?this.lastMoveEventInfo:VA(f,this.transformPagePoint),this.history);this.startEvent&&d&&d(m,S),p&&p(m,S)},!Tm(t))return;this.dragSnapToOrigin=a,this.handlers=o,this.transformPagePoint=r,this.contextWindow=n||window;let s=Dl(t),i=VA(s,this.transformPagePoint),{point:l}=i,{timestamp:c}=Do;this.history=[{...l,timestamp:c}];let{onSessionStart:u}=o;u&&u(t,NA(i,this.history)),this.removeListeners=Pi(nu(this.contextWindow,"pointermove",this.handlePointerMove),nu(this.contextWindow,"pointerup",this.handlePointerUp),nu(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),Na(this.updatePoint)}};function VA(e,t){return t?{point:t(e.point)}:e}function kN(e,t){return{x:e.x-t.x,y:e.y-t.y}}function NA({point:e},t){return{point:e,delta:kN(e,MN(t)),offset:kN(e,Fce(t)),velocity:Hce(t,.1)}}function Fce(e){return e[0]}function MN(e){return e[e.length-1]}function Hce(e,t){if(e.length<2)return{x:0,y:0};let o=e.length-1,r=null,n=MN(e);for(;o>=0&&(r=e[o],!(n.timestamp-r.timestamp>Bo(t)));)o--;if(!r)return{x:0,y:0};let a=xn(n.timestamp-r.timestamp);if(a===0)return{x:0,y:0};let s={x:(n.x-r.x)/a,y:(n.y-r.y)/a};return s.x===1/0&&(s.x=0),s.y===1/0&&(s.y=0),s}var BN=1e-4,Oce=1-BN,Vce=1+BN,DN=.01,Nce=0-DN,zce=0+DN;function vn(e){return e.max-e.min}function RN(e,t,o){return Math.abs(e-t)<=o}function LN(e,t,o,r=.5){e.origin=r,e.originPoint=St(t.min,t.max,e.origin),e.scale=vn(o)/vn(t),e.translate=St(o.min,o.max,e.origin)-e.originPoint,(e.scale>=Oce&&e.scale<=Vce||isNaN(e.scale))&&(e.scale=1),(e.translate>=Nce&&e.translate<=zce||isNaN(e.translate))&&(e.translate=0)}function Vp(e,t,o,r){LN(e.x,t.x,o.x,r?r.originX:void 0),LN(e.y,t.y,o.y,r?r.originY:void 0)}function PN(e,t,o){e.min=o.min+t.min,e.max=e.min+vn(t)}function _N(e,t,o){PN(e.x,t.x,o.x),PN(e.y,t.y,o.y)}function EN(e,t,o){e.min=t.min-o.min,e.max=e.min+vn(t)}function Np(e,t,o){EN(e.x,t.x,o.x),EN(e.y,t.y,o.y)}function NN(e,{min:t,max:o},r){return t!==void 0&&e<t?e=r?St(t,e,r.min):Math.max(e,t):o!==void 0&&e>o&&(e=r?St(o,e,r.max):Math.min(e,o)),e}function FN(e,t,o){return{min:t!==void 0?e.min+t:void 0,max:o!==void 0?e.max+o-(e.max-e.min):void 0}}function zN(e,{top:t,left:o,bottom:r,right:n}){return{x:FN(e.x,o,n),y:FN(e.y,t,r)}}function HN(e,t){let o=t.min-e.min,r=t.max-e.max;return t.max-t.min<e.max-e.min&&([o,r]=[r,o]),{min:o,max:r}}function WN(e,t){return{x:HN(e.x,t.x),y:HN(e.y,t.y)}}function UN(e,t){let o=.5,r=vn(e),n=vn(t);return n>r?o=Va(t.min,t.max-r,e.min):r>n&&(o=Va(e.min,e.max-n,t.min)),In(0,1,o)}function ZN(e,t){let o={};return t.min!==void 0&&(o.min=t.min-e.min),t.max!==void 0&&(o.max=t.max-e.min),o}var eI=.35;function jN(e=eI){return e===!1?e=0:e===!0&&(e=eI),{x:ON(e,"left","right"),y:ON(e,"top","bottom")}}function ON(e,t,o){return{min:VN(e,t),max:VN(e,o)}}function VN(e,t){return typeof e=="number"?e:e[t]||0}var GN=()=>({translate:0,scale:1,origin:0,originPoint:0}),Bm=()=>({x:GN(),y:GN()}),$N=()=>({min:0,max:0}),ao=()=>({x:$N(),y:$N()});function ca(e){return[e("x"),e("y")]}function tI({top:e,left:t,right:o,bottom:r}){return{x:{min:t,max:o},y:{min:e,max:r}}}function qN({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function XN(e,t){if(!t)return e;let o=t({x:e.left,y:e.top}),r=t({x:e.right,y:e.bottom});return{top:o.y,left:o.x,bottom:r.y,right:r.x}}function zA(e){return e===void 0||e===1}function oI({scale:e,scaleX:t,scaleY:o}){return!zA(e)||!zA(t)||!zA(o)}function Rl(e){return oI(e)||WA(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function WA(e){return YN(e.x)||YN(e.y)}function YN(e){return e&&e!=="0%"}function b1(e,t,o){let r=e-o,n=t*r;return o+n}function KN(e,t,o,r,n){return n!==void 0&&(e=b1(e,n,r)),b1(e,o,r)+t}function UA(e,t=0,o=1,r,n){e.min=KN(e.min,t,o,r,n),e.max=KN(e.max,t,o,r,n)}function ZA(e,{x:t,y:o}){UA(e.x,t.translate,t.scale,t.originPoint),UA(e.y,o.translate,o.scale,o.originPoint)}var QN=.999999999999,JN=1.0000000000001;function tz(e,t,o,r=!1){let n=o.length;if(!n)return;t.x=t.y=1;let a,s;for(let i=0;i<n;i++){a=o[i],s=a.projectionDelta;let{visualElement:l}=a.options;l&&l.props.style&&l.props.style.display==="contents"||(r&&a.options.layoutScroll&&a.scroll&&a!==a.root&&Dm(e,{x:-a.scroll.offset.x,y:-a.scroll.offset.y}),s&&(t.x*=s.x.scale,t.y*=s.y.scale,ZA(e,s)),r&&Rl(a.latestValues)&&Dm(e,a.latestValues))}t.x<JN&&t.x>QN&&(t.x=1),t.y<JN&&t.y>QN&&(t.y=1)}function au(e,t){e.min=e.min+t,e.max=e.max+t}function ez(e,t,o,r,n=.5){let a=St(e.min,e.max,n);UA(e,t,o,a,r)}function Dm(e,t){ez(e.x,t.x,t.scaleX,t.scale,t.originX),ez(e.y,t.y,t.scaleY,t.scale,t.originY)}function jA(e,t){return tI(XN(e.getBoundingClientRect(),t))}function oz(e,t,o){let r=jA(e,o),{scroll:n}=t;return n&&(au(r.x,n.offset.x),au(r.y,n.offset.y)),r}var rI=({current:e})=>e?e.ownerDocument.defaultView:null;var Wce=new WeakMap,aI=class{constructor(t){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=ao(),this.visualElement=t}start(t,{snapToCursor:o=!1}={}){let{presenceContext:r}=this.visualElement;if(r&&r.isPresent===!1)return;let n=u=>{let{dragSnapToOrigin:m}=this.getProps();m?this.pauseAnimation():this.stopAnimation(),o&&this.snapToCursor(Dl(u).point)},a=(u,m)=>{let{drag:f,dragPropagation:d,onDragStart:p}=this.getProps();if(f&&!d&&(this.openDragLock&&this.openDragLock(),this.openDragLock=IA(f),!this.openDragLock))return;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),ca(S=>{let g=this.getAxisMotionValue(S).get()||0;if(Wn.test(g)){let{projection:b}=this.visualElement;if(b&&b.layout){let I=b.layout.layoutBox[S];I&&(g=vn(I)*(parseFloat(g)/100))}}this.originPoint[S]=g}),p&&tt.postRender(()=>p(u,m)),m1(this.visualElement,"transform");let{animationState:h}=this.visualElement;h&&h.setActive("whileDrag",!0)},s=(u,m)=>{let{dragPropagation:f,dragDirectionLock:d,onDirectionLock:p,onDrag:h}=this.getProps();if(!f&&!this.openDragLock)return;let{offset:S}=m;if(d&&this.currentDirection===null){this.currentDirection=Uce(S),this.currentDirection!==null&&p&&p(this.currentDirection);return}this.updateAxis("x",m.point,S),this.updateAxis("y",m.point,S),this.visualElement.render(),h&&h(u,m)},i=(u,m)=>this.stop(u,m),l=()=>ca(u=>{var m;return this.getAnimationState(u)==="paused"&&((m=this.getAxisMotionValue(u).animation)===null||m===void 0?void 0:m.play())}),{dragSnapToOrigin:c}=this.getProps();this.panSession=new Op(t,{onSessionStart:n,onStart:a,onMove:s,onSessionEnd:i,resumeAnimation:l},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:c,contextWindow:rI(this.visualElement)})}stop(t,o){let r=this.isDragging;if(this.cancel(),!r)return;let{velocity:n}=o;this.startAnimation(n);let{onDragEnd:a}=this.getProps();a&&tt.postRender(()=>a(t,o))}cancel(){this.isDragging=!1;let{projection:t,animationState:o}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;let{dragPropagation:r}=this.getProps();!r&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),o&&o.setActive("whileDrag",!1)}updateAxis(t,o,r){let{drag:n}=this.getProps();if(!r||!nI(t,n,this.currentDirection))return;let a=this.getAxisMotionValue(t),s=this.originPoint[t]+r[t];this.constraints&&this.constraints[t]&&(s=NN(s,this.constraints[t],this.elastic[t])),a.set(s)}resolveConstraints(){var t;let{dragConstraints:o,dragElastic:r}=this.getProps(),n=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):(t=this.visualElement.projection)===null||t===void 0?void 0:t.layout,a=this.constraints;o&&Ll(o)?this.constraints||(this.constraints=this.resolveRefConstraints()):o&&n?this.constraints=zN(n.layoutBox,o):this.constraints=!1,this.elastic=jN(r),a!==this.constraints&&n&&this.constraints&&!this.hasMutatedConstraints&&ca(s=>{this.constraints!==!1&&this.getAxisMotionValue(s)&&(this.constraints[s]=ZN(n.layoutBox[s],this.constraints[s]))})}resolveRefConstraints(){let{dragConstraints:t,onMeasureDragConstraints:o}=this.getProps();if(!t||!Ll(t))return!1;let r=t.current;$s(r!==null,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");let{projection:n}=this.visualElement;if(!n||!n.layout)return!1;let a=oz(r,n.root,this.visualElement.getTransformPagePoint()),s=WN(n.layout.layoutBox,a);if(o){let i=o(qN(s));this.hasMutatedConstraints=!!i,i&&(s=tI(i))}return s}startAnimation(t){let{drag:o,dragMomentum:r,dragElastic:n,dragTransition:a,dragSnapToOrigin:s,onDragTransitionEnd:i}=this.getProps(),l=this.constraints||{},c=ca(u=>{if(!nI(u,o,this.currentDirection))return;let m=l&&l[u]||{};s&&(m={min:0,max:0});let f=n?200:1e6,d=n?40:1e7,p={type:"inertia",velocity:r?t[u]:0,bounceStiffness:f,bounceDamping:d,timeConstant:750,restDelta:1,restSpeed:10,...a,...m};return this.startAxisValueAnimation(u,p)});return Promise.all(c).then(i)}startAxisValueAnimation(t,o){let r=this.getAxisMotionValue(t);return m1(this.visualElement,t),r.start(Hp(t,r,0,o,this.visualElement,!1))}stopAnimation(){ca(t=>this.getAxisMotionValue(t).stop())}pauseAnimation(){ca(t=>{var o;return(o=this.getAxisMotionValue(t).animation)===null||o===void 0?void 0:o.pause()})}getAnimationState(t){var o;return(o=this.getAxisMotionValue(t).animation)===null||o===void 0?void 0:o.state}getAxisMotionValue(t){let o=`_drag${t.toUpperCase()}`,r=this.visualElement.getProps(),n=r[o];return n||this.visualElement.getValue(t,(r.initial?r.initial[t]:void 0)||0)}snapToCursor(t){ca(o=>{let{drag:r}=this.getProps();if(!nI(o,r,this.currentDirection))return;let{projection:n}=this.visualElement,a=this.getAxisMotionValue(o);if(n&&n.layout){let{min:s,max:i}=n.layout.layoutBox[o];a.set(t[o]-St(s,i,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:t,dragConstraints:o}=this.getProps(),{projection:r}=this.visualElement;if(!Ll(o)||!r||!this.constraints)return;this.stopAnimation();let n={x:0,y:0};ca(s=>{let i=this.getAxisMotionValue(s);if(i&&this.constraints!==!1){let l=i.get();n[s]=UN({min:l,max:l},this.constraints[s])}});let{transformTemplate:a}=this.visualElement.getProps();this.visualElement.current.style.transform=a?a({},""):"none",r.root&&r.root.updateScroll(),r.updateLayout(),this.resolveConstraints(),ca(s=>{if(!nI(s,t,null))return;let i=this.getAxisMotionValue(s),{min:l,max:c}=this.constraints[s];i.set(St(l,c,n[s]))})}addListeners(){if(!this.visualElement.current)return;Wce.set(this.visualElement,this);let t=this.visualElement.current,o=nu(t,"pointerdown",l=>{let{drag:c,dragListener:u=!0}=this.getProps();c&&u&&this.start(l)}),r=()=>{let{dragConstraints:l}=this.getProps();Ll(l)&&l.current&&(this.constraints=this.resolveRefConstraints())},{projection:n}=this.visualElement,a=n.addEventListener("measure",r);n&&!n.layout&&(n.root&&n.root.updateScroll(),n.updateLayout()),tt.read(r);let s=Bl(window,"resize",()=>this.scalePositionWithinConstraints()),i=n.addEventListener("didUpdate",(({delta:l,hasLayoutChanged:c})=>{this.isDragging&&c&&(ca(u=>{let m=this.getAxisMotionValue(u);m&&(this.originPoint[u]+=l[u].translate,m.set(m.get()+l[u].translate))}),this.visualElement.render())}));return()=>{s(),o(),a(),i&&i()}}getProps(){let t=this.visualElement.getProps(),{drag:o=!1,dragDirectionLock:r=!1,dragPropagation:n=!1,dragConstraints:a=!1,dragElastic:s=eI,dragMomentum:i=!0}=t;return{...t,drag:o,dragDirectionLock:r,dragPropagation:n,dragConstraints:a,dragElastic:s,dragMomentum:i}}};function nI(e,t,o){return(t===!0||t===e)&&(o===null||o===e)}function Uce(e,t=10){let o=null;return Math.abs(e.y)>t?o="y":Math.abs(e.x)>t&&(o="x"),o}var sI=class extends an{constructor(t){super(t),this.removeGroupControls=zt,this.removeListeners=zt,this.controls=new aI(t)}mount(){let{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||zt}unmount(){this.removeGroupControls(),this.removeListeners()}};var rz=e=>(t,o)=>{e&&tt.postRender(()=>e(t,o))},iI=class extends an{constructor(){super(...arguments),this.removePointerDownListener=zt}onPointerDown(t){this.session=new Op(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:rI(this.node)})}createPanHandlers(){let{onPanSessionStart:t,onPanStart:o,onPan:r,onPanEnd:n}=this.node.getProps();return{onSessionStart:rz(t),onStart:rz(o),onMove:r,onEnd:(a,s)=>{delete this.session,n&&tt.postRender(()=>n(a,s))}}}mount(){this.removePointerDownListener=nu(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}};var sz=k(re(),1),y1=k(F(),1);var zp={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function nz(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}var Wp={correct:(e,t)=>{if(!t.target)return e;if(typeof e=="string")if(Me.test(e))e=parseFloat(e);else return e;let o=nz(e,t.target.x),r=nz(e,t.target.y);return`${o}% ${r}%`}};var az={correct:(e,{treeScale:t,projectionDelta:o})=>{let r=e,n=Un.parse(e);if(n.length>5)return r;let a=Un.createTransformer(e),s=typeof n[0]!="number"?1:0,i=o.x.scale*t.x,l=o.y.scale*t.y;n[0+s]/=i,n[1+s]/=l;let c=St(i,l,.5);return typeof n[2+s]=="number"&&(n[2+s]/=c),typeof n[3+s]=="number"&&(n[3+s]/=c),a(n)}};var GA=class extends y1.Component{componentDidMount(){let{visualElement:t,layoutGroup:o,switchLayoutGroup:r,layoutId:n}=this.props,{projection:a}=t;dV(Zce),a&&(o.group&&o.group.add(a),r&&r.register&&n&&r.register(a),a.root.didUpdate(),a.addEventListener("animationComplete",()=>{this.safeToRemove()}),a.setOptions({...a.options,onExitComplete:()=>this.safeToRemove()})),zp.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){let{layoutDependency:o,visualElement:r,drag:n,isPresent:a}=this.props,s=r.projection;return s&&(s.isPresent=a,n||t.layoutDependency!==o||o===void 0?s.willUpdate():this.safeToRemove(),t.isPresent!==a&&(a?s.promote():s.relegate()||tt.postRender(()=>{let i=s.getStack();(!i||!i.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){let{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),up.postRender(()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()}))}componentWillUnmount(){let{visualElement:t,layoutGroup:o,switchLayoutGroup:r}=this.props,{projection:n}=t;n&&(n.scheduleCheckAfterUnmount(),o&&o.group&&o.group.remove(n),r&&r.deregister&&r.deregister(n))}safeToRemove(){let{safeToRemove:t}=this.props;t&&t()}render(){return null}};function lI(e){let[t,o]=vm(),r=(0,y1.useContext)(np);return(0,sz.jsx)(GA,{...e,layoutGroup:r,switchLayoutGroup:(0,y1.useContext)(ux),isPresent:t,safeToRemove:o})}var Zce={borderRadius:{...Wp,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:Wp,borderTopRightRadius:Wp,borderBottomLeftRadius:Wp,borderBottomRightRadius:Wp,boxShadow:az};function iz(e,t,o){let r=Kt(e)?e:El(e);return r.start(Hp("",r,t,o)),r.animation}function lz(e){return e instanceof SVGElement&&e.tagName!=="svg"}var cz=(e,t)=>e.depth-t.depth;var cI=class{constructor(){this.children=[],this.isDirty=!1}add(t){Lp(this.children,t),this.isDirty=!0}remove(t){Pp(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(cz),this.isDirty=!1,this.children.forEach(t)}};function uz(e,t){let o=Ln.now(),r=({timestamp:n})=>{let a=n-o;a>=t&&(Na(r),e(a-t))};return tt.read(r,!0),()=>Na(r)}var pz=["TopLeft","TopRight","BottomLeft","BottomRight"],jce=pz.length,mz=e=>typeof e=="string"?parseFloat(e):e,fz=e=>typeof e=="number"||Me.test(e);function hz(e,t,o,r,n,a){n?(e.opacity=St(0,o.opacity!==void 0?o.opacity:1,Gce(r)),e.opacityExit=St(t.opacity!==void 0?t.opacity:1,0,$ce(r))):a&&(e.opacity=St(t.opacity!==void 0?t.opacity:1,o.opacity!==void 0?o.opacity:1,r));for(let s=0;s<jce;s++){let i=`border${pz[s]}Radius`,l=dz(t,i),c=dz(o,i);if(l===void 0&&c===void 0)continue;l||(l=0),c||(c=0),l===0||c===0||fz(l)===fz(c)?(e[i]=Math.max(St(mz(l),mz(c),r),0),(Wn.test(c)||Wn.test(l))&&(e[i]+="%")):e[i]=c}(t.rotate||o.rotate)&&(e.rotate=St(t.rotate||0,o.rotate||0,r))}function dz(e,t){return e[t]!==void 0?e[t]:e.borderRadius}var Gce=gz(0,.5,_x),$ce=gz(.5,.95,zt);function gz(e,t,o){return r=>r<e?0:r>t?1:o(Va(e,t,r))}function bz(e,t){e.min=t.min,e.max=t.max}function Wa(e,t){bz(e.x,t.x),bz(e.y,t.y)}function $A(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}function yz(e,t,o,r,n){return e-=t,e=b1(e,1/o,r),n!==void 0&&(e=b1(e,1/n,r)),e}function qce(e,t=0,o=1,r=.5,n,a=e,s=e){if(Wn.test(t)&&(t=parseFloat(t),t=St(s.min,s.max,t/100)-s.min),typeof t!="number")return;let i=St(a.min,a.max,r);e===a&&(i-=t),e.min=yz(e.min,t,o,i,n),e.max=yz(e.max,t,o,i,n)}function Sz(e,t,[o,r,n],a,s){qce(e,t[o],t[r],t[n],t.scale,a,s)}var Xce=["x","scaleX","originX"],Yce=["y","scaleY","originY"];function qA(e,t,o,r){Sz(e.x,t,Xce,o?o.x:void 0,r?r.x:void 0),Sz(e.y,t,Yce,o?o.y:void 0,r?r.y:void 0)}function xz(e){return e.translate===0&&e.scale===1}function XA(e){return xz(e.x)&&xz(e.y)}function Iz(e,t){return e.min===t.min&&e.max===t.max}function Cz(e,t){return Iz(e.x,t.x)&&Iz(e.y,t.y)}function vz(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function YA(e,t){return vz(e.x,t.x)&&vz(e.y,t.y)}function KA(e){return vn(e.x)/vn(e.y)}function QA(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}var uI=class{constructor(){this.members=[]}add(t){Lp(this.members,t),t.scheduleRender()}remove(t){if(Pp(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){let o=this.members[this.members.length-1];o&&this.promote(o)}}relegate(t){let o=this.members.findIndex(n=>t===n);if(o===0)return!1;let r;for(let n=o;n>=0;n--){let a=this.members[n];if(a.isPresent!==!1){r=a;break}}return r?(this.promote(r),!0):!1}promote(t,o){let r=this.lead;if(t!==r&&(this.prevLead=r,this.lead=t,t.show(),r)){r.instance&&r.scheduleRender(),t.scheduleRender(),t.resumeFrom=r,o&&(t.resumeFrom.preserveOpacity=!0),r.snapshot&&(t.snapshot=r.snapshot,t.snapshot.latestValues=r.animationValues||r.latestValues),t.root&&t.root.isUpdating&&(t.isLayoutDirty=!0);let{crossfade:n}=t.options;n===!1&&r.hide()}}exitAnimationComplete(){this.members.forEach(t=>{let{options:o,resumingFrom:r}=t;o.onExitComplete&&o.onExitComplete(),r&&r.options.onExitComplete&&r.options.onExitComplete()})}scheduleRender(){this.members.forEach(t=>{t.instance&&t.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}};function wz(e,t,o){let r="",n=e.x.translate/t.x,a=e.y.translate/t.y,s=o?.z||0;if((n||a||s)&&(r=`translate3d(${n}px, ${a}px, ${s}px) `),(t.x!==1||t.y!==1)&&(r+=`scale(${1/t.x}, ${1/t.y}) `),o){let{transformPerspective:c,rotate:u,rotateX:m,rotateY:f,skewX:d,skewY:p}=o;c&&(r=`perspective(${c}px) ${r}`),u&&(r+=`rotate(${u}deg) `),m&&(r+=`rotateX(${m}deg) `),f&&(r+=`rotateY(${f}deg) `),d&&(r+=`skewX(${d}deg) `),p&&(r+=`skewY(${p}deg) `)}let i=e.x.scale*t.x,l=e.y.scale*t.y;return(i!==1||l!==1)&&(r+=`scale(${i}, ${l})`),r||"none"}var Rm={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0},S1=typeof window<"u"&&window.MotionDebug!==void 0,JA=["","X","Y","Z"],Kce={visibility:"hidden"},Tz=1e3,Qce=0;function ek(e,t,o,r){let{latestValues:n}=t;n[e]&&(o[e]=n[e],t.setStaticValue(e,0),r&&(r[e]=0))}function Dz(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;let{visualElement:t}=e.options;if(!t)return;let o=Mx(t);if(window.MotionHasOptimisedAnimation(o,"transform")){let{layout:n,layoutId:a}=e.options;window.MotionCancelOptimisedAnimation(o,"transform",tt,!(n||a))}let{parent:r}=e;r&&!r.hasCheckedOptimisedAppear&&Dz(r)}function mI({attachResizeListener:e,defaultParent:t,measureScroll:o,checkIsScrollRoot:r,resetTransform:n}){return class{constructor(s={},i=t?.()){this.id=Qce++,this.animationId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,S1&&(Rm.totalNodes=Rm.resolvedTargetDeltas=Rm.recalculatedProjection=0),this.nodes.forEach(tue),this.nodes.forEach(sue),this.nodes.forEach(iue),this.nodes.forEach(oue),S1&&window.MotionDebug.record(Rm)},this.resolvedRelativeTargetAt=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=s,this.root=i?i.root||i:this,this.path=i?[...i.path,i]:[],this.parent=i,this.depth=i?i.depth+1:0;for(let l=0;l<this.path.length;l++)this.path[l].shouldResetTransform=!0;this.root===this&&(this.nodes=new cI)}addEventListener(s,i){return this.eventHandlers.has(s)||this.eventHandlers.set(s,new Qc),this.eventHandlers.get(s).add(i)}notifyListeners(s,...i){let l=this.eventHandlers.get(s);l&&l.notify(...i)}hasListeners(s){return this.eventHandlers.has(s)}mount(s,i=this.root.hasTreeAnimated){if(this.instance)return;this.isSVG=lz(s),this.instance=s;let{layoutId:l,layout:c,visualElement:u}=this.options;if(u&&!u.current&&u.mount(s),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),i&&(c||l)&&(this.isLayoutDirty=!0),e){let m,f=()=>this.root.updateBlockedByResize=!1;e(s,()=>{this.root.updateBlockedByResize=!0,m&&m(),m=uz(f,250),zp.hasAnimatedSinceResize&&(zp.hasAnimatedSinceResize=!1,this.nodes.forEach(kz))})}l&&this.root.registerSharedNode(l,this),this.options.animate!==!1&&u&&(l||c)&&this.addEventListener("didUpdate",({delta:m,hasLayoutChanged:f,hasRelativeTargetChanged:d,layout:p})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let h=this.options.transition||u.getDefaultTransition()||fue,{onLayoutAnimationStart:S,onLayoutAnimationComplete:g}=u.getProps(),b=!this.targetLayout||!YA(this.targetLayout,p)||d,I=!f&&d;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||I||f&&(b||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(m,I);let v={...Xc(h,"layout"),onPlay:S,onComplete:g};(u.shouldReduceMotion||this.options.layoutRoot)&&(v.delay=0,v.type=!1),this.startAnimation(v)}else f||kz(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=p})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);let s=this.getStack();s&&s.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,Na(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach(lue),this.animationId++)}getTransformTemplate(){let{visualElement:s}=this.options;return s&&s.getProps().transformTemplate}willUpdate(s=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&Dz(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let u=0;u<this.path.length;u++){let m=this.path[u];m.shouldResetTransform=!0,m.updateScroll("snapshot"),m.options.layoutRoot&&m.willUpdate(!1)}let{layoutId:i,layout:l}=this.options;if(i===void 0&&!l)return;let c=this.getTransformTemplate();this.prevTransformTemplateValue=c?c(this.latestValues,""):void 0,this.updateSnapshot(),s&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(Az);return}this.isUpdating||this.nodes.forEach(nue),this.isUpdating=!1,this.nodes.forEach(aue),this.nodes.forEach(Jce),this.nodes.forEach(eue),this.clearAllSnapshots();let i=Ln.now();Do.delta=In(0,1e3/60,i-Do.timestamp),Do.timestamp=i,Do.isProcessing=!0,rx.update.process(Do),rx.preRender.process(Do),rx.render.process(Do),Do.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,up.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(rue),this.sharedNodes.forEach(cue)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,tt.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){tt.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure())}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let l=0;l<this.path.length;l++)this.path[l].updateScroll();let s=this.layout;this.layout=this.measure(!1),this.layoutCorrected=ao(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);let{visualElement:i}=this.options;i&&i.notify("LayoutMeasure",this.layout.layoutBox,s?s.layoutBox:void 0)}updateScroll(s="measure"){let i=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===s&&(i=!1),i){let l=r(this.instance);this.scroll={animationId:this.root.animationId,phase:s,isRoot:l,offset:o(this.instance),wasRoot:this.scroll?this.scroll.isRoot:l}}}resetTransform(){if(!n)return;let s=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,i=this.projectionDelta&&!XA(this.projectionDelta),l=this.getTransformTemplate(),c=l?l(this.latestValues,""):void 0,u=c!==this.prevTransformTemplateValue;s&&(i||Rl(this.latestValues)||u)&&(n(this.instance,c),this.shouldResetTransform=!1,this.scheduleRender())}measure(s=!0){let i=this.measurePageBox(),l=this.removeElementScroll(i);return s&&(l=this.removeTransform(l)),due(l),{animationId:this.root.animationId,measuredBox:i,layoutBox:l,latestValues:{},source:this.id}}measurePageBox(){var s;let{visualElement:i}=this.options;if(!i)return ao();let l=i.measureViewportBox();if(!(((s=this.scroll)===null||s===void 0?void 0:s.wasRoot)||this.path.some(pue))){let{scroll:u}=this.root;u&&(au(l.x,u.offset.x),au(l.y,u.offset.y))}return l}removeElementScroll(s){var i;let l=ao();if(Wa(l,s),!((i=this.scroll)===null||i===void 0)&&i.wasRoot)return l;for(let c=0;c<this.path.length;c++){let u=this.path[c],{scroll:m,options:f}=u;u!==this.root&&m&&f.layoutScroll&&(m.wasRoot&&Wa(l,s),au(l.x,m.offset.x),au(l.y,m.offset.y))}return l}applyTransform(s,i=!1){let l=ao();Wa(l,s);for(let c=0;c<this.path.length;c++){let u=this.path[c];!i&&u.options.layoutScroll&&u.scroll&&u!==u.root&&Dm(l,{x:-u.scroll.offset.x,y:-u.scroll.offset.y}),Rl(u.latestValues)&&Dm(l,u.latestValues)}return Rl(this.latestValues)&&Dm(l,this.latestValues),l}removeTransform(s){let i=ao();Wa(i,s);for(let l=0;l<this.path.length;l++){let c=this.path[l];if(!c.instance||!Rl(c.latestValues))continue;oI(c.latestValues)&&c.updateSnapshot();let u=ao(),m=c.measurePageBox();Wa(u,m),qA(i,c.latestValues,c.snapshot?c.snapshot.layoutBox:void 0,u)}return Rl(this.latestValues)&&qA(i,this.latestValues),i}setTargetDelta(s){this.targetDelta=s,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(s){this.options={...this.options,...s,crossfade:s.crossfade!==void 0?s.crossfade:!0}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==Do.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(s=!1){var i;let l=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=l.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=l.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=l.isSharedProjectionDirty);let c=!!this.resumingFrom||this!==l;if(!(s||c&&this.isSharedProjectionDirty||this.isProjectionDirty||!((i=this.parent)===null||i===void 0)&&i.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;let{layout:m,layoutId:f}=this.options;if(!(!this.layout||!(m||f))){if(this.resolvedRelativeTargetAt=Do.timestamp,!this.targetDelta&&!this.relativeTarget){let d=this.getClosestProjectingParent();d&&d.layout&&this.animationProgress!==1?(this.relativeParent=d,this.forceRelativeParentToResolveTarget(),this.relativeTarget=ao(),this.relativeTargetOrigin=ao(),Np(this.relativeTargetOrigin,this.layout.layoutBox,d.layout.layoutBox),Wa(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(!(!this.relativeTarget&&!this.targetDelta)){if(this.target||(this.target=ao(),this.targetWithTransforms=ao()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),_N(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):Wa(this.target,this.layout.layoutBox),ZA(this.target,this.targetDelta)):Wa(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget){this.attemptToResolveRelativeTarget=!1;let d=this.getClosestProjectingParent();d&&!!d.resumingFrom==!!this.resumingFrom&&!d.options.layoutScroll&&d.target&&this.animationProgress!==1?(this.relativeParent=d,this.forceRelativeParentToResolveTarget(),this.relativeTarget=ao(),this.relativeTargetOrigin=ao(),Np(this.relativeTargetOrigin,this.target,d.target),Wa(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}S1&&Rm.resolvedTargetDeltas++}}}getClosestProjectingParent(){if(!(!this.parent||oI(this.parent.latestValues)||WA(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){var s;let i=this.getLead(),l=!!this.resumingFrom||this!==i,c=!0;if((this.isProjectionDirty||!((s=this.parent)===null||s===void 0)&&s.isProjectionDirty)&&(c=!1),l&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(c=!1),this.resolvedRelativeTargetAt===Do.timestamp&&(c=!1),c)return;let{layout:u,layoutId:m}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(u||m))return;Wa(this.layoutCorrected,this.layout.layoutBox);let f=this.treeScale.x,d=this.treeScale.y;tz(this.layoutCorrected,this.treeScale,this.path,l),i.layout&&!i.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(i.target=i.layout.layoutBox,i.targetWithTransforms=ao());let{target:p}=i;if(!p){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():($A(this.prevProjectionDelta.x,this.projectionDelta.x),$A(this.prevProjectionDelta.y,this.projectionDelta.y)),Vp(this.projectionDelta,this.layoutCorrected,p,this.latestValues),(this.treeScale.x!==f||this.treeScale.y!==d||!QA(this.projectionDelta.x,this.prevProjectionDelta.x)||!QA(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",p)),S1&&Rm.recalculatedProjection++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(s=!0){var i;if((i=this.options.visualElement)===null||i===void 0||i.scheduleRender(),s){let l=this.getStack();l&&l.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=Bm(),this.projectionDelta=Bm(),this.projectionDeltaWithTransform=Bm()}setAnimationOrigin(s,i=!1){let l=this.snapshot,c=l?l.latestValues:{},u={...this.latestValues},m=Bm();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!i;let f=ao(),d=l?l.source:void 0,p=this.layout?this.layout.source:void 0,h=d!==p,S=this.getStack(),g=!S||S.members.length<=1,b=!!(h&&!g&&this.options.crossfade===!0&&!this.path.some(mue));this.animationProgress=0;let I;this.mixTargetDelta=v=>{let C=v/1e3;Mz(m.x,s.x,C),Mz(m.y,s.y,C),this.setTargetDelta(m),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(Np(f,this.layout.layoutBox,this.relativeParent.layout.layoutBox),uue(this.relativeTarget,this.relativeTargetOrigin,f,C),I&&Cz(this.relativeTarget,I)&&(this.isProjectionDirty=!1),I||(I=ao()),Wa(I,this.relativeTarget)),h&&(this.animationValues=u,hz(u,c,this.latestValues,C,b,g)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=C},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(s){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&(Na(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=tt.update(()=>{zp.hasAnimatedSinceResize=!0,this.currentAnimation=iz(0,Tz,{...s,onUpdate:i=>{this.mixTargetDelta(i),s.onUpdate&&s.onUpdate(i)},onComplete:()=>{s.onComplete&&s.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);let s=this.getStack();s&&s.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(Tz),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){let s=this.getLead(),{targetWithTransforms:i,target:l,layout:c,latestValues:u}=s;if(!(!i||!l||!c)){if(this!==s&&this.layout&&c&&Rz(this.options.animationType,this.layout.layoutBox,c.layoutBox)){l=this.target||ao();let m=vn(this.layout.layoutBox.x);l.x.min=s.target.x.min,l.x.max=l.x.min+m;let f=vn(this.layout.layoutBox.y);l.y.min=s.target.y.min,l.y.max=l.y.min+f}Wa(i,l),Dm(i,u),Vp(this.projectionDeltaWithTransform,this.layoutCorrected,i,u)}}registerSharedNode(s,i){this.sharedNodes.has(s)||this.sharedNodes.set(s,new uI),this.sharedNodes.get(s).add(i);let c=i.options.initialPromotionConfig;i.promote({transition:c?c.transition:void 0,preserveFollowOpacity:c&&c.shouldPreserveFollowOpacity?c.shouldPreserveFollowOpacity(i):void 0})}isLead(){let s=this.getStack();return s?s.lead===this:!0}getLead(){var s;let{layoutId:i}=this.options;return i?((s=this.getStack())===null||s===void 0?void 0:s.lead)||this:this}getPrevLead(){var s;let{layoutId:i}=this.options;return i?(s=this.getStack())===null||s===void 0?void 0:s.prevLead:void 0}getStack(){let{layoutId:s}=this.options;if(s)return this.root.sharedNodes.get(s)}promote({needsReset:s,transition:i,preserveFollowOpacity:l}={}){let c=this.getStack();c&&c.promote(this,l),s&&(this.projectionDelta=void 0,this.needsReset=!0),i&&this.setOptions({transition:i})}relegate(){let s=this.getStack();return s?s.relegate(this):!1}resetSkewAndRotation(){let{visualElement:s}=this.options;if(!s)return;let i=!1,{latestValues:l}=s;if((l.z||l.rotate||l.rotateX||l.rotateY||l.rotateZ||l.skewX||l.skewY)&&(i=!0),!i)return;let c={};l.z&&ek("z",s,c,this.animationValues);for(let u=0;u<JA.length;u++)ek(`rotate${JA[u]}`,s,c,this.animationValues),ek(`skew${JA[u]}`,s,c,this.animationValues);s.render();for(let u in c)s.setStaticValue(u,c[u]),this.animationValues&&(this.animationValues[u]=c[u]);s.scheduleRender()}getProjectionStyles(s){var i,l;if(!this.instance||this.isSVG)return;if(!this.isVisible)return Kce;let c={visibility:""},u=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,c.opacity="",c.pointerEvents=pp(s?.pointerEvents)||"",c.transform=u?u(this.latestValues,""):"none",c;let m=this.getLead();if(!this.projectionDelta||!this.layout||!m.target){let h={};return this.options.layoutId&&(h.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,h.pointerEvents=pp(s?.pointerEvents)||""),this.hasProjected&&!Rl(this.latestValues)&&(h.transform=u?u({},""):"none",this.hasProjected=!1),h}let f=m.animationValues||m.latestValues;this.applyTransformsToTarget(),c.transform=wz(this.projectionDeltaWithTransform,this.treeScale,f),u&&(c.transform=u(f,c.transform));let{x:d,y:p}=this.projectionDelta;c.transformOrigin=`${d.origin*100}% ${p.origin*100}% 0`,m.animationValues?c.opacity=m===this?(l=(i=f.opacity)!==null&&i!==void 0?i:this.latestValues.opacity)!==null&&l!==void 0?l:1:this.preserveOpacity?this.latestValues.opacity:f.opacityExit:c.opacity=m===this?f.opacity!==void 0?f.opacity:"":f.opacityExit!==void 0?f.opacityExit:0;for(let h in Ip){if(f[h]===void 0)continue;let{correct:S,applyTo:g}=Ip[h],b=c.transform==="none"?f[h]:S(f[h],m);if(g){let I=g.length;for(let v=0;v<I;v++)c[g[v]]=b}else c[h]=b}return this.options.layoutId&&(c.pointerEvents=m===this?pp(s?.pointerEvents)||"":"none"),c}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(s=>{var i;return(i=s.currentAnimation)===null||i===void 0?void 0:i.stop()}),this.root.nodes.forEach(Az),this.root.sharedNodes.clear()}}}function Jce(e){e.updateLayout()}function eue(e){var t;let o=((t=e.resumeFrom)===null||t===void 0?void 0:t.snapshot)||e.snapshot;if(e.isLead()&&e.layout&&o&&e.hasListeners("didUpdate")){let{layoutBox:r,measuredBox:n}=e.layout,{animationType:a}=e.options,s=o.source!==e.layout.source;a==="size"?ca(m=>{let f=s?o.measuredBox[m]:o.layoutBox[m],d=vn(f);f.min=r[m].min,f.max=f.min+d}):Rz(a,o.layoutBox,r)&&ca(m=>{let f=s?o.measuredBox[m]:o.layoutBox[m],d=vn(r[m]);f.max=f.min+d,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[m].max=e.relativeTarget[m].min+d)});let i=Bm();Vp(i,r,o.layoutBox);let l=Bm();s?Vp(l,e.applyTransform(n,!0),o.measuredBox):Vp(l,r,o.layoutBox);let c=!XA(i),u=!1;if(!e.resumeFrom){let m=e.getClosestProjectingParent();if(m&&!m.resumeFrom){let{snapshot:f,layout:d}=m;if(f&&d){let p=ao();Np(p,o.layoutBox,f.layoutBox);let h=ao();Np(h,r,d.layoutBox),YA(p,h)||(u=!0),m.options.layoutRoot&&(e.relativeTarget=h,e.relativeTargetOrigin=p,e.relativeParent=m)}}}e.notifyListeners("didUpdate",{layout:r,snapshot:o,delta:l,layoutDelta:i,hasLayoutChanged:c,hasRelativeTargetChanged:u})}else if(e.isLead()){let{onExitComplete:r}=e.options;r&&r()}e.options.transition=void 0}function tue(e){S1&&Rm.totalNodes++,e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=!!(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function oue(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function rue(e){e.clearSnapshot()}function Az(e){e.clearMeasurements()}function nue(e){e.isLayoutDirty=!1}function aue(e){let{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function kz(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function sue(e){e.resolveTargetDelta()}function iue(e){e.calcProjection()}function lue(e){e.resetSkewAndRotation()}function cue(e){e.removeLeadSnapshot()}function Mz(e,t,o){e.translate=St(t.translate,0,o),e.scale=St(t.scale,1,o),e.origin=t.origin,e.originPoint=t.originPoint}function Lz(e,t,o,r){e.min=St(t.min,o.min,r),e.max=St(t.max,o.max,r)}function uue(e,t,o,r){Lz(e.x,t.x,o.x,r),Lz(e.y,t.y,o.y,r)}function mue(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}var fue={duration:.45,ease:[.4,0,.1,1]},Pz=e=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),Ez=Pz("applewebkit/")&&!Pz("chrome/")?Math.round:zt;function Bz(e){e.min=Ez(e.min),e.max=Ez(e.max)}function due(e){Bz(e.x),Bz(e.y)}function Rz(e,t,o){return e==="position"||e==="preserve-aspect"&&!RN(KA(t),KA(o),.2)}function pue(e){var t;return e!==e.root&&((t=e.scroll)===null||t===void 0?void 0:t.wasRoot)}var _z=mI({attachResizeListener:(e,t)=>Bl(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0});var tk={current:void 0},fI=mI({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!tk.current){let e=new _z({});e.mount(window),e.setOptions({layoutScroll:!0}),tk.current=e}return tk.current},resetTransform:(e,t)=>{e.style.transform=t!==void 0?t:"none"},checkIsScrollRoot:e=>window.getComputedStyle(e).position==="fixed"});var Fz={pan:{Feature:iI},drag:{Feature:sI,ProjectionNode:fI,MeasureLayout:lI}};function Hz(e,t,o){let{props:r}=e;e.animationState&&r.whileHover&&e.animationState.setActive("whileHover",o==="Start");let n="onHover"+o,a=r[n];a&&tt.postRender(()=>a(t,Dl(t)))}var dI=class extends an{mount(){let{current:t}=this.node;t&&(this.unmount=yA(t,o=>(Hz(this.node,o,"Start"),r=>Hz(this.node,r,"End"))))}unmount(){}};var pI=class extends an{constructor(){super(...arguments),this.isActive=!1}onFocus(){let t=!1;try{t=this.node.current.matches(":focus-visible")}catch{t=!0}!t||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){!this.isActive||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=Pi(Bl(this.node.current,"focus",()=>this.onFocus()),Bl(this.node.current,"blur",()=>this.onBlur()))}unmount(){}};function Oz(e,t,o){let{props:r}=e;e.animationState&&r.whileTap&&e.animationState.setActive("whileTap",o==="Start");let n="onTap"+(o==="End"?"":o),a=r[n];a&&tt.postRender(()=>a(t,Dl(t)))}var hI=class extends an{mount(){let{current:t}=this.node;t&&(this.unmount=xA(t,o=>(Oz(this.node,o,"Start"),(r,{success:n})=>Oz(this.node,r,n?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}};var rk=new WeakMap,ok=new WeakMap,hue=e=>{let t=rk.get(e.target);t&&t(e)},gue=e=>{e.forEach(hue)};function bue({root:e,...t}){let o=e||document;ok.has(o)||ok.set(o,{});let r=ok.get(o),n=JSON.stringify(t);return r[n]||(r[n]=new IntersectionObserver(gue,{root:e,...t})),r[n]}function Vz(e,t,o){let r=bue(t);return rk.set(e,o),r.observe(e),()=>{rk.delete(e),r.unobserve(e)}}var yue={some:0,all:1},gI=class extends an{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();let{viewport:t={}}=this.node.getProps(),{root:o,margin:r,amount:n="some",once:a}=t,s={root:o?o.current:void 0,rootMargin:r,threshold:typeof n=="number"?n:yue[n]},i=l=>{let{isIntersecting:c}=l;if(this.isInView===c||(this.isInView=c,a&&!c&&this.hasEnteredView))return;c&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",c);let{onViewportEnter:u,onViewportLeave:m}=this.node.getProps(),f=c?u:m;f&&f(l)};return Vz(this.node.current,s,i)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;let{props:t,prevProps:o}=this.node;["amount","margin","root"].some(Sue(t,o))&&this.startObserver()}unmount(){}};function Sue({viewport:e={}},{viewport:t={}}={}){return o=>e[o]!==t[o]}var Nz={inView:{Feature:gI},tap:{Feature:hI},focus:{Feature:pI},hover:{Feature:dI}};var zz={layout:{ProjectionNode:fI,MeasureLayout:lI}};var Gz=k(F(),1);var x1={current:null},bI={current:!1};function Wz(){if(bI.current=!0,!!ip)if(window.matchMedia){let e=window.matchMedia("(prefers-reduced-motion)"),t=()=>x1.current=e.matches;e.addListener(t),t()}else x1.current=!1}var xue=[...LA,Rr,Un],Uz=e=>xue.find(zx(e));var nk=new WeakMap;function Zz(e,t,o){for(let r in t){let n=t[r],a=o[r];if(Kt(n))e.addValue(r,n);else if(Kt(a))e.addValue(r,El(n,{owner:e}));else if(a!==n)if(e.hasValue(r)){let s=e.getValue(r);s.liveStyle===!0?s.jump(n):s.hasAnimated||s.set(n)}else{let s=e.getStaticValue(r);e.addValue(r,El(s!==void 0?s:n,{owner:e}))}}for(let r in o)t[r]===void 0&&e.removeValue(r);return t}var jz=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],yI=class{scrapeMotionValuesFromProps(t,o,r){return{}}constructor({parent:t,props:o,presenceContext:r,reducedMotionConfig:n,blockInitialAnimation:a,visualState:s},i={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=ou,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{let d=Ln.now();this.renderScheduledAt<d&&(this.renderScheduledAt=d,tt.render(this.render,!1,!0))};let{latestValues:l,renderState:c,onUpdate:u}=s;this.onUpdate=u,this.latestValues=l,this.baseTarget={...l},this.initialValues=o.initial?{...l}:{},this.renderState=c,this.parent=t,this.props=o,this.presenceContext=r,this.depth=t?t.depth+1:0,this.reducedMotionConfig=n,this.options=i,this.blockInitialAnimation=!!a,this.isControllingVariants=wm(o),this.isVariantNode=ix(o),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);let{willChange:m,...f}=this.scrapeMotionValuesFromProps(o,{},this);for(let d in f){let p=f[d];l[d]!==void 0&&Kt(p)&&p.set(l[d],!1)}}mount(t){this.current=t,nk.set(t,this),this.projection&&!this.projection.instance&&this.projection.mount(t),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((o,r)=>this.bindToMotionValue(r,o)),bI.current||Wz(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:x1.current,this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){nk.delete(this.current),this.projection&&this.projection.unmount(),Na(this.notifyUpdate),Na(this.render),this.valueSubscriptions.forEach(t=>t()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this);for(let t in this.events)this.events[t].clear();for(let t in this.features){let o=this.features[t];o&&(o.unmount(),o.isMounted=!1)}this.current=null}bindToMotionValue(t,o){this.valueSubscriptions.has(t)&&this.valueSubscriptions.get(t)();let r=la.has(t),n=o.on("change",i=>{this.latestValues[t]=i,this.props.onUpdate&&tt.preRender(this.notifyUpdate),r&&this.projection&&(this.projection.isTransformDirty=!0)}),a=o.on("renderRequest",this.scheduleRender),s;window.MotionCheckAppearSync&&(s=window.MotionCheckAppearSync(this,t,o)),this.valueSubscriptions.set(t,()=>{n(),a(),s&&s(),o.owner&&o.stop()})}sortNodePosition(t){return!this.current||!this.sortInstanceNodePosition||this.type!==t.type?0:this.sortInstanceNodePosition(this.current,t.current)}updateFeatures(){let t="animation";for(t in kl){let o=kl[t];if(!o)continue;let{isEnabled:r,Feature:n}=o;if(!this.features[t]&&n&&r(this.props)&&(this.features[t]=new n(this)),this.features[t]){let a=this.features[t];a.isMounted?a.update():(a.mount(),a.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):ao()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,o){this.latestValues[t]=o}update(t,o){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=o;for(let r=0;r<jz.length;r++){let n=jz[r];this.propEventSubscriptions[n]&&(this.propEventSubscriptions[n](),delete this.propEventSubscriptions[n]);let a="on"+n,s=t[a];s&&(this.propEventSubscriptions[n]=this.on(n,s))}this.prevMotionValues=Zz(this,this.scrapeMotionValuesFromProps(t,this.prevProps,this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue(),this.onUpdate&&this.onUpdate(this)}getProps(){return this.props}getVariant(t){return this.props.variants?this.props.variants[t]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(t){let o=this.getClosestVariantNode();if(o)return o.variantChildren&&o.variantChildren.add(t),()=>o.variantChildren.delete(t)}addValue(t,o){let r=this.values.get(t);o!==r&&(r&&this.removeValue(t),this.bindToMotionValue(t,o),this.values.set(t,o),this.latestValues[t]=o.get())}removeValue(t){this.values.delete(t);let o=this.valueSubscriptions.get(t);o&&(o(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,o){if(this.props.values&&this.props.values[t])return this.props.values[t];let r=this.values.get(t);return r===void 0&&o!==void 0&&(r=El(o===null?void 0:o,{owner:this}),this.addValue(t,r)),r}readValue(t,o){var r;let n=this.latestValues[t]!==void 0||!this.current?this.latestValues[t]:(r=this.getBaseTargetFromProps(this.props,t))!==null&&r!==void 0?r:this.readValueFromInstance(this.current,t,this.options);return n!=null&&(typeof n=="string"&&(Nx(n)||Hx(n))?n=parseFloat(n):!Uz(n)&&Un.test(o)&&(n=Vx(t,o)),this.setBaseTarget(t,Kt(n)?n.get():n)),Kt(n)?n.get():n}setBaseTarget(t,o){this.baseTarget[t]=o}getBaseTarget(t){var o;let{initial:r}=this.props,n;if(typeof r=="string"||typeof r=="object"){let s=dp(this.props,r,(o=this.presenceContext)===null||o===void 0?void 0:o.custom);s&&(n=s[t])}if(r&&n!==void 0)return n;let a=this.getBaseTargetFromProps(this.props,t);return a!==void 0&&!Kt(a)?a:this.initialValues[t]!==void 0&&n===void 0?void 0:this.baseTarget[t]}on(t,o){return this.events[t]||(this.events[t]=new Qc),this.events[t].add(o)}notify(t,...o){this.events[t]&&this.events[t].notify(...o)}};var Up=class extends yI{constructor(){super(...arguments),this.KeyframeResolver=Rp}sortInstanceNodePosition(t,o){return t.compareDocumentPosition(o)&2?1:-1}getBaseTargetFromProps(t,o){return t.style?t.style[o]:void 0}removeValueFromRenderState(t,{vars:o,style:r}){delete o[t],delete r[t]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:t}=this.props;Kt(t)&&(this.childSubscription=t.on("change",o=>{this.current&&(this.current.textContent=`${o}`)}))}};function Iue(e){return window.getComputedStyle(e)}var SI=class extends Up{constructor(){super(...arguments),this.type="html",this.renderInstance=gx}readValueFromInstance(t,o){if(la.has(o)){let r=Dp(o);return r&&r.default||0}else{let r=Iue(t),n=(dx(o)?r.getPropertyValue(o):r[o])||0;return typeof n=="string"?n.trim():n}}measureInstanceViewportBox(t,{transformPagePoint:o}){return jA(t,o)}build(t,o,r){bp(t,o,r.transformTemplate)}scrapeMotionValuesFromProps(t,o,r){return vp(t,o,r)}};var xI=class extends Up{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=ao}getBaseTargetFromProps(t,o){return t[o]}readValueFromInstance(t,o){if(la.has(o)){let r=Dp(o);return r&&r.default||0}return o=bx.has(o)?o:cp(o),t.getAttribute(o)}scrapeMotionValuesFromProps(t,o,r){return xx(t,o,r)}build(t,o,r){yp(t,o,this.isSVGTag,r.transformTemplate)}renderInstance(t,o,r,n){yx(t,o,r,n)}mount(t){this.isSVGTag=xp(t.tagName),super.mount(t)}};var $z=(e,t)=>fp(e)?new xI(t):new SI(t,{allowProjection:e!==Gz.Fragment});var qz=vV({...CN,...Nz,...Fz,...zz},$z);var qs=WO(qz);var SW=k(F(),1);var ik=k(re(),1);var _l=k(F(),1);var vue=(e,t)=>e.find(o=>o.id===t);function ak(e,t){let o=sk(e,t),r=o?e[o].findIndex(n=>n.id===t):-1;return{position:o,index:r}}function sk(e,t){for(let[o,r]of Object.entries(e))if(vue(r,t))return o}function Xz(e){let t=e.includes("right"),o=e.includes("left"),r="center";return t&&(r="flex-end"),o&&(r="flex-start"),{display:"flex",flexDirection:"column",alignItems:r}}function Yz(e){let o=e==="top"||e==="bottom"?"0 auto":void 0,r=e.includes("top")?"env(safe-area-inset-top, 0px)":void 0,n=e.includes("bottom")?"env(safe-area-inset-bottom, 0px)":void 0,a=e.includes("left")?void 0:"env(safe-area-inset-right, 0px)",s=e.includes("right")?void 0:"env(safe-area-inset-left, 0px)";return{position:"fixed",zIndex:"var(--toast-z-index, 5500)",pointerEvents:"none",display:"flex",flexDirection:"column",margin:o,top:r,bottom:n,right:a,left:s}}var su=k(F());ax();var Cue=!1,wue=lA,Tue=function(t){return t!=="theme"},Kz=function(t){return typeof t=="string"&&t.charCodeAt(0)>96?wue:Tue},Qz=function(t,o,r){var n;if(o){var a=o.shouldForwardProp;n=t.__emotion_forwardProp&&a?function(s){return t.__emotion_forwardProp(s)&&a(s)}:a}return typeof n!="function"&&r&&(n=t.__emotion_forwardProp),n},Aue=function(t){var o=t.cache,r=t.serialized,n=t.isStringTag;return Qd(o,r,n),Qg(function(){return Jd(o,r,n)}),null},Jz=function e(t,o){var r=t.__emotion_real===t,n=r&&t.__emotion_base||t,a,s;o!==void 0&&(a=o.label,s=o.target);var i=Qz(t,o,r),l=i||Kz(n),c=!l("as");return function(){var u=arguments,m=r&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(a!==void 0&&m.push("label:"+a+";"),u[0]==null||u[0].raw===void 0)m.push.apply(m,u);else{var f=u[0];m.push(f[0]);for(var d=u.length,p=1;p<d;p++)m.push(u[p],f[p])}var h=ep(function(S,g,b){var I=c&&S.as||n,v="",C=[],T=S;if(S.theme==null){T={};for(var w in S)T[w]=S[w];T.theme=su.useContext(Ci)}typeof S.className=="string"?v=Xg(g.registered,C,S.className):S.className!=null&&(v=S.className+" ");var E=Sm(m.concat(C),g.registered,T);v+=g.key+"-"+E.name,s!==void 0&&(v+=" "+s);var B=c&&i===void 0?Kz(I):l,L={};for(var _ in S)c&&_==="as"||B(_)&&(L[_]=S[_]);return L.className=v,b&&(L.ref=b),su.createElement(su.Fragment,null,su.createElement(Aue,{cache:g,serialized:E,isStringTag:typeof I=="string"}),su.createElement(I,L))});return h.displayName=a!==void 0?a:"Styled("+(typeof n=="string"?n:n.displayName||n.name||"Component")+")",h.defaultProps=t.defaultProps,h.__emotion_real=h,h.__emotion_base=n,h.__emotion_styles=m,h.__emotion_forwardProp=i,Object.defineProperty(h,"toString",{value:function(){return s===void 0&&Cue?"NO_COMPONENT_SELECTOR":"."+s}}),h.withComponent=function(S,g){var b=e(S,Zs({},o,g,{shouldForwardProp:Qz(h,g,!0)}));return b.apply(void 0,m)},h}};var fHe=k(F());ax();var kue=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"],II=Jz.bind(null);kue.forEach(function(e){II[e]=II(e)});var vI=k(F(),1);var Mue=new Set([...E3,"textStyle","layerStyle","apply","noOfLines","focusBorderColor","errorBorderColor","as","__css","css","sx"]),Lue=new Set(["htmlWidth","htmlHeight","htmlSize","htmlTranslate"]);function eW(e){return(Lue.has(e)||!Mue.has(e))&&e[0]!=="_"}var Pue=l3(II),Eue=({baseStyle:e})=>t=>{let{theme:o,css:r,__css:n,sx:a,...s}=t,[i]=m3(s,B3),l=Br(e,t),c=n3({},n,l,sm(i),a),u=Mg(c)(t.theme);return r?[u,r]:u};function CI(e,t){let{baseStyle:o,...r}=t??{};r.shouldForwardProp||(r.shouldForwardProp=eW);let n=Eue({baseStyle:o}),a=Pue(e,r)(n);return(0,vI.forwardRef)(function(l,c){let{children:u,...m}=l,{colorMode:f,forced:d}=wi();return(0,vI.createElement)(a,{ref:c,"data-theme":d?f:void 0,...m},u)})}function Bue(){let e=new Map;return new Proxy(CI,{apply(t,o,r){return CI(...r)},get(t,o){return e.has(o)||e.set(o,CI(o)),e.get(o)}})}var Y=Bue();var Due={initial:e=>{let{position:t}=e,o=["top","bottom"].includes(t)?"y":"x",r=["top-right","bottom-right"].includes(t)?1:-1;return t==="bottom"&&(r=1),{opacity:0,[o]:r*24}},animate:{opacity:1,y:0,x:0,scale:1,transition:{duration:.4,ease:[.4,0,.2,1]}},exit:{opacity:0,scale:.85,transition:{duration:.2,ease:[.4,0,1,1]}}},lk=(0,_l.memo)(e=>{let{id:t,message:o,onCloseComplete:r,onRequestRemove:n,requestClose:a=!1,position:s="bottom",duration:i=5e3,containerStyle:l,motionVariants:c=Due,toastSpacing:u="0.5rem"}=e,[m,f]=(0,_l.useState)(i),d=sA();kd(()=>{d||r?.()},[d]),kd(()=>{f(i)},[i]);let p=()=>f(null),h=()=>f(i),S=()=>{d&&n()};(0,_l.useEffect)(()=>{d&&a&&n()},[d,a,n]),A3(S,m);let g=(0,_l.useMemo)(()=>({pointerEvents:"auto",maxWidth:560,minWidth:300,margin:u,...l}),[l,u]),b=(0,_l.useMemo)(()=>Xz(s),[s]);return(0,ik.jsx)(qs.div,{layout:!0,className:"chakra-toast",variants:c,initial:"initial",animate:"animate",exit:"exit",onHoverStart:p,onHoverEnd:h,custom:{position:s},style:b,children:(0,ik.jsx)(Y.div,{role:"status","aria-atomic":"true",className:"chakra-toast__inner",__css:g,children:Br(o,{id:t,onClose:S})})})});lk.displayName="ToastComponent";var Hl=k(re(),1);var kI=k(re(),1);var _m=k(re(),1);var iu=k(re(),1);var tW=k(F(),1);function le(e){return(0,tW.forwardRef)(e)}var AI=k(F(),1),aW=k(rW(),1);var nW=k(F(),1);function Fl(){let e=(0,nW.useContext)(Ci);if(!e)throw Error("useTheme: `theme` is undefined. Seems you forgot to wrap your app in `<ChakraProvider />` or `<ThemeProvider />`");return e}function I1(){let e=wi(),t=Fl();return{...e,theme:t}}function Oue(e,t,o){if(t==null)return t;let r=n=>e.__breakpoints?.asArray?.[n];return r(t)??r(o)??o}function Vue(e,t,o){if(t==null)return t;let r=n=>e.__cssMap?.[n]?.value;return r(t)??r(o)??o}function ck(e,t,o){let r=Fl();return TI(e,t,o)(r)}function TI(e,t,o){let r=Array.isArray(t)?t:[t],n=Array.isArray(o)?o:[o];return a=>{let s=n.filter(Boolean),i=r.map((l,c)=>{if(e==="breakpoints")return Oue(a,l,s[c]??l);let u=`${e}.${l}`;return Vue(a,u,s[c]??l)});return Array.isArray(t)?i:i[0]}}function Nue(e){return Object.fromEntries(Object.entries(e).filter(([t,o])=>o!==void 0&&t!=="children"&&!(0,AI.isValidElement)(o)))}function sW(e,t={}){let{styleConfig:o,...r}=t,{theme:n,colorMode:a}=I1(),s=e?hg(n,`components.${e}`):void 0,i=o||s,l=(0,Zr.default)({theme:n,colorMode:a},i?.defaultProps??{},Nue(r),(u,m)=>u?void 0:m),c=(0,AI.useRef)({});if(i){let m=R3(i)(l);(0,aW.default)(c.current,m)||(c.current=m)}return c.current}function mo(e,t={}){return sW(e,t)}function To(e,t={}){return sW(e,t)}var iW={path:(0,iu.jsxs)("g",{stroke:"currentColor",strokeWidth:"1.5",children:[(0,iu.jsx)("path",{strokeLinecap:"round",fill:"none",d:"M9,9a3,3,0,1,1,4,2.829,1.5,1.5,0,0,0-1,1.415V14.25"}),(0,iu.jsx)("path",{fill:"currentColor",strokeLinecap:"round",d:"M12,17.25a.375.375,0,1,0,.375.375A.375.375,0,0,0,12,17.25h0"}),(0,iu.jsx)("circle",{fill:"none",strokeMiterlimit:"10",cx:"12",cy:"12",r:"11.25"})]}),viewBox:"0 0 24 24"},Ua=le((e,t)=>{let{as:o,viewBox:r,color:n="currentColor",focusable:a=!1,children:s,className:i,__css:l,...c}=e,u=xe("chakra-icon",i),m=mo("Icon",e),f={w:"1em",h:"1em",display:"inline-block",lineHeight:"1em",flexShrink:0,color:n,...l,...m},d={ref:t,focusable:a,className:u,__css:f},p=r??iW.viewBox;if(o&&typeof o!="string")return(0,iu.jsx)(Y.svg,{as:o,...d,...c});let h=s??iW.path;return(0,iu.jsx)(Y.svg,{verticalAlign:"middle",viewBox:p,...d,...c,children:h})});Ua.displayName="Icon";function lW(e){return(0,_m.jsx)(Ua,{viewBox:"0 0 24 24",...e,children:(0,_m.jsx)("path",{fill:"currentColor",d:"M12,0A12,12,0,1,0,24,12,12.014,12.014,0,0,0,12,0Zm6.927,8.2-6.845,9.289a1.011,1.011,0,0,1-1.43.188L5.764,13.769a1,1,0,1,1,1.25-1.562l4.076,3.261,6.227-8.451A1,1,0,1,1,18.927,8.2Z"})})}function cW(e){return(0,_m.jsx)(Ua,{viewBox:"0 0 24 24",...e,children:(0,_m.jsx)("path",{fill:"currentColor",d:"M12,0A12,12,0,1,0,24,12,12.013,12.013,0,0,0,12,0Zm.25,5a1.5,1.5,0,1,1-1.5,1.5A1.5,1.5,0,0,1,12.25,5ZM14.5,18.5h-4a1,1,0,0,1,0-2h.75a.25.25,0,0,0,.25-.25v-4.5a.25.25,0,0,0-.25-.25H10.5a1,1,0,0,1,0-2h1a2,2,0,0,1,2,2v4.75a.25.25,0,0,0,.25.25h.75a1,1,0,1,1,0,2Z"})})}function uk(e){return(0,_m.jsx)(Ua,{viewBox:"0 0 24 24",...e,children:(0,_m.jsx)("path",{fill:"currentColor",d:"M11.983,0a12.206,12.206,0,0,0-8.51,3.653A11.8,11.8,0,0,0,0,12.207,11.779,11.779,0,0,0,11.8,24h.214A12.111,12.111,0,0,0,24,11.791h0A11.766,11.766,0,0,0,11.983,0ZM10.5,16.542a1.476,1.476,0,0,1,1.449-1.53h.027a1.527,1.527,0,0,1,1.523,1.47,1.475,1.475,0,0,1-1.449,1.53h-.027A1.529,1.529,0,0,1,10.5,16.542ZM11,12.5v-6a1,1,0,0,1,2,0v6a1,1,0,1,1-2,0Z"})})}var mk=k(re(),1);var zue=js({"0%":{transform:"rotate(0deg)"},"100%":{transform:"rotate(360deg)"}}),lu=le((e,t)=>{let o=mo("Spinner",e),{label:r="Loading...",thickness:n="2px",speed:a="0.45s",emptyColor:s="transparent",className:i,...l}=qe(e),c=xe("chakra-spinner",i),u={display:"inline-block",borderColor:"currentColor",borderStyle:"solid",borderRadius:"99999px",borderWidth:n,borderBottomColor:s,borderLeftColor:s,animation:`${zue} ${a} linear infinite`,...o};return(0,mk.jsx)(Y.div,{ref:t,__css:u,className:c,...l,children:r&&(0,mk.jsx)(Y.span,{srOnly:!0,children:r})})});lu.displayName="Spinner";var[uW,Zp]=$e({name:"AlertContext",hookName:"useAlertContext",providerName:"<Alert />"}),[mW,jp]=$e({name:"AlertStylesContext",hookName:"useAlertStyles",providerName:"<Alert />"}),fW={info:{icon:cW,colorScheme:"blue"},warning:{icon:uk,colorScheme:"orange"},success:{icon:lW,colorScheme:"green"},error:{icon:uk,colorScheme:"red"},loading:{icon:lu,colorScheme:"blue"}};function dW(e){return fW[e].colorScheme}function pW(e){return fW[e].icon}var dt=le(function(t,o){let{status:r="info",addRole:n=!0,...a}=qe(t),s=t.colorScheme??dW(r),i=To("Alert",{...t,colorScheme:s}),l={width:"100%",display:"flex",alignItems:"center",position:"relative",overflow:"hidden",...i.container};return(0,kI.jsx)(uW,{value:{status:r},children:(0,kI.jsx)(mW,{value:i,children:(0,kI.jsx)(Y.div,{"data-status":r,role:n?"alert":void 0,ref:o,...a,className:xe("chakra-alert",t.className),__css:l})})})});dt.displayName="Alert";var fk=k(re(),1);function pt(e){let{status:t}=Zp(),o=pW(t),r=jp(),n=t==="loading"?r.spinner:r.icon;return(0,fk.jsx)(Y.span,{display:"inherit","data-status":t,...e,className:xe("chakra-alert__icon",e.className),__css:n,children:e.children||(0,fk.jsx)(o,{h:"100%",w:"100%"})})}pt.displayName="AlertIcon";var hW=k(re(),1);var dk=le(function(t,o){let r=jp(),{status:n}=Zp();return(0,hW.jsx)(Y.div,{ref:o,"data-status":n,...t,className:xe("chakra-alert__title",t.className),__css:r.title})});dk.displayName="AlertTitle";var gW=k(re(),1);var ht=le(function(t,o){let{status:r}=Zp(),n=jp(),a={display:"inline",...n.description};return(0,gW.jsx)(Y.div,{ref:o,"data-status":r,...t,className:xe("chakra-alert__desc",t.className),__css:a})});ht.displayName="AlertDescription";var v1=k(re(),1);function Wue(e){return(0,v1.jsx)(Ua,{focusable:"false","aria-hidden":!0,...e,children:(0,v1.jsx)("path",{fill:"currentColor",d:"M.439,21.44a1.5,1.5,0,0,0,2.122,2.121L11.823,14.3a.25.25,0,0,1,.354,0l9.262,9.263a1.5,1.5,0,1,0,2.122-2.121L14.3,12.177a.25.25,0,0,1,0-.354l9.263-9.262A1.5,1.5,0,0,0,21.439.44L12.177,9.7a.25.25,0,0,1-.354,0L2.561.44A1.5,1.5,0,0,0,.439,2.561L9.7,11.823a.25.25,0,0,1,0,.354Z"})})}var C1=le(function(t,o){let r=mo("CloseButton",t),{children:n,isDisabled:a,__css:s,...i}=qe(t),l={outline:0,display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0};return(0,v1.jsx)(Y.button,{type:"button","aria-label":"Close",ref:o,disabled:a,__css:{...l,...r,...s},...i,children:n||(0,v1.jsx)(Wue,{width:"1em",height:"1em"})})});C1.displayName="CloseButton";var Uue=e=>{let{status:t,variant:o="solid",id:r,title:n,isClosable:a,onClose:s,description:i,colorScheme:l,icon:c}=e,u=r?{root:`toast-${r}`,title:`toast-${r}-title`,description:`toast-${r}-description`}:void 0;return(0,Hl.jsxs)(dt,{addRole:!1,status:t,variant:o,id:u?.root,alignItems:"start",borderRadius:"md",boxShadow:"lg",paddingEnd:8,textAlign:"start",width:"auto",colorScheme:l,children:[(0,Hl.jsx)(pt,{children:c}),(0,Hl.jsxs)(Y.div,{flex:"1",maxWidth:"100%",children:[n&&(0,Hl.jsx)(dk,{id:u?.title,children:n}),i&&(0,Hl.jsx)(ht,{id:u?.description,display:"block",children:i})]}),a&&(0,Hl.jsx)(C1,{size:"sm",onClick:s,position:"absolute",insetEnd:1,top:1})]})};function MI(e={}){let{render:t,toastComponent:o=Uue}=e;return n=>typeof t=="function"?t({...n,...e}):(0,Hl.jsx)(o,{...n,...e})}var Zue={top:[],"top-left":[],"top-right":[],"bottom-left":[],bottom:[],"bottom-right":[]},gs=jue(Zue);function jue(e){let t=e,o=new Set,r=n=>{t=n(t),o.forEach(a=>a())};return{getState:()=>t,subscribe:n=>(o.add(n),()=>{r(()=>e),o.delete(n)}),removeToast:(n,a)=>{r(s=>({...s,[a]:s[a].filter(i=>i.id!=n)}))},notify:(n,a)=>{let s=Gue(n,a),{position:i,id:l}=s;return r(c=>{let m=i.includes("top")?[s,...c[i]??[]]:[...c[i]??[],s];return{...c,[i]:m}}),l},update:(n,a)=>{n&&r(s=>{let i={...s},{position:l,index:c}=ak(i,n);return l&&c!==-1&&(i[l][c]={...i[l][c],...a,message:MI(a)}),i})},closeAll:({positions:n}={})=>{r(a=>(n??["bottom","bottom-right","bottom-left","top","top-left","top-right"]).reduce((l,c)=>(l[c]=a[c].map(u=>({...u,requestClose:!0})),l),{...a}))},close:n=>{r(a=>{let s=sk(a,n);return s?{...a,[s]:a[s].map(i=>i.id==n?{...i,requestClose:!0}:i)}:a})},isActive:n=>!!ak(gs.getState(),n).position}}var bW=0;function Gue(e,t={}){bW+=1;let o=t.id??bW,r=t.position??"bottom";return{id:o,message:e,position:r,duration:t.duration,onCloseComplete:t.onCloseComplete,onRequestRemove:()=>gs.removeToast(String(o),r),status:t.status,requestClose:!1,containerStyle:t.containerStyle}}var cu=k(re(),1);var Ei=k(F(),1),pk=k(Pv(),1);var[yW,$ue]=$e({strict:!1,name:"PortalContext"}),hk="chakra-portal",que=".chakra-portal",Xue=e=>(0,cu.jsx)("div",{className:"chakra-portal-zIndex",style:{position:"absolute",zIndex:e.zIndex,top:0,left:0,right:0},children:e.children}),Yue=e=>{let{appendToParentPortal:t,children:o}=e,[r,n]=(0,Ei.useState)(null),a=(0,Ei.useRef)(null),[,s]=(0,Ei.useState)({});(0,Ei.useEffect)(()=>s({}),[]);let i=$ue(),l=wO();fs(()=>{if(!r)return;let u=r.ownerDocument,m=t?i??u.body:u.body;if(!m)return;a.current=u.createElement("div"),a.current.className=hk,m.appendChild(a.current),s({});let f=a.current;return()=>{m.contains(f)&&m.removeChild(f)}},[r]);let c=l?.zIndex?(0,cu.jsx)(Xue,{zIndex:l?.zIndex,children:o}):o;return a.current?(0,pk.createPortal)((0,cu.jsx)(yW,{value:a.current,children:c}),a.current):(0,cu.jsx)("span",{ref:u=>{u&&n(u)}})},Kue=e=>{let{children:t,containerRef:o,appendToParentPortal:r}=e,n=o.current,a=n??(typeof window<"u"?document.body:void 0),s=(0,Ei.useMemo)(()=>{let l=n?.ownerDocument.createElement("div");return l&&(l.className=hk),l},[n]),[,i]=(0,Ei.useState)({});return fs(()=>i({}),[]),fs(()=>{if(!(!s||!a))return a.appendChild(s),()=>{a.removeChild(s)}},[s,a]),a&&s?(0,pk.createPortal)((0,cu.jsx)(yW,{value:r?s:null,children:t}),s):null};function Ol(e){let t={appendToParentPortal:!0,...e},{containerRef:o,...r}=t;return o?(0,cu.jsx)(Kue,{containerRef:o,...r}):(0,cu.jsx)(Yue,{...r})}Ol.className=hk;Ol.selector=que;Ol.displayName="Portal";var[xW,IW]=$e({name:"ToastOptionsContext",strict:!1}),vW=e=>{let t=(0,SW.useSyncExternalStore)(gs.subscribe,gs.getState,gs.getState),{motionVariants:o,component:r=lk,portalProps:n,animatePresenceProps:a}=e,i=Object.keys(t).map(l=>{let c=t[l];return(0,w1.jsx)("div",{role:"region","aria-live":"polite","aria-label":`Notifications-${l}`,id:`chakra-toast-manager-${l}`,style:Yz(l),children:(0,w1.jsx)(Gs,{...a,initial:!1,children:c.map(u=>(0,w1.jsx)(r,{motionVariants:o,...u},u.id))})},l)});return(0,w1.jsx)(Ol,{...n,children:i})};var CW=e=>function({children:o,theme:r=e,toastOptions:n,...a}){return(0,T1.jsxs)(AO,{theme:r,...a,children:[(0,T1.jsx)(xW,{value:n?.defaultOptions,children:o}),(0,T1.jsx)(vW,{...n})]})};var gk=CW(TS);var A1=k(F(),1);var LI=k(F(),1);function bk(e){return e.sort((t,o)=>{let r=t.compareDocumentPosition(o);if(r&Node.DOCUMENT_POSITION_FOLLOWING||r&Node.DOCUMENT_POSITION_CONTAINED_BY)return-1;if(r&Node.DOCUMENT_POSITION_PRECEDING||r&Node.DOCUMENT_POSITION_CONTAINS)return 1;if(r&Node.DOCUMENT_POSITION_DISCONNECTED||r&Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC)throw Error("Cannot sort the given nodes.");return 0})}var wW=e=>typeof e=="object"&&"nodeType"in e&&e.nodeType===Node.ELEMENT_NODE;function yk(e,t,o){let r=e+1;return o&&r>=t&&(r=0),r}function Sk(e,t,o){let r=e-1;return o&&r<0&&(r=t),r}var PI=typeof window<"u"?LI.useLayoutEffect:LI.useEffect,xk=e=>e;var Que=Object.defineProperty,Jue=(e,t,o)=>t in e?Que(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o,Ao=(e,t,o)=>(Jue(e,typeof t!="symbol"?t+"":t,o),o),EI=class{constructor(){Ao(this,"descendants",new Map),Ao(this,"register",t=>{if(t!=null)return wW(t)?this.registerNode(t):o=>{this.registerNode(o,t)}}),Ao(this,"unregister",t=>{this.descendants.delete(t);let o=bk(Array.from(this.descendants.keys()));this.assignIndex(o)}),Ao(this,"destroy",()=>{this.descendants.clear()}),Ao(this,"assignIndex",t=>{this.descendants.forEach(o=>{let r=t.indexOf(o.node);o.index=r,o.node.dataset.index=o.index.toString()})}),Ao(this,"count",()=>this.descendants.size),Ao(this,"enabledCount",()=>this.enabledValues().length),Ao(this,"values",()=>Array.from(this.descendants.values()).sort((o,r)=>o.index-r.index)),Ao(this,"enabledValues",()=>this.values().filter(t=>!t.disabled)),Ao(this,"item",t=>{if(this.count()!==0)return this.values()[t]}),Ao(this,"enabledItem",t=>{if(this.enabledCount()!==0)return this.enabledValues()[t]}),Ao(this,"first",()=>this.item(0)),Ao(this,"firstEnabled",()=>this.enabledItem(0)),Ao(this,"last",()=>this.item(this.descendants.size-1)),Ao(this,"lastEnabled",()=>{let t=this.enabledValues().length-1;return this.enabledItem(t)}),Ao(this,"indexOf",t=>t?this.descendants.get(t)?.index??-1:-1),Ao(this,"enabledIndexOf",t=>t==null?-1:this.enabledValues().findIndex(o=>o.node.isSameNode(t))),Ao(this,"next",(t,o=!0)=>{let r=yk(t,this.count(),o);return this.item(r)}),Ao(this,"nextEnabled",(t,o=!0)=>{let r=this.item(t);if(!r)return;let n=this.enabledIndexOf(r.node),a=yk(n,this.enabledCount(),o);return this.enabledItem(a)}),Ao(this,"prev",(t,o=!0)=>{let r=Sk(t,this.count()-1,o);return this.item(r)}),Ao(this,"prevEnabled",(t,o=!0)=>{let r=this.item(t);if(!r)return;let n=this.enabledIndexOf(r.node),a=Sk(n,this.enabledCount()-1,o);return this.enabledItem(a)}),Ao(this,"registerNode",(t,o)=>{if(!t||this.descendants.has(t))return;let r=Array.from(this.descendants.keys()).concat(t),n=bk(r);o?.disabled&&(o.disabled=!!o.disabled);let a={node:t,index:-1,...o};this.descendants.set(t,a),this.assignIndex(n)})}};function TW(){let[e,t]=$e({name:"DescendantsProvider",errorMessage:"useDescendantsContext must be used within DescendantsProvider"});return[e,t,()=>{let n=(0,A1.useRef)(new EI);return PI(()=>()=>n.current.destroy()),n.current},n=>{let a=t(),[s,i]=(0,A1.useState)(-1),l=(0,A1.useRef)(null);PI(()=>()=>{l.current&&a.unregister(l.current)},[]),PI(()=>{if(!l.current)return;let u=Number(l.current.dataset.index);s!=u&&!Number.isNaN(u)&&i(u)});let c=n?xk(a.register(n)):xk(a.register);return{descendants:a,index:s,enabledIndex:a.enabledIndexOf(l.current),register:uo(c,l)}}]}var BI={ease:[.25,.1,.25,1],easeIn:[.4,0,1,1],easeOut:[0,0,.2,1],easeInOut:[.4,0,.2,1]},k1={scale:{enter:{scale:1},exit:{scale:.95}},fade:{enter:{opacity:1},exit:{opacity:0}},pushLeft:{enter:{x:"100%"},exit:{x:"-30%"}},pushRight:{enter:{x:"-100%"},exit:{x:"30%"}},pushUp:{enter:{y:"100%"},exit:{y:"-30%"}},pushDown:{enter:{y:"-100%"},exit:{y:"30%"}},slideLeft:{position:{left:0,top:0,bottom:0,width:"100%"},enter:{x:0,y:0},exit:{x:"-100%",y:0}},slideRight:{position:{right:0,top:0,bottom:0,width:"100%"},enter:{x:0,y:0},exit:{x:"100%",y:0}},slideUp:{position:{top:0,left:0,right:0,maxWidth:"100vw"},enter:{x:0,y:0},exit:{x:0,y:"-100%"}},slideDown:{position:{bottom:0,left:0,right:0,maxWidth:"100vw"},enter:{x:0,y:0},exit:{x:0,y:"100%"}}};function DI(e){switch(e?.direction??"right"){case"right":return k1.slideRight;case"left":return k1.slideLeft;case"bottom":return k1.slideDown;case"top":return k1.slideUp;default:return k1.slideRight}}var Ik={enter:{duration:.2,ease:BI.easeOut},exit:{duration:.1,ease:BI.easeIn}},Gp={enter:(e,t)=>({...e,delay:typeof t=="number"?t:t?.enter}),exit:(e,t)=>({...e,delay:typeof t=="number"?t:t?.exit})};var $p=k(re(),1);var BW=k(F(),1);var[AW,kW]=$e({name:"AvatarStylesContext",hookName:"useAvatarStyles",providerName:"<Avatar/>"});var _I=k(re(),1),EW=k(F(),1);var MW=k(re(),1);function LW(e){let t=e.trim().split(" "),o=t[0]??"",r=t.length>1?t[t.length-1]:"";return o&&r?`${o.charAt(0)}${r.charAt(0)}`:o.charAt(0)}function vk(e){let{name:t,getInitials:o,...r}=e,n=kW();return(0,MW.jsx)(Y.div,{role:"img","aria-label":t,...r,__css:n.label,children:t?o?.(t):null})}vk.displayName="AvatarName";var M1=k(re(),1);var RI=e=>(0,M1.jsxs)(Y.svg,{viewBox:"0 0 128 128",color:"#fff",width:"100%",height:"100%",className:"chakra-avatar__svg",...e,children:[(0,M1.jsx)("path",{fill:"currentColor",d:"M103,102.1388 C93.094,111.92 79.3504,118 64.1638,118 C48.8056,118 34.9294,111.768 25,101.7892 L25,95.2 C25,86.8096 31.981,80 40.6,80 L87.4,80 C96.019,80 103,86.8096 103,95.2 L103,102.1388 Z"}),(0,M1.jsx)("path",{fill:"currentColor",d:"M63.9961647,24 C51.2938136,24 41,34.2938136 41,46.9961647 C41,59.7061864 51.2938136,70 63.9961647,70 C76.6985159,70 87,59.7061864 87,46.9961647 C87,34.2938136 76.6985159,24 63.9961647,24"})]});var uu=k(F(),1);function PW(e){let{loading:t,src:o,srcSet:r,onLoad:n,onError:a,crossOrigin:s,sizes:i,ignoreFallback:l}=e,[c,u]=(0,uu.useState)("pending");(0,uu.useEffect)(()=>{u(o?"loading":"pending")},[o]);let m=(0,uu.useRef)(null),f=(0,uu.useCallback)(()=>{if(!o)return;d();let p=new Image;p.src=o,s&&(p.crossOrigin=s),r&&(p.srcset=r),i&&(p.sizes=i),t&&(p.loading=t),p.onload=h=>{d(),u("loaded"),n?.(h)},p.onerror=h=>{d(),u("failed"),a?.(h)},m.current=p},[o,s,r,i,n,a,t]),d=()=>{m.current&&(m.current.onload=null,m.current.onerror=null,m.current=null)};return fs(()=>{if(!l)return c==="loading"&&f(),()=>{d()}},[c,f,l]),l?"loaded":c}function Ck(e){let{src:t,srcSet:o,onError:r,onLoad:n,getInitials:a,name:s,borderRadius:i,loading:l,iconLabel:c,icon:u=(0,_I.jsx)(RI,{}),ignoreFallback:m,referrerPolicy:f,crossOrigin:d}=e,h=PW({src:t,onError:r,crossOrigin:d,ignoreFallback:m})==="loaded";return!t||!h?s?(0,_I.jsx)(vk,{className:"chakra-avatar__initials",getInitials:a,name:s}):(0,EW.cloneElement)(u,{role:"img","aria-label":c}):(0,_I.jsx)(Y.img,{src:t,srcSet:o,alt:s??c,onLoad:n,referrerPolicy:f,crossOrigin:d??void 0,className:"chakra-avatar__img",loading:l,__css:{width:"100%",height:"100%",objectFit:"cover",borderRadius:i}})}Ck.displayName="AvatarImage";var eme={display:"inline-flex",alignItems:"center",justifyContent:"center",textAlign:"center",textTransform:"uppercase",fontWeight:"medium",position:"relative",flexShrink:0},qp=le((e,t)=>{let o=To("Avatar",e),[r,n]=(0,BW.useState)(!1),{src:a,srcSet:s,name:i,showBorder:l,borderRadius:c="full",onError:u,onLoad:m,getInitials:f=LW,icon:d=(0,$p.jsx)(RI,{}),iconLabel:p=" avatar",loading:h,children:S,borderColor:g,ignoreFallback:b,crossOrigin:I,referrerPolicy:v,...C}=qe(e),T={borderRadius:c,borderWidth:l?"2px":void 0,...eme,...o.container};return g&&(T.borderColor=g),(0,$p.jsx)(Y.span,{ref:t,...C,className:xe("chakra-avatar",e.className),"data-loaded":Le(r),__css:T,children:(0,$p.jsxs)(AW,{value:o,children:[(0,$p.jsx)(Ck,{src:a,srcSet:s,loading:h,onLoad:ze(m,()=>{n(!0)}),onError:u,getInitials:f,name:i,borderRadius:c,icon:d,iconLabel:p,ignoreFallback:b,crossOrigin:I,referrerPolicy:v}),S]})})});qp.displayName="Avatar";var DW=k(re(),1);var $=le(function(t,o){let r=mo("Badge",t),{className:n,...a}=qe(t);return(0,DW.jsx)(Y.span,{ref:o,className:xe("chakra-badge",t.className),...a,__css:{display:"inline-block",whiteSpace:"nowrap",verticalAlign:"middle",...r}})});$.displayName="Badge";var P=Y("div");P.displayName="Box";var Pn=k(re(),1);var VW=k(F(),1);var[qVe,RW]=$e({strict:!1,name:"ButtonGroupContext"});var _W=k(re(),1);var FI=k(F(),1);function Xp(e){let{children:t,className:o,...r}=e,n=(0,FI.isValidElement)(t)?(0,FI.cloneElement)(t,{"aria-hidden":!0,focusable:!1}):t,a=xe("chakra-button__icon",o);return(0,_W.jsx)(Y.span,{display:"inline-flex",alignSelf:"center",flexShrink:0,...r,className:a,children:n})}Xp.displayName="ButtonIcon";var wk=k(re(),1);var FW=k(F(),1);function HI(e){let{label:t,placement:o,spacing:r="0.5rem",children:n=(0,wk.jsx)(lu,{color:"currentColor",width:"1em",height:"1em"}),className:a,__css:s,...i}=e,l=xe("chakra-button__spinner",a),c=o==="start"?"marginEnd":"marginStart",u=(0,FW.useMemo)(()=>({display:"flex",alignItems:"center",position:t?"relative":"absolute",[c]:t?r:0,fontSize:"1em",lineHeight:"normal",...s}),[s,t,c,r]);return(0,wk.jsx)(Y.div,{className:l,...i,__css:u,children:n})}HI.displayName="ButtonSpinner";var OI=k(F(),1);function HW(e){let[t,o]=(0,OI.useState)(!e);return{ref:(0,OI.useCallback)(a=>{a&&o(a.tagName==="BUTTON")},[]),type:t?"button":void 0}}var gt=le((e,t)=>{let o=RW(),r=mo("Button",{...o,...e}),{isDisabled:n=o?.isDisabled,isLoading:a,isActive:s,children:i,leftIcon:l,rightIcon:c,loadingText:u,iconSpacing:m="0.5rem",type:f,spinner:d,spinnerPlacement:p="start",className:h,as:S,shouldWrapChildren:g,...b}=qe(e),I=(0,VW.useMemo)(()=>{let w={...r?._focus,zIndex:1};return{display:"inline-flex",appearance:"none",alignItems:"center",justifyContent:"center",userSelect:"none",position:"relative",whiteSpace:"nowrap",verticalAlign:"middle",outline:"none",...r,...!!o&&{_focus:w}}},[r,o]),{ref:v,type:C}=HW(S),T={rightIcon:c,leftIcon:l,iconSpacing:m,children:i,shouldWrapChildren:g};return(0,Pn.jsxs)(Y.button,{disabled:n||a,ref:T3(t,v),as:S,type:f??C,"data-active":Le(s),"data-loading":Le(a),__css:I,className:xe("chakra-button",h),...b,children:[a&&p==="start"&&(0,Pn.jsx)(HI,{className:"chakra-button__spinner--start",label:u,placement:"start",spacing:m,children:d}),a?u||(0,Pn.jsx)(Y.span,{opacity:0,children:(0,Pn.jsx)(OW,{...T})}):(0,Pn.jsx)(OW,{...T}),a&&p==="end"&&(0,Pn.jsx)(HI,{className:"chakra-button__spinner--end",label:u,placement:"end",spacing:m,children:d})]})});gt.displayName="Button";function OW(e){let{leftIcon:t,rightIcon:o,children:r,iconSpacing:n,shouldWrapChildren:a}=e;return a?(0,Pn.jsxs)("span",{style:{display:"contents"},children:[t&&(0,Pn.jsx)(Xp,{marginEnd:n,children:t}),r,o&&(0,Pn.jsx)(Xp,{marginStart:n,children:o})]}):(0,Pn.jsxs)(Pn.Fragment,{children:[t&&(0,Pn.jsx)(Xp,{marginEnd:n,children:t}),r,o&&(0,Pn.jsx)(Xp,{marginStart:n,children:o})]})}var Om=k(re(),1);var WI=k(F(),1);var[gNe,NW]=$e({name:"CheckboxGroupContext",strict:!1});var Fm=k(re(),1);function tme(e){return(0,Fm.jsx)(Y.svg,{width:"1.2em",viewBox:"0 0 12 10",style:{fill:"none",strokeWidth:2,stroke:"currentColor",strokeDasharray:16},...e,children:(0,Fm.jsx)("polyline",{points:"1.5 6 4.5 9 10.5 1"})})}function ome(e){return(0,Fm.jsx)(Y.svg,{width:"1.2em",viewBox:"0 0 24 24",style:{stroke:"currentColor",strokeWidth:4},...e,children:(0,Fm.jsx)("line",{x1:"21",x2:"3",y1:"12",y2:"12"})})}function zW(e){let{isIndeterminate:t,isChecked:o,...r}=e,n=t?ome:tme;return o||t?(0,Fm.jsx)(Y.div,{style:{display:"flex",alignItems:"center",justifyContent:"center",height:"100%"},children:(0,Fm.jsx)(n,{...r})}):null}var WW=()=>typeof document<"u";var UW=!1,L1=null,Hm=!1,Tk=!1,Ak=new Set;function kk(e,t){Ak.forEach(o=>o(e,t))}var rme=typeof window<"u"&&window.navigator!=null?/^Mac/.test(window.navigator.platform):!1;function nme(e){return!(e.metaKey||!rme&&e.altKey||e.ctrlKey||e.key==="Control"||e.key==="Shift"||e.key==="Meta")}function ZW(e){Hm=!0,nme(e)&&(L1="keyboard",kk("keyboard",e))}function Yp(e){if(L1="pointer",e.type==="mousedown"||e.type==="pointerdown"){Hm=!0;let t=e.composedPath?e.composedPath()[0]:e.target,o=!1;try{o=t.matches(":focus-visible")}catch{}if(o)return;kk("pointer",e)}}function ame(e){return e.mozInputSource===0&&e.isTrusted?!0:e.detail===0&&!e.pointerType}function sme(e){ame(e)&&(Hm=!0,L1="virtual")}function ime(e){e.target===window||e.target===document||e.target instanceof Element&&e.target.hasAttribute("tabindex")||(!Hm&&!Tk&&(L1="virtual",kk("virtual",e)),Hm=!1,Tk=!1)}function lme(){Hm=!1,Tk=!0}function jW(){return L1!=="pointer"}function cme(){if(!WW()||UW)return;let{focus:e}=HTMLElement.prototype;HTMLElement.prototype.focus=function(...o){Hm=!0,e.apply(this,o)},document.addEventListener("keydown",ZW,!0),document.addEventListener("keyup",ZW,!0),document.addEventListener("click",sme,!0),window.addEventListener("focus",ime,!0),window.addEventListener("blur",lme,!1),typeof PointerEvent<"u"?(document.addEventListener("pointerdown",Yp,!0),document.addEventListener("pointermove",Yp,!0),document.addEventListener("pointerup",Yp,!0)):(document.addEventListener("mousedown",Yp,!0),document.addEventListener("mousemove",Yp,!0),document.addEventListener("mouseup",Yp,!0)),UW=!0}function VI(e){cme(),e(jW());let t=()=>e(jW());return Ak.add(t),()=>{Ak.delete(t)}}var _r=k(F(),1);var P1=k(re(),1);var bs=k(F(),1);var[ume,NI]=$e({name:"FormControlStylesContext",errorMessage:`useFormControlStyles returned is 'undefined'. Seems you forgot to wrap the components in "<FormControl />" `}),[mme,Vl]=$e({strict:!1,name:"FormControlContext"});function fme(e){let{id:t,isRequired:o,isInvalid:r,isDisabled:n,isReadOnly:a,...s}=e,i=(0,bs.useId)(),l=t||`field-${i}`,c=`${l}-label`,u=`${l}-feedback`,m=`${l}-helptext`,[f,d]=(0,bs.useState)(!1),[p,h]=(0,bs.useState)(!1),[S,g]=(0,bs.useState)(!1),b=(0,bs.useCallback)((w={},E=null)=>({id:m,...w,ref:uo(E,B=>{B&&h(!0)})}),[m]),I=(0,bs.useCallback)((w={},E=null)=>({...w,ref:E,"data-focus":Le(S),"data-disabled":Le(n),"data-invalid":Le(r),"data-readonly":Le(a),id:w.id!==void 0?w.id:c,htmlFor:w.htmlFor!==void 0?w.htmlFor:l}),[l,n,S,r,a,c]),v=(0,bs.useCallback)((w={},E=null)=>({id:u,...w,ref:uo(E,B=>{B&&d(!0)}),"aria-live":"polite"}),[u]),C=(0,bs.useCallback)((w={},E=null)=>({...w,...s,ref:E,role:"group","data-focus":Le(S),"data-disabled":Le(n),"data-invalid":Le(r),"data-readonly":Le(a)}),[s,n,S,r,a]),T=(0,bs.useCallback)((w={},E=null)=>({...w,ref:E,role:"presentation","aria-hidden":!0,children:w.children||"*"}),[]);return{isRequired:!!o,isInvalid:!!r,isReadOnly:!!a,isDisabled:!!n,isFocused:!!S,onFocus:()=>g(!0),onBlur:()=>g(!1),hasFeedbackText:f,setHasFeedbackText:d,hasHelpText:p,setHasHelpText:h,id:l,labelId:c,feedbackId:u,helpTextId:m,htmlProps:s,getHelpTextProps:b,getErrorMessageProps:v,getRootProps:C,getLabelProps:I,getRequiredIndicatorProps:T}}var Kp=le(function(t,o){let r=To("Form",t),n=qe(t),{getRootProps:a,htmlProps:s,...i}=fme(n),l=xe("chakra-form-control",t.className);return(0,P1.jsx)(mme,{value:i,children:(0,P1.jsx)(ume,{value:r,children:(0,P1.jsx)(Y.div,{...a({},o),className:l,__css:r.container})})})});Kp.displayName="FormControl";var GW=le(function(t,o){let r=Vl(),n=NI(),a=xe("chakra-form__helper-text",t.className);return(0,P1.jsx)(Y.div,{...r?.getHelpTextProps(t,o),__css:n.helperText,className:a})});GW.displayName="FormHelperText";function $W(e){let{isDisabled:t,isInvalid:o,isReadOnly:r,isRequired:n,...a}=Mk(e);return{...a,disabled:t,readOnly:r,required:n,"aria-invalid":dl(o),"aria-required":dl(n),"aria-readonly":dl(r)}}function Mk(e){let t=Vl(),{id:o,disabled:r,readOnly:n,required:a,isRequired:s,isInvalid:i,isReadOnly:l,isDisabled:c,onFocus:u,onBlur:m,...f}=e,d=e["aria-describedby"]?[e["aria-describedby"]]:[];return t?.hasFeedbackText&&t?.isInvalid&&d.push(t.feedbackId),t?.hasHelpText&&d.push(t.helpTextId),{...f,"aria-describedby":d.join(" ")||void 0,id:o??t?.id,isDisabled:r??c??t?.isDisabled,isReadOnly:n??l??t?.isReadOnly,isRequired:a??s??t?.isRequired,isInvalid:i??t?.isInvalid,onFocus:ze(t?.onFocus,u),onBlur:ze(t?.onBlur,m)}}var zI={border:"0",clip:"rect(0, 0, 0, 0)",height:"1px",width:"1px",margin:"-1px",padding:"0",overflow:"hidden",whiteSpace:"nowrap",position:"absolute"};function qW(e={}){let t=Mk(e),{isDisabled:o,isReadOnly:r,isRequired:n,isInvalid:a,id:s,onBlur:i,onFocus:l,"aria-describedby":c}=t,{defaultChecked:u,isChecked:m,isFocusable:f,onChange:d,isIndeterminate:p,name:h,value:S,tabIndex:g=void 0,"aria-label":b,"aria-labelledby":I,"aria-invalid":v,...C}=e,T=pl(C,["isDisabled","isReadOnly","isRequired","isInvalid","id","onBlur","onFocus","aria-describedby"]),w=Mn(d),E=Mn(i),B=Mn(l),[L,_]=(0,_r.useState)(!1),[j,ne]=(0,_r.useState)(!1),[K,ie]=(0,_r.useState)(!1),se=(0,_r.useRef)(!1);(0,_r.useEffect)(()=>VI(me=>{se.current=me}),[]);let W=(0,_r.useRef)(null),[de,q]=(0,_r.useState)(!0),[fe,he]=(0,_r.useState)(!!u),ge=m!==void 0,J=ge?m:fe,X=(0,_r.useCallback)(me=>{if(r||o){me.preventDefault();return}ge||he(J?me.currentTarget.checked:p?!0:me.currentTarget.checked),w?.(me)},[r,o,J,ge,p,w]);fs(()=>{W.current&&(W.current.indeterminate=!!p)},[p]),kd(()=>{o&&_(!1)},[o,_]),fs(()=>{let me=W.current;if(!me?.form)return;let ke=()=>{he(!!u)};return me.form.addEventListener("reset",ke),()=>me.form?.removeEventListener("reset",ke)},[]);let ee=o&&!f,pe=(0,_r.useCallback)(me=>{me.key===" "&&ie(!0)},[ie]),H=(0,_r.useCallback)(me=>{me.key===" "&&ie(!1)},[ie]);fs(()=>{if(!W.current)return;W.current.checked!==J&&he(W.current.checked)},[W.current]);let ce=(0,_r.useCallback)((me={},ke=null)=>{let Ae=Be=>{L&&Be.preventDefault(),ie(!0)};return{...me,ref:ke,"data-active":Le(K),"data-hover":Le(j),"data-checked":Le(J),"data-focus":Le(L),"data-focus-visible":Le(L&&se.current),"data-indeterminate":Le(p),"data-disabled":Le(o),"data-invalid":Le(a),"data-readonly":Le(r),"aria-hidden":!0,onMouseDown:ze(me.onMouseDown,Ae),onMouseUp:ze(me.onMouseUp,()=>ie(!1)),onMouseEnter:ze(me.onMouseEnter,()=>ne(!0)),onMouseLeave:ze(me.onMouseLeave,()=>ne(!1))}},[K,J,o,L,j,p,a,r]),we=(0,_r.useCallback)((me={},ke=null)=>({...me,ref:ke,"data-active":Le(K),"data-hover":Le(j),"data-checked":Le(J),"data-focus":Le(L),"data-focus-visible":Le(L&&se.current),"data-indeterminate":Le(p),"data-disabled":Le(o),"data-invalid":Le(a),"data-readonly":Le(r)}),[K,J,o,L,j,p,a,r]),ue=(0,_r.useCallback)((me={},ke=null)=>({...T,...me,ref:uo(ke,Ae=>{Ae&&q(Ae.tagName==="LABEL")}),onClick:ze(me.onClick,()=>{de||(W.current?.click(),requestAnimationFrame(()=>{W.current?.focus({preventScroll:!0})}))}),"data-disabled":Le(o),"data-checked":Le(J),"data-invalid":Le(a)}),[T,o,J,a,de]),Ce=(0,_r.useCallback)((me={},ke=null)=>({...me,ref:uo(W,ke),type:"checkbox",name:h,value:S,id:s,tabIndex:g,onChange:ze(me.onChange,X),onBlur:ze(me.onBlur,E,()=>_(!1)),onFocus:ze(me.onFocus,B,()=>_(!0)),onKeyDown:ze(me.onKeyDown,pe),onKeyUp:ze(me.onKeyUp,H),required:n,checked:J,disabled:ee,readOnly:r,"aria-label":b,"aria-labelledby":I,"aria-invalid":v?!!v:a,"aria-describedby":c,"aria-disabled":o,"aria-checked":p?"mixed":J,style:zI}),[h,S,s,g,X,E,B,pe,H,n,J,ee,r,b,I,v,a,c,o,p]),ye=(0,_r.useCallback)((me={},ke=null)=>({...me,ref:ke,onMouseDown:ze(me.onMouseDown,dme),"data-disabled":Le(o),"data-checked":Le(J),"data-invalid":Le(a)}),[J,o,a]);return{state:{isInvalid:a,isFocused:L,isChecked:J,isActive:K,isHovered:j,isIndeterminate:p,isDisabled:o,isReadOnly:r,isRequired:n},getRootProps:ue,getCheckboxProps:ce,getIndicatorProps:we,getInputProps:Ce,getLabelProps:ye,htmlProps:T}}function dme(e){e.preventDefault(),e.stopPropagation()}var Lk=k(F(),1);function XW(e){let[t,o]=(0,Lk.useState)(e),[r,n]=(0,Lk.useState)(!1);return e!==t&&(n(!0),o(e)),r}var pme={display:"inline-flex",alignItems:"center",justifyContent:"center",verticalAlign:"top",userSelect:"none",flexShrink:0},hme={cursor:"pointer",display:"inline-flex",alignItems:"center",verticalAlign:"top",position:"relative"},gme=js({from:{opacity:0,strokeDashoffset:16,transform:"scale(0.95)"},to:{opacity:1,strokeDashoffset:0,transform:"scale(1)"}}),bme=js({from:{opacity:0},to:{opacity:1}}),yme=js({from:{transform:"scaleX(0.65)"},to:{transform:"scaleX(1)"}}),UI=le(function(t,o){let r=NW(),n={...r,...t},a=To("Checkbox",n),s=qe(t),{spacing:i="0.5rem",className:l,children:c,iconColor:u,iconSize:m,icon:f=(0,Om.jsx)(zW,{}),isChecked:d,isDisabled:p=r?.isDisabled,onChange:h,inputProps:S,...g}=s,b=d;r?.value&&s.value&&(b=r.value.includes(s.value));let I=h;r?.onChange&&s.value&&(I=pg(r.onChange,h));let{state:v,getInputProps:C,getCheckboxProps:T,getLabelProps:w,getRootProps:E}=qW({...g,isDisabled:p,isChecked:b,onChange:I}),B=XW(v.isChecked),L=(0,WI.useMemo)(()=>({animation:B?v.isIndeterminate?`${bme} 20ms linear, ${yme} 200ms linear`:`${gme} 200ms linear`:void 0,...a.icon,...sm({fontSize:m,color:u})}),[u,m,B,v.isIndeterminate,a.icon]),_=(0,WI.cloneElement)(f,{__css:L,isIndeterminate:v.isIndeterminate,isChecked:v.isChecked});return(0,Om.jsxs)(Y.label,{__css:{...hme,...a.container},className:xe("chakra-checkbox",l),...E(),children:[(0,Om.jsx)("input",{className:"chakra-checkbox__input",...C(S,o)}),(0,Om.jsx)(Y.span,{__css:{...pme,...a.control},className:"chakra-checkbox__control",...T(),children:_}),c&&(0,Om.jsx)(Y.span,{className:"chakra-checkbox__label",...w(),__css:{marginStart:i,...a.label},children:c})]})});UI.displayName="Checkbox";var YW=k(re(),1);var so=le(function(t,o){let{borderLeftWidth:r,borderBottomWidth:n,borderTopWidth:a,borderRightWidth:s,borderWidth:i,borderStyle:l,borderColor:c,...u}=mo("Divider",t),{className:m,orientation:f="horizontal",__css:d,...p}=qe(t),h={vertical:{borderLeftWidth:r||s||i||"1px",height:"100%"},horizontal:{borderBottomWidth:n||a||i||"1px",width:"100%"}};return(0,YW.jsx)(Y.hr,{ref:o,"aria-orientation":f,...p,__css:{...u,border:"0",borderColor:c,borderStyle:l,...h[f],...d},className:xe("chakra-divider",m)})});so.displayName="Divider";function E1(e){return typeof e=="function"}function Sme(...e){return t=>e.reduce((o,r)=>r(o),t)}var Pk=e=>function(...o){let r=[...o],n=o[o.length-1];return OT(n)&&r.length>1?r=r.slice(0,r.length-1):n=e,Sme(...r.map(a=>s=>E1(a)?a(s):KW(s,a)))(n)},Ek=Pk(TS),xme=Pk(bH);function KW(...e){return(0,Zr.default)({},...e,QW)}function QW(e,t,o,r){if((E1(e)||E1(t))&&Object.prototype.hasOwnProperty.call(r,o))return(...n)=>{let a=E1(e)?e(...n):e,s=E1(t)?t(...n):t;return(0,Zr.default)({},a,s,QW)};if(Et(e)&&dg(t)||dg(e)&&Et(t))return t}var JU=k(re(),1);function JW(e,t){if(e==null)return{};var o={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;o[r]=e[r]}return o}var l4=k(F());var Wt=k(F());var B1="data-focus-lock",ZI="data-focus-lock-disabled",eU="data-no-focus-lock",tU="data-autofocus-inside",oU="data-no-autofocus";function jI(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}var rU=k(F());function nU(e,t){var o=(0,rU.useState)(function(){return{value:e,callback:t,facade:{get current(){return o.value},set current(r){var n=o.value;n!==r&&(o.value=r,o.callback(r,n))}}}})[0];return o.callback=t,o.facade}var GI=k(F());var Ime=typeof window<"u"?GI.useLayoutEffect:GI.useEffect,aU=new WeakMap;function D1(e,t){var o=nU(t||null,function(r){return e.forEach(function(n){return jI(n,r)})});return Ime(function(){var r=aU.get(o);if(r){var n=new Set(r),a=new Set(e),s=o.current;n.forEach(function(i){a.has(i)||jI(i,null)}),a.forEach(function(i){n.has(i)||jI(i,s)})}aU.set(o,e)},[e]),o}var Qp=k(F());var Jp={width:"1px",height:"0px",padding:0,overflow:"hidden",position:"fixed",top:"1px",left:"1px"},vme=function(t){var o=t.children,r=o===void 0?null:o;return Qp.default.createElement(Qp.Fragment,null,Qp.default.createElement("div",{key:"guard-first","data-focus-guard":!0,"data-focus-auto-guard":!0,style:Jp}),r,r&&Qp.default.createElement("div",{key:"guard-last","data-focus-guard":!0,"data-focus-auto-guard":!0,style:Jp}))};vme.propTypes={};var ua=function(){return ua=Object.assign||function(t){for(var o,r=1,n=arguments.length;r<n;r++){o=arguments[r];for(var a in o)Object.prototype.hasOwnProperty.call(o,a)&&(t[a]=o[a])}return t},ua.apply(this,arguments)};function $I(e,t){var o={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(o[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var n=0,r=Object.getOwnPropertySymbols(e);n<r.length;n++)t.indexOf(r[n])<0&&Object.prototype.propertyIsEnumerable.call(e,r[n])&&(o[r[n]]=e[r[n]]);return o}function sU(e,t,o){if(o||arguments.length===2)for(var r=0,n=t.length,a;r<n;r++)(a||!(r in t))&&(a||(a=Array.prototype.slice.call(t,0,r)),a[r]=t[r]);return e.concat(a||Array.prototype.slice.call(t))}function iU(e){return e}function lU(e,t){t===void 0&&(t=iU);var o=[],r=!1,n={read:function(){if(r)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return o.length?o[o.length-1]:e},useMedium:function(a){var s=t(a,r);return o.push(s),function(){o=o.filter(function(i){return i!==s})}},assignSyncMedium:function(a){for(r=!0;o.length;){var s=o;o=[],s.forEach(a)}o={push:function(i){return a(i)},filter:function(){return o}}},assignMedium:function(a){r=!0;var s=[];if(o.length){var i=o;o=[],i.forEach(a),s=o}var l=function(){var u=s;s=[],u.forEach(a)},c=function(){return Promise.resolve().then(l)};c(),o={push:function(u){s.push(u),c()},filter:function(u){return s=s.filter(u),o}}}};return n}function R1(e,t){return t===void 0&&(t=iU),lU(e,t)}function _1(e){e===void 0&&(e={});var t=lU(null);return t.options=ua({async:!0,ssr:!1},e),t}var cU=k(F()),uU=function(e){var t=e.sideCar,o=$I(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var r=t.read();if(!r)throw new Error("Sidecar medium not found");return cU.createElement(r,ua({},o))};uU.isSideCarExport=!0;function Bk(e,t){return e.useMedium(t),uU}var qI=R1({},function(e){var t=e.target,o=e.currentTarget;return{target:t,currentTarget:o}}),XI=R1(),mU=R1(),fU=_1({async:!0,ssr:typeof document<"u"});var dU=k(F()),pU=(0,dU.createContext)(void 0);var Cme=[],hU=(0,Wt.forwardRef)(function(t,o){var r,n=(0,Wt.useState)(),a=n[0],s=n[1],i=(0,Wt.useRef)(),l=(0,Wt.useRef)(!1),c=(0,Wt.useRef)(null),u=(0,Wt.useState)({}),m=u[1],f=t.children,d=t.disabled,p=d===void 0?!1:d,h=t.noFocusGuards,S=h===void 0?!1:h,g=t.persistentFocus,b=g===void 0?!1:g,I=t.crossFrame,v=I===void 0?!0:I,C=t.autoFocus,T=C===void 0?!0:C,w=t.allowTextSelection,E=t.group,B=t.className,L=t.whiteList,_=t.hasPositiveIndices,j=t.shards,ne=j===void 0?Cme:j,K=t.as,ie=K===void 0?"div":K,se=t.lockProps,W=se===void 0?{}:se,de=t.sideCar,q=t.returnFocus,fe=q===void 0?!1:q,he=t.focusOptions,ge=t.onActivation,J=t.onDeactivation,X=(0,Wt.useState)({}),ee=X[0],pe=(0,Wt.useCallback)(function(Be){var xt=Be.captureFocusRestore;if(!c.current){var We,Fe=(We=document)==null?void 0:We.activeElement;c.current=Fe,Fe!==document.body&&(c.current=xt(Fe))}i.current&&ge&&ge(i.current),l.current=!0,m()},[ge]),H=(0,Wt.useCallback)(function(){l.current=!1,J&&J(i.current),m()},[J]),ce=(0,Wt.useCallback)(function(Be){var xt=c.current;if(xt){var We=(typeof xt=="function"?xt():xt)||document.body,Fe=typeof fe=="function"?fe(We):fe;if(Fe){var Qe=typeof Fe=="object"?Fe:void 0;c.current=null,Be?Promise.resolve().then(function(){return We.focus(Qe)}):We.focus(Qe)}}},[fe]),we=(0,Wt.useCallback)(function(Be){l.current&&qI.useMedium(Be)},[]),ue=XI.useMedium,Ce=(0,Wt.useCallback)(function(Be){i.current!==Be&&(i.current=Be,s(Be))},[]),ye=Zs((r={},r[ZI]=p&&"disabled",r[B1]=E,r),W),De=S!==!0,me=De&&S!=="tail",ke=D1([o,Ce]),Ae=(0,Wt.useMemo)(function(){return{observed:i,shards:ne,enabled:!p,get active(){return l.current}}},[p,l,ne,i]);return Wt.default.createElement(Wt.Fragment,null,De&&[Wt.default.createElement("div",{key:"guard-first","data-focus-guard":!0,tabIndex:p?-1:0,style:Jp}),_?Wt.default.createElement("div",{key:"guard-nearest","data-focus-guard":!0,tabIndex:p?-1:1,style:Jp}):null],!p&&Wt.default.createElement(de,{id:ee,sideCar:fU,observed:a,disabled:p,persistentFocus:b,crossFrame:v,autoFocus:T,whiteList:L,shards:ne,onActivation:pe,onDeactivation:H,returnFocus:ce,focusOptions:he,noFocusGuards:S}),Wt.default.createElement(ie,Zs({ref:ke},ye,{className:B,onBlur:ue,onFocus:we}),Wt.default.createElement(pU.Provider,{value:Ae},f)),me&&Wt.default.createElement("div",{"data-focus-guard":!0,tabIndex:p?-1:0,style:Jp}))});hU.propTypes={};var Dk=hU;var zU=k(F());function YI(e,t){return YI=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(o,r){return o.__proto__=r,o},YI(e,t)}function gU(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,YI(e,t)}function Vm(e){"@babel/helpers - typeof";return Vm=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Vm(e)}function bU(e,t){if(Vm(e)!="object"||!e)return e;var o=e[Symbol.toPrimitive];if(o!==void 0){var r=o.call(e,t||"default");if(Vm(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function yU(e){var t=bU(e,"string");return Vm(t)=="symbol"?t:t+""}function SU(e,t,o){return(t=yU(t))in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}var KI=k(F());function wme(e,t){function o(r){return r.displayName||r.name||"Component"}return function(n){var a=[],s;function i(){s=e(a.map(function(c){return c.props})),t(s)}var l=(function(c){gU(u,c);function u(){return c.apply(this,arguments)||this}u.peek=function(){return s};var m=u.prototype;return m.componentDidMount=function(){a.push(this),i()},m.componentDidUpdate=function(){i()},m.componentWillUnmount=function(){var d=a.indexOf(this);a.splice(d,1),i()},m.render=function(){return KI.default.createElement(n,this.props)},u})(KI.PureComponent);return SU(l,"displayName","SideEffect("+o(n)+")"),l}}var xU=wme;var En=function(e){for(var t=Array(e.length),o=0;o<e.length;++o)t[o]=e[o];return t},Xs=function(e){return Array.isArray(e)?e:[e]},QI=function(e){return Array.isArray(e)?e[0]:e};var Tme=function(e){if(e.nodeType!==Node.ELEMENT_NODE)return!1;var t=window.getComputedStyle(e,null);return!t||!t.getPropertyValue?!1:t.getPropertyValue("display")==="none"||t.getPropertyValue("visibility")==="hidden"},IU=function(e){return e.parentNode&&e.parentNode.nodeType===Node.DOCUMENT_FRAGMENT_NODE?e.parentNode.host:e.parentNode},vU=function(e){return e===document||e&&e.nodeType===Node.DOCUMENT_NODE},Ame=function(e){return e.hasAttribute("inert")},kme=function(e,t){return!e||vU(e)||!Tme(e)&&!Ame(e)&&t(IU(e))},Rk=function(e,t){var o=e.get(t);if(o!==void 0)return o;var r=kme(t,Rk.bind(void 0,e));return e.set(t,r),r},Mme=function(e,t){return e&&!vU(e)?Pme(e)?t(IU(e)):!1:!0},_k=function(e,t){var o=e.get(t);if(o!==void 0)return o;var r=Mme(t,_k.bind(void 0,e));return e.set(t,r),r},Fk=function(e){return e.dataset},Lme=function(e){return e.tagName==="BUTTON"},CU=function(e){return e.tagName==="INPUT"},Hk=function(e){return CU(e)&&e.type==="radio"},wU=function(e){return!((CU(e)||Lme(e))&&(e.type==="hidden"||e.disabled))},Pme=function(e){var t=e.getAttribute(oU);return![!0,"true",""].includes(t)},F1=function(e){var t;return!!(e&&(!((t=Fk(e))===null||t===void 0)&&t.focusGuard))},H1=function(e){return!F1(e)},TU=function(e){return!!e};var Eme=function(e,t){var o=Math.max(0,e.tabIndex),r=Math.max(0,t.tabIndex),n=o-r,a=e.index-t.index;if(n){if(!o)return 1;if(!r)return-1}return n||a},Bme=function(e){return e.tabIndex<0&&!e.hasAttribute("tabindex")?0:e.tabIndex},O1=function(e,t,o){return En(e).map(function(r,n){var a=Bme(r);return{node:r,index:n,tabIndex:o&&a===-1?(r.dataset||{}).focusGuard?0:-1:a}}).filter(function(r){return!t||r.tabIndex>=0}).sort(Eme)};var AU=["button:enabled","select:enabled","textarea:enabled","input:enabled","a[href]","area[href]","summary","iframe","object","embed","audio[controls]","video[controls]","[tabindex]","[contenteditable]","[autofocus]"];var Ok=AU.join(","),Dme="".concat(Ok,", [data-focus-guard]"),kU=function(e,t){return En((e.shadowRoot||e).children).reduce(function(o,r){return o.concat(r.matches(t?Dme:Ok)?[r]:[],kU(r))},[])},Rme=function(e,t){var o;return e instanceof HTMLIFrameElement&&(!((o=e.contentDocument)===null||o===void 0)&&o.body)?mu([e.contentDocument.body],t):[e]},mu=function(e,t){return e.reduce(function(o,r){var n,a=kU(r,t),s=(n=[]).concat.apply(n,a.map(function(i){return Rme(i,t)}));return o.concat(s,r.parentNode?En(r.parentNode.querySelectorAll(Ok)).filter(function(i){return i===r}):[])},[])},MU=function(e){var t=e.querySelectorAll("[".concat(tU,"]"));return En(t).map(function(o){return mu([o])}).reduce(function(o,r){return o.concat(r)},[])};var Vk=function(e,t){return En(e).filter(function(o){return Rk(t,o)}).filter(function(o){return wU(o)})},Nk=function(e,t){return t===void 0&&(t=new Map),En(e).filter(function(o){return _k(t,o)})},e0=function(e,t,o){return O1(Vk(mu(e,o),t),!0,o)},Nl=function(e,t){return O1(Vk(mu(e),t),!1)},LU=function(e,t){return Vk(MU(e),t)},Ys=function(e,t){return e.shadowRoot?Ys(e.shadowRoot,t):Object.getPrototypeOf(e).contains!==void 0&&Object.getPrototypeOf(e).contains.call(e,t)?!0:En(e.children).some(function(o){var r;if(o instanceof HTMLIFrameElement){var n=(r=o.contentDocument)===null||r===void 0?void 0:r.body;return n?Ys(n,t):!1}return Ys(o,t)})};var _me=function(e){for(var t=new Set,o=e.length,r=0;r<o;r+=1)for(var n=r+1;n<o;n+=1){var a=e[r].compareDocumentPosition(e[n]);(a&Node.DOCUMENT_POSITION_CONTAINED_BY)>0&&t.add(n),(a&Node.DOCUMENT_POSITION_CONTAINS)>0&&t.add(r)}return e.filter(function(s,i){return!t.has(i)})},PU=function(e){return e.parentNode?PU(e.parentNode):e},t0=function(e){var t=Xs(e);return t.filter(Boolean).reduce(function(o,r){var n=r.getAttribute(B1);return o.push.apply(o,n?_me(En(PU(r).querySelectorAll("[".concat(B1,'="').concat(n,'"]:not([').concat(ZI,'="disabled"])')))):[r]),o},[])};var EU=function(e){try{return e()}catch{return}};var fu=function(e){if(e===void 0&&(e=document),!(!e||!e.activeElement)){var t=e.activeElement;return t.shadowRoot?fu(t.shadowRoot):t instanceof HTMLIFrameElement&&EU(function(){return t.contentWindow.document})?fu(t.contentWindow.document):t}};var Fme=function(e,t){return e===t},Hme=function(e,t){return!!En(e.querySelectorAll("iframe")).some(function(o){return Fme(o,t)})},JI=function(e,t){return t===void 0&&(t=fu(QI(e).ownerDocument)),!t||t.dataset&&t.dataset.focusGuard?!1:t0(e).some(function(o){return Ys(o,t)||Hme(o,t)})};var zk=function(e){e===void 0&&(e=document);var t=fu(e);return t?En(e.querySelectorAll("[".concat(eU,"]"))).some(function(o){return Ys(o,t)}):!1};var Ome=function(e,t){return t.filter(Hk).filter(function(o){return o.name===e.name}).filter(function(o){return o.checked})[0]||e},e4=function(e,t){return Hk(e)&&e.name?Ome(e,t):e},BU=function(e){var t=new Set;return e.forEach(function(o){return t.add(e4(o,e))}),e.filter(function(o){return t.has(o)})};var Wk=function(e){return e[0]&&e.length>1?e4(e[0],e):e[0]},Uk=function(e,t){return e.indexOf(e4(t,e))};var t4="NEW_FOCUS",DU=function(e,t,o,r,n){var a=e.length,s=e[0],i=e[a-1],l=F1(r);if(!(r&&e.indexOf(r)>=0)){var c=r!==void 0?o.indexOf(r):-1,u=n?o.indexOf(n):c,m=n?e.indexOf(n):-1;if(c===-1)return m!==-1?m:t4;if(m===-1)return t4;var f=c-u,d=o.indexOf(s),p=o.indexOf(i),h=BU(o),S=r!==void 0?h.indexOf(r):-1,g=n?h.indexOf(n):S,b=h.filter(function(E){return E.tabIndex>=0}),I=r!==void 0?b.indexOf(r):-1,v=n?b.indexOf(n):I,C=I>=0&&v>=0?v-I:g-S;if(!f&&m>=0||t.length===0)return m;var T=Uk(e,t[0]),w=Uk(e,t[t.length-1]);if(c<=d&&l&&Math.abs(f)>1)return w;if(c>=p&&l&&Math.abs(f)>1)return T;if(f&&Math.abs(C)>1)return m;if(c<=d)return w;if(c>p)return T;if(f)return Math.abs(f)>1?m:(a+m+f)%a}};var Vme=function(e){return function(t){var o,r=(o=Fk(t))===null||o===void 0?void 0:o.autofocus;return t.autofocus||r!==void 0&&r!=="false"||e.indexOf(t)>=0}},Zk=function(e,t,o){var r=e.map(function(a){var s=a.node;return s}),n=Nk(r.filter(Vme(o)));return n&&n.length?Wk(n):Wk(Nk(t))};var Gk=function(e,t){return t===void 0&&(t=[]),t.push(e),e.parentNode&&Gk(e.parentNode.host||e.parentNode,t),t},jk=function(e,t){for(var o=Gk(e),r=Gk(t),n=0;n<o.length;n+=1){var a=o[n];if(r.indexOf(a)>=0)return a}return!1},o4=function(e,t,o){var r=Xs(e),n=Xs(t),a=r[0],s=!1;return n.filter(Boolean).forEach(function(i){s=jk(s||i,i)||s,o.filter(Boolean).forEach(function(l){var c=jk(a,l);c&&(!s||Ys(c,s)?s=c:s=jk(c,s))})}),s},$k=function(e,t){return e.reduce(function(o,r){return o.concat(LU(r,t))},[])};var Nme=function(e,t){var o=new Map;return t.forEach(function(r){return o.set(r.node,r)}),e.map(function(r){return o.get(r)}).filter(TU)},RU=function(e,t){var o=fu(Xs(e).length>0?document:QI(e).ownerDocument),r=t0(e).filter(H1),n=o4(o||e,e,r),a=new Map,s=Nl(r,a),i=s.filter(function(p){var h=p.node;return H1(h)});if(i[0]){var l=Nl([n],a).map(function(p){var h=p.node;return h}),c=Nme(l,i),u=c.map(function(p){var h=p.node;return h}),m=c.filter(function(p){var h=p.tabIndex;return h>=0}).map(function(p){var h=p.node;return h}),f=DU(u,m,l,o,t);if(f===t4){var d=Zk(s,m,$k(r,a))||Zk(s,u,$k(r,a));if(d)return{node:d};console.warn("focus-lock: cannot find any node to move focus into");return}return f===void 0?f:c[f]}};var qk=function(e){var t=t0(e).filter(H1),o=o4(e,e,t),r=O1(mu([o],!0),!0,!0),n=mu(t,!1);return r.map(function(a){var s=a.node,i=a.index;return{node:s,index:i,lockItem:n.indexOf(s)>=0,guard:F1(s)}})};var V1=function(e,t){e&&("focus"in e&&e.focus(t),"contentWindow"in e&&e.contentWindow&&e.contentWindow.focus())};var Xk=0,Yk=!1,r4=function(e,t,o){o===void 0&&(o={});var r=RU(e,t);if(!Yk&&r){if(Xk>2){console.error("FocusLock: focus-fighting detected. Only one focus management system could be active. See https://github.com/theKashey/focus-lock/#focus-fighting"),Yk=!0,setTimeout(function(){Yk=!1},1);return}Xk++,V1(r.node,o.focusOptions),Xk--}};function N1(e){if(!e)return null;if(typeof WeakRef>"u")return function(){return e||null};var t=e?new WeakRef(e):null;return function(){return t?.deref()||null}}var zme=function(e){if(!e)return null;for(var t=[],o=e;o&&o!==document.body;)t.push({current:N1(o),parent:N1(o.parentElement),left:N1(o.previousElementSibling),right:N1(o.nextElementSibling)}),o=o.parentElement;return{element:N1(e),stack:t,ownerDocument:e.ownerDocument}},Wme=function(e){var t,o,r,n,a;if(e)for(var s=e.stack,i=e.ownerDocument,l=new Map,c=0,u=s;c<u.length;c++){var m=u[c],f=(t=m.parent)===null||t===void 0?void 0:t.call(m);if(f&&i.contains(f)){for(var d=(o=m.left)===null||o===void 0?void 0:o.call(m),p=m.current(),h=f.contains(p)?p:void 0,S=(r=m.right)===null||r===void 0?void 0:r.call(m),g=e0([f],l),b=(a=(n=h??d?.nextElementSibling)!==null&&n!==void 0?n:S)!==null&&a!==void 0?a:d;b;){for(var I=0,v=g;I<v.length;I++){var C=v[I];if(b?.contains(C.node))return C.node}b=b.nextElementSibling}if(g.length)return g[0].node}}},n4=function(e){var t=zme(e);return function(){return Wme(t)}};var _U=function(e,t,o){if(!e||!t)return console.error("no element or scope given"),{};var r=Xs(t);if(r.every(function(s){return!Ys(s,e)}))return console.error("Active element is not contained in the scope"),{};var n=o?e0(r,new Map):Nl(r,new Map),a=n.findIndex(function(s){var i=s.node;return i===e});if(a!==-1)return{prev:n[a-1],next:n[a+1],first:n[0],last:n[n.length-1]}},Ume=function(e,t){var o=t?e0(Xs(e),new Map):Nl(Xs(e),new Map);return{first:o[0],last:o[o.length-1]}},Zme=function(e){return Object.assign({scope:document.body,cycle:!0,onlyTabbable:!0},e)},FU=function(e,t,o){t===void 0&&(t={});var r=Zme(t),n=_U(e,r.scope,r.onlyTabbable);if(n){var a=o(n,r.cycle);a&&V1(a.node,r.focusOptions)}},Kk=function(e,t){t===void 0&&(t={}),FU(e,t,function(o,r){var n=o.next,a=o.first;return n||r&&a})},Qk=function(e,t){t===void 0&&(t={}),FU(e,t,function(o,r){var n=o.prev,a=o.last;return n||r&&a})},HU=function(e,t,o){var r,n=Ume(e,(r=t.onlyTabbable)!==null&&r!==void 0?r:!0),a=n[o];a&&V1(a.node,t.focusOptions)},Jk=function(e,t){t===void 0&&(t={}),HU(e,t,"first")},e5=function(e,t){t===void 0&&(t={}),HU(e,t,"last")};function a4(e){setTimeout(e,1)}var OU=function(t){return t&&"current"in t?t.current:t};var WU=function(){return document&&document.activeElement===document.body},jme=function(){return WU()||zk()},o0=null,ma=null,VU=function(){return null},r0=null,z1=!1,t5=!1,Gme=function(){return!0},$me=function(t){return(o0.whiteList||Gme)(t)},qme=function(t,o){r0={observerNode:t,portaledElement:o}},Xme=function(t){return r0&&r0.portaledElement===t};function NU(e,t,o,r){var n=null,a=e;do{var s=r[a];if(s.guard)s.node.dataset.focusAutoGuard&&(n=s);else if(s.lockItem){if(a!==e)return;n=null}else break}while((a+=o)!==t);n&&(n.node.tabIndex=0)}var Yme=function(t){return t?!!z1:z1==="meanwhile"},Kme=function e(t,o,r){return o&&(o.host===t&&(!o.activeElement||r.contains(o.activeElement))||o.parentNode&&e(t,o.parentNode,r))},Qme=function(t,o){return o.some(function(r){return Kme(t,r,r)})},UU=function(t){return Nl(t,new Map)},Jme=function(t){return!UU([t.parentNode]).some(function(o){return o.node===t})},s4=function(){var t=!1;if(o0){var o=o0,r=o.observed,n=o.persistentFocus,a=o.autoFocus,s=o.shards,i=o.crossFrame,l=o.focusOptions,c=o.noFocusGuards,u=r||r0&&r0.portaledElement;if(WU()&&ma&&ma!==document.body&&(!document.body.contains(ma)||Jme(ma))){var m=VU();m&&m.focus()}var f=document&&document.activeElement;if(u){var d=[u].concat(s.map(OU).filter(Boolean)),p=function(){if(!Yme(i)||!c||!ma||t5)return!1;var I=UU(d),v=I.findIndex(function(C){var T=C.node;return T===ma});return v===0||v===I.length-1};if((!f||$me(f))&&(n||p()||!jme()||!ma&&a)&&(u&&!(JI(d)||f&&Qme(f,d)||Xme(f,u))&&(document&&!ma&&f&&!a?(f.blur&&f.blur(),document.body.focus()):(t=r4(d,ma,{focusOptions:l}),r0={})),ma=document&&document.activeElement,ma!==document.body&&(VU=n4(ma)),z1=!1),document&&f!==document.activeElement&&document.querySelector("[data-focus-auto-guard]")){var h=document&&document.activeElement,S=qk(d),g=S.map(function(b){var I=b.node;return I}).indexOf(h);g>-1&&(S.filter(function(b){var I=b.guard,v=b.node;return I&&v.dataset.focusAutoGuard}).forEach(function(b){var I=b.node;return I.removeAttribute("tabIndex")}),NU(g,S.length,1,S),NU(g,-1,-1,S))}}}return t},ZU=function(t){s4()&&t&&(t.stopPropagation(),t.preventDefault())},i4=function(){return a4(s4)},jU=function(t){var o=t.target,r=t.currentTarget;r.contains(o)||qme(r,o)},efe=function(){return null},tfe=function(t){var o=t.children;return zU.default.createElement("div",{onBlur:i4,onFocus:jU},o)};tfe.propTypes={};var GU=function(){t5=!0},$U=function(){t5=!1,z1="just",a4(function(){z1="meanwhile"})},ofe=function(){document.addEventListener("focusin",ZU),document.addEventListener("focusout",i4),window.addEventListener("focus",GU),window.addEventListener("blur",$U)},rfe=function(){document.removeEventListener("focusin",ZU),document.removeEventListener("focusout",i4),window.removeEventListener("focus",GU),window.removeEventListener("blur",$U)};function nfe(e){return e.filter(function(t){var o=t.disabled;return!o})}var qU={moveFocusInside:r4,focusInside:JI,focusNextElement:Kk,focusPrevElement:Qk,focusFirstElement:Jk,focusLastElement:e5,captureFocusRestore:n4};function afe(e){var t=e.slice(-1)[0];t&&!o0&&ofe();var o=o0,r=o&&t&&t.id===o.id;o0=t,o&&!r&&(o.onDeactivation(),e.filter(function(n){var a=n.id;return a===o.id}).length||o.returnFocus(!t)),t?(ma=null,(!r||o.observed!==t.observed)&&t.onActivation(qU),s4(!0),a4(s4)):(rfe(),ma=null)}qI.assignSyncMedium(jU);XI.assignMedium(i4);mU.assignMedium(function(e){return e(qU)});var XU=xU(nfe,afe)(efe);var YU=(0,l4.forwardRef)(function(t,o){return l4.default.createElement(Dk,Zs({sideCar:XU,ref:o},t))}),KU=Dk.propTypes||{},BUe=KU.sideCar,DUe=JW(KU,["sideCar"]);YU.propTypes={};var QU=YU;var o5=QU;var r5=k(F(),1),sfe=o5.default??o5,n5=e=>{let{initialFocusRef:t,finalFocusRef:o,contentRef:r,restoreFocus:n,children:a,isDisabled:s,autoFocus:i,persistentFocus:l,lockFocusAcrossFrames:c}=e,u=(0,r5.useCallback)(()=>{t?.current?t.current.focus():r?.current&&i3(r.current).length===0&&requestAnimationFrame(()=>{r.current?.focus()})},[t,r]),m=(0,r5.useCallback)(()=>{o?.current?.focus()},[o]);return(0,JU.jsx)(sfe,{crossFrame:c,persistentFocus:l,autoFocus:i,disabled:s,onActivation:u,onDeactivation:m,returnFocus:n&&!o,children:a})};n5.displayName="FocusLock";var W1=k(re(),1);var c4=le(function(t,o){let r=mo("FormLabel",t),n=qe(t),{className:a,children:s,requiredIndicator:i=(0,W1.jsx)(a5,{}),optionalIndicator:l=null,...c}=n,u=Vl(),m=u?.getLabelProps(c,o)??{ref:o,...c};return(0,W1.jsxs)(Y.label,{...m,className:xe("chakra-form__label",n.className),__css:{display:"block",textAlign:"start",...r},children:[s,u?.isRequired?i:l]})});c4.displayName="FormLabel";var a5=le(function(t,o){let r=Vl(),n=NI();if(!r?.isRequired)return null;let a=xe("chakra-form__required-indicator",t.className);return(0,W1.jsx)(Y.span,{...r?.getRequiredIndicatorProps(t,o),__css:n.requiredIndicator,className:a})});a5.displayName="RequiredIndicator";var eZ=k(re(),1);var s5=le(function(t,o){let{templateAreas:r,gap:n,rowGap:a,columnGap:s,column:i,row:l,autoFlow:c,autoRows:u,templateRows:m,autoColumns:f,templateColumns:d,...p}=t,h={display:"grid",gridTemplateAreas:r,gridGap:n,gridRowGap:a,gridColumnGap:s,gridAutoColumns:f,gridColumn:i,gridRow:l,gridAutoFlow:c,gridAutoRows:u,gridTemplateRows:m,gridTemplateColumns:d};return(0,eZ.jsx)(Y.div,{ref:o,__css:h,...p})});s5.displayName="Grid";var tZ=k(re(),1);var Pe=le(function(t,o){let{columns:r,spacingX:n,spacingY:a,spacing:s,minChildWidth:i,...l}=t,c=Fl(),u=i?lfe(i,c):cfe(r);return(0,tZ.jsx)(s5,{ref:o,gap:s,columnGap:n,rowGap:a,templateColumns:u,...l})});Pe.displayName="SimpleGrid";function ife(e){return typeof e=="number"?`${e}px`:e}function lfe(e,t){return Id(e,o=>{let r=TI("sizes",o,ife(o))(t);return o===null?null:`repeat(auto-fit, minmax(${r}, 1fr))`})}function cfe(e){return Id(e,t=>t===null?null:`repeat(${t}, minmax(0, 1fr))`)}var oZ=k(re(),1);var n0=le(function(t,o){let r=mo("Link",t),{className:n,isExternal:a,...s}=qe(t);return(0,oZ.jsx)(Y.a,{target:a?"_blank":void 0,rel:a?"noopener":void 0,ref:o,className:xe("chakra-link",n),...s,__css:r})});n0.displayName="Link";var Nm=k(re(),1);var[ufe,i5]=$e({name:"ListStylesContext",errorMessage:`useListStyles returned is 'undefined'. Seems you forgot to wrap the components in "<List />" `}),a0=le(function(t,o){let r=To("List",t),{children:n,styleType:a="none",stylePosition:s,spacing:i,...l}=qe(t),c=am(n),m=i?{"& > *:not(style) ~ *:not(style)":{mt:i}}:{};return(0,Nm.jsx)(ufe,{value:r,children:(0,Nm.jsx)(Y.ul,{ref:o,listStyleType:a,listStylePosition:s,role:"list",__css:{...r.container,...m},...l,children:c})})});a0.displayName="List";var rZ=le((e,t)=>{let{as:o,...r}=e;return(0,Nm.jsx)(a0,{ref:t,as:"ol",styleType:"decimal",marginStart:"1em",...r})});rZ.displayName="OrderedList";var u4=le(function(t,o){let{as:r,...n}=t;return(0,Nm.jsx)(a0,{ref:o,as:"ul",styleType:"initial",marginStart:"1em",...n})});u4.displayName="UnorderedList";var s0=le(function(t,o){let r=i5();return(0,Nm.jsx)(Y.li,{ref:o,...t,__css:r.item})});s0.displayName="ListItem";var m4=le(function(t,o){let r=i5();return(0,Nm.jsx)(Ua,{ref:o,role:"presentation",...t,__css:r.icon})});m4.displayName="ListIcon";var ko="top",$r="bottom",Fr="right",Ro="left",f4="auto",du=[ko,$r,Fr,Ro],zl="start",zm="end",nZ="clippingParents",d4="viewport",i0="popper",aZ="reference",l5=du.reduce(function(e,t){return e.concat([t+"-"+zl,t+"-"+zm])},[]),p4=[].concat(du,[f4]).reduce(function(e,t){return e.concat([t,t+"-"+zl,t+"-"+zm])},[]),mfe="beforeRead",ffe="read",dfe="afterRead",pfe="beforeMain",hfe="main",gfe="afterMain",bfe="beforeWrite",yfe="write",Sfe="afterWrite",sZ=[mfe,ffe,dfe,pfe,hfe,gfe,bfe,yfe,Sfe];function sn(e){return e?(e.nodeName||"").toLowerCase():null}function fo(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function ys(e){var t=fo(e).Element;return e instanceof t||e instanceof Element}function qr(e){var t=fo(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function l0(e){if(typeof ShadowRoot>"u")return!1;var t=fo(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function xfe(e){var t=e.state;Object.keys(t.elements).forEach(function(o){var r=t.styles[o]||{},n=t.attributes[o]||{},a=t.elements[o];!qr(a)||!sn(a)||(Object.assign(a.style,r),Object.keys(n).forEach(function(s){var i=n[s];i===!1?a.removeAttribute(s):a.setAttribute(s,i===!0?"":i)}))})}function Ife(e){var t=e.state,o={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,o.popper),t.styles=o,t.elements.arrow&&Object.assign(t.elements.arrow.style,o.arrow),function(){Object.keys(t.elements).forEach(function(r){var n=t.elements[r],a=t.attributes[r]||{},s=Object.keys(t.styles.hasOwnProperty(r)?t.styles[r]:o[r]),i=s.reduce(function(l,c){return l[c]="",l},{});!qr(n)||!sn(n)||(Object.assign(n.style,i),Object.keys(a).forEach(function(l){n.removeAttribute(l)}))})}}var iZ={name:"applyStyles",enabled:!0,phase:"write",fn:xfe,effect:Ife,requires:["computeStyles"]};function ln(e){return e.split("-")[0]}var Ks=Math.max,Wm=Math.min,Wl=Math.round;function c0(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function U1(){return!/^((?!chrome|android).)*safari/i.test(c0())}function Ss(e,t,o){t===void 0&&(t=!1),o===void 0&&(o=!1);var r=e.getBoundingClientRect(),n=1,a=1;t&&qr(e)&&(n=e.offsetWidth>0&&Wl(r.width)/e.offsetWidth||1,a=e.offsetHeight>0&&Wl(r.height)/e.offsetHeight||1);var s=ys(e)?fo(e):window,i=s.visualViewport,l=!U1()&&o,c=(r.left+(l&&i?i.offsetLeft:0))/n,u=(r.top+(l&&i?i.offsetTop:0))/a,m=r.width/n,f=r.height/a;return{width:m,height:f,top:u,right:c+m,bottom:u+f,left:c,x:c,y:u}}function Um(e){var t=Ss(e),o=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-o)<=1&&(o=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:o,height:r}}function Z1(e,t){var o=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(o&&l0(o)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function Zn(e){return fo(e).getComputedStyle(e)}function c5(e){return["table","td","th"].indexOf(sn(e))>=0}function Cn(e){return((ys(e)?e.ownerDocument:e.document)||window.document).documentElement}function Ul(e){return sn(e)==="html"?e:e.assignedSlot||e.parentNode||(l0(e)?e.host:null)||Cn(e)}function lZ(e){return!qr(e)||Zn(e).position==="fixed"?null:e.offsetParent}function vfe(e){var t=/firefox/i.test(c0()),o=/Trident/i.test(c0());if(o&&qr(e)){var r=Zn(e);if(r.position==="fixed")return null}var n=Ul(e);for(l0(n)&&(n=n.host);qr(n)&&["html","body"].indexOf(sn(n))<0;){var a=Zn(n);if(a.transform!=="none"||a.perspective!=="none"||a.contain==="paint"||["transform","perspective"].indexOf(a.willChange)!==-1||t&&a.willChange==="filter"||t&&a.filter&&a.filter!=="none")return n;n=n.parentNode}return null}function Qs(e){for(var t=fo(e),o=lZ(e);o&&c5(o)&&Zn(o).position==="static";)o=lZ(o);return o&&(sn(o)==="html"||sn(o)==="body"&&Zn(o).position==="static")?t:o||vfe(e)||t}function Zm(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function jm(e,t,o){return Ks(e,Wm(t,o))}function cZ(e,t,o){var r=jm(e,t,o);return r>o?o:r}function j1(){return{top:0,right:0,bottom:0,left:0}}function G1(e){return Object.assign({},j1(),e)}function $1(e,t){return t.reduce(function(o,r){return o[r]=e,o},{})}var Cfe=function(t,o){return t=typeof t=="function"?t(Object.assign({},o.rects,{placement:o.placement})):t,G1(typeof t!="number"?t:$1(t,du))};function wfe(e){var t,o=e.state,r=e.name,n=e.options,a=o.elements.arrow,s=o.modifiersData.popperOffsets,i=ln(o.placement),l=Zm(i),c=[Ro,Fr].indexOf(i)>=0,u=c?"height":"width";if(!(!a||!s)){var m=Cfe(n.padding,o),f=Um(a),d=l==="y"?ko:Ro,p=l==="y"?$r:Fr,h=o.rects.reference[u]+o.rects.reference[l]-s[l]-o.rects.popper[u],S=s[l]-o.rects.reference[l],g=Qs(a),b=g?l==="y"?g.clientHeight||0:g.clientWidth||0:0,I=h/2-S/2,v=m[d],C=b-f[u]-m[p],T=b/2-f[u]/2+I,w=jm(v,T,C),E=l;o.modifiersData[r]=(t={},t[E]=w,t.centerOffset=w-T,t)}}function Tfe(e){var t=e.state,o=e.options,r=o.element,n=r===void 0?"[data-popper-arrow]":r;n!=null&&(typeof n=="string"&&(n=t.elements.popper.querySelector(n),!n)||Z1(t.elements.popper,n)&&(t.elements.arrow=n))}var uZ={name:"arrow",enabled:!0,phase:"main",fn:wfe,effect:Tfe,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function xs(e){return e.split("-")[1]}var Afe={top:"auto",right:"auto",bottom:"auto",left:"auto"};function kfe(e,t){var o=e.x,r=e.y,n=t.devicePixelRatio||1;return{x:Wl(o*n)/n||0,y:Wl(r*n)/n||0}}function mZ(e){var t,o=e.popper,r=e.popperRect,n=e.placement,a=e.variation,s=e.offsets,i=e.position,l=e.gpuAcceleration,c=e.adaptive,u=e.roundOffsets,m=e.isFixed,f=s.x,d=f===void 0?0:f,p=s.y,h=p===void 0?0:p,S=typeof u=="function"?u({x:d,y:h}):{x:d,y:h};d=S.x,h=S.y;var g=s.hasOwnProperty("x"),b=s.hasOwnProperty("y"),I=Ro,v=ko,C=window;if(c){var T=Qs(o),w="clientHeight",E="clientWidth";if(T===fo(o)&&(T=Cn(o),Zn(T).position!=="static"&&i==="absolute"&&(w="scrollHeight",E="scrollWidth")),T=T,n===ko||(n===Ro||n===Fr)&&a===zm){v=$r;var B=m&&T===C&&C.visualViewport?C.visualViewport.height:T[w];h-=B-r.height,h*=l?1:-1}if(n===Ro||(n===ko||n===$r)&&a===zm){I=Fr;var L=m&&T===C&&C.visualViewport?C.visualViewport.width:T[E];d-=L-r.width,d*=l?1:-1}}var _=Object.assign({position:i},c&&Afe),j=u===!0?kfe({x:d,y:h},fo(o)):{x:d,y:h};if(d=j.x,h=j.y,l){var ne;return Object.assign({},_,(ne={},ne[v]=b?"0":"",ne[I]=g?"0":"",ne.transform=(C.devicePixelRatio||1)<=1?"translate("+d+"px, "+h+"px)":"translate3d("+d+"px, "+h+"px, 0)",ne))}return Object.assign({},_,(t={},t[v]=b?h+"px":"",t[I]=g?d+"px":"",t.transform="",t))}function Mfe(e){var t=e.state,o=e.options,r=o.gpuAcceleration,n=r===void 0?!0:r,a=o.adaptive,s=a===void 0?!0:a,i=o.roundOffsets,l=i===void 0?!0:i,c={placement:ln(t.placement),variation:xs(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:n,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,mZ(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:s,roundOffsets:l})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,mZ(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}var fZ={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:Mfe,data:{}};var h4={passive:!0};function Lfe(e){var t=e.state,o=e.instance,r=e.options,n=r.scroll,a=n===void 0?!0:n,s=r.resize,i=s===void 0?!0:s,l=fo(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return a&&c.forEach(function(u){u.addEventListener("scroll",o.update,h4)}),i&&l.addEventListener("resize",o.update,h4),function(){a&&c.forEach(function(u){u.removeEventListener("scroll",o.update,h4)}),i&&l.removeEventListener("resize",o.update,h4)}}var dZ={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:Lfe,data:{}};var Pfe={left:"right",right:"left",bottom:"top",top:"bottom"};function u0(e){return e.replace(/left|right|bottom|top/g,function(t){return Pfe[t]})}var Efe={start:"end",end:"start"};function g4(e){return e.replace(/start|end/g,function(t){return Efe[t]})}function Gm(e){var t=fo(e),o=t.pageXOffset,r=t.pageYOffset;return{scrollLeft:o,scrollTop:r}}function $m(e){return Ss(Cn(e)).left+Gm(e).scrollLeft}function u5(e,t){var o=fo(e),r=Cn(e),n=o.visualViewport,a=r.clientWidth,s=r.clientHeight,i=0,l=0;if(n){a=n.width,s=n.height;var c=U1();(c||!c&&t==="fixed")&&(i=n.offsetLeft,l=n.offsetTop)}return{width:a,height:s,x:i+$m(e),y:l}}function m5(e){var t,o=Cn(e),r=Gm(e),n=(t=e.ownerDocument)==null?void 0:t.body,a=Ks(o.scrollWidth,o.clientWidth,n?n.scrollWidth:0,n?n.clientWidth:0),s=Ks(o.scrollHeight,o.clientHeight,n?n.scrollHeight:0,n?n.clientHeight:0),i=-r.scrollLeft+$m(e),l=-r.scrollTop;return Zn(n||o).direction==="rtl"&&(i+=Ks(o.clientWidth,n?n.clientWidth:0)-a),{width:a,height:s,x:i,y:l}}function qm(e){var t=Zn(e),o=t.overflow,r=t.overflowX,n=t.overflowY;return/auto|scroll|overlay|hidden/.test(o+n+r)}function b4(e){return["html","body","#document"].indexOf(sn(e))>=0?e.ownerDocument.body:qr(e)&&qm(e)?e:b4(Ul(e))}function pu(e,t){var o;t===void 0&&(t=[]);var r=b4(e),n=r===((o=e.ownerDocument)==null?void 0:o.body),a=fo(r),s=n?[a].concat(a.visualViewport||[],qm(r)?r:[]):r,i=t.concat(s);return n?i:i.concat(pu(Ul(s)))}function m0(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function Bfe(e,t){var o=Ss(e,!1,t==="fixed");return o.top=o.top+e.clientTop,o.left=o.left+e.clientLeft,o.bottom=o.top+e.clientHeight,o.right=o.left+e.clientWidth,o.width=e.clientWidth,o.height=e.clientHeight,o.x=o.left,o.y=o.top,o}function pZ(e,t,o){return t===d4?m0(u5(e,o)):ys(t)?Bfe(t,o):m0(m5(Cn(e)))}function Dfe(e){var t=pu(Ul(e)),o=["absolute","fixed"].indexOf(Zn(e).position)>=0,r=o&&qr(e)?Qs(e):e;return ys(r)?t.filter(function(n){return ys(n)&&Z1(n,r)&&sn(n)!=="body"}):[]}function f5(e,t,o,r){var n=t==="clippingParents"?Dfe(e):[].concat(t),a=[].concat(n,[o]),s=a[0],i=a.reduce(function(l,c){var u=pZ(e,c,r);return l.top=Ks(u.top,l.top),l.right=Wm(u.right,l.right),l.bottom=Wm(u.bottom,l.bottom),l.left=Ks(u.left,l.left),l},pZ(e,s,r));return i.width=i.right-i.left,i.height=i.bottom-i.top,i.x=i.left,i.y=i.top,i}function q1(e){var t=e.reference,o=e.element,r=e.placement,n=r?ln(r):null,a=r?xs(r):null,s=t.x+t.width/2-o.width/2,i=t.y+t.height/2-o.height/2,l;switch(n){case ko:l={x:s,y:t.y-o.height};break;case $r:l={x:s,y:t.y+t.height};break;case Fr:l={x:t.x+t.width,y:i};break;case Ro:l={x:t.x-o.width,y:i};break;default:l={x:t.x,y:t.y}}var c=n?Zm(n):null;if(c!=null){var u=c==="y"?"height":"width";switch(a){case zl:l[c]=l[c]-(t[u]/2-o[u]/2);break;case zm:l[c]=l[c]+(t[u]/2-o[u]/2);break;default:}}return l}function Js(e,t){t===void 0&&(t={});var o=t,r=o.placement,n=r===void 0?e.placement:r,a=o.strategy,s=a===void 0?e.strategy:a,i=o.boundary,l=i===void 0?nZ:i,c=o.rootBoundary,u=c===void 0?d4:c,m=o.elementContext,f=m===void 0?i0:m,d=o.altBoundary,p=d===void 0?!1:d,h=o.padding,S=h===void 0?0:h,g=G1(typeof S!="number"?S:$1(S,du)),b=f===i0?aZ:i0,I=e.rects.popper,v=e.elements[p?b:f],C=f5(ys(v)?v:v.contextElement||Cn(e.elements.popper),l,u,s),T=Ss(e.elements.reference),w=q1({reference:T,element:I,strategy:"absolute",placement:n}),E=m0(Object.assign({},I,w)),B=f===i0?E:T,L={top:C.top-B.top+g.top,bottom:B.bottom-C.bottom+g.bottom,left:C.left-B.left+g.left,right:B.right-C.right+g.right},_=e.modifiersData.offset;if(f===i0&&_){var j=_[n];Object.keys(L).forEach(function(ne){var K=[Fr,$r].indexOf(ne)>=0?1:-1,ie=[ko,$r].indexOf(ne)>=0?"y":"x";L[ne]+=j[ie]*K})}return L}function d5(e,t){t===void 0&&(t={});var o=t,r=o.placement,n=o.boundary,a=o.rootBoundary,s=o.padding,i=o.flipVariations,l=o.allowedAutoPlacements,c=l===void 0?p4:l,u=xs(r),m=u?i?l5:l5.filter(function(p){return xs(p)===u}):du,f=m.filter(function(p){return c.indexOf(p)>=0});f.length===0&&(f=m);var d=f.reduce(function(p,h){return p[h]=Js(e,{placement:h,boundary:n,rootBoundary:a,padding:s})[ln(h)],p},{});return Object.keys(d).sort(function(p,h){return d[p]-d[h]})}function Rfe(e){if(ln(e)===f4)return[];var t=u0(e);return[g4(e),t,g4(t)]}function _fe(e){var t=e.state,o=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var n=o.mainAxis,a=n===void 0?!0:n,s=o.altAxis,i=s===void 0?!0:s,l=o.fallbackPlacements,c=o.padding,u=o.boundary,m=o.rootBoundary,f=o.altBoundary,d=o.flipVariations,p=d===void 0?!0:d,h=o.allowedAutoPlacements,S=t.options.placement,g=ln(S),b=g===S,I=l||(b||!p?[u0(S)]:Rfe(S)),v=[S].concat(I).reduce(function(X,ee){return X.concat(ln(ee)===f4?d5(t,{placement:ee,boundary:u,rootBoundary:m,padding:c,flipVariations:p,allowedAutoPlacements:h}):ee)},[]),C=t.rects.reference,T=t.rects.popper,w=new Map,E=!0,B=v[0],L=0;L<v.length;L++){var _=v[L],j=ln(_),ne=xs(_)===zl,K=[ko,$r].indexOf(j)>=0,ie=K?"width":"height",se=Js(t,{placement:_,boundary:u,rootBoundary:m,altBoundary:f,padding:c}),W=K?ne?Fr:Ro:ne?$r:ko;C[ie]>T[ie]&&(W=u0(W));var de=u0(W),q=[];if(a&&q.push(se[j]<=0),i&&q.push(se[W]<=0,se[de]<=0),q.every(function(X){return X})){B=_,E=!1;break}w.set(_,q)}if(E)for(var fe=p?3:1,he=function(ee){var pe=v.find(function(H){var ce=w.get(H);if(ce)return ce.slice(0,ee).every(function(we){return we})});if(pe)return B=pe,"break"},ge=fe;ge>0;ge--){var J=he(ge);if(J==="break")break}t.placement!==B&&(t.modifiersData[r]._skip=!0,t.placement=B,t.reset=!0)}}var hZ={name:"flip",enabled:!0,phase:"main",fn:_fe,requiresIfExists:["offset"],data:{_skip:!1}};function gZ(e,t,o){return o===void 0&&(o={x:0,y:0}),{top:e.top-t.height-o.y,right:e.right-t.width+o.x,bottom:e.bottom-t.height+o.y,left:e.left-t.width-o.x}}function bZ(e){return[ko,Fr,$r,Ro].some(function(t){return e[t]>=0})}function Ffe(e){var t=e.state,o=e.name,r=t.rects.reference,n=t.rects.popper,a=t.modifiersData.preventOverflow,s=Js(t,{elementContext:"reference"}),i=Js(t,{altBoundary:!0}),l=gZ(s,r),c=gZ(i,n,a),u=bZ(l),m=bZ(c);t.modifiersData[o]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:u,hasPopperEscaped:m},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":m})}var yZ={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:Ffe};function Hfe(e,t,o){var r=ln(e),n=[Ro,ko].indexOf(r)>=0?-1:1,a=typeof o=="function"?o(Object.assign({},t,{placement:e})):o,s=a[0],i=a[1];return s=s||0,i=(i||0)*n,[Ro,Fr].indexOf(r)>=0?{x:i,y:s}:{x:s,y:i}}function Ofe(e){var t=e.state,o=e.options,r=e.name,n=o.offset,a=n===void 0?[0,0]:n,s=p4.reduce(function(u,m){return u[m]=Hfe(m,t.rects,a),u},{}),i=s[t.placement],l=i.x,c=i.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=c),t.modifiersData[r]=s}var SZ={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:Ofe};function Vfe(e){var t=e.state,o=e.name;t.modifiersData[o]=q1({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}var xZ={name:"popperOffsets",enabled:!0,phase:"read",fn:Vfe,data:{}};function p5(e){return e==="x"?"y":"x"}function Nfe(e){var t=e.state,o=e.options,r=e.name,n=o.mainAxis,a=n===void 0?!0:n,s=o.altAxis,i=s===void 0?!1:s,l=o.boundary,c=o.rootBoundary,u=o.altBoundary,m=o.padding,f=o.tether,d=f===void 0?!0:f,p=o.tetherOffset,h=p===void 0?0:p,S=Js(t,{boundary:l,rootBoundary:c,padding:m,altBoundary:u}),g=ln(t.placement),b=xs(t.placement),I=!b,v=Zm(g),C=p5(v),T=t.modifiersData.popperOffsets,w=t.rects.reference,E=t.rects.popper,B=typeof h=="function"?h(Object.assign({},t.rects,{placement:t.placement})):h,L=typeof B=="number"?{mainAxis:B,altAxis:B}:Object.assign({mainAxis:0,altAxis:0},B),_=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,j={x:0,y:0};if(T){if(a){var ne,K=v==="y"?ko:Ro,ie=v==="y"?$r:Fr,se=v==="y"?"height":"width",W=T[v],de=W+S[K],q=W-S[ie],fe=d?-E[se]/2:0,he=b===zl?w[se]:E[se],ge=b===zl?-E[se]:-w[se],J=t.elements.arrow,X=d&&J?Um(J):{width:0,height:0},ee=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:j1(),pe=ee[K],H=ee[ie],ce=jm(0,w[se],X[se]),we=I?w[se]/2-fe-ce-pe-L.mainAxis:he-ce-pe-L.mainAxis,ue=I?-w[se]/2+fe+ce+H+L.mainAxis:ge+ce+H+L.mainAxis,Ce=t.elements.arrow&&Qs(t.elements.arrow),ye=Ce?v==="y"?Ce.clientTop||0:Ce.clientLeft||0:0,De=(ne=_?.[v])!=null?ne:0,me=W+we-De-ye,ke=W+ue-De,Ae=jm(d?Wm(de,me):de,W,d?Ks(q,ke):q);T[v]=Ae,j[v]=Ae-W}if(i){var Be,xt=v==="x"?ko:Ro,We=v==="x"?$r:Fr,Fe=T[C],Qe=C==="y"?"height":"width",ut=Fe+S[xt],ae=Fe-S[We],Re=[ko,Ro].indexOf(g)!==-1,Xe=(Be=_?.[C])!=null?Be:0,Je=Re?ut:Fe-w[Qe]-E[Qe]-Xe+L.altAxis,An=Re?Fe+w[Qe]+E[Qe]-Xe-L.altAxis:ae,vo=d&&Re?cZ(Je,Fe,An):jm(d?Je:ut,Fe,d?An:ae);T[C]=vo,j[C]=vo-Fe}t.modifiersData[r]=j}}var IZ={name:"preventOverflow",enabled:!0,phase:"main",fn:Nfe,requiresIfExists:["offset"]};function h5(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function g5(e){return e===fo(e)||!qr(e)?Gm(e):h5(e)}function zfe(e){var t=e.getBoundingClientRect(),o=Wl(t.width)/e.offsetWidth||1,r=Wl(t.height)/e.offsetHeight||1;return o!==1||r!==1}function b5(e,t,o){o===void 0&&(o=!1);var r=qr(t),n=qr(t)&&zfe(t),a=Cn(t),s=Ss(e,n,o),i={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(r||!r&&!o)&&((sn(t)!=="body"||qm(a))&&(i=g5(t)),qr(t)?(l=Ss(t,!0),l.x+=t.clientLeft,l.y+=t.clientTop):a&&(l.x=$m(a))),{x:s.left+i.scrollLeft-l.x,y:s.top+i.scrollTop-l.y,width:s.width,height:s.height}}function Wfe(e){var t=new Map,o=new Set,r=[];e.forEach(function(a){t.set(a.name,a)});function n(a){o.add(a.name);var s=[].concat(a.requires||[],a.requiresIfExists||[]);s.forEach(function(i){if(!o.has(i)){var l=t.get(i);l&&n(l)}}),r.push(a)}return e.forEach(function(a){o.has(a.name)||n(a)}),r}function y5(e){var t=Wfe(e);return sZ.reduce(function(o,r){return o.concat(t.filter(function(n){return n.phase===r}))},[])}function S5(e){var t;return function(){return t||(t=new Promise(function(o){Promise.resolve().then(function(){t=void 0,o(e())})})),t}}function x5(e){var t=e.reduce(function(o,r){var n=o[r.name];return o[r.name]=n?Object.assign({},n,r,{options:Object.assign({},n.options,r.options),data:Object.assign({},n.data,r.data)}):r,o},{});return Object.keys(t).map(function(o){return t[o]})}var vZ={placement:"bottom",modifiers:[],strategy:"absolute"};function CZ(){for(var e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];return!t.some(function(r){return!(r&&typeof r.getBoundingClientRect=="function")})}function wZ(e){e===void 0&&(e={});var t=e,o=t.defaultModifiers,r=o===void 0?[]:o,n=t.defaultOptions,a=n===void 0?vZ:n;return function(i,l,c){c===void 0&&(c=a);var u={placement:"bottom",orderedModifiers:[],options:Object.assign({},vZ,a),modifiersData:{},elements:{reference:i,popper:l},attributes:{},styles:{}},m=[],f=!1,d={state:u,setOptions:function(g){var b=typeof g=="function"?g(u.options):g;h(),u.options=Object.assign({},a,u.options,b),u.scrollParents={reference:ys(i)?pu(i):i.contextElement?pu(i.contextElement):[],popper:pu(l)};var I=y5(x5([].concat(r,u.options.modifiers)));return u.orderedModifiers=I.filter(function(v){return v.enabled}),p(),d.update()},forceUpdate:function(){if(!f){var g=u.elements,b=g.reference,I=g.popper;if(CZ(b,I)){u.rects={reference:b5(b,Qs(I),u.options.strategy==="fixed"),popper:Um(I)},u.reset=!1,u.placement=u.options.placement,u.orderedModifiers.forEach(function(L){return u.modifiersData[L.name]=Object.assign({},L.data)});for(var v=0;v<u.orderedModifiers.length;v++){if(u.reset===!0){u.reset=!1,v=-1;continue}var C=u.orderedModifiers[v],T=C.fn,w=C.options,E=w===void 0?{}:w,B=C.name;typeof T=="function"&&(u=T({state:u,options:E,name:B,instance:d})||u)}}}},update:S5(function(){return new Promise(function(S){d.forceUpdate(),S(u)})}),destroy:function(){h(),f=!0}};if(!CZ(i,l))return d;d.setOptions(c).then(function(S){!f&&c.onFirstUpdate&&c.onFirstUpdate(S)});function p(){u.orderedModifiers.forEach(function(S){var g=S.name,b=S.options,I=b===void 0?{}:b,v=S.effect;if(typeof v=="function"){var C=v({state:u,name:g,instance:d,options:I}),T=function(){};m.push(C||T)}})}function h(){m.forEach(function(S){return S()}),m=[]}return d}}var Ufe=[dZ,xZ,fZ,iZ,SZ,hZ,IZ,uZ,yZ],I5=wZ({defaultModifiers:Ufe});var jn=k(F(),1);var f0=(e,t)=>({var:e,varRef:t?`var(${e}, ${t})`:`var(${e})`}),_o={arrowShadowColor:f0("--popper-arrow-shadow-color"),arrowSize:f0("--popper-arrow-size","8px"),arrowSizeHalf:f0("--popper-arrow-size-half"),arrowBg:f0("--popper-arrow-bg"),transformOrigin:f0("--popper-transform-origin"),arrowOffset:f0("--popper-arrow-offset")};function AZ(e){if(e.includes("top"))return"1px 1px 0px 0 var(--popper-arrow-shadow-color)";if(e.includes("bottom"))return"-1px -1px 0px 0 var(--popper-arrow-shadow-color)";if(e.includes("right"))return"-1px 1px 0px 0 var(--popper-arrow-shadow-color)";if(e.includes("left"))return"1px -1px 0px 0 var(--popper-arrow-shadow-color)"}var Zfe={top:"bottom center","top-start":"bottom left","top-end":"bottom right",bottom:"top center","bottom-start":"top left","bottom-end":"top right",left:"right center","left-start":"right top","left-end":"right bottom",right:"left center","right-start":"left top","right-end":"left bottom"},kZ=e=>Zfe[e],TZ={scroll:!0,resize:!0};function MZ(e){let t;return typeof e=="object"?t={enabled:!0,options:{...TZ,...e}}:t={enabled:e,options:TZ},t}var EZ={name:"matchWidth",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:({state:e})=>{e.styles.popper.width=`${e.rects.reference.width}px`},effect:({state:e})=>()=>{let t=e.elements.reference;e.elements.popper.style.width=`${t.offsetWidth}px`}},BZ={name:"transformOrigin",enabled:!0,phase:"write",fn:({state:e})=>{LZ(e)},effect:({state:e})=>()=>{LZ(e)}},LZ=e=>{e.elements.popper.style.setProperty(_o.transformOrigin.var,kZ(e.placement))},DZ={name:"positionArrow",enabled:!0,phase:"afterWrite",fn:({state:e})=>{jfe(e)}},jfe=e=>{if(!e.placement)return;let t=Gfe(e.placement);if(e.elements?.arrow&&t){Object.assign(e.elements.arrow.style,{[t.property]:t.value,width:_o.arrowSize.varRef,height:_o.arrowSize.varRef,zIndex:-1});let o={[_o.arrowSizeHalf.var]:`calc(${_o.arrowSize.varRef} / 2 - 1px)`,[_o.arrowOffset.var]:`calc(${_o.arrowSizeHalf.varRef} * -1)`};for(let r in o)e.elements.arrow.style.setProperty(r,o[r])}},Gfe=e=>{if(e.startsWith("top"))return{property:"bottom",value:_o.arrowOffset.varRef};if(e.startsWith("bottom"))return{property:"top",value:_o.arrowOffset.varRef};if(e.startsWith("left"))return{property:"right",value:_o.arrowOffset.varRef};if(e.startsWith("right"))return{property:"left",value:_o.arrowOffset.varRef}},RZ={name:"innerArrow",enabled:!0,phase:"main",requires:["arrow"],fn:({state:e})=>{PZ(e)},effect:({state:e})=>()=>{PZ(e)}},PZ=e=>{if(!e.elements.arrow)return;let t=e.elements.arrow.querySelector("[data-popper-arrow-inner]");if(!t)return;let o=AZ(e.placement);o&&t.style.setProperty("--popper-arrow-default-shadow",o),Object.assign(t.style,{transform:"rotate(45deg)",background:_o.arrowBg.varRef,top:0,left:0,width:"100%",height:"100%",position:"absolute",zIndex:"inherit",boxShadow:"var(--popper-arrow-shadow, var(--popper-arrow-default-shadow))"})};var $fe={"start-start":{ltr:"left-start",rtl:"right-start"},"start-end":{ltr:"left-end",rtl:"right-end"},"end-start":{ltr:"right-start",rtl:"left-start"},"end-end":{ltr:"right-end",rtl:"left-end"},start:{ltr:"left",rtl:"right"},end:{ltr:"right",rtl:"left"}},qfe={"auto-start":"auto-end","auto-end":"auto-start","top-start":"top-end","top-end":"top-start","bottom-start":"bottom-end","bottom-end":"bottom-start"};function _Z(e,t="ltr"){let o=$fe[e]?.[t]||e;return t==="ltr"?o:qfe[e]??o}function FZ(e={}){let{enabled:t=!0,modifiers:o,placement:r="bottom",strategy:n="absolute",arrowPadding:a=8,eventListeners:s=!0,offset:i,gutter:l=8,flip:c=!0,boundary:u="clippingParents",preventOverflow:m=!0,matchWidth:f,direction:d="ltr"}=e,p=(0,jn.useRef)(null),h=(0,jn.useRef)(null),S=(0,jn.useRef)(null),g=_Z(r,d),b=(0,jn.useRef)(()=>{}),I=(0,jn.useCallback)(()=>{!t||!p.current||!h.current||(b.current?.(),S.current=I5(p.current,h.current,{placement:g,modifiers:[RZ,DZ,BZ,{...EZ,enabled:!!f},{name:"eventListeners",...MZ(s)},{name:"arrow",options:{padding:a}},{name:"offset",options:{offset:i??[0,l]}},{name:"flip",enabled:!!c,options:{padding:8}},{name:"preventOverflow",enabled:!!m,options:{boundary:u}},...o??[]],strategy:n}),S.current.forceUpdate(),b.current=S.current.destroy)},[g,t,o,f,s,a,i,l,c,m,u,n]);(0,jn.useEffect)(()=>()=>{!p.current&&!h.current&&(S.current?.destroy(),S.current=null)},[]);let v=(0,jn.useCallback)(L=>{p.current=L,I()},[I]),C=(0,jn.useCallback)((L={},_=null)=>({...L,ref:uo(v,_)}),[v]),T=(0,jn.useCallback)(L=>{h.current=L,I()},[I]),w=(0,jn.useCallback)((L={},_=null)=>({...L,ref:uo(T,_),style:{...L.style,position:n,minWidth:f?void 0:"max-content",inset:"0 auto auto 0"}}),[n,T,f]),E=(0,jn.useCallback)((L={},_=null)=>{let{size:j,shadowColor:ne,bg:K,style:ie,...se}=L;return{...se,ref:_,"data-popper-arrow":"",style:Xfe(L)}},[]),B=(0,jn.useCallback)((L={},_=null)=>({...L,ref:_,"data-popper-arrow-inner":""}),[]);return{update(){S.current?.update()},forceUpdate(){S.current?.forceUpdate()},transformOrigin:_o.transformOrigin.varRef,referenceRef:v,popperRef:T,getPopperProps:w,getArrowProps:E,getArrowInnerProps:B,getReferenceProps:C}}function Xfe(e){let{size:t,shadowColor:o,bg:r,style:n}=e,a={...n,position:"absolute"};return t&&(a["--popper-arrow-size"]=t),o&&(a["--popper-arrow-shadow-color"]=o),r&&(a["--popper-arrow-bg"]=r),a}var Za=k(F(),1);var Xm=k(F(),1);function HZ(){let e=(0,Xm.useRef)(new Map),t=e.current,o=(0,Xm.useCallback)((n,a,s,i)=>{e.current.set(s,{type:a,el:n,options:i}),n.addEventListener(a,s,i)},[]),r=(0,Xm.useCallback)((n,a,s,i)=>{n.removeEventListener(a,s,i),e.current.delete(s)},[]);return(0,Xm.useEffect)(()=>()=>{t.forEach((n,a)=>{r(n.el,n.type,a,n.options)})},[r,t]),{add:o,remove:r}}function v5(e){let t=e.composedPath?.()?.[0]??e.target,{tagName:o,isContentEditable:r}=t;return o!=="INPUT"&&o!=="TEXTAREA"&&r!==!0}function OZ(e={}){let{ref:t,isDisabled:o,isFocusable:r,clickOnEnter:n=!0,clickOnSpace:a=!0,onMouseDown:s,onMouseUp:i,onClick:l,onKeyDown:c,onKeyUp:u,tabIndex:m,onMouseOver:f,onMouseLeave:d,...p}=e,[h,S]=(0,Za.useState)(!0),[g,b]=(0,Za.useState)(!1),I=HZ(),v=W=>{W&&W.tagName!=="BUTTON"&&S(!1)},C=h?m:m||0,T=o&&!r,w=(0,Za.useCallback)(W=>{if(o){W.stopPropagation(),W.preventDefault();return}W.currentTarget.focus(),l?.(W)},[o,l]),E=(0,Za.useCallback)(W=>{g&&v5(W)&&(W.preventDefault(),W.stopPropagation(),b(!1),I.remove(document,"keyup",E,!1))},[g,I]),B=(0,Za.useCallback)(W=>{if(c?.(W),o||W.defaultPrevented||W.metaKey||!v5(W.nativeEvent)||h)return;let de=n&&W.key==="Enter";a&&W.key===" "&&(W.preventDefault(),b(!0)),de&&(W.preventDefault(),W.currentTarget.click()),I.add(document,"keyup",E,!1)},[o,h,c,n,a,I,E]),L=(0,Za.useCallback)(W=>{if(u?.(W),o||W.defaultPrevented||W.metaKey||!v5(W.nativeEvent)||h)return;a&&W.key===" "&&(W.preventDefault(),b(!1),W.currentTarget.click())},[a,h,o,u]),_=(0,Za.useCallback)(W=>{W.button===0&&(b(!1),I.remove(document,"mouseup",_,!1))},[I]),j=(0,Za.useCallback)(W=>{if(W.button!==0)return;if(o){W.stopPropagation(),W.preventDefault();return}h||b(!0),W.currentTarget.focus({preventScroll:!0}),I.add(document,"mouseup",_,!1),s?.(W)},[o,h,s,I,_]),ne=(0,Za.useCallback)(W=>{W.button===0&&(h||b(!1),i?.(W))},[i,h]),K=(0,Za.useCallback)(W=>{if(o){W.preventDefault();return}f?.(W)},[o,f]),ie=(0,Za.useCallback)(W=>{g&&(W.preventDefault(),b(!1)),d?.(W)},[g,d]),se=uo(t,v);return h?{...p,ref:se,type:"button","aria-disabled":T?void 0:o,disabled:T,onClick:w,onMouseDown:s,onMouseUp:i,onKeyUp:u,onKeyDown:c,onMouseOver:f,onMouseLeave:d}:{...p,ref:se,role:"button","data-active":Le(g),"aria-disabled":o?"true":void 0,tabIndex:T?void 0:C,onClick:w,onMouseDown:j,onMouseUp:ne,onKeyUp:L,onKeyDown:B,onMouseOver:K,onMouseLeave:ie}}var X1=k(re(),1);var Yfe=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},d0=new WeakMap,y4=new WeakMap,S4={},C5=0,VZ=function(e){return e&&(e.host||VZ(e.parentNode))},Kfe=function(e,t){return t.map(function(o){if(e.contains(o))return o;var r=VZ(o);return r&&e.contains(r)?r:(console.error("aria-hidden",o,"in not contained inside",e,". Doing nothing"),null)}).filter(function(o){return!!o})},Qfe=function(e,t,o,r){var n=Kfe(t,Array.isArray(e)?e:[e]);S4[o]||(S4[o]=new WeakMap);var a=S4[o],s=[],i=new Set,l=new Set(n),c=function(m){!m||i.has(m)||(i.add(m),c(m.parentNode))};n.forEach(c);var u=function(m){!m||l.has(m)||Array.prototype.forEach.call(m.children,function(f){if(i.has(f))u(f);else try{var d=f.getAttribute(r),p=d!==null&&d!=="false",h=(d0.get(f)||0)+1,S=(a.get(f)||0)+1;d0.set(f,h),a.set(f,S),s.push(f),h===1&&p&&y4.set(f,!0),S===1&&f.setAttribute(o,"true"),p||f.setAttribute(r,"true")}catch(g){console.error("aria-hidden: cannot operate on ",f,g)}})};return u(t),i.clear(),C5++,function(){s.forEach(function(m){var f=d0.get(m)-1,d=a.get(m)-1;d0.set(m,f),a.set(m,d),f||(y4.has(m)||m.removeAttribute(r),y4.delete(m)),d||m.removeAttribute(o)}),C5--,C5||(d0=new WeakMap,d0=new WeakMap,y4=new WeakMap,S4={})}},NZ=function(e,t,o){o===void 0&&(o="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),n=t||Yfe(e);return n?(r.push.apply(r,Array.from(n.querySelectorAll("[aria-live], script"))),Qfe(r,n,o,"aria-hidden")):function(){return null}};var Xr=k(F(),1);var I4=k(F(),1),Jfe=Object.defineProperty,ede=(e,t,o)=>t in e?Jfe(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o,tde=(e,t,o)=>(ede(e,typeof t!="symbol"?t+"":t,o),o),w5=class{constructor(){tde(this,"modals"),this.modals=new Set}add(t){return this.modals.add(t),this.modals.size}remove(t){this.modals.delete(t)}isTopModal(t){if(!t)return!1;let o=Array.from(this.modals)[this.modals.size-1];return t===o}},x4=new w5;function v4(e,t){let[o,r]=(0,I4.useState)(0);return(0,I4.useEffect)(()=>{let n=e.current;if(n){if(t){let a=x4.add(n);r(a)}return()=>{x4.remove(n),r(0)}}},[t,e]),o}function zZ(e){let{isOpen:t,onClose:o,id:r,closeOnOverlayClick:n=!0,closeOnEsc:a=!0,useInert:s=!0,onOverlayClick:i,onEsc:l}=e,c=(0,Xr.useRef)(null),u=(0,Xr.useRef)(null),[m,f,d]=rde(r,"chakra-modal","chakra-modal--header","chakra-modal--body");ode(c,t&&s);let p=v4(c,t),h=(0,Xr.useRef)(null),S=(0,Xr.useCallback)(B=>{h.current=B.target},[]),g=(0,Xr.useCallback)(B=>{B.key==="Escape"&&(B.stopPropagation(),a&&o?.(),l?.())},[a,o,l]),[b,I]=(0,Xr.useState)(!1),[v,C]=(0,Xr.useState)(!1),T=(0,Xr.useCallback)((B={},L=null)=>({role:"dialog",...B,ref:uo(L,c),id:m,tabIndex:-1,"aria-modal":!0,"aria-labelledby":b?f:void 0,"aria-describedby":v?d:void 0,onClick:ze(B.onClick,_=>_.stopPropagation())}),[d,v,m,f,b]),w=(0,Xr.useCallback)(B=>{B.stopPropagation(),h.current===B.target&&x4.isTopModal(c.current)&&(n&&o?.(),i?.())},[o,n,i]),E=(0,Xr.useCallback)((B={},L=null)=>({...B,ref:uo(L,u),onClick:ze(B.onClick,w),onKeyDown:ze(B.onKeyDown,g),onMouseDown:ze(B.onMouseDown,S)}),[g,S,w]);return{isOpen:t,onClose:o,headerId:f,bodyId:d,setBodyMounted:C,setHeaderMounted:I,dialogRef:c,overlayRef:u,getDialogProps:T,getDialogContainerProps:E,index:p}}function ode(e,t){let o=e.current;(0,Xr.useEffect)(()=>{if(!(!e.current||!t))return NZ(e.current)},[t,e,o])}function rde(e,...t){let o=(0,Xr.useId)(),r=e||o;return(0,Xr.useMemo)(()=>t.map(n=>`${n}-${r}`),[r,t])}var[nde,Bi]=$e({name:"ModalStylesContext",errorMessage:`useModalStyles returned is 'undefined'. Seems you forgot to wrap the components in "<Modal />" `}),[ade,Is]=$e({strict:!0,name:"ModalContext",errorMessage:"useModalContext: `context` is undefined. Seems you forgot to wrap modal components in `<Modal />`"}),T5=e=>{let t={scrollBehavior:"outside",autoFocus:!0,trapFocus:!0,returnFocusOnClose:!0,blockScrollOnMount:!0,allowPinchZoom:!1,preserveScrollBarGap:!0,motionPreset:"scale",...e,lockFocusAcrossFrames:e.lockFocusAcrossFrames??!0},{portalProps:o,children:r,autoFocus:n,trapFocus:a,initialFocusRef:s,finalFocusRef:i,returnFocusOnClose:l,blockScrollOnMount:c,allowPinchZoom:u,preserveScrollBarGap:m,motionPreset:f,lockFocusAcrossFrames:d,animatePresenceProps:p,onCloseComplete:h}=t,S=To("Modal",t),b={...zZ(t),autoFocus:n,trapFocus:a,initialFocusRef:s,finalFocusRef:i,returnFocusOnClose:l,blockScrollOnMount:c,allowPinchZoom:u,preserveScrollBarGap:m,motionPreset:f,lockFocusAcrossFrames:d};return(0,X1.jsx)(ade,{value:b,children:(0,X1.jsx)(nde,{value:S,children:(0,X1.jsx)(Gs,{...p,onExitComplete:h,children:b.isOpen&&(0,X1.jsx)(Ol,{...o,children:r})})})})};T5.displayName="Modal";var H5=k(re(),1);var tj=k(F(),1);var T4=k(F());var Bn=k(F());var Ym="right-scroll-bar-position",Km="width-before-scroll-bar",A5="with-scroll-bars-hidden",k5="--removed-body-scroll-bar-size";var C4=_1();var M5=function(){},Y1=Bn.forwardRef(function(e,t){var o=Bn.useRef(null),r=Bn.useState({onScrollCapture:M5,onWheelCapture:M5,onTouchMoveCapture:M5}),n=r[0],a=r[1],s=e.forwardProps,i=e.children,l=e.className,c=e.removeScrollBar,u=e.enabled,m=e.shards,f=e.sideCar,d=e.noRelative,p=e.noIsolation,h=e.inert,S=e.allowPinchZoom,g=e.as,b=g===void 0?"div":g,I=e.gapMode,v=$I(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),C=f,T=D1([o,t]),w=ua(ua({},v),n);return Bn.createElement(Bn.Fragment,null,u&&Bn.createElement(C,{sideCar:C4,removeScrollBar:c,shards:m,noRelative:d,noIsolation:p,inert:h,setCallbacks:a,allowPinchZoom:!!S,lockRef:o,gapMode:I}),s?Bn.cloneElement(Bn.Children.only(i),ua(ua({},w),{ref:T})):Bn.createElement(b,ua({},w,{className:l,ref:T}),i))});Y1.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};Y1.classNames={fullWidth:Km,zeroRight:Ym};var io=k(F());var h0=k(F());var ZZ=k(F());var WZ;var UZ=function(){if(WZ)return WZ;if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function sde(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=UZ();return t&&e.setAttribute("nonce",t),e}function ide(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function lde(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var L5=function(){var e=0,t=null;return{add:function(o){e==0&&(t=sde())&&(ide(t,o),lde(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}};var P5=function(){var e=L5();return function(t,o){ZZ.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&o])}};var K1=function(){var e=P5(),t=function(o){var r=o.styles,n=o.dynamic;return e(r,n),null};return t};var cde={left:0,top:0,right:0,gap:0},E5=function(e){return parseInt(e||"",10)||0},ude=function(e){var t=window.getComputedStyle(document.body),o=t[e==="padding"?"paddingLeft":"marginLeft"],r=t[e==="padding"?"paddingTop":"marginTop"],n=t[e==="padding"?"paddingRight":"marginRight"];return[E5(o),E5(r),E5(n)]},B5=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return cde;var t=ude(e),o=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-o+t[2]-t[0])}};var mde=K1(),p0="data-scroll-locked",fde=function(e,t,o,r){var n=e.left,a=e.top,s=e.right,i=e.gap;return o===void 0&&(o="margin"),`
|
|
1146
|
+
.`.concat(A5,` {
|
|
1147
|
+
overflow: hidden `).concat(r,`;
|
|
1148
|
+
padding-right: `).concat(i,"px ").concat(r,`;
|
|
1149
|
+
}
|
|
1150
|
+
body[`).concat(p0,`] {
|
|
1151
|
+
overflow: hidden `).concat(r,`;
|
|
1152
|
+
overscroll-behavior: contain;
|
|
1153
|
+
`).concat([t&&"position: relative ".concat(r,";"),o==="margin"&&`
|
|
1154
|
+
padding-left: `.concat(n,`px;
|
|
1155
|
+
padding-top: `).concat(a,`px;
|
|
1156
|
+
padding-right: `).concat(s,`px;
|
|
1157
|
+
margin-left:0;
|
|
1158
|
+
margin-top:0;
|
|
1159
|
+
margin-right: `).concat(i,"px ").concat(r,`;
|
|
1160
|
+
`),o==="padding"&&"padding-right: ".concat(i,"px ").concat(r,";")].filter(Boolean).join(""),`
|
|
1161
|
+
}
|
|
1162
|
+
|
|
1163
|
+
.`).concat(Ym,` {
|
|
1164
|
+
right: `).concat(i,"px ").concat(r,`;
|
|
1165
|
+
}
|
|
1166
|
+
|
|
1167
|
+
.`).concat(Km,` {
|
|
1168
|
+
margin-right: `).concat(i,"px ").concat(r,`;
|
|
1169
|
+
}
|
|
1170
|
+
|
|
1171
|
+
.`).concat(Ym," .").concat(Ym,` {
|
|
1172
|
+
right: 0 `).concat(r,`;
|
|
1173
|
+
}
|
|
1174
|
+
|
|
1175
|
+
.`).concat(Km," .").concat(Km,` {
|
|
1176
|
+
margin-right: 0 `).concat(r,`;
|
|
1177
|
+
}
|
|
1178
|
+
|
|
1179
|
+
body[`).concat(p0,`] {
|
|
1180
|
+
`).concat(k5,": ").concat(i,`px;
|
|
1181
|
+
}
|
|
1182
|
+
`)},jZ=function(){var e=parseInt(document.body.getAttribute(p0)||"0",10);return isFinite(e)?e:0},dde=function(){h0.useEffect(function(){return document.body.setAttribute(p0,(jZ()+1).toString()),function(){var e=jZ()-1;e<=0?document.body.removeAttribute(p0):document.body.setAttribute(p0,e.toString())}},[])},D5=function(e){var t=e.noRelative,o=e.noImportant,r=e.gapMode,n=r===void 0?"margin":r;dde();var a=h0.useMemo(function(){return B5(n)},[n]);return h0.createElement(mde,{styles:fde(a,!t,n,o?"":"!important")})};var R5=!1;if(typeof window<"u")try{Q1=Object.defineProperty({},"passive",{get:function(){return R5=!0,!0}}),window.addEventListener("test",Q1,Q1),window.removeEventListener("test",Q1,Q1)}catch{R5=!1}var Q1,Qm=R5?{passive:!1}:!1;var pde=function(e){return e.tagName==="TEXTAREA"},GZ=function(e,t){if(!(e instanceof Element))return!1;var o=window.getComputedStyle(e);return o[t]!=="hidden"&&!(o.overflowY===o.overflowX&&!pde(e)&&o[t]==="visible")},hde=function(e){return GZ(e,"overflowY")},gde=function(e){return GZ(e,"overflowX")},_5=function(e,t){var o=t.ownerDocument,r=t;do{typeof ShadowRoot<"u"&&r instanceof ShadowRoot&&(r=r.host);var n=$Z(e,r);if(n){var a=qZ(e,r),s=a[1],i=a[2];if(s>i)return!0}r=r.parentNode}while(r&&r!==o.body);return!1},bde=function(e){var t=e.scrollTop,o=e.scrollHeight,r=e.clientHeight;return[t,o,r]},yde=function(e){var t=e.scrollLeft,o=e.scrollWidth,r=e.clientWidth;return[t,o,r]},$Z=function(e,t){return e==="v"?hde(t):gde(t)},qZ=function(e,t){return e==="v"?bde(t):yde(t)},Sde=function(e,t){return e==="h"&&t==="rtl"?-1:1},XZ=function(e,t,o,r,n){var a=Sde(e,window.getComputedStyle(t).direction),s=a*r,i=o.target,l=t.contains(i),c=!1,u=s>0,m=0,f=0;do{if(!i)break;var d=qZ(e,i),p=d[0],h=d[1],S=d[2],g=h-S-a*p;(p||g)&&$Z(e,i)&&(m+=g,f+=p);var b=i.parentNode;i=b&&b.nodeType===Node.DOCUMENT_FRAGMENT_NODE?b.host:b}while(!l&&i!==document.body||l&&(t.contains(i)||t===i));return(u&&(n&&Math.abs(m)<1||!n&&s>m)||!u&&(n&&Math.abs(f)<1||!n&&-s>f))&&(c=!0),c};var w4=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},YZ=function(e){return[e.deltaX,e.deltaY]},KZ=function(e){return e&&"current"in e?e.current:e},xde=function(e,t){return e[0]===t[0]&&e[1]===t[1]},Ide=function(e){return`
|
|
1183
|
+
.block-interactivity-`.concat(e,` {pointer-events: none;}
|
|
1184
|
+
.allow-interactivity-`).concat(e,` {pointer-events: all;}
|
|
1185
|
+
`)},vde=0,g0=[];function QZ(e){var t=io.useRef([]),o=io.useRef([0,0]),r=io.useRef(),n=io.useState(vde++)[0],a=io.useState(K1)[0],s=io.useRef(e);io.useEffect(function(){s.current=e},[e]),io.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(n));var h=sU([e.lockRef.current],(e.shards||[]).map(KZ),!0).filter(Boolean);return h.forEach(function(S){return S.classList.add("allow-interactivity-".concat(n))}),function(){document.body.classList.remove("block-interactivity-".concat(n)),h.forEach(function(S){return S.classList.remove("allow-interactivity-".concat(n))})}}},[e.inert,e.lockRef.current,e.shards]);var i=io.useCallback(function(h,S){if("touches"in h&&h.touches.length===2||h.type==="wheel"&&h.ctrlKey)return!s.current.allowPinchZoom;var g=w4(h),b=o.current,I="deltaX"in h?h.deltaX:b[0]-g[0],v="deltaY"in h?h.deltaY:b[1]-g[1],C,T=h.target,w=Math.abs(I)>Math.abs(v)?"h":"v";if("touches"in h&&w==="h"&&T.type==="range")return!1;var E=window.getSelection(),B=E&&E.anchorNode,L=B?B===T||B.contains(T):!1;if(L)return!1;var _=_5(w,T);if(!_)return!0;if(_?C=w:(C=w==="v"?"h":"v",_=_5(w,T)),!_)return!1;if(!r.current&&"changedTouches"in h&&(I||v)&&(r.current=C),!C)return!0;var j=r.current||C;return XZ(j,S,h,j==="h"?I:v,!0)},[]),l=io.useCallback(function(h){var S=h;if(!(!g0.length||g0[g0.length-1]!==a)){var g="deltaY"in S?YZ(S):w4(S),b=t.current.filter(function(C){return C.name===S.type&&(C.target===S.target||S.target===C.shadowParent)&&xde(C.delta,g)})[0];if(b&&b.should){S.cancelable&&S.preventDefault();return}if(!b){var I=(s.current.shards||[]).map(KZ).filter(Boolean).filter(function(C){return C.contains(S.target)}),v=I.length>0?i(S,I[0]):!s.current.noIsolation;v&&S.cancelable&&S.preventDefault()}}},[]),c=io.useCallback(function(h,S,g,b){var I={name:h,delta:S,target:g,should:b,shadowParent:Cde(g)};t.current.push(I),setTimeout(function(){t.current=t.current.filter(function(v){return v!==I})},1)},[]),u=io.useCallback(function(h){o.current=w4(h),r.current=void 0},[]),m=io.useCallback(function(h){c(h.type,YZ(h),h.target,i(h,e.lockRef.current))},[]),f=io.useCallback(function(h){c(h.type,w4(h),h.target,i(h,e.lockRef.current))},[]);io.useEffect(function(){return g0.push(a),e.setCallbacks({onScrollCapture:m,onWheelCapture:m,onTouchMoveCapture:f}),document.addEventListener("wheel",l,Qm),document.addEventListener("touchmove",l,Qm),document.addEventListener("touchstart",u,Qm),function(){g0=g0.filter(function(h){return h!==a}),document.removeEventListener("wheel",l,Qm),document.removeEventListener("touchmove",l,Qm),document.removeEventListener("touchstart",u,Qm)}},[]);var d=e.removeScrollBar,p=e.inert;return io.createElement(io.Fragment,null,p?io.createElement(a,{styles:Ide(n)}):null,d?io.createElement(D5,{noRelative:e.noRelative,gapMode:e.gapMode}):null)}function Cde(e){for(var t=null;e!==null;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}var JZ=Bk(C4,QZ);var ej=T4.forwardRef(function(e,t){return T4.createElement(Y1,ua({},e,{ref:t,sideCar:JZ}))});ej.classNames=Y1.classNames;var F5=ej;function oj(e){let{autoFocus:t,trapFocus:o,dialogRef:r,initialFocusRef:n,blockScrollOnMount:a,allowPinchZoom:s,finalFocusRef:i,returnFocusOnClose:l,preserveScrollBarGap:c,lockFocusAcrossFrames:u,isOpen:m}=Is(),[f,d]=vm();(0,tj.useEffect)(()=>{!f&&d&&setTimeout(d)},[f,d]);let p=v4(r,m);return(0,H5.jsx)(n5,{autoFocus:t,isDisabled:!o,initialFocusRef:n,finalFocusRef:i,restoreFocus:l,contentRef:r,lockFocusAcrossFrames:u,children:(0,H5.jsx)(F5,{removeScrollBar:!c,allowPinchZoom:s,enabled:p===1&&a,forwardProps:!0,children:e.children})})}var rj=k(re(),1);var nj=k(F(),1);var b0=le((e,t)=>{let{className:o,...r}=e,{bodyId:n,setBodyMounted:a}=Is();(0,nj.useEffect)(()=>(a(!0),()=>a(!1)),[a]);let s=xe("chakra-modal__body",o),i=Bi();return(0,rj.jsx)(Y.div,{ref:t,className:s,id:n,...r,__css:i.body})});b0.displayName="ModalBody";var aj=k(re(),1);var y0=le((e,t)=>{let{onClick:o,className:r,...n}=e,{onClose:a}=Is(),s=xe("chakra-modal__close-btn",r),i=Bi();return(0,aj.jsx)(C1,{ref:t,__css:i.closeButton,className:s,onClick:ze(o,l=>{l.stopPropagation(),a()}),...n})});y0.displayName="ModalCloseButton";var sj=k(re(),1);var ij=k(F(),1);var S0=le((e,t)=>{let{className:o,...r}=e,{headerId:n,setHeaderMounted:a}=Is();(0,ij.useEffect)(()=>(a(!0),()=>a(!1)),[a]);let s=xe("chakra-modal__header",o),i=Bi(),l={flex:0,...i.header};return(0,sj.jsx)(Y.header,{ref:t,className:s,id:n,...r,__css:l})});S0.displayName="ModalHeader";var cj=k(re(),1);var O5=k(re(),1);var lj=k(F(),1);var wde={enter:({transition:e,transitionEnd:t,delay:o}={})=>({opacity:1,transition:e?.enter??Gp.enter(Ik.enter,o),transitionEnd:t?.enter}),exit:({transition:e,transitionEnd:t,delay:o}={})=>({opacity:0,transition:e?.exit??Gp.exit(Ik.exit,o),transitionEnd:t?.exit})},V5={initial:"exit",animate:"enter",exit:"exit",variants:wde},Tde=(0,lj.forwardRef)(function(t,o){let{unmountOnExit:r,in:n,className:a,transition:s,transitionEnd:i,delay:l,animatePresenceProps:c,...u}=t,m=n||r?"enter":"exit",f=r?n&&r:!0,d={transition:s,transitionEnd:i,delay:l};return(0,O5.jsx)(Gs,{...c,custom:d,children:f&&(0,O5.jsx)(qs.div,{ref:o,className:xe("chakra-fade",a),custom:d,...V5,animate:m,...u})})});Tde.displayName="Fade";var Ade=Y(qs.div),x0=le((e,t)=>{let{className:o,transition:r,motionProps:n,...a}=e,s=xe("chakra-modal__overlay",o),l={pos:"fixed",left:"0",top:"0",w:"100vw",h:"100vh",...Bi().overlay},{motionPreset:c}=Is();return(0,cj.jsx)(Ade,{...n||(c==="none"?{}:V5),__css:l,ref:t,className:s,...a})});x0.displayName="ModalOverlay";var N5=k(re(),1);var[kde,z5]=$e(),Mde={start:{ltr:"left",rtl:"right"},end:{ltr:"right",rtl:"left"}};function Lde(e,t){if(e)return Mde[e]?.[t]??e}function W5(e){let{isOpen:t,onClose:o,placement:r="right",children:n,...a}=e,s=Fl(),i=s.components?.Drawer,l=Lde(r,s.direction);return(0,N5.jsx)(kde,{value:{placement:l},children:(0,N5.jsx)(T5,{isOpen:t,onClose:o,styleConfig:i,...a,children:n})})}var A4=k(re(),1);var U5=k(re(),1);var mj=k(F(),1);var uj={exit:{duration:.15,ease:BI.easeInOut},enter:{type:"spring",damping:25,stiffness:180}},Pde={exit:({direction:e,transition:t,transitionEnd:o,delay:r})=>{let{exit:n}=DI({direction:e});return{...n,transition:t?.exit??Gp.exit(uj.exit,r),transitionEnd:o?.exit}},enter:({direction:e,transitionEnd:t,transition:o,delay:r})=>{let{enter:n}=DI({direction:e});return{...n,transition:o?.enter??Gp.enter(uj.enter,r),transitionEnd:t?.enter}}},Z5=(0,mj.forwardRef)(function(t,o){let{direction:r="right",style:n,unmountOnExit:a,in:s,className:i,transition:l,transitionEnd:c,delay:u,motionProps:m,animatePresenceProps:f,...d}=t,p=DI({direction:r}),h=Object.assign({position:"fixed"},p.position,n),S=a?s&&a:!0,g=s||a?"enter":"exit",b={transitionEnd:c,transition:l,direction:r,delay:u};return(0,U5.jsx)(Gs,{...f,custom:b,children:S&&(0,U5.jsx)(qs.div,{...d,ref:o,initial:"exit",className:xe("chakra-slide",i),animate:g,exit:"exit",custom:b,variants:Pde,style:h,...m})})});Z5.displayName="Slide";var Ede=Y(Z5),k4=le((e,t)=>{let{className:o,children:r,motionProps:n,containerProps:a,...s}=e,{getDialogProps:i,getDialogContainerProps:l,isOpen:c}=Is(),u=i(s,t),m=l(a),f=xe("chakra-modal__content",o),d=Bi(),p={display:"flex",flexDirection:"column",position:"relative",width:"100%",outline:0,...d.dialog},h={display:"flex",width:"100vw",height:"$100vh",position:"fixed",left:0,top:0,...d.dialogContainer},{placement:S}=z5();return(0,A4.jsx)(oj,{children:(0,A4.jsx)(Y.div,{...m,className:"chakra-modal__content-container",__css:h,children:(0,A4.jsx)(Ede,{motionProps:n,direction:S,in:c,className:f,...u,__css:p,children:r})})})});k4.displayName="DrawerContent";var fj=k(F(),1);function dj(e){let t=fj.version;return typeof t!="string"||t.startsWith("18.")?e?.ref:e?.props?.ref}function Bde(e,t,o){return(e-t)*100/(o-t)}var TYe=js({"0%":{strokeDasharray:"1, 400",strokeDashoffset:"0"},"50%":{strokeDasharray:"400, 400",strokeDashoffset:"-100"},"100%":{strokeDasharray:"400, 400",strokeDashoffset:"-260"}}),AYe=js({"0%":{transform:"rotate(0deg)"},"100%":{transform:"rotate(360deg)"}}),pj=js({"0%":{left:"-40%"},"100%":{left:"100%"}}),hj=js({from:{backgroundPosition:"1rem 0"},to:{backgroundPosition:"0 0"}});function gj(e){let{value:t=0,min:o,max:r,valueText:n,getValueText:a,isIndeterminate:s,role:i="progressbar"}=e,l=Bde(t,o,r);return{bind:{"data-indeterminate":s?"":void 0,"aria-valuemax":r,"aria-valuemin":o,"aria-valuenow":s?void 0:t,"aria-valuetext":(()=>{if(t!=null)return typeof a=="function"?a(t,l):n})(),role:i},percent:l,value:t}}var I0=k(re(),1);var[Dde,bj]=$e({name:"ProgressStylesContext",errorMessage:`useProgressStyles returned is 'undefined'. Seems you forgot to wrap the components in "<Progress />" `}),Rde=le((e,t)=>{let{min:o,max:r,value:n,isIndeterminate:a,role:s,...i}=e,l=gj({value:n,min:o,max:r,isIndeterminate:a,role:s}),u={height:"100%",...bj().filledTrack};return(0,I0.jsx)(Y.div,{ref:t,style:{width:`${l.percent}%`,...i.style},...l.bind,...i,__css:u})}),fa=le((e,t)=>{let{value:o,min:r=0,max:n=100,hasStripe:a,isAnimated:s,children:i,borderRadius:l,isIndeterminate:c,"aria-label":u,"aria-labelledby":m,"aria-valuetext":f,title:d,role:p,...h}=qe(e),S=To("Progress",e),g=l??S.track?.borderRadius,b={animation:`${hj} 1s linear infinite`},C={...!c&&a&&s&&b,...c&&{position:"absolute",willChange:"left",minWidth:"50%",animation:`${pj} 1s ease infinite normal none running`}},T={overflow:"hidden",position:"relative",...S.track};return(0,I0.jsx)(Y.div,{ref:t,borderRadius:g,__css:T,...h,children:(0,I0.jsxs)(Dde,{value:S,children:[(0,I0.jsx)(Rde,{"aria-label":u,"aria-labelledby":m,"aria-valuetext":f,min:r,max:n,value:o,isIndeterminate:c,css:C,borderRadius:g,title:d,role:p}),i]})})});fa.displayName="Progress";var v0=k(re(),1);var j5=k(re(),1);var Sj=k(F(),1);var ei=k(F(),1);function _de(e){return e&&Et(e)&&Et(e.target)}function yj(e={}){let{onChange:t,value:o,defaultValue:r,name:n,isDisabled:a,isFocusable:s,isNative:i,...l}=e,[c,u]=(0,ei.useState)(r||""),m=typeof o<"u",f=m?o:c,d=(0,ei.useRef)(null),p=(0,ei.useCallback)(()=>{let C=d.current;if(!C)return;let T="input:not(:disabled):checked",w=C.querySelector(T);if(w){w.focus();return}T="input:not(:disabled)",C.querySelector(T)?.focus()},[]),S=`radio-${(0,ei.useId)()}`,g=n||S,b=(0,ei.useCallback)(C=>{let T=_de(C)?C.target.value:C;m||u(T),t?.(String(T))},[t,m]),I=(0,ei.useCallback)((C={},T=null)=>({...C,ref:uo(T,d),role:"radiogroup"}),[]),v=(0,ei.useCallback)((C={},T=null)=>({...C,ref:T,name:g,[i?"checked":"isChecked"]:f!=null?C.value===f:void 0,onChange(E){b(E)},"data-radiogroup":!0}),[i,g,b,f]);return{getRootProps:I,getRadioProps:v,name:g,ref:d,focus:p,setValue:u,value:f,onChange:b,isDisabled:a,isFocusable:s,htmlProps:l}}var[Fde,J1]=$e({name:"RadioGroupContext",strict:!1}),M4=le((e,t)=>{let{colorScheme:o,size:r,variant:n,children:a,className:s,isDisabled:i,isFocusable:l,...c}=e,{value:u,onChange:m,getRootProps:f,name:d,htmlProps:p}=yj(c),h=(0,Sj.useMemo)(()=>({name:d,size:r,onChange:m,colorScheme:o,value:u,variant:n,isDisabled:i,isFocusable:l}),[d,r,m,o,u,n,i,l]);return(0,j5.jsx)(Fde,{value:h,children:(0,j5.jsx)(Y.div,{...f(p,t),className:xe("chakra-radio-group",s),children:a})})});M4.displayName="RadioGroup";var wn=k(F(),1);function xj(e={}){let{defaultChecked:t,isChecked:o,isFocusable:r,isDisabled:n,isReadOnly:a,isRequired:s,onChange:i,isInvalid:l,name:c,value:u,id:m,"data-radiogroup":f,"aria-describedby":d,...p}=e,h=`radio-${(0,wn.useId)()}`,S=Vl(),b=!!J1()||!!f,v=!!S&&!b?S.id:h;v=m??v;let C=n??S?.isDisabled,T=a??S?.isReadOnly,w=s??S?.isRequired,E=l??S?.isInvalid,[B,L]=(0,wn.useState)(!1),[_,j]=(0,wn.useState)(!1),[ne,K]=(0,wn.useState)(!1),[ie,se]=(0,wn.useState)(!!t),W=typeof o<"u",de=W?o:ie,q=(0,wn.useRef)(!1);(0,wn.useEffect)(()=>VI(ue=>{q.current=ue}),[]);let fe=(0,wn.useCallback)(ue=>{if(T||C){ue.preventDefault();return}W||se(ue.currentTarget.checked),i?.(ue)},[W,C,T,i]),he=(0,wn.useCallback)(ue=>{ue.key===" "&&K(!0)},[K]),ge=(0,wn.useCallback)(ue=>{ue.key===" "&&K(!1)},[K]),J=(0,wn.useCallback)((ue={},Ce=null)=>({...ue,ref:Ce,"data-active":Le(ne),"data-hover":Le(_),"data-disabled":Le(C),"data-invalid":Le(E),"data-checked":Le(de),"data-focus":Le(B),"data-focus-visible":Le(B&&q.current),"data-readonly":Le(T),"aria-hidden":!0,onMouseDown:ze(ue.onMouseDown,()=>K(!0)),onMouseUp:ze(ue.onMouseUp,()=>K(!1)),onMouseEnter:ze(ue.onMouseEnter,()=>j(!0)),onMouseLeave:ze(ue.onMouseLeave,()=>j(!1))}),[ne,_,C,E,de,B,T]),{onFocus:X,onBlur:ee}=S??{},pe=(0,wn.useCallback)((ue={},Ce=null)=>{let ye=C&&!r;return{...ue,id:v,ref:Ce,type:"radio",name:c,value:u,onChange:ze(ue.onChange,fe),onBlur:ze(ee,ue.onBlur,()=>L(!1)),onFocus:ze(X,ue.onFocus,()=>L(!0)),onKeyDown:ze(ue.onKeyDown,he),onKeyUp:ze(ue.onKeyUp,ge),checked:de,disabled:ye,readOnly:T,required:w,"aria-invalid":dl(E),"aria-disabled":dl(ye),"aria-required":dl(w),"data-readonly":Le(T),"aria-describedby":d,style:zI}},[C,r,v,c,u,fe,ee,X,he,ge,de,T,w,E,d]);return{state:{isInvalid:E,isFocused:B,isChecked:de,isActive:ne,isHovered:_,isDisabled:C,isReadOnly:T,isRequired:w},getRadioProps:J,getInputProps:pe,getLabelProps:(ue={},Ce=null)=>({...ue,ref:Ce,onMouseDown:ze(ue.onMouseDown,Hde),"data-disabled":Le(C),"data-checked":Le(de),"data-invalid":Le(E)}),getRootProps:(ue,Ce=null)=>({htmlFor:v,...ue,ref:Ce,"data-disabled":Le(C),"data-checked":Le(de),"data-invalid":Le(E)}),htmlProps:p}}function Hde(e){e.preventDefault(),e.stopPropagation()}var L4=le((e,t)=>{let o=J1(),{onChange:r,value:n}=e,a=To("Radio",{...o,...e}),s=qe(e),{spacing:i="0.5rem",children:l,isDisabled:c=o?.isDisabled,isFocusable:u=o?.isFocusable,inputProps:m,...f}=s,d=e.isChecked;o?.value!=null&&n!=null&&(d=o.value===n);let p=r;o?.onChange&&n!=null&&(p=pg(o.onChange,r));let h=e?.name??o?.name,{getInputProps:S,getRadioProps:g,getLabelProps:b,getRootProps:I,htmlProps:v}=xj({...f,isChecked:d,isFocusable:u,isDisabled:c,onChange:p,name:h}),[C,T]=u3(v,P3),w=g(T),E=S(m,t),B=b(),L=Object.assign({},C,I()),_={display:"inline-flex",alignItems:"center",verticalAlign:"top",cursor:"pointer",position:"relative",...a.container},j={display:"inline-flex",alignItems:"center",justifyContent:"center",flexShrink:0,...a.control},ne={userSelect:"none",marginStart:i,...a.label};return(0,v0.jsxs)(Y.label,{className:"chakra-radio",...L,__css:_,children:[(0,v0.jsx)("input",{className:"chakra-radio__input",...E}),(0,v0.jsx)(Y.span,{className:"chakra-radio__control",...w,__css:j}),l&&(0,v0.jsx)(Y.span,{className:"chakra-radio__label",...B,__css:ne,children:l})]})});L4.displayName="Radio";var Cj=k(re(),1);var e2=k(re(),1);var Jm=k(F(),1);var Ij=k(re(),1);var G5=e=>(0,Ij.jsx)(Y.div,{className:"chakra-stack__item",...e,__css:{display:"inline-block",flex:"0 0 auto",minWidth:0,...e.__css}});G5.displayName="StackItem";function vj(e){let{spacing:t,direction:o}=e,r={column:{my:t,mx:0,borderLeftWidth:0,borderBottomWidth:"1px"},"column-reverse":{my:t,mx:0,borderLeftWidth:0,borderBottomWidth:"1px"},row:{mx:t,my:0,borderLeftWidth:"1px",borderBottomWidth:0},"row-reverse":{mx:t,my:0,borderLeftWidth:"1px",borderBottomWidth:0}};return{"&":Id(o,n=>r[n])}}var z=le((e,t)=>{let{isInline:o,direction:r,align:n,justify:a,spacing:s="0.5rem",wrap:i,children:l,divider:c,className:u,shouldWrapChildren:m,...f}=e,d=o?"row":r??"column",p=(0,Jm.useMemo)(()=>vj({spacing:s,direction:d}),[s,d]),h=!!c,S=!m&&!h,g=(0,Jm.useMemo)(()=>{let I=am(l);return S?I:I.map((v,C)=>{let T=typeof v.key<"u"?v.key:C,w=C+1===I.length,B=m?(0,e2.jsx)(G5,{children:v},T):v;if(!h)return B;let L=(0,Jm.cloneElement)(c,{__css:p});return(0,e2.jsxs)(Jm.Fragment,{children:[B,w?null:L]},T)})},[c,p,h,S,m,l]),b=xe("chakra-stack",u);return(0,e2.jsx)(Y.div,{ref:t,display:"flex",alignItems:n,justifyContent:a,flexDirection:d,flexWrap:i,gap:h?void 0:s,className:b,...f,children:g})});z.displayName="Stack";var Z=le((e,t)=>(0,Cj.jsx)(z,{align:"center",...e,direction:"row",ref:t}));Z.displayName="HStack";var $5=k(re(),1);var[Ode,ti]=$e({name:"TableStylesContext",errorMessage:`useTableStyles returned is 'undefined'. Seems you forgot to wrap the components in "<Table />" `}),ja=le((e,t)=>{let o=To("Table",e),{className:r,layout:n,...a}=qe(e);return(0,$5.jsx)(Ode,{value:o,children:(0,$5.jsx)(Y.table,{ref:t,__css:{tableLayout:n,...o.table},className:xe("chakra-table",r),...a})})});ja.displayName="Table";var wj=k(re(),1);var vs=le((e,t)=>{let o=ti();return(0,wj.jsx)(Y.tbody,{...e,ref:t,__css:o.tbody})});var Tj=k(re(),1);var Te=le(({isNumeric:e,...t},o)=>{let r=ti();return(0,Tj.jsx)(Y.td,{...t,ref:o,__css:r.td,"data-is-numeric":e})});var Aj=k(re(),1);var Ee=le(({isNumeric:e,...t},o)=>{let r=ti();return(0,Aj.jsx)(Y.th,{...t,ref:o,__css:r.th,"data-is-numeric":e})});var kj=k(re(),1);var Cs=le((e,t)=>{let o=ti();return(0,kj.jsx)(Y.thead,{...e,ref:t,__css:o.thead})});var Mj=k(re(),1);var bo=le((e,t)=>{let o=ti();return(0,Mj.jsx)(Y.tr,{...e,ref:t,__css:o.tr})});var Vj=k(re(),1);var t2=k(re(),1);var Oj=k(F(),1);var ws=k(F(),1);var[Lj,Vde,Nde,zde]=TW();function Pj(e){let{defaultIndex:t,onChange:o,index:r,isManual:n,isLazy:a,lazyBehavior:s="unmount",orientation:i="horizontal",direction:l="ltr",...c}=e,[u,m]=(0,ws.useState)(t??0),[f,d]=C3({defaultValue:t??0,value:r,onChange:o});(0,ws.useEffect)(()=>{r!=null&&m(r)},[r]);let p=Nde(),h=(0,ws.useId)();return{id:`tabs-${e.id??h}`,selectedIndex:f,focusedIndex:u,setSelectedIndex:d,setFocusedIndex:m,isManual:n,isLazy:a,lazyBehavior:s,orientation:i,descendants:p,direction:l,htmlProps:c}}var[Ej,P4]=$e({name:"TabsContext",errorMessage:"useTabsContext: `context` is undefined. Seems you forgot to wrap all tabs components within <Tabs />"});function Bj(e){let{focusedIndex:t,orientation:o,direction:r}=P4(),n=Vde(),a=(0,ws.useCallback)(s=>{let i=()=>{let b=n.nextEnabled(t);b&&b.node?.focus()},l=()=>{let b=n.prevEnabled(t);b&&b.node?.focus()},c=()=>{let b=n.firstEnabled();b&&b.node?.focus()},u=()=>{let b=n.lastEnabled();b&&b.node?.focus()},m=o==="horizontal",f=o==="vertical",d=s.key,p=r==="ltr"?"ArrowLeft":"ArrowRight",h=r==="ltr"?"ArrowRight":"ArrowLeft",g={[p]:()=>m&&l(),[h]:()=>m&&i(),ArrowDown:()=>f&&i(),ArrowUp:()=>f&&l(),Home:c,End:u}[d];g&&(s.preventDefault(),g(s))},[n,t,o,r]);return{...e,role:"tablist","aria-orientation":o,onKeyDown:ze(e.onKeyDown,a)}}function Dj(e){let{isDisabled:t=!1,isFocusable:o=!1,...r}=e,{setSelectedIndex:n,isManual:a,id:s,setFocusedIndex:i,selectedIndex:l}=P4(),{index:c,register:u}=zde({disabled:t&&!o}),m=c===l,f=()=>{n(c)},d=()=>{i(c),!a&&!(t&&o)&&n(c)};return{...OZ({...r,ref:uo(u,e.ref),isDisabled:t,isFocusable:o,onClick:ze(e.onClick,f)}),id:Fj(s,c),role:"tab",tabIndex:m?0:-1,type:"button","aria-selected":m,"aria-controls":Hj(s,c),onFocus:t?void 0:ze(e.onFocus,d)}}var[Wde,Ude]=$e({});function Rj(e){let t=P4(),{id:o,selectedIndex:r}=t,a=am(e.children).map((s,i)=>(0,ws.createElement)(Wde,{key:s.key??i,value:{isSelected:i===r,id:Hj(o,i),tabId:Fj(o,i),selectedIndex:r}},s));return{...e,children:a}}function _j(e){let{children:t,...o}=e,{isLazy:r,lazyBehavior:n}=P4(),{isSelected:a,id:s,tabId:i}=Ude(),l=(0,ws.useRef)(!1);a&&(l.current=!0);let c=c3({wasSelected:l.current,isSelected:a,enabled:r,mode:n});return{tabIndex:0,...o,children:c?t:null,role:"tabpanel","aria-labelledby":i,hidden:!a,id:s}}function Fj(e,t){return`${e}--tab-${t}`}function Hj(e,t){return`${e}--tabpanel-${t}`}var[Zde,Zl]=$e({name:"TabsStylesContext",errorMessage:`useTabsStyles returned is 'undefined'. Seems you forgot to wrap the components in "<Tabs />" `}),Hr=le(function(t,o){let r=To("Tabs",t),{children:n,className:a,...s}=qe(t),{htmlProps:i,descendants:l,...c}=Pj(s),u=(0,Oj.useMemo)(()=>c,[c]),{isFitted:m,...f}=i,d={position:"relative",...r.root};return(0,t2.jsx)(Lj,{value:l,children:(0,t2.jsx)(Ej,{value:u,children:(0,t2.jsx)(Zde,{value:r,children:(0,t2.jsx)(Y.div,{className:xe("chakra-tabs",a),ref:o,...f,__css:d,children:n})})})})});Hr.displayName="Tabs";var nt=le(function(t,o){let r=Zl(),n=Dj({...t,ref:o}),a={outline:"0",display:"flex",alignItems:"center",justifyContent:"center",...r.tab};return(0,Vj.jsx)(Y.button,{...n,className:xe("chakra-tabs__tab",t.className),__css:a})});nt.displayName="Tab";var Nj=k(re(),1);var Or=le(function(t,o){let r=Bj({...t,ref:o}),n=Zl(),a={display:"flex",...n.tablist};return(0,Nj.jsx)(Y.div,{...r,className:xe("chakra-tabs__tablist",t.className),__css:a})});Or.displayName="TabList";var zj=k(re(),1);var Ke=le(function(t,o){let r=_j({...t,ref:o}),n=Zl();return(0,zj.jsx)(Y.div,{outline:"0",...r,className:xe("chakra-tabs__tab-panel",t.className),__css:n.tabpanel})});Ke.displayName="TabPanel";var Wj=k(re(),1);var Vr=le(function(t,o){let r=Rj(t),n=Zl();return(0,Wj.jsx)(Y.div,{...r,width:"100%",ref:o,className:xe("chakra-tabs__tab-panels",t.className),__css:n.tabpanels})});Vr.displayName="TabPanels";var Di=k(re(),1);var[jde,q5]=$e({name:"TagStylesContext",errorMessage:`useTagStyles returned is 'undefined'. Seems you forgot to wrap the components in "<Tag />" `}),o2=le((e,t)=>{let o=To("Tag",e),r=qe(e),n={display:"inline-flex",verticalAlign:"top",alignItems:"center",maxWidth:"100%",...o.container};return(0,Di.jsx)(jde,{value:o,children:(0,Di.jsx)(Y.span,{ref:t,...r,__css:n})})});o2.displayName="Tag";var r2=le((e,t)=>{let o=q5();return(0,Di.jsx)(Y.span,{ref:t,noOfLines:1,...e,__css:o.label})});r2.displayName="TagLabel";var Uj=le((e,t)=>(0,Di.jsx)(Ua,{ref:t,verticalAlign:"top",marginEnd:"0.5rem",...e}));Uj.displayName="TagLeftIcon";var Zj=le((e,t)=>(0,Di.jsx)(Ua,{ref:t,verticalAlign:"top",marginStart:"0.5rem",...e}));Zj.displayName="TagRightIcon";var jj=e=>(0,Di.jsx)(Ua,{verticalAlign:"inherit",viewBox:"0 0 512 512",...e,children:(0,Di.jsx)("path",{fill:"currentColor",d:"M289.94 256l95-95A24 24 0 00351 127l-95 95-95-95a24 24 0 00-34 34l95 95-95 95a24 24 0 1034 34l95-95 95 95a24 24 0 0034-34z"})});jj.displayName="TagCloseIcon";var Gj=le((e,t)=>{let{isDisabled:o,children:r,...n}=e,s={display:"flex",alignItems:"center",justifyContent:"center",outline:"0",...q5().closeButton};return(0,Di.jsx)(Y.button,{ref:t,"aria-label":"close",...n,type:"button",disabled:o,__css:s,children:r||(0,Di.jsx)(jj,{})})});Gj.displayName="TagCloseButton";var $j=k(re(),1);var Gde=["h","minH","height","minHeight"],n2=le((e,t)=>{let o=mo("Textarea",e),{className:r,rows:n,...a}=qe(e),s=$W(a),i=n?pl(o,Gde):o;return(0,$j.jsx)(Y.textarea,{ref:t,rows:n,...s,className:xe("chakra-textarea",r),__css:i})});n2.displayName="Textarea";function qj(e,t){let o=e??"bottom";return{"top-start":{ltr:"top-left",rtl:"top-right"},"top-end":{ltr:"top-right",rtl:"top-left"},"bottom-start":{ltr:"bottom-left",rtl:"bottom-right"},"bottom-end":{ltr:"bottom-right",rtl:"bottom-left"}}[o]?.[t]??o}function Xj(e,t){let o=n=>({...t,...n,position:qj(n?.position??t?.position,e)}),r=n=>{let a=o(n),s=MI(a);return gs.notify(s,a)};return r.update=(n,a)=>{gs.update(n,o(a))},r.promise=(n,a)=>{let s=r({...a.loading,status:"loading",duration:null});n.then(i=>r.update(s,{status:"success",duration:5e3,...Br(a.success,i)})).catch(i=>r.update(s,{status:"error",duration:5e3,...Br(a.error,i)}))},r.closeAll=gs.closeAll,r.close=gs.close,r.isActive=gs.isActive,r}var Yj=k(F(),1);function a2(e){let{theme:t}=I1(),o=IW();return(0,Yj.useMemo)(()=>Xj(t.direction,{...o,...e}),[e,t.direction,o])}var Gn=k(re(),1);var C0=k(F(),1);var Kj={exit:{scale:.85,opacity:0,transition:{opacity:{duration:.15,easings:"easeInOut"},scale:{duration:.2,easings:"easeInOut"}}},enter:{scale:1,opacity:1,transition:{opacity:{easings:"easeOut",duration:.2},scale:{duration:.2,ease:[.175,.885,.4,1.1]}}}};var Mo=k(F(),1);var Y5=e=>e.current?.ownerDocument||document,E4=e=>e.current?.ownerDocument?.defaultView||window;function Qj(e={}){let{openDelay:t=0,closeDelay:o=0,closeOnClick:r=!0,closeOnMouseDown:n,closeOnScroll:a,closeOnPointerDown:s=n,closeOnEsc:i=!0,onOpen:l,onClose:c,placement:u,id:m,isOpen:f,defaultIsOpen:d,arrowSize:p=10,arrowShadowColor:h,arrowPadding:S,modifiers:g,isDisabled:b,gutter:I,offset:v,direction:C,...T}=e,{isOpen:w,onOpen:E,onClose:B}=w3({isOpen:f,defaultIsOpen:d,onOpen:l,onClose:c}),{referenceRef:L,getPopperProps:_,getArrowInnerProps:j,getArrowProps:ne}=FZ({enabled:w,placement:u,arrowPadding:S,modifiers:g,gutter:I,offset:v,direction:C}),K=(0,Mo.useId)(),se=`tooltip-${m??K}`,W=(0,Mo.useRef)(null),de=(0,Mo.useRef)(void 0),q=(0,Mo.useCallback)(()=>{de.current&&(clearTimeout(de.current),de.current=void 0)},[]),fe=(0,Mo.useRef)(void 0),he=(0,Mo.useCallback)(()=>{fe.current&&(clearTimeout(fe.current),fe.current=void 0)},[]),ge=(0,Mo.useCallback)(()=>{he(),B()},[B,he]),J=$de(W,ge),X=(0,Mo.useCallback)(()=>{if(!b&&!de.current){w&&J();let ye=E4(W);de.current=ye.setTimeout(E,t)}},[J,b,w,E,t]),ee=(0,Mo.useCallback)(()=>{q();let ye=E4(W);fe.current=ye.setTimeout(ge,o)},[o,ge,q]),pe=(0,Mo.useCallback)(()=>{w&&r&&ee()},[r,ee,w]),H=(0,Mo.useCallback)(()=>{w&&s&&ee()},[s,ee,w]),ce=(0,Mo.useCallback)(ye=>{w&&ye.key==="Escape"&&ee()},[w,ee]);vg(()=>Y5(W),"keydown",i?ce:void 0),vg(()=>{if(!a)return null;let ye=W.current;if(!ye)return null;let De=Vy(ye);return De.localName==="body"?E4(W):De},"scroll",()=>{w&&a&&ge()},{passive:!0,capture:!0}),(0,Mo.useEffect)(()=>{b&&(q(),w&&B())},[b,w,B,q]),(0,Mo.useEffect)(()=>()=>{q(),he()},[q,he]),vg(()=>W.current,"pointerleave",ee);let we=(0,Mo.useCallback)((ye={},De=null)=>({...ye,ref:uo(W,De,L),onPointerEnter:ze(ye.onPointerEnter,ke=>{ke.pointerType!=="touch"&&X()}),onClick:ze(ye.onClick,pe),onPointerDown:ze(ye.onPointerDown,H),onFocus:ze(ye.onFocus,X),onBlur:ze(ye.onBlur,ee),"aria-describedby":w?se:void 0}),[X,ee,H,w,se,pe,L]),ue=(0,Mo.useCallback)((ye={},De=null)=>_({...ye,style:{...ye.style,[_o.arrowSize.var]:p?`${p}px`:void 0,[_o.arrowShadowColor.var]:h}},De),[_,p,h]),Ce=(0,Mo.useCallback)((ye={},De=null)=>{let me={...ye.style,position:"relative",transformOrigin:_o.transformOrigin.varRef};return{ref:De,...T,...ye,id:se,role:"tooltip",style:me}},[T,se]);return{isOpen:w,show:X,hide:ee,getTriggerProps:we,getTooltipProps:Ce,getTooltipPositionerProps:ue,getArrowProps:ne,getArrowInnerProps:j}}var X5="chakra-ui:close-tooltip";function $de(e,t){return(0,Mo.useEffect)(()=>{let o=Y5(e);return o.addEventListener(X5,t),()=>o.removeEventListener(X5,t)},[t,e]),()=>{let o=Y5(e),r=E4(e);o.dispatchEvent(new r.CustomEvent(X5))}}var qde=Y(qs.div),B4=le((e,t)=>{let o=mo("Tooltip",e),r=qe(e),n=Fl(),{children:a,label:s,shouldWrapChildren:i,"aria-label":l,hasArrow:c,bg:u,portalProps:m,background:f,backgroundColor:d,bgColor:p,motionProps:h,animatePresenceProps:S,...g}=r,b=f??d??u??p;if(b){o.bg=b;let L=D3(n,"colors",b);o[_o.arrowBg.var]=L}let I=Qj({...g,direction:n.direction}),v=!(0,C0.isValidElement)(a)||i,C;if(v)C=(0,Gn.jsx)(Y.span,{display:"inline-block",tabIndex:0,...I.getTriggerProps(),children:a});else{let L=C0.Children.only(a);C=(0,C0.cloneElement)(L,I.getTriggerProps(L.props,dj(L)))}let T=!!l,w=I.getTooltipProps({},t),E=T?pl(w,["role","id"]):w,B=gg(w,["role","id"]);return s?(0,Gn.jsxs)(Gn.Fragment,{children:[C,(0,Gn.jsx)(Gs,{...S,children:I.isOpen&&(0,Gn.jsx)(Ol,{...m,children:(0,Gn.jsx)(Y.div,{...I.getTooltipPositionerProps(),__css:{zIndex:o.zIndex,pointerEvents:"none"},children:(0,Gn.jsxs)(qde,{variants:Kj,initial:"exit",animate:"enter",exit:"exit",...h,...E,__css:o,children:[s,T&&(0,Gn.jsx)(Y.span,{srOnly:!0,...B,children:l}),c&&(0,Gn.jsx)(Y.div,{"data-popper-arrow":!0,className:"chakra-tooltip__arrow-wrapper",children:(0,Gn.jsx)(Y.div,{"data-popper-arrow-inner":!0,className:"chakra-tooltip__arrow",__css:{bg:o.bg}})})]})})})})]}):(0,Gn.jsx)(Gn.Fragment,{children:a})});B4.displayName="Tooltip";var Jj=k(re(),1);var at=le(function(t,o){let r=mo("Heading",t),{className:n,...a}=qe(t);return(0,Jj.jsx)(Y.h2,{ref:o,className:xe("chakra-heading",t.className),...a,__css:r})});at.displayName="Heading";var eG=k(re(),1);var x=le(function(t,o){let r=mo("Text",t),{className:n,align:a,decoration:s,casing:i,...l}=qe(t),c=sm({textAlign:t.align,textDecoration:t.decoration,textTransform:t.casing});return(0,eG.jsx)(Y.p,{ref:o,className:xe("chakra-text",t.className),...c,...l,__css:r})});x.displayName="Text";var s2=k(re(),1);var D4=k(F(),1);var ot=le(function(t,o){let{spacing:r="0.5rem",spacingX:n,spacingY:a,children:s,justify:i,direction:l,align:c,className:u,shouldWrapChildren:m,...f}=t,d=(0,D4.useMemo)(()=>m?D4.Children.map(s,(p,h)=>(0,s2.jsx)(Se,{children:p},h)):s,[s,m]);return(0,s2.jsx)(Y.div,{ref:o,className:xe("chakra-wrap",u),...f,children:(0,s2.jsx)(Y.ul,{className:"chakra-wrap__list",__css:{display:"flex",flexWrap:"wrap",justifyContent:i,alignItems:c,flexDirection:l,listStyleType:"none",gap:r,columnGap:n,rowGap:a,padding:"0"},children:d})})});ot.displayName="Wrap";var Se=le(function(t,o){let{className:r,...n}=t;return(0,s2.jsx)(Y.li,{ref:o,__css:{display:"flex",alignItems:"flex-start"},className:xe("chakra-wrap__listitem",r),...n})});Se.displayName="WrapItem";var i2=k(F(),1),Yr=i2.forwardRef((e,t)=>{let{alt:o,color:r="currentColor",size:n="1em",weight:a="regular",mirrored:s=!1,children:i,weights:l,...c}=e;return i2.createElement("svg",{ref:t,xmlns:"http://www.w3.org/2000/svg",width:n,height:n,fill:r,viewBox:"0 0 256 256",transform:s?"scale(-1, 1)":void 0,...c},!!o&&i2.createElement("title",null,o),i,l.get(a))});Yr.displayName="SSRBase";var Fo=k(F(),1),tG=new Map([["bold",Fo.createElement(Fo.Fragment,null,Fo.createElement("path",{d:"M224.49,136.49l-72,72a12,12,0,0,1-17-17L187,140H40a12,12,0,0,1,0-24H187L135.51,64.48a12,12,0,0,1,17-17l72,72A12,12,0,0,1,224.49,136.49Z"}))],["duotone",Fo.createElement(Fo.Fragment,null,Fo.createElement("path",{d:"M216,128l-72,72V56Z",opacity:"0.2"}),Fo.createElement("path",{d:"M221.66,122.34l-72-72A8,8,0,0,0,136,56v64H40a8,8,0,0,0,0,16h96v64a8,8,0,0,0,13.66,5.66l72-72A8,8,0,0,0,221.66,122.34ZM152,180.69V75.31L204.69,128Z"}))],["fill",Fo.createElement(Fo.Fragment,null,Fo.createElement("path",{d:"M221.66,133.66l-72,72A8,8,0,0,1,136,200V136H40a8,8,0,0,1,0-16h96V56a8,8,0,0,1,13.66-5.66l72,72A8,8,0,0,1,221.66,133.66Z"}))],["light",Fo.createElement(Fo.Fragment,null,Fo.createElement("path",{d:"M220.24,132.24l-72,72a6,6,0,0,1-8.48-8.48L201.51,134H40a6,6,0,0,1,0-12H201.51L139.76,60.24a6,6,0,0,1,8.48-8.48l72,72A6,6,0,0,1,220.24,132.24Z"}))],["regular",Fo.createElement(Fo.Fragment,null,Fo.createElement("path",{d:"M221.66,133.66l-72,72a8,8,0,0,1-11.32-11.32L196.69,136H40a8,8,0,0,1,0-16H196.69L138.34,61.66a8,8,0,0,1,11.32-11.32l72,72A8,8,0,0,1,221.66,133.66Z"}))],["thin",Fo.createElement(Fo.Fragment,null,Fo.createElement("path",{d:"M218.83,130.83l-72,72a4,4,0,0,1-5.66-5.66L206.34,132H40a4,4,0,0,1,0-8H206.34L141.17,58.83a4,4,0,0,1,5.66-5.66l72,72A4,4,0,0,1,218.83,130.83Z"}))]]);var Ho=k(F(),1),oG=new Map([["bold",Ho.createElement(Ho.Fragment,null,Ho.createElement("path",{d:"M228,104a12,12,0,0,1-24,0V69l-59.51,59.51a12,12,0,0,1-17-17L187,52H152a12,12,0,0,1,0-24h64a12,12,0,0,1,12,12Zm-44,24a12,12,0,0,0-12,12v64H52V84h64a12,12,0,0,0,0-24H48A20,20,0,0,0,28,80V208a20,20,0,0,0,20,20H176a20,20,0,0,0,20-20V140A12,12,0,0,0,184,128Z"}))],["duotone",Ho.createElement(Ho.Fragment,null,Ho.createElement("path",{d:"M184,80V208a8,8,0,0,1-8,8H48a8,8,0,0,1-8-8V80a8,8,0,0,1,8-8H176A8,8,0,0,1,184,80Z",opacity:"0.2"}),Ho.createElement("path",{d:"M224,104a8,8,0,0,1-16,0V59.32l-66.33,66.34a8,8,0,0,1-11.32-11.32L196.68,48H152a8,8,0,0,1,0-16h64a8,8,0,0,1,8,8Zm-40,24a8,8,0,0,0-8,8v72H48V80h72a8,8,0,0,0,0-16H48A16,16,0,0,0,32,80V208a16,16,0,0,0,16,16H176a16,16,0,0,0,16-16V136A8,8,0,0,0,184,128Z"}))],["fill",Ho.createElement(Ho.Fragment,null,Ho.createElement("path",{d:"M192,136v72a16,16,0,0,1-16,16H48a16,16,0,0,1-16-16V80A16,16,0,0,1,48,64h72a8,8,0,0,1,0,16H48V208H176V136a8,8,0,0,1,16,0Zm32-96a8,8,0,0,0-8-8H152a8,8,0,0,0-5.66,13.66L172.69,72l-42.35,42.34a8,8,0,0,0,11.32,11.32L184,83.31l26.34,26.35A8,8,0,0,0,224,104Z"}))],["light",Ho.createElement(Ho.Fragment,null,Ho.createElement("path",{d:"M222,104a6,6,0,0,1-12,0V54.49l-69.75,69.75a6,6,0,0,1-8.48-8.48L201.51,46H152a6,6,0,0,1,0-12h64a6,6,0,0,1,6,6Zm-38,26a6,6,0,0,0-6,6v72a2,2,0,0,1-2,2H48a2,2,0,0,1-2-2V80a2,2,0,0,1,2-2h72a6,6,0,0,0,0-12H48A14,14,0,0,0,34,80V208a14,14,0,0,0,14,14H176a14,14,0,0,0,14-14V136A6,6,0,0,0,184,130Z"}))],["regular",Ho.createElement(Ho.Fragment,null,Ho.createElement("path",{d:"M224,104a8,8,0,0,1-16,0V59.32l-66.33,66.34a8,8,0,0,1-11.32-11.32L196.68,48H152a8,8,0,0,1,0-16h64a8,8,0,0,1,8,8Zm-40,24a8,8,0,0,0-8,8v72H48V80h72a8,8,0,0,0,0-16H48A16,16,0,0,0,32,80V208a16,16,0,0,0,16,16H176a16,16,0,0,0,16-16V136A8,8,0,0,0,184,128Z"}))],["thin",Ho.createElement(Ho.Fragment,null,Ho.createElement("path",{d:"M220,104a4,4,0,0,1-8,0V49.66l-73.16,73.17a4,4,0,0,1-5.66-5.66L206.34,44H152a4,4,0,0,1,0-8h64a4,4,0,0,1,4,4Zm-36,28a4,4,0,0,0-4,4v72a4,4,0,0,1-4,4H48a4,4,0,0,1-4-4V80a4,4,0,0,1,4-4h72a4,4,0,0,0,0-8H48A12,12,0,0,0,36,80V208a12,12,0,0,0,12,12H176a12,12,0,0,0,12-12V136A4,4,0,0,0,184,132Z"}))]]);var Oo=k(F(),1),rG=new Map([["bold",Oo.createElement(Oo.Fragment,null,Oo.createElement("path",{d:"M228,48V96a12,12,0,0,1-12,12H168a12,12,0,0,1,0-24h19l-7.8-7.8a75.55,75.55,0,0,0-53.32-22.26h-.43A75.49,75.49,0,0,0,72.39,75.57,12,12,0,1,1,55.61,58.41a99.38,99.38,0,0,1,69.87-28.47H126A99.42,99.42,0,0,1,196.2,59.23L204,67V48a12,12,0,0,1,24,0ZM183.61,180.43a75.49,75.49,0,0,1-53.09,21.63h-.43A75.55,75.55,0,0,1,76.77,179.8L69,172H88a12,12,0,0,0,0-24H40a12,12,0,0,0-12,12v48a12,12,0,0,0,24,0V189l7.8,7.8A99.42,99.42,0,0,0,130,226.06h.56a99.38,99.38,0,0,0,69.87-28.47,12,12,0,0,0-16.78-17.16Z"}))],["duotone",Oo.createElement(Oo.Fragment,null,Oo.createElement("path",{d:"M216,128a88,88,0,1,1-88-88A88,88,0,0,1,216,128Z",opacity:"0.2"}),Oo.createElement("path",{d:"M224,48V96a8,8,0,0,1-8,8H168a8,8,0,0,1,0-16h28.69L182.06,73.37a79.56,79.56,0,0,0-56.13-23.43h-.45A79.52,79.52,0,0,0,69.59,72.71,8,8,0,0,1,58.41,61.27a96,96,0,0,1,135,.79L208,76.69V48a8,8,0,0,1,16,0ZM186.41,183.29a80,80,0,0,1-112.47-.66L59.31,168H88a8,8,0,0,0,0-16H40a8,8,0,0,0-8,8v48a8,8,0,0,0,16,0V179.31l14.63,14.63A95.43,95.43,0,0,0,130,222.06h.53a95.36,95.36,0,0,0,67.07-27.33,8,8,0,0,0-11.18-11.44Z"}))],["fill",Oo.createElement(Oo.Fragment,null,Oo.createElement("path",{d:"M224,48V96a8,8,0,0,1-8,8H168a8,8,0,0,1-5.66-13.66L180.65,72a79.48,79.48,0,0,0-54.72-22.09h-.45A79.52,79.52,0,0,0,69.59,72.71,8,8,0,0,1,58.41,61.27,96,96,0,0,1,192,60.7l18.36-18.36A8,8,0,0,1,224,48ZM186.41,183.29A80,80,0,0,1,75.35,184l18.31-18.31A8,8,0,0,0,88,152H40a8,8,0,0,0-8,8v48a8,8,0,0,0,13.66,5.66L64,195.3a95.42,95.42,0,0,0,66,26.76h.53a95.36,95.36,0,0,0,67.07-27.33,8,8,0,0,0-11.18-11.44Z"}))],["light",Oo.createElement(Oo.Fragment,null,Oo.createElement("path",{d:"M222,48V96a6,6,0,0,1-6,6H168a6,6,0,0,1,0-12h33.52L183.47,72a81.51,81.51,0,0,0-57.53-24h-.46A81.5,81.5,0,0,0,68.19,71.28a6,6,0,1,1-8.38-8.58,93.38,93.38,0,0,1,65.67-26.76H126a93.45,93.45,0,0,1,66,27.53l18,18V48a6,6,0,0,1,12,0ZM187.81,184.72a81.5,81.5,0,0,1-57.29,23.34h-.46a81.51,81.51,0,0,1-57.53-24L54.48,166H88a6,6,0,0,0,0-12H40a6,6,0,0,0-6,6v48a6,6,0,0,0,12,0V174.48l18,18.05a93.45,93.45,0,0,0,66,27.53h.52a93.38,93.38,0,0,0,65.67-26.76,6,6,0,1,0-8.38-8.58Z"}))],["regular",Oo.createElement(Oo.Fragment,null,Oo.createElement("path",{d:"M224,48V96a8,8,0,0,1-8,8H168a8,8,0,0,1,0-16h28.69L182.06,73.37a79.56,79.56,0,0,0-56.13-23.43h-.45A79.52,79.52,0,0,0,69.59,72.71,8,8,0,0,1,58.41,61.27a96,96,0,0,1,135,.79L208,76.69V48a8,8,0,0,1,16,0ZM186.41,183.29a80,80,0,0,1-112.47-.66L59.31,168H88a8,8,0,0,0,0-16H40a8,8,0,0,0-8,8v48a8,8,0,0,0,16,0V179.31l14.63,14.63A95.43,95.43,0,0,0,130,222.06h.53a95.36,95.36,0,0,0,67.07-27.33,8,8,0,0,0-11.18-11.44Z"}))],["thin",Oo.createElement(Oo.Fragment,null,Oo.createElement("path",{d:"M220,48V96a4,4,0,0,1-4,4H168a4,4,0,0,1,0-8h38.34L184.89,70.54A84,84,0,0,0,66.8,69.85a4,4,0,1,1-5.6-5.72,92,92,0,0,1,129.34.76L212,86.34V48a4,4,0,0,1,8,0ZM189.2,186.15a83.44,83.44,0,0,1-58.68,23.91h-.47a83.52,83.52,0,0,1-58.94-24.6L49.66,164H88a4,4,0,0,0,0-8H40a4,4,0,0,0-4,4v48a4,4,0,0,0,8,0V169.66l21.46,21.45A91.43,91.43,0,0,0,130,218.06h.51a91.45,91.45,0,0,0,64.28-26.19,4,4,0,1,0-5.6-5.72Z"}))]]);var Vo=k(F(),1),nG=new Map([["bold",Vo.createElement(Vo.Fragment,null,Vo.createElement("path",{d:"M232,44H160a43.86,43.86,0,0,0-32,13.85A43.86,43.86,0,0,0,96,44H24A12,12,0,0,0,12,56V200a12,12,0,0,0,12,12H96a20,20,0,0,1,20,20,12,12,0,0,0,24,0,20,20,0,0,1,20-20h72a12,12,0,0,0,12-12V56A12,12,0,0,0,232,44ZM96,188H36V68H96a20,20,0,0,1,20,20V192.81A43.79,43.79,0,0,0,96,188Zm124,0H160a43.71,43.71,0,0,0-20,4.83V88a20,20,0,0,1,20-20h60ZM164,96h32a12,12,0,0,1,0,24H164a12,12,0,0,1,0-24Zm44,52a12,12,0,0,1-12,12H164a12,12,0,0,1,0-24h32A12,12,0,0,1,208,148Z"}))],["duotone",Vo.createElement(Vo.Fragment,null,Vo.createElement("path",{d:"M232,56V200H160a32,32,0,0,0-32,32V88a32,32,0,0,1,32-32Z",opacity:"0.2"}),Vo.createElement("path",{d:"M232,48H160a40,40,0,0,0-32,16A40,40,0,0,0,96,48H24a8,8,0,0,0-8,8V200a8,8,0,0,0,8,8H96a24,24,0,0,1,24,24,8,8,0,0,0,16,0,24,24,0,0,1,24-24h72a8,8,0,0,0,8-8V56A8,8,0,0,0,232,48ZM96,192H32V64H96a24,24,0,0,1,24,24V200A39.81,39.81,0,0,0,96,192Zm128,0H160a39.81,39.81,0,0,0-24,8V88a24,24,0,0,1,24-24h64ZM160,88h40a8,8,0,0,1,0,16H160a8,8,0,0,1,0-16Zm48,40a8,8,0,0,1-8,8H160a8,8,0,0,1,0-16h40A8,8,0,0,1,208,128Zm0,32a8,8,0,0,1-8,8H160a8,8,0,0,1,0-16h40A8,8,0,0,1,208,160Z"}))],["fill",Vo.createElement(Vo.Fragment,null,Vo.createElement("path",{d:"M232,48H168a32,32,0,0,0-32,32v87.73a8.17,8.17,0,0,1-7.47,8.25,8,8,0,0,1-8.53-8V80A32,32,0,0,0,88,48H24a8,8,0,0,0-8,8V200a8,8,0,0,0,8,8H96a24,24,0,0,1,24,23.94,7.9,7.9,0,0,0,5.12,7.55A8,8,0,0,0,136,232a24,24,0,0,1,24-24h72a8,8,0,0,0,8-8V56A8,8,0,0,0,232,48ZM208,168H168.27a8.17,8.17,0,0,1-8.25-7.47,8,8,0,0,1,8-8.53h39.73a8.17,8.17,0,0,1,8.25,7.47A8,8,0,0,1,208,168Zm0-32H168.27a8.17,8.17,0,0,1-8.25-7.47,8,8,0,0,1,8-8.53h39.73a8.17,8.17,0,0,1,8.25,7.47A8,8,0,0,1,208,136Zm0-32H168.27A8.17,8.17,0,0,1,160,96.53,8,8,0,0,1,168,88h39.73A8.17,8.17,0,0,1,216,95.47,8,8,0,0,1,208,104Z"}))],["light",Vo.createElement(Vo.Fragment,null,Vo.createElement("path",{d:"M232,50H160a38,38,0,0,0-32,17.55A38,38,0,0,0,96,50H24a6,6,0,0,0-6,6V200a6,6,0,0,0,6,6H96a26,26,0,0,1,26,26,6,6,0,0,0,12,0,26,26,0,0,1,26-26h72a6,6,0,0,0,6-6V56A6,6,0,0,0,232,50ZM96,194H30V62H96a26,26,0,0,1,26,26V204.31A37.86,37.86,0,0,0,96,194Zm130,0H160a37.87,37.87,0,0,0-26,10.32V88a26,26,0,0,1,26-26h66ZM160,90h40a6,6,0,0,1,0,12H160a6,6,0,0,1,0-12Zm46,38a6,6,0,0,1-6,6H160a6,6,0,0,1,0-12h40A6,6,0,0,1,206,128Zm0,32a6,6,0,0,1-6,6H160a6,6,0,0,1,0-12h40A6,6,0,0,1,206,160Z"}))],["regular",Vo.createElement(Vo.Fragment,null,Vo.createElement("path",{d:"M232,48H160a40,40,0,0,0-32,16A40,40,0,0,0,96,48H24a8,8,0,0,0-8,8V200a8,8,0,0,0,8,8H96a24,24,0,0,1,24,24,8,8,0,0,0,16,0,24,24,0,0,1,24-24h72a8,8,0,0,0,8-8V56A8,8,0,0,0,232,48ZM96,192H32V64H96a24,24,0,0,1,24,24V200A39.81,39.81,0,0,0,96,192Zm128,0H160a39.81,39.81,0,0,0-24,8V88a24,24,0,0,1,24-24h64ZM160,88h40a8,8,0,0,1,0,16H160a8,8,0,0,1,0-16Zm48,40a8,8,0,0,1-8,8H160a8,8,0,0,1,0-16h40A8,8,0,0,1,208,128Zm0,32a8,8,0,0,1-8,8H160a8,8,0,0,1,0-16h40A8,8,0,0,1,208,160Z"}))],["thin",Vo.createElement(Vo.Fragment,null,Vo.createElement("path",{d:"M232,52H160a36,36,0,0,0-32,19.54A36,36,0,0,0,96,52H24a4,4,0,0,0-4,4V200a4,4,0,0,0,4,4H96a28,28,0,0,1,28,28,4,4,0,0,0,8,0,28,28,0,0,1,28-28h72a4,4,0,0,0,4-4V56A4,4,0,0,0,232,52ZM96,196H28V60H96a28,28,0,0,1,28,28V209.4A35.94,35.94,0,0,0,96,196Zm132,0H160a35.94,35.94,0,0,0-28,13.41V88a28,28,0,0,1,28-28h68ZM160,92h40a4,4,0,0,1,0,8H160a4,4,0,0,1,0-8Zm44,36a4,4,0,0,1-4,4H160a4,4,0,0,1,0-8h40A4,4,0,0,1,204,128Zm0,32a4,4,0,0,1-4,4H160a4,4,0,0,1,0-8h40A4,4,0,0,1,204,160Z"}))]]);var No=k(F(),1),aG=new Map([["bold",No.createElement(No.Fragment,null,No.createElement("path",{d:"M240,204H228V96a20,20,0,0,0-20-20H172V32a20,20,0,0,0-28.45-18.12l-104,48.54A20.06,20.06,0,0,0,28,80.55V204H16a12,12,0,0,0,0,24H240a12,12,0,0,0,0-24ZM204,100V204H172V100ZM52,83.09,148,38.3V204H52ZM132,112v12a12,12,0,0,1-24,0V112a12,12,0,0,1,24,0Zm-40,0v12a12,12,0,0,1-24,0V112a12,12,0,0,1,24,0Zm0,52v12a12,12,0,0,1-24,0V164a12,12,0,0,1,24,0Zm40,0v12a12,12,0,0,1-24,0V164a12,12,0,0,1,24,0Z"}))],["duotone",No.createElement(No.Fragment,null,No.createElement("path",{d:"M136,32V216H40V85.35a8,8,0,0,1,3.56-6.66l80-53.33A8,8,0,0,1,136,32Z",opacity:"0.2"}),No.createElement("path",{d:"M240,208H224V96a16,16,0,0,0-16-16H144V32a16,16,0,0,0-24.88-13.32L39.12,72A16,16,0,0,0,32,85.34V208H16a8,8,0,0,0,0,16H240a8,8,0,0,0,0-16ZM208,96V208H144V96ZM48,85.34,128,32V208H48ZM112,112v16a8,8,0,0,1-16,0V112a8,8,0,1,1,16,0Zm-32,0v16a8,8,0,0,1-16,0V112a8,8,0,1,1,16,0Zm0,56v16a8,8,0,0,1-16,0V168a8,8,0,0,1,16,0Zm32,0v16a8,8,0,0,1-16,0V168a8,8,0,0,1,16,0Z"}))],["fill",No.createElement(No.Fragment,null,No.createElement("path",{d:"M239.73,208H224V96a16,16,0,0,0-16-16H164a4,4,0,0,0-4,4V208H144V32.41a16.43,16.43,0,0,0-6.16-13,16,16,0,0,0-18.72-.69L39.12,72A16,16,0,0,0,32,85.34V208H16.27A8.18,8.18,0,0,0,8,215.47,8,8,0,0,0,16,224H240a8,8,0,0,0,8-8.53A8.18,8.18,0,0,0,239.73,208ZM76,184a8,8,0,0,1-8.53,8A8.18,8.18,0,0,1,60,183.72V168.27A8.19,8.19,0,0,1,67.47,160,8,8,0,0,1,76,168Zm0-56a8,8,0,0,1-8.53,8A8.19,8.19,0,0,1,60,127.72V112.27A8.19,8.19,0,0,1,67.47,104,8,8,0,0,1,76,112Zm40,56a8,8,0,0,1-8.53,8,8.18,8.18,0,0,1-7.47-8.26V168.27a8.19,8.19,0,0,1,7.47-8.26,8,8,0,0,1,8.53,8Zm0-56a8,8,0,0,1-8.53,8,8.19,8.19,0,0,1-7.47-8.26V112.27a8.19,8.19,0,0,1,7.47-8.26,8,8,0,0,1,8.53,8Z"}))],["light",No.createElement(No.Fragment,null,No.createElement("path",{d:"M240,210H222V96a14,14,0,0,0-14-14H142V32a14,14,0,0,0-21.77-11.64l-80,53.33A14,14,0,0,0,34,85.34V210H16a6,6,0,0,0,0,12H240a6,6,0,0,0,0-12ZM208,94a2,2,0,0,1,2,2V210H142V94ZM46,85.34a2,2,0,0,1,.89-1.66l80-53.34A2,2,0,0,1,130,32V210H46ZM110,112v16a6,6,0,0,1-12,0V112a6,6,0,0,1,12,0Zm-32,0v16a6,6,0,0,1-12,0V112a6,6,0,0,1,12,0Zm0,56v16a6,6,0,0,1-12,0V168a6,6,0,0,1,12,0Zm32,0v16a6,6,0,0,1-12,0V168a6,6,0,0,1,12,0Z"}))],["regular",No.createElement(No.Fragment,null,No.createElement("path",{d:"M240,208H224V96a16,16,0,0,0-16-16H144V32a16,16,0,0,0-24.88-13.32L39.12,72A16,16,0,0,0,32,85.34V208H16a8,8,0,0,0,0,16H240a8,8,0,0,0,0-16ZM208,96V208H144V96ZM48,85.34,128,32V208H48ZM112,112v16a8,8,0,0,1-16,0V112a8,8,0,1,1,16,0Zm-32,0v16a8,8,0,0,1-16,0V112a8,8,0,1,1,16,0Zm0,56v16a8,8,0,0,1-16,0V168a8,8,0,0,1,16,0Zm32,0v16a8,8,0,0,1-16,0V168a8,8,0,0,1,16,0Z"}))],["thin",No.createElement(No.Fragment,null,No.createElement("path",{d:"M240,212H220V96a12,12,0,0,0-12-12H140V32a12,12,0,0,0-18.66-10l-80,53.33a12,12,0,0,0-5.34,10V212H16a4,4,0,0,0,0,8H240a4,4,0,0,0,0-8ZM208,92a4,4,0,0,1,4,4V212H140V92ZM44,85.34A4,4,0,0,1,45.78,82l80-53.33A4,4,0,0,1,132,32V212H44ZM108,112v16a4,4,0,0,1-8,0V112a4,4,0,0,1,8,0Zm-32,0v16a4,4,0,0,1-8,0V112a4,4,0,0,1,8,0Zm0,56v16a4,4,0,0,1-8,0V168a4,4,0,0,1,8,0Zm32,0v16a4,4,0,0,1-8,0V168a4,4,0,0,1,8,0Z"}))]]);var zo=k(F(),1),sG=new Map([["bold",zo.createElement(zo.Fragment,null,zo.createElement("path",{d:"M224,196h-4V40a12,12,0,0,0-12-12H152a12,12,0,0,0-12,12V76H96A12,12,0,0,0,84,88v36H48a12,12,0,0,0-12,12v60H32a12,12,0,0,0,0,24H224a12,12,0,0,0,0-24ZM164,52h32V196H164Zm-56,48h32v96H108ZM60,148H84v48H60Z"}))],["duotone",zo.createElement(zo.Fragment,null,zo.createElement("path",{d:"M208,40V208H152V40Z",opacity:"0.2"}),zo.createElement("path",{d:"M224,200h-8V40a8,8,0,0,0-8-8H152a8,8,0,0,0-8,8V80H96a8,8,0,0,0-8,8v40H48a8,8,0,0,0-8,8v64H32a8,8,0,0,0,0,16H224a8,8,0,0,0,0-16ZM160,48h40V200H160ZM104,96h40V200H104ZM56,144H88v56H56Z"}))],["fill",zo.createElement(zo.Fragment,null,zo.createElement("path",{d:"M232,208a8,8,0,0,1-8,8H32a8,8,0,0,1,0-16h8V136a8,8,0,0,1,8-8H72a8,8,0,0,1,8,8v64H96V88a8,8,0,0,1,8-8h32a8,8,0,0,1,8,8V200h16V40a8,8,0,0,1,8-8h40a8,8,0,0,1,8,8V200h8A8,8,0,0,1,232,208Z"}))],["light",zo.createElement(zo.Fragment,null,zo.createElement("path",{d:"M224,202H214V40a6,6,0,0,0-6-6H152a6,6,0,0,0-6,6V82H96a6,6,0,0,0-6,6v42H48a6,6,0,0,0-6,6v66H32a6,6,0,0,0,0,12H224a6,6,0,0,0,0-12ZM158,46h44V202H158ZM102,94h44V202H102ZM54,142H90v60H54Z"}))],["regular",zo.createElement(zo.Fragment,null,zo.createElement("path",{d:"M224,200h-8V40a8,8,0,0,0-8-8H152a8,8,0,0,0-8,8V80H96a8,8,0,0,0-8,8v40H48a8,8,0,0,0-8,8v64H32a8,8,0,0,0,0,16H224a8,8,0,0,0,0-16ZM160,48h40V200H160ZM104,96h40V200H104ZM56,144H88v56H56Z"}))],["thin",zo.createElement(zo.Fragment,null,zo.createElement("path",{d:"M224,204H212V40a4,4,0,0,0-4-4H152a4,4,0,0,0-4,4V84H96a4,4,0,0,0-4,4v44H48a4,4,0,0,0-4,4v68H32a4,4,0,0,0,0,8H224a4,4,0,0,0,0-8ZM156,44h48V204H156ZM100,92h48V204H100ZM52,140H92v64H52Z"}))]]);var R4=k(F(),1);var Wo=k(F(),1),iG=new Map([["bold",Wo.createElement(Wo.Fragment,null,Wo.createElement("path",{d:"M236,208a12,12,0,0,1-12,12H32a12,12,0,0,1-12-12V48a12,12,0,0,1,24,0v99l43.51-43.52a12,12,0,0,1,17,0L128,127l43-43H160a12,12,0,0,1,0-24h40a12,12,0,0,1,12,12v40a12,12,0,0,1-24,0V101l-51.51,51.52a12,12,0,0,1-17,0L96,129,44,181v15H224A12,12,0,0,1,236,208Z"}))],["duotone",Wo.createElement(Wo.Fragment,null,Wo.createElement("path",{d:"M224,64V208H32V48H208A16,16,0,0,1,224,64Z",opacity:"0.2"}),Wo.createElement("path",{d:"M232,208a8,8,0,0,1-8,8H32a8,8,0,0,1-8-8V48a8,8,0,0,1,16,0V156.69l50.34-50.35a8,8,0,0,1,11.32,0L128,132.69,180.69,80H160a8,8,0,0,1,0-16h40a8,8,0,0,1,8,8v40a8,8,0,0,1-16,0V91.31l-58.34,58.35a8,8,0,0,1-11.32,0L96,123.31l-56,56V200H224A8,8,0,0,1,232,208Z"}))],["fill",Wo.createElement(Wo.Fragment,null,Wo.createElement("path",{d:"M216,40H40A16,16,0,0,0,24,56V200a16,16,0,0,0,16,16H216a16,16,0,0,0,16-16V56A16,16,0,0,0,216,40ZM200,192H56a8,8,0,0,1-8-8V72a8,8,0,0,1,16,0v76.69l34.34-34.35a8,8,0,0,1,11.32,0L128,132.69,172.69,88H144a8,8,0,0,1,0-16h48a8,8,0,0,1,8,8v48a8,8,0,0,1-16,0V99.31l-50.34,50.35a8,8,0,0,1-11.32,0L104,131.31l-40,40V176H200a8,8,0,0,1,0,16Z"}))],["light",Wo.createElement(Wo.Fragment,null,Wo.createElement("path",{d:"M230,208a6,6,0,0,1-6,6H32a6,6,0,0,1-6-6V48a6,6,0,0,1,12,0V161.52l53.76-53.76a6,6,0,0,1,8.48,0L128,135.51,185.52,78H160a6,6,0,0,1,0-12h40a6,6,0,0,1,6,6v40a6,6,0,0,1-12,0V86.48l-61.76,61.76a6,6,0,0,1-8.48,0L96,120.49l-58,58V202H224A6,6,0,0,1,230,208Z"}))],["regular",Wo.createElement(Wo.Fragment,null,Wo.createElement("path",{d:"M232,208a8,8,0,0,1-8,8H32a8,8,0,0,1-8-8V48a8,8,0,0,1,16,0V156.69l50.34-50.35a8,8,0,0,1,11.32,0L128,132.69,180.69,80H160a8,8,0,0,1,0-16h40a8,8,0,0,1,8,8v40a8,8,0,0,1-16,0V91.31l-58.34,58.35a8,8,0,0,1-11.32,0L96,123.31l-56,56V200H224A8,8,0,0,1,232,208Z"}))],["thin",Wo.createElement(Wo.Fragment,null,Wo.createElement("path",{d:"M228,208a4,4,0,0,1-4,4H32a4,4,0,0,1-4-4V48a4,4,0,0,1,8,0V166.34l57.17-57.17a4,4,0,0,1,5.66,0L128,138.34,190.34,76H160a4,4,0,0,1,0-8h40a4,4,0,0,1,4,4v40a4,4,0,0,1-8,0V81.66l-65.17,65.17a4,4,0,0,1-5.66,0L96,117.66l-60,60V204H224A4,4,0,0,1,228,208Z"}))]]);var K5=R4.forwardRef((e,t)=>R4.createElement(Yr,{ref:t,...e,weights:iG}));K5.displayName="ChartLineUpIcon";var Q5=K5;var Uo=k(F(),1),lG=new Map([["bold",Uo.createElement(Uo.Fragment,null,Uo.createElement("path",{d:"M172,108a12,12,0,0,1-12,12H96a12,12,0,0,1,0-24h64A12,12,0,0,1,172,108Zm-12,28H96a12,12,0,0,0,0,24h64a12,12,0,0,0,0-24Zm76-8A108,108,0,0,1,78.77,224.15L46.34,235A20,20,0,0,1,21,209.66l10.81-32.43A108,108,0,1,1,236,128Zm-24,0A84,84,0,1,0,55.27,170.06a12,12,0,0,1,1,9.81l-9.93,29.79,29.79-9.93a12.1,12.1,0,0,1,3.8-.62,12,12,0,0,1,6,1.62A84,84,0,0,0,212,128Z"}))],["duotone",Uo.createElement(Uo.Fragment,null,Uo.createElement("path",{d:"M224,128A96,96,0,0,1,79.93,211.11h0L42.54,223.58a8,8,0,0,1-10.12-10.12l12.47-37.39h0A96,96,0,1,1,224,128Z",opacity:"0.2"}),Uo.createElement("path",{d:"M128,24A104,104,0,0,0,36.18,176.88L24.83,210.93a16,16,0,0,0,20.24,20.24l34.05-11.35A104,104,0,1,0,128,24Zm0,192a87.87,87.87,0,0,1-44.06-11.81,8,8,0,0,0-4-1.08,7.85,7.85,0,0,0-2.53.42L40,216,52.47,178.6a8,8,0,0,0-.66-6.54A88,88,0,1,1,128,216Zm40-104a8,8,0,0,1-8,8H96a8,8,0,0,1,0-16h64A8,8,0,0,1,168,112Zm0,32a8,8,0,0,1-8,8H96a8,8,0,0,1,0-16h64A8,8,0,0,1,168,144Z"}))],["fill",Uo.createElement(Uo.Fragment,null,Uo.createElement("path",{d:"M128,24A104,104,0,0,0,36.18,176.88L24.83,210.93a16,16,0,0,0,20.24,20.24l34.05-11.35A104,104,0,1,0,128,24Zm32,128H96a8,8,0,0,1,0-16h64a8,8,0,0,1,0,16Zm0-32H96a8,8,0,0,1,0-16h64a8,8,0,0,1,0,16Z"}))],["light",Uo.createElement(Uo.Fragment,null,Uo.createElement("path",{d:"M166,112a6,6,0,0,1-6,6H96a6,6,0,0,1,0-12h64A6,6,0,0,1,166,112Zm-6,26H96a6,6,0,0,0,0,12h64a6,6,0,0,0,0-12Zm70-10A102,102,0,0,1,79.31,217.65L44.44,229.27a14,14,0,0,1-17.71-17.71l11.62-34.87A102,102,0,1,1,230,128Zm-12,0A90,90,0,1,0,50.08,173.06a6,6,0,0,1,.5,4.91L38.12,215.35a2,2,0,0,0,2.53,2.53L78,205.42a6.2,6.2,0,0,1,1.9-.31,6.09,6.09,0,0,1,3,.81A90,90,0,0,0,218,128Z"}))],["regular",Uo.createElement(Uo.Fragment,null,Uo.createElement("path",{d:"M168,112a8,8,0,0,1-8,8H96a8,8,0,0,1,0-16h64A8,8,0,0,1,168,112Zm-8,24H96a8,8,0,0,0,0,16h64a8,8,0,0,0,0-16Zm72-8A104,104,0,0,1,79.12,219.82L45.07,231.17a16,16,0,0,1-20.24-20.24l11.35-34.05A104,104,0,1,1,232,128Zm-16,0A88,88,0,1,0,51.81,172.06a8,8,0,0,1,.66,6.54L40,216,77.4,203.53a7.85,7.85,0,0,1,2.53-.42,8,8,0,0,1,4,1.08A88,88,0,0,0,216,128Z"}))],["thin",Uo.createElement(Uo.Fragment,null,Uo.createElement("path",{d:"M164,112a4,4,0,0,1-4,4H96a4,4,0,0,1,0-8h64A4,4,0,0,1,164,112Zm-4,28H96a4,4,0,0,0,0,8h64a4,4,0,0,0,0-8Zm68-12A100,100,0,0,1,79.5,215.47l-35.69,11.9a12,12,0,0,1-15.18-15.18l11.9-35.69A100,100,0,1,1,228,128Zm-8,0A92,92,0,1,0,48.35,174.07a4,4,0,0,1,.33,3.27L36.22,214.72a4,4,0,0,0,5.06,5.06l37.38-12.46a3.93,3.93,0,0,1,1.27-.21,4.05,4.05,0,0,1,2,.54A92,92,0,0,0,220,128Z"}))]]);var F4=k(F(),1);var Zo=k(F(),1),_4=new Map([["bold",Zo.createElement(Zo.Fragment,null,Zo.createElement("path",{d:"M216,44H40A20,20,0,0,0,20,64V224A19.82,19.82,0,0,0,31.56,242.1a20.14,20.14,0,0,0,8.49,1.9,19.91,19.91,0,0,0,12.82-4.72l.12-.11L84.47,212H216a20,20,0,0,0,20-20V64A20,20,0,0,0,216,44Zm-4,144H80a11.93,11.93,0,0,0-7.84,2.92L44,215.23V68H212ZM84,108A12,12,0,0,1,96,96h64a12,12,0,1,1,0,24H96A12,12,0,0,1,84,108Zm0,40a12,12,0,0,1,12-12h64a12,12,0,0,1,0,24H96A12,12,0,0,1,84,148Z"}))],["duotone",Zo.createElement(Zo.Fragment,null,Zo.createElement("path",{d:"M224,64V192a8,8,0,0,1-8,8H80L45.15,230.11A8,8,0,0,1,32,224V64a8,8,0,0,1,8-8H216A8,8,0,0,1,224,64Z",opacity:"0.2"}),Zo.createElement("path",{d:"M216,48H40A16,16,0,0,0,24,64V224a15.85,15.85,0,0,0,9.24,14.5A16.13,16.13,0,0,0,40,240a15.89,15.89,0,0,0,10.25-3.78l.09-.07L83,208H216a16,16,0,0,0,16-16V64A16,16,0,0,0,216,48ZM40,224h0ZM216,192H80a8,8,0,0,0-5.23,1.95L40,224V64H216ZM88,112a8,8,0,0,1,8-8h64a8,8,0,0,1,0,16H96A8,8,0,0,1,88,112Zm0,32a8,8,0,0,1,8-8h64a8,8,0,1,1,0,16H96A8,8,0,0,1,88,144Z"}))],["fill",Zo.createElement(Zo.Fragment,null,Zo.createElement("path",{d:"M216,48H40A16,16,0,0,0,24,64V224a15.84,15.84,0,0,0,9.25,14.5A16.05,16.05,0,0,0,40,240a15.89,15.89,0,0,0,10.25-3.78l.09-.07L83,208H216a16,16,0,0,0,16-16V64A16,16,0,0,0,216,48ZM160,152H96a8,8,0,0,1,0-16h64a8,8,0,0,1,0,16Zm0-32H96a8,8,0,0,1,0-16h64a8,8,0,0,1,0,16Z"}))],["light",Zo.createElement(Zo.Fragment,null,Zo.createElement("path",{d:"M216,50H40A14,14,0,0,0,26,64V224a13.88,13.88,0,0,0,8.09,12.69A14.11,14.11,0,0,0,40,238a13.87,13.87,0,0,0,9-3.31l.06-.05L82.23,206H216a14,14,0,0,0,14-14V64A14,14,0,0,0,216,50Zm2,142a2,2,0,0,1-2,2H80a6,6,0,0,0-3.92,1.46L41.26,225.53A2,2,0,0,1,38,224V64a2,2,0,0,1,2-2H216a2,2,0,0,1,2,2Zm-52-80a6,6,0,0,1-6,6H96a6,6,0,0,1,0-12h64A6,6,0,0,1,166,112Zm0,32a6,6,0,0,1-6,6H96a6,6,0,0,1,0-12h64A6,6,0,0,1,166,144Z"}))],["regular",Zo.createElement(Zo.Fragment,null,Zo.createElement("path",{d:"M216,48H40A16,16,0,0,0,24,64V224a15.85,15.85,0,0,0,9.24,14.5A16.13,16.13,0,0,0,40,240a15.89,15.89,0,0,0,10.25-3.78l.09-.07L83,208H216a16,16,0,0,0,16-16V64A16,16,0,0,0,216,48ZM40,224h0ZM216,192H80a8,8,0,0,0-5.23,1.95L40,224V64H216ZM88,112a8,8,0,0,1,8-8h64a8,8,0,0,1,0,16H96A8,8,0,0,1,88,112Zm0,32a8,8,0,0,1,8-8h64a8,8,0,1,1,0,16H96A8,8,0,0,1,88,144Z"}))],["thin",Zo.createElement(Zo.Fragment,null,Zo.createElement("path",{d:"M216,52H40A12,12,0,0,0,28,64V224a11.89,11.89,0,0,0,6.93,10.88A12.17,12.17,0,0,0,40,236a11.89,11.89,0,0,0,7.69-2.83l0,0L81.49,204H216a12,12,0,0,0,12-12V64A12,12,0,0,0,216,52Zm4,140a4,4,0,0,1-4,4H80a4,4,0,0,0-2.62,1L42.56,227.06A4,4,0,0,1,36,224V64a4,4,0,0,1,4-4H216a4,4,0,0,1,4,4Zm-56-80a4,4,0,0,1-4,4H96a4,4,0,0,1,0-8h64A4,4,0,0,1,164,112Zm0,32a4,4,0,0,1-4,4H96a4,4,0,0,1,0-8h64A4,4,0,0,1,164,144Z"}))]]);var J5=F4.forwardRef((e,t)=>F4.createElement(Yr,{ref:t,...e,weights:_4}));J5.displayName="ChatTextIcon";var eM=J5;var jo=k(F(),1),cG=new Map([["bold",jo.createElement(jo.Fragment,null,jo.createElement("path",{d:"M176.49,95.51a12,12,0,0,1,0,17l-56,56a12,12,0,0,1-17,0l-24-24a12,12,0,1,1,17-17L112,143l47.51-47.52A12,12,0,0,1,176.49,95.51ZM236,128A108,108,0,1,1,128,20,108.12,108.12,0,0,1,236,128Zm-24,0a84,84,0,1,0-84,84A84.09,84.09,0,0,0,212,128Z"}))],["duotone",jo.createElement(jo.Fragment,null,jo.createElement("path",{d:"M224,128a96,96,0,1,1-96-96A96,96,0,0,1,224,128Z",opacity:"0.2"}),jo.createElement("path",{d:"M173.66,98.34a8,8,0,0,1,0,11.32l-56,56a8,8,0,0,1-11.32,0l-24-24a8,8,0,0,1,11.32-11.32L112,148.69l50.34-50.35A8,8,0,0,1,173.66,98.34ZM232,128A104,104,0,1,1,128,24,104.11,104.11,0,0,1,232,128Zm-16,0a88,88,0,1,0-88,88A88.1,88.1,0,0,0,216,128Z"}))],["fill",jo.createElement(jo.Fragment,null,jo.createElement("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm45.66,85.66-56,56a8,8,0,0,1-11.32,0l-24-24a8,8,0,0,1,11.32-11.32L112,148.69l50.34-50.35a8,8,0,0,1,11.32,11.32Z"}))],["light",jo.createElement(jo.Fragment,null,jo.createElement("path",{d:"M172.24,99.76a6,6,0,0,1,0,8.48l-56,56a6,6,0,0,1-8.48,0l-24-24a6,6,0,0,1,8.48-8.48L112,151.51l51.76-51.75A6,6,0,0,1,172.24,99.76ZM230,128A102,102,0,1,1,128,26,102.12,102.12,0,0,1,230,128Zm-12,0a90,90,0,1,0-90,90A90.1,90.1,0,0,0,218,128Z"}))],["regular",jo.createElement(jo.Fragment,null,jo.createElement("path",{d:"M173.66,98.34a8,8,0,0,1,0,11.32l-56,56a8,8,0,0,1-11.32,0l-24-24a8,8,0,0,1,11.32-11.32L112,148.69l50.34-50.35A8,8,0,0,1,173.66,98.34ZM232,128A104,104,0,1,1,128,24,104.11,104.11,0,0,1,232,128Zm-16,0a88,88,0,1,0-88,88A88.1,88.1,0,0,0,216,128Z"}))],["thin",jo.createElement(jo.Fragment,null,jo.createElement("path",{d:"M170.83,101.17a4,4,0,0,1,0,5.66l-56,56a4,4,0,0,1-5.66,0l-24-24a4,4,0,0,1,5.66-5.66L112,154.34l53.17-53.17A4,4,0,0,1,170.83,101.17ZM228,128A100,100,0,1,1,128,28,100.11,100.11,0,0,1,228,128Zm-8,0a92,92,0,1,0-92,92A92.1,92.1,0,0,0,220,128Z"}))]]);var Go=k(F(),1),uG=new Map([["bold",Go.createElement(Go.Fragment,null,Go.createElement("path",{d:"M128,20A108,108,0,1,0,236,128,108.12,108.12,0,0,0,128,20Zm0,192a84,84,0,1,1,84-84A84.09,84.09,0,0,1,128,212Z"}))],["duotone",Go.createElement(Go.Fragment,null,Go.createElement("path",{d:"M224,128a96,96,0,1,1-96-96A96,96,0,0,1,224,128Z",opacity:"0.2"}),Go.createElement("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm0,192a88,88,0,1,1,88-88A88.1,88.1,0,0,1,128,216Z"}))],["fill",Go.createElement(Go.Fragment,null,Go.createElement("path",{d:"M232,128A104,104,0,1,1,128,24,104.13,104.13,0,0,1,232,128Z"}))],["light",Go.createElement(Go.Fragment,null,Go.createElement("path",{d:"M128,26A102,102,0,1,0,230,128,102.12,102.12,0,0,0,128,26Zm0,192a90,90,0,1,1,90-90A90.1,90.1,0,0,1,128,218Z"}))],["regular",Go.createElement(Go.Fragment,null,Go.createElement("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm0,192a88,88,0,1,1,88-88A88.1,88.1,0,0,1,128,216Z"}))],["thin",Go.createElement(Go.Fragment,null,Go.createElement("path",{d:"M128,28A100,100,0,1,0,228,128,100.11,100.11,0,0,0,128,28Zm0,192a92,92,0,1,1,92-92A92.1,92.1,0,0,1,128,220Z"}))]]);var $o=k(F(),1),mG=new Map([["bold",$o.createElement($o.Fragment,null,$o.createElement("path",{d:"M176,76a48,48,0,1,0-48,48A48.05,48.05,0,0,0,176,76Zm-48,24a24,24,0,1,1,24-24A24,24,0,0,1,128,100Zm60,24a48,48,0,1,0,48,48A48.05,48.05,0,0,0,188,124Zm0,72a24,24,0,1,1,24-24A24,24,0,0,1,188,196ZM68,124a48,48,0,1,0,48,48A48.05,48.05,0,0,0,68,124Zm0,72a24,24,0,1,1,24-24A24,24,0,0,1,68,196Z"}))],["duotone",$o.createElement($o.Fragment,null,$o.createElement("path",{d:"M128,112a36,36,0,1,1,36-36A36,36,0,0,1,128,112Zm60,24a36,36,0,1,0,36,36A36,36,0,0,0,188,136ZM68,136a36,36,0,1,0,36,36A36,36,0,0,0,68,136Z",opacity:"0.2"}),$o.createElement("path",{d:"M172,76a44,44,0,1,0-44,44A44.05,44.05,0,0,0,172,76Zm-44,28a28,28,0,1,1,28-28A28,28,0,0,1,128,104Zm60,24a44,44,0,1,0,44,44A44.05,44.05,0,0,0,188,128Zm0,72a28,28,0,1,1,28-28A28,28,0,0,1,188,200ZM68,128a44,44,0,1,0,44,44A44.05,44.05,0,0,0,68,128Zm0,72a28,28,0,1,1,28-28A28,28,0,0,1,68,200Z"}))],["fill",$o.createElement($o.Fragment,null,$o.createElement("path",{d:"M128,120a44,44,0,1,1,44-44A44.05,44.05,0,0,1,128,120Zm60,8a44,44,0,1,0,44,44A44.05,44.05,0,0,0,188,128ZM68,128a44,44,0,1,0,44,44A44.05,44.05,0,0,0,68,128Z"}))],["light",$o.createElement($o.Fragment,null,$o.createElement("path",{d:"M170,76a42,42,0,1,0-42,42A42,42,0,0,0,170,76Zm-42,30a30,30,0,1,1,30-30A30,30,0,0,1,128,106Zm60,24a42,42,0,1,0,42,42A42,42,0,0,0,188,130Zm0,72a30,30,0,1,1,30-30A30,30,0,0,1,188,202ZM68,130a42,42,0,1,0,42,42A42,42,0,0,0,68,130Zm0,72a30,30,0,1,1,30-30A30,30,0,0,1,68,202Z"}))],["regular",$o.createElement($o.Fragment,null,$o.createElement("path",{d:"M172,76a44,44,0,1,0-44,44A44.05,44.05,0,0,0,172,76Zm-44,28a28,28,0,1,1,28-28A28,28,0,0,1,128,104Zm60,24a44,44,0,1,0,44,44A44.05,44.05,0,0,0,188,128Zm0,72a28,28,0,1,1,28-28A28,28,0,0,1,188,200ZM68,128a44,44,0,1,0,44,44A44.05,44.05,0,0,0,68,128Zm0,72a28,28,0,1,1,28-28A28,28,0,0,1,68,200Z"}))],["thin",$o.createElement($o.Fragment,null,$o.createElement("path",{d:"M168,76a40,40,0,1,0-40,40A40,40,0,0,0,168,76Zm-40,32a32,32,0,1,1,32-32A32,32,0,0,1,128,108Zm60,24a40,40,0,1,0,40,40A40,40,0,0,0,188,132Zm0,72a32,32,0,1,1,32-32A32,32,0,0,1,188,204ZM68,132a40,40,0,1,0,40,40A40,40,0,0,0,68,132Zm0,72a32,32,0,1,1,32-32A32,32,0,0,1,68,204Z"}))]]);var qo=k(F(),1),fG=new Map([["bold",qo.createElement(qo.Fragment,null,qo.createElement("path",{d:"M128,20A108,108,0,1,0,236,128,108.12,108.12,0,0,0,128,20Zm0,192a84,84,0,1,1,84-84A84.09,84.09,0,0,1,128,212Zm68-84a12,12,0,0,1-12,12H128a12,12,0,0,1-12-12V72a12,12,0,0,1,24,0v44h44A12,12,0,0,1,196,128Z"}))],["duotone",qo.createElement(qo.Fragment,null,qo.createElement("path",{d:"M224,128a96,96,0,1,1-96-96A96,96,0,0,1,224,128Z",opacity:"0.2"}),qo.createElement("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm0,192a88,88,0,1,1,88-88A88.1,88.1,0,0,1,128,216Zm64-88a8,8,0,0,1-8,8H128a8,8,0,0,1-8-8V72a8,8,0,0,1,16,0v48h48A8,8,0,0,1,192,128Z"}))],["fill",qo.createElement(qo.Fragment,null,qo.createElement("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm56,112H128a8,8,0,0,1-8-8V72a8,8,0,0,1,16,0v48h48a8,8,0,0,1,0,16Z"}))],["light",qo.createElement(qo.Fragment,null,qo.createElement("path",{d:"M128,26A102,102,0,1,0,230,128,102.12,102.12,0,0,0,128,26Zm0,192a90,90,0,1,1,90-90A90.1,90.1,0,0,1,128,218Zm62-90a6,6,0,0,1-6,6H128a6,6,0,0,1-6-6V72a6,6,0,0,1,12,0v50h50A6,6,0,0,1,190,128Z"}))],["regular",qo.createElement(qo.Fragment,null,qo.createElement("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm0,192a88,88,0,1,1,88-88A88.1,88.1,0,0,1,128,216Zm64-88a8,8,0,0,1-8,8H128a8,8,0,0,1-8-8V72a8,8,0,0,1,16,0v48h48A8,8,0,0,1,192,128Z"}))],["thin",qo.createElement(qo.Fragment,null,qo.createElement("path",{d:"M128,28A100,100,0,1,0,228,128,100.11,100.11,0,0,0,128,28Zm0,192a92,92,0,1,1,92-92A92.1,92.1,0,0,1,128,220Zm60-92a4,4,0,0,1-4,4H128a4,4,0,0,1-4-4V72a4,4,0,0,1,8,0v52h52A4,4,0,0,1,188,128Z"}))]]);var Xo=k(F(),1),dG=new Map([["bold",Xo.createElement(Xo.Fragment,null,Xo.createElement("path",{d:"M188,86.11V84c0-14.62-10.83-27.55-30.51-36.4C140.87,40.12,119,36,96,36S51.13,40.12,34.51,47.6C14.83,56.45,4,69.38,4,84v40c0,14.62,10.83,27.55,30.51,36.4A131.67,131.67,0,0,0,68,169.88V172c0,14.62,10.83,27.55,30.51,36.4C115.13,215.88,137,220,160,220s44.87-4.12,61.49-11.6C241.17,199.55,252,186.62,252,172V132C252,109.86,226.71,92.08,188,86.11ZM228,132c0,7.75-21.77,22.48-61.81,23.88C180.33,147.4,188,136.3,188,124V110.44C213.88,115.15,228,125.48,228,132ZM107.37,147.63c-3.63.24-7.42.37-11.37.37-5.08,0-9.89-.22-14.43-.61a10.94,10.94,0,0,0-1.14-.09c-1.51-.14-3-.3-4.43-.48V130.93A187,187,0,0,0,96,132a187,187,0,0,0,20-1.07v15.89c-2.49.3-5.07.56-7.75.75C108,147.58,107.66,147.6,107.37,147.63ZM164,117.14V124c0,4.78-8.28,12.21-24,17.54v-15a115.32,115.32,0,0,0,17.49-6.13Q160.93,118.86,164,117.14ZM96,60c44,0,68,15.85,68,24s-24,24-68,24S28,92.15,28,84,52,60,96,60ZM28,124v-6.86q3.08,1.71,6.51,3.26A115.32,115.32,0,0,0,52,126.53v15C36.28,136.21,28,128.78,28,124Zm64,48v0c1.33,0,2.66,0,4,0q5.44,0,10.77-.32,4.45,1.57,9.23,2.86v15C100.28,184.21,92,176.78,92,172Zm48,22.82V178.94A186.45,186.45,0,0,0,160,180a187,187,0,0,0,20-1.07v15.89a170.08,170.08,0,0,1-40,0Zm64-5.28v-15a115.32,115.32,0,0,0,17.49-6.13q3.44-1.54,6.51-3.26V172C228,176.78,219.72,184.21,204,189.54Z"}))],["duotone",Xo.createElement(Xo.Fragment,null,Xo.createElement("path",{d:"M240,132c0,19.88-35.82,36-80,36-19.6,0-37.56-3.17-51.47-8.44h0C146.76,156.85,176,142,176,124V96.72h0C212.52,100.06,240,114.58,240,132ZM176,84c0-19.88-35.82-36-80-36S16,64.12,16,84s35.82,36,80,36S176,103.88,176,84Z",opacity:"0.2"}),Xo.createElement("path",{d:"M184,89.57V84c0-25.08-37.83-44-88-44S8,58.92,8,84v40c0,20.89,26.25,37.49,64,42.46V172c0,25.08,37.83,44,88,44s88-18.92,88-44V132C248,111.3,222.58,94.68,184,89.57ZM232,132c0,13.22-30.79,28-72,28-3.73,0-7.43-.13-11.08-.37C170.49,151.77,184,139,184,124V105.74C213.87,110.19,232,122.27,232,132ZM72,150.25V126.46A183.74,183.74,0,0,0,96,128a183.74,183.74,0,0,0,24-1.54v23.79A163,163,0,0,1,96,152,163,163,0,0,1,72,150.25Zm96-40.32V124c0,8.39-12.41,17.4-32,22.87V123.5C148.91,120.37,159.84,115.71,168,109.93ZM96,56c41.21,0,72,14.78,72,28s-30.79,28-72,28S24,97.22,24,84,54.79,56,96,56ZM24,124V109.93c8.16,5.78,19.09,10.44,32,13.57v23.37C36.41,141.4,24,132.39,24,124Zm64,48v-4.17c2.63.1,5.29.17,8,.17,3.88,0,7.67-.13,11.39-.35A121.92,121.92,0,0,0,120,171.41v23.46C100.41,189.4,88,180.39,88,172Zm48,26.25V174.4a179.48,179.48,0,0,0,24,1.6,183.74,183.74,0,0,0,24-1.54v23.79a165.45,165.45,0,0,1-48,0Zm64-3.38V171.5c12.91-3.13,23.84-7.79,32-13.57V172C232,180.39,219.59,189.4,200,194.87Z"}))],["fill",Xo.createElement(Xo.Fragment,null,Xo.createElement("path",{d:"M184,89.57V84c0-25.08-37.83-44-88-44S8,58.92,8,84v40c0,20.89,26.25,37.49,64,42.46V172c0,25.08,37.83,44,88,44s88-18.92,88-44V132C248,111.3,222.58,94.68,184,89.57ZM56,146.87C36.41,141.4,24,132.39,24,124V109.93c8.16,5.78,19.09,10.44,32,13.57Zm80-23.37c12.91-3.13,23.84-7.79,32-13.57V124c0,8.39-12.41,17.4-32,22.87Zm-16,71.37C100.41,189.4,88,180.39,88,172v-4.17c2.63.1,5.29.17,8,.17,3.88,0,7.67-.13,11.39-.35A121.92,121.92,0,0,0,120,171.41Zm0-44.62A163,163,0,0,1,96,152a163,163,0,0,1-24-1.75V126.46A183.74,183.74,0,0,0,96,128a183.74,183.74,0,0,0,24-1.54Zm64,48a165.45,165.45,0,0,1-48,0V174.4a179.48,179.48,0,0,0,24,1.6,183.74,183.74,0,0,0,24-1.54ZM232,172c0,8.39-12.41,17.4-32,22.87V171.5c12.91-3.13,23.84-7.79,32-13.57Z"}))],["light",Xo.createElement(Xo.Fragment,null,Xo.createElement("path",{d:"M224.56,103.81C213.43,97.75,198.47,93.39,182,91.34V84c0-12.12-9.58-23.1-27-30.93C139.16,45.93,118.2,42,96,42S52.84,45.93,37,53.07C19.58,60.9,10,71.88,10,84v40c0,12.12,9.58,23.1,27,30.93,10.49,4.72,23.21,8,37,9.73V172c0,12.12,9.58,23.1,27,30.93C116.84,210.07,137.8,214,160,214s43.16-3.93,59-11.07c17.39-7.83,27-18.81,27-30.93V132C246,121.35,238.39,111.34,224.56,103.81Zm-5.74,10.54C228.61,119.68,234,126,234,132c0,14.19-30.39,30-74,30a166.9,166.9,0,0,1-21.21-1.34A110.79,110.79,0,0,0,155,154.93c17.39-7.83,27-18.81,27-30.93V103.43C196.4,105.36,209.3,109.16,218.82,114.35ZM108.16,153.58c-3.92.27-8,.42-12.16.42-5.3,0-10.4-.24-15.28-.67a2.22,2.22,0,0,0-.37,0c-3.58-.33-7-.77-10.35-1.3V124.12A178,178,0,0,0,96,126a178,178,0,0,0,26-1.88V152c-4.34.69-8.91,1.22-13.69,1.56ZM170,105.89V124c0,9.54-13.75,19.8-36,25.51V121.85a115,115,0,0,0,21-6.92A66.2,66.2,0,0,0,170,105.89ZM96,54c43.61,0,74,15.81,74,30s-30.39,30-74,30S22,98.19,22,84,52.39,54,96,54ZM22,124V105.89a66.2,66.2,0,0,0,15,9,115,115,0,0,0,21,6.92v27.66C35.75,143.8,22,133.54,22,124Zm64,48v-6.28c3.3.18,6.63.28,10,.28q5.91,0,11.66-.37A123.17,123.17,0,0,0,122,169.84v27.67C99.75,191.8,86,181.54,86,172Zm48,28V172.1a177.84,177.84,0,0,0,26,1.9,178,178,0,0,0,26-1.88V200a170,170,0,0,1-52,0Zm64-2.49V169.85a115,115,0,0,0,21-6.92,66.2,66.2,0,0,0,15-9V172C234,181.54,220.25,191.8,198,197.51Z"}))],["regular",Xo.createElement(Xo.Fragment,null,Xo.createElement("path",{d:"M184,89.57V84c0-25.08-37.83-44-88-44S8,58.92,8,84v40c0,20.89,26.25,37.49,64,42.46V172c0,25.08,37.83,44,88,44s88-18.92,88-44V132C248,111.3,222.58,94.68,184,89.57ZM232,132c0,13.22-30.79,28-72,28-3.73,0-7.43-.13-11.08-.37C170.49,151.77,184,139,184,124V105.74C213.87,110.19,232,122.27,232,132ZM72,150.25V126.46A183.74,183.74,0,0,0,96,128a183.74,183.74,0,0,0,24-1.54v23.79A163,163,0,0,1,96,152,163,163,0,0,1,72,150.25Zm96-40.32V124c0,8.39-12.41,17.4-32,22.87V123.5C148.91,120.37,159.84,115.71,168,109.93ZM96,56c41.21,0,72,14.78,72,28s-30.79,28-72,28S24,97.22,24,84,54.79,56,96,56ZM24,124V109.93c8.16,5.78,19.09,10.44,32,13.57v23.37C36.41,141.4,24,132.39,24,124Zm64,48v-4.17c2.63.1,5.29.17,8,.17,3.88,0,7.67-.13,11.39-.35A121.92,121.92,0,0,0,120,171.41v23.46C100.41,189.4,88,180.39,88,172Zm48,26.25V174.4a179.48,179.48,0,0,0,24,1.6,183.74,183.74,0,0,0,24-1.54v23.79a165.45,165.45,0,0,1-48,0Zm64-3.38V171.5c12.91-3.13,23.84-7.79,32-13.57V172C232,180.39,219.59,189.4,200,194.87Z"}))],["thin",Xo.createElement(Xo.Fragment,null,Xo.createElement("path",{d:"M180,93.11V84c0-22.43-36.9-40-84-40S12,61.57,12,84v40c0,19.14,26.86,34.72,64,38.89V172c0,22.43,36.9,40,84,40s84-17.57,84-40V132C244,113.12,217.87,97.37,180,93.11ZM236,132c0,15.45-30.54,32-76,32a165.71,165.71,0,0,1-28-2.34v-1.39c28.61-6.31,48-20,48-36.27V101.17C212.22,105,236,117.93,236,132ZM108.19,155.59Q102.3,156,96,156c-5.47,0-10.72-.25-15.73-.69l-.27,0h0c-4.16-.38-8.16-.9-12-1.56V121.8A174.87,174.87,0,0,0,96,124a174.87,174.87,0,0,0,28-2.2v31.92a155,155,0,0,1-15.52,1.85ZM172,101.32V124c0,10.88-15.16,22.3-40,28.11V120.27C149.63,116.38,163.75,109.69,172,101.32ZM96,52c45.46,0,76,16.55,76,32s-30.54,32-76,32S20,99.45,20,84,50.54,52,96,52ZM20,124V101.32c8.25,8.37,22.37,15.06,40,19v31.84C35.16,146.3,20,134.88,20,124Zm64,48v-8.4c3.91.26,7.92.4,12,.4s8.06-.14,12-.39a123.93,123.93,0,0,0,16,4.63v31.87C99.16,194.3,84,182.88,84,172Zm48,29.72V169.77A174.48,174.48,0,0,0,160,172a174.87,174.87,0,0,0,28-2.2v31.92a173.07,173.07,0,0,1-56,0ZM236,172c0,10.88-15.16,22.3-40,28.11V168.27c17.63-3.89,31.75-10.58,40-19Z"}))]]);var O4=k(F(),1);var Yo=k(F(),1),H4=new Map([["bold",Yo.createElement(Yo.Fragment,null,Yo.createElement("path",{d:"M128,20A108,108,0,1,0,236,128,108.12,108.12,0,0,0,128,20Zm0,192a84,84,0,1,1,84-84A84.09,84.09,0,0,1,128,212Zm44-64a32,32,0,0,1-32,32v4a12,12,0,0,1-24,0v-4H104a12,12,0,0,1,0-24h36a8,8,0,0,0,0-16H116a32,32,0,0,1,0-64V72a12,12,0,0,1,24,0v4h12a12,12,0,0,1,0,24H116a8,8,0,0,0,0,16h24A32,32,0,0,1,172,148Z"}))],["duotone",Yo.createElement(Yo.Fragment,null,Yo.createElement("path",{d:"M224,128a96,96,0,1,1-96-96A96,96,0,0,1,224,128Z",opacity:"0.2"}),Yo.createElement("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm0,192a88,88,0,1,1,88-88A88.1,88.1,0,0,1,128,216Zm40-68a28,28,0,0,1-28,28h-4v8a8,8,0,0,1-16,0v-8H104a8,8,0,0,1,0-16h36a12,12,0,0,0,0-24H116a28,28,0,0,1,0-56h4V72a8,8,0,0,1,16,0v8h16a8,8,0,0,1,0,16H116a12,12,0,0,0,0,24h24A28,28,0,0,1,168,148Z"}))],["fill",Yo.createElement(Yo.Fragment,null,Yo.createElement("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm12,152h-4v8a8,8,0,0,1-16,0v-8H104a8,8,0,0,1,0-16h36a12,12,0,0,0,0-24H116a28,28,0,0,1,0-56h4V72a8,8,0,0,1,16,0v8h16a8,8,0,0,1,0,16H116a12,12,0,0,0,0,24h24a28,28,0,0,1,0,56Z"}))],["light",Yo.createElement(Yo.Fragment,null,Yo.createElement("path",{d:"M128,26A102,102,0,1,0,230,128,102.12,102.12,0,0,0,128,26Zm0,192a90,90,0,1,1,90-90A90.1,90.1,0,0,1,128,218Zm38-70a26,26,0,0,1-26,26h-6v10a6,6,0,0,1-12,0V174H104a6,6,0,0,1,0-12h36a14,14,0,0,0,0-28H116a26,26,0,0,1,0-52h6V72a6,6,0,0,1,12,0V82h18a6,6,0,0,1,0,12H116a14,14,0,0,0,0,28h24A26,26,0,0,1,166,148Z"}))],["regular",Yo.createElement(Yo.Fragment,null,Yo.createElement("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm0,192a88,88,0,1,1,88-88A88.1,88.1,0,0,1,128,216Zm40-68a28,28,0,0,1-28,28h-4v8a8,8,0,0,1-16,0v-8H104a8,8,0,0,1,0-16h36a12,12,0,0,0,0-24H116a28,28,0,0,1,0-56h4V72a8,8,0,0,1,16,0v8h16a8,8,0,0,1,0,16H116a12,12,0,0,0,0,24h24A28,28,0,0,1,168,148Z"}))],["thin",Yo.createElement(Yo.Fragment,null,Yo.createElement("path",{d:"M128,28A100,100,0,1,0,228,128,100.11,100.11,0,0,0,128,28Zm0,192a92,92,0,1,1,92-92A92.1,92.1,0,0,1,128,220Zm36-72a24,24,0,0,1-24,24h-8v12a4,4,0,0,1-8,0V172H104a4,4,0,0,1,0-8h36a16,16,0,0,0,0-32H116a24,24,0,0,1,0-48h8V72a4,4,0,0,1,8,0V84h20a4,4,0,0,1,0,8H116a16,16,0,0,0,0,32h24A24,24,0,0,1,164,148Z"}))]]);var tM=O4.forwardRef((e,t)=>O4.createElement(Yr,{ref:t,...e,weights:H4}));tM.displayName="CurrencyCircleDollarIcon";var oM=tM;var Ko=k(F(),1),pG=new Map([["bold",Ko.createElement(Ko.Fragment,null,Ko.createElement("path",{d:"M224.15,179.17l-46.82-46.82,37.92-13.51c.26-.09.51-.19.76-.3a20,20,0,0,0-1.76-37.27L54.16,29A20,20,0,0,0,29,54.16L81.27,214.24A20,20,0,0,0,118.54,216c.11-.25.21-.5.3-.76l13.51-37.92,46.83,46.82a20,20,0,0,0,28.28,0l16.69-16.68A20,20,0,0,0,224.15,179.17Zm-30.83,25.17-48.48-48.48A20,20,0,0,0,130.7,150a20.47,20.47,0,0,0-3.73.35A20,20,0,0,0,112.35,162c-.11.25-.2.5-.3.76L100.4,195.5,54.29,54.29,195.5,100.4l-32.71,11.65c-.25.09-.51.19-.76.3a20,20,0,0,0-6.16,32.48h0l48.48,48.48ZM84,16V12a12,12,0,0,1,24,0v4a12,12,0,0,1-24,0ZM12,108a12,12,0,0,1,0-24h4a12,12,0,0,1,0,24ZM120.62,24.21l4-12a12,12,0,0,1,22.77,7.58l-4,12a12,12,0,0,1-22.77-7.58Zm-81.23,104a12,12,0,0,1-7.59,15.17l-12,4a12,12,0,1,1-7.59-22.76l12-4A12,12,0,0,1,39.39,128.21Z"}))],["duotone",Ko.createElement(Ko.Fragment,null,Ko.createElement("path",{d:"M213.66,201,201,213.66a8,8,0,0,1-11.31,0l-51.31-51.31a8,8,0,0,0-13,2.46l-17.82,46.41a8,8,0,0,1-14.85-.71L40.41,50.44a8,8,0,0,1,10-10L210.51,92.68a8,8,0,0,1,.71,14.85l-46.41,17.82a8,8,0,0,0-2.46,13l51.31,51.31A8,8,0,0,1,213.66,201Z",opacity:"0.2"}),Ko.createElement("path",{d:"M88,24V16a8,8,0,0,1,16,0v8a8,8,0,0,1-16,0ZM16,104h8a8,8,0,0,0,0-16H16a8,8,0,0,0,0,16ZM124.42,39.16a8,8,0,0,0,10.74-3.58l8-16a8,8,0,0,0-14.31-7.16l-8,16A8,8,0,0,0,124.42,39.16Zm-96,81.69-16,8a8,8,0,0,0,7.16,14.31l16-8a8,8,0,1,0-7.16-14.31ZM219.31,184a16,16,0,0,1,0,22.63l-12.68,12.68a16,16,0,0,1-22.63,0L132.7,168,115,214.09c0,.1-.08.21-.13.32a15.83,15.83,0,0,1-14.6,9.59l-.79,0a15.83,15.83,0,0,1-14.41-11L32.8,52.92A16,16,0,0,1,52.92,32.8L213,85.07a16,16,0,0,1,1.41,29.8l-.32.13L168,132.69ZM208,195.31,156.69,144h0a16,16,0,0,1,4.93-26l.32-.14,45.95-17.64L48,48l52.2,159.86,17.65-46c0-.11.08-.22.13-.33a16,16,0,0,1,11.69-9.34,16.72,16.72,0,0,1,3-.28,16,16,0,0,1,11.3,4.69L195.31,208Z"}))],["fill",Ko.createElement(Ko.Fragment,null,Ko.createElement("path",{d:"M220.49,190.83a12,12,0,0,1,0,17L207.8,220.49a12,12,0,0,1-17,0l-56.56-56.57L115,214.09c0,.1-.08.21-.13.32a15.83,15.83,0,0,1-14.6,9.59l-.79,0a15.83,15.83,0,0,1-14.41-11L32.8,52.92A16,16,0,0,1,52.92,32.8L213,85.07a16,16,0,0,1,1.41,29.8l-.32.13-50.17,19.27ZM96,32a8,8,0,0,0,8-8V16a8,8,0,0,0-16,0v8A8,8,0,0,0,96,32ZM16,104h8a8,8,0,0,0,0-16H16a8,8,0,0,0,0,16ZM124.42,39.16a8,8,0,0,0,10.74-3.58l8-16a8,8,0,0,0-14.31-7.16l-8,16A8,8,0,0,0,124.42,39.16Zm-96,81.69-16,8a8,8,0,0,0,7.16,14.31l16-8a8,8,0,1,0-7.16-14.31Z"}))],["light",Ko.createElement(Ko.Fragment,null,Ko.createElement("path",{d:"M90,24V16a6,6,0,0,1,12,0v8a6,6,0,0,1-12,0ZM16,102h8a6,6,0,0,0,0-12H16a6,6,0,0,0,0,12ZM125.32,37.37a6,6,0,0,0,8.05-2.69l8-16a6,6,0,0,0-10.74-5.37l-8,16A6,6,0,0,0,125.32,37.37Zm-96,85.26-16,8a6,6,0,0,0,5.36,10.74l16-8a6,6,0,1,0-5.36-10.74ZM217.9,185.41a14,14,0,0,1,0,19.8L205.21,217.9a14,14,0,0,1-19.8,0L134.1,166.59a2,2,0,0,0-3.21.54l-17.75,46.24a2.44,2.44,0,0,0-.1.24A13.85,13.85,0,0,1,100.26,222c-.23,0-.45,0-.68,0A13.85,13.85,0,0,1,87,212.38L34.7,52.3A14,14,0,0,1,52.3,34.7L212.38,87A14,14,0,0,1,213.61,113l-.24.09-46.25,17.76a2,2,0,0,0-.53,3.21Zm-8.49,8.49L158.1,142.59h0a14,14,0,0,1,4.32-22.74l.24-.1L208.91,102a2,2,0,0,0-.26-3.61L48.58,46.11a2.33,2.33,0,0,0-.65-.11,2,2,0,0,0-1.82,2.58L98.38,208.65a1.84,1.84,0,0,0,1.77,1.35,1.81,1.81,0,0,0,1.84-1.09l17.76-46.25.1-.24a14,14,0,0,1,22.74-4.32l51.31,51.31a2,2,0,0,0,2.83,0l12.68-12.68A2,2,0,0,0,209.41,193.9Z"}))],["regular",Ko.createElement(Ko.Fragment,null,Ko.createElement("path",{d:"M88,24V16a8,8,0,0,1,16,0v8a8,8,0,0,1-16,0ZM16,104h8a8,8,0,0,0,0-16H16a8,8,0,0,0,0,16ZM124.42,39.16a8,8,0,0,0,10.74-3.58l8-16a8,8,0,0,0-14.31-7.16l-8,16A8,8,0,0,0,124.42,39.16Zm-96,81.69-16,8a8,8,0,0,0,7.16,14.31l16-8a8,8,0,1,0-7.16-14.31ZM219.31,184a16,16,0,0,1,0,22.63l-12.68,12.68a16,16,0,0,1-22.63,0L132.7,168,115,214.09c0,.1-.08.21-.13.32a15.83,15.83,0,0,1-14.6,9.59l-.79,0a15.83,15.83,0,0,1-14.41-11L32.8,52.92A16,16,0,0,1,52.92,32.8L213,85.07a16,16,0,0,1,1.41,29.8l-.32.13L168,132.69ZM208,195.31,156.69,144h0a16,16,0,0,1,4.93-26l.32-.14,45.95-17.64L48,48l52.2,159.86,17.65-46c0-.11.08-.22.13-.33a16,16,0,0,1,11.69-9.34,16.72,16.72,0,0,1,3-.28,16,16,0,0,1,11.3,4.69L195.31,208Z"}))],["thin",Ko.createElement(Ko.Fragment,null,Ko.createElement("path",{d:"M92,24V16a4,4,0,0,1,8,0v8a4,4,0,0,1-8,0ZM16,100h8a4,4,0,0,0,0-8H16a4,4,0,0,0,0,8ZM126.21,35.58a4,4,0,0,0,5.37-1.79l8-16a4,4,0,0,0-7.16-3.58l-8,16A4,4,0,0,0,126.21,35.58Zm-96,88.84-16,8a4,4,0,0,0,3.58,7.16l16-8a4,4,0,1,0-3.58-7.16Zm186.28,62.41a12,12,0,0,1,0,17L203.8,216.49a12,12,0,0,1-17,0l-51.31-51.31a3.93,3.93,0,0,0-3.58-1.11,4,4,0,0,0-2.89,2.27l-17.78,46.31a.77.77,0,0,1-.07.16A11.85,11.85,0,0,1,100.26,220h-.59a11.88,11.88,0,0,1-10.8-8.23L36.6,51.68A12,12,0,0,1,51.68,36.6L211.76,88.87a12,12,0,0,1,1.05,22.33l-.16.07-46.31,17.78a4,4,0,0,0-1.17,6.47Zm-5.66,5.66-51.31-51.32a12,12,0,0,1,3.7-19.49l.16-.06,46.31-17.79a3.95,3.95,0,0,0-.42-7.35L49.2,44.21a4,4,0,0,0-5,5L96.48,209.27a4,4,0,0,0,7.36.42l17.78-46.31a1.11,1.11,0,0,1,.07-.16,12,12,0,0,1,8.76-7,12.21,12.21,0,0,1,2.24-.21,12,12,0,0,1,8.49,3.52l51.31,51.31a4,4,0,0,0,5.65,0l12.69-12.69A4,4,0,0,0,210.83,192.49Z"}))]]);var Qo=k(F(),1),hG=new Map([["bold",Qo.createElement(Qo.Fragment,null,Qo.createElement("path",{d:"M196,35.52C177.62,25.51,153.48,20,128,20S78.38,25.51,60,35.52C39.37,46.79,28,62.58,28,80v96c0,17.42,11.37,33.21,32,44.48,18.35,10,42.49,15.52,68,15.52s49.62-5.51,68-15.52c20.66-11.27,32-27.06,32-44.48V80C228,62.58,216.63,46.79,196,35.52ZM204,128c0,17-31.21,36-76,36s-76-19-76-36v-8.46a88.9,88.9,0,0,0,8,4.94c18.35,10,42.49,15.52,68,15.52s49.62-5.51,68-15.52a88.9,88.9,0,0,0,8-4.94ZM128,44c44.79,0,76,19,76,36s-31.21,36-76,36S52,97,52,80,83.21,44,128,44Zm0,168c-44.79,0-76-19-76-36v-8.46a88.9,88.9,0,0,0,8,4.94c18.35,10,42.49,15.52,68,15.52s49.62-5.51,68-15.52a88.9,88.9,0,0,0,8-4.94V176C204,193,172.79,212,128,212Z"}))],["duotone",Qo.createElement(Qo.Fragment,null,Qo.createElement("path",{d:"M216,80c0,26.51-39.4,48-88,48S40,106.51,40,80s39.4-48,88-48S216,53.49,216,80Z",opacity:"0.2"}),Qo.createElement("path",{d:"M128,24C74.17,24,32,48.6,32,80v96c0,31.4,42.17,56,96,56s96-24.6,96-56V80C224,48.6,181.83,24,128,24Zm80,104c0,9.62-7.88,19.43-21.61,26.92C170.93,163.35,150.19,168,128,168s-42.93-4.65-58.39-13.08C55.88,147.43,48,137.62,48,128V111.36c17.06,15,46.23,24.64,80,24.64s62.94-9.68,80-24.64ZM69.61,53.08C85.07,44.65,105.81,40,128,40s42.93,4.65,58.39,13.08C200.12,60.57,208,70.38,208,80s-7.88,19.43-21.61,26.92C170.93,115.35,150.19,120,128,120s-42.93-4.65-58.39-13.08C55.88,99.43,48,89.62,48,80S55.88,60.57,69.61,53.08ZM186.39,202.92C170.93,211.35,150.19,216,128,216s-42.93-4.65-58.39-13.08C55.88,195.43,48,185.62,48,176V159.36c17.06,15,46.23,24.64,80,24.64s62.94-9.68,80-24.64V176C208,185.62,200.12,195.43,186.39,202.92Z"}))],["fill",Qo.createElement(Qo.Fragment,null,Qo.createElement("path",{d:"M128,24C74.17,24,32,48.6,32,80v96c0,31.4,42.17,56,96,56s96-24.6,96-56V80C224,48.6,181.83,24,128,24Zm80,104c0,9.62-7.88,19.43-21.61,26.92C170.93,163.35,150.19,168,128,168s-42.93-4.65-58.39-13.08C55.88,147.43,48,137.62,48,128V111.36c17.06,15,46.23,24.64,80,24.64s62.94-9.68,80-24.64Zm-21.61,74.92C170.93,211.35,150.19,216,128,216s-42.93-4.65-58.39-13.08C55.88,195.43,48,185.62,48,176V159.36c17.06,15,46.23,24.64,80,24.64s62.94-9.68,80-24.64V176C208,185.62,200.12,195.43,186.39,202.92Z"}))],["light",Qo.createElement(Qo.Fragment,null,Qo.createElement("path",{d:"M128,26C75.29,26,34,49.72,34,80v96c0,30.28,41.29,54,94,54s94-23.72,94-54V80C222,49.72,180.71,26,128,26Zm0,12c44.45,0,82,19.23,82,42s-37.55,42-82,42S46,102.77,46,80,83.55,38,128,38Zm82,138c0,22.77-37.55,42-82,42s-82-19.23-82-42V154.79C62,171.16,92.37,182,128,182s66-10.84,82-27.21Zm0-48c0,22.77-37.55,42-82,42s-82-19.23-82-42V106.79C62,123.16,92.37,134,128,134s66-10.84,82-27.21Z"}))],["regular",Qo.createElement(Qo.Fragment,null,Qo.createElement("path",{d:"M128,24C74.17,24,32,48.6,32,80v96c0,31.4,42.17,56,96,56s96-24.6,96-56V80C224,48.6,181.83,24,128,24Zm80,104c0,9.62-7.88,19.43-21.61,26.92C170.93,163.35,150.19,168,128,168s-42.93-4.65-58.39-13.08C55.88,147.43,48,137.62,48,128V111.36c17.06,15,46.23,24.64,80,24.64s62.94-9.68,80-24.64ZM69.61,53.08C85.07,44.65,105.81,40,128,40s42.93,4.65,58.39,13.08C200.12,60.57,208,70.38,208,80s-7.88,19.43-21.61,26.92C170.93,115.35,150.19,120,128,120s-42.93-4.65-58.39-13.08C55.88,99.43,48,89.62,48,80S55.88,60.57,69.61,53.08ZM186.39,202.92C170.93,211.35,150.19,216,128,216s-42.93-4.65-58.39-13.08C55.88,195.43,48,185.62,48,176V159.36c17.06,15,46.23,24.64,80,24.64s62.94-9.68,80-24.64V176C208,185.62,200.12,195.43,186.39,202.92Z"}))],["thin",Qo.createElement(Qo.Fragment,null,Qo.createElement("path",{d:"M192.14,42.55C174.94,33.17,152.16,28,128,28S81.06,33.17,63.86,42.55C45.89,52.35,36,65.65,36,80v96c0,14.35,9.89,27.65,27.86,37.45,17.2,9.38,40,14.55,64.14,14.55s46.94-5.17,64.14-14.55c18-9.8,27.86-23.1,27.86-37.45V80C220,65.65,210.11,52.35,192.14,42.55ZM212,176c0,11.29-8.41,22.1-23.69,30.43C172.27,215.18,150.85,220,128,220s-44.27-4.82-60.31-13.57C52.41,198.1,44,187.29,44,176V149.48c4.69,5.93,11.37,11.34,19.86,16,17.2,9.38,40,14.55,64.14,14.55s46.94-5.17,64.14-14.55c8.49-4.63,15.17-10,19.86-16Zm0-48c0,11.29-8.41,22.1-23.69,30.43C172.27,167.18,150.85,172,128,172s-44.27-4.82-60.31-13.57C52.41,150.1,44,139.29,44,128V101.48c4.69,5.93,11.37,11.34,19.86,16,17.2,9.38,40,14.55,64.14,14.55s46.94-5.17,64.14-14.55c8.49-4.63,15.17-10,19.86-16Zm-23.69-17.57C172.27,119.18,150.85,124,128,124s-44.27-4.82-60.31-13.57C52.41,102.1,44,91.29,44,80s8.41-22.1,23.69-30.43C83.73,40.82,105.15,36,128,36s44.27,4.82,60.31,13.57C203.59,57.9,212,68.71,212,80S203.59,102.1,188.31,110.43Z"}))]]);var Jo=k(F(),1),gG=new Map([["bold",Jo.createElement(Jo.Fragment,null,Jo.createElement("path",{d:"M228,144v64a12,12,0,0,1-12,12H40a12,12,0,0,1-12-12V144a12,12,0,0,1,24,0v52H204V144a12,12,0,0,1,24,0Zm-108.49,8.49a12,12,0,0,0,17,0l40-40a12,12,0,0,0-17-17L140,115V32a12,12,0,0,0-24,0v83L96.49,95.51a12,12,0,0,0-17,17Z"}))],["duotone",Jo.createElement(Jo.Fragment,null,Jo.createElement("path",{d:"M216,48V208H40V48A16,16,0,0,1,56,32H200A16,16,0,0,1,216,48Z",opacity:"0.2"}),Jo.createElement("path",{d:"M224,144v64a8,8,0,0,1-8,8H40a8,8,0,0,1-8-8V144a8,8,0,0,1,16,0v56H208V144a8,8,0,0,1,16,0Zm-101.66,5.66a8,8,0,0,0,11.32,0l40-40a8,8,0,0,0-11.32-11.32L136,124.69V32a8,8,0,0,0-16,0v92.69L93.66,98.34a8,8,0,0,0-11.32,11.32Z"}))],["fill",Jo.createElement(Jo.Fragment,null,Jo.createElement("path",{d:"M224,144v64a8,8,0,0,1-8,8H40a8,8,0,0,1-8-8V144a8,8,0,0,1,16,0v56H208V144a8,8,0,0,1,16,0Zm-101.66,5.66a8,8,0,0,0,11.32,0l40-40A8,8,0,0,0,168,96H136V32a8,8,0,0,0-16,0V96H88a8,8,0,0,0-5.66,13.66Z"}))],["light",Jo.createElement(Jo.Fragment,null,Jo.createElement("path",{d:"M222,144v64a6,6,0,0,1-6,6H40a6,6,0,0,1-6-6V144a6,6,0,0,1,12,0v58H210V144a6,6,0,0,1,12,0Zm-98.24,4.24a6,6,0,0,0,8.48,0l40-40a6,6,0,0,0-8.48-8.48L134,129.51V32a6,6,0,0,0-12,0v97.51L92.24,99.76a6,6,0,0,0-8.48,8.48Z"}))],["regular",Jo.createElement(Jo.Fragment,null,Jo.createElement("path",{d:"M224,144v64a8,8,0,0,1-8,8H40a8,8,0,0,1-8-8V144a8,8,0,0,1,16,0v56H208V144a8,8,0,0,1,16,0Zm-101.66,5.66a8,8,0,0,0,11.32,0l40-40a8,8,0,0,0-11.32-11.32L136,124.69V32a8,8,0,0,0-16,0v92.69L93.66,98.34a8,8,0,0,0-11.32,11.32Z"}))],["thin",Jo.createElement(Jo.Fragment,null,Jo.createElement("path",{d:"M220,144v64a4,4,0,0,1-4,4H40a4,4,0,0,1-4-4V144a4,4,0,0,1,8,0v60H212V144a4,4,0,0,1,8,0Zm-94.83,2.83a4,4,0,0,0,5.66,0l40-40a4,4,0,1,0-5.66-5.66L132,134.34V32a4,4,0,0,0-8,0V134.34L90.83,101.17a4,4,0,0,0-5.66,5.66Z"}))]]);var er=k(F(),1),bG=new Map([["bold",er.createElement(er.Fragment,null,er.createElement("path",{d:"M225.15,197.71,164,95.81V44h4a12,12,0,0,0,0-24H88a12,12,0,0,0,0,24h4V95.81L30.85,197.71A20,20,0,0,0,48,228H208a20,20,0,0,0,17.15-30.29ZM140,44V99.14a12,12,0,0,0,1.71,6.17l35.13,58.54c-10.79.86-25.15-1.31-43.42-10.56-14-7.08-27.46-11.33-40.27-12.76l21.14-35.22A12,12,0,0,0,116,99.14V44ZM55.06,204,79,164.19c13-1.11,27.62,2.42,43.62,10.52,19.61,9.92,36.25,13.31,49.85,13.31A75.44,75.44,0,0,0,190.11,186l10.83,18Z"}))],["duotone",er.createElement(er.Fragment,null,er.createElement("path",{d:"M208,216H48a8,8,0,0,1-6.86-12.12l30.48-50.8h0c13.23-2.48,32-1.41,56.37,10.92,32.25,16.33,54.75,12.91,67.5,7.65h0l19.34,32.23A8,8,0,0,1,208,216Z",opacity:"0.2"}),er.createElement("path",{d:"M221.69,199.77,160,96.92V40h8a8,8,0,0,0,0-16H88a8,8,0,0,0,0,16h8V96.92L34.31,199.77A16,16,0,0,0,48,224H208a16,16,0,0,0,13.72-24.23ZM110.86,103.25A7.93,7.93,0,0,0,112,99.14V40h32V99.14a7.93,7.93,0,0,0,1.14,4.11L183.36,167c-12,2.37-29.07,1.37-51.75-10.11-15.91-8.05-31.05-12.32-45.22-12.81ZM48,208l28.54-47.58c14.25-1.73,30.31,1.85,47.82,10.72,19,9.61,35,12.88,48,12.88a69.89,69.89,0,0,0,19.55-2.7L208,208Z"}))],["fill",er.createElement(er.Fragment,null,er.createElement("path",{d:"M221.69,199.77,160,96.92V40h8a8,8,0,0,0,0-16H88a8,8,0,0,0,0,16h8V96.92L34.31,199.77A16,16,0,0,0,48,224H208a16,16,0,0,0,13.72-24.23Zm-90.08-42.91c-15.91-8.05-31.05-12.32-45.22-12.81l24.47-40.8A7.93,7.93,0,0,0,112,99.14V40h32V99.14a7.93,7.93,0,0,0,1.14,4.11L183.36,167C171.4,169.34,154.29,168.34,131.61,156.86Z"}))],["light",er.createElement(er.Fragment,null,er.createElement("path",{d:"M220,200.8,158,97.48V38h10a6,6,0,0,0,0-12H88a6,6,0,0,0,0,12H98V97.48L36,200.8A14,14,0,0,0,48,222H208a14,14,0,0,0,12-21.2ZM109.15,102.23a6,6,0,0,0,.85-3.09V38h36V99.14a6,6,0,0,0,.85,3.09l39.65,66.08c-12.41,3.16-30.86,3-55.79-9.66-16.94-8.58-33-12.8-47.83-12.64ZM209.72,209a2,2,0,0,1-1.74,1H48a2,2,0,0,1-1.71-3l29-48.41c14.89-2.08,31.68,1.55,49.94,10.79C144,178.8,159.67,182,172.42,182A67.89,67.89,0,0,0,192.89,179l16.8,28A2,2,0,0,1,209.72,209Z"}))],["regular",er.createElement(er.Fragment,null,er.createElement("path",{d:"M221.69,199.77,160,96.92V40h8a8,8,0,0,0,0-16H88a8,8,0,0,0,0,16h8V96.92L34.31,199.77A16,16,0,0,0,48,224H208a16,16,0,0,0,13.72-24.23ZM110.86,103.25A7.93,7.93,0,0,0,112,99.14V40h32V99.14a7.93,7.93,0,0,0,1.14,4.11L183.36,167c-12,2.37-29.07,1.37-51.75-10.11-15.91-8.05-31.05-12.32-45.22-12.81ZM48,208l28.54-47.58c14.25-1.74,30.31,1.85,47.82,10.72,19,9.61,35,12.88,48,12.88a69.89,69.89,0,0,0,19.55-2.7L208,208Z"}))],["thin",er.createElement(er.Fragment,null,er.createElement("path",{d:"M218.27,201.83,156,98V36h12a4,4,0,0,0,0-8H88a4,4,0,0,0,0,8h12V98L37.73,201.83A12,12,0,0,0,48,220H208a12,12,0,0,0,10.29-18.17ZM107.43,101.2a4.07,4.07,0,0,0,.57-2.06V36h40V99.14a4.07,4.07,0,0,0,.57,2.06l41,68.33c-12.76,3.94-32.54,4.68-59.75-9.1-18-9.14-35-13.24-50.54-12.29ZM211.46,210a3.94,3.94,0,0,1-3.48,2H48a4,4,0,0,1-3.43-6.06l29.53-49.21c15.54-2.43,33.05,1.21,52.07,10.84C144.54,176.86,160,180,172.42,180a65,65,0,0,0,21.36-3.46l17.63,29.38A3.92,3.92,0,0,1,211.46,210Z"}))]]);var tr=k(F(),1),yG=new Map([["bold",tr.createElement(tr.Fragment,null,tr.createElement("path",{d:"M248.49,71.51l-32-32a12,12,0,0,0-17,17L211,68h-3c-52,0-64.8,30.71-75.08,55.38-8.82,21.17-15.45,37.05-42.75,40.09a44,44,0,1,0,.28,24.08c43.34-3.87,55.07-32,64.63-54.93C164.9,109,172,92,208,92h3l-11.52,11.51a12,12,0,0,0,17,17l32-32A12,12,0,0,0,248.49,71.51ZM48,196a20,20,0,1,1,20-20A20,20,0,0,1,48,196Z"}))],["duotone",tr.createElement(tr.Fragment,null,tr.createElement("path",{d:"M80,176a32,32,0,1,1-32-32A32,32,0,0,1,80,176Z",opacity:"0.2"}),tr.createElement("path",{d:"M245.66,74.34l-32-32a8,8,0,0,0-11.32,11.32L220.69,72H208c-49.33,0-61.05,28.12-71.38,52.92-9.38,22.51-16.92,40.59-49.48,42.84a40,40,0,1,0,.1,16c43.26-2.65,54.34-29.15,64.14-52.69C161.41,107,169.33,88,208,88h12.69l-18.35,18.34a8,8,0,0,0,11.32,11.32l32-32A8,8,0,0,0,245.66,74.34ZM48,200a24,24,0,1,1,24-24A24,24,0,0,1,48,200Z"}))],["fill",tr.createElement(tr.Fragment,null,tr.createElement("path",{d:"M245.66,85.66l-32,32a8,8,0,0,1-11.32-11.32L220.69,88H208c-38.67,0-46.59,19-56.62,43.08C141.05,155.88,129.33,184,80,184H79a32,32,0,1,1,0-16h1c38.67,0,46.59-19,56.62-43.08C147,100.12,158.67,72,208,72h12.69L202.34,53.66a8,8,0,0,1,11.32-11.32l32,32A8,8,0,0,1,245.66,85.66Z"}))],["light",tr.createElement(tr.Fragment,null,tr.createElement("path",{d:"M244.24,75.76l-32-32a6,6,0,0,0-8.48,8.48L225.51,74H208c-48,0-59.44,27.46-69.54,51.69-9.43,22.64-17.66,42.33-53,44.16a38,38,0,1,0,.06,12c43.34-2.06,54.29-28.29,64-51.55C159.44,106.53,168,86,208,86h17.51l-21.75,21.76a6,6,0,1,0,8.48,8.48l32-32A6,6,0,0,0,244.24,75.76ZM48,202a26,26,0,1,1,26-26A26,26,0,0,1,48,202Z"}))],["regular",tr.createElement(tr.Fragment,null,tr.createElement("path",{d:"M245.66,74.34l-32-32a8,8,0,0,0-11.32,11.32L220.69,72H208c-49.33,0-61.05,28.12-71.38,52.92-9.38,22.51-16.92,40.59-49.48,42.84a40,40,0,1,0,.1,16c43.26-2.65,54.34-29.15,64.14-52.69C161.41,107,169.33,88,208,88h12.69l-18.35,18.34a8,8,0,0,0,11.32,11.32l32-32A8,8,0,0,0,245.66,74.34ZM48,200a24,24,0,1,1,24-24A24,24,0,0,1,48,200Z"}))],["thin",tr.createElement(tr.Fragment,null,tr.createElement("path",{d:"M242.83,77.17l-32-32a4,4,0,0,0-5.66,5.66L230.34,76H208c-46.67,0-57.84,26.81-67.69,50.46-9.46,22.69-18.4,44.16-56.55,45.48a36,36,0,1,0,0,8c43.49-1.42,54.33-27.39,63.91-50.39C157.45,106.12,166.67,84,208,84h22.34l-25.17,25.17a4,4,0,0,0,5.66,5.66l32-32A4,4,0,0,0,242.83,77.17ZM48,204a28,28,0,1,1,28-28A28,28,0,0,1,48,204Z"}))]]);var or=k(F(),1),SG=new Map([["bold",or.createElement(or.Fragment,null,or.createElement("path",{d:"M234.29,47.91A20,20,0,0,0,216,36H40A20,20,0,0,0,25.2,69.45l.12.14L92,140.75V216a20,20,0,0,0,31.1,16.64l32-21.33A20,20,0,0,0,164,194.66V140.75l66.67-71.16.12-.14A20,20,0,0,0,234.29,47.91Zm-91,79.89A12,12,0,0,0,140,136v56.52l-24,16V136a12,12,0,0,0-3.25-8.2L49.23,60H206.77Z"}))],["duotone",or.createElement(or.Fragment,null,or.createElement("path",{d:"M221.9,61.38,152,136v58.65a8,8,0,0,1-3.56,6.66l-32,21.33A8,8,0,0,1,104,216V136L34.1,61.38A8,8,0,0,1,40,48H216A8,8,0,0,1,221.9,61.38Z",opacity:"0.2"}),or.createElement("path",{d:"M230.6,49.53A15.81,15.81,0,0,0,216,40H40A16,16,0,0,0,28.19,66.76l.08.09L96,139.17V216a16,16,0,0,0,24.87,13.32l32-21.34A16,16,0,0,0,160,194.66V139.17l67.74-72.32.08-.09A15.8,15.8,0,0,0,230.6,49.53ZM40,56h0Zm106.18,74.58A8,8,0,0,0,144,136v58.66L112,216V136a8,8,0,0,0-2.16-5.47L40,56H216Z"}))],["fill",or.createElement(or.Fragment,null,or.createElement("path",{d:"M227.81,66.76l-.08.09L160,139.17v55.49A16,16,0,0,1,152.87,208l-32,21.34A16,16,0,0,1,96,216V139.17L28.27,66.85l-.08-.09A16,16,0,0,1,40,40H216a16,16,0,0,1,11.84,26.76Z"}))],["light",or.createElement(or.Fragment,null,or.createElement("path",{d:"M228.77,50.34A13.8,13.8,0,0,0,216,42H40A14,14,0,0,0,29.67,65.42l.06.07L98,138.38V216a14,14,0,0,0,21.77,11.64l32-21.33A14,14,0,0,0,158,194.66V138.38l68.33-73A13.82,13.82,0,0,0,228.77,50.34Zm-11.26,6.94L147.62,131.9A6,6,0,0,0,146,136v58.66a2,2,0,0,1-.89,1.67l-32,21.33A2,2,0,0,1,110,216V136a6,6,0,0,0-1.62-4.1L38.53,57.32A2,2,0,0,1,40,54H216a1.9,1.9,0,0,1,1.83,1.19A1.86,1.86,0,0,1,217.51,57.28Z"}))],["regular",or.createElement(or.Fragment,null,or.createElement("path",{d:"M230.6,49.53A15.81,15.81,0,0,0,216,40H40A16,16,0,0,0,28.19,66.76l.08.09L96,139.17V216a16,16,0,0,0,24.87,13.32l32-21.34A16,16,0,0,0,160,194.66V139.17l67.74-72.32.08-.09A15.8,15.8,0,0,0,230.6,49.53ZM40,56h0Zm106.18,74.58A8,8,0,0,0,144,136v58.66L112,216V136a8,8,0,0,0-2.16-5.47L40,56H216Z"}))],["thin",or.createElement(or.Fragment,null,or.createElement("path",{d:"M227,51.15A11.85,11.85,0,0,0,216,44H40a12,12,0,0,0-8.88,20.07l.05.05L100,137.59V216a12,12,0,0,0,18.66,10l32-21.33a12,12,0,0,0,5.35-10V137.59l68.86-73.52A11.85,11.85,0,0,0,227,51.15Zm-8,7.5-69.9,74.62A4,4,0,0,0,148,136v58.65a4,4,0,0,1-1.78,3.33l-32,21.33A4,4,0,0,1,108,216V136a4,4,0,0,0-1.08-2.74L37.05,58.67A4,4,0,0,1,40,52H216a4,4,0,0,1,3,6.65Z"}))]]);var rr=k(F(),1),xG=new Map([["bold",rr.createElement(rr.Fragment,null,rr.createElement("path",{d:"M128,20A108,108,0,1,0,236,128,108.12,108.12,0,0,0,128,20Zm0,187a113.4,113.4,0,0,1-20.39-35h40.82a116.94,116.94,0,0,1-10,20.77A108.61,108.61,0,0,1,128,207Zm-26.49-59a135.42,135.42,0,0,1,0-40h53a135.42,135.42,0,0,1,0,40ZM44,128a83.49,83.49,0,0,1,2.43-20H77.25a160.63,160.63,0,0,0,0,40H46.43A83.49,83.49,0,0,1,44,128Zm84-79a113.4,113.4,0,0,1,20.39,35H107.59a116.94,116.94,0,0,1,10-20.77A108.61,108.61,0,0,1,128,49Zm50.73,59h30.82a83.52,83.52,0,0,1,0,40H178.75a160.63,160.63,0,0,0,0-40Zm20.77-24H173.71a140.82,140.82,0,0,0-15.5-34.36A84.51,84.51,0,0,1,199.52,84ZM97.79,49.64A140.82,140.82,0,0,0,82.29,84H56.48A84.51,84.51,0,0,1,97.79,49.64ZM56.48,172H82.29a140.82,140.82,0,0,0,15.5,34.36A84.51,84.51,0,0,1,56.48,172Zm101.73,34.36A140.82,140.82,0,0,0,173.71,172h25.81A84.51,84.51,0,0,1,158.21,206.36Z"}))],["duotone",rr.createElement(rr.Fragment,null,rr.createElement("path",{d:"M224,128a96,96,0,1,1-96-96A96,96,0,0,1,224,128Z",opacity:"0.2"}),rr.createElement("path",{d:"M128,24h0A104,104,0,1,0,232,128,104.12,104.12,0,0,0,128,24Zm88,104a87.61,87.61,0,0,1-3.33,24H174.16a157.44,157.44,0,0,0,0-48h38.51A87.61,87.61,0,0,1,216,128ZM102,168H154a115.11,115.11,0,0,1-26,45A115.27,115.27,0,0,1,102,168Zm-3.9-16a140.84,140.84,0,0,1,0-48h59.88a140.84,140.84,0,0,1,0,48ZM40,128a87.61,87.61,0,0,1,3.33-24H81.84a157.44,157.44,0,0,0,0,48H43.33A87.61,87.61,0,0,1,40,128ZM154,88H102a115.11,115.11,0,0,1,26-45A115.27,115.27,0,0,1,154,88Zm52.33,0H170.71a135.28,135.28,0,0,0-22.3-45.6A88.29,88.29,0,0,1,206.37,88ZM107.59,42.4A135.28,135.28,0,0,0,85.29,88H49.63A88.29,88.29,0,0,1,107.59,42.4ZM49.63,168H85.29a135.28,135.28,0,0,0,22.3,45.6A88.29,88.29,0,0,1,49.63,168Zm98.78,45.6a135.28,135.28,0,0,0,22.3-45.6h35.66A88.29,88.29,0,0,1,148.41,213.6Z"}))],["fill",rr.createElement(rr.Fragment,null,rr.createElement("path",{d:"M128,24h0A104,104,0,1,0,232,128,104.12,104.12,0,0,0,128,24Zm78.36,64H170.71a135.28,135.28,0,0,0-22.3-45.6A88.29,88.29,0,0,1,206.37,88ZM216,128a87.61,87.61,0,0,1-3.33,24H174.16a157.44,157.44,0,0,0,0-48h38.51A87.61,87.61,0,0,1,216,128ZM128,43a115.27,115.27,0,0,1,26,45H102A115.11,115.11,0,0,1,128,43ZM102,168H154a115.11,115.11,0,0,1-26,45A115.27,115.27,0,0,1,102,168Zm-3.9-16a140.84,140.84,0,0,1,0-48h59.88a140.84,140.84,0,0,1,0,48Zm50.35,61.6a135.28,135.28,0,0,0,22.3-45.6h35.66A88.29,88.29,0,0,1,148.41,213.6Z"}))],["light",rr.createElement(rr.Fragment,null,rr.createElement("path",{d:"M128,26A102,102,0,1,0,230,128,102.12,102.12,0,0,0,128,26Zm81.57,64H169.19a132.58,132.58,0,0,0-25.73-50.67A90.29,90.29,0,0,1,209.57,90ZM218,128a89.7,89.7,0,0,1-3.83,26H171.81a155.43,155.43,0,0,0,0-52h42.36A89.7,89.7,0,0,1,218,128Zm-90,87.83a110,110,0,0,1-15.19-19.45A124.24,124.24,0,0,1,99.35,166h57.3a124.24,124.24,0,0,1-13.46,30.38A110,110,0,0,1,128,215.83ZM96.45,154a139.18,139.18,0,0,1,0-52h63.1a139.18,139.18,0,0,1,0,52ZM38,128a89.7,89.7,0,0,1,3.83-26H84.19a155.43,155.43,0,0,0,0,52H41.83A89.7,89.7,0,0,1,38,128Zm90-87.83a110,110,0,0,1,15.19,19.45A124.24,124.24,0,0,1,156.65,90H99.35a124.24,124.24,0,0,1,13.46-30.38A110,110,0,0,1,128,40.17Zm-15.46-.84A132.58,132.58,0,0,0,86.81,90H46.43A90.29,90.29,0,0,1,112.54,39.33ZM46.43,166H86.81a132.58,132.58,0,0,0,25.73,50.67A90.29,90.29,0,0,1,46.43,166Zm97,50.67A132.58,132.58,0,0,0,169.19,166h40.38A90.29,90.29,0,0,1,143.46,216.67Z"}))],["regular",rr.createElement(rr.Fragment,null,rr.createElement("path",{d:"M128,24h0A104,104,0,1,0,232,128,104.12,104.12,0,0,0,128,24Zm88,104a87.61,87.61,0,0,1-3.33,24H174.16a157.44,157.44,0,0,0,0-48h38.51A87.61,87.61,0,0,1,216,128ZM102,168H154a115.11,115.11,0,0,1-26,45A115.27,115.27,0,0,1,102,168Zm-3.9-16a140.84,140.84,0,0,1,0-48h59.88a140.84,140.84,0,0,1,0,48ZM40,128a87.61,87.61,0,0,1,3.33-24H81.84a157.44,157.44,0,0,0,0,48H43.33A87.61,87.61,0,0,1,40,128ZM154,88H102a115.11,115.11,0,0,1,26-45A115.27,115.27,0,0,1,154,88Zm52.33,0H170.71a135.28,135.28,0,0,0-22.3-45.6A88.29,88.29,0,0,1,206.37,88ZM107.59,42.4A135.28,135.28,0,0,0,85.29,88H49.63A88.29,88.29,0,0,1,107.59,42.4ZM49.63,168H85.29a135.28,135.28,0,0,0,22.3,45.6A88.29,88.29,0,0,1,49.63,168Zm98.78,45.6a135.28,135.28,0,0,0,22.3-45.6h35.66A88.29,88.29,0,0,1,148.41,213.6Z"}))],["thin",rr.createElement(rr.Fragment,null,rr.createElement("path",{d:"M128,28h0A100,100,0,1,0,228,128,100.11,100.11,0,0,0,128,28Zm0,190.61c-6.33-6.09-23-24.41-31.27-54.61h62.54C151,194.2,134.33,212.52,128,218.61ZM94.82,156a140.42,140.42,0,0,1,0-56h66.36a140.42,140.42,0,0,1,0,56ZM128,37.39c6.33,6.09,23,24.41,31.27,54.61H96.73C105,61.8,121.67,43.48,128,37.39ZM169.41,100h46.23a92.09,92.09,0,0,1,0,56H169.41a152.65,152.65,0,0,0,0-56Zm43.25-8h-45a129.39,129.39,0,0,0-29.19-55.4A92.25,92.25,0,0,1,212.66,92ZM117.54,36.6A129.39,129.39,0,0,0,88.35,92h-45A92.25,92.25,0,0,1,117.54,36.6ZM40.36,100H86.59a152.65,152.65,0,0,0,0,56H40.36a92.09,92.09,0,0,1,0-56Zm3,64h45a129.39,129.39,0,0,0,29.19,55.4A92.25,92.25,0,0,1,43.34,164Zm95.12,55.4A129.39,129.39,0,0,0,167.65,164h45A92.25,92.25,0,0,1,138.46,219.4Z"}))]]);var nr=k(F(),1),IG=new Map([["bold",nr.createElement(nr.Fragment,null,nr.createElement("path",{d:"M128,20A108,108,0,1,0,236,128,108.12,108.12,0,0,0,128,20Zm84,108a83.64,83.64,0,0,1-4.47,27L167,130a19.65,19.65,0,0,0-7.8-2.78l-22.82-3.08A20.14,20.14,0,0,0,117.72,132h-4.07l-2.71-5.6a19.88,19.88,0,0,0-13.8-10.84L94.46,115l4-7h14.39a20,20,0,0,0,9.66-2.49l12.25-6.76a20.57,20.57,0,0,0,3.74-2.68l26.92-24.33A20,20,0,0,0,172,56.49,84,84,0,0,1,212,128ZM140.76,45l6.2,11.1L122.75,78l-10.93,6H96.14A20.05,20.05,0,0,0,78.78,94.06l-4.49,7.85L67.68,84.28l9.91-23.42A83.91,83.91,0,0,1,140.76,45ZM44,128a83.52,83.52,0,0,1,4.4-26.77l7.74,20.65a19.89,19.89,0,0,0,14.52,12.53l19.53,4.2,3,6.1a20.11,20.11,0,0,0,13.55,10.77l-5,11.12a20,20,0,0,0,3.58,21.71l.21.22,18.16,18.7-.89,4.59A84.09,84.09,0,0,1,44,128Zm103.65,81.66a20.11,20.11,0,0,0-5-17.3l-.21-.22-17.72-18.25,11.37-25.52,19,2.56,41.43,25.48A84.2,84.2,0,0,1,147.65,209.66Z"}))],["duotone",nr.createElement(nr.Fragment,null,nr.createElement("path",{d:"M213.09,172.48a96,96,0,0,1-80.41,51.41l3.17-16.44a8,8,0,0,0-2-6.95l-19.74-20.33a8,8,0,0,1-1.44-8.69l13.7-30.74a8,8,0,0,1,8.38-4.67l22.82,3.08a8.11,8.11,0,0,1,3.12,1.11ZM116.71,95,129,88.24a7.46,7.46,0,0,0,1.5-1.07l26.91-24.33A8,8,0,0,0,159,53l-10.5-18.81A96.62,96.62,0,0,0,128,32,95.61,95.61,0,0,0,67.78,53.23L56,81.08A8,8,0,0,0,55.88,87l11.5,30.67a8,8,0,0,0,5.81,5l2.69.58L89.2,100a8,8,0,0,1,6.94-4h16.71A7.9,7.9,0,0,0,116.71,95Z",opacity:"0.2"}),nr.createElement("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm88,104a87.62,87.62,0,0,1-6.4,32.94l-44.7-27.49a15.92,15.92,0,0,0-6.24-2.23l-22.82-3.08a16.11,16.11,0,0,0-16,7.86h-8.72l-3.8-7.86a15.91,15.91,0,0,0-11-8.67l-8-1.73L96.14,104h16.71a16.06,16.06,0,0,0,7.73-2l12.25-6.76a16.62,16.62,0,0,0,3-2.14l26.91-24.34A15.93,15.93,0,0,0,166,49.1l-.36-.65A88.11,88.11,0,0,1,216,128ZM143.31,41.34,152,56.9,125.09,81.24,112.85,88H96.14a16,16,0,0,0-13.88,8l-8.73,15.23L63.38,84.19,74.32,58.32a87.87,87.87,0,0,1,69-17ZM40,128a87.53,87.53,0,0,1,8.54-37.8l11.34,30.27a16,16,0,0,0,11.62,10l21.43,4.61L96.74,143a16.09,16.09,0,0,0,14.4,9h1.48l-7.23,16.23a16,16,0,0,0,2.86,17.37l.14.14L128,205.94l-1.94,10A88.11,88.11,0,0,1,40,128Zm102.58,86.78,1.13-5.81a16.09,16.09,0,0,0-4-13.9,1.85,1.85,0,0,1-.14-.14L120,174.74,133.7,144l22.82,3.08,45.72,28.12A88.18,88.18,0,0,1,142.58,214.78Z"}))],["fill",nr.createElement(nr.Fragment,null,nr.createElement("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm88,104a87.62,87.62,0,0,1-6.4,32.94l-44.7-27.49a15.92,15.92,0,0,0-6.24-2.23l-22.82-3.08a16.11,16.11,0,0,0-16,7.86h-8.72l-3.8-7.86a15.91,15.91,0,0,0-11-8.67l-8-1.73L96.14,104h16.71a16.06,16.06,0,0,0,7.73-2l12.25-6.76a16.62,16.62,0,0,0,3-2.14l26.91-24.34A15.93,15.93,0,0,0,166,49.1l-.36-.65A88.11,88.11,0,0,1,216,128ZM40,128a87.53,87.53,0,0,1,8.54-37.8l11.34,30.27a16,16,0,0,0,11.62,10l21.43,4.61L96.74,143a16.09,16.09,0,0,0,14.4,9h1.48l-7.23,16.23a16,16,0,0,0,2.86,17.37l.14.14L128,205.94l-1.94,10A88.11,88.11,0,0,1,40,128Z"}))],["light",nr.createElement(nr.Fragment,null,nr.createElement("path",{d:"M128,26A102,102,0,1,0,230,128,102.12,102.12,0,0,0,128,26Zm90,102a89.55,89.55,0,0,1-7.46,35.86l-46.69-28.71a13.94,13.94,0,0,0-5.46-2l-22.82-3.07A14.06,14.06,0,0,0,121.06,138h-9.92a2,2,0,0,1-1.8-1.13l-3.8-7.86a13.94,13.94,0,0,0-9.66-7.59l-10.71-2.3L94.4,103a2,2,0,0,1,1.74-1h16.71a13.9,13.9,0,0,0,6.76-1.75l12.25-6.75a14.73,14.73,0,0,0,2.62-1.88l26.91-24.33a13.93,13.93,0,0,0,2.83-17.21L161,44.25A90.16,90.16,0,0,1,218,128ZM144.6,39.54l9.15,16.39a2,2,0,0,1-.41,2.46L126.43,82.72a1.84,1.84,0,0,1-.37.27l-12.25,6.76a2,2,0,0,1-1,.25H96.14A14,14,0,0,0,84,97L73.18,115.91a2,2,0,0,1-.19-.35L61.5,84.89a2,2,0,0,1,0-1.48L72.68,57.06A89.9,89.9,0,0,1,144.6,39.54ZM38,128A89.52,89.52,0,0,1,49.38,84.23a13.85,13.85,0,0,0,.89,4.87l11.49,30.67a13.94,13.94,0,0,0,10.16,8.78l21.44,4.6a2,2,0,0,1,1.38,1.09l3.8,7.86a14.07,14.07,0,0,0,12.6,7.9h4.56l-8.49,19a14,14,0,0,0,2.51,15.2l.1.11,19.68,20.26a2,2,0,0,1,.46,1.7L127.7,218A90.1,90.1,0,0,1,38,128Zm102.08,89.19,1.67-8.6a14.07,14.07,0,0,0-3.47-12.16l-.1-.11L118.5,176.06a2,2,0,0,1-.33-2.14l13.7-30.73A2,2,0,0,1,134,142l22.82,3.08a2,2,0,0,1,.78.27L205,174.55A90.18,90.18,0,0,1,140.08,217.19Z"}))],["regular",nr.createElement(nr.Fragment,null,nr.createElement("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm88,104a87.62,87.62,0,0,1-6.4,32.94l-44.7-27.49a15.92,15.92,0,0,0-6.24-2.23l-22.82-3.08a16.11,16.11,0,0,0-16,7.86h-8.72l-3.8-7.86a15.91,15.91,0,0,0-11-8.67l-8-1.73L96.14,104h16.71a16.06,16.06,0,0,0,7.73-2l12.25-6.76a16.62,16.62,0,0,0,3-2.14l26.91-24.34A15.93,15.93,0,0,0,166,49.1l-.36-.65A88.11,88.11,0,0,1,216,128ZM143.31,41.34,152,56.9,125.09,81.24,112.85,88H96.14a16,16,0,0,0-13.88,8l-8.73,15.23L63.38,84.19,74.32,58.32a87.87,87.87,0,0,1,69-17ZM40,128a87.53,87.53,0,0,1,8.54-37.8l11.34,30.27a16,16,0,0,0,11.62,10l21.43,4.61L96.74,143a16.09,16.09,0,0,0,14.4,9h1.48l-7.23,16.23a16,16,0,0,0,2.86,17.37l.14.14L128,205.94l-1.94,10A88.11,88.11,0,0,1,40,128Zm102.58,86.78,1.13-5.81a16.09,16.09,0,0,0-4-13.9,1.85,1.85,0,0,1-.14-.14L120,174.74,133.7,144l22.82,3.08,45.72,28.12A88.18,88.18,0,0,1,142.58,214.78Z"}))],["thin",nr.createElement(nr.Fragment,null,nr.createElement("path",{d:"M128,28A100,100,0,1,0,228,128,100.11,100.11,0,0,0,128,28Zm92,100a91.44,91.44,0,0,1-8.58,38.76L162.8,136.85a12.07,12.07,0,0,0-4.68-1.67l-22.82-3.07a12,12,0,0,0-12.56,7l-.4.88h-11.2a4,4,0,0,1-3.6-2.26l-3.8-7.86a11.93,11.93,0,0,0-8.28-6.5L82.07,120.5,92.67,102a4,4,0,0,1,3.47-2h16.71a12,12,0,0,0,5.8-1.5l12.24-6.76a11.79,11.79,0,0,0,2.25-1.6L160.05,65.8a12,12,0,0,0,2.43-14.75l-5.86-10.49A92.17,92.17,0,0,1,220,128ZM145.89,37.75l9.6,17.2a4,4,0,0,1-.81,4.92L127.77,84.21a4.41,4.41,0,0,1-.75.53L114.78,91.5a4,4,0,0,1-1.93.5H96.14a12,12,0,0,0-10.41,6l-11.86,20.7a4,4,0,0,1-2.75-2.47L59.63,85.6a4,4,0,0,1,.06-3L71,55.81A91.51,91.51,0,0,1,128,36,92.53,92.53,0,0,1,145.89,37.75ZM36,128A91.52,91.52,0,0,1,56,70.77l-3.71,8.75a12,12,0,0,0-.18,8.88l11.49,30.67a11.93,11.93,0,0,0,8.72,7.52l21.43,4.61a4,4,0,0,1,2.76,2.17l3.8,7.86a12.07,12.07,0,0,0,10.8,6.77h7.64L109,169.85A12,12,0,0,0,111.26,183l19.68,20.26a4,4,0,0,1,1,3.47L129.36,220,128,220A92.1,92.1,0,0,1,36,128Zm101.6,91.5,2.18-11.29a12.08,12.08,0,0,0-3-10.49l-19.68-20.26a4,4,0,0,1-.71-4.35l13.7-30.74a4,4,0,0,1,4.18-2.33l22.82,3.07a4.12,4.12,0,0,1,1.56.56l49.11,30.2A92.12,92.12,0,0,1,137.6,219.5Z"}))]]);var ar=k(F(),1),vG=new Map([["bold",ar.createElement(ar.Fragment,null,ar.createElement("path",{d:"M232.76,137.88A28.39,28.39,0,0,0,208.13,133L172,141.26c0-.42,0-.84,0-1.26a32,32,0,0,0-32-32H89.94a35.76,35.76,0,0,0-25.45,10.54L43,140H20A20,20,0,0,0,0,160v40a20,20,0,0,0,20,20H120a11.89,11.89,0,0,0,2.91-.36l64-16a11.4,11.4,0,0,0,1.79-.6l38.82-16.54c.23-.09.45-.19.67-.3a28.61,28.61,0,0,0,4.57-48.32ZM36,196H24V164H36Zm181.68-31.39-37.51,16L118.52,196H60V157l21.46-21.46A11.93,11.93,0,0,1,89.94,132H140a8,8,0,0,1,0,16H112a12,12,0,0,0,0,24h32a12.19,12.19,0,0,0,2.69-.3l67-15.41.47-.12a4.61,4.61,0,0,1,5.82,4.44A4.58,4.58,0,0,1,217.68,164.61ZM164,100a40.36,40.36,0,0,0,5.18-.34,40,40,0,1,0,29.67-59.32A40,40,0,1,0,164,100Zm40-36a16,16,0,1,1-16,16A16,16,0,0,1,204,64ZM164,44a16,16,0,0,1,12.94,6.58A39.9,39.9,0,0,0,164.2,76H164a16,16,0,0,1,0-32Z"}))],["duotone",ar.createElement(ar.Fragment,null,ar.createElement("path",{d:"M16,152H48v56H16a8,8,0,0,1-8-8V160A8,8,0,0,1,16,152ZM204,56a28,28,0,0,0-12,2.71h0A28,28,0,1,0,176,85.29h0A28,28,0,1,0,204,56Z",opacity:"0.2"}),ar.createElement("path",{d:"M230.33,141.06a24.43,24.43,0,0,0-21.24-4.23l-41.84,9.62A28,28,0,0,0,140,112H89.94a31.82,31.82,0,0,0-22.63,9.37L44.69,144H16A16,16,0,0,0,0,160v40a16,16,0,0,0,16,16H120a7.93,7.93,0,0,0,1.94-.24l64-16a6.94,6.94,0,0,0,1.19-.4L226,182.82l.44-.2a24.6,24.6,0,0,0,3.93-41.56ZM16,160H40v40H16Zm203.43,8.21-38,16.18L119,200H56V155.31l22.63-22.62A15.86,15.86,0,0,1,89.94,128H140a12,12,0,0,1,0,24H112a8,8,0,0,0,0,16h32a8.32,8.32,0,0,0,1.79-.2l67-15.41.31-.08a8.6,8.6,0,0,1,6.3,15.9ZM164,96a36,36,0,0,0,5.9-.48,36,36,0,1,0,28.22-47A36,36,0,1,0,164,96Zm60-12a20,20,0,1,1-20-20A20,20,0,0,1,224,84ZM164,40a20,20,0,0,1,19.25,14.61,36,36,0,0,0-15,24.93A20.42,20.42,0,0,1,164,80a20,20,0,0,1,0-40Z"}))],["fill",ar.createElement(ar.Fragment,null,ar.createElement("path",{d:"M128.09,57.38a36,36,0,0,1,55.17-27.82,4,4,0,0,1-.56,7A52.06,52.06,0,0,0,152,84c0,1.17,0,2.34.12,3.49a4,4,0,0,1-6,3.76A36,36,0,0,1,128.09,57.38ZM240,160.61a24.47,24.47,0,0,1-13.6,22l-.44.2-38.83,16.54a6.94,6.94,0,0,1-1.19.4l-64,16A7.93,7.93,0,0,1,120,216H16A16,16,0,0,1,0,200V160a16,16,0,0,1,16-16H44.69l22.62-22.63A31.82,31.82,0,0,1,89.94,112H140a28,28,0,0,1,27.25,34.45l41.84-9.62A24.61,24.61,0,0,1,240,160.61Zm-16,0a8.61,8.61,0,0,0-10.87-8.3l-.31.08-67,15.41a8.32,8.32,0,0,1-1.79.2H112a8,8,0,0,1,0-16h28a12,12,0,0,0,0-24H89.94a15.86,15.86,0,0,0-11.31,4.69L56,155.31V200h63l62.43-15.61,38-16.18A8.56,8.56,0,0,0,224,160.61ZM168,84a36,36,0,1,0,36-36A36,36,0,0,0,168,84Z"}))],["light",ar.createElement(ar.Fragment,null,ar.createElement("path",{d:"M229.12,142.65a22.43,22.43,0,0,0-19.55-3.88l-45.24,10.4A26,26,0,0,0,140,114H89.94a29.78,29.78,0,0,0-21.21,8.79L45.52,146H16A14,14,0,0,0,2,160v40a14,14,0,0,0,14,14H120a6,6,0,0,0,1.46-.18l64-16a7.16,7.16,0,0,0,.89-.3L225.17,181l.33-.15a22.6,22.6,0,0,0,3.62-38.18ZM14,200V160a2,2,0,0,1,2-2H42v44H16A2,2,0,0,1,14,200Zm206.28-30-38.2,16.27L119.26,202H54V154.49l23.21-23.22A17.88,17.88,0,0,1,89.94,126H140a14,14,0,0,1,0,28H112a6,6,0,0,0,0,12h32a6,6,0,0,0,1.34-.15l67-15.41.24-.06A10.6,10.6,0,0,1,220.28,170ZM164,94a34.54,34.54,0,0,0,7.28-.78,34,34,0,1,0,25.46-42.43A34,34,0,1,0,164,94Zm62-10a22,22,0,1,1-22-22A22,22,0,0,1,226,84ZM164,38a21.94,21.94,0,0,1,21.51,17.49,34,34,0,0,0-15.38,25.65A22,22,0,1,1,164,38Z"}))],["regular",ar.createElement(ar.Fragment,null,ar.createElement("path",{d:"M230.33,141.06a24.43,24.43,0,0,0-21.24-4.23l-41.84,9.62A28,28,0,0,0,140,112H89.94a31.82,31.82,0,0,0-22.63,9.37L44.69,144H16A16,16,0,0,0,0,160v40a16,16,0,0,0,16,16H120a7.93,7.93,0,0,0,1.94-.24l64-16a6.94,6.94,0,0,0,1.19-.4L226,182.82l.44-.2a24.6,24.6,0,0,0,3.93-41.56ZM16,160H40v40H16Zm203.43,8.21-38,16.18L119,200H56V155.31l22.63-22.62A15.86,15.86,0,0,1,89.94,128H140a12,12,0,0,1,0,24H112a8,8,0,0,0,0,16h32a8.32,8.32,0,0,0,1.79-.2l67-15.41.31-.08a8.6,8.6,0,0,1,6.3,15.9ZM164,96a36,36,0,0,0,5.9-.48,36,36,0,1,0,28.22-47A36,36,0,1,0,164,96Zm60-12a20,20,0,1,1-20-20A20,20,0,0,1,224,84ZM164,40a20,20,0,0,1,19.25,14.61,36,36,0,0,0-15,24.93A20.42,20.42,0,0,1,164,80a20,20,0,0,1,0-40Z"}))],["thin",ar.createElement(ar.Fragment,null,ar.createElement("path",{d:"M227.9,144.24a20.45,20.45,0,0,0-17.84-3.53L160.75,152A23.76,23.76,0,0,0,164,140a24,24,0,0,0-24-24H89.94a27.81,27.81,0,0,0-19.8,8.2L46.34,148H16A12,12,0,0,0,4,160v40a12,12,0,0,0,12,12H120a4,4,0,0,0,1-.12l64-16a4.69,4.69,0,0,0,.6-.2l38.82-16.54.22-.1a20.6,20.6,0,0,0,3.29-34.8ZM12,200V160a4,4,0,0,1,4-4H44v48H16A4,4,0,0,1,12,200Zm209.13-28.17L182.72,188.2,119.51,204H52V153.66l23.8-23.8A19.86,19.86,0,0,1,89.94,124H140a16,16,0,0,1,0,32H112a4,4,0,0,0,0,8h32a3.94,3.94,0,0,0,.9-.1l67-15.41.16,0a12.6,12.6,0,0,1,9,23.38ZM164,92a31.88,31.88,0,0,0,8.73-1.2,32,32,0,1,0,22.55-37.58A32,32,0,1,0,164,92Zm64-8a24,24,0,1,1-24-24A24,24,0,0,1,228,84ZM164,36a24,24,0,0,1,23.74,20.46A32,32,0,0,0,172,82.62,24,24,0,1,1,164,36Z"}))]]);var sr=k(F(),1),CG=new Map([["bold",sr.createElement(sr.Fragment,null,sr.createElement("path",{d:"M180,232a12,12,0,0,1-12,12H88a12,12,0,0,1,0-24h80A12,12,0,0,1,180,232Zm40-128a92.47,92.47,0,0,1-37,73.73,7.81,7.81,0,0,0-3,6.27,20,20,0,0,1-20,20H96a20,20,0,0,1-20-20v-.23a7.76,7.76,0,0,0-3.25-6.2,91.36,91.36,0,0,1-36.75-73C35.73,54.69,76,13.2,125.79,12A92,92,0,0,1,220,104Zm-24,0a68,68,0,0,0-69.65-68C89.56,36.89,59.8,67.56,60,104.39a67.52,67.52,0,0,0,27.18,54h0A32.14,32.14,0,0,1,99.77,180H116V149L87.51,120.49a12,12,0,0,1,17-17L128,127l23.51-23.51a12,12,0,0,1,17,17L140,149v31h16.25a31.89,31.89,0,0,1,12.41-21.49A67.45,67.45,0,0,0,196,104Z"}))],["duotone",sr.createElement(sr.Fragment,null,sr.createElement("path",{d:"M208,104a79.86,79.86,0,0,1-30.59,62.92A24.29,24.29,0,0,0,168,186v6a8,8,0,0,1-8,8H96a8,8,0,0,1-8-8v-6a24.11,24.11,0,0,0-9.3-19A79.87,79.87,0,0,1,48,104.45C47.76,61.09,82.72,25,126.07,24A80,80,0,0,1,208,104Z",opacity:"0.2"}),sr.createElement("path",{d:"M176,232a8,8,0,0,1-8,8H88a8,8,0,0,1,0-16h80A8,8,0,0,1,176,232Zm40-128a87.55,87.55,0,0,1-33.64,69.21A16.24,16.24,0,0,0,176,186v6a16,16,0,0,1-16,16H96a16,16,0,0,1-16-16v-6a16,16,0,0,0-6.23-12.66A87.59,87.59,0,0,1,40,104.5C39.74,56.83,78.26,17.15,125.88,16A88,88,0,0,1,216,104Zm-16,0a72,72,0,0,0-73.74-72c-39,.92-70.47,33.39-70.26,72.39a71.64,71.64,0,0,0,27.64,56.3h0A32,32,0,0,1,96,186v6h24V147.31L90.34,117.66a8,8,0,0,1,11.32-11.32L128,132.69l26.34-26.35a8,8,0,0,1,11.32,11.32L136,147.31V192h24v-6a32.12,32.12,0,0,1,12.47-25.35A71.65,71.65,0,0,0,200,104Z"}))],["fill",sr.createElement(sr.Fragment,null,sr.createElement("path",{d:"M176,232a8,8,0,0,1-8,8H88a8,8,0,0,1,0-16h80A8,8,0,0,1,176,232Zm40-128a87.55,87.55,0,0,1-33.64,69.21A16.24,16.24,0,0,0,176,186v6a16,16,0,0,1-16,16H96a16,16,0,0,1-16-16v-6a16,16,0,0,0-6.23-12.66A87.59,87.59,0,0,1,40,104.49C39.74,56.83,78.26,17.14,125.88,16A88,88,0,0,1,216,104Zm-50.34,2.34a8,8,0,0,0-11.32,0L128,132.69l-26.34-26.35a8,8,0,0,0-11.32,11.32L120,147.31V184a8,8,0,0,0,16,0V147.31l29.66-29.65A8,8,0,0,0,165.66,106.34Z"}))],["light",sr.createElement(sr.Fragment,null,sr.createElement("path",{d:"M174,232a6,6,0,0,1-6,6H88a6,6,0,0,1,0-12h80A6,6,0,0,1,174,232Zm40-128a85.56,85.56,0,0,1-32.88,67.64A18.23,18.23,0,0,0,174,186v6a14,14,0,0,1-14,14H96a14,14,0,0,1-14-14v-6a18,18,0,0,0-7-14.23h0a85.59,85.59,0,0,1-33-67.25C41.74,57.91,79.39,19.12,125.93,18A86,86,0,0,1,214,104Zm-12,0a74,74,0,0,0-75.79-74C86.17,31,53.78,64.34,54,104.42a73.67,73.67,0,0,0,28.4,57.87A29.92,29.92,0,0,1,94,186v6a2,2,0,0,0,2,2h26V146.49L91.76,116.24a6,6,0,0,1,8.48-8.48L128,135.52l27.76-27.76a6,6,0,0,1,8.48,8.48L134,146.49V194h26a2,2,0,0,0,2-2v-6a30.18,30.18,0,0,1,11.7-23.78A73.59,73.59,0,0,0,202,104Z"}))],["regular",sr.createElement(sr.Fragment,null,sr.createElement("path",{d:"M176,232a8,8,0,0,1-8,8H88a8,8,0,0,1,0-16h80A8,8,0,0,1,176,232Zm40-128a87.55,87.55,0,0,1-33.64,69.21A16.24,16.24,0,0,0,176,186v6a16,16,0,0,1-16,16H96a16,16,0,0,1-16-16v-6a16,16,0,0,0-6.23-12.66A87.59,87.59,0,0,1,40,104.5C39.74,56.83,78.26,17.15,125.88,16A88,88,0,0,1,216,104Zm-16,0a72,72,0,0,0-73.74-72c-39,.92-70.47,33.39-70.26,72.39a71.64,71.64,0,0,0,27.64,56.3h0A32,32,0,0,1,96,186v6h24V147.31L90.34,117.66a8,8,0,0,1,11.32-11.32L128,132.69l26.34-26.35a8,8,0,0,1,11.32,11.32L136,147.31V192h24v-6a32.12,32.12,0,0,1,12.47-25.35A71.65,71.65,0,0,0,200,104Z"}))],["thin",sr.createElement(sr.Fragment,null,sr.createElement("path",{d:"M172,232a4,4,0,0,1-4,4H88a4,4,0,0,1,0-8h80A4,4,0,0,1,172,232Zm40-128a83.59,83.59,0,0,1-32.11,66.06A20.2,20.2,0,0,0,172,186v6a12,12,0,0,1-12,12H96a12,12,0,0,1-12-12v-6a20,20,0,0,0-7.76-15.81A83.58,83.58,0,0,1,44,104.47C43.75,59,80.52,21.09,126,20a84,84,0,0,1,86,84Zm-8,0a76,76,0,0,0-77.84-76C85,29,51.77,63.27,52,104.43a75.62,75.62,0,0,0,29.17,59.43A28,28,0,0,1,92,186v6a4,4,0,0,0,4,4h28V145.66L93.17,114.83a4,4,0,0,1,5.66-5.66L128,138.34l29.17-29.17a4,4,0,1,1,5.66,5.66L132,145.66V196h28a4,4,0,0,0,4-4v-6a28.14,28.14,0,0,1,10.94-22.2A75.62,75.62,0,0,0,204,104Z"}))]]);var ir=k(F(),1),wG=new Map([["bold",ir.createElement(ir.Fragment,null,ir.createElement("path",{d:"M219.71,117.38a12,12,0,0,0-7.25-8.52L161.28,88.39l10.59-70.61a12,12,0,0,0-20.64-10l-112,120a12,12,0,0,0,4.31,19.33l51.18,20.47L84.13,238.22a12,12,0,0,0,20.64,10l112-120A12,12,0,0,0,219.71,117.38ZM113.6,203.55l6.27-41.77a12,12,0,0,0-7.41-12.92L68.74,131.37,142.4,52.45l-6.27,41.77a12,12,0,0,0,7.41,12.92l43.72,17.49Z"}))],["duotone",ir.createElement(ir.Fragment,null,ir.createElement("path",{d:"M96,240l16-80L48,136,160,16,144,96l64,24Z",opacity:"0.2"}),ir.createElement("path",{d:"M215.79,118.17a8,8,0,0,0-5-5.66L153.18,90.9l14.66-73.33a8,8,0,0,0-13.69-7l-112,120a8,8,0,0,0,3,13l57.63,21.61L88.16,238.43a8,8,0,0,0,13.69,7l112-120A8,8,0,0,0,215.79,118.17ZM109.37,214l10.47-52.38a8,8,0,0,0-5-9.06L62,132.71l84.62-90.66L136.16,94.43a8,8,0,0,0,5,9.06l52.8,19.8Z"}))],["fill",ir.createElement(ir.Fragment,null,ir.createElement("path",{d:"M213.85,125.46l-112,120a8,8,0,0,1-13.69-7l14.66-73.33L45.19,143.49a8,8,0,0,1-3-13l112-120a8,8,0,0,1,13.69,7L153.18,90.9l57.63,21.61a8,8,0,0,1,3,12.95Z"}))],["light",ir.createElement(ir.Fragment,null,ir.createElement("path",{d:"M213.84,118.63a6,6,0,0,0-3.73-4.25L150.88,92.17l15-75a6,6,0,0,0-10.27-5.27l-112,120a6,6,0,0,0,2.28,9.71l59.23,22.21-15,75a6,6,0,0,0,3.14,6.52A6.07,6.07,0,0,0,96,246a6,6,0,0,0,4.39-1.91l112-120A6,6,0,0,0,213.84,118.63ZM106,220.46l11.85-59.28a6,6,0,0,0-3.77-6.8l-55.6-20.85,91.46-98L138.12,94.82a6,6,0,0,0,3.77,6.8l55.6,20.85Z"}))],["regular",ir.createElement(ir.Fragment,null,ir.createElement("path",{d:"M215.79,118.17a8,8,0,0,0-5-5.66L153.18,90.9l14.66-73.33a8,8,0,0,0-13.69-7l-112,120a8,8,0,0,0,3,13l57.63,21.61L88.16,238.43a8,8,0,0,0,13.69,7l112-120A8,8,0,0,0,215.79,118.17ZM109.37,214l10.47-52.38a8,8,0,0,0-5-9.06L62,132.71l84.62-90.66L136.16,94.43a8,8,0,0,0,5,9.06l52.8,19.8Z"}))],["thin",ir.createElement(ir.Fragment,null,ir.createElement("path",{d:"M211.89,119.09a4,4,0,0,0-2.49-2.84l-60.81-22.8,15.33-76.67a4,4,0,0,0-6.84-3.51l-112,120a4,4,0,0,0-1,3.64,4,4,0,0,0,2.49,2.84l60.81,22.8L92.08,239.22a4,4,0,0,0,6.84,3.51l112-120A4,4,0,0,0,211.89,119.09ZM102.68,227l13.24-66.2a4,4,0,0,0-2.52-4.53L55,134.36,153.32,29l-13.24,66.2a4,4,0,0,0,2.52,4.53L201,121.64Z"}))]]);var lr=k(F(),1),TG=new Map([["bold",lr.createElement(lr.Fragment,null,lr.createElement("path",{d:"M87.5,151.52l64-64a12,12,0,0,1,17,17l-64,64a12,12,0,0,1-17-17Zm131-114a60.08,60.08,0,0,0-84.87,0L103.51,67.61a12,12,0,0,0,17,17l30.07-30.06a36,36,0,0,1,50.93,50.92L171.4,135.52a12,12,0,1,0,17,17l30.08-30.06A60.09,60.09,0,0,0,218.45,37.55ZM135.52,171.4l-30.07,30.08a36,36,0,0,1-50.92-50.93l30.06-30.07a12,12,0,0,0-17-17L37.55,133.58a60,60,0,0,0,84.88,84.87l30.06-30.07a12,12,0,0,0-17-17Z"}))],["duotone",lr.createElement(lr.Fragment,null,lr.createElement("path",{d:"M209.94,113.94l-96,96a48,48,0,0,1-67.88-67.88l96-96a48,48,0,0,1,67.88,67.88Z",opacity:"0.2"}),lr.createElement("path",{d:"M165.66,90.34a8,8,0,0,1,0,11.32l-64,64a8,8,0,0,1-11.32-11.32l64-64A8,8,0,0,1,165.66,90.34ZM215.6,40.4a56,56,0,0,0-79.2,0L106.34,70.45a8,8,0,0,0,11.32,11.32l30.06-30a40,40,0,0,1,56.57,56.56l-30.07,30.06a8,8,0,0,0,11.31,11.32L215.6,119.6a56,56,0,0,0,0-79.2ZM138.34,174.22l-30.06,30.06a40,40,0,1,1-56.56-56.57l30.05-30.05a8,8,0,0,0-11.32-11.32L40.4,136.4a56,56,0,0,0,79.2,79.2l30.06-30.07a8,8,0,0,0-11.32-11.31Z"}))],["fill",lr.createElement(lr.Fragment,null,lr.createElement("path",{d:"M208,32H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V48A16,16,0,0,0,208,32ZM144.56,173.66l-21.45,21.45a44,44,0,0,1-62.22-62.22l21.45-21.46a8,8,0,0,1,11.32,11.31L72.2,144.2a28,28,0,0,0,39.6,39.6l21.45-21.46a8,8,0,0,1,11.31,11.32Zm-34.9-16a8,8,0,0,1-11.32-11.32l48-48a8,8,0,0,1,11.32,11.32Zm85.45-34.55-21.45,21.45a8,8,0,0,1-11.32-11.31L183.8,111.8a28,28,0,0,0-39.6-39.6L122.74,93.66a8,8,0,0,1-11.31-11.32l21.46-21.45a44,44,0,0,1,62.22,62.22Z"}))],["light",lr.createElement(lr.Fragment,null,lr.createElement("path",{d:"M164.25,91.75a6,6,0,0,1,0,8.49l-64,64a6,6,0,0,1-8.49-8.48l64-64A6,6,0,0,1,164.25,91.75ZM214.2,41.8a54.07,54.07,0,0,0-76.38,0L107.75,71.85a6,6,0,0,0,8.49,8.49l30.07-30.06a42,42,0,0,1,59.41,59.41l-30.08,30.07a6,6,0,1,0,8.49,8.49l30.07-30.07A54,54,0,0,0,214.2,41.8ZM139.76,175.64l-30.07,30.08a42,42,0,0,1-59.41-59.41l30.06-30.07a6,6,0,0,0-8.49-8.49l-30,30.07a54,54,0,0,0,76.38,76.39l30.07-30.08a6,6,0,0,0-8.49-8.49Z"}))],["regular",lr.createElement(lr.Fragment,null,lr.createElement("path",{d:"M165.66,90.34a8,8,0,0,1,0,11.32l-64,64a8,8,0,0,1-11.32-11.32l64-64A8,8,0,0,1,165.66,90.34ZM215.6,40.4a56,56,0,0,0-79.2,0L106.34,70.45a8,8,0,0,0,11.32,11.32l30.06-30a40,40,0,0,1,56.57,56.56l-30.07,30.06a8,8,0,0,0,11.31,11.32L215.6,119.6a56,56,0,0,0,0-79.2ZM138.34,174.22l-30.06,30.06a40,40,0,1,1-56.56-56.57l30.05-30.05a8,8,0,0,0-11.32-11.32L40.4,136.4a56,56,0,0,0,79.2,79.2l30.06-30.07a8,8,0,0,0-11.32-11.31Z"}))],["thin",lr.createElement(lr.Fragment,null,lr.createElement("path",{d:"M162.84,93.16a4,4,0,0,1,0,5.66l-64,64a4,4,0,0,1-5.66-5.66l64-64A4,4,0,0,1,162.84,93.16Zm49.95-49.95a52.07,52.07,0,0,0-73.56,0L109.17,73.27a4,4,0,0,0,5.65,5.66l30.07-30.06a44,44,0,0,1,62.24,62.24l-30.07,30.06a4,4,0,0,0,5.66,5.66l30.07-30.06A52.07,52.07,0,0,0,212.79,43.21ZM141.17,177.06l-30.06,30.07a44,44,0,0,1-62.24-62.24l30.06-30.06a4,4,0,0,0-5.66-5.66L43.21,139.23a52,52,0,0,0,73.56,73.56l30.06-30.07a4,4,0,1,0-5.66-5.66Z"}))]]);var cr=k(F(),1),AG=new Map([["bold",cr.createElement(cr.Fragment,null,cr.createElement("path",{d:"M228,128a12,12,0,0,1-12,12H128a12,12,0,0,1,0-24h88A12,12,0,0,1,228,128ZM128,76h88a12,12,0,0,0,0-24H128a12,12,0,0,0,0,24Zm88,104H128a12,12,0,0,0,0,24h88a12,12,0,0,0,0-24ZM79.51,39.51,56,63l-7.51-7.52a12,12,0,0,0-17,17l16,16a12,12,0,0,0,17,0l32-32a12,12,0,0,0-17-17Zm0,64L56,127l-7.51-7.52a12,12,0,1,0-17,17l16,16a12,12,0,0,0,17,0l32-32a12,12,0,0,0-17-17Zm0,64L56,191l-7.51-7.52a12,12,0,1,0-17,17l16,16a12,12,0,0,0,17,0l32-32a12,12,0,0,0-17-17Z"}))],["duotone",cr.createElement(cr.Fragment,null,cr.createElement("path",{d:"M216,64V192H128V64Z",opacity:"0.2"}),cr.createElement("path",{d:"M224,128a8,8,0,0,1-8,8H128a8,8,0,0,1,0-16h88A8,8,0,0,1,224,128ZM128,72h88a8,8,0,0,0,0-16H128a8,8,0,0,0,0,16Zm88,112H128a8,8,0,0,0,0,16h88a8,8,0,0,0,0-16ZM82.34,42.34,56,68.69,45.66,58.34A8,8,0,0,0,34.34,69.66l16,16a8,8,0,0,0,11.32,0l32-32A8,8,0,0,0,82.34,42.34Zm0,64L56,132.69,45.66,122.34a8,8,0,0,0-11.32,11.32l16,16a8,8,0,0,0,11.32,0l32-32a8,8,0,0,0-11.32-11.32Zm0,64L56,196.69,45.66,186.34a8,8,0,0,0-11.32,11.32l16,16a8,8,0,0,0,11.32,0l32-32a8,8,0,0,0-11.32-11.32Z"}))],["fill",cr.createElement(cr.Fragment,null,cr.createElement("path",{d:"M208,32H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V48A16,16,0,0,0,208,32ZM117.66,149.66l-32,32a8,8,0,0,1-11.32,0l-16-16a8,8,0,0,1,11.32-11.32L80,164.69l26.34-26.35a8,8,0,0,1,11.32,11.32Zm0-64-32,32a8,8,0,0,1-11.32,0l-16-16A8,8,0,0,1,69.66,90.34L80,100.69l26.34-26.35a8,8,0,0,1,11.32,11.32ZM192,168H144a8,8,0,0,1,0-16h48a8,8,0,0,1,0,16Zm0-64H144a8,8,0,0,1,0-16h48a8,8,0,0,1,0,16Z"}))],["light",cr.createElement(cr.Fragment,null,cr.createElement("path",{d:"M222,128a6,6,0,0,1-6,6H128a6,6,0,0,1,0-12h88A6,6,0,0,1,222,128ZM128,70h88a6,6,0,0,0,0-12H128a6,6,0,0,0,0,12Zm88,116H128a6,6,0,0,0,0,12h88a6,6,0,0,0,0-12ZM83.76,43.76,56,71.51,44.24,59.76a6,6,0,0,0-8.48,8.48l16,16a6,6,0,0,0,8.48,0l32-32a6,6,0,0,0-8.48-8.48Zm0,64L56,135.51,44.24,123.76a6,6,0,1,0-8.48,8.48l16,16a6,6,0,0,0,8.48,0l32-32a6,6,0,0,0-8.48-8.48Zm0,64L56,199.51,44.24,187.76a6,6,0,0,0-8.48,8.48l16,16a6,6,0,0,0,8.48,0l32-32a6,6,0,0,0-8.48-8.48Z"}))],["regular",cr.createElement(cr.Fragment,null,cr.createElement("path",{d:"M224,128a8,8,0,0,1-8,8H128a8,8,0,0,1,0-16h88A8,8,0,0,1,224,128ZM128,72h88a8,8,0,0,0,0-16H128a8,8,0,0,0,0,16Zm88,112H128a8,8,0,0,0,0,16h88a8,8,0,0,0,0-16ZM82.34,42.34,56,68.69,45.66,58.34A8,8,0,0,0,34.34,69.66l16,16a8,8,0,0,0,11.32,0l32-32A8,8,0,0,0,82.34,42.34Zm0,64L56,132.69,45.66,122.34a8,8,0,0,0-11.32,11.32l16,16a8,8,0,0,0,11.32,0l32-32a8,8,0,0,0-11.32-11.32Zm0,64L56,196.69,45.66,186.34a8,8,0,0,0-11.32,11.32l16,16a8,8,0,0,0,11.32,0l32-32a8,8,0,0,0-11.32-11.32Z"}))],["thin",cr.createElement(cr.Fragment,null,cr.createElement("path",{d:"M220,128a4,4,0,0,1-4,4H128a4,4,0,0,1,0-8h88A4,4,0,0,1,220,128ZM128,68h88a4,4,0,0,0,0-8H128a4,4,0,0,0,0,8Zm88,120H128a4,4,0,0,0,0,8h88a4,4,0,0,0,0-8ZM85.17,45.17,56,74.34,42.83,61.17a4,4,0,0,0-5.66,5.66l16,16a4,4,0,0,0,5.66,0l32-32a4,4,0,0,0-5.66-5.66Zm0,64L56,138.34,42.83,125.17a4,4,0,1,0-5.66,5.66l16,16a4,4,0,0,0,5.66,0l32-32a4,4,0,0,0-5.66-5.66Zm0,64L56,202.34,42.83,189.17a4,4,0,0,0-5.66,5.66l16,16a4,4,0,0,0,5.66,0l32-32a4,4,0,0,0-5.66-5.66Z"}))]]);var V4=k(F(),1);var ur=k(F(),1),kG=new Map([["bold",ur.createElement(ur.Fragment,null,ur.createElement("path",{d:"M229.7,82.84l-175.94-54-.16-.05A20,20,0,0,0,28,48V192a20,20,0,0,0,19.94,20,20.38,20.38,0,0,0,5.66-.81l.16,0,78.24-24V196a20,20,0,0,0,20,20h32a20,20,0,0,0,20-20V165.06l25.7-7.89A20.1,20.1,0,0,0,244,138V102A20.1,20.1,0,0,0,229.7,82.84ZM52,186.58V53.43L132,78V162ZM180,192H156V179.78l24-7.36Zm40-56.95-64,19.63V85.33L220,105Z"}))],["duotone",ur.createElement(ur.Fragment,null,ur.createElement("path",{d:"M144,69.09V170.91L50.24,199.67A8,8,0,0,1,40,192V48a8,8,0,0,1,10.24-7.67Z",opacity:"0.2"}),ur.createElement("path",{d:"M228.54,86.66l-176.06-54A16,16,0,0,0,32,48V192a16,16,0,0,0,16,16,16,16,0,0,0,4.52-.65L136,181.73V192a16,16,0,0,0,16,16h32a16,16,0,0,0,16-16v-29.9l28.54-8.75A16.09,16.09,0,0,0,240,138V102A16.09,16.09,0,0,0,228.54,86.66ZM136,165,48,192V48l88,27Zm48,27H152V176.82L184,167Zm40-54-.11,0L152,160.08V79.92l71.89,22,.11,0v36Z"}))],["fill",ur.createElement(ur.Fragment,null,ur.createElement("path",{d:"M228.54,86.66l-176.06-54A16,16,0,0,0,32,48V192a16,16,0,0,0,16,16,16,16,0,0,0,4.52-.65L136,181.73V192a16,16,0,0,0,16,16h32a16,16,0,0,0,16-16v-29.9l28.54-8.75A16.09,16.09,0,0,0,240,138V102A16.09,16.09,0,0,0,228.54,86.66ZM184,192H152V176.82L184,167Zm40-54-.11,0L152,160.08V79.91L223.89,102l.11,0v36Z"}))],["light",ur.createElement(ur.Fragment,null,ur.createElement("path",{d:"M228,88.59l-176.08-54A14,14,0,0,0,34,48V192a14,14,0,0,0,14,14,14.59,14.59,0,0,0,4-.59L138,179v13a14,14,0,0,0,14,14h32a14,14,0,0,0,14-14V160.62l30-9.19A14.07,14.07,0,0,0,238,138V102A14,14,0,0,0,228,88.59ZM48.56,193.92a2,2,0,0,1-1.76-.32A2,2,0,0,1,46,192V48a2,2,0,0,1,.8-1.6A2.05,2.05,0,0,1,48,46a1.79,1.79,0,0,1,.49.08L138,73.53v92.95ZM186,192a2,2,0,0,1-2,2H152a2,2,0,0,1-2-2V175.35l36-11Zm40-54a2,2,0,0,1-1.44,1.92l-.08,0L150,162.8V77.21l74.56,22.87A2,2,0,0,1,226,102Z"}))],["regular",ur.createElement(ur.Fragment,null,ur.createElement("path",{d:"M228.54,86.66l-176.06-54A16,16,0,0,0,32,48V192a16,16,0,0,0,16,16,16,16,0,0,0,4.52-.65L136,181.73V192a16,16,0,0,0,16,16h32a16,16,0,0,0,16-16v-29.9l28.54-8.75A16.09,16.09,0,0,0,240,138V102A16.09,16.09,0,0,0,228.54,86.66ZM136,165,48,192V48l88,27Zm48,27H152V176.82L184,167Zm40-54-.11,0L152,160.08V79.92l71.89,22,.11,0v36Z"}))],["thin",ur.createElement(ur.Fragment,null,ur.createElement("path",{d:"M227.41,90.5l-176-54A12,12,0,0,0,36,48V192a12,12,0,0,0,12,12,12.41,12.41,0,0,0,3.45-.5L140,176.32V192a12,12,0,0,0,12,12h32a12,12,0,0,0,12-12V159.14l31.39-9.63A12.06,12.06,0,0,0,236,138V102A12,12,0,0,0,227.41,90.5ZM49.12,195.84A4,4,0,0,1,44,192V48a4,4,0,0,1,1.6-3.2A4,4,0,0,1,48,44a3.89,3.89,0,0,1,1.07.15L140,72.05V168ZM188,192a4,4,0,0,1-4,4H152a4,4,0,0,1-4-4V173.87l40-12.27Zm40-54a4,4,0,0,1-2.88,3.84l-.05,0L148,165.5v-91l77.12,23.66A4,4,0,0,1,228,102Z"}))]]);var rM=V4.forwardRef((e,t)=>V4.createElement(Yr,{ref:t,...e,weights:kG}));rM.displayName="MegaphoneSimpleIcon";var nM=rM;var mr=k(F(),1),MG=new Map([["bold",mr.createElement(mr.Fragment,null,mr.createElement("path",{d:"M84,108A12,12,0,0,1,96,96h64a12,12,0,0,1,0,24H96A12,12,0,0,1,84,108Zm32,28H96a12,12,0,0,0,0,24h20a12,12,0,0,0,0-24ZM228,48V156.69a19.86,19.86,0,0,1-5.86,14.14l-51.31,51.31A19.86,19.86,0,0,1,156.69,228H48a20,20,0,0,1-20-20V48A20,20,0,0,1,48,28H208A20,20,0,0,1,228,48ZM52,204h92V156a12,12,0,0,1,12-12h48V52H52Zm139-36H168v23Z"}))],["duotone",mr.createElement(mr.Fragment,null,mr.createElement("path",{d:"M216,160l-56,56V160Z",opacity:"0.2"}),mr.createElement("path",{d:"M88,96a8,8,0,0,1,8-8h64a8,8,0,0,1,0,16H96A8,8,0,0,1,88,96Zm8,40h64a8,8,0,0,0,0-16H96a8,8,0,0,0,0,16Zm32,16H96a8,8,0,0,0,0,16h32a8,8,0,0,0,0-16ZM224,48V156.69A15.86,15.86,0,0,1,219.31,168L168,219.31A15.86,15.86,0,0,1,156.69,224H48a16,16,0,0,1-16-16V48A16,16,0,0,1,48,32H208A16,16,0,0,1,224,48ZM48,208H152V160a8,8,0,0,1,8-8h48V48H48Zm120-40v28.7L196.69,168Z"}))],["fill",mr.createElement(mr.Fragment,null,mr.createElement("path",{d:"M208,32H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H156.69A15.92,15.92,0,0,0,168,219.31L219.31,168A15.92,15.92,0,0,0,224,156.69V48A16,16,0,0,0,208,32ZM96,88h64a8,8,0,0,1,0,16H96a8,8,0,0,1,0-16Zm32,80H96a8,8,0,0,1,0-16h32a8,8,0,0,1,0,16ZM96,136a8,8,0,0,1,0-16h64a8,8,0,0,1,0,16Zm64,68.69V160h44.7Z"}))],["light",mr.createElement(mr.Fragment,null,mr.createElement("path",{d:"M90,96a6,6,0,0,1,6-6h64a6,6,0,0,1,0,12H96A6,6,0,0,1,90,96Zm6,38h64a6,6,0,0,0,0-12H96a6,6,0,0,0,0,12Zm32,20H96a6,6,0,0,0,0,12h32a6,6,0,0,0,0-12ZM222,48V156.69a13.94,13.94,0,0,1-4.1,9.9L166.59,217.9a13.94,13.94,0,0,1-9.9,4.1H48a14,14,0,0,1-14-14V48A14,14,0,0,1,48,34H208A14,14,0,0,1,222,48ZM48,210H154V160a6,6,0,0,1,6-6h50V48a2,2,0,0,0-2-2H48a2,2,0,0,0-2,2V208A2,2,0,0,0,48,210Zm153.52-44H166v35.52Z"}))],["regular",mr.createElement(mr.Fragment,null,mr.createElement("path",{d:"M88,96a8,8,0,0,1,8-8h64a8,8,0,0,1,0,16H96A8,8,0,0,1,88,96Zm8,40h64a8,8,0,0,0,0-16H96a8,8,0,0,0,0,16Zm32,16H96a8,8,0,0,0,0,16h32a8,8,0,0,0,0-16ZM224,48V156.69A15.86,15.86,0,0,1,219.31,168L168,219.31A15.86,15.86,0,0,1,156.69,224H48a16,16,0,0,1-16-16V48A16,16,0,0,1,48,32H208A16,16,0,0,1,224,48ZM48,208H152V160a8,8,0,0,1,8-8h48V48H48Zm120-40v28.7L196.69,168Z"}))],["thin",mr.createElement(mr.Fragment,null,mr.createElement("path",{d:"M92,96a4,4,0,0,1,4-4h64a4,4,0,0,1,0,8H96A4,4,0,0,1,92,96Zm4,36h64a4,4,0,0,0,0-8H96a4,4,0,0,0,0,8Zm32,24H96a4,4,0,0,0,0,8h32a4,4,0,0,0,0-8ZM220,48V156.69a11.9,11.9,0,0,1-3.52,8.48l-51.31,51.32a11.93,11.93,0,0,1-8.48,3.51H48a12,12,0,0,1-12-12V48A12,12,0,0,1,48,36H208A12,12,0,0,1,220,48ZM48,212H156V160a4,4,0,0,1,4-4h52V48a4,4,0,0,0-4-4H48a4,4,0,0,0-4,4V208A4,4,0,0,0,48,212Zm158.35-48H164v42.35Z"}))]]);var fr=k(F(),1),LG=new Map([["bold",fr.createElement(fr.Fragment,null,fr.createElement("path",{d:"M225.6,62.64l-88-48.17a19.91,19.91,0,0,0-19.2,0l-88,48.17A20,20,0,0,0,20,80.19v95.62a20,20,0,0,0,10.4,17.55l88,48.17a19.89,19.89,0,0,0,19.2,0l88-48.17A20,20,0,0,0,236,175.81V80.19A20,20,0,0,0,225.6,62.64ZM128,36.57,200,76,178.57,87.73l-72-39.42Zm0,78.83L56,76,81.56,62l72,39.41ZM44,96.79l72,39.4v76.67L44,173.44Zm96,116.07V136.19l24-13.13V152a12,12,0,0,0,24,0V109.92l24-13.13v76.65Z"}))],["duotone",fr.createElement(fr.Fragment,null,fr.createElement("path",{d:"M128,129.09V232a8,8,0,0,1-3.84-1l-88-48.18a8,8,0,0,1-4.16-7V80.18a8,8,0,0,1,.7-3.25Z",opacity:"0.2"}),fr.createElement("path",{d:"M223.68,66.15,135.68,18a15.88,15.88,0,0,0-15.36,0l-88,48.17a16,16,0,0,0-8.32,14v95.64a16,16,0,0,0,8.32,14l88,48.17a15.88,15.88,0,0,0,15.36,0l88-48.17a16,16,0,0,0,8.32-14V80.18A16,16,0,0,0,223.68,66.15ZM128,32l80.34,44-29.77,16.3-80.35-44ZM128,120,47.66,76l33.9-18.56,80.34,44ZM40,90l80,43.78v85.79L40,175.82Zm176,85.78h0l-80,43.79V133.82l32-17.51V152a8,8,0,0,0,16,0V107.55L216,90v85.77Z"}))],["fill",fr.createElement(fr.Fragment,null,fr.createElement("path",{d:"M223.68,66.15,135.68,18a15.88,15.88,0,0,0-15.36,0l-88,48.17a16,16,0,0,0-8.32,14v95.64a16,16,0,0,0,8.32,14l88,48.17a15.88,15.88,0,0,0,15.36,0l88-48.17a16,16,0,0,0,8.32-14V80.18A16,16,0,0,0,223.68,66.15ZM128,32l80.35,44L178.57,92.29l-80.35-44Zm0,88L47.65,76,81.56,57.43l80.35,44Zm88,55.85h0l-80,43.79V133.83l32-17.51V152a8,8,0,0,0,16,0V107.56l32-17.51v85.76Z"}))],["light",fr.createElement(fr.Fragment,null,fr.createElement("path",{d:"M222.72,67.91l-88-48.18a13.9,13.9,0,0,0-13.44,0l-88,48.18A14,14,0,0,0,26,80.18v95.64a14,14,0,0,0,7.28,12.27l88,48.18a13.92,13.92,0,0,0,13.44,0l88-48.18A14,14,0,0,0,230,175.82V80.18A14,14,0,0,0,222.72,67.91ZM127,30.25a2,2,0,0,1,1.92,0L212.51,76,178.57,94.57,94.05,48.31ZM122,223,39,177.57a2,2,0,0,1-1-1.75V86.66l84,46ZM43.49,76,81.56,55.15l84.51,46.26L128,122.24ZM218,175.82a2,2,0,0,1-1,1.75h0L134,223V132.64l36-19.71V152a6,6,0,0,0,12,0V106.37l36-19.71Z"}))],["regular",fr.createElement(fr.Fragment,null,fr.createElement("path",{d:"M223.68,66.15,135.68,18a15.88,15.88,0,0,0-15.36,0l-88,48.17a16,16,0,0,0-8.32,14v95.64a16,16,0,0,0,8.32,14l88,48.17a15.88,15.88,0,0,0,15.36,0l88-48.17a16,16,0,0,0,8.32-14V80.18A16,16,0,0,0,223.68,66.15ZM128,32l80.34,44-29.77,16.3-80.35-44ZM128,120,47.66,76l33.9-18.56,80.34,44ZM40,90l80,43.78v85.79L40,175.82Zm176,85.78h0l-80,43.79V133.82l32-17.51V152a8,8,0,0,0,16,0V107.55L216,90v85.77Z"}))],["thin",fr.createElement(fr.Fragment,null,fr.createElement("path",{d:"M221.76,69.66l-88-48.18a12,12,0,0,0-11.52,0l-88,48.18A12,12,0,0,0,28,80.18v95.64a12,12,0,0,0,6.24,10.52l88,48.18a11.95,11.95,0,0,0,11.52,0l88-48.18A12,12,0,0,0,228,175.82V80.18A12,12,0,0,0,221.76,69.66ZM126.08,28.5a3.94,3.94,0,0,1,3.84,0L216.67,76,178.5,96.89a4,4,0,0,0-.58-.4l-88-48.18Zm1.92,96L39.33,76,81.56,52.87l88.67,48.54Zm-89.92,54.8a4,4,0,0,1-2.08-3.5V83.29l88,48.16v94.91Zm179.84,0h0l-85.92,47V131.45l40-21.89V152a4,4,0,0,0,8,0V105.18l40-21.89v92.53A4,4,0,0,1,217.92,179.32Z"}))]]);var dr=k(F(),1),PG=new Map([["bold",dr.createElement(dr.Fragment,null,dr.createElement("path",{d:"M200,164a36.07,36.07,0,0,0-33.94,24H72a28,28,0,0,1,0-56h96a44,44,0,0,0,0-88H72a12,12,0,0,0,0,24h96a20,20,0,0,1,0,40H72a52,52,0,0,0,0,104h94.06A36,36,0,1,0,200,164Zm0,48a12,12,0,1,1,12-12A12,12,0,0,1,200,212Z"}))],["duotone",dr.createElement(dr.Fragment,null,dr.createElement("path",{d:"M224,200a24,24,0,1,1-24-24A24,24,0,0,1,224,200Z",opacity:"0.2"}),dr.createElement("path",{d:"M200,168a32.06,32.06,0,0,0-31,24H72a32,32,0,0,1,0-64h96a40,40,0,0,0,0-80H72a8,8,0,0,0,0,16h96a24,24,0,0,1,0,48H72a48,48,0,0,0,0,96h97a32,32,0,1,0,31-40Zm0,48a16,16,0,1,1,16-16A16,16,0,0,1,200,216Z"}))],["fill",dr.createElement(dr.Fragment,null,dr.createElement("path",{d:"M228,200a28,28,0,0,1-54.83,8H72a48,48,0,0,1,0-96h96a24,24,0,0,0,0-48H72a8,8,0,0,1,0-16h96a40,40,0,0,1,0,80H72a32,32,0,0,0,0,64H173.17A28,28,0,0,1,228,200Z"}))],["light",dr.createElement(dr.Fragment,null,dr.createElement("path",{d:"M200,170a30.05,30.05,0,0,0-29.4,24H72a34,34,0,0,1,0-68h96a38,38,0,0,0,0-76H72a6,6,0,0,0,0,12h96a26,26,0,0,1,0,52H72a46,46,0,0,0,0,92h98.6A30,30,0,1,0,200,170Zm0,48a18,18,0,1,1,18-18A18,18,0,0,1,200,218Z"}))],["regular",dr.createElement(dr.Fragment,null,dr.createElement("path",{d:"M200,168a32.06,32.06,0,0,0-31,24H72a32,32,0,0,1,0-64h96a40,40,0,0,0,0-80H72a8,8,0,0,0,0,16h96a24,24,0,0,1,0,48H72a48,48,0,0,0,0,96h97a32,32,0,1,0,31-40Zm0,48a16,16,0,1,1,16-16A16,16,0,0,1,200,216Z"}))],["thin",dr.createElement(dr.Fragment,null,dr.createElement("path",{d:"M200,172a28,28,0,0,0-27.71,24H72a36,36,0,0,1,0-72h96a36,36,0,0,0,0-72H72a4,4,0,0,0,0,8h96a28,28,0,0,1,0,56H72a44,44,0,0,0,0,88H172.29A28,28,0,1,0,200,172Zm0,48a20,20,0,1,1,20-20A20,20,0,0,1,200,220Z"}))]]);var pr=k(F(),1),EG=new Map([["bold",pr.createElement(pr.Fragment,null,pr.createElement("path",{d:"M216,36H140V24a12,12,0,0,0-24,0V36H40A20,20,0,0,0,20,56V176a20,20,0,0,0,20,20H71l-16.4,20.5a12,12,0,0,0,18.74,15l28.4-35.5h52.46l28.4,35.5a12,12,0,0,0,18.74-15L185,196h31a20,20,0,0,0,20-20V56A20,20,0,0,0,216,36Zm-4,136H44V60H212ZM104,120v24a12,12,0,0,1-24,0V120a12,12,0,0,1,24,0Zm24-28a12,12,0,0,1,12,12v40a12,12,0,0,1-24,0V104A12,12,0,0,1,128,92Zm24,52V88a12,12,0,0,1,24,0v56a12,12,0,0,1-24,0Z"}))],["duotone",pr.createElement(pr.Fragment,null,pr.createElement("path",{d:"M224,56V176a8,8,0,0,1-8,8H40a8,8,0,0,1-8-8V56a8,8,0,0,1,8-8H216A8,8,0,0,1,224,56Z",opacity:"0.2"}),pr.createElement("path",{d:"M216,40H136V24a8,8,0,0,0-16,0V40H40A16,16,0,0,0,24,56V176a16,16,0,0,0,16,16H79.36L57.75,219a8,8,0,0,0,12.5,10l29.59-37h56.32l29.59,37a8,8,0,1,0,12.5-10l-21.61-27H216a16,16,0,0,0,16-16V56A16,16,0,0,0,216,40Zm0,136H40V56H216V176ZM104,120v24a8,8,0,0,1-16,0V120a8,8,0,0,1,16,0Zm32-16v40a8,8,0,0,1-16,0V104a8,8,0,0,1,16,0Zm32-16v56a8,8,0,0,1-16,0V88a8,8,0,0,1,16,0Z"}))],["fill",pr.createElement(pr.Fragment,null,pr.createElement("path",{d:"M216,40H136V24a8,8,0,0,0-16,0V40H40A16,16,0,0,0,24,56V176a16,16,0,0,0,16,16H79.36L57.75,219a8,8,0,0,0,12.5,10l29.59-37h56.32l29.59,37a8,8,0,1,0,12.5-10l-21.61-27H216a16,16,0,0,0,16-16V56A16,16,0,0,0,216,40ZM104,144a8,8,0,0,1-16,0V120a8,8,0,0,1,16,0Zm32,0a8,8,0,0,1-16,0V104a8,8,0,0,1,16,0Zm32,0a8,8,0,0,1-16,0V88a8,8,0,0,1,16,0Z"}))],["light",pr.createElement(pr.Fragment,null,pr.createElement("path",{d:"M216,42H134V24a6,6,0,0,0-12,0V42H40A14,14,0,0,0,26,56V176a14,14,0,0,0,14,14H83.52L59.31,220.25a6,6,0,0,0,9.38,7.5L98.88,190h58.24l30.19,37.75a6,6,0,0,0,9.38-7.5L172.48,190H216a14,14,0,0,0,14-14V56A14,14,0,0,0,216,42Zm2,134a2,2,0,0,1-2,2H40a2,2,0,0,1-2-2V56a2,2,0,0,1,2-2H216a2,2,0,0,1,2,2ZM102,120v24a6,6,0,0,1-12,0V120a6,6,0,0,1,12,0Zm32-16v40a6,6,0,0,1-12,0V104a6,6,0,0,1,12,0Zm32-16v56a6,6,0,0,1-12,0V88a6,6,0,0,1,12,0Z"}))],["regular",pr.createElement(pr.Fragment,null,pr.createElement("path",{d:"M216,40H136V24a8,8,0,0,0-16,0V40H40A16,16,0,0,0,24,56V176a16,16,0,0,0,16,16H79.36L57.75,219a8,8,0,0,0,12.5,10l29.59-37h56.32l29.59,37a8,8,0,1,0,12.5-10l-21.61-27H216a16,16,0,0,0,16-16V56A16,16,0,0,0,216,40Zm0,136H40V56H216V176ZM104,120v24a8,8,0,0,1-16,0V120a8,8,0,0,1,16,0Zm32-16v40a8,8,0,0,1-16,0V104a8,8,0,0,1,16,0Zm32-16v56a8,8,0,0,1-16,0V88a8,8,0,0,1,16,0Z"}))],["thin",pr.createElement(pr.Fragment,null,pr.createElement("path",{d:"M216,44H132V24a4,4,0,0,0-8,0V44H40A12,12,0,0,0,28,56V176a12,12,0,0,0,12,12H87.68l-26.8,33.5a4,4,0,1,0,6.24,5L97.92,188h60.16l30.8,38.5a4,4,0,0,0,6.24-5L168.32,188H216a12,12,0,0,0,12-12V56A12,12,0,0,0,216,44Zm4,132a4,4,0,0,1-4,4H40a4,4,0,0,1-4-4V56a4,4,0,0,1,4-4H216a4,4,0,0,1,4,4ZM100,120v24a4,4,0,0,1-8,0V120a4,4,0,0,1,8,0Zm32-16v40a4,4,0,0,1-8,0V104a4,4,0,0,1,8,0Zm32-16v56a4,4,0,0,1-8,0V88a4,4,0,0,1,8,0Z"}))]]);var hr=k(F(),1),BG=new Map([["bold",hr.createElement(hr.Fragment,null,hr.createElement("path",{d:"M208,36H48A20,20,0,0,0,28,56v56c0,54.29,26.32,87.22,48.4,105.29,23.71,19.39,47.44,26,48.44,26.29a12.1,12.1,0,0,0,6.32,0c1-.28,24.73-6.9,48.44-26.29,22.08-18.07,48.4-51,48.4-105.29V56A20,20,0,0,0,208,36Zm-4,76c0,35.71-13.09,64.69-38.91,86.15A126.28,126.28,0,0,1,128,219.38a126.14,126.14,0,0,1-37.09-21.23C65.09,176.69,52,147.71,52,112V60H204ZM79.51,144.49a12,12,0,1,1,17-17L112,143l47.51-47.52a12,12,0,0,1,17,17l-56,56a12,12,0,0,1-17,0Z"}))],["duotone",hr.createElement(hr.Fragment,null,hr.createElement("path",{d:"M216,56v56c0,96-88,120-88,120S40,208,40,112V56a8,8,0,0,1,8-8H208A8,8,0,0,1,216,56Z",opacity:"0.2"}),hr.createElement("path",{d:"M208,40H48A16,16,0,0,0,32,56v56c0,52.72,25.52,84.67,46.93,102.19,23.06,18.86,46,25.26,47,25.53a8,8,0,0,0,4.2,0c1-.27,23.91-6.67,47-25.53C198.48,196.67,224,164.72,224,112V56A16,16,0,0,0,208,40Zm0,72c0,37.07-13.66,67.16-40.6,89.42A129.3,129.3,0,0,1,128,223.62a128.25,128.25,0,0,1-38.92-21.81C61.82,179.51,48,149.3,48,112l0-56,160,0ZM82.34,141.66a8,8,0,0,1,11.32-11.32L112,148.69l50.34-50.35a8,8,0,0,1,11.32,11.32l-56,56a8,8,0,0,1-11.32,0Z"}))],["fill",hr.createElement(hr.Fragment,null,hr.createElement("path",{d:"M208,40H48A16,16,0,0,0,32,56v56c0,52.72,25.52,84.67,46.93,102.19,23.06,18.86,46,25.26,47,25.53a8,8,0,0,0,4.2,0c1-.27,23.91-6.67,47-25.53C198.48,196.67,224,164.72,224,112V56A16,16,0,0,0,208,40Zm-34.32,69.66-56,56a8,8,0,0,1-11.32,0l-24-24a8,8,0,0,1,11.32-11.32L112,148.69l50.34-50.35a8,8,0,0,1,11.32,11.32Z"}))],["light",hr.createElement(hr.Fragment,null,hr.createElement("path",{d:"M208,42H48A14,14,0,0,0,34,56v56c0,51.94,25.12,83.4,46.2,100.64,22.73,18.6,45.27,24.89,46.22,25.15a6,6,0,0,0,3.16,0c.95-.26,23.49-6.55,46.22-25.15C196.88,195.4,222,163.94,222,112V56A14,14,0,0,0,208,42Zm2,70c0,37.76-13.94,68.39-41.44,91.06A131.17,131.17,0,0,1,128,225.72a130.94,130.94,0,0,1-40.56-22.66C59.94,180.39,46,149.76,46,112V56a2,2,0,0,1,2-2H208a2,2,0,0,1,2,2ZM172.24,99.76a6,6,0,0,1,0,8.48l-56,56a6,6,0,0,1-8.48,0l-24-24a6,6,0,0,1,8.48-8.48L112,151.51l51.76-51.75A6,6,0,0,1,172.24,99.76Z"}))],["regular",hr.createElement(hr.Fragment,null,hr.createElement("path",{d:"M208,40H48A16,16,0,0,0,32,56v56c0,52.72,25.52,84.67,46.93,102.19,23.06,18.86,46,25.26,47,25.53a8,8,0,0,0,4.2,0c1-.27,23.91-6.67,47-25.53C198.48,196.67,224,164.72,224,112V56A16,16,0,0,0,208,40Zm0,72c0,37.07-13.66,67.16-40.6,89.42A129.3,129.3,0,0,1,128,223.62a128.25,128.25,0,0,1-38.92-21.81C61.82,179.51,48,149.3,48,112l0-56,160,0ZM82.34,141.66a8,8,0,0,1,11.32-11.32L112,148.69l50.34-50.35a8,8,0,0,1,11.32,11.32l-56,56a8,8,0,0,1-11.32,0Z"}))],["thin",hr.createElement(hr.Fragment,null,hr.createElement("path",{d:"M208,44H48A12,12,0,0,0,36,56v56c0,51.16,24.73,82.12,45.47,99.1,22.4,18.32,44.55,24.5,45.48,24.76a4,4,0,0,0,2.1,0c.93-.26,23.08-6.44,45.48-24.76,20.74-17,45.47-47.94,45.47-99.1V56A12,12,0,0,0,208,44Zm4,68c0,38.44-14.23,69.63-42.29,92.71A132.45,132.45,0,0,1,128,227.82a132.23,132.23,0,0,1-41.71-23.11C58.23,181.63,44,150.44,44,112V56a4,4,0,0,1,4-4H208a4,4,0,0,1,4,4Zm-41.17-10.83a4,4,0,0,1,0,5.66l-56,56a4,4,0,0,1-5.66,0l-24-24a4,4,0,0,1,5.66-5.66L112,154.34l53.17-53.17A4,4,0,0,1,170.83,101.17Z"}))]]);var z4=k(F(),1);var gr=k(F(),1),N4=new Map([["bold",gr.createElement(gr.Fragment,null,gr.createElement("path",{d:"M199,125.31l-49.88-18.39L130.69,57a19.92,19.92,0,0,0-37.38,0L74.92,106.92,25,125.31a19.92,19.92,0,0,0,0,37.38l49.88,18.39L93.31,231a19.92,19.92,0,0,0,37.38,0l18.39-49.88L199,162.69a19.92,19.92,0,0,0,0-37.38Zm-63.38,35.16a12,12,0,0,0-7.11,7.11L112,212.28l-16.47-44.7a12,12,0,0,0-7.11-7.11L43.72,144l44.7-16.47a12,12,0,0,0,7.11-7.11L112,75.72l16.47,44.7a12,12,0,0,0,7.11,7.11L180.28,144ZM140,40a12,12,0,0,1,12-12h12V16a12,12,0,0,1,24,0V28h12a12,12,0,0,1,0,24H188V64a12,12,0,0,1-24,0V52H152A12,12,0,0,1,140,40ZM252,88a12,12,0,0,1-12,12h-4v4a12,12,0,0,1-24,0v-4h-4a12,12,0,0,1,0-24h4V72a12,12,0,0,1,24,0v4h4A12,12,0,0,1,252,88Z"}))],["duotone",gr.createElement(gr.Fragment,null,gr.createElement("path",{d:"M194.82,151.43l-55.09,20.3-20.3,55.09a7.92,7.92,0,0,1-14.86,0l-20.3-55.09-55.09-20.3a7.92,7.92,0,0,1,0-14.86l55.09-20.3,20.3-55.09a7.92,7.92,0,0,1,14.86,0l20.3,55.09,55.09,20.3A7.92,7.92,0,0,1,194.82,151.43Z",opacity:"0.2"}),gr.createElement("path",{d:"M197.58,129.06,146,110l-19-51.62a15.92,15.92,0,0,0-29.88,0L78,110l-51.62,19a15.92,15.92,0,0,0,0,29.88L78,178l19,51.62a15.92,15.92,0,0,0,29.88,0L146,178l51.62-19a15.92,15.92,0,0,0,0-29.88ZM137,164.22a8,8,0,0,0-4.74,4.74L112,223.85,91.78,169A8,8,0,0,0,87,164.22L32.15,144,87,123.78A8,8,0,0,0,91.78,119L112,64.15,132.22,119a8,8,0,0,0,4.74,4.74L191.85,144ZM144,40a8,8,0,0,1,8-8h16V16a8,8,0,0,1,16,0V32h16a8,8,0,0,1,0,16H184V64a8,8,0,0,1-16,0V48H152A8,8,0,0,1,144,40ZM248,88a8,8,0,0,1-8,8h-8v8a8,8,0,0,1-16,0V96h-8a8,8,0,0,1,0-16h8V72a8,8,0,0,1,16,0v8h8A8,8,0,0,1,248,88Z"}))],["fill",gr.createElement(gr.Fragment,null,gr.createElement("path",{d:"M208,144a15.78,15.78,0,0,1-10.42,14.94L146,178l-19,51.62a15.92,15.92,0,0,1-29.88,0L78,178l-51.62-19a15.92,15.92,0,0,1,0-29.88L78,110l19-51.62a15.92,15.92,0,0,1,29.88,0L146,110l51.62,19A15.78,15.78,0,0,1,208,144ZM152,48h16V64a8,8,0,0,0,16,0V48h16a8,8,0,0,0,0-16H184V16a8,8,0,0,0-16,0V32H152a8,8,0,0,0,0,16Zm88,32h-8V72a8,8,0,0,0-16,0v8h-8a8,8,0,0,0,0,16h8v8a8,8,0,0,0,16,0V96h8a8,8,0,0,0,0-16Z"}))],["light",gr.createElement(gr.Fragment,null,gr.createElement("path",{d:"M196.89,130.94,144.4,111.6,125.06,59.11a13.92,13.92,0,0,0-26.12,0L79.6,111.6,27.11,130.94a13.92,13.92,0,0,0,0,26.12L79.6,176.4l19.34,52.49a13.92,13.92,0,0,0,26.12,0L144.4,176.4l52.49-19.34a13.92,13.92,0,0,0,0-26.12Zm-4.15,14.86-55.08,20.3a6,6,0,0,0-3.56,3.56l-20.3,55.08a1.92,1.92,0,0,1-3.6,0L89.9,169.66a6,6,0,0,0-3.56-3.56L31.26,145.8a1.92,1.92,0,0,1,0-3.6l55.08-20.3a6,6,0,0,0,3.56-3.56l20.3-55.08a1.92,1.92,0,0,1,3.6,0l20.3,55.08a6,6,0,0,0,3.56,3.56l55.08,20.3a1.92,1.92,0,0,1,0,3.6ZM146,40a6,6,0,0,1,6-6h18V16a6,6,0,0,1,12,0V34h18a6,6,0,0,1,0,12H182V64a6,6,0,0,1-12,0V46H152A6,6,0,0,1,146,40ZM246,88a6,6,0,0,1-6,6H230v10a6,6,0,0,1-12,0V94H208a6,6,0,0,1,0-12h10V72a6,6,0,0,1,12,0V82h10A6,6,0,0,1,246,88Z"}))],["regular",gr.createElement(gr.Fragment,null,gr.createElement("path",{d:"M197.58,129.06,146,110l-19-51.62a15.92,15.92,0,0,0-29.88,0L78,110l-51.62,19a15.92,15.92,0,0,0,0,29.88L78,178l19,51.62a15.92,15.92,0,0,0,29.88,0L146,178l51.62-19a15.92,15.92,0,0,0,0-29.88ZM137,164.22a8,8,0,0,0-4.74,4.74L112,223.85,91.78,169A8,8,0,0,0,87,164.22L32.15,144,87,123.78A8,8,0,0,0,91.78,119L112,64.15,132.22,119a8,8,0,0,0,4.74,4.74L191.85,144ZM144,40a8,8,0,0,1,8-8h16V16a8,8,0,0,1,16,0V32h16a8,8,0,0,1,0,16H184V64a8,8,0,0,1-16,0V48H152A8,8,0,0,1,144,40ZM248,88a8,8,0,0,1-8,8h-8v8a8,8,0,0,1-16,0V96h-8a8,8,0,0,1,0-16h8V72a8,8,0,0,1,16,0v8h8A8,8,0,0,1,248,88Z"}))],["thin",gr.createElement(gr.Fragment,null,gr.createElement("path",{d:"M196.2,132.81l-53.36-19.65L123.19,59.8a11.93,11.93,0,0,0-22.38,0L81.16,113.16,27.8,132.81a11.93,11.93,0,0,0,0,22.38l53.36,19.65,19.65,53.36a11.93,11.93,0,0,0,22.38,0l19.65-53.36,53.36-19.65a11.93,11.93,0,0,0,0-22.38Zm-2.77,14.87L138.35,168a4,4,0,0,0-2.37,2.37l-20.3,55.08a3.92,3.92,0,0,1-7.36,0L88,170.35A4,4,0,0,0,85.65,168l-55.08-20.3a3.92,3.92,0,0,1,0-7.36L85.65,120A4,4,0,0,0,88,117.65l20.3-55.08a3.92,3.92,0,0,1,7.36,0L136,117.65a4,4,0,0,0,2.37,2.37l55.08,20.3a3.92,3.92,0,0,1,0,7.36ZM148,40a4,4,0,0,1,4-4h20V16a4,4,0,0,1,8,0V36h20a4,4,0,0,1,0,8H180V64a4,4,0,0,1-8,0V44H152A4,4,0,0,1,148,40Zm96,48a4,4,0,0,1-4,4H228v12a4,4,0,0,1-8,0V92H208a4,4,0,0,1,0-8h12V72a4,4,0,0,1,8,0V84h12A4,4,0,0,1,244,88Z"}))]]);var aM=z4.forwardRef((e,t)=>z4.createElement(Yr,{ref:t,...e,weights:N4}));aM.displayName="SparkleIcon";var w0=aM;var br=k(F(),1),DG=new Map([["bold",br.createElement(br.Fragment,null,br.createElement("path",{d:"M100,36H56A20,20,0,0,0,36,56v44a20,20,0,0,0,20,20h44a20,20,0,0,0,20-20V56A20,20,0,0,0,100,36ZM96,96H60V60H96ZM200,36H156a20,20,0,0,0-20,20v44a20,20,0,0,0,20,20h44a20,20,0,0,0,20-20V56A20,20,0,0,0,200,36Zm-4,60H160V60h36Zm-96,40H56a20,20,0,0,0-20,20v44a20,20,0,0,0,20,20h44a20,20,0,0,0,20-20V156A20,20,0,0,0,100,136Zm-4,60H60V160H96Zm104-60H156a20,20,0,0,0-20,20v44a20,20,0,0,0,20,20h44a20,20,0,0,0,20-20V156A20,20,0,0,0,200,136Zm-4,60H160V160h36Z"}))],["duotone",br.createElement(br.Fragment,null,br.createElement("path",{d:"M112,56v48a8,8,0,0,1-8,8H56a8,8,0,0,1-8-8V56a8,8,0,0,1,8-8h48A8,8,0,0,1,112,56Zm88-8H152a8,8,0,0,0-8,8v48a8,8,0,0,0,8,8h48a8,8,0,0,0,8-8V56A8,8,0,0,0,200,48Zm-96,96H56a8,8,0,0,0-8,8v48a8,8,0,0,0,8,8h48a8,8,0,0,0,8-8V152A8,8,0,0,0,104,144Zm96,0H152a8,8,0,0,0-8,8v48a8,8,0,0,0,8,8h48a8,8,0,0,0,8-8V152A8,8,0,0,0,200,144Z",opacity:"0.2"}),br.createElement("path",{d:"M200,136H152a16,16,0,0,0-16,16v48a16,16,0,0,0,16,16h48a16,16,0,0,0,16-16V152A16,16,0,0,0,200,136Zm0,64H152V152h48v48ZM104,40H56A16,16,0,0,0,40,56v48a16,16,0,0,0,16,16h48a16,16,0,0,0,16-16V56A16,16,0,0,0,104,40Zm0,64H56V56h48v48Zm96-64H152a16,16,0,0,0-16,16v48a16,16,0,0,0,16,16h48a16,16,0,0,0,16-16V56A16,16,0,0,0,200,40Zm0,64H152V56h48v48Zm-96,32H56a16,16,0,0,0-16,16v48a16,16,0,0,0,16,16h48a16,16,0,0,0,16-16V152A16,16,0,0,0,104,136Zm0,64H56V152h48v48Z"}))],["fill",br.createElement(br.Fragment,null,br.createElement("path",{d:"M120,56v48a16,16,0,0,1-16,16H56a16,16,0,0,1-16-16V56A16,16,0,0,1,56,40h48A16,16,0,0,1,120,56Zm80-16H152a16,16,0,0,0-16,16v48a16,16,0,0,0,16,16h48a16,16,0,0,0,16-16V56A16,16,0,0,0,200,40Zm-96,96H56a16,16,0,0,0-16,16v48a16,16,0,0,0,16,16h48a16,16,0,0,0,16-16V152A16,16,0,0,0,104,136Zm96,0H152a16,16,0,0,0-16,16v48a16,16,0,0,0,16,16h48a16,16,0,0,0,16-16V152A16,16,0,0,0,200,136Z"}))],["light",br.createElement(br.Fragment,null,br.createElement("path",{d:"M104,42H56A14,14,0,0,0,42,56v48a14,14,0,0,0,14,14h48a14,14,0,0,0,14-14V56A14,14,0,0,0,104,42Zm2,62a2,2,0,0,1-2,2H56a2,2,0,0,1-2-2V56a2,2,0,0,1,2-2h48a2,2,0,0,1,2,2Zm94-62H152a14,14,0,0,0-14,14v48a14,14,0,0,0,14,14h48a14,14,0,0,0,14-14V56A14,14,0,0,0,200,42Zm2,62a2,2,0,0,1-2,2H152a2,2,0,0,1-2-2V56a2,2,0,0,1,2-2h48a2,2,0,0,1,2,2Zm-98,34H56a14,14,0,0,0-14,14v48a14,14,0,0,0,14,14h48a14,14,0,0,0,14-14V152A14,14,0,0,0,104,138Zm2,62a2,2,0,0,1-2,2H56a2,2,0,0,1-2-2V152a2,2,0,0,1,2-2h48a2,2,0,0,1,2,2Zm94-62H152a14,14,0,0,0-14,14v48a14,14,0,0,0,14,14h48a14,14,0,0,0,14-14V152A14,14,0,0,0,200,138Zm2,62a2,2,0,0,1-2,2H152a2,2,0,0,1-2-2V152a2,2,0,0,1,2-2h48a2,2,0,0,1,2,2Z"}))],["regular",br.createElement(br.Fragment,null,br.createElement("path",{d:"M104,40H56A16,16,0,0,0,40,56v48a16,16,0,0,0,16,16h48a16,16,0,0,0,16-16V56A16,16,0,0,0,104,40Zm0,64H56V56h48v48Zm96-64H152a16,16,0,0,0-16,16v48a16,16,0,0,0,16,16h48a16,16,0,0,0,16-16V56A16,16,0,0,0,200,40Zm0,64H152V56h48v48Zm-96,32H56a16,16,0,0,0-16,16v48a16,16,0,0,0,16,16h48a16,16,0,0,0,16-16V152A16,16,0,0,0,104,136Zm0,64H56V152h48v48Zm96-64H152a16,16,0,0,0-16,16v48a16,16,0,0,0,16,16h48a16,16,0,0,0,16-16V152A16,16,0,0,0,200,136Zm0,64H152V152h48v48Z"}))],["thin",br.createElement(br.Fragment,null,br.createElement("path",{d:"M104,44H56A12,12,0,0,0,44,56v48a12,12,0,0,0,12,12h48a12,12,0,0,0,12-12V56A12,12,0,0,0,104,44Zm4,60a4,4,0,0,1-4,4H56a4,4,0,0,1-4-4V56a4,4,0,0,1,4-4h48a4,4,0,0,1,4,4Zm92-60H152a12,12,0,0,0-12,12v48a12,12,0,0,0,12,12h48a12,12,0,0,0,12-12V56A12,12,0,0,0,200,44Zm4,60a4,4,0,0,1-4,4H152a4,4,0,0,1-4-4V56a4,4,0,0,1,4-4h48a4,4,0,0,1,4,4ZM104,140H56a12,12,0,0,0-12,12v48a12,12,0,0,0,12,12h48a12,12,0,0,0,12-12V152A12,12,0,0,0,104,140Zm4,60a4,4,0,0,1-4,4H56a4,4,0,0,1-4-4V152a4,4,0,0,1,4-4h48a4,4,0,0,1,4,4Zm92-60H152a12,12,0,0,0-12,12v48a12,12,0,0,0,12,12h48a12,12,0,0,0,12-12V152A12,12,0,0,0,200,140Zm4,60a4,4,0,0,1-4,4H152a4,4,0,0,1-4-4V152a4,4,0,0,1,4-4h48a4,4,0,0,1,4,4Z"}))]]);var yr=k(F(),1),RG=new Map([["bold",yr.createElement(yr.Fragment,null,yr.createElement("path",{d:"M236,96a12,12,0,0,0-.44-3.3L221.2,42.51A20.08,20.08,0,0,0,202,28H54A20.08,20.08,0,0,0,34.8,42.51L20.46,92.7A12,12,0,0,0,20,96h0v16a43.94,43.94,0,0,0,16,33.92V216a12,12,0,0,0,12,12H208a12,12,0,0,0,12-12V145.92A43.94,43.94,0,0,0,236,112V96ZM57.05,52H199l9.14,32H47.91Zm91,56v4a20,20,0,0,1-40,0v-4ZM53,128.71A20,20,0,0,1,44,112v-4H84v4a20,20,0,0,1-20,20,19.76,19.76,0,0,1-9.07-2.2A11.54,11.54,0,0,0,53,128.71ZM196,204H60V155.81c1.32.12,2.65.19,4,.19a43.86,43.86,0,0,0,32-13.85,43.89,43.89,0,0,0,64,0A43.86,43.86,0,0,0,192,156c1.35,0,2.68-.07,4-.19Zm16-92a20,20,0,0,1-9,16.71,11.66,11.66,0,0,0-1.88,1.09A20,20,0,0,1,172,112v-4h40Z"}))],["duotone",yr.createElement(yr.Fragment,null,yr.createElement("path",{d:"M224,96v16a32,32,0,0,1-64,0V96H96v16a32,32,0,0,1-64,0V96L46.34,45.8A8,8,0,0,1,54,40H202a8,8,0,0,1,7.69,5.8Z",opacity:"0.2"}),yr.createElement("path",{d:"M231.69,93.81,217.35,43.6A16.07,16.07,0,0,0,202,32H54A16.07,16.07,0,0,0,38.65,43.6L24.31,93.81A7.94,7.94,0,0,0,24,96v16a40,40,0,0,0,16,32v72a8,8,0,0,0,8,8H208a8,8,0,0,0,8-8V144a40,40,0,0,0,16-32V96A7.94,7.94,0,0,0,231.69,93.81ZM54,48H202l11.42,40H42.61Zm98,56v8a24,24,0,0,1-48,0v-8ZM51.06,132.2A24,24,0,0,1,40,112v-8H88v8a24,24,0,0,1-35.12,21.26A7.88,7.88,0,0,0,51.06,132.2ZM200,208H56V151.2a40.57,40.57,0,0,0,8,.8,40,40,0,0,0,32-16,40,40,0,0,0,64,0,40,40,0,0,0,32,16,40.57,40.57,0,0,0,8-.8Zm16-96a24,24,0,0,1-11.07,20.2,8.08,8.08,0,0,0-1.8,1.05A24,24,0,0,1,168,112v-8h48Z"}))],["fill",yr.createElement(yr.Fragment,null,yr.createElement("path",{d:"M231.69,93.81,217.35,43.6A16.07,16.07,0,0,0,202,32H54A16.07,16.07,0,0,0,38.65,43.6L24.31,93.81A7.94,7.94,0,0,0,24,96v16a40,40,0,0,0,16,32v72a8,8,0,0,0,8,8H208a8,8,0,0,0,8-8V144a40,40,0,0,0,16-32V96A7.94,7.94,0,0,0,231.69,93.81ZM88,112a24,24,0,0,1-35.12,21.26,7.88,7.88,0,0,0-1.82-1.06A24,24,0,0,1,40,112v-8H88Zm64,0a24,24,0,0,1-48,0v-8h48Zm64,0a24,24,0,0,1-11.07,20.2,8.08,8.08,0,0,0-1.8,1.05A24,24,0,0,1,168,112v-8h48Z"}))],["light",yr.createElement(yr.Fragment,null,yr.createElement("path",{d:"M26.22,94.41A6,6,0,0,0,26,96v16A38,38,0,0,0,42,143V216a6,6,0,0,0,6,6H208a6,6,0,0,0,6-6V143A38,38,0,0,0,230,112V96a5.91,5.91,0,0,0-.23-1.64L215.43,44.15A14.07,14.07,0,0,0,202,34H54A14.07,14.07,0,0,0,40.57,44.15Zm25.89-47A2,2,0,0,1,54,46H202a2,2,0,0,1,1.92,1.45L216.05,90H40ZM102,102h52v10a26,26,0,0,1-52,0Zm-64,0H90v10a26,26,0,0,1-38.18,23,6,6,0,0,0-1.65-1A26,26,0,0,1,38,112ZM202,210H54V148.66a38,38,0,0,0,42-16.21,37.95,37.95,0,0,0,64,0,38,38,0,0,0,42,16.21Zm3.83-76a6,6,0,0,0-1.65,1A26,26,0,0,1,166,112V102h52v10A26,26,0,0,1,205.83,134Z"}))],["regular",yr.createElement(yr.Fragment,null,yr.createElement("path",{d:"M232,96a7.89,7.89,0,0,0-.3-2.2L217.35,43.6A16.07,16.07,0,0,0,202,32H54A16.07,16.07,0,0,0,38.65,43.6L24.31,93.8A7.89,7.89,0,0,0,24,96h0v16a40,40,0,0,0,16,32v72a8,8,0,0,0,8,8H208a8,8,0,0,0,8-8V144a40,40,0,0,0,16-32V96ZM54,48H202l11.42,40H42.61Zm50,56h48v8a24,24,0,0,1-48,0Zm-16,0v8a24,24,0,0,1-35.12,21.26,7.88,7.88,0,0,0-1.82-1.06A24,24,0,0,1,40,112v-8ZM200,208H56V151.2a40.57,40.57,0,0,0,8,.8,40,40,0,0,0,32-16,40,40,0,0,0,64,0,40,40,0,0,0,32,16,40.57,40.57,0,0,0,8-.8Zm4.93-75.8a8.08,8.08,0,0,0-1.8,1.05A24,24,0,0,1,168,112v-8h48v8A24,24,0,0,1,204.93,132.2Z"}))],["thin",yr.createElement(yr.Fragment,null,yr.createElement("path",{d:"M28.15,95A3.81,3.81,0,0,0,28,96v16a36,36,0,0,0,16,29.92V216a4,4,0,0,0,4,4H208a4,4,0,0,0,4-4V141.92A36,36,0,0,0,228,112V96a3.81,3.81,0,0,0-.17-1.08L213.5,44.7A12,12,0,0,0,202,36H54A12,12,0,0,0,42.5,44.7Zm22-48.08A4,4,0,0,1,54,44H202a4,4,0,0,1,3.84,2.9L218.7,92H37.3ZM100,100h56v12a28,28,0,0,1-56,0ZM36,112V100H92v12a28,28,0,0,1-41.37,24.59,4,4,0,0,0-1.31-.76A28,28,0,0,1,36,112ZM204,212H52V145.94a36,36,0,0,0,44-17.48,36,36,0,0,0,64,0,36,36,0,0,0,44,17.48Zm2.68-76.17a3.94,3.94,0,0,0-1.3.76A28,28,0,0,1,164,112V100h56v12A28,28,0,0,1,206.68,135.83Z"}))]]);var U4=k(F(),1);var Sr=k(F(),1),W4=new Map([["bold",Sr.createElement(Sr.Fragment,null,Sr.createElement("path",{d:"M229.26,90.4a108,108,0,0,1-177.63,114A108,108,0,0,1,195.41,43.63l20.1-20.11a12,12,0,0,1,17,17l-96,96a12,12,0,1,1-17-17l24-24a36,36,0,1,0,19.76,39.65,12,12,0,0,1,23.53,4.74,60,60,0,1,1-25.73-62L178.3,60.74a84,84,0,1,0,28.46,38,12,12,0,1,1,22.5-8.35Z"}))],["duotone",Sr.createElement(Sr.Fragment,null,Sr.createElement("path",{d:"M176,128a48,48,0,1,1-48-48A48,48,0,0,1,176,128Z",opacity:"0.2"}),Sr.createElement("path",{d:"M221.87,83.16A104.1,104.1,0,1,1,195.67,49l22.67-22.68a8,8,0,0,1,11.32,11.32l-96,96a8,8,0,0,1-11.32-11.32l27.72-27.72a40,40,0,1,0,17.87,31.09,8,8,0,1,1,16-.9,56,56,0,1,1-22.38-41.65L184.3,60.39a87.88,87.88,0,1,0,23.13,29.67,8,8,0,0,1,14.44-6.9Z"}))],["fill",Sr.createElement(Sr.Fragment,null,Sr.createElement("path",{d:"M221.87,83.16A104.1,104.1,0,1,1,195.67,49l22.67-22.68a8,8,0,0,1,11.32,11.32L167.6,99.71h0l-37.71,37.71-23.95,23.95a40,40,0,0,0,62-35.67,8,8,0,1,1,16-.9,56,56,0,0,1-95.5,42.79h0a56,56,0,0,1,73.13-84.43L184.3,60.39a87.88,87.88,0,1,0,23.13,29.67,8,8,0,0,1,14.44-6.9Z"}))],["light",Sr.createElement(Sr.Fragment,null,Sr.createElement("path",{d:"M220.06,84a102.06,102.06,0,1,1-24.31-32.27l24-24a6,6,0,0,1,8.48,8.49l-96,96a6,6,0,1,1-8.48-8.49l29.39-29.4a42,42,0,1,0,16.78,31.24,6,6,0,1,1,12-.68A54,54,0,1,1,161.7,85.83l25.54-25.55a89.91,89.91,0,1,0,22,28.93A6,6,0,1,1,220.06,84Z"}))],["regular",Sr.createElement(Sr.Fragment,null,Sr.createElement("path",{d:"M221.87,83.16A104.1,104.1,0,1,1,195.67,49l22.67-22.68a8,8,0,0,1,11.32,11.32l-96,96a8,8,0,0,1-11.32-11.32l27.72-27.72a40,40,0,1,0,17.87,31.09,8,8,0,1,1,16-.9,56,56,0,1,1-22.38-41.65L184.3,60.39a87.88,87.88,0,1,0,23.13,29.67,8,8,0,0,1,14.44-6.9Z"}))],["thin",Sr.createElement(Sr.Fragment,null,Sr.createElement("path",{d:"M218.26,84.89a100.16,100.16,0,1,1-22.44-30.37l25.35-25.35a4,4,0,1,1,5.66,5.66l-96,96a4,4,0,0,1-5.66-5.66l31-31a44,44,0,1,0,15.78,31.3,4,4,0,0,1,8-.46,52,52,0,1,1-18.1-36.51l28.34-28.33A92,92,0,0,0,63,193.05,92,92,0,0,0,211,88.33a4,4,0,1,1,7.22-3.44Z"}))]]);var sM=U4.forwardRef((e,t)=>U4.createElement(Yr,{ref:t,...e,weights:W4}));sM.displayName="TargetIcon";var Z4=sM;var G4=k(F(),1);var xr=k(F(),1),j4=new Map([["bold",xr.createElement(xr.Fragment,null,xr.createElement("path",{d:"M244,56v64a12,12,0,0,1-24,0V85l-75.51,75.52a12,12,0,0,1-17,0L96,129,32.49,192.49a12,12,0,0,1-17-17l72-72a12,12,0,0,1,17,0L136,135l67-67H168a12,12,0,0,1,0-24h64A12,12,0,0,1,244,56Z"}))],["duotone",xr.createElement(xr.Fragment,null,xr.createElement("path",{d:"M232,56v64L168,56Z",opacity:"0.2"}),xr.createElement("path",{d:"M232,48H168a8,8,0,0,0-5.66,13.66L188.69,88,136,140.69l-34.34-34.35a8,8,0,0,0-11.32,0l-72,72a8,8,0,0,0,11.32,11.32L96,123.31l34.34,34.35a8,8,0,0,0,11.32,0L200,99.31l26.34,26.35A8,8,0,0,0,240,120V56A8,8,0,0,0,232,48Zm-8,52.69L187.31,64H224Z"}))],["fill",xr.createElement(xr.Fragment,null,xr.createElement("path",{d:"M240,56v64a8,8,0,0,1-13.66,5.66L200,99.31l-58.34,58.35a8,8,0,0,1-11.32,0L96,123.31,29.66,189.66a8,8,0,0,1-11.32-11.32l72-72a8,8,0,0,1,11.32,0L136,140.69,188.69,88,162.34,61.66A8,8,0,0,1,168,48h64A8,8,0,0,1,240,56Z"}))],["light",xr.createElement(xr.Fragment,null,xr.createElement("path",{d:"M238,56v64a6,6,0,0,1-12,0V70.48l-85.76,85.76a6,6,0,0,1-8.48,0L96,120.49,28.24,188.24a6,6,0,0,1-8.48-8.48l72-72a6,6,0,0,1,8.48,0L136,143.51,217.52,62H168a6,6,0,0,1,0-12h64A6,6,0,0,1,238,56Z"}))],["regular",xr.createElement(xr.Fragment,null,xr.createElement("path",{d:"M240,56v64a8,8,0,0,1-16,0V75.31l-82.34,82.35a8,8,0,0,1-11.32,0L96,123.31,29.66,189.66a8,8,0,0,1-11.32-11.32l72-72a8,8,0,0,1,11.32,0L136,140.69,212.69,64H168a8,8,0,0,1,0-16h64A8,8,0,0,1,240,56Z"}))],["thin",xr.createElement(xr.Fragment,null,xr.createElement("path",{d:"M236,56v64a4,4,0,0,1-8,0V65.66l-89.17,89.17a4,4,0,0,1-5.66,0L96,117.66,26.83,186.83a4,4,0,0,1-5.66-5.66l72-72a4,4,0,0,1,5.66,0L136,146.34,222.34,60H168a4,4,0,0,1,0-8h64A4,4,0,0,1,236,56Z"}))]]);var iM=G4.forwardRef((e,t)=>G4.createElement(Yr,{ref:t,...e,weights:j4}));iM.displayName="TrendUpIcon";var lM=iM;var Ir=k(F(),1),_G=new Map([["bold",Ir.createElement(Ir.Fragment,null,Ir.createElement("path",{d:"M240.26,186.1,152.81,34.23h0a28.74,28.74,0,0,0-49.62,0L15.74,186.1a27.45,27.45,0,0,0,0,27.71A28.31,28.31,0,0,0,40.55,228h174.9a28.31,28.31,0,0,0,24.79-14.19A27.45,27.45,0,0,0,240.26,186.1Zm-20.8,15.7a4.46,4.46,0,0,1-4,2.2H40.55a4.46,4.46,0,0,1-4-2.2,3.56,3.56,0,0,1,0-3.73L124,46.2a4.75,4.75,0,0,1,8,0l87.45,151.87A3.56,3.56,0,0,1,219.46,201.8Z"}))],["duotone",Ir.createElement(Ir.Fragment,null,Ir.createElement("path",{d:"M215.46,216H40.54C27.92,216,20,202.79,26.13,192.09L113.59,40.22c6.3-11,22.52-11,28.82,0l87.46,151.87C236,202.79,228.08,216,215.46,216Z",opacity:"0.2"}),Ir.createElement("path",{d:"M236.8,188.09,149.35,36.22a24.76,24.76,0,0,0-42.7,0L19.2,188.09a23.51,23.51,0,0,0,0,23.72A24.34,24.34,0,0,0,40.55,224h174.9a24.34,24.34,0,0,0,21.33-12.19A23.51,23.51,0,0,0,236.8,188.09ZM222.93,203.8a8.5,8.5,0,0,1-7.48,4.2H40.55a8.5,8.5,0,0,1-7.48-4.2,7.59,7.59,0,0,1,0-7.72L120.52,44.21a8.75,8.75,0,0,1,15,0l87.45,151.87A7.59,7.59,0,0,1,222.93,203.8Z"}))],["fill",Ir.createElement(Ir.Fragment,null,Ir.createElement("path",{d:"M236.78,211.81A24.34,24.34,0,0,1,215.45,224H40.55a24.34,24.34,0,0,1-21.33-12.19,23.51,23.51,0,0,1,0-23.72L106.65,36.22a24.76,24.76,0,0,1,42.7,0L236.8,188.09A23.51,23.51,0,0,1,236.78,211.81Z"}))],["light",Ir.createElement(Ir.Fragment,null,Ir.createElement("path",{d:"M235.07,189.09,147.61,37.22a22.75,22.75,0,0,0-39.22,0L20.93,189.09a21.53,21.53,0,0,0,0,21.72A22.35,22.35,0,0,0,40.55,222h174.9a22.35,22.35,0,0,0,19.6-11.19A21.53,21.53,0,0,0,235.07,189.09ZM224.66,204.8a10.46,10.46,0,0,1-9.21,5.2H40.55a10.46,10.46,0,0,1-9.21-5.2,9.49,9.49,0,0,1,0-9.72L118.79,43.21a10.75,10.75,0,0,1,18.42,0l87.46,151.87A9.49,9.49,0,0,1,224.66,204.8Z"}))],["regular",Ir.createElement(Ir.Fragment,null,Ir.createElement("path",{d:"M236.8,188.09,149.35,36.22a24.76,24.76,0,0,0-42.7,0L19.2,188.09a23.51,23.51,0,0,0,0,23.72A24.34,24.34,0,0,0,40.55,224h174.9a24.34,24.34,0,0,0,21.33-12.19A23.51,23.51,0,0,0,236.8,188.09ZM222.93,203.8a8.5,8.5,0,0,1-7.48,4.2H40.55a8.5,8.5,0,0,1-7.48-4.2,7.59,7.59,0,0,1,0-7.72L120.52,44.21a8.75,8.75,0,0,1,15,0l87.45,151.87A7.59,7.59,0,0,1,222.93,203.8Z"}))],["thin",Ir.createElement(Ir.Fragment,null,Ir.createElement("path",{d:"M233.34,190.09,145.88,38.22a20.75,20.75,0,0,0-35.76,0L22.66,190.09a19.52,19.52,0,0,0,0,19.71A20.36,20.36,0,0,0,40.54,220H215.46a20.36,20.36,0,0,0,17.86-10.2A19.52,19.52,0,0,0,233.34,190.09ZM226.4,205.8a12.47,12.47,0,0,1-10.94,6.2H40.54a12.47,12.47,0,0,1-10.94-6.2,11.45,11.45,0,0,1,0-11.72L117.05,42.21a12.76,12.76,0,0,1,21.9,0L226.4,194.08A11.45,11.45,0,0,1,226.4,205.8Z"}))]]);var vr=k(F(),1),FG=new Map([["bold",vr.createElement(vr.Fragment,null,vr.createElement("path",{d:"M128,20A108,108,0,1,0,236,128,108.12,108.12,0,0,0,128,20ZM79.57,196.57a60,60,0,0,1,96.86,0,83.72,83.72,0,0,1-96.86,0ZM100,120a28,28,0,1,1,28,28A28,28,0,0,1,100,120ZM194,179.94a83.48,83.48,0,0,0-29-23.42,52,52,0,1,0-74,0,83.48,83.48,0,0,0-29,23.42,84,84,0,1,1,131.9,0Z"}))],["duotone",vr.createElement(vr.Fragment,null,vr.createElement("path",{d:"M224,128a95.76,95.76,0,0,1-31.8,71.37A72,72,0,0,0,128,160a40,40,0,1,0-40-40,40,40,0,0,0,40,40,72,72,0,0,0-64.2,39.37h0A96,96,0,1,1,224,128Z",opacity:"0.2"}),vr.createElement("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24ZM74.08,197.5a64,64,0,0,1,107.84,0,87.83,87.83,0,0,1-107.84,0ZM96,120a32,32,0,1,1,32,32A32,32,0,0,1,96,120Zm97.76,66.41a79.66,79.66,0,0,0-36.06-28.75,48,48,0,1,0-59.4,0,79.66,79.66,0,0,0-36.06,28.75,88,88,0,1,1,131.52,0Z"}))],["fill",vr.createElement(vr.Fragment,null,vr.createElement("path",{d:"M172,120a44,44,0,1,1-44-44A44.05,44.05,0,0,1,172,120Zm60,8A104,104,0,1,1,128,24,104.11,104.11,0,0,1,232,128Zm-16,0a88.09,88.09,0,0,0-91.47-87.93C77.43,41.89,39.87,81.12,40,128.25a87.65,87.65,0,0,0,22.24,58.16A79.71,79.71,0,0,1,84,165.1a4,4,0,0,1,4.83.32,59.83,59.83,0,0,0,78.28,0,4,4,0,0,1,4.83-.32,79.71,79.71,0,0,1,21.79,21.31A87.62,87.62,0,0,0,216,128Z"}))],["light",vr.createElement(vr.Fragment,null,vr.createElement("path",{d:"M128,26A102,102,0,1,0,230,128,102.12,102.12,0,0,0,128,26ZM71.44,198a66,66,0,0,1,113.12,0,89.8,89.8,0,0,1-113.12,0ZM94,120a34,34,0,1,1,34,34A34,34,0,0,1,94,120Zm99.51,69.64a77.53,77.53,0,0,0-40-31.38,46,46,0,1,0-51,0,77.53,77.53,0,0,0-40,31.38,90,90,0,1,1,131,0Z"}))],["regular",vr.createElement(vr.Fragment,null,vr.createElement("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24ZM74.08,197.5a64,64,0,0,1,107.84,0,87.83,87.83,0,0,1-107.84,0ZM96,120a32,32,0,1,1,32,32A32,32,0,0,1,96,120Zm97.76,66.41a79.66,79.66,0,0,0-36.06-28.75,48,48,0,1,0-59.4,0,79.66,79.66,0,0,0-36.06,28.75,88,88,0,1,1,131.52,0Z"}))],["thin",vr.createElement(vr.Fragment,null,vr.createElement("path",{d:"M128,28A100,100,0,1,0,228,128,100.11,100.11,0,0,0,128,28ZM68.87,198.42a68,68,0,0,1,118.26,0,91.8,91.8,0,0,1-118.26,0Zm124.3-5.55a75.61,75.61,0,0,0-44.51-34,44,44,0,1,0-41.32,0,75.61,75.61,0,0,0-44.51,34,92,92,0,1,1,130.34,0ZM128,156a36,36,0,1,1,36-36A36,36,0,0,1,128,156Z"}))]]);var q4=k(F(),1);var Cr=k(F(),1),$4=new Map([["bold",Cr.createElement(Cr.Fragment,null,Cr.createElement("path",{d:"M125.18,156.94a64,64,0,1,0-82.36,0,100.23,100.23,0,0,0-39.49,32,12,12,0,0,0,19.35,14.2,76,76,0,0,1,122.64,0,12,12,0,0,0,19.36-14.2A100.33,100.33,0,0,0,125.18,156.94ZM44,108a40,40,0,1,1,40,40A40,40,0,0,1,44,108Zm206.1,97.67a12,12,0,0,1-16.78-2.57A76.31,76.31,0,0,0,172,172a12,12,0,0,1,0-24,40,40,0,1,0-10.3-78.67,12,12,0,1,1-6.16-23.19,64,64,0,0,1,57.64,110.8,100.23,100.23,0,0,1,39.49,32A12,12,0,0,1,250.1,205.67Z"}))],["duotone",Cr.createElement(Cr.Fragment,null,Cr.createElement("path",{d:"M136,108A52,52,0,1,1,84,56,52,52,0,0,1,136,108Z",opacity:"0.2"}),Cr.createElement("path",{d:"M117.25,157.92a60,60,0,1,0-66.5,0A95.83,95.83,0,0,0,3.53,195.63a8,8,0,1,0,13.4,8.74,80,80,0,0,1,134.14,0,8,8,0,0,0,13.4-8.74A95.83,95.83,0,0,0,117.25,157.92ZM40,108a44,44,0,1,1,44,44A44.05,44.05,0,0,1,40,108Zm210.14,98.7a8,8,0,0,1-11.07-2.33A79.83,79.83,0,0,0,172,168a8,8,0,0,1,0-16,44,44,0,1,0-16.34-84.87,8,8,0,1,1-5.94-14.85,60,60,0,0,1,55.53,105.64,95.83,95.83,0,0,1,47.22,37.71A8,8,0,0,1,250.14,206.7Z"}))],["fill",Cr.createElement(Cr.Fragment,null,Cr.createElement("path",{d:"M164.47,195.63a8,8,0,0,1-6.7,12.37H10.23a8,8,0,0,1-6.7-12.37,95.83,95.83,0,0,1,47.22-37.71,60,60,0,1,1,66.5,0A95.83,95.83,0,0,1,164.47,195.63Zm87.91-.15a95.87,95.87,0,0,0-47.13-37.56A60,60,0,0,0,144.7,54.59a4,4,0,0,0-1.33,6A75.83,75.83,0,0,1,147,150.53a4,4,0,0,0,1.07,5.53,112.32,112.32,0,0,1,29.85,30.83,23.92,23.92,0,0,1,3.65,16.47,4,4,0,0,0,3.95,4.64h60.3a8,8,0,0,0,7.73-5.93A8.22,8.22,0,0,0,252.38,195.48Z"}))],["light",Cr.createElement(Cr.Fragment,null,Cr.createElement("path",{d:"M112.6,158.43a58,58,0,1,0-57.2,0A93.83,93.83,0,0,0,5.21,196.72a6,6,0,0,0,10.05,6.56,82,82,0,0,1,137.48,0,6,6,0,0,0,10-6.56A93.83,93.83,0,0,0,112.6,158.43ZM38,108a46,46,0,1,1,46,46A46.06,46.06,0,0,1,38,108Zm211,97a6,6,0,0,1-8.3-1.74A81.8,81.8,0,0,0,172,166a6,6,0,0,1,0-12,46,46,0,1,0-17.08-88.73,6,6,0,1,1-4.46-11.14,58,58,0,0,1,50.14,104.3,93.83,93.83,0,0,1,50.19,38.29A6,6,0,0,1,249,205Z"}))],["regular",Cr.createElement(Cr.Fragment,null,Cr.createElement("path",{d:"M117.25,157.92a60,60,0,1,0-66.5,0A95.83,95.83,0,0,0,3.53,195.63a8,8,0,1,0,13.4,8.74,80,80,0,0,1,134.14,0,8,8,0,0,0,13.4-8.74A95.83,95.83,0,0,0,117.25,157.92ZM40,108a44,44,0,1,1,44,44A44.05,44.05,0,0,1,40,108Zm210.14,98.7a8,8,0,0,1-11.07-2.33A79.83,79.83,0,0,0,172,168a8,8,0,0,1,0-16,44,44,0,1,0-16.34-84.87,8,8,0,1,1-5.94-14.85,60,60,0,0,1,55.53,105.64,95.83,95.83,0,0,1,47.22,37.71A8,8,0,0,1,250.14,206.7Z"}))],["thin",Cr.createElement(Cr.Fragment,null,Cr.createElement("path",{d:"M107.19,159a56,56,0,1,0-46.38,0A91.83,91.83,0,0,0,6.88,197.81a4,4,0,1,0,6.7,4.37,84,84,0,0,1,140.84,0,4,4,0,1,0,6.7-4.37A91.83,91.83,0,0,0,107.19,159ZM36,108a48,48,0,1,1,48,48A48.05,48.05,0,0,1,36,108Zm212,95.35a4,4,0,0,1-5.53-1.17A83.81,83.81,0,0,0,172,164a4,4,0,0,1,0-8,48,48,0,1,0-17.82-92.58,4,4,0,1,1-3-7.43,56,56,0,0,1,44,103,91.83,91.83,0,0,1,53.93,38.86A4,4,0,0,1,248,203.35Z"}))]]);var cM=q4.forwardRef((e,t)=>q4.createElement(Yr,{ref:t,...e,weights:$4}));cM.displayName="UsersIcon";var X4=cM;var wr=k(F(),1),HG=new Map([["bold",wr.createElement(wr.Fragment,null,wr.createElement("path",{d:"M24.79,121.59a12,12,0,0,0,16.81-2.38,48,48,0,0,1,76.81,0,12,12,0,0,0,16.8,2.39,12.24,12.24,0,0,0,2.38-2.39h0a48,48,0,0,1,76.81,0,12,12,0,1,0,19.19-14.41,72,72,0,0,0-25.3-21.22,40,40,0,1,0-64.58,0A71,71,0,0,0,128,94.31a71,71,0,0,0-15.71-10.74,40,40,0,1,0-64.58,0,72,72,0,0,0-25.3,21.22A12,12,0,0,0,24.79,121.59ZM176,44a16,16,0,1,1-16,16A16,16,0,0,1,176,44ZM80,44A16,16,0,1,1,64,60,16,16,0,0,1,80,44ZM208.29,195.57a40,40,0,1,0-64.58,0A71.31,71.31,0,0,0,128,206.3a71.31,71.31,0,0,0-15.71-10.73,40,40,0,1,0-64.58,0,72,72,0,0,0-25.3,21.22A12,12,0,0,0,41.6,231.21a48,48,0,0,1,76.81,0,12,12,0,0,0,16.8,2.39,12.24,12.24,0,0,0,2.38-2.39h0a48,48,0,0,1,76.81,0,12,12,0,1,0,19.19-14.41A71.91,71.91,0,0,0,208.29,195.57ZM80,156a16,16,0,1,1-16,16A16,16,0,0,1,80,156Zm96,0a16,16,0,1,1-16,16A16,16,0,0,1,176,156Z"}))],["duotone",wr.createElement(wr.Fragment,null,wr.createElement("path",{d:"M112,168a32,32,0,1,1-32-32A32,32,0,0,1,112,168ZM80,32a32,32,0,1,0,32,32A32,32,0,0,0,80,32Zm96,104a32,32,0,1,0,32,32A32,32,0,0,0,176,136Zm0-40a32,32,0,1,0-32-32A32,32,0,0,0,176,96Z",opacity:"0.2"}),wr.createElement("path",{d:"M27.2,126.4a8,8,0,0,0,11.2-1.6,52,52,0,0,1,83.2,0,8,8,0,0,0,11.2,1.59,7.73,7.73,0,0,0,1.59-1.59h0a52,52,0,0,1,83.2,0,8,8,0,0,0,12.8-9.61A67.85,67.85,0,0,0,203,93.51a40,40,0,1,0-53.94,0,67.27,67.27,0,0,0-21,14.31,67.27,67.27,0,0,0-21-14.31,40,40,0,1,0-53.94,0A67.88,67.88,0,0,0,25.6,115.2,8,8,0,0,0,27.2,126.4ZM176,40a24,24,0,1,1-24,24A24,24,0,0,1,176,40ZM80,40A24,24,0,1,1,56,64,24,24,0,0,1,80,40ZM203,197.51a40,40,0,1,0-53.94,0,67.27,67.27,0,0,0-21,14.31,67.27,67.27,0,0,0-21-14.31,40,40,0,1,0-53.94,0A67.88,67.88,0,0,0,25.6,219.2a8,8,0,1,0,12.8,9.6,52,52,0,0,1,83.2,0,8,8,0,0,0,11.2,1.59,7.73,7.73,0,0,0,1.59-1.59h0a52,52,0,0,1,83.2,0,8,8,0,0,0,12.8-9.61A67.85,67.85,0,0,0,203,197.51ZM80,144a24,24,0,1,1-24,24A24,24,0,0,1,80,144Zm96,0a24,24,0,1,1-24,24A24,24,0,0,1,176,144Z"}))],["fill",wr.createElement(wr.Fragment,null,wr.createElement("path",{d:"M230.4,219.19A8,8,0,0,1,224,232H32a8,8,0,0,1-6.4-12.8A67.88,67.88,0,0,1,53,197.51a40,40,0,1,1,53.93,0,67.42,67.42,0,0,1,21,14.29,67.42,67.42,0,0,1,21-14.29,40,40,0,1,1,53.93,0A67.85,67.85,0,0,1,230.4,219.19ZM27.2,126.4a8,8,0,0,0,11.2-1.6,52,52,0,0,1,83.2,0,8,8,0,0,0,12.8,0,52,52,0,0,1,83.2,0,8,8,0,0,0,12.8-9.61A67.85,67.85,0,0,0,203,93.51a40,40,0,1,0-53.93,0,67.42,67.42,0,0,0-21,14.29,67.42,67.42,0,0,0-21-14.29,40,40,0,1,0-53.93,0A67.88,67.88,0,0,0,25.6,115.2,8,8,0,0,0,27.2,126.4Z"}))],["light",wr.createElement(wr.Fragment,null,wr.createElement("path",{d:"M28.4,124.8a6,6,0,0,0,8.4-1.2,54,54,0,0,1,86.4,0,6,6,0,0,0,8.4,1.19,5.59,5.59,0,0,0,1.19-1.19h0a54,54,0,0,1,86.4,0,6,6,0,0,0,9.6-7.21,65.74,65.74,0,0,0-29.69-22.26,38,38,0,1,0-46.22,0A65.32,65.32,0,0,0,128,110.7a65.32,65.32,0,0,0-24.89-16.57,38,38,0,1,0-46.22,0A65.69,65.69,0,0,0,27.2,116.4,6,6,0,0,0,28.4,124.8ZM176,38a26,26,0,1,1-26,26A26,26,0,0,1,176,38ZM80,38A26,26,0,1,1,54,64,26,26,0,0,1,80,38ZM199.11,198.13a38,38,0,1,0-46.22,0A65.32,65.32,0,0,0,128,214.7a65.32,65.32,0,0,0-24.89-16.57,38,38,0,1,0-46.22,0A65.69,65.69,0,0,0,27.2,220.4a6,6,0,1,0,9.6,7.2,54,54,0,0,1,86.4,0,6,6,0,0,0,8.4,1.19,5.59,5.59,0,0,0,1.19-1.19h0a54,54,0,0,1,86.4,0,6,6,0,0,0,9.6-7.21A65.74,65.74,0,0,0,199.11,198.13ZM80,142a26,26,0,1,1-26,26A26,26,0,0,1,80,142Zm96,0a26,26,0,1,1-26,26A26,26,0,0,1,176,142Z"}))],["regular",wr.createElement(wr.Fragment,null,wr.createElement("path",{d:"M27.2,126.4a8,8,0,0,0,11.2-1.6,52,52,0,0,1,83.2,0,8,8,0,0,0,11.2,1.59,7.73,7.73,0,0,0,1.59-1.59h0a52,52,0,0,1,83.2,0,8,8,0,0,0,12.8-9.61A67.85,67.85,0,0,0,203,93.51a40,40,0,1,0-53.94,0,67.27,67.27,0,0,0-21,14.31,67.27,67.27,0,0,0-21-14.31,40,40,0,1,0-53.94,0A67.88,67.88,0,0,0,25.6,115.2,8,8,0,0,0,27.2,126.4ZM176,40a24,24,0,1,1-24,24A24,24,0,0,1,176,40ZM80,40A24,24,0,1,1,56,64,24,24,0,0,1,80,40ZM203,197.51a40,40,0,1,0-53.94,0,67.27,67.27,0,0,0-21,14.31,67.27,67.27,0,0,0-21-14.31,40,40,0,1,0-53.94,0A67.88,67.88,0,0,0,25.6,219.2a8,8,0,1,0,12.8,9.6,52,52,0,0,1,83.2,0,8,8,0,0,0,11.2,1.59,7.73,7.73,0,0,0,1.59-1.59h0a52,52,0,0,1,83.2,0,8,8,0,0,0,12.8-9.61A67.85,67.85,0,0,0,203,197.51ZM80,144a24,24,0,1,1-24,24A24,24,0,0,1,80,144Zm96,0a24,24,0,1,1-24,24A24,24,0,0,1,176,144Z"}))],["thin",wr.createElement(wr.Fragment,null,wr.createElement("path",{d:"M29.6,123.2a4,4,0,0,0,5.6-.8,56,56,0,0,1,89.6,0,3.93,3.93,0,0,0,6.38,0h0a56,56,0,0,1,89.6,0,4,4,0,1,0,6.4-4.8,63.55,63.55,0,0,0-32.5-22.85,36,36,0,1,0-37.4,0,63.39,63.39,0,0,0-29.3,19,63.34,63.34,0,0,0-29.3-19,36,36,0,1,0-37.4,0A63.61,63.61,0,0,0,28.8,117.6,4,4,0,0,0,29.6,123.2ZM148,64a28,28,0,1,1,28,28A28,28,0,0,1,148,64ZM52,64A28,28,0,1,1,80,92,28,28,0,0,1,52,64ZM194.7,198.75a36,36,0,1,0-37.4,0A63.39,63.39,0,0,0,128,217.7a63.34,63.34,0,0,0-29.3-18.95,36,36,0,1,0-37.4,0A63.61,63.61,0,0,0,28.8,221.6a4,4,0,0,0,6.4,4.8,56,56,0,0,1,89.6,0,3.93,3.93,0,0,0,6.38,0h0a56,56,0,0,1,89.6,0,4,4,0,0,0,6.4-4.8A63.55,63.55,0,0,0,194.7,198.75ZM52,168a28,28,0,1,1,28,28A28,28,0,0,1,52,168Zm96,0a28,28,0,1,1,28,28A28,28,0,0,1,148,168Z"}))]]);var K4=k(F(),1);var Tr=k(F(),1),Y4=new Map([["bold",Tr.createElement(Tr.Fragment,null,Tr.createElement("path",{d:"M128,20A108,108,0,1,0,236,128,108.12,108.12,0,0,0,128,20Zm0,192a84,84,0,1,1,84-84A84.09,84.09,0,0,1,128,212Zm-12-80V80a12,12,0,0,1,24,0v52a12,12,0,0,1-24,0Zm28,40a16,16,0,1,1-16-16A16,16,0,0,1,144,172Z"}))],["duotone",Tr.createElement(Tr.Fragment,null,Tr.createElement("path",{d:"M224,128a96,96,0,1,1-96-96A96,96,0,0,1,224,128Z",opacity:"0.2"}),Tr.createElement("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm0,192a88,88,0,1,1,88-88A88.1,88.1,0,0,1,128,216Zm-8-80V80a8,8,0,0,1,16,0v56a8,8,0,0,1-16,0Zm20,36a12,12,0,1,1-12-12A12,12,0,0,1,140,172Z"}))],["fill",Tr.createElement(Tr.Fragment,null,Tr.createElement("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm-8,56a8,8,0,0,1,16,0v56a8,8,0,0,1-16,0Zm8,104a12,12,0,1,1,12-12A12,12,0,0,1,128,184Z"}))],["light",Tr.createElement(Tr.Fragment,null,Tr.createElement("path",{d:"M128,26A102,102,0,1,0,230,128,102.12,102.12,0,0,0,128,26Zm0,192a90,90,0,1,1,90-90A90.1,90.1,0,0,1,128,218Zm-6-82V80a6,6,0,0,1,12,0v56a6,6,0,0,1-12,0Zm16,36a10,10,0,1,1-10-10A10,10,0,0,1,138,172Z"}))],["regular",Tr.createElement(Tr.Fragment,null,Tr.createElement("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm0,192a88,88,0,1,1,88-88A88.1,88.1,0,0,1,128,216Zm-8-80V80a8,8,0,0,1,16,0v56a8,8,0,0,1-16,0Zm20,36a12,12,0,1,1-12-12A12,12,0,0,1,140,172Z"}))],["thin",Tr.createElement(Tr.Fragment,null,Tr.createElement("path",{d:"M128,28A100,100,0,1,0,228,128,100.11,100.11,0,0,0,128,28Zm0,192a92,92,0,1,1,92-92A92.1,92.1,0,0,1,128,220Zm-4-84V80a4,4,0,0,1,8,0v56a4,4,0,0,1-8,0Zm12,36a8,8,0,1,1-8-8A8,8,0,0,1,136,172Z"}))]]);var uM=K4.forwardRef((e,t)=>K4.createElement(Yr,{ref:t,...e,weights:Y4}));uM.displayName="WarningCircleIcon";var l2=uM;var Ar=k(F(),1),OG=new Map([["bold",Ar.createElement(Ar.Fragment,null,Ar.createElement("path",{d:"M168.49,104.49,145,128l23.52,23.51a12,12,0,0,1-17,17L128,145l-23.51,23.52a12,12,0,0,1-17-17L111,128,87.51,104.49a12,12,0,0,1,17-17L128,111l23.51-23.52a12,12,0,0,1,17,17ZM236,128A108,108,0,1,1,128,20,108.12,108.12,0,0,1,236,128Zm-24,0a84,84,0,1,0-84,84A84.09,84.09,0,0,0,212,128Z"}))],["duotone",Ar.createElement(Ar.Fragment,null,Ar.createElement("path",{d:"M224,128a96,96,0,1,1-96-96A96,96,0,0,1,224,128Z",opacity:"0.2"}),Ar.createElement("path",{d:"M165.66,101.66,139.31,128l26.35,26.34a8,8,0,0,1-11.32,11.32L128,139.31l-26.34,26.35a8,8,0,0,1-11.32-11.32L116.69,128,90.34,101.66a8,8,0,0,1,11.32-11.32L128,116.69l26.34-26.35a8,8,0,0,1,11.32,11.32ZM232,128A104,104,0,1,1,128,24,104.11,104.11,0,0,1,232,128Zm-16,0a88,88,0,1,0-88,88A88.1,88.1,0,0,0,216,128Z"}))],["fill",Ar.createElement(Ar.Fragment,null,Ar.createElement("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm37.66,130.34a8,8,0,0,1-11.32,11.32L128,139.31l-26.34,26.35a8,8,0,0,1-11.32-11.32L116.69,128,90.34,101.66a8,8,0,0,1,11.32-11.32L128,116.69l26.34-26.35a8,8,0,0,1,11.32,11.32L139.31,128Z"}))],["light",Ar.createElement(Ar.Fragment,null,Ar.createElement("path",{d:"M164.24,100.24,136.48,128l27.76,27.76a6,6,0,1,1-8.48,8.48L128,136.48l-27.76,27.76a6,6,0,0,1-8.48-8.48L119.52,128,91.76,100.24a6,6,0,0,1,8.48-8.48L128,119.52l27.76-27.76a6,6,0,0,1,8.48,8.48ZM230,128A102,102,0,1,1,128,26,102.12,102.12,0,0,1,230,128Zm-12,0a90,90,0,1,0-90,90A90.1,90.1,0,0,0,218,128Z"}))],["regular",Ar.createElement(Ar.Fragment,null,Ar.createElement("path",{d:"M165.66,101.66,139.31,128l26.35,26.34a8,8,0,0,1-11.32,11.32L128,139.31l-26.34,26.35a8,8,0,0,1-11.32-11.32L116.69,128,90.34,101.66a8,8,0,0,1,11.32-11.32L128,116.69l26.34-26.35a8,8,0,0,1,11.32,11.32ZM232,128A104,104,0,1,1,128,24,104.11,104.11,0,0,1,232,128Zm-16,0a88,88,0,1,0-88,88A88.1,88.1,0,0,0,216,128Z"}))],["thin",Ar.createElement(Ar.Fragment,null,Ar.createElement("path",{d:"M162.83,98.83,133.66,128l29.17,29.17a4,4,0,0,1-5.66,5.66L128,133.66,98.83,162.83a4,4,0,0,1-5.66-5.66L122.34,128,93.17,98.83a4,4,0,0,1,5.66-5.66L128,122.34l29.17-29.17a4,4,0,1,1,5.66,5.66ZM228,128A100,100,0,1,1,128,28,100.11,100.11,0,0,1,228,128Zm-8,0a92,92,0,1,0-92,92A92.1,92.1,0,0,0,220,128Z"}))]]);var ef=k(F(),1);var VG=k(F(),1),NG=(0,VG.createContext)({color:"currentColor",size:"1em",weight:"regular",mirrored:!1});var be=ef.forwardRef((e,t)=>{let{alt:o,color:r,size:n,weight:a,mirrored:s,children:i,weights:l,...c}=e,{color:u="currentColor",size:m,weight:f="regular",mirrored:d=!1,...p}=ef.useContext(NG);return ef.createElement("svg",{ref:t,xmlns:"http://www.w3.org/2000/svg",width:n??m,height:n??m,fill:r??u,viewBox:"0 0 256 256",transform:s||d?"scale(-1, 1)":void 0,...p,...c},!!o&&ef.createElement("title",null,o),i,l.get(a??f))});be.displayName="IconBase";var Q4=k(F(),1);var mM=Q4.forwardRef((e,t)=>Q4.createElement(be,{ref:t,...e,weights:tG}));mM.displayName="ArrowRightIcon";var jl=mM;var J4=k(F(),1);var fM=J4.forwardRef((e,t)=>J4.createElement(be,{ref:t,...e,weights:oG}));fM.displayName="ArrowSquareOutIcon";var tf=fM;var e8=k(F(),1);var dM=e8.forwardRef((e,t)=>e8.createElement(be,{ref:t,...e,weights:rG}));dM.displayName="ArrowsClockwiseIcon";var pM=dM;var t8=k(F(),1);var hM=t8.forwardRef((e,t)=>t8.createElement(be,{ref:t,...e,weights:nG}));hM.displayName="BookOpenTextIcon";var gM=hM;var o8=k(F(),1);var bM=o8.forwardRef((e,t)=>o8.createElement(be,{ref:t,...e,weights:aG}));bM.displayName="BuildingsIcon";var yM=bM;var r8=k(F(),1);var SM=r8.forwardRef((e,t)=>r8.createElement(be,{ref:t,...e,weights:sG}));SM.displayName="ChartBarIcon";var n8=SM;var a8=k(F(),1);var xM=a8.forwardRef((e,t)=>a8.createElement(be,{ref:t,...e,weights:lG}));xM.displayName="ChatCircleTextIcon";var c2=xM;var s8=k(F(),1);var IM=s8.forwardRef((e,t)=>s8.createElement(be,{ref:t,...e,weights:_4}));IM.displayName="ChatTextIcon";var vM=IM;var i8=k(F(),1);var CM=i8.forwardRef((e,t)=>i8.createElement(be,{ref:t,...e,weights:cG}));CM.displayName="CheckCircleIcon";var oi=CM;var l8=k(F(),1);var wM=l8.forwardRef((e,t)=>l8.createElement(be,{ref:t,...e,weights:uG}));wM.displayName="CircleIcon";var TM=wM;var c8=k(F(),1);var AM=c8.forwardRef((e,t)=>c8.createElement(be,{ref:t,...e,weights:mG}));AM.displayName="CirclesThreeIcon";var kM=AM;var u8=k(F(),1);var MM=u8.forwardRef((e,t)=>u8.createElement(be,{ref:t,...e,weights:fG}));MM.displayName="ClockIcon";var LM=MM;var m8=k(F(),1);var PM=m8.forwardRef((e,t)=>m8.createElement(be,{ref:t,...e,weights:dG}));PM.displayName="CoinsIcon";var EM=PM;var f8=k(F(),1);var BM=f8.forwardRef((e,t)=>f8.createElement(be,{ref:t,...e,weights:H4}));BM.displayName="CurrencyCircleDollarIcon";var DM=BM;var d8=k(F(),1);var RM=d8.forwardRef((e,t)=>d8.createElement(be,{ref:t,...e,weights:pG}));RM.displayName="CursorClickIcon";var _M=RM;var p8=k(F(),1);var FM=p8.forwardRef((e,t)=>p8.createElement(be,{ref:t,...e,weights:hG}));FM.displayName="DatabaseIcon";var u2=FM;var h8=k(F(),1);var HM=h8.forwardRef((e,t)=>h8.createElement(be,{ref:t,...e,weights:gG}));HM.displayName="DownloadSimpleIcon";var OM=HM;var g8=k(F(),1);var VM=g8.forwardRef((e,t)=>g8.createElement(be,{ref:t,...e,weights:bG}));VM.displayName="FlaskIcon";var b8=VM;var y8=k(F(),1);var NM=y8.forwardRef((e,t)=>y8.createElement(be,{ref:t,...e,weights:yG}));NM.displayName="FlowArrowIcon";var m2=NM;var S8=k(F(),1);var zM=S8.forwardRef((e,t)=>S8.createElement(be,{ref:t,...e,weights:SG}));zM.displayName="FunnelIcon";var WM=zM;var x8=k(F(),1);var UM=x8.forwardRef((e,t)=>x8.createElement(be,{ref:t,...e,weights:xG}));UM.displayName="GlobeIcon";var ZM=UM;var I8=k(F(),1);var jM=I8.forwardRef((e,t)=>I8.createElement(be,{ref:t,...e,weights:IG}));jM.displayName="GlobeHemisphereWestIcon";var GM=jM;var v8=k(F(),1);var $M=v8.forwardRef((e,t)=>v8.createElement(be,{ref:t,...e,weights:vG}));$M.displayName="HandCoinsIcon";var qM=$M;var C8=k(F(),1);var XM=C8.forwardRef((e,t)=>C8.createElement(be,{ref:t,...e,weights:CG}));XM.displayName="LightbulbFilamentIcon";var hu=XM;var w8=k(F(),1);var YM=w8.forwardRef((e,t)=>w8.createElement(be,{ref:t,...e,weights:wG}));YM.displayName="LightningIcon";var KM=YM;var T8=k(F(),1);var QM=T8.forwardRef((e,t)=>T8.createElement(be,{ref:t,...e,weights:TG}));QM.displayName="LinkSimpleIcon";var JM=QM;var A8=k(F(),1);var eL=A8.forwardRef((e,t)=>A8.createElement(be,{ref:t,...e,weights:AG}));eL.displayName="ListChecksIcon";var f2=eL;var k8=k(F(),1);var tL=k8.forwardRef((e,t)=>k8.createElement(be,{ref:t,...e,weights:MG}));tL.displayName="NoteIcon";var oL=tL;var M8=k(F(),1);var rL=M8.forwardRef((e,t)=>M8.createElement(be,{ref:t,...e,weights:LG}));rL.displayName="PackageIcon";var nL=rL;var L8=k(F(),1);var aL=L8.forwardRef((e,t)=>L8.createElement(be,{ref:t,...e,weights:PG}));aL.displayName="PathIcon";var Ri=aL;var P8=k(F(),1);var sL=P8.forwardRef((e,t)=>P8.createElement(be,{ref:t,...e,weights:EG}));sL.displayName="PresentationChartIcon";var iL=sL;var E8=k(F(),1);var lL=E8.forwardRef((e,t)=>E8.createElement(be,{ref:t,...e,weights:BG}));lL.displayName="ShieldCheckIcon";var B8=lL;var D8=k(F(),1);var cL=D8.forwardRef((e,t)=>D8.createElement(be,{ref:t,...e,weights:N4}));cL.displayName="SparkleIcon";var $n=cL;var R8=k(F(),1);var uL=R8.forwardRef((e,t)=>R8.createElement(be,{ref:t,...e,weights:DG}));uL.displayName="SquaresFourIcon";var d2=uL;var _8=k(F(),1);var mL=_8.forwardRef((e,t)=>_8.createElement(be,{ref:t,...e,weights:RG}));mL.displayName="StorefrontIcon";var fL=mL;var F8=k(F(),1);var dL=F8.forwardRef((e,t)=>F8.createElement(be,{ref:t,...e,weights:W4}));dL.displayName="TargetIcon";var da=dL;var H8=k(F(),1);var pL=H8.forwardRef((e,t)=>H8.createElement(be,{ref:t,...e,weights:j4}));pL.displayName="TrendUpIcon";var p2=pL;var O8=k(F(),1);var hL=O8.forwardRef((e,t)=>O8.createElement(be,{ref:t,...e,weights:_G}));hL.displayName="TriangleIcon";var h2=hL;var V8=k(F(),1);var gL=V8.forwardRef((e,t)=>V8.createElement(be,{ref:t,...e,weights:FG}));gL.displayName="UserCircleIcon";var of=gL;var N8=k(F(),1);var bL=N8.forwardRef((e,t)=>N8.createElement(be,{ref:t,...e,weights:$4}));bL.displayName="UsersIcon";var yL=bL;var z8=k(F(),1);var SL=z8.forwardRef((e,t)=>z8.createElement(be,{ref:t,...e,weights:HG}));SL.displayName="UsersFourIcon";var xL=SL;var W8=k(F(),1);var IL=W8.forwardRef((e,t)=>W8.createElement(be,{ref:t,...e,weights:Y4}));IL.displayName="WarningCircleIcon";var pa=IL;var U8=k(F(),1);var vL=U8.forwardRef((e,t)=>U8.createElement(be,{ref:t,...e,weights:OG}));vL.displayName="XCircleIcon";var CL=vL;var g2="#26251E",zG="#F7F7F4",wL="#FFFFFC",WG="#E6E5E0",Xde="#D9D5CF",Yde="#66645E",Kde="#FF4E00",UG="#FF8C66",ZG="#DFFF1F",TL="polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 18px 100%, 0 calc(100% - 18px))",b2="polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px))",rf="polygon(0 0, calc(100% - 5px) 0, 100% 5px, 100% 100%, 5px 100%, 0 calc(100% - 5px))",jG="inset 0 -2px 0 rgba(0,0,0,0.34), inset 0 1px 0 rgba(255,255,252,0.12), 0 10px 20px rgba(38,37,30,0.14)",AL="inset 0 -1px 0 rgba(38,37,30,0.10), 0 1px 0 rgba(255,255,252,0.70)",kL={50:"#FFF1EC",100:"#FFDED2",200:"#FFBCA6",300:"#FF8C66",400:"#FF6633",500:Kde,600:"#D63B00",700:"#A82E00",800:"#7A2508",900:"#4A1A0B"};function ML(e){return e==="brand"||e==="teal"||e==="purple"}var GG=Ek({config:{initialColorMode:"light",useSystemColorMode:!1},zIndices:{modal:3e3},fonts:{heading:"var(--font-space-grotesk), ui-sans-serif, system-ui, -apple-system, Segoe UI, sans-serif",body:"var(--font-space-grotesk), ui-sans-serif, system-ui, -apple-system, Segoe UI, sans-serif"},styles:{global:e=>({"html, body":{bg:U("surface.canvas","gray.900")(e),color:U("text.default","gray.100")(e),fontSize:"16px",lineHeight:"1.6"},"*:focus-visible":{outline:"2px solid",outlineColor:U("brand.500","brand.200")(e),outlineOffset:"2px"},"@keyframes launchchairTabFadeIn":{from:{opacity:0,transform:"translateY(2px)"},to:{opacity:1,transform:"translateY(0)"}},".chakra-badge":{borderRadius:"0 !important",clipPath:rf,paddingInline:"0.625rem !important"},".chakra-tag":{borderRadius:"0 !important",clipPath:rf},".chakra-alert":{borderRadius:"0 !important",clipPath:b2},".chakra-progress__filled-track":{background:`${UG} !important`}})},colors:{brand:kL,teal:kL,purple:kL},semanticTokens:{colors:{"surface.base":{default:wL,_dark:"gray.800"},"surface.canvas":{default:zG,_dark:"gray.900"},"surface.muted":{default:zG,_dark:"gray.700"},"surface.border":{default:Xde,_dark:"gray.600"},"text.default":{default:g2,_dark:"gray.100"},"text.muted":{default:Yde,_dark:"gray.300"},"overlay.header":{default:"rgba(247, 247, 244, 0.94)",_dark:"rgba(26, 32, 44, 0.94)"}}},layerStyles:{notchedCard:{bg:"surface.base",borderWidth:"1px",borderColor:"surface.border",borderRadius:0,clipPath:TL},notchedInset:{bg:"surface.muted",borderWidth:"1px",borderColor:"surface.border",borderRadius:0,clipPath:b2}},components:{Card:{baseStyle:e=>({container:{bg:U("surface.base","gray.800")(e),color:"text.default",borderWidth:"1px",borderColor:"surface.border",borderRadius:0,clipPath:TL}}),defaultProps:{variant:"elevated",size:"md"}},Table:{baseStyle:e=>({th:{borderInlineEndWidth:"1px",borderInlineEndColor:U("gray.200","gray.600")(e)},td:{borderInlineEndWidth:"1px",borderInlineEndColor:U("gray.200","gray.600")(e)},"th:last-of-type, td:last-of-type":{borderInlineEndWidth:0},'&[data-interactive="true"] tbody tr:hover td':{bg:U("gray.100","whiteAlpha.100")(e)},'&[data-interactive="true"] tbody tr:focus-visible td':{bg:U("gray.100","whiteAlpha.100")(e)}})},Button:{baseStyle:e=>({fontWeight:"semibold",borderRadius:0,clipPath:b2,transition:"transform 0.16s ease, box-shadow 0.16s ease, background-color 0.16s ease, border-color 0.16s ease",_focusVisible:{boxShadow:`0 0 0 3px ${U("rgba(255, 78, 0, 0.30)","rgba(255, 140, 102, 0.48)")(e)}`},_disabled:{transform:"none"}}),defaultProps:{variant:"surface",colorScheme:"brand"},variants:{surface:e=>{let t=e.colorScheme??"brand",o=ML(t);return{bg:U(o?"surface.base":`${t}.50`,`${t}.900`)(e),color:U(o?"text.default":`${t}.700`,`${t}.100`)(e),borderWidth:"1px",borderColor:U(o?"brand.300":`${t}.200`,`${t}.700`)(e),boxShadow:AL,_hover:{bg:U(o?WG:`${t}.100`,`${t}.800`)(e),borderColor:U(o?"brand.500":`${t}.300`,`${t}.600`)(e),transform:"translateY(-1px)",boxShadow:"inset 0 -1px 0 rgba(38,37,30,0.14), 0 8px 18px rgba(38,37,30,0.10)"},_active:{bg:U(o?"brand.100":`${t}.100`,`${t}.800`)(e),transform:"translateY(1px)"}}},outline:e=>{let t=e.colorScheme??"brand",o=ML(t);return{bg:U(o?"transparent":`${t}.50`,`${t}.900`)(e),color:U(o?"text.default":`${t}.700`,`${t}.100`)(e),borderWidth:"1px",borderColor:U(o?"surface.border":`${t}.200`,`${t}.700`)(e),boxShadow:AL,_hover:{bg:U(o?WG:`${t}.100`,`${t}.800`)(e),borderColor:U(o?"brand.500":`${t}.300`,`${t}.600`)(e),transform:"translateY(-1px)"},_active:{bg:U(o?"brand.50":`${t}.100`,`${t}.800`)(e),transform:"translateY(1px)"}}},solid:e=>{let t=e.colorScheme??"brand";return ML(t)?{bg:U(g2,"gray.100")(e),color:U(ZG,g2)(e),borderWidth:0,boxShadow:jG,_hover:{bg:U("#141414","white")(e),transform:"translateY(-1px)",boxShadow:"inset 0 -2px 0 rgba(0,0,0,0.42), inset 0 1px 0 rgba(255,255,252,0.16), 0 16px 28px rgba(38,37,30,0.20)"},_active:{transform:"translateY(1px)",boxShadow:"inset 0 2px 0 rgba(0,0,0,0.34), 0 4px 10px rgba(38,37,30,0.12)"}}:{bg:U(`${t}.500`,`${t}.300`)(e),color:U("white","gray.900")(e),_hover:{bg:U(`${t}.600`,`${t}.200`)(e)},_active:{bg:U(`${t}.700`,`${t}.100`)(e)}}},surfacePrimary:e=>({bg:U(g2,"gray.100")(e),color:U(ZG,g2)(e),borderWidth:0,boxShadow:jG,_hover:{bg:U("#141414","white")(e),transform:"translateY(-1px)",boxShadow:"inset 0 -2px 0 rgba(0,0,0,0.42), inset 0 1px 0 rgba(255,255,252,0.16), 0 16px 28px rgba(38,37,30,0.20)"},_active:{transform:"translateY(1px)",boxShadow:"inset 0 2px 0 rgba(0,0,0,0.34), 0 4px 10px rgba(38,37,30,0.12)"}}),surfaceSecondary:e=>({bg:U("surface.base","gray.700")(e),color:U("text.default","gray.100")(e),borderWidth:"1px",borderColor:U("surface.border","gray.600")(e),boxShadow:AL,_hover:{bg:U("surface.muted","gray.600")(e),borderColor:U("brand.500","brand.300")(e),transform:"translateY(-1px)"},_active:{bg:U("brand.50","gray.600")(e),transform:"translateY(1px)"}})}},IconButton:{defaultProps:{variant:"surface",size:"md",colorScheme:"brand"},baseStyle:e=>({borderRadius:0,clipPath:b2,_focusVisible:{boxShadow:`0 0 0 3px ${U("rgba(255, 78, 0, 0.30)","rgba(255, 140, 102, 0.48)")(e)}`}})},Progress:{baseStyle:{filledTrack:{bg:UG}},defaultProps:{colorScheme:"brand"}},Spinner:{baseStyle:e=>({color:U("brand.500","brand.300")(e)})},Badge:{baseStyle:{borderRadius:0,clipPath:rf,px:2.5},variants:{counter:e=>({display:"inline-flex",alignItems:"center",justifyContent:"center",minW:"1.125rem",h:"1.125rem",px:"0.3rem !important",py:0,borderRadius:"0 !important",clipPath:rf,bg:U("brand.50","brand.900")(e),color:U("brand.700","brand.100")(e),borderWidth:"1px",borderColor:U("brand.200","brand.700")(e),fontSize:"0.675rem",fontWeight:"semibold",lineHeight:1,textTransform:"none",whiteSpace:"nowrap",fontVariantNumeric:"tabular-nums"}),surface:e=>{let t=e.colorScheme??"gray";return{bg:U(`${t}.100`,`${t}.800`)(e),color:U(`${t}.700`,`${t}.100`)(e),borderWidth:"1px",borderColor:U(`${t}.200`,`${t}.700`)(e)}}}},Modal:{baseStyle:e=>({overlay:{bg:"rgba(38, 37, 30, 0.54)",backdropFilter:"blur(8px)",zIndex:"modal"},dialogContainer:{display:"flex",zIndex:"modal",justifyContent:"center",alignItems:e.isCentered?"center":"flex-start",overflow:e.scrollBehavior==="inside"?"hidden":"auto",overscrollBehaviorY:"none"},dialog:{borderRadius:0,clipPath:TL,color:"text.default",my:e.isCentered?"auto":16,mx:e.isCentered?"auto":void 0,zIndex:"modal",maxH:e.scrollBehavior==="inside"?"calc(100% - 7.5rem)":void 0,bg:U("surface.base","gray.700")(e),borderWidth:"1px",borderColor:U("surface.border","gray.600")(e),boxShadow:U("0 28px 70px rgba(38,37,30,0.20)","dark-lg")(e)},header:{px:6,py:4,fontSize:"xl",fontWeight:"semibold",borderBottomWidth:"1px",borderColor:"surface.border"},closeButton:{position:"absolute",top:2,insetEnd:3,borderRadius:0,clipPath:rf},body:{px:6,py:3,flex:1,overflow:e.scrollBehavior==="inside"?"auto":void 0},footer:{px:6,py:4,borderTopWidth:"1px",borderColor:"surface.border"}}),defaultProps:{size:"md"}},Popover:{baseStyle:e=>({popper:{zIndex:"popover"},content:{"--popper-bg":U(wL,"var(--chakra-colors-gray-700)")(e),"--popper-arrow-bg":U(wL,"var(--chakra-colors-gray-700)")(e),bg:U("surface.base","gray.700")(e),width:"xs",borderWidth:"1px",borderColor:U("surface.border","gray.600")(e),borderRadius:0,clipPath:b2,boxShadow:U("0 18px 44px rgba(38,37,30,0.16)","dark-lg")(e),zIndex:"inherit",_focusVisible:{outline:0,boxShadow:`0 0 0 3px ${U("rgba(255, 78, 0, 0.24)","rgba(255, 140, 102, 0.40)")(e)}`}},header:{px:3,py:2,borderBottomWidth:"1px",borderColor:"surface.border"},body:{px:3,py:2},footer:{px:3,py:2,borderTopWidth:"1px",borderColor:"surface.border"},closeButton:{position:"absolute",borderRadius:0,clipPath:rf,top:1,insetEnd:2,padding:2}})},Tag:{baseStyle:{container:{borderRadius:0,clipPath:rf}}},Tabs:{variants:{line:e=>{let t=e.colorScheme??"brand";return{tablist:{borderBottomWidth:"1px",borderBottomStyle:"solid",borderBottomColor:"surface.border"},tab:{mb:"-1px",borderBottomWidth:"3px",borderBottomStyle:"solid",borderBottomColor:"transparent",_selected:{borderBottomColor:U(`${t}.500`,`${t}.300`)(e),color:U(`${t}.600`,`${t}.200`)(e)}},tabpanel:{animation:"launchchairTabFadeIn 180ms ease","@media (prefers-reduced-motion: reduce)":{animation:"none"}}}}},defaultProps:{variant:"line"}},Input:{defaultProps:{focusBorderColor:"brand.500",errorBorderColor:"red.500"},variants:{outline:e=>({field:{_focus:{borderColor:U("brand.500","brand.300")(e),boxShadow:`0 0 0 1px ${U("var(--chakra-colors-brand-500)","var(--chakra-colors-brand-300)")(e)}`},_focusVisible:{borderColor:U("brand.500","brand.300")(e),boxShadow:`0 0 0 1px ${U("var(--chakra-colors-brand-500)","var(--chakra-colors-brand-300)")(e)}`}}}),filled:e=>({field:{_focus:{borderColor:U("brand.500","brand.300")(e),boxShadow:`0 0 0 1px ${U("var(--chakra-colors-brand-500)","var(--chakra-colors-brand-300)")(e)}`},_focusVisible:{borderColor:U("brand.500","brand.300")(e),boxShadow:`0 0 0 1px ${U("var(--chakra-colors-brand-500)","var(--chakra-colors-brand-300)")(e)}`}}}),flushed:e=>({field:{_focus:{borderColor:U("brand.500","brand.300")(e),boxShadow:`0 1px 0 0 ${U("var(--chakra-colors-brand-500)","var(--chakra-colors-brand-300)")(e)}`},_focusVisible:{borderColor:U("brand.500","brand.300")(e),boxShadow:`0 1px 0 0 ${U("var(--chakra-colors-brand-500)","var(--chakra-colors-brand-300)")(e)}`}}})}},Textarea:{defaultProps:{focusBorderColor:"brand.500",errorBorderColor:"red.500"},variants:{outline:e=>({_focus:{borderColor:U("brand.500","brand.300")(e),boxShadow:`0 0 0 1px ${U("var(--chakra-colors-brand-500)","var(--chakra-colors-brand-300)")(e)}`},_focusVisible:{borderColor:U("brand.500","brand.300")(e),boxShadow:`0 0 0 1px ${U("var(--chakra-colors-brand-500)","var(--chakra-colors-brand-300)")(e)}`}}),filled:e=>({_focus:{borderColor:U("brand.500","brand.300")(e),boxShadow:`0 0 0 1px ${U("var(--chakra-colors-brand-500)","var(--chakra-colors-brand-300)")(e)}`},_focusVisible:{borderColor:U("brand.500","brand.300")(e),boxShadow:`0 0 0 1px ${U("var(--chakra-colors-brand-500)","var(--chakra-colors-brand-300)")(e)}`}}),flushed:e=>({_focus:{borderColor:U("brand.500","brand.300")(e),boxShadow:`0 1px 0 0 ${U("var(--chakra-colors-brand-500)","var(--chakra-colors-brand-300)")(e)}`},_focusVisible:{borderColor:U("brand.500","brand.300")(e),boxShadow:`0 1px 0 0 ${U("var(--chakra-colors-brand-500)","var(--chakra-colors-brand-300)")(e)}`}})}},Select:{defaultProps:{focusBorderColor:"brand.500",errorBorderColor:"red.500"},variants:{outline:e=>({field:{_focus:{borderColor:U("brand.500","brand.300")(e),boxShadow:`0 0 0 1px ${U("var(--chakra-colors-brand-500)","var(--chakra-colors-brand-300)")(e)}`},_focusVisible:{borderColor:U("brand.500","brand.300")(e),boxShadow:`0 0 0 1px ${U("var(--chakra-colors-brand-500)","var(--chakra-colors-brand-300)")(e)}`}}}),filled:e=>({field:{_focus:{borderColor:U("brand.500","brand.300")(e),boxShadow:`0 0 0 1px ${U("var(--chakra-colors-brand-500)","var(--chakra-colors-brand-300)")(e)}`},_focusVisible:{borderColor:U("brand.500","brand.300")(e),boxShadow:`0 0 0 1px ${U("var(--chakra-colors-brand-500)","var(--chakra-colors-brand-300)")(e)}`}}})}},Checkbox:{defaultProps:{colorScheme:"brand"},baseStyle:e=>({control:{_focusVisible:{boxShadow:`0 0 0 3px ${U("rgba(255, 78, 0, 0.30)","rgba(255, 140, 102, 0.48)")(e)}`},_checked:{bg:U("brand.500","brand.300")(e),borderColor:U("brand.500","brand.300")(e),color:"white",_hover:{bg:U("brand.600","brand.400")(e),borderColor:U("brand.600","brand.400")(e)}}}})},Radio:{defaultProps:{colorScheme:"brand"},baseStyle:e=>({control:{bg:U("white","gray.800")(e),borderColor:U("gray.300","gray.500")(e),_focusVisible:{boxShadow:`0 0 0 3px ${U("rgba(255, 78, 0, 0.30)","rgba(255, 140, 102, 0.48)")(e)}`},_hover:{borderColor:U("brand.400","brand.300")(e)},_checked:{bg:U("white","gray.800")(e),borderColor:U("brand.500","brand.300")(e),_before:{bg:U("brand.500","brand.300")(e)},_hover:{bg:U("white","gray.800")(e),borderColor:U("brand.500","brand.300")(e)}}}})}}});var Ut=k(re());function Qde(e){return e==="wedge"?"Wedge Opportunity Score":e==="wedge_feature"?"Wedge Feature Score":e==="packaging"?"Packaging Fit Score":"Willingness to buy score"}function Jde(e,t){return e>=70?{trackColor:t?"green.900":"green.100",textColor:t?"green.200":"green.700",badgeScheme:"green"}:e>=50?{trackColor:t?"yellow.900":"yellow.100",textColor:t?"yellow.200":"yellow.700",badgeScheme:"yellow"}:{trackColor:t?"red.900":"red.100",textColor:t?"red.200":"red.700",badgeScheme:"red"}}function LL({options:e,selectedOptionId:t,onChange:o,scoreKind:r,isDisabled:n=!1,readOnly:a=!1,columns:s={base:1,xl:2},minChildWidth:i}){let l=Zc(!1,!0),c=Zc("purple.50","purple.900"),u=Zc("purple.100","purple.800"),m=Zc("purple.200","purple.700"),f=e.length?e.reduce((d,p)=>p.score>d.score?p:d,e[0]).id:"";return(0,Ut.jsx)(Kp,{isRequired:!a,children:(0,Ut.jsx)(M4,{value:t,onChange:o,isDisabled:n,children:(0,Ut.jsx)(Pe,{columns:i?void 0:s,minChildWidth:i,spacing:4,children:e.map(d=>{let p=t===d.id,h=Jde(d.score,l);return(0,Ut.jsx)(P,{borderWidth:"1px",borderRadius:"md",p:5,bg:p?c:"surface.base",color:"text.default",borderColor:p?"brand.500":"surface.border",cursor:a?"default":"pointer",onClick:()=>!a&&!n&&o(d.id),transition:"all 160ms ease",boxShadow:p?"0 0 0 1px var(--chakra-colors-brand-400) inset":"none",children:(0,Ut.jsxs)(z,{spacing:4,h:"full",children:[(0,Ut.jsxs)(z,{spacing:3,flex:"1",children:[(0,Ut.jsxs)(Z,{justify:"space-between",align:"start",spacing:3,children:[(0,Ut.jsxs)(Z,{spacing:3,align:"start",children:[a?null:(0,Ut.jsx)(L4,{value:d.id,inputProps:{"aria-label":d.title},colorScheme:"brand",size:"lg",mt:"1",onClick:S=>S.stopPropagation()}),(0,Ut.jsx)(z,{spacing:1,flex:"1",children:(0,Ut.jsx)(x,{fontWeight:"semibold",fontSize:"lg",lineHeight:"1.3",children:d.title})})]}),a?(0,Ut.jsx)($,{colorScheme:"green",children:"Saved"}):d.id===f?(0,Ut.jsx)($,{colorScheme:h.badgeScheme,borderRadius:"full",flexShrink:0,children:"Best Choice"}):null]}),(0,Ut.jsxs)(z,{spacing:2,children:[(0,Ut.jsxs)(Z,{justify:"space-between",align:"baseline",children:[(0,Ut.jsx)(x,{fontSize:"xs",fontWeight:"semibold",color:"text.muted",textTransform:"uppercase",letterSpacing:"0.08em",children:Qde(r)}),(0,Ut.jsxs)(x,{fontSize:"sm",fontWeight:"bold",color:h.textColor,children:[d.score,"%"]})]}),(0,Ut.jsx)(fa,{value:d.score,borderRadius:"full",bg:h.trackColor,colorScheme:h.badgeScheme,size:"sm"})]}),(0,Ut.jsx)(x,{color:"text.default",children:d.summary}),(0,Ut.jsx)(z,{spacing:2,children:d.bullets.map((S,g)=>(0,Ut.jsx)(P,{borderWidth:"1px",borderRadius:"md",borderColor:p?m:"surface.border",bg:p?u:"surface.muted",px:3,py:2.5,children:(0,Ut.jsxs)(Z,{spacing:2.5,align:"start",children:[(0,Ut.jsx)(P,{color:"brand.400",flexShrink:0,pt:"1px",children:(0,Ut.jsx)($n,{size:20,weight:"duotone"})}),(0,Ut.jsx)(x,{fontSize:"sm",color:"text.default",children:S})]})},`${d.id}-bullet-${g}`))})]}),a?null:(0,Ut.jsx)(gt,{type:"button",isDisabled:n,w:"full",colorScheme:"brand",variant:p?"solid":"outline",onClick:S=>{S.stopPropagation(),o(d.id)},children:"Choose This"})]})},d.id)})})})})}var T0=k(re());function st(e){return(0,T0.jsx)(a0,{styleType:"none",spacing:2,...e})}function Ze({children:e,indicatorColor:t="teal.400",indicatorIcon:o=TM,...r}){return(0,T0.jsxs)(s0,{display:"flex",alignItems:"flex-start",gap:2,...r,children:[(0,T0.jsx)(m4,{as:o,color:t,mt:"0.35rem",boxSize:"8px",minW:"8px"}),(0,T0.jsx)(P,{flex:"1",children:e})]})}var $G=k(F()),qG=k(re()),epe=(0,$G.forwardRef)(function({href:t,children:o,...r},n){let a;try{let s=document.getElementById("launchchair-widget-root")?.dataset.appUrl||"https://www.launchchair.io",i=new URL(t||"",s);["https:","http:"].includes(i.protocol)&&(a=i.href)}catch{}return(0,qG.jsx)("a",{...r,ref:n,href:a,target:"_blank",rel:"noopener noreferrer",children:o})}),Tn=epe;var ct=k(F());/*!
|
|
1186
|
+
* @kurkle/color v0.3.4
|
|
1187
|
+
* https://github.com/kurkle/color#readme
|
|
1188
|
+
* (c) 2024 Jukka Kurkela
|
|
1189
|
+
* Released under the MIT License
|
|
1190
|
+
*/function x2(e){return e+.5|0}var gu=(e,t,o)=>Math.max(Math.min(e,o),t);function y2(e){return gu(x2(e*2.55),0,255)}function bu(e){return gu(x2(e*255),0,255)}function Gl(e){return gu(x2(e/2.55)/100,0,1)}function XG(e){return gu(x2(e*100),0,100)}var Ts={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,A:10,B:11,C:12,D:13,E:14,F:15,a:10,b:11,c:12,d:13,e:14,f:15},EL=[..."0123456789ABCDEF"],tpe=e=>EL[e&15],ope=e=>EL[(e&240)>>4]+EL[e&15],Z8=e=>(e&240)>>4===(e&15),rpe=e=>Z8(e.r)&&Z8(e.g)&&Z8(e.b)&&Z8(e.a);function npe(e){var t=e.length,o;return e[0]==="#"&&(t===4||t===5?o={r:255&Ts[e[1]]*17,g:255&Ts[e[2]]*17,b:255&Ts[e[3]]*17,a:t===5?Ts[e[4]]*17:255}:(t===7||t===9)&&(o={r:Ts[e[1]]<<4|Ts[e[2]],g:Ts[e[3]]<<4|Ts[e[4]],b:Ts[e[5]]<<4|Ts[e[6]],a:t===9?Ts[e[7]]<<4|Ts[e[8]]:255})),o}var ape=(e,t)=>e<255?t(e):"";function spe(e){var t=rpe(e)?tpe:ope;return e?"#"+t(e.r)+t(e.g)+t(e.b)+ape(e.a,t):void 0}var ipe=/^(hsla?|hwb|hsv)\(\s*([-+.e\d]+)(?:deg)?[\s,]+([-+.e\d]+)%[\s,]+([-+.e\d]+)%(?:[\s,]+([-+.e\d]+)(%)?)?\s*\)$/;function JG(e,t,o){let r=t*Math.min(o,1-o),n=(a,s=(a+e/30)%12)=>o-r*Math.max(Math.min(s-3,9-s,1),-1);return[n(0),n(8),n(4)]}function lpe(e,t,o){let r=(n,a=(n+e/60)%6)=>o-o*t*Math.max(Math.min(a,4-a,1),0);return[r(5),r(3),r(1)]}function cpe(e,t,o){let r=JG(e,1,.5),n;for(t+o>1&&(n=1/(t+o),t*=n,o*=n),n=0;n<3;n++)r[n]*=1-t-o,r[n]+=t;return r}function upe(e,t,o,r,n){return e===n?(t-o)/r+(t<o?6:0):t===n?(o-e)/r+2:(e-t)/r+4}function BL(e){let o=e.r/255,r=e.g/255,n=e.b/255,a=Math.max(o,r,n),s=Math.min(o,r,n),i=(a+s)/2,l,c,u;return a!==s&&(u=a-s,c=i>.5?u/(2-a-s):u/(a+s),l=upe(o,r,n,u,a),l=l*60+.5),[l|0,c||0,i]}function DL(e,t,o,r){return(Array.isArray(t)?e(t[0],t[1],t[2]):e(t,o,r)).map(bu)}function RL(e,t,o){return DL(JG,e,t,o)}function mpe(e,t,o){return DL(cpe,e,t,o)}function fpe(e,t,o){return DL(lpe,e,t,o)}function e$(e){return(e%360+360)%360}function dpe(e){let t=ipe.exec(e),o=255,r;if(!t)return;t[5]!==r&&(o=t[6]?y2(+t[5]):bu(+t[5]));let n=e$(+t[2]),a=+t[3]/100,s=+t[4]/100;return t[1]==="hwb"?r=mpe(n,a,s):t[1]==="hsv"?r=fpe(n,a,s):r=RL(n,a,s),{r:r[0],g:r[1],b:r[2],a:o}}function ppe(e,t){var o=BL(e);o[0]=e$(o[0]+t),o=RL(o),e.r=o[0],e.g=o[1],e.b=o[2]}function hpe(e){if(!e)return;let t=BL(e),o=t[0],r=XG(t[1]),n=XG(t[2]);return e.a<255?`hsla(${o}, ${r}%, ${n}%, ${Gl(e.a)})`:`hsl(${o}, ${r}%, ${n}%)`}var YG={x:"dark",Z:"light",Y:"re",X:"blu",W:"gr",V:"medium",U:"slate",A:"ee",T:"ol",S:"or",B:"ra",C:"lateg",D:"ights",R:"in",Q:"turquois",E:"hi",P:"ro",O:"al",N:"le",M:"de",L:"yello",F:"en",K:"ch",G:"arks",H:"ea",I:"ightg",J:"wh"},KG={OiceXe:"f0f8ff",antiquewEte:"faebd7",aqua:"ffff",aquamarRe:"7fffd4",azuY:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"0",blanKedOmond:"ffebcd",Xe:"ff",XeviTet:"8a2be2",bPwn:"a52a2a",burlywood:"deb887",caMtXe:"5f9ea0",KartYuse:"7fff00",KocTate:"d2691e",cSO:"ff7f50",cSnflowerXe:"6495ed",cSnsilk:"fff8dc",crimson:"dc143c",cyan:"ffff",xXe:"8b",xcyan:"8b8b",xgTMnPd:"b8860b",xWay:"a9a9a9",xgYF:"6400",xgYy:"a9a9a9",xkhaki:"bdb76b",xmagFta:"8b008b",xTivegYF:"556b2f",xSange:"ff8c00",xScEd:"9932cc",xYd:"8b0000",xsOmon:"e9967a",xsHgYF:"8fbc8f",xUXe:"483d8b",xUWay:"2f4f4f",xUgYy:"2f4f4f",xQe:"ced1",xviTet:"9400d3",dAppRk:"ff1493",dApskyXe:"bfff",dimWay:"696969",dimgYy:"696969",dodgerXe:"1e90ff",fiYbrick:"b22222",flSOwEte:"fffaf0",foYstWAn:"228b22",fuKsia:"ff00ff",gaRsbSo:"dcdcdc",ghostwEte:"f8f8ff",gTd:"ffd700",gTMnPd:"daa520",Way:"808080",gYF:"8000",gYFLw:"adff2f",gYy:"808080",honeyMw:"f0fff0",hotpRk:"ff69b4",RdianYd:"cd5c5c",Rdigo:"4b0082",ivSy:"fffff0",khaki:"f0e68c",lavFMr:"e6e6fa",lavFMrXsh:"fff0f5",lawngYF:"7cfc00",NmoncEffon:"fffacd",ZXe:"add8e6",ZcSO:"f08080",Zcyan:"e0ffff",ZgTMnPdLw:"fafad2",ZWay:"d3d3d3",ZgYF:"90ee90",ZgYy:"d3d3d3",ZpRk:"ffb6c1",ZsOmon:"ffa07a",ZsHgYF:"20b2aa",ZskyXe:"87cefa",ZUWay:"778899",ZUgYy:"778899",ZstAlXe:"b0c4de",ZLw:"ffffe0",lime:"ff00",limegYF:"32cd32",lRF:"faf0e6",magFta:"ff00ff",maPon:"800000",VaquamarRe:"66cdaa",VXe:"cd",VScEd:"ba55d3",VpurpN:"9370db",VsHgYF:"3cb371",VUXe:"7b68ee",VsprRggYF:"fa9a",VQe:"48d1cc",VviTetYd:"c71585",midnightXe:"191970",mRtcYam:"f5fffa",mistyPse:"ffe4e1",moccasR:"ffe4b5",navajowEte:"ffdead",navy:"80",Tdlace:"fdf5e6",Tive:"808000",TivedBb:"6b8e23",Sange:"ffa500",SangeYd:"ff4500",ScEd:"da70d6",pOegTMnPd:"eee8aa",pOegYF:"98fb98",pOeQe:"afeeee",pOeviTetYd:"db7093",papayawEp:"ffefd5",pHKpuff:"ffdab9",peru:"cd853f",pRk:"ffc0cb",plum:"dda0dd",powMrXe:"b0e0e6",purpN:"800080",YbeccapurpN:"663399",Yd:"ff0000",Psybrown:"bc8f8f",PyOXe:"4169e1",saddNbPwn:"8b4513",sOmon:"fa8072",sandybPwn:"f4a460",sHgYF:"2e8b57",sHshell:"fff5ee",siFna:"a0522d",silver:"c0c0c0",skyXe:"87ceeb",UXe:"6a5acd",UWay:"708090",UgYy:"708090",snow:"fffafa",sprRggYF:"ff7f",stAlXe:"4682b4",tan:"d2b48c",teO:"8080",tEstN:"d8bfd8",tomato:"ff6347",Qe:"40e0d0",viTet:"ee82ee",JHt:"f5deb3",wEte:"ffffff",wEtesmoke:"f5f5f5",Lw:"ffff00",LwgYF:"9acd32"};function gpe(){let e={},t=Object.keys(KG),o=Object.keys(YG),r,n,a,s,i;for(r=0;r<t.length;r++){for(s=i=t[r],n=0;n<o.length;n++)a=o[n],i=i.replace(a,YG[a]);a=parseInt(KG[s],16),e[i]=[a>>16&255,a>>8&255,a&255]}return e}var j8;function bpe(e){j8||(j8=gpe(),j8.transparent=[0,0,0,0]);let t=j8[e.toLowerCase()];return t&&{r:t[0],g:t[1],b:t[2],a:t.length===4?t[3]:255}}var ype=/^rgba?\(\s*([-+.\d]+)(%)?[\s,]+([-+.e\d]+)(%)?[\s,]+([-+.e\d]+)(%)?(?:[\s,/]+([-+.e\d]+)(%)?)?\s*\)$/;function Spe(e){let t=ype.exec(e),o=255,r,n,a;if(t){if(t[7]!==r){let s=+t[7];o=t[8]?y2(s):gu(s*255,0,255)}return r=+t[1],n=+t[3],a=+t[5],r=255&(t[2]?y2(r):gu(r,0,255)),n=255&(t[4]?y2(n):gu(n,0,255)),a=255&(t[6]?y2(a):gu(a,0,255)),{r,g:n,b:a,a:o}}}function xpe(e){return e&&(e.a<255?`rgba(${e.r}, ${e.g}, ${e.b}, ${Gl(e.a)})`:`rgb(${e.r}, ${e.g}, ${e.b})`)}var PL=e=>e<=.0031308?e*12.92:Math.pow(e,1/2.4)*1.055-.055,A0=e=>e<=.04045?e/12.92:Math.pow((e+.055)/1.055,2.4);function Ipe(e,t,o){let r=A0(Gl(e.r)),n=A0(Gl(e.g)),a=A0(Gl(e.b));return{r:bu(PL(r+o*(A0(Gl(t.r))-r))),g:bu(PL(n+o*(A0(Gl(t.g))-n))),b:bu(PL(a+o*(A0(Gl(t.b))-a))),a:e.a+o*(t.a-e.a)}}function G8(e,t,o){if(e){let r=BL(e);r[t]=Math.max(0,Math.min(r[t]+r[t]*o,t===0?360:1)),r=RL(r),e.r=r[0],e.g=r[1],e.b=r[2]}}function t$(e,t){return e&&Object.assign(t||{},e)}function QG(e){var t={r:0,g:0,b:0,a:255};return Array.isArray(e)?e.length>=3&&(t={r:e[0],g:e[1],b:e[2],a:255},e.length>3&&(t.a=bu(e[3]))):(t=t$(e,{r:0,g:0,b:0,a:1}),t.a=bu(t.a)),t}function vpe(e){return e.charAt(0)==="r"?Spe(e):dpe(e)}var S2=class e{constructor(t){if(t instanceof e)return t;let o=typeof t,r;o==="object"?r=QG(t):o==="string"&&(r=npe(t)||bpe(t)||vpe(t)),this._rgb=r,this._valid=!!r}get valid(){return this._valid}get rgb(){var t=t$(this._rgb);return t&&(t.a=Gl(t.a)),t}set rgb(t){this._rgb=QG(t)}rgbString(){return this._valid?xpe(this._rgb):void 0}hexString(){return this._valid?spe(this._rgb):void 0}hslString(){return this._valid?hpe(this._rgb):void 0}mix(t,o){if(t){let r=this.rgb,n=t.rgb,a,s=o===a?.5:o,i=2*s-1,l=r.a-n.a,c=((i*l===-1?i:(i+l)/(1+i*l))+1)/2;a=1-c,r.r=255&c*r.r+a*n.r+.5,r.g=255&c*r.g+a*n.g+.5,r.b=255&c*r.b+a*n.b+.5,r.a=s*r.a+(1-s)*n.a,this.rgb=r}return this}interpolate(t,o){return t&&(this._rgb=Ipe(this._rgb,t._rgb,o)),this}clone(){return new e(this.rgb)}alpha(t){return this._rgb.a=bu(t),this}clearer(t){let o=this._rgb;return o.a*=1-t,this}greyscale(){let t=this._rgb,o=x2(t.r*.3+t.g*.59+t.b*.11);return t.r=t.g=t.b=o,this}opaquer(t){let o=this._rgb;return o.a*=1+t,this}negate(){let t=this._rgb;return t.r=255-t.r,t.g=255-t.g,t.b=255-t.b,this}lighten(t){return G8(this._rgb,2,t),this}darken(t){return G8(this._rgb,2,-t),this}saturate(t){return G8(this._rgb,1,t),this}desaturate(t){return G8(this._rgb,1,-t),this}rotate(t){return ppe(this._rgb,t),this}};/*!
|
|
1191
|
+
* Chart.js v4.5.1
|
|
1192
|
+
* https://www.chartjs.org
|
|
1193
|
+
* (c) 2025 Chart.js Contributors
|
|
1194
|
+
* Released under the MIT License
|
|
1195
|
+
*/function _i(){}var c$=(()=>{let e=0;return()=>e++})();function Bt(e){return e==null}function po(e){if(Array.isArray&&Array.isArray(e))return!0;let t=Object.prototype.toString.call(e);return t.slice(0,7)==="[object"&&t.slice(-6)==="Array]"}function Tt(e){return e!==null&&Object.prototype.toString.call(e)==="[object Object]"}function Kr(e){return(typeof e=="number"||e instanceof Number)&&isFinite(+e)}function ga(e,t){return Kr(e)?e:t}function wt(e,t){return typeof e>"u"?t:e}var u$=(e,t)=>typeof e=="string"&&e.endsWith("%")?parseFloat(e)/100*t:+e;function jt(e,t,o){if(e&&typeof e.call=="function")return e.apply(o,t)}function Dt(e,t,o,r){let n,a,s;if(po(e))if(a=e.length,r)for(n=a-1;n>=0;n--)t.call(o,e[n],n);else for(n=0;n<a;n++)t.call(o,e[n],n);else if(Tt(e))for(s=Object.keys(e),a=s.length,n=0;n<a;n++)t.call(o,e[s[n]],s[n])}function C2(e,t){let o,r,n,a;if(!e||!t||e.length!==t.length)return!1;for(o=0,r=e.length;o<r;++o)if(n=e[o],a=t[o],n.datasetIndex!==a.datasetIndex||n.index!==a.index)return!1;return!0}function X8(e){if(po(e))return e.map(X8);if(Tt(e)){let t=Object.create(null),o=Object.keys(e),r=o.length,n=0;for(;n<r;++n)t[o[n]]=X8(e[o[n]]);return t}return e}function m$(e){return["__proto__","prototype","constructor"].indexOf(e)===-1}function Cpe(e,t,o,r){if(!m$(e))return;let n=t[e],a=o[e];Tt(n)&&Tt(a)?M0(n,a,r):t[e]=X8(a)}function M0(e,t,o){let r=po(t)?t:[t],n=r.length;if(!Tt(e))return e;o=o||{};let a=o.merger||Cpe,s;for(let i=0;i<n;++i){if(s=r[i],!Tt(s))continue;let l=Object.keys(s);for(let c=0,u=l.length;c<u;++c)a(l[c],e,s,o)}return e}function L0(e,t){return M0(e,t,{merger:wpe})}function wpe(e,t,o){if(!m$(e))return;let r=t[e],n=o[e];Tt(r)&&Tt(n)?L0(r,n):Object.prototype.hasOwnProperty.call(t,e)||(t[e]=X8(n))}var o$={"":e=>e,x:e=>e.x,y:e=>e.y};function Tpe(e){let t=e.split("."),o=[],r="";for(let n of t)r+=n,r.endsWith("\\")?r=r.slice(0,-1)+".":(o.push(r),r="");return o}function Ape(e){let t=Tpe(e);return o=>{for(let r of t){if(r==="")break;o=o&&o[r]}return o}}function lf(e,t){return(o$[t]||(o$[t]=Ape(t)))(e)}function Q8(e){return e.charAt(0).toUpperCase()+e.slice(1)}var P0=e=>typeof e<"u",$l=e=>typeof e=="function",OL=(e,t)=>{if(e.size!==t.size)return!1;for(let o of e)if(!t.has(o))return!1;return!0};function f$(e){return e.type==="mouseup"||e.type==="click"||e.type==="contextmenu"}var cn=Math.PI,As=2*cn,Pat=As+cn,Y8=Number.POSITIVE_INFINITY,kpe=cn/180,ha=cn/2,nf=cn/4,r$=cn*2/3,ql=Math.log10,Xl=Math.sign;function w2(e,t,o){return Math.abs(e-t)<o}function VL(e){let t=Math.round(e);e=w2(e,t,e/1e3)?t:e;let o=Math.pow(10,Math.floor(ql(e))),r=e/o;return(r<=1?1:r<=2?2:r<=5?5:10)*o}function d$(e){let t=[],o=Math.sqrt(e),r;for(r=1;r<o;r++)e%r===0&&(t.push(r),t.push(e/r));return o===(o|0)&&t.push(o),t.sort((n,a)=>n-a).pop(),t}function Mpe(e){return typeof e=="symbol"||typeof e=="object"&&e!==null&&!(Symbol.toPrimitive in e||"toString"in e||"valueOf"in e)}function T2(e){return!Mpe(e)&&!isNaN(parseFloat(e))&&isFinite(e)}function p$(e,t){let o=Math.round(e);return o-t<=e&&o+t>=e}function NL(e,t,o){let r,n,a;for(r=0,n=e.length;r<n;r++)a=e[r][o],isNaN(a)||(t.min=Math.min(t.min,a),t.max=Math.max(t.max,a))}function Yl(e){return e*(cn/180)}function J8(e){return e*(180/cn)}function zL(e){if(!Kr(e))return;let t=1,o=0;for(;Math.round(e*t)/t!==e;)t*=10,o++;return o}function h$(e,t){let o=t.x-e.x,r=t.y-e.y,n=Math.sqrt(o*o+r*r),a=Math.atan2(r,o);return a<-.5*cn&&(a+=As),{angle:a,distance:n}}function g$(e,t){return Math.sqrt(Math.pow(t.x-e.x,2)+Math.pow(t.y-e.y,2))}function ri(e){return(e%As+As)%As}function b$(e,t,o,r){let n=ri(e),a=ri(t),s=ri(o),i=ri(a-n),l=ri(s-n),c=ri(n-a),u=ri(n-s);return n===a||n===s||r&&a===s||i>l&&c<u}function ks(e,t,o){return Math.max(t,Math.min(o,e))}function y$(e){return ks(e,-32768,32767)}function cf(e,t,o,r=1e-6){return e>=Math.min(t,o)-r&&e<=Math.max(t,o)+r}function e6(e,t,o){o=o||(s=>e[s]<t);let r=e.length-1,n=0,a;for(;r-n>1;)a=n+r>>1,o(a)?n=a:r=a;return{lo:n,hi:r}}var t6=(e,t,o,r)=>e6(e,o,r?n=>{let a=e[n][t];return a<o||a===o&&e[n+1][t]===o}:n=>e[n][t]<o),S$=(e,t,o)=>e6(e,o,r=>e[r][t]>=o);function x$(e,t,o){let r=0,n=e.length;for(;r<n&&e[r]<t;)r++;for(;n>r&&e[n-1]>o;)n--;return r>0||n<e.length?e.slice(r,n):e}var I$=["push","pop","shift","splice","unshift"];function v$(e,t){if(e._chartjs){e._chartjs.listeners.push(t);return}Object.defineProperty(e,"_chartjs",{configurable:!0,enumerable:!1,value:{listeners:[t]}}),I$.forEach(o=>{let r="_onData"+Q8(o),n=e[o];Object.defineProperty(e,o,{configurable:!0,enumerable:!1,value(...a){let s=n.apply(this,a);return e._chartjs.listeners.forEach(i=>{typeof i[r]=="function"&&i[r](...a)}),s}})})}function WL(e,t){let o=e._chartjs;if(!o)return;let r=o.listeners,n=r.indexOf(t);n!==-1&&r.splice(n,1),!(r.length>0)&&(I$.forEach(a=>{delete e[a]}),delete e._chartjs)}function UL(e){let t=new Set(e);return t.size===e.length?e:Array.from(t)}var ZL=(function(){return typeof window>"u"?function(e){return e()}:window.requestAnimationFrame})();function jL(e,t){let o=[],r=!1;return function(...n){o=n,r||(r=!0,ZL.call(window,()=>{r=!1,e.apply(t,o)}))}}function C$(e,t){let o;return function(...r){return t?(clearTimeout(o),o=setTimeout(e,t,r)):e.apply(this,r),t}}var GL=e=>e==="start"?"left":e==="end"?"right":"center",ba=(e,t,o)=>e==="start"?t:e==="end"?o:(t+o)/2,w$=(e,t,o,r)=>e===(r?"left":"right")?o:e==="center"?(t+o)/2:t;var $8=e=>e===0||e===1,n$=(e,t,o)=>-(Math.pow(2,10*(e-=1))*Math.sin((e-t)*As/o)),a$=(e,t,o)=>Math.pow(2,-10*e)*Math.sin((e-t)*As/o)+1,k0={linear:e=>e,easeInQuad:e=>e*e,easeOutQuad:e=>-e*(e-2),easeInOutQuad:e=>(e/=.5)<1?.5*e*e:-.5*(--e*(e-2)-1),easeInCubic:e=>e*e*e,easeOutCubic:e=>(e-=1)*e*e+1,easeInOutCubic:e=>(e/=.5)<1?.5*e*e*e:.5*((e-=2)*e*e+2),easeInQuart:e=>e*e*e*e,easeOutQuart:e=>-((e-=1)*e*e*e-1),easeInOutQuart:e=>(e/=.5)<1?.5*e*e*e*e:-.5*((e-=2)*e*e*e-2),easeInQuint:e=>e*e*e*e*e,easeOutQuint:e=>(e-=1)*e*e*e*e+1,easeInOutQuint:e=>(e/=.5)<1?.5*e*e*e*e*e:.5*((e-=2)*e*e*e*e+2),easeInSine:e=>-Math.cos(e*ha)+1,easeOutSine:e=>Math.sin(e*ha),easeInOutSine:e=>-.5*(Math.cos(cn*e)-1),easeInExpo:e=>e===0?0:Math.pow(2,10*(e-1)),easeOutExpo:e=>e===1?1:-Math.pow(2,-10*e)+1,easeInOutExpo:e=>$8(e)?e:e<.5?.5*Math.pow(2,10*(e*2-1)):.5*(-Math.pow(2,-10*(e*2-1))+2),easeInCirc:e=>e>=1?e:-(Math.sqrt(1-e*e)-1),easeOutCirc:e=>Math.sqrt(1-(e-=1)*e),easeInOutCirc:e=>(e/=.5)<1?-.5*(Math.sqrt(1-e*e)-1):.5*(Math.sqrt(1-(e-=2)*e)+1),easeInElastic:e=>$8(e)?e:n$(e,.075,.3),easeOutElastic:e=>$8(e)?e:a$(e,.075,.3),easeInOutElastic(e){return $8(e)?e:e<.5?.5*n$(e*2,.1125,.45):.5+.5*a$(e*2-1,.1125,.45)},easeInBack(e){return e*e*((1.70158+1)*e-1.70158)},easeOutBack(e){return(e-=1)*e*((1.70158+1)*e+1.70158)+1},easeInOutBack(e){let t=1.70158;return(e/=.5)<1?.5*(e*e*(((t*=1.525)+1)*e-t)):.5*((e-=2)*e*(((t*=1.525)+1)*e+t)+2)},easeInBounce:e=>1-k0.easeOutBounce(1-e),easeOutBounce(e){return e<1/2.75?7.5625*e*e:e<2/2.75?7.5625*(e-=1.5/2.75)*e+.75:e<2.5/2.75?7.5625*(e-=2.25/2.75)*e+.9375:7.5625*(e-=2.625/2.75)*e+.984375},easeInOutBounce:e=>e<.5?k0.easeInBounce(e*2)*.5:k0.easeOutBounce(e*2-1)*.5+.5};function T$(e){if(e&&typeof e=="object"){let t=e.toString();return t==="[object CanvasPattern]"||t==="[object CanvasGradient]"}return!1}function $L(e){return T$(e)?e:new S2(e)}function _L(e){return T$(e)?e:new S2(e).saturate(.5).darken(.1).hexString()}var Lpe=["x","y","borderWidth","radius","tension"],Ppe=["color","borderColor","backgroundColor"];function Epe(e){e.set("animation",{delay:void 0,duration:1e3,easing:"easeOutQuart",fn:void 0,from:void 0,loop:void 0,to:void 0,type:void 0}),e.describe("animation",{_fallback:!1,_indexable:!1,_scriptable:t=>t!=="onProgress"&&t!=="onComplete"&&t!=="fn"}),e.set("animations",{colors:{type:"color",properties:Ppe},numbers:{type:"number",properties:Lpe}}),e.describe("animations",{_fallback:"animation"}),e.set("transitions",{active:{animation:{duration:400}},resize:{animation:{duration:0}},show:{animations:{colors:{from:"transparent"},visible:{type:"boolean",duration:0}}},hide:{animations:{colors:{to:"transparent"},visible:{type:"boolean",easing:"linear",fn:t=>t|0}}}})}function Bpe(e){e.set("layout",{autoPadding:!0,padding:{top:0,right:0,bottom:0,left:0}})}var s$=new Map;function Dpe(e,t){t=t||{};let o=e+JSON.stringify(t),r=s$.get(o);return r||(r=new Intl.NumberFormat(e,t),s$.set(o,r)),r}function o6(e,t,o){return Dpe(t,o).format(e)}var A$={values(e){return po(e)?e:""+e},numeric(e,t,o){if(e===0)return"0";let r=this.chart.options.locale,n,a=e;if(o.length>1){let c=Math.max(Math.abs(o[0].value),Math.abs(o[o.length-1].value));(c<1e-4||c>1e15)&&(n="scientific"),a=Rpe(e,o)}let s=ql(Math.abs(a)),i=isNaN(s)?1:Math.max(Math.min(-1*Math.floor(s),20),0),l={notation:n,minimumFractionDigits:i,maximumFractionDigits:i};return Object.assign(l,this.options.ticks.format),o6(e,r,l)},logarithmic(e,t,o){if(e===0)return"0";let r=o[t].significand||e/Math.pow(10,Math.floor(ql(e)));return[1,2,3,5,10,15].includes(r)||t>.8*o.length?A$.numeric.call(this,e,t,o):""}};function Rpe(e,t){let o=t.length>3?t[2].value-t[1].value:t[1].value-t[0].value;return Math.abs(o)>=1&&e!==Math.floor(e)&&(o=e-Math.floor(e)),o}var A2={formatters:A$};function _pe(e){e.set("scale",{display:!0,offset:!1,reverse:!1,beginAtZero:!1,bounds:"ticks",clip:!0,grace:0,grid:{display:!0,lineWidth:1,drawOnChartArea:!0,drawTicks:!0,tickLength:8,tickWidth:(t,o)=>o.lineWidth,tickColor:(t,o)=>o.color,offset:!1},border:{display:!0,dash:[],dashOffset:0,width:1},title:{display:!1,text:"",padding:{top:4,bottom:4}},ticks:{minRotation:0,maxRotation:50,mirror:!1,textStrokeWidth:0,textStrokeColor:"",padding:3,display:!0,autoSkip:!0,autoSkipPadding:3,labelOffset:0,callback:A2.formatters.values,minor:{},major:{},align:"center",crossAlign:"near",showLabelBackdrop:!1,backdropColor:"rgba(255, 255, 255, 0.75)",backdropPadding:2}}),e.route("scale.ticks","color","","color"),e.route("scale.grid","color","","borderColor"),e.route("scale.border","color","","borderColor"),e.route("scale.title","color","","color"),e.describe("scale",{_fallback:!1,_scriptable:t=>!t.startsWith("before")&&!t.startsWith("after")&&t!=="callback"&&t!=="parser",_indexable:t=>t!=="borderDash"&&t!=="tickBorderDash"&&t!=="dash"}),e.describe("scales",{_fallback:"scale"}),e.describe("scale.ticks",{_scriptable:t=>t!=="backdropPadding"&&t!=="callback",_indexable:t=>t!=="backdropPadding"})}var Su=Object.create(null),r6=Object.create(null);function I2(e,t){if(!t)return e;let o=t.split(".");for(let r=0,n=o.length;r<n;++r){let a=o[r];e=e[a]||(e[a]=Object.create(null))}return e}function FL(e,t,o){return typeof t=="string"?M0(I2(e,t),o):M0(I2(e,""),t)}var HL=class{constructor(t,o){this.animation=void 0,this.backgroundColor="rgba(0,0,0,0.1)",this.borderColor="rgba(0,0,0,0.1)",this.color="#666",this.datasets={},this.devicePixelRatio=r=>r.chart.platform.getDevicePixelRatio(),this.elements={},this.events=["mousemove","mouseout","click","touchstart","touchmove"],this.font={family:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",size:12,style:"normal",lineHeight:1.2,weight:null},this.hover={},this.hoverBackgroundColor=(r,n)=>_L(n.backgroundColor),this.hoverBorderColor=(r,n)=>_L(n.borderColor),this.hoverColor=(r,n)=>_L(n.color),this.indexAxis="x",this.interaction={mode:"nearest",intersect:!0,includeInvisible:!1},this.maintainAspectRatio=!0,this.onHover=null,this.onClick=null,this.parsing=!0,this.plugins={},this.responsive=!0,this.scale=void 0,this.scales={},this.showLine=!0,this.drawActiveElementsOnTop=!0,this.describe(t),this.apply(o)}set(t,o){return FL(this,t,o)}get(t){return I2(this,t)}describe(t,o){return FL(r6,t,o)}override(t,o){return FL(Su,t,o)}route(t,o,r,n){let a=I2(this,t),s=I2(this,r),i="_"+o;Object.defineProperties(a,{[i]:{value:a[o],writable:!0},[o]:{enumerable:!0,get(){let l=this[i],c=s[n];return Tt(l)?Object.assign({},c,l):wt(l,c)},set(l){this[i]=l}}})}apply(t){t.forEach(o=>o(this))}},yo=new HL({_scriptable:e=>!e.startsWith("on"),_indexable:e=>e!=="events",hover:{_fallback:"interaction"},interaction:{_scriptable:!1,_indexable:!1}},[Epe,Bpe,_pe]);function Fpe(e){return!e||Bt(e.size)||Bt(e.family)?null:(e.style?e.style+" ":"")+(e.weight?e.weight+" ":"")+e.size+"px "+e.family}function v2(e,t,o,r,n){let a=t[n];return a||(a=t[n]=e.measureText(n).width,o.push(n)),a>r&&(r=a),r}function k$(e,t,o,r){r=r||{};let n=r.data=r.data||{},a=r.garbageCollect=r.garbageCollect||[];r.font!==t&&(n=r.data={},a=r.garbageCollect=[],r.font=t),e.save(),e.font=t;let s=0,i=o.length,l,c,u,m,f;for(l=0;l<i;l++)if(m=o[l],m!=null&&!po(m))s=v2(e,n,a,s,m);else if(po(m))for(c=0,u=m.length;c<u;c++)f=m[c],f!=null&&!po(f)&&(s=v2(e,n,a,s,f));e.restore();let d=a.length/2;if(d>o.length){for(l=0;l<d;l++)delete n[a[l]];a.splice(0,d)}return s}function xu(e,t,o){let r=e.currentDevicePixelRatio,n=o!==0?Math.max(o/2,.5):0;return Math.round((t-n)*r)/r+n}function qL(e,t){!t&&!e||(t=t||e.getContext("2d"),t.save(),t.resetTransform(),t.clearRect(0,0,e.width,e.height),t.restore())}function XL(e,t,o,r){YL(e,t,o,r,null)}function YL(e,t,o,r,n){let a,s,i,l,c,u,m,f,d=t.pointStyle,p=t.rotation,h=t.radius,S=(p||0)*kpe;if(d&&typeof d=="object"&&(a=d.toString(),a==="[object HTMLImageElement]"||a==="[object HTMLCanvasElement]")){e.save(),e.translate(o,r),e.rotate(S),e.drawImage(d,-d.width/2,-d.height/2,d.width,d.height),e.restore();return}if(!(isNaN(h)||h<=0)){switch(e.beginPath(),d){default:n?e.ellipse(o,r,n/2,h,0,0,As):e.arc(o,r,h,0,As),e.closePath();break;case"triangle":u=n?n/2:h,e.moveTo(o+Math.sin(S)*u,r-Math.cos(S)*h),S+=r$,e.lineTo(o+Math.sin(S)*u,r-Math.cos(S)*h),S+=r$,e.lineTo(o+Math.sin(S)*u,r-Math.cos(S)*h),e.closePath();break;case"rectRounded":c=h*.516,l=h-c,s=Math.cos(S+nf)*l,m=Math.cos(S+nf)*(n?n/2-c:l),i=Math.sin(S+nf)*l,f=Math.sin(S+nf)*(n?n/2-c:l),e.arc(o-m,r-i,c,S-cn,S-ha),e.arc(o+f,r-s,c,S-ha,S),e.arc(o+m,r+i,c,S,S+ha),e.arc(o-f,r+s,c,S+ha,S+cn),e.closePath();break;case"rect":if(!p){l=Math.SQRT1_2*h,u=n?n/2:l,e.rect(o-u,r-l,2*u,2*l);break}S+=nf;case"rectRot":m=Math.cos(S)*(n?n/2:h),s=Math.cos(S)*h,i=Math.sin(S)*h,f=Math.sin(S)*(n?n/2:h),e.moveTo(o-m,r-i),e.lineTo(o+f,r-s),e.lineTo(o+m,r+i),e.lineTo(o-f,r+s),e.closePath();break;case"crossRot":S+=nf;case"cross":m=Math.cos(S)*(n?n/2:h),s=Math.cos(S)*h,i=Math.sin(S)*h,f=Math.sin(S)*(n?n/2:h),e.moveTo(o-m,r-i),e.lineTo(o+m,r+i),e.moveTo(o+f,r-s),e.lineTo(o-f,r+s);break;case"star":m=Math.cos(S)*(n?n/2:h),s=Math.cos(S)*h,i=Math.sin(S)*h,f=Math.sin(S)*(n?n/2:h),e.moveTo(o-m,r-i),e.lineTo(o+m,r+i),e.moveTo(o+f,r-s),e.lineTo(o-f,r+s),S+=nf,m=Math.cos(S)*(n?n/2:h),s=Math.cos(S)*h,i=Math.sin(S)*h,f=Math.sin(S)*(n?n/2:h),e.moveTo(o-m,r-i),e.lineTo(o+m,r+i),e.moveTo(o+f,r-s),e.lineTo(o-f,r+s);break;case"line":s=n?n/2:Math.cos(S)*h,i=Math.sin(S)*h,e.moveTo(o-s,r-i),e.lineTo(o+s,r+i);break;case"dash":e.moveTo(o,r),e.lineTo(o+Math.cos(S)*(n?n/2:h),r+Math.sin(S)*h);break;case!1:e.closePath();break}e.fill(),t.borderWidth>0&&e.stroke()}}function uf(e,t,o){return o=o||.5,!t||e&&e.x>t.left-o&&e.x<t.right+o&&e.y>t.top-o&&e.y<t.bottom+o}function n6(e,t){e.save(),e.beginPath(),e.rect(t.left,t.top,t.right-t.left,t.bottom-t.top),e.clip()}function a6(e){e.restore()}function Hpe(e,t){t.translation&&e.translate(t.translation[0],t.translation[1]),Bt(t.rotation)||e.rotate(t.rotation),t.color&&(e.fillStyle=t.color),t.textAlign&&(e.textAlign=t.textAlign),t.textBaseline&&(e.textBaseline=t.textBaseline)}function Ope(e,t,o,r,n){if(n.strikethrough||n.underline){let a=e.measureText(r),s=t-a.actualBoundingBoxLeft,i=t+a.actualBoundingBoxRight,l=o-a.actualBoundingBoxAscent,c=o+a.actualBoundingBoxDescent,u=n.strikethrough?(l+c)/2:c;e.strokeStyle=e.fillStyle,e.beginPath(),e.lineWidth=n.decorationWidth||2,e.moveTo(s,u),e.lineTo(i,u),e.stroke()}}function Vpe(e,t){let o=e.fillStyle;e.fillStyle=t.color,e.fillRect(t.left,t.top,t.width,t.height),e.fillStyle=o}function mf(e,t,o,r,n,a={}){let s=po(t)?t:[t],i=a.strokeWidth>0&&a.strokeColor!=="",l,c;for(e.save(),e.font=n.string,Hpe(e,a),l=0;l<s.length;++l)c=s[l],a.backdrop&&Vpe(e,a.backdrop),i&&(a.strokeColor&&(e.strokeStyle=a.strokeColor),Bt(a.strokeWidth)||(e.lineWidth=a.strokeWidth),e.strokeText(c,o,r,a.maxWidth)),e.fillText(c,o,r,a.maxWidth),Ope(e,o,r,c,a),r+=Number(n.lineHeight);e.restore()}function E0(e,t){let{x:o,y:r,w:n,h:a,radius:s}=t;e.arc(o+s.topLeft,r+s.topLeft,s.topLeft,1.5*cn,cn,!0),e.lineTo(o,r+a-s.bottomLeft),e.arc(o+s.bottomLeft,r+a-s.bottomLeft,s.bottomLeft,cn,ha,!0),e.lineTo(o+n-s.bottomRight,r+a),e.arc(o+n-s.bottomRight,r+a-s.bottomRight,s.bottomRight,ha,0,!0),e.lineTo(o+n,r+s.topRight),e.arc(o+n-s.topRight,r+s.topRight,s.topRight,0,-ha,!0),e.lineTo(o+s.topLeft,r)}var Npe=/^(normal|(\d+(?:\.\d+)?)(px|em|%)?)$/,zpe=/^(normal|italic|initial|inherit|unset|(oblique( -?[0-9]?[0-9]deg)?))$/;function Wpe(e,t){let o=(""+e).match(Npe);if(!o||o[1]==="normal")return t*1.2;switch(e=+o[2],o[3]){case"px":return e;case"%":e/=100;break}return t*e}var Upe=e=>+e||0;function KL(e,t){let o={},r=Tt(t),n=r?Object.keys(t):t,a=Tt(e)?r?s=>wt(e[s],e[t[s]]):s=>e[s]:()=>e;for(let s of n)o[s]=Upe(a(s));return o}function QL(e){return KL(e,{top:"y",right:"x",bottom:"y",left:"x"})}function Iu(e){return KL(e,["topLeft","topRight","bottomLeft","bottomRight"])}function Dn(e){let t=QL(e);return t.width=t.left+t.right,t.height=t.top+t.bottom,t}function un(e,t){e=e||{},t=t||yo.font;let o=wt(e.size,t.size);typeof o=="string"&&(o=parseInt(o,10));let r=wt(e.style,t.style);r&&!(""+r).match(zpe)&&(console.warn('Invalid font style specified: "'+r+'"'),r=void 0);let n={family:wt(e.family,t.family),lineHeight:Wpe(wt(e.lineHeight,t.lineHeight),o),size:o,style:r,weight:wt(e.weight,t.weight),string:""};return n.string=Fpe(n),n}function k2(e,t,o,r){let n=!0,a,s,i;for(a=0,s=e.length;a<s;++a)if(i=e[a],i!==void 0&&(t!==void 0&&typeof i=="function"&&(i=i(t),n=!1),o!==void 0&&po(i)&&(i=i[o%i.length],n=!1),i!==void 0))return r&&!n&&(r.cacheable=!1),i}function M$(e,t,o){let{min:r,max:n}=e,a=u$(t,(n-r)/2),s=(i,l)=>o&&i===0?0:i+l;return{min:s(r,-Math.abs(a)),max:s(n,a)}}function vu(e,t){return Object.assign(Object.create(e),t)}function s6(e,t=[""],o,r,n=()=>e[0]){let a=o||e;typeof r>"u"&&(r=E$("_fallback",e));let s={[Symbol.toStringTag]:"Object",_cacheable:!0,_scopes:e,_rootScopes:a,_fallback:r,_getTarget:n,override:i=>s6([i,...e],t,a,r)};return new Proxy(s,{deleteProperty(i,l){return delete i[l],delete i._keys,delete e[0][l],!0},get(i,l){return L$(i,l,()=>Kpe(l,t,e,i))},getOwnPropertyDescriptor(i,l){return Reflect.getOwnPropertyDescriptor(i._scopes[0],l)},getPrototypeOf(){return Reflect.getPrototypeOf(e[0])},has(i,l){return l$(i).includes(l)},ownKeys(i){return l$(i)},set(i,l,c){let u=i._storage||(i._storage=n());return i[l]=u[l]=c,delete i._keys,!0}})}function sf(e,t,o,r){let n={_cacheable:!1,_proxy:e,_context:t,_subProxy:o,_stack:new Set,_descriptors:JL(e,r),setContext:a=>sf(e,a,o,r),override:a=>sf(e.override(a),t,o,r)};return new Proxy(n,{deleteProperty(a,s){return delete a[s],delete e[s],!0},get(a,s,i){return L$(a,s,()=>jpe(a,s,i))},getOwnPropertyDescriptor(a,s){return a._descriptors.allKeys?Reflect.has(e,s)?{enumerable:!0,configurable:!0}:void 0:Reflect.getOwnPropertyDescriptor(e,s)},getPrototypeOf(){return Reflect.getPrototypeOf(e)},has(a,s){return Reflect.has(e,s)},ownKeys(){return Reflect.ownKeys(e)},set(a,s,i){return e[s]=i,delete a[s],!0}})}function JL(e,t={scriptable:!0,indexable:!0}){let{_scriptable:o=t.scriptable,_indexable:r=t.indexable,_allKeys:n=t.allKeys}=e;return{allKeys:n,scriptable:o,indexable:r,isScriptable:$l(o)?o:()=>o,isIndexable:$l(r)?r:()=>r}}var Zpe=(e,t)=>e?e+Q8(t):t,eP=(e,t)=>Tt(t)&&e!=="adapters"&&(Object.getPrototypeOf(t)===null||t.constructor===Object);function L$(e,t,o){if(Object.prototype.hasOwnProperty.call(e,t)||t==="constructor")return e[t];let r=o();return e[t]=r,r}function jpe(e,t,o){let{_proxy:r,_context:n,_subProxy:a,_descriptors:s}=e,i=r[t];return $l(i)&&s.isScriptable(t)&&(i=Gpe(t,i,e,o)),po(i)&&i.length&&(i=$pe(t,i,e,s.isIndexable)),eP(t,i)&&(i=sf(i,n,a&&a[t],s)),i}function Gpe(e,t,o,r){let{_proxy:n,_context:a,_subProxy:s,_stack:i}=o;if(i.has(e))throw new Error("Recursion detected: "+Array.from(i).join("->")+"->"+e);i.add(e);let l=t(a,s||r);return i.delete(e),eP(e,l)&&(l=tP(n._scopes,n,e,l)),l}function $pe(e,t,o,r){let{_proxy:n,_context:a,_subProxy:s,_descriptors:i}=o;if(typeof a.index<"u"&&r(e))return t[a.index%t.length];if(Tt(t[0])){let l=t,c=n._scopes.filter(u=>u!==l);t=[];for(let u of l){let m=tP(c,n,e,u);t.push(sf(m,a,s&&s[e],i))}}return t}function P$(e,t,o){return $l(e)?e(t,o):e}var qpe=(e,t)=>e===!0?t:typeof e=="string"?lf(t,e):void 0;function Xpe(e,t,o,r,n){for(let a of t){let s=qpe(o,a);if(s){e.add(s);let i=P$(s._fallback,o,n);if(typeof i<"u"&&i!==o&&i!==r)return i}else if(s===!1&&typeof r<"u"&&o!==r)return null}return!1}function tP(e,t,o,r){let n=t._rootScopes,a=P$(t._fallback,o,r),s=[...e,...n],i=new Set;i.add(r);let l=i$(i,s,o,a||o,r);return l===null||typeof a<"u"&&a!==o&&(l=i$(i,s,a,l,r),l===null)?!1:s6(Array.from(i),[""],n,a,()=>Ype(t,o,r))}function i$(e,t,o,r,n){for(;o;)o=Xpe(e,t,o,r,n);return o}function Ype(e,t,o){let r=e._getTarget();t in r||(r[t]={});let n=r[t];return po(n)&&Tt(o)?o:n||{}}function Kpe(e,t,o,r){let n;for(let a of t)if(n=E$(Zpe(a,e),o),typeof n<"u")return eP(e,n)?tP(o,r,e,n):n}function E$(e,t){for(let o of t){if(!o)continue;let r=o[e];if(typeof r<"u")return r}}function l$(e){let t=e._keys;return t||(t=e._keys=Qpe(e._scopes)),t}function Qpe(e){let t=new Set;for(let o of e)for(let r of Object.keys(o).filter(n=>!n.startsWith("_")))t.add(r);return Array.from(t)}var Eat=Number.EPSILON||1e-14;function i6(){return typeof window<"u"&&typeof document<"u"}function l6(e){let t=e.parentNode;return t&&t.toString()==="[object ShadowRoot]"&&(t=t.host),t}function K8(e,t,o){let r;return typeof e=="string"?(r=parseInt(e,10),e.indexOf("%")!==-1&&(r=r/100*t.parentNode[o])):r=e,r}var c6=e=>e.ownerDocument.defaultView.getComputedStyle(e,null);function Jpe(e,t){return c6(e).getPropertyValue(t)}var e0e=["top","right","bottom","left"];function af(e,t,o){let r={};o=o?"-"+o:"";for(let n=0;n<4;n++){let a=e0e[n];r[a]=parseFloat(e[t+"-"+a+o])||0}return r.width=r.left+r.right,r.height=r.top+r.bottom,r}var t0e=(e,t,o)=>(e>0||t>0)&&(!o||!o.shadowRoot);function o0e(e,t){let o=e.touches,r=o&&o.length?o[0]:e,{offsetX:n,offsetY:a}=r,s=!1,i,l;if(t0e(n,a,e.target))i=n,l=a;else{let c=t.getBoundingClientRect();i=r.clientX-c.left,l=r.clientY-c.top,s=!0}return{x:i,y:l,box:s}}function Cu(e,t){if("native"in e)return e;let{canvas:o,currentDevicePixelRatio:r}=t,n=c6(o),a=n.boxSizing==="border-box",s=af(n,"padding"),i=af(n,"border","width"),{x:l,y:c,box:u}=o0e(e,o),m=s.left+(u&&i.left),f=s.top+(u&&i.top),{width:d,height:p}=t;return a&&(d-=s.width+i.width,p-=s.height+i.height),{x:Math.round((l-m)/d*o.width/r),y:Math.round((c-f)/p*o.height/r)}}function r0e(e,t,o){let r,n;if(t===void 0||o===void 0){let a=e&&l6(e);if(!a)t=e.clientWidth,o=e.clientHeight;else{let s=a.getBoundingClientRect(),i=c6(a),l=af(i,"border","width"),c=af(i,"padding");t=s.width-c.width-l.width,o=s.height-c.height-l.height,r=K8(i.maxWidth,a,"clientWidth"),n=K8(i.maxHeight,a,"clientHeight")}}return{width:t,height:o,maxWidth:r||Y8,maxHeight:n||Y8}}var yu=e=>Math.round(e*10)/10;function B$(e,t,o,r){let n=c6(e),a=af(n,"margin"),s=K8(n.maxWidth,e,"clientWidth")||Y8,i=K8(n.maxHeight,e,"clientHeight")||Y8,l=r0e(e,t,o),{width:c,height:u}=l;if(n.boxSizing==="content-box"){let f=af(n,"border","width"),d=af(n,"padding");c-=d.width+f.width,u-=d.height+f.height}return c=Math.max(0,c-a.width),u=Math.max(0,r?c/r:u-a.height),c=yu(Math.min(c,s,l.maxWidth)),u=yu(Math.min(u,i,l.maxHeight)),c&&!u&&(u=yu(c/2)),(t!==void 0||o!==void 0)&&r&&l.height&&u>l.height&&(u=l.height,c=yu(Math.floor(u*r))),{width:c,height:u}}function oP(e,t,o){let r=t||1,n=yu(e.height*r),a=yu(e.width*r);e.height=yu(e.height),e.width=yu(e.width);let s=e.canvas;return s.style&&(o||!s.style.height&&!s.style.width)&&(s.style.height=`${e.height}px`,s.style.width=`${e.width}px`),e.currentDevicePixelRatio!==r||s.height!==n||s.width!==a?(e.currentDevicePixelRatio=r,s.height=n,s.width=a,e.ctx.setTransform(r,0,0,r,0,0),!0):!1}var D$=(function(){let e=!1;try{let t={get passive(){return e=!0,!1}};i6()&&(window.addEventListener("test",null,t),window.removeEventListener("test",null,t))}catch{}return e})();function rP(e,t){let o=Jpe(e,t),r=o&&o.match(/^(\d+)(\.\d+)?px$/);return r?+r[1]:void 0}var n0e=function(e,t){return{x(o){return e+e+t-o},setWidth(o){t=o},textAlign(o){return o==="center"?o:o==="right"?"left":"right"},xPlus(o,r){return o-r},leftForLtr(o,r){return o-r}}},a0e=function(){return{x(e){return e},setWidth(e){},textAlign(e){return e},xPlus(e,t){return e+t},leftForLtr(e,t){return e}}};function ff(e,t,o){return e?n0e(t,o):a0e()}function nP(e,t){let o,r;(t==="ltr"||t==="rtl")&&(o=e.canvas.style,r=[o.getPropertyValue("direction"),o.getPropertyPriority("direction")],o.setProperty("direction",t,"important"),e.prevTextDirection=r)}function aP(e,t){t!==void 0&&(delete e.prevTextDirection,e.canvas.style.setProperty("direction",t[0],t[1]))}function q8(e,t,o){return e.options.clip?e[o]:t[o]}function s0e(e,t){let{xScale:o,yScale:r}=e;return o&&r?{left:q8(o,t,"left"),right:q8(o,t,"right"),top:q8(r,t,"top"),bottom:q8(r,t,"bottom")}:t}function R$(e,t){let o=t._clip;if(o.disabled)return!1;let r=s0e(t,e.chartArea);return{left:o.left===!1?0:r.left-(o.left===!0?0:o.left),right:o.right===!1?e.width:r.right+(o.right===!0?0:o.right),top:o.top===!1?0:r.top-(o.top===!0?0:o.top),bottom:o.bottom===!1?e.height:r.bottom+(o.bottom===!0?0:o.bottom)}}/*!
|
|
1196
|
+
* Chart.js v4.5.1
|
|
1197
|
+
* https://www.chartjs.org
|
|
1198
|
+
* (c) 2025 Chart.js Contributors
|
|
1199
|
+
* Released under the MIT License
|
|
1200
|
+
*/var hP=class{constructor(){this._request=null,this._charts=new Map,this._running=!1,this._lastDate=void 0}_notify(t,o,r,n){let a=o.listeners[n],s=o.duration;a.forEach(i=>i({chart:t,initial:o.initial,numSteps:s,currentStep:Math.min(r-o.start,s)}))}_refresh(){this._request||(this._running=!0,this._request=ZL.call(window,()=>{this._update(),this._request=null,this._running&&this._refresh()}))}_update(t=Date.now()){let o=0;this._charts.forEach((r,n)=>{if(!r.running||!r.items.length)return;let a=r.items,s=a.length-1,i=!1,l;for(;s>=0;--s)l=a[s],l._active?(l._total>r.duration&&(r.duration=l._total),l.tick(t),i=!0):(a[s]=a[a.length-1],a.pop());i&&(n.draw(),this._notify(n,r,t,"progress")),a.length||(r.running=!1,this._notify(n,r,t,"complete"),r.initial=!1),o+=a.length}),this._lastDate=t,o===0&&(this._running=!1)}_getAnims(t){let o=this._charts,r=o.get(t);return r||(r={running:!1,initial:!0,items:[],listeners:{complete:[],progress:[]}},o.set(t,r)),r}listen(t,o,r){this._getAnims(t).listeners[o].push(r)}add(t,o){!o||!o.length||this._getAnims(t).items.push(...o)}has(t){return this._getAnims(t).items.length>0}start(t){let o=this._charts.get(t);o&&(o.running=!0,o.start=Date.now(),o.duration=o.items.reduce((r,n)=>Math.max(r,n._duration),0),this._refresh())}running(t){if(!this._running)return!1;let o=this._charts.get(t);return!(!o||!o.running||!o.items.length)}stop(t){let o=this._charts.get(t);if(!o||!o.items.length)return;let r=o.items,n=r.length-1;for(;n>=0;--n)r[n].cancel();o.items=[],this._notify(t,o,Date.now(),"complete")}remove(t){return this._charts.delete(t)}},Kl=new hP,_$="transparent",i0e={boolean(e,t,o){return o>.5?t:e},color(e,t,o){let r=$L(e||_$),n=r.valid&&$L(t||_$);return n&&n.valid?n.mix(r,o).hexString():t},number(e,t,o){return e+(t-e)*o}},gP=class{constructor(t,o,r,n){let a=o[r];n=k2([t.to,n,a,t.from]);let s=k2([t.from,a,n]);this._active=!0,this._fn=t.fn||i0e[t.type||typeof s],this._easing=k0[t.easing]||k0.linear,this._start=Math.floor(Date.now()+(t.delay||0)),this._duration=this._total=Math.floor(t.duration),this._loop=!!t.loop,this._target=o,this._prop=r,this._from=s,this._to=n,this._promises=void 0}active(){return this._active}update(t,o,r){if(this._active){this._notify(!1);let n=this._target[this._prop],a=r-this._start,s=this._duration-a;this._start=r,this._duration=Math.floor(Math.max(s,t.duration)),this._total+=a,this._loop=!!t.loop,this._to=k2([t.to,o,n,t.from]),this._from=k2([t.from,n,o])}}cancel(){this._active&&(this.tick(Date.now()),this._active=!1,this._notify(!1))}tick(t){let o=t-this._start,r=this._duration,n=this._prop,a=this._from,s=this._loop,i=this._to,l;if(this._active=a!==i&&(s||o<r),!this._active){this._target[n]=i,this._notify(!0);return}if(o<0){this._target[n]=a;return}l=o/r%2,l=s&&l>1?2-l:l,l=this._easing(Math.min(1,Math.max(0,l))),this._target[n]=this._fn(a,i,l)}wait(){let t=this._promises||(this._promises=[]);return new Promise((o,r)=>{t.push({res:o,rej:r})})}_notify(t){let o=t?"res":"rej",r=this._promises||[];for(let n=0;n<r.length;n++)r[n][o]()}},S6=class{constructor(t,o){this._chart=t,this._properties=new Map,this.configure(o)}configure(t){if(!Tt(t))return;let o=Object.keys(yo.animation),r=this._properties;Object.getOwnPropertyNames(t).forEach(n=>{let a=t[n];if(!Tt(a))return;let s={};for(let i of o)s[i]=a[i];(po(a.properties)&&a.properties||[n]).forEach(i=>{(i===n||!r.has(i))&&r.set(i,s)})})}_animateOptions(t,o){let r=o.options,n=c0e(t,r);if(!n)return[];let a=this._createAnimations(n,r);return r.$shared&&l0e(t.options.$animations,r).then(()=>{t.options=r},()=>{}),a}_createAnimations(t,o){let r=this._properties,n=[],a=t.$animations||(t.$animations={}),s=Object.keys(o),i=Date.now(),l;for(l=s.length-1;l>=0;--l){let c=s[l];if(c.charAt(0)==="$")continue;if(c==="options"){n.push(...this._animateOptions(t,o));continue}let u=o[c],m=a[c],f=r.get(c);if(m)if(f&&m.active()){m.update(f,u,i);continue}else m.cancel();if(!f||!f.duration){t[c]=u;continue}a[c]=m=new gP(f,t,c,u),n.push(m)}return n}update(t,o){if(this._properties.size===0){Object.assign(t,o);return}let r=this._createAnimations(t,o);if(r.length)return Kl.add(this._chart,r),!0}};function l0e(e,t){let o=[],r=Object.keys(t);for(let n=0;n<r.length;n++){let a=e[r[n]];a&&a.active()&&o.push(a.wait())}return Promise.all(o)}function c0e(e,t){if(!t)return;let o=e.options;if(!o){e.options=t;return}return o.$shared&&(e.options=o=Object.assign({},o,{$shared:!1,$animations:{}})),o}function F$(e,t){let o=e&&e.options||{},r=o.reverse,n=o.min===void 0?t:0,a=o.max===void 0?t:0;return{start:r?a:n,end:r?n:a}}function u0e(e,t,o){if(o===!1)return!1;let r=F$(e,o),n=F$(t,o);return{top:n.end,right:r.end,bottom:n.start,left:r.start}}function m0e(e){let t,o,r,n;return Tt(e)?(t=e.top,o=e.right,r=e.bottom,n=e.left):t=o=r=n=e,{top:t,right:o,bottom:r,left:n,disabled:e===!1}}function Tq(e,t){let o=[],r=e._getSortedDatasetMetas(t),n,a;for(n=0,a=r.length;n<a;++n)o.push(r[n].index);return o}function H$(e,t,o,r={}){let n=e.keys,a=r.mode==="single",s,i,l,c;if(t===null)return;let u=!1;for(s=0,i=n.length;s<i;++s){if(l=+n[s],l===o){if(u=!0,r.all)continue;break}c=e.values[l],Kr(c)&&(a||t===0||Xl(t)===Xl(c))&&(t+=c)}return!u&&!r.all?0:t}function f0e(e,t){let{iScale:o,vScale:r}=t,n=o.axis==="x"?"x":"y",a=r.axis==="x"?"x":"y",s=Object.keys(e),i=new Array(s.length),l,c,u;for(l=0,c=s.length;l<c;++l)u=s[l],i[l]={[n]:u,[a]:e[u]};return i}function sP(e,t){let o=e&&e.options.stacked;return o||o===void 0&&t.stack!==void 0}function d0e(e,t,o){return`${e.id}.${t.id}.${o.stack||o.type}`}function p0e(e){let{min:t,max:o,minDefined:r,maxDefined:n}=e.getUserBounds();return{min:r?t:Number.NEGATIVE_INFINITY,max:n?o:Number.POSITIVE_INFINITY}}function h0e(e,t,o){let r=e[t]||(e[t]={});return r[o]||(r[o]={})}function O$(e,t,o,r){for(let n of t.getMatchingVisibleMetas(r).reverse()){let a=e[n.index];if(o&&a>0||!o&&a<0)return n.index}return null}function V$(e,t){let{chart:o,_cachedMeta:r}=e,n=o._stacks||(o._stacks={}),{iScale:a,vScale:s,index:i}=r,l=a.axis,c=s.axis,u=d0e(a,s,r),m=t.length,f;for(let d=0;d<m;++d){let p=t[d],{[l]:h,[c]:S}=p,g=p._stacks||(p._stacks={});f=g[c]=h0e(n,u,h),f[i]=S,f._top=O$(f,s,!0,r.type),f._bottom=O$(f,s,!1,r.type);let b=f._visualValues||(f._visualValues={});b[i]=S}}function iP(e,t){let o=e.scales;return Object.keys(o).filter(r=>o[r].axis===t).shift()}function g0e(e,t){return vu(e,{active:!1,dataset:void 0,datasetIndex:t,index:t,mode:"default",type:"dataset"})}function b0e(e,t,o){return vu(e,{active:!1,dataIndex:t,parsed:void 0,raw:void 0,element:o,index:t,mode:"default",type:"data"})}function M2(e,t){let o=e.controller.index,r=e.vScale&&e.vScale.axis;if(r){t=t||e._parsed;for(let n of t){let a=n._stacks;if(!a||a[r]===void 0||a[r][o]===void 0)return;delete a[r][o],a[r]._visualValues!==void 0&&a[r]._visualValues[o]!==void 0&&delete a[r]._visualValues[o]}}}var lP=e=>e==="reset"||e==="none",N$=(e,t)=>t?e:Object.assign({},e),y0e=(e,t,o)=>e&&!t.hidden&&t._stacked&&{keys:Tq(o,!0),values:null},hf=class{constructor(t,o){this.chart=t,this._ctx=t.ctx,this.index=o,this._cachedDataOpts={},this._cachedMeta=this.getMeta(),this._type=this._cachedMeta.type,this.options=void 0,this._parsing=!1,this._data=void 0,this._objectData=void 0,this._sharedOptions=void 0,this._drawStart=void 0,this._drawCount=void 0,this.enableOptionSharing=!1,this.supportsDecimation=!1,this.$context=void 0,this._syncList=[],this.datasetElementType=new.target.datasetElementType,this.dataElementType=new.target.dataElementType,this.initialize()}initialize(){let t=this._cachedMeta;this.configure(),this.linkScales(),t._stacked=sP(t.vScale,t),this.addElements(),this.options.fill&&!this.chart.isPluginEnabled("filler")&&console.warn("Tried to use the 'fill' option without the 'Filler' plugin enabled. Please import and register the 'Filler' plugin and make sure it is not disabled in the options")}updateIndex(t){this.index!==t&&M2(this._cachedMeta),this.index=t}linkScales(){let t=this.chart,o=this._cachedMeta,r=this.getDataset(),n=(m,f,d,p)=>m==="x"?f:m==="r"?p:d,a=o.xAxisID=wt(r.xAxisID,iP(t,"x")),s=o.yAxisID=wt(r.yAxisID,iP(t,"y")),i=o.rAxisID=wt(r.rAxisID,iP(t,"r")),l=o.indexAxis,c=o.iAxisID=n(l,a,s,i),u=o.vAxisID=n(l,s,a,i);o.xScale=this.getScaleForId(a),o.yScale=this.getScaleForId(s),o.rScale=this.getScaleForId(i),o.iScale=this.getScaleForId(c),o.vScale=this.getScaleForId(u)}getDataset(){return this.chart.data.datasets[this.index]}getMeta(){return this.chart.getDatasetMeta(this.index)}getScaleForId(t){return this.chart.scales[t]}_getOtherScale(t){let o=this._cachedMeta;return t===o.iScale?o.vScale:o.iScale}reset(){this._update("reset")}_destroy(){let t=this._cachedMeta;this._data&&WL(this._data,this),t._stacked&&M2(t)}_dataCheck(){let t=this.getDataset(),o=t.data||(t.data=[]),r=this._data;if(Tt(o)){let n=this._cachedMeta;this._data=f0e(o,n)}else if(r!==o){if(r){WL(r,this);let n=this._cachedMeta;M2(n),n._parsed=[]}o&&Object.isExtensible(o)&&v$(o,this),this._syncList=[],this._data=o}}addElements(){let t=this._cachedMeta;this._dataCheck(),this.datasetElementType&&(t.dataset=new this.datasetElementType)}buildOrUpdateElements(t){let o=this._cachedMeta,r=this.getDataset(),n=!1;this._dataCheck();let a=o._stacked;o._stacked=sP(o.vScale,o),o.stack!==r.stack&&(n=!0,M2(o),o.stack=r.stack),this._resyncElements(t),(n||a!==o._stacked)&&(V$(this,o._parsed),o._stacked=sP(o.vScale,o))}configure(){let t=this.chart.config,o=t.datasetScopeKeys(this._type),r=t.getOptionScopes(this.getDataset(),o,!0);this.options=t.createResolver(r,this.getContext()),this._parsing=this.options.parsing,this._cachedDataOpts={}}parse(t,o){let{_cachedMeta:r,_data:n}=this,{iScale:a,_stacked:s}=r,i=a.axis,l=t===0&&o===n.length?!0:r._sorted,c=t>0&&r._parsed[t-1],u,m,f;if(this._parsing===!1)r._parsed=n,r._sorted=!0,f=n;else{po(n[t])?f=this.parseArrayData(r,n,t,o):Tt(n[t])?f=this.parseObjectData(r,n,t,o):f=this.parsePrimitiveData(r,n,t,o);let d=()=>m[i]===null||c&&m[i]<c[i];for(u=0;u<o;++u)r._parsed[u+t]=m=f[u],l&&(d()&&(l=!1),c=m);r._sorted=l}s&&V$(this,f)}parsePrimitiveData(t,o,r,n){let{iScale:a,vScale:s}=t,i=a.axis,l=s.axis,c=a.getLabels(),u=a===s,m=new Array(n),f,d,p;for(f=0,d=n;f<d;++f)p=f+r,m[f]={[i]:u||a.parse(c[p],p),[l]:s.parse(o[p],p)};return m}parseArrayData(t,o,r,n){let{xScale:a,yScale:s}=t,i=new Array(n),l,c,u,m;for(l=0,c=n;l<c;++l)u=l+r,m=o[u],i[l]={x:a.parse(m[0],u),y:s.parse(m[1],u)};return i}parseObjectData(t,o,r,n){let{xScale:a,yScale:s}=t,{xAxisKey:i="x",yAxisKey:l="y"}=this._parsing,c=new Array(n),u,m,f,d;for(u=0,m=n;u<m;++u)f=u+r,d=o[f],c[u]={x:a.parse(lf(d,i),f),y:s.parse(lf(d,l),f)};return c}getParsed(t){return this._cachedMeta._parsed[t]}getDataElement(t){return this._cachedMeta.data[t]}applyStack(t,o,r){let n=this.chart,a=this._cachedMeta,s=o[t.axis],i={keys:Tq(n,!0),values:o._stacks[t.axis]._visualValues};return H$(i,s,a.index,{mode:r})}updateRangeFromParsed(t,o,r,n){let a=r[o.axis],s=a===null?NaN:a,i=n&&r._stacks[o.axis];n&&i&&(n.values=i,s=H$(n,a,this._cachedMeta.index)),t.min=Math.min(t.min,s),t.max=Math.max(t.max,s)}getMinMax(t,o){let r=this._cachedMeta,n=r._parsed,a=r._sorted&&t===r.iScale,s=n.length,i=this._getOtherScale(t),l=y0e(o,r,this.chart),c={min:Number.POSITIVE_INFINITY,max:Number.NEGATIVE_INFINITY},{min:u,max:m}=p0e(i),f,d;function p(){d=n[f];let h=d[i.axis];return!Kr(d[t.axis])||u>h||m<h}for(f=0;f<s&&!(!p()&&(this.updateRangeFromParsed(c,t,d,l),a));++f);if(a){for(f=s-1;f>=0;--f)if(!p()){this.updateRangeFromParsed(c,t,d,l);break}}return c}getAllParsedValues(t){let o=this._cachedMeta._parsed,r=[],n,a,s;for(n=0,a=o.length;n<a;++n)s=o[n][t.axis],Kr(s)&&r.push(s);return r}getMaxOverflow(){return!1}getLabelAndValue(t){let o=this._cachedMeta,r=o.iScale,n=o.vScale,a=this.getParsed(t);return{label:r?""+r.getLabelForValue(a[r.axis]):"",value:n?""+n.getLabelForValue(a[n.axis]):""}}_update(t){let o=this._cachedMeta;this.update(t||"default"),o._clip=m0e(wt(this.options.clip,u0e(o.xScale,o.yScale,this.getMaxOverflow())))}update(t){}draw(){let t=this._ctx,o=this.chart,r=this._cachedMeta,n=r.data||[],a=o.chartArea,s=[],i=this._drawStart||0,l=this._drawCount||n.length-i,c=this.options.drawActiveElementsOnTop,u;for(r.dataset&&r.dataset.draw(t,a,i,l),u=i;u<i+l;++u){let m=n[u];m.hidden||(m.active&&c?s.push(m):m.draw(t,a))}for(u=0;u<s.length;++u)s[u].draw(t,a)}getStyle(t,o){let r=o?"active":"default";return t===void 0&&this._cachedMeta.dataset?this.resolveDatasetElementOptions(r):this.resolveDataElementOptions(t||0,r)}getContext(t,o,r){let n=this.getDataset(),a;if(t>=0&&t<this._cachedMeta.data.length){let s=this._cachedMeta.data[t];a=s.$context||(s.$context=b0e(this.getContext(),t,s)),a.parsed=this.getParsed(t),a.raw=n.data[t],a.index=a.dataIndex=t}else a=this.$context||(this.$context=g0e(this.chart.getContext(),this.index)),a.dataset=n,a.index=a.datasetIndex=this.index;return a.active=!!o,a.mode=r,a}resolveDatasetElementOptions(t){return this._resolveElementOptions(this.datasetElementType.id,t)}resolveDataElementOptions(t,o){return this._resolveElementOptions(this.dataElementType.id,o,t)}_resolveElementOptions(t,o="default",r){let n=o==="active",a=this._cachedDataOpts,s=t+"-"+o,i=a[s],l=this.enableOptionSharing&&P0(r);if(i)return N$(i,l);let c=this.chart.config,u=c.datasetElementScopeKeys(this._type,t),m=n?[`${t}Hover`,"hover",t,""]:[t,""],f=c.getOptionScopes(this.getDataset(),u),d=Object.keys(yo.elements[t]),p=()=>this.getContext(r,n,o),h=c.resolveNamedOptions(f,d,p,m);return h.$shared&&(h.$shared=l,a[s]=Object.freeze(N$(h,l))),h}_resolveAnimations(t,o,r){let n=this.chart,a=this._cachedDataOpts,s=`animation-${o}`,i=a[s];if(i)return i;let l;if(n.options.animation!==!1){let u=this.chart.config,m=u.datasetAnimationScopeKeys(this._type,o),f=u.getOptionScopes(this.getDataset(),m);l=u.createResolver(f,this.getContext(t,r,o))}let c=new S6(n,l&&l.animations);return l&&l._cacheable&&(a[s]=Object.freeze(c)),c}getSharedOptions(t){if(t.$shared)return this._sharedOptions||(this._sharedOptions=Object.assign({},t))}includeOptions(t,o){return!o||lP(t)||this.chart._animationsDisabled}_getSharedOptions(t,o){let r=this.resolveDataElementOptions(t,o),n=this._sharedOptions,a=this.getSharedOptions(r),s=this.includeOptions(o,a)||a!==n;return this.updateSharedOptions(a,o,r),{sharedOptions:a,includeOptions:s}}updateElement(t,o,r,n){lP(n)?Object.assign(t,r):this._resolveAnimations(o,n).update(t,r)}updateSharedOptions(t,o,r){t&&!lP(o)&&this._resolveAnimations(void 0,o).update(t,r)}_setStyle(t,o,r,n){t.active=n;let a=this.getStyle(o,n);this._resolveAnimations(o,r,n).update(t,{options:!n&&this.getSharedOptions(a)||a})}removeHoverStyle(t,o,r){this._setStyle(t,r,"active",!1)}setHoverStyle(t,o,r){this._setStyle(t,r,"active",!0)}_removeDatasetHoverStyle(){let t=this._cachedMeta.dataset;t&&this._setStyle(t,void 0,"active",!1)}_setDatasetHoverStyle(){let t=this._cachedMeta.dataset;t&&this._setStyle(t,void 0,"active",!0)}_resyncElements(t){let o=this._data,r=this._cachedMeta.data;for(let[i,l,c]of this._syncList)this[i](l,c);this._syncList=[];let n=r.length,a=o.length,s=Math.min(a,n);s&&this.parse(0,s),a>n?this._insertElements(n,a-n,t):a<n&&this._removeElements(a,n-a)}_insertElements(t,o,r=!0){let n=this._cachedMeta,a=n.data,s=t+o,i,l=c=>{for(c.length+=o,i=c.length-1;i>=s;i--)c[i]=c[i-o]};for(l(a),i=t;i<s;++i)a[i]=new this.dataElementType;this._parsing&&l(n._parsed),this.parse(t,o),r&&this.updateElements(a,t,o,"reset")}updateElements(t,o,r,n){}_removeElements(t,o){let r=this._cachedMeta;if(this._parsing){let n=r._parsed.splice(t,o);r._stacked&&M2(r,n)}r.data.splice(t,o)}_sync(t){if(this._parsing)this._syncList.push(t);else{let[o,r,n]=t;this[o](r,n)}this.chart._dataChanges.push([this.index,...t])}_onDataPush(){let t=arguments.length;this._sync(["_insertElements",this.getDataset().data.length-t,t])}_onDataPop(){this._sync(["_removeElements",this._cachedMeta.data.length-1,1])}_onDataShift(){this._sync(["_removeElements",0,1])}_onDataSplice(t,o){o&&this._sync(["_removeElements",t,o]);let r=arguments.length-2;r&&this._sync(["_insertElements",t,r])}_onDataUnshift(){this._sync(["_insertElements",0,arguments.length])}};rt(hf,"defaults",{}),rt(hf,"datasetElementType",null),rt(hf,"dataElementType",null);function S0e(e,t){if(!e._cache.$bar){let o=e.getMatchingVisibleMetas(t),r=[];for(let n=0,a=o.length;n<a;n++)r=r.concat(o[n].controller.getAllParsedValues(e));e._cache.$bar=UL(r.sort((n,a)=>n-a))}return e._cache.$bar}function x0e(e){let t=e.iScale,o=S0e(t,e.type),r=t._length,n,a,s,i,l=()=>{s===32767||s===-32768||(P0(i)&&(r=Math.min(r,Math.abs(s-i)||r)),i=s)};for(n=0,a=o.length;n<a;++n)s=t.getPixelForValue(o[n]),l();for(i=void 0,n=0,a=t.ticks.length;n<a;++n)s=t.getPixelForTick(n),l();return r}function I0e(e,t,o,r){let n=o.barThickness,a,s;return Bt(n)?(a=t.min*o.categoryPercentage,s=o.barPercentage):(a=n*r,s=1),{chunk:a/r,ratio:s,start:t.pixels[e]-a/2}}function v0e(e,t,o,r){let n=t.pixels,a=n[e],s=e>0?n[e-1]:null,i=e<n.length-1?n[e+1]:null,l=o.categoryPercentage;s===null&&(s=a-(i===null?t.end-t.start:i-a)),i===null&&(i=a+a-s);let c=a-(a-Math.min(s,i))/2*l;return{chunk:Math.abs(i-s)/2*l/r,ratio:o.barPercentage,start:c}}function C0e(e,t,o,r){let n=o.parse(e[0],r),a=o.parse(e[1],r),s=Math.min(n,a),i=Math.max(n,a),l=s,c=i;Math.abs(s)>Math.abs(i)&&(l=i,c=s),t[o.axis]=c,t._custom={barStart:l,barEnd:c,start:n,end:a,min:s,max:i}}function Aq(e,t,o,r){return po(e)?C0e(e,t,o,r):t[o.axis]=o.parse(e,r),t}function z$(e,t,o,r){let n=e.iScale,a=e.vScale,s=n.getLabels(),i=n===a,l=[],c,u,m,f;for(c=o,u=o+r;c<u;++c)f=t[c],m={},m[n.axis]=i||n.parse(s[c],c),l.push(Aq(f,m,a,c));return l}function cP(e){return e&&e.barStart!==void 0&&e.barEnd!==void 0}function w0e(e,t,o){return e!==0?Xl(e):(t.isHorizontal()?1:-1)*(t.min>=o?1:-1)}function T0e(e){let t,o,r,n,a;return e.horizontal?(t=e.base>e.x,o="left",r="right"):(t=e.base<e.y,o="bottom",r="top"),t?(n="end",a="start"):(n="start",a="end"),{start:o,end:r,reverse:t,top:n,bottom:a}}function A0e(e,t,o,r){let n=t.borderSkipped,a={};if(!n){e.borderSkipped=a;return}if(n===!0){e.borderSkipped={top:!0,right:!0,bottom:!0,left:!0};return}let{start:s,end:i,reverse:l,top:c,bottom:u}=T0e(e);n==="middle"&&o&&(e.enableBorderRadius=!0,(o._top||0)===r?n=c:(o._bottom||0)===r?n=u:(a[W$(u,s,i,l)]=!0,n=c)),a[W$(n,s,i,l)]=!0,e.borderSkipped=a}function W$(e,t,o,r){return r?(e=k0e(e,t,o),e=U$(e,o,t)):e=U$(e,t,o),e}function k0e(e,t,o){return e===t?o:e===o?t:e}function U$(e,t,o){return e==="start"?t:e==="end"?o:e}function M0e(e,{inflateAmount:t},o){e.inflateAmount=t==="auto"?o===1?.33:0:t}var gf=class extends hf{parsePrimitiveData(t,o,r,n){return z$(t,o,r,n)}parseArrayData(t,o,r,n){return z$(t,o,r,n)}parseObjectData(t,o,r,n){let{iScale:a,vScale:s}=t,{xAxisKey:i="x",yAxisKey:l="y"}=this._parsing,c=a.axis==="x"?i:l,u=s.axis==="x"?i:l,m=[],f,d,p,h;for(f=r,d=r+n;f<d;++f)h=o[f],p={},p[a.axis]=a.parse(lf(h,c),f),m.push(Aq(lf(h,u),p,s,f));return m}updateRangeFromParsed(t,o,r,n){super.updateRangeFromParsed(t,o,r,n);let a=r._custom;a&&o===this._cachedMeta.vScale&&(t.min=Math.min(t.min,a.min),t.max=Math.max(t.max,a.max))}getMaxOverflow(){return 0}getLabelAndValue(t){let o=this._cachedMeta,{iScale:r,vScale:n}=o,a=this.getParsed(t),s=a._custom,i=cP(s)?"["+s.start+", "+s.end+"]":""+n.getLabelForValue(a[n.axis]);return{label:""+r.getLabelForValue(a[r.axis]),value:i}}initialize(){this.enableOptionSharing=!0,super.initialize();let t=this._cachedMeta;t.stack=this.getDataset().stack}update(t){let o=this._cachedMeta;this.updateElements(o.data,0,o.data.length,t)}updateElements(t,o,r,n){let a=n==="reset",{index:s,_cachedMeta:{vScale:i}}=this,l=i.getBasePixel(),c=i.isHorizontal(),u=this._getRuler(),{sharedOptions:m,includeOptions:f}=this._getSharedOptions(o,n);for(let d=o;d<o+r;d++){let p=this.getParsed(d),h=a||Bt(p[i.axis])?{base:l,head:l}:this._calculateBarValuePixels(d),S=this._calculateBarIndexPixels(d,u),g=(p._stacks||{})[i.axis],b={horizontal:c,base:h.base,enableBorderRadius:!g||cP(p._custom)||s===g._top||s===g._bottom,x:c?h.head:S.center,y:c?S.center:h.head,height:c?S.size:Math.abs(h.size),width:c?Math.abs(h.size):S.size};f&&(b.options=m||this.resolveDataElementOptions(d,t[d].active?"active":n));let I=b.options||t[d].options;A0e(b,I,g,s),M0e(b,I,u.ratio),this.updateElement(t[d],d,b,n)}}_getStacks(t,o){let{iScale:r}=this._cachedMeta,n=r.getMatchingVisibleMetas(this._type).filter(u=>u.controller.options.grouped),a=r.options.stacked,s=[],i=this._cachedMeta.controller.getParsed(o),l=i&&i[r.axis],c=u=>{let m=u._parsed.find(d=>d[r.axis]===l),f=m&&m[u.vScale.axis];if(Bt(f)||isNaN(f))return!0};for(let u of n)if(!(o!==void 0&&c(u))&&((a===!1||s.indexOf(u.stack)===-1||a===void 0&&u.stack===void 0)&&s.push(u.stack),u.index===t))break;return s.length||s.push(void 0),s}_getStackCount(t){return this._getStacks(void 0,t).length}_getAxisCount(){return this._getAxis().length}getFirstScaleIdForIndexAxis(){let t=this.chart.scales,o=this.chart.options.indexAxis;return Object.keys(t).filter(r=>t[r].axis===o).shift()}_getAxis(){let t={},o=this.getFirstScaleIdForIndexAxis();for(let r of this.chart.data.datasets)t[wt(this.chart.options.indexAxis==="x"?r.xAxisID:r.yAxisID,o)]=!0;return Object.keys(t)}_getStackIndex(t,o,r){let n=this._getStacks(t,r),a=o!==void 0?n.indexOf(o):-1;return a===-1?n.length-1:a}_getRuler(){let t=this.options,o=this._cachedMeta,r=o.iScale,n=[],a,s;for(a=0,s=o.data.length;a<s;++a)n.push(r.getPixelForValue(this.getParsed(a)[r.axis],a));let i=t.barThickness;return{min:i||x0e(o),pixels:n,start:r._startPixel,end:r._endPixel,stackCount:this._getStackCount(),scale:r,grouped:t.grouped,ratio:i?1:t.categoryPercentage*t.barPercentage}}_calculateBarValuePixels(t){let{_cachedMeta:{vScale:o,_stacked:r,index:n},options:{base:a,minBarLength:s}}=this,i=a||0,l=this.getParsed(t),c=l._custom,u=cP(c),m=l[o.axis],f=0,d=r?this.applyStack(o,l,r):m,p,h;d!==m&&(f=d-m,d=m),u&&(m=c.barStart,d=c.barEnd-c.barStart,m!==0&&Xl(m)!==Xl(c.barEnd)&&(f=0),f+=m);let S=!Bt(a)&&!u?a:f,g=o.getPixelForValue(S);if(this.chart.getDataVisibility(t)?p=o.getPixelForValue(f+d):p=g,h=p-g,Math.abs(h)<s){h=w0e(h,o,i)*s,m===i&&(g-=h/2);let b=o.getPixelForDecimal(0),I=o.getPixelForDecimal(1),v=Math.min(b,I),C=Math.max(b,I);g=Math.max(Math.min(g,C),v),p=g+h,r&&!u&&(l._stacks[o.axis]._visualValues[n]=o.getValueForPixel(p)-o.getValueForPixel(g))}if(g===o.getPixelForValue(i)){let b=Xl(h)*o.getLineWidthForValue(i)/2;g+=b,h-=b}return{size:h,base:g,head:p,center:p+h/2}}_calculateBarIndexPixels(t,o){let r=o.scale,n=this.options,a=n.skipNull,s=wt(n.maxBarThickness,1/0),i,l,c=this._getAxisCount();if(o.grouped){let u=a?this._getStackCount(t):o.stackCount,m=n.barThickness==="flex"?v0e(t,o,n,u*c):I0e(t,o,n,u*c),f=this.chart.options.indexAxis==="x"?this.getDataset().xAxisID:this.getDataset().yAxisID,d=this._getAxis().indexOf(wt(f,this.getFirstScaleIdForIndexAxis())),p=this._getStackIndex(this.index,this._cachedMeta.stack,a?t:void 0)+d;i=m.start+m.chunk*p+m.chunk/2,l=Math.min(s,m.chunk*m.ratio)}else i=r.getPixelForValue(this.getParsed(t)[r.axis],t),l=Math.min(s,o.min*o.ratio);return{base:i-l/2,head:i+l/2,center:i,size:l}}draw(){let t=this._cachedMeta,o=t.vScale,r=t.data,n=r.length,a=0;for(;a<n;++a)this.getParsed(a)[o.axis]!==null&&!r[a].hidden&&r[a].draw(this._ctx)}};rt(gf,"id","bar"),rt(gf,"defaults",{datasetElementType:!1,dataElementType:"bar",categoryPercentage:.8,barPercentage:.9,grouped:!0,animations:{numbers:{type:"number",properties:["x","y","base","width","height"]}}}),rt(gf,"overrides",{scales:{_index_:{type:"category",offset:!0,grid:{offset:!0}},_value_:{type:"linear",beginAtZero:!0}}});function df(){throw new Error("This method is not implemented: Check that a complete date adapter is provided.")}var bP=class e{constructor(t){rt(this,"options");this.options=t||{}}static override(t){Object.assign(e.prototype,t)}init(){}formats(){return df()}parse(){return df()}format(){return df()}add(){return df()}diff(){return df()}startOf(){return df()}endOf(){return df()}},L0e={_date:bP};function P0e(e,t,o,r){let{controller:n,data:a,_sorted:s}=e,i=n._cachedMeta.iScale,l=e.dataset&&e.dataset.options?e.dataset.options.spanGaps:null;if(i&&t===i.axis&&t!=="r"&&s&&a.length){let c=i._reversePixels?S$:t6;if(r){if(n._sharedOptions){let u=a[0],m=typeof u.getRange=="function"&&u.getRange(t);if(m){let f=c(a,t,o-m),d=c(a,t,o+m);return{lo:f.lo,hi:d.hi}}}}else{let u=c(a,t,o);if(l){let{vScale:m}=n._cachedMeta,{_parsed:f}=e,d=f.slice(0,u.lo+1).reverse().findIndex(h=>!Bt(h[m.axis]));u.lo-=Math.max(0,d);let p=f.slice(u.hi).findIndex(h=>!Bt(h[m.axis]));u.hi+=Math.max(0,p)}return u}}return{lo:0,hi:a.length-1}}function O2(e,t,o,r,n){let a=e.getSortedVisibleDatasetMetas(),s=o[t];for(let i=0,l=a.length;i<l;++i){let{index:c,data:u}=a[i],{lo:m,hi:f}=P0e(a[i],t,s,n);for(let d=m;d<=f;++d){let p=u[d];p.skip||r(p,c,d)}}}function E0e(e){let t=e.indexOf("x")!==-1,o=e.indexOf("y")!==-1;return function(r,n){let a=t?Math.abs(r.x-n.x):0,s=o?Math.abs(r.y-n.y):0;return Math.sqrt(Math.pow(a,2)+Math.pow(s,2))}}function uP(e,t,o,r,n){let a=[];return!n&&!e.isPointInArea(t)||O2(e,o,t,function(i,l,c){!n&&!uf(i,e.chartArea,0)||i.inRange(t.x,t.y,r)&&a.push({element:i,datasetIndex:l,index:c})},!0),a}function B0e(e,t,o,r){let n=[];function a(s,i,l){let{startAngle:c,endAngle:u}=s.getProps(["startAngle","endAngle"],r),{angle:m}=h$(s,{x:t.x,y:t.y});b$(m,c,u)&&n.push({element:s,datasetIndex:i,index:l})}return O2(e,o,t,a),n}function D0e(e,t,o,r,n,a){let s=[],i=E0e(o),l=Number.POSITIVE_INFINITY;function c(u,m,f){let d=u.inRange(t.x,t.y,n);if(r&&!d)return;let p=u.getCenterPoint(n);if(!(!!a||e.isPointInArea(p))&&!d)return;let S=i(t,p);S<l?(s=[{element:u,datasetIndex:m,index:f}],l=S):S===l&&s.push({element:u,datasetIndex:m,index:f})}return O2(e,o,t,c),s}function mP(e,t,o,r,n,a){return!a&&!e.isPointInArea(t)?[]:o==="r"&&!r?B0e(e,t,o,n):D0e(e,t,o,r,n,a)}function Z$(e,t,o,r,n){let a=[],s=o==="x"?"inXRange":"inYRange",i=!1;return O2(e,o,t,(l,c,u)=>{l[s]&&l[s](t[o],n)&&(a.push({element:l,datasetIndex:c,index:u}),i=i||l.inRange(t.x,t.y,n))}),r&&!i?[]:a}var R0e={evaluateInteractionItems:O2,modes:{index(e,t,o,r){let n=Cu(t,e),a=o.axis||"x",s=o.includeInvisible||!1,i=o.intersect?uP(e,n,a,r,s):mP(e,n,a,!1,r,s),l=[];return i.length?(e.getSortedVisibleDatasetMetas().forEach(c=>{let u=i[0].index,m=c.data[u];m&&!m.skip&&l.push({element:m,datasetIndex:c.index,index:u})}),l):[]},dataset(e,t,o,r){let n=Cu(t,e),a=o.axis||"xy",s=o.includeInvisible||!1,i=o.intersect?uP(e,n,a,r,s):mP(e,n,a,!1,r,s);if(i.length>0){let l=i[0].datasetIndex,c=e.getDatasetMeta(l).data;i=[];for(let u=0;u<c.length;++u)i.push({element:c[u],datasetIndex:l,index:u})}return i},point(e,t,o,r){let n=Cu(t,e),a=o.axis||"xy",s=o.includeInvisible||!1;return uP(e,n,a,r,s)},nearest(e,t,o,r){let n=Cu(t,e),a=o.axis||"xy",s=o.includeInvisible||!1;return mP(e,n,a,o.intersect,r,s)},x(e,t,o,r){let n=Cu(t,e);return Z$(e,n,"x",o.intersect,r)},y(e,t,o,r){let n=Cu(t,e);return Z$(e,n,"y",o.intersect,r)}}},kq=["left","top","right","bottom"];function L2(e,t){return e.filter(o=>o.pos===t)}function j$(e,t){return e.filter(o=>kq.indexOf(o.pos)===-1&&o.box.axis===t)}function P2(e,t){return e.sort((o,r)=>{let n=t?r:o,a=t?o:r;return n.weight===a.weight?n.index-a.index:n.weight-a.weight})}function _0e(e){let t=[],o,r,n,a,s,i;for(o=0,r=(e||[]).length;o<r;++o)n=e[o],{position:a,options:{stack:s,stackWeight:i=1}}=n,t.push({index:o,box:n,pos:a,horizontal:n.isHorizontal(),weight:n.weight,stack:s&&a+s,stackWeight:i});return t}function F0e(e){let t={};for(let o of e){let{stack:r,pos:n,stackWeight:a}=o;if(!r||!kq.includes(n))continue;let s=t[r]||(t[r]={count:0,placed:0,weight:0,size:0});s.count++,s.weight+=a}return t}function H0e(e,t){let o=F0e(e),{vBoxMaxWidth:r,hBoxMaxHeight:n}=t,a,s,i;for(a=0,s=e.length;a<s;++a){i=e[a];let{fullSize:l}=i.box,c=o[i.stack],u=c&&i.stackWeight/c.weight;i.horizontal?(i.width=u?u*r:l&&t.availableWidth,i.height=n):(i.width=r,i.height=u?u*n:l&&t.availableHeight)}return o}function O0e(e){let t=_0e(e),o=P2(t.filter(c=>c.box.fullSize),!0),r=P2(L2(t,"left"),!0),n=P2(L2(t,"right")),a=P2(L2(t,"top"),!0),s=P2(L2(t,"bottom")),i=j$(t,"x"),l=j$(t,"y");return{fullSize:o,leftAndTop:r.concat(a),rightAndBottom:n.concat(l).concat(s).concat(i),chartArea:L2(t,"chartArea"),vertical:r.concat(n).concat(l),horizontal:a.concat(s).concat(i)}}function G$(e,t,o,r){return Math.max(e[o],t[o])+Math.max(e[r],t[r])}function Mq(e,t){e.top=Math.max(e.top,t.top),e.left=Math.max(e.left,t.left),e.bottom=Math.max(e.bottom,t.bottom),e.right=Math.max(e.right,t.right)}function V0e(e,t,o,r){let{pos:n,box:a}=o,s=e.maxPadding;if(!Tt(n)){o.size&&(e[n]-=o.size);let m=r[o.stack]||{size:0,count:1};m.size=Math.max(m.size,o.horizontal?a.height:a.width),o.size=m.size/m.count,e[n]+=o.size}a.getPadding&&Mq(s,a.getPadding());let i=Math.max(0,t.outerWidth-G$(s,e,"left","right")),l=Math.max(0,t.outerHeight-G$(s,e,"top","bottom")),c=i!==e.w,u=l!==e.h;return e.w=i,e.h=l,o.horizontal?{same:c,other:u}:{same:u,other:c}}function N0e(e){let t=e.maxPadding;function o(r){let n=Math.max(t[r]-e[r],0);return e[r]+=n,n}e.y+=o("top"),e.x+=o("left"),o("right"),o("bottom")}function z0e(e,t){let o=t.maxPadding;function r(n){let a={left:0,top:0,right:0,bottom:0};return n.forEach(s=>{a[s]=Math.max(t[s],o[s])}),a}return r(e?["left","right"]:["top","bottom"])}function D2(e,t,o,r){let n=[],a,s,i,l,c,u;for(a=0,s=e.length,c=0;a<s;++a){i=e[a],l=i.box,l.update(i.width||t.w,i.height||t.h,z0e(i.horizontal,t));let{same:m,other:f}=V0e(t,o,i,r);c|=m&&n.length,u=u||f,l.fullSize||n.push(i)}return c&&D2(n,t,o,r)||u}function u6(e,t,o,r,n){e.top=o,e.left=t,e.right=t+r,e.bottom=o+n,e.width=r,e.height=n}function $$(e,t,o,r){let n=o.padding,{x:a,y:s}=t;for(let i of e){let l=i.box,c=r[i.stack]||{count:1,placed:0,weight:1},u=i.stackWeight/c.weight||1;if(i.horizontal){let m=t.w*u,f=c.size||l.height;P0(c.start)&&(s=c.start),l.fullSize?u6(l,n.left,s,o.outerWidth-n.right-n.left,f):u6(l,t.left+c.placed,s,m,f),c.start=s,c.placed+=m,s=l.bottom}else{let m=t.h*u,f=c.size||l.width;P0(c.start)&&(a=c.start),l.fullSize?u6(l,a,n.top,f,o.outerHeight-n.bottom-n.top):u6(l,a,t.top+c.placed,f,m),c.start=a,c.placed+=m,a=l.right}}t.x=a,t.y=s}var wu={addBox(e,t){e.boxes||(e.boxes=[]),t.fullSize=t.fullSize||!1,t.position=t.position||"top",t.weight=t.weight||0,t._layers=t._layers||function(){return[{z:0,draw(o){t.draw(o)}}]},e.boxes.push(t)},removeBox(e,t){let o=e.boxes?e.boxes.indexOf(t):-1;o!==-1&&e.boxes.splice(o,1)},configure(e,t,o){t.fullSize=o.fullSize,t.position=o.position,t.weight=o.weight},update(e,t,o,r){if(!e)return;let n=Dn(e.options.layout.padding),a=Math.max(t-n.width,0),s=Math.max(o-n.height,0),i=O0e(e.boxes),l=i.vertical,c=i.horizontal;Dt(e.boxes,h=>{typeof h.beforeLayout=="function"&&h.beforeLayout()});let u=l.reduce((h,S)=>S.box.options&&S.box.options.display===!1?h:h+1,0)||1,m=Object.freeze({outerWidth:t,outerHeight:o,padding:n,availableWidth:a,availableHeight:s,vBoxMaxWidth:a/2/u,hBoxMaxHeight:s/2}),f=Object.assign({},n);Mq(f,Dn(r));let d=Object.assign({maxPadding:f,w:a,h:s,x:n.left,y:n.top},n),p=H0e(l.concat(c),m);D2(i.fullSize,d,m,p),D2(l,d,m,p),D2(c,d,m,p)&&D2(l,d,m,p),N0e(d),$$(i.leftAndTop,d,m,p),d.x+=d.w,d.y+=d.h,$$(i.rightAndBottom,d,m,p),e.chartArea={left:d.left,top:d.top,right:d.left+d.w,bottom:d.top+d.h,height:d.h,width:d.w},Dt(i.chartArea,h=>{let S=h.box;Object.assign(S,e.chartArea),S.update(d.w,d.h,{left:0,top:0,right:0,bottom:0})})}},x6=class{acquireContext(t,o){}releaseContext(t){return!1}addEventListener(t,o,r){}removeEventListener(t,o,r){}getDevicePixelRatio(){return 1}getMaximumSize(t,o,r,n){return o=Math.max(0,o||t.width),r=r||t.height,{width:o,height:Math.max(0,n?Math.floor(o/n):r)}}isAttached(t){return!0}updateConfig(t){}},yP=class extends x6{acquireContext(t){return t&&t.getContext&&t.getContext("2d")||null}updateConfig(t){t.options.animation=!1}},b6="$chartjs",W0e={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"},q$=e=>e===null||e==="";function U0e(e,t){let o=e.style,r=e.getAttribute("height"),n=e.getAttribute("width");if(e[b6]={initial:{height:r,width:n,style:{display:o.display,height:o.height,width:o.width}}},o.display=o.display||"block",o.boxSizing=o.boxSizing||"border-box",q$(n)){let a=rP(e,"width");a!==void 0&&(e.width=a)}if(q$(r))if(e.style.height==="")e.height=e.width/(t||2);else{let a=rP(e,"height");a!==void 0&&(e.height=a)}return e}var Lq=D$?{passive:!0}:!1;function Z0e(e,t,o){e&&e.addEventListener(t,o,Lq)}function j0e(e,t,o){e&&e.canvas&&e.canvas.removeEventListener(t,o,Lq)}function G0e(e,t){let o=W0e[e.type]||e.type,{x:r,y:n}=Cu(e,t);return{type:o,chart:t,native:e,x:r!==void 0?r:null,y:n!==void 0?n:null}}function I6(e,t){for(let o of e)if(o===t||o.contains(t))return!0}function $0e(e,t,o){let r=e.canvas,n=new MutationObserver(a=>{let s=!1;for(let i of a)s=s||I6(i.addedNodes,r),s=s&&!I6(i.removedNodes,r);s&&o()});return n.observe(document,{childList:!0,subtree:!0}),n}function q0e(e,t,o){let r=e.canvas,n=new MutationObserver(a=>{let s=!1;for(let i of a)s=s||I6(i.removedNodes,r),s=s&&!I6(i.addedNodes,r);s&&o()});return n.observe(document,{childList:!0,subtree:!0}),n}var F2=new Map,X$=0;function Pq(){let e=window.devicePixelRatio;e!==X$&&(X$=e,F2.forEach((t,o)=>{o.currentDevicePixelRatio!==e&&t()}))}function X0e(e,t){F2.size||window.addEventListener("resize",Pq),F2.set(e,t)}function Y0e(e){F2.delete(e),F2.size||window.removeEventListener("resize",Pq)}function K0e(e,t,o){let r=e.canvas,n=r&&l6(r);if(!n)return;let a=jL((i,l)=>{let c=n.clientWidth;o(i,l),c<n.clientWidth&&o()},window),s=new ResizeObserver(i=>{let l=i[0],c=l.contentRect.width,u=l.contentRect.height;c===0&&u===0||a(c,u)});return s.observe(n),X0e(e,a),s}function fP(e,t,o){o&&o.disconnect(),t==="resize"&&Y0e(e)}function Q0e(e,t,o){let r=e.canvas,n=jL(a=>{e.ctx!==null&&o(G0e(a,e))},e);return Z0e(r,t,n),n}var SP=class extends x6{acquireContext(t,o){let r=t&&t.getContext&&t.getContext("2d");return r&&r.canvas===t?(U0e(t,o),r):null}releaseContext(t){let o=t.canvas;if(!o[b6])return!1;let r=o[b6].initial;["height","width"].forEach(a=>{let s=r[a];Bt(s)?o.removeAttribute(a):o.setAttribute(a,s)});let n=r.style||{};return Object.keys(n).forEach(a=>{o.style[a]=n[a]}),o.width=o.width,delete o[b6],!0}addEventListener(t,o,r){this.removeEventListener(t,o);let n=t.$proxies||(t.$proxies={}),s={attach:$0e,detach:q0e,resize:K0e}[o]||Q0e;n[o]=s(t,o,r)}removeEventListener(t,o){let r=t.$proxies||(t.$proxies={}),n=r[o];if(!n)return;({attach:fP,detach:fP,resize:fP}[o]||j0e)(t,o,n),r[o]=void 0}getDevicePixelRatio(){return window.devicePixelRatio}getMaximumSize(t,o,r,n){return B$(t,o,r,n)}isAttached(t){let o=t&&l6(t);return!!(o&&o.isConnected)}};function J0e(e){return!i6()||typeof OffscreenCanvas<"u"&&e instanceof OffscreenCanvas?yP:SP}var Jl=class{constructor(){rt(this,"x");rt(this,"y");rt(this,"active",!1);rt(this,"options");rt(this,"$animations")}tooltipPosition(t){let{x:o,y:r}=this.getProps(["x","y"],t);return{x:o,y:r}}hasValue(){return T2(this.x)&&T2(this.y)}getProps(t,o){let r=this.$animations;if(!o||!r)return this;let n={};return t.forEach(a=>{n[a]=r[a]&&r[a].active()?r[a]._to:this[a]}),n}};rt(Jl,"defaults",{}),rt(Jl,"defaultRoutes");function ehe(e,t){let o=e.options.ticks,r=the(e),n=Math.min(o.maxTicksLimit||r,r),a=o.major.enabled?rhe(t):[],s=a.length,i=a[0],l=a[s-1],c=[];if(s>n)return nhe(t,c,a,s/n),c;let u=ohe(a,t,n);if(s>0){let m,f,d=s>1?Math.round((l-i)/(s-1)):null;for(m6(t,c,u,Bt(d)?0:i-d,i),m=0,f=s-1;m<f;m++)m6(t,c,u,a[m],a[m+1]);return m6(t,c,u,l,Bt(d)?t.length:l+d),c}return m6(t,c,u),c}function the(e){let t=e.options.offset,o=e._tickSize(),r=e._length/o+(t?0:1),n=e._maxLength/o;return Math.floor(Math.min(r,n))}function ohe(e,t,o){let r=ahe(e),n=t.length/o;if(!r)return Math.max(n,1);let a=d$(r);for(let s=0,i=a.length-1;s<i;s++){let l=a[s];if(l>n)return l}return Math.max(n,1)}function rhe(e){let t=[],o,r;for(o=0,r=e.length;o<r;o++)e[o].major&&t.push(o);return t}function nhe(e,t,o,r){let n=0,a=o[0],s;for(r=Math.ceil(r),s=0;s<e.length;s++)s===a&&(t.push(e[s]),n++,a=o[n*r])}function m6(e,t,o,r,n){let a=wt(r,0),s=Math.min(wt(n,e.length),e.length),i=0,l,c,u;for(o=Math.ceil(o),n&&(l=n-r,o=l/Math.floor(l/o)),u=a;u<0;)i++,u=Math.round(a+i*o);for(c=Math.max(a,0);c<s;c++)c===u&&(t.push(e[c]),i++,u=Math.round(a+i*o))}function ahe(e){let t=e.length,o,r;if(t<2)return!1;for(r=e[0],o=1;o<t;++o)if(e[o]-e[o-1]!==r)return!1;return r}var she=e=>e==="left"?"right":e==="right"?"left":e,Y$=(e,t,o)=>t==="top"||t==="left"?e[t]+o:e[t]-o,K$=(e,t)=>Math.min(t||e,e);function Q$(e,t){let o=[],r=e.length/t,n=e.length,a=0;for(;a<n;a+=r)o.push(e[Math.floor(a)]);return o}function ihe(e,t,o){let r=e.ticks.length,n=Math.min(t,r-1),a=e._startPixel,s=e._endPixel,i=1e-6,l=e.getPixelForTick(n),c;if(!(o&&(r===1?c=Math.max(l-a,s-l):t===0?c=(e.getPixelForTick(1)-l)/2:c=(l-e.getPixelForTick(n-1))/2,l+=n<t?c:-c,l<a-i||l>s+i)))return l}function lhe(e,t){Dt(e,o=>{let r=o.gc,n=r.length/2,a;if(n>t){for(a=0;a<n;++a)delete o.data[r[a]];r.splice(0,n)}})}function E2(e){return e.drawTicks?e.tickLength:0}function J$(e,t){if(!e.display)return 0;let o=un(e.font,t),r=Dn(e.padding);return(po(e.text)?e.text.length:1)*o.lineHeight+r.height}function che(e,t){return vu(e,{scale:t,type:"scale"})}function uhe(e,t,o){return vu(e,{tick:o,index:t,type:"tick"})}function mhe(e,t,o){let r=GL(e);return(o&&t!=="right"||!o&&t==="right")&&(r=she(r)),r}function fhe(e,t,o,r){let{top:n,left:a,bottom:s,right:i,chart:l}=e,{chartArea:c,scales:u}=l,m=0,f,d,p,h=s-n,S=i-a;if(e.isHorizontal()){if(d=ba(r,a,i),Tt(o)){let g=Object.keys(o)[0],b=o[g];p=u[g].getPixelForValue(b)+h-t}else o==="center"?p=(c.bottom+c.top)/2+h-t:p=Y$(e,o,t);f=i-a}else{if(Tt(o)){let g=Object.keys(o)[0],b=o[g];d=u[g].getPixelForValue(b)-S+t}else o==="center"?d=(c.left+c.right)/2-S+t:d=Y$(e,o,t);p=ba(r,s,n),m=o==="left"?-ha:ha}return{titleX:d,titleY:p,maxWidth:f,rotation:m}}var bf=class e extends Jl{constructor(t){super(),this.id=t.id,this.type=t.type,this.options=void 0,this.ctx=t.ctx,this.chart=t.chart,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.width=void 0,this.height=void 0,this._margins={left:0,right:0,top:0,bottom:0},this.maxWidth=void 0,this.maxHeight=void 0,this.paddingTop=void 0,this.paddingBottom=void 0,this.paddingLeft=void 0,this.paddingRight=void 0,this.axis=void 0,this.labelRotation=void 0,this.min=void 0,this.max=void 0,this._range=void 0,this.ticks=[],this._gridLineItems=null,this._labelItems=null,this._labelSizes=null,this._length=0,this._maxLength=0,this._longestTextCache={},this._startPixel=void 0,this._endPixel=void 0,this._reversePixels=!1,this._userMax=void 0,this._userMin=void 0,this._suggestedMax=void 0,this._suggestedMin=void 0,this._ticksLength=0,this._borderValue=0,this._cache={},this._dataLimitsCached=!1,this.$context=void 0}init(t){this.options=t.setContext(this.getContext()),this.axis=t.axis,this._userMin=this.parse(t.min),this._userMax=this.parse(t.max),this._suggestedMin=this.parse(t.suggestedMin),this._suggestedMax=this.parse(t.suggestedMax)}parse(t,o){return t}getUserBounds(){let{_userMin:t,_userMax:o,_suggestedMin:r,_suggestedMax:n}=this;return t=ga(t,Number.POSITIVE_INFINITY),o=ga(o,Number.NEGATIVE_INFINITY),r=ga(r,Number.POSITIVE_INFINITY),n=ga(n,Number.NEGATIVE_INFINITY),{min:ga(t,r),max:ga(o,n),minDefined:Kr(t),maxDefined:Kr(o)}}getMinMax(t){let{min:o,max:r,minDefined:n,maxDefined:a}=this.getUserBounds(),s;if(n&&a)return{min:o,max:r};let i=this.getMatchingVisibleMetas();for(let l=0,c=i.length;l<c;++l)s=i[l].controller.getMinMax(this,t),n||(o=Math.min(o,s.min)),a||(r=Math.max(r,s.max));return o=a&&o>r?r:o,r=n&&o>r?o:r,{min:ga(o,ga(r,o)),max:ga(r,ga(o,r))}}getPadding(){return{left:this.paddingLeft||0,top:this.paddingTop||0,right:this.paddingRight||0,bottom:this.paddingBottom||0}}getTicks(){return this.ticks}getLabels(){let t=this.chart.data;return this.options.labels||(this.isHorizontal()?t.xLabels:t.yLabels)||t.labels||[]}getLabelItems(t=this.chart.chartArea){return this._labelItems||(this._labelItems=this._computeLabelItems(t))}beforeLayout(){this._cache={},this._dataLimitsCached=!1}beforeUpdate(){jt(this.options.beforeUpdate,[this])}update(t,o,r){let{beginAtZero:n,grace:a,ticks:s}=this.options,i=s.sampleSize;this.beforeUpdate(),this.maxWidth=t,this.maxHeight=o,this._margins=r=Object.assign({left:0,right:0,top:0,bottom:0},r),this.ticks=null,this._labelSizes=null,this._gridLineItems=null,this._labelItems=null,this.beforeSetDimensions(),this.setDimensions(),this.afterSetDimensions(),this._maxLength=this.isHorizontal()?this.width+r.left+r.right:this.height+r.top+r.bottom,this._dataLimitsCached||(this.beforeDataLimits(),this.determineDataLimits(),this.afterDataLimits(),this._range=M$(this,a,n),this._dataLimitsCached=!0),this.beforeBuildTicks(),this.ticks=this.buildTicks()||[],this.afterBuildTicks();let l=i<this.ticks.length;this._convertTicksToLabels(l?Q$(this.ticks,i):this.ticks),this.configure(),this.beforeCalculateLabelRotation(),this.calculateLabelRotation(),this.afterCalculateLabelRotation(),s.display&&(s.autoSkip||s.source==="auto")&&(this.ticks=ehe(this,this.ticks),this._labelSizes=null,this.afterAutoSkip()),l&&this._convertTicksToLabels(this.ticks),this.beforeFit(),this.fit(),this.afterFit(),this.afterUpdate()}configure(){let t=this.options.reverse,o,r;this.isHorizontal()?(o=this.left,r=this.right):(o=this.top,r=this.bottom,t=!t),this._startPixel=o,this._endPixel=r,this._reversePixels=t,this._length=r-o,this._alignToPixels=this.options.alignToPixels}afterUpdate(){jt(this.options.afterUpdate,[this])}beforeSetDimensions(){jt(this.options.beforeSetDimensions,[this])}setDimensions(){this.isHorizontal()?(this.width=this.maxWidth,this.left=0,this.right=this.width):(this.height=this.maxHeight,this.top=0,this.bottom=this.height),this.paddingLeft=0,this.paddingTop=0,this.paddingRight=0,this.paddingBottom=0}afterSetDimensions(){jt(this.options.afterSetDimensions,[this])}_callHooks(t){this.chart.notifyPlugins(t,this.getContext()),jt(this.options[t],[this])}beforeDataLimits(){this._callHooks("beforeDataLimits")}determineDataLimits(){}afterDataLimits(){this._callHooks("afterDataLimits")}beforeBuildTicks(){this._callHooks("beforeBuildTicks")}buildTicks(){return[]}afterBuildTicks(){this._callHooks("afterBuildTicks")}beforeTickToLabelConversion(){jt(this.options.beforeTickToLabelConversion,[this])}generateTickLabels(t){let o=this.options.ticks,r,n,a;for(r=0,n=t.length;r<n;r++)a=t[r],a.label=jt(o.callback,[a.value,r,t],this)}afterTickToLabelConversion(){jt(this.options.afterTickToLabelConversion,[this])}beforeCalculateLabelRotation(){jt(this.options.beforeCalculateLabelRotation,[this])}calculateLabelRotation(){let t=this.options,o=t.ticks,r=K$(this.ticks.length,t.ticks.maxTicksLimit),n=o.minRotation||0,a=o.maxRotation,s=n,i,l,c;if(!this._isVisible()||!o.display||n>=a||r<=1||!this.isHorizontal()){this.labelRotation=n;return}let u=this._getLabelSizes(),m=u.widest.width,f=u.highest.height,d=ks(this.chart.width-m,0,this.maxWidth);i=t.offset?this.maxWidth/r:d/(r-1),m+6>i&&(i=d/(r-(t.offset?.5:1)),l=this.maxHeight-E2(t.grid)-o.padding-J$(t.title,this.chart.options.font),c=Math.sqrt(m*m+f*f),s=J8(Math.min(Math.asin(ks((u.highest.height+6)/i,-1,1)),Math.asin(ks(l/c,-1,1))-Math.asin(ks(f/c,-1,1)))),s=Math.max(n,Math.min(a,s))),this.labelRotation=s}afterCalculateLabelRotation(){jt(this.options.afterCalculateLabelRotation,[this])}afterAutoSkip(){}beforeFit(){jt(this.options.beforeFit,[this])}fit(){let t={width:0,height:0},{chart:o,options:{ticks:r,title:n,grid:a}}=this,s=this._isVisible(),i=this.isHorizontal();if(s){let l=J$(n,o.options.font);if(i?(t.width=this.maxWidth,t.height=E2(a)+l):(t.height=this.maxHeight,t.width=E2(a)+l),r.display&&this.ticks.length){let{first:c,last:u,widest:m,highest:f}=this._getLabelSizes(),d=r.padding*2,p=Yl(this.labelRotation),h=Math.cos(p),S=Math.sin(p);if(i){let g=r.mirror?0:S*m.width+h*f.height;t.height=Math.min(this.maxHeight,t.height+g+d)}else{let g=r.mirror?0:h*m.width+S*f.height;t.width=Math.min(this.maxWidth,t.width+g+d)}this._calculatePadding(c,u,S,h)}}this._handleMargins(),i?(this.width=this._length=o.width-this._margins.left-this._margins.right,this.height=t.height):(this.width=t.width,this.height=this._length=o.height-this._margins.top-this._margins.bottom)}_calculatePadding(t,o,r,n){let{ticks:{align:a,padding:s},position:i}=this.options,l=this.labelRotation!==0,c=i!=="top"&&this.axis==="x";if(this.isHorizontal()){let u=this.getPixelForTick(0)-this.left,m=this.right-this.getPixelForTick(this.ticks.length-1),f=0,d=0;l?c?(f=n*t.width,d=r*o.height):(f=r*t.height,d=n*o.width):a==="start"?d=o.width:a==="end"?f=t.width:a!=="inner"&&(f=t.width/2,d=o.width/2),this.paddingLeft=Math.max((f-u+s)*this.width/(this.width-u),0),this.paddingRight=Math.max((d-m+s)*this.width/(this.width-m),0)}else{let u=o.height/2,m=t.height/2;a==="start"?(u=0,m=t.height):a==="end"&&(u=o.height,m=0),this.paddingTop=u+s,this.paddingBottom=m+s}}_handleMargins(){this._margins&&(this._margins.left=Math.max(this.paddingLeft,this._margins.left),this._margins.top=Math.max(this.paddingTop,this._margins.top),this._margins.right=Math.max(this.paddingRight,this._margins.right),this._margins.bottom=Math.max(this.paddingBottom,this._margins.bottom))}afterFit(){jt(this.options.afterFit,[this])}isHorizontal(){let{axis:t,position:o}=this.options;return o==="top"||o==="bottom"||t==="x"}isFullSize(){return this.options.fullSize}_convertTicksToLabels(t){this.beforeTickToLabelConversion(),this.generateTickLabels(t);let o,r;for(o=0,r=t.length;o<r;o++)Bt(t[o].label)&&(t.splice(o,1),r--,o--);this.afterTickToLabelConversion()}_getLabelSizes(){let t=this._labelSizes;if(!t){let o=this.options.ticks.sampleSize,r=this.ticks;o<r.length&&(r=Q$(r,o)),this._labelSizes=t=this._computeLabelSizes(r,r.length,this.options.ticks.maxTicksLimit)}return t}_computeLabelSizes(t,o,r){let{ctx:n,_longestTextCache:a}=this,s=[],i=[],l=Math.floor(o/K$(o,r)),c=0,u=0,m,f,d,p,h,S,g,b,I,v,C;for(m=0;m<o;m+=l){if(p=t[m].label,h=this._resolveTickFontOptions(m),n.font=S=h.string,g=a[S]=a[S]||{data:{},gc:[]},b=h.lineHeight,I=v=0,!Bt(p)&&!po(p))I=v2(n,g.data,g.gc,I,p),v=b;else if(po(p))for(f=0,d=p.length;f<d;++f)C=p[f],!Bt(C)&&!po(C)&&(I=v2(n,g.data,g.gc,I,C),v+=b);s.push(I),i.push(v),c=Math.max(I,c),u=Math.max(v,u)}lhe(a,o);let T=s.indexOf(c),w=i.indexOf(u),E=B=>({width:s[B]||0,height:i[B]||0});return{first:E(0),last:E(o-1),widest:E(T),highest:E(w),widths:s,heights:i}}getLabelForValue(t){return t}getPixelForValue(t,o){return NaN}getValueForPixel(t){}getPixelForTick(t){let o=this.ticks;return t<0||t>o.length-1?null:this.getPixelForValue(o[t].value)}getPixelForDecimal(t){this._reversePixels&&(t=1-t);let o=this._startPixel+t*this._length;return y$(this._alignToPixels?xu(this.chart,o,0):o)}getDecimalForPixel(t){let o=(t-this._startPixel)/this._length;return this._reversePixels?1-o:o}getBasePixel(){return this.getPixelForValue(this.getBaseValue())}getBaseValue(){let{min:t,max:o}=this;return t<0&&o<0?o:t>0&&o>0?t:0}getContext(t){let o=this.ticks||[];if(t>=0&&t<o.length){let r=o[t];return r.$context||(r.$context=uhe(this.getContext(),t,r))}return this.$context||(this.$context=che(this.chart.getContext(),this))}_tickSize(){let t=this.options.ticks,o=Yl(this.labelRotation),r=Math.abs(Math.cos(o)),n=Math.abs(Math.sin(o)),a=this._getLabelSizes(),s=t.autoSkipPadding||0,i=a?a.widest.width+s:0,l=a?a.highest.height+s:0;return this.isHorizontal()?l*r>i*n?i/r:l/n:l*n<i*r?l/r:i/n}_isVisible(){let t=this.options.display;return t!=="auto"?!!t:this.getMatchingVisibleMetas().length>0}_computeGridLineItems(t){let o=this.axis,r=this.chart,n=this.options,{grid:a,position:s,border:i}=n,l=a.offset,c=this.isHorizontal(),m=this.ticks.length+(l?1:0),f=E2(a),d=[],p=i.setContext(this.getContext()),h=p.display?p.width:0,S=h/2,g=function(se){return xu(r,se,h)},b,I,v,C,T,w,E,B,L,_,j,ne;if(s==="top")b=g(this.bottom),w=this.bottom-f,B=b-S,_=g(t.top)+S,ne=t.bottom;else if(s==="bottom")b=g(this.top),_=t.top,ne=g(t.bottom)-S,w=b+S,B=this.top+f;else if(s==="left")b=g(this.right),T=this.right-f,E=b-S,L=g(t.left)+S,j=t.right;else if(s==="right")b=g(this.left),L=t.left,j=g(t.right)-S,T=b+S,E=this.left+f;else if(o==="x"){if(s==="center")b=g((t.top+t.bottom)/2+.5);else if(Tt(s)){let se=Object.keys(s)[0],W=s[se];b=g(this.chart.scales[se].getPixelForValue(W))}_=t.top,ne=t.bottom,w=b+S,B=w+f}else if(o==="y"){if(s==="center")b=g((t.left+t.right)/2);else if(Tt(s)){let se=Object.keys(s)[0],W=s[se];b=g(this.chart.scales[se].getPixelForValue(W))}T=b-S,E=T-f,L=t.left,j=t.right}let K=wt(n.ticks.maxTicksLimit,m),ie=Math.max(1,Math.ceil(m/K));for(I=0;I<m;I+=ie){let se=this.getContext(I),W=a.setContext(se),de=i.setContext(se),q=W.lineWidth,fe=W.color,he=de.dash||[],ge=de.dashOffset,J=W.tickWidth,X=W.tickColor,ee=W.tickBorderDash||[],pe=W.tickBorderDashOffset;v=ihe(this,I,l),v!==void 0&&(C=xu(r,v,q),c?T=E=L=j=C:w=B=_=ne=C,d.push({tx1:T,ty1:w,tx2:E,ty2:B,x1:L,y1:_,x2:j,y2:ne,width:q,color:fe,borderDash:he,borderDashOffset:ge,tickWidth:J,tickColor:X,tickBorderDash:ee,tickBorderDashOffset:pe}))}return this._ticksLength=m,this._borderValue=b,d}_computeLabelItems(t){let o=this.axis,r=this.options,{position:n,ticks:a}=r,s=this.isHorizontal(),i=this.ticks,{align:l,crossAlign:c,padding:u,mirror:m}=a,f=E2(r.grid),d=f+u,p=m?-u:d,h=-Yl(this.labelRotation),S=[],g,b,I,v,C,T,w,E,B,L,_,j,ne="middle";if(n==="top")T=this.bottom-p,w=this._getXAxisLabelAlignment();else if(n==="bottom")T=this.top+p,w=this._getXAxisLabelAlignment();else if(n==="left"){let ie=this._getYAxisLabelAlignment(f);w=ie.textAlign,C=ie.x}else if(n==="right"){let ie=this._getYAxisLabelAlignment(f);w=ie.textAlign,C=ie.x}else if(o==="x"){if(n==="center")T=(t.top+t.bottom)/2+d;else if(Tt(n)){let ie=Object.keys(n)[0],se=n[ie];T=this.chart.scales[ie].getPixelForValue(se)+d}w=this._getXAxisLabelAlignment()}else if(o==="y"){if(n==="center")C=(t.left+t.right)/2-d;else if(Tt(n)){let ie=Object.keys(n)[0],se=n[ie];C=this.chart.scales[ie].getPixelForValue(se)}w=this._getYAxisLabelAlignment(f).textAlign}o==="y"&&(l==="start"?ne="top":l==="end"&&(ne="bottom"));let K=this._getLabelSizes();for(g=0,b=i.length;g<b;++g){I=i[g],v=I.label;let ie=a.setContext(this.getContext(g));E=this.getPixelForTick(g)+a.labelOffset,B=this._resolveTickFontOptions(g),L=B.lineHeight,_=po(v)?v.length:1;let se=_/2,W=ie.color,de=ie.textStrokeColor,q=ie.textStrokeWidth,fe=w;s?(C=E,w==="inner"&&(g===b-1?fe=this.options.reverse?"left":"right":g===0?fe=this.options.reverse?"right":"left":fe="center"),n==="top"?c==="near"||h!==0?j=-_*L+L/2:c==="center"?j=-K.highest.height/2-se*L+L:j=-K.highest.height+L/2:c==="near"||h!==0?j=L/2:c==="center"?j=K.highest.height/2-se*L:j=K.highest.height-_*L,m&&(j*=-1),h!==0&&!ie.showLabelBackdrop&&(C+=L/2*Math.sin(h))):(T=E,j=(1-_)*L/2);let he;if(ie.showLabelBackdrop){let ge=Dn(ie.backdropPadding),J=K.heights[g],X=K.widths[g],ee=j-ge.top,pe=0-ge.left;switch(ne){case"middle":ee-=J/2;break;case"bottom":ee-=J;break}switch(w){case"center":pe-=X/2;break;case"right":pe-=X;break;case"inner":g===b-1?pe-=X:g>0&&(pe-=X/2);break}he={left:pe,top:ee,width:X+ge.width,height:J+ge.height,color:ie.backdropColor}}S.push({label:v,font:B,textOffset:j,options:{rotation:h,color:W,strokeColor:de,strokeWidth:q,textAlign:fe,textBaseline:ne,translation:[C,T],backdrop:he}})}return S}_getXAxisLabelAlignment(){let{position:t,ticks:o}=this.options;if(-Yl(this.labelRotation))return t==="top"?"left":"right";let n="center";return o.align==="start"?n="left":o.align==="end"?n="right":o.align==="inner"&&(n="inner"),n}_getYAxisLabelAlignment(t){let{position:o,ticks:{crossAlign:r,mirror:n,padding:a}}=this.options,s=this._getLabelSizes(),i=t+a,l=s.widest.width,c,u;return o==="left"?n?(u=this.right+a,r==="near"?c="left":r==="center"?(c="center",u+=l/2):(c="right",u+=l)):(u=this.right-i,r==="near"?c="right":r==="center"?(c="center",u-=l/2):(c="left",u=this.left)):o==="right"?n?(u=this.left+a,r==="near"?c="right":r==="center"?(c="center",u-=l/2):(c="left",u-=l)):(u=this.left+i,r==="near"?c="left":r==="center"?(c="center",u+=l/2):(c="right",u=this.right)):c="right",{textAlign:c,x:u}}_computeLabelArea(){if(this.options.ticks.mirror)return;let t=this.chart,o=this.options.position;if(o==="left"||o==="right")return{top:0,left:this.left,bottom:t.height,right:this.right};if(o==="top"||o==="bottom")return{top:this.top,left:0,bottom:this.bottom,right:t.width}}drawBackground(){let{ctx:t,options:{backgroundColor:o},left:r,top:n,width:a,height:s}=this;o&&(t.save(),t.fillStyle=o,t.fillRect(r,n,a,s),t.restore())}getLineWidthForValue(t){let o=this.options.grid;if(!this._isVisible()||!o.display)return 0;let n=this.ticks.findIndex(a=>a.value===t);return n>=0?o.setContext(this.getContext(n)).lineWidth:0}drawGrid(t){let o=this.options.grid,r=this.ctx,n=this._gridLineItems||(this._gridLineItems=this._computeGridLineItems(t)),a,s,i=(l,c,u)=>{!u.width||!u.color||(r.save(),r.lineWidth=u.width,r.strokeStyle=u.color,r.setLineDash(u.borderDash||[]),r.lineDashOffset=u.borderDashOffset,r.beginPath(),r.moveTo(l.x,l.y),r.lineTo(c.x,c.y),r.stroke(),r.restore())};if(o.display)for(a=0,s=n.length;a<s;++a){let l=n[a];o.drawOnChartArea&&i({x:l.x1,y:l.y1},{x:l.x2,y:l.y2},l),o.drawTicks&&i({x:l.tx1,y:l.ty1},{x:l.tx2,y:l.ty2},{color:l.tickColor,width:l.tickWidth,borderDash:l.tickBorderDash,borderDashOffset:l.tickBorderDashOffset})}}drawBorder(){let{chart:t,ctx:o,options:{border:r,grid:n}}=this,a=r.setContext(this.getContext()),s=r.display?a.width:0;if(!s)return;let i=n.setContext(this.getContext(0)).lineWidth,l=this._borderValue,c,u,m,f;this.isHorizontal()?(c=xu(t,this.left,s)-s/2,u=xu(t,this.right,i)+i/2,m=f=l):(m=xu(t,this.top,s)-s/2,f=xu(t,this.bottom,i)+i/2,c=u=l),o.save(),o.lineWidth=a.width,o.strokeStyle=a.color,o.beginPath(),o.moveTo(c,m),o.lineTo(u,f),o.stroke(),o.restore()}drawLabels(t){if(!this.options.ticks.display)return;let r=this.ctx,n=this._computeLabelArea();n&&n6(r,n);let a=this.getLabelItems(t);for(let s of a){let i=s.options,l=s.font,c=s.label,u=s.textOffset;mf(r,c,0,u,l,i)}n&&a6(r)}drawTitle(){let{ctx:t,options:{position:o,title:r,reverse:n}}=this;if(!r.display)return;let a=un(r.font),s=Dn(r.padding),i=r.align,l=a.lineHeight/2;o==="bottom"||o==="center"||Tt(o)?(l+=s.bottom,po(r.text)&&(l+=a.lineHeight*(r.text.length-1))):l+=s.top;let{titleX:c,titleY:u,maxWidth:m,rotation:f}=fhe(this,l,o,i);mf(t,r.text,0,0,a,{color:r.color,maxWidth:m,rotation:f,textAlign:mhe(i,o,n),textBaseline:"middle",translation:[c,u]})}draw(t){this._isVisible()&&(this.drawBackground(),this.drawGrid(t),this.drawBorder(),this.drawTitle(),this.drawLabels(t))}_layers(){let t=this.options,o=t.ticks&&t.ticks.z||0,r=wt(t.grid&&t.grid.z,-1),n=wt(t.border&&t.border.z,0);return!this._isVisible()||this.draw!==e.prototype.draw?[{z:o,draw:a=>{this.draw(a)}}]:[{z:r,draw:a=>{this.drawBackground(),this.drawGrid(a),this.drawTitle()}},{z:n,draw:()=>{this.drawBorder()}},{z:o,draw:a=>{this.drawLabels(a)}}]}getMatchingVisibleMetas(t){let o=this.chart.getSortedVisibleDatasetMetas(),r=this.axis+"AxisID",n=[],a,s;for(a=0,s=o.length;a<s;++a){let i=o[a];i[r]===this.id&&(!t||i.type===t)&&n.push(i)}return n}_resolveTickFontOptions(t){let o=this.options.ticks.setContext(this.getContext(t));return un(o.font)}_maxDigits(){let t=this._resolveTickFontOptions(0).lineHeight;return(this.isHorizontal()?this.width:this.height)/t}},D0=class{constructor(t,o,r){this.type=t,this.scope=o,this.override=r,this.items=Object.create(null)}isForType(t){return Object.prototype.isPrototypeOf.call(this.type.prototype,t.prototype)}register(t){let o=Object.getPrototypeOf(t),r;hhe(o)&&(r=this.register(o));let n=this.items,a=t.id,s=this.scope+"."+a;if(!a)throw new Error("class does not have id: "+t);return a in n||(n[a]=t,dhe(t,s,r),this.override&&yo.override(t.id,t.overrides)),s}get(t){return this.items[t]}unregister(t){let o=this.items,r=t.id,n=this.scope;r in o&&delete o[r],n&&r in yo[n]&&(delete yo[n][r],this.override&&delete Su[r])}};function dhe(e,t,o){let r=M0(Object.create(null),[o?yo.get(o):{},yo.get(t),e.defaults]);yo.set(t,r),e.defaultRoutes&&phe(t,e.defaultRoutes),e.descriptors&&yo.describe(t,e.descriptors)}function phe(e,t){Object.keys(t).forEach(o=>{let r=o.split("."),n=r.pop(),a=[e].concat(r).join("."),s=t[o].split("."),i=s.pop(),l=s.join(".");yo.route(a,n,l,i)})}function hhe(e){return"id"in e&&"defaults"in e}var xP=class{constructor(){this.controllers=new D0(hf,"datasets",!0),this.elements=new D0(Jl,"elements"),this.plugins=new D0(Object,"plugins"),this.scales=new D0(bf,"scales"),this._typedRegistries=[this.controllers,this.scales,this.elements]}add(...t){this._each("register",t)}remove(...t){this._each("unregister",t)}addControllers(...t){this._each("register",t,this.controllers)}addElements(...t){this._each("register",t,this.elements)}addPlugins(...t){this._each("register",t,this.plugins)}addScales(...t){this._each("register",t,this.scales)}getController(t){return this._get(t,this.controllers,"controller")}getElement(t){return this._get(t,this.elements,"element")}getPlugin(t){return this._get(t,this.plugins,"plugin")}getScale(t){return this._get(t,this.scales,"scale")}removeControllers(...t){this._each("unregister",t,this.controllers)}removeElements(...t){this._each("unregister",t,this.elements)}removePlugins(...t){this._each("unregister",t,this.plugins)}removeScales(...t){this._each("unregister",t,this.scales)}_each(t,o,r){[...o].forEach(n=>{let a=r||this._getRegistryForType(n);r||a.isForType(n)||a===this.plugins&&n.id?this._exec(t,a,n):Dt(n,s=>{let i=r||this._getRegistryForType(s);this._exec(t,i,s)})})}_exec(t,o,r){let n=Q8(t);jt(r["before"+n],[],r),o[t](r),jt(r["after"+n],[],r)}_getRegistryForType(t){for(let o=0;o<this._typedRegistries.length;o++){let r=this._typedRegistries[o];if(r.isForType(t))return r}return this.plugins}_get(t,o,r){let n=o.get(t);if(n===void 0)throw new Error('"'+t+'" is not a registered '+r+".");return n}},Hi=new xP,IP=class{constructor(){this._init=void 0}notify(t,o,r,n){if(o==="beforeInit"&&(this._init=this._createDescriptors(t,!0),this._notify(this._init,t,"install")),this._init===void 0)return;let a=n?this._descriptors(t).filter(n):this._descriptors(t),s=this._notify(a,t,o,r);return o==="afterDestroy"&&(this._notify(a,t,"stop"),this._notify(this._init,t,"uninstall"),this._init=void 0),s}_notify(t,o,r,n){n=n||{};for(let a of t){let s=a.plugin,i=s[r],l=[o,n,a.options];if(jt(i,l,s)===!1&&n.cancelable)return!1}return!0}invalidate(){Bt(this._cache)||(this._oldCache=this._cache,this._cache=void 0)}_descriptors(t){if(this._cache)return this._cache;let o=this._cache=this._createDescriptors(t);return this._notifyStateChanges(t),o}_createDescriptors(t,o){let r=t&&t.config,n=wt(r.options&&r.options.plugins,{}),a=ghe(r);return n===!1&&!o?[]:yhe(t,a,n,o)}_notifyStateChanges(t){let o=this._oldCache||[],r=this._cache,n=(a,s)=>a.filter(i=>!s.some(l=>i.plugin.id===l.plugin.id));this._notify(n(o,r),t,"stop"),this._notify(n(r,o),t,"start")}};function ghe(e){let t={},o=[],r=Object.keys(Hi.plugins.items);for(let a=0;a<r.length;a++)o.push(Hi.getPlugin(r[a]));let n=e.plugins||[];for(let a=0;a<n.length;a++){let s=n[a];o.indexOf(s)===-1&&(o.push(s),t[s.id]=!0)}return{plugins:o,localIds:t}}function bhe(e,t){return!t&&e===!1?null:e===!0?{}:e}function yhe(e,{plugins:t,localIds:o},r,n){let a=[],s=e.getContext();for(let i of t){let l=i.id,c=bhe(r[l],n);c!==null&&a.push({plugin:i,options:She(e.config,{plugin:i,local:o[l]},c,s)})}return a}function She(e,{plugin:t,local:o},r,n){let a=e.pluginScopeKeys(t),s=e.getOptionScopes(r,a);return o&&t.defaults&&s.push(t.defaults),e.createResolver(s,n,[""],{scriptable:!1,indexable:!1,allKeys:!0})}function vP(e,t){let o=yo.datasets[e]||{};return((t.datasets||{})[e]||{}).indexAxis||t.indexAxis||o.indexAxis||"x"}function xhe(e,t){let o=e;return e==="_index_"?o=t:e==="_value_"&&(o=t==="x"?"y":"x"),o}function Ihe(e,t){return e===t?"_index_":"_value_"}function eq(e){if(e==="x"||e==="y"||e==="r")return e}function vhe(e){if(e==="top"||e==="bottom")return"x";if(e==="left"||e==="right")return"y"}function CP(e,...t){if(eq(e))return e;for(let o of t){let r=o.axis||vhe(o.position)||e.length>1&&eq(e[0].toLowerCase());if(r)return r}throw new Error(`Cannot determine type of '${e}' axis. Please provide 'axis' or 'position' option.`)}function tq(e,t,o){if(o[t+"AxisID"]===e)return{axis:t}}function Che(e,t){if(t.data&&t.data.datasets){let o=t.data.datasets.filter(r=>r.xAxisID===e||r.yAxisID===e);if(o.length)return tq(e,"x",o[0])||tq(e,"y",o[0])}return{}}function whe(e,t){let o=Su[e.type]||{scales:{}},r=t.scales||{},n=vP(e.type,t),a=Object.create(null);return Object.keys(r).forEach(s=>{let i=r[s];if(!Tt(i))return console.error(`Invalid scale configuration for scale: ${s}`);if(i._proxy)return console.warn(`Ignoring resolver passed as options for scale: ${s}`);let l=CP(s,i,Che(s,e),yo.scales[i.type]),c=Ihe(l,n),u=o.scales||{};a[s]=L0(Object.create(null),[{axis:l},i,u[l],u[c]])}),e.data.datasets.forEach(s=>{let i=s.type||e.type,l=s.indexAxis||vP(i,t),u=(Su[i]||{}).scales||{};Object.keys(u).forEach(m=>{let f=xhe(m,l),d=s[f+"AxisID"]||f;a[d]=a[d]||Object.create(null),L0(a[d],[{axis:f},r[d],u[m]])})}),Object.keys(a).forEach(s=>{let i=a[s];L0(i,[yo.scales[i.type],yo.scale])}),a}function Eq(e){let t=e.options||(e.options={});t.plugins=wt(t.plugins,{}),t.scales=whe(e,t)}function Bq(e){return e=e||{},e.datasets=e.datasets||[],e.labels=e.labels||[],e}function The(e){return e=e||{},e.data=Bq(e.data),Eq(e),e}var oq=new Map,Dq=new Set;function f6(e,t){let o=oq.get(e);return o||(o=t(),oq.set(e,o),Dq.add(o)),o}var B2=(e,t,o)=>{let r=lf(t,o);r!==void 0&&e.add(r)},wP=class{constructor(t){this._config=The(t),this._scopeCache=new Map,this._resolverCache=new Map}get platform(){return this._config.platform}get type(){return this._config.type}set type(t){this._config.type=t}get data(){return this._config.data}set data(t){this._config.data=Bq(t)}get options(){return this._config.options}set options(t){this._config.options=t}get plugins(){return this._config.plugins}update(){let t=this._config;this.clearCache(),Eq(t)}clearCache(){this._scopeCache.clear(),this._resolverCache.clear()}datasetScopeKeys(t){return f6(t,()=>[[`datasets.${t}`,""]])}datasetAnimationScopeKeys(t,o){return f6(`${t}.transition.${o}`,()=>[[`datasets.${t}.transitions.${o}`,`transitions.${o}`],[`datasets.${t}`,""]])}datasetElementScopeKeys(t,o){return f6(`${t}-${o}`,()=>[[`datasets.${t}.elements.${o}`,`datasets.${t}`,`elements.${o}`,""]])}pluginScopeKeys(t){let o=t.id,r=this.type;return f6(`${r}-plugin-${o}`,()=>[[`plugins.${o}`,...t.additionalOptionScopes||[]]])}_cachedScopes(t,o){let r=this._scopeCache,n=r.get(t);return(!n||o)&&(n=new Map,r.set(t,n)),n}getOptionScopes(t,o,r){let{options:n,type:a}=this,s=this._cachedScopes(t,r),i=s.get(o);if(i)return i;let l=new Set;o.forEach(u=>{t&&(l.add(t),u.forEach(m=>B2(l,t,m))),u.forEach(m=>B2(l,n,m)),u.forEach(m=>B2(l,Su[a]||{},m)),u.forEach(m=>B2(l,yo,m)),u.forEach(m=>B2(l,r6,m))});let c=Array.from(l);return c.length===0&&c.push(Object.create(null)),Dq.has(o)&&s.set(o,c),c}chartOptionScopes(){let{options:t,type:o}=this;return[t,Su[o]||{},yo.datasets[o]||{},{type:o},yo,r6]}resolveNamedOptions(t,o,r,n=[""]){let a={$shared:!0},{resolver:s,subPrefixes:i}=rq(this._resolverCache,t,n),l=s;if(khe(s,o)){a.$shared=!1,r=$l(r)?r():r;let c=this.createResolver(t,r,i);l=sf(s,r,c)}for(let c of o)a[c]=l[c];return a}createResolver(t,o,r=[""],n){let{resolver:a}=rq(this._resolverCache,t,r);return Tt(o)?sf(a,o,void 0,n):a}};function rq(e,t,o){let r=e.get(t);r||(r=new Map,e.set(t,r));let n=o.join(),a=r.get(n);return a||(a={resolver:s6(t,o),subPrefixes:o.filter(i=>!i.toLowerCase().includes("hover"))},r.set(n,a)),a}var Ahe=e=>Tt(e)&&Object.getOwnPropertyNames(e).some(t=>$l(e[t]));function khe(e,t){let{isScriptable:o,isIndexable:r}=JL(e);for(let n of t){let a=o(n),s=r(n),i=(s||a)&&e[n];if(a&&($l(i)||Ahe(i))||s&&po(i))return!0}return!1}var Mhe="4.5.1",Lhe=["top","bottom","left","right","chartArea"];function nq(e,t){return e==="top"||e==="bottom"||Lhe.indexOf(e)===-1&&t==="x"}function aq(e,t){return function(o,r){return o[e]===r[e]?o[t]-r[t]:o[e]-r[e]}}function sq(e){let t=e.chart,o=t.options.animation;t.notifyPlugins("afterRender"),jt(o&&o.onComplete,[e],t)}function Phe(e){let t=e.chart,o=t.options.animation;jt(o&&o.onProgress,[e],t)}function Rq(e){return i6()&&typeof e=="string"?e=document.getElementById(e):e&&e.length&&(e=e[0]),e&&e.canvas&&(e=e.canvas),e}var y6={},iq=e=>{let t=Rq(e);return Object.values(y6).filter(o=>o.canvas===t).pop()};function Ehe(e,t,o){let r=Object.keys(e);for(let n of r){let a=+n;if(a>=t){let s=e[n];delete e[n],(o>0||a>t)&&(e[a+o]=s)}}}function Bhe(e,t,o,r){return!o||e.type==="mouseout"?null:r?t:e}var mn=class{static register(...t){Hi.add(...t),lq()}static unregister(...t){Hi.remove(...t),lq()}constructor(t,o){let r=this.config=new wP(o),n=Rq(t),a=iq(n);if(a)throw new Error("Canvas is already in use. Chart with ID '"+a.id+"' must be destroyed before the canvas with ID '"+a.canvas.id+"' can be reused.");let s=r.createResolver(r.chartOptionScopes(),this.getContext());this.platform=new(r.platform||J0e(n)),this.platform.updateConfig(r);let i=this.platform.acquireContext(n,s.aspectRatio),l=i&&i.canvas,c=l&&l.height,u=l&&l.width;if(this.id=c$(),this.ctx=i,this.canvas=l,this.width=u,this.height=c,this._options=s,this._aspectRatio=this.aspectRatio,this._layers=[],this._metasets=[],this._stacks=void 0,this.boxes=[],this.currentDevicePixelRatio=void 0,this.chartArea=void 0,this._active=[],this._lastEvent=void 0,this._listeners={},this._responsiveListeners=void 0,this._sortedMetasets=[],this.scales={},this._plugins=new IP,this.$proxies={},this._hiddenIndices={},this.attached=!1,this._animationsDisabled=void 0,this.$context=void 0,this._doResize=C$(m=>this.update(m),s.resizeDelay||0),this._dataChanges=[],y6[this.id]=this,!i||!l){console.error("Failed to create chart: can't acquire context from the given item");return}Kl.listen(this,"complete",sq),Kl.listen(this,"progress",Phe),this._initialize(),this.attached&&this.update()}get aspectRatio(){let{options:{aspectRatio:t,maintainAspectRatio:o},width:r,height:n,_aspectRatio:a}=this;return Bt(t)?o&&a?a:n?r/n:null:t}get data(){return this.config.data}set data(t){this.config.data=t}get options(){return this._options}set options(t){this.config.options=t}get registry(){return Hi}_initialize(){return this.notifyPlugins("beforeInit"),this.options.responsive?this.resize():oP(this,this.options.devicePixelRatio),this.bindEvents(),this.notifyPlugins("afterInit"),this}clear(){return qL(this.canvas,this.ctx),this}stop(){return Kl.stop(this),this}resize(t,o){Kl.running(this)?this._resizeBeforeDraw={width:t,height:o}:this._resize(t,o)}_resize(t,o){let r=this.options,n=this.canvas,a=r.maintainAspectRatio&&this.aspectRatio,s=this.platform.getMaximumSize(n,t,o,a),i=r.devicePixelRatio||this.platform.getDevicePixelRatio(),l=this.width?"resize":"attach";this.width=s.width,this.height=s.height,this._aspectRatio=this.aspectRatio,oP(this,i,!0)&&(this.notifyPlugins("resize",{size:s}),jt(r.onResize,[this,s],this),this.attached&&this._doResize(l)&&this.render())}ensureScalesHaveIDs(){let o=this.options.scales||{};Dt(o,(r,n)=>{r.id=n})}buildOrUpdateScales(){let t=this.options,o=t.scales,r=this.scales,n=Object.keys(r).reduce((s,i)=>(s[i]=!1,s),{}),a=[];o&&(a=a.concat(Object.keys(o).map(s=>{let i=o[s],l=CP(s,i),c=l==="r",u=l==="x";return{options:i,dposition:c?"chartArea":u?"bottom":"left",dtype:c?"radialLinear":u?"category":"linear"}}))),Dt(a,s=>{let i=s.options,l=i.id,c=CP(l,i),u=wt(i.type,s.dtype);(i.position===void 0||nq(i.position,c)!==nq(s.dposition))&&(i.position=s.dposition),n[l]=!0;let m=null;if(l in r&&r[l].type===u)m=r[l];else{let f=Hi.getScale(u);m=new f({id:l,type:u,ctx:this.ctx,chart:this}),r[m.id]=m}m.init(i,t)}),Dt(n,(s,i)=>{s||delete r[i]}),Dt(r,s=>{wu.configure(this,s,s.options),wu.addBox(this,s)})}_updateMetasets(){let t=this._metasets,o=this.data.datasets.length,r=t.length;if(t.sort((n,a)=>n.index-a.index),r>o){for(let n=o;n<r;++n)this._destroyDatasetMeta(n);t.splice(o,r-o)}this._sortedMetasets=t.slice(0).sort(aq("order","index"))}_removeUnreferencedMetasets(){let{_metasets:t,data:{datasets:o}}=this;t.length>o.length&&delete this._stacks,t.forEach((r,n)=>{o.filter(a=>a===r._dataset).length===0&&this._destroyDatasetMeta(n)})}buildOrUpdateControllers(){let t=[],o=this.data.datasets,r,n;for(this._removeUnreferencedMetasets(),r=0,n=o.length;r<n;r++){let a=o[r],s=this.getDatasetMeta(r),i=a.type||this.config.type;if(s.type&&s.type!==i&&(this._destroyDatasetMeta(r),s=this.getDatasetMeta(r)),s.type=i,s.indexAxis=a.indexAxis||vP(i,this.options),s.order=a.order||0,s.index=r,s.label=""+a.label,s.visible=this.isDatasetVisible(r),s.controller)s.controller.updateIndex(r),s.controller.linkScales();else{let l=Hi.getController(i),{datasetElementType:c,dataElementType:u}=yo.datasets[i];Object.assign(l,{dataElementType:Hi.getElement(u),datasetElementType:c&&Hi.getElement(c)}),s.controller=new l(this,r),t.push(s.controller)}}return this._updateMetasets(),t}_resetElements(){Dt(this.data.datasets,(t,o)=>{this.getDatasetMeta(o).controller.reset()},this)}reset(){this._resetElements(),this.notifyPlugins("reset")}update(t){let o=this.config;o.update();let r=this._options=o.createResolver(o.chartOptionScopes(),this.getContext()),n=this._animationsDisabled=!r.animation;if(this._updateScales(),this._checkEventBindings(),this._updateHiddenIndices(),this._plugins.invalidate(),this.notifyPlugins("beforeUpdate",{mode:t,cancelable:!0})===!1)return;let a=this.buildOrUpdateControllers();this.notifyPlugins("beforeElementsUpdate");let s=0;for(let c=0,u=this.data.datasets.length;c<u;c++){let{controller:m}=this.getDatasetMeta(c),f=!n&&a.indexOf(m)===-1;m.buildOrUpdateElements(f),s=Math.max(+m.getMaxOverflow(),s)}s=this._minPadding=r.layout.autoPadding?s:0,this._updateLayout(s),n||Dt(a,c=>{c.reset()}),this._updateDatasets(t),this.notifyPlugins("afterUpdate",{mode:t}),this._layers.sort(aq("z","_idx"));let{_active:i,_lastEvent:l}=this;l?this._eventHandler(l,!0):i.length&&this._updateHoverStyles(i,i,!0),this.render()}_updateScales(){Dt(this.scales,t=>{wu.removeBox(this,t)}),this.ensureScalesHaveIDs(),this.buildOrUpdateScales()}_checkEventBindings(){let t=this.options,o=new Set(Object.keys(this._listeners)),r=new Set(t.events);(!OL(o,r)||!!this._responsiveListeners!==t.responsive)&&(this.unbindEvents(),this.bindEvents())}_updateHiddenIndices(){let{_hiddenIndices:t}=this,o=this._getUniformDataChanges()||[];for(let{method:r,start:n,count:a}of o){let s=r==="_removeElements"?-a:a;Ehe(t,n,s)}}_getUniformDataChanges(){let t=this._dataChanges;if(!t||!t.length)return;this._dataChanges=[];let o=this.data.datasets.length,r=a=>new Set(t.filter(s=>s[0]===a).map((s,i)=>i+","+s.splice(1).join(","))),n=r(0);for(let a=1;a<o;a++)if(!OL(n,r(a)))return;return Array.from(n).map(a=>a.split(",")).map(a=>({method:a[1],start:+a[2],count:+a[3]}))}_updateLayout(t){if(this.notifyPlugins("beforeLayout",{cancelable:!0})===!1)return;wu.update(this,this.width,this.height,t);let o=this.chartArea,r=o.width<=0||o.height<=0;this._layers=[],Dt(this.boxes,n=>{r&&n.position==="chartArea"||(n.configure&&n.configure(),this._layers.push(...n._layers()))},this),this._layers.forEach((n,a)=>{n._idx=a}),this.notifyPlugins("afterLayout")}_updateDatasets(t){if(this.notifyPlugins("beforeDatasetsUpdate",{mode:t,cancelable:!0})!==!1){for(let o=0,r=this.data.datasets.length;o<r;++o)this.getDatasetMeta(o).controller.configure();for(let o=0,r=this.data.datasets.length;o<r;++o)this._updateDataset(o,$l(t)?t({datasetIndex:o}):t);this.notifyPlugins("afterDatasetsUpdate",{mode:t})}}_updateDataset(t,o){let r=this.getDatasetMeta(t),n={meta:r,index:t,mode:o,cancelable:!0};this.notifyPlugins("beforeDatasetUpdate",n)!==!1&&(r.controller._update(o),n.cancelable=!1,this.notifyPlugins("afterDatasetUpdate",n))}render(){this.notifyPlugins("beforeRender",{cancelable:!0})!==!1&&(Kl.has(this)?this.attached&&!Kl.running(this)&&Kl.start(this):(this.draw(),sq({chart:this})))}draw(){let t;if(this._resizeBeforeDraw){let{width:r,height:n}=this._resizeBeforeDraw;this._resizeBeforeDraw=null,this._resize(r,n)}if(this.clear(),this.width<=0||this.height<=0||this.notifyPlugins("beforeDraw",{cancelable:!0})===!1)return;let o=this._layers;for(t=0;t<o.length&&o[t].z<=0;++t)o[t].draw(this.chartArea);for(this._drawDatasets();t<o.length;++t)o[t].draw(this.chartArea);this.notifyPlugins("afterDraw")}_getSortedDatasetMetas(t){let o=this._sortedMetasets,r=[],n,a;for(n=0,a=o.length;n<a;++n){let s=o[n];(!t||s.visible)&&r.push(s)}return r}getSortedVisibleDatasetMetas(){return this._getSortedDatasetMetas(!0)}_drawDatasets(){if(this.notifyPlugins("beforeDatasetsDraw",{cancelable:!0})===!1)return;let t=this.getSortedVisibleDatasetMetas();for(let o=t.length-1;o>=0;--o)this._drawDataset(t[o]);this.notifyPlugins("afterDatasetsDraw")}_drawDataset(t){let o=this.ctx,r={meta:t,index:t.index,cancelable:!0},n=R$(this,t);this.notifyPlugins("beforeDatasetDraw",r)!==!1&&(n&&n6(o,n),t.controller.draw(),n&&a6(o),r.cancelable=!1,this.notifyPlugins("afterDatasetDraw",r))}isPointInArea(t){return uf(t,this.chartArea,this._minPadding)}getElementsAtEventForMode(t,o,r,n){let a=R0e.modes[o];return typeof a=="function"?a(this,t,r,n):[]}getDatasetMeta(t){let o=this.data.datasets[t],r=this._metasets,n=r.filter(a=>a&&a._dataset===o).pop();return n||(n={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null,order:o&&o.order||0,index:t,_dataset:o,_parsed:[],_sorted:!1},r.push(n)),n}getContext(){return this.$context||(this.$context=vu(null,{chart:this,type:"chart"}))}getVisibleDatasetCount(){return this.getSortedVisibleDatasetMetas().length}isDatasetVisible(t){let o=this.data.datasets[t];if(!o)return!1;let r=this.getDatasetMeta(t);return typeof r.hidden=="boolean"?!r.hidden:!o.hidden}setDatasetVisibility(t,o){let r=this.getDatasetMeta(t);r.hidden=!o}toggleDataVisibility(t){this._hiddenIndices[t]=!this._hiddenIndices[t]}getDataVisibility(t){return!this._hiddenIndices[t]}_updateVisibility(t,o,r){let n=r?"show":"hide",a=this.getDatasetMeta(t),s=a.controller._resolveAnimations(void 0,n);P0(o)?(a.data[o].hidden=!r,this.update()):(this.setDatasetVisibility(t,r),s.update(a,{visible:r}),this.update(i=>i.datasetIndex===t?n:void 0))}hide(t,o){this._updateVisibility(t,o,!1)}show(t,o){this._updateVisibility(t,o,!0)}_destroyDatasetMeta(t){let o=this._metasets[t];o&&o.controller&&o.controller._destroy(),delete this._metasets[t]}_stop(){let t,o;for(this.stop(),Kl.remove(this),t=0,o=this.data.datasets.length;t<o;++t)this._destroyDatasetMeta(t)}destroy(){this.notifyPlugins("beforeDestroy");let{canvas:t,ctx:o}=this;this._stop(),this.config.clearCache(),t&&(this.unbindEvents(),qL(t,o),this.platform.releaseContext(o),this.canvas=null,this.ctx=null),delete y6[this.id],this.notifyPlugins("afterDestroy")}toBase64Image(...t){return this.canvas.toDataURL(...t)}bindEvents(){this.bindUserEvents(),this.options.responsive?this.bindResponsiveEvents():this.attached=!0}bindUserEvents(){let t=this._listeners,o=this.platform,r=(a,s)=>{o.addEventListener(this,a,s),t[a]=s},n=(a,s,i)=>{a.offsetX=s,a.offsetY=i,this._eventHandler(a)};Dt(this.options.events,a=>r(a,n))}bindResponsiveEvents(){this._responsiveListeners||(this._responsiveListeners={});let t=this._responsiveListeners,o=this.platform,r=(l,c)=>{o.addEventListener(this,l,c),t[l]=c},n=(l,c)=>{t[l]&&(o.removeEventListener(this,l,c),delete t[l])},a=(l,c)=>{this.canvas&&this.resize(l,c)},s,i=()=>{n("attach",i),this.attached=!0,this.resize(),r("resize",a),r("detach",s)};s=()=>{this.attached=!1,n("resize",a),this._stop(),this._resize(0,0),r("attach",i)},o.isAttached(this.canvas)?i():s()}unbindEvents(){Dt(this._listeners,(t,o)=>{this.platform.removeEventListener(this,o,t)}),this._listeners={},Dt(this._responsiveListeners,(t,o)=>{this.platform.removeEventListener(this,o,t)}),this._responsiveListeners=void 0}updateHoverStyle(t,o,r){let n=r?"set":"remove",a,s,i,l;for(o==="dataset"&&(a=this.getDatasetMeta(t[0].datasetIndex),a.controller["_"+n+"DatasetHoverStyle"]()),i=0,l=t.length;i<l;++i){s=t[i];let c=s&&this.getDatasetMeta(s.datasetIndex).controller;c&&c[n+"HoverStyle"](s.element,s.datasetIndex,s.index)}}getActiveElements(){return this._active||[]}setActiveElements(t){let o=this._active||[],r=t.map(({datasetIndex:a,index:s})=>{let i=this.getDatasetMeta(a);if(!i)throw new Error("No dataset found at index "+a);return{datasetIndex:a,element:i.data[s],index:s}});!C2(r,o)&&(this._active=r,this._lastEvent=null,this._updateHoverStyles(r,o))}notifyPlugins(t,o,r){return this._plugins.notify(this,t,o,r)}isPluginEnabled(t){return this._plugins._cache.filter(o=>o.plugin.id===t).length===1}_updateHoverStyles(t,o,r){let n=this.options.hover,a=(l,c)=>l.filter(u=>!c.some(m=>u.datasetIndex===m.datasetIndex&&u.index===m.index)),s=a(o,t),i=r?t:a(t,o);s.length&&this.updateHoverStyle(s,n.mode,!1),i.length&&n.mode&&this.updateHoverStyle(i,n.mode,!0)}_eventHandler(t,o){let r={event:t,replay:o,cancelable:!0,inChartArea:this.isPointInArea(t)},n=s=>(s.options.events||this.options.events).includes(t.native.type);if(this.notifyPlugins("beforeEvent",r,n)===!1)return;let a=this._handleEvent(t,o,r.inChartArea);return r.cancelable=!1,this.notifyPlugins("afterEvent",r,n),(a||r.changed)&&this.render(),this}_handleEvent(t,o,r){let{_active:n=[],options:a}=this,s=o,i=this._getActiveElements(t,n,r,s),l=f$(t),c=Bhe(t,this._lastEvent,r,l);r&&(this._lastEvent=null,jt(a.onHover,[t,i,this],this),l&&jt(a.onClick,[t,i,this],this));let u=!C2(i,n);return(u||o)&&(this._active=i,this._updateHoverStyles(i,n,o)),this._lastEvent=c,u}_getActiveElements(t,o,r,n){if(t.type==="mouseout")return[];if(!r)return o;let a=this.options.hover;return this.getElementsAtEventForMode(t,a.mode,a,n)}};rt(mn,"defaults",yo),rt(mn,"instances",y6),rt(mn,"overrides",Su),rt(mn,"registry",Hi),rt(mn,"version",Mhe),rt(mn,"getChart",iq);function lq(){return Dt(mn.instances,e=>e._plugins.invalidate())}function _q(e,t){let{x:o,y:r,base:n,width:a,height:s}=e.getProps(["x","y","base","width","height"],t),i,l,c,u,m;return e.horizontal?(m=s/2,i=Math.min(o,n),l=Math.max(o,n),c=r-m,u=r+m):(m=a/2,i=o-m,l=o+m,c=Math.min(r,n),u=Math.max(r,n)),{left:i,top:c,right:l,bottom:u}}function Tu(e,t,o,r){return e?0:ks(t,o,r)}function Dhe(e,t,o){let r=e.options.borderWidth,n=e.borderSkipped,a=QL(r);return{t:Tu(n.top,a.top,0,o),r:Tu(n.right,a.right,0,t),b:Tu(n.bottom,a.bottom,0,o),l:Tu(n.left,a.left,0,t)}}function Rhe(e,t,o){let{enableBorderRadius:r}=e.getProps(["enableBorderRadius"]),n=e.options.borderRadius,a=Iu(n),s=Math.min(t,o),i=e.borderSkipped,l=r||Tt(n);return{topLeft:Tu(!l||i.top||i.left,a.topLeft,0,s),topRight:Tu(!l||i.top||i.right,a.topRight,0,s),bottomLeft:Tu(!l||i.bottom||i.left,a.bottomLeft,0,s),bottomRight:Tu(!l||i.bottom||i.right,a.bottomRight,0,s)}}function _he(e){let t=_q(e),o=t.right-t.left,r=t.bottom-t.top,n=Dhe(e,o/2,r/2),a=Rhe(e,o/2,r/2);return{outer:{x:t.left,y:t.top,w:o,h:r,radius:a},inner:{x:t.left+n.l,y:t.top+n.t,w:o-n.l-n.r,h:r-n.t-n.b,radius:{topLeft:Math.max(0,a.topLeft-Math.max(n.t,n.l)),topRight:Math.max(0,a.topRight-Math.max(n.t,n.r)),bottomLeft:Math.max(0,a.bottomLeft-Math.max(n.b,n.l)),bottomRight:Math.max(0,a.bottomRight-Math.max(n.b,n.r))}}}}function dP(e,t,o,r){let n=t===null,a=o===null,i=e&&!(n&&a)&&_q(e,r);return i&&(n||cf(t,i.left,i.right))&&(a||cf(o,i.top,i.bottom))}function Fhe(e){return e.topLeft||e.topRight||e.bottomLeft||e.bottomRight}function Hhe(e,t){e.rect(t.x,t.y,t.w,t.h)}function pP(e,t,o={}){let r=e.x!==o.x?-t:0,n=e.y!==o.y?-t:0,a=(e.x+e.w!==o.x+o.w?t:0)-r,s=(e.y+e.h!==o.y+o.h?t:0)-n;return{x:e.x+r,y:e.y+n,w:e.w+a,h:e.h+s,radius:e.radius}}var ni=class extends Jl{constructor(t){super(),this.options=void 0,this.horizontal=void 0,this.base=void 0,this.width=void 0,this.height=void 0,this.inflateAmount=void 0,t&&Object.assign(this,t)}draw(t){let{inflateAmount:o,options:{borderColor:r,backgroundColor:n}}=this,{inner:a,outer:s}=_he(this),i=Fhe(s.radius)?E0:Hhe;t.save(),(s.w!==a.w||s.h!==a.h)&&(t.beginPath(),i(t,pP(s,o,a)),t.clip(),i(t,pP(a,-o,s)),t.fillStyle=r,t.fill("evenodd")),t.beginPath(),i(t,pP(a,o)),t.fillStyle=n,t.fill(),t.restore()}inRange(t,o,r){return dP(this,t,o,r)}inXRange(t,o){return dP(this,t,null,o)}inYRange(t,o){return dP(this,null,t,o)}getCenterPoint(t){let{x:o,y:r,base:n,horizontal:a}=this.getProps(["x","y","base","horizontal"],t);return{x:a?(o+n)/2:o,y:a?r:(r+n)/2}}getRange(t){return t==="x"?this.width/2:this.height/2}};rt(ni,"id","bar"),rt(ni,"defaults",{borderSkipped:"start",borderWidth:0,borderRadius:0,inflateAmount:"auto",pointStyle:void 0}),rt(ni,"defaultRoutes",{backgroundColor:"backgroundColor",borderColor:"borderColor"});var cq=(e,t)=>{let{boxHeight:o=t,boxWidth:r=t}=e;return e.usePointStyle&&(o=Math.min(o,t),r=e.pointStyleWidth||Math.min(r,t)),{boxWidth:r,boxHeight:o,itemHeight:Math.max(t,o)}},Ohe=(e,t)=>e!==null&&t!==null&&e.datasetIndex===t.datasetIndex&&e.index===t.index,v6=class extends Jl{constructor(t){super(),this._added=!1,this.legendHitBoxes=[],this._hoveredItem=null,this.doughnutMode=!1,this.chart=t.chart,this.options=t.options,this.ctx=t.ctx,this.legendItems=void 0,this.columnSizes=void 0,this.lineWidths=void 0,this.maxHeight=void 0,this.maxWidth=void 0,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.height=void 0,this.width=void 0,this._margins=void 0,this.position=void 0,this.weight=void 0,this.fullSize=void 0}update(t,o,r){this.maxWidth=t,this.maxHeight=o,this._margins=r,this.setDimensions(),this.buildLabels(),this.fit()}setDimensions(){this.isHorizontal()?(this.width=this.maxWidth,this.left=this._margins.left,this.right=this.width):(this.height=this.maxHeight,this.top=this._margins.top,this.bottom=this.height)}buildLabels(){let t=this.options.labels||{},o=jt(t.generateLabels,[this.chart],this)||[];t.filter&&(o=o.filter(r=>t.filter(r,this.chart.data))),t.sort&&(o=o.sort((r,n)=>t.sort(r,n,this.chart.data))),this.options.reverse&&o.reverse(),this.legendItems=o}fit(){let{options:t,ctx:o}=this;if(!t.display){this.width=this.height=0;return}let r=t.labels,n=un(r.font),a=n.size,s=this._computeTitleHeight(),{boxWidth:i,itemHeight:l}=cq(r,a),c,u;o.font=n.string,this.isHorizontal()?(c=this.maxWidth,u=this._fitRows(s,a,i,l)+10):(u=this.maxHeight,c=this._fitCols(s,n,i,l)+10),this.width=Math.min(c,t.maxWidth||this.maxWidth),this.height=Math.min(u,t.maxHeight||this.maxHeight)}_fitRows(t,o,r,n){let{ctx:a,maxWidth:s,options:{labels:{padding:i}}}=this,l=this.legendHitBoxes=[],c=this.lineWidths=[0],u=n+i,m=t;a.textAlign="left",a.textBaseline="middle";let f=-1,d=-u;return this.legendItems.forEach((p,h)=>{let S=r+o/2+a.measureText(p.text).width;(h===0||c[c.length-1]+S+2*i>s)&&(m+=u,c[c.length-(h>0?0:1)]=0,d+=u,f++),l[h]={left:0,top:d,row:f,width:S,height:n},c[c.length-1]+=S+i}),m}_fitCols(t,o,r,n){let{ctx:a,maxHeight:s,options:{labels:{padding:i}}}=this,l=this.legendHitBoxes=[],c=this.columnSizes=[],u=s-t,m=i,f=0,d=0,p=0,h=0;return this.legendItems.forEach((S,g)=>{let{itemWidth:b,itemHeight:I}=Vhe(r,o,a,S,n);g>0&&d+I+2*i>u&&(m+=f+i,c.push({width:f,height:d}),p+=f+i,h++,f=d=0),l[g]={left:p,top:d,col:h,width:b,height:I},f=Math.max(f,b),d+=I+i}),m+=f,c.push({width:f,height:d}),m}adjustHitBoxes(){if(!this.options.display)return;let t=this._computeTitleHeight(),{legendHitBoxes:o,options:{align:r,labels:{padding:n},rtl:a}}=this,s=ff(a,this.left,this.width);if(this.isHorizontal()){let i=0,l=ba(r,this.left+n,this.right-this.lineWidths[i]);for(let c of o)i!==c.row&&(i=c.row,l=ba(r,this.left+n,this.right-this.lineWidths[i])),c.top+=this.top+t+n,c.left=s.leftForLtr(s.x(l),c.width),l+=c.width+n}else{let i=0,l=ba(r,this.top+t+n,this.bottom-this.columnSizes[i].height);for(let c of o)c.col!==i&&(i=c.col,l=ba(r,this.top+t+n,this.bottom-this.columnSizes[i].height)),c.top=l,c.left+=this.left+n,c.left=s.leftForLtr(s.x(c.left),c.width),l+=c.height+n}}isHorizontal(){return this.options.position==="top"||this.options.position==="bottom"}draw(){if(this.options.display){let t=this.ctx;n6(t,this),this._draw(),a6(t)}}_draw(){let{options:t,columnSizes:o,lineWidths:r,ctx:n}=this,{align:a,labels:s}=t,i=yo.color,l=ff(t.rtl,this.left,this.width),c=un(s.font),{padding:u}=s,m=c.size,f=m/2,d;this.drawTitle(),n.textAlign=l.textAlign("left"),n.textBaseline="middle",n.lineWidth=.5,n.font=c.string;let{boxWidth:p,boxHeight:h,itemHeight:S}=cq(s,m),g=function(T,w,E){if(isNaN(p)||p<=0||isNaN(h)||h<0)return;n.save();let B=wt(E.lineWidth,1);if(n.fillStyle=wt(E.fillStyle,i),n.lineCap=wt(E.lineCap,"butt"),n.lineDashOffset=wt(E.lineDashOffset,0),n.lineJoin=wt(E.lineJoin,"miter"),n.lineWidth=B,n.strokeStyle=wt(E.strokeStyle,i),n.setLineDash(wt(E.lineDash,[])),s.usePointStyle){let L={radius:h*Math.SQRT2/2,pointStyle:E.pointStyle,rotation:E.rotation,borderWidth:B},_=l.xPlus(T,p/2),j=w+f;YL(n,L,_,j,s.pointStyleWidth&&p)}else{let L=w+Math.max((m-h)/2,0),_=l.leftForLtr(T,p),j=Iu(E.borderRadius);n.beginPath(),Object.values(j).some(ne=>ne!==0)?E0(n,{x:_,y:L,w:p,h,radius:j}):n.rect(_,L,p,h),n.fill(),B!==0&&n.stroke()}n.restore()},b=function(T,w,E){mf(n,E.text,T,w+S/2,c,{strikethrough:E.hidden,textAlign:l.textAlign(E.textAlign)})},I=this.isHorizontal(),v=this._computeTitleHeight();I?d={x:ba(a,this.left+u,this.right-r[0]),y:this.top+u+v,line:0}:d={x:this.left+u,y:ba(a,this.top+v+u,this.bottom-o[0].height),line:0},nP(this.ctx,t.textDirection);let C=S+u;this.legendItems.forEach((T,w)=>{n.strokeStyle=T.fontColor,n.fillStyle=T.fontColor;let E=n.measureText(T.text).width,B=l.textAlign(T.textAlign||(T.textAlign=s.textAlign)),L=p+f+E,_=d.x,j=d.y;l.setWidth(this.width),I?w>0&&_+L+u>this.right&&(j=d.y+=C,d.line++,_=d.x=ba(a,this.left+u,this.right-r[d.line])):w>0&&j+C>this.bottom&&(_=d.x=_+o[d.line].width+u,d.line++,j=d.y=ba(a,this.top+v+u,this.bottom-o[d.line].height));let ne=l.x(_);if(g(ne,j,T),_=w$(B,_+p+f,I?_+L:this.right,t.rtl),b(l.x(_),j,T),I)d.x+=L+u;else if(typeof T.text!="string"){let K=c.lineHeight;d.y+=Fq(T,K)+u}else d.y+=C}),aP(this.ctx,t.textDirection)}drawTitle(){let t=this.options,o=t.title,r=un(o.font),n=Dn(o.padding);if(!o.display)return;let a=ff(t.rtl,this.left,this.width),s=this.ctx,i=o.position,l=r.size/2,c=n.top+l,u,m=this.left,f=this.width;if(this.isHorizontal())f=Math.max(...this.lineWidths),u=this.top+c,m=ba(t.align,m,this.right-f);else{let p=this.columnSizes.reduce((h,S)=>Math.max(h,S.height),0);u=c+ba(t.align,this.top,this.bottom-p-t.labels.padding-this._computeTitleHeight())}let d=ba(i,m,m+f);s.textAlign=a.textAlign(GL(i)),s.textBaseline="middle",s.strokeStyle=o.color,s.fillStyle=o.color,s.font=r.string,mf(s,o.text,d,u,r)}_computeTitleHeight(){let t=this.options.title,o=un(t.font),r=Dn(t.padding);return t.display?o.lineHeight+r.height:0}_getLegendItemAt(t,o){let r,n,a;if(cf(t,this.left,this.right)&&cf(o,this.top,this.bottom)){for(a=this.legendHitBoxes,r=0;r<a.length;++r)if(n=a[r],cf(t,n.left,n.left+n.width)&&cf(o,n.top,n.top+n.height))return this.legendItems[r]}return null}handleEvent(t){let o=this.options;if(!Whe(t.type,o))return;let r=this._getLegendItemAt(t.x,t.y);if(t.type==="mousemove"||t.type==="mouseout"){let n=this._hoveredItem,a=Ohe(n,r);n&&!a&&jt(o.onLeave,[t,n,this],this),this._hoveredItem=r,r&&!a&&jt(o.onHover,[t,r,this],this)}else r&&jt(o.onClick,[t,r,this],this)}};function Vhe(e,t,o,r,n){let a=Nhe(r,e,t,o),s=zhe(n,r,t.lineHeight);return{itemWidth:a,itemHeight:s}}function Nhe(e,t,o,r){let n=e.text;return n&&typeof n!="string"&&(n=n.reduce((a,s)=>a.length>s.length?a:s)),t+o.size/2+r.measureText(n).width}function zhe(e,t,o){let r=e;return typeof t.text!="string"&&(r=Fq(t,o)),r}function Fq(e,t){let o=e.text?e.text.length:0;return t*o}function Whe(e,t){return!!((e==="mousemove"||e==="mouseout")&&(t.onHover||t.onLeave)||t.onClick&&(e==="click"||e==="mouseup"))}var F0={id:"legend",_element:v6,start(e,t,o){let r=e.legend=new v6({ctx:e.ctx,options:o,chart:e});wu.configure(e,r,o),wu.addBox(e,r)},stop(e){wu.removeBox(e,e.legend),delete e.legend},beforeUpdate(e,t,o){let r=e.legend;wu.configure(e,r,o),r.options=o},afterUpdate(e){let t=e.legend;t.buildLabels(),t.adjustHitBoxes()},afterEvent(e,t){t.replay||e.legend.handleEvent(t.event)},defaults:{display:!0,position:"top",align:"center",fullSize:!0,reverse:!1,weight:1e3,onClick(e,t,o){let r=t.datasetIndex,n=o.chart;n.isDatasetVisible(r)?(n.hide(r),t.hidden=!0):(n.show(r),t.hidden=!1)},onHover:null,onLeave:null,labels:{color:e=>e.chart.options.color,boxWidth:40,padding:10,generateLabels(e){let t=e.data.datasets,{labels:{usePointStyle:o,pointStyle:r,textAlign:n,color:a,useBorderRadius:s,borderRadius:i}}=e.legend.options;return e._getSortedDatasetMetas().map(l=>{let c=l.controller.getStyle(o?0:void 0),u=Dn(c.borderWidth);return{text:t[l.index].label,fillStyle:c.backgroundColor,fontColor:a,hidden:!l.visible,lineCap:c.borderCapStyle,lineDash:c.borderDash,lineDashOffset:c.borderDashOffset,lineJoin:c.borderJoinStyle,lineWidth:(u.width+u.height)/4,strokeStyle:c.borderColor,pointStyle:r||c.pointStyle,rotation:c.rotation,textAlign:n||c.textAlign,borderRadius:s&&(i||c.borderRadius),datasetIndex:l.index}},this)}},title:{color:e=>e.chart.options.color,display:!1,position:"center",text:""}},descriptors:{_scriptable:e=>!e.startsWith("on"),labels:{_scriptable:e=>!["generateLabels","filter","sort"].includes(e)}}};var R2={average(e){if(!e.length)return!1;let t,o,r=new Set,n=0,a=0;for(t=0,o=e.length;t<o;++t){let i=e[t].element;if(i&&i.hasValue()){let l=i.tooltipPosition();r.add(l.x),n+=l.y,++a}}return a===0||r.size===0?!1:{x:[...r].reduce((i,l)=>i+l)/r.size,y:n/a}},nearest(e,t){if(!e.length)return!1;let o=t.x,r=t.y,n=Number.POSITIVE_INFINITY,a,s,i;for(a=0,s=e.length;a<s;++a){let l=e[a].element;if(l&&l.hasValue()){let c=l.getCenterPoint(),u=g$(t,c);u<n&&(n=u,i=l)}}if(i){let l=i.tooltipPosition();o=l.x,r=l.y}return{x:o,y:r}}};function Fi(e,t){return t&&(po(t)?Array.prototype.push.apply(e,t):e.push(t)),e}function Ql(e){return(typeof e=="string"||e instanceof String)&&e.indexOf(`
|
|
1201
|
+
`)>-1?e.split(`
|
|
1202
|
+
`):e}function Uhe(e,t){let{element:o,datasetIndex:r,index:n}=t,a=e.getDatasetMeta(r).controller,{label:s,value:i}=a.getLabelAndValue(n);return{chart:e,label:s,parsed:a.getParsed(n),raw:e.data.datasets[r].data[n],formattedValue:i,dataset:a.getDataset(),dataIndex:n,datasetIndex:r,element:o}}function uq(e,t){let o=e.chart.ctx,{body:r,footer:n,title:a}=e,{boxWidth:s,boxHeight:i}=t,l=un(t.bodyFont),c=un(t.titleFont),u=un(t.footerFont),m=a.length,f=n.length,d=r.length,p=Dn(t.padding),h=p.height,S=0,g=r.reduce((v,C)=>v+C.before.length+C.lines.length+C.after.length,0);if(g+=e.beforeBody.length+e.afterBody.length,m&&(h+=m*c.lineHeight+(m-1)*t.titleSpacing+t.titleMarginBottom),g){let v=t.displayColors?Math.max(i,l.lineHeight):l.lineHeight;h+=d*v+(g-d)*l.lineHeight+(g-1)*t.bodySpacing}f&&(h+=t.footerMarginTop+f*u.lineHeight+(f-1)*t.footerSpacing);let b=0,I=function(v){S=Math.max(S,o.measureText(v).width+b)};return o.save(),o.font=c.string,Dt(e.title,I),o.font=l.string,Dt(e.beforeBody.concat(e.afterBody),I),b=t.displayColors?s+2+t.boxPadding:0,Dt(r,v=>{Dt(v.before,I),Dt(v.lines,I),Dt(v.after,I)}),b=0,o.font=u.string,Dt(e.footer,I),o.restore(),S+=p.width,{width:S,height:h}}function Zhe(e,t){let{y:o,height:r}=t;return o<r/2?"top":o>e.height-r/2?"bottom":"center"}function jhe(e,t,o,r){let{x:n,width:a}=r,s=o.caretSize+o.caretPadding;if(e==="left"&&n+a+s>t.width||e==="right"&&n-a-s<0)return!0}function Ghe(e,t,o,r){let{x:n,width:a}=o,{width:s,chartArea:{left:i,right:l}}=e,c="center";return r==="center"?c=n<=(i+l)/2?"left":"right":n<=a/2?c="left":n>=s-a/2&&(c="right"),jhe(c,e,t,o)&&(c="center"),c}function mq(e,t,o){let r=o.yAlign||t.yAlign||Zhe(e,o);return{xAlign:o.xAlign||t.xAlign||Ghe(e,t,o,r),yAlign:r}}function $he(e,t){let{x:o,width:r}=e;return t==="right"?o-=r:t==="center"&&(o-=r/2),o}function qhe(e,t,o){let{y:r,height:n}=e;return t==="top"?r+=o:t==="bottom"?r-=n+o:r-=n/2,r}function fq(e,t,o,r){let{caretSize:n,caretPadding:a,cornerRadius:s}=e,{xAlign:i,yAlign:l}=o,c=n+a,{topLeft:u,topRight:m,bottomLeft:f,bottomRight:d}=Iu(s),p=$he(t,i),h=qhe(t,l,c);return l==="center"?i==="left"?p+=c:i==="right"&&(p-=c):i==="left"?p-=Math.max(u,f)+n:i==="right"&&(p+=Math.max(m,d)+n),{x:ks(p,0,r.width-t.width),y:ks(h,0,r.height-t.height)}}function d6(e,t,o){let r=Dn(o.padding);return t==="center"?e.x+e.width/2:t==="right"?e.x+e.width-r.right:e.x+r.left}function dq(e){return Fi([],Ql(e))}function Xhe(e,t,o){return vu(e,{tooltip:t,tooltipItems:o,type:"tooltip"})}function pq(e,t){let o=t&&t.dataset&&t.dataset.tooltip&&t.dataset.tooltip.callbacks;return o?e.override(o):e}var Hq={beforeTitle:_i,title(e){if(e.length>0){let t=e[0],o=t.chart.data.labels,r=o?o.length:0;if(this&&this.options&&this.options.mode==="dataset")return t.dataset.label||"";if(t.label)return t.label;if(r>0&&t.dataIndex<r)return o[t.dataIndex]}return""},afterTitle:_i,beforeBody:_i,beforeLabel:_i,label(e){if(this&&this.options&&this.options.mode==="dataset")return e.label+": "+e.formattedValue||e.formattedValue;let t=e.dataset.label||"";t&&(t+=": ");let o=e.formattedValue;return Bt(o)||(t+=o),t},labelColor(e){let o=e.chart.getDatasetMeta(e.datasetIndex).controller.getStyle(e.dataIndex);return{borderColor:o.borderColor,backgroundColor:o.backgroundColor,borderWidth:o.borderWidth,borderDash:o.borderDash,borderDashOffset:o.borderDashOffset,borderRadius:0}},labelTextColor(){return this.options.bodyColor},labelPointStyle(e){let o=e.chart.getDatasetMeta(e.datasetIndex).controller.getStyle(e.dataIndex);return{pointStyle:o.pointStyle,rotation:o.rotation}},afterLabel:_i,afterBody:_i,beforeFooter:_i,footer:_i,afterFooter:_i};function ya(e,t,o,r){let n=e[t].call(o,r);return typeof n>"u"?Hq[t].call(o,r):n}var _2=class extends Jl{constructor(t){super(),this.opacity=0,this._active=[],this._eventPosition=void 0,this._size=void 0,this._cachedAnimations=void 0,this._tooltipItems=[],this.$animations=void 0,this.$context=void 0,this.chart=t.chart,this.options=t.options,this.dataPoints=void 0,this.title=void 0,this.beforeBody=void 0,this.body=void 0,this.afterBody=void 0,this.footer=void 0,this.xAlign=void 0,this.yAlign=void 0,this.x=void 0,this.y=void 0,this.height=void 0,this.width=void 0,this.caretX=void 0,this.caretY=void 0,this.labelColors=void 0,this.labelPointStyles=void 0,this.labelTextColors=void 0}initialize(t){this.options=t,this._cachedAnimations=void 0,this.$context=void 0}_resolveAnimations(){let t=this._cachedAnimations;if(t)return t;let o=this.chart,r=this.options.setContext(this.getContext()),n=r.enabled&&o.options.animation&&r.animations,a=new S6(this.chart,n);return n._cacheable&&(this._cachedAnimations=Object.freeze(a)),a}getContext(){return this.$context||(this.$context=Xhe(this.chart.getContext(),this,this._tooltipItems))}getTitle(t,o){let{callbacks:r}=o,n=ya(r,"beforeTitle",this,t),a=ya(r,"title",this,t),s=ya(r,"afterTitle",this,t),i=[];return i=Fi(i,Ql(n)),i=Fi(i,Ql(a)),i=Fi(i,Ql(s)),i}getBeforeBody(t,o){return dq(ya(o.callbacks,"beforeBody",this,t))}getBody(t,o){let{callbacks:r}=o,n=[];return Dt(t,a=>{let s={before:[],lines:[],after:[]},i=pq(r,a);Fi(s.before,Ql(ya(i,"beforeLabel",this,a))),Fi(s.lines,ya(i,"label",this,a)),Fi(s.after,Ql(ya(i,"afterLabel",this,a))),n.push(s)}),n}getAfterBody(t,o){return dq(ya(o.callbacks,"afterBody",this,t))}getFooter(t,o){let{callbacks:r}=o,n=ya(r,"beforeFooter",this,t),a=ya(r,"footer",this,t),s=ya(r,"afterFooter",this,t),i=[];return i=Fi(i,Ql(n)),i=Fi(i,Ql(a)),i=Fi(i,Ql(s)),i}_createItems(t){let o=this._active,r=this.chart.data,n=[],a=[],s=[],i=[],l,c;for(l=0,c=o.length;l<c;++l)i.push(Uhe(this.chart,o[l]));return t.filter&&(i=i.filter((u,m,f)=>t.filter(u,m,f,r))),t.itemSort&&(i=i.sort((u,m)=>t.itemSort(u,m,r))),Dt(i,u=>{let m=pq(t.callbacks,u);n.push(ya(m,"labelColor",this,u)),a.push(ya(m,"labelPointStyle",this,u)),s.push(ya(m,"labelTextColor",this,u))}),this.labelColors=n,this.labelPointStyles=a,this.labelTextColors=s,this.dataPoints=i,i}update(t,o){let r=this.options.setContext(this.getContext()),n=this._active,a,s=[];if(!n.length)this.opacity!==0&&(a={opacity:0});else{let i=R2[r.position].call(this,n,this._eventPosition);s=this._createItems(r),this.title=this.getTitle(s,r),this.beforeBody=this.getBeforeBody(s,r),this.body=this.getBody(s,r),this.afterBody=this.getAfterBody(s,r),this.footer=this.getFooter(s,r);let l=this._size=uq(this,r),c=Object.assign({},i,l),u=mq(this.chart,r,c),m=fq(r,c,u,this.chart);this.xAlign=u.xAlign,this.yAlign=u.yAlign,a={opacity:1,x:m.x,y:m.y,width:l.width,height:l.height,caretX:i.x,caretY:i.y}}this._tooltipItems=s,this.$context=void 0,a&&this._resolveAnimations().update(this,a),t&&r.external&&r.external.call(this,{chart:this.chart,tooltip:this,replay:o})}drawCaret(t,o,r,n){let a=this.getCaretPosition(t,r,n);o.lineTo(a.x1,a.y1),o.lineTo(a.x2,a.y2),o.lineTo(a.x3,a.y3)}getCaretPosition(t,o,r){let{xAlign:n,yAlign:a}=this,{caretSize:s,cornerRadius:i}=r,{topLeft:l,topRight:c,bottomLeft:u,bottomRight:m}=Iu(i),{x:f,y:d}=t,{width:p,height:h}=o,S,g,b,I,v,C;return a==="center"?(v=d+h/2,n==="left"?(S=f,g=S-s,I=v+s,C=v-s):(S=f+p,g=S+s,I=v-s,C=v+s),b=S):(n==="left"?g=f+Math.max(l,u)+s:n==="right"?g=f+p-Math.max(c,m)-s:g=this.caretX,a==="top"?(I=d,v=I-s,S=g-s,b=g+s):(I=d+h,v=I+s,S=g+s,b=g-s),C=I),{x1:S,x2:g,x3:b,y1:I,y2:v,y3:C}}drawTitle(t,o,r){let n=this.title,a=n.length,s,i,l;if(a){let c=ff(r.rtl,this.x,this.width);for(t.x=d6(this,r.titleAlign,r),o.textAlign=c.textAlign(r.titleAlign),o.textBaseline="middle",s=un(r.titleFont),i=r.titleSpacing,o.fillStyle=r.titleColor,o.font=s.string,l=0;l<a;++l)o.fillText(n[l],c.x(t.x),t.y+s.lineHeight/2),t.y+=s.lineHeight+i,l+1===a&&(t.y+=r.titleMarginBottom-i)}}_drawColorBox(t,o,r,n,a){let s=this.labelColors[r],i=this.labelPointStyles[r],{boxHeight:l,boxWidth:c}=a,u=un(a.bodyFont),m=d6(this,"left",a),f=n.x(m),d=l<u.lineHeight?(u.lineHeight-l)/2:0,p=o.y+d;if(a.usePointStyle){let h={radius:Math.min(c,l)/2,pointStyle:i.pointStyle,rotation:i.rotation,borderWidth:1},S=n.leftForLtr(f,c)+c/2,g=p+l/2;t.strokeStyle=a.multiKeyBackground,t.fillStyle=a.multiKeyBackground,XL(t,h,S,g),t.strokeStyle=s.borderColor,t.fillStyle=s.backgroundColor,XL(t,h,S,g)}else{t.lineWidth=Tt(s.borderWidth)?Math.max(...Object.values(s.borderWidth)):s.borderWidth||1,t.strokeStyle=s.borderColor,t.setLineDash(s.borderDash||[]),t.lineDashOffset=s.borderDashOffset||0;let h=n.leftForLtr(f,c),S=n.leftForLtr(n.xPlus(f,1),c-2),g=Iu(s.borderRadius);Object.values(g).some(b=>b!==0)?(t.beginPath(),t.fillStyle=a.multiKeyBackground,E0(t,{x:h,y:p,w:c,h:l,radius:g}),t.fill(),t.stroke(),t.fillStyle=s.backgroundColor,t.beginPath(),E0(t,{x:S,y:p+1,w:c-2,h:l-2,radius:g}),t.fill()):(t.fillStyle=a.multiKeyBackground,t.fillRect(h,p,c,l),t.strokeRect(h,p,c,l),t.fillStyle=s.backgroundColor,t.fillRect(S,p+1,c-2,l-2))}t.fillStyle=this.labelTextColors[r]}drawBody(t,o,r){let{body:n}=this,{bodySpacing:a,bodyAlign:s,displayColors:i,boxHeight:l,boxWidth:c,boxPadding:u}=r,m=un(r.bodyFont),f=m.lineHeight,d=0,p=ff(r.rtl,this.x,this.width),h=function(E){o.fillText(E,p.x(t.x+d),t.y+f/2),t.y+=f+a},S=p.textAlign(s),g,b,I,v,C,T,w;for(o.textAlign=s,o.textBaseline="middle",o.font=m.string,t.x=d6(this,S,r),o.fillStyle=r.bodyColor,Dt(this.beforeBody,h),d=i&&S!=="right"?s==="center"?c/2+u:c+2+u:0,v=0,T=n.length;v<T;++v){for(g=n[v],b=this.labelTextColors[v],o.fillStyle=b,Dt(g.before,h),I=g.lines,i&&I.length&&(this._drawColorBox(o,t,v,p,r),f=Math.max(m.lineHeight,l)),C=0,w=I.length;C<w;++C)h(I[C]),f=m.lineHeight;Dt(g.after,h)}d=0,f=m.lineHeight,Dt(this.afterBody,h),t.y-=a}drawFooter(t,o,r){let n=this.footer,a=n.length,s,i;if(a){let l=ff(r.rtl,this.x,this.width);for(t.x=d6(this,r.footerAlign,r),t.y+=r.footerMarginTop,o.textAlign=l.textAlign(r.footerAlign),o.textBaseline="middle",s=un(r.footerFont),o.fillStyle=r.footerColor,o.font=s.string,i=0;i<a;++i)o.fillText(n[i],l.x(t.x),t.y+s.lineHeight/2),t.y+=s.lineHeight+r.footerSpacing}}drawBackground(t,o,r,n){let{xAlign:a,yAlign:s}=this,{x:i,y:l}=t,{width:c,height:u}=r,{topLeft:m,topRight:f,bottomLeft:d,bottomRight:p}=Iu(n.cornerRadius);o.fillStyle=n.backgroundColor,o.strokeStyle=n.borderColor,o.lineWidth=n.borderWidth,o.beginPath(),o.moveTo(i+m,l),s==="top"&&this.drawCaret(t,o,r,n),o.lineTo(i+c-f,l),o.quadraticCurveTo(i+c,l,i+c,l+f),s==="center"&&a==="right"&&this.drawCaret(t,o,r,n),o.lineTo(i+c,l+u-p),o.quadraticCurveTo(i+c,l+u,i+c-p,l+u),s==="bottom"&&this.drawCaret(t,o,r,n),o.lineTo(i+d,l+u),o.quadraticCurveTo(i,l+u,i,l+u-d),s==="center"&&a==="left"&&this.drawCaret(t,o,r,n),o.lineTo(i,l+m),o.quadraticCurveTo(i,l,i+m,l),o.closePath(),o.fill(),n.borderWidth>0&&o.stroke()}_updateAnimationTarget(t){let o=this.chart,r=this.$animations,n=r&&r.x,a=r&&r.y;if(n||a){let s=R2[t.position].call(this,this._active,this._eventPosition);if(!s)return;let i=this._size=uq(this,t),l=Object.assign({},s,this._size),c=mq(o,t,l),u=fq(t,l,c,o);(n._to!==u.x||a._to!==u.y)&&(this.xAlign=c.xAlign,this.yAlign=c.yAlign,this.width=i.width,this.height=i.height,this.caretX=s.x,this.caretY=s.y,this._resolveAnimations().update(this,u))}}_willRender(){return!!this.opacity}draw(t){let o=this.options.setContext(this.getContext()),r=this.opacity;if(!r)return;this._updateAnimationTarget(o);let n={width:this.width,height:this.height},a={x:this.x,y:this.y};r=Math.abs(r)<.001?0:r;let s=Dn(o.padding),i=this.title.length||this.beforeBody.length||this.body.length||this.afterBody.length||this.footer.length;o.enabled&&i&&(t.save(),t.globalAlpha=r,this.drawBackground(a,t,n,o),nP(t,o.textDirection),a.y+=s.top,this.drawTitle(a,t,o),this.drawBody(a,t,o),this.drawFooter(a,t,o),aP(t,o.textDirection),t.restore())}getActiveElements(){return this._active||[]}setActiveElements(t,o){let r=this._active,n=t.map(({datasetIndex:i,index:l})=>{let c=this.chart.getDatasetMeta(i);if(!c)throw new Error("Cannot find a dataset at index "+i);return{datasetIndex:i,element:c.data[l],index:l}}),a=!C2(r,n),s=this._positionChanged(n,o);(a||s)&&(this._active=n,this._eventPosition=o,this._ignoreReplayEvents=!0,this.update(!0))}handleEvent(t,o,r=!0){if(o&&this._ignoreReplayEvents)return!1;this._ignoreReplayEvents=!1;let n=this.options,a=this._active||[],s=this._getActiveElements(t,a,o,r),i=this._positionChanged(s,t),l=o||!C2(s,a)||i;return l&&(this._active=s,(n.enabled||n.external)&&(this._eventPosition={x:t.x,y:t.y},this.update(!0,o))),l}_getActiveElements(t,o,r,n){let a=this.options;if(t.type==="mouseout")return[];if(!n)return o.filter(i=>this.chart.data.datasets[i.datasetIndex]&&this.chart.getDatasetMeta(i.datasetIndex).controller.getParsed(i.index)!==void 0);let s=this.chart.getElementsAtEventForMode(t,a.mode,a,r);return a.reverse&&s.reverse(),s}_positionChanged(t,o){let{caretX:r,caretY:n,options:a}=this,s=R2[a.position].call(this,t,o);return s!==!1&&(r!==s.x||n!==s.y)}};rt(_2,"positioners",R2);var H0={id:"tooltip",_element:_2,positioners:R2,afterInit(e,t,o){o&&(e.tooltip=new _2({chart:e,options:o}))},beforeUpdate(e,t,o){e.tooltip&&e.tooltip.initialize(o)},reset(e,t,o){e.tooltip&&e.tooltip.initialize(o)},afterDraw(e){let t=e.tooltip;if(t&&t._willRender()){let o={tooltip:t};if(e.notifyPlugins("beforeTooltipDraw",{...o,cancelable:!0})===!1)return;t.draw(e.ctx),e.notifyPlugins("afterTooltipDraw",o)}},afterEvent(e,t){if(e.tooltip){let o=t.replay;e.tooltip.handleEvent(t.event,o,t.inChartArea)&&(t.changed=!0)}},defaults:{enabled:!0,external:null,position:"average",backgroundColor:"rgba(0,0,0,0.8)",titleColor:"#fff",titleFont:{weight:"bold"},titleSpacing:2,titleMarginBottom:6,titleAlign:"left",bodyColor:"#fff",bodySpacing:2,bodyFont:{},bodyAlign:"left",footerColor:"#fff",footerSpacing:2,footerMarginTop:6,footerFont:{weight:"bold"},footerAlign:"left",padding:6,caretPadding:2,caretSize:5,cornerRadius:6,boxHeight:(e,t)=>t.bodyFont.size,boxWidth:(e,t)=>t.bodyFont.size,multiKeyBackground:"#fff",displayColors:!0,boxPadding:0,borderColor:"rgba(0,0,0,0)",borderWidth:0,animation:{duration:400,easing:"easeOutQuart"},animations:{numbers:{type:"number",properties:["x","y","width","height","caretX","caretY"]},opacity:{easing:"linear",duration:200}},callbacks:Hq},defaultRoutes:{bodyFont:"font",footerFont:"font",titleFont:"font"},descriptors:{_scriptable:e=>e!=="filter"&&e!=="itemSort"&&e!=="external",_indexable:!1,callbacks:{_scriptable:!1,_indexable:!1},animation:{_fallback:!1},animations:{_fallback:"animation"}},additionalOptionScopes:["interaction"]};var Yhe=(e,t,o,r)=>(typeof t=="string"?(o=e.push(t)-1,r.unshift({index:o,label:t})):isNaN(t)&&(o=null),o);function Khe(e,t,o,r){let n=e.indexOf(t);if(n===-1)return Yhe(e,t,o,r);let a=e.lastIndexOf(t);return n!==a?o:n}var Qhe=(e,t)=>e===null?null:ks(Math.round(e),0,t);function hq(e){let t=this.getLabels();return e>=0&&e<t.length?t[e]:e}var Oi=class extends bf{constructor(t){super(t),this._startValue=void 0,this._valueRange=0,this._addedLabels=[]}init(t){let o=this._addedLabels;if(o.length){let r=this.getLabels();for(let{index:n,label:a}of o)r[n]===a&&r.splice(n,1);this._addedLabels=[]}super.init(t)}parse(t,o){if(Bt(t))return null;let r=this.getLabels();return o=isFinite(o)&&r[o]===t?o:Khe(r,t,wt(o,t),this._addedLabels),Qhe(o,r.length-1)}determineDataLimits(){let{minDefined:t,maxDefined:o}=this.getUserBounds(),{min:r,max:n}=this.getMinMax(!0);this.options.bounds==="ticks"&&(t||(r=0),o||(n=this.getLabels().length-1)),this.min=r,this.max=n}buildTicks(){let t=this.min,o=this.max,r=this.options.offset,n=[],a=this.getLabels();a=t===0&&o===a.length-1?a:a.slice(t,o+1),this._valueRange=Math.max(a.length-(r?0:1),1),this._startValue=this.min-(r?.5:0);for(let s=t;s<=o;s++)n.push({value:s});return n}getLabelForValue(t){return hq.call(this,t)}configure(){super.configure(),this.isHorizontal()||(this._reversePixels=!this._reversePixels)}getPixelForValue(t){return typeof t!="number"&&(t=this.parse(t)),t===null?NaN:this.getPixelForDecimal((t-this._startValue)/this._valueRange)}getPixelForTick(t){let o=this.ticks;return t<0||t>o.length-1?null:this.getPixelForValue(o[t].value)}getValueForPixel(t){return Math.round(this._startValue+this.getDecimalForPixel(t)*this._valueRange)}getBasePixel(){return this.bottom}};rt(Oi,"id","category"),rt(Oi,"defaults",{ticks:{callback:hq}});function Jhe(e,t){let o=[],{bounds:n,step:a,min:s,max:i,precision:l,count:c,maxTicks:u,maxDigits:m,includeBounds:f}=e,d=a||1,p=u-1,{min:h,max:S}=t,g=!Bt(s),b=!Bt(i),I=!Bt(c),v=(S-h)/(m+1),C=VL((S-h)/p/d)*d,T,w,E,B;if(C<1e-14&&!g&&!b)return[{value:h},{value:S}];B=Math.ceil(S/C)-Math.floor(h/C),B>p&&(C=VL(B*C/p/d)*d),Bt(l)||(T=Math.pow(10,l),C=Math.ceil(C*T)/T),n==="ticks"?(w=Math.floor(h/C)*C,E=Math.ceil(S/C)*C):(w=h,E=S),g&&b&&a&&p$((i-s)/a,C/1e3)?(B=Math.round(Math.min((i-s)/C,u)),C=(i-s)/B,w=s,E=i):I?(w=g?s:w,E=b?i:E,B=c-1,C=(E-w)/B):(B=(E-w)/C,w2(B,Math.round(B),C/1e3)?B=Math.round(B):B=Math.ceil(B));let L=Math.max(zL(C),zL(w));T=Math.pow(10,Bt(l)?L:l),w=Math.round(w*T)/T,E=Math.round(E*T)/T;let _=0;for(g&&(f&&w!==s?(o.push({value:s}),w<s&&_++,w2(Math.round((w+_*C)*T)/T,s,gq(s,v,e))&&_++):w<s&&_++);_<B;++_){let j=Math.round((w+_*C)*T)/T;if(b&&j>i)break;o.push({value:j})}return b&&f&&E!==i?o.length&&w2(o[o.length-1].value,i,gq(i,v,e))?o[o.length-1].value=i:o.push({value:i}):(!b||E===i)&&o.push({value:E}),o}function gq(e,t,{horizontal:o,minRotation:r}){let n=Yl(r),a=(o?Math.sin(n):Math.cos(n))||.001,s=.75*t*(""+e).length;return Math.min(t/a,s)}var _0=class extends bf{constructor(t){super(t),this.start=void 0,this.end=void 0,this._startValue=void 0,this._endValue=void 0,this._valueRange=0}parse(t,o){return Bt(t)||(typeof t=="number"||t instanceof Number)&&!isFinite(+t)?null:+t}handleTickRangeOptions(){let{beginAtZero:t}=this.options,{minDefined:o,maxDefined:r}=this.getUserBounds(),{min:n,max:a}=this,s=l=>n=o?n:l,i=l=>a=r?a:l;if(t){let l=Xl(n),c=Xl(a);l<0&&c<0?i(0):l>0&&c>0&&s(0)}if(n===a){let l=a===0?1:Math.abs(a*.05);i(a+l),t||s(n-l)}this.min=n,this.max=a}getTickLimit(){let t=this.options.ticks,{maxTicksLimit:o,stepSize:r}=t,n;return r?(n=Math.ceil(this.max/r)-Math.floor(this.min/r)+1,n>1e3&&(console.warn(`scales.${this.id}.ticks.stepSize: ${r} would result generating up to ${n} ticks. Limiting to 1000.`),n=1e3)):(n=this.computeTickLimit(),o=o||11),o&&(n=Math.min(o,n)),n}computeTickLimit(){return Number.POSITIVE_INFINITY}buildTicks(){let t=this.options,o=t.ticks,r=this.getTickLimit();r=Math.max(2,r);let n={maxTicks:r,bounds:t.bounds,min:t.min,max:t.max,precision:o.precision,step:o.stepSize,count:o.count,maxDigits:this._maxDigits(),horizontal:this.isHorizontal(),minRotation:o.minRotation||0,includeBounds:o.includeBounds!==!1},a=this._range||this,s=Jhe(n,a);return t.bounds==="ticks"&&NL(s,this,"value"),t.reverse?(s.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),s}configure(){let t=this.ticks,o=this.min,r=this.max;if(super.configure(),this.options.offset&&t.length){let n=(r-o)/Math.max(t.length-1,1)/2;o-=n,r+=n}this._startValue=o,this._endValue=r,this._valueRange=r-o}getLabelForValue(t){return o6(t,this.chart.options.locale,this.options.ticks.format)}},Vi=class extends _0{determineDataLimits(){let{min:t,max:o}=this.getMinMax(!0);this.min=Kr(t)?t:0,this.max=Kr(o)?o:1,this.handleTickRangeOptions()}computeTickLimit(){let t=this.isHorizontal(),o=t?this.width:this.height,r=Yl(this.options.ticks.minRotation),n=(t?Math.sin(r):Math.cos(r))||.001,a=this._resolveTickFontOptions(0);return Math.ceil(o/Math.min(40,a.lineHeight/n))}getPixelForValue(t){return t===null?NaN:this.getPixelForDecimal((t-this._startValue)/this._valueRange)}getValueForPixel(t){return this._startValue+this.getDecimalForPixel(t)*this._valueRange}};rt(Vi,"id","linear"),rt(Vi,"defaults",{ticks:{callback:A2.formatters.numeric}});var H2=e=>Math.floor(ql(e)),pf=(e,t)=>Math.pow(10,H2(e)+t);function bq(e){return e/Math.pow(10,H2(e))===1}function yq(e,t,o){let r=Math.pow(10,o),n=Math.floor(e/r);return Math.ceil(t/r)-n}function ege(e,t){let o=t-e,r=H2(o);for(;yq(e,t,r)>10;)r++;for(;yq(e,t,r)<10;)r--;return Math.min(r,H2(e))}function tge(e,{min:t,max:o}){t=ga(e.min,t);let r=[],n=H2(t),a=ege(t,o),s=a<0?Math.pow(10,Math.abs(a)):1,i=Math.pow(10,a),l=n>a?Math.pow(10,n):0,c=Math.round((t-l)*s)/s,u=Math.floor((t-l)/i/10)*i*10,m=Math.floor((c-u)/Math.pow(10,a)),f=ga(e.min,Math.round((l+u+m*Math.pow(10,a))*s)/s);for(;f<o;)r.push({value:f,major:bq(f),significand:m}),m>=10?m=m<15?15:20:m++,m>=20&&(a++,m=2,s=a>=0?1:s),f=Math.round((l+u+m*Math.pow(10,a))*s)/s;let d=ga(e.max,f);return r.push({value:d,major:bq(d),significand:m}),r}var p6=class extends bf{constructor(t){super(t),this.start=void 0,this.end=void 0,this._startValue=void 0,this._valueRange=0}parse(t,o){let r=_0.prototype.parse.apply(this,[t,o]);if(r===0){this._zero=!0;return}return Kr(r)&&r>0?r:null}determineDataLimits(){let{min:t,max:o}=this.getMinMax(!0);this.min=Kr(t)?Math.max(0,t):null,this.max=Kr(o)?Math.max(0,o):null,this.options.beginAtZero&&(this._zero=!0),this._zero&&this.min!==this._suggestedMin&&!Kr(this._userMin)&&(this.min=t===pf(this.min,0)?pf(this.min,-1):pf(this.min,0)),this.handleTickRangeOptions()}handleTickRangeOptions(){let{minDefined:t,maxDefined:o}=this.getUserBounds(),r=this.min,n=this.max,a=i=>r=t?r:i,s=i=>n=o?n:i;r===n&&(r<=0?(a(1),s(10)):(a(pf(r,-1)),s(pf(n,1)))),r<=0&&a(pf(n,-1)),n<=0&&s(pf(r,1)),this.min=r,this.max=n}buildTicks(){let t=this.options,o={min:this._userMin,max:this._userMax},r=tge(o,this);return t.bounds==="ticks"&&NL(r,this,"value"),t.reverse?(r.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),r}getLabelForValue(t){return t===void 0?"0":o6(t,this.chart.options.locale,this.options.ticks.format)}configure(){let t=this.min;super.configure(),this._startValue=ql(t),this._valueRange=ql(this.max)-ql(t)}getPixelForValue(t){return(t===void 0||t===0)&&(t=this.min),t===null||isNaN(t)?NaN:this.getPixelForDecimal(t===this.min?0:(ql(t)-this._startValue)/this._valueRange)}getValueForPixel(t){let o=this.getDecimalForPixel(t);return Math.pow(10,this._startValue+o*this._valueRange)}};rt(p6,"id","logarithmic"),rt(p6,"defaults",{ticks:{callback:A2.formatters.logarithmic,major:{enabled:!0}}});function TP(e){let t=e.ticks;if(t.display&&e.display){let o=Dn(t.backdropPadding);return wt(t.font&&t.font.size,yo.font.size)+o.height}return 0}function oge(e,t,o){return o=po(o)?o:[o],{w:k$(e,t.string,o),h:o.length*t.lineHeight}}function Sq(e,t,o,r,n){return e===r||e===n?{start:t-o/2,end:t+o/2}:e<r||e>n?{start:t-o,end:t}:{start:t,end:t+o}}function rge(e){let t={l:e.left+e._padding.left,r:e.right-e._padding.right,t:e.top+e._padding.top,b:e.bottom-e._padding.bottom},o=Object.assign({},t),r=[],n=[],a=e._pointLabels.length,s=e.options.pointLabels,i=s.centerPointLabels?cn/a:0;for(let l=0;l<a;l++){let c=s.setContext(e.getPointLabelContext(l));n[l]=c.padding;let u=e.getPointPosition(l,e.drawingArea+n[l],i),m=un(c.font),f=oge(e.ctx,m,e._pointLabels[l]);r[l]=f;let d=ri(e.getIndexAngle(l)+i),p=Math.round(J8(d)),h=Sq(p,u.x,f.w,0,180),S=Sq(p,u.y,f.h,90,270);nge(o,t,d,h,S)}e.setCenterPoint(t.l-o.l,o.r-t.r,t.t-o.t,o.b-t.b),e._pointLabelItems=ige(e,r,n)}function nge(e,t,o,r,n){let a=Math.abs(Math.sin(o)),s=Math.abs(Math.cos(o)),i=0,l=0;r.start<t.l?(i=(t.l-r.start)/a,e.l=Math.min(e.l,t.l-i)):r.end>t.r&&(i=(r.end-t.r)/a,e.r=Math.max(e.r,t.r+i)),n.start<t.t?(l=(t.t-n.start)/s,e.t=Math.min(e.t,t.t-l)):n.end>t.b&&(l=(n.end-t.b)/s,e.b=Math.max(e.b,t.b+l))}function age(e,t,o){let r=e.drawingArea,{extra:n,additionalAngle:a,padding:s,size:i}=o,l=e.getPointPosition(t,r+n+s,a),c=Math.round(J8(ri(l.angle+ha))),u=uge(l.y,i.h,c),m=lge(c),f=cge(l.x,i.w,m);return{visible:!0,x:l.x,y:u,textAlign:m,left:f,top:u,right:f+i.w,bottom:u+i.h}}function sge(e,t){if(!t)return!0;let{left:o,top:r,right:n,bottom:a}=e;return!(uf({x:o,y:r},t)||uf({x:o,y:a},t)||uf({x:n,y:r},t)||uf({x:n,y:a},t))}function ige(e,t,o){let r=[],n=e._pointLabels.length,a=e.options,{centerPointLabels:s,display:i}=a.pointLabels,l={extra:TP(a)/2,additionalAngle:s?cn/n:0},c;for(let u=0;u<n;u++){l.padding=o[u],l.size=t[u];let m=age(e,u,l);r.push(m),i==="auto"&&(m.visible=sge(m,c),m.visible&&(c=m))}return r}function lge(e){return e===0||e===180?"center":e<180?"left":"right"}function cge(e,t,o){return o==="right"?e-=t:o==="center"&&(e-=t/2),e}function uge(e,t,o){return o===90||o===270?e-=t/2:(o>270||o<90)&&(e-=t),e}function mge(e,t,o){let{left:r,top:n,right:a,bottom:s}=o,{backdropColor:i}=t;if(!Bt(i)){let l=Iu(t.borderRadius),c=Dn(t.backdropPadding);e.fillStyle=i;let u=r-c.left,m=n-c.top,f=a-r+c.width,d=s-n+c.height;Object.values(l).some(p=>p!==0)?(e.beginPath(),E0(e,{x:u,y:m,w:f,h:d,radius:l}),e.fill()):e.fillRect(u,m,f,d)}}function fge(e,t){let{ctx:o,options:{pointLabels:r}}=e;for(let n=t-1;n>=0;n--){let a=e._pointLabelItems[n];if(!a.visible)continue;let s=r.setContext(e.getPointLabelContext(n));mge(o,s,a);let i=un(s.font),{x:l,y:c,textAlign:u}=a;mf(o,e._pointLabels[n],l,c+i.lineHeight/2,i,{color:s.color,textAlign:u,textBaseline:"middle"})}}function Oq(e,t,o,r){let{ctx:n}=e;if(o)n.arc(e.xCenter,e.yCenter,t,0,As);else{let a=e.getPointPosition(0,t);n.moveTo(a.x,a.y);for(let s=1;s<r;s++)a=e.getPointPosition(s,t),n.lineTo(a.x,a.y)}}function dge(e,t,o,r,n){let a=e.ctx,s=t.circular,{color:i,lineWidth:l}=t;!s&&!r||!i||!l||o<0||(a.save(),a.strokeStyle=i,a.lineWidth=l,a.setLineDash(n.dash||[]),a.lineDashOffset=n.dashOffset,a.beginPath(),Oq(e,o,s,r),a.closePath(),a.stroke(),a.restore())}function pge(e,t,o){return vu(e,{label:o,index:t,type:"pointLabel"})}var B0=class extends _0{constructor(t){super(t),this.xCenter=void 0,this.yCenter=void 0,this.drawingArea=void 0,this._pointLabels=[],this._pointLabelItems=[]}setDimensions(){let t=this._padding=Dn(TP(this.options)/2),o=this.width=this.maxWidth-t.width,r=this.height=this.maxHeight-t.height;this.xCenter=Math.floor(this.left+o/2+t.left),this.yCenter=Math.floor(this.top+r/2+t.top),this.drawingArea=Math.floor(Math.min(o,r)/2)}determineDataLimits(){let{min:t,max:o}=this.getMinMax(!1);this.min=Kr(t)&&!isNaN(t)?t:0,this.max=Kr(o)&&!isNaN(o)?o:0,this.handleTickRangeOptions()}computeTickLimit(){return Math.ceil(this.drawingArea/TP(this.options))}generateTickLabels(t){_0.prototype.generateTickLabels.call(this,t),this._pointLabels=this.getLabels().map((o,r)=>{let n=jt(this.options.pointLabels.callback,[o,r],this);return n||n===0?n:""}).filter((o,r)=>this.chart.getDataVisibility(r))}fit(){let t=this.options;t.display&&t.pointLabels.display?rge(this):this.setCenterPoint(0,0,0,0)}setCenterPoint(t,o,r,n){this.xCenter+=Math.floor((t-o)/2),this.yCenter+=Math.floor((r-n)/2),this.drawingArea-=Math.min(this.drawingArea/2,Math.max(t,o,r,n))}getIndexAngle(t){let o=As/(this._pointLabels.length||1),r=this.options.startAngle||0;return ri(t*o+Yl(r))}getDistanceFromCenterForValue(t){if(Bt(t))return NaN;let o=this.drawingArea/(this.max-this.min);return this.options.reverse?(this.max-t)*o:(t-this.min)*o}getValueForDistanceFromCenter(t){if(Bt(t))return NaN;let o=t/(this.drawingArea/(this.max-this.min));return this.options.reverse?this.max-o:this.min+o}getPointLabelContext(t){let o=this._pointLabels||[];if(t>=0&&t<o.length){let r=o[t];return pge(this.getContext(),t,r)}}getPointPosition(t,o,r=0){let n=this.getIndexAngle(t)-ha+r;return{x:Math.cos(n)*o+this.xCenter,y:Math.sin(n)*o+this.yCenter,angle:n}}getPointPositionForValue(t,o){return this.getPointPosition(t,this.getDistanceFromCenterForValue(o))}getBasePosition(t){return this.getPointPositionForValue(t||0,this.getBaseValue())}getPointLabelPosition(t){let{left:o,top:r,right:n,bottom:a}=this._pointLabelItems[t];return{left:o,top:r,right:n,bottom:a}}drawBackground(){let{backgroundColor:t,grid:{circular:o}}=this.options;if(t){let r=this.ctx;r.save(),r.beginPath(),Oq(this,this.getDistanceFromCenterForValue(this._endValue),o,this._pointLabels.length),r.closePath(),r.fillStyle=t,r.fill(),r.restore()}}drawGrid(){let t=this.ctx,o=this.options,{angleLines:r,grid:n,border:a}=o,s=this._pointLabels.length,i,l,c;if(o.pointLabels.display&&fge(this,s),n.display&&this.ticks.forEach((u,m)=>{if(m!==0||m===0&&this.min<0){l=this.getDistanceFromCenterForValue(u.value);let f=this.getContext(m),d=n.setContext(f),p=a.setContext(f);dge(this,d,l,s,p)}}),r.display){for(t.save(),i=s-1;i>=0;i--){let u=r.setContext(this.getPointLabelContext(i)),{color:m,lineWidth:f}=u;!f||!m||(t.lineWidth=f,t.strokeStyle=m,t.setLineDash(u.borderDash),t.lineDashOffset=u.borderDashOffset,l=this.getDistanceFromCenterForValue(o.reverse?this.min:this.max),c=this.getPointPosition(i,l),t.beginPath(),t.moveTo(this.xCenter,this.yCenter),t.lineTo(c.x,c.y),t.stroke())}t.restore()}}drawBorder(){}drawLabels(){let t=this.ctx,o=this.options,r=o.ticks;if(!r.display)return;let n=this.getIndexAngle(0),a,s;t.save(),t.translate(this.xCenter,this.yCenter),t.rotate(n),t.textAlign="center",t.textBaseline="middle",this.ticks.forEach((i,l)=>{if(l===0&&this.min>=0&&!o.reverse)return;let c=r.setContext(this.getContext(l)),u=un(c.font);if(a=this.getDistanceFromCenterForValue(this.ticks[l].value),c.showLabelBackdrop){t.font=u.string,s=t.measureText(i.label).width,t.fillStyle=c.backdropColor;let m=Dn(c.backdropPadding);t.fillRect(-s/2-m.left,-a-u.size/2-m.top,s+m.width,u.size+m.height)}mf(t,i.label,0,-a,u,{color:c.color,strokeColor:c.textStrokeColor,strokeWidth:c.textStrokeWidth})}),t.restore()}drawTitle(){}};rt(B0,"id","radialLinear"),rt(B0,"defaults",{display:!0,animate:!0,position:"chartArea",angleLines:{display:!0,lineWidth:1,borderDash:[],borderDashOffset:0},grid:{circular:!1},startAngle:0,ticks:{showLabelBackdrop:!0,callback:A2.formatters.numeric},pointLabels:{backdropColor:void 0,backdropPadding:2,display:!0,font:{size:10},callback(t){return t},padding:5,centerPointLabels:!1}}),rt(B0,"defaultRoutes",{"angleLines.color":"borderColor","pointLabels.color":"color","ticks.color":"color"}),rt(B0,"descriptors",{angleLines:{_fallback:"grid"}});var C6={millisecond:{common:!0,size:1,steps:1e3},second:{common:!0,size:1e3,steps:60},minute:{common:!0,size:6e4,steps:60},hour:{common:!0,size:36e5,steps:24},day:{common:!0,size:864e5,steps:30},week:{common:!1,size:6048e5,steps:4},month:{common:!0,size:2628e6,steps:12},quarter:{common:!1,size:7884e6,steps:4},year:{common:!0,size:3154e7}},Sa=Object.keys(C6);function xq(e,t){return e-t}function Iq(e,t){if(Bt(t))return null;let o=e._adapter,{parser:r,round:n,isoWeekday:a}=e._parseOpts,s=t;return typeof r=="function"&&(s=r(s)),Kr(s)||(s=typeof r=="string"?o.parse(s,r):o.parse(s)),s===null?null:(n&&(s=n==="week"&&(T2(a)||a===!0)?o.startOf(s,"isoWeek",a):o.startOf(s,n)),+s)}function vq(e,t,o,r){let n=Sa.length;for(let a=Sa.indexOf(e);a<n-1;++a){let s=C6[Sa[a]],i=s.steps?s.steps:Number.MAX_SAFE_INTEGER;if(s.common&&Math.ceil((o-t)/(i*s.size))<=r)return Sa[a]}return Sa[n-1]}function hge(e,t,o,r,n){for(let a=Sa.length-1;a>=Sa.indexOf(o);a--){let s=Sa[a];if(C6[s].common&&e._adapter.diff(n,r,s)>=t-1)return s}return Sa[o?Sa.indexOf(o):0]}function gge(e){for(let t=Sa.indexOf(e)+1,o=Sa.length;t<o;++t)if(C6[Sa[t]].common)return Sa[t]}function Cq(e,t,o){if(!o)e[t]=!0;else if(o.length){let{lo:r,hi:n}=e6(o,t),a=o[r]>=t?o[r]:o[n];e[a]=!0}}function bge(e,t,o,r){let n=e._adapter,a=+n.startOf(t[0].value,r),s=t[t.length-1].value,i,l;for(i=a;i<=s;i=+n.add(i,1,r))l=o[i],l>=0&&(t[l].major=!0);return t}function wq(e,t,o){let r=[],n={},a=t.length,s,i;for(s=0;s<a;++s)i=t[s],n[i]=s,r.push({value:i,major:!1});return a===0||!o?r:bge(e,r,n,o)}var R0=class extends bf{constructor(t){super(t),this._cache={data:[],labels:[],all:[]},this._unit="day",this._majorUnit=void 0,this._offsets={},this._normalized=!1,this._parseOpts=void 0}init(t,o={}){let r=t.time||(t.time={}),n=this._adapter=new L0e._date(t.adapters.date);n.init(o),L0(r.displayFormats,n.formats()),this._parseOpts={parser:r.parser,round:r.round,isoWeekday:r.isoWeekday},super.init(t),this._normalized=o.normalized}parse(t,o){return t===void 0?null:Iq(this,t)}beforeLayout(){super.beforeLayout(),this._cache={data:[],labels:[],all:[]}}determineDataLimits(){let t=this.options,o=this._adapter,r=t.time.unit||"day",{min:n,max:a,minDefined:s,maxDefined:i}=this.getUserBounds();function l(c){!s&&!isNaN(c.min)&&(n=Math.min(n,c.min)),!i&&!isNaN(c.max)&&(a=Math.max(a,c.max))}(!s||!i)&&(l(this._getLabelBounds()),(t.bounds!=="ticks"||t.ticks.source!=="labels")&&l(this.getMinMax(!1))),n=Kr(n)&&!isNaN(n)?n:+o.startOf(Date.now(),r),a=Kr(a)&&!isNaN(a)?a:+o.endOf(Date.now(),r)+1,this.min=Math.min(n,a-1),this.max=Math.max(n+1,a)}_getLabelBounds(){let t=this.getLabelTimestamps(),o=Number.POSITIVE_INFINITY,r=Number.NEGATIVE_INFINITY;return t.length&&(o=t[0],r=t[t.length-1]),{min:o,max:r}}buildTicks(){let t=this.options,o=t.time,r=t.ticks,n=r.source==="labels"?this.getLabelTimestamps():this._generate();t.bounds==="ticks"&&n.length&&(this.min=this._userMin||n[0],this.max=this._userMax||n[n.length-1]);let a=this.min,s=this.max,i=x$(n,a,s);return this._unit=o.unit||(r.autoSkip?vq(o.minUnit,this.min,this.max,this._getLabelCapacity(a)):hge(this,i.length,o.minUnit,this.min,this.max)),this._majorUnit=!r.major.enabled||this._unit==="year"?void 0:gge(this._unit),this.initOffsets(n),t.reverse&&i.reverse(),wq(this,i,this._majorUnit)}afterAutoSkip(){this.options.offsetAfterAutoskip&&this.initOffsets(this.ticks.map(t=>+t.value))}initOffsets(t=[]){let o=0,r=0,n,a;this.options.offset&&t.length&&(n=this.getDecimalForValue(t[0]),t.length===1?o=1-n:o=(this.getDecimalForValue(t[1])-n)/2,a=this.getDecimalForValue(t[t.length-1]),t.length===1?r=a:r=(a-this.getDecimalForValue(t[t.length-2]))/2);let s=t.length<3?.5:.25;o=ks(o,0,s),r=ks(r,0,s),this._offsets={start:o,end:r,factor:1/(o+1+r)}}_generate(){let t=this._adapter,o=this.min,r=this.max,n=this.options,a=n.time,s=a.unit||vq(a.minUnit,o,r,this._getLabelCapacity(o)),i=wt(n.ticks.stepSize,1),l=s==="week"?a.isoWeekday:!1,c=T2(l)||l===!0,u={},m=o,f,d;if(c&&(m=+t.startOf(m,"isoWeek",l)),m=+t.startOf(m,c?"day":s),t.diff(r,o,s)>1e5*i)throw new Error(o+" and "+r+" are too far apart with stepSize of "+i+" "+s);let p=n.ticks.source==="data"&&this.getDataTimestamps();for(f=m,d=0;f<r;f=+t.add(f,i,s),d++)Cq(u,f,p);return(f===r||n.bounds==="ticks"||d===1)&&Cq(u,f,p),Object.keys(u).sort(xq).map(h=>+h)}getLabelForValue(t){let o=this._adapter,r=this.options.time;return r.tooltipFormat?o.format(t,r.tooltipFormat):o.format(t,r.displayFormats.datetime)}format(t,o){let n=this.options.time.displayFormats,a=this._unit,s=o||n[a];return this._adapter.format(t,s)}_tickFormatFunction(t,o,r,n){let a=this.options,s=a.ticks.callback;if(s)return jt(s,[t,o,r],this);let i=a.time.displayFormats,l=this._unit,c=this._majorUnit,u=l&&i[l],m=c&&i[c],f=r[o],d=c&&m&&f&&f.major;return this._adapter.format(t,n||(d?m:u))}generateTickLabels(t){let o,r,n;for(o=0,r=t.length;o<r;++o)n=t[o],n.label=this._tickFormatFunction(n.value,o,t)}getDecimalForValue(t){return t===null?NaN:(t-this.min)/(this.max-this.min)}getPixelForValue(t){let o=this._offsets,r=this.getDecimalForValue(t);return this.getPixelForDecimal((o.start+r)*o.factor)}getValueForPixel(t){let o=this._offsets,r=this.getDecimalForPixel(t)/o.factor-o.end;return this.min+r*(this.max-this.min)}_getLabelSize(t){let o=this.options.ticks,r=this.ctx.measureText(t).width,n=Yl(this.isHorizontal()?o.maxRotation:o.minRotation),a=Math.cos(n),s=Math.sin(n),i=this._resolveTickFontOptions(0).size;return{w:r*a+i*s,h:r*s+i*a}}_getLabelCapacity(t){let o=this.options.time,r=o.displayFormats,n=r[o.unit]||r.millisecond,a=this._tickFormatFunction(t,0,wq(this,[t],this._majorUnit),n),s=this._getLabelSize(a),i=Math.floor(this.isHorizontal()?this.width/s.w:this.height/s.h)-1;return i>0?i:1}getDataTimestamps(){let t=this._cache.data||[],o,r;if(t.length)return t;let n=this.getMatchingVisibleMetas();if(this._normalized&&n.length)return this._cache.data=n[0].controller.getAllParsedValues(this);for(o=0,r=n.length;o<r;++o)t=t.concat(n[o].controller.getAllParsedValues(this));return this._cache.data=this.normalize(t)}getLabelTimestamps(){let t=this._cache.labels||[],o,r;if(t.length)return t;let n=this.getLabels();for(o=0,r=n.length;o<r;++o)t.push(Iq(this,n[o]));return this._cache.labels=this._normalized?t:this.normalize(t)}normalize(t){return UL(t.sort(xq))}};rt(R0,"id","time"),rt(R0,"defaults",{bounds:"data",adapters:{},time:{parser:!1,unit:!1,round:!1,isoWeekday:!1,minUnit:"millisecond",displayFormats:{}},ticks:{source:"auto",callback:!1,major:{enabled:!1}}});function h6(e,t,o){let r=0,n=e.length-1,a,s,i,l;o?(t>=e[r].pos&&t<=e[n].pos&&({lo:r,hi:n}=t6(e,"pos",t)),{pos:a,time:i}=e[r],{pos:s,time:l}=e[n]):(t>=e[r].time&&t<=e[n].time&&({lo:r,hi:n}=t6(e,"time",t)),{time:a,pos:i}=e[r],{time:s,pos:l}=e[n]);let c=s-a;return c?i+(l-i)*(t-a)/c:i}var g6=class extends R0{constructor(t){super(t),this._table=[],this._minPos=void 0,this._tableRange=void 0}initOffsets(){let t=this._getTimestampsForTable(),o=this._table=this.buildLookupTable(t);this._minPos=h6(o,this.min),this._tableRange=h6(o,this.max)-this._minPos,super.initOffsets(t)}buildLookupTable(t){let{min:o,max:r}=this,n=[],a=[],s,i,l,c,u;for(s=0,i=t.length;s<i;++s)c=t[s],c>=o&&c<=r&&n.push(c);if(n.length<2)return[{time:o,pos:0},{time:r,pos:1}];for(s=0,i=n.length;s<i;++s)u=n[s+1],l=n[s-1],c=n[s],Math.round((u+l)/2)!==c&&a.push({time:c,pos:s/(i-1)});return a}_generate(){let t=this.min,o=this.max,r=super.getDataTimestamps();return(!r.includes(t)||!r.length)&&r.splice(0,0,t),(!r.includes(o)||r.length===1)&&r.push(o),r.sort((n,a)=>n-a)}_getTimestampsForTable(){let t=this._cache.all||[];if(t.length)return t;let o=this.getDataTimestamps(),r=this.getLabelTimestamps();return o.length&&r.length?t=this.normalize(o.concat(r)):t=o.length?o:r,t=this._cache.all=t,t}getDecimalForValue(t){return(h6(this._table,t)-this._minPos)/this._tableRange}getValueForPixel(t){let o=this._offsets,r=this.getDecimalForPixel(t)/o.factor-o.end;return h6(this._table,r*this._tableRange+this._minPos,!0)}};rt(g6,"id","timeseries"),rt(g6,"defaults",R0.defaults);var AP=k(re(),1),Ga=k(F(),1);var Nq="label";function Vq(e,t){typeof e=="function"?e(t):e&&(e.current=t)}function yge(e,t){let o=e.options;o&&t&&Object.assign(o,t)}function zq(e,t){e.labels=t}function Wq(e,t,o=Nq){let r=[];e.datasets=t.map(n=>{let a=e.datasets.find(s=>s[o]===n[o]);return!a||!n.data||r.includes(a)?{...n}:(r.push(a),Object.assign(a,n),a)})}function Sge(e,t=Nq){let o={labels:[],datasets:[]};return zq(o,e.labels),Wq(o,e.datasets,t),o}function xge(e,t){let{height:o=150,width:r=300,redraw:n=!1,datasetIdKey:a,type:s,data:i,options:l,plugins:c=[],fallbackContent:u,updateMode:m,...f}=e,d=(0,Ga.useRef)(null),p=(0,Ga.useRef)(null),h=()=>{d.current&&(p.current=new mn(d.current,{type:s,data:Sge(i,a),options:l&&{...l},plugins:c}),Vq(t,p.current))},S=()=>{Vq(t,null),p.current&&(p.current.destroy(),p.current=null)};return(0,Ga.useEffect)(()=>{!n&&p.current&&l&&yge(p.current,l)},[n,l]),(0,Ga.useEffect)(()=>{!n&&p.current&&zq(p.current.config.data,i.labels)},[n,i.labels]),(0,Ga.useEffect)(()=>{!n&&p.current&&i.datasets&&Wq(p.current.config.data,i.datasets,a)},[n,i.datasets]),(0,Ga.useEffect)(()=>{p.current&&(n?(S(),setTimeout(h)):p.current.update(m))},[n,l,i.labels,i.datasets,m]),(0,Ga.useEffect)(()=>{p.current&&(S(),setTimeout(h))},[s]),(0,Ga.useEffect)(()=>(h(),()=>S()),[]),(0,AP.jsx)("canvas",{ref:d,role:"img",height:o,width:r,...f,children:u})}var Ige=(0,Ga.forwardRef)(xge);function vge(e,t){return mn.register(t),(0,Ga.forwardRef)((o,r)=>(0,AP.jsx)(Ige,{...o,ref:r,type:e}))}var O0=vge("bar",gf);var Uq={mau:"MAU",dau:"DAU",kpi:"KPI",api:"API",seo:"SEO",ai:"AI",b2b:"B2B",b2c:"B2C",crm:"CRM",rls:"RLS"};function Cge(e){let t=e.toLowerCase();return Uq[t]?Uq[t]:t?`${t[0].toUpperCase()}${t.slice(1)}`:""}function yf(e){let t=e.trim();if(!t)return"";let o=t.replace(/[_-]+/g," ").split(" ").filter(Boolean).map(s=>Cge(s));if(o.length===0)return"";let[r,...n]=o,a=n.map(s=>s===s.toUpperCase()?s:s.toLowerCase());return[r,...a].join(" ")}var Zq=k(F());function wge(e,t){let o=e.replace("#","");if(o.length!==6)return e;let r=Number.parseInt(o.slice(0,2),16),n=Number.parseInt(o.slice(2,4),16),a=Number.parseInt(o.slice(4,6),16);return`rgba(${r}, ${n}, ${a}, ${t})`}function V0(){let[e,t,o,r,n,a,s,i,l,c,u,m,f,d,p]=ck("colors",["brand.500","blue.500","green.500","yellow.500","purple.500","orange.500","teal.500","red.500","gray.500","gray.50","gray.200","gray.300","gray.600","gray.700","gray.800"]);return(0,Zq.useMemo)(()=>({series:{brand:e,blue:t,green:o,yellow:r,purple:n,orange:a,teal:s,red:i,gray:l},axisColor:f,axisTitleColor:d,gridColor:u,borderColor:m,tooltipBackground:p,tooltipTitleColor:c,tooltipBodyColor:c,tooltipBorderColor:d,fill(h,S=.72){return wge(h,S)}}),[e,t,o,r,n,a,s,i,l,c,u,m,f,d,p])}var Cf=k(F()),YX=k(re()),M1e={scrollbars:{theme:"os-theme-dark os-theme-founder",visibility:"auto",autoHide:"never",dragScroll:!0,clickScroll:!0}};function Ka({children:e,style:t,className:o,options:r,fill:n=!1}){let a=(0,Cf.useRef)(null),s=(0,Cf.useRef)(null),i=(0,Cf.useMemo)(()=>({...M1e,...r??{}}),[r]);return(0,Cf.useEffect)(()=>{let l=a.current;if(!l)return;let c=!0,u=0,m=null,f=0,d=!1,p=()=>{d||(d=!0,f=window.requestAnimationFrame(()=>{d=!1,s.current?.update()}))};Promise.resolve().then(()=>(XX(),qX)).then(({OverlayScrollbars:S})=>{if(!c)return;let g=S(l,i);s.current=g,u=window.requestAnimationFrame(()=>{g.update(!0)}),typeof ResizeObserver<"u"&&(m=new ResizeObserver(()=>{p()}),m.observe(l))});let h=()=>{p()};return window.addEventListener("resize",h),()=>{c=!1,window.cancelAnimationFrame(u),window.cancelAnimationFrame(f),window.removeEventListener("resize",h),m?.disconnect(),s.current?.destroy(),s.current=null}},[i]),(0,YX.jsx)("div",{ref:a,"data-scroll-area":!0,"data-overlayscrollbars-initialize":!0,className:o,style:n?{height:"100%",width:"100%",...t}:{width:"100%",...t},children:e})}var y=k(re());mn.register(Oi,Vi,ni,H0,F0);var $6={low:1,med:2,medium:2,high:3};function xo(e){return e==="high"||e==="med"||e==="medium"?e:"low"}function X6(e){return e==="high"?"green":e==="med"||e==="medium"?"yellow":"red"}function L1e(e,t){return e>=70?{colorScheme:"green",trackColor:t?"green.900":"green.100",textColor:t?"green.200":"green.700"}:e>=50?{colorScheme:"yellow",trackColor:t?"yellow.900":"yellow.100",textColor:t?"yellow.200":"yellow.700"}:{colorScheme:"red",trackColor:t?"red.900":"red.100",textColor:t?"red.200":"red.700"}}function oY(e){return e.source?.trim()?xo(e.confidence):"low"}function m9(e){if(!e.metrics||e.metrics.length===0)return"low";let t=$6.high;for(let o of e.metrics){let r=$6[oY(o)];t=Math.min(t,r)}return t>=$6.high?"high":t>=$6.med?"med":"low"}function KX(e){if(typeof e.value=="string"){let n=e.value.trim();if(n)return`${n}${e.unit?.trim()?` ${e.unit.trim()}`:""}`}let t=Number(e.value??0),o=Number.isFinite(t)&&t>0?t.toLocaleString():"\u2014",r=e.unit?.trim()?` ${e.unit}`:"";return`${o}${r}`}function rY(e){let t=e.trim().toLowerCase();return t?t==="mau"?"MAU":t==="app_store_reviews"?"App Store reviews":t==="app_store_rating"?"App Store rating":t==="subreddit_members"?"Subreddit members":t==="estimated_monthly_revenue"||t==="monthly_revenue"?"Estimated monthly revenue":yf(t):"Metric"}function QX(e){return e==="direct"?"green":e==="indirect"?"blue":"orange"}function f9(e){let t=e.trim().toLowerCase();return t.includes("free")?"green":t.includes("subscription")?"purple":t.includes("usage")?"blue":t.includes("one_time")||t.includes("one-time")?"teal":t.includes("ads")?"orange":t.includes("hybrid")?"pink":"gray"}function P1e(e,t=2){let r=["estimated_monthly_revenue","app_store_reviews","app_store_rating","subreddit_members"].map(i=>e.find(l=>l.metric.trim().toLowerCase()===i)).filter(i=>!!i);if(r.length>=t)return r.slice(0,t);let n=new Set(r.map(i=>i.metric.trim().toLowerCase()));function a(i){if(typeof i=="number"&&Number.isFinite(i))return i;if(typeof i=="string"){let l=Number(i.replace(/[^\d.-]/g,""));return Number.isFinite(l)?l:0}return 0}let s=[...e].filter(i=>!n.has(i.metric.trim().toLowerCase())).sort((i,l)=>a(l.value)-a(i.value)).slice(0,Math.max(0,t-r.length));return[...r,...s].slice(0,t)}function rc(e){return e.trim().toLowerCase()}function q6(e,t){let o=e.trim().toLowerCase().replace(/[^a-z0-9]+/g,"_").replace(/^_+|_+$/g,"");return o||(typeof t=="number"?`competitor_${t+1}`:"competitor_unknown")}function JX(e){let t=new Date(e);return Number.isNaN(t.getTime())?e:t.toLocaleString()}function E1e(e){return[e.tam,e.sam,e.som].every(o=>Number(o.value??0)<=0&&!o.source?.trim())}function Ct(e){return Array.isArray(e)?e.map(t=>typeof t=="string"?t.trim():"").filter(Boolean):[]}function B1e(e){return Array.isArray(e)?e.map(t=>{let o=typeof t=="object"&&t!==null&&!Array.isArray(t)?t:{},r=String(o.id??"").trim(),n=String(o.title??"").trim();return!r||!n?null:{id:r,title:n,summary:String(o.summary??"").trim(),score:Math.max(0,Math.min(100,Number(o.score??0)||0)),scoreLabel:String(o.scoreLabel??"").trim(),bullets:Ct(o.bullets).slice(0,4)}}).filter(t=>t!==null):[]}function d9(e){let t=typeof e=="object"&&e!==null?e:{},o=Array.isArray(t.range)?t.range:[0,0],r=Number(o[0]??0),n=Number(o[1]??0);return{value:Number(t.value??0),unit:String(t.unit??"USD"),range:[Number.isFinite(r)?r:0,Number.isFinite(n)?n:0],source:String(t.source??""),confidence:xo(t.confidence),notes:String(t.notes??"")}}function D1e(e){let t=typeof e=="object"&&e!==null?e:{},o=typeof t.confidence=="object"&&t.confidence!==null?t.confidence:{};return{tam:d9(t.tam),sam:d9(t.sam),som:d9(t.som),confidence:{tam:xo(o.tam),sam:xo(o.sam),som:xo(o.som)},assumptions:Ct(t.assumptions),missingData:Ct(t.missingData)}}function R1e(e){return Array.isArray(e)?e.map(t=>{if(typeof t=="string")return{name:t,type:"direct",targetIcp:"",buyer:"",endUser:"",corePromise:"",categoryClaim:"",onboardingModel:"",category:"",url:"",pricingModel:"",entryPrice:"",freeModel:"",annualDiscount:"",bestFeature:"",biggestWeakness:"",integrations:[],enterpriseReadiness:"low",seoStrength:"low",acquisitionChannels:[],reviewThemes:[],praiseThemes:[],complaintThemes:[],biggestComplaint:"",integrationDepth:"low",perceivedBrandStrength:"low",yourRelativeAdvantage:"",yourRelativeDisadvantage:"",identifiers:{subreddit:"",appStoreId:"",appStoreQuery:"",domain:""},features:[],metrics:[],notes:""};let o=typeof t=="object"&&t!==null?t:{},r=typeof o.identifiers=="object"&&o.identifiers!==null?o.identifiers:{},a=(Array.isArray(o.metrics)?o.metrics:[]).map(l=>{let c=typeof l=="object"&&l!==null?l:{};return{key:String(c.key??c.metric??""),metric:String(c.metric??c.key??""),value:typeof c.value=="string"?c.value:Number(c.value??0),unit:String(c.unit??""),date:String(c.date??""),source:String(c.source??""),confidence:xo(c.confidence),notes:String(c.notes??"")}}),s=String(o.type??"direct").trim().toLowerCase(),i=s==="indirect"||s==="substitute"?s:"direct";return{name:String(o.name??""),type:i,targetIcp:String(o.targetIcp??""),buyer:String(o.buyer??""),endUser:String(o.endUser??""),corePromise:String(o.corePromise??""),categoryClaim:String(o.categoryClaim??""),onboardingModel:String(o.onboardingModel??""),category:String(o.category??""),url:String(o.url??""),pricingModel:String(o.pricingModel??""),entryPrice:String(o.entryPrice??""),freeModel:String(o.freeModel??""),annualDiscount:String(o.annualDiscount??""),bestFeature:String(o.bestFeature??""),biggestWeakness:String(o.biggestWeakness??""),integrations:Ct(o.integrations),enterpriseReadiness:xo(o.enterpriseReadiness),seoStrength:xo(o.seoStrength),acquisitionChannels:Ct(o.acquisitionChannels),reviewThemes:Ct(o.reviewThemes),praiseThemes:Ct(o.praiseThemes),complaintThemes:Ct(o.complaintThemes),biggestComplaint:String(o.biggestComplaint??""),integrationDepth:xo(o.integrationDepth),perceivedBrandStrength:xo(o.perceivedBrandStrength),yourRelativeAdvantage:String(o.yourRelativeAdvantage??""),yourRelativeDisadvantage:String(o.yourRelativeDisadvantage??""),identifiers:{subreddit:String(r.subreddit??""),appStoreId:String(r.appStoreId??""),appStoreQuery:String(r.appStoreQuery??""),domain:String(r.domain??"")},features:Ct(o.features),metrics:a,notes:String(o.notes??"")}}):[]}function _1e(e){let t=typeof e=="object"&&e!==null?e:{};return{risks:Ct(t.risks),testsNext:Ct(t.testsNext),signalsToLookFor:Ct(t.signalsToLookFor),missingData:Ct(t.missingData),strongestOpening:String(t.strongestOpening??"").trim(),strongestSegment:String(t.strongestSegment??"").trim(),strongestChannelOpportunity:String(t.strongestChannelOpportunity??"").trim(),strongestSubstituteThreat:String(t.strongestSubstituteThreat??"").trim()}}function F1e(e){let t=typeof e=="object"&&e!==null?e:{},o=t.reachableAccountsOrUsers,r=o==null||String(o).trim()===""?null:Number(o);return{category:String(t.category??""),buyer:String(t.buyer??""),endUser:String(t.endUser??""),budgetOwner:String(t.budgetOwner??""),urgentJobToBeDone:String(t.urgentJobToBeDone??""),currentAlternatives:Ct(t.currentAlternatives),marketTiming:String(t.marketTiming??""),replacementVsNetNew:String(t.replacementVsNetNew??""),reachableAccountsOrUsers:Number.isFinite(r)?r:null,spendingPatterns:String(t.spendingPatterns??""),marketGrowthRate:String(t.marketGrowthRate??""),notes:String(t.notes??"")}}function H1e(e){let t=typeof e=="object"&&e!==null?e:{};return(Array.isArray(t.segments)?t.segments:[]).map((r,n)=>{if(typeof r!="object"||r===null||Array.isArray(r))return null;let a=r,s=a.segmentSize,i=s==null||String(s).trim()===""?null:Number(s);return{id:String(a.id??`segment_${n+1}`),name:String(a.name??""),description:String(a.description??""),companySize:String(a.companySize??""),teamFunction:String(a.teamFunction??""),maturityStage:String(a.maturityStage??""),useCase:String(a.useCase??""),urgencyLevel:String(a.urgencyLevel??""),buyingMotion:String(a.buyingMotion??""),willingnessToPay:String(a.willingnessToPay??""),segmentSize:Number.isFinite(i)?i:null,likelyACV:String(a.likelyACV??""),salesCycle:String(a.salesCycle??""),painIntensity:xo(a.painIntensity),easeOfReach:xo(a.easeOfReach),timeToValue:xo(a.timeToValue),retentionPotential:xo(a.retentionPotential),supportBurden:xo(a.supportBurden),expansionPotential:xo(a.expansionPotential),recommended:a.recommended===!0,notes:String(a.notes??"")}}).filter(r=>!!r)}function O1e(e){return Array.isArray(e)?e.map((t,o)=>{if(typeof t!="object"||t===null||Array.isArray(t))return null;let r=t,n=String(r.type??"other").toLowerCase(),a=n==="spreadsheet"||n==="notion"||n==="agency"||n==="internal_workflow"||n==="do_nothing"?n:"other";return{id:String(r.id??`substitute_${o+1}`),type:a,name:String(r.name??""),whyPeopleUseIt:String(r.whyPeopleUseIt??""),whyTheyStickWithIt:String(r.whyTheyStickWithIt??""),biggestWeakness:String(r.biggestWeakness??""),yourAdvantage:String(r.yourAdvantage??""),notes:String(r.notes??"")}}).filter(t=>!!t):[]}function V1e(e){let t=typeof e=="object"&&e!==null?e:{};return{headlinePatterns:Ct(t.headlinePatterns),ctaPatterns:Ct(t.ctaPatterns),repeatedLanguage:Ct(t.repeatedLanguage),categoryLanguage:Ct(t.categoryLanguage),proofPatterns:Ct(t.proofPatterns),messagingWhitespace:Ct(t.messagingWhitespace),notes:String(t.notes??"")}}function N1e(e){let t=typeof e=="object"&&e!==null?e:{};return{channelPatterns:(Array.isArray(t.channelPatterns)?t.channelPatterns:[]).map(r=>{if(typeof r!="object"||r===null||Array.isArray(r))return null;let n=r;return{channel:String(n.channel??""),competitorsUsingIt:Ct(n.competitorsUsingIt),saturation:xo(n.saturation),opportunity:String(n.opportunity??""),notes:String(n.notes??"")}}).filter(r=>!!r),topObservedChannels:Ct(t.topObservedChannels),seoObservations:Ct(t.seoObservations),directoriesAndReviewPresence:Ct(t.directoriesAndReviewPresence),notes:String(t.notes??"")}}function z1e(e){let t=typeof e=="object"&&e!==null?e:{};return{topComplaintThemes:Ct(t.topComplaintThemes),topDelightThemes:Ct(t.topDelightThemes),onboardingPainPoints:Ct(t.onboardingPainPoints),implementationPainPoints:Ct(t.implementationPainPoints),churnTriggers:Ct(t.churnTriggers),featureRequests:Ct(t.featureRequests),happiestSegments:Ct(t.happiestSegments),mostFrustratedSegments:Ct(t.mostFrustratedSegments),repeatedLanguage:Ct(t.repeatedLanguage),notes:String(t.notes??"")}}function W1e(e){let t=typeof e=="object"&&e!==null?e:{};return{proprietaryWorkflowPotential:String(t.proprietaryWorkflowPotential??""),embeddednessPotential:String(t.embeddednessPotential??""),switchingCostPotential:String(t.switchingCostPotential??""),dataAdvantagePotential:String(t.dataAdvantagePotential??""),distributionAdvantagePotential:String(t.distributionAdvantagePotential??""),integrationDependencyPotential:String(t.integrationDependencyPotential??""),notes:String(t.notes??"")}}function U1e({matched:e}){return(0,y.jsx)(P,{as:"span",display:"inline-flex",alignItems:"center",justifyContent:"center",w:"24px",h:"24px",borderRadius:"full",borderWidth:"1px",borderColor:e?"green.300":"gray.300",bg:e?"green.100":"gray.100",color:e?"green.700":"gray.600",fontSize:"sm",fontWeight:"bold","aria-label":e?"feature included":"feature missing",title:e?"Included":"Missing",children:e?"\u2713":"\u2013"})}function Es({confidence:e,needsSource:t=!1}){let o=X6(e);return(0,y.jsx)($,{colorScheme:t?"red":o,variant:"subtle",textTransform:"capitalize",children:t?"Needs source":e})}function ii({children:e,colorScheme:t,variant:o="subtle"}){return(0,y.jsx)($,{colorScheme:t,variant:o,display:"inline-flex",alignItems:"flex-start",maxW:"100%",whiteSpace:"normal",wordBreak:"break-word",overflowWrap:"anywhere",textAlign:"left",lineHeight:"1.25",py:1,children:e})}function Q0({children:e,colorScheme:t,variant:o="subtle"}){return(0,y.jsx)(o2,{size:"sm",colorScheme:t,variant:o,maxW:"100%",h:"auto",py:1,display:"inline-flex",alignItems:"flex-start",children:(0,y.jsx)(r2,{whiteSpace:"normal",wordBreak:"break-word",overflowWrap:"anywhere",lineHeight:"1.25",children:e})})}var eY=[qM,WM,iL,yM,xL,EM,GM,fL];function tY({icon:e,children:t}){return(0,y.jsxs)(Z,{align:"start",spacing:3,py:3,children:[(0,y.jsx)(P,{flexShrink:0,color:"brand.500",mt:"1px",children:(0,y.jsx)(e,{size:18,weight:"duotone"})}),(0,y.jsx)(x,{fontSize:"sm",lineHeight:"tall",children:t})]})}function Z1e({metric:e,value:t}){return(0,y.jsx)(o2,{size:"sm",variant:"subtle",colorScheme:"gray",maxW:"260px",children:(0,y.jsxs)(r2,{noOfLines:1,children:[rY(e),": ",t]})})}function nY({projectId:e,research:t,spec:o,readOnly:r=!1,onUpdateCompetitors:n}){let a=Zc(!1,!0),s=V0(),i=a2(),l=typeof o.choices=="object"&&o.choices!==null&&!Array.isArray(o.choices)?o.choices:{},c=typeof l.wedge=="object"&&l.wedge!==null&&!Array.isArray(l.wedge)?l.wedge:{},u=(0,ct.useMemo)(()=>B1e(c.options),[c.options]),m=String(c.selectedOptionId??"").trim(),f=u.find(R=>R.id===m)??null,d=(0,ct.useMemo)(()=>R1e(t.competitors),[t.competitors]),[p,h]=(0,ct.useState)(d),S=(0,ct.useMemo)(()=>Ct(t.featureTags),[t.featureTags]),g=(0,ct.useMemo)(()=>F1e(t.marketDefinition),[t.marketDefinition]),b=(0,ct.useMemo)(()=>D1e(t.marketSizing),[t.marketSizing]),I=(0,ct.useMemo)(()=>H1e(t.segmentAnalysis),[t.segmentAnalysis]),v=(0,ct.useMemo)(()=>O1e(t.substitutes),[t.substitutes]),C=(0,ct.useMemo)(()=>V1e(t.positioningAnalysis),[t.positioningAnalysis]),T=(0,ct.useMemo)(()=>N1e(t.distributionAnalysis),[t.distributionAnalysis]),w=(0,ct.useMemo)(()=>z1e(t.customerSentiment),[t.customerSentiment]),E=(0,ct.useMemo)(()=>W1e(t.moatSignals),[t.moatSignals]),B=(0,ct.useMemo)(()=>_1e(t.validationInsights),[t.validationInsights]),[L,_]=(0,ct.useState)(null),[j,ne]=(0,ct.useState)({}),[K,ie]=(0,ct.useState)(!1),[se,W]=(0,ct.useState)(!1),de=(0,ct.useRef)(null),[q,fe]=(0,ct.useState)(""),[he,ge]=(0,ct.useState)(!1),[J,X]=(0,ct.useState)(null),[ee,pe]=(0,ct.useState)(""),[H,ce]=(0,ct.useState)(!1),[we,ue]=(0,ct.useState)([]);(0,ct.useEffect)(()=>{h(d)},[d]);let Ce=(0,ct.useMemo)(()=>{if(S.length>0)return Array.from(new Set(S.map(rc))).filter(Boolean);let R=new Set;for(let te of p)for(let je of te.features??[]){let et=rc(je);et&&R.add(et)}return Array.from(R)},[S,p]),ye=(0,ct.useMemo)(()=>{let R={};for(let te of Ce)R[te]=0;for(let te of p){let je=new Set((te.features??[]).map(rc));for(let et of Ce)je.has(et)&&(R[et]+=1)}return R},[Ce,p]),De=(0,ct.useMemo)(()=>Object.entries(ye).filter(([,R])=>R>1).sort((R,te)=>te[1]-R[1]).slice(0,5),[ye]),me=(0,ct.useMemo)(()=>Object.entries(ye).filter(([,R])=>R<=1).sort((R,te)=>R[1]-te[1]).map(([R])=>R).slice(0,6),[ye]),ke=B.testsNext.length>0?B.testsNext:me.map(R=>`Differentiate around ${R} before competitors copy.`),Ae=I.find(R=>R.recommended)??null,Be=B.strongestOpening||ke[0]||"",xt=B.strongestChannelOpportunity||T.channelPatterns.find(R=>R.saturation==="low")?.channel||"",We=(0,ct.useMemo)(()=>`${Math.max(900,220+Ce.length*190)}px`,[Ce.length]),Fe=[{label:"TAM",value:Number(b.tam.value??0),confidence:b.tam.confidence,source:b.tam.source},{label:"SAM",value:Number(b.sam.value??0),confidence:b.sam.confidence,source:b.sam.source},{label:"SOM",value:Number(b.som.value??0),confidence:b.som.confidence,source:b.som.source}],Qe={labels:Fe.map(R=>R.label),datasets:[{label:"Market size",data:Fe.map(R=>R.value),backgroundColor:[s.fill(s.series.blue),s.fill(s.series.green),s.fill(s.series.purple)],borderColor:[s.series.blue,s.series.green,s.series.purple],borderWidth:1,borderRadius:8}]},ut={responsive:!0,maintainAspectRatio:!1,plugins:{legend:{display:!1},tooltip:{backgroundColor:s.tooltipBackground,titleColor:s.tooltipTitleColor,bodyColor:s.tooltipBodyColor,borderColor:s.tooltipBorderColor,borderWidth:1,callbacks:{label(R){let te=Fe[R.dataIndex];return`${te.label}: ${Number(te.value??0).toLocaleString()} (${te.confidence})`},afterLabel(R){return`Source: ${Fe[R.dataIndex].source?.trim()||"\u2014"}`}}}},scales:{x:{ticks:{color:s.axisColor},grid:{color:s.gridColor},border:{color:s.borderColor}},y:{beginAtZero:!0,ticks:{color:s.axisColor},grid:{color:s.gridColor},border:{color:s.borderColor}}}},ae=E1e(b),Re={position:"sticky",top:0,left:0,zIndex:4,bg:"surface.muted",borderInlineEndWidth:"1px",borderInlineEndColor:"surface.border","data-sticky":"start"},Xe={position:"sticky",left:0,zIndex:1,borderInlineEndWidth:"1px",borderInlineEndColor:"surface.border","data-sticky":"start"},Je={"thead th, tbody td":{borderInlineEndWidth:"1px",borderInlineEndColor:"surface.border"},"thead th:last-of-type, tbody td:last-of-type":{borderInlineEndWidth:0}};function An(R,te){let je=q6(R.name,te);_({key:je,competitor:R}),ce(!1),ue((R.features??[]).map(et=>rc(et))),X(null),pe("")}let vo=(0,ct.useCallback)(async()=>{if(!r){ie(!0);try{let R=await fetch(`/api/competitor-notes?projectId=${encodeURIComponent(e)}`,{method:"GET",cache:"no-store"}),te=await R.json();if(!R.ok)throw new Error(te.error??"Failed to load notes.");let je={};for(let et of te.notes??[]){let Qt=et.competitor_key;je[Qt]||(je[Qt]=[]),je[Qt].push(et)}ne(je),fe(te.currentUserId??""),ge(!!te.canManageAllNotes)}catch(R){i({status:"error",title:R instanceof Error?R.message:"Failed to load notes.",duration:2800})}finally{ie(!1)}}},[e,i,r]);(0,ct.useEffect)(()=>{vo()},[vo]);let Jr=L?j[L.key]??[]:[],Hs=L?Array.from(new Set([...Ce,...(L.competitor.features??[]).map(R=>rc(R))])).filter(Boolean):Ce;function Q(R){return he||q!==""&&R.created_by===q}async function bt(){if(!L)return;let R=de.current?.value.trim()??"";if(!R){i({status:"warning",title:"Note content is required.",duration:2200});return}W(!0);try{let te=await fetch("/api/competitor-notes",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({projectId:e,competitorKey:L.key,competitorName:L.competitor.name,content:R})}),je=await te.json();if(!te.ok||!je.note)throw new Error(je.error??"Failed to create note.");ne(et=>{let Qt=et[L.key]??[];return{...et,[L.key]:[je.note,...Qt]}}),de.current&&(de.current.value="")}catch(te){i({status:"error",title:te instanceof Error?te.message:"Failed to create note.",duration:2800})}finally{W(!1)}}async function $t(R){let te=ee.trim();if(!te){i({status:"warning",title:"Note content is required.",duration:2200});return}W(!0);try{let je=await fetch(`/api/competitor-notes/${R}`,{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify({content:te})}),et=await je.json();if(!je.ok||!et.note)throw new Error(et.error??"Failed to update note.");ne(Qt=>{let wa={};for(let[es,en]of Object.entries(Qt))wa[es]=en.map(Gi=>Gi.id===R?et.note:Gi);return wa}),X(null),pe("")}catch(je){i({status:"error",title:je instanceof Error?je.message:"Failed to update note.",duration:2800})}finally{W(!1)}}async function Rn(R){W(!0);try{let te=await fetch(`/api/competitor-notes/${R}`,{method:"DELETE"}),je=await te.json();if(!te.ok)throw new Error(je.error??"Failed to delete note.");ne(et=>{let Qt={};for(let[wa,es]of Object.entries(et))Qt[wa]=es.filter(en=>en.id!==R);return Qt}),J===R&&(X(null),pe(""))}catch(te){i({status:"error",title:te instanceof Error?te.message:"Failed to delete note.",duration:2800})}finally{W(!1)}}async function kr(R){if(r||!n)throw new Error("Open LaunchChair to edit competitor data.");let te=await n({projectId:e,competitors:R});if(!te.ok)throw new Error(te.error)}async function Os(){if(!L)return;let R=p.map((te,je)=>q6(te.name,je)!==L.key?te:{...te,features:Array.from(new Set(we.map(Qt=>rc(Qt)).filter(Boolean)))});try{W(!0),await kr(R),h(R);let te=R.find((je,et)=>q6(je.name,et)===L.key);te&&_({key:L.key,competitor:te}),ce(!1),i({status:"success",title:"Features updated.",duration:2200})}catch(te){i({status:"error",title:te instanceof Error?te.message:"Failed to save features.",duration:2800})}finally{W(!1)}}return(0,y.jsxs)(z,{spacing:5,children:[(0,y.jsx)(P,{layerStyle:"notchedCard",borderWidth:"1px",borderColor:"surface.border",p:5,bg:"surface.base",children:(0,y.jsxs)(Hr,{variant:"line",colorScheme:"teal",children:[(0,y.jsxs)(Or,{children:[(0,y.jsx)(nt,{children:"Overview"}),(0,y.jsx)(nt,{children:"Competitors"}),(0,y.jsx)(nt,{children:"Customers + Segments"}),(0,y.jsx)(nt,{children:"Distribution + Opportunity"})]}),(0,y.jsxs)(Vr,{children:[(0,y.jsx)(Ke,{px:0,pt:4,children:(0,y.jsxs)(z,{spacing:4,children:[(0,y.jsxs)(Pe,{columns:{base:1,md:2},spacing:4,children:[(0,y.jsx)(P,{layerStyle:"notchedInset",borderWidth:"1px",p:4,bg:"surface.muted",children:(0,y.jsxs)(z,{spacing:4,children:[(0,y.jsxs)(Z,{spacing:3,align:"start",children:[(0,y.jsx)(P,{w:"40px",h:"40px",borderRadius:"full",bg:"brand.50",color:"brand.500",display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0,children:(0,y.jsx)(da,{size:20,weight:"duotone"})}),(0,y.jsxs)(z,{spacing:.5,children:[(0,y.jsx)(x,{fontWeight:"semibold",children:"Market Definition"}),(0,y.jsx)(x,{fontSize:"sm",color:"text.muted",children:"Core market framing for who this is for, why it matters now, and how the category should be understood."})]})]}),(0,y.jsx)(Pe,{columns:{base:1,lg:2},spacing:3,children:[{label:"Category",value:g.category||"\u2014"},{label:"Buyer",value:g.buyer||"\u2014"},{label:"End user",value:g.endUser||"\u2014"},{label:"Budget owner",value:g.budgetOwner||"\u2014"},{label:"Replacement vs net-new",value:g.replacementVsNetNew||"\u2014"},{label:"Reachable accounts/users",value:typeof g.reachableAccountsOrUsers=="number"?g.reachableAccountsOrUsers.toLocaleString():g.reachableAccountsOrUsers||"\u2014"}].map(R=>{let te=R.label==="Reachable accounts/users";return(0,y.jsxs)(P,{layerStyle:"notchedCard",borderWidth:"1px",bg:"surface.base",px:3,py:2.5,children:[(0,y.jsx)(x,{fontSize:"xs",fontWeight:"semibold",color:"text.muted",textTransform:"uppercase",letterSpacing:"0.08em",children:R.label}),(0,y.jsx)(x,{mt:1,fontSize:te?"lg":"sm",fontWeight:te?"semibold":"normal",children:R.value})]},`market-definition-${R.label}`)})}),(0,y.jsxs)(P,{layerStyle:"notchedCard",borderWidth:"1px",bg:"surface.base",px:3,py:3,children:[(0,y.jsx)(x,{fontSize:"xs",fontWeight:"semibold",color:"text.muted",textTransform:"uppercase",letterSpacing:"0.08em",children:"Urgent job"}),(0,y.jsx)(x,{mt:1.5,lineHeight:"1.7",children:g.urgentJobToBeDone||"\u2014"})]}),(0,y.jsxs)(P,{layerStyle:"notchedCard",borderWidth:"1px",bg:"surface.base",px:3,py:3,children:[(0,y.jsx)(x,{fontSize:"xs",fontWeight:"semibold",color:"text.muted",textTransform:"uppercase",letterSpacing:"0.08em",children:"Timing"}),(0,y.jsx)(x,{mt:1.5,lineHeight:"1.7",children:g.marketTiming||"\u2014"})]})]})}),(0,y.jsx)(P,{layerStyle:"notchedInset",borderWidth:"1px",p:4,bg:"surface.muted",children:(0,y.jsxs)(z,{spacing:4,children:[(0,y.jsxs)(Z,{spacing:3,align:"start",children:[(0,y.jsx)(P,{w:"40px",h:"40px",borderRadius:"full",bg:"brand.50",color:"brand.500",display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0,children:(0,y.jsx)($n,{size:20,weight:"duotone"})}),(0,y.jsxs)(z,{spacing:.5,children:[(0,y.jsx)(x,{fontWeight:"semibold",children:"Strongest Opening"}),(0,y.jsx)(x,{fontSize:"sm",color:"text.muted",children:"The clearest initial positioning angle based on current market evidence."})]})]}),(0,y.jsxs)(P,{layerStyle:"notchedCard",borderWidth:"1px",bg:"surface.base",px:3,py:3,children:[(0,y.jsx)(x,{fontSize:"xs",fontWeight:"semibold",color:"text.muted",textTransform:"uppercase",letterSpacing:"0.08em",children:"Opening statement"}),(0,y.jsx)(x,{mt:1.5,fontSize:"lg",fontWeight:"medium",lineHeight:"1.7",children:Be||"Not defined yet."})]}),(0,y.jsx)(z,{spacing:2.5,children:[{label:"Strongest segment",value:B.strongestSegment||Ae?.name||"\u2014"},{label:"Strongest channel",value:xt||"\u2014"},{label:"Substitute threat",value:B.strongestSubstituteThreat||"\u2014"}].map(R=>(0,y.jsxs)(P,{borderWidth:"1px",borderRadius:"md",bg:"blue.50",borderColor:"blue.100",px:3,py:2.5,children:[(0,y.jsx)(x,{fontSize:"xs",fontWeight:"semibold",color:"blue.700",textTransform:"uppercase",letterSpacing:"0.08em",children:R.label}),(0,y.jsx)(x,{mt:1,fontSize:"sm",fontWeight:"medium",lineHeight:"1.5",color:"blue.900",children:R.value})]},`strongest-opening-${R.label}`))})]})})]}),f?(0,y.jsx)(P,{layerStyle:"notchedInset",borderWidth:"1px",p:4,bg:"surface.muted",children:(0,y.jsxs)(z,{spacing:3,children:[(0,y.jsx)(Z,{justify:"space-between",align:"start",flexWrap:"wrap",children:(0,y.jsxs)(Z,{spacing:2,children:[(0,y.jsx)($,{colorScheme:"purple",variant:"subtle",children:"Selected wedge direction"}),(0,y.jsx)(x,{fontWeight:"semibold",children:f.title})]})}),(()=>{let R=L1e(f.score,a);return(0,y.jsxs)(z,{spacing:2,children:[(0,y.jsxs)(Z,{justify:"space-between",align:"baseline",children:[(0,y.jsx)(x,{fontSize:"xs",fontWeight:"semibold",color:"text.muted",textTransform:"uppercase",letterSpacing:"0.08em",children:f.scoreLabel||"Wedge score"}),(0,y.jsxs)(x,{fontSize:"sm",fontWeight:"bold",color:R.textColor,children:[f.score,"%"]})]}),(0,y.jsx)(fa,{value:f.score,size:"sm",borderRadius:"full",bg:R.trackColor,colorScheme:R.colorScheme})]})})(),f.summary?(0,y.jsx)(x,{fontSize:"sm",color:"text.muted",children:f.summary}):null,f.bullets.length>0?(0,y.jsx)(z,{spacing:2,children:f.bullets.map((R,te)=>(0,y.jsx)(P,{borderWidth:"1px",borderRadius:"md",borderColor:"surface.border",bg:"surface.base",px:3,py:2.5,children:(0,y.jsxs)(Z,{spacing:2.5,align:"start",children:[(0,y.jsx)(P,{color:"brand.400",flexShrink:0,pt:"1px",children:(0,y.jsx)($n,{size:20,weight:"duotone"})}),(0,y.jsx)(x,{fontSize:"sm",color:"text.default",children:R})]})},`selected-wedge-bullet-${te}-${R}`))}):null]})}):null,(0,y.jsx)(x,{color:"text.muted",fontSize:"sm",children:"Detailed market sizing, validation dashboard, and full competitor intelligence remain available below."})]})}),(0,y.jsx)(Ke,{px:0,pt:4,children:(0,y.jsxs)(z,{spacing:4,children:[(0,y.jsxs)(Pe,{columns:{base:1,md:3},spacing:4,children:[(0,y.jsxs)(P,{layerStyle:"notchedInset",borderWidth:"1px",p:4,bg:"surface.muted",children:[(0,y.jsx)(x,{fontWeight:"semibold",children:"Competitors mapped"}),(0,y.jsx)(x,{fontSize:"2xl",fontWeight:"bold",children:p.length}),(0,y.jsx)(x,{fontSize:"sm",color:"text.muted",children:"Direct + indirect + substitutes."})]}),(0,y.jsxs)(P,{layerStyle:"notchedInset",borderWidth:"1px",p:4,bg:"surface.muted",children:[(0,y.jsx)(x,{fontWeight:"semibold",children:"Top observed channels"}),(0,y.jsx)(x,{fontSize:"sm",children:(T.topObservedChannels.length>0?T.topObservedChannels:T.channelPatterns.map(R=>R.channel)).slice(0,4).join(", ")||"\u2014"})]}),(0,y.jsxs)(P,{layerStyle:"notchedInset",borderWidth:"1px",p:4,bg:"surface.muted",children:[(0,y.jsx)(x,{fontWeight:"semibold",children:"Messaging whitespace"}),(0,y.jsx)(x,{fontSize:"sm",children:C.messagingWhitespace.slice(0,3).join(", ")||"No whitespace captured yet."})]})]}),(0,y.jsxs)(P,{borderWidth:"1px",borderRadius:"md",p:4,children:[(0,y.jsx)(x,{fontWeight:"medium",mb:2,children:"Messaging / Positioning Gap"}),(0,y.jsxs)(Pe,{columns:{base:1,md:2},spacing:3,children:[(0,y.jsxs)(P,{children:[(0,y.jsx)(x,{fontSize:"sm",fontWeight:"semibold",children:"Repeated language"}),C.repeatedLanguage.length>0?(0,y.jsx)(st,{children:C.repeatedLanguage.slice(0,6).map((R,te)=>(0,y.jsx)(Ze,{children:R},`repeated-language-${te}-${R}`))}):(0,y.jsx)(x,{color:"text.muted",fontSize:"sm",children:"No repeated language captured yet."})]}),(0,y.jsxs)(P,{children:[(0,y.jsx)(x,{fontSize:"sm",fontWeight:"semibold",children:"CTA patterns"}),C.ctaPatterns.length>0?(0,y.jsx)(st,{children:C.ctaPatterns.slice(0,6).map((R,te)=>(0,y.jsx)(Ze,{children:R},`cta-pattern-${te}-${R}`))}):(0,y.jsx)(x,{color:"text.muted",fontSize:"sm",children:"No CTA pattern data yet."})]})]})]})]})}),(0,y.jsx)(Ke,{px:0,pt:4,children:(0,y.jsxs)(z,{spacing:4,children:[(0,y.jsxs)(P,{borderWidth:"1px",borderRadius:"md",p:4,children:[(0,y.jsx)(x,{fontWeight:"medium",mb:3,children:"Segment Attractiveness"}),I.length>0?(0,y.jsx)(Ka,{style:{maxHeight:"360px"},children:(0,y.jsxs)(ja,{size:"sm",w:"full",minW:"940px",sx:{...Je},children:[(0,y.jsx)(Cs,{children:(0,y.jsxs)(bo,{children:[(0,y.jsx)(Ee,{children:"Segment"}),(0,y.jsx)(Ee,{children:"Pain"}),(0,y.jsx)(Ee,{children:"Reach"}),(0,y.jsx)(Ee,{children:"TTV"}),(0,y.jsx)(Ee,{children:"Retention"}),(0,y.jsx)(Ee,{children:"Support"}),(0,y.jsx)(Ee,{children:"Expansion"}),(0,y.jsx)(Ee,{children:"Recommended"})]})}),(0,y.jsx)(vs,{children:I.map((R,te)=>(0,y.jsxs)(bo,{children:[(0,y.jsxs)(Te,{children:[(0,y.jsx)(x,{fontWeight:"semibold",children:R.name||"\u2014"}),(0,y.jsx)(x,{fontSize:"xs",color:"text.muted",children:R.useCase||R.description||"\u2014"})]}),(0,y.jsx)(Te,{children:(0,y.jsx)(Es,{confidence:R.painIntensity})}),(0,y.jsx)(Te,{children:(0,y.jsx)(Es,{confidence:R.easeOfReach})}),(0,y.jsx)(Te,{children:(0,y.jsx)(Es,{confidence:R.timeToValue})}),(0,y.jsx)(Te,{children:(0,y.jsx)(Es,{confidence:R.retentionPotential})}),(0,y.jsx)(Te,{children:(0,y.jsx)(Es,{confidence:R.supportBurden})}),(0,y.jsx)(Te,{children:(0,y.jsx)(Es,{confidence:R.expansionPotential})}),(0,y.jsx)(Te,{children:R.recommended?(0,y.jsx)($,{colorScheme:"green",children:"Yes"}):(0,y.jsx)($,{children:"No"})})]},`${R.id||"segment"}-${te}`))})]})}):(0,y.jsx)(x,{color:"text.muted",children:"No segment analysis captured yet."})]}),(0,y.jsxs)(Pe,{columns:{base:1,md:2},spacing:4,children:[(0,y.jsxs)(P,{borderWidth:"1px",borderRadius:"md",p:4,children:[(0,y.jsx)(x,{fontWeight:"medium",mb:2,children:"Substitute Behaviors"}),v.length>0?(0,y.jsx)(z,{spacing:3,children:v.slice(0,6).map((R,te)=>(0,y.jsxs)(P,{layerStyle:"notchedInset",borderWidth:"1px",p:3,bg:"surface.muted",children:[(0,y.jsxs)(Z,{justify:"space-between",children:[(0,y.jsx)(x,{fontWeight:"semibold",children:R.name||"Unnamed substitute"}),(0,y.jsx)($,{textTransform:"capitalize",children:R.type.replace(/_/g," ")})]}),(0,y.jsxs)(x,{fontSize:"sm",children:[(0,y.jsx)("strong",{children:"Why used:"})," ",R.whyPeopleUseIt||"\u2014"]}),(0,y.jsxs)(x,{fontSize:"sm",children:[(0,y.jsx)("strong",{children:"Biggest weakness:"})," ",R.biggestWeakness||"\u2014"]}),(0,y.jsxs)(x,{fontSize:"sm",children:[(0,y.jsx)("strong",{children:"Your opening:"})," ",R.yourAdvantage||"\u2014"]})]},`${R.id||R.name||R.type}-${te}`))}):(0,y.jsx)(x,{color:"text.muted",children:"No substitute behavior data yet."})]}),(0,y.jsxs)(P,{borderWidth:"1px",borderRadius:"md",p:4,children:[(0,y.jsx)(x,{fontWeight:"medium",mb:2,children:"Customer Sentiment Themes"}),(0,y.jsxs)(Pe,{columns:1,spacing:3,children:[(0,y.jsxs)(P,{children:[(0,y.jsx)(x,{fontSize:"sm",fontWeight:"semibold",children:"Top complaints"}),(0,y.jsx)(x,{fontSize:"sm",children:w.topComplaintThemes.slice(0,5).join(", ")||"\u2014"})]}),(0,y.jsxs)(P,{children:[(0,y.jsx)(x,{fontSize:"sm",fontWeight:"semibold",children:"Top delight themes"}),(0,y.jsx)(x,{fontSize:"sm",children:w.topDelightThemes.slice(0,5).join(", ")||"\u2014"})]}),(0,y.jsxs)(P,{children:[(0,y.jsx)(x,{fontSize:"sm",fontWeight:"semibold",children:"Onboarding pain points"}),(0,y.jsx)(x,{fontSize:"sm",children:w.onboardingPainPoints.slice(0,5).join(", ")||"\u2014"})]}),(0,y.jsxs)(P,{children:[(0,y.jsx)(x,{fontSize:"sm",fontWeight:"semibold",children:"Churn triggers"}),(0,y.jsx)(x,{fontSize:"sm",children:w.churnTriggers.slice(0,5).join(", ")||"\u2014"})]})]})]})]})]})}),(0,y.jsx)(Ke,{px:0,pt:4,children:(0,y.jsxs)(z,{spacing:4,children:[(0,y.jsxs)(P,{borderWidth:"1px",borderRadius:"md",p:4,children:[(0,y.jsx)(x,{fontWeight:"medium",mb:3,children:"Distribution Analysis"}),T.channelPatterns.length>0?(0,y.jsx)(Ka,{style:{maxHeight:"360px"},children:(0,y.jsxs)(ja,{size:"sm",w:"full",minW:"840px",sx:{...Je},children:[(0,y.jsx)(Cs,{children:(0,y.jsxs)(bo,{children:[(0,y.jsx)(Ee,{children:"Channel"}),(0,y.jsx)(Ee,{children:"Saturation"}),(0,y.jsx)(Ee,{children:"Competitors using it"}),(0,y.jsx)(Ee,{children:"Opportunity"})]})}),(0,y.jsx)(vs,{children:T.channelPatterns.map((R,te)=>(0,y.jsxs)(bo,{children:[(0,y.jsx)(Te,{textTransform:"capitalize",children:R.channel.replace(/_/g," ")}),(0,y.jsx)(Te,{children:(0,y.jsx)(Es,{confidence:R.saturation})}),(0,y.jsx)(Te,{children:R.competitorsUsingIt.slice(0,3).join(", ")||"\u2014"}),(0,y.jsx)(Te,{children:R.opportunity||"\u2014"})]},`${R.channel||"channel"}-${R.opportunity||"opportunity"}-${te}`))})]})}):(0,y.jsx)(x,{color:"text.muted",children:"No channel pattern data yet."})]}),(0,y.jsxs)(Pe,{columns:{base:1,md:2},spacing:4,children:[(0,y.jsxs)(P,{borderWidth:"1px",borderRadius:"md",p:4,children:[(0,y.jsx)(x,{fontWeight:"medium",mb:2,children:"Moat Signals"}),(0,y.jsxs)(x,{fontSize:"sm",children:[(0,y.jsx)("strong",{children:"Workflow:"})," ",E.proprietaryWorkflowPotential||"\u2014"]}),(0,y.jsxs)(x,{fontSize:"sm",children:[(0,y.jsx)("strong",{children:"Embeddedness:"})," ",E.embeddednessPotential||"\u2014"]}),(0,y.jsxs)(x,{fontSize:"sm",children:[(0,y.jsx)("strong",{children:"Switching cost:"})," ",E.switchingCostPotential||"\u2014"]}),(0,y.jsxs)(x,{fontSize:"sm",children:[(0,y.jsx)("strong",{children:"Data advantage:"})," ",E.dataAdvantagePotential||"\u2014"]}),(0,y.jsxs)(x,{fontSize:"sm",children:[(0,y.jsx)("strong",{children:"Distribution:"})," ",E.distributionAdvantagePotential||"\u2014"]}),(0,y.jsxs)(x,{fontSize:"sm",children:[(0,y.jsx)("strong",{children:"Integration dependency:"})," ",E.integrationDependencyPotential||"\u2014"]})]}),(0,y.jsxs)(P,{borderWidth:"1px",borderRadius:"md",p:4,children:[(0,y.jsx)(x,{fontWeight:"medium",mb:2,children:"Opportunity Focus"}),(0,y.jsxs)(x,{fontSize:"sm",children:[(0,y.jsx)("strong",{children:"Opening:"})," ",Be||"\u2014"]}),(0,y.jsxs)(x,{fontSize:"sm",children:[(0,y.jsx)("strong",{children:"Segment:"})," ",B.strongestSegment||Ae?.name||"\u2014"]}),(0,y.jsxs)(x,{fontSize:"sm",children:[(0,y.jsx)("strong",{children:"Channel:"})," ",xt||"\u2014"]}),(0,y.jsxs)(x,{fontSize:"sm",children:[(0,y.jsx)("strong",{children:"Substitute threat:"})," ",B.strongestSubstituteThreat||"\u2014"]}),(0,y.jsxs)(x,{fontSize:"sm",mt:2,children:[(0,y.jsx)("strong",{children:"Wedge opportunities:"})," ",ke.slice(0,3).join(" | ")||"No wedge opportunities captured yet."]})]})]})]})})]})]})}),(0,y.jsxs)(P,{layerStyle:"notchedCard",borderWidth:"1px",borderColor:"surface.border",p:5,bg:"surface.base",children:[(0,y.jsxs)(Z,{justify:"space-between",align:{base:"start",md:"center"},flexWrap:"wrap",spacing:3,mb:3,children:[(0,y.jsx)(x,{fontWeight:"semibold",children:"Market Sizing"}),ae?(0,y.jsx)(Tn,{href:`/app/phases/market_validation/competitor_map?projectId=${e}`,children:(0,y.jsx)(gt,{size:"sm",colorScheme:"brand",variant:"outline",children:"Generate from Competitor Map"})}):null]}),ae?(0,y.jsxs)(dt,{status:"info",borderRadius:"md",children:[(0,y.jsx)(pt,{}),(0,y.jsx)(ht,{children:"TAM/SAM/SOM is missing. Run the Competitor Map bucket to generate market sizing with assumptions and sources."})]}):(0,y.jsxs)(z,{spacing:4,children:[(0,y.jsx)(Pe,{columns:3,spacing:3,children:[{key:"tam",label:"TAM",value:b.tam},{key:"sam",label:"SAM",value:b.sam},{key:"som",label:"SOM",value:b.som}].map(R=>(0,y.jsxs)(P,{borderWidth:"1px",borderRadius:"md",p:3,children:[(0,y.jsxs)(Z,{justify:"space-between",mb:1,children:[(0,y.jsx)(x,{fontSize:"sm",color:"text.muted",children:R.label}),(0,y.jsx)($,{colorScheme:X6(xo(R.value.confidence)),children:xo(R.value.confidence)})]}),(0,y.jsxs)(x,{fontWeight:"semibold",children:[Number(R.value.value??0).toLocaleString()," ",R.value.unit||"USD"]}),(0,y.jsxs)(x,{fontSize:"xs",color:"text.muted",whiteSpace:"normal",wordBreak:"break-word",overflowWrap:"anywhere",children:["Source: ",R.value.source||"\u2014"]})]},R.key))}),(0,y.jsx)(P,{h:"260px",children:(0,y.jsx)(O0,{data:Qe,options:ut})}),b.assumptions.length>0?(0,y.jsxs)(P,{children:[(0,y.jsxs)(Z,{justify:"space-between",align:{base:"start",md:"center"},mb:2,flexWrap:"wrap",spacing:2,children:[(0,y.jsx)(x,{fontWeight:"medium",children:"Assumptions"}),(0,y.jsxs)(x,{fontSize:"xs",color:"text.muted",textTransform:"uppercase",letterSpacing:"wide",children:[b.assumptions.length," sizing inputs"]})]}),(0,y.jsx)(x,{fontSize:"sm",color:"text.muted",mb:3,children:"The estimates above depend on the operating assumptions below."}),(0,y.jsx)(z,{spacing:0,divider:(0,y.jsx)(so,{borderColor:"surface.border"}),children:b.assumptions.map((R,te)=>(0,y.jsx)(tY,{icon:eY[te%eY.length],children:R},`assumption-${te}-${R}`))})]}):null]})]}),(0,y.jsxs)(P,{layerStyle:"notchedCard",borderWidth:"1px",borderColor:"surface.border",p:0,bg:"surface.base",overflow:"hidden",children:[(0,y.jsx)(Z,{justify:"space-between",align:"center",px:5,pt:5,pb:3,children:(0,y.jsx)(x,{fontWeight:"semibold",children:"Competitor Intelligence"})}),(0,y.jsx)(P,{maxW:"full",position:"relative",children:(0,y.jsx)(Ka,{style:{maxHeight:"560px"},children:(0,y.jsxs)(ja,{size:"sm","data-interactive":"true",w:"max-content",minW:"100%",sx:{"thead th":{bg:"surface.muted"},"tbody td":{bg:"surface.base"},"tbody tr:nth-of-type(even) td":{bg:"surface.muted"},"tbody tr":{transitionProperty:"background-color",transitionDuration:"140ms"},"thead th:nth-of-type(1), tbody td:nth-of-type(1)":{minW:"180px",maxW:"200px"},"thead th:nth-of-type(2), tbody td:nth-of-type(2)":{minW:"120px",maxW:"140px"},"thead th:nth-of-type(3), tbody td:nth-of-type(3)":{minW:"300px",maxW:"340px"},"thead th:nth-of-type(4), tbody td:nth-of-type(4)":{minW:"300px",maxW:"340px"},"thead th:nth-of-type(5), tbody td:nth-of-type(5)":{minW:"240px",maxW:"280px"},"thead th:nth-of-type(6), tbody td:nth-of-type(6)":{minW:"220px",maxW:"260px"},"thead th:nth-of-type(7), tbody td:nth-of-type(7)":{minW:"180px",maxW:"220px"},"thead th:nth-of-type(8), tbody td:nth-of-type(8)":{minW:"190px",maxW:"240px"},"thead th:nth-of-type(9), tbody td:nth-of-type(9)":{minW:"140px",maxW:"160px"},"thead th:nth-of-type(10), tbody td:nth-of-type(10)":{minW:"220px",maxW:"260px"},"thead th:nth-of-type(11), tbody td:nth-of-type(11)":{minW:"120px"},"thead th:nth-of-type(12), tbody td:nth-of-type(12)":{minW:"130px"},"thead th:nth-of-type(13), tbody td:nth-of-type(13)":{minW:"130px"},"thead th:nth-of-type(14), tbody td:nth-of-type(14)":{minW:"120px"},"thead th:nth-of-type(15), tbody td:nth-of-type(15)":{minW:"240px"},"thead th:nth-of-type(16), tbody td:nth-of-type(16)":{minW:"120px"},"thead th:nth-of-type(17), tbody td:nth-of-type(17)":{minW:"110px"},"thead th:nth-of-type(18), tbody td:nth-of-type(18)":{minW:"90px"},"thead th:nth-of-type(19), tbody td:nth-of-type(19)":{minW:"90px"},...Je},children:[(0,y.jsx)(Cs,{children:(0,y.jsxs)(bo,{children:[(0,y.jsx)(Ee,{...Re,whiteSpace:"nowrap",children:"Name"}),(0,y.jsx)(Ee,{children:"Type"}),(0,y.jsx)(Ee,{children:"Target ICP"}),(0,y.jsx)(Ee,{children:"Buyer / End User"}),(0,y.jsx)(Ee,{children:"Core Promise"}),(0,y.jsx)(Ee,{children:"Onboarding"}),(0,y.jsx)(Ee,{children:"Category"}),(0,y.jsx)(Ee,{children:"Pricing"}),(0,y.jsx)(Ee,{children:"Entry Price"}),(0,y.jsx)(Ee,{children:"Channels"}),(0,y.jsx)(Ee,{children:"SEO"}),(0,y.jsx)(Ee,{children:"Integration"}),(0,y.jsx)(Ee,{children:"Enterprise"}),(0,y.jsx)(Ee,{children:"Brand"}),(0,y.jsx)(Ee,{children:"Key Metrics"}),(0,y.jsx)(Ee,{children:"Confidence"}),(0,y.jsx)(Ee,{children:"Feature Count"}),(0,y.jsx)(Ee,{children:"Notes"}),(0,y.jsx)(Ee,{textAlign:"right",children:"Details"})]})}),(0,y.jsx)(vs,{children:p.length>0?p.map((R,te)=>{let je=P1e(R.metrics??[]),et=m9(R),Qt=te%2===0?"surface.base":"surface.muted",wa=q6(R.name,te),es=(j[wa]??[]).length;return(0,y.jsxs)(bo,{cursor:"pointer",onClick:()=>An(R,te),onKeyDown:en=>{(en.key==="Enter"||en.key===" ")&&(en.preventDefault(),An(R,te))},tabIndex:0,role:"button","aria-label":`View details for ${R.name||"competitor"}`,children:[(0,y.jsx)(Te,{...Xe,bg:Qt,fontWeight:"semibold",maxW:"200px",children:(0,y.jsx)(x,{whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",title:R.name||"\u2014",children:R.name||"\u2014"})}),(0,y.jsx)(Te,{textTransform:"capitalize",children:(0,y.jsx)($,{colorScheme:QX(R.type),variant:"subtle",children:R.type||"direct"})}),(0,y.jsx)(Te,{children:(0,y.jsx)(x,{noOfLines:2,children:R.targetIcp||"\u2014"})}),(0,y.jsxs)(Te,{children:[(0,y.jsx)(x,{noOfLines:2,children:R.buyer||"\u2014"}),(0,y.jsx)(x,{fontSize:"xs",color:"text.muted",noOfLines:1,children:R.endUser||"\u2014"})]}),(0,y.jsx)(Te,{maxW:"220px",children:(0,y.jsx)(x,{noOfLines:2,children:R.corePromise||R.categoryClaim||"\u2014"})}),(0,y.jsx)(Te,{children:(0,y.jsx)(x,{noOfLines:2,children:R.onboardingModel||"\u2014"})}),(0,y.jsx)(Te,{children:(0,y.jsx)(x,{noOfLines:2,children:R.category||"\u2014"})}),(0,y.jsx)(Te,{maxW:"240px",children:(0,y.jsx)($,{colorScheme:f9(R.pricingModel),variant:"subtle",display:"inline-block",maxW:"100%",whiteSpace:"normal",wordBreak:"break-word",overflowWrap:"anywhere",lineHeight:"1.25",fontSize:"xs",py:1,children:R.pricingModel||"unknown"})}),(0,y.jsx)(Te,{children:(0,y.jsx)(x,{noOfLines:2,children:R.entryPrice||"\u2014"})}),(0,y.jsx)(Te,{children:(R.acquisitionChannels??[]).length>0?(0,y.jsx)(x,{noOfLines:2,children:R.acquisitionChannels.slice(0,3).join(", ")}):"\u2014"}),(0,y.jsx)(Te,{children:(0,y.jsx)(Es,{confidence:xo(R.seoStrength)})}),(0,y.jsx)(Te,{children:(0,y.jsx)(Es,{confidence:xo(R.integrationDepth)})}),(0,y.jsx)(Te,{children:(0,y.jsx)(Es,{confidence:xo(R.enterpriseReadiness)})}),(0,y.jsx)(Te,{children:(0,y.jsx)(Es,{confidence:xo(R.perceivedBrandStrength)})}),(0,y.jsx)(Te,{children:(0,y.jsx)(z,{spacing:1,children:je.length>0?je.map((en,Gi)=>(0,y.jsx)(Z1e,{metric:en.metric,value:KX(en)},`${en.metric}-${en.date}-${Gi}`)):(0,y.jsx)(x,{fontSize:"xs",color:"text.muted",children:"No metrics"})})}),(0,y.jsx)(Te,{children:(0,y.jsx)(Es,{confidence:et})}),(0,y.jsx)(Te,{children:(R.features??[]).length}),(0,y.jsx)(Te,{children:(0,y.jsx)($,{colorScheme:es>0?"blue":"gray",children:es})}),(0,y.jsx)(Te,{textAlign:"right",color:"text.muted",fontWeight:"semibold",children:"View"})]},`${R.name}-${te}`)}):(0,y.jsx)(bo,{children:(0,y.jsx)(Te,{colSpan:19,children:"No competitors yet."})})})]})})})]}),(0,y.jsxs)(P,{layerStyle:"notchedCard",borderWidth:"1px",borderColor:"surface.border",p:0,bg:"surface.base",overflow:"hidden",children:[(0,y.jsx)(P,{px:5,pt:5,pb:3,children:(0,y.jsx)(x,{fontWeight:"semibold",children:"Feature Overlap"})}),p.length===0||Ce.length===0?(0,y.jsx)(P,{px:5,pb:5,children:(0,y.jsxs)(dt,{status:"info",borderRadius:"md",children:[(0,y.jsx)(pt,{}),(0,y.jsx)(ht,{children:"Add competitor features and feature tags in Competitor Map to unlock overlap insights."})]})}):(0,y.jsxs)(z,{spacing:4,px:5,pb:5,children:[(0,y.jsx)(P,{maxW:"full",position:"relative",children:(0,y.jsx)(Ka,{style:{maxHeight:"520px"},children:(0,y.jsxs)(ja,{size:"sm",variant:"simple",w:"max-content",minW:We,sx:{"thead th":{bg:"surface.muted"},"tbody td":{bg:"surface.base"},"tbody tr:nth-of-type(even) td":{bg:"surface.muted"},"thead th:first-of-type, tbody td:first-of-type":{minW:"220px",maxW:"220px"},"thead th:not(:first-of-type), tbody td:not(:first-of-type)":{minW:"190px",maxW:"190px"},...Je},children:[(0,y.jsx)(Cs,{children:(0,y.jsxs)(bo,{children:[(0,y.jsx)(Ee,{...Re,children:"Competitor"}),Ce.map(R=>(0,y.jsx)(Ee,{whiteSpace:"nowrap",children:yf(R)},R))]})}),(0,y.jsx)(vs,{children:p.map((R,te)=>{let je=new Set((R.features??[]).map(rc)),et=te%2===0?"surface.base":"surface.muted";return(0,y.jsxs)(bo,{children:[(0,y.jsx)(Te,{...Xe,bg:et,fontWeight:"medium",maxW:"220px",children:(0,y.jsx)(x,{whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",title:R.name||"\u2014",children:R.name||"\u2014"})}),Ce.map(Qt=>(0,y.jsx)(Te,{textAlign:"center",py:2,children:(0,y.jsx)(U1e,{matched:je.has(Qt)})},`${R.name}-${Qt}`))]},`${R.name}-${te}`)})})]})})}),(0,y.jsxs)(Z,{align:"start",spacing:4,flexWrap:"wrap",children:[(0,y.jsxs)(P,{borderWidth:"1px",borderRadius:"md",p:3,minW:"280px",flex:"1",children:[(0,y.jsx)(x,{fontWeight:"medium",mb:2,children:"Top shared features"}),De.length>0?(0,y.jsx)(z,{spacing:2.5,children:De.map(([R,te])=>(0,y.jsxs)(Z,{justify:"space-between",align:"start",spacing:3,children:[(0,y.jsxs)(Z,{align:"start",spacing:2.5,minW:0,children:[(0,y.jsx)(P,{flexShrink:0,color:"brand.500",mt:"1px",children:(0,y.jsx)(kM,{size:18,weight:"duotone"})}),(0,y.jsx)(x,{minW:0,children:yf(R)})]}),(0,y.jsxs)($,{variant:"subtle",colorScheme:"purple",flexShrink:0,children:[te,"/",p.length]})]},R))}):(0,y.jsx)(x,{color:"text.muted",children:"No repeated feature clusters yet."})]}),(0,y.jsxs)(P,{borderWidth:"1px",borderRadius:"md",p:3,minW:"280px",flex:"1",children:[(0,y.jsx)(x,{fontWeight:"medium",mb:2,children:"White-space tags"}),me.length>0?(0,y.jsx)(ot,{children:me.map(R=>(0,y.jsx)(Se,{children:(0,y.jsx)($,{colorScheme:"purple",variant:"subtle",children:yf(R)})},R))}):(0,y.jsx)(x,{color:"text.muted",children:"No obvious white-space tags from current data."})]})]}),(0,y.jsxs)(P,{layerStyle:"notchedInset",borderWidth:"1px",borderColor:"surface.border",p:3,bg:"surface.muted",children:[(0,y.jsx)(x,{fontWeight:"medium",mb:2,children:"Your wedge opportunities"}),ke.length>0?(0,y.jsx)(z,{spacing:0,divider:(0,y.jsx)(so,{borderColor:"surface.border"}),children:ke.map((R,te)=>(0,y.jsx)(tY,{icon:h2,children:R},`wedge-opportunity-${te}-${R}`))}):(0,y.jsx)(x,{color:"text.muted",children:"Add tests and signals to identify wedge opportunities."})]})]})]}),(0,y.jsxs)(P,{layerStyle:"notchedCard",borderWidth:"1px",borderColor:"surface.border",p:5,bg:"surface.base",children:[(0,y.jsx)(x,{fontWeight:"semibold",mb:3,children:"Validation Dashboard"}),(0,y.jsxs)(Pe,{columns:{base:1,lg:3},spacing:4,children:[(0,y.jsxs)(z,{spacing:2,children:[(0,y.jsxs)(Z,{spacing:2,color:"brand.600",children:[(0,y.jsx)(pa,{size:18}),(0,y.jsx)(x,{fontWeight:"medium",color:"text.default",children:"Risks"})]}),B.risks.length>0?(0,y.jsx)(z,{spacing:2,children:B.risks.map((R,te)=>(0,y.jsx)(P,{borderWidth:"1px",borderColor:"surface.border",borderRadius:"md",p:2.5,bg:"surface.muted",children:(0,y.jsx)(x,{fontSize:"sm",lineHeight:"tall",children:R})},`validation-risk-${te}-${R}`))}):(0,y.jsx)(x,{color:"text.muted",children:"No risks captured yet."})]}),(0,y.jsxs)(z,{spacing:2,children:[(0,y.jsxs)(Z,{spacing:2,color:"brand.600",children:[(0,y.jsx)(Ri,{size:18}),(0,y.jsx)(x,{fontWeight:"medium",color:"text.default",children:"Tests next"})]}),B.testsNext.length>0?(0,y.jsx)(z,{spacing:2,children:B.testsNext.map((R,te)=>(0,y.jsx)(P,{borderWidth:"1px",borderColor:"surface.border",borderRadius:"md",p:2.5,bg:"surface.muted",children:(0,y.jsx)(x,{fontSize:"sm",lineHeight:"tall",children:R})},`validation-test-${te}-${R}`))}):(0,y.jsx)(x,{color:"text.muted",children:"No test plan captured yet."})]}),(0,y.jsxs)(z,{spacing:2,children:[(0,y.jsxs)(Z,{spacing:2,color:"brand.600",children:[(0,y.jsx)(n8,{size:18}),(0,y.jsx)(x,{fontWeight:"medium",color:"text.default",children:"Signals to look for"})]}),B.signalsToLookFor.length>0?(0,y.jsx)(z,{spacing:2,children:B.signalsToLookFor.map((R,te)=>(0,y.jsx)(P,{borderWidth:"1px",borderColor:"surface.border",borderRadius:"md",p:2.5,bg:"surface.muted",children:(0,y.jsx)(x,{fontSize:"sm",lineHeight:"tall",children:R})},`validation-signal-${te}-${R}`))}):(0,y.jsx)(x,{color:"text.muted",children:"No signal definitions captured yet."})]})]})]}),(0,y.jsxs)(W5,{isOpen:!!L,placement:"right",onClose:()=>{_(null),X(null),pe(""),de.current&&(de.current.value=""),ce(!1),ue([])},size:"lg",children:[(0,y.jsx)(x0,{}),(0,y.jsxs)(k4,{children:[(0,y.jsx)(y0,{}),(0,y.jsx)(S0,{children:L?.competitor.name||"Competitor details"}),(0,y.jsx)(b0,{p:0,overflow:"hidden",children:(0,y.jsx)(Ka,{fill:!0,children:(0,y.jsx)(P,{p:4,children:L?(0,y.jsxs)(z,{spacing:4,children:[(0,y.jsx)(P,{layerStyle:"notchedInset",borderWidth:"1px",borderColor:"surface.border",p:3,bg:"surface.muted",children:(0,y.jsxs)(ot,{spacing:2,children:[(0,y.jsx)(Se,{maxW:"100%",children:(0,y.jsx)(Q0,{colorScheme:QX(L.competitor.type),children:(0,y.jsx)(x,{as:"span",textTransform:"capitalize",children:L.competitor.type||"direct"})})}),(0,y.jsx)(Se,{maxW:"100%",children:(0,y.jsx)(Q0,{colorScheme:f9(L.competitor.pricingModel),children:L.competitor.pricingModel||"unknown pricing"})}),(0,y.jsx)(Se,{maxW:"100%",children:(0,y.jsxs)(Q0,{colorScheme:X6(m9(L.competitor)),children:["Confidence: ",m9(L.competitor)]})}),(0,y.jsx)(Se,{maxW:"100%",children:(0,y.jsxs)(Q0,{colorScheme:"blue",children:[Jr.length," team notes"]})})]})}),(0,y.jsxs)(Pe,{columns:{base:1,md:2},spacing:3,children:[(0,y.jsxs)(P,{borderWidth:"1px",borderColor:"surface.border",borderRadius:"md",p:3,minW:0,children:[(0,y.jsxs)(Z,{spacing:2,mb:2,children:[(0,y.jsx)(da,{size:15}),(0,y.jsx)(x,{fontWeight:"semibold",children:"ICP + Buyer"})]}),(0,y.jsxs)(z,{spacing:2,children:[(0,y.jsxs)(P,{children:[(0,y.jsx)(x,{fontSize:"xs",color:"text.muted",textTransform:"uppercase",letterSpacing:"wide",children:"Target ICP"}),(0,y.jsx)(x,{children:L.competitor.targetIcp||"\u2014"})]}),(0,y.jsxs)(P,{children:[(0,y.jsx)(x,{fontSize:"xs",color:"text.muted",textTransform:"uppercase",letterSpacing:"wide",children:"Buyer / End user"}),(0,y.jsx)(x,{children:L.competitor.buyer||"\u2014"}),(0,y.jsxs)(x,{fontSize:"sm",color:"text.muted",children:["End user: ",L.competitor.endUser||"\u2014"]})]})]})]}),(0,y.jsxs)(P,{borderWidth:"1px",borderColor:"surface.border",borderRadius:"md",p:3,minW:0,children:[(0,y.jsxs)(Z,{spacing:2,mb:2,children:[(0,y.jsx)($n,{size:15}),(0,y.jsx)(x,{fontWeight:"semibold",children:"Positioning"})]}),(0,y.jsxs)(z,{spacing:2,children:[(0,y.jsxs)(P,{children:[(0,y.jsx)(x,{fontSize:"xs",color:"text.muted",textTransform:"uppercase",letterSpacing:"wide",children:"Core promise"}),(0,y.jsx)(x,{children:L.competitor.corePromise||"\u2014"})]}),(0,y.jsxs)(P,{children:[(0,y.jsx)(x,{fontSize:"xs",color:"text.muted",textTransform:"uppercase",letterSpacing:"wide",children:"Category claim"}),(0,y.jsx)(x,{children:L.competitor.categoryClaim||"\u2014"})]}),(0,y.jsxs)(P,{children:[(0,y.jsx)(x,{fontSize:"xs",color:"text.muted",textTransform:"uppercase",letterSpacing:"wide",children:"Category"}),(0,y.jsx)(x,{children:L.competitor.category||"\u2014"})]})]})]}),(0,y.jsxs)(P,{borderWidth:"1px",borderColor:"surface.border",borderRadius:"md",p:3,minW:0,children:[(0,y.jsxs)(Z,{spacing:2,mb:2,children:[(0,y.jsx)(DM,{size:15}),(0,y.jsx)(x,{fontWeight:"semibold",children:"Onboarding + Pricing"})]}),(0,y.jsxs)(z,{spacing:2,children:[(0,y.jsxs)(x,{children:["Onboarding: ",L.competitor.onboardingModel||"\u2014"]}),(0,y.jsxs)(ot,{spacing:2,maxW:"full",children:[(0,y.jsx)(Se,{maxW:"100%",children:(0,y.jsxs)(ii,{colorScheme:f9(L.competitor.pricingModel),children:["Model: ",L.competitor.pricingModel||"\u2014"]})}),(0,y.jsx)(Se,{maxW:"100%",children:(0,y.jsxs)(ii,{children:["Entry: ",L.competitor.entryPrice||"\u2014"]})}),(0,y.jsx)(Se,{maxW:"100%",children:(0,y.jsxs)(ii,{children:["Free: ",L.competitor.freeModel||"\u2014"]})}),(0,y.jsx)(Se,{maxW:"100%",children:(0,y.jsxs)(ii,{children:["Annual: ",L.competitor.annualDiscount||"\u2014"]})})]})]})]}),(0,y.jsxs)(P,{borderWidth:"1px",borderColor:"surface.border",borderRadius:"md",p:3,minW:0,children:[(0,y.jsxs)(Z,{spacing:2,mb:2,children:[(0,y.jsx)(yL,{size:15}),(0,y.jsx)(x,{fontWeight:"semibold",children:"Strengths + Risks"})]}),(0,y.jsxs)(z,{spacing:2,children:[(0,y.jsxs)(x,{children:["Best feature: ",L.competitor.bestFeature||"\u2014"]}),(0,y.jsxs)(x,{children:["Biggest weakness: ",L.competitor.biggestWeakness||"\u2014"]}),(0,y.jsxs)(x,{color:"text.muted",children:["Biggest complaint: ",L.competitor.biggestComplaint||"\u2014"]})]})]})]}),(0,y.jsxs)(P,{borderWidth:"1px",borderColor:"surface.border",borderRadius:"md",p:3,minW:0,children:[(0,y.jsxs)(Z,{spacing:2,mb:2,children:[(0,y.jsx)(vM,{size:15}),(0,y.jsx)(x,{fontWeight:"semibold",children:"Channels + Sentiment Themes"})]}),(0,y.jsxs)(z,{spacing:3,children:[(0,y.jsxs)(P,{children:[(0,y.jsx)(x,{fontSize:"xs",color:"text.muted",textTransform:"uppercase",letterSpacing:"wide",mb:1,children:"Acquisition channels"}),(L.competitor.acquisitionChannels??[]).length>0?(0,y.jsx)(ot,{spacing:2,maxW:"full",children:L.competitor.acquisitionChannels.map((R,te)=>(0,y.jsx)(Se,{maxW:"100%",children:(0,y.jsx)(Q0,{colorScheme:"teal",children:R})},`acquisition-channel-${te}-${R}`))}):(0,y.jsx)(x,{color:"text.muted",children:"\u2014"})]}),(0,y.jsxs)(Pe,{columns:{base:1,md:3},spacing:3,children:[(0,y.jsxs)(P,{minW:0,children:[(0,y.jsx)(x,{fontSize:"xs",color:"text.muted",textTransform:"uppercase",letterSpacing:"wide",mb:1,children:"Review themes"}),(L.competitor.reviewThemes??[]).length>0?(0,y.jsx)(ot,{spacing:2,maxW:"full",children:L.competitor.reviewThemes.map((R,te)=>(0,y.jsx)(Se,{maxW:"100%",children:(0,y.jsx)(ii,{children:R})},`review-theme-${te}-${R}`))}):(0,y.jsx)(x,{color:"text.muted",children:"\u2014"})]}),(0,y.jsxs)(P,{minW:0,children:[(0,y.jsx)(x,{fontSize:"xs",color:"text.muted",textTransform:"uppercase",letterSpacing:"wide",mb:1,children:"Praise themes"}),(L.competitor.praiseThemes??[]).length>0?(0,y.jsx)(ot,{spacing:2,maxW:"full",children:L.competitor.praiseThemes.map((R,te)=>(0,y.jsx)(Se,{maxW:"100%",children:(0,y.jsx)(ii,{colorScheme:"green",children:R})},`praise-theme-${te}-${R}`))}):(0,y.jsx)(x,{color:"text.muted",children:"\u2014"})]}),(0,y.jsxs)(P,{minW:0,children:[(0,y.jsx)(x,{fontSize:"xs",color:"text.muted",textTransform:"uppercase",letterSpacing:"wide",mb:1,children:"Complaint themes"}),(L.competitor.complaintThemes??[]).length>0?(0,y.jsx)(ot,{spacing:2,maxW:"full",children:L.competitor.complaintThemes.map((R,te)=>(0,y.jsx)(Se,{maxW:"100%",children:(0,y.jsx)(ii,{colorScheme:"red",children:R})},`complaint-theme-${te}-${R}`))}):(0,y.jsx)(x,{color:"text.muted",children:"\u2014"})]})]})]})]}),(0,y.jsxs)(Pe,{columns:{base:1,md:2},spacing:3,children:[(0,y.jsxs)(P,{borderWidth:"1px",borderColor:"surface.border",borderRadius:"md",p:3,minW:0,children:[(0,y.jsxs)(Z,{spacing:2,mb:2,children:[(0,y.jsx)(Ri,{size:15}),(0,y.jsx)(x,{fontWeight:"semibold",children:"Relative Position"})]}),(0,y.jsxs)(z,{spacing:2,children:[(0,y.jsxs)(x,{children:["Advantage: ",L.competitor.yourRelativeAdvantage||"\u2014"]}),(0,y.jsxs)(x,{children:["Disadvantage: ",L.competitor.yourRelativeDisadvantage||"\u2014"]})]})]}),(0,y.jsxs)(P,{borderWidth:"1px",borderColor:"surface.border",borderRadius:"md",p:3,minW:0,children:[(0,y.jsxs)(Z,{spacing:2,mb:2,children:[(0,y.jsx)(ZM,{size:15}),(0,y.jsx)(x,{fontWeight:"semibold",children:"Website + Enrichment IDs"})]}),(0,y.jsxs)(z,{spacing:2,children:[L.competitor.url?(0,y.jsx)(Tn,{href:L.competitor.url,target:"_blank",rel:"noreferrer",children:(0,y.jsx)(x,{color:"blue.500",children:L.competitor.url})}):(0,y.jsx)(x,{children:"\u2014"}),(0,y.jsxs)(ot,{spacing:2,maxW:"full",children:[(0,y.jsx)(Se,{maxW:"100%",children:(0,y.jsxs)(ii,{children:["Subreddit: ",L.competitor.identifiers.subreddit||"\u2014"]})}),(0,y.jsx)(Se,{maxW:"100%",children:(0,y.jsxs)(ii,{children:["App Store ID: ",L.competitor.identifiers.appStoreId||"\u2014"]})}),(0,y.jsx)(Se,{maxW:"100%",children:(0,y.jsxs)(ii,{children:["App Store Query: ",L.competitor.identifiers.appStoreQuery||"\u2014"]})}),(0,y.jsx)(Se,{maxW:"100%",children:(0,y.jsxs)(ii,{children:["Domain: ",L.competitor.identifiers.domain||"\u2014"]})})]})]})]})]}),(0,y.jsxs)(P,{borderWidth:"1px",borderColor:"surface.border",borderRadius:"md",p:3,children:[(0,y.jsxs)(Z,{justify:"space-between",align:"center",mb:2,children:[(0,y.jsxs)(Z,{spacing:2,children:[(0,y.jsx)(JM,{size:15}),(0,y.jsx)(x,{fontWeight:"semibold",children:"Features"})]}),(0,y.jsx)(Z,{spacing:2,display:r?"none":void 0,children:H?(0,y.jsxs)(y.Fragment,{children:[(0,y.jsx)(gt,{size:"xs",variant:"ghost",onClick:()=>{ce(!1),ue((L.competitor.features??[]).map(R=>rc(R)))},children:"Cancel"}),(0,y.jsx)(gt,{size:"xs",colorScheme:"brand",isLoading:se,onClick:()=>{Os()},children:"Save features"})]}):(0,y.jsx)(gt,{size:"xs",variant:"outline",onClick:()=>{ce(!0),ue((L.competitor.features??[]).map(R=>rc(R)))},children:"Edit features"})})]}),H?Hs.length>0?(0,y.jsx)(Pe,{columns:{base:1,sm:2},spacing:2,children:Hs.map((R,te)=>(0,y.jsx)(UI,{isChecked:we.includes(R),onChange:je=>{ue(et=>je.target.checked?Array.from(new Set([...et,R])):et.filter(Qt=>Qt!==R))},children:yf(R)},`feature-option-${te}-${R}`))}):(0,y.jsx)(x,{color:"text.muted",children:"No feature tags available yet."}):(L.competitor.features??[]).length>0?(0,y.jsx)(ot,{spacing:2,maxW:"full",children:L.competitor.features.map((R,te)=>(0,y.jsx)(Se,{maxW:"100%",children:(0,y.jsx)(Q0,{colorScheme:"blue",children:yf(R)})},`selected-feature-${te}-${R}`))}):(0,y.jsx)(x,{color:"text.muted",children:"No features listed."})]}),(0,y.jsxs)(P,{borderWidth:"1px",borderColor:"surface.border",borderRadius:"md",p:3,children:[(0,y.jsxs)(Z,{spacing:2,mb:2,children:[(0,y.jsx)(n8,{size:15}),(0,y.jsx)(x,{fontWeight:"semibold",children:"Metrics"})]}),(L.competitor.metrics??[]).length>0?(0,y.jsx)(P,{maxW:"full",children:(0,y.jsx)(Ka,{style:{maxHeight:"300px"},children:(0,y.jsxs)(ja,{size:"sm",w:"full",minW:"680px",sx:{...Je},children:[(0,y.jsx)(Cs,{children:(0,y.jsxs)(bo,{children:[(0,y.jsx)(Ee,{children:"Metric"}),(0,y.jsx)(Ee,{children:"Value"}),(0,y.jsx)(Ee,{children:"Date"}),(0,y.jsx)(Ee,{children:"Source"}),(0,y.jsx)(Ee,{children:"Confidence"})]})}),(0,y.jsx)(vs,{children:L.competitor.metrics.map((R,te)=>{let je=!R.source?.trim(),et=oY(R);return(0,y.jsxs)(bo,{children:[(0,y.jsx)(Te,{children:rY(R.metric||"metric")}),(0,y.jsx)(Te,{children:KX(R)}),(0,y.jsx)(Te,{children:R.date||"\u2014"}),(0,y.jsx)(Te,{children:(0,y.jsxs)(z,{spacing:1,children:[(0,y.jsx)(x,{fontSize:"xs",children:R.source||"\u2014"}),je?(0,y.jsx)($,{colorScheme:"red",children:"needs source"}):null]})}),(0,y.jsx)(Te,{children:(0,y.jsx)($,{colorScheme:X6(et),children:et})})]},`${R.metric}-${te}`)})})]})})}):(0,y.jsx)(x,{color:"text.muted",children:"No metrics listed."})]}),(0,y.jsxs)(P,{borderWidth:"1px",borderColor:"surface.border",borderRadius:"md",p:3,children:[(0,y.jsxs)(Z,{spacing:2,mb:2,children:[(0,y.jsx)(gM,{size:15}),(0,y.jsx)(x,{fontWeight:"semibold",children:"Spec Notes"})]}),(0,y.jsx)(B4,{label:L.competitor.notes||"No notes",openDelay:350,children:(0,y.jsx)(x,{color:"text.default",children:L.competitor.notes||"\u2014"})})]}),(0,y.jsxs)(P,{display:r?"none":void 0,borderWidth:"1px",borderColor:"surface.border",borderRadius:"md",p:3,children:[(0,y.jsxs)(Z,{justify:"space-between",align:"center",mb:2,children:[(0,y.jsxs)(Z,{spacing:2,children:[(0,y.jsx)(oL,{size:15}),(0,y.jsx)(x,{fontWeight:"semibold",children:"Team Notes"}),(0,y.jsx)($,{colorScheme:Jr.length>0?"blue":"gray",variant:"subtle",children:Jr.length})]}),(0,y.jsx)(x,{fontSize:"sm",color:"text.muted",children:"Visible to workspace members"})]}),(0,y.jsx)(z,{spacing:3,children:K?(0,y.jsxs)(Z,{children:[(0,y.jsx)(lu,{size:"sm"}),(0,y.jsx)(x,{fontSize:"sm",color:"text.muted",children:"Loading notes..."})]}):Jr.length>0?Jr.map(R=>{let te=Q(R),je=J===R.id,et=R.updated_at!==R.created_at;return(0,y.jsx)(P,{layerStyle:"notchedInset",borderWidth:"1px",borderColor:"surface.border",p:3,bg:"surface.muted",children:je?(0,y.jsxs)(z,{spacing:2,children:[(0,y.jsx)(n2,{value:ee,onChange:Qt=>pe(Qt.target.value),rows:3}),(0,y.jsxs)(Z,{justify:"end",children:[(0,y.jsx)(gt,{size:"xs",variant:"ghost",onClick:()=>{X(null),pe("")},children:"Cancel"}),(0,y.jsx)(gt,{size:"xs",colorScheme:"brand",isLoading:se,onClick:()=>{$t(R.id)},children:"Save"})]})]}):(0,y.jsxs)(z,{spacing:2,children:[(0,y.jsx)(x,{whiteSpace:"pre-wrap",children:R.content}),(0,y.jsxs)(x,{fontSize:"xs",color:"text.muted",children:["Posted by ",R.created_by_email||"unknown"," on ",JX(R.created_at),et?` \xB7 edited ${JX(R.updated_at)}`:""]}),te?(0,y.jsxs)(Z,{justify:"end",children:[(0,y.jsx)(gt,{size:"xs",variant:"outline",onClick:()=>{X(R.id),pe(R.content)},children:"Edit"}),(0,y.jsx)(gt,{size:"xs",colorScheme:"red",variant:"outline",isLoading:se,onClick:()=>{Rn(R.id)},children:"Delete"})]}):null]})},R.id)}):(0,y.jsx)(x,{fontSize:"sm",color:"text.muted",children:"No notes yet."})}),(0,y.jsx)(so,{my:4}),(0,y.jsxs)(z,{spacing:3,children:[(0,y.jsxs)(Kp,{children:[(0,y.jsx)(c4,{fontSize:"sm",color:"text.muted",children:"Add note"}),(0,y.jsx)(n2,{ref:de,placeholder:"Add insight, decision, or follow-up.",rows:3})]}),(0,y.jsx)(Z,{justify:"end",children:(0,y.jsx)(gt,{size:"sm",colorScheme:"brand",onClick:()=>{bt()},isLoading:se,children:"Post note"})})]})]})]}):null})})})]})]})]})}function aY(e){let t=(e.style??"avataaars").trim()||"avataaars",o=(e.seed??"").trim()||"persona";return`https://api.dicebear.com/9.x/${encodeURIComponent(t)}/svg?seed=${encodeURIComponent(o)}`}var p9=k(re());mn.register(Oi,Vi,ni,H0,F0);function j1e(e,t){let o=e.toLowerCase();return o.includes("subscription")?t.blue:o.includes("free")?t.green:o.includes("ads")?t.yellow:o.includes("usage")?t.purple:o.includes("one_time")?t.orange:o.includes("hybrid")?t.teal:t.gray}var G1e=["subscription","free","ads","usage","one_time","hybrid","unknown"];function sY(e){let t=e.trim().toLowerCase();return t?t.includes("subscription")?"subscription":t.includes("free")?"free":t.includes("ads")?"ads":t.includes("usage")?"usage":t.includes("one_time")?"one_time":t.includes("hybrid")?"hybrid":"unknown":"unknown"}function $1e(e){return e==="one_time"?"One Time":e.charAt(0).toUpperCase()+e.slice(1)}function q1e(e){let t=[];return t.push(`Model: ${e.pricingModel||"unknown"}`),t.push(`Category: ${e.category||"\u2014"}`),t.push(`Pricing details: ${e.pricingDetails||"\u2014"}`),e.notes?.trim()&&t.push(`Notes: ${e.notes}`),e.url?.trim()&&t.push(`URL: ${e.url}`),t}function iY({data:e}){let t=V0(),o=G1e.filter(c=>e.some(u=>sY(u.pricingModel)===c)),r=o.length>0?o:["unknown"],n=r.map(c=>$1e(c)),a=e.map((c,u)=>{let m=sY(c.pricingModel),f=j1e(m,t.series),d=t.fill(f,.72+u%3*.08),p=r.map(h=>h===m?1:0);return{label:c.name||`Competitor ${u+1}`,data:p,backgroundColor:d,borderColor:f,borderWidth:1,borderRadius:4,stack:"competitors"}}),s={labels:n,datasets:a},i={responsive:!0,maintainAspectRatio:!1,plugins:{legend:{display:!1},tooltip:{backgroundColor:t.tooltipBackground,titleColor:t.tooltipTitleColor,bodyColor:t.tooltipBodyColor,borderColor:t.tooltipBorderColor,borderWidth:1,callbacks:{title(c){return`Model: ${c[0]?.label??"Unknown"}`},label(c){let u=e[c.datasetIndex];return u?.name?`Competitor: ${u.name}`:"Competitor"},afterLabel(c){let u=e[c.datasetIndex];return u?q1e(u):[]}}}},scales:{x:{stacked:!0,ticks:{color:t.axisColor},grid:{color:t.gridColor},border:{color:t.borderColor}},y:{stacked:!0,beginAtZero:!0,ticks:{color:t.axisColor,precision:0,stepSize:1},grid:{color:t.gridColor},border:{color:t.borderColor},title:{display:!0,text:"Competitor count",color:t.axisTitleColor}}}},l=Math.max(280,r.length*68);return(0,p9.jsx)(P,{h:`${l}px`,children:(0,p9.jsx)(O0,{data:s,options:i})})}function X1e(e){let t=String(e??"").trim().toLowerCase();return t==="b2b"||t==="b2c"||t==="both"||t==="free"?t:"both"}function Y1e(e){return X1e(e)==="free"}function Y6(e){let t=typeof e.meta=="object"&&e.meta!==null&&!Array.isArray(e.meta)?e.meta:{};return Y1e(t.projectType)}var A=k(re());function Ia(e){return Array.isArray(e)?e.map(t=>typeof t=="string"?t.trim():"").filter(Boolean):[]}function lY(e){if(typeof e=="number"&&Number.isFinite(e))return e;if(typeof e=="string"){let t=Number(e.replace(/[^\d.-]/g,"").trim());return Number.isFinite(t)?t:0}return 0}function ac(e){if(e==null)return null;if(typeof e=="number"&&Number.isFinite(e))return e;if(typeof e=="string"){let t=e.trim();if(!t)return null;let o=t.replace(/[^\d.-]/g,"");if(!o)return null;let r=Number(o);return Number.isFinite(r)?r:null}return null}function Q6(e){return e==="high"||e==="med"||e==="medium"?e==="medium"?"med":e:"low"}function J0(e){return e==="high"?"green":e==="med"?"yellow":"red"}function K1e(e){return e>=70?{colorScheme:"green",trackColor:"green.100",textColor:"green.700"}:e>=50?{colorScheme:"yellow",trackColor:"yellow.100",textColor:"yellow.700"}:{colorScheme:"red",trackColor:"red.100",textColor:"red.700"}}function fn(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)?e:{}}function Qa(e,t){for(let o of t){if(!(o in e))continue;let r=e[o];if(r!=null){if(typeof r=="string"){let n=r.trim();if(!n||n==="[object Object]")continue}if(!(typeof r=="number"&&!Number.isFinite(r)))return r}}}function nc(e){if(typeof e=="string"){let t=e.trim();return t==="[object Object]"?"":t}if(typeof e=="number"&&Number.isFinite(e))return String(e);if(Array.isArray(e))return e.map(t=>nc(t)).filter(Boolean).join(", ");if(typeof e=="object"&&e!==null){let t=fn(e),o=Du([t.label,t.value,t.text,t.name,t.summary,t.description]);if(o)return o;let r=ac(t.min),n=ac(t.max),a=String(t.unit??t.currency??"").trim();if(r!==null&&n!==null)return a?`${a} ${r.toLocaleString()} - ${n.toLocaleString()}`:`${r.toLocaleString()} - ${n.toLocaleString()}`;if(r!==null)return a?`${a} ${r.toLocaleString()}+`:`${r.toLocaleString()}+`;let s=ac(t.days??t.lengthDays??t.salesDays);if(s!==null)return`${s.toLocaleString()} days`}return""}function Q1e(e){let t=e.trim();return t?t.includes("_")||t.includes("-")?!0:/^[a-z0-9]+(?:[A-Z][a-z0-9]+)+$/.test(t):!1}function J1e(e){let t=e.trim().replace(/^seg[_-]/i,"");if(!t)return"";let o=t.replace(/([a-z0-9])([A-Z])/g,"$1 $2").replace(/[_-]+/g," ").replace(/\s+/g," ").trim(),r=new Set(["acv","wtp","icp","mvp","seo","gtm","api","ui","ux","llm"]);return o.split(" ").map(n=>{let a=n.toLowerCase();return r.has(a)?a.toUpperCase():a.charAt(0).toUpperCase()+a.slice(1)}).join(" ")}function Y2(e){let t=nc(e);return t?Q1e(t)?J1e(t):t:""}function h9(e){return Y2(e)||"No Data"}function mY(e){if(typeof e=="string")return e.trim();if(typeof e=="number"&&Number.isFinite(e))return String(e);let t=fn(e),o=ac(t.min),r=ac(t.max),n=String(t.currency??"USD").trim()||"USD",a=String(t.label??"").trim();if(a)return a;if(o!==null&&r!==null)return`${n} ${o.toLocaleString()} - ${r.toLocaleString()}`;if(o!==null)return`${n} ${o.toLocaleString()}+`;if(r!==null)return`Up to ${n} ${r.toLocaleString()}`;let s=Array.isArray(t.range)?t.range:[];if(s.length>=2){let i=ac(s[0]),l=ac(s[1]);if(i!==null&&l!==null)return`${n} ${i.toLocaleString()} - ${l.toLocaleString()}`}return""}function eh(e,t){let o=Qa(e,t);return typeof o=="number"?o>=4?"high":o>=2?"med":"low":Q6(o)}function q2(e){return String(e??"").trim().toLowerCase()}function Du(e){for(let t of e){let o=String(t??"").trim();if(o)return o}return""}function e2e(e){return Array.isArray(e)?e.map((t,o)=>{let r=fn(t),n=Y2(r.name??r.segmentName??r.id);return n?{id:String(r.id??`segment_${o+1}`).trim()||`segment_${o+1}`,name:n,useCase:nc(Qa(r,["useCase","description"])),buyingMotion:nc(Qa(r,["buyingMotion","goToMarketMotion","motion"])),willingnessToPay:mY(Qa(r,["willingnessToPay","wtp","willingness","priceSensitivity"])),likelyACV:nc(Qa(r,["likelyACV","likelyAcv","acv","estimatedACV"])),salesCycle:nc(Qa(r,["salesCycle","salesCycleLength","cycleLength"])),painIntensity:eh(r,["painIntensity","pain","urgencyLevel"]),easeOfReach:eh(r,["easeOfReach","reachability","reach"]),timeToValue:eh(r,["timeToValue","ttv","timeToFirstValue"]),retentionPotential:eh(r,["retentionPotential","retention"]),supportBurden:eh(r,["supportBurden","supportComplexity"]),expansionPotential:eh(r,["expansionPotential","expansion"]),recommended:r.recommended===!0,notes:nc(Qa(r,["notes"]))}:null}).filter(t=>t!==null):[]}function t2e(e){return Array.isArray(e)?e.map((t,o)=>{let r=fn(t),n=String(r.name??"").trim();return n?{id:String(r.id??`substitute_${o+1}`).trim()||`substitute_${o+1}`,type:String(r.type??"other").trim()||"other",name:n,whyPeopleUseIt:String(r.whyPeopleUseIt??"").trim(),biggestWeakness:String(r.biggestWeakness??"").trim(),yourAdvantage:String(r.yourAdvantage??"").trim(),notes:String(r.notes??"").trim()}:null}).filter(t=>t!==null):[]}function o2e(e){return Array.isArray(e)?e.map(t=>{let o=fn(t),r=String(o.id??"").trim(),n=String(o.title??"").trim();return!r||!n?null:{id:r,title:n,summary:String(o.summary??"").trim(),score:Math.max(0,Math.min(100,Number(o.score??0)||0)),scoreLabel:String(o.scoreLabel??"").trim(),bullets:Ia(o.bullets).slice(0,4)}}).filter(t=>t!==null):[]}function r2e(e){let t=`${e.buyingMotion} ${e.salesCycle} ${e.likelyACV}`.toLowerCase();return t.includes("sales")||t.includes("procurement")||t.includes("quarter")?"sales-led":t.includes("self")||t.includes("trial")||t.includes("freemium")?"self-serve":t.includes("plg")||t.includes("product-led")?"product-led":"hybrid"}function n2e(e){if(e.length===0)return"No competitor pricing signals captured yet.";let t=e.reduce((a,s)=>{let i=s.pricingModel.trim().toLowerCase()||"unknown";return a[i]=(a[i]??0)+1,a},{}),o=Object.entries(t).sort((a,s)=>s[1]-a[1]),[r,n]=o[0]??["unknown",0];return`${n}/${e.length} mapped competitors lean ${r} pricing.`}function cY(e,t){let o=t.trim().toLowerCase();return o?e.find(r=>r.name.trim().toLowerCase()===o)??null:null}function a2e(e,t,o){let r=e.trim().toLowerCase(),n=t.trim().toLowerCase(),a=o.trim().toLowerCase();return!r&&!n&&!a?"Ownership roles are not defined yet.":r&&n&&r!==n?a&&a!==r?"Buyer, end user, and budget owner differ. Plan for multi-stakeholder messaging and sales friction.":"Buyer and end user differ. Expect extra proof + onboarding clarity before conversion.":a&&r&&a!==r?"Budget owner differs from buyer. Add an ROI narrative for budget approval.":"Buying and usage roles are mostly aligned, which supports faster conversion loops."}function Bs(e){return e==="high"?3:e==="med"?2:1}function s2e(e){if(e.length===0)return null;let t=e.find(r=>r.recommended);return t||([...e].sort((r,n)=>{let a=Bs(r.painIntensity)+Bs(r.easeOfReach)+Bs(r.timeToValue)+Bs(r.retentionPotential)+Bs(r.expansionPotential)-Bs(r.supportBurden);return Bs(n.painIntensity)+Bs(n.easeOfReach)+Bs(n.timeToValue)+Bs(n.retentionPotential)+Bs(n.expansionPotential)-Bs(n.supportBurden)-a})[0]??null)}function i2e(e,t){let o=[],r=e.reduce((i,l)=>{let c=l.pricingModel.trim().toLowerCase()||"unknown";return i[c]=(i[c]??0)+1,i},{}),n=e.length,a=n>0?(r.subscription??0)/n:0,s=n>0?(r.unknown??0)/n:0;return a>=.6&&o.push("Most alternatives are subscription-first, so differentiation likely comes from packaging clarity and entry path."),s>=.3&&o.push("Many competitors have unclear public pricing, creating an opportunity to win with transparent packaging."),t.length>0&&o.push("Manual/workaround substitutes remain active, so entry tier value must beat status-quo effort quickly."),o.length===0&&o.push("Current category pricing appears mixed; validate willingness-to-pay before locking tier boundaries."),o}function l2e(e){return e.length===0?null:e.find(t=>t.whyPeopleUseIt)??e[0]??null}function Ru(e){return e==="med"?"medium":e}function X2(e,t){return e.filter(Boolean).slice(0,t)}function c2e(e){if(e.length===0)return"No explicit persona-to-tier mapping yet.";let t=new Set(e.map(o=>o.personaId).filter(Boolean));return`${e.length} mapping notes across ${t.size} persona(s).`}function u2e(e){return e.length===0?"Tier rationale is still sparse.":`${e.length} rationale entries define why each tier exists.`}function m2e(e,t){let o=[];return e.trim()&&o.push(`Demand pattern: ${e}`),t.trim()&&o.push(`Spending signal: ${t}`),o.join(" \xB7 ")||"No replacement/spending signal captured yet."}function f2e(e){return Array.isArray(e)?e.map(t=>{let o=fn(t),r=String(o.channel??"").trim();return r?{channel:r,saturation:Q6(o.saturation),opportunity:String(o.opportunity??"").trim()}:null}).filter(t=>t!==null):[]}function d2e(e){let t=Ru(e.saturation);return`${e.channel}: saturation ${t}${e.opportunity?`, opportunity ${e.opportunity}`:""}`}function uY(e,t=180){return e.length<=t?e:`${e.slice(0,t-1)}\u2026`}function Yn({eyebrow:e,title:t,description:o,action:r}){return(0,A.jsxs)(Z,{justify:"space-between",align:{base:"start",md:"center"},spacing:3,flexWrap:"wrap",children:[(0,A.jsxs)(z,{spacing:.75,children:[(0,A.jsx)(x,{fontSize:"xs",textTransform:"uppercase",letterSpacing:"wide",color:"text.muted",fontWeight:"semibold",children:e}),(0,A.jsx)(x,{fontWeight:"semibold",fontSize:"lg",lineHeight:"1.2",children:t}),o?(0,A.jsx)(x,{fontSize:"sm",color:"text.muted",maxW:"72ch",children:o}):null]}),r??null]})}function p2e(e){return e==="usage"||e==="ads"||e==="one_time"||e==="hybrid"?e:"subscription"}function h2e(e){return Array.isArray(e)?e.map((t,o)=>{if(typeof t!="object"||t===null)return null;let r=t,n=typeof r.avatar=="object"&&r.avatar!==null?r.avatar:{},a=String(r.id??`persona_${o+1}`).trim()||`persona_${o+1}`,s=String(n.style??"avataaars").trim()||"avataaars",i=String(n.seed??a).trim()||a;return{id:a,name:String(r.name??"").trim()||`Persona ${o+1}`,segment:String(r.segment??"").trim(),archetype:String(Qa(r,["archetype","personaArchetype","persona_archetype","archetypeLabel"])??"").trim(),role:String(r.role??"").trim(),topPains:Ia(r.topPains),topGoals:Ia(r.topGoals),objections:Ia(r.objections),quote:String(r.quote??"").trim(),willingnessToPay:{min:lY(typeof r.willingnessToPay=="object"&&r.willingnessToPay!==null?r.willingnessToPay.min:0),max:lY(typeof r.willingnessToPay=="object"&&r.willingnessToPay!==null?r.willingnessToPay.max:0),currency:String(typeof r.willingnessToPay=="object"&&r.willingnessToPay!==null?r.willingnessToPay.currency:"USD").trim()||"USD",confidence:Q6(typeof r.willingnessToPay=="object"&&r.willingnessToPay!==null?r.willingnessToPay.confidence:"low"),notes:String(typeof r.willingnessToPay=="object"&&r.willingnessToPay!==null?r.willingnessToPay.notes:"").trim()},avatarUrl:String(n.url??"").trim()||aY({seed:i,style:s})}}).filter(t=>t!==null):[]}function g2e(e,t){let o=typeof e=="object"&&e!==null?e:{},n=(Array.isArray(o.tiers)?o.tiers:Array.isArray(t.tiers)?t.tiers:[]).map(a=>{if(typeof a!="object"||a===null)return null;let s=a,i=String(s.name??"").trim();return i?{name:i,monthly:ac(s.monthly??s.priceMonthly??s.monthlyPrice??s.price),yearly:ac(s.yearly??s.priceYearly??s.annual),features:Ia(s.features),limits:Ia(s.limits),targetPersonaIds:Ia(s.targetPersonaIds)}:null}).filter(a=>a!==null);return{currency:String(o.currency??t.currency??"USD").trim()||"USD",model:p2e(o.model??t.model??t.pricingModel),valueMetric:Y2(Qa(o,["valueMetric","value_metric","metric","metricName"])??Qa(t,["valueMetric","value_metric","metric","metricName"])),tiers:n,tierRationale:(Array.isArray(o.tierRationale)?o.tierRationale:[]).map(a=>{let s=fn(a),i=String(s.tierName??"").trim(),l=String(s.whyItExists??"").trim();return!i&&!l?null:{tierName:i,whyItExists:l,personaIds:Ia(s.personaIds)}}).filter(a=>a!==null),personaFit:(Array.isArray(o.personaFit)?o.personaFit:[]).map(a=>{let s=fn(a),i=String(s.personaId??"").trim(),l=String(s.recommendedTier??"").trim(),c=String(s.why??"").trim();return!i&&!l&&!c?null:{personaId:i,recommendedTier:l,why:c}}).filter(a=>a!==null),confidence:Q6(o.confidence??t.confidence),notes:String(o.notes??t.notes??"").trim(),risks:Ia(o.risks??t.risks),buyingMotionFit:String(o.buyingMotionFit??t.buyingMotionFit??"").trim(),expansionPath:String(o.expansionPath??t.expansionPath??"").trim()}}function b2e(e){let o=[e.pricingDetails,e.pricing,e.pricingSummary,e.startingPrice,e.price,e.monthlyPrice,e.yearlyPrice].map(r=>{if(typeof r=="string")return r.trim();if(typeof r=="number"&&Number.isFinite(r))return String(r);if(typeof r=="object"&&r!==null)try{return JSON.stringify(r)}catch{return""}return""}).filter(Boolean);return o.length>0?o.join(" | "):""}function K6(e,t){return e===null||!Number.isFinite(e)?"\u2014":`${t} ${e.toLocaleString()}`}function y2e(e,t){if(t.length===0)return null;let o=t.find(a=>a.targetPersonaIds.includes(e.id));if(o)return o;let r=e.willingnessToPay.max;if(r<=0)return t[0];let n=[...t].sort((a,s)=>{let i=a.monthly??a.yearly??Number.MAX_SAFE_INTEGER,l=s.monthly??s.yearly??Number.MAX_SAFE_INTEGER;return i-l});return n.find(a=>{let s=a.monthly??a.yearly;return typeof s=="number"&&s>0&&s<=r})??n[n.length-1]}function S2e(e){let t=[];return e.model||t.push("model"),e.tiers.length===0&&t.push("tiers"),e.tiers.some(o=>o.features.length===0||o.limits.length===0)&&t.push("tier features/limits"),e.tiers.some(o=>o.monthly===null&&o.yearly===null)&&t.push("tier pricing"),{complete:t.length===0,missing:t}}function fY({projectId:e,spec:t}){let o=Y6(t),r=t.icp??{},n=t.positioning??{},a=t.pricing??{},s=fn(t.choices),i=fn(s.pricing),l=o2e(i.options),c=String(i.selectedOptionId??"").trim(),u=l.find(Q=>Q.id===c)??null,m=t.research??{},f=fn(m.marketDefinition),d=fn(m.segmentAnalysis),p=fn(m.positioningAnalysis),h=fn(m.customerSentiment),S=fn(m.validationInsights),g=fn(m.distributionAnalysis),b=fn(d.recommended),I=Array.isArray(m.competitors)?m.competitors:[],v=e2e(d.segments),C=t2e(m.substitutes),T=h2e(r.personas),w=g2e(a,{...fn(n),...a}),E=S2e(w),B=cY(v,String(n.primarySegmentId??""))??cY(v,String(S.strongestSegment??""))??s2e(v),L=Du([n.substituteThreat,n.wedgeAgainst,S.strongestSubstituteThreat])||l2e(C)?.name||"",_=Du([n.strongestPainLead,S.strongestOpening,Array.isArray(h.topComplaintThemes)?h.topComplaintThemes[0]:""]),j=Du([n.strongestProofAngle,Array.isArray(p.proofPatterns)?p.proofPatterns[0]:""]),ne=Du([n.buyer,f.buyer]),K=Du([n.endUser,f.endUser]),ie=Du([n.budgetOwner,f.budgetOwner]),se=a2e(ne,K,ie),W=q2(ne),de=q2(K),q=q2(ie),fe=new Set([W,de,q].filter(Boolean)).size,he=fe>=3?"high":fe===2?"med":"low",ge=he==="high"?"red":he==="med"?"yellow":"green",J=!!(W&&de&&W===de),X=q&&W&&q===W?"aligned":q?"separate":"unknown",ee=X2(Ia(p.repeatedLanguage),8),pe=X2(Ia(n.messagingWhitespace??p.messagingWhitespace),8),H=X2(Ia(h.topComplaintThemes),6),ce=X2(Ia(h.topDelightThemes),6),we=f2e(g.channelPatterns),ue=X2(Ia(g.topObservedChannels),6),Ce=Du([S.strongestChannelOpportunity,we.find(Q=>Q.opportunity)?.opportunity]),ye=String(f.replacementVsNetNew??"").trim(),De=String(f.spendingPatterns??"").trim(),me=B?.likelyACV||nc(Qa(b,["likelyACV","likelyAcv","acv","estimatedACV"])),ke=B?.salesCycle||nc(Qa(b,["salesCycle","salesCycleLength","cycleLength"])),Ae=B?.willingnessToPay||mY(Qa(b,["willingnessToPay","wtp","willingness","priceSensitivity"])),Be=new Map(T.map(Q=>[Q.id,Q.name])),xt=new Map(T.map(Q=>[Q.id,Q.avatarUrl])),We=I.map((Q,bt)=>{if(typeof Q!="object"||Q===null)return null;let $t=Q,Rn=String($t.name??"").trim()||`Competitor ${bt+1}`,kr=String($t.pricingModel??"unknown").trim()||"unknown",Os=String($t.category??"").trim(),R=String($t.notes??"").trim(),te=String($t.url??"").trim(),je=b2e($t);return{name:Rn,category:Os,pricingModel:kr,pricingDetails:je,notes:R,url:te}}).filter(Q=>Q!==null),Fe=i2e(We,C),Qe=w.personaFit.reduce((Q,bt)=>{let $t=bt.recommendedTier.trim();return $t&&(Q[$t]=(Q[$t]??0)+1),Q},{}),ut=Object.values(Qe).reduce((Q,bt)=>Math.max(Q,bt),0),ae={borderWidth:"1px",borderColor:"surface.border",borderRadius:"xl",p:5,bg:"surface.base",boxShadow:"sm"},Re={borderWidth:"1px",borderColor:"surface.border",borderRadius:"lg",p:4,bg:"surface.muted",boxShadow:"sm",h:"full"},Xe={borderWidth:"1px",borderColor:"surface.border",borderRadius:"lg",p:4,bg:"surface.base",boxShadow:"sm",h:"full"},Je={borderWidth:"1px",borderColor:"surface.border",borderRadius:"md",p:3,bg:"surface.muted"},An={columnCount:{base:1,xl:2},columnGap:"16px"},vo={display:"inline-block",width:"100%",mb:4,sx:{breakInside:"avoid",pageBreakInside:"avoid"}},Jr=[{title:"Segment",value:B?.name||"\u2014",icon:(0,A.jsx)(Z4,{size:16})},{title:"Buyer",value:ne||"\u2014",icon:(0,A.jsx)(X4,{size:16})},{title:"End user",value:K||"\u2014",icon:(0,A.jsx)(eM,{size:16})},{title:"Budget owner",value:ie||"\u2014",icon:(0,A.jsx)(oM,{size:16})}],Hs=[{title:"Category",content:String(n.category??"\u2014")||"\u2014",icon:(0,A.jsx)(Q5,{size:20,weight:"duotone"})},{title:"Positioning statement",content:String(n.positioningStatement??"\u2014")||"\u2014",icon:(0,A.jsx)(nM,{size:20,weight:"duotone"})},{title:"Differentiator",content:String(n.differentiator??"\u2014")||"\u2014",icon:(0,A.jsx)(w0,{size:20,weight:"duotone"})},{title:"Strongest pain lead",content:_||"\u2014",icon:(0,A.jsx)(l2,{size:20,weight:"duotone"})},{title:"Strongest proof angle",content:j||"\u2014",icon:(0,A.jsx)(Z4,{size:20,weight:"duotone"})},{title:"Strongest substitute threat",content:L||"\u2014",icon:(0,A.jsx)(X4,{size:20,weight:"duotone"})},{title:"Market signal",content:m2e(ye,De),icon:(0,A.jsx)(lM,{size:20,weight:"duotone"})}];return(0,A.jsxs)(z,{spacing:5,children:[(0,A.jsxs)(P,{...ae,order:1,children:[(0,A.jsx)(x,{fontWeight:"semibold",mb:2,children:"Positioning Snapshot"}),(0,A.jsx)(Pe,{columns:{base:1,md:2,xl:4},spacing:3,mb:4,children:Jr.map(Q=>(0,A.jsxs)(P,{...Re,h:"full",children:[(0,A.jsxs)(Z,{justify:"space-between",align:"flex-start",mb:1.5,children:[(0,A.jsx)(x,{fontSize:"xs",textTransform:"uppercase",letterSpacing:"wide",color:"text.muted",fontWeight:"semibold",children:Q.title}),(0,A.jsx)(P,{color:"brand.600",children:Q.icon})]}),(0,A.jsx)(x,{fontWeight:"semibold",color:"text.default",lineHeight:"1.4",children:Q.value})]},Q.title))}),(0,A.jsx)(P,{color:"text.default",sx:{columnCount:{base:1,md:2},columnGap:"12px"},children:Hs.map(Q=>(0,A.jsxs)(P,{borderWidth:"1px",borderColor:"blue.200",bg:"blue.50",borderRadius:"md",px:3.5,py:3,mb:3,sx:{breakInside:"avoid",pageBreakInside:"avoid"},children:[(0,A.jsxs)(Z,{justify:"flex-start",align:"center",spacing:2,mb:1.5,children:[(0,A.jsx)(P,{color:"blue.600",display:"inline-flex",alignItems:"center",justifyContent:"center",children:Q.icon}),(0,A.jsx)(x,{fontSize:"xs",textTransform:"uppercase",letterSpacing:"wide",color:"blue.700",fontWeight:"semibold",children:Q.title})]}),(0,A.jsx)(x,{color:"text.default",lineHeight:"1.5",children:Q.content})]},Q.title))})]}),(0,A.jsx)(P,{...ae,order:4,children:(0,A.jsxs)(Hr,{variant:"line",colorScheme:"teal",isLazy:!0,children:[(0,A.jsxs)(Or,{children:[(0,A.jsx)(nt,{children:"Overview"}),(0,A.jsx)(nt,{children:"Messaging + Segments"}),(0,A.jsx)(nt,{children:o?"Packaging + Features":"Pricing + Packaging"})]}),(0,A.jsxs)(Vr,{children:[(0,A.jsx)(Ke,{px:0,pt:5,children:(0,A.jsxs)(P,{sx:An,children:[(0,A.jsx)(P,{...Xe,...vo,children:B?(0,A.jsxs)(z,{spacing:4,children:[(0,A.jsx)(Yn,{eyebrow:"Overview",title:"Segment-to-Positioning Fit",description:"Where the strongest segment, urgency, and monetization signals line up.",action:(0,A.jsx)($,{colorScheme:B.recommended?"green":"blue",variant:"subtle",children:B.recommended?"Recommended":"Candidate"})}),(0,A.jsx)(P,{...Je,children:(0,A.jsxs)(z,{spacing:1,children:[(0,A.jsx)(x,{fontWeight:"semibold",children:B.name}),(0,A.jsx)(x,{color:"text.muted",fontSize:"sm",children:B.useCase||"Use case not captured yet."})]})}),(0,A.jsxs)(ot,{spacing:2,children:[(0,A.jsx)(Se,{children:(0,A.jsxs)($,{colorScheme:J0(B.painIntensity),variant:"subtle",children:["Pain: ",Ru(B.painIntensity)]})}),(0,A.jsx)(Se,{children:(0,A.jsxs)($,{colorScheme:J0(B.easeOfReach),variant:"subtle",children:["Reach: ",Ru(B.easeOfReach)]})}),(0,A.jsx)(Se,{children:(0,A.jsxs)($,{colorScheme:J0(B.timeToValue),variant:"subtle",children:["TTV: ",Ru(B.timeToValue)]})}),(0,A.jsx)(Se,{children:(0,A.jsxs)($,{colorScheme:J0(B.retentionPotential),variant:"subtle",children:["Retention: ",Ru(B.retentionPotential)]})}),(0,A.jsx)(Se,{children:(0,A.jsxs)($,{colorScheme:J0(B.supportBurden),variant:"subtle",children:["Support burden: ",Ru(B.supportBurden)]})}),(0,A.jsx)(Se,{children:(0,A.jsxs)($,{colorScheme:J0(B.expansionPotential),variant:"subtle",children:["Expansion: ",Ru(B.expansionPotential)]})})]})]}):(0,A.jsxs)(z,{spacing:3,children:[(0,A.jsx)(Yn,{eyebrow:"Overview",title:"Segment-to-Positioning Fit",description:"Where the strongest segment, urgency, and monetization signals line up."}),(0,A.jsx)(x,{color:"text.muted",children:"No segment analysis captured yet. Re-run Market & Validation segment analysis."})]})}),(0,A.jsx)(P,{...Xe,...vo,children:(0,A.jsxs)(z,{spacing:4,children:[(0,A.jsx)(Yn,{eyebrow:"Pricing",title:"Pricing Opportunity",description:"Current packaging signals, whitespace, and monetization leverage from the mapped market."}),(0,A.jsx)(P,{...Je,children:(0,A.jsx)(x,{color:"text.muted",fontSize:"sm",children:n2e(We)})}),(0,A.jsx)(st,{children:Fe.map(Q=>(0,A.jsx)(Ze,{children:Q},Q))}),(0,A.jsxs)(Pe,{columns:{base:1,md:2},spacing:3,children:[(0,A.jsxs)(P,{...Je,children:[(0,A.jsx)(x,{fontSize:"xs",textTransform:"uppercase",letterSpacing:"wide",color:"text.muted",mb:1,children:"Persona fit"}),(0,A.jsx)(x,{fontWeight:"semibold",children:c2e(w.personaFit)})]}),(0,A.jsxs)(P,{...Je,children:[(0,A.jsx)(x,{fontSize:"xs",textTransform:"uppercase",letterSpacing:"wide",color:"text.muted",mb:1,children:"Tier rationale"}),(0,A.jsx)(x,{fontWeight:"semibold",children:u2e(w.tierRationale)})]})]})]})}),(0,A.jsx)(P,{...Xe,...vo,children:(0,A.jsxs)(z,{spacing:4,children:[(0,A.jsx)(Yn,{eyebrow:"Buying Roles",title:"Role Friction Signal",description:"Derived friction view for role alignment without repeating raw role fields."}),(0,A.jsxs)(ot,{spacing:2,children:[(0,A.jsx)(Se,{children:(0,A.jsxs)($,{colorScheme:ge,variant:"subtle",children:["Friction: ",Ru(he)]})}),(0,A.jsx)(Se,{children:(0,A.jsxs)($,{colorScheme:J?"green":"yellow",variant:"subtle",children:["Buyer/User: ",J?"aligned":"split"]})}),(0,A.jsx)(Se,{children:(0,A.jsxs)($,{colorScheme:X==="aligned"?"green":X==="separate"?"yellow":"gray",variant:"subtle",children:["Budget owner: ",X]})})]}),(0,A.jsxs)(dt,{status:ne&&K&&q2(ne)!==q2(K)?"warning":"info",borderRadius:"lg",children:[(0,A.jsx)(pt,{}),(0,A.jsx)(ht,{children:se})]})]})}),(0,A.jsx)(P,{...Xe,...vo,children:(0,A.jsxs)(z,{spacing:4,children:[(0,A.jsx)(Yn,{eyebrow:"Economics",title:"Segment Economics",description:"Commercial shape of the recommended segment, plus the pricing risk stack."}),B?(0,A.jsxs)(z,{spacing:3,children:[(0,A.jsxs)(Pe,{columns:{base:1,md:2},spacing:3,children:[(0,A.jsxs)(P,{...Je,children:[(0,A.jsx)(x,{fontSize:"xs",textTransform:"uppercase",letterSpacing:"wide",color:"text.muted",mb:1,children:"Likely ACV"}),(0,A.jsx)(x,{fontWeight:"semibold",children:h9(me)})]}),(0,A.jsxs)(P,{...Je,children:[(0,A.jsx)(x,{fontSize:"xs",textTransform:"uppercase",letterSpacing:"wide",color:"text.muted",mb:1,children:"Sales cycle"}),(0,A.jsx)(x,{fontWeight:"semibold",children:h9(ke)})]}),(0,A.jsxs)(P,{...Je,children:[(0,A.jsx)(x,{fontSize:"xs",textTransform:"uppercase",letterSpacing:"wide",color:"text.muted",mb:1,children:"WTP signal"}),(0,A.jsx)(x,{fontWeight:"semibold",children:h9(Ae)})]}),(0,A.jsxs)(P,{...Je,children:[(0,A.jsx)(x,{fontSize:"xs",textTransform:"uppercase",letterSpacing:"wide",color:"text.muted",mb:1,children:"Recommended motion"}),(0,A.jsx)(x,{fontWeight:"semibold",children:r2e(B)})]})]}),(0,A.jsxs)(P,{...Je,children:[(0,A.jsx)(x,{fontSize:"xs",textTransform:"uppercase",letterSpacing:"wide",color:"text.muted",mb:1,children:"Expansion path"}),(0,A.jsx)(x,{fontWeight:"semibold",children:w.expansionPath||"Not defined yet."})]}),w.risks.length>0?(0,A.jsxs)(P,{...Je,children:[(0,A.jsx)(x,{fontSize:"xs",color:"text.muted",textTransform:"uppercase",letterSpacing:"wide",mb:2,children:"Top pricing risks"}),(0,A.jsx)(st,{children:w.risks.slice(0,4).map(Q=>(0,A.jsx)(Ze,{children:Q},Q))})]}):null]}):(0,A.jsx)(x,{color:"text.muted",children:"Add segment economics in Market & Validation to unlock this card."})]})})]})}),(0,A.jsx)(Ke,{px:0,pt:5,children:(0,A.jsxs)(P,{sx:An,children:[(0,A.jsx)(P,{...Xe,...vo,children:(0,A.jsxs)(z,{spacing:3,children:[(0,A.jsx)(Yn,{eyebrow:"Messaging",title:"Messaging Whitespace",description:"Capture the language everyone repeats, then sharpen the spaces they leave open."}),(0,A.jsxs)(P,{...Je,children:[(0,A.jsx)(x,{fontSize:"sm",color:"text.muted",mb:2,children:"Repeated category language"}),ee.length>0?(0,A.jsx)(ot,{spacing:2,children:ee.map((Q,bt)=>(0,A.jsx)(Se,{children:(0,A.jsx)($,{colorScheme:"gray",variant:"subtle",children:uY(Q,60)})},`repeat-${bt}-${Q}`))}):(0,A.jsx)(x,{color:"text.muted",children:"No repeated language patterns captured yet."})]}),(0,A.jsxs)(P,{...Je,children:[(0,A.jsx)(x,{fontSize:"sm",color:"text.muted",mb:2,children:"Whitespace opportunities"}),pe.length>0?(0,A.jsx)(st,{children:pe.map((Q,bt)=>(0,A.jsx)(Ze,{children:Q},`whitespace-${bt}-${Q}`))}):(0,A.jsx)(x,{color:"text.muted",children:"No messaging whitespace documented yet."})]})]})}),(0,A.jsx)(P,{...Xe,...vo,children:H.length===0&&ce.length===0?(0,A.jsxs)(z,{spacing:3,children:[(0,A.jsx)(Yn,{eyebrow:"Customer Voice",title:"Customer Sentiment Themes",description:"Signal from review language, complaints, and delight themes that should shape copy emphasis."}),(0,A.jsx)(x,{color:"text.muted",children:"No customer sentiment themes captured yet."})]}):(0,A.jsxs)(z,{spacing:4,children:[(0,A.jsx)(Yn,{eyebrow:"Customer Voice",title:"Customer Sentiment Themes",description:"Signal from review language, complaints, and delight themes that should shape copy emphasis."}),(0,A.jsxs)(P,{children:[(0,A.jsxs)(Z,{spacing:2,mb:2,align:"center",children:[(0,A.jsx)(P,{color:"red.600",display:"inline-flex",alignItems:"center",justifyContent:"center",children:(0,A.jsx)(l2,{size:18,weight:"duotone"})}),(0,A.jsx)(x,{fontSize:"sm",color:"text.muted",children:"Top complaints"})]}),H.length>0?(0,A.jsx)(z,{spacing:2,w:"full",children:H.map((Q,bt)=>(0,A.jsx)(P,{borderWidth:"1px",borderColor:"red.200",bg:"red.50",borderRadius:"md",px:2.5,py:2,minH:"48px",display:"flex",alignItems:"center",justifyContent:"flex-start",children:(0,A.jsx)(x,{fontSize:"sm",fontWeight:"semibold",color:"red.700",lineHeight:"1.4",textAlign:"left",w:"full",overflowWrap:"anywhere",wordBreak:"break-word",children:Q})},`complaint-${bt}-${Q}`))}):(0,A.jsx)(x,{color:"text.muted",children:"\u2014"})]}),(0,A.jsxs)(P,{children:[(0,A.jsxs)(Z,{spacing:2,mb:2,align:"center",children:[(0,A.jsx)(P,{color:"green.600",display:"inline-flex",alignItems:"center",justifyContent:"center",children:(0,A.jsx)(w0,{size:18,weight:"duotone"})}),(0,A.jsx)(x,{fontSize:"sm",color:"text.muted",children:"Top delights"})]}),ce.length>0?(0,A.jsx)(z,{spacing:2,w:"full",children:ce.map((Q,bt)=>(0,A.jsx)(P,{borderWidth:"1px",borderColor:"green.200",bg:"green.50",borderRadius:"md",px:2.5,py:2,minH:"48px",display:"flex",alignItems:"center",justifyContent:"flex-start",children:(0,A.jsx)(x,{fontSize:"sm",fontWeight:"semibold",color:"green.700",lineHeight:"1.4",textAlign:"left",w:"full",overflowWrap:"anywhere",wordBreak:"break-word",children:Q})},`delight-${bt}-${Q}`))}):(0,A.jsx)(x,{color:"text.muted",children:"\u2014"})]})]})}),(0,A.jsx)(P,{...Xe,...vo,children:C.length>0?(0,A.jsxs)(z,{spacing:4,children:[(0,A.jsx)(Yn,{eyebrow:"Competitive Pressure",title:"Substitutes + Pricing Pressure",description:"What users are settling for today, and where pricing-page positioning should push hardest."}),(0,A.jsx)(P,{...Je,children:(0,A.jsxs)(x,{color:"text.muted",fontSize:"sm",children:[C.length," substitute behavior pattern",C.length===1?"":"s"," mapped."]})}),(0,A.jsx)(st,{children:C.slice(0,4).map(Q=>(0,A.jsxs)(Ze,{children:[(0,A.jsx)("strong",{children:Q.name}),": ",Q.whyPeopleUseIt||"status quo convenience",". Weakness: ",Q.biggestWeakness||"not captured yet",". Your edge:"," ",Q.yourAdvantage||"not captured yet","."]},Q.id))}),L?(0,A.jsxs)(dt,{status:"warning",borderRadius:"lg",children:[(0,A.jsx)(pt,{}),(0,A.jsxs)(ht,{children:["Lead positioning against ",(0,A.jsx)("strong",{children:L})," in pricing-page copy and tier differentiation."]})]}):null]}):(0,A.jsxs)(z,{spacing:3,children:[(0,A.jsx)(Yn,{eyebrow:"Competitive Pressure",title:"Substitutes + Pricing Pressure",description:"What users are settling for today, and where pricing-page positioning should push hardest."}),(0,A.jsx)(x,{color:"text.muted",children:"No substitute analysis yet. Map substitutes to strengthen switch messaging."})]})}),(0,A.jsx)(P,{...Xe,...vo,children:(0,A.jsxs)(z,{spacing:4,children:[(0,A.jsx)(Yn,{eyebrow:"Channels",title:"Distribution Signals",description:"Observed channels plus where the next clear acquisition opening exists."}),ue.length>0?(0,A.jsx)(ot,{spacing:2,children:ue.map((Q,bt)=>(0,A.jsx)(Se,{children:(0,A.jsx)($,{colorScheme:"blue",variant:"subtle",children:Q})},`${Q}-${bt}`))}):(0,A.jsx)(x,{color:"text.muted",children:"No channel observations yet."}),we.length>0?(0,A.jsx)(P,{...Je,children:(0,A.jsx)(st,{children:we.slice(0,4).map((Q,bt)=>(0,A.jsx)(Ze,{children:d2e(Q)},`${Q.channel}-${Q.opportunity}-${bt}`))})}):null,(0,A.jsxs)(P,{...Je,children:[(0,A.jsx)(x,{fontSize:"xs",textTransform:"uppercase",letterSpacing:"wide",color:"text.muted",mb:1,children:"Strongest channel opportunity"}),(0,A.jsx)(x,{fontWeight:"semibold",children:Ce||"\u2014"})]})]})})]})}),(0,A.jsx)(Ke,{px:0,pt:5,children:(0,A.jsx)(z,{spacing:4,children:(0,A.jsxs)(Pe,{columns:{base:1,xl:2},spacing:4,children:[(0,A.jsx)(P,{...Xe,children:T.length===0?(0,A.jsxs)(z,{spacing:3,children:[(0,A.jsx)(Yn,{eyebrow:o?"Packaging + Features":"Pricing + Packaging",title:o?"Persona \u2192 Feature Bundle Fit":"Persona \u2192 Tier Mapping",description:o?"Which feature bundle should lead for each persona, without adding paid tiers.":"Which persona should land on which tier, and what hook gets them there."}),(0,A.jsxs)(x,{color:"gray.500",children:["Generate personas to unlock ",o?"persona-package recommendations":"persona-tier recommendations","."]})]}):(0,A.jsxs)(z,{spacing:4,children:[(0,A.jsx)(Yn,{eyebrow:o?"Packaging + Features":"Pricing + Packaging",title:o?"Persona \u2192 Feature Bundle Fit":"Persona \u2192 Tier Mapping",description:o?"Which feature bundle should lead for each persona, without adding paid tiers.":"Which persona should land on which tier, and what hook gets them there."}),(0,A.jsx)(P,{...Je,maxW:"full",children:(0,A.jsx)(Ka,{children:(0,A.jsxs)(ja,{size:"sm",minW:"760px",children:[(0,A.jsx)(Cs,{children:(0,A.jsxs)(bo,{children:[(0,A.jsx)(Ee,{children:"Persona"}),(0,A.jsx)(Ee,{children:o?"Feature bundle":"Recommended tier"}),(0,A.jsx)(Ee,{children:"Key objection"}),(0,A.jsx)(Ee,{children:"Messaging hook"})]})}),(0,A.jsx)(vs,{children:T.map(Q=>{let bt=o?null:y2e(Q,w.tiers);return(0,A.jsxs)(bo,{children:[(0,A.jsx)(Te,{children:(0,A.jsxs)(Z,{children:[(0,A.jsx)(qp,{name:Q.name,src:Q.avatarUrl,size:"sm"}),(0,A.jsxs)(P,{children:[(0,A.jsx)(x,{fontWeight:"semibold",children:Q.name}),(0,A.jsx)(x,{fontSize:"xs",color:"text.muted",children:Q.role||"\u2014"})]})]})}),(0,A.jsx)(Te,{children:bt?.name??(o?"Free core experience":"\u2014")}),(0,A.jsx)(Te,{children:Q.objections[0]||"\u2014"}),(0,A.jsx)(Te,{children:Q.quote||Q.topGoals[0]||"\u2014"})]},Q.id)})})]})})})]})}),(0,A.jsx)(P,{...Xe,children:We.length>0?(0,A.jsxs)(z,{spacing:4,children:[(0,A.jsx)(Yn,{eyebrow:o?"Market Packaging":"Market Pricing",title:o?"Competitive Free Model Breakdown":"Competitive Pricing Model Breakdown",description:o?"Free-model signals across mapped competitors to pressure-test your feature packaging choice.":"Model concentration across mapped competitors to pressure-test your packaging choice."}),(0,A.jsx)(P,{...Je,children:(0,A.jsx)(iY,{data:We})})]}):(0,A.jsxs)(z,{spacing:3,children:[(0,A.jsx)(Yn,{eyebrow:o?"Market Packaging":"Market Pricing",title:o?"Competitive Free Model Breakdown":"Competitive Pricing Model Breakdown",description:o?"Free-model signals across mapped competitors to pressure-test your feature packaging choice.":"Model concentration across mapped competitors to pressure-test your packaging choice."}),(0,A.jsxs)(x,{color:"gray.500",children:["No competitor ",o?"free-model":"pricing model"," signals captured yet."]})]})})]})})})]})]})}),(0,A.jsxs)(P,{...ae,order:3,children:[(0,A.jsxs)(Z,{justify:"space-between",align:{base:"start",md:"center"},mb:3,flexWrap:"wrap",spacing:3,children:[(0,A.jsxs)(z,{spacing:.5,children:[(0,A.jsx)(x,{fontWeight:"semibold",children:o?"Packaging Direction":"Pricing Tiers"}),(0,A.jsx)(x,{fontSize:"sm",color:"text.muted",children:o?"Free-product packaging and feature-bundle choices for downstream execution.":"Tier cards designed for fast scan and buyer-facing packaging clarity."})]}),(0,A.jsx)(Tn,{href:`/app/phases/positioning_pricing/pricing_packaging?projectId=${e}`,children:(0,A.jsxs)(gt,{size:"sm",variant:"surface",colorScheme:"teal",children:["Open ",o?"Packaging + Features":"Pricing + Packaging"]})})]}),u?(0,A.jsx)(P,{...Je,mb:4,children:(0,A.jsxs)(z,{spacing:3,children:[(0,A.jsx)(Z,{justify:"space-between",align:"start",flexWrap:"wrap",children:(0,A.jsxs)(Z,{spacing:2,children:[(0,A.jsxs)($,{colorScheme:"purple",variant:"subtle",children:["Selected ",o?"packaging direction":"pricing direction"]}),(0,A.jsx)(x,{fontWeight:"semibold",children:u.title})]})}),(()=>{let Q=K1e(u.score);return(0,A.jsxs)(z,{spacing:2,children:[(0,A.jsxs)(Z,{justify:"space-between",align:"baseline",children:[(0,A.jsx)(x,{fontSize:"xs",fontWeight:"semibold",color:"text.muted",textTransform:"uppercase",letterSpacing:"0.08em",children:u.scoreLabel||(o?"Packaging fit score":"WTB score")}),(0,A.jsxs)(x,{fontSize:"sm",fontWeight:"bold",color:Q.textColor,children:[u.score,"%"]})]}),(0,A.jsx)(fa,{value:u.score,size:"sm",borderRadius:"full",bg:Q.trackColor,colorScheme:Q.colorScheme})]})})(),u.summary?(0,A.jsx)(x,{fontSize:"sm",color:"text.muted",children:u.summary}):null,u.bullets.length>0?(0,A.jsx)(z,{spacing:2,children:u.bullets.map((Q,bt)=>(0,A.jsx)(P,{borderWidth:"1px",borderRadius:"md",borderColor:"surface.border",bg:"surface.base",px:3,py:2.5,children:(0,A.jsxs)(Z,{spacing:2.5,align:"start",children:[(0,A.jsx)(P,{color:"brand.400",flexShrink:0,pt:"1px",children:(0,A.jsx)(w0,{size:20,weight:"duotone"})}),(0,A.jsx)(x,{fontSize:"sm",color:"text.default",children:uY(Q,72)})]})},`selected-pricing-bullet-${bt}-${Q}`))}):null,(0,A.jsx)(x,{fontSize:"xs",color:"text.muted",children:o?"If this direction is not reflected downstream yet, rerun Packaging + Features.":"If tiers below do not reflect this direction yet, rerun Pricing + Packaging."})]})}):null,!o&&!E.complete?(0,A.jsxs)(dt,{status:"warning",borderRadius:"md",mb:3,children:[(0,A.jsx)(pt,{}),(0,A.jsxs)(ht,{children:["Pricing is incomplete (",E.missing.join(", ")||"missing fields","). Run Pricing + Packaging to fill /pricing/*."]})]}):null,o?(0,A.jsxs)(dt,{status:"info",borderRadius:"md",children:[(0,A.jsx)(pt,{}),(0,A.jsx)(ht,{children:"This project is marked Free, so pricing tiers and paid-plan synthesis are intentionally omitted."})]}):(0,A.jsxs)(A.Fragment,{children:[(0,A.jsxs)(ot,{spacing:2,mb:4,children:[(0,A.jsx)(Se,{maxW:"100%",children:(0,A.jsxs)($,{colorScheme:"blue",borderRadius:"md",maxW:{base:"100%",md:"320px"},whiteSpace:"normal",overflowWrap:"anywhere",wordBreak:"break-word",textAlign:"center",lineHeight:"1.2",py:1,children:["Model: ",w.model||"\u2014"]})}),(0,A.jsx)(Se,{maxW:"100%",children:(0,A.jsxs)($,{colorScheme:w.confidence==="high"?"green":w.confidence==="med"?"yellow":"red",borderRadius:"md",maxW:{base:"100%",md:"320px"},whiteSpace:"normal",overflowWrap:"anywhere",wordBreak:"break-word",textAlign:"center",lineHeight:"1.2",py:1,children:["Confidence: ",w.confidence]})}),(0,A.jsx)(Se,{maxW:"100%",children:(0,A.jsxs)($,{colorScheme:"gray",borderRadius:"md",maxW:{base:"100%",md:"420px"},whiteSpace:"normal",overflowWrap:"anywhere",wordBreak:"break-word",textAlign:"center",lineHeight:"1.2",py:1,children:["Value metric: ",w.valueMetric||"\u2014"]})})]}),w.tiers.length>0?(0,A.jsx)(Pe,{columns:{base:1,md:2,xl:3},spacing:4,children:w.tiers.map((Q,bt)=>{let $t=Qe[Q.name]??0,Rn=$t>0&&$t===ut;return(0,A.jsx)(P,{borderWidth:"1px",borderColor:Rn?"brand.400":"surface.border",borderRadius:"md",p:5,bg:Rn?"brand.50":"surface.muted",overflow:"hidden",children:(0,A.jsxs)(z,{spacing:3,align:"center",textAlign:"center",children:[(0,A.jsxs)(Z,{spacing:2,children:[(0,A.jsx)(x,{fontWeight:"semibold",fontSize:"lg",children:Q.name}),Rn?(0,A.jsx)($,{colorScheme:"purple",variant:"subtle",borderRadius:"full",children:"Recommended"}):null]}),(0,A.jsxs)(z,{spacing:.5,children:[(0,A.jsx)(x,{fontSize:"2xl",fontWeight:"bold",lineHeight:1.1,children:K6(Q.monthly,w.currency)}),(0,A.jsx)(x,{fontSize:"xs",color:"text.muted",textTransform:"uppercase",letterSpacing:"wide",children:"Per month"})]}),(0,A.jsxs)(x,{fontSize:"sm",color:"text.muted",children:["Annual: ",K6(Q.yearly,w.currency)]}),(0,A.jsx)(so,{}),(0,A.jsxs)(z,{spacing:1.5,align:"stretch",w:"full",children:[(0,A.jsx)(x,{fontSize:"xs",color:"text.muted",textTransform:"uppercase",letterSpacing:"wide",children:"Included Features"}),Q.features.length>0?(0,A.jsx)(z,{spacing:2,w:"full",children:Q.features.slice(0,6).map((kr,Os)=>(0,A.jsx)(P,{borderWidth:"1px",borderColor:"blue.200",bg:"blue.50",borderRadius:"md",px:2.5,py:2,minH:"48px",display:"flex",alignItems:"center",justifyContent:"center",children:(0,A.jsx)(x,{fontSize:"xs",fontWeight:"semibold",color:"blue.700",lineHeight:"1.2",textAlign:"center",overflowWrap:"anywhere",wordBreak:"break-word",children:kr})},`tier-feature-${Q.name}-${Os}`))}):(0,A.jsx)(x,{fontSize:"sm",color:"text.muted",children:"No features listed."})]}),(0,A.jsxs)(z,{spacing:1.5,align:"stretch",w:"full",children:[(0,A.jsx)(x,{fontSize:"xs",color:"text.muted",textTransform:"uppercase",letterSpacing:"wide",children:"Limits"}),Q.limits.length>0?(0,A.jsx)(z,{spacing:2,w:"full",children:Q.limits.slice(0,4).map((kr,Os)=>(0,A.jsx)(P,{borderWidth:"1px",borderColor:"gray.200",bg:"gray.50",borderRadius:"md",px:2.5,py:2,minH:"48px",display:"flex",alignItems:"center",justifyContent:"center",children:(0,A.jsx)(x,{fontSize:"xs",fontWeight:"semibold",color:"gray.700",lineHeight:"1.2",textAlign:"center",overflowWrap:"anywhere",wordBreak:"break-word",children:kr})},`tier-limit-${Q.name}-${Os}`))}):(0,A.jsx)(x,{fontSize:"sm",color:"text.muted",children:"No limits specified."})]}),(0,A.jsxs)(z,{spacing:1,align:"center",children:[(0,A.jsx)(x,{fontSize:"xs",color:"text.muted",textTransform:"uppercase",letterSpacing:"wide",children:"Target Personas"}),Q.targetPersonaIds.length>0?(0,A.jsx)(ot,{spacing:2,justify:"center",w:"full",children:Q.targetPersonaIds.map(kr=>(0,A.jsx)(Se,{maxW:"100%",children:(0,A.jsxs)($,{colorScheme:"purple",variant:"subtle",borderRadius:"full",px:2,py:1,maxW:{base:"100%",md:"280px"},whiteSpace:"normal",overflowWrap:"anywhere",wordBreak:"break-word",textAlign:"center",lineHeight:"1.2",display:"inline-flex",alignItems:"center",gap:1.5,children:[(0,A.jsx)(qp,{name:Y2(Be.get(kr)??kr)||kr,src:xt.get(kr),size:"2xs"}),(0,A.jsx)(x,{as:"span",children:Y2(Be.get(kr)??kr)||kr})]})},`tier-persona-${Q.name}-${kr}`))}):(0,A.jsx)(x,{fontSize:"sm",color:"text.muted",children:"No persona mapping yet."})]})]})},`pricing-tier-${Q.name}-${bt}`)})}):(0,A.jsxs)(dt,{status:"info",borderRadius:"md",children:[(0,A.jsx)(pt,{}),(0,A.jsx)(ht,{children:"No pricing tiers captured yet."})]})]})]}),(0,A.jsxs)(P,{...ae,order:2,children:[(0,A.jsxs)(Z,{justify:"space-between",align:{base:"start",md:"center"},mb:3,flexWrap:"wrap",spacing:3,children:[(0,A.jsxs)(z,{spacing:.5,children:[(0,A.jsx)(x,{fontWeight:"semibold",children:"Personas"}),(0,A.jsx)(x,{fontSize:"sm",color:"text.muted",children:"Persona snapshots tuned for messaging, objections, and pricing fit."})]}),(0,A.jsxs)($,{colorScheme:"purple",variant:"subtle",borderRadius:"full",children:[T.length," persona",T.length===1?"":"s"]})]}),T.length===0?(0,A.jsxs)(dt,{status:"info",borderRadius:"md",children:[(0,A.jsx)(pt,{}),(0,A.jsx)(ht,{children:"No personas yet. Starter personas are generated automatically when you complete ICP/Positioning/Pricing buckets."})]}):(0,A.jsx)(Pe,{columns:{base:1,md:2,xl:3},spacing:4,children:T.map((Q,bt)=>(0,A.jsx)(P,{borderWidth:"1px",borderColor:"surface.border",borderRadius:"md",p:5,bg:"surface.muted",overflow:"hidden",children:(0,A.jsxs)(z,{spacing:3.5,align:"center",textAlign:"center",children:[(0,A.jsx)(P,{p:1,borderWidth:"2px",borderColor:"brand.400",borderRadius:"full",bg:"surface.base",children:(0,A.jsx)(qp,{name:Q.name,src:Q.avatarUrl,size:"lg"})}),(0,A.jsxs)(z,{spacing:.5,align:"center",children:[(0,A.jsx)(x,{fontWeight:"semibold",fontSize:"lg",lineHeight:1.2,children:Q.name}),(0,A.jsx)(x,{fontSize:"sm",color:"text.muted",children:Q.role||"Role not captured"}),Q.archetype?(0,A.jsxs)($,{colorScheme:"gray",variant:"subtle",borderRadius:"full",children:["Archetype: ",Q.archetype]}):null]}),(0,A.jsxs)(ot,{spacing:2,justify:"center",w:"full",children:[(0,A.jsx)(Se,{maxW:"100%",children:(0,A.jsxs)($,{colorScheme:"purple",variant:"subtle",borderRadius:"md",maxW:{base:"100%",md:"280px"},whiteSpace:"normal",overflowWrap:"anywhere",wordBreak:"break-word",textAlign:"center",lineHeight:"1.2",py:1,children:["WTP ",K6(Q.willingnessToPay.min,Q.willingnessToPay.currency)," -"," ",K6(Q.willingnessToPay.max,Q.willingnessToPay.currency)]})}),(0,A.jsx)(Se,{children:(0,A.jsx)($,{colorScheme:Q.willingnessToPay.confidence==="high"?"green":Q.willingnessToPay.confidence==="med"?"yellow":"red",borderRadius:"md",whiteSpace:"normal",lineHeight:"1.2",py:1,children:Q.willingnessToPay.confidence})})]}),(0,A.jsx)(P,{layerStyle:"notchedCard",borderWidth:"1px",borderColor:"surface.border",p:3,bg:"surface.base",w:"full",children:(0,A.jsx)(x,{fontSize:"sm",fontStyle:"italic",color:"text.default",children:Q.quote||"No voice-of-customer quote captured yet."})}),(0,A.jsxs)(z,{spacing:1.5,align:"stretch",w:"full",children:[(0,A.jsxs)(Z,{spacing:2,align:"center",children:[(0,A.jsx)(P,{color:"red.600",display:"inline-flex",alignItems:"center",justifyContent:"center",children:(0,A.jsx)(l2,{size:18,weight:"duotone"})}),(0,A.jsx)(x,{fontSize:"sm",color:"text.muted",children:"Top pains"})]}),Q.topPains.length>0?(0,A.jsx)(z,{spacing:2,w:"full",children:Q.topPains.slice(0,4).map(($t,Rn)=>(0,A.jsx)(P,{borderWidth:"1px",borderColor:"red.200",bg:"red.50",borderRadius:"md",px:2.5,py:2,minH:"48px",display:"flex",alignItems:"center",justifyContent:"flex-start",children:(0,A.jsx)(x,{fontSize:"sm",fontWeight:"semibold",color:"red.700",lineHeight:"1.4",textAlign:"left",w:"full",overflowWrap:"anywhere",wordBreak:"break-word",children:$t})},`persona-pain-${Q.id}-${Rn}`))}):(0,A.jsx)(x,{fontSize:"sm",color:"text.muted",children:"No pain themes captured."})]}),(0,A.jsxs)(z,{spacing:1.5,align:"stretch",w:"full",children:[(0,A.jsxs)(Z,{spacing:2,align:"center",children:[(0,A.jsx)(P,{color:"green.600",display:"inline-flex",alignItems:"center",justifyContent:"center",children:(0,A.jsx)(w0,{size:18,weight:"duotone"})}),(0,A.jsx)(x,{fontSize:"sm",color:"text.muted",children:"Top goals"})]}),Q.topGoals.length>0?(0,A.jsx)(z,{spacing:2,w:"full",children:Q.topGoals.slice(0,4).map(($t,Rn)=>(0,A.jsx)(P,{borderWidth:"1px",borderColor:"green.200",bg:"green.50",borderRadius:"md",px:2.5,py:2,minH:"48px",display:"flex",alignItems:"center",justifyContent:"flex-start",children:(0,A.jsx)(x,{fontSize:"sm",fontWeight:"semibold",color:"green.700",lineHeight:"1.4",textAlign:"left",w:"full",overflowWrap:"anywhere",wordBreak:"break-word",children:$t})},`persona-goal-${Q.id}-${Rn}`))}):(0,A.jsx)(x,{fontSize:"sm",color:"text.muted",children:"No goals captured."})]}),(0,A.jsxs)(x,{fontSize:"sm",color:"text.muted",children:[(0,A.jsx)("strong",{children:"Top objection:"})," ",Q.objections[0]||"Not captured yet."]})]})},`persona-card-${Q.id}-${bt}`))})]})]})}var S9=k(F());function Nr(e){return typeof e=="string"?e.trim():""}function Ui(e){return Array.isArray(e)?e.map(t=>Nr(t)).filter(Boolean):[]}function g9(e,t=2){return Array.isArray(e)?e.map(o=>{if(typeof o=="string"){let r=o.trim().slice(0,400);return r?{text:r,notes:""}:null}if(typeof o=="object"&&o!==null&&!Array.isArray(o)){let r=o,n=Nr(r.text).slice(0,400),a=Nr(r.notes);return n?{text:n,notes:a}:null}return null}).filter(o=>o!==null).slice(0,Math.max(0,t)):[]}function J6(e,t,o){let r=o.toLowerCase().replace(/[^a-z0-9]+/g,"-").replace(/^-+|-+$/g,"").slice(0,28);return`${e}_${String(t+1).padStart(2,"0")}_${r||"item"}`}function Zi(e){return Array.from(new Set(e.filter(Boolean)))}function x2e(e){let t=e.name.toLowerCase(),o=e.route.toLowerCase(),r=e.purpose.toLowerCase();return["profile","settings","account","preferences"].some(a=>t.includes(a)||o.includes(a)||r.includes(a))}function dY(e){return Zi(b9(e).map(t=>t.name))}function b9(e){return Array.isArray(e)?e.reduce((t,o,r)=>{if(typeof o=="string"){let s=o.trim();return s&&t.push({name:s,acceptanceCriteria:[],buildSlices:[],definitions:[]}),t}if(typeof o!="object"||o===null||Array.isArray(o))return t;let n=o,a=Nr(n.name)||`Feature ${r+1}`;return a&&t.push({name:a,acceptanceCriteria:Zi([...Ui(n.acceptanceCriteria),...Ui(n.acceptance),...Ui(n.criteria)].filter(Boolean)),buildSlices:Zi([...Ui(n.buildSlices),...Ui(n.implementationSlices),...Ui(n.deliverySlices)].filter(Boolean)),definitions:g9(n.definitions),workflow:Nr(n.workflow),painTargeted:Nr(n.painTargeted),timeToValueImpact:Nr(n.timeToValueImpact),retentionImpact:Nr(n.retentionImpact),evidence:Nr(n.evidence),contractCapabilityIds:Zi(Ui(n.contractCapabilityIds)),contractAcceptanceTestIds:Zi(Ui(n.contractAcceptanceTestIds))}),t},[]):[]}function pY(e,t){return Array.isArray(e)?e.reduce((o,r,n)=>{if(typeof r=="string"){let a=r.trim();return a&&o.push({id:J6("screen",n,a),name:a,route:"",access:"protected",purpose:"",linkedFeatureNames:[],definitions:[]}),o}if(typeof r=="object"&&r!==null){let a=r,s=Nr(a.name);if(!s)return o;let i=Nr(a.route),l=Nr(a.access)==="public"?"public":"protected",c=Nr(a.purpose),u=Ui(a.linkedFeatureNames).filter(f=>t.includes(f)),m=g9(a.definitions);o.push({id:Nr(a.id)||J6("screen",n,s),name:s,route:i,access:l,purpose:c,linkedFeatureNames:Zi(u),definitions:m})}return o},[]):[]}function I2e(e){return Array.isArray(e)?e.map(t=>{if(typeof t=="string"){let o=t.trim();return o?{fromScreen:"",action:o,toScreen:"",success:""}:null}if(typeof t=="object"&&t!==null){let o=t,r=Nr(o.fromScreen),n=Nr(o.action),a=Nr(o.toScreen),s=Nr(o.success);return!r&&!n&&!a&&!s?null:{fromScreen:r,action:n,toScreen:a,success:s}}return null}).filter(t=>t!==null):[]}function hY(e,t){return Array.isArray(e)?e.reduce((o,r,n)=>{if(typeof r=="string"){let a=r.trim();return a&&o.push({id:J6("flow",n,a),name:a,steps:[],coversFeatures:[],definitions:[]}),o}if(typeof r=="object"&&r!==null){let a=r,s=Nr(a.name);if(!s)return o;let i=Ui(a.coversFeatures).filter(u=>t.includes(u)),l=I2e(a.steps),c=g9(a.definitions);o.push({id:Nr(a.id)||J6("flow",n,s),name:s,steps:l,coversFeatures:Zi(i),definitions:c})}return o},[]):[]}function gY(e){let t=Zi(e.featureNames),o=Zi(e.screens.flatMap(p=>p.linkedFeatureNames)),r=Zi(e.flows.flatMap(p=>p.coversFeatures)),n=t.filter(p=>r.includes(p)||o.includes(p)),a=t.filter(p=>!n.includes(p)),s=new Set;e.flows.forEach(p=>{p.steps.forEach(h=>{h.fromScreen&&s.add(h.fromScreen),h.toScreen&&s.add(h.toScreen)})});let i=e.screens.filter(p=>!s.has(p.name)).filter(p=>!x2e(p)).map(p=>p.name),l=t.length,c=n.length,u=l===0?1:c/l,m=l<=7,f=l===0?!0:m?c===l:u>=.8,d=[];return e.screens.length>10&&d.push("More than 10 screens detected. MVP may be over-scoped."),a.length>0&&d.push(`Uncovered P0 features: ${a.join(", ")}`),{totalP0:l,coveredP0:c,coverageRatio:u,coveredFeatureNames:n,missingFeatureNames:a,orphanScreenNames:i,warnings:d,gatePass:f}}var M=k(re());mn.register(Oi,Vi,ni,H0,F0);function Tf(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)?e:{}}function y9(e,t){for(let o of t){let r=String(e[o]??"").trim();if(r)return r}return""}function wf(e){let t=String(e??"").trim().toLowerCase();return t==="high"?"high":t==="med"||t==="medium"?"med":"low"}function v2e(e){if(typeof e=="string")return e.trim();if(typeof e=="number"&&Number.isFinite(e))return String(e);let t=Tf(e),o=Number(t.min),r=Number(t.max),n=String(t.currency??"USD").trim()||"USD";return Number.isFinite(o)&&Number.isFinite(r)?`${n} ${o.toLocaleString()} - ${r.toLocaleString()}`:Number.isFinite(o)?`${n} ${o.toLocaleString()}+`:Number.isFinite(r)?`Up to ${n} ${r.toLocaleString()}`:""}function li(e){return Array.isArray(e)?e.map(t=>typeof t=="string"?t.trim():"").filter(Boolean):[]}function C2e(e){return b9(e).map(t=>({name:t.name,acceptanceCriteria:t.acceptanceCriteria,workflow:t.workflow??"",painTargeted:t.painTargeted??"",timeToValueImpact:t.timeToValueImpact??"",retentionImpact:t.retentionImpact??"",evidence:t.evidence??""}))}function bY(e){if(typeof e=="string")return e.trim();if(typeof e!="object"||e===null||Array.isArray(e))return"";let t=e,o=[String(t.rule??"").trim(),String(t.access??"").trim(),String(t.policy??"").trim(),String(t.description??"").trim(),String(t.summary??"").trim()].find(Boolean);if(o)return o;let r=String(t.entity??t.table??t.name??"").trim(),n=li(t.roles),a=li(t.actions),s=li(t.conditions),i=li(t.allow),l=li(t.deny);return[r,n.length>0?`roles:${n.join("/")}`:"",a.length>0?`actions:${a.join("/")}`:"",i.length>0?`allow:${i.join("/")}`:"",l.length>0?`deny:${l.join("/")}`:"",s.length>0?`conditions:${s.join("/")}`:""].filter(Boolean).join(" ").trim()}function w2e(e){return Array.isArray(e)?e.map(bY).filter(Boolean):typeof e=="object"&&e!==null&&!Array.isArray(e)?Object.entries(e).map(([o,r])=>{let n=bY(r);if(n)return n;let a=li(r);if(a.length>0)return`${o}: ${a.join("/")}`;let s=String(r??"").trim();return s?`${o}: ${s}`:""}).filter(Boolean):[]}function T2e(e){return Array.isArray(e)?e.map((t,o)=>{if(typeof t=="string"){let r=t.trim();return r?{name:r,fields:[]}:null}if(typeof t=="object"&&t!==null){let r=t,n=String(r.name??"").trim()||`Entity ${o+1}`,a=li(r.fields);return{name:n,fields:a}}return null}).filter(t=>t!==null):[]}function A2e(e){return Array.isArray(e)?e.map((t,o)=>{let r=Tf(t),n=String(r.name??"").trim();return n?{id:String(r.id??`segment_${o+1}`).trim()||`segment_${o+1}`,name:n,useCase:y9(r,["useCase","description"]),likelyACV:y9(r,["likelyACV","likelyAcv","acv"]),salesCycle:y9(r,["salesCycle","salesCycleLength"]),willingnessToPay:v2e(r.willingnessToPay??r.wtp),painIntensity:wf(r.painIntensity??r.urgencyLevel),easeOfReach:wf(r.easeOfReach??r.reachability),timeToValue:wf(r.timeToValue??r.ttv),retentionPotential:wf(r.retentionPotential??r.retention),supportBurden:wf(r.supportBurden??r.supportComplexity),recommended:r.recommended===!0,notes:String(r.notes??"").trim()}:null}).filter(t=>t!==null):[]}function k2e(e){return Array.isArray(e)?e.map((t,o)=>{let r=Tf(t),n=String(r.name??"").trim();return n?{id:String(r.id??`substitute_${o+1}`).trim()||`substitute_${o+1}`,type:String(r.type??"other").trim()||"other",name:n,whyPeopleUseIt:String(r.whyPeopleUseIt??"").trim(),biggestWeakness:String(r.biggestWeakness??"").trim(),yourAdvantage:String(r.yourAdvantage??"").trim(),notes:String(r.notes??"").trim()}:null}).filter(t=>t!==null):[]}function sc(e){return e.toLowerCase().replace(/[^a-z0-9]+/g," ").split(" ").map(t=>t.trim()).filter(t=>t.length>=3)}function ov(e,t){if(e.length===0||t.length===0)return 0;let o=new Set(t),r=0;for(let n of e)o.has(n)&&(r+=1);return r}function M2e(e,t,o){if(o.length===0)return[];let r=t.filter(a=>(a.linkedFeatureNames??[]).includes(e)).map(a=>`${a.name} ${a.purpose}`.trim()),n=sc([e,...r].join(" "));return o.map(a=>{let s=sc(`${a.name} ${(a.fields??[]).join(" ")}`);return{name:a.name,score:ov(n,s)}}).filter(a=>a.score>0).sort((a,s)=>s.score-a.score).slice(0,3).map(a=>a.name)}function L2e(e,t){if(t.length===0)return[];let o=[e.name,...e.coversFeatures,...e.steps.map(n=>`${n.fromScreen} ${n.action} ${n.toScreen} ${n.success}`)].join(" "),r=sc(o);return t.map(n=>{let a=sc(`${n.name} ${(n.fields??[]).join(" ")}`);return{name:n.name,score:ov(r,a)}}).filter(n=>n.score>0).sort((n,a)=>a.score-n.score).slice(0,3).map(n=>n.name)}function P2e(e){let t=e.toLowerCase();return["stripe","calendar","google","slack","twilio","webhook","oauth","github","notion","salesforce"].filter(r=>t.includes(r))}function K2(e){return e==="high"?"green":e==="med"?"yellow":"red"}function Ds(e){for(let t of e){let o=String(t??"").trim();if(o)return o}return""}function yY(e,t){let o=e.toLowerCase();return t.some(r=>o.includes(r))}var ev="Not provided in MVP Scope JSON yet.";function E2e(e,t){let o=[e.name,e.workflow,e.painTargeted,e.acceptanceCriteria.join(" ")].join(" "),r=!!e.painTargeted.trim()||ov(sc(o),sc(t.strongestPain))>0,n=!!e.workflow.trim()||ov(sc(o),sc(t.wedgeWorkflow))>0,a=yY([e.timeToValueImpact,o].join(" "),["fast","quick","first value","onboarding","start","capture","login"])||wf(e.timeToValueImpact)==="high",s=yY([e.retentionImpact,o].join(" "),["repeat","retention","habit","daily","recurring","history","streak"])||wf(e.retentionImpact)==="high";return{painAligned:r,workflowAligned:n,ttvAligned:a,retentionAligned:s}}function B2e(e){let t=[],o=[],r=[e.p0.length>0&&e.p0.length<=7,e.screens.length>0&&e.screens.length<=10,e.flows.length>=1,e.coverageRatio>=.8,e.entities.length>0&&e.accessRules.length>0,e.p0.every(i=>i.acceptanceCriteria.length>0)];e.p0.length===0?t.push("No P0 features defined."):e.p0.length<3?o.push(`P0 scope has ${e.p0.length} features (target ${3}-${7} unless this is truly single-workflow).`):e.p0.length>7&&o.push(`P0 scope has ${e.p0.length} features (target ${3}-${7}).`),e.screens.length===0?t.push("No screens defined."):e.screens.length>10&&o.push(`Screen count is ${e.screens.length} (target <= 10).`),e.flows.length<1&&t.push("At least one flow is required."),e.coverageRatio<.8&&t.push("P0 coverage is below 80%."),e.entities.length===0&&t.push("Data model entities are missing."),e.accessRules.length===0&&t.push("Access rules are missing.");let n=e.p0.filter(i=>i.acceptanceCriteria.length===0).map(i=>i.name);n.length>0&&t.push(`Acceptance criteria missing for: ${n.join(", ")}.`);let a=r.filter(Boolean).length;return{score:Math.round(a/r.length*100),blockers:t,warnings:o}}function SY(e,t){let o=sc(e),r=t.join(" ").toLowerCase();return o.some(n=>r.includes(n))}function D2e(e){let t=e.join(" ").toLowerCase();return["owner_id","created_by","workspace_id","user_id"].some(o=>t.includes(o))}function xY({projectId:e,spec:t,onExportAiSpec:o}){let r=V0(),n=a2(),a=t.mvp??{},s=t.dataModel??{},i=t.research??{},l=Tf(i.marketDefinition),c=Tf(i.segmentAnalysis),u=Tf(i.customerSentiment),m=Tf(i.validationInsights),f=C2e(a.p0Features),d=dY(a.p0Features),p=pY(a.screens,d),h=hY(a.flows,d),S=T2e(s.entities),g=w2e(s.accessRules),b=A2e(c.segments),I=k2e(i.substitutes),v=li(u.topComplaintThemes),C=li(u.onboardingPainPoints),T=gY({featureNames:d,screens:p,flows:h}),w=B2e({p0:f,screens:p,flows:h,entities:S,accessRules:g,coverageRatio:T.coverageRatio}),E=P2e(JSON.stringify(t)),B={labels:["P0 Features","Screens","Flows","Entities","Integrations"],datasets:[{label:"Count",data:[f.length,p.length,h.length,S.length,E.length],backgroundColor:[r.fill(r.series.brand),r.fill(r.series.blue),r.fill(r.series.green),r.fill(r.series.yellow),r.fill(r.series.purple)],borderColor:[r.series.brand,r.series.blue,r.series.green,r.series.yellow,r.series.purple],borderWidth:1,borderRadius:8}]},L={responsive:!0,maintainAspectRatio:!1,plugins:{legend:{display:!1},tooltip:{backgroundColor:r.tooltipBackground,titleColor:r.tooltipTitleColor,bodyColor:r.tooltipBodyColor,borderColor:r.tooltipBorderColor,borderWidth:1}},scales:{x:{ticks:{color:r.axisColor},grid:{color:r.gridColor},border:{color:r.borderColor}},y:{beginAtZero:!0,ticks:{color:r.axisColor,precision:0,stepSize:1},grid:{color:r.gridColor},border:{color:r.borderColor}}}},_=[];f.length>7&&_.push(`Cut or defer features until scope is back inside the ${3}-${7} P0 range.`),p.length>10&&_.push("Merge low-value screens into existing surfaces and avoid one-off routes."),T.coverageRatio<.8&&_.push("Add one happy-path flow that explicitly covers each missing P0 feature."),E.length>2&&_.push("Defer non-critical integrations to post-MVP to reduce launch risk.");let j=Ds([m.strongestSegment]),ne=Ds([a.primarySegmentId,j]),K=b.find(ae=>ae.id===ne)??b.find(ae=>ae.name.toLowerCase()===ne.toLowerCase())??b.find(ae=>ae.recommended)??b[0]??null,ie=Ds([a.wedgeWorkflow,h[0]?.name,""]),se=Ds([a.strongestPainTargeted,m.strongestOpening,v[0]]),W=Ds([a.strongestSubstituteTargeted,m.strongestSubstituteThreat,I[0]?.name]),de=Ds([a.whyThisWorkflow]),q=Ds([a.onboardingStrategy,C[0]]),fe=Ds([a.timeToValueStrategy]),he=li(a.exclusions),ge=li(a.nonGoals),J=Ds([a.retentionHypothesis]),X=Ds([a.successMilestone]),ee=Ds([a.successMilestoneRationale]),pe=Ds([a.roadmapLogic]),H=f.map(ae=>({feature:ae,signals:E2e(ae,{wedgeWorkflow:ie,strongestPain:se})})),[ce,we]=(0,S9.useState)(d[0]??""),[ue,Ce]=(0,S9.useState)(!1),ye=ce?p.filter(ae=>ae.linkedFeatureNames.includes(ce)||h.some(Re=>Re.coversFeatures.includes(ce)&&Re.steps.some(Xe=>Xe.fromScreen===ae.name||Xe.toScreen===ae.name))):[],De=ce?M2e(ce,p,S):[],me=S.filter(ae=>!SY(ae.name,g)).map(ae=>ae.name),ke={borderWidth:"1px",borderColor:"surface.border",borderRadius:"xl",p:5,bg:"surface.base",boxShadow:"sm"},Ae={borderWidth:"1px",borderColor:"surface.border",borderRadius:"lg",p:4,bg:"surface.base",boxShadow:"sm",h:"full"},Be={borderWidth:"1px",borderColor:"surface.border",borderRadius:"md",p:3,bg:"surface.muted"},xt={columnCount:{base:1,xl:2},columnGap:"16px"},We={display:"inline-block",width:"100%",mb:4,sx:{breakInside:"avoid",pageBreakInside:"avoid"}},Fe=w.score>=80?"green":w.score>=60?"yellow":"red",Qe=w.score>=80?"Build-ready signal":w.score>=60?"Needs tightening":"High risk";async function ut(){if(!ue){Ce(!0);try{if(o){await o();return}let ae=await fetch(`/app/phase-summary/mvp_blueprint/export?projectId=${e}&format=ai_spec`,{method:"GET",credentials:"same-origin"});if(!ae.ok){let Hs=await ae.text();throw new Error(Hs||`Export failed with status ${ae.status}`)}let Re=await ae.blob(),An=((ae.headers.get("content-disposition")??"").match(/filename=\"?([^\";]+)\"?/i)?.[1]||"mvp-ai-spec.md").trim(),vo=URL.createObjectURL(Re),Jr=document.createElement("a");Jr.href=vo,Jr.download=An,document.body.appendChild(Jr),Jr.click(),Jr.remove(),URL.revokeObjectURL(vo)}catch(ae){let Re=ae instanceof Error?ae.message:"Unable to export AI-ready spec.";n({title:"Export failed",description:Re,status:"error",duration:5e3,isClosable:!0})}finally{Ce(!1)}}}return(0,M.jsxs)(z,{spacing:5,children:[(0,M.jsxs)(P,{...ke,children:[(0,M.jsxs)(Z,{justify:"space-between",align:{base:"start",md:"center"},flexWrap:"wrap",spacing:3,children:[(0,M.jsxs)(z,{spacing:.5,children:[(0,M.jsx)(x,{fontWeight:"semibold",children:"MVP Blueprint Overview"}),(0,M.jsx)(x,{fontSize:"sm",color:"text.muted",children:"Scope, workflow clarity, and build readiness from your current MVP blueprint."})]}),(0,M.jsx)($,{colorScheme:Fe,variant:"subtle",borderRadius:"full",children:Qe})]}),(0,M.jsxs)(Pe,{columns:{base:1,md:2,xl:4},spacing:3,mt:4,children:[(0,M.jsxs)(P,{...Be,children:[(0,M.jsx)(x,{fontSize:"xs",textTransform:"uppercase",letterSpacing:"wide",color:"text.muted",mb:1,children:"P0 Features"}),(0,M.jsx)(x,{fontWeight:"semibold",fontSize:{base:"2xl",md:"3xl"},lineHeight:"1.1",children:f.length})]}),(0,M.jsxs)(P,{...Be,children:[(0,M.jsx)(x,{fontSize:"xs",textTransform:"uppercase",letterSpacing:"wide",color:"text.muted",mb:1,children:"Screens"}),(0,M.jsx)(x,{fontWeight:"semibold",fontSize:{base:"2xl",md:"3xl"},lineHeight:"1.1",children:p.length})]}),(0,M.jsxs)(P,{...Be,children:[(0,M.jsx)(x,{fontSize:"xs",textTransform:"uppercase",letterSpacing:"wide",color:"text.muted",mb:1,children:"Flows"}),(0,M.jsx)(x,{fontWeight:"semibold",fontSize:{base:"2xl",md:"3xl"},lineHeight:"1.1",children:h.length})]}),(0,M.jsxs)(P,{...Be,children:[(0,M.jsx)(x,{fontSize:"xs",textTransform:"uppercase",letterSpacing:"wide",color:"text.muted",mb:1,children:"Coverage"}),(0,M.jsxs)(x,{fontWeight:"semibold",fontSize:{base:"2xl",md:"3xl"},lineHeight:"1.1",children:[Math.round(T.coverageRatio*100),"%"]})]})]})]}),(0,M.jsxs)(Pe,{columns:{base:1,xl:2},spacing:4,children:[(0,M.jsx)(P,{...ke,children:(0,M.jsxs)(Z,{justify:"space-between",align:{base:"start",md:"center"},flexWrap:"wrap",spacing:3,children:[(0,M.jsxs)(z,{spacing:.5,children:[(0,M.jsx)(x,{fontWeight:"semibold",children:"AI-ready Spec Export"}),(0,M.jsx)(x,{fontSize:"sm",color:"text.muted",children:"Download a portable Markdown spec for GPT / Claude so new chats start with your latest MVP context."})]}),(0,M.jsx)(gt,{variant:"surfacePrimary",colorScheme:"brand",leftIcon:(0,M.jsx)(OM,{size:16}),isLoading:ue,loadingText:"Exporting...",isDisabled:ue,onClick:ut,children:"Export AI-ready spec"})]})}),(0,M.jsxs)(P,{...ke,children:[(0,M.jsxs)(Z,{justify:"space-between",align:"center",mb:3,children:[(0,M.jsx)(x,{fontWeight:"semibold",children:"MVP Readiness Score"}),(0,M.jsxs)($,{colorScheme:Fe,fontSize:"sm",children:[w.score,"/100"]})]}),(0,M.jsx)(fa,{value:w.score,borderRadius:"md",mb:3,colorScheme:Fe}),w.blockers.length>0?(0,M.jsxs)(dt,{status:"error",borderRadius:"md",mb:3,children:[(0,M.jsx)(pt,{}),(0,M.jsx)(ht,{children:w.blockers.join(" ")})]}):(0,M.jsxs)(dt,{status:"success",borderRadius:"md",mb:3,children:[(0,M.jsx)(pt,{}),(0,M.jsx)(ht,{children:"No critical blockers detected."})]}),w.warnings.length>0?(0,M.jsxs)(dt,{status:"warning",borderRadius:"md",children:[(0,M.jsx)(pt,{}),(0,M.jsx)(ht,{children:w.warnings.join(" ")})]}):null]})]}),(0,M.jsx)(P,{...ke,children:(0,M.jsxs)(Hr,{variant:"line",colorScheme:"teal",isLazy:!0,children:[(0,M.jsxs)(Or,{children:[(0,M.jsx)(nt,{children:"Scope + Flows"}),(0,M.jsx)(nt,{children:"Strategy"}),(0,M.jsx)(nt,{children:"Data + Risk"})]}),(0,M.jsxs)(Vr,{children:[(0,M.jsx)(Ke,{px:0,pt:5,children:(0,M.jsxs)(z,{spacing:4,children:[(0,M.jsxs)(P,{...Ae,children:[(0,M.jsxs)(Z,{justify:"space-between",mb:3,children:[(0,M.jsx)(x,{fontWeight:"semibold",children:"P0 Prioritization Signals"}),(0,M.jsxs)($,{colorScheme:"blue",children:[H.length," feature(s)"]})]}),(0,M.jsx)(P,{maxW:"full",children:(0,M.jsx)(Ka,{children:(0,M.jsxs)(ja,{size:"sm",minW:"820px",children:[(0,M.jsx)(Cs,{children:(0,M.jsxs)(bo,{children:[(0,M.jsx)(Ee,{children:"Feature"}),(0,M.jsx)(Ee,{children:"Pain support"}),(0,M.jsx)(Ee,{children:"Workflow support"}),(0,M.jsx)(Ee,{children:"TTV support"}),(0,M.jsx)(Ee,{children:"Retention support"}),(0,M.jsx)(Ee,{children:"Evidence"})]})}),(0,M.jsx)(vs,{children:H.length>0?H.map(({feature:ae,signals:Re})=>(0,M.jsxs)(bo,{children:[(0,M.jsxs)(Te,{children:[(0,M.jsx)(x,{fontWeight:"medium",children:ae.name}),ae.workflow?(0,M.jsxs)(x,{fontSize:"xs",color:"text.muted",children:["Workflow: ",ae.workflow]}):null]}),(0,M.jsx)(Te,{children:(0,M.jsx)($,{colorScheme:Re.painAligned?"green":"orange",children:Re.painAligned?"Aligned":"Weak"})}),(0,M.jsx)(Te,{children:(0,M.jsx)($,{colorScheme:Re.workflowAligned?"green":"orange",children:Re.workflowAligned?"Aligned":"Weak"})}),(0,M.jsx)(Te,{children:(0,M.jsx)($,{colorScheme:Re.ttvAligned?"green":"orange",children:Re.ttvAligned?"Supports fast value":"Unclear"})}),(0,M.jsx)(Te,{children:(0,M.jsx)($,{colorScheme:Re.retentionAligned?"green":"yellow",children:Re.retentionAligned?"Retention signal":"Needs retention loop"})}),(0,M.jsx)(Te,{children:(0,M.jsx)(x,{fontSize:"xs",color:"text.muted",children:ae.evidence||"\u2014"})})]},ae.name)):(0,M.jsxs)(bo,{children:[(0,M.jsx)(Te,{children:"\u2014"}),(0,M.jsx)(Te,{children:"\u2014"}),(0,M.jsx)(Te,{children:"\u2014"}),(0,M.jsx)(Te,{children:"\u2014"}),(0,M.jsx)(Te,{children:"\u2014"}),(0,M.jsx)(Te,{children:"\u2014"})]})})]})})})]}),(0,M.jsxs)(P,{...Ae,children:[(0,M.jsxs)(Z,{justify:"space-between",align:{base:"start",md:"center"},mb:4,flexWrap:"wrap",children:[(0,M.jsxs)(z,{spacing:.5,children:[(0,M.jsx)(x,{fontWeight:"semibold",children:"Scope Map: Feature \u2192 Dependencies"}),(0,M.jsx)(x,{fontSize:"sm",color:"text.muted",children:"Select a P0 feature, then review the mapped screens and inferred entities in the same workflow panel."})]}),(0,M.jsxs)($,{colorScheme:"blue",variant:"subtle",children:[d.length," feature(s)"]})]}),(0,M.jsxs)(Pe,{columns:{base:1,xl:12},spacing:4,children:[(0,M.jsxs)(P,{gridColumn:{base:"span 1",xl:"span 4"},pr:{base:0,xl:3},borderRightWidth:{base:"0px",xl:"1px"},borderRightColor:"surface.border",children:[(0,M.jsx)(x,{fontWeight:"semibold",mb:2,children:"1. Choose P0 Feature"}),(0,M.jsx)(x,{fontSize:"sm",color:"text.muted",mb:3,children:"Your selection controls the dependency map."}),d.length>0?(0,M.jsx)(z,{spacing:2.5,children:d.map(ae=>{let Re=ae===ce;return(0,M.jsx)(gt,{size:"sm",h:"auto",minH:"40px",py:2.5,px:3,variant:Re?"surfacePrimary":"surface",colorScheme:"brand",justifyContent:"flex-start",textAlign:"left",borderWidth:Re?"2px":"1px",borderColor:Re?"brand.500":"surface.border",bg:Re?"brand.50":"surface.base",onClick:()=>we(ae),sx:{whiteSpace:"normal",overflowWrap:"anywhere",wordBreak:"break-word",lineHeight:"1.35"},children:(0,M.jsxs)(Z,{w:"full",justify:"space-between",align:"start",spacing:2,children:[(0,M.jsx)(x,{as:"span",flex:"1 1 auto",children:ae}),Re?(0,M.jsx)($,{colorScheme:"brand",variant:"subtle",fontSize:"10px",children:"Selected"}):null]})},ae)})}):(0,M.jsxs)(dt,{status:"info",borderRadius:"md",children:[(0,M.jsx)(pt,{}),(0,M.jsxs)(ht,{children:["No P0 features yet."," ",(0,M.jsx)(Tn,{href:`/app/phases/mvp_blueprint/mvp_scope?projectId=${e}`,children:(0,M.jsx)(gt,{size:"xs",ml:2,variant:"surface",colorScheme:"brand",children:"Open MVP Scope"})})]})]})]}),(0,M.jsxs)(P,{gridColumn:{base:"span 1",xl:"span 8"},pl:{base:0,xl:1},children:[(0,M.jsx)(x,{fontWeight:"semibold",mb:2,children:"2. Dependency Map"}),(0,M.jsx)(x,{fontSize:"sm",color:"text.muted",mb:3,children:ce?`Showing dependencies for: ${ce}`:"Select a feature to view mapped screens and inferred entities."}),(0,M.jsxs)(Pe,{columns:{base:1,lg:2},spacing:3,children:[(0,M.jsxs)(P,{...Be,bg:"surface.base",children:[(0,M.jsx)(x,{fontWeight:"semibold",mb:3,children:"Related Screens"}),ce?ye.length>0?(0,M.jsx)(z,{spacing:2,children:ye.map(ae=>(0,M.jsxs)(P,{layerStyle:"notchedInset",borderWidth:"1px",borderColor:"surface.border",p:3,bg:"surface.muted",children:[(0,M.jsx)(x,{fontWeight:"medium",children:ae.name}),(0,M.jsxs)(x,{fontSize:"xs",color:"text.muted",children:[ae.route||"No route"," \u2022 ",ae.access]})]},ae.id))}):(0,M.jsx)(x,{color:"text.muted",children:"No direct screen mapping found for this feature."}):(0,M.jsx)(x,{color:"text.muted",children:"Select a feature to highlight related screens."})]}),(0,M.jsxs)(P,{...Be,bg:"surface.base",children:[(0,M.jsx)(x,{fontWeight:"semibold",mb:3,children:"Related Entities (Inferred)"}),ce?De.length>0?(0,M.jsx)(z,{spacing:2,children:De.map(ae=>(0,M.jsx)(P,{layerStyle:"notchedInset",borderWidth:"1px",borderColor:"purple.200",p:2.5,bg:"purple.50",children:(0,M.jsx)(x,{fontWeight:"medium",fontSize:"sm",children:ae})},ae))}):(0,M.jsx)(x,{color:"text.muted",children:"No inferred entity mapping yet. Add clearer entity/field keywords."}):(0,M.jsx)(x,{color:"text.muted",children:"Select a feature to infer likely touched entities."})]})]})]})]})]}),(0,M.jsxs)(P,{...Ae,children:[(0,M.jsxs)(Z,{justify:"space-between",mb:3,children:[(0,M.jsx)(x,{fontWeight:"semibold",children:"Happy Path Flow Storyboards"}),(0,M.jsxs)($,{colorScheme:"blue",children:[h.length," flow(s)"]})]}),(0,M.jsx)(x,{fontSize:"sm",color:"text.muted",mb:4,children:"Follow each flow from start to success. Cards are arranged for quick horizontal scan."}),h.length>0?(0,M.jsx)(z,{spacing:4,children:h.map(ae=>{let Re=L2e(ae,S);return(0,M.jsxs)(P,{...Be,bg:"surface.base",px:{base:3,md:4},py:{base:3,md:4},children:[(0,M.jsx)(x,{fontWeight:"semibold",mb:2,fontSize:"md",children:ae.name}),(0,M.jsx)(ot,{mb:3,children:(ae.coversFeatures.length>0?ae.coversFeatures:["No covered features tagged"]).map(Xe=>(0,M.jsx)(Se,{children:(0,M.jsx)($,{colorScheme:"teal",variant:"subtle",children:Xe})},`${ae.id}-${Xe}`))}),(0,M.jsx)(P,{layerStyle:"notchedInset",maxW:"full",borderWidth:"1px",borderColor:"surface.border",bg:"surface.muted",children:(0,M.jsx)(Ka,{style:{paddingBottom:6},children:(0,M.jsx)(Z,{align:"stretch",spacing:2.5,minW:"max-content",px:2,pt:2,pb:4,children:ae.steps.map((Xe,Je)=>(0,M.jsxs)(Z,{align:"stretch",spacing:2.5,children:[(0,M.jsxs)(P,{layerStyle:"notchedCard",borderWidth:"1px",p:3,minW:{base:"220px",md:"240px"},maxW:"260px",bg:"surface.base",children:[(0,M.jsxs)(Z,{justify:"space-between",align:"center",mb:2,children:[(0,M.jsxs)(x,{fontSize:"xs",color:"text.muted",textTransform:"uppercase",letterSpacing:"wide",children:["Step ",Je+1]}),(0,M.jsx)($,{colorScheme:"blue",variant:"subtle",fontSize:"10px",children:"Flow"})]}),(0,M.jsxs)(x,{fontWeight:"medium",lineHeight:"1.3",children:[Xe.fromScreen||"Start"," \u2192 ",Xe.toScreen||"Next"]}),(0,M.jsxs)(x,{fontSize:"sm",mt:2,children:[(0,M.jsx)("strong",{children:"Action:"})," ",Xe.action||"\u2014"]}),(0,M.jsxs)(x,{fontSize:"sm",mt:1.5,color:"green.700",children:[(0,M.jsx)("strong",{children:"Success:"})," ",Xe.success||"\u2014"]})]}),Je<ae.steps.length-1?(0,M.jsx)(P,{alignSelf:"center",color:"text.muted","aria-hidden":"true",children:(0,M.jsx)(jl,{size:18,weight:"duotone"})}):null]},`${ae.id}-step-${Je}`))})})}),Re.length>0?(0,M.jsxs)(Z,{mt:3,spacing:2,flexWrap:"wrap",children:[(0,M.jsx)(x,{fontSize:"sm",color:"text.muted",children:"Likely touched entities:"}),(0,M.jsx)(ot,{children:Re.map(Xe=>(0,M.jsx)(Se,{children:(0,M.jsx)($,{colorScheme:"purple",variant:"subtle",children:Xe})},`${ae.id}-${Xe}`))})]}):null]},ae.id)})}):(0,M.jsxs)(dt,{status:"info",borderRadius:"md",children:[(0,M.jsx)(pt,{}),(0,M.jsxs)(ht,{children:["No flows found."," ",(0,M.jsx)(Tn,{href:`/app/phases/mvp_blueprint/screens_flows?projectId=${e}`,children:(0,M.jsx)(gt,{size:"xs",ml:2,variant:"surface",colorScheme:"teal",children:"Open Screens + Flows"})})]})]})]})]})}),(0,M.jsx)(Ke,{px:0,pt:5,children:(0,M.jsxs)(P,{sx:xt,children:[(0,M.jsxs)(P,{...Ae,...We,children:[(0,M.jsxs)(Z,{justify:"space-between",mb:3,children:[(0,M.jsx)(x,{fontWeight:"semibold",children:"MVP Strategy Blueprint"}),K?.name?(0,M.jsxs)($,{colorScheme:"green",variant:"subtle",children:["Segment: ",K.name]}):null]}),(0,M.jsxs)(z,{spacing:2,children:[(0,M.jsxs)(x,{children:[(0,M.jsx)("strong",{children:"Wedge workflow:"})," ",ie||"\u2014"]}),(0,M.jsxs)(x,{children:[(0,M.jsx)("strong",{children:"Strongest pain targeted:"})," ",se||"\u2014"]}),(0,M.jsxs)(x,{children:[(0,M.jsx)("strong",{children:"Strongest substitute targeted:"})," ",W||"\u2014"]}),(0,M.jsxs)(x,{children:[(0,M.jsx)("strong",{children:"Urgent JTBD:"})," ",String(l.urgentJobToBeDone??"").trim()||"\u2014"]}),de?(0,M.jsxs)(x,{color:"text.muted",children:[(0,M.jsx)("strong",{children:"Why this workflow:"})," ",de]}):null]})]}),(0,M.jsxs)(P,{...Ae,...We,children:[(0,M.jsx)(x,{fontWeight:"semibold",mb:3,children:"Time-to-Value + Onboarding Strategy"}),(0,M.jsxs)(z,{spacing:2,children:[(0,M.jsxs)(x,{children:[(0,M.jsx)("strong",{children:"Onboarding strategy:"})," ",q||"\u2014"]}),(0,M.jsxs)(x,{children:[(0,M.jsx)("strong",{children:"Time-to-value strategy:"})," ",fe||"\u2014"]}),(0,M.jsxs)(x,{children:[(0,M.jsx)("strong",{children:"Replacement vs net-new:"})," ",String(l.replacementVsNetNew??"").trim()||"\u2014"]}),C.length>0?(0,M.jsxs)(x,{color:"text.muted",children:[(0,M.jsx)("strong",{children:"Competing-tool onboarding pain:"})," ",C.slice(0,3).join(", ")]}):null]}),q||fe?null:(0,M.jsxs)(dt,{status:"info",borderRadius:"md",mt:3,children:[(0,M.jsx)(pt,{}),(0,M.jsx)(ht,{children:"Set onboarding/time-to-value strategy in MVP Scope for clearer build priorities."})]})]}),(0,M.jsxs)(P,{...Ae,...We,children:[(0,M.jsx)(x,{fontWeight:"semibold",mb:3,children:"Segment-to-MVP Fit"}),K?(0,M.jsxs)(z,{spacing:3,children:[(0,M.jsxs)(Z,{justify:"space-between",children:[(0,M.jsx)(x,{fontWeight:"medium",children:K.name}),(0,M.jsx)($,{colorScheme:K.recommended?"green":"gray",children:K.recommended?"Recommended":"Candidate"})]}),(0,M.jsx)(x,{color:"text.muted",children:K.useCase||"Use case not captured yet."}),(0,M.jsxs)(ot,{children:[(0,M.jsx)(Se,{children:(0,M.jsxs)($,{colorScheme:K2(K.painIntensity),children:["Pain: ",K.painIntensity]})}),(0,M.jsx)(Se,{children:(0,M.jsxs)($,{colorScheme:K2(K.easeOfReach),children:["Reach: ",K.easeOfReach]})}),(0,M.jsx)(Se,{children:(0,M.jsxs)($,{colorScheme:K2(K.timeToValue),children:["TTV: ",K.timeToValue]})}),(0,M.jsx)(Se,{children:(0,M.jsxs)($,{colorScheme:K2(K.retentionPotential),children:["Retention: ",K.retentionPotential]})}),(0,M.jsx)(Se,{children:(0,M.jsxs)($,{colorScheme:K2(K.supportBurden),children:["Support: ",K.supportBurden]})})]}),(0,M.jsxs)(x,{children:[(0,M.jsx)("strong",{children:"WTP signal:"})," ",K.willingnessToPay||"\u2014"]}),(0,M.jsxs)(x,{children:[(0,M.jsx)("strong",{children:"Likely ACV / Sales cycle:"})," ",K.likelyACV||"\u2014"," \xB7 ",K.salesCycle||"\u2014"]})]}):(0,M.jsxs)(dt,{status:"info",borderRadius:"md",children:[(0,M.jsx)(pt,{}),(0,M.jsx)(ht,{children:"No segment analysis mapped yet. Re-run Market & Validation segment analysis."})]})]}),(0,M.jsxs)(P,{...Ae,...We,children:[(0,M.jsx)(x,{fontWeight:"semibold",mb:3,children:"Exclusions / Non-goals"}),(0,M.jsxs)(z,{spacing:3,children:[(0,M.jsxs)(P,{children:[(0,M.jsx)(x,{fontWeight:"medium",mb:1,children:"Exclusions"}),he.length>0?(0,M.jsx)(st,{children:he.map(ae=>(0,M.jsx)(Ze,{children:ae},`ex-${ae}`))}):(0,M.jsx)(x,{color:"text.muted",children:"No exclusions listed yet."})]}),(0,M.jsxs)(P,{children:[(0,M.jsx)(x,{fontWeight:"medium",mb:1,children:"Non-goals"}),ge.length>0?(0,M.jsx)(st,{children:ge.map(ae=>(0,M.jsx)(Ze,{children:ae},`ng-${ae}`))}):(0,M.jsx)(x,{color:"text.muted",children:"No non-goals listed yet."})]})]})]}),(0,M.jsxs)(P,{...Ae,...We,children:[(0,M.jsx)(x,{fontWeight:"semibold",mb:3,children:"Retention Hypothesis"}),(0,M.jsxs)(z,{spacing:2,children:[(0,M.jsxs)(x,{children:[(0,M.jsx)("strong",{children:"Hypothesis:"})," ",J||ev]}),(0,M.jsxs)(x,{children:[(0,M.jsx)("strong",{children:"Success milestone:"})," ",X||ev]}),ee?(0,M.jsxs)(x,{color:"text.muted",children:[(0,M.jsx)("strong",{children:"Rationale:"})," ",ee]}):(0,M.jsxs)(x,{color:"text.muted",children:[(0,M.jsx)("strong",{children:"Rationale:"})," ",ev]}),(0,M.jsxs)(x,{children:[(0,M.jsx)("strong",{children:"Roadmap logic:"})," ",pe||ev]})]})]}),(0,M.jsxs)(P,{...Ae,...We,children:[(0,M.jsx)(x,{fontWeight:"semibold",mb:3,children:"Substitute Weakness Exploitation"}),I.length>0?(0,M.jsx)(z,{spacing:3,children:I.slice(0,4).map(ae=>(0,M.jsxs)(P,{borderWidth:"1px",borderColor:"blue.200",bg:"blue.50",borderRadius:"md",px:3.5,py:3,children:[(0,M.jsxs)(Z,{spacing:2,align:"center",mb:1.5,children:[(0,M.jsx)(P,{color:"blue.600",display:"inline-flex",alignItems:"center",justifyContent:"center",children:(0,M.jsx)(pa,{size:18,weight:"duotone"})}),(0,M.jsx)(x,{fontWeight:"semibold",children:ae.name})]}),(0,M.jsx)($,{colorScheme:"blue",variant:"subtle",mb:2,children:ae.type}),(0,M.jsxs)(z,{spacing:1.5,children:[(0,M.jsxs)(x,{fontSize:"sm",lineHeight:"1.45",children:[(0,M.jsx)("strong",{children:"Why people use it:"})," ",ae.whyPeopleUseIt||"\u2014"]}),(0,M.jsxs)(x,{fontSize:"sm",lineHeight:"1.45",children:[(0,M.jsx)("strong",{children:"Biggest weakness:"})," ",ae.biggestWeakness||"\u2014"]}),(0,M.jsxs)(x,{fontSize:"sm",lineHeight:"1.45",children:[(0,M.jsx)("strong",{children:"Your opening:"})," ",ae.yourAdvantage||"\u2014"]})]})]},ae.id))}):(0,M.jsx)(x,{color:"text.muted",children:"No substitute map captured yet."})]}),(0,M.jsxs)(P,{...Ae,...We,children:[(0,M.jsx)(x,{fontWeight:"semibold",mb:2,children:"Build Phase Preview"}),(0,M.jsxs)(st,{mb:3,children:[(0,M.jsx)(Ze,{children:"Repo interrogation"}),(0,M.jsx)(Ze,{children:"Scaffold"}),(0,M.jsx)(Ze,{children:"Auth + profile verification"}),(0,M.jsx)(Ze,{children:"DB schema + RLS"}),(0,M.jsxs)(Ze,{children:["Feature cards (",Math.max(1,f.length),")"]}),(0,M.jsx)(Ze,{children:"Deploy prep"}),(0,M.jsx)(Ze,{children:"QA smoke test"})]}),(0,M.jsx)(Tn,{href:`/app/phases/build?projectId=${e}`,children:(0,M.jsx)(gt,{variant:"surfacePrimary",colorScheme:"brand",children:"Open Build Phase"})})]})]})}),(0,M.jsx)(Ke,{px:0,pt:5,children:(0,M.jsxs)(Pe,{columns:{base:1,xl:2},spacing:4,children:[(0,M.jsxs)(P,{...Ae,children:[(0,M.jsx)(x,{fontWeight:"semibold",mb:3,children:"Complexity + Risk"}),(0,M.jsx)(P,{h:"280px",children:(0,M.jsx)(O0,{data:B,options:L})}),(0,M.jsx)(so,{my:3}),(0,M.jsx)(x,{fontWeight:"medium",mb:2,children:"Recommended cuts"}),_.length>0?(0,M.jsx)(st,{children:_.slice(0,3).map(ae=>(0,M.jsx)(Ze,{children:ae},ae))}):(0,M.jsx)(x,{color:"text.muted",children:"No major cut recommendations. Scope looks manageable."})]}),(0,M.jsxs)(P,{...Ae,children:[(0,M.jsx)(x,{fontWeight:"semibold",mb:3,children:"Data Model Readiness"}),(0,M.jsx)(P,{maxW:"full",children:(0,M.jsx)(Ka,{children:(0,M.jsxs)(ja,{size:"sm",minW:"620px",children:[(0,M.jsx)(Cs,{children:(0,M.jsxs)(bo,{children:[(0,M.jsx)(Ee,{children:"Entity"}),(0,M.jsx)(Ee,{children:"Access rule present?"}),(0,M.jsx)(Ee,{children:"Ownership field likely?"})]})}),(0,M.jsx)(vs,{children:S.length>0?S.map(ae=>{let Re=SY(ae.name,g),Xe=D2e(ae.fields);return(0,M.jsxs)(bo,{children:[(0,M.jsx)(Te,{children:ae.name}),(0,M.jsx)(Te,{children:(0,M.jsx)($,{colorScheme:Re?"green":"red",children:Re?"Yes":"No"})}),(0,M.jsx)(Te,{children:(0,M.jsx)($,{colorScheme:Xe?"green":"yellow",children:Xe?"Likely":"Unknown"})})]},ae.name)}):(0,M.jsxs)(bo,{children:[(0,M.jsx)(Te,{children:"\u2014"}),(0,M.jsx)(Te,{children:"\u2014"}),(0,M.jsx)(Te,{children:"\u2014"})]})})]})})}),me.length>0?(0,M.jsxs)(dt,{status:"warning",borderRadius:"md",mt:3,children:[(0,M.jsx)(pt,{}),(0,M.jsxs)(ht,{children:["Missing access rules for: ",me.join(", "),"."]})]}):null]})]})})]})]})})]})}function Q2(e){return Array.isArray(e)?e.map(t=>typeof t=="string"?t.trim():"").filter(Boolean):[]}function R2e(e){let t=String(e??"").trim().toLowerCase();return t==="hero"||t==="social_proof"||t==="features"||t==="how_it_works"||t==="pricing"||t==="faq"||t==="final_cta"?t:"hero"}function _2e(e){return Array.isArray(e)?e.map(t=>{if(typeof t=="string"){let o=t.trim();return o?{q:o,a:""}:null}if(typeof t=="object"&&t!==null){let o=t,r=String(o.q??"").trim(),n=String(o.a??"").trim();return!r&&!n?null:{q:r,a:n}}return null}).filter(t=>t!==null):[]}function F2e(e){return Array.isArray(e)?e.map(t=>{if(typeof t=="string"){let o=t.trim();return o?{url:"",alt:o}:null}if(typeof t=="object"&&t!==null){let o=t,r=String(o.url??"").trim(),n=String(o.alt??"").trim();return!r&&!n?null:{url:r,alt:n}}return null}).filter(t=>t!==null):[]}function H2e(e){return e.anchorId?e.anchorId:e.type==="pricing"?"pricing":e.type==="faq"?"faq":e.id||e.type}function x9(e){let t=e.landing??{},o=t.seo??{},r=o.onPage??{},n=t.assets??{},s=(Array.isArray(t.sections)?t.sections:[]).map((u,m)=>{if(typeof u!="object"||u===null)return null;let f=u,d=R2e(f.type);return{id:String(f.id??"").trim()||`${d}_${m+1}`,type:d,headline:String(f.headline??"").trim(),subhead:String(f.subhead??"").trim(),body:String(f.body??"").trim(),bullets:Q2(f.bullets),ctaText:String(f.ctaText??"").trim(),anchorId:String(f.anchorId??"").trim()}}).filter(u=>u!==null),i=t.cta??{},l=String(i.primary??i.label??"").trim(),c=String(i.secondary??i.action??"").trim();return{tone:["clear","friendly","premium"].includes(String(t.tone))?String(t.tone):"clear",cta:{primary:l,secondary:c},sections:s,assets:{heroImageUrl:String(n.heroImageUrl??"").trim(),featureImageUrls:Q2(n.featureImageUrls),ogImageUrl:String(n.ogImageUrl??"").trim(),videoUrl:String(n.videoUrl??"").trim()},seo:{primaryKeyword:String(o.primaryKeyword??"").trim(),secondaryKeywords:Q2(o.secondaryKeywords),onPage:{title:String(r.title??"").trim(),metaDescription:String(r.metaDescription??"").trim(),h1:String(r.h1??"").trim(),h2s:Q2(r.h2s),faq:_2e(r.faq),imageAlts:F2e(r.imageAlts),ctaAnchors:Q2(r.ctaAnchors)},verification:typeof o.verification=="object"&&o.verification!==null&&!Array.isArray(o.verification)?o.verification:{}}}}function IY(e){let t=x9(e),o=Y6(e),r=t.sections.find(T=>T.type==="hero"),n=t.seo.onPage.h1||r?.headline||"",a=n?1:0,s=t.sections.map(H2e),i=t.seo.onPage.faq.filter(T=>T.q||T.a).length,l=!!(t.seo.onPage.title&&t.seo.onPage.metaDescription),c=t.seo.onPage.ctaAnchors,u=o?c.length>=1:c.length>=2,m=o?c.includes("faq")&&!c.includes("pricing"):c.includes("pricing")&&c.includes("faq"),f=c.every(T=>s.includes(T)),d=t.seo.onPage.imageAlts.filter(T=>T.alt.trim().length>0),p=t.assets.heroImageUrl,h=p?d.some(T=>T.url.trim()===p&&T.alt.trim().length>0):!1,S=p?h:d.length>=3,g=t.sections.length>=5,b=a===1,I=t.seo.onPage.h2s.length>=4,v=i>=6,C=g&&b&&I&&v&&l&&u&&m&&f&&S;return{sectionsCount:t.sections.length,hasMinSections:g,displayedH1:n,hasExactlyOneH1:b,h2Count:t.seo.onPage.h2s.length,hasMinH2s:I,faqCount:i,hasMinFaqs:v,hasTitleMeta:l,ctaAnchors:c,hasMinAnchors:u,hasRequiredAnchors:m,anchorsExistInSections:f,altCoveragePass:S,sectionAnchorIds:s,allPass:C}}var O=k(re());function ci(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)?e:{}}function va(e){return Array.isArray(e)?e.map(t=>String(t??"").trim()).filter(Boolean):[]}function O2e(e){return Array.isArray(e)?e.map(t=>{let o=ci(t),r=String(o.name??"").trim();return r?{id:String(o.id??"").trim(),name:r,description:String(o.useCase??o.description??"").trim(),painIntensity:String(o.painIntensity??o.urgencyLevel??"").trim(),easeOfReach:String(o.easeOfReach??"").trim(),timeToValue:String(o.timeToValue??"").trim(),retentionPotential:String(o.retentionPotential??"").trim(),recommended:o.recommended===!0}:null}).filter(t=>t!==null):[]}function V2e(e){return Array.isArray(e)?e.map(t=>{let o=ci(t),r=String(o.name??"").trim();return r?{type:String(o.type??"other").trim()||"other",name:r,whyPeopleUseIt:String(o.whyPeopleUseIt??"").trim(),whyTheyStickWithIt:String(o.whyTheyStickWithIt??"").trim(),biggestWeakness:String(o.biggestWeakness??"").trim(),yourAdvantage:String(o.yourAdvantage??"").trim()}:null}).filter(t=>t!==null):[]}function rv(e){let t=e.trim().toLowerCase();return t==="high"?"green":t==="medium"||t==="med"?"yellow":t==="low"?"red":"gray"}function vY(e){return e.toLowerCase().replace(/[^a-z0-9]+/g," ").split(" ").map(t=>t.trim()).filter(t=>t.length>=4)}function av(e,t){let o=new Set(vY(e));return vY(t).some(r=>o.has(r))}function nv(e){let t=e.trim();return t?t.charAt(0).toUpperCase()+t.slice(1):"\u2014"}function N2e(e,t){if(e.length===0)return{covered:[],missing:[]};let o=t.join(" ").toLowerCase(),r=[],n=[];for(let a of e)a.trim()&&(av(o,a)?r.push(a):n.push(a));return{covered:r,missing:n}}function z2e(e,t,o){let r=String(t.primarySegmentId??"").trim().toLowerCase();if(r){let a=e.find(s=>s.id.trim().toLowerCase()===r);if(a)return a}let n=String(o.strongestSegment??"").trim().toLowerCase();if(n){let a=e.find(s=>s.name.trim().toLowerCase()===n);if(a)return a}return e.find(a=>a.recommended)??e[0]??null}function W2e({h1:e,strongestPainLead:t,strongestOpening:o,messagingWhitespace:r}){if(!e.trim())return{label:"Hero H1 missing",color:"red",detail:"Landing copy currently has no H1 and cannot communicate a clear wedge above the fold."};let n=["best","all in one","everything","revolutionary","ultimate","for everyone"],a=e.toLowerCase(),s=n.some(u=>a.includes(u)),i=t?av(e,t):!1,l=o?av(e,o):!1,c=r.some(u=>av(e,u));return!s&&(i||l||c)?{label:"Hero appears sharp",color:"green",detail:"H1 appears to reflect validated pain/opening language rather than generic category copy."}:{label:"Hero may be generic",color:"yellow",detail:"H1 currently does not strongly reflect validated pain/opening or messaging whitespace signals."}}function CY({projectId:e,spec:t}){let o=x9(t),r=ci(t.landing),n=ci(t.seo),a=ci(t.research),s=ci(a.marketDefinition),i=ci(a.segmentAnalysis),l=O2e(i.segments),c=V2e(a.substitutes),u=ci(a.positioningAnalysis),m=ci(a.customerSentiment),f=ci(a.distributionAnalysis),d=ci(a.validationInsights),p=IY(t),h=String(r.strongestPainLead??"").trim(),S=String(r.strongestOpening??"").trim(),g=String(r.strongestSubstituteThreat??"").trim(),b=va(r.strongestObjections),I=va(r.strongestFaqThemes),v=va(r.messagingWhitespace),C=va(r.categoryLanguageToUse),T=va(r.categoryLanguageToAvoid),w=va(r.proofAngles),E=String(r.ctaStrategy??"").trim(),B=o.seo.onPage.faq.map(H=>`${H.q} ${H.a}`),L=N2e(b,B),_=z2e(l,r,d),j=String(n.primarySearchIntent??"").trim(),ne=String(n.primaryUseCaseAngle??"").trim(),K=String(n.strongestKeywordTheme??"").trim(),ie=String(n.strongestCategoryTerm??"").trim(),se=String(n.differentiatedTermStrategy??"").trim(),W=va(n.objectionKeywords),de=o.sections.find(H=>H.type==="hero"),q=o.seo.onPage.h1||de?.headline||"",fe=W2e({h1:q,strongestPainLead:h,strongestOpening:S,messagingWhitespace:v}),he=va(m.topComplaintThemes),ge=va(m.topDelightThemes),J=va(m.repeatedLanguage),X=va(u.repeatedLanguage),ee=v.length>0?v:va(u.messagingWhitespace),pe=c.find(H=>H.name.toLowerCase()===g.toLowerCase())??c[0]??null;return(0,O.jsxs)(Hr,{colorScheme:"teal",variant:"line",isLazy:!0,children:[(0,O.jsxs)(Or,{children:[(0,O.jsx)(nt,{children:"Overview"}),(0,O.jsx)(nt,{children:"Messaging + Conversion"}),(0,O.jsx)(nt,{children:"SEO + Objections"})]}),(0,O.jsxs)(Vr,{children:[(0,O.jsx)(Ke,{px:0,pt:4,children:(0,O.jsxs)(z,{spacing:4,children:[(0,O.jsxs)(Pe,{columns:{base:1,xl:2},spacing:4,children:[(0,O.jsxs)(P,{layerStyle:"notchedCard",borderWidth:"1px",borderColor:"surface.border",p:4,bg:"surface.base",children:[(0,O.jsxs)(Z,{justify:"space-between",mb:2,children:[(0,O.jsx)(x,{fontWeight:"semibold",children:"Landing Messaging Summary"}),(0,O.jsx)($,{colorScheme:"blue",children:_?"Segment-led":"Needs segment focus"})]}),(0,O.jsxs)(z,{spacing:2,fontSize:"sm",children:[(0,O.jsxs)(x,{children:[(0,O.jsx)("strong",{children:"Primary segment:"})," ",_?.name||"\u2014"]}),(0,O.jsxs)(x,{children:[(0,O.jsx)("strong",{children:"Strongest pain lead:"})," ",h||"\u2014"]}),(0,O.jsxs)(x,{children:[(0,O.jsx)("strong",{children:"Strongest opening:"})," ",S||String(d.strongestOpening??"\u2014")]}),(0,O.jsxs)(x,{children:[(0,O.jsx)("strong",{children:"Strongest substitute threat:"})," ",g||"\u2014"]}),(0,O.jsxs)(x,{children:[(0,O.jsx)("strong",{children:"CTA strategy:"})," ",E||"\u2014"]})]}),w.length>0?(0,O.jsxs)(O.Fragment,{children:[(0,O.jsx)(so,{my:3}),(0,O.jsx)(x,{fontSize:"sm",fontWeight:"semibold",mb:2,children:"Proof angles"}),(0,O.jsx)(ot,{children:w.map(H=>(0,O.jsx)(Se,{children:(0,O.jsx)($,{colorScheme:"teal",variant:"subtle",children:H})},H))})]}):null]}),(0,O.jsxs)(P,{layerStyle:"notchedCard",borderWidth:"1px",borderColor:"surface.border",p:4,bg:"surface.base",children:[(0,O.jsxs)(Z,{justify:"space-between",mb:2,children:[(0,O.jsx)(x,{fontWeight:"semibold",children:"Hero / Headline Quality"}),(0,O.jsx)($,{colorScheme:fe.color,children:fe.label})]}),(0,O.jsx)(x,{fontSize:"sm",color:"text.muted",mb:3,children:fe.detail}),(0,O.jsxs)(z,{spacing:2,fontSize:"sm",children:[(0,O.jsxs)(x,{children:[(0,O.jsx)("strong",{children:"Displayed H1:"})," ",q||"\u2014"]}),(0,O.jsxs)(x,{children:[(0,O.jsx)("strong",{children:"Subhead:"})," ",de?.subhead||"\u2014"]}),(0,O.jsxs)(x,{children:[(0,O.jsx)("strong",{children:"Body:"})," ",de?.body||"\u2014"]})]})]})]}),(0,O.jsxs)(Pe,{columns:{base:1,xl:2},spacing:4,children:[(0,O.jsxs)(P,{layerStyle:"notchedCard",borderWidth:"1px",borderColor:"surface.border",p:4,bg:"surface.base",children:[(0,O.jsxs)(Z,{justify:"space-between",mb:3,children:[(0,O.jsx)(x,{fontWeight:"semibold",children:"Segment-to-Landing Fit"}),_?.recommended?(0,O.jsx)($,{colorScheme:"green",children:"Recommended"}):null]}),_?(0,O.jsxs)(z,{spacing:2,fontSize:"sm",children:[(0,O.jsx)(x,{children:(0,O.jsx)("strong",{children:_.name})}),(0,O.jsx)(x,{color:"text.muted",children:_.description||"No segment description yet."}),(0,O.jsxs)(ot,{children:[(0,O.jsx)(Se,{children:(0,O.jsxs)($,{colorScheme:rv(_.painIntensity),children:["Pain: ",nv(_.painIntensity)]})}),(0,O.jsx)(Se,{children:(0,O.jsxs)($,{colorScheme:rv(_.easeOfReach),children:["Reach: ",nv(_.easeOfReach)]})}),(0,O.jsx)(Se,{children:(0,O.jsxs)($,{colorScheme:rv(_.timeToValue),children:["TTV: ",nv(_.timeToValue)]})}),(0,O.jsx)(Se,{children:(0,O.jsxs)($,{colorScheme:rv(_.retentionPotential),children:["Retention: ",nv(_.retentionPotential)]})})]})]}):(0,O.jsxs)(dt,{status:"info",borderRadius:"md",children:[(0,O.jsx)(pt,{}),(0,O.jsx)(ht,{children:"Segment signal is missing. Populate Market & Validation segment analysis and rerun landing prompts."})]})]}),(0,O.jsxs)(P,{layerStyle:"notchedCard",borderWidth:"1px",borderColor:"surface.border",p:4,bg:"surface.base",children:[(0,O.jsxs)(Z,{justify:"space-between",mb:3,children:[(0,O.jsx)(x,{fontWeight:"semibold",children:"SEO Intent + Use Case"}),(0,O.jsx)($,{colorScheme:j?"green":"yellow",children:j?"Intent set":"Needs intent"})]}),(0,O.jsxs)(z,{spacing:2,fontSize:"sm",children:[(0,O.jsxs)(x,{children:[(0,O.jsx)("strong",{children:"Primary intent:"})," ",j||"\u2014"]}),(0,O.jsxs)(x,{children:[(0,O.jsx)("strong",{children:"Use-case angle:"})," ",ne||"\u2014"]}),(0,O.jsxs)(x,{children:[(0,O.jsx)("strong",{children:"Keyword theme:"})," ",K||"\u2014"]}),(0,O.jsxs)(x,{children:[(0,O.jsx)("strong",{children:"Category term:"})," ",ie||"\u2014"]}),(0,O.jsxs)(x,{children:[(0,O.jsx)("strong",{children:"Differentiated term strategy:"})," ",se||"\u2014"]})]})]})]}),(0,O.jsxs)(P,{layerStyle:"notchedCard",borderWidth:"1px",borderColor:"surface.border",p:4,bg:"surface.base",children:[(0,O.jsxs)(Z,{justify:"space-between",mb:3,children:[(0,O.jsx)(x,{fontWeight:"semibold",children:"SEO Structure Snapshot"}),(0,O.jsx)($,{colorScheme:p.allPass?"green":"yellow",children:p.allPass?"Healthy":"Needs fixes"})]}),(0,O.jsxs)(ot,{spacing:2,children:[(0,O.jsx)(Se,{children:(0,O.jsxs)($,{colorScheme:p.hasMinSections?"green":"red",children:["Sections: ",p.sectionsCount]})}),(0,O.jsx)(Se,{children:(0,O.jsx)($,{colorScheme:p.hasExactlyOneH1?"green":"red",children:"Exactly one H1"})}),(0,O.jsx)(Se,{children:(0,O.jsxs)($,{colorScheme:p.hasMinH2s?"green":"red",children:["H2s: ",p.h2Count]})}),(0,O.jsx)(Se,{children:(0,O.jsxs)($,{colorScheme:p.hasMinFaqs?"green":"red",children:["FAQs: ",p.faqCount]})}),(0,O.jsx)(Se,{children:(0,O.jsx)($,{colorScheme:p.hasTitleMeta?"green":"red",children:"Title + Meta"})}),(0,O.jsx)(Se,{children:(0,O.jsx)($,{colorScheme:p.hasRequiredAnchors?"green":"red",children:"Pricing + FAQ anchors"})})]})]})]})}),(0,O.jsx)(Ke,{px:0,pt:4,children:(0,O.jsxs)(z,{spacing:4,children:[(0,O.jsxs)(Pe,{columns:{base:1,xl:2},spacing:4,children:[(0,O.jsxs)(P,{layerStyle:"notchedCard",borderWidth:"1px",borderColor:"surface.border",p:4,bg:"surface.base",children:[(0,O.jsx)(x,{fontWeight:"semibold",mb:3,children:"Messaging Whitespace"}),ee.length>0||X.length>0?(0,O.jsxs)(z,{spacing:3,children:[(0,O.jsxs)(P,{children:[(0,O.jsx)(x,{fontSize:"sm",fontWeight:"semibold",mb:1,children:"Whitespace opportunities"}),(0,O.jsx)(ot,{children:(ee.length>0?ee:["No whitespace tags captured yet."]).map(H=>(0,O.jsx)(Se,{children:(0,O.jsx)($,{colorScheme:"green",variant:"subtle",children:H})},H))})]}),(0,O.jsxs)(P,{children:[(0,O.jsx)(x,{fontSize:"sm",fontWeight:"semibold",mb:1,children:"Overused competitor language"}),(0,O.jsx)(ot,{children:(X.length>0?X:["No repeated language captured yet."]).map(H=>(0,O.jsx)(Se,{children:(0,O.jsx)($,{colorScheme:"orange",variant:"subtle",children:H})},H))})]})]}):(0,O.jsxs)(dt,{status:"info",borderRadius:"md",children:[(0,O.jsx)(pt,{}),(0,O.jsx)(ht,{children:"Messaging pattern data is sparse. Enrich Competitor Map to identify whitespace and generic language traps."})]})]}),(0,O.jsxs)(P,{layerStyle:"notchedCard",borderWidth:"1px",borderColor:"surface.border",p:4,bg:"surface.base",children:[(0,O.jsx)(x,{fontWeight:"semibold",mb:3,children:"Substitute Persuasion"}),pe?(0,O.jsxs)(z,{spacing:2,fontSize:"sm",children:[(0,O.jsxs)(x,{children:[(0,O.jsx)("strong",{children:"Substitute:"})," ",pe.name," ",(0,O.jsx)($,{ml:2,children:pe.type})]}),(0,O.jsxs)(x,{children:[(0,O.jsx)("strong",{children:"Why users stick:"})," ",pe.whyTheyStickWithIt||pe.whyPeopleUseIt||"\u2014"]}),(0,O.jsxs)(x,{children:[(0,O.jsx)("strong",{children:"Weakness to exploit:"})," ",pe.biggestWeakness||"\u2014"]}),(0,O.jsxs)(x,{children:[(0,O.jsx)("strong",{children:"Your counter-angle:"})," ",pe.yourAdvantage||"\u2014"]})]}):(0,O.jsxs)(dt,{status:"info",borderRadius:"md",children:[(0,O.jsx)(pt,{}),(0,O.jsx)(ht,{children:"No substitute signals mapped yet."})]})]})]}),(0,O.jsxs)(Pe,{columns:{base:1,xl:2},spacing:4,children:[(0,O.jsxs)(P,{layerStyle:"notchedCard",borderWidth:"1px",borderColor:"surface.border",p:4,bg:"surface.base",children:[(0,O.jsx)(x,{fontWeight:"semibold",mb:3,children:"Customer Language Themes"}),(0,O.jsxs)(Pe,{columns:{base:1,md:2},spacing:3,children:[(0,O.jsxs)(P,{children:[(0,O.jsx)(x,{fontSize:"sm",fontWeight:"semibold",mb:1,children:"Complaint language"}),(0,O.jsx)(st,{spacing:1,children:(he.length>0?he:["No complaint themes yet."]).slice(0,6).map(H=>(0,O.jsx)(Ze,{children:H},H))})]}),(0,O.jsxs)(P,{children:[(0,O.jsx)(x,{fontSize:"sm",fontWeight:"semibold",mb:1,children:"Delight language"}),(0,O.jsx)(st,{spacing:1,children:(ge.length>0?ge:["No delight themes yet."]).slice(0,6).map(H=>(0,O.jsx)(Ze,{children:H},H))})]})]}),J.length>0?(0,O.jsxs)(O.Fragment,{children:[(0,O.jsx)(so,{my:3}),(0,O.jsx)(x,{fontSize:"sm",fontWeight:"semibold",mb:2,children:"Repeated customer phrasing"}),(0,O.jsx)(ot,{children:J.slice(0,10).map(H=>(0,O.jsx)(Se,{children:(0,O.jsx)($,{colorScheme:"blue",variant:"subtle",children:H})},H))})]}):null]}),(0,O.jsxs)(P,{layerStyle:"notchedCard",borderWidth:"1px",borderColor:"surface.border",p:4,bg:"surface.base",children:[(0,O.jsx)(x,{fontWeight:"semibold",mb:3,children:"Buyer / User Context"}),(0,O.jsxs)(z,{spacing:2,fontSize:"sm",children:[(0,O.jsxs)(x,{children:[(0,O.jsx)("strong",{children:"Buyer:"})," ",String(s.buyer??"\u2014")]}),(0,O.jsxs)(x,{children:[(0,O.jsx)("strong",{children:"End user:"})," ",String(s.endUser??"\u2014")]}),(0,O.jsxs)(x,{children:[(0,O.jsx)("strong",{children:"Budget owner:"})," ",String(s.budgetOwner??"\u2014")]}),(0,O.jsxs)(x,{children:[(0,O.jsx)("strong",{children:"Urgent JTBD:"})," ",String(s.urgentJobToBeDone??"\u2014")]}),(0,O.jsxs)(x,{children:[(0,O.jsx)("strong",{children:"Replacement vs net-new:"})," ",String(s.replacementVsNetNew??"\u2014")]})]})]})]})]})}),(0,O.jsx)(Ke,{px:0,pt:4,children:(0,O.jsxs)(z,{spacing:4,children:[(0,O.jsxs)(Pe,{columns:{base:1,xl:2},spacing:4,children:[(0,O.jsxs)(P,{layerStyle:"notchedCard",borderWidth:"1px",borderColor:"surface.border",p:4,bg:"surface.base",children:[(0,O.jsxs)(Z,{justify:"space-between",mb:3,children:[(0,O.jsx)(x,{fontWeight:"semibold",children:"Objection Map"}),(0,O.jsx)($,{colorScheme:L.missing.length===0?"green":"yellow",children:L.missing.length===0?"Covered":`${L.missing.length} gaps`})]}),(0,O.jsxs)(Pe,{columns:{base:1,md:2},spacing:3,children:[(0,O.jsxs)(P,{children:[(0,O.jsx)(x,{fontSize:"sm",fontWeight:"semibold",mb:1,children:"Covered in FAQ"}),(0,O.jsx)(st,{spacing:1,children:(L.covered.length>0?L.covered:["No mapped objection coverage yet."]).map(H=>(0,O.jsx)(Ze,{children:H},H))})]}),(0,O.jsxs)(P,{children:[(0,O.jsx)(x,{fontSize:"sm",fontWeight:"semibold",mb:1,children:"Biggest unaddressed objections"}),(0,O.jsx)(st,{spacing:1,children:(L.missing.length>0?L.missing:["No major objection gaps detected."]).map(H=>(0,O.jsx)(Ze,{children:H},H))})]})]}),I.length>0?(0,O.jsxs)(O.Fragment,{children:[(0,O.jsx)(so,{my:3}),(0,O.jsx)(x,{fontSize:"sm",fontWeight:"semibold",mb:2,children:"Strongest FAQ themes"}),(0,O.jsx)(ot,{children:I.map(H=>(0,O.jsx)(Se,{children:(0,O.jsx)($,{colorScheme:"purple",variant:"subtle",children:H})},H))})]}):null]}),(0,O.jsxs)(P,{layerStyle:"notchedCard",borderWidth:"1px",borderColor:"surface.border",p:4,bg:"surface.base",children:[(0,O.jsx)(x,{fontWeight:"semibold",mb:3,children:"Keyword + Language Strategy"}),(0,O.jsxs)(z,{spacing:2,fontSize:"sm",children:[(0,O.jsxs)(x,{children:[(0,O.jsx)("strong",{children:"Category language to use:"})," ",C.join(", ")||"\u2014"]}),(0,O.jsxs)(x,{children:[(0,O.jsx)("strong",{children:"Category language to avoid:"})," ",T.join(", ")||"\u2014"]}),(0,O.jsxs)(x,{children:[(0,O.jsx)("strong",{children:"Objection keywords:"})," ",W.join(", ")||"\u2014"]}),(0,O.jsxs)(x,{children:[(0,O.jsx)("strong",{children:"Top observed channels:"})," ",va(f.topObservedChannels).join(", ")||"\u2014"]}),(0,O.jsxs)(x,{children:[(0,O.jsx)("strong",{children:"SEO observations:"})," ",va(f.seoObservations).join(", ")||"\u2014"]})]})]})]}),p.allPass?null:(0,O.jsxs)(dt,{status:"warning",borderRadius:"md",children:[(0,O.jsx)(pt,{}),(0,O.jsxs)(ht,{children:["SEO structure is incomplete. Update Landing Copy and On-page SEO buckets, then re-check preview + verification.",(0,O.jsxs)(Z,{mt:3,children:[(0,O.jsx)(Tn,{href:`/app/phases/landing_onpage_seo/landing_copy?projectId=${e}`,children:(0,O.jsx)(gt,{size:"sm",variant:"outline",colorScheme:"teal",children:"Edit Landing Copy"})}),(0,O.jsx)(Tn,{href:`/app/phases/landing_onpage_seo/onpage_seo?projectId=${e}`,children:(0,O.jsx)(gt,{size:"sm",variant:"outline",colorScheme:"teal",children:"Edit On-page SEO"})}),(0,O.jsx)(Tn,{href:`/app/phases/landing_onpage_seo/landing_preview?projectId=${e}`,children:(0,O.jsx)(gt,{size:"sm",variant:"outline",colorScheme:"teal",children:"Open Landing Preview"})})]})]})]})]})})]})]})}function wY(e){return/^#[0-9a-fA-F]{6}$/.test(e.trim())}var U2e=["cover","section_divider","title_bullets","image_right","image_left","full_image","proof","closing"];function TY(e){let t=String(e??"").trim().toLowerCase();return U2e.includes(t)?t:""}function sv(e,t){let o=String(e??"").trim();return wY(o)?o.toUpperCase():t}function Af(e){return typeof e!="object"||e===null||Array.isArray(e)?{}:e}function Z2e(e){return Array.isArray(e)?e.map(t=>typeof t=="string"?t.trim():"").filter(Boolean):[]}function j2e(e){let t=String(e??"").trim().toLowerCase();return t==="high"?"high":t==="med"?"med":t==="medium"?"medium":"low"}function G2e(e){return(Array.isArray(e)?e:[]).map((o,r)=>{let n=Af(o),a=String(n.type??"custom").trim(),s=["title","problem","solution","product","market","competition","gtm","traction","team","ask","custom"].includes(a)?a:"custom",i=String(n.emphasis??"").trim().toLowerCase(),l=String(n.visualPriority??"").trim().toLowerCase(),c=String(n.imagePlacement??"").trim().toLowerCase();return{index:Math.max(1,Number(n.index??r+1)||r+1),type:s,title:String(n.title??"").trim(),bullets:Z2e(n.bullets),subtitle:String(n.subtitle??"").trim(),speakerNotes:String(n.speakerNotes??"").trim(),visualHint:String(n.visualHint??"").trim(),layout:TY(n.layout)||void 0,emphasis:["narrative","proof","visual","cta"].includes(i)?i:void 0,visualPriority:["low","medium","high"].includes(l)?l:void 0,imagePlacement:["none","left","right","full"].includes(c)?c:void 0,closingCta:String(n.closingCta??"").trim(),purpose:String(n.purpose??"").trim(),confidence:j2e(n.confidence),proofNeeded:String(n.proofNeeded??"").trim(),targetPersonaId:String(n.targetPersonaId??"").trim(),targetSegmentId:String(n.targetSegmentId??"").trim(),assumptionFlag:n.assumptionFlag===!0}}).sort((o,r)=>o.index-r.index)}function AY(e){let t=Af(e.deck),o=Af(t.theme),r=Af(e.brand),n=Af(r.colors),a=Af(r.logo),s="brand",i={background:sv(n.background,"#0B0F1A"),text:sv(n.text,"#FFFFFF"),accent:sv(n.primary,"#4F46E5")},l=String(a.pngPublicUrl??"").trim()||String(o.logoUrl??"").trim(),c=String(a.pngFilePath??"").trim()||String(o.logoFilePath??"").trim(),u=String(o.logoSvg??"").trim()||String(a.svg??"").trim();return{preset:s,font:"system",background:i.background,text:i.text,mutedText:sv(o.mutedText,"#A1A1AA"),accent:i.accent,logoUrl:l,logoFilePath:c,...u?{logoSvg:u}:{}}}function kY(e){let t=Af(e.deck);return G2e(t.slides)}var N=k(re());function Io(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)?e:{}}function oh(e){return Array.isArray(e)?e.map(t=>String(t??"").trim()).filter(Boolean):[]}function _u(e){let t=e.trim().toLowerCase();return t==="high"?"green":t==="medium"||t==="med"?"yellow":t==="low"?"red":"gray"}function ic(e,t=120){let o=e.trim();return o?o.length<=t?o:`${o.slice(0,t-1)}\u2026`:""}function MY(e,t){let o=e.toLowerCase(),r=t.toLowerCase().replace(/[^a-z0-9]+/g," ").split(" ").map(n=>n.trim()).filter(n=>n.length>=4);return r.length===0?!1:r.some(n=>o.includes(n))}function $2e(e){return Array.isArray(e)?e.map(t=>{let o=Io(t),r=String(o.name??"").trim();return r?{id:String(o.id??"").trim(),name:r,useCase:String(o.useCase??o.description??"").trim(),painIntensity:String(o.painIntensity??o.urgencyLevel??"").trim(),likelyACV:String(o.likelyACV??"").trim(),salesCycle:String(o.salesCycle??"").trim(),easeOfReach:String(o.easeOfReach??"").trim(),timeToValue:String(o.timeToValue??"").trim(),retentionPotential:String(o.retentionPotential??"").trim(),recommended:o.recommended===!0}:null}).filter(t=>t!==null).slice(0,8):[]}function q2e(e){return Array.isArray(e)?e.map(t=>{let o=Io(t),r=String(o.name??"").trim();return r?{type:String(o.type??"other").trim(),name:r,whyPeopleUseIt:String(o.whyPeopleUseIt??"").trim(),biggestWeakness:String(o.biggestWeakness??"").trim(),yourAdvantage:String(o.yourAdvantage??"").trim()}:null}).filter(t=>t!==null).slice(0,8):[]}function X2e(e){return Array.isArray(e)?e.map(t=>{let o=Io(t),r=String(o.name??"").trim();return r?{name:r,type:String(o.type??"").trim(),corePromise:String(o.corePromise??"").trim(),biggestWeakness:String(o.biggestWeakness??"").trim(),pricingModel:String(o.pricingModel??"").trim(),entryPrice:String(o.entryPrice??"").trim(),acquisitionChannels:oh(o.acquisitionChannels).slice(0,5)}:null}).filter(t=>t!==null).slice(0,12):[]}function Y2e(e,t,o){let r=String(t.primarySegmentId??"").trim().toLowerCase();if(r){let a=e.find(s=>s.id.trim().toLowerCase()===r);if(a)return a}let n=String(o.strongestSegment??"").trim().toLowerCase();if(n){let a=e.find(s=>s.name.trim().toLowerCase()===n);if(a)return a}return e.find(a=>a.recommended)??e[0]??null}function I9(e){let t=Io(e),o=Number(t.value??0),r=String(t.unit??"").trim();return!Number.isFinite(o)||o<=0?"\u2014":r?`${o.toLocaleString()} ${r}`:o.toLocaleString()}function LY({projectId:e,spec:t}){let o=Io(t.deck),r=Io(t.research),n=Io(r.marketDefinition),a=Io(r.marketSizing),s=Io(r.segmentAnalysis),i=Io(r.distributionAnalysis),l=Io(r.validationInsights),c=Io(r.moatSignals),u=Io(o.narrativeContext),m=kY(t),f=AY(t),d=m.filter(H=>H.confidence==="low"||H.assumptionFlag===!0||H.proofNeeded.trim().length>0),p=["title","problem","solution","market","competition","gtm","ask"],h=new Set(m.map(H=>H.type)),S=p.filter(H=>!h.has(H)),g=m.flatMap(H=>[H.title,...H.bullets,H.speakerNotes]).join(" ").toLowerCase(),b=$2e(s.segments),I=q2e(r.substitutes),v=X2e(r.competitors),C=Y2e(b,u,l),T=String(u.strongestOpening??"").trim()||String(l.strongestOpening??"").trim(),w=String(u.strongestPainLead??"").trim()||String(t.positioning&&Io(t.positioning).strongestPainLead).trim(),E=String(u.strongestSubstituteThreat??"").trim()||String(l.strongestSubstituteThreat??"").trim(),B=String(u.strongestChannelOpportunity??"").trim()||String(l.strongestChannelOpportunity??"").trim(),L=String(u.buyer??"").trim()||String(n.buyer??"").trim(),_=String(u.endUser??"").trim()||String(n.endUser??"").trim(),j=String(n.budgetOwner??"").trim(),ne=String(u.whyNow??"").trim()||String(t.idea&&Io(t.idea).whyNow).trim()||String(n.marketTiming??"").trim(),K=Io(a.confidence),ie=oh(a.assumptions),se=oh(a.missingData),W=oh(i.topObservedChannels),de=Array.isArray(i.channelPatterns)?i.channelPatterns.map(H=>Io(H)).filter(H=>String(H.channel??"").trim()).slice(0,8):[],q=S.length===0?"Story arc complete":`Missing ${S.length} core sections`,fe=S.length===0?"green":"yellow",he=d[0]??null,ge=Array.isArray(Io(o.verification).checklist)?Io(o.verification).checklist:[],J=ge.filter(H=>Io(H).done===!0).length,X=Io(o.export),ee=String(Io(X.pptx).publicUrl??"").trim(),pe=String(Io(X.pdf).publicUrl??"").trim();return(0,N.jsxs)(Hr,{colorScheme:"teal",variant:"line",isLazy:!0,children:[(0,N.jsxs)(Or,{children:[(0,N.jsx)(nt,{children:"Overview"}),(0,N.jsx)(nt,{children:"Story + Proof"}),(0,N.jsx)(nt,{children:"Competition + GTM"}),(0,N.jsx)(nt,{children:"Audience + Credibility"})]}),(0,N.jsxs)(Vr,{children:[(0,N.jsx)(Ke,{px:0,pt:4,children:(0,N.jsxs)(z,{spacing:4,children:[(0,N.jsxs)(Pe,{columns:{base:1,xl:2},spacing:4,children:[(0,N.jsxs)(P,{layerStyle:"notchedCard",borderWidth:"1px",borderColor:"surface.border",p:4,bg:"surface.base",children:[(0,N.jsxs)(Z,{justify:"space-between",mb:2,children:[(0,N.jsx)(x,{fontWeight:"semibold",children:"Deck Story Summary"}),(0,N.jsx)($,{colorScheme:fe,children:q})]}),(0,N.jsxs)(z,{spacing:2,fontSize:"sm",children:[(0,N.jsxs)(x,{children:[(0,N.jsx)("strong",{children:"Primary segment:"})," ",C?.name||"\u2014"]}),(0,N.jsxs)(x,{children:[(0,N.jsx)("strong",{children:"Strongest opening:"})," ",T||"\u2014"]}),(0,N.jsxs)(x,{children:[(0,N.jsx)("strong",{children:"Strongest pain lead:"})," ",w||"\u2014"]}),(0,N.jsxs)(x,{children:[(0,N.jsx)("strong",{children:"Substitute threat:"})," ",E||"\u2014"]}),(0,N.jsxs)(x,{children:[(0,N.jsx)("strong",{children:"Channel opportunity:"})," ",B||"\u2014"]}),(0,N.jsxs)(x,{children:[(0,N.jsx)("strong",{children:"Why now:"})," ",ne||"\u2014"]})]})]}),(0,N.jsxs)(P,{layerStyle:"notchedCard",borderWidth:"1px",borderColor:"surface.border",p:4,bg:"surface.base",children:[(0,N.jsxs)(Z,{justify:"space-between",mb:2,children:[(0,N.jsx)(x,{fontWeight:"semibold",children:"Slide Quality + Confidence"}),(0,N.jsx)($,{colorScheme:d.length>0?"yellow":"green",children:d.length>0?`${d.length} proof gap(s)`:"Healthy"})]}),(0,N.jsxs)(z,{spacing:2,fontSize:"sm",children:[(0,N.jsxs)(x,{children:[(0,N.jsx)("strong",{children:"Total slides:"})," ",m.length]}),(0,N.jsxs)(x,{children:[(0,N.jsx)("strong",{children:"Low confidence / assumption-heavy:"})," ",d.length]}),(0,N.jsxs)(x,{children:[(0,N.jsx)("strong",{children:"Verification checklist:"})," ",J,"/",ge.length]}),(0,N.jsxs)(x,{children:[(0,N.jsx)("strong",{children:"Theme accent:"})," ",f.accent]}),(0,N.jsxs)(x,{children:[(0,N.jsx)("strong",{children:"PPTX export:"})," ",ee?"Ready":"Missing"]}),(0,N.jsxs)(x,{children:[(0,N.jsx)("strong",{children:"PDF export:"})," ",pe?"Ready":"Missing"]})]}),ee||pe?(0,N.jsxs)(Z,{spacing:2,pt:2,children:[ee?(0,N.jsx)(Tn,{href:ee,target:"_blank",rel:"noreferrer",children:(0,N.jsx)(gt,{size:"sm",variant:"outline",colorScheme:"teal",children:"Open PPTX"})}):null,pe?(0,N.jsx)(Tn,{href:pe,target:"_blank",rel:"noreferrer",children:(0,N.jsx)(gt,{size:"sm",variant:"outline",colorScheme:"teal",children:"Open PDF"})}):null]}):null]})]}),!ee||!pe?(0,N.jsxs)(dt,{status:"info",borderRadius:"md",children:[(0,N.jsx)(pt,{}),(0,N.jsxs)(ht,{children:["Deck exports are incomplete.",(0,N.jsx)(Tn,{href:`/app/phases/pitch_deck/deck_export?projectId=${e}`,children:(0,N.jsx)(gt,{size:"sm",ml:3,colorScheme:"teal",variant:"outline",children:"Open deck export"})})]})]}):null]})}),(0,N.jsx)(Ke,{px:0,pt:4,children:(0,N.jsxs)(z,{spacing:4,children:[(0,N.jsxs)(Pe,{columns:{base:1,xl:2},spacing:4,children:[(0,N.jsxs)(P,{layerStyle:"notchedCard",borderWidth:"1px",borderColor:"surface.border",p:4,bg:"surface.base",children:[(0,N.jsxs)(Z,{justify:"space-between",mb:2,children:[(0,N.jsx)(x,{fontWeight:"semibold",children:"Story Arc Strength"}),(0,N.jsx)($,{colorScheme:fe,children:S.length===0?"Strong":"Needs fixes"})]}),S.length===0?(0,N.jsx)(x,{fontSize:"sm",color:"text.muted",children:"Core persuasion sequence is present: problem \u2192 solution \u2192 market \u2192 competition \u2192 GTM \u2192 ask."}):(0,N.jsxs)(x,{fontSize:"sm",color:"text.muted",children:["Missing sections: ",S.join(", "),"."]}),(0,N.jsx)(so,{my:3}),(0,N.jsx)(x,{fontWeight:"semibold",mb:2,children:"Proof Gap Widget"}),d.length>0?(0,N.jsx)(st,{spacing:2,children:d.slice(0,8).map(H=>(0,N.jsxs)(Ze,{children:["Slide ",H.index," (",H.type,"): ",H.proofNeeded||"Assumption-heavy claim needs evidence."]},`gap-${H.index}`))}):(0,N.jsx)(x,{fontSize:"sm",color:"text.muted",children:"No explicit proof gaps were flagged in current slide metadata."})]}),(0,N.jsxs)(P,{layerStyle:"notchedCard",borderWidth:"1px",borderColor:"surface.border",p:4,bg:"surface.base",children:[(0,N.jsx)(x,{fontWeight:"semibold",mb:2,children:"Market Credibility"}),(0,N.jsxs)(z,{spacing:2,fontSize:"sm",children:[(0,N.jsxs)(x,{children:[(0,N.jsx)("strong",{children:"TAM:"})," ",I9(a.tam)," ",(0,N.jsx)($,{colorScheme:_u(String(K.tam??"")),children:String(K.tam??"low")||"low"})]}),(0,N.jsxs)(x,{children:[(0,N.jsx)("strong",{children:"SAM:"})," ",I9(a.sam)," ",(0,N.jsx)($,{colorScheme:_u(String(K.sam??"")),children:String(K.sam??"low")||"low"})]}),(0,N.jsxs)(x,{children:[(0,N.jsx)("strong",{children:"SOM:"})," ",I9(a.som)," ",(0,N.jsx)($,{colorScheme:_u(String(K.som??"")),children:String(K.som??"low")||"low"})]})]}),(0,N.jsx)(so,{my:3}),(0,N.jsx)(x,{fontWeight:"semibold",mb:2,children:"Top assumptions"}),ie.length>0?(0,N.jsx)(st,{spacing:2,children:ie.slice(0,6).map(H=>(0,N.jsx)(Ze,{children:H},`assumption-${H}`))}):(0,N.jsx)(x,{fontSize:"sm",color:"text.muted",children:"No explicit market assumptions tracked yet."}),se.length>0?(0,N.jsxs)(N.Fragment,{children:[(0,N.jsx)(so,{my:3}),(0,N.jsx)(x,{fontWeight:"semibold",mb:2,children:"Missing proof areas"}),(0,N.jsx)(ot,{spacing:2,children:se.slice(0,8).map(H=>(0,N.jsx)(Se,{children:(0,N.jsx)($,{colorScheme:"orange",variant:"subtle",children:ic(H,60)})},`missing-${H}`))})]}):null]})]}),he?(0,N.jsxs)(dt,{status:"warning",borderRadius:"md",children:[(0,N.jsx)(pt,{}),(0,N.jsxs)(ht,{children:["Highest-leverage fix: add stronger proof to slide ",he.index," (",he.type,")."]})]}):null]})}),(0,N.jsx)(Ke,{px:0,pt:4,children:(0,N.jsx)(z,{spacing:4,children:(0,N.jsxs)(Pe,{columns:{base:1,xl:2},spacing:4,children:[(0,N.jsxs)(P,{layerStyle:"notchedCard",borderWidth:"1px",borderColor:"surface.border",p:4,bg:"surface.base",children:[(0,N.jsx)(x,{fontWeight:"semibold",mb:2,children:"Competition + Substitute Framing"}),v.length>0?(0,N.jsx)(z,{spacing:3,children:v.slice(0,4).map(H=>(0,N.jsxs)(P,{borderWidth:"1px",borderColor:"surface.border",borderRadius:"md",p:3,children:[(0,N.jsxs)(Z,{justify:"space-between",mb:1,children:[(0,N.jsx)(x,{fontWeight:"semibold",children:H.name}),(0,N.jsx)($,{colorScheme:H.type==="direct"?"red":H.type==="substitute"?"purple":"blue",children:H.type||"unknown"})]}),(0,N.jsxs)(x,{fontSize:"sm",children:[(0,N.jsx)("strong",{children:"Core promise:"})," ",ic(H.corePromise||"\u2014",90)]}),(0,N.jsxs)(x,{fontSize:"sm",children:[(0,N.jsx)("strong",{children:"Weakness:"})," ",ic(H.biggestWeakness||"\u2014",90)]}),(0,N.jsxs)(x,{fontSize:"sm",children:[(0,N.jsx)("strong",{children:"Pricing:"})," ",H.pricingModel||"\u2014",H.entryPrice?` (${H.entryPrice})`:""]})]},`competitor-${H.name}`))}):(0,N.jsx)(x,{fontSize:"sm",color:"text.muted",children:"No competitors mapped yet for deck framing."})]}),(0,N.jsxs)(P,{layerStyle:"notchedCard",borderWidth:"1px",borderColor:"surface.border",p:4,bg:"surface.base",children:[(0,N.jsx)(x,{fontWeight:"semibold",mb:2,children:"Substitute Persuasion"}),I.length>0?(0,N.jsx)(z,{spacing:3,children:I.slice(0,4).map(H=>(0,N.jsxs)(P,{borderWidth:"1px",borderColor:"surface.border",borderRadius:"md",p:3,children:[(0,N.jsxs)(Z,{justify:"space-between",mb:1,children:[(0,N.jsx)(x,{fontWeight:"semibold",children:H.name}),(0,N.jsx)($,{colorScheme:"purple",variant:"subtle",children:H.type||"other"})]}),(0,N.jsxs)(x,{fontSize:"sm",children:[(0,N.jsx)("strong",{children:"Why users stick:"})," ",ic(H.whyPeopleUseIt||"\u2014",100)]}),(0,N.jsxs)(x,{fontSize:"sm",children:[(0,N.jsx)("strong",{children:"Weakness:"})," ",ic(H.biggestWeakness||"\u2014",100)]}),(0,N.jsxs)(x,{fontSize:"sm",children:[(0,N.jsx)("strong",{children:"Your angle:"})," ",ic(H.yourAdvantage||"\u2014",100)]})]},`substitute-${H.name}`))}):(0,N.jsx)(x,{fontSize:"sm",color:"text.muted",children:"No substitute behaviors are documented yet."}),E?(0,N.jsxs)(dt,{status:MY(g,E)?"success":"warning",borderRadius:"md",mt:3,children:[(0,N.jsx)(pt,{}),(0,N.jsxs)(ht,{children:["Strongest substitute threat: ",E,". ",MY(g,E)?"Deck copy already addresses it.":"Deck copy does not clearly address it yet."]})]}):null]})]})})}),(0,N.jsx)(Ke,{px:0,pt:4,children:(0,N.jsxs)(z,{spacing:4,children:[(0,N.jsxs)(Pe,{columns:{base:1,xl:2},spacing:4,children:[(0,N.jsxs)(P,{layerStyle:"notchedCard",borderWidth:"1px",borderColor:"surface.border",p:4,bg:"surface.base",children:[(0,N.jsx)(x,{fontWeight:"semibold",mb:2,children:"Segment + Buyer Clarity"}),(0,N.jsxs)(z,{spacing:2,fontSize:"sm",children:[(0,N.jsxs)(x,{children:[(0,N.jsx)("strong",{children:"Primary segment:"})," ",C?.name||"\u2014"]}),(0,N.jsxs)(x,{children:[(0,N.jsx)("strong",{children:"Buyer:"})," ",L||"\u2014"]}),(0,N.jsxs)(x,{children:[(0,N.jsx)("strong",{children:"End user:"})," ",_||"\u2014"]}),(0,N.jsxs)(x,{children:[(0,N.jsx)("strong",{children:"Budget owner:"})," ",j||"\u2014"]}),(0,N.jsxs)(x,{children:[(0,N.jsx)("strong",{children:"Segment use case:"})," ",C?.useCase||"\u2014"]})]}),(0,N.jsx)(so,{my:3}),(0,N.jsx)(ot,{spacing:2,children:C?(0,N.jsxs)(N.Fragment,{children:[(0,N.jsx)(Se,{children:(0,N.jsxs)($,{colorScheme:_u(C.painIntensity),variant:"subtle",children:["Pain: ",C.painIntensity||"unknown"]})}),(0,N.jsx)(Se,{children:(0,N.jsxs)($,{colorScheme:_u(C.easeOfReach),variant:"subtle",children:["Reach: ",C.easeOfReach||"unknown"]})}),(0,N.jsx)(Se,{children:(0,N.jsxs)($,{colorScheme:_u(C.timeToValue),variant:"subtle",children:["TTV: ",C.timeToValue||"unknown"]})}),(0,N.jsx)(Se,{children:(0,N.jsxs)($,{colorScheme:_u(C.retentionPotential),variant:"subtle",children:["Retention: ",C.retentionPotential||"unknown"]})})]}):(0,N.jsx)(Se,{children:(0,N.jsx)($,{colorScheme:"yellow",variant:"subtle",children:"No primary segment selected"})})}),(0,N.jsxs)(x,{fontSize:"sm",color:"text.muted",mt:3,children:["Likely ACV / sales cycle: ",C?.likelyACV||"\u2014"," \xB7 ",C?.salesCycle||"\u2014"]})]}),(0,N.jsxs)(P,{layerStyle:"notchedCard",borderWidth:"1px",borderColor:"surface.border",p:4,bg:"surface.base",children:[(0,N.jsx)(x,{fontWeight:"semibold",mb:2,children:"GTM Credibility"}),(0,N.jsxs)(z,{spacing:2,fontSize:"sm",children:[(0,N.jsxs)(x,{children:[(0,N.jsx)("strong",{children:"Strongest channel opportunity:"})," ",B||"\u2014"]}),(0,N.jsxs)(x,{children:[(0,N.jsx)("strong",{children:"Observed channels:"})," ",W.slice(0,5).join(", ")||"\u2014"]})]}),(0,N.jsx)(so,{my:3}),de.length>0?(0,N.jsx)(z,{spacing:2,children:de.slice(0,5).map((H,ce)=>(0,N.jsxs)(P,{borderWidth:"1px",borderColor:"surface.border",borderRadius:"md",p:2,children:[(0,N.jsxs)(Z,{justify:"space-between",children:[(0,N.jsx)(x,{fontSize:"sm",fontWeight:"semibold",children:String(H.channel??"unknown")}),(0,N.jsxs)($,{colorScheme:_u(String(H.saturation??"")),children:[String(H.saturation??"unknown")||"unknown"," saturation"]})]}),(0,N.jsx)(x,{fontSize:"sm",color:"text.muted",children:ic(String(H.opportunity??"").trim()||"No explicit opportunity note.",110)})]},`channel-${ce}`))}):(0,N.jsx)(x,{fontSize:"sm",color:"text.muted",children:"No distribution channel pattern data available yet."})]})]}),(0,N.jsxs)(Pe,{columns:{base:1,xl:2},spacing:4,children:[(0,N.jsxs)(P,{layerStyle:"notchedCard",borderWidth:"1px",borderColor:"surface.border",p:4,bg:"surface.base",children:[(0,N.jsx)(x,{fontWeight:"semibold",mb:2,children:"Moat Angle"}),(0,N.jsx)(st,{spacing:2,children:oh([c.proprietaryWorkflowPotential,c.embeddednessPotential,c.switchingCostPotential,c.dataAdvantagePotential,c.distributionAdvantagePotential,c.integrationDependencyPotential]).slice(0,6).map(H=>(0,N.jsx)(Ze,{children:ic(H,140)},`moat-${H}`))}),oh([c.proprietaryWorkflowPotential,c.embeddednessPotential,c.switchingCostPotential,c.dataAdvantagePotential,c.distributionAdvantagePotential,c.integrationDependencyPotential]).length===0?(0,N.jsx)(x,{fontSize:"sm",color:"text.muted",children:"No moat hypotheses captured yet."}):null]}),(0,N.jsxs)(P,{layerStyle:"notchedCard",borderWidth:"1px",borderColor:"surface.border",p:4,bg:"surface.base",children:[(0,N.jsx)(x,{fontWeight:"semibold",mb:2,children:"Proof Gap Widget"}),d.length>0?(0,N.jsx)(st,{spacing:2,children:d.slice(0,8).map(H=>(0,N.jsxs)(Ze,{children:["Slide ",H.index," (",H.type,") \xB7 confidence=",H.confidence,H.assumptionFlag?" \xB7 assumption flagged":"",H.proofNeeded?` \xB7 ${ic(H.proofNeeded,80)}`:""]},`proof-${H.index}`))}):(0,N.jsx)(x,{fontSize:"sm",color:"text.muted",children:"No explicit proof gaps in slide metadata."})]})]})]})})]})]})}var Ve=k(re());function PY(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)?e:{}}function rh(e){return typeof e=="string"?e.trim():""}function K2e(e){return Array.isArray(e)?e.map(rh).filter(Boolean):[]}function v9({label:e,value:t,icon:o}){return(0,Ve.jsxs)(P,{layerStyle:"notchedInset",borderWidth:"1px",borderColor:"surface.border",p:3.5,bg:"surface.muted",h:"full",children:[(0,Ve.jsxs)(Z,{spacing:2,mb:2,color:"brand.600",align:"center",children:[(0,Ve.jsx)(o,{size:20,weight:"duotone"}),(0,Ve.jsx)(x,{fontSize:"xs",textTransform:"uppercase",letterSpacing:"wide",fontWeight:"semibold",color:"text.muted",children:e})]}),(0,Ve.jsx)(x,{fontWeight:"semibold",lineHeight:"tall",children:t||"Not captured yet."})]})}function EY({spec:e}){let t=PY(e.existingProduct),o=PY(e.feature),r=rh(o.description),n=rh(o.problem),a=rh(t.description),s=rh(o.currentWorkflow),i=rh(o.desiredOutcome),l=K2e(o.successMetrics),c=o.changesExistingWorkflow===!0,u=[r,n,s,i,...l].filter(Boolean).length;return(0,Ve.jsxs)(z,{spacing:4,children:[(0,Ve.jsx)(P,{layerStyle:"notchedCard",borderWidth:"1px",borderColor:"surface.border",p:4,bg:"surface.base",children:(0,Ve.jsxs)(z,{spacing:4,children:[(0,Ve.jsxs)(Z,{justify:"space-between",align:{base:"start",md:"center"},flexWrap:"wrap",spacing:2,children:[(0,Ve.jsxs)(z,{spacing:.5,children:[(0,Ve.jsx)(at,{size:"sm",children:"Feature Definition Snapshot"}),(0,Ve.jsx)(x,{fontSize:"sm",color:"text.muted",children:"The same concise Product Ideation handoff pattern, focused on one feature inside an existing product."})]}),(0,Ve.jsxs)($,{colorScheme:u>=5?"green":"yellow",variant:"subtle",children:[u," definition signals"]})]}),(0,Ve.jsxs)(Pe,{columns:{base:1,md:2,xl:3},spacing:3,children:[(0,Ve.jsx)(v9,{label:"Feature",value:r,icon:$n}),(0,Ve.jsx)(v9,{label:"Problem",value:n,icon:da}),(0,Ve.jsx)(v9,{label:"Existing product",value:a,icon:nL})]})]})}),(0,Ve.jsx)(P,{layerStyle:"notchedCard",borderWidth:"1px",borderColor:"surface.border",p:4,bg:"surface.base",children:(0,Ve.jsxs)(z,{spacing:4,children:[(0,Ve.jsxs)(Z,{justify:"space-between",align:{base:"start",md:"center"},flexWrap:"wrap",spacing:2,children:[(0,Ve.jsxs)(z,{spacing:.5,children:[(0,Ve.jsx)(at,{size:"sm",children:"Feature JTBD Handoff"}),(0,Ve.jsx)(x,{fontSize:"sm",color:"text.muted",children:"Starting state, desired outcome, and measurable success carried into validation."})]}),(0,Ve.jsx)($,{colorScheme:s&&i?"green":"gray",variant:"subtle",children:c?"Changes an existing workflow":"Adds a new capability"})]}),(0,Ve.jsxs)(Pe,{columns:{base:1,lg:11},spacing:3,alignItems:"stretch",children:[(0,Ve.jsxs)(P,{layerStyle:"notchedInset",gridColumn:{lg:"span 5"},borderWidth:"1px",borderColor:"surface.border",p:4,bg:"surface.muted",children:[(0,Ve.jsxs)(Z,{spacing:2,mb:2,color:"brand.600",children:[(0,Ve.jsx)(of,{size:20,weight:"duotone"}),(0,Ve.jsx)(x,{fontSize:"xs",textTransform:"uppercase",letterSpacing:"wide",fontWeight:"semibold",color:"text.muted",children:c?"What happens today":"Starting state"})]}),(0,Ve.jsx)(x,{fontWeight:"semibold",lineHeight:"tall",children:s||"Not captured yet."})]}),(0,Ve.jsx)(P,{gridColumn:{lg:"span 1"},display:"flex",alignItems:"center",justifyContent:"center",color:"brand.500",transform:{base:"rotate(90deg)",lg:"none"},children:(0,Ve.jsx)(jl,{size:24,weight:"duotone"})}),(0,Ve.jsxs)(P,{layerStyle:"notchedInset",gridColumn:{lg:"span 5"},borderWidth:"1px",borderColor:"green.200",p:4,bg:"green.50",children:[(0,Ve.jsxs)(Z,{spacing:2,mb:2,color:"green.700",children:[(0,Ve.jsx)(oi,{size:20,weight:"duotone"}),(0,Ve.jsx)(x,{fontSize:"xs",textTransform:"uppercase",letterSpacing:"wide",fontWeight:"semibold",children:"What should happen instead"})]}),(0,Ve.jsx)(x,{fontWeight:"semibold",color:"green.900",lineHeight:"tall",children:i||"Not captured yet."})]})]}),(0,Ve.jsxs)(P,{layerStyle:"notchedInset",borderWidth:"1px",borderColor:"surface.border",p:4,bg:"surface.muted",children:[(0,Ve.jsxs)(Z,{justify:"space-between",mb:3,children:[(0,Ve.jsx)(at,{size:"sm",children:"Observable success"}),(0,Ve.jsxs)($,{variant:"subtle",children:[l.length," metrics"]})]}),l.length>0?(0,Ve.jsx)(st,{children:l.map((m,f)=>(0,Ve.jsx)(Ze,{indicatorIcon:oi,indicatorColor:"green.400",children:(0,Ve.jsx)(x,{fontSize:"sm",lineHeight:"tall",children:m})},`${f}-${m}`))}):(0,Ve.jsx)(x,{fontSize:"sm",color:"text.muted",children:"No success metrics captured yet."})]})]})})]})}var D=k(re()),w9=["statement","assumption","hypothesis","test","risk","pattern","summary","description","value","text"],Q2e=new Set(["confidence","type","crowding","evidence strength","feature overlap","priority","saturation","status"]),J2e=new Set(["evidence","evidence source","evidence sources","source","sources","url","urls"]);function Ca(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)?e:{}}function zr(e){return typeof e=="string"?e.trim():typeof e=="number"||typeof e=="boolean"?String(e):""}function Hu(e){let t=e.replace(/([a-z0-9])([A-Z])/g,"$1 $2").replace(/[_-]+/g," ").replace(/\s+/g," ").trim();return t?t.charAt(0).toUpperCase()+t.slice(1):"Detail"}function BY(e){return/^id$/i.test(e)||/(?:^|[_-])ids?$/i.test(e)||/[a-z0-9]Ids?$/.test(e)}function T9(e){return e.split("\xB7").at(-1)?.trim().toLowerCase()??e.trim().toLowerCase()}function DY(e){return Q2e.has(T9(e.label))&&e.values.every(t=>t.length<=32&&!/^https?:\/\//i.test(t))}function ebe(e){return J2e.has(T9(e.label))||e.values.some(t=>/^https?:\/\//i.test(t))}function tbe(e,t){let o=T9(e.label),r=t.trim().toLowerCase();if(o==="confidence"||o==="evidence strength"){if(r==="high")return"green";if(r==="medium"||r==="med")return"yellow";if(r==="low")return"red"}return"gray"}function obe(e){try{let t=new URL(e),o=t.hostname.replace(/^www\./,""),r=decodeURIComponent(t.pathname).replace(/\/$/,"");if(!r)return o;let n=r.length>46?`${r.slice(0,43)}\u2026`:r;return`${o}${n}`}catch{return e}}function _s(e){let t=zr(e);return t?[t]:Array.isArray(e)?e.flatMap(o=>{let r=zr(o);if(r)return[r];let n=Ca(o),a=w9.map(s=>zr(n[s])).find(Boolean);return a?[a]:[]}):[]}function RY(e,t){return t.map(o=>zr(e[o])).find(Boolean)??""}function C9(e,t){for(let o of t){let r=_s(e[o]);if(r.length>0)return r}return[]}function _Y(e,t=[]){let o=new Set(t),r=[];for(let[n,a]of Object.entries(e)){if(o.has(n)||BY(n))continue;let s=_s(a);if(s.length>0){r.push({label:Hu(n),values:s});continue}let i=Ca(a);for(let[l,c]of Object.entries(i)){if(BY(l))continue;let u=_s(c);u.length>0&&r.push({label:`${Hu(n)} \xB7 ${Hu(l)}`,values:u})}}return r}function lc({children:e}){return(0,D.jsx)(P,{minW:0,sx:{columnCount:{base:1,xl:2},columnGap:"var(--chakra-space-3)"},children:e})}function Rs({children:e}){return(0,D.jsx)(P,{mb:3,minW:0,sx:{breakInside:"avoid",pageBreakInside:"avoid"},children:e})}function lv(e){if(Array.isArray(e))return e;let t=Ca(e);return Object.keys(t).length===0?[]:w9.some(o=>o in t)||"title"in t||"name"in t?[t]:Object.entries(t).map(([o,r])=>{let n=Ca(r);return Object.keys(n).length>0?{title:Hu(o),...n}:{title:Hu(o),value:r}})}function nh(e,t){return lv(e).map((o,r)=>{let n=zr(o);if(n)return{title:`${t} ${r+1}`,lead:n,details:[]};let a=Ca(o),s=RY(a,["title","name","label","behavior","product","workflow","category"]),i=w9.find(m=>zr(a[m])),l=i?zr(a[i]):"",c=["title","name","label","behavior","product","workflow","category",...i?[i]:[]],u=_Y(a,c);return!s&&!l&&u.length===0?null:{title:s||`${t} ${r+1}`,lead:l,details:u}}).filter(o=>o!==null)}function rbe(e){return lv(e).map(t=>{let o=Ca(t),r=zr(o.id),n=zr(o.title);if(!r||!n)return null;let a=Number(o.score);return{id:r,title:n,summary:zr(o.summary),score:Number.isFinite(a)?Math.max(0,Math.min(100,Math.round(a))):0,scoreLabel:zr(o.scoreLabel),bullets:_s(o.bullets).slice(0,6)}}).filter(t=>t!==null).slice(0,2)}function Fu({children:e}){return(0,D.jsx)(P,{layerStyle:"notchedInset",borderWidth:"1px",borderColor:"surface.border",p:4,bg:"surface.muted",children:(0,D.jsx)(x,{fontSize:"sm",color:"text.muted",children:e})})}function nbe({rows:e,edgeToEdge:t=!1}){if(e.length===0)return null;let o=e.filter(DY),r=e.filter(n=>!DY(n));return(0,D.jsxs)(z,{spacing:t?0:3,minW:0,children:[o.length>0?(0,D.jsx)(P,{px:t?4:0,pb:t?3:0,children:(0,D.jsx)(ot,{spacing:2,children:o.flatMap(n=>n.values.map((a,s)=>(0,D.jsx)(Se,{children:(0,D.jsxs)($,{variant:"subtle",colorScheme:tbe(n,a),whiteSpace:"normal",maxW:"100%",overflowWrap:"anywhere",children:[n.label,": ",Hu(a)]})},`${n.label}-${s}-${a}`)))})}):null,r.map((n,a)=>{let s=ebe(n);return(0,D.jsxs)(P,{borderTopWidth:"1px",borderColor:"surface.border",pt:3,pb:t?3:0,px:t?4:0,minW:0,children:[(0,D.jsx)(x,{fontSize:"xs",fontWeight:"semibold",color:"text.muted",textTransform:"uppercase",letterSpacing:"0.08em",mb:1.5,children:n.label}),(0,D.jsx)(z,{spacing:s?2:1.5,minW:0,children:n.values.map((i,l)=>{let c=/^https?:\/\//i.test(i);return s&&c?(0,D.jsxs)(n0,{href:i,isExternal:!0,color:"brand.600",fontSize:"sm",fontWeight:"semibold",lineHeight:"short",maxW:"100%",overflowWrap:"anywhere",textDecoration:"underline",textUnderlineOffset:"2px",title:i,children:[obe(i)," ",(0,D.jsx)(tf,{size:13,style:{display:"inline",verticalAlign:"-1px"}})]},`${n.label}-${l}-${i}`):(0,D.jsx)(x,{fontSize:"sm",lineHeight:"tall",overflowWrap:"anywhere",children:i},`${n.label}-${l}-${i}`)})})]},`${n.label}-${a}`)})]})}function ah({item:e,tone:t="default"}){let o=t==="risk"?{borderColor:"orange.200",bg:"orange.50"}:t==="test"?{borderColor:"blue.100",bg:"blue.50"}:{borderColor:"surface.border",bg:"surface.muted"},r=t==="risk"?pa:t==="test"?b8:hu,n=t==="risk"?"orange.600":t==="test"?"blue.600":"brand.600";return(0,D.jsxs)(P,{borderWidth:"1px",borderRadius:"md",minW:0,overflow:"hidden",...o,children:[(0,D.jsx)(P,{px:4,pt:4,pb:e.details.length>0?3:4,children:(0,D.jsxs)(Z,{spacing:2.5,align:"start",children:[(0,D.jsx)(P,{color:n,flexShrink:0,pt:"2px",children:(0,D.jsx)(r,{size:20,weight:"duotone"})}),(0,D.jsxs)(z,{spacing:1,minW:0,children:[(0,D.jsx)(x,{fontWeight:"semibold",lineHeight:"short",overflowWrap:"anywhere",children:e.title}),e.lead?(0,D.jsx)(x,{fontSize:"sm",lineHeight:"tall",overflowWrap:"anywhere",children:e.lead}):null]})]})}),(0,D.jsx)(nbe,{rows:e.details,edgeToEdge:!0})]})}function abe({row:e}){let t=e.label.toLowerCase(),o=t.includes("language"),r=t.includes("urgency"),n=t.includes("frequency"),a=t.includes("trigger"),s=t.includes("substitute")||t.includes("workaround"),i=o?c2:r?KM:n?LM:a?_M:s?Ri:hu,l=r?"orange.600":a?"green.600":o?"purple.600":"brand.600",c=r?"orange.200":a?"green.200":o?"purple.200":"surface.border";return(0,D.jsxs)(P,{borderWidth:"1px",borderColor:c,borderRadius:"md",bg:r?"orange.50":a?"green.50":o?"purple.50":"surface.muted",minW:0,overflow:"hidden",children:[(0,D.jsxs)(Z,{spacing:2.5,px:4,py:3,color:l,align:"start",children:[(0,D.jsx)(P,{flexShrink:0,pt:"2px",children:(0,D.jsx)(i,{size:20,weight:"duotone"})}),(0,D.jsx)(x,{fontWeight:"semibold",color:"text.default",overflowWrap:"anywhere",children:e.label})]}),(0,D.jsx)(P,{borderTopWidth:"1px",borderColor:c,px:4,py:3,minW:0,children:e.values.length===1?(0,D.jsx)(x,{fontSize:"sm",lineHeight:"tall",overflowWrap:"anywhere",children:e.values[0]}):(0,D.jsx)(st,{children:e.values.map((m,f)=>(0,D.jsx)(Ze,{indicatorIcon:o?c2:void 0,indicatorColor:l,children:(0,D.jsx)(x,{fontSize:"sm",lineHeight:"tall",overflowWrap:"anywhere",children:m})},`${e.label}-${f}-${m}`))})})]})}function iv({label:e,value:t,helper:o}){return(0,D.jsxs)(P,{layerStyle:"notchedInset",borderWidth:"1px",borderColor:"surface.border",p:3.5,bg:"surface.muted",children:[(0,D.jsx)(x,{fontSize:"xs",textTransform:"uppercase",letterSpacing:"wide",color:"text.muted",mb:1,children:e}),(0,D.jsx)(x,{fontSize:{base:"2xl",md:"3xl"},fontWeight:"bold",lineHeight:"1.1",children:t}),(0,D.jsx)(x,{fontSize:"xs",color:"text.muted",mt:1.5,children:o})]})}function sbe({option:e,selected:t}){let o=e.score>=80?"green":e.score>=60?"purple":"orange";return(0,D.jsx)(P,{borderWidth:t?"2px":"1px",borderColor:t?"brand.300":"surface.border",borderRadius:"md",p:4,bg:t?"purple.50":"surface.muted",children:(0,D.jsxs)(z,{spacing:3,children:[(0,D.jsxs)(Z,{justify:"space-between",align:"start",spacing:3,children:[(0,D.jsxs)(z,{spacing:1,children:[t?(0,D.jsx)($,{colorScheme:"purple",alignSelf:"start",children:"Selected wedge"}):null,(0,D.jsx)(at,{size:"sm",children:e.title})]}),(0,D.jsxs)($,{colorScheme:o,variant:"subtle",flexShrink:0,children:[e.score,"%"]})]}),(0,D.jsxs)(P,{children:[(0,D.jsxs)(Z,{justify:"space-between",mb:1.5,children:[(0,D.jsx)(x,{fontSize:"xs",color:"text.muted",textTransform:"uppercase",letterSpacing:"wide",children:e.scoreLabel||"Direction score"}),(0,D.jsxs)(x,{fontSize:"xs",fontWeight:"bold",children:[e.score,"/100"]})]}),(0,D.jsx)(fa,{value:e.score,size:"sm",borderRadius:"full",colorScheme:o,bg:"surface.border"})]}),e.summary?(0,D.jsx)(x,{fontSize:"sm",lineHeight:"tall",children:e.summary}):null,e.bullets.length>0?(0,D.jsx)(st,{children:e.bullets.map((r,n)=>(0,D.jsx)(Ze,{indicatorIcon:$n,indicatorColor:"brand.400",children:(0,D.jsx)(x,{fontSize:"sm",children:r})},`${e.id}-${n}-${r}`))}):null]})})}function FY({spec:e}){let t=Ca(e.feature),o=Ca(e.validation),r=Ca(e.choices),n=Ca(r.wedge),a=Ca(o.userHypothesis),s=Ca(o.customerSentiment),i=Ca(o.landscapeSummary),l=RY(a,["statement","hypothesis","summary","description"]),c=C9(a,["affectedUsers","targetUsers","users","segments"]),u=c.length>0?c:_s(t.targetUsers),m=C9(a,["expectedValue","value","benefits","outcomes"]),f=[zr(t.desiredOutcome),..._s(t.successMetrics)].filter(Boolean),d=m.length>0?m:f,p=C9(a,["likelyObjections","objections","barriers","concerns"]),h=_Y(a,["statement","hypothesis","summary","description","affectedUsers","targetUsers","users","segments","expectedValue","value","benefits","outcomes","likelyObjections","objections","barriers","concerns"]),S=nh(o.assumptions,"Assumption"),g=nh(o.competitors,"Comparable product"),b=_s(s.currentWorkarounds),I=lv(o.substituteBehaviors).length>0?o.substituteBehaviors:b.map(q=>({behavior:q,confidence:"low"})),v=nh(I,"Substitute behavior"),C=nh(o.comparablePatterns,"Pattern"),T=_s(s.topComplaintThemes),w=_s(s.topDelightThemes),E=_s(s.repeatedLanguage),B=_s(o.opportunityGaps),L=Array.from(new Set(lv(o.competitors).flatMap(q=>_s(Ca(q).gaps)))),_=zr(i.evidenceStrength)||zr(s.evidenceStrength)||"Not rated",j=zr(i.crowding)||"Not rated",ne=zr(s.targetSegment),K=nh(o.risks,"Risk"),ie=nh(o.tests,"Test"),se=rbe(n.options),W=zr(n.selectedOptionId),de=se.find(q=>q.id===W)??null;return(0,D.jsxs)(z,{spacing:5,minW:0,maxW:"100%",overflow:"hidden",children:[(0,D.jsx)(P,{layerStyle:"notchedCard",borderWidth:"1px",borderColor:"surface.border",p:5,bg:"surface.base",children:(0,D.jsxs)(z,{spacing:4,children:[(0,D.jsxs)(Z,{justify:"space-between",align:{base:"start",md:"center"},flexWrap:"wrap",spacing:3,children:[(0,D.jsxs)(z,{spacing:.5,children:[(0,D.jsx)(at,{size:"sm",children:"Feature Validation Overview"}),(0,D.jsx)(x,{fontSize:"sm",color:"text.muted",children:"The user case, evidence, risks, and decision\u2014organized for action."})]}),(0,D.jsx)($,{colorScheme:de?"green":"gray",variant:"subtle",children:de?"Wedge selected":"Wedge not selected"})]}),(0,D.jsx)(P,{layerStyle:"notchedInset",borderWidth:"1px",borderColor:"green.200",p:4,bg:"green.50",children:(0,D.jsxs)(Z,{spacing:3,align:"start",children:[(0,D.jsx)(P,{color:"green.700",flexShrink:0,pt:"2px",children:(0,D.jsx)(da,{size:22,weight:"duotone"})}),(0,D.jsxs)(z,{spacing:1,children:[(0,D.jsx)(x,{fontSize:"xs",textTransform:"uppercase",letterSpacing:"wide",fontWeight:"semibold",color:"green.700",children:"Core user hypothesis"}),(0,D.jsx)(x,{fontSize:{base:"md",md:"lg"},fontWeight:"semibold",color:"green.900",lineHeight:"tall",children:l||zr(t.problem)||"No user hypothesis captured yet."})]})]})}),(0,D.jsxs)(Pe,{columns:{base:2,md:4},spacing:3,children:[(0,D.jsx)(iv,{label:"Complaint themes",value:T.length,helper:"Repeated pain signals"}),(0,D.jsx)(iv,{label:"Delight themes",value:w.length,helper:"Desired experience signals"}),(0,D.jsx)(iv,{label:"Substitute behaviors",value:v.length,helper:"What the ICP does instead"}),(0,D.jsx)(iv,{label:"Competitor gaps",value:L.length,helper:"Underserved openings"})]})]})}),(0,D.jsx)(P,{layerStyle:"notchedCard",borderWidth:"1px",borderColor:"surface.border",p:5,bg:"surface.base",children:(0,D.jsxs)(z,{spacing:3,children:[(0,D.jsxs)(Z,{justify:"space-between",align:{base:"start",md:"center"},flexWrap:"wrap",spacing:2,children:[(0,D.jsxs)(z,{spacing:.5,children:[(0,D.jsx)(at,{size:"sm",children:"Your wedge opportunities"}),(0,D.jsx)(x,{fontSize:"sm",color:"text.muted",children:"Openings triangulated from ICP complaints, delight themes, substitute behaviors, and competitor gaps."})]}),(0,D.jsx)($,{colorScheme:"purple",variant:"subtle",children:B.length})]}),B.length>0?(0,D.jsx)(z,{spacing:0,divider:(0,D.jsx)(so,{borderColor:"surface.border"}),children:B.map((q,fe)=>(0,D.jsxs)(Z,{align:"start",spacing:3,py:3,children:[(0,D.jsx)(P,{color:"brand.500",flexShrink:0,pt:"2px",children:(0,D.jsx)(h2,{size:18,weight:"duotone"})}),(0,D.jsx)(x,{fontSize:"sm",lineHeight:"tall",children:q})]},`${fe}-${q}`))}):(0,D.jsx)(Fu,{children:"Complete Feature Landscape to identify evidence-backed wedge opportunities."})]})}),(0,D.jsx)(P,{layerStyle:"notchedCard",borderWidth:"1px",borderColor:"surface.border",p:5,bg:"surface.base",minW:0,overflow:"hidden",children:(0,D.jsxs)(Hr,{variant:"line",colorScheme:"teal",isLazy:!0,children:[(0,D.jsxs)(Or,{overflowX:"auto",overflowY:"hidden",maxW:"100%",children:[(0,D.jsx)(nt,{whiteSpace:"nowrap",children:"User case"}),(0,D.jsx)(nt,{whiteSpace:"nowrap",children:"Landscape + risks"}),(0,D.jsx)(nt,{whiteSpace:"nowrap",children:"Validation plan"}),(0,D.jsx)(nt,{whiteSpace:"nowrap",children:"Wedge directions"})]}),(0,D.jsxs)(Vr,{children:[(0,D.jsx)(Ke,{px:0,pt:5,children:(0,D.jsxs)(z,{spacing:4,children:[(0,D.jsxs)(lc,{children:[(0,D.jsx)(Rs,{children:(0,D.jsxs)(P,{layerStyle:"notchedInset",borderWidth:"1px",borderColor:"surface.border",p:4,bg:"surface.muted",minW:0,children:[(0,D.jsxs)(Z,{spacing:2.5,mb:3,color:"brand.600",children:[(0,D.jsx)(of,{size:20,weight:"duotone"}),(0,D.jsx)(x,{fontWeight:"semibold",color:"text.default",children:"Who feels the problem"})]}),u.length>0?(0,D.jsx)(st,{children:u.map((q,fe)=>(0,D.jsx)(Ze,{children:(0,D.jsx)(x,{fontSize:"sm",lineHeight:"tall",overflowWrap:"anywhere",children:q})},`${fe}-${q}`))}):(0,D.jsx)(x,{fontSize:"sm",color:"text.muted",children:"No affected-user groups captured yet."})]})}),(0,D.jsx)(Rs,{children:(0,D.jsxs)(P,{layerStyle:"notchedInset",borderWidth:"1px",borderColor:"surface.border",p:4,bg:"surface.muted",minW:0,children:[(0,D.jsxs)(Z,{spacing:2.5,mb:3,color:"brand.600",children:[(0,D.jsx)(p2,{size:20,weight:"duotone"}),(0,D.jsx)(x,{fontWeight:"semibold",color:"text.default",children:"Expected user value"})]}),d.length>0?(0,D.jsx)(st,{children:d.map((q,fe)=>(0,D.jsx)(Ze,{indicatorIcon:oi,indicatorColor:"green.400",children:(0,D.jsx)(x,{fontSize:"sm",lineHeight:"tall",overflowWrap:"anywhere",children:q})},`${fe}-${q}`))}):(0,D.jsx)(x,{fontSize:"sm",color:"text.muted",children:"No expected-value signals captured yet."})]})}),(0,D.jsx)(Rs,{children:(0,D.jsxs)(P,{layerStyle:"notchedInset",borderWidth:"1px",borderColor:"orange.200",p:4,bg:"orange.50",minW:0,children:[(0,D.jsxs)(Z,{spacing:2.5,color:"orange.700",mb:ne?1.5:3,children:[(0,D.jsx)(pa,{size:20,weight:"duotone"}),(0,D.jsx)(x,{fontWeight:"semibold",color:"orange.900",children:"Target ICP Complaint Themes"})]}),ne?(0,D.jsxs)(x,{fontSize:"xs",color:"orange.800",lineHeight:"tall",mb:3,overflowWrap:"anywhere",children:[(0,D.jsx)(x,{as:"span",fontWeight:"semibold",children:"Research focus:"})," ",ne]}):null,T.length>0?(0,D.jsx)(st,{children:T.map((q,fe)=>(0,D.jsx)(Ze,{indicatorColor:"orange.400",children:(0,D.jsx)(x,{fontSize:"sm",lineHeight:"tall",overflowWrap:"anywhere",children:q})},`${fe}-${q}`))}):(0,D.jsx)(x,{fontSize:"sm",color:"orange.800",children:"No repeated complaint evidence captured yet."})]})}),(0,D.jsx)(Rs,{children:(0,D.jsxs)(P,{layerStyle:"notchedInset",borderWidth:"1px",borderColor:"green.200",p:4,bg:"green.50",minW:0,children:[(0,D.jsxs)(Z,{spacing:2.5,mb:3,color:"green.700",children:[(0,D.jsx)($n,{size:20,weight:"duotone"}),(0,D.jsx)(x,{fontWeight:"semibold",color:"green.900",children:"Target ICP Delight Themes"})]}),w.length>0?(0,D.jsx)(st,{children:w.map((q,fe)=>(0,D.jsx)(Ze,{indicatorIcon:oi,indicatorColor:"green.400",children:(0,D.jsx)(x,{fontSize:"sm",lineHeight:"tall",overflowWrap:"anywhere",children:q})},`${fe}-${q}`))}):(0,D.jsx)(x,{fontSize:"sm",color:"green.800",children:"No repeated delight evidence captured yet."})]})})]}),(0,D.jsxs)(P,{children:[(0,D.jsxs)(Z,{justify:"space-between",mb:3,align:"start",spacing:3,flexWrap:"wrap",children:[(0,D.jsxs)(z,{spacing:.5,children:[(0,D.jsxs)(Z,{spacing:2.5,children:[(0,D.jsx)(Ri,{size:20,weight:"duotone"}),(0,D.jsx)(at,{size:"sm",children:"ICP Substitute Behaviors"})]}),(0,D.jsx)(x,{fontSize:"sm",color:"text.muted",children:"What the target ICP does instead, why it persists, and where it fails."})]}),(0,D.jsx)($,{colorScheme:"purple",variant:"subtle",children:v.length})]}),v.length>0?(0,D.jsx)(lc,{children:v.map((q,fe)=>(0,D.jsx)(Rs,{children:(0,D.jsx)(ah,{item:q})},`${q.title}-${fe}`))}):(0,D.jsx)(Fu,{children:"No ICP substitute behaviors captured yet."})]}),E.length>0||h.length>0?(0,D.jsxs)(P,{children:[(0,D.jsxs)(Z,{justify:"space-between",mb:3,align:"start",spacing:3,flexWrap:"wrap",children:[(0,D.jsxs)(z,{spacing:.5,children:[(0,D.jsxs)(Z,{spacing:2.5,children:[(0,D.jsx)(c2,{size:20,weight:"duotone"}),(0,D.jsx)(at,{size:"sm",children:"Behavioral signals"})]}),(0,D.jsx)(x,{fontSize:"sm",color:"text.muted",children:"Repeated language, urgency, frequency, triggers, and inferred substitute behavior."})]}),(0,D.jsx)($,{colorScheme:"purple",variant:"subtle",children:h.length+(E.length>0?1:0)})]}),(0,D.jsx)(lc,{children:[...E.length>0?[{label:"Repeated user language",values:E}]:[],...h].map((q,fe)=>(0,D.jsx)(Rs,{children:(0,D.jsx)(abe,{row:q})},`${q.label}-${fe}`))})]}):null,(0,D.jsxs)(P,{layerStyle:"notchedInset",borderWidth:"1px",borderColor:"orange.200",p:4,bg:"orange.50",children:[(0,D.jsxs)(Z,{spacing:2.5,mb:3,color:"orange.700",children:[(0,D.jsx)(pa,{size:20,weight:"duotone"}),(0,D.jsx)(x,{fontWeight:"semibold",color:"orange.900",children:"Likely objections"})]}),p.length>0?(0,D.jsx)(st,{children:p.map((q,fe)=>(0,D.jsx)(Ze,{indicatorColor:"orange.400",children:(0,D.jsx)(x,{fontSize:"sm",lineHeight:"tall",children:q})},`${fe}-${q}`))}):(0,D.jsx)(x,{fontSize:"sm",color:"orange.800",children:"No likely objections captured yet."})]})]})}),(0,D.jsx)(Ke,{px:0,pt:5,children:(0,D.jsxs)(z,{spacing:5,children:[(0,D.jsxs)(Z,{justify:"space-between",align:{base:"start",md:"center"},flexWrap:"wrap",spacing:3,children:[(0,D.jsxs)(z,{spacing:1,minW:0,children:[(0,D.jsx)(x,{fontWeight:"semibold",children:"Landscape evidence read"}),(0,D.jsx)(x,{fontSize:"sm",color:"text.muted",lineHeight:"tall",overflowWrap:"anywhere",children:zr(i.notes)||zr(s.notes)||"Crowding is based on comparable-product overlap and pattern prevalence, not research volume."})]}),(0,D.jsxs)(ot,{spacing:2,children:[(0,D.jsx)(Se,{children:(0,D.jsxs)($,{colorScheme:"purple",variant:"subtle",children:["Crowding: ",Hu(j)]})}),(0,D.jsx)(Se,{children:(0,D.jsxs)($,{colorScheme:"blue",variant:"subtle",children:["Evidence: ",Hu(_)]})})]})]}),(0,D.jsxs)(P,{children:[(0,D.jsxs)(Z,{justify:"space-between",mb:3,children:[(0,D.jsxs)(Z,{spacing:2.5,children:[(0,D.jsx)(da,{size:20,weight:"duotone"}),(0,D.jsx)(at,{size:"sm",children:"Comparable products and substitutes"})]}),(0,D.jsx)($,{variant:"subtle",children:g.length})]}),g.length>0?(0,D.jsx)(lc,{children:g.map((q,fe)=>(0,D.jsx)(Rs,{children:(0,D.jsx)(ah,{item:q})},`${q.title}-${fe}`))}):(0,D.jsx)(Fu,{children:"No named comparable products captured yet."})]}),(0,D.jsx)(so,{borderColor:"surface.border"}),(0,D.jsxs)(P,{children:[(0,D.jsxs)(Z,{justify:"space-between",mb:3,children:[(0,D.jsxs)(Z,{spacing:2.5,children:[(0,D.jsx)(Ri,{size:20,weight:"duotone"}),(0,D.jsx)(at,{size:"sm",children:"Comparable product patterns"})]}),(0,D.jsx)($,{variant:"subtle",children:C.length})]}),C.length>0?(0,D.jsx)(lc,{children:C.map((q,fe)=>(0,D.jsx)(Rs,{children:(0,D.jsx)(ah,{item:q})},`${q.title}-${fe}`))}):(0,D.jsx)(Fu,{children:"No comparable feature patterns captured yet."})]}),(0,D.jsx)(so,{borderColor:"surface.border"}),(0,D.jsxs)(P,{children:[(0,D.jsxs)(Z,{justify:"space-between",mb:3,children:[(0,D.jsxs)(Z,{spacing:2.5,color:"orange.600",children:[(0,D.jsx)(pa,{size:20,weight:"duotone"}),(0,D.jsx)(at,{size:"sm",color:"text.default",children:"Risks and failure modes"})]}),(0,D.jsx)($,{colorScheme:"orange",variant:"subtle",children:K.length})]}),K.length>0?(0,D.jsx)(lc,{children:K.map((q,fe)=>(0,D.jsx)(Rs,{children:(0,D.jsx)(ah,{item:q,tone:"risk"})},`${q.title}-${fe}`))}):(0,D.jsx)(Fu,{children:"No risks captured yet."})]})]})}),(0,D.jsx)(Ke,{px:0,pt:5,children:(0,D.jsxs)(z,{spacing:5,children:[(0,D.jsxs)(P,{children:[(0,D.jsxs)(Z,{justify:"space-between",mb:3,children:[(0,D.jsxs)(Z,{spacing:2.5,children:[(0,D.jsx)(hu,{size:20,weight:"duotone"}),(0,D.jsx)(at,{size:"sm",children:"Assumptions to prove"})]}),(0,D.jsx)($,{variant:"subtle",children:S.length})]}),S.length>0?(0,D.jsx)(lc,{children:S.map((q,fe)=>(0,D.jsx)(Rs,{children:(0,D.jsx)(ah,{item:q})},`${q.title}-${fe}`))}):(0,D.jsx)(Fu,{children:"No assumptions captured yet."})]}),(0,D.jsx)(so,{borderColor:"surface.border"}),(0,D.jsxs)(P,{children:[(0,D.jsxs)(Z,{justify:"space-between",mb:3,children:[(0,D.jsxs)(Z,{spacing:2.5,color:"blue.600",children:[(0,D.jsx)(b8,{size:20,weight:"duotone"}),(0,D.jsx)(at,{size:"sm",color:"text.default",children:"Tests and success thresholds"})]}),(0,D.jsx)($,{colorScheme:"blue",variant:"subtle",children:ie.length})]}),ie.length>0?(0,D.jsx)(lc,{children:ie.map((q,fe)=>(0,D.jsx)(Rs,{children:(0,D.jsx)(ah,{item:q,tone:"test"})},`${q.title}-${fe}`))}):(0,D.jsx)(Fu,{children:"No validation tests captured yet."})]})]})}),(0,D.jsx)(Ke,{px:0,pt:5,children:(0,D.jsxs)(z,{spacing:4,children:[(0,D.jsxs)(Z,{spacing:2.5,children:[(0,D.jsx)($n,{size:20,weight:"duotone"}),(0,D.jsx)(at,{size:"sm",children:"Wedge direction decision"})]}),se.length>0?(0,D.jsx)(lc,{children:[...se].sort((q,fe)=>+(fe.id===W)-+(q.id===W)).map(q=>(0,D.jsx)(Rs,{children:(0,D.jsx)(sbe,{option:q,selected:q.id===W})},q.id))}):(0,D.jsx)(Fu,{children:"No wedge directions captured yet."}),de?(0,D.jsx)(P,{layerStyle:"notchedInset",borderWidth:"1px",borderColor:"green.200",p:4,bg:"green.50",children:(0,D.jsxs)(Z,{spacing:3,align:"start",children:[(0,D.jsx)(oi,{size:22,weight:"duotone",color:"var(--chakra-colors-green-600)"}),(0,D.jsxs)(z,{spacing:1,children:[(0,D.jsx)(x,{fontSize:"xs",textTransform:"uppercase",letterSpacing:"wide",fontWeight:"semibold",color:"green.700",children:"Decision handoff"}),(0,D.jsxs)(Z,{spacing:2,align:"center",children:[(0,D.jsx)(x,{fontWeight:"semibold",color:"green.900",children:"Validation"}),(0,D.jsx)(jl,{size:16}),(0,D.jsx)(x,{fontWeight:"semibold",color:"green.900",children:"Feature Blueprint"})]}),(0,D.jsxs)(x,{fontSize:"sm",color:"green.900",children:[de.title," is the validated opportunity the Blueprint will use to define scope and generate two concrete feature directions."]})]})]})}):null]})})]})]})})]})}var G=k(re()),ibe=new Set(["access","confidence","kind","method","priority","status","type"]),lbe=new Set(["evidence","evidence source","evidence sources","source","sources","url","urls"]);function Ja(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)?e:{}}function Fs(e){return typeof e=="string"?e.trim():typeof e=="number"||typeof e=="boolean"?String(e):""}function ih(e){let t=e.replace(/([a-z0-9])([A-Z])/g,"$1 $2").replace(/[_-]+/g," ").replace(/\s+/g," ").trim();return t?t.charAt(0).toUpperCase()+t.slice(1):"Detail"}function HY(e){return/^id$/i.test(e)||/(?:^|[_-])ids?$/i.test(e)||/[a-z0-9]Ids?$/.test(e)}function VY(e){return e.split("\xB7").at(-1)?.trim().toLowerCase()??e.trim().toLowerCase()}function OY(e){return ibe.has(VY(e.label))&&e.values.every(t=>t.length<=32&&!/^https?:\/\//i.test(t))}function cbe(e){return lbe.has(VY(e.label))||e.values.some(t=>/^https?:\/\//i.test(t))}function ube(e){let t=e.trim().toLowerCase();return["done","high","public","ready"].includes(t)?"green":["medium","protected","review"].includes(t)?"yellow":["blocked","high risk","low"].includes(t)?"red":"gray"}function mbe(e){try{let t=new URL(e),o=t.hostname.replace(/^www\./,""),r=decodeURIComponent(t.pathname).replace(/\/$/,"");if(!r)return o;let n=r.length>46?`${r.slice(0,43)}\u2026`:r;return`${o}${n}`}catch{return e}}function J2(e){let t=Fs(e);return t?[t]:Array.isArray(e)?e.flatMap(o=>{let r=Fs(o);if(r)return[r];let n=Ja(o),a=["title","name","label","step","description","summary","text","value"].map(s=>Fs(n[s])).find(Boolean);return a?[a]:[]}):[]}function NY(e,t=[]){let o=new Set(t);return Object.entries(e).flatMap(([r,n])=>{if(o.has(r)||HY(r))return[];let a=J2(n);if(a.length>0)return[{label:ih(r),values:a}];let s=Ja(n);return Object.entries(s).flatMap(([i,l])=>{if(HY(i))return[];let c=J2(l);return c.length>0?[{label:`${ih(r)} \xB7 ${ih(i)}`,values:c}]:[]})})}function A9(e,t){return(Array.isArray(e)?e:Object.entries(Ja(e)).map(([r,n])=>{let a=Ja(n);return Object.keys(a).length>0?{title:ih(r),...a}:{title:ih(r),value:n}})).map((r,n)=>{let a=Fs(r);if(a)return{title:`${t} ${n+1}`,details:[{label:"Summary",values:[a]}]};let s=Ja(r);return{title:["title","name","label","surface","flow","area"].map(l=>Fs(s[l])).find(Boolean)||`${t} ${n+1}`,details:NY(s,["title","name","label","surface","flow","area"])}})}function cv(e,t){for(let o of t){let r=J2(e[o]);if(r.length>0)return r}return[]}function sh({children:e}){return(0,G.jsx)(P,{minW:0,sx:{columnCount:{base:1,xl:2},columnGap:"var(--chakra-space-3)"},children:e})}function ji({children:e}){return(0,G.jsx)(P,{mb:3,minW:0,sx:{breakInside:"avoid",pageBreakInside:"avoid"},children:e})}function fbe({details:e}){if(e.length===0)return null;let t=e.filter(OY),o=e.filter(r=>!OY(r));return(0,G.jsxs)(z,{spacing:0,minW:0,children:[t.length>0?(0,G.jsx)(P,{px:4,pb:3,children:(0,G.jsx)(ot,{spacing:2,children:t.flatMap(r=>r.values.map((n,a)=>(0,G.jsx)(Se,{children:(0,G.jsxs)($,{colorScheme:ube(n),variant:"subtle",whiteSpace:"normal",maxW:"100%",overflowWrap:"anywhere",children:[r.label,": ",ih(n)]})},`${r.label}-${a}-${n}`)))})}):null,o.map((r,n)=>{let a=cbe(r);return(0,G.jsxs)(P,{borderTopWidth:"1px",borderColor:"surface.border",px:4,py:3,minW:0,children:[(0,G.jsx)(x,{fontSize:"xs",textTransform:"uppercase",letterSpacing:"wide",fontWeight:"semibold",color:"text.muted",mb:1.5,children:r.label}),(0,G.jsx)(z,{spacing:a?2:1.5,minW:0,children:r.values.map((s,i)=>{let l=/^https?:\/\//i.test(s);return a&&l?(0,G.jsxs)(n0,{href:s,isExternal:!0,color:"brand.600",fontSize:"sm",fontWeight:"semibold",lineHeight:"short",maxW:"100%",overflowWrap:"anywhere",textDecoration:"underline",textUnderlineOffset:"2px",title:s,children:[mbe(s)," ",(0,G.jsx)(tf,{size:13,style:{display:"inline",verticalAlign:"-1px"}})]},`${i}-${s}`):(0,G.jsx)(x,{fontSize:"sm",lineHeight:"tall",overflowWrap:"anywhere",children:s},`${i}-${s}`)})})]},`${r.label}-${n}`)})]})}function k9({item:e,kind:t="detail"}){return(0,G.jsxs)(P,{borderWidth:"1px",borderColor:"surface.border",borderRadius:"md",bg:"surface.muted",minW:0,overflow:"hidden",children:[(0,G.jsxs)(Z,{spacing:2.5,px:4,py:3,align:"start",children:[(0,G.jsx)(P,{color:"brand.600",flexShrink:0,pt:"2px",children:(0,G.jsx)(t==="surface"?d2:t==="flow"?m2:t==="system"?u2:f2,{size:20,weight:"duotone"})}),(0,G.jsx)(at,{size:"sm",overflowWrap:"anywhere",children:e.title})]}),(0,G.jsx)(fbe,{details:e.details})]})}function kf({title:e,items:t,empty:o,icon:r,tone:n="default"}){let a=n==="success"?"green.200":n==="risk"?"orange.200":"surface.border";return(0,G.jsxs)(P,{borderWidth:"1px",borderColor:a,borderRadius:"md",bg:n==="success"?"green.50":n==="risk"?"orange.50":"surface.muted",minW:0,overflow:"hidden",children:[(0,G.jsxs)(Z,{spacing:2.5,px:4,py:3,color:n==="success"?"green.700":n==="risk"?"orange.700":"brand.600",align:"start",children:[(0,G.jsx)(P,{flexShrink:0,pt:"2px",children:r}),(0,G.jsx)(at,{size:"sm",color:n==="success"?"green.900":n==="risk"?"orange.900":"text.default",children:e})]}),(0,G.jsx)(P,{borderTopWidth:"1px",borderColor:a,px:4,py:3,children:t.length>0?(0,G.jsx)(st,{children:t.map((l,c)=>(0,G.jsx)(Ze,{indicatorIcon:n==="success"?oi:void 0,indicatorColor:n==="success"?"green.400":n==="risk"?"orange.400":"brand.300",children:(0,G.jsx)(x,{fontSize:"sm",lineHeight:"tall",overflowWrap:"anywhere",children:l})},`${c}-${l}`))}):(0,G.jsx)(x,{fontSize:"sm",color:n==="success"?"green.800":n==="risk"?"orange.800":"text.muted",children:o})})]})}function dbe({label:e}){let t=e.toLowerCase();return t.includes("risk")||t.includes("failure")?(0,G.jsx)(pa,{size:20,weight:"duotone"}):t.includes("permission")||t.includes("access")?(0,G.jsx)(B8,{size:20,weight:"duotone"}):t.includes("metric")||t.includes("success")?(0,G.jsx)(p2,{size:20,weight:"duotone"}):t.includes("data")||t.includes("schema")?(0,G.jsx)(u2,{size:20,weight:"duotone"}):t.includes("flow")||t.includes("workflow")?(0,G.jsx)(Ri,{size:20,weight:"duotone"}):(0,G.jsx)(f2,{size:20,weight:"duotone"})}function uv({label:e,value:t}){return(0,G.jsxs)(P,{layerStyle:"notchedInset",borderWidth:"1px",borderColor:"surface.border",p:3,bg:"surface.muted",children:[(0,G.jsx)(x,{fontSize:"xs",textTransform:"uppercase",letterSpacing:"wide",color:"text.muted",mb:1,children:e}),(0,G.jsx)(x,{fontWeight:"semibold",fontSize:{base:"2xl",md:"3xl"},lineHeight:"1.1",children:t})]})}function zY({spec:e}){let t=Ja(e.feature),o=Ja(e.blueprint),r=Ja(o.scope),n=Ja(e.choices),a=Ja(n.wedge),s=Ja(n.feature),i=Fs(a.selectedOptionId),l=(Array.isArray(a.options)?a.options:[]).map(Ja).find(E=>Fs(E.id)===i),c=Fs(s.selectedOptionId),u=(Array.isArray(s.options)?s.options:[]).map(Ja).find(E=>Fs(E.id)===c),m=cv(r,["acceptanceCriteria","acceptance","doneWhen"]),f=cv(r,["userVisibleBehavior","behavior","inScope","capabilities"]),d=cv(r,["edgeCases","failureBehavior","failureModes"]),p=cv(r,["permissions","authorization","accessRules"]),h=NY(r,["acceptanceCriteria","acceptance","doneWhen","userVisibleBehavior","behavior","inScope","capabilities","edgeCases","failureBehavior","failureModes","permissions","authorization","accessRules"]),S=A9(o.affectedSurfaces,"Surface"),g=A9(o.flows,"Flow"),b=A9(o.systemImpact,"System area"),I=J2(t.constraints),v=J2(t.nonGoals),C=[!!l,!!u,f.length>0||Object.keys(r).length>0,m.length>0,S.length>0,g.length>0,b.length>0],T=Math.round(C.filter(Boolean).length/C.length*100),w=T>=80?"green":T>=60?"yellow":"red";return(0,G.jsxs)(z,{spacing:5,minW:0,maxW:"100%",overflow:"hidden",children:[(0,G.jsxs)(P,{layerStyle:"notchedCard",borderWidth:"1px",borderColor:"surface.border",p:5,bg:"surface.base",children:[(0,G.jsxs)(Z,{justify:"space-between",align:{base:"start",md:"center"},flexWrap:"wrap",spacing:3,children:[(0,G.jsxs)(z,{spacing:.5,children:[(0,G.jsx)(x,{fontWeight:"semibold",children:"Feature Blueprint Overview"}),(0,G.jsx)(x,{fontSize:"sm",color:"text.muted",children:"Selected wedge, feature direction, scope, workflow coverage, and implementation readiness."})]}),(0,G.jsx)($,{colorScheme:w,variant:"subtle",borderRadius:"full",children:T>=80?"Build-ready signal":T>=60?"Needs tightening":"High risk"})]}),(0,G.jsxs)(Pe,{columns:{base:2,md:4},spacing:3,mt:4,children:[(0,G.jsx)(uv,{label:"Acceptance criteria",value:m.length}),(0,G.jsx)(uv,{label:"Affected surfaces",value:S.length}),(0,G.jsx)(uv,{label:"User flows",value:g.length}),(0,G.jsx)(uv,{label:"System areas",value:b.length})]})]}),(0,G.jsxs)(Pe,{columns:{base:1,xl:2},spacing:4,alignItems:"start",children:[(0,G.jsxs)(P,{layerStyle:"notchedCard",borderWidth:"1px",borderColor:"surface.border",p:5,bg:"surface.base",minW:0,children:[(0,G.jsxs)(Z,{spacing:2.5,mb:3,color:"brand.600",children:[(0,G.jsx)(da,{size:20,weight:"duotone"}),(0,G.jsx)(x,{fontWeight:"semibold",color:"text.default",children:"Wedge \u2192 Feature direction"})]}),(0,G.jsxs)(z,{spacing:2,children:[(0,G.jsxs)(P,{children:[(0,G.jsx)(x,{fontSize:"xs",textTransform:"uppercase",letterSpacing:"wide",color:"text.muted",children:"Selected wedge"}),(0,G.jsx)(at,{size:"sm",children:Fs(l?.title)||"No wedge selected"})]}),(0,G.jsx)(m2,{size:20,weight:"duotone"}),(0,G.jsxs)(P,{children:[(0,G.jsx)(x,{fontSize:"xs",textTransform:"uppercase",letterSpacing:"wide",color:"text.muted",children:"Selected feature direction"}),(0,G.jsx)(at,{size:"sm",children:Fs(u?.title)||"No feature direction selected"}),(0,G.jsx)(x,{fontSize:"sm",color:"text.muted",mt:2,lineHeight:"tall",children:Fs(u?.summary)||"Choose a Feature direction to lock the Build Feature handoff."})]})]})]}),(0,G.jsxs)(P,{layerStyle:"notchedCard",borderWidth:"1px",borderColor:"surface.border",p:5,bg:"surface.base",minW:0,children:[(0,G.jsxs)(Z,{justify:"space-between",mb:3,children:[(0,G.jsx)(x,{fontWeight:"semibold",children:"Feature Readiness Score"}),(0,G.jsxs)($,{colorScheme:w,children:[T,"/100"]})]}),(0,G.jsx)(fa,{value:T,borderRadius:"md",colorScheme:w,mb:3}),(0,G.jsxs)(dt,{status:T>=80?"success":T>=60?"warning":"error",borderRadius:"md",children:[(0,G.jsx)(pt,{}),(0,G.jsx)(ht,{children:T>=80?"Scope, acceptance, surfaces, flows, and system impact are represented.":"Complete the missing Blueprint areas before repository interrogation and implementation."})]})]})]}),(0,G.jsx)(P,{layerStyle:"notchedCard",borderWidth:"1px",borderColor:"surface.border",p:5,bg:"surface.base",minW:0,overflow:"hidden",children:(0,G.jsxs)(Hr,{variant:"line",colorScheme:"teal",isLazy:!0,children:[(0,G.jsxs)(Or,{overflowX:"auto",overflowY:"hidden",maxW:"100%",children:[(0,G.jsx)(nt,{whiteSpace:"nowrap",children:"Scope + Acceptance"}),(0,G.jsx)(nt,{whiteSpace:"nowrap",children:"Surfaces + Flows"}),(0,G.jsx)(nt,{whiteSpace:"nowrap",children:"System + Risk"})]}),(0,G.jsxs)(Vr,{children:[(0,G.jsx)(Ke,{px:0,pt:5,children:(0,G.jsxs)(z,{spacing:4,children:[(0,G.jsxs)(sh,{children:[(0,G.jsx)(ji,{children:(0,G.jsx)(kf,{title:"User-visible behavior",items:f,empty:"No user-visible behavior captured yet.",icon:(0,G.jsx)(d2,{size:20,weight:"duotone"})})}),(0,G.jsx)(ji,{children:(0,G.jsx)(kf,{title:"Acceptance criteria",items:m,empty:"No acceptance criteria captured yet.",icon:(0,G.jsx)(oi,{size:20,weight:"duotone"}),tone:"success"})}),(0,G.jsx)(ji,{children:(0,G.jsx)(kf,{title:"Edge + failure behavior",items:d,empty:"No edge cases captured yet.",icon:(0,G.jsx)(pa,{size:20,weight:"duotone"}),tone:"risk"})}),(0,G.jsx)(ji,{children:(0,G.jsx)(kf,{title:"Permissions",items:p,empty:"No permission behavior captured yet.",icon:(0,G.jsx)(B8,{size:20,weight:"duotone"})})})]}),h.length>0?(0,G.jsxs)(P,{children:[(0,G.jsxs)(Z,{justify:"space-between",mb:3,children:[(0,G.jsxs)(Z,{spacing:2.5,children:[(0,G.jsx)(f2,{size:20,weight:"duotone"}),(0,G.jsx)(at,{size:"sm",children:"Additional scope requirements"})]}),(0,G.jsx)($,{variant:"subtle",children:h.length})]}),(0,G.jsx)(sh,{children:h.map((E,B)=>(0,G.jsx)(ji,{children:(0,G.jsx)(kf,{title:E.label,items:E.values,empty:"No detail captured.",icon:(0,G.jsx)(dbe,{label:E.label})})},`${E.label}-${B}`))})]}):null]})}),(0,G.jsx)(Ke,{px:0,pt:5,children:(0,G.jsxs)(z,{spacing:5,children:[(0,G.jsxs)(P,{children:[(0,G.jsxs)(Z,{justify:"space-between",mb:3,children:[(0,G.jsxs)(Z,{spacing:2.5,children:[(0,G.jsx)(d2,{size:20,weight:"duotone"}),(0,G.jsx)(at,{size:"sm",children:"Affected surfaces"})]}),(0,G.jsx)($,{variant:"subtle",children:S.length})]}),S.length>0?(0,G.jsx)(sh,{children:S.map((E,B)=>(0,G.jsx)(ji,{children:(0,G.jsx)(k9,{item:E,kind:"surface"})},`${E.title}-${B}`))}):(0,G.jsx)(x,{fontSize:"sm",color:"text.muted",children:"No affected surfaces captured yet."})]}),(0,G.jsxs)(P,{children:[(0,G.jsxs)(Z,{justify:"space-between",mb:3,children:[(0,G.jsxs)(Z,{spacing:2.5,children:[(0,G.jsx)(m2,{size:20,weight:"duotone"}),(0,G.jsx)(at,{size:"sm",children:"Complete user flows"})]}),(0,G.jsx)($,{variant:"subtle",children:g.length})]}),g.length>0?(0,G.jsx)(sh,{children:g.map((E,B)=>(0,G.jsx)(ji,{children:(0,G.jsx)(k9,{item:E,kind:"flow"})},`${E.title}-${B}`))}):(0,G.jsx)(x,{fontSize:"sm",color:"text.muted",children:"No user flows captured yet."})]})]})}),(0,G.jsx)(Ke,{px:0,pt:5,children:(0,G.jsxs)(z,{spacing:5,children:[(0,G.jsxs)(P,{children:[(0,G.jsxs)(Z,{justify:"space-between",mb:3,children:[(0,G.jsxs)(Z,{spacing:2.5,children:[(0,G.jsx)(u2,{size:20,weight:"duotone"}),(0,G.jsx)(at,{size:"sm",children:"System impact requirements"})]}),(0,G.jsx)($,{variant:"subtle",children:b.length})]}),b.length>0?(0,G.jsx)(sh,{children:b.map((E,B)=>(0,G.jsx)(ji,{children:(0,G.jsx)(k9,{item:E,kind:"system"})},`${E.title}-${B}`))}):(0,G.jsx)(x,{fontSize:"sm",color:"text.muted",children:"No system-impact requirements captured yet."})]}),(0,G.jsxs)(sh,{children:[(0,G.jsx)(ji,{children:(0,G.jsx)(kf,{title:"Constraints",items:I,empty:"No constraints captured.",icon:(0,G.jsx)(pa,{size:20,weight:"duotone"}),tone:"risk"})}),(0,G.jsx)(ji,{children:(0,G.jsx)(kf,{title:"Explicit non-goals",items:v,empty:"No non-goals captured.",icon:(0,G.jsx)(CL,{size:20,weight:"duotone"})})})]})]})})]})]})})]})}var UY=k(re());function WY({children:e}){return(0,UY.jsx)(P,{"data-aux-synthesis":!0,sx:{"& .chakra-tabs":{mx:-5},"& .chakra-tabs__tablist":{px:3,flexWrap:"wrap",overflowX:"visible"},"& .chakra-tabs__tab":{whiteSpace:"normal",fontSize:"sm",px:3},"& .chakra-tabs__tab-panel":{px:5},"& > .chakra-tabs":{mx:0},"& > .chakra-stack > div:first-of-type:has(> .chakra-tabs)":{border:0,clipPath:"none"},"& .chakra-divider":{position:"relative",border:0,height:"1px",opacity:1,"&::before":{content:'""',position:"absolute",insetInline:"-100vw",top:0,borderTop:"1px solid",borderColor:"surface.border",pointerEvents:"none"}}},children:e})}var Ne=k(re());function mv(e){return e&&typeof e=="object"&&!Array.isArray(e)?e:{}}function M9(e){return typeof e=="string"||typeof e=="number"||typeof e=="boolean"?String(e):""}function L9(e){return e.replace(/([a-z])([A-Z])/g,"$1 $2").replaceAll("_"," ")}function fv({value:e}){return Array.isArray(e)?(0,Ne.jsx)(st,{children:e.map((t,o)=>(0,Ne.jsx)(Ze,{children:typeof t=="object"&&t!==null?(0,Ne.jsx)(fv,{value:t}):(0,Ne.jsx)(x,{fontSize:"sm",children:M9(t)})},o))}):e&&typeof e=="object"?(0,Ne.jsx)(z,{spacing:3,children:Object.entries(mv(e)).filter(([t])=>!/^(id|specVersion)$/i.test(t)).map(([t,o])=>(0,Ne.jsxs)(P,{children:[(0,Ne.jsx)(x,{fontSize:"xs",textTransform:"uppercase",color:"text.muted",mb:1,children:L9(t)}),(0,Ne.jsx)(fv,{value:o})]},t))}):(0,Ne.jsx)(x,{fontSize:"sm",children:M9(e)||"Not captured yet."})}function pbe({spec:e}){let t=mv(e.idea),o=mv(e.meta);return(0,Ne.jsx)(P,{layerStyle:"notchedCard",p:4,children:(0,Ne.jsxs)(z,{spacing:4,children:[(0,Ne.jsx)(at,{size:"sm",children:"Product Ideation Snapshot"}),(0,Ne.jsx)(Pe,{columns:{base:1,md:2},spacing:3,children:[{label:"One-liner",value:o.oneLiner,icon:hu},{label:"Target User",value:t.targetUser,icon:of},{label:"Problem",value:t.problem,icon:da},{label:"Solution",value:t.solution,icon:$n},{label:"JTBD",value:t.jobToBeDone,icon:da},{label:"Why now",value:t.whyNow,icon:hu}].map(r=>(0,Ne.jsxs)(P,{layerStyle:"notchedInset",p:3,children:[(0,Ne.jsxs)(Z,{color:"brand.600",spacing:2,mb:2,children:[(0,Ne.jsx)(r.icon,{size:20}),(0,Ne.jsx)(x,{fontSize:"xs",color:"text.muted",textTransform:"uppercase",fontWeight:"semibold",children:r.label})]}),(0,Ne.jsx)(x,{fontWeight:"semibold",children:M9(r.value)||"Not captured yet."})]},r.label))})]})})}function ZY({widget:e,onExportAiSpec:t}){let{projectId:o,spec:r,phaseKey:n,projectKind:a}=e,s;if(a==="feature"&&n==="foundations")s=(0,Ne.jsx)(EY,{spec:r});else if(a==="feature"&&n==="market_validation")s=(0,Ne.jsx)(FY,{spec:r});else if(a==="feature"&&n==="mvp_blueprint")s=(0,Ne.jsx)(zY,{spec:r});else if(n==="market_validation")s=(0,Ne.jsx)(nY,{projectId:o,spec:r,research:mv(r.research),readOnly:!0});else if(n==="positioning_pricing")s=(0,Ne.jsx)(fY,{projectId:o,spec:r});else if(n==="mvp_blueprint")s=(0,Ne.jsx)(xY,{projectId:o,spec:r,onExportAiSpec:t});else if(n==="landing_onpage_seo")s=(0,Ne.jsx)(CY,{projectId:o,spec:r});else if(n==="pitch_deck")s=(0,Ne.jsx)(LY,{projectId:o,spec:r});else{let i=n==="foundations"?["idea","icp"]:n==="accounts_setup"?["setup"]:n==="build"?["build"]:n==="launch_sales"?["launch","outbound","leads"]:["seo"];s=(0,Ne.jsxs)(Hr,{variant:"line",colorScheme:"brand",isLazy:!0,children:[(0,Ne.jsxs)(Or,{children:[(0,Ne.jsx)(nt,{children:"Overview"}),(0,Ne.jsx)(nt,{children:n==="foundations"?"JTBD + audience":"Details"})]}),(0,Ne.jsxs)(Vr,{children:[(0,Ne.jsx)(Ke,{children:n==="foundations"?(0,Ne.jsx)(pbe,{spec:r}):(0,Ne.jsx)(Pe,{columns:{base:1,md:2},gap:3,children:i.map(l=>(0,Ne.jsxs)(P,{layerStyle:"notchedInset",p:4,children:[(0,Ne.jsxs)(Z,{mb:3,children:[(0,Ne.jsx)(at,{size:"sm",textTransform:"capitalize",children:L9(l)}),(0,Ne.jsx)($,{children:e.title})]}),(0,Ne.jsx)(fv,{value:r[l]})]},l))})}),(0,Ne.jsx)(Ke,{children:(0,Ne.jsx)(z,{spacing:4,children:i.map(l=>(0,Ne.jsxs)(P,{layerStyle:"notchedInset",p:4,children:[(0,Ne.jsx)(at,{size:"sm",textTransform:"capitalize",mb:3,children:L9(l)}),(0,Ne.jsx)(fv,{value:r[l]})]},l))})})]})]})}return(0,Ne.jsx)(WY,{children:s})}var dv=k(F()),Qr=k(re()),jY="M 12 60 A 48 48 0 0 1 108 60";function GY(e){return e==="High"?"green":e==="Medium"?"yellow":e==="Low"?"red":"gray"}function hbe(e){return e>=70?"red":e>=45?"yellow":"green"}function gbe(e){return e==="gray"?"gray.300":`${e}.500`}function $Y({score:e,footer:t}){let o=typeof e.score!="number"||e.level===null,r=e.key==="market_saturation",n=o?"gray":hbe(e.score??0),a=r?n:GY(e.level),s=r?n:GY(e.level),i=gbe(s),l=o?"Needs data":e.level,c=o?0:Math.max(0,Math.min(e.score??0,100)),[u,m]=(0,dv.useState)(0);(0,dv.useEffect)(()=>{if(typeof window>"u")return;if(window.matchMedia("(prefers-reduced-motion: reduce)").matches){m(c);return}let p=0,h=null,S=900;m(0);let g=b=>{h===null&&(h=b);let I=b-h,v=Math.min(I/S,1),C=1-Math.pow(1-v,3);m(c*C),v<1&&(p=window.requestAnimationFrame(g))};return p=window.requestAnimationFrame(g),()=>window.cancelAnimationFrame(p)},[c]);let f=o?"\u2014":`${Math.round(u)}%`;return(0,Qr.jsxs)(P,{"data-score-card":!0,layerStyle:"notchedCard",minH:"100%",display:"flex",flexDirection:"column",children:[(0,Qr.jsxs)(z,{spacing:1.5,p:4,flex:"1",children:[(0,Qr.jsxs)(z,{spacing:.25,children:[(0,Qr.jsx)(at,{size:"sm",children:e.title.replace(/\s+Score$/i,"")}),(0,Qr.jsx)(x,{fontSize:"xs",color:"text.muted",textTransform:"uppercase",letterSpacing:"wide",children:e.signalLabel??(r?"Crowding risk signal":"Opportunity signal")})]}),(0,Qr.jsxs)(z,{align:"center",spacing:1.5,flex:"1",children:[(0,Qr.jsxs)(P,{position:"relative",w:"168px",h:"126px",children:[(0,Qr.jsxs)(P,{as:"svg",viewBox:"0 0 120 72",w:"168px",h:"126px",overflow:"visible",children:[(0,Qr.jsx)(P,{as:"path",d:jY,pathLength:100,fill:"none",color:"gray.100",stroke:"currentColor",strokeWidth:"6",strokeLinecap:"round"}),(0,Qr.jsx)(P,{as:"path",d:jY,pathLength:100,fill:"none",color:i,stroke:"currentColor",strokeWidth:"6",strokeLinecap:"round",strokeDasharray:`${u} 100`})]}),(0,Qr.jsxs)(z,{position:"absolute",left:"50%",top:"62%",transform:"translate(-50%, -50%)",spacing:2,align:"center",children:[(0,Qr.jsx)(x,{fontWeight:"bold",fontSize:"3xl",lineHeight:"1",color:i,children:f}),(0,Qr.jsx)($,{colorScheme:a,variant:"subtle",fontSize:"0.72rem",children:l})]})]}),(0,Qr.jsxs)(z,{spacing:1,w:"100%",align:"center",children:[(0,Qr.jsx)(x,{fontSize:"sm",textAlign:"center",children:e.explanation}),o&&e.insufficientDataMessage?(0,Qr.jsx)(x,{fontSize:"xs",color:"text.muted",lineHeight:"1.4",textAlign:"center",children:e.insufficientDataMessage}):null]})]})]}),t?(0,Qr.jsx)(P,{"data-score-card-footer":!0,borderTopWidth:"1px",borderColor:"surface.border",px:4,py:3,children:t}):null]})}function P9(e,t){let o=t?.privateContent;if(o?.identity!==lh(e))return;let r=e.type==="scores"?3:2;return{tab:Number.isInteger(o.tab)&&o.tab>=0&&o.tab<r?o.tab:0,draft:e.type==="choices"&&e.choice.options.some(n=>n.id===o.draft)?o.draft:e.type==="choices"?e.choice.selectedOptionId:""}}function Mf(){return window.openai}function qY(){let e=0,t=!1,o=Mf()?.toolOutput?.widget,r=new Map,n=new Set,a=(c,u)=>window.parent.postMessage({jsonrpc:"2.0",method:c,params:u},"*"),s=(c,u,m=3e4)=>new Promise((f,d)=>{let p=++e,h=setTimeout(()=>{r.delete(p),d(new Error("The agent host did not respond. Try again."))},m);r.set(p,{resolve:f,reject:d,timer:h}),window.parent.postMessage({jsonrpc:"2.0",id:p,method:c,params:u},"*")});window.addEventListener("message",c=>{if(c.source!==window.parent||c.data?.jsonrpc!=="2.0")return;let u=c.data,m=r.get(u.id);m?(clearTimeout(m.timer),r.delete(u.id),u.error?m.reject(new Error(u.error.message||"Agent host request failed.")):m.resolve(u.result)):u.method==="ui/notifications/tool-result"&&u.params?.structuredContent?.widget?(o=u.params.structuredContent.widget,n.forEach(f=>f(u.params.structuredContent.widget))):u.method==="ui/notifications/host-context-changed"?i(u.params?.theme):u.method==="ui/resource-teardown"&&u.id!==void 0&&window.parent.postMessage({jsonrpc:"2.0",id:u.id,result:{}},"*")});function i(c){c!=="light"&&c!=="dark"||(document.documentElement.style.colorScheme=c,document.documentElement.dataset.hostTheme=c,window.dispatchEvent(new Event("launchchair:host-theme")))}let l=s("ui/initialize",{appInfo:{name:"launchchair-widgets",version:"1.0.0"},appCapabilities:{},protocolVersion:"2026-01-26"},2e3).then(c=>{t=!0,i(c?.hostContext?.theme),a("ui/notifications/initialized",{});let u=()=>a("ui/notifications/size-changed",{height:document.documentElement.scrollHeight});new ResizeObserver(u).observe(document.body),u()}).catch(()=>{});return{get initial(){return o},saved:Mf()?.widgetState,async callTool(c,u){if(await l,t)return s("tools/call",{name:c,arguments:u});let m=Mf();if(m?.callTool)return m.callTool(c,u);throw new Error("This host cannot call LaunchChair tools from a widget. Continue in the agent conversation.")},async message(c){if(await l,t)return s("ui/message",{role:"user",content:[{type:"text",text:c}]});let u=Mf();if(u?.sendFollowUpMessage)return u.sendFollowUpMessage({prompt:c});throw new Error("This host cannot send a next action. Continue in the agent conversation.")},subscribe(c){n.add(c),o&&c(o);let u=m=>{let f=m.detail?.globals?.toolOutput?.widget;f&&c(f)};return window.addEventListener("openai:set_globals",u),()=>{n.delete(c),window.removeEventListener("openai:set_globals",u)}},persist(c,u,m){let f={projectId:c.projectId,view:c.type,...c.type==="choices"?{savedOptionId:c.choice.selectedOptionId,draftOptionId:m}:{}};Mf()?.setWidgetState?.({modelContent:f,privateContent:{tab:u,draft:m,identity:lh(c)}})?.catch(()=>{})}}}function lh(e){return[e.projectId,e.type,"phaseKey"in e?e.phaseKey:"","bucketKey"in e?e.bucketKey:""].join(":")}function E9(e){if(e.isError){let o=e.content?.find(r=>r.type==="text")?.text||"LaunchChair could not complete this action.";try{o=JSON.parse(o).error||o}catch{}throw new Error(o)}return e}var ve=k(re());function XY(e){try{let t=new URL(e);return["https:","http:"].includes(t.protocol)?t.href:void 0}catch{return}}function YY(){if(typeof window>"u")return"light";let e=document.documentElement.dataset.hostTheme??Mf()?.theme;return e==="dark"||!e&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}var bbe={type:"cookie",get:YY,set:()=>{}};function ybe(){let{setColorMode:e}=wi();return(0,Kn.useEffect)(()=>{let t=window.matchMedia("(prefers-color-scheme: dark)"),o=()=>e(YY()),r=n=>{let a=n.detail?.globals?.theme;(a==="light"||a==="dark")&&(document.documentElement.dataset.hostTheme=a,e(a))};return o(),window.addEventListener("launchchair:host-theme",o),window.addEventListener("openai:set_globals",r),t.addEventListener("change",o),()=>{window.removeEventListener("launchchair:host-theme",o),window.removeEventListener("openai:set_globals",r),t.removeEventListener("change",o)}},[e]),null}function Sbe({children:e}){return(0,ve.jsxs)(gk,{theme:GG,resetCSS:!0,colorModeManager:bbe,children:[(0,ve.jsx)(ybe,{}),e]})}function xbe({widget:e,draft:t,setDraft:o,disabled:r}){let n=e.choice.options.find(s=>s.id===e.choice.selectedOptionId),a=e.choice.scoreKind??(e.choice.domain==="pricing"?"wtb":e.choice.domain==="feature"?"wedge_feature":"wedge");return[(0,ve.jsx)(Ke,{px:{base:3,md:5},children:e.choice.options.length?(0,ve.jsx)(LL,{options:e.choice.options,selectedOptionId:t,onChange:o,isDisabled:r,minChildWidth:"260px",scoreKind:a}):(0,ve.jsx)(x,{color:"text.muted",children:"Complete the strategy step to generate choices."})},"0"),(0,ve.jsx)(Ke,{px:{base:3,md:5},children:n?(0,ve.jsx)(LL,{options:[n],selectedOptionId:n.id,onChange:()=>{},scoreKind:a,readOnly:!0,columns:1}):(0,ve.jsx)(x,{color:"text.muted",children:"No choice has been saved yet."})},"1")]}function Ibe({widget:e}){return[(0,ve.jsx)(Ke,{px:{base:3,md:5},children:(0,ve.jsx)(Pe,{minChildWidth:"200px",spacing:3,children:e.scorecards.map(t=>(0,ve.jsx)($Y,{score:{...t,key:t.id},footer:(0,ve.jsxs)(z,{spacing:2,children:[(0,ve.jsxs)(x,{fontSize:"xs",color:"text.muted",whiteSpace:"nowrap",children:["Recommended ",t.optimization==="minimize"?"\u2264":"\u2265"," ",t.recommendedThreshold,"%"]}),(0,ve.jsx)($,{alignSelf:"start",colorScheme:t.passesRecommendedThreshold===null?"gray":t.passesRecommendedThreshold?"green":"yellow",children:t.passesRecommendedThreshold===null?"Needs data":t.passesRecommendedThreshold?"Meets threshold":"Outside threshold"})]})},t.id))})},"0"),(0,ve.jsx)(Ke,{px:{base:3,md:5},children:(0,ve.jsx)(z,{spacing:4,children:e.scorecards.map(t=>(0,ve.jsxs)(P,{layerStyle:"notchedInset",p:4,children:[(0,ve.jsx)(at,{size:"sm",mb:2,children:t.title.replace(/\s+Score$/i,"")}),t.inputsUsed.length?(0,ve.jsx)(u4,{pl:4,spacing:1,children:t.inputsUsed.map((o,r)=>(0,ve.jsx)(s0,{children:o},r))}):(0,ve.jsx)(x,{children:t.insufficientDataMessage||"No evidence inputs available yet."}),(0,ve.jsxs)(x,{fontSize:"sm",color:"text.muted",mt:2,children:["Required phases: ",t.requiredPhases.join(", ")]})]},t.id))})},"1"),(0,ve.jsx)(Ke,{px:{base:3,md:5},children:(0,ve.jsxs)(z,{spacing:4,children:[(0,ve.jsx)(x,{color:"text.muted",fontSize:"sm",children:e.guidance.distinction}),e.directionOptions.length?e.directionOptions.map(t=>(0,ve.jsxs)(P,{"data-direction-option":!0,layerStyle:"notchedInset",p:4,children:[(0,ve.jsx)(at,{size:"sm",mb:2,children:t.title}),(0,ve.jsxs)(Z,{"data-direction-badges":!0,spacing:2,flexWrap:"wrap",children:[(0,ve.jsxs)($,{children:[t.score,"% direction score"]}),t.selected?(0,ve.jsx)($,{colorScheme:"green",children:"Selected"}):null]}),(0,ve.jsx)(x,{mt:2,children:t.summary})]},t.id)):(0,ve.jsx)(x,{children:"No direction options available yet."})]})},"2")]}function vbe({widget:e,bridge:t,replace:o}){let r=lh(e);(0,Kn.useEffect)(()=>{let T=document.getElementById("launchchair-widget-root");T&&(T.dataset.appUrl=e.url)},[e.url]);let n=P9(e,t.saved),[a,s]=(0,Kn.useState)(n?.tab??0),[i,l]=(0,Kn.useState)(n?.draft??(e.type==="choices"?e.choice.selectedOptionId:"")),[c,u]=(0,Kn.useState)(!1),[m,f]=(0,Kn.useState)(""),[d,p]=(0,Kn.useState)(""),h=e.type==="choices"?e.choice.selectedOptionId:"",S=(0,Kn.useRef)(h);(0,Kn.useEffect)(()=>{S.current!==h&&l(h),S.current=h},[h]),(0,Kn.useEffect)(()=>{let T=w=>{let E=w.detail?.globals;if(!E||!("widgetState"in E))return;let B=P9(e,E.widgetState);B&&(s(B.tab),l(B.draft))};return window.addEventListener("openai:set_globals",T),()=>window.removeEventListener("openai:set_globals",T)},[e]);let g=e.type==="choices"?["Options","Selected choice"]:["Scorecards","Inputs used","Direction options"],b=e.type==="scores"?e.projectKind==="feature"?"Feature Validation Scorecards":"Strategic Scorecards":e.type==="synthesis"?`${e.title} Synthesis`:e.title;async function I(T){if(!c){u(!0),p(""),f("");try{await T()}catch(w){p(w instanceof Error?w.message:"Unable to complete this action.")}finally{u(!1)}}}async function v(){let w=E9(await t.callTool(e.renderTool,e.renderArguments)).structuredContent?.widget;if(!w||lh(w)!==r)throw new Error("LaunchChair returned an unexpected widget. Refresh from the agent conversation.");return o(w),w}let C=T=>{l(T),f(""),t.persist(e,a,T)};return(0,ve.jsx)(z,{spacing:4,"data-widget-type":e.type,children:(0,ve.jsx)(P,{layerStyle:"notchedCard",children:(0,ve.jsxs)(z,{spacing:0,children:[(0,ve.jsxs)(z,{spacing:1,px:{base:3,md:5},py:4,pr:{base:3,md:20},children:[(0,ve.jsxs)(Z,{spacing:2,flexWrap:"wrap",children:[(0,ve.jsxs)(x,{fontSize:"xs",letterSpacing:"wide",textTransform:"uppercase",color:"text.muted",children:["LaunchChair \xB7 ",e.projectName]}),t.preview?(0,ve.jsx)($,{colorScheme:"gray",children:"Local example"}):null]}),(0,ve.jsx)(at,{size:"md",children:b}),e.type==="synthesis"?(0,ve.jsx)($,{alignSelf:"start",colorScheme:e.complete?"green":"yellow",children:e.complete?"Phase complete":`In progress \xB7 ${e.percentage}%`}):null]}),e.type==="synthesis"?(0,ve.jsx)(P,{className:"launchchair-scrollbar","data-aux-scroll":!0,maxH:{base:"440px",md:"560px"},overflowY:"auto",overflowX:"hidden",children:(0,ve.jsx)(ZY,{widget:e,onExportAiSpec:async()=>{await t.message(`Export the AI-ready MVP specification for LaunchChair project ${e.projectId} with launchchair_export_mvp_spec and return the resulting Markdown to me.`),f("Export requested from the agent.")}})}):(0,ve.jsxs)(Hr,{index:a,onChange:T=>{s(T),t.persist(e,T,i)},variant:"line",colorScheme:"brand",isLazy:!0,children:[(0,ve.jsx)(Or,{flexWrap:"wrap",px:{base:1,md:3},children:g.map(T=>(0,ve.jsx)(nt,{px:{base:2,md:4},fontSize:"sm",children:T},T))}),(0,ve.jsx)(P,{className:"launchchair-scrollbar","data-aux-scroll":!0,maxH:{base:"440px",md:"560px"},overflowY:"auto",overflowX:"hidden",children:(0,ve.jsx)(Vr,{children:e.type==="choices"?xbe({widget:e,draft:i,setDraft:C,disabled:c}):Ibe({widget:e})})})]}),d?(0,ve.jsx)(P,{px:{base:3,md:5},pb:4,children:(0,ve.jsxs)(dt,{status:"error",role:"alert",children:[(0,ve.jsx)(pt,{}),(0,ve.jsx)(ht,{children:d})]})}):null,(0,ve.jsx)(x,{"aria-live":"polite",fontSize:"sm",color:"text.muted",px:{base:3,md:5},pb:m||e.type==="choices"&&i&&i!==h?4:0,children:m||(e.type==="choices"&&i&&i!==h?"Selection changed. Save this choice to continue.":"")}),(0,ve.jsxs)(z,{spacing:3,as:"footer",borderTopWidth:"1px",borderColor:"surface.border",px:{base:3,md:5},py:4,children:[(0,ve.jsx)(at,{size:"sm",children:"Next action"}),(0,ve.jsxs)(Z,{flexWrap:"wrap",spacing:2,children:[e.type==="choices"?(0,ve.jsx)(gt,{colorScheme:"brand",variant:"solid",size:"sm",isDisabled:c||!i||i===h,onClick:()=>void I(async()=>{E9(await t.callTool("launchchair_select_choice",{projectId:e.projectId,phaseKey:e.phaseKey,bucketKey:e.bucketKey,optionId:i,resetDownstream:!0}));let T=await v();if(T.type!=="choices"||T.choice.selectedOptionId!==i)throw new Error("The saved choice could not be verified. Refresh before continuing.");t.persist(T,a,i),f(t.preview?"Choice saved in this local example.":"Choice saved. Downstream phases will be regenerated from this selection.")}),children:"Save choice"}):null,(0,ve.jsx)(gt,{colorScheme:"brand",variant:e.type==="choices"?"surfaceSecondary":"solid",size:"sm",rightIcon:(0,ve.jsx)(jl,{}),isDisabled:c||e.type==="choices"&&(!h||i!==h),onClick:()=>void I(async()=>{await t.message(`Continue LaunchChair project ${e.projectId} from ${e.type==="synthesis"?`${e.phaseKey} synthesis`:e.type==="choices"?`the saved ${e.choice.domain} choice ${h}`:"these validation scorecards"}. Call launchchair_next_step and execute the returned step in this host agent. Preserve existing validation gates and authorization boundaries.`),f(t.preview?"Next action selected in this local example.":"Next action sent to the agent.")}),children:e.type==="synthesis"&&e.complete?"Continue to next phase":"Continue project"}),e.type==="scores"?(0,ve.jsx)(gt,{variant:"surfaceSecondary",size:"sm",isDisabled:c,onClick:()=>void I(async()=>{await t.message(`Review validation evidence for LaunchChair project ${e.projectId}. Inspect the current scorecards and identify evidence gaps and appropriate validation steps. Preserve the supplied idea and configured gates.`),f(t.preview?"Validation review selected in this local example.":"Validation review sent to the agent.")}),children:"Review validation"}):null,(0,ve.jsx)(gt,{size:"sm",variant:"surfaceSecondary",leftIcon:(0,ve.jsx)(pM,{}),isDisabled:c,onClick:()=>void I(async()=>{await v(),f("Updated from LaunchChair.")}),children:"Refresh"}),XY(e.url)?(0,ve.jsx)(gt,{as:"a",href:XY(e.url),target:"_blank",rel:"noopener noreferrer",size:"sm",variant:"surfaceSecondary",rightIcon:(0,ve.jsx)(tf,{}),children:"Open in LaunchChair"}):null]})]})]})})})}function KY({bridge:e}){let[t,o]=(0,Kn.useState)(e.initial);return(0,Kn.useEffect)(()=>e.subscribe(o),[e]),(0,ve.jsx)(Sbe,{children:(0,ve.jsx)(P,{bg:"transparent",color:"text.default",sx:{overflowWrap:"anywhere","--font-space-grotesk":"'Space Grotesk'","*":{minWidth:0}},children:t?(0,ve.jsx)(vbe,{widget:t,bridge:e,replace:o},lh(t)):(0,ve.jsx)(x,{p:4,role:"status",children:"Waiting for LaunchChair project data\u2026"})})})}var eK=k(re()),QY=document.getElementById("launchchair-widget-root");QY&&(0,JY.createRoot)(QY).render((0,eK.jsx)(KY,{bridge:qY()}));})();
|
|
1203
|
+
</script></body></html>
|