cogpit 2.3.0 → 2.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cli.js +4681 -4001
- package/dist/web/assets/{CommandPaletteHost-D-VvT_HL.js → CommandPaletteHost-DU1jhhYG.js} +1 -1
- package/dist/web/assets/{ConfigBrowser-Cc2lrh85.js → ConfigBrowser-CTZR8nw6.js} +1 -1
- package/dist/web/assets/{HighlightedEditor-DWNz1Jcz.js → HighlightedEditor-CNTtimUO.js} +1 -1
- package/dist/web/assets/{KeyboardShortcutsDialog-yOs1u5D6.js → KeyboardShortcutsDialog-DtTE4xjZ.js} +1 -1
- package/dist/web/assets/{MobileFileChanges-B1dtcdSZ.js → MobileFileChanges-DaJh6sQ7.js} +1 -1
- package/dist/web/assets/{PreviewPanel-BJwfunf9.js → PreviewPanel-BOL9gNaQ.js} +1 -1
- package/dist/web/assets/{ProjectFilesPanel-DppuIFEt.js → ProjectFilesPanel-CBFFT9qJ.js} +1 -1
- package/dist/web/assets/{ProjectSwitcherModal-DgsuH5CY.js → ProjectSwitcherModal-UUQMoktd.js} +1 -1
- package/dist/web/assets/{TerminalOutput-DlGDS0Wx.js → TerminalOutput-T82q4Tf9.js} +1 -1
- package/dist/web/assets/{ThemeSelectorModal-oI9Vm3EH.js → ThemeSelectorModal-rFVnzZuC.js} +1 -1
- package/dist/web/assets/{WorkflowsPanel-SKbsv_IK.js → WorkflowsPanel-COZwo8h-.js} +1 -1
- package/dist/web/assets/{WorktreePanel-CcSLupr7.js → WorktreePanel-DvZNvNhH.js} +1 -1
- package/dist/web/assets/{index-7FuVzOBC.js → index-BhjwMUil.js} +1 -1
- package/dist/web/assets/index-CghBqEmp.js +153 -0
- package/dist/web/assets/{index-BVkjlOVU.js → index-CpHg1sRc.js} +1 -1
- package/dist/web/assets/{index-Bw-DFQut.js → index-XlQRZ_Un.js} +1 -1
- package/dist/web/assets/index-f2DFkgKZ.css +1 -0
- package/dist/web/assets/{session-parser.worker-RMitC4X_.js → session-parser.worker-QY58jiXs.js} +1 -1
- package/dist/web/assets/vendor-ui-B9m2oOMV.js +867 -0
- package/dist/web/index.html +3 -3
- package/package.json +1 -1
- package/dist/web/assets/index-Du17HzQD.js +0 -151
- package/dist/web/assets/index-xdv0cIL2.css +0 -1
- package/dist/web/assets/vendor-ui-CdA11Wfh.js +0 -817
|
@@ -0,0 +1,867 @@
|
|
|
1
|
+
var Op=Object.defineProperty;var sc=e=>{throw TypeError(e)};var Ap=(e,t,n)=>t in e?Op(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var Ne=(e,t,n)=>Ap(e,typeof t!="symbol"?t+"":t,n),ic=(e,t,n)=>t.has(e)||sc("Cannot "+n);var Ro=(e,t,n)=>(ic(e,t,"read from private field"),n?n.call(e):t.get(e)),ac=(e,t,n)=>t.has(e)?sc("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),cc=(e,t,n,o)=>(ic(e,t,"write to private field"),o?o.call(e,n):t.set(e,n),n);import{r as c,R as mo,j as K,a as At,b as tu}from"./vendor-react-gGw_S5I_.js";/**
|
|
2
|
+
* @license lucide-react v0.577.0 - ISC
|
|
3
|
+
*
|
|
4
|
+
* This source code is licensed under the ISC license.
|
|
5
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
6
|
+
*/const nu=(...e)=>e.filter((t,n,o)=>!!t&&t.trim()!==""&&o.indexOf(t)===n).join(" ").trim();/**
|
|
7
|
+
* @license lucide-react v0.577.0 - ISC
|
|
8
|
+
*
|
|
9
|
+
* This source code is licensed under the ISC license.
|
|
10
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
11
|
+
*/const Np=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase();/**
|
|
12
|
+
* @license lucide-react v0.577.0 - ISC
|
|
13
|
+
*
|
|
14
|
+
* This source code is licensed under the ISC license.
|
|
15
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
16
|
+
*/const Dp=e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(t,n,o)=>o?o.toUpperCase():n.toLowerCase());/**
|
|
17
|
+
* @license lucide-react v0.577.0 - ISC
|
|
18
|
+
*
|
|
19
|
+
* This source code is licensed under the ISC license.
|
|
20
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
21
|
+
*/const lc=e=>{const t=Dp(e);return t.charAt(0).toUpperCase()+t.slice(1)};/**
|
|
22
|
+
* @license lucide-react v0.577.0 - ISC
|
|
23
|
+
*
|
|
24
|
+
* This source code is licensed under the ISC license.
|
|
25
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
26
|
+
*/var _p={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};/**
|
|
27
|
+
* @license lucide-react v0.577.0 - ISC
|
|
28
|
+
*
|
|
29
|
+
* This source code is licensed under the ISC license.
|
|
30
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
31
|
+
*/const Lp=e=>{for(const t in e)if(t.startsWith("aria-")||t==="role"||t==="title")return!0;return!1};/**
|
|
32
|
+
* @license lucide-react v0.577.0 - ISC
|
|
33
|
+
*
|
|
34
|
+
* This source code is licensed under the ISC license.
|
|
35
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
36
|
+
*/const Fp=c.forwardRef(({color:e="currentColor",size:t=24,strokeWidth:n=2,absoluteStrokeWidth:o,className:r="",children:s,iconNode:i,...a},l)=>c.createElement("svg",{ref:l,..._p,width:t,height:t,stroke:e,strokeWidth:o?Number(n)*24/Number(t):n,className:nu("lucide",r),...!s&&!Lp(a)&&{"aria-hidden":"true"},...a},[...i.map(([u,d])=>c.createElement(u,d)),...Array.isArray(s)?s:[s]]));/**
|
|
37
|
+
* @license lucide-react v0.577.0 - ISC
|
|
38
|
+
*
|
|
39
|
+
* This source code is licensed under the ISC license.
|
|
40
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
41
|
+
*/const B=(e,t)=>{const n=c.forwardRef(({className:o,...r},s)=>c.createElement(Fp,{ref:s,iconNode:t,className:nu(`lucide-${Np(lc(e))}`,`lucide-${e}`,o),...r}));return n.displayName=lc(e),n};/**
|
|
42
|
+
* @license lucide-react v0.577.0 - ISC
|
|
43
|
+
*
|
|
44
|
+
* This source code is licensed under the ISC license.
|
|
45
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
46
|
+
*/const zp=[["path",{d:"M22 12h-2.48a2 2 0 0 0-1.93 1.46l-2.35 8.36a.25.25 0 0 1-.48 0L9.24 2.18a.25.25 0 0 0-.48 0l-2.35 8.36A2 2 0 0 1 4.49 12H2",key:"169zse"}]],tS=B("activity",zp);/**
|
|
47
|
+
* @license lucide-react v0.577.0 - ISC
|
|
48
|
+
*
|
|
49
|
+
* This source code is licensed under the ISC license.
|
|
50
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
51
|
+
*/const Vp=[["path",{d:"M17 7 7 17",key:"15tmo1"}],["path",{d:"M17 17H7V7",key:"1org7z"}]],nS=B("arrow-down-left",Vp);/**
|
|
52
|
+
* @license lucide-react v0.577.0 - ISC
|
|
53
|
+
*
|
|
54
|
+
* This source code is licensed under the ISC license.
|
|
55
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
56
|
+
*/const $p=[["path",{d:"M12 5v14",key:"s699le"}],["path",{d:"m19 12-7 7-7-7",key:"1idqje"}]],oS=B("arrow-down",$p);/**
|
|
57
|
+
* @license lucide-react v0.577.0 - ISC
|
|
58
|
+
*
|
|
59
|
+
* This source code is licensed under the ISC license.
|
|
60
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
61
|
+
*/const Hp=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]],rS=B("arrow-right",Hp);/**
|
|
62
|
+
* @license lucide-react v0.577.0 - ISC
|
|
63
|
+
*
|
|
64
|
+
* This source code is licensed under the ISC license.
|
|
65
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
66
|
+
*/const jp=[["path",{d:"M7 7h10v10",key:"1tivn9"}],["path",{d:"M7 17 17 7",key:"1vkiza"}]],sS=B("arrow-up-right",jp);/**
|
|
67
|
+
* @license lucide-react v0.577.0 - ISC
|
|
68
|
+
*
|
|
69
|
+
* This source code is licensed under the ISC license.
|
|
70
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
71
|
+
*/const Bp=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M4.929 4.929 19.07 19.071",key:"196cmz"}]],iS=B("ban",Bp);/**
|
|
72
|
+
* @license lucide-react v0.577.0 - ISC
|
|
73
|
+
*
|
|
74
|
+
* This source code is licensed under the ISC license.
|
|
75
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
76
|
+
*/const Wp=[["path",{d:"M10.268 21a2 2 0 0 0 3.464 0",key:"vwvbt9"}],["path",{d:"M3.262 15.326A1 1 0 0 0 4 17h16a1 1 0 0 0 .74-1.673C19.41 13.956 18 12.499 18 8A6 6 0 0 0 6 8c0 4.499-1.411 5.956-2.738 7.326",key:"11g9vi"}]],aS=B("bell",Wp);/**
|
|
77
|
+
* @license lucide-react v0.577.0 - ISC
|
|
78
|
+
*
|
|
79
|
+
* This source code is licensed under the ISC license.
|
|
80
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
81
|
+
*/const Up=[["path",{d:"M12 7v14",key:"1akyts"}],["path",{d:"M3 18a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a4 4 0 0 1 4 4 4 4 0 0 1 4-4h5a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-6a3 3 0 0 0-3 3 3 3 0 0 0-3-3z",key:"ruj8y"}]],cS=B("book-open",Up);/**
|
|
82
|
+
* @license lucide-react v0.577.0 - ISC
|
|
83
|
+
*
|
|
84
|
+
* This source code is licensed under the ISC license.
|
|
85
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
86
|
+
*/const Gp=[["path",{d:"M12 8V4H8",key:"hb8ula"}],["rect",{width:"16",height:"12",x:"4",y:"8",rx:"2",key:"enze0r"}],["path",{d:"M2 14h2",key:"vft8re"}],["path",{d:"M20 14h2",key:"4cs60a"}],["path",{d:"M15 13v2",key:"1xurst"}],["path",{d:"M9 13v2",key:"rq6x2g"}]],lS=B("bot",Gp);/**
|
|
87
|
+
* @license lucide-react v0.577.0 - ISC
|
|
88
|
+
*
|
|
89
|
+
* This source code is licensed under the ISC license.
|
|
90
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
91
|
+
*/const qp=[["path",{d:"M12 18V5",key:"adv99a"}],["path",{d:"M15 13a4.17 4.17 0 0 1-3-4 4.17 4.17 0 0 1-3 4",key:"1e3is1"}],["path",{d:"M17.598 6.5A3 3 0 1 0 12 5a3 3 0 1 0-5.598 1.5",key:"1gqd8o"}],["path",{d:"M17.997 5.125a4 4 0 0 1 2.526 5.77",key:"iwvgf7"}],["path",{d:"M18 18a4 4 0 0 0 2-7.464",key:"efp6ie"}],["path",{d:"M19.967 17.483A4 4 0 1 1 12 18a4 4 0 1 1-7.967-.517",key:"1gq6am"}],["path",{d:"M6 18a4 4 0 0 1-2-7.464",key:"k1g0md"}],["path",{d:"M6.003 5.125a4 4 0 0 0-2.526 5.77",key:"q97ue3"}]],uS=B("brain",qp);/**
|
|
92
|
+
* @license lucide-react v0.577.0 - ISC
|
|
93
|
+
*
|
|
94
|
+
* This source code is licensed under the ISC license.
|
|
95
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
96
|
+
*/const Yp=[["path",{d:"M3 3v16a2 2 0 0 0 2 2h16",key:"c24i48"}],["path",{d:"M18 17V9",key:"2bz60n"}],["path",{d:"M13 17V5",key:"1frdt8"}],["path",{d:"M8 17v-3",key:"17ska0"}]],dS=B("chart-column",Yp);/**
|
|
97
|
+
* @license lucide-react v0.577.0 - ISC
|
|
98
|
+
*
|
|
99
|
+
* This source code is licensed under the ISC license.
|
|
100
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
101
|
+
*/const Xp=[["path",{d:"M18 6 7 17l-5-5",key:"116fxf"}],["path",{d:"m22 10-7.5 7.5L13 16",key:"ke71qq"}]],fS=B("check-check",Xp);/**
|
|
102
|
+
* @license lucide-react v0.577.0 - ISC
|
|
103
|
+
*
|
|
104
|
+
* This source code is licensed under the ISC license.
|
|
105
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
106
|
+
*/const Kp=[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]],pS=B("check",Kp);/**
|
|
107
|
+
* @license lucide-react v0.577.0 - ISC
|
|
108
|
+
*
|
|
109
|
+
* This source code is licensed under the ISC license.
|
|
110
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
111
|
+
*/const Zp=[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]],hS=B("chevron-down",Zp);/**
|
|
112
|
+
* @license lucide-react v0.577.0 - ISC
|
|
113
|
+
*
|
|
114
|
+
* This source code is licensed under the ISC license.
|
|
115
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
116
|
+
*/const Qp=[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]],gS=B("chevron-left",Qp);/**
|
|
117
|
+
* @license lucide-react v0.577.0 - ISC
|
|
118
|
+
*
|
|
119
|
+
* This source code is licensed under the ISC license.
|
|
120
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
121
|
+
*/const Jp=[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]],mS=B("chevron-right",Jp);/**
|
|
122
|
+
* @license lucide-react v0.577.0 - ISC
|
|
123
|
+
*
|
|
124
|
+
* This source code is licensed under the ISC license.
|
|
125
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
126
|
+
*/const eh=[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]],yS=B("chevron-up",eh);/**
|
|
127
|
+
* @license lucide-react v0.577.0 - ISC
|
|
128
|
+
*
|
|
129
|
+
* This source code is licensed under the ISC license.
|
|
130
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
131
|
+
*/const th=[["path",{d:"m7 20 5-5 5 5",key:"13a0gw"}],["path",{d:"m7 4 5 5 5-5",key:"1kwcof"}]],bS=B("chevrons-down-up",th);/**
|
|
132
|
+
* @license lucide-react v0.577.0 - ISC
|
|
133
|
+
*
|
|
134
|
+
* This source code is licensed under the ISC license.
|
|
135
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
136
|
+
*/const nh=[["path",{d:"m6 17 5-5-5-5",key:"xnjwq"}],["path",{d:"m13 17 5-5-5-5",key:"17xmmf"}]],vS=B("chevrons-right",nh);/**
|
|
137
|
+
* @license lucide-react v0.577.0 - ISC
|
|
138
|
+
*
|
|
139
|
+
* This source code is licensed under the ISC license.
|
|
140
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
141
|
+
*/const oh=[["path",{d:"m7 15 5 5 5-5",key:"1hf1tw"}],["path",{d:"m7 9 5-5 5 5",key:"sgt6xg"}]],xS=B("chevrons-up-down",oh);/**
|
|
142
|
+
* @license lucide-react v0.577.0 - ISC
|
|
143
|
+
*
|
|
144
|
+
* This source code is licensed under the ISC license.
|
|
145
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
146
|
+
*/const rh=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]],wS=B("circle-alert",rh);/**
|
|
147
|
+
* @license lucide-react v0.577.0 - ISC
|
|
148
|
+
*
|
|
149
|
+
* This source code is licensed under the ISC license.
|
|
150
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
151
|
+
*/const sh=[["path",{d:"M21.801 10A10 10 0 1 1 17 3.335",key:"yps3ct"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]],SS=B("circle-check-big",sh);/**
|
|
152
|
+
* @license lucide-react v0.577.0 - ISC
|
|
153
|
+
*
|
|
154
|
+
* This source code is licensed under the ISC license.
|
|
155
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
156
|
+
*/const ih=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m16 12-4-4-4 4",key:"177agl"}],["path",{d:"M12 16V8",key:"1sbj14"}]],RS=B("circle-arrow-up",ih);/**
|
|
157
|
+
* @license lucide-react v0.577.0 - ISC
|
|
158
|
+
*
|
|
159
|
+
* This source code is licensed under the ISC license.
|
|
160
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
161
|
+
*/const ah=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]],kS=B("circle-check",ah);/**
|
|
162
|
+
* @license lucide-react v0.577.0 - ISC
|
|
163
|
+
*
|
|
164
|
+
* This source code is licensed under the ISC license.
|
|
165
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
166
|
+
*/const ch=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M16 8h-6a2 2 0 1 0 0 4h4a2 2 0 1 1 0 4H8",key:"1h4pet"}],["path",{d:"M12 18V6",key:"zqpxq5"}]],ES=B("circle-dollar-sign",ch);/**
|
|
167
|
+
* @license lucide-react v0.577.0 - ISC
|
|
168
|
+
*
|
|
169
|
+
* This source code is licensed under the ISC license.
|
|
170
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
171
|
+
*/const lh=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}]],CS=B("circle-dot",lh);/**
|
|
172
|
+
* @license lucide-react v0.577.0 - ISC
|
|
173
|
+
*
|
|
174
|
+
* This source code is licensed under the ISC license.
|
|
175
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
176
|
+
*/const uh=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M17 12h.01",key:"1m0b6t"}],["path",{d:"M12 12h.01",key:"1mp3jc"}],["path",{d:"M7 12h.01",key:"eqddd0"}]],PS=B("circle-ellipsis",uh);/**
|
|
177
|
+
* @license lucide-react v0.577.0 - ISC
|
|
178
|
+
*
|
|
179
|
+
* This source code is licensed under the ISC license.
|
|
180
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
181
|
+
*/const dh=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M8 12h8",key:"1wcyev"}]],MS=B("circle-minus",dh);/**
|
|
182
|
+
* @license lucide-react v0.577.0 - ISC
|
|
183
|
+
*
|
|
184
|
+
* This source code is licensed under the ISC license.
|
|
185
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
186
|
+
*/const fh=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3",key:"1u773s"}],["path",{d:"M12 17h.01",key:"p32p05"}]],TS=B("circle-question-mark",fh);/**
|
|
187
|
+
* @license lucide-react v0.577.0 - ISC
|
|
188
|
+
*
|
|
189
|
+
* This source code is licensed under the ISC license.
|
|
190
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
191
|
+
*/const ph=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"9",x2:"15",y1:"15",y2:"9",key:"1dfufj"}]],IS=B("circle-slash",ph);/**
|
|
192
|
+
* @license lucide-react v0.577.0 - ISC
|
|
193
|
+
*
|
|
194
|
+
* This source code is licensed under the ISC license.
|
|
195
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
196
|
+
*/const hh=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m15 9-6 6",key:"1uzhvr"}],["path",{d:"m9 9 6 6",key:"z0biqf"}]],OS=B("circle-x",hh);/**
|
|
197
|
+
* @license lucide-react v0.577.0 - ISC
|
|
198
|
+
*
|
|
199
|
+
* This source code is licensed under the ISC license.
|
|
200
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
201
|
+
*/const gh=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]],AS=B("circle",gh);/**
|
|
202
|
+
* @license lucide-react v0.577.0 - ISC
|
|
203
|
+
*
|
|
204
|
+
* This source code is licensed under the ISC license.
|
|
205
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
206
|
+
*/const mh=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 6v6h4",key:"135r8i"}]],NS=B("clock-3",mh);/**
|
|
207
|
+
* @license lucide-react v0.577.0 - ISC
|
|
208
|
+
*
|
|
209
|
+
* This source code is licensed under the ISC license.
|
|
210
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
211
|
+
*/const yh=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 6v6l4 2",key:"mmk7yg"}]],DS=B("clock",yh);/**
|
|
212
|
+
* @license lucide-react v0.577.0 - ISC
|
|
213
|
+
*
|
|
214
|
+
* This source code is licensed under the ISC license.
|
|
215
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
216
|
+
*/const bh=[["path",{d:"m18 16 4-4-4-4",key:"1inbqp"}],["path",{d:"m6 8-4 4 4 4",key:"15zrgr"}],["path",{d:"m14.5 4-5 16",key:"e7oirm"}]],_S=B("code-xml",bh);/**
|
|
217
|
+
* @license lucide-react v0.577.0 - ISC
|
|
218
|
+
*
|
|
219
|
+
* This source code is licensed under the ISC license.
|
|
220
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
221
|
+
*/const vh=[["path",{d:"M13.744 17.736a6 6 0 1 1-7.48-7.48",key:"bq4yh3"}],["path",{d:"M15 6h1v4",key:"11y1tn"}],["path",{d:"m6.134 14.768.866-.5 2 3.464",key:"17snzx"}],["circle",{cx:"16",cy:"8",r:"6",key:"14bfc9"}]],LS=B("coins",vh);/**
|
|
222
|
+
* @license lucide-react v0.577.0 - ISC
|
|
223
|
+
*
|
|
224
|
+
* This source code is licensed under the ISC license.
|
|
225
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
226
|
+
*/const xh=[["line",{x1:"15",x2:"15",y1:"12",y2:"18",key:"1p7wdc"}],["line",{x1:"12",x2:"18",y1:"15",y2:"15",key:"1nscbv"}],["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]],FS=B("copy-plus",xh);/**
|
|
227
|
+
* @license lucide-react v0.577.0 - ISC
|
|
228
|
+
*
|
|
229
|
+
* This source code is licensed under the ISC license.
|
|
230
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
231
|
+
*/const wh=[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]],zS=B("copy",wh);/**
|
|
232
|
+
* @license lucide-react v0.577.0 - ISC
|
|
233
|
+
*
|
|
234
|
+
* This source code is licensed under the ISC license.
|
|
235
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
236
|
+
*/const Sh=[["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M17 20v2",key:"1rnc9c"}],["path",{d:"M17 2v2",key:"11trls"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M2 17h2",key:"7oei6x"}],["path",{d:"M2 7h2",key:"asdhe0"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"M20 17h2",key:"1fpfkl"}],["path",{d:"M20 7h2",key:"1o8tra"}],["path",{d:"M7 20v2",key:"4gnj0m"}],["path",{d:"M7 2v2",key:"1i4yhu"}],["rect",{x:"4",y:"4",width:"16",height:"16",rx:"2",key:"1vbyd7"}],["rect",{x:"8",y:"8",width:"8",height:"8",rx:"1",key:"z9xiuo"}]],VS=B("cpu",Sh);/**
|
|
237
|
+
* @license lucide-react v0.577.0 - ISC
|
|
238
|
+
*
|
|
239
|
+
* This source code is licensed under the ISC license.
|
|
240
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
241
|
+
*/const Rh=[["path",{d:"M11.562 3.266a.5.5 0 0 1 .876 0L15.39 8.87a1 1 0 0 0 1.516.294L21.183 5.5a.5.5 0 0 1 .798.519l-2.834 10.246a1 1 0 0 1-.956.734H5.81a1 1 0 0 1-.957-.734L2.02 6.02a.5.5 0 0 1 .798-.519l4.276 3.664a1 1 0 0 0 1.516-.294z",key:"1vdc57"}],["path",{d:"M5 21h14",key:"11awu3"}]],$S=B("crown",Rh);/**
|
|
242
|
+
* @license lucide-react v0.577.0 - ISC
|
|
243
|
+
*
|
|
244
|
+
* This source code is licensed under the ISC license.
|
|
245
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
246
|
+
*/const kh=[["path",{d:"M12 15V3",key:"m9g1x1"}],["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["path",{d:"m7 10 5 5 5-5",key:"brsn70"}]],HS=B("download",kh);/**
|
|
247
|
+
* @license lucide-react v0.577.0 - ISC
|
|
248
|
+
*
|
|
249
|
+
* This source code is licensed under the ISC license.
|
|
250
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
251
|
+
*/const Eh=[["path",{d:"M21.54 15H17a2 2 0 0 0-2 2v4.54",key:"1djwo0"}],["path",{d:"M7 3.34V5a3 3 0 0 0 3 3a2 2 0 0 1 2 2c0 1.1.9 2 2 2a2 2 0 0 0 2-2c0-1.1.9-2 2-2h3.17",key:"1tzkfa"}],["path",{d:"M11 21.95V18a2 2 0 0 0-2-2a2 2 0 0 1-2-2v-1a2 2 0 0 0-2-2H2.05",key:"14pb5j"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]],jS=B("earth",Eh);/**
|
|
252
|
+
* @license lucide-react v0.577.0 - ISC
|
|
253
|
+
*
|
|
254
|
+
* This source code is licensed under the ISC license.
|
|
255
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
256
|
+
*/const Ch=[["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}],["circle",{cx:"19",cy:"12",r:"1",key:"1wjl8i"}],["circle",{cx:"5",cy:"12",r:"1",key:"1pcz8c"}]],BS=B("ellipsis",Ch);/**
|
|
257
|
+
* @license lucide-react v0.577.0 - ISC
|
|
258
|
+
*
|
|
259
|
+
* This source code is licensed under the ISC license.
|
|
260
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
261
|
+
*/const Ph=[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]],WS=B("external-link",Ph);/**
|
|
262
|
+
* @license lucide-react v0.577.0 - ISC
|
|
263
|
+
*
|
|
264
|
+
* This source code is licensed under the ISC license.
|
|
265
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
266
|
+
*/const Mh=[["path",{d:"M10.733 5.076a10.744 10.744 0 0 1 11.205 6.575 1 1 0 0 1 0 .696 10.747 10.747 0 0 1-1.444 2.49",key:"ct8e1f"}],["path",{d:"M14.084 14.158a3 3 0 0 1-4.242-4.242",key:"151rxh"}],["path",{d:"M17.479 17.499a10.75 10.75 0 0 1-15.417-5.151 1 1 0 0 1 0-.696 10.75 10.75 0 0 1 4.446-5.143",key:"13bj9a"}],["path",{d:"m2 2 20 20",key:"1ooewy"}]],US=B("eye-off",Mh);/**
|
|
267
|
+
* @license lucide-react v0.577.0 - ISC
|
|
268
|
+
*
|
|
269
|
+
* This source code is licensed under the ISC license.
|
|
270
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
271
|
+
*/const Th=[["path",{d:"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",key:"1nclc0"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]],GS=B("eye",Th);/**
|
|
272
|
+
* @license lucide-react v0.577.0 - ISC
|
|
273
|
+
*
|
|
274
|
+
* This source code is licensed under the ISC license.
|
|
275
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
276
|
+
*/const Ih=[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"M10 12a1 1 0 0 0-1 1v1a1 1 0 0 1-1 1 1 1 0 0 1 1 1v1a1 1 0 0 0 1 1",key:"1oajmo"}],["path",{d:"M14 18a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1 1 1 0 0 1-1-1v-1a1 1 0 0 0-1-1",key:"mpwhp6"}]],qS=B("file-braces",Ih);/**
|
|
277
|
+
* @license lucide-react v0.577.0 - ISC
|
|
278
|
+
*
|
|
279
|
+
* This source code is licensed under the ISC license.
|
|
280
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
281
|
+
*/const Oh=[["path",{d:"M4 12.15V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.706.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2h-3.35",key:"1wthlu"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"m5 16-3 3 3 3",key:"331omg"}],["path",{d:"m9 22 3-3-3-3",key:"lsp7cz"}]],YS=B("file-code-corner",Oh);/**
|
|
282
|
+
* @license lucide-react v0.577.0 - ISC
|
|
283
|
+
*
|
|
284
|
+
* This source code is licensed under the ISC license.
|
|
285
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
286
|
+
*/const Ah=[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["circle",{cx:"10",cy:"12",r:"2",key:"737tya"}],["path",{d:"m20 17-1.296-1.296a2.41 2.41 0 0 0-3.408 0L9 22",key:"wt3hpn"}]],XS=B("file-image",Ah);/**
|
|
287
|
+
* @license lucide-react v0.577.0 - ISC
|
|
288
|
+
*
|
|
289
|
+
* This source code is licensed under the ISC license.
|
|
290
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
291
|
+
*/const Nh=[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"m8 16 2-2-2-2",key:"10vzyd"}],["path",{d:"M12 18h4",key:"1wd2n7"}]],KS=B("file-terminal",Nh);/**
|
|
292
|
+
* @license lucide-react v0.577.0 - ISC
|
|
293
|
+
*
|
|
294
|
+
* This source code is licensed under the ISC license.
|
|
295
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
296
|
+
*/const Dh=[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"M10 9H8",key:"b1mrlr"}],["path",{d:"M16 13H8",key:"t4e002"}],["path",{d:"M16 17H8",key:"z1uh3a"}]],ZS=B("file-text",Dh);/**
|
|
297
|
+
* @license lucide-react v0.577.0 - ISC
|
|
298
|
+
*
|
|
299
|
+
* This source code is licensed under the ISC license.
|
|
300
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
301
|
+
*/const _h=[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}]],QS=B("file",_h);/**
|
|
302
|
+
* @license lucide-react v0.577.0 - ISC
|
|
303
|
+
*
|
|
304
|
+
* This source code is licensed under the ISC license.
|
|
305
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
306
|
+
*/const Lh=[["path",{d:"M4 22V4a1 1 0 0 1 .4-.8A6 6 0 0 1 8 2c3 0 5 2 7.333 2q2 0 3.067-.8A1 1 0 0 1 20 4v10a1 1 0 0 1-.4.8A6 6 0 0 1 16 16c-3 0-5-2-8-2a6 6 0 0 0-4 1.528",key:"1jaruq"}]],JS=B("flag",Lh);/**
|
|
307
|
+
* @license lucide-react v0.577.0 - ISC
|
|
308
|
+
*
|
|
309
|
+
* This source code is licensed under the ISC license.
|
|
310
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
311
|
+
*/const Fh=[["path",{d:"M12 3q1 4 4 6.5t3 5.5a1 1 0 0 1-14 0 5 5 0 0 1 1-3 1 1 0 0 0 5 0c0-2-1.5-3-1.5-5q0-2 2.5-4",key:"1slcih"}]],eR=B("flame",Fh);/**
|
|
312
|
+
* @license lucide-react v0.577.0 - ISC
|
|
313
|
+
*
|
|
314
|
+
* This source code is licensed under the ISC license.
|
|
315
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
316
|
+
*/const zh=[["path",{d:"M10 10.5 8 13l2 2.5",key:"m4t9c1"}],["path",{d:"m14 10.5 2 2.5-2 2.5",key:"14w2eb"}],["path",{d:"M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2z",key:"1u1bxd"}]],tR=B("folder-code",zh);/**
|
|
317
|
+
* @license lucide-react v0.577.0 - ISC
|
|
318
|
+
*
|
|
319
|
+
* This source code is licensed under the ISC license.
|
|
320
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
321
|
+
*/const Vh=[["path",{d:"m6 14 1.5-2.9A2 2 0 0 1 9.24 10H20a2 2 0 0 1 1.94 2.5l-1.54 6a2 2 0 0 1-1.95 1.5H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H18a2 2 0 0 1 2 2v2",key:"usdka0"}]],nR=B("folder-open",Vh);/**
|
|
322
|
+
* @license lucide-react v0.577.0 - ISC
|
|
323
|
+
*
|
|
324
|
+
* This source code is licensed under the ISC license.
|
|
325
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
326
|
+
*/const $h=[["path",{d:"M12 10v6",key:"1bos4e"}],["path",{d:"M9 13h6",key:"1uhe8q"}],["path",{d:"M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z",key:"1kt360"}]],oR=B("folder-plus",$h);/**
|
|
327
|
+
* @license lucide-react v0.577.0 - ISC
|
|
328
|
+
*
|
|
329
|
+
* This source code is licensed under the ISC license.
|
|
330
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
331
|
+
*/const Hh=[["path",{d:"M10.7 20H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H20a2 2 0 0 1 2 2v4.1",key:"1bw5m7"}],["path",{d:"m21 21-1.9-1.9",key:"1g2n9r"}],["circle",{cx:"17",cy:"17",r:"3",key:"18b49y"}]],rR=B("folder-search",Hh);/**
|
|
332
|
+
* @license lucide-react v0.577.0 - ISC
|
|
333
|
+
*
|
|
334
|
+
* This source code is licensed under the ISC license.
|
|
335
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
336
|
+
*/const jh=[["path",{d:"M20 10a1 1 0 0 0 1-1V6a1 1 0 0 0-1-1h-2.5a1 1 0 0 1-.8-.4l-.9-1.2A1 1 0 0 0 15 3h-2a1 1 0 0 0-1 1v5a1 1 0 0 0 1 1Z",key:"hod4my"}],["path",{d:"M20 21a1 1 0 0 0 1-1v-3a1 1 0 0 0-1-1h-2.9a1 1 0 0 1-.88-.55l-.42-.85a1 1 0 0 0-.92-.6H13a1 1 0 0 0-1 1v5a1 1 0 0 0 1 1Z",key:"w4yl2u"}],["path",{d:"M3 5a2 2 0 0 0 2 2h3",key:"f2jnh7"}],["path",{d:"M3 3v13a2 2 0 0 0 2 2h3",key:"k8epm1"}]],sR=B("folder-tree",jh);/**
|
|
337
|
+
* @license lucide-react v0.577.0 - ISC
|
|
338
|
+
*
|
|
339
|
+
* This source code is licensed under the ISC license.
|
|
340
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
341
|
+
*/const Bh=[["path",{d:"M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z",key:"1kt360"}]],iR=B("folder",Bh);/**
|
|
342
|
+
* @license lucide-react v0.577.0 - ISC
|
|
343
|
+
*
|
|
344
|
+
* This source code is licensed under the ISC license.
|
|
345
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
346
|
+
*/const Wh=[["path",{d:"M15 6a9 9 0 0 0-9 9V3",key:"1cii5b"}],["circle",{cx:"18",cy:"6",r:"3",key:"1h7g24"}],["circle",{cx:"6",cy:"18",r:"3",key:"fqmcym"}]],aR=B("git-branch",Wh);/**
|
|
347
|
+
* @license lucide-react v0.577.0 - ISC
|
|
348
|
+
*
|
|
349
|
+
* This source code is licensed under the ISC license.
|
|
350
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
351
|
+
*/const Uh=[["circle",{cx:"5",cy:"6",r:"3",key:"1qnov2"}],["path",{d:"M12 6h5a2 2 0 0 1 2 2v7",key:"1yj91y"}],["path",{d:"m15 9-3-3 3-3",key:"1lwv8l"}],["circle",{cx:"19",cy:"18",r:"3",key:"1qljk2"}],["path",{d:"M12 18H7a2 2 0 0 1-2-2V9",key:"16sdep"}],["path",{d:"m9 15 3 3-3 3",key:"1m3kbl"}]],cR=B("git-compare-arrows",Uh);/**
|
|
352
|
+
* @license lucide-react v0.577.0 - ISC
|
|
353
|
+
*
|
|
354
|
+
* This source code is licensed under the ISC license.
|
|
355
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
356
|
+
*/const Gh=[["circle",{cx:"12",cy:"18",r:"3",key:"1mpf1b"}],["circle",{cx:"6",cy:"6",r:"3",key:"1lh9wr"}],["circle",{cx:"18",cy:"6",r:"3",key:"1h7g24"}],["path",{d:"M18 9v2c0 .6-.4 1-1 1H7c-.6 0-1-.4-1-1V9",key:"1uq4wg"}],["path",{d:"M12 12v3",key:"158kv8"}]],lR=B("git-fork",Gh);/**
|
|
357
|
+
* @license lucide-react v0.577.0 - ISC
|
|
358
|
+
*
|
|
359
|
+
* This source code is licensed under the ISC license.
|
|
360
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
361
|
+
*/const qh=[["circle",{cx:"18",cy:"18",r:"3",key:"1xkwt0"}],["circle",{cx:"6",cy:"6",r:"3",key:"1lh9wr"}],["path",{d:"M6 21V9a9 9 0 0 0 9 9",key:"7kw0sc"}]],uR=B("git-merge",qh);/**
|
|
362
|
+
* @license lucide-react v0.577.0 - ISC
|
|
363
|
+
*
|
|
364
|
+
* This source code is licensed under the ISC license.
|
|
365
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
366
|
+
*/const Yh=[["circle",{cx:"6",cy:"6",r:"3",key:"1lh9wr"}],["path",{d:"M6 9v12",key:"1sc30k"}],["path",{d:"m21 3-6 6",key:"16nqsk"}],["path",{d:"m21 9-6-6",key:"9j17rh"}],["path",{d:"M18 11.5V15",key:"65xf6f"}],["circle",{cx:"18",cy:"18",r:"3",key:"1xkwt0"}]],dR=B("git-pull-request-closed",Yh);/**
|
|
367
|
+
* @license lucide-react v0.577.0 - ISC
|
|
368
|
+
*
|
|
369
|
+
* This source code is licensed under the ISC license.
|
|
370
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
371
|
+
*/const Xh=[["circle",{cx:"18",cy:"18",r:"3",key:"1xkwt0"}],["circle",{cx:"6",cy:"6",r:"3",key:"1lh9wr"}],["path",{d:"M18 6V5",key:"1oao2s"}],["path",{d:"M18 11v-1",key:"11c8tz"}],["line",{x1:"6",x2:"6",y1:"9",y2:"21",key:"rroup"}]],fR=B("git-pull-request-draft",Xh);/**
|
|
372
|
+
* @license lucide-react v0.577.0 - ISC
|
|
373
|
+
*
|
|
374
|
+
* This source code is licensed under the ISC license.
|
|
375
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
376
|
+
*/const Kh=[["circle",{cx:"18",cy:"18",r:"3",key:"1xkwt0"}],["circle",{cx:"6",cy:"6",r:"3",key:"1lh9wr"}],["path",{d:"M13 6h3a2 2 0 0 1 2 2v7",key:"1yeb86"}],["line",{x1:"6",x2:"6",y1:"9",y2:"21",key:"rroup"}]],pR=B("git-pull-request",Kh);/**
|
|
377
|
+
* @license lucide-react v0.577.0 - ISC
|
|
378
|
+
*
|
|
379
|
+
* This source code is licensed under the ISC license.
|
|
380
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
381
|
+
*/const Zh=[["path",{d:"M15 22v-4a4.8 4.8 0 0 0-1-3.5c3 0 6-2 6-5.5.08-1.25-.27-2.48-1-3.5.28-1.15.28-2.35 0-3.5 0 0-1 0-3 1.5-2.64-.5-5.36-.5-8 0C6 2 5 2 5 2c-.3 1.15-.3 2.35 0 3.5A5.403 5.403 0 0 0 4 9c0 3.5 3 5.5 6 5.5-.39.49-.68 1.05-.85 1.65-.17.6-.22 1.23-.15 1.85v4",key:"tonef"}],["path",{d:"M9 18c-4.51 2-5-2-7-2",key:"9comsn"}]],hR=B("github",Zh);/**
|
|
382
|
+
* @license lucide-react v0.577.0 - ISC
|
|
383
|
+
*
|
|
384
|
+
* This source code is licensed under the ISC license.
|
|
385
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
386
|
+
*/const Qh=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20",key:"13o1zl"}],["path",{d:"M2 12h20",key:"9i4pu4"}]],gR=B("globe",Qh);/**
|
|
387
|
+
* @license lucide-react v0.577.0 - ISC
|
|
388
|
+
*
|
|
389
|
+
* This source code is licensed under the ISC license.
|
|
390
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
391
|
+
*/const Jh=[["path",{d:"M18 11V6a2 2 0 0 0-2-2a2 2 0 0 0-2 2",key:"1fvzgz"}],["path",{d:"M14 10V4a2 2 0 0 0-2-2a2 2 0 0 0-2 2v2",key:"1kc0my"}],["path",{d:"M10 10.5V6a2 2 0 0 0-2-2a2 2 0 0 0-2 2v8",key:"10h0bg"}],["path",{d:"M18 8a2 2 0 1 1 4 0v6a8 8 0 0 1-8 8h-2c-2.8 0-4.5-.86-5.99-2.34l-3.6-3.6a2 2 0 0 1 2.83-2.82L7 15",key:"1s1gnw"}]],mR=B("hand",Jh);/**
|
|
392
|
+
* @license lucide-react v0.577.0 - ISC
|
|
393
|
+
*
|
|
394
|
+
* This source code is licensed under the ISC license.
|
|
395
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
396
|
+
*/const eg=[["path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"1357e3"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}],["path",{d:"M12 7v5l4 2",key:"1fdv2h"}]],yR=B("history",eg);/**
|
|
397
|
+
* @license lucide-react v0.577.0 - ISC
|
|
398
|
+
*
|
|
399
|
+
* This source code is licensed under the ISC license.
|
|
400
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
401
|
+
*/const tg=[["path",{d:"M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8",key:"5wwlr5"}],["path",{d:"M3 10a2 2 0 0 1 .709-1.528l7-6a2 2 0 0 1 2.582 0l7 6A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z",key:"r6nss1"}]],bR=B("house",tg);/**
|
|
402
|
+
* @license lucide-react v0.577.0 - ISC
|
|
403
|
+
*
|
|
404
|
+
* This source code is licensed under the ISC license.
|
|
405
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
406
|
+
*/const ng=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",ry:"2",key:"1m3agn"}],["circle",{cx:"9",cy:"9",r:"2",key:"af1f0g"}],["path",{d:"m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21",key:"1xmnt7"}]],vR=B("image",ng);/**
|
|
407
|
+
* @license lucide-react v0.577.0 - ISC
|
|
408
|
+
*
|
|
409
|
+
* This source code is licensed under the ISC license.
|
|
410
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
411
|
+
*/const og=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]],xR=B("info",og);/**
|
|
412
|
+
* @license lucide-react v0.577.0 - ISC
|
|
413
|
+
*
|
|
414
|
+
* This source code is licensed under the ISC license.
|
|
415
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
416
|
+
*/const rg=[["path",{d:"M6 16c5 0 7-8 12-8a4 4 0 0 1 0 8c-5 0-7-8-12-8a4 4 0 1 0 0 8",key:"18ogeb"}]],wR=B("infinity",rg);/**
|
|
417
|
+
* @license lucide-react v0.577.0 - ISC
|
|
418
|
+
*
|
|
419
|
+
* This source code is licensed under the ISC license.
|
|
420
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
421
|
+
*/const sg=[["path",{d:"M2.586 17.414A2 2 0 0 0 2 18.828V21a1 1 0 0 0 1 1h3a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h1a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h.172a2 2 0 0 0 1.414-.586l.814-.814a6.5 6.5 0 1 0-4-4z",key:"1s6t7t"}],["circle",{cx:"16.5",cy:"7.5",r:".5",fill:"currentColor",key:"w0ekpg"}]],SR=B("key-round",sg);/**
|
|
422
|
+
* @license lucide-react v0.577.0 - ISC
|
|
423
|
+
*
|
|
424
|
+
* This source code is licensed under the ISC license.
|
|
425
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
426
|
+
*/const ig=[["path",{d:"M10 8h.01",key:"1r9ogq"}],["path",{d:"M12 12h.01",key:"1mp3jc"}],["path",{d:"M14 8h.01",key:"1primd"}],["path",{d:"M16 12h.01",key:"1l6xoz"}],["path",{d:"M18 8h.01",key:"emo2bl"}],["path",{d:"M6 8h.01",key:"x9i8wu"}],["path",{d:"M7 16h10",key:"wp8him"}],["path",{d:"M8 12h.01",key:"czm47f"}],["rect",{width:"20",height:"16",x:"2",y:"4",rx:"2",key:"18n3k1"}]],RR=B("keyboard",ig);/**
|
|
427
|
+
* @license lucide-react v0.577.0 - ISC
|
|
428
|
+
*
|
|
429
|
+
* This source code is licensed under the ISC license.
|
|
430
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
431
|
+
*/const ag=[["path",{d:"M18 5a2 2 0 0 1 2 2v8.526a2 2 0 0 0 .212.897l1.068 2.127a1 1 0 0 1-.9 1.45H3.62a1 1 0 0 1-.9-1.45l1.068-2.127A2 2 0 0 0 4 15.526V7a2 2 0 0 1 2-2z",key:"1pdavp"}],["path",{d:"M20.054 15.987H3.946",key:"14rxg9"}]],kR=B("laptop",ag);/**
|
|
432
|
+
* @license lucide-react v0.577.0 - ISC
|
|
433
|
+
*
|
|
434
|
+
* This source code is licensed under the ISC license.
|
|
435
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
436
|
+
*/const cg=[["path",{d:"M12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83z",key:"zw3jo"}],["path",{d:"M2 12a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 12",key:"1wduqc"}],["path",{d:"M2 17a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 17",key:"kqbvx6"}]],ER=B("layers",cg);/**
|
|
437
|
+
* @license lucide-react v0.577.0 - ISC
|
|
438
|
+
*
|
|
439
|
+
* This source code is licensed under the ISC license.
|
|
440
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
441
|
+
*/const lg=[["rect",{width:"7",height:"7",x:"3",y:"3",rx:"1",key:"1g98yp"}],["rect",{width:"7",height:"7",x:"14",y:"3",rx:"1",key:"6d4xhi"}],["rect",{width:"7",height:"7",x:"14",y:"14",rx:"1",key:"nxv5o0"}],["rect",{width:"7",height:"7",x:"3",y:"14",rx:"1",key:"1bb6yr"}]],CR=B("layout-grid",lg);/**
|
|
442
|
+
* @license lucide-react v0.577.0 - ISC
|
|
443
|
+
*
|
|
444
|
+
* This source code is licensed under the ISC license.
|
|
445
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
446
|
+
*/const ug=[["path",{d:"M9 17H7A5 5 0 0 1 7 7",key:"10o201"}],["path",{d:"M15 7h2a5 5 0 0 1 4 8",key:"1d3206"}],["line",{x1:"8",x2:"12",y1:"12",y2:"12",key:"rvw6j4"}],["line",{x1:"2",x2:"22",y1:"2",y2:"22",key:"a6p6uj"}]],PR=B("link-2-off",ug);/**
|
|
447
|
+
* @license lucide-react v0.577.0 - ISC
|
|
448
|
+
*
|
|
449
|
+
* This source code is licensed under the ISC license.
|
|
450
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
451
|
+
*/const dg=[["path",{d:"M9 17H7A5 5 0 0 1 7 7h2",key:"8i5ue5"}],["path",{d:"M15 7h2a5 5 0 1 1 0 10h-2",key:"1b9ql8"}],["line",{x1:"8",x2:"16",y1:"12",y2:"12",key:"1jonct"}]],MR=B("link-2",dg);/**
|
|
452
|
+
* @license lucide-react v0.577.0 - ISC
|
|
453
|
+
*
|
|
454
|
+
* This source code is licensed under the ISC license.
|
|
455
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
456
|
+
*/const fg=[["path",{d:"M3 5h.01",key:"18ugdj"}],["path",{d:"M3 12h.01",key:"nlz23k"}],["path",{d:"M3 19h.01",key:"noohij"}],["path",{d:"M8 5h13",key:"1pao27"}],["path",{d:"M8 12h13",key:"1za7za"}],["path",{d:"M8 19h13",key:"m83p4d"}]],TR=B("list",fg);/**
|
|
457
|
+
* @license lucide-react v0.577.0 - ISC
|
|
458
|
+
*
|
|
459
|
+
* This source code is licensed under the ISC license.
|
|
460
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
461
|
+
*/const pg=[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]],IR=B("loader-circle",pg);/**
|
|
462
|
+
* @license lucide-react v0.577.0 - ISC
|
|
463
|
+
*
|
|
464
|
+
* This source code is licensed under the ISC license.
|
|
465
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
466
|
+
*/const hg=[["rect",{width:"18",height:"11",x:"3",y:"11",rx:"2",ry:"2",key:"1w4ew1"}],["path",{d:"M7 11V7a5 5 0 0 1 10 0v4",key:"fwvmzm"}]],OR=B("lock",hg);/**
|
|
467
|
+
* @license lucide-react v0.577.0 - ISC
|
|
468
|
+
*
|
|
469
|
+
* This source code is licensed under the ISC license.
|
|
470
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
471
|
+
*/const gg=[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"m21 3-7 7",key:"1l2asr"}],["path",{d:"m3 21 7-7",key:"tjx5ai"}],["path",{d:"M9 21H3v-6",key:"wtvkvv"}]],AR=B("maximize-2",gg);/**
|
|
472
|
+
* @license lucide-react v0.577.0 - ISC
|
|
473
|
+
*
|
|
474
|
+
* This source code is licensed under the ISC license.
|
|
475
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
476
|
+
*/const mg=[["path",{d:"M2.992 16.342a2 2 0 0 1 .094 1.167l-1.065 3.29a1 1 0 0 0 1.236 1.168l3.413-.998a2 2 0 0 1 1.099.092 10 10 0 1 0-4.777-4.719",key:"1sd12s"}],["path",{d:"M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3",key:"1u773s"}],["path",{d:"M12 17h.01",key:"p32p05"}]],NR=B("message-circle-question-mark",mg);/**
|
|
477
|
+
* @license lucide-react v0.577.0 - ISC
|
|
478
|
+
*
|
|
479
|
+
* This source code is licensed under the ISC license.
|
|
480
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
481
|
+
*/const yg=[["path",{d:"M2.992 16.342a2 2 0 0 1 .094 1.167l-1.065 3.29a1 1 0 0 0 1.236 1.168l3.413-.998a2 2 0 0 1 1.099.092 10 10 0 1 0-4.777-4.719",key:"1sd12s"}]],DR=B("message-circle",yg);/**
|
|
482
|
+
* @license lucide-react v0.577.0 - ISC
|
|
483
|
+
*
|
|
484
|
+
* This source code is licensed under the ISC license.
|
|
485
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
486
|
+
*/const bg=[["path",{d:"M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z",key:"18887p"}],["path",{d:"M12 8v6",key:"1ib9pf"}],["path",{d:"M9 11h6",key:"1fldmi"}]],_R=B("message-square-plus",bg);/**
|
|
487
|
+
* @license lucide-react v0.577.0 - ISC
|
|
488
|
+
*
|
|
489
|
+
* This source code is licensed under the ISC license.
|
|
490
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
491
|
+
*/const vg=[["path",{d:"M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z",key:"18887p"}],["path",{d:"M7 11h10",key:"1twpyw"}],["path",{d:"M7 15h6",key:"d9of3u"}],["path",{d:"M7 7h8",key:"af5zfr"}]],LR=B("message-square-text",vg);/**
|
|
492
|
+
* @license lucide-react v0.577.0 - ISC
|
|
493
|
+
*
|
|
494
|
+
* This source code is licensed under the ISC license.
|
|
495
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
496
|
+
*/const xg=[["path",{d:"M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z",key:"18887p"}]],FR=B("message-square",xg);/**
|
|
497
|
+
* @license lucide-react v0.577.0 - ISC
|
|
498
|
+
*
|
|
499
|
+
* This source code is licensed under the ISC license.
|
|
500
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
501
|
+
*/const wg=[["path",{d:"M16 10a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 14.286V4a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2z",key:"1n2ejm"}],["path",{d:"M20 9a2 2 0 0 1 2 2v10.286a.71.71 0 0 1-1.212.502l-2.202-2.202A2 2 0 0 0 17.172 19H10a2 2 0 0 1-2-2v-1",key:"1qfcsi"}]],zR=B("messages-square",wg);/**
|
|
502
|
+
* @license lucide-react v0.577.0 - ISC
|
|
503
|
+
*
|
|
504
|
+
* This source code is licensed under the ISC license.
|
|
505
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
506
|
+
*/const Sg=[["path",{d:"m14 10 7-7",key:"oa77jy"}],["path",{d:"M20 10h-6V4",key:"mjg0md"}],["path",{d:"m3 21 7-7",key:"tjx5ai"}],["path",{d:"M4 14h6v6",key:"rmj7iw"}]],VR=B("minimize-2",Sg);/**
|
|
507
|
+
* @license lucide-react v0.577.0 - ISC
|
|
508
|
+
*
|
|
509
|
+
* This source code is licensed under the ISC license.
|
|
510
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
511
|
+
*/const Rg=[["path",{d:"M5 12h14",key:"1ays0h"}]],$R=B("minus",Rg);/**
|
|
512
|
+
* @license lucide-react v0.577.0 - ISC
|
|
513
|
+
*
|
|
514
|
+
* This source code is licensed under the ISC license.
|
|
515
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
516
|
+
*/const kg=[["rect",{width:"20",height:"14",x:"2",y:"3",rx:"2",key:"48i651"}],["line",{x1:"8",x2:"16",y1:"21",y2:"21",key:"1svkeh"}],["line",{x1:"12",x2:"12",y1:"17",y2:"21",key:"vw1qmm"}]],HR=B("monitor",kg);/**
|
|
517
|
+
* @license lucide-react v0.577.0 - ISC
|
|
518
|
+
*
|
|
519
|
+
* This source code is licensed under the ISC license.
|
|
520
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
521
|
+
*/const Eg=[["path",{d:"M13.4 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-7.4",key:"re6nr2"}],["path",{d:"M2 6h4",key:"aawbzj"}],["path",{d:"M2 10h4",key:"l0bgd4"}],["path",{d:"M2 14h4",key:"1gsvsf"}],["path",{d:"M2 18h4",key:"1bu2t1"}],["path",{d:"M21.378 5.626a1 1 0 1 0-3.004-3.004l-5.01 5.012a2 2 0 0 0-.506.854l-.837 2.87a.5.5 0 0 0 .62.62l2.87-.837a2 2 0 0 0 .854-.506z",key:"pqwjuv"}]],jR=B("notebook-pen",Eg);/**
|
|
522
|
+
* @license lucide-react v0.577.0 - ISC
|
|
523
|
+
*
|
|
524
|
+
* This source code is licensed under the ISC license.
|
|
525
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
526
|
+
*/const Cg=[["path",{d:"m15 9-6 6",key:"1uzhvr"}],["path",{d:"M2.586 16.726A2 2 0 0 1 2 15.312V8.688a2 2 0 0 1 .586-1.414l4.688-4.688A2 2 0 0 1 8.688 2h6.624a2 2 0 0 1 1.414.586l4.688 4.688A2 2 0 0 1 22 8.688v6.624a2 2 0 0 1-.586 1.414l-4.688 4.688a2 2 0 0 1-1.414.586H8.688a2 2 0 0 1-1.414-.586z",key:"2d38gg"}],["path",{d:"m9 9 6 6",key:"z0biqf"}]],BR=B("octagon-x",Cg);/**
|
|
527
|
+
* @license lucide-react v0.577.0 - ISC
|
|
528
|
+
*
|
|
529
|
+
* This source code is licensed under the ISC license.
|
|
530
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
531
|
+
*/const Pg=[["path",{d:"M2.586 16.726A2 2 0 0 1 2 15.312V8.688a2 2 0 0 1 .586-1.414l4.688-4.688A2 2 0 0 1 8.688 2h6.624a2 2 0 0 1 1.414.586l4.688 4.688A2 2 0 0 1 22 8.688v6.624a2 2 0 0 1-.586 1.414l-4.688 4.688a2 2 0 0 1-1.414.586H8.688a2 2 0 0 1-1.414-.586z",key:"2d38gg"}]],WR=B("octagon",Pg);/**
|
|
532
|
+
* @license lucide-react v0.577.0 - ISC
|
|
533
|
+
*
|
|
534
|
+
* This source code is licensed under the ISC license.
|
|
535
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
536
|
+
*/const Mg=[["path",{d:"M12 22a1 1 0 0 1 0-20 10 9 0 0 1 10 9 5 5 0 0 1-5 5h-2.25a1.75 1.75 0 0 0-1.4 2.8l.3.4a1.75 1.75 0 0 1-1.4 2.8z",key:"e79jfc"}],["circle",{cx:"13.5",cy:"6.5",r:".5",fill:"currentColor",key:"1okk4w"}],["circle",{cx:"17.5",cy:"10.5",r:".5",fill:"currentColor",key:"f64h9f"}],["circle",{cx:"6.5",cy:"12.5",r:".5",fill:"currentColor",key:"qy21gx"}],["circle",{cx:"8.5",cy:"7.5",r:".5",fill:"currentColor",key:"fotxhn"}]],UR=B("palette",Mg);/**
|
|
537
|
+
* @license lucide-react v0.577.0 - ISC
|
|
538
|
+
*
|
|
539
|
+
* This source code is licensed under the ISC license.
|
|
540
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
541
|
+
*/const Tg=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M9 3v18",key:"fh3hqa"}],["path",{d:"m16 15-3-3 3-3",key:"14y99z"}]],GR=B("panel-left-close",Tg);/**
|
|
542
|
+
* @license lucide-react v0.577.0 - ISC
|
|
543
|
+
*
|
|
544
|
+
* This source code is licensed under the ISC license.
|
|
545
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
546
|
+
*/const Ig=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M9 3v18",key:"fh3hqa"}],["path",{d:"m14 9 3 3-3 3",key:"8010ee"}]],qR=B("panel-left-open",Ig);/**
|
|
547
|
+
* @license lucide-react v0.577.0 - ISC
|
|
548
|
+
*
|
|
549
|
+
* This source code is licensed under the ISC license.
|
|
550
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
551
|
+
*/const Og=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M9 3v18",key:"fh3hqa"}]],YR=B("panel-left",Og);/**
|
|
552
|
+
* @license lucide-react v0.577.0 - ISC
|
|
553
|
+
*
|
|
554
|
+
* This source code is licensed under the ISC license.
|
|
555
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
556
|
+
*/const Ag=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M15 3v18",key:"14nvp0"}]],XR=B("panel-right",Ag);/**
|
|
557
|
+
* @license lucide-react v0.577.0 - ISC
|
|
558
|
+
*
|
|
559
|
+
* This source code is licensed under the ISC license.
|
|
560
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
561
|
+
*/const Ng=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M3 9h18",key:"1pudct"}],["path",{d:"M9 21V9",key:"1oto5p"}]],KR=B("panels-top-left",Ng);/**
|
|
562
|
+
* @license lucide-react v0.577.0 - ISC
|
|
563
|
+
*
|
|
564
|
+
* This source code is licensed under the ISC license.
|
|
565
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
566
|
+
*/const Dg=[["rect",{x:"14",y:"3",width:"5",height:"18",rx:"1",key:"kaeet6"}],["rect",{x:"5",y:"3",width:"5",height:"18",rx:"1",key:"1wsw3u"}]],ZR=B("pause",Dg);/**
|
|
567
|
+
* @license lucide-react v0.577.0 - ISC
|
|
568
|
+
*
|
|
569
|
+
* This source code is licensed under the ISC license.
|
|
570
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
571
|
+
*/const _g=[["path",{d:"M13 21h8",key:"1jsn5i"}],["path",{d:"M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z",key:"1a8usu"}]],QR=B("pen-line",_g);/**
|
|
572
|
+
* @license lucide-react v0.577.0 - ISC
|
|
573
|
+
*
|
|
574
|
+
* This source code is licensed under the ISC license.
|
|
575
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
576
|
+
*/const Lg=[["path",{d:"M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z",key:"1a8usu"}],["path",{d:"m15 5 4 4",key:"1mk7zo"}]],JR=B("pencil",Lg);/**
|
|
577
|
+
* @license lucide-react v0.577.0 - ISC
|
|
578
|
+
*
|
|
579
|
+
* This source code is licensed under the ISC license.
|
|
580
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
581
|
+
*/const Fg=[["path",{d:"M5 5a2 2 0 0 1 3.008-1.728l11.997 6.998a2 2 0 0 1 .003 3.458l-12 7A2 2 0 0 1 5 19z",key:"10ikf1"}]],ek=B("play",Fg);/**
|
|
582
|
+
* @license lucide-react v0.577.0 - ISC
|
|
583
|
+
*
|
|
584
|
+
* This source code is licensed under the ISC license.
|
|
585
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
586
|
+
*/const zg=[["path",{d:"M12 22v-5",key:"1ega77"}],["path",{d:"M15 8V2",key:"18g5xt"}],["path",{d:"M17 8a1 1 0 0 1 1 1v4a4 4 0 0 1-4 4h-4a4 4 0 0 1-4-4V9a1 1 0 0 1 1-1z",key:"1xoxul"}],["path",{d:"M9 8V2",key:"14iosj"}]],tk=B("plug",zg);/**
|
|
587
|
+
* @license lucide-react v0.577.0 - ISC
|
|
588
|
+
*
|
|
589
|
+
* This source code is licensed under the ISC license.
|
|
590
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
591
|
+
*/const Vg=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]],nk=B("plus",Vg);/**
|
|
592
|
+
* @license lucide-react v0.577.0 - ISC
|
|
593
|
+
*
|
|
594
|
+
* This source code is licensed under the ISC license.
|
|
595
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
596
|
+
*/const $g=[["path",{d:"M12 2v10",key:"mnfbl"}],["path",{d:"M18.4 6.6a9 9 0 1 1-12.77.04",key:"obofu9"}]],ok=B("power",$g);/**
|
|
597
|
+
* @license lucide-react v0.577.0 - ISC
|
|
598
|
+
*
|
|
599
|
+
* This source code is licensed under the ISC license.
|
|
600
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
601
|
+
*/const Hg=[["path",{d:"M16 3a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2 1 1 0 0 1 1 1v1a2 2 0 0 1-2 2 1 1 0 0 0-1 1v2a1 1 0 0 0 1 1 6 6 0 0 0 6-6V5a2 2 0 0 0-2-2z",key:"rib7q0"}],["path",{d:"M5 3a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2 1 1 0 0 1 1 1v1a2 2 0 0 1-2 2 1 1 0 0 0-1 1v2a1 1 0 0 0 1 1 6 6 0 0 0 6-6V5a2 2 0 0 0-2-2z",key:"1ymkrd"}]],rk=B("quote",Hg);/**
|
|
602
|
+
* @license lucide-react v0.577.0 - ISC
|
|
603
|
+
*
|
|
604
|
+
* This source code is licensed under the ISC license.
|
|
605
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
606
|
+
*/const jg=[["path",{d:"m15 14 5-5-5-5",key:"12vg1m"}],["path",{d:"M20 9H9.5A5.5 5.5 0 0 0 4 14.5A5.5 5.5 0 0 0 9.5 20H13",key:"6uklza"}]],sk=B("redo-2",jg);/**
|
|
607
|
+
* @license lucide-react v0.577.0 - ISC
|
|
608
|
+
*
|
|
609
|
+
* This source code is licensed under the ISC license.
|
|
610
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
611
|
+
*/const Bg=[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}]],ik=B("refresh-cw",Bg);/**
|
|
612
|
+
* @license lucide-react v0.577.0 - ISC
|
|
613
|
+
*
|
|
614
|
+
* This source code is licensed under the ISC license.
|
|
615
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
616
|
+
*/const Wg=[["path",{d:"M12 15v5s3.03-.55 4-2c1.08-1.62 0-5 0-5",key:"qeys4"}],["path",{d:"M4.5 16.5c-1.5 1.26-2 5-2 5s3.74-.5 5-2c.71-.84.7-2.13-.09-2.91a2.18 2.18 0 0 0-2.91-.09",key:"u4xsad"}],["path",{d:"M9 12a22 22 0 0 1 2-3.95A12.88 12.88 0 0 1 22 2c0 2.72-.78 7.5-6 11a22.4 22.4 0 0 1-4 2z",key:"676m9"}],["path",{d:"M9 12H4s.55-3.03 2-4c1.62-1.08 5 .05 5 .05",key:"92ym6u"}]],ak=B("rocket",Wg);/**
|
|
617
|
+
* @license lucide-react v0.577.0 - ISC
|
|
618
|
+
*
|
|
619
|
+
* This source code is licensed under the ISC license.
|
|
620
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
621
|
+
*/const Ug=[["path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"1357e3"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}]],ck=B("rotate-ccw",Ug);/**
|
|
622
|
+
* @license lucide-react v0.577.0 - ISC
|
|
623
|
+
*
|
|
624
|
+
* This source code is licensed under the ISC license.
|
|
625
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
626
|
+
*/const Gg=[["path",{d:"M15.2 3a2 2 0 0 1 1.4.6l3.8 3.8a2 2 0 0 1 .6 1.4V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2z",key:"1c8476"}],["path",{d:"M17 21v-7a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1v7",key:"1ydtos"}],["path",{d:"M7 3v4a1 1 0 0 0 1 1h7",key:"t51u73"}]],lk=B("save",Gg);/**
|
|
627
|
+
* @license lucide-react v0.577.0 - ISC
|
|
628
|
+
*
|
|
629
|
+
* This source code is licensed under the ISC license.
|
|
630
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
631
|
+
*/const qg=[["path",{d:"m13.5 8.5-5 5",key:"1cs55j"}],["path",{d:"m8.5 8.5 5 5",key:"a8mexj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["path",{d:"m21 21-4.3-4.3",key:"1qie3q"}]],uk=B("search-x",qg);/**
|
|
632
|
+
* @license lucide-react v0.577.0 - ISC
|
|
633
|
+
*
|
|
634
|
+
* This source code is licensed under the ISC license.
|
|
635
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
636
|
+
*/const Yg=[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]],dk=B("search",Yg);/**
|
|
637
|
+
* @license lucide-react v0.577.0 - ISC
|
|
638
|
+
*
|
|
639
|
+
* This source code is licensed under the ISC license.
|
|
640
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
641
|
+
*/const Xg=[["path",{d:"M14.536 21.686a.5.5 0 0 0 .937-.024l6.5-19a.496.496 0 0 0-.635-.635l-19 6.5a.5.5 0 0 0-.024.937l7.93 3.18a2 2 0 0 1 1.112 1.11z",key:"1ffxy3"}],["path",{d:"m21.854 2.147-10.94 10.939",key:"12cjpa"}]],fk=B("send",Xg);/**
|
|
642
|
+
* @license lucide-react v0.577.0 - ISC
|
|
643
|
+
*
|
|
644
|
+
* This source code is licensed under the ISC license.
|
|
645
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
646
|
+
*/const Kg=[["rect",{width:"20",height:"8",x:"2",y:"2",rx:"2",ry:"2",key:"ngkwjq"}],["rect",{width:"20",height:"8",x:"2",y:"14",rx:"2",ry:"2",key:"iecqi9"}],["line",{x1:"6",x2:"6.01",y1:"6",y2:"6",key:"16zg32"}],["line",{x1:"6",x2:"6.01",y1:"18",y2:"18",key:"nzw8ys"}]],pk=B("server",Kg);/**
|
|
647
|
+
* @license lucide-react v0.577.0 - ISC
|
|
648
|
+
*
|
|
649
|
+
* This source code is licensed under the ISC license.
|
|
650
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
651
|
+
*/const Zg=[["path",{d:"M14 17H5",key:"gfn3mx"}],["path",{d:"M19 7h-9",key:"6i9tg"}],["circle",{cx:"17",cy:"17",r:"3",key:"18b49y"}],["circle",{cx:"7",cy:"7",r:"3",key:"dfmy0x"}]],hk=B("settings-2",Zg);/**
|
|
652
|
+
* @license lucide-react v0.577.0 - ISC
|
|
653
|
+
*
|
|
654
|
+
* This source code is licensed under the ISC license.
|
|
655
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
656
|
+
*/const Qg=[["path",{d:"M9.671 4.136a2.34 2.34 0 0 1 4.659 0 2.34 2.34 0 0 0 3.319 1.915 2.34 2.34 0 0 1 2.33 4.033 2.34 2.34 0 0 0 0 3.831 2.34 2.34 0 0 1-2.33 4.033 2.34 2.34 0 0 0-3.319 1.915 2.34 2.34 0 0 1-4.659 0 2.34 2.34 0 0 0-3.32-1.915 2.34 2.34 0 0 1-2.33-4.033 2.34 2.34 0 0 0 0-3.831A2.34 2.34 0 0 1 6.35 6.051a2.34 2.34 0 0 0 3.319-1.915",key:"1i5ecw"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]],gk=B("settings",Qg);/**
|
|
657
|
+
* @license lucide-react v0.577.0 - ISC
|
|
658
|
+
*
|
|
659
|
+
* This source code is licensed under the ISC license.
|
|
660
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
661
|
+
*/const Jg=[["circle",{cx:"18",cy:"5",r:"3",key:"gq8acd"}],["circle",{cx:"6",cy:"12",r:"3",key:"w7nqdw"}],["circle",{cx:"18",cy:"19",r:"3",key:"1xt0gg"}],["line",{x1:"8.59",x2:"15.42",y1:"13.51",y2:"17.49",key:"47mynk"}],["line",{x1:"15.41",x2:"8.59",y1:"6.51",y2:"10.49",key:"1n3mei"}]],mk=B("share-2",Jg);/**
|
|
662
|
+
* @license lucide-react v0.577.0 - ISC
|
|
663
|
+
*
|
|
664
|
+
* This source code is licensed under the ISC license.
|
|
665
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
666
|
+
*/const em=[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}],["path",{d:"M12 8v4",key:"1got3b"}],["path",{d:"M12 16h.01",key:"1drbdi"}]],yk=B("shield-alert",em);/**
|
|
667
|
+
* @license lucide-react v0.577.0 - ISC
|
|
668
|
+
*
|
|
669
|
+
* This source code is licensed under the ISC license.
|
|
670
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
671
|
+
*/const tm=[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}],["path",{d:"M9 12h6",key:"1c52cq"}],["path",{d:"M12 9v6",key:"199k2o"}]],bk=B("shield-plus",tm);/**
|
|
672
|
+
* @license lucide-react v0.577.0 - ISC
|
|
673
|
+
*
|
|
674
|
+
* This source code is licensed under the ISC license.
|
|
675
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
676
|
+
*/const nm=[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}]],vk=B("shield",nm);/**
|
|
677
|
+
* @license lucide-react v0.577.0 - ISC
|
|
678
|
+
*
|
|
679
|
+
* This source code is licensed under the ISC license.
|
|
680
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
681
|
+
*/const om=[["path",{d:"M18 7V5a1 1 0 0 0-1-1H6.5a.5.5 0 0 0-.4.8l4.5 6a2 2 0 0 1 0 2.4l-4.5 6a.5.5 0 0 0 .4.8H17a1 1 0 0 0 1-1v-2",key:"wuwx1p"}]],xk=B("sigma",om);/**
|
|
682
|
+
* @license lucide-react v0.577.0 - ISC
|
|
683
|
+
*
|
|
684
|
+
* This source code is licensed under the ISC license.
|
|
685
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
686
|
+
*/const rm=[["path",{d:"m12.5 17-.5-1-.5 1h1z",key:"3me087"}],["path",{d:"M15 22a1 1 0 0 0 1-1v-1a2 2 0 0 0 1.56-3.25 8 8 0 1 0-11.12 0A2 2 0 0 0 8 20v1a1 1 0 0 0 1 1z",key:"1o5pge"}],["circle",{cx:"15",cy:"12",r:"1",key:"1tmaij"}],["circle",{cx:"9",cy:"12",r:"1",key:"1vctgf"}]],wk=B("skull",rm);/**
|
|
687
|
+
* @license lucide-react v0.577.0 - ISC
|
|
688
|
+
*
|
|
689
|
+
* This source code is licensed under the ISC license.
|
|
690
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
691
|
+
*/const sm=[["path",{d:"M10 5H3",key:"1qgfaw"}],["path",{d:"M12 19H3",key:"yhmn1j"}],["path",{d:"M14 3v4",key:"1sua03"}],["path",{d:"M16 17v4",key:"1q0r14"}],["path",{d:"M21 12h-9",key:"1o4lsq"}],["path",{d:"M21 19h-5",key:"1rlt1p"}],["path",{d:"M21 5h-7",key:"1oszz2"}],["path",{d:"M8 10v4",key:"tgpxqk"}],["path",{d:"M8 12H3",key:"a7s4jb"}]],Sk=B("sliders-horizontal",sm);/**
|
|
692
|
+
* @license lucide-react v0.577.0 - ISC
|
|
693
|
+
*
|
|
694
|
+
* This source code is licensed under the ISC license.
|
|
695
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
696
|
+
*/const im=[["rect",{width:"14",height:"20",x:"5",y:"2",rx:"2",ry:"2",key:"1yt0o3"}],["path",{d:"M12 18h.01",key:"mhygvu"}]],Rk=B("smartphone",im);/**
|
|
697
|
+
* @license lucide-react v0.577.0 - ISC
|
|
698
|
+
*
|
|
699
|
+
* This source code is licensed under the ISC license.
|
|
700
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
701
|
+
*/const am=[["path",{d:"M11.017 2.814a1 1 0 0 1 1.966 0l1.051 5.558a2 2 0 0 0 1.594 1.594l5.558 1.051a1 1 0 0 1 0 1.966l-5.558 1.051a2 2 0 0 0-1.594 1.594l-1.051 5.558a1 1 0 0 1-1.966 0l-1.051-5.558a2 2 0 0 0-1.594-1.594l-5.558-1.051a1 1 0 0 1 0-1.966l5.558-1.051a2 2 0 0 0 1.594-1.594z",key:"1s2grr"}],["path",{d:"M20 2v4",key:"1rf3ol"}],["path",{d:"M22 4h-4",key:"gwowj6"}],["circle",{cx:"4",cy:"20",r:"2",key:"6kqj1y"}]],kk=B("sparkles",am);/**
|
|
702
|
+
* @license lucide-react v0.577.0 - ISC
|
|
703
|
+
*
|
|
704
|
+
* This source code is licensed under the ISC license.
|
|
705
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
706
|
+
*/const cm=[["path",{d:"m7 11 2-2-2-2",key:"1lz0vl"}],["path",{d:"M11 13h4",key:"1p7l4v"}],["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",ry:"2",key:"1m3agn"}]],Ek=B("square-terminal",cm);/**
|
|
707
|
+
* @license lucide-react v0.577.0 - ISC
|
|
708
|
+
*
|
|
709
|
+
* This source code is licensed under the ISC license.
|
|
710
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
711
|
+
*/const lm=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}]],Ck=B("square",lm);/**
|
|
712
|
+
* @license lucide-react v0.577.0 - ISC
|
|
713
|
+
*
|
|
714
|
+
* This source code is licensed under the ISC license.
|
|
715
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
716
|
+
*/const um=[["rect",{width:"16",height:"20",x:"4",y:"2",rx:"2",ry:"2",key:"76otgf"}],["line",{x1:"12",x2:"12.01",y1:"18",y2:"18",key:"1dp563"}]],Pk=B("tablet",um);/**
|
|
717
|
+
* @license lucide-react v0.577.0 - ISC
|
|
718
|
+
*
|
|
719
|
+
* This source code is licensed under the ISC license.
|
|
720
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
721
|
+
*/const dm=[["path",{d:"M12 19h8",key:"baeox8"}],["path",{d:"m4 17 6-6-6-6",key:"1yngyt"}]],Mk=B("terminal",dm);/**
|
|
722
|
+
* @license lucide-react v0.577.0 - ISC
|
|
723
|
+
*
|
|
724
|
+
* This source code is licensed under the ISC license.
|
|
725
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
726
|
+
*/const fm=[["path",{d:"M10 11v6",key:"nco0om"}],["path",{d:"M14 11v6",key:"outv1u"}],["path",{d:"M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6",key:"miytrc"}],["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2",key:"e791ji"}]],Tk=B("trash-2",fm);/**
|
|
727
|
+
* @license lucide-react v0.577.0 - ISC
|
|
728
|
+
*
|
|
729
|
+
* This source code is licensed under the ISC license.
|
|
730
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
731
|
+
*/const pm=[["path",{d:"M10 10v.2A3 3 0 0 1 8.9 16H5a3 3 0 0 1-1-5.8V10a3 3 0 0 1 6 0Z",key:"1l6gj6"}],["path",{d:"M7 16v6",key:"1a82de"}],["path",{d:"M13 19v3",key:"13sx9i"}],["path",{d:"M12 19h8.3a1 1 0 0 0 .7-1.7L18 14h.3a1 1 0 0 0 .7-1.7L16 9h.2a1 1 0 0 0 .8-1.7L13 3l-1.4 1.5",key:"1sj9kv"}]],Ik=B("trees",pm);/**
|
|
732
|
+
* @license lucide-react v0.577.0 - ISC
|
|
733
|
+
*
|
|
734
|
+
* This source code is licensed under the ISC license.
|
|
735
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
736
|
+
*/const hm=[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]],Ok=B("triangle-alert",hm);/**
|
|
737
|
+
* @license lucide-react v0.577.0 - ISC
|
|
738
|
+
*
|
|
739
|
+
* This source code is licensed under the ISC license.
|
|
740
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
741
|
+
*/const gm=[["path",{d:"M9 14 4 9l5-5",key:"102s5s"}],["path",{d:"M4 9h10.5a5.5 5.5 0 0 1 5.5 5.5a5.5 5.5 0 0 1-5.5 5.5H11",key:"f3b9sd"}]],Ak=B("undo-2",gm);/**
|
|
742
|
+
* @license lucide-react v0.577.0 - ISC
|
|
743
|
+
*
|
|
744
|
+
* This source code is licensed under the ISC license.
|
|
745
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
746
|
+
*/const mm=[["path",{d:"m18.84 12.25 1.72-1.71h-.02a5.004 5.004 0 0 0-.12-7.07 5.006 5.006 0 0 0-6.95 0l-1.72 1.71",key:"yqzxt4"}],["path",{d:"m5.17 11.75-1.71 1.71a5.004 5.004 0 0 0 .12 7.07 5.006 5.006 0 0 0 6.95 0l1.71-1.71",key:"4qinb0"}],["line",{x1:"8",x2:"8",y1:"2",y2:"5",key:"1041cp"}],["line",{x1:"2",x2:"5",y1:"8",y2:"8",key:"14m1p5"}],["line",{x1:"16",x2:"16",y1:"19",y2:"22",key:"rzdirn"}],["line",{x1:"19",x2:"22",y1:"16",y2:"16",key:"ox905f"}]],Nk=B("unlink",mm);/**
|
|
747
|
+
* @license lucide-react v0.577.0 - ISC
|
|
748
|
+
*
|
|
749
|
+
* This source code is licensed under the ISC license.
|
|
750
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
751
|
+
*/const ym=[["path",{d:"m16 11 2 2 4-4",key:"9rsbq5"}],["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}]],Dk=B("user-check",ym);/**
|
|
752
|
+
* @license lucide-react v0.577.0 - ISC
|
|
753
|
+
*
|
|
754
|
+
* This source code is licensed under the ISC license.
|
|
755
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
756
|
+
*/const bm=[["path",{d:"M2 21a8 8 0 0 1 11.873-7",key:"74fkxq"}],["circle",{cx:"10",cy:"8",r:"5",key:"o932ke"}],["path",{d:"m17 17 5 5",key:"p7ous7"}],["path",{d:"m22 17-5 5",key:"gqnmv0"}]],_k=B("user-round-x",bm);/**
|
|
757
|
+
* @license lucide-react v0.577.0 - ISC
|
|
758
|
+
*
|
|
759
|
+
* This source code is licensed under the ISC license.
|
|
760
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
761
|
+
*/const vm=[["path",{d:"M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2",key:"975kel"}],["circle",{cx:"12",cy:"7",r:"4",key:"17ys0d"}]],Lk=B("user",vm);/**
|
|
762
|
+
* @license lucide-react v0.577.0 - ISC
|
|
763
|
+
*
|
|
764
|
+
* This source code is licensed under the ISC license.
|
|
765
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
766
|
+
*/const xm=[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["path",{d:"M16 3.128a4 4 0 0 1 0 7.744",key:"16gr8j"}],["path",{d:"M22 21v-2a4 4 0 0 0-3-3.87",key:"kshegd"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}]],Fk=B("users",xm);/**
|
|
767
|
+
* @license lucide-react v0.577.0 - ISC
|
|
768
|
+
*
|
|
769
|
+
* This source code is licensed under the ISC license.
|
|
770
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
771
|
+
*/const wm=[["path",{d:"M18 16.98h-5.99c-1.1 0-1.95.94-2.48 1.9A4 4 0 0 1 2 17c.01-.7.2-1.4.57-2",key:"q3hayz"}],["path",{d:"m6 17 3.13-5.78c.53-.97.1-2.18-.5-3.1a4 4 0 1 1 6.89-4.06",key:"1go1hn"}],["path",{d:"m12 6 3.13 5.73C15.66 12.7 16.9 13 18 13a4 4 0 0 1 0 8",key:"qlwsc0"}]],zk=B("webhook",wm);/**
|
|
772
|
+
* @license lucide-react v0.577.0 - ISC
|
|
773
|
+
*
|
|
774
|
+
* This source code is licensed under the ISC license.
|
|
775
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
776
|
+
*/const Sm=[["path",{d:"M12 20h.01",key:"zekei9"}],["path",{d:"M8.5 16.429a5 5 0 0 1 7 0",key:"1bycff"}],["path",{d:"M5 12.859a10 10 0 0 1 5.17-2.69",key:"1dl1wf"}],["path",{d:"M19 12.859a10 10 0 0 0-2.007-1.523",key:"4k23kn"}],["path",{d:"M2 8.82a15 15 0 0 1 4.177-2.643",key:"1grhjp"}],["path",{d:"M22 8.82a15 15 0 0 0-11.288-3.764",key:"z3jwby"}],["path",{d:"m2 2 20 20",key:"1ooewy"}]],Vk=B("wifi-off",Sm);/**
|
|
777
|
+
* @license lucide-react v0.577.0 - ISC
|
|
778
|
+
*
|
|
779
|
+
* This source code is licensed under the ISC license.
|
|
780
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
781
|
+
*/const Rm=[["path",{d:"M12 20h.01",key:"zekei9"}],["path",{d:"M2 8.82a15 15 0 0 1 20 0",key:"dnpr2z"}],["path",{d:"M5 12.859a10 10 0 0 1 14 0",key:"1x1e6c"}],["path",{d:"M8.5 16.429a5 5 0 0 1 7 0",key:"1bycff"}]],$k=B("wifi",Rm);/**
|
|
782
|
+
* @license lucide-react v0.577.0 - ISC
|
|
783
|
+
*
|
|
784
|
+
* This source code is licensed under the ISC license.
|
|
785
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
786
|
+
*/const km=[["rect",{width:"8",height:"8",x:"3",y:"3",rx:"2",key:"by2w9f"}],["path",{d:"M7 11v4a2 2 0 0 0 2 2h4",key:"xkn7yn"}],["rect",{width:"8",height:"8",x:"13",y:"13",rx:"2",key:"1cgmvn"}]],Hk=B("workflow",km);/**
|
|
787
|
+
* @license lucide-react v0.577.0 - ISC
|
|
788
|
+
*
|
|
789
|
+
* This source code is licensed under the ISC license.
|
|
790
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
791
|
+
*/const Em=[["path",{d:"M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.106-3.105c.32-.322.863-.22.983.218a6 6 0 0 1-8.259 7.057l-7.91 7.91a1 1 0 0 1-2.999-3l7.91-7.91a6 6 0 0 1 7.057-8.259c.438.12.54.662.219.984z",key:"1ngwbx"}]],jk=B("wrench",Em);/**
|
|
792
|
+
* @license lucide-react v0.577.0 - ISC
|
|
793
|
+
*
|
|
794
|
+
* This source code is licensed under the ISC license.
|
|
795
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
796
|
+
*/const Cm=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],Bk=B("x",Cm);/**
|
|
797
|
+
* @license lucide-react v0.577.0 - ISC
|
|
798
|
+
*
|
|
799
|
+
* This source code is licensed under the ISC license.
|
|
800
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
801
|
+
*/const Pm=[["path",{d:"M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z",key:"1xq2db"}]],Wk=B("zap",Pm);/**
|
|
802
|
+
* @license lucide-react v0.577.0 - ISC
|
|
803
|
+
*
|
|
804
|
+
* This source code is licensed under the ISC license.
|
|
805
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
806
|
+
*/const Mm=[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["line",{x1:"21",x2:"16.65",y1:"21",y2:"16.65",key:"13gj7c"}],["line",{x1:"11",x2:"11",y1:"8",y2:"14",key:"1vmskp"}],["line",{x1:"8",x2:"14",y1:"11",y2:"11",key:"durymu"}]],Uk=B("zoom-in",Mm);/**
|
|
807
|
+
* @license lucide-react v0.577.0 - ISC
|
|
808
|
+
*
|
|
809
|
+
* This source code is licensed under the ISC license.
|
|
810
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
811
|
+
*/const Tm=[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["line",{x1:"21",x2:"16.65",y1:"21",y2:"16.65",key:"13gj7c"}],["line",{x1:"8",x2:"14",y1:"11",y2:"11",key:"durymu"}]],Gk=B("zoom-out",Tm);function Ur(){return typeof window<"u"}function ut(e){return Ni(e)?(e.nodeName||"").toLowerCase():"#document"}function He(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function an(e){var t;return(t=(Ni(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function Ni(e){return Ur()?e instanceof Node||e instanceof He(e).Node:!1}function Oe(e){return Ur()?e instanceof Element||e instanceof He(e).Element:!1}function Fe(e){return Ur()?e instanceof HTMLElement||e instanceof He(e).HTMLElement:!1}function so(e){return!Ur()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof He(e).ShadowRoot}function jo(e){const{overflow:t,overflowX:n,overflowY:o,display:r}=xt(e);return/auto|scroll|overlay|hidden|clip/.test(t+o+n)&&r!=="inline"&&r!=="contents"}function Im(e){return/^(table|td|th)$/.test(ut(e))}function Gr(e){try{if(e.matches(":popover-open"))return!0}catch{}try{return e.matches(":modal")}catch{return!1}}const Om=/transform|translate|scale|rotate|perspective|filter/,Am=/paint|layout|strict|content/,Tn=e=>!!e&&e!=="none";let Ts;function Di(e){const t=Oe(e)?xt(e):e;return Tn(t.transform)||Tn(t.translate)||Tn(t.scale)||Tn(t.rotate)||Tn(t.perspective)||!_i()&&(Tn(t.backdropFilter)||Tn(t.filter))||Om.test(t.willChange||"")||Am.test(t.contain||"")}function Nm(e){let t=on(e);for(;Fe(t)&&!en(t);){if(Di(t))return t;if(Gr(t))return null;t=on(t)}return null}function _i(){return Ts==null&&(Ts=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),Ts}function en(e){return/^(html|body|#document)$/.test(ut(e))}function xt(e){return He(e).getComputedStyle(e)}function qr(e){return Oe(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function on(e){if(ut(e)==="html")return e;const t=e.assignedSlot||e.parentNode||so(e)&&e.host||an(e);return so(t)?t.host:t}function ou(e){const t=on(e);return en(t)?(e.ownerDocument||e).body:Fe(t)&&jo(t)?t:ou(t)}function _o(e,t,n){var o;t===void 0&&(t=[]),n===void 0&&(n=!0);const r=ou(e),s=r===((o=e.ownerDocument)==null?void 0:o.body),i=He(r);if(s){const a=Qs(i);return t.concat(i,i.visualViewport||[],jo(r)?r:[],a&&n?_o(a):[])}else return t.concat(r,_o(r,[],n))}function Qs(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}const Li={...mo},uc={};function at(e,t){const n=c.useRef(uc);return n.current===uc&&(n.current=e(t)),n}const Is=Li.useInsertionEffect,Dm=Is&&Is!==Li.useLayoutEffect?Is:e=>e();function le(e){const t=at(_m).current;return t.next=e,Dm(t.effect),t.trampoline}function _m(){const e={next:void 0,callback:Lm,trampoline:(...t)=>{var n;return(n=e.callback)==null?void 0:n.call(e,...t)},effect:()=>{e.callback=e.next}};return e}function Lm(){}const Fm=()=>{},oe=typeof document<"u"?c.useLayoutEffect:Fm;function Js(e,t){if(e&&!t)return e;if(!e&&t)return t;if(e||t)return{...e,...t}}const Fi={};function St(e,t,n,o,r){if(!n&&!o&&!r&&!e)return Ar(t);let s=Ar(e);return t&&(s=Mo(s,t)),n&&(s=Mo(s,n)),o&&(s=Mo(s,o)),r&&(s=Mo(s,r)),s}function zm(e){if(e.length===0)return Fi;if(e.length===1)return Ar(e[0]);let t=Ar(e[0]);for(let n=1;n<e.length;n+=1)t=Mo(t,e[n]);return t}function Ar(e){return zi(e)?{...su(e,Fi)}:Vm(e)}function Mo(e,t){return zi(t)?su(t,e):$m(e,t)}function Vm(e){const t={...e};for(const n in t){const o=t[n];ru(n,o)&&(t[n]=iu(o))}return t}function $m(e,t){if(!t)return e;for(const n in t){const o=t[n];switch(n){case"style":{e[n]=Js(e.style,o);break}case"className":{e[n]=au(e.className,o);break}default:ru(n,o)?e[n]=Hm(e[n],o):e[n]=o}}return e}function ru(e,t){const n=e.charCodeAt(0),o=e.charCodeAt(1),r=e.charCodeAt(2);return n===111&&o===110&&r>=65&&r<=90&&(typeof t=="function"||typeof t>"u")}function zi(e){return typeof e=="function"}function su(e,t){return zi(e)?e(t):e??Fi}function Hm(e,t){return t?e?(...n)=>{const o=n[0];if(cu(o)){const s=o;Nr(s);const i=t(...n);return s.baseUIHandlerPrevented||e==null||e(...n),i}const r=t(...n);return e==null||e(...n),r}:iu(t):e}function iu(e){return e&&((...t)=>{const n=t[0];return cu(n)&&Nr(n),e(...t)})}function Nr(e){return e.preventBaseUIHandler=()=>{e.baseUIHandlerPrevented=!0},e}function au(e,t){return t?e?t+" "+e:t:e}function cu(e){return e!=null&&typeof e=="object"&&"nativeEvent"in e}function jm(e,t){return function(o,...r){const s=new URL(e);return s.searchParams.set("code",o.toString()),r.forEach(i=>s.searchParams.append("args[]",i)),`${t} error #${o}; visit ${s} for the full message.`}}const De=jm("https://base-ui.com/production-error","Base UI"),lu=c.createContext(void 0);function Yr(e=!1){const t=c.useContext(lu);if(t===void 0&&!e)throw new Error(De(16));return t}function Bm(e){const{focusableWhenDisabled:t,disabled:n,composite:o=!1,tabIndex:r=0,isNativeButton:s}=e,i=o&&t!==!1,a=o&&t===!1;return{props:c.useMemo(()=>{const u={onKeyDown(d){n&&t&&d.key!=="Tab"&&d.preventDefault()}};return o||(u.tabIndex=r,!s&&n&&(u.tabIndex=t?r:-1)),(s&&(t||i)||!s&&n)&&(u["aria-disabled"]=n),s&&(!t||a)&&(u.disabled=n),u},[o,n,t,i,a,s,r])}}function Te(e){return(e==null?void 0:e.ownerDocument)||document}function Qn(e,t,{detail:n=0}={}){e.dispatchEvent(new(He(e)).PointerEvent("click",{bubbles:!0,cancelable:!0,composed:!0,detail:n,shiftKey:t.shiftKey,ctrlKey:t.ctrlKey,altKey:t.altKey,metaKey:t.metaKey}))}function Tt(e={}){const{disabled:t=!1,focusableWhenDisabled:n,tabIndex:o=0,native:r=!0,composite:s}=e,i=c.useRef(null),a=Yr(!0),l=s??a!==void 0,{props:u}=Bm({focusableWhenDisabled:n,disabled:t,composite:l,tabIndex:o,isNativeButton:r}),d=c.useCallback(()=>{const y=i.current;Os(y)&&l&&t&&u.disabled===void 0&&y.disabled&&(y.disabled=!1)},[t,u.disabled,l]);oe(d,[d]);const p=c.useCallback((y={})=>{const{onClick:m,onMouseDown:g,onKeyUp:h,onKeyDown:b,onPointerDown:v,...w}=y;return St({onClick(x){if(t){x.preventDefault();return}m==null||m(x)},onMouseDown(x){t||g==null||g(x)},onKeyDown(x){if(t||(Nr(x),b==null||b(x),x.baseUIHandlerPrevented))return;const S=x.target===x.currentTarget,R=x.currentTarget,E=Os(R),k=!r&&Wm(R),M=S&&(r?E:!k),C=x.key==="Enter",O=x.key===" ",I=R.getAttribute("role"),N=(I==null?void 0:I.startsWith("menuitem"))||I==="option"||I==="gridcell";if(S&&l&&O){if(x.defaultPrevented&&N)return;x.preventDefault(),(!r||E)&&(x.preventBaseUIHandler(),Qn(R,x));return}if(!M||r||!O&&!C){S&&k&&O&&x.preventDefault();return}x.defaultPrevented||(x.preventDefault(),C&&(x.preventBaseUIHandler(),Qn(R,x)))},onKeyUp(x){if(!t){if(Nr(x),h==null||h(x),x.target===x.currentTarget&&r&&l&&Os(x.currentTarget)&&x.key===" "){x.preventDefault();return}x.baseUIHandlerPrevented||x.target===x.currentTarget&&!r&&!l&&!x.defaultPrevented&&x.key===" "&&(x.preventBaseUIHandler(),Qn(x.currentTarget,x))}},onPointerDown(x){if(t){x.preventDefault();return}v==null||v(x)}},r?{type:"button"}:{role:"button"},u,w)},[t,u,l,r]),f=le(y=>{i.current=y,d()});return{getButtonProps:p,buttonRef:f}}function Os(e){return Fe(e)&&e.tagName==="BUTTON"}function Wm(e){return Fe(e)&&e.tagName==="A"&&!!e.href}function Nt(e,t,n,o){const r=at(uu).current;return Gm(r,e,t,n,o)&&du(r,[e,t,n,o]),r.callback}function Um(e){const t=at(uu).current;return qm(t,e)&&du(t,e),t.callback}function uu(){return{callback:null,cleanup:null,refs:[]}}function Gm(e,t,n,o,r){return e.refs[0]!==t||e.refs[1]!==n||e.refs[2]!==o||e.refs[3]!==r}function qm(e,t){return e.refs.length!==t.length||e.refs.some((n,o)=>n!==t[o])}function du(e,t){if(e.refs=t,t.every(n=>n==null)){e.callback=null;return}e.callback=n=>{if(e.cleanup&&(e.cleanup(),e.cleanup=null),n!=null){const o=Array(t.length).fill(null);for(let r=0;r<t.length;r+=1){const s=t[r];if(s!=null)switch(typeof s){case"function":{const i=s(n);typeof i=="function"&&(o[r]=i);break}case"object":{s.current=n;break}}}e.cleanup=()=>{for(let r=0;r<t.length;r+=1){const s=t[r];if(s!=null)switch(typeof s){case"function":{const i=o[r];typeof i=="function"?i():s(null);break}case"object":{s.current=null;break}}}}}}}const Ym=parseInt(c.version,10);function Vi(e){return Ym>=e}function dc(e){if(!c.isValidElement(e))return null;const t=e,n=t.props;return(Vi(19)?n==null?void 0:n.ref:t.ref)??null}function Ke(){}const Dt=Object.freeze([]),We=Object.freeze({});function Xm(e,t){const n={};for(const o in e){const r=e[o];if(t!=null&&t.hasOwnProperty(o)){const s=t[o](r);s!=null&&Object.assign(n,s);continue}r===!0?n[`data-${o.toLowerCase()}`]="":r&&(n[`data-${o.toLowerCase()}`]=r.toString())}return n}function Km(e,t){return typeof e=="function"?e(t):e}function fu(e,t){return typeof e=="function"?e(t):e}function Se(e,t,n={}){const o=t.render,r=Zm(t,n);if(n.enabled===!1)return null;const s=n.state??We;return ey(e,o,r,s)}function Zm(e,t={}){const{className:n,style:o,render:r}=e,{state:s=We,ref:i,props:a,stateAttributesMapping:l,enabled:u=!0}=t,d=u?Km(n,s):void 0,p=u?fu(o,s):void 0,f=u?Xm(s,l):We,y=u&&a?Qm(a):void 0,m=u?Js(f,y)??{}:We;return typeof document<"u"&&(u?Array.isArray(i)?m.ref=Um([m.ref,dc(r),...i]):m.ref=Nt(m.ref,dc(r),i):Nt(null,null)),u?(d!==void 0&&(m.className=au(m.className,d)),p!==void 0&&(m.style=Js(m.style,p)),m):We}function Qm(e){return Array.isArray(e)?zm(e):St(void 0,e)}const Jm=Symbol.for("react.lazy");function ey(e,t,n,o){if(t){if(typeof t=="function")return t(n,o);const r=St(n,t.props);r.ref=n.ref;let s=t;return(s==null?void 0:s.$$typeof)===Jm&&(s=c.Children.toArray(t)[0]),c.cloneElement(s,r)}if(e&&typeof e=="string")return ty(e,n);throw new Error(De(8))}function ty(e,t){return e==="button"?c.createElement("button",{type:"button",...t,key:t.key}):e==="img"?c.createElement("img",{alt:"",...t,key:t.key}):c.createElement(e,t)}const qk=c.forwardRef(function(t,n){const{render:o,className:r,disabled:s=!1,focusableWhenDisabled:i=!1,nativeButton:a=!0,style:l,...u}=t,{getButtonProps:d,buttonRef:p}=Tt({disabled:s,focusableWhenDisabled:i,native:a});return Se("button",t,{state:{disabled:s},ref:[n,p],props:[u,d]})});function pu(e){var t,n,o="";if(typeof e=="string"||typeof e=="number")o+=e;else if(typeof e=="object")if(Array.isArray(e)){var r=e.length;for(t=0;t<r;t++)e[t]&&(n=pu(e[t]))&&(o&&(o+=" "),o+=n)}else for(n in e)e[n]&&(o&&(o+=" "),o+=n);return o}function ny(){for(var e,t,n=0,o="",r=arguments.length;n<r;n++)(e=arguments[n])&&(t=pu(e))&&(o&&(o+=" "),o+=t);return o}const fc=e=>typeof e=="boolean"?`${e}`:e===0?"0":e,pc=ny,Yk=(e,t)=>n=>{var o;if((t==null?void 0:t.variants)==null)return pc(e,n==null?void 0:n.class,n==null?void 0:n.className);const{variants:r,defaultVariants:s}=t,i=Object.keys(r).map(u=>{const d=n==null?void 0:n[u],p=s==null?void 0:s[u];if(d===null)return null;const f=fc(d)||fc(p);return r[u][f]}),a=n&&Object.entries(n).reduce((u,d)=>{let[p,f]=d;return f===void 0||(u[p]=f),u},{}),l=t==null||(o=t.compoundVariants)===null||o===void 0?void 0:o.reduce((u,d)=>{let{class:p,className:f,...y}=d;return Object.entries(y).every(m=>{let[g,h]=m;return Array.isArray(h)?h.includes({...s,...a}[g]):{...s,...a}[g]===h})?[...u,p,f]:u},[]);return pc(e,i,l,n==null?void 0:n.class,n==null?void 0:n.className)},oy=(e,t)=>{const n=new Array(e.length+t.length);for(let o=0;o<e.length;o++)n[o]=e[o];for(let o=0;o<t.length;o++)n[e.length+o]=t[o];return n},ry=(e,t)=>({classGroupId:e,validator:t}),hu=(e=new Map,t=null,n)=>({nextPart:e,validators:t,classGroupId:n}),Dr="-",hc=[],sy="arbitrary..",iy=e=>{const t=cy(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:o}=e;return{getClassGroupId:i=>{if(i.startsWith("[")&&i.endsWith("]"))return ay(i);const a=i.split(Dr),l=a[0]===""&&a.length>1?1:0;return gu(a,l,t)},getConflictingClassGroupIds:(i,a)=>{if(a){const l=o[i],u=n[i];return l?u?oy(u,l):l:u||hc}return n[i]||hc}}},gu=(e,t,n)=>{if(e.length-t===0)return n.classGroupId;const r=e[t],s=n.nextPart.get(r);if(s){const u=gu(e,t+1,s);if(u)return u}const i=n.validators;if(i===null)return;const a=t===0?e.join(Dr):e.slice(t).join(Dr),l=i.length;for(let u=0;u<l;u++){const d=i[u];if(d.validator(a))return d.classGroupId}},ay=e=>e.slice(1,-1).indexOf(":")===-1?void 0:(()=>{const t=e.slice(1,-1),n=t.indexOf(":"),o=t.slice(0,n);return o?sy+o:void 0})(),cy=e=>{const{theme:t,classGroups:n}=e;return ly(n,t)},ly=(e,t)=>{const n=hu();for(const o in e){const r=e[o];$i(r,n,o,t)}return n},$i=(e,t,n,o)=>{const r=e.length;for(let s=0;s<r;s++){const i=e[s];uy(i,t,n,o)}},uy=(e,t,n,o)=>{if(typeof e=="string"){dy(e,t,n);return}if(typeof e=="function"){fy(e,t,n,o);return}py(e,t,n,o)},dy=(e,t,n)=>{const o=e===""?t:mu(t,e);o.classGroupId=n},fy=(e,t,n,o)=>{if(hy(e)){$i(e(o),t,n,o);return}t.validators===null&&(t.validators=[]),t.validators.push(ry(n,e))},py=(e,t,n,o)=>{const r=Object.entries(e),s=r.length;for(let i=0;i<s;i++){const[a,l]=r[i];$i(l,mu(t,a),n,o)}},mu=(e,t)=>{let n=e;const o=t.split(Dr),r=o.length;for(let s=0;s<r;s++){const i=o[s];let a=n.nextPart.get(i);a||(a=hu(),n.nextPart.set(i,a)),n=a}return n},hy=e=>"isThemeGetter"in e&&e.isThemeGetter===!0,gy=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=Object.create(null),o=Object.create(null);const r=(s,i)=>{n[s]=i,t++,t>e&&(t=0,o=n,n=Object.create(null))};return{get(s){let i=n[s];if(i!==void 0)return i;if((i=o[s])!==void 0)return r(s,i),i},set(s,i){s in n?n[s]=i:r(s,i)}}},ei="!",gc=":",my=[],mc=(e,t,n,o,r)=>({modifiers:e,hasImportantModifier:t,baseClassName:n,maybePostfixModifierPosition:o,isExternal:r}),yy=e=>{const{prefix:t,experimentalParseClassName:n}=e;let o=r=>{const s=[];let i=0,a=0,l=0,u;const d=r.length;for(let g=0;g<d;g++){const h=r[g];if(i===0&&a===0){if(h===gc){s.push(r.slice(l,g)),l=g+1;continue}if(h==="/"){u=g;continue}}h==="["?i++:h==="]"?i--:h==="("?a++:h===")"&&a--}const p=s.length===0?r:r.slice(l);let f=p,y=!1;p.endsWith(ei)?(f=p.slice(0,-1),y=!0):p.startsWith(ei)&&(f=p.slice(1),y=!0);const m=u&&u>l?u-l:void 0;return mc(s,y,f,m)};if(t){const r=t+gc,s=o;o=i=>i.startsWith(r)?s(i.slice(r.length)):mc(my,!1,i,void 0,!0)}if(n){const r=o;o=s=>n({className:s,parseClassName:r})}return o},by=e=>{const t=new Map;return e.orderSensitiveModifiers.forEach((n,o)=>{t.set(n,1e6+o)}),n=>{const o=[];let r=[];for(let s=0;s<n.length;s++){const i=n[s],a=i[0]==="[",l=t.has(i);a||l?(r.length>0&&(r.sort(),o.push(...r),r=[]),o.push(i)):r.push(i)}return r.length>0&&(r.sort(),o.push(...r)),o}},vy=e=>({cache:gy(e.cacheSize),parseClassName:yy(e),sortModifiers:by(e),postfixLookupClassGroupIds:xy(e),...iy(e)}),xy=e=>{const t=Object.create(null),n=e.postfixLookupClassGroups;if(n)for(let o=0;o<n.length;o++)t[n[o]]=!0;return t},wy=/\s+/,Sy=(e,t)=>{const{parseClassName:n,getClassGroupId:o,getConflictingClassGroupIds:r,sortModifiers:s,postfixLookupClassGroupIds:i}=t,a=[],l=e.trim().split(wy);let u="";for(let d=l.length-1;d>=0;d-=1){const p=l[d],{isExternal:f,modifiers:y,hasImportantModifier:m,baseClassName:g,maybePostfixModifierPosition:h}=n(p);if(f){u=p+(u.length>0?" "+u:u);continue}let b=!!h,v;if(b){const E=g.substring(0,h);v=o(E);const k=v&&i[v]?o(g):void 0;k&&k!==v&&(v=k,b=!1)}else v=o(g);if(!v){if(!b){u=p+(u.length>0?" "+u:u);continue}if(v=o(g),!v){u=p+(u.length>0?" "+u:u);continue}b=!1}const w=y.length===0?"":y.length===1?y[0]:s(y).join(":"),x=m?w+ei:w,S=x+v;if(a.indexOf(S)>-1)continue;a.push(S);const R=r(v,b);for(let E=0;E<R.length;++E){const k=R[E];a.push(x+k)}u=p+(u.length>0?" "+u:u)}return u},Ry=(...e)=>{let t=0,n,o,r="";for(;t<e.length;)(n=e[t++])&&(o=yu(n))&&(r&&(r+=" "),r+=o);return r},yu=e=>{if(typeof e=="string")return e;let t,n="";for(let o=0;o<e.length;o++)e[o]&&(t=yu(e[o]))&&(n&&(n+=" "),n+=t);return n},ky=(e,...t)=>{let n,o,r,s;const i=l=>{const u=t.reduce((d,p)=>p(d),e());return n=vy(u),o=n.cache.get,r=n.cache.set,s=a,a(l)},a=l=>{const u=o(l);if(u)return u;const d=Sy(l,n);return r(l,d),d};return s=i,(...l)=>s(Ry(...l))},Ey=[],ot=e=>{const t=n=>n[e]||Ey;return t.isThemeGetter=!0,t},bu=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,vu=/^\((?:(\w[\w-]*):)?(.+)\)$/i,Cy=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,Py=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,My=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,Ty=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,Iy=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Oy=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,dn=e=>Cy.test(e),Ie=e=>!!e&&!Number.isNaN(Number(e)),$t=e=>!!e&&Number.isInteger(Number(e)),As=e=>e.endsWith("%")&&Ie(e.slice(0,-1)),Kt=e=>Py.test(e),xu=()=>!0,Ay=e=>My.test(e)&&!Ty.test(e),Hi=()=>!1,Ny=e=>Iy.test(e),Dy=e=>Oy.test(e),_y=e=>!me(e)&&!ye(e),Ly=e=>e.startsWith("@container")&&(e[10]==="/"&&e[11]!==void 0||e[11]==="s"&&e[16]!==void 0&&e.startsWith("-size/",10)||e[11]==="n"&&e[18]!==void 0&&e.startsWith("-normal/",10)),Fy=e=>Sn(e,Ru,Hi),me=e=>bu.test(e),In=e=>Sn(e,ku,Ay),yc=e=>Sn(e,Uy,Ie),zy=e=>Sn(e,Cu,xu),Vy=e=>Sn(e,Eu,Hi),bc=e=>Sn(e,wu,Hi),$y=e=>Sn(e,Su,Dy),Jo=e=>Sn(e,Pu,Ny),ye=e=>vu.test(e),ko=e=>Vn(e,ku),Hy=e=>Vn(e,Eu),vc=e=>Vn(e,wu),jy=e=>Vn(e,Ru),By=e=>Vn(e,Su),er=e=>Vn(e,Pu,!0),Wy=e=>Vn(e,Cu,!0),Sn=(e,t,n)=>{const o=bu.exec(e);return o?o[1]?t(o[1]):n(o[2]):!1},Vn=(e,t,n=!1)=>{const o=vu.exec(e);return o?o[1]?t(o[1]):n:!1},wu=e=>e==="position"||e==="percentage",Su=e=>e==="image"||e==="url",Ru=e=>e==="length"||e==="size"||e==="bg-size",ku=e=>e==="length",Uy=e=>e==="number",Eu=e=>e==="family-name",Cu=e=>e==="number"||e==="weight",Pu=e=>e==="shadow",Gy=()=>{const e=ot("color"),t=ot("font"),n=ot("text"),o=ot("font-weight"),r=ot("tracking"),s=ot("leading"),i=ot("breakpoint"),a=ot("container"),l=ot("spacing"),u=ot("radius"),d=ot("shadow"),p=ot("inset-shadow"),f=ot("text-shadow"),y=ot("drop-shadow"),m=ot("blur"),g=ot("perspective"),h=ot("aspect"),b=ot("ease"),v=ot("animate"),w=()=>["auto","avoid","all","avoid-page","page","left","right","column"],x=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],S=()=>[...x(),ye,me],R=()=>["auto","hidden","clip","visible","scroll"],E=()=>["auto","contain","none"],k=()=>[ye,me,l],M=()=>[dn,"full","auto",...k()],C=()=>[$t,"none","subgrid",ye,me],O=()=>["auto",{span:["full",$t,ye,me]},$t,ye,me],I=()=>[$t,"auto",ye,me],N=()=>["auto","min","max","fr",ye,me],D=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],P=()=>["start","end","center","stretch","center-safe","end-safe"],z=()=>["auto",...k()],_=()=>[dn,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...k()],A=()=>[dn,"screen","full","dvw","lvw","svw","min","max","fit",...k()],F=()=>[dn,"screen","full","lh","dvh","lvh","svh","min","max","fit",...k()],T=()=>[e,ye,me],L=()=>[...x(),vc,bc,{position:[ye,me]}],j=()=>["no-repeat",{repeat:["","x","y","space","round"]}],$=()=>["auto","cover","contain",jy,Fy,{size:[ye,me]}],U=()=>[As,ko,In],q=()=>["","none","full",u,ye,me],V=()=>["",Ie,ko,In],Q=()=>["solid","dashed","dotted","double"],H=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],G=()=>[Ie,As,vc,bc],ue=()=>["","none",m,ye,me],ne=()=>["none",Ie,ye,me],te=()=>["none",Ie,ye,me],J=()=>[Ie,ye,me],ee=()=>[dn,"full",...k()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[Kt],breakpoint:[Kt],color:[xu],container:[Kt],"drop-shadow":[Kt],ease:["in","out","in-out"],font:[_y],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[Kt],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[Kt],shadow:[Kt],spacing:["px",Ie],text:[Kt],"text-shadow":[Kt],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",dn,me,ye,h]}],container:["container"],"container-type":[{"@container":["","normal","size",ye,me]}],"container-named":[Ly],columns:[{columns:[Ie,me,ye,a]}],"break-after":[{"break-after":w()}],"break-before":[{"break-before":w()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:S()}],overflow:[{overflow:R()}],"overflow-x":[{"overflow-x":R()}],"overflow-y":[{"overflow-y":R()}],overscroll:[{overscroll:E()}],"overscroll-x":[{"overscroll-x":E()}],"overscroll-y":[{"overscroll-y":E()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:M()}],"inset-x":[{"inset-x":M()}],"inset-y":[{"inset-y":M()}],start:[{"inset-s":M(),start:M()}],end:[{"inset-e":M(),end:M()}],"inset-bs":[{"inset-bs":M()}],"inset-be":[{"inset-be":M()}],top:[{top:M()}],right:[{right:M()}],bottom:[{bottom:M()}],left:[{left:M()}],visibility:["visible","invisible","collapse"],z:[{z:[$t,"auto",ye,me]}],basis:[{basis:[dn,"full","auto",a,...k()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[Ie,dn,"auto","initial","none",me]}],grow:[{grow:["",Ie,ye,me]}],shrink:[{shrink:["",Ie,ye,me]}],order:[{order:[$t,"first","last","none",ye,me]}],"grid-cols":[{"grid-cols":C()}],"col-start-end":[{col:O()}],"col-start":[{"col-start":I()}],"col-end":[{"col-end":I()}],"grid-rows":[{"grid-rows":C()}],"row-start-end":[{row:O()}],"row-start":[{"row-start":I()}],"row-end":[{"row-end":I()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":N()}],"auto-rows":[{"auto-rows":N()}],gap:[{gap:k()}],"gap-x":[{"gap-x":k()}],"gap-y":[{"gap-y":k()}],"justify-content":[{justify:[...D(),"normal"]}],"justify-items":[{"justify-items":[...P(),"normal"]}],"justify-self":[{"justify-self":["auto",...P()]}],"align-content":[{content:["normal",...D()]}],"align-items":[{items:[...P(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...P(),{baseline:["","last"]}]}],"place-content":[{"place-content":D()}],"place-items":[{"place-items":[...P(),"baseline"]}],"place-self":[{"place-self":["auto",...P()]}],p:[{p:k()}],px:[{px:k()}],py:[{py:k()}],ps:[{ps:k()}],pe:[{pe:k()}],pbs:[{pbs:k()}],pbe:[{pbe:k()}],pt:[{pt:k()}],pr:[{pr:k()}],pb:[{pb:k()}],pl:[{pl:k()}],m:[{m:z()}],mx:[{mx:z()}],my:[{my:z()}],ms:[{ms:z()}],me:[{me:z()}],mbs:[{mbs:z()}],mbe:[{mbe:z()}],mt:[{mt:z()}],mr:[{mr:z()}],mb:[{mb:z()}],ml:[{ml:z()}],"space-x":[{"space-x":k()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":k()}],"space-y-reverse":["space-y-reverse"],size:[{size:_()}],"inline-size":[{inline:["auto",...A()]}],"min-inline-size":[{"min-inline":["auto",...A()]}],"max-inline-size":[{"max-inline":["none",...A()]}],"block-size":[{block:["auto",...F()]}],"min-block-size":[{"min-block":["auto",...F()]}],"max-block-size":[{"max-block":["none",...F()]}],w:[{w:[a,"screen",..._()]}],"min-w":[{"min-w":[a,"screen","none",..._()]}],"max-w":[{"max-w":[a,"screen","none","prose",{screen:[i]},..._()]}],h:[{h:["screen","lh",..._()]}],"min-h":[{"min-h":["screen","lh","none",..._()]}],"max-h":[{"max-h":["screen","lh",..._()]}],"font-size":[{text:["base",n,ko,In]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[o,Wy,zy]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",As,me]}],"font-family":[{font:[Hy,Vy,t]}],"font-features":[{"font-features":[me]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[r,ye,me]}],"line-clamp":[{"line-clamp":[Ie,"none",ye,yc]}],leading:[{leading:[s,...k()]}],"list-image":[{"list-image":["none",ye,me]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",ye,me]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:T()}],"text-color":[{text:T()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...Q(),"wavy"]}],"text-decoration-thickness":[{decoration:[Ie,"from-font","auto",ye,In]}],"text-decoration-color":[{decoration:T()}],"underline-offset":[{"underline-offset":[Ie,"auto",ye,me]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:k()}],"tab-size":[{tab:[$t,ye,me]}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",ye,me]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",ye,me]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:L()}],"bg-repeat":[{bg:j()}],"bg-size":[{bg:$()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},$t,ye,me],radial:["",ye,me],conic:[$t,ye,me]},By,$y]}],"bg-color":[{bg:T()}],"gradient-from-pos":[{from:U()}],"gradient-via-pos":[{via:U()}],"gradient-to-pos":[{to:U()}],"gradient-from":[{from:T()}],"gradient-via":[{via:T()}],"gradient-to":[{to:T()}],rounded:[{rounded:q()}],"rounded-s":[{"rounded-s":q()}],"rounded-e":[{"rounded-e":q()}],"rounded-t":[{"rounded-t":q()}],"rounded-r":[{"rounded-r":q()}],"rounded-b":[{"rounded-b":q()}],"rounded-l":[{"rounded-l":q()}],"rounded-ss":[{"rounded-ss":q()}],"rounded-se":[{"rounded-se":q()}],"rounded-ee":[{"rounded-ee":q()}],"rounded-es":[{"rounded-es":q()}],"rounded-tl":[{"rounded-tl":q()}],"rounded-tr":[{"rounded-tr":q()}],"rounded-br":[{"rounded-br":q()}],"rounded-bl":[{"rounded-bl":q()}],"border-w":[{border:V()}],"border-w-x":[{"border-x":V()}],"border-w-y":[{"border-y":V()}],"border-w-s":[{"border-s":V()}],"border-w-e":[{"border-e":V()}],"border-w-bs":[{"border-bs":V()}],"border-w-be":[{"border-be":V()}],"border-w-t":[{"border-t":V()}],"border-w-r":[{"border-r":V()}],"border-w-b":[{"border-b":V()}],"border-w-l":[{"border-l":V()}],"divide-x":[{"divide-x":V()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":V()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...Q(),"hidden","none"]}],"divide-style":[{divide:[...Q(),"hidden","none"]}],"border-color":[{border:T()}],"border-color-x":[{"border-x":T()}],"border-color-y":[{"border-y":T()}],"border-color-s":[{"border-s":T()}],"border-color-e":[{"border-e":T()}],"border-color-bs":[{"border-bs":T()}],"border-color-be":[{"border-be":T()}],"border-color-t":[{"border-t":T()}],"border-color-r":[{"border-r":T()}],"border-color-b":[{"border-b":T()}],"border-color-l":[{"border-l":T()}],"divide-color":[{divide:T()}],"outline-style":[{outline:[...Q(),"none","hidden"]}],"outline-offset":[{"outline-offset":[Ie,ye,me]}],"outline-w":[{outline:["",Ie,ko,In]}],"outline-color":[{outline:T()}],shadow:[{shadow:["","none",d,er,Jo]}],"shadow-color":[{shadow:T()}],"inset-shadow":[{"inset-shadow":["none",p,er,Jo]}],"inset-shadow-color":[{"inset-shadow":T()}],"ring-w":[{ring:V()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:T()}],"ring-offset-w":[{"ring-offset":[Ie,In]}],"ring-offset-color":[{"ring-offset":T()}],"inset-ring-w":[{"inset-ring":V()}],"inset-ring-color":[{"inset-ring":T()}],"text-shadow":[{"text-shadow":["none",f,er,Jo]}],"text-shadow-color":[{"text-shadow":T()}],opacity:[{opacity:[Ie,ye,me]}],"mix-blend":[{"mix-blend":[...H(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":H()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[Ie]}],"mask-image-linear-from-pos":[{"mask-linear-from":G()}],"mask-image-linear-to-pos":[{"mask-linear-to":G()}],"mask-image-linear-from-color":[{"mask-linear-from":T()}],"mask-image-linear-to-color":[{"mask-linear-to":T()}],"mask-image-t-from-pos":[{"mask-t-from":G()}],"mask-image-t-to-pos":[{"mask-t-to":G()}],"mask-image-t-from-color":[{"mask-t-from":T()}],"mask-image-t-to-color":[{"mask-t-to":T()}],"mask-image-r-from-pos":[{"mask-r-from":G()}],"mask-image-r-to-pos":[{"mask-r-to":G()}],"mask-image-r-from-color":[{"mask-r-from":T()}],"mask-image-r-to-color":[{"mask-r-to":T()}],"mask-image-b-from-pos":[{"mask-b-from":G()}],"mask-image-b-to-pos":[{"mask-b-to":G()}],"mask-image-b-from-color":[{"mask-b-from":T()}],"mask-image-b-to-color":[{"mask-b-to":T()}],"mask-image-l-from-pos":[{"mask-l-from":G()}],"mask-image-l-to-pos":[{"mask-l-to":G()}],"mask-image-l-from-color":[{"mask-l-from":T()}],"mask-image-l-to-color":[{"mask-l-to":T()}],"mask-image-x-from-pos":[{"mask-x-from":G()}],"mask-image-x-to-pos":[{"mask-x-to":G()}],"mask-image-x-from-color":[{"mask-x-from":T()}],"mask-image-x-to-color":[{"mask-x-to":T()}],"mask-image-y-from-pos":[{"mask-y-from":G()}],"mask-image-y-to-pos":[{"mask-y-to":G()}],"mask-image-y-from-color":[{"mask-y-from":T()}],"mask-image-y-to-color":[{"mask-y-to":T()}],"mask-image-radial":[{"mask-radial":[ye,me]}],"mask-image-radial-from-pos":[{"mask-radial-from":G()}],"mask-image-radial-to-pos":[{"mask-radial-to":G()}],"mask-image-radial-from-color":[{"mask-radial-from":T()}],"mask-image-radial-to-color":[{"mask-radial-to":T()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":x()}],"mask-image-conic-pos":[{"mask-conic":[Ie]}],"mask-image-conic-from-pos":[{"mask-conic-from":G()}],"mask-image-conic-to-pos":[{"mask-conic-to":G()}],"mask-image-conic-from-color":[{"mask-conic-from":T()}],"mask-image-conic-to-color":[{"mask-conic-to":T()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:L()}],"mask-repeat":[{mask:j()}],"mask-size":[{mask:$()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",ye,me]}],filter:[{filter:["","none",ye,me]}],blur:[{blur:ue()}],brightness:[{brightness:[Ie,ye,me]}],contrast:[{contrast:[Ie,ye,me]}],"drop-shadow":[{"drop-shadow":["","none",y,er,Jo]}],"drop-shadow-color":[{"drop-shadow":T()}],grayscale:[{grayscale:["",Ie,ye,me]}],"hue-rotate":[{"hue-rotate":[Ie,ye,me]}],invert:[{invert:["",Ie,ye,me]}],saturate:[{saturate:[Ie,ye,me]}],sepia:[{sepia:["",Ie,ye,me]}],"backdrop-filter":[{"backdrop-filter":["","none",ye,me]}],"backdrop-blur":[{"backdrop-blur":ue()}],"backdrop-brightness":[{"backdrop-brightness":[Ie,ye,me]}],"backdrop-contrast":[{"backdrop-contrast":[Ie,ye,me]}],"backdrop-grayscale":[{"backdrop-grayscale":["",Ie,ye,me]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[Ie,ye,me]}],"backdrop-invert":[{"backdrop-invert":["",Ie,ye,me]}],"backdrop-opacity":[{"backdrop-opacity":[Ie,ye,me]}],"backdrop-saturate":[{"backdrop-saturate":[Ie,ye,me]}],"backdrop-sepia":[{"backdrop-sepia":["",Ie,ye,me]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":k()}],"border-spacing-x":[{"border-spacing-x":k()}],"border-spacing-y":[{"border-spacing-y":k()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",ye,me]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[Ie,"initial",ye,me]}],ease:[{ease:["linear","initial",b,ye,me]}],delay:[{delay:[Ie,ye,me]}],animate:[{animate:["none",v,ye,me]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[g,ye,me]}],"perspective-origin":[{"perspective-origin":S()}],rotate:[{rotate:ne()}],"rotate-x":[{"rotate-x":ne()}],"rotate-y":[{"rotate-y":ne()}],"rotate-z":[{"rotate-z":ne()}],scale:[{scale:te()}],"scale-x":[{"scale-x":te()}],"scale-y":[{"scale-y":te()}],"scale-z":[{"scale-z":te()}],"scale-3d":["scale-3d"],skew:[{skew:J()}],"skew-x":[{"skew-x":J()}],"skew-y":[{"skew-y":J()}],transform:[{transform:[ye,me,"","none","gpu","cpu"]}],"transform-origin":[{origin:S()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:ee()}],"translate-x":[{"translate-x":ee()}],"translate-y":[{"translate-y":ee()}],"translate-z":[{"translate-z":ee()}],"translate-none":["translate-none"],zoom:[{zoom:[$t,ye,me]}],accent:[{accent:T()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:T()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",ye,me]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scrollbar-thumb-color":[{"scrollbar-thumb":T()}],"scrollbar-track-color":[{"scrollbar-track":T()}],"scrollbar-gutter":[{"scrollbar-gutter":["auto","stable","both"]}],"scrollbar-w":[{scrollbar:["auto","thin","none"]}],"scroll-m":[{"scroll-m":k()}],"scroll-mx":[{"scroll-mx":k()}],"scroll-my":[{"scroll-my":k()}],"scroll-ms":[{"scroll-ms":k()}],"scroll-me":[{"scroll-me":k()}],"scroll-mbs":[{"scroll-mbs":k()}],"scroll-mbe":[{"scroll-mbe":k()}],"scroll-mt":[{"scroll-mt":k()}],"scroll-mr":[{"scroll-mr":k()}],"scroll-mb":[{"scroll-mb":k()}],"scroll-ml":[{"scroll-ml":k()}],"scroll-p":[{"scroll-p":k()}],"scroll-px":[{"scroll-px":k()}],"scroll-py":[{"scroll-py":k()}],"scroll-ps":[{"scroll-ps":k()}],"scroll-pe":[{"scroll-pe":k()}],"scroll-pbs":[{"scroll-pbs":k()}],"scroll-pbe":[{"scroll-pbe":k()}],"scroll-pt":[{"scroll-pt":k()}],"scroll-pr":[{"scroll-pr":k()}],"scroll-pb":[{"scroll-pb":k()}],"scroll-pl":[{"scroll-pl":k()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",ye,me]}],fill:[{fill:["none",...T()]}],"stroke-w":[{stroke:[Ie,ko,In,yc]}],stroke:[{stroke:["none",...T()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{"container-named":["container-type"],overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","inset-bs","inset-be","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pbs","pbe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mbs","mbe","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-bs","border-w-be","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-bs","border-color-be","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mbs","scroll-mbe","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pbs","scroll-pbe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},postfixLookupClassGroups:["container-type"],orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}},Xk=ky(Gy),Mu=c.createContext(void 0);function Xr(e){const t=c.useContext(Mu);if(t===void 0&&!e)throw new Error(De(33));return t}const ji=c.createContext(void 0);function cn(e){const t=c.useContext(ji);if(t===void 0&&!e)throw new Error(De(36));return t}let _r=(function(e){return e.startingStyle="data-starting-style",e.endingStyle="data-ending-style",e})({});const qy={"data-starting-style":""},Yy={"data-ending-style":""},Gt={transitionStatus(e){return e==="starting"?qy:e==="ending"?Yy:null}};(function(e){return e.open="data-open",e.closed="data-closed",e[e.startingStyle=_r.startingStyle]="startingStyle",e[e.endingStyle=_r.endingStyle]="endingStyle",e.anchorHidden="data-anchor-hidden",e.side="data-side",e.align="data-align",e})({});const Xy={"data-popup-open":""},Ky={"data-popup-open":"","data-pressed":""},Zy={"data-open":""},Qy={"data-closed":""},Jy={"data-anchor-hidden":""},Bi={open(e){return e?Xy:null}},Lr={open(e){return e?Ky:null}},Kr={open(e){return e?Zy:Qy},anchorHidden(e){return e?Jy:null}},Wi={...Kr,...Gt},Tu=c.createContext(void 0);function Zr(e=!0){const t=c.useContext(Tu);if(t===void 0&&!e)throw new Error(De(25));return t}const Rt="none",Rn="trigger-press",rt="trigger-hover",Jn="trigger-focus",Qr="outside-press",An="item-press",e0="close-press",Dn="focus-out",Jr="escape-key",ti="list-navigation",Ui="cancel-open",To="sibling-open",Iu="disabled",xc="missing",wc="initial",Gi="imperative-action",t0="window-resize";function _t({controlled:e,default:t,name:n,state:o="value"}){const{current:r}=c.useRef(e!==void 0),[s,i]=c.useState(t),a=r?e:s,l=c.useCallback(u=>{r||i(u)},[]);return[a,l]}const Ou=c.createContext(void 0);function n0(){const e=c.useContext(Ou);if(e===void 0)throw new Error(De(30));return e}function o0(){return typeof navigator>"u"?{userAgent:"",platform:"",maxTouchPoints:0}:{userAgent:navigator.userAgent,platform:navigator.platform??"",maxTouchPoints:navigator.maxTouchPoints??0}}const{userAgent:r0,platform:s0,maxTouchPoints:i0}=o0(),es=r0.toLowerCase(),Lo=s0.toLowerCase(),ts=/^i(os$|p)/.test(Lo)||Lo==="macintel"&&i0>1,Sc="android",ni=Lo===Sc||es.includes(Sc),qi=!ts&&Lo.startsWith("mac");Lo.startsWith("win");const a0=qi||ts;var eu;const qt=typeof CSS<"u"&&!!((eu=CSS.supports)!=null&&eu.call(CSS,"-webkit-backdrop-filter:none"));!qt&&es.includes("firefox");!qt&&es.includes("chrom");const c0=a0,Yi=/jsdom|happydom/.test(es);function l0(e){const{closeOnClick:t,highlighted:n,id:o,nodeId:r,store:s,typingRef:i,itemRef:a,itemMetadata:l}=e,{events:u}=s.useState("floatingTreeRoot"),d=s.useState("open"),p=Zr(!0),f=p!==void 0;return c.useMemo(()=>({id:o,role:"menuitem",tabIndex:d&&n?0:-1,onKeyDown(y){y.key===" "&&(i!=null&&i.current)&&y.preventDefault()},onMouseMove(y){r&&u.emit("itemhover",{nodeId:r,target:y.currentTarget})},onClick(y){t&&u.emit("close",{domEvent:y,reason:An})},onMouseUp(y){if(p){const m=p.initialCursorPointRef.current;if(p.initialCursorPointRef.current=null,f&&m&&Math.abs(y.clientX-m.x)<=1&&Math.abs(y.clientY-m.y)<=1||f&&!qi&&y.button===2)return}a.current&&s.context.allowMouseUpTriggerRef.current&&(!f||y.button===2)&&l.type==="regular-item"&&Qn(a.current,y,{detail:1})}}),[t,n,o,u,r,d,s,i,a,p,f,l])}const Xi={type:"regular-item"};function Ki(e){const{closeOnClick:t,disabled:n,highlighted:o,id:r,store:s,typingRef:i=s.context.typingRef,nativeButton:a,itemMetadata:l,nodeId:u}=e,d=c.useRef(null),{getButtonProps:p,buttonRef:f}=Tt({disabled:n,focusableWhenDisabled:!0,native:a,composite:!0}),y=l0({closeOnClick:t,highlighted:o,id:r,nodeId:u,store:s,typingRef:i,itemRef:d,itemMetadata:l}),m=c.useCallback(h=>St(y,{onMouseEnter(){l.type==="submenu-trigger"&&l.setActive()}},h,p),[y,p,l]),g=Nt(d,f);return c.useMemo(()=>({getItemProps:m,itemRef:g}),[m,g])}const Au=c.createContext({register:()=>{},unregister:()=>{},subscribeMapChange:()=>()=>{},nextIndexRef:{current:0}});function u0(){return c.useContext(Au)}function yo(e={}){const{guess:t,label:n,metadata:o,textRef:r,index:s}=e,{register:i,unregister:a,subscribeMapChange:l,nextIndexRef:u}=u0(),d=c.useRef(-1),[p,f]=c.useState(s==null&&t?()=>{if(d.current===-1){const h=u.current;u.current+=1,d.current=h}return d.current}:-1),y=s??p,m=c.useRef(null),g=c.useCallback(h=>{const b=m.current;b&&a(b),m.current=h,h&&i(h,{metadata:o??null,index:s??null,label:n,textRef:r})},[s,i,a,o,n,r]);return oe(()=>{if(s==null)return l(h=>{var v;const b=m.current?(v=h.get(m.current))==null?void 0:v.index:null;b!=null&&f(b)})},[s,l]),{ref:g,index:y}}let Rc=0;function d0(e,t="mui"){const[n,o]=c.useState(e),r=e||n;return c.useEffect(()=>{n==null&&(Rc+=1,o(`${t}-${Rc}`))},[n,t]),r}const kc=Li.useId;function bn(e,t){if(kc!==void 0){const n=kc();return e??(t?`${t}-${n}`:n)}return d0(e,t)}function tt(e){return bn(e,"base-ui")}let Ec=(function(e){return e.checked="data-checked",e.unchecked="data-unchecked",e.disabled="data-disabled",e.highlighted="data-highlighted",e})({});const ns={checked(e){return e?{[Ec.checked]:""}:{[Ec.unchecked]:""}},...Gt};function ke(e,t,n,o){let r=!1,s=!1;const i=o??We;return{reason:e,event:t??new Event("base-ui"),cancel(){r=!0},allowPropagation(){s=!0},get isCanceled(){return r},get isPropagationAllowed(){return s},trigger:n,...i}}const Kk=c.forwardRef(function(t,n){const{render:o,className:r,id:s,label:i,nativeButton:a=!1,disabled:l=!1,closeOnClick:u=!1,checked:d,defaultChecked:p,onCheckedChange:f,style:y,...m}=t,g=yo({guess:!0,label:i}),h=Xr(!0),b=tt(s),{store:v}=cn(),w=v.useState("disabled"),x=l||w,S=v.useState("isActive",g.index),R=v.useState("itemProps"),[E,k]=_t({controlled:d,default:p??!1,name:"MenuCheckboxItem",state:"checked"}),{getItemProps:M,itemRef:C}=Ki({closeOnClick:u,disabled:x,highlighted:S,id:b,store:v,nativeButton:a,nodeId:h==null?void 0:h.context.nodeId,itemMetadata:Xi}),O=c.useMemo(()=>({disabled:x,highlighted:S,checked:E}),[x,S,E]);function I(D){const P=ke(An,D.nativeEvent,void 0,{preventUnmountOnClose:Ke});f==null||f(!E,P),!P.isCanceled&&k(z=>!z)}const N=Se("div",t,{state:O,stateAttributesMapping:ns,props:[R,{role:"menuitemcheckbox","aria-checked":E,onClick:I},m,M],ref:[C,n,g.ref]});return K.jsx(Ou.Provider,{value:O,children:N})});function Zi(e){c.useEffect(e,Dt)}const tr=null;class f0{constructor(){Ne(this,"callbacks",[]);Ne(this,"callbacksCount",0);Ne(this,"nextId",1);Ne(this,"startId",1);Ne(this,"isScheduled",!1);Ne(this,"tick",t=>{var r;this.isScheduled=!1;const n=this.callbacks,o=this.callbacksCount;if(this.callbacks=[],this.callbacksCount=0,this.startId=this.nextId,o>0)for(let s=0;s<n.length;s+=1)(r=n[s])==null||r.call(n,t)})}request(t){const n=this.nextId;return this.nextId+=1,this.callbacks.push(t),this.callbacksCount+=1,(!this.isScheduled||!1)&&(requestAnimationFrame(this.tick),this.isScheduled=!0),n}cancel(t){const n=t-this.startId;n<0||n>=this.callbacks.length||(this.callbacks[n]=null,this.callbacksCount-=1)}}let nr=new f0;class vt{constructor(){Ne(this,"currentId",tr);Ne(this,"cancel",()=>{this.currentId!==tr&&(nr.cancel(this.currentId),this.currentId=tr)});Ne(this,"disposeEffect",()=>this.cancel)}static create(){return new vt}static request(t){return nr.request(t)}static cancel(t){return nr.cancel(t)}request(t){this.cancel(),this.currentId=nr.request(()=>{this.currentId=tr,t()})}}function io(){const e=at(vt.create).current;return Zi(e.disposeEffect),e}function ln(e,t=!1,n=!1){const[o,r]=c.useState(e&&t?"idle":void 0),[s,i]=c.useState(e);return e&&!s&&(i(!0),r("starting")),!e&&s&&o!=="ending"&&!n&&r("ending"),!e&&!s&&o==="ending"&&r(void 0),oe(()=>{if(!e&&s&&o!=="ending"&&n){const a=vt.request(()=>{r("ending")});return()=>{vt.cancel(a)}}},[e,s,o,n]),oe(()=>{if(!e||t)return;const a=vt.request(()=>{r(void 0)});return()=>{vt.cancel(a)}},[t,e]),oe(()=>{if(!e||!t)return;e&&s&&o!=="idle"&&r("starting");const a=vt.request(()=>{r("idle")});return()=>{vt.cancel(a)}},[t,e,s,o]),{mounted:s,setMounted:i,transitionStatus:o}}function Zt(e){return e==null?e:"current"in e?e.current:e}function Qi(e,t=!1){const n=io();return le((o,r=null)=>{n.cancel();const s=Zt(e);if(s==null)return;const i=s,a=()=>{At.flushSync(o)};if(typeof i.getAnimations!="function"||globalThis.BASE_UI_ANIMATIONS_DISABLED){o();return}function l(){Promise.all(i.getAnimations().map(u=>u.finished)).then(()=>{r!=null&&r.aborted||a()},()=>{if(r!=null&&r.aborted)return;if(i.getAnimations().some(d=>d.pending||d.playState!=="finished")){l();return}a()})}if(t){const u="data-starting-style";if(!i.hasAttribute(u)){n.request(l);return}const d=new MutationObserver(()=>{i.hasAttribute(u)||(d.disconnect(),l())});d.observe(i,{attributes:!0,attributeFilter:[u]}),r==null||r.addEventListener("abort",()=>d.disconnect(),{once:!0});return}n.request(l)})}function kt(e){const{enabled:t=!0,open:n,ref:o,onComplete:r}=e,s=le(r),i=Qi(o,n);c.useEffect(()=>{if(!t)return;const a=new AbortController;return i(s,a.signal),()=>{a.abort()}},[t,n,s,i])}const Zk=c.forwardRef(function(t,n){const{render:o,className:r,style:s,keepMounted:i=!1,...a}=t,l=n0(),u=c.useRef(null),{transitionStatus:d,mounted:p,setMounted:f}=ln(l.checked);kt({open:l.checked,ref:u,onComplete(){l.checked||f(!1)}});const y={checked:l.checked,disabled:l.disabled,highlighted:l.highlighted,transitionStatus:d};return Se("span",t,{state:y,ref:[n,u],stateAttributesMapping:ns,props:{"aria-hidden":!0,...a},enabled:i||p})}),Ji=c.createContext(void 0);function p0(){const e=c.useContext(Ji);if(e===void 0)throw new Error(De(31));return e}const Qk=c.forwardRef(function(t,n){const{render:o,className:r,style:s,...i}=t,[a,l]=c.useState(void 0),u=Se("div",t,{ref:n,props:{role:"group","aria-labelledby":a,...i}});return K.jsx(Ji.Provider,{value:l,children:u})}),Jk=c.forwardRef(function(t,n){const{render:o,className:r,style:s,id:i,...a}=t,l=tt(i),u=p0();return oe(()=>(u(l),()=>{u(d=>d===l?void 0:d)}),[u,l]),Se("div",t,{ref:n,props:{id:l,role:"presentation",...a}})}),eE=c.forwardRef(function(t,n){const{render:o,className:r,id:s,label:i,nativeButton:a=!1,disabled:l=!1,closeOnClick:u=!0,style:d,...p}=t,f=yo({guess:!0,label:i}),y=Xr(!0),m=tt(s),{store:g}=cn(),h=g.useState("disabled"),b=l||h,v=g.useState("isActive",f.index),w=g.useState("itemProps"),{getItemProps:x,itemRef:S}=Ki({closeOnClick:u,disabled:b,highlighted:v,id:m,store:g,nativeButton:a,nodeId:y==null?void 0:y.context.nodeId,itemMetadata:Xi});return Se("div",t,{state:{disabled:b,highlighted:v},props:[w,p,x],ref:[S,n,f.ref]})}),Eo=0;class Lt{constructor(){Ne(this,"currentId",Eo);Ne(this,"clear",()=>{this.currentId!==Eo&&(clearTimeout(this.currentId),this.currentId=Eo)});Ne(this,"disposeEffect",()=>this.clear)}static create(){return new Lt}start(t,n){this.clear(),this.currentId=setTimeout(()=>{this.currentId=Eo,n()},t)}isStarted(){return this.currentId!==Eo}}function Ge(){const e=at(Lt.create).current;return Zi(e.disposeEffect),e}function It(e){e.preventDefault(),e.stopPropagation()}function h0(e){return"nativeEvent"in e}function ea(e){return e.pointerType===""&&e.isTrusted?!0:ni&&e.pointerType?e.type==="click"&&e.buttons===1:e.detail===0&&!e.pointerType}function ta(e){return Yi?!1:!ni&&e.width===0&&e.height===0||ni&&e.width===1&&e.height===1&&e.pressure===0&&e.detail===0&&e.pointerType==="mouse"||e.width<1&&e.height<1&&e.pressure===0&&e.detail===0&&e.pointerType==="touch"}function mn(e,t){const n=["mouse","pen"];return t||n.push("",void 0),n.includes(e)}function g0(e){const t=e.type;return t==="click"||t==="mousedown"||t==="keydown"||t==="keyup"}const oi="data-base-ui-focusable",Nu="input:not([type='hidden']):not([disabled]),[contenteditable]:not([contenteditable='false']),textarea:not([disabled])",os="ArrowLeft",rs="ArrowRight",Du="ArrowUp",na="ArrowDown";function dt(e){var n;let t=e.activeElement;for(;((n=t==null?void 0:t.shadowRoot)==null?void 0:n.activeElement)!=null;)t=t.shadowRoot.activeElement;return t}function ve(e,t){var o;if(!e||!t)return!1;const n=(o=t.getRootNode)==null?void 0:o.call(t);if(e.contains(t))return!0;if(n&&so(n)){let r=t;for(;r;){if(e===r)return!0;r=r.parentNode||r.host}}return!1}function et(e){return"composedPath"in e?e.composedPath()[0]:e.target}function Fr(e,t){if(!Oe(e))return!1;const n=e;if(t.hasElement(n))return!n.hasAttribute("data-trigger-disabled");for(const[,o]of t.entries())if(ve(o,n))return!o.hasAttribute("data-trigger-disabled");return!1}function Ns(e,t){if(t==null)return!1;if("composedPath"in e)return e.composedPath().includes(t);const n=e;return n.target!=null&&t.contains(n.target)}function m0(e){return e.matches("html,body")}function ss(e){return Fe(e)&&e.matches(Nu)}function y0(e){return(e==null?void 0:e.closest(`button,a[href],[role="button"],select,[tabindex]:not([tabindex="-1"]),${Nu}`))!=null}function ri(e){return e?e.getAttribute("role")==="combobox"&&ss(e):!1}function b0(e){if(!e||Yi)return!0;try{return e.matches(":focus-visible")}catch{return!0}}function zr(e){return e?e.hasAttribute(oi)?e:e.querySelector(`[${oi}]`)||e:null}function v0(e,t){return t!=null&&!mn(t)?0:typeof e=="function"?e():e}function vn(e,t,n){const o=v0(e,n);return typeof o=="number"?o:o==null?void 0:o[t]}function Cc(e){return typeof e=="function"?e():e}function _u(e,t){return t||e==="click"||e==="mousedown"}function x0(e){return(e==null?void 0:e.includes("mouse"))&&e!=="mousedown"}const Lu=c.createContext({hasProvider:!1,timeoutMs:0,delayRef:{current:0},initialDelayRef:{current:0},timeout:new Lt,currentIdRef:{current:null},currentContextRef:{current:null}});function w0(e,t){e.current=t.current}function S0(e){const{children:t,delay:n,timeoutMs:o=0}=e,r=c.useRef(n),s=c.useRef(n),i=c.useRef(null),a=c.useRef(null),l=Ge();return oe(()=>{if(s.current=n,!i.current){r.current=n;return}r.current={open:vn(r.current,"open"),close:vn(n,"close")}},[n,i,r,s]),K.jsx(Lu.Provider,{value:c.useMemo(()=>({hasProvider:!0,delayRef:r,initialDelayRef:s,currentIdRef:i,timeoutMs:o,currentContextRef:a,timeout:l}),[o,l]),children:t})}function R0(e,t={open:!1}){const{open:n}=t,o="rootStore"in e?e.rootStore:e,r=o.useState("floatingId"),s=c.useContext(Lu),{currentIdRef:i,delayRef:a,timeoutMs:l,initialDelayRef:u,currentContextRef:d,hasProvider:p,timeout:f}=s,[y,m]=c.useState(!1),g=c.useRef(n);return oe(()=>{g.current=n},[n]),oe(()=>{function h(){var b;(b=d.current)==null||b.setIsInstantPhase(!1),i.current=null,d.current=null,a.current=u.current,f.clear()}if(i.current&&!n&&i.current===r){if(m(!1),l){const b=r;return f.start(l,()=>{o.select("open")||i.current&&i.current!==b||h()}),()=>{(g.current||i.current!==b)&&f.clear()}}h()}},[n,r,i,a,l,u,d,f,o]),oe(()=>{if(!n)return;const h=d.current,b=i.current;f.clear(),d.current={onOpenChange:o.setOpen,setIsInstantPhase:m},i.current=r,a.current={open:0,close:vn(u.current,"close")},b!==null&&b!==r?(m(!0),h==null||h.setIsInstantPhase(!0),h==null||h.onOpenChange(!1,ke(Rt))):(m(!1),h==null||h.setIsInstantPhase(!1))},[n,r,o,i,a,u,d,f]),oe(()=>()=>{if(i.current===r){if(d.current=null,!g.current)return;i.current=null,w0(a,u),f.clear()}},[d,i,a,r,u,f]),c.useMemo(()=>({hasProvider:p,delayRef:a,isInstantPhase:y}),[p,a,y])}function Me(e,t,n,o){return e.addEventListener(t,n,o),()=>{e.removeEventListener(t,n,o)}}function Ut(...e){return()=>{for(let t=0;t<e.length;t+=1){const n=e[t];n&&n()}}}function Ze(e){const t=at(k0,e).current;return t.next=e,oe(t.effect),t}function k0(e){const t={current:e,next:e,effect:()=>{t.current=t.next}};return t}const Fu={clipPath:"inset(50%)",overflow:"hidden",whiteSpace:"nowrap",border:0,padding:0,width:1,height:1,margin:-1},Bo={...Fu,position:"fixed",top:0,left:0},oa={...Fu,position:"absolute"},ao=c.forwardRef(function(t,n){const[o,r]=c.useState();oe(()=>{c0&&qt&&r("button")},[]);const s={tabIndex:0,role:o};return K.jsx("span",{...t,ref:n,style:Bo,"aria-hidden":o?void 0:!0,...s,"data-base-ui-focus-guard":""})}),co=Math.min,tn=Math.max,lo=Math.round,or=Math.floor,nn=e=>({x:e,y:e}),E0={left:"right",right:"left",bottom:"top",top:"bottom"};function zu(e,t,n){return tn(e,co(t,n))}function xn(e,t){return typeof e=="function"?e(t):e}function Mt(e){return e.split("-")[0]}function kn(e){return e.split("-")[1]}function ra(e){return e==="x"?"y":"x"}function sa(e){return e==="y"?"height":"width"}function Pt(e){const t=e[0];return t==="t"||t==="b"?"y":"x"}function ia(e){return ra(Pt(e))}function C0(e,t,n){n===void 0&&(n=!1);const o=kn(e),r=ia(e),s=sa(r);let i=r==="x"?o===(n?"end":"start")?"right":"left":o==="start"?"bottom":"top";return t.reference[s]>t.floating[s]&&(i=Vr(i)),[i,Vr(i)]}function P0(e){const t=Vr(e);return[si(e),t,si(t)]}function si(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}const Pc=["left","right"],Mc=["right","left"],M0=["top","bottom"],T0=["bottom","top"];function I0(e,t,n){switch(e){case"top":case"bottom":return n?t?Mc:Pc:t?Pc:Mc;case"left":case"right":return t?M0:T0;default:return[]}}function O0(e,t,n,o){const r=kn(e);let s=I0(Mt(e),n==="start",o);return r&&(s=s.map(i=>i+"-"+r),t&&(s=s.concat(s.map(si)))),s}function Vr(e){const t=Mt(e);return E0[t]+e.slice(t.length)}function A0(e){var t,n,o,r;return{top:(t=e.top)!=null?t:0,right:(n=e.right)!=null?n:0,bottom:(o=e.bottom)!=null?o:0,left:(r=e.left)!=null?r:0}}function Vu(e){return typeof e!="number"?A0(e):{top:e,right:e,bottom:e,left:e}}function Fo(e){const{x:t,y:n,width:o,height:r}=e;return{width:o,height:r,top:n,left:t,right:t+o,bottom:n+r,x:t,y:n}}function Ao(e,t){return t<0||t>=e.length}function kr(e,t){return Jt(e.current,{disabledIndices:t})}function ii(e,t){return Jt(e.current,{decrement:!0,startingIndex:e.current.length,disabledIndices:t})}function Jt(e,{startingIndex:t=-1,decrement:n=!1,disabledIndices:o,amount:r=1}={}){let s=t;do s+=n?-r:r;while(s>=0&&s<=e.length-1&&$r(e,s,o));return s}function $r(e,t,n){if(typeof n=="function"?n(t):(n==null?void 0:n.includes(t))??!1)return!0;const r=e[t];return r?!is(r)||r.matches(":disabled")?!0:!n&&(r.hasAttribute("disabled")||r.getAttribute("aria-disabled")==="true"):!1}function N0(e){return e.visibility==="hidden"||e.visibility==="collapse"}function is(e,t=e?xt(e):null){return!e||!e.isConnected||!t||N0(t)?!1:typeof e.checkVisibility=="function"?e.checkVisibility():t.display!=="none"&&t.display!=="contents"}const D0='a[href],button,input,select,textarea,summary,details,iframe,object,embed,[tabindex],[contenteditable]:not([contenteditable="false"]),audio[controls],video[controls]';function _0(e){const t=e.assignedSlot;if(t)return t;if(e.parentElement)return e.parentElement;const n=e.getRootNode();return so(n)?n.host:null}function ai(e){for(const t of Array.from(e.children))if(ut(t)==="summary")return t;return null}function L0(e,t){const n=ai(t);return!!n&&(e===n||ve(n,e))}function $u(e){const t=e?ut(e):"";return e!=null&&e.matches(D0)&&(t!=="summary"||e.parentElement!=null&&ut(e.parentElement)==="details"&&ai(e.parentElement)===e)&&(t!=="details"||ai(e)==null)&&(t!=="input"||e.type!=="hidden")}function Hu(e){if(!$u(e)||!e.isConnected||e.matches(":disabled"))return!1;for(let t=e;t;t=_0(t)){const n=t!==e,o=ut(t)==="slot";if(t.hasAttribute("inert")||n&&ut(t)==="details"&&!t.open&&!L0(e,t)||t.hasAttribute("hidden")||!o&&!F0(t,n))return!1}return!0}function F0(e,t){const n=xt(e);return t?n.display!=="none":is(e,n)}function ju(e){const t=e.tabIndex;if(t<0){const n=ut(e);if(n==="details"||n==="audio"||n==="video"||Fe(e)&&e.isContentEditable)return 0}return t}function Ds(e){if(ut(e)!=="input")return null;const t=e;return t.type==="radio"&&t.name!==""?t:null}function z0(e,t){const n=Ds(e);if(!n)return!0;const o=t.find(r=>{const s=Ds(r);return(s==null?void 0:s.name)===n.name&&s.form===n.form&&s.checked});return o?o===n:t.find(r=>{const s=Ds(r);return(s==null?void 0:s.name)===n.name&&s.form===n.form})===n}function Bu(e){if(Fe(e)&&ut(e)==="slot"){const t=e.assignedElements({flatten:!0});if(t.length>0)return t}return Fe(e)&&e.shadowRoot?Array.from(e.shadowRoot.children):Array.from(e.children)}function Wu(e,t){Bu(e).forEach(n=>{$u(n)&&t.push(n),Wu(n,t)})}function Uu(e,t,n){Bu(e).forEach(o=>{Fe(o)&&o.matches(t)&&n.push(o),Uu(o,t,n)})}function aa(e){return Hu(e)&&ju(e)>=0}function Gu(e){const t=[];return Wu(e,t),t.filter(Hu)}function Wo(e){const t=Gu(e);return t.filter(n=>ju(n)>=0&&z0(n,t))}function qu(e,t){const n=Wo(e),o=n.length;if(o===0)return;const r=dt(Te(e)),s=n.indexOf(r),i=s===-1?t===1?0:o-1:s+t;return n[i]}function ca(e){return qu(Te(e).body,1)||e}function Yu(e){return qu(Te(e).body,-1)||e}function Xu(e,t){if(!e)return null;const n=Wo(Te(e).body),o=n.length;if(o===0)return null;const r=n.indexOf(e);if(r===-1)return null;const s=(r+t+o)%o;return n[s]}function V0(e){return Xu(e,1)}function $0(e){return Xu(e,-1)}function eo(e,t){const n=t||e.currentTarget,o=e.relatedTarget;return!o||!ve(n,o)}function H0(e){Wo(e).forEach(n=>{n.dataset.tabindex=n.getAttribute("tabindex")||"",n.setAttribute("tabindex","-1")})}function Tc(e){const t=[];Uu(e,"[data-tabindex]",t),t.forEach(n=>{const o=n.dataset.tabindex;delete n.dataset.tabindex,o?n.setAttribute("tabindex",o):n.removeAttribute("tabindex")})}function wn(e,t,n=!0){return e.filter(r=>r.parentId===t).flatMap(r=>{var s;return[...!n||(s=r.context)!=null&&s.open?[r]:[],...wn(e,r.id,n)]})}function Ic(e,t){var r;let n=[],o=(r=e.find(s=>s.id===t))==null?void 0:r.parentId;for(;o;){const s=e.find(i=>i.id===o);o=s==null?void 0:s.parentId,s&&(n=n.concat(s))}return n}function zo(e){return`data-base-ui-${e}`}let rr=0;function Er(e,t={}){const{preventScroll:n=!1,sync:o=!1,shouldFocus:r}=t;cancelAnimationFrame(rr);function s(){r&&!r()||e==null||e.focus({preventScroll:n})}if(o)return s(),Ke;const i=requestAnimationFrame(s);return rr=i,()=>{rr===i&&(cancelAnimationFrame(i),rr=0)}}const _s={inert:new WeakMap,"aria-hidden":new WeakMap},Oc="data-base-ui-inert",ci={inert:new WeakSet,"aria-hidden":new WeakSet};let Co=new WeakMap,Ls=0;function j0(e){return ci[e]}function Ku(e){return e?so(e)?e.host:Ku(e.parentNode):null}const Ac=(e,t)=>t.map(n=>{if(e.contains(n))return n;const o=Ku(n);return e.contains(o)?o:null}).filter(n=>n!=null),Nc=e=>{const t=new Set;return e.forEach(n=>{let o=n;for(;o&&!t.has(o);)t.add(o),o=o.parentNode}),t},Dc=(e,t,n)=>{const o=[],r=s=>{!s||n.has(s)||Array.from(s.children).forEach(i=>{ut(i)!=="script"&&(t.has(i)?r(i):o.push(i))})};return r(e),o};function B0(e,t,n,o,{mark:r=!0}){let s=null;o?s="inert":n&&(s="aria-hidden");let i=null,a=null;const l=Ac(t,e),u=r?Dc(t,Nc(l),new Set(l)):[],d=[],p=[];if(s){const f=_s[s],y=j0(s);a=y,i=f;const m=Ac(t,Array.from(t.querySelectorAll("[aria-live]"))),g=l.concat(m);Dc(t,Nc(g),new Set(g)).forEach(b=>{const v=b.getAttribute(s),w=v!==null&&v!=="false",x=(f.get(b)||0)+1;f.set(b,x),d.push(b),x===1&&w&&y.add(b),w||b.setAttribute(s,s==="inert"?"":"true")})}return r&&u.forEach(f=>{const y=(Co.get(f)||0)+1;Co.set(f,y),p.push(f),y===1&&f.setAttribute(Oc,"")}),Ls+=1,()=>{i&&d.forEach(f=>{const m=(i.get(f)||0)-1;i.set(f,m),m||(!(a!=null&&a.has(f))&&s&&f.removeAttribute(s),a==null||a.delete(f))}),r&&p.forEach(f=>{const y=(Co.get(f)||0)-1;Co.set(f,y),y||f.removeAttribute(Oc)}),Ls-=1,Ls||(_s.inert=new WeakMap,_s["aria-hidden"]=new WeakMap,ci.inert=new WeakSet,ci["aria-hidden"]=new WeakSet,Co=new WeakMap)}}function _c(e,t={}){const{ariaHidden:n=!1,inert:o=!1,mark:r=!0}=t,s=Te(e[0]).body;return B0(e,s,n,o,{mark:r})}const W0=500,U0=500,G0={style:{transition:"none"}},Zu="data-base-ui-click-trigger",Qu={fallbackAxisSide:"none"},Ju={fallbackAxisSide:"end"},q0={clipPath:"inset(50%)",position:"fixed",top:0,left:0},ed=c.createContext(null),td=()=>c.useContext(ed),Y0=zo("portal");function nd(e={}){const{ref:t,container:n,componentProps:o=We,elementProps:r}=e,s=bn(),i=td(),a=i==null?void 0:i.portalNode,[l,u]=c.useState(null),[d,p]=c.useState(null),f=le(h=>{h!==null&&p(h)}),y=c.useRef(null);oe(()=>{if(n===null){y.current&&(y.current=null,p(null),u(null));return}const h=(n&&(Ni(n)?n:n.current))??a??document.body;if(h==null){y.current&&(y.current=null,p(null),u(null));return}y.current!==h&&(y.current=h,p(null),u(h))},[n,a]);const m=Se("div",o,{ref:[t,f],props:[{id:s,[Y0]:""},r]}),g=l&&m?At.createPortal(m,l):null;return{node:d,nodeId:c.isValidElement(m)?m.props.id:void 0,subtree:g}}const la=c.forwardRef(function(t,n){const{render:o,className:r,style:s,children:i,container:a,...l}=t,{node:u,nodeId:d,subtree:p}=nd({container:a,ref:n,componentProps:t,elementProps:l}),f=c.useRef(null),y=c.useRef(null),m=c.useRef(null),g=c.useRef(null),[h,b]=c.useState(null),v=c.useRef(!1),w=h==null?void 0:h.modal,x=h==null?void 0:h.open,S=!!h&&!h.modal&&h.open&&!!u;c.useEffect(()=>{if(!u||w)return;function E(k){u&&k.relatedTarget&&eo(k)&&(k.type==="focusin"?v.current&&(Tc(u),v.current=!1):(H0(u),v.current=!0))}return Ut(Me(u,"focusin",E,!0),Me(u,"focusout",E,!0))},[u,w]),oe(()=>{!u||x!==!0||!v.current||(Tc(u),v.current=!1)},[x,u]);const R=c.useMemo(()=>({beforeOutsideRef:f,afterOutsideRef:y,beforeInsideRef:m,afterInsideRef:g,portalNode:u,setFocusManagerState:b}),[u]);return K.jsxs(c.Fragment,{children:[p,K.jsxs(ed.Provider,{value:R,children:[S&&u&&K.jsx(ao,{"data-type":"outside",ref:f,onFocus:E=>{var k;if(eo(E,u))(k=m.current)==null||k.focus();else{const M=h?h.domReference:null,C=Yu(M);C==null||C.focus()}}}),S&&u&&K.jsx("span",{"aria-owns":d,style:q0}),u&&At.createPortal(i,u),S&&u&&K.jsx(ao,{"data-type":"outside",ref:y,onFocus:E=>{var k;if(eo(E,u))(k=g.current)==null||k.focus();else{const M=h?h.domReference:null,C=ca(M);C==null||C.focus(),h!=null&&h.closeOnFocusOut&&(h==null||h.onOpenChange(!1,ke(Dn,E.nativeEvent)))}}})]})]})});function od(){const e=new Map;return{emit(t,n){var o;(o=e.get(t))==null||o.forEach(r=>r(n))},on(t,n){e.has(t)||e.set(t,new Set),e.get(t).add(n)},off(t,n){var o;(o=e.get(t))==null||o.delete(n)}}}class ua{constructor(){Ne(this,"nodesRef",{current:[]});Ne(this,"events",od())}addNode(t){this.nodesRef.current.push(t)}removeNode(t){const n=this.nodesRef.current.findIndex(o=>o===t);n!==-1&&this.nodesRef.current.splice(n,1)}}const rd=c.createContext(null),sd=c.createContext(null),En=()=>{var e;return((e=c.useContext(rd))==null?void 0:e.id)||null},Cn=e=>{const t=c.useContext(sd);return e??t};function id(e){const t=bn(),n=Cn(e),o=En();return oe(()=>{if(!t)return;const r={id:t,parentId:o};return n==null||n.addNode(r),()=>{n==null||n.removeNode(r)}},[n,t,o]),t}function X0(e){const{children:t,id:n}=e,o=En();return K.jsx(rd.Provider,{value:c.useMemo(()=>({id:n,parentId:o}),[n,o]),children:t})}function K0(e){const{children:t,externalTree:n}=e,o=at(()=>n??new ua).current;return K.jsx(sd.Provider,{value:o,children:t})}function Z0(e,t){const n=He(et(e));return e instanceof n.KeyboardEvent?"keyboard":e instanceof n.FocusEvent?t||"keyboard":"pointerType"in e?e.pointerType||"keyboard":"touches"in e?"touch":e instanceof n.MouseEvent?t||(e.detail===0?"keyboard":"mouse"):""}const Lc=20;let pn=[];function da(){pn=pn.filter(e=>{var t;return(t=e.deref())==null?void 0:t.isConnected})}function Fc(e){da(),e&&ut(e)!=="body"&&(pn.push(new WeakRef(e)),pn.length>Lc&&(pn=pn.slice(-Lc)))}function zc(){var e;return da(),(e=pn[pn.length-1])==null?void 0:e.deref()}function Q0(e){return e?aa(e)?e:Wo(e)[0]||e:null}function Vc(e){var r;if(e.hasAttribute("tabindex")&&!e.hasAttribute("data-tabindex")||!((r=e.getAttribute("role"))!=null&&r.includes("dialog")))return;const n=Gu(e).filter(s=>{const i=s.getAttribute("data-tabindex")||"";return aa(s)||s.hasAttribute("data-tabindex")&&!i.startsWith("-")}),o=e.getAttribute("tabindex");n.length===0?o!=="0"&&(e.setAttribute("tabindex","0"),e.setAttribute("data-tabindex","0")):(o!=="-1"||e.hasAttribute("data-tabindex")&&e.getAttribute("data-tabindex")!=="-1")&&(e.setAttribute("tabindex","-1"),e.setAttribute("data-tabindex","-1"))}function fa(e){const{context:t,children:n,disabled:o=!1,initialFocus:r=!0,returnFocus:s=!0,restoreFocus:i=!1,modal:a=!0,closeOnFocusOut:l=!0,openInteractionType:u="",nextFocusableElement:d,previousFocusableElement:p,beforeContentFocusGuardRef:f,externalTree:y,getInsideElements:m}=e,g="rootStore"in t?t.rootStore:t,h=g.useState("open"),b=g.useState("domReferenceElement"),v=g.useState("floatingElement"),{events:w,dataRef:x}=g.context,S=le(()=>{var te;return(te=x.current.floatingContext)==null?void 0:te.nodeId}),R=r===!1,E=ri(b)&&R,k=Ze(r),M=Ze(s),C=Ze(u),O=Ze(h),I=Cn(y),N=td(),D=c.useRef(!1),P=c.useRef(!1),z=c.useRef(!1),_=c.useRef(null),A=c.useRef(""),F=c.useRef(""),T=c.useRef(null),L=c.useRef(null),j=Nt(T,f,N==null?void 0:N.beforeInsideRef),$=Nt(L,N==null?void 0:N.afterInsideRef),U=Ge(),q=Ge(),V=io(),Q=N!=null,H=zr(v),G=le((te=H)=>te?Wo(te):[]),ue=le(()=>(m==null?void 0:m().filter(te=>te!=null))??[]);c.useEffect(()=>{if(o||!a)return;function te(ee){ee.key==="Tab"&&ve(H,dt(Te(H)))&&G().length===0&&!E&&It(ee)}const J=Te(H);return Me(J,"keydown",te)},[o,H,a,E,G]),c.useEffect(()=>{if(o||!h)return;const te=Te(H);function J(){z.current=!1}function ee(xe){const ae=et(xe),he=ue(),re=ve(v,ae)||ve(b,ae)||ve(N==null?void 0:N.portalNode,ae)||he.some(ge=>ge===ae||ve(ge,ae));z.current=!re,F.current=xe.pointerType||"keyboard",ae!=null&&ae.closest(`[${Zu}]`)&&(P.current=!0,q.start(0,()=>{P.current=!1}))}function ie(){F.current="keyboard"}return Ut(Me(te,"pointerdown",ee,!0),Me(te,"pointerup",J,!0),Me(te,"pointercancel",J,!0),Me(te,"keydown",ie,!0),J)},[o,v,b,H,h,N,q,ue]),c.useEffect(()=>{if(o||!l)return;const te=Te(H);function J(){P.current=!0,q.start(0,()=>{P.current=!1})}function ee(he){const re=et(he);aa(re)&&(_.current=re)}function ie(he){const re=he.relatedTarget,ge=he.currentTarget,de=et(he);a&&re==null&&de!=null&&ve(v,de)&&Fc(de),queueMicrotask(()=>{const ce=S(),fe=g.context.triggerElements,W=ue(),Y=(re==null?void 0:re.hasAttribute(zo("focus-guard")))&&[T.current,L.current,N==null?void 0:N.beforeInsideRef.current,N==null?void 0:N.afterInsideRef.current,N==null?void 0:N.beforeOutsideRef.current,N==null?void 0:N.afterOutsideRef.current,Zt(p),Zt(d)].includes(re),se=!(ve(b,re)||ve(v,re)||ve(re,v)||ve(N==null?void 0:N.portalNode,re)||W.some(Z=>Z===re||ve(Z,re))||fe.hasMatchingElement(Z=>ve(Z,re))||Y||I&&(wn(I.nodesRef.current,ce).find(Z=>{var X,pe;return ve((X=Z.context)==null?void 0:X.elements.floating,re)||ve((pe=Z.context)==null?void 0:pe.elements.domReference,re)})||Ic(I.nodesRef.current,ce).find(Z=>{var X,pe,be;return[(X=Z.context)==null?void 0:X.elements.floating,zr((pe=Z.context)==null?void 0:pe.elements.floating)].includes(re)||((be=Z.context)==null?void 0:be.elements.domReference)===re})));if(ge===b&&H&&Vc(H),i&&ge!==b&&!is(de)&&dt(te)===te.body){if(Fe(H)&&(H.focus(),i==="popup")){V.request(()=>{H.focus()});return}const Z=G(),X=_.current,pe=(X&&Z.includes(X)?X:null)||Z[Z.length-1]||H;Fe(pe)&&pe.focus()}if(x.current.insideReactTree){x.current.insideReactTree=!1;return}(E||!a)&&re&&se&&!P.current&&(E||re!==zc())&&(D.current=!0,g.setOpen(!1,ke(Dn,he)))})}function xe(){z.current||(x.current.insideReactTree=!0,U.start(0,()=>{x.current.insideReactTree=!1}))}const ae=Fe(b)?b:null;if(!(!v&&!ae))return Ut(ae&&Me(ae,"focusout",ie),ae&&Me(ae,"pointerdown",J),v&&Me(v,"focusin",ee),v&&Me(v,"focusout",ie),v&&N&&Me(v,"focusout",xe,!0))},[o,b,v,H,a,I,N,g,l,i,G,E,S,x,U,q,V,d,p,ue]),c.useEffect(()=>{var ge,de,ce;if(o||!v||!h)return;const te=Array.from(((ge=N==null?void 0:N.portalNode)==null?void 0:ge.querySelectorAll(`[${zo("portal")}]`))||[]),ee=(ce=(de=(I?Ic(I.nodesRef.current,S()):[]).find(fe=>{var W;return ri(((W=fe.context)==null?void 0:W.elements.domReference)||null)}))==null?void 0:de.context)==null?void 0:ce.elements.domReference,xe=[...[v,...te,T.current,L.current,N==null?void 0:N.beforeOutsideRef.current,N==null?void 0:N.afterOutsideRef.current,...ue()],ee,Zt(p),Zt(d),E?b:null].filter(fe=>fe!=null),ae=_c(xe,{ariaHidden:a||E,mark:!1}),he=[v,...te].filter(fe=>fe!=null),re=_c(he);return()=>{re(),ae()}},[h,o,b,v,a,N,E,I,S,d,p,ue]),oe(()=>{if(!h||o||!Fe(H))return;A.current="",F.current="";const te=Te(H),J=dt(te);queueMicrotask(()=>{const ee=k.current,ie=typeof ee=="function"?ee(C.current||""):ee;if(ie===void 0||ie===!1||ve(H,J))return;let ae=null;const he=()=>(ae==null&&(ae=G(H)),ae[0]||H);let re;ie===!0||ie===null?re=he():re=Zt(ie),re=re||he();const ge=ve(H,dt(te));Er(re,{preventScroll:re===H,shouldFocus(){if(!O.current)return!1;if(ge)return!0;const de=dt(te);return!(de!==re&&ve(H,de))}})})},[o,h,H,G,k,C,O]),oe(()=>{if(o||!H)return;const te=Te(H),J=dt(te),ee=C.current==null;Fc(J);function ie(ae){if(ae.open||(A.current=Z0(ae.nativeEvent,F.current)),ae.reason===rt&&ae.nativeEvent.type==="mouseleave"&&(D.current=!0),ae.reason===Qr)if(ae.nested)D.current=!1;else if(ea(ae.nativeEvent)||ta(ae.nativeEvent))D.current=!1;else{let he=!1;Te(H).createElement("div").focus({get preventScroll(){return he=!0,!1}}),he?D.current=!1:D.current=!0}}w.on("openchange",ie);function xe(ae){const he=M.current;let re=typeof he=="function"?he(ae):he;if(re===void 0||re===!1)return null;re===null&&(re=!0);const ge=b!=null&&b.isConnected?b:null,de=J!=null&&J.isConnected&&ut(J)!=="body"?J:null;let ce=ee?de||ge:ge||de;return ce||(ce=zc()||null),typeof re=="boolean"?ce:Zt(re)||ce||null}return()=>{w.off("openchange",ie);const ae=dt(te),he=ue(),re=ve(v,ae)||he.some(fe=>fe===ae||ve(fe,ae))||I&&wn(I.nodesRef.current,S(),!1).some(fe=>{var W;return ve((W=fe.context)==null?void 0:W.elements.floating,ae)}),ge=M.current,de=A.current,ce=xe(de);queueMicrotask(()=>{const fe=Q0(ce),W=typeof ge!="boolean";if(ge&&!D.current&&Fe(fe)&&(!(!W&&fe!==ae&&ae!==te.body)||re)){const Y={preventScroll:!0};de==="keyboard"&&(Y.focusVisible=!0),fe.focus(Y)}D.current=!1})}},[o,v,H,M,C,w,I,b,S,ue]),oe(()=>{if(!qt||h||!v)return;const te=dt(Te(v));!Fe(te)||!ss(te)||ve(v,te)&&te.blur()},[h,v]),oe(()=>{if(!(o||!N))return N.setFocusManagerState({modal:a,closeOnFocusOut:l,open:h,onOpenChange:g.setOpen,domReference:b}),()=>{N.setFocusManagerState(null)}},[o,N,a,h,g,l,b]),oe(()=>{if(!(o||!H))return Vc(H),()=>{queueMicrotask(da)}},[o,H]);const ne=!o&&(a?!E:!0)&&(Q||a);return K.jsxs(c.Fragment,{children:[ne&&K.jsx(ao,{"data-type":"inside",ref:j,onFocus:te=>{var J;if(a){const ee=G();Er(ee[ee.length-1])}else if(N!=null&&N.portalNode)if(D.current=!1,eo(te,N.portalNode)){const ee=ca(b);ee==null||ee.focus()}else(J=Zt(p??N.beforeOutsideRef))==null||J.focus()}}),n,ne&&K.jsx(ao,{"data-type":"inside",ref:$,onFocus:te=>{var J;if(a)Er(G()[0]);else if(N!=null&&N.portalNode)if(l&&(D.current=!0),eo(te,N.portalNode)){const ee=Yu(b);ee==null||ee.focus()}else(J=Zt(d??N.afterOutsideRef))==null||J.focus()}})]})}function pa(e,t={}){const{enabled:n=!0,event:o="click",toggle:r=!0,ignoreMouse:s=!1,stickIfOpen:i=!0,touchOpenDelay:a=0,reason:l=Rn}=t,u="rootStore"in e?e.rootStore:e,d=u.context.dataRef,p=c.useRef(void 0),f=io(),y=Ge(),m=c.useMemo(()=>{function g(b,v,w,x){const S=ke(l,v,w);b&&x==="touch"&&a>0?y.start(a,()=>{u.setOpen(!0,S)}):u.setOpen(b,S)}function h(b,v,w){const x=d.current.openEvent,S=u.select("domReferenceElement")!==v;return b&&S||!b||!r?!0:x&&i?!w(x.type):!1}return{onPointerDown(b){p.current=mn(b.pointerType,!0)&&ta(b.nativeEvent)?"virtual":b.pointerType},onMouseDown(b){const v=p.current,w=b.nativeEvent,x=u.select("open");if(b.button!==0||o==="click"||mn(v,!0)&&s)return;const S=h(x,b.currentTarget,k=>k==="click"||k==="mousedown"),R=et(w);if(ss(R)){g(S,w,R,v);return}const E=b.currentTarget;f.request(()=>{g(S,w,E,v)})},onClick(b){if(o==="mousedown-only")return;const v=p.current;if(o==="mousedown"&&v){p.current=void 0;return}if(mn(v,!0)&&s)return;const w=u.select("open"),x=h(w,b.currentTarget,S=>S==="click"||S==="mousedown"||S==="keydown"||S==="keyup");g(x,b.nativeEvent,b.currentTarget,v)},onKeyDown(){p.current=void 0}}},[d,o,s,l,u,i,r,f,y,a]);return c.useMemo(()=>n?{reference:m}:We,[n,m])}function J0(e,t){let n=null,o=null,r=!1;return{contextElement:e||void 0,getBoundingClientRect(){var y;const s=(e==null?void 0:e.getBoundingClientRect())||{width:0,height:0,x:0,y:0},i=t.axis==="x"||t.axis==="both",a=t.axis==="y"||t.axis==="both",l=["mouseenter","mousemove"].includes(((y=t.dataRef.current.openEvent)==null?void 0:y.type)||"")&&t.pointerType!=="touch";let u=s.width,d=s.height,p=s.x,f=s.y;return n==null&&t.x&&i&&(n=s.x-t.x),o==null&&t.y&&a&&(o=s.y-t.y),p-=n||0,f-=o||0,u=0,d=0,!r||l?(u=t.axis==="y"?s.width:0,d=t.axis==="x"?s.height:0,p=i&&t.x!=null?t.x:p,f=a&&t.y!=null?t.y:f):r&&!l&&(d=t.axis==="x"?s.height:d,u=t.axis==="y"?s.width:u),r=!0,{width:u,height:d,x:p,y:f,top:f,right:p+u,bottom:f+d,left:p}}}}function $c(e){return e!=null&&e.clientX!=null}function e1(e,t={}){const{enabled:n=!0,axis:o="both"}=t,r="rootStore"in e?e.rootStore:e,s=r.useState("open"),i=r.useState("floatingElement"),a=r.useState("domReferenceElement"),l=r.context.dataRef,u=c.useRef(!1),d=c.useRef(null),[p,f]=c.useState(),[y,m]=c.useState([]),g=le(x=>{r.set("positionReference",x)}),h=le((x,S,R)=>{u.current||l.current.openEvent&&!$c(l.current.openEvent)||r.set("positionReference",J0(R??a,{x,y:S,axis:o,dataRef:l,pointerType:p}))}),b=le(x=>{s?d.current||(h(x.clientX,x.clientY,x.currentTarget),m([])):h(x.clientX,x.clientY,x.currentTarget)}),v=mn(p)?i:s;c.useEffect(()=>{if(!n){g(a);return}if(!v)return;function x(){var E;(E=d.current)==null||E.call(d),d.current=null}const S=He(i);function R(E){const k=et(E);ve(i,k)?x():h(E.clientX,E.clientY)}return!l.current.openEvent||$c(l.current.openEvent)?d.current=Me(S,"mousemove",R):g(a),x},[v,n,i,l,a,r,h,g,y]),c.useEffect(()=>()=>{r.set("positionReference",null)},[r]),c.useEffect(()=>{n&&!i&&(u.current=!1)},[n,i]),c.useEffect(()=>{!n&&s&&(u.current=!0)},[n,s]);const w=c.useMemo(()=>{function x(S){f(S.pointerType)}return{onPointerDown:x,onPointerEnter:x,onMouseMove:b,onMouseEnter:b}},[b]);return c.useMemo(()=>n?{reference:w,trigger:w}:{},[n,w])}function t1(){return!1}function n1(e){return{escapeKey:typeof e=="boolean"?e:(e==null?void 0:e.escapeKey)??!1,outsidePress:typeof e=="boolean"?e:(e==null?void 0:e.outsidePress)??!0}}function as(e,t={}){const{enabled:n=!0,escapeKey:o=!0,outsidePress:r=!0,outsidePressEvent:s="sloppy",referencePress:i=t1,bubbles:a,externalTree:l}=t,u="rootStore"in e?e.rootStore:e,d=u.useState("open"),p=u.useState("floatingElement"),{dataRef:f}=u.context,y=Cn(l),m=le(typeof r=="function"?r:()=>!1),g=typeof r=="function"?m:r,h=g!==!1,b=le(()=>s),{escapeKey:v,outsidePress:w}=n1(a),x=c.useRef(!1),S=c.useRef(!1),R=c.useRef(!1),E=c.useRef(!1),k=c.useRef(""),M=c.useRef(null),C=Ge(),O=Ge(),I=le(()=>{O.clear(),f.current.insideReactTree=!1}),N=le(j=>{var q;const $=(q=f.current.floatingContext)==null?void 0:q.nodeId;return(y?wn(y.nodesRef.current,$):[]).some(V=>{var Q;return((Q=V.context)==null?void 0:Q.open)&&!V.context.dataRef.current[j]})}),D=le(j=>Ns(j,u.select("floatingElement"))||Ns(j,u.select("domReferenceElement"))),P=le(j=>{i()&&u.setOpen(!1,ke(Rn,j.nativeEvent))}),z=le(j=>{if(!d||!n||!o||j.key!=="Escape"||E.current||!v&&N("__escapeKeyBubbles"))return;const $=h0(j)?j.nativeEvent:j,U=ke(Jr,$);u.setOpen(!1,U),U.isCanceled||j.preventDefault(),!v&&!U.isPropagationAllowed&&j.stopPropagation()}),_=le(()=>{f.current.insideReactTree=!0,O.start(0,I)}),A=le(j=>{if(!d||!n||j.button!==0)return;const $=et(j.nativeEvent);ve(u.select("floatingElement"),$)&&(x.current||(x.current=!0,S.current=!1))}),F=le(j=>{!d||!n||(j.defaultPrevented||j.nativeEvent.defaultPrevented)&&x.current&&(S.current=!0)});c.useEffect(()=>{if(!d||!n)return I;f.current.__escapeKeyBubbles=v,f.current.__outsidePressBubbles=w;const j=new Lt,$=new Lt;function U(){j.clear(),E.current=!0}function q(){j.start(qt?5:0,()=>{E.current=!1})}function V(){R.current=!0,$.start(0,()=>{R.current=!1})}function Q(){x.current=!1,S.current=!1}function H(){const W=k.current,Y=W==="pen"||!W?"mouse":W,se=b(),Z=typeof se=="function"?se():se;return typeof Z=="string"?Z:Z[Y]}function G(W){const Y=H();return Y==="intentional"&&W.type!=="click"||Y==="sloppy"&&W.type==="click"}function ue(W){var Z;const Y=(Z=f.current.floatingContext)==null?void 0:Z.nodeId,se=y&&wn(y.nodesRef.current,Y).some(X=>{var pe;return Ns(W,(pe=X.context)==null?void 0:pe.elements.floating)});return D(W)||se}function ne(W){if(G(W)){W.type!=="click"&&!D(W)&&($.clear(),R.current=!1),I();return}if(f.current.insideReactTree){I();return}const Y=et(W),se=`[${zo("inert")}]`,Z=Oe(Y)?Y.getRootNode():null,X=Array.from((so(Z)?Z:Te(u.select("floatingElement"))).querySelectorAll(se)),pe=u.context.triggerElements;if(Y&&(pe.hasElement(Y)||pe.hasMatchingElement(_e=>ve(_e,Y))))return;let be=Oe(Y)?Y:null;for(;be&&!en(be);){const _e=on(be);if(en(_e)||!Oe(_e))break;be=_e}if(!(X.length&&Oe(Y)&&!m0(Y)&&!ve(Y,u.select("floatingElement"))&&X.every(_e=>!ve(be,_e)))){if(Fe(Y)&&!("touches"in W)){const _e=en(Y),Ue=xt(Y),Ye=/auto|scroll/,st=_e||Ye.test(Ue.overflowX),Le=_e||Ye.test(Ue.overflowY),Je=st&&Y.clientWidth>0&&Y.scrollWidth>Y.clientWidth,ct=Le&&Y.clientHeight>0&&Y.scrollHeight>Y.clientHeight,Re=Ue.direction==="rtl",je=ct&&(Re?W.offsetX<=Y.offsetWidth-Y.clientWidth:W.offsetX>Y.clientWidth),qe=Je&&W.offsetY>Y.clientHeight;if(je||qe)return}if(!ue(W)){if(H()==="intentional"&&R.current){$.clear(),R.current=!1;return}typeof g=="function"&&!g(W)||N("__outsidePressBubbles")||(u.setOpen(!1,ke(Qr,W)),I())}}}function te(W){H()!=="sloppy"||W.pointerType==="touch"||!u.select("open")||!n||D(W)||ne(W)}function J(W){if(H()!=="sloppy"||!u.select("open")||!n||D(W))return;const Y=W.touches[0];Y&&(M.current={startTime:Date.now(),startX:Y.clientX,startY:Y.clientY,dismissOnTouchEnd:!1,dismissOnMouseDown:!0},C.start(1e3,()=>{M.current&&(M.current.dismissOnTouchEnd=!1,M.current.dismissOnMouseDown=!1)}))}function ee(W,Y){const se=et(W);if(!se)return;const Z=Me(se,W.type,()=>{Y(W),Z()})}function ie(W){k.current="touch",ee(W,J)}function xe(W){C.clear(),W.type==="pointerdown"&&(k.current=W.pointerType),!(W.type==="mousedown"&&M.current&&!M.current.dismissOnMouseDown)&&ee(W,Y=>{Y.type==="pointerdown"?te(Y):ne(Y)})}function ae(W){if(!x.current)return;const Y=S.current;if(Q(),H()==="intentional"){if(W.type==="pointercancel"){Y&&V();return}if(!ue(W)){if(Y){V();return}typeof g=="function"&&!g(W)||($.clear(),R.current=!0,I())}}}function he(W){if(H()!=="sloppy"||!M.current||D(W))return;const Y=W.touches[0];if(!Y)return;const se=Math.abs(Y.clientX-M.current.startX),Z=Math.abs(Y.clientY-M.current.startY),X=Math.sqrt(se*se+Z*Z);X>5&&(M.current.dismissOnTouchEnd=!0),X>10&&(ne(W),C.clear(),M.current=null)}function re(W){ee(W,he)}function ge(W){H()!=="sloppy"||!M.current||D(W)||(M.current.dismissOnTouchEnd&&ne(W),C.clear(),M.current=null)}function de(W){ee(W,ge)}const ce=Te(p),fe=Ut(o&&Ut(Me(ce,"keydown",z),Me(ce,"compositionstart",U),Me(ce,"compositionend",q)),h&&Ut(Me(ce,"click",xe,!0),Me(ce,"pointerdown",xe,!0),Me(ce,"pointerup",ae,!0),Me(ce,"pointercancel",ae,!0),Me(ce,"mousedown",xe,!0),Me(ce,"mouseup",ae,!0),Me(ce,"touchstart",ie,!0),Me(ce,"touchmove",re,!0),Me(ce,"touchend",de,!0)));return()=>{fe(),j.clear(),$.clear(),Q(),R.current=!1,I()}},[f,p,o,h,g,d,n,v,w,z,I,b,N,D,y,u,C]);const T=c.useMemo(()=>({onKeyDown:z,onPointerDown:P,onClick:P}),[z,P]),L=c.useMemo(()=>({onKeyDown:z,onPointerDown:F,onMouseDown:F,onClickCapture:_,onMouseDownCapture(j){_(),A(j)},onPointerDownCapture(j){_(),A(j)},onMouseUpCapture:_,onTouchEndCapture:_,onTouchMoveCapture:_}),[z,_,A,F]);return c.useMemo(()=>n?{reference:T,floating:L,trigger:T}:{},[n,T,L])}function Hc(e,t,n){let{reference:o,floating:r}=e;const s=Pt(t),i=ia(t),a=sa(i),l=Mt(t),u=s==="y",d=o.x+o.width/2-r.width/2,p=o.y+o.height/2-r.height/2,f=o[a]/2-r[a]/2;let y;switch(l){case"top":y={x:d,y:o.y-r.height};break;case"bottom":y={x:d,y:o.y+o.height};break;case"right":y={x:o.x+o.width,y:p};break;case"left":y={x:o.x-r.width,y:p};break;default:y={x:o.x,y:o.y}}const m=kn(t);return m&&(y[i]+=f*(m==="end"?1:-1)*(n&&u?-1:1)),y}async function o1(e,t){var n;t===void 0&&(t={});const{x:o,y:r,platform:s,rects:i,elements:a,strategy:l}=e,{boundary:u="clippingAncestors",rootBoundary:d="viewport",elementContext:p="floating",altBoundary:f=!1,padding:y=0}=xn(t,e),m=Vu(y),h=a[f?p==="floating"?"reference":"floating":p],b=Fo(await s.getClippingRect({element:(n=await(s.isElement==null?void 0:s.isElement(h)))==null||n?h:h.contextElement||await(s.getDocumentElement==null?void 0:s.getDocumentElement(a.floating)),boundary:u,rootBoundary:d,strategy:l})),v=p==="floating"?{x:o,y:r,width:i.floating.width,height:i.floating.height}:i.reference,w=await(s.getOffsetParent==null?void 0:s.getOffsetParent(a.floating)),x=await(s.isElement==null?void 0:s.isElement(w))&&await(s.getScale==null?void 0:s.getScale(w))||{x:1,y:1},S=Fo(s.convertOffsetParentRelativeRectToViewportRelativeRect?await s.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:v,offsetParent:w,strategy:l}):v);return{top:(b.top-S.top+m.top)/x.y,bottom:(S.bottom-b.bottom+m.bottom)/x.y,left:(b.left-S.left+m.left)/x.x,right:(S.right-b.right+m.right)/x.x}}const r1=50,s1=async(e,t,n)=>{const{placement:o="bottom",strategy:r="absolute",middleware:s=[],platform:i}=n,a=i.detectOverflow?i:{...i,detectOverflow:o1},l=await(i.isRTL==null?void 0:i.isRTL(t));let u=await i.getElementRects({reference:e,floating:t,strategy:r}),{x:d,y:p}=Hc(u,o,l),f=o,y=0;const m={};for(let g=0;g<s.length;g++){const h=s[g];if(!h)continue;const{name:b,fn:v}=h,{x:w,y:x,data:S,reset:R}=await v({x:d,y:p,initialPlacement:o,placement:f,strategy:r,middlewareData:m,rects:u,platform:a,elements:{reference:e,floating:t}});d=w??d,p=x??p,m[b]={...m[b],...S},R&&y<r1&&(y++,typeof R=="object"&&(R.placement&&(f=R.placement),R.rects&&(u=R.rects===!0?await i.getElementRects({reference:e,floating:t,strategy:r}):R.rects),{x:d,y:p}=Hc(u,f,l)),g=-1)}return{x:d,y:p,placement:f,strategy:r,middlewareData:m}},i1=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,o;const{placement:r,middlewareData:s,rects:i,initialPlacement:a,platform:l,elements:u}=t,{mainAxis:d=!0,crossAxis:p=!0,fallbackPlacements:f,fallbackStrategy:y="bestFit",fallbackAxisSideDirection:m="none",flipAlignment:g=!0,...h}=xn(e,t);if((n=s.arrow)!=null&&n.alignmentOffset)return{};const b=Mt(r),v=Pt(a),w=Mt(a)===a,x=await(l.isRTL==null?void 0:l.isRTL(u.floating)),S=f||(w||!g?[Vr(a)]:P0(a)),R=m!=="none";!f&&R&&S.push(...O0(a,g,m,x));const E=[a,...S],k=await l.detectOverflow(t,h),M=[];let C=((o=s.flip)==null?void 0:o.overflows)||[];if(d&&M.push(k[b]),p){const D=C0(r,i,x);M.push(k[D[0]],k[D[1]])}if(C=[...C,{placement:r,overflows:M}],!M.every(D=>D<=0)){var O,I;const D=(((O=s.flip)==null?void 0:O.index)||0)+1,P=E[D];if(P&&(!(p==="alignment"?v!==Pt(P):!1)||C.every(A=>Pt(A.placement)===v?A.overflows[0]>0:!0)))return{data:{index:D,overflows:C},reset:{placement:P}};let z=(I=C.filter(_=>_.overflows[0]<=0).sort((_,A)=>_.overflows[1]-A.overflows[1])[0])==null?void 0:I.placement;if(!z)switch(y){case"bestFit":{var N;const _=(N=C.filter(A=>{if(R){const F=Pt(A.placement);return F===v||F==="y"}return!0}).map(A=>[A.placement,A.overflows.filter(F=>F>0).reduce((F,T)=>F+T,0)]).sort((A,F)=>A[1]-F[1])[0])==null?void 0:N[0];_&&(z=_);break}case"initialPlacement":z=a;break}if(r!==z)return{reset:{placement:z}}}return{}}}},ad=new Set(["left","top"]);async function a1(e,t){const{placement:n,platform:o,elements:r}=e,s=await(o.isRTL==null?void 0:o.isRTL(r.floating)),i=Mt(n),a=kn(n),l=Pt(n)==="y",u=ad.has(i)?-1:1,d=s&&l?-1:1,p=xn(t,e);let{mainAxis:f,crossAxis:y,alignmentAxis:m}=typeof p=="number"?{mainAxis:p,crossAxis:0,alignmentAxis:null}:{mainAxis:p.mainAxis||0,crossAxis:p.crossAxis||0,alignmentAxis:p.alignmentAxis};return a&&typeof m=="number"&&(y=a==="end"?m*-1:m),l?{x:y*d,y:f*u}:{x:f*u,y:y*d}}const c1=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,o;const{x:r,y:s,placement:i,middlewareData:a}=t,l=await a1(t,e);return i===((n=a.offset)==null?void 0:n.placement)&&(o=a.arrow)!=null&&o.alignmentOffset?{}:{x:r+l.x,y:s+l.y,data:{...l,placement:i}}}}},l1=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:o,placement:r,platform:s}=t,{mainAxis:i=!0,crossAxis:a=!1,limiter:l={fn:v=>{let{x:w,y:x}=v;return{x:w,y:x}}},...u}=xn(e,t),d={x:n,y:o},p=await s.detectOverflow(t,u),f=Pt(r),y=ra(f);let m=d[y],g=d[f];const h=(v,w)=>zu(w+p[v==="y"?"top":"left"],w,w-p[v==="y"?"bottom":"right"]);i&&(m=h(y,m)),a&&(g=h(f,g));const b=l.fn({...t,[y]:m,[f]:g});return{...b,data:{x:b.x-n,y:b.y-o,enabled:{[y]:i,[f]:a}}}}}},u1=function(e){return e===void 0&&(e={}),{options:e,fn(t){var n,o;const{x:r,y:s,placement:i,rects:a,middlewareData:l}=t,{offset:u=0,mainAxis:d=!0,crossAxis:p=!0}=xn(e,t),f={x:r,y:s},y=Pt(i),m=ra(y);let g=f[m],h=f[y];const b=xn(u,t),v=typeof b=="number"?{mainAxis:b,crossAxis:0}:{mainAxis:(n=b.mainAxis)!=null?n:0,crossAxis:(o=b.crossAxis)!=null?o:0};if(d){const S=m==="y"?"height":"width",R=a.reference[m]-a.floating[S]+v.mainAxis,E=a.reference[m]+a.reference[S]-v.mainAxis;g<R?g=R:g>E&&(g=E)}if(p){var w,x;const S=m==="y"?"width":"height",R=ad.has(Mt(i)),E=a.reference[y]-a.floating[S]+(R&&((w=l.offset)==null?void 0:w[y])||0)+(R?0:v.crossAxis),k=a.reference[y]+a.reference[S]+(R?0:((x=l.offset)==null?void 0:x[y])||0)-(R?v.crossAxis:0);h<E?h=E:h>k&&(h=k)}return{[m]:g,[y]:h}}}},d1=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){const{placement:n,rects:o,platform:r,elements:s}=t,{apply:i=()=>{},...a}=xn(e,t),l=await r.detectOverflow(t,a),u=Mt(n),d=kn(n),p=Pt(n)==="y",{width:f,height:y}=o.floating;let m,g;u==="top"||u==="bottom"?(m=u,g=d===(await(r.isRTL==null?void 0:r.isRTL(s.floating))?"start":"end")?"left":"right"):(g=u,m=d==="end"?"top":"bottom");const h=y-l.top-l.bottom,b=f-l.left-l.right,v=co(y-l[m],h),w=co(f-l[g],b),x=t.middlewareData.shift,S=!x;let R=v,E=w;x!=null&&x.enabled.x&&(E=b),x!=null&&x.enabled.y&&(R=h),S&&!d&&(p?E=f-2*tn(l.left,l.right):R=y-2*tn(l.top,l.bottom)),await i({...t,availableWidth:E,availableHeight:R});const k=await r.getDimensions(s.floating);return f!==k.width||y!==k.height?{reset:{rects:!0}}:{}}}};function cd(e){const t=xt(e);let n=parseFloat(t.width)||0,o=parseFloat(t.height)||0;const r=Fe(e),s=r?e.offsetWidth:n,i=r?e.offsetHeight:o,a=lo(n)!==s||lo(o)!==i;return a&&(n=s,o=i),{width:n,height:o,$:a}}function ha(e){return Oe(e)?e:e.contextElement}function to(e){const t=ha(e);if(!Fe(t))return nn(1);const n=t.getBoundingClientRect(),{width:o,height:r,$:s}=cd(t);let i=(s?lo(n.width):n.width)/o,a=(s?lo(n.height):n.height)/r;return(!i||!Number.isFinite(i))&&(i=1),(!a||!Number.isFinite(a))&&(a=1),{x:i,y:a}}const f1=nn(0);function ld(e){const t=He(e);return!_i()||!t.visualViewport?f1:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function p1(e,t,n){return t===void 0&&(t=!1),!!n&&t&&n===He(e)}function _n(e,t,n,o){t===void 0&&(t=!1),n===void 0&&(n=!1);const r=e.getBoundingClientRect(),s=ha(e);let i=nn(1);t&&(o?Oe(o)&&(i=to(o)):i=to(e));const a=p1(s,n,o)?ld(s):nn(0);let l=(r.left+a.x)/i.x,u=(r.top+a.y)/i.y,d=r.width/i.x,p=r.height/i.y;if(s&&o){const f=He(s),y=Oe(o)?He(o):o;let m=f,g=Qs(m);for(;g&&y!==m;){const h=to(g),b=g.getBoundingClientRect(),v=xt(g),w=b.left+(g.clientLeft+parseFloat(v.paddingLeft))*h.x,x=b.top+(g.clientTop+parseFloat(v.paddingTop))*h.y;l*=h.x,u*=h.y,d*=h.x,p*=h.y,l+=w,u+=x,m=He(g),g=Qs(m)}}return Fo({width:d,height:p,x:l,y:u})}function cs(e,t){const n=qr(e).scrollLeft;return t?t.left+n:_n(an(e)).left+n}function ud(e,t){const n=e.getBoundingClientRect(),o=n.left+t.scrollLeft-cs(e,n),r=n.top+t.scrollTop;return{x:o,y:r}}function h1(e){let{elements:t,rect:n,offsetParent:o,strategy:r}=e;const s=r==="fixed",i=an(o),a=t?Gr(t.floating):!1;if(o===i||a&&s)return n;let l={scrollLeft:0,scrollTop:0},u=nn(1);const d=nn(0),p=Fe(o);if((p||!s)&&((ut(o)!=="body"||jo(i))&&(l=qr(o)),p)){const y=_n(o);u=to(o),d.x=y.x+o.clientLeft,d.y=y.y+o.clientTop}const f=i&&!p&&!s?ud(i,l):nn(0);return{width:n.width*u.x,height:n.height*u.y,x:n.x*u.x-l.scrollLeft*u.x+d.x+f.x,y:n.y*u.y-l.scrollTop*u.y+d.y+f.y}}function g1(e){return e.getClientRects?Array.from(e.getClientRects()):[]}function m1(e){const t=qr(e),n=e.ownerDocument.body,o=tn(e.scrollWidth,e.clientWidth,n.scrollWidth,n.clientWidth),r=tn(e.scrollHeight,e.clientHeight,n.scrollHeight,n.clientHeight);let s=-t.scrollLeft+cs(e);const i=-t.scrollTop;return xt(n).direction==="rtl"&&(s+=tn(e.clientWidth,n.clientWidth)-o),{width:o,height:r,x:s,y:i}}const y1=25;function b1(e,t,n){n===void 0&&(n="viewport");const o=n==="layoutViewport",r=He(e),s=an(e),i=r.visualViewport;let a=s.clientWidth,l=s.clientHeight,u=0,d=0;if(i){const f=!_i()||t==="fixed";o?f||(u=-i.offsetLeft,d=-i.offsetTop):(a=i.width,l=i.height,f&&(u=i.offsetLeft,d=i.offsetTop))}if(cs(s)<=0){const f=s.ownerDocument,y=f.body,m=getComputedStyle(y),g=f.compatMode==="CSS1Compat"&&parseFloat(m.marginLeft)+parseFloat(m.marginRight)||0,h=Math.abs(s.clientWidth-y.clientWidth-g),b=getComputedStyle(s).scrollbarGutter==="stable both-edges"?h/2:h;b<=y1&&(a-=b)}return{width:a,height:l,x:u,y:d}}function v1(e,t){const n=_n(e,!0,t==="fixed"),o=n.top+e.clientTop,r=n.left+e.clientLeft,s=to(e),i=e.clientWidth*s.x,a=e.clientHeight*s.y,l=r*s.x,u=o*s.y;return{width:i,height:a,x:l,y:u}}function jc(e,t,n){let o;if(t==="viewport"||t==="layoutViewport")o=b1(e,n,t);else if(t==="document")o=m1(an(e));else if(Oe(t))o=v1(t,n);else{const r=ld(e);o={x:t.x-r.x,y:t.y-r.y,width:t.width,height:t.height}}return Fo(o)}function x1(e,t){const n=t.get(e);if(n)return n;let o=_o(e,[],!1).filter(a=>Oe(a)&&ut(a)!=="body"),r=null;const s=xt(e).position==="fixed";let i=s?on(e):e;for(;Oe(i)&&!en(i);){const a=xt(i),l=Di(i),u=r?r.position:s?"fixed":"";!l&&(u==="fixed"||u==="absolute"&&a.position==="static")?o=o.filter(p=>p!==i):r=a,i=on(i)}return t.set(e,o),o}function w1(e){let{element:t,boundary:n,rootBoundary:o,strategy:r}=e;const i=[...n==="clippingAncestors"?Gr(t)?[]:x1(t,this._c):[].concat(n),o],a=jc(t,i[0],r);let l=a.top,u=a.right,d=a.bottom,p=a.left;for(let f=1;f<i.length;f++){const y=jc(t,i[f],r);l=tn(y.top,l),u=co(y.right,u),d=co(y.bottom,d),p=tn(y.left,p)}return{width:u-p,height:d-l,x:p,y:l}}function S1(e){const{width:t,height:n}=cd(e);return{width:t,height:n}}function R1(e,t,n){const o=Fe(t),r=an(t),s=n==="fixed",i=_n(e,!0,s,t);let a={scrollLeft:0,scrollTop:0};const l=nn(0);if((o||!s)&&((ut(t)!=="body"||jo(r))&&(a=qr(t)),o)){const f=_n(t,!0,s,t);l.x=f.x+t.clientLeft,l.y=f.y+t.clientTop}!o&&r&&(l.x=cs(r));const u=r&&!o&&!s?ud(r,a):nn(0),d=i.left+a.scrollLeft-l.x-u.x,p=i.top+a.scrollTop-l.y-u.y;return{x:d,y:p,width:i.width,height:i.height}}function Fs(e){return xt(e).position==="static"}function Bc(e,t){if(!Fe(e)||xt(e).position==="fixed")return null;if(t)return t(e);let n=e.offsetParent;return an(e)===n&&(n=n.ownerDocument.body),n}function dd(e,t){const n=He(e);if(Gr(e))return n;if(!Fe(e)){let r=on(e);for(;r&&!en(r);){if(Oe(r)&&!Fs(r))return r;r=on(r)}return n}let o=Bc(e,t);for(;o&&Im(o)&&Fs(o);)o=Bc(o,t);return o&&en(o)&&Fs(o)&&!Di(o)?n:o||Nm(e)||n}const k1=async function(e){const t=this.getOffsetParent||dd,n=this.getDimensions,o=await n(e.floating);return{reference:R1(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:o.width,height:o.height}}};function E1(e){return xt(e).direction==="rtl"}const fd={convertOffsetParentRelativeRectToViewportRelativeRect:h1,getDocumentElement:an,getClippingRect:w1,getOffsetParent:dd,getElementRects:k1,getClientRects:g1,getDimensions:S1,getScale:to,isElement:Oe,isRTL:E1};function pd(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function C1(e,t,n){let o=null,r;const s=an(e);function i(){var d;clearTimeout(r),(d=o)==null||d.disconnect(),o=null}function a(d,p){d===void 0&&(d=!1),p===void 0&&(p=1),i();const f=e.getBoundingClientRect(),{left:y,top:m,width:g,height:h}=f;if(d||t(),!g||!h)return;const b=or(m),v=or(s.clientWidth-(y+g)),w=or(s.clientHeight-(m+h)),x=or(y),R={rootMargin:-b+"px "+-v+"px "+-w+"px "+-x+"px",threshold:tn(0,co(1,p))||1};let E=!0;function k(M){const C=M[0].intersectionRatio;if(!pd(f,e.getBoundingClientRect()))return a();if(C!==p){if(!E)return a();C?a(!1,C):r=setTimeout(()=>{a(!1,1e-7)},1e3)}E=!1}try{o=new IntersectionObserver(k,{...R,root:s.ownerDocument})}catch{o=new IntersectionObserver(k,R)}o.observe(e)}const l=He(e),u=()=>a(n);return l.addEventListener("resize",u),a(!0),()=>{l.removeEventListener("resize",u),i()}}function Wc(e,t,n,o){o===void 0&&(o={});const{ancestorScroll:r=!0,ancestorResize:s=!0,elementResize:i=typeof ResizeObserver=="function",layoutShift:a=typeof IntersectionObserver=="function",animationFrame:l=!1}=o,u=ha(e),d=r||s?[...u?_o(u):[],...t?_o(t):[]]:[];d.forEach(b=>{r&&b.addEventListener("scroll",n),s&&b.addEventListener("resize",n)});const p=u&&a?C1(u,n,s):null;let f=-1,y=null;i&&(y=new ResizeObserver(b=>{let[v]=b;v&&v.target===u&&y&&t&&(y.unobserve(t),cancelAnimationFrame(f),f=requestAnimationFrame(()=>{var w;(w=y)==null||w.observe(t)})),n()}),u&&!l&&y.observe(u),t&&y.observe(t));let m,g=l?_n(e):null;l&&h();function h(){const b=_n(e);g&&!pd(g,b)&&n(),g=b,m=requestAnimationFrame(h)}return n(),()=>{var b;d.forEach(v=>{r&&v.removeEventListener("scroll",n),s&&v.removeEventListener("resize",n)}),p==null||p(),(b=y)==null||b.disconnect(),y=null,l&&cancelAnimationFrame(m)}}const P1=c1,M1=l1,T1=i1,I1=d1,O1=u1,A1=(e,t,n)=>{const o=new Map,r=n??{},s={...fd,...r.platform,_c:o};return s1(e,t,{...r,platform:s})};var N1=typeof document<"u",D1=function(){},Cr=N1?c.useLayoutEffect:D1;function Hr(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e=="function"&&e.toString()===t.toString())return!0;let n,o,r;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(n=e.length,n!==t.length)return!1;for(o=n;o--!==0;)if(!Hr(e[o],t[o]))return!1;return!0}if(r=Object.keys(e),n=r.length,n!==Object.keys(t).length)return!1;for(o=n;o--!==0;)if(!{}.hasOwnProperty.call(t,r[o]))return!1;for(o=n;o--!==0;){const s=r[o];if(!(s==="_owner"&&e.$$typeof)&&!Hr(e[s],t[s]))return!1}return!0}return e!==e&&t!==t}function hd(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function Uc(e,t){const n=hd(e);return Math.round(t*n)/n}function zs(e){const t=c.useRef(e);return Cr(()=>{t.current=e}),t}function _1(e){e===void 0&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:o=[],platform:r,elements:{reference:s,floating:i}={},transform:a=!0,whileElementsMounted:l,open:u}=e,[d,p]=c.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[f,y]=c.useState(o);Hr(f,o)||y(o);const[m,g]=c.useState(null),[h,b]=c.useState(null),v=c.useCallback(A=>{A!==R.current&&(R.current=A,g(A))},[]),w=c.useCallback(A=>{A!==E.current&&(E.current=A,b(A))},[]),x=s||m,S=i||h,R=c.useRef(null),E=c.useRef(null),k=c.useRef(d),M=l!=null,C=zs(l),O=zs(r),I=zs(u),N=c.useCallback(()=>{if(!R.current||!E.current)return;const A={placement:t,strategy:n,middleware:f};O.current&&(A.platform=O.current),A1(R.current,E.current,A).then(F=>{const T={...F,isPositioned:I.current!==!1};D.current&&!Hr(k.current,T)&&(k.current=T,At.flushSync(()=>{p(T)}))})},[f,t,n,O,I]);Cr(()=>{u===!1&&k.current.isPositioned&&(k.current.isPositioned=!1,p(A=>({...A,isPositioned:!1})))},[u]);const D=c.useRef(!1);Cr(()=>(D.current=!0,()=>{D.current=!1}),[]),Cr(()=>{if(x&&(R.current=x),S&&(E.current=S),x&&S){if(C.current)return C.current(x,S,N);N()}},[x,S,N,C,M]);const P=c.useMemo(()=>({reference:R,floating:E,setReference:v,setFloating:w}),[v,w]),z=c.useMemo(()=>({reference:x,floating:S}),[x,S]),_=c.useMemo(()=>{const A={position:n,left:0,top:0};if(!z.floating)return A;const F=Uc(z.floating,d.x),T=Uc(z.floating,d.y);return a?{...A,transform:"translate("+F+"px, "+T+"px)",...hd(z.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:F,top:T}},[n,a,z.floating,d.x,d.y]);return c.useMemo(()=>({...d,update:N,refs:P,elements:z,floatingStyles:_}),[d,N,P,z,_])}const L1=(e,t)=>{const n=P1(e);return{name:n.name,fn:n.fn,options:[e,t]}},F1=(e,t)=>{const n=M1(e);return{name:n.name,fn:n.fn,options:[e,t]}},z1=(e,t)=>({fn:O1(e).fn,options:[e,t]}),V1=(e,t)=>{const n=T1(e);return{name:n.name,fn:n.fn,options:[e,t]}},$1=(e,t)=>{const n=I1(e);return{name:n.name,fn:n.fn,options:[e,t]}};var Vs={exports:{}},$s={};/**
|
|
812
|
+
* @license React
|
|
813
|
+
* use-sync-external-store-shim.production.js
|
|
814
|
+
*
|
|
815
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
816
|
+
*
|
|
817
|
+
* This source code is licensed under the MIT license found in the
|
|
818
|
+
* LICENSE file in the root directory of this source tree.
|
|
819
|
+
*/var Gc;function H1(){if(Gc)return $s;Gc=1;var e=tu();function t(p,f){return p===f&&(p!==0||1/p===1/f)||p!==p&&f!==f}var n=typeof Object.is=="function"?Object.is:t,o=e.useState,r=e.useEffect,s=e.useLayoutEffect,i=e.useDebugValue;function a(p,f){var y=f(),m=o({inst:{value:y,getSnapshot:f}}),g=m[0].inst,h=m[1];return s(function(){g.value=y,g.getSnapshot=f,l(g)&&h({inst:g})},[p,y,f]),r(function(){return l(g)&&h({inst:g}),p(function(){l(g)&&h({inst:g})})},[p]),i(y),y}function l(p){var f=p.getSnapshot;p=p.value;try{var y=f();return!n(p,y)}catch{return!0}}function u(p,f){return f()}var d=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?u:a;return $s.useSyncExternalStore=e.useSyncExternalStore!==void 0?e.useSyncExternalStore:d,$s}var qc;function gd(){return qc||(qc=1,Vs.exports=H1()),Vs.exports}var ls=gd(),Hs={exports:{}},js={};/**
|
|
820
|
+
* @license React
|
|
821
|
+
* use-sync-external-store-shim/with-selector.production.js
|
|
822
|
+
*
|
|
823
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
824
|
+
*
|
|
825
|
+
* This source code is licensed under the MIT license found in the
|
|
826
|
+
* LICENSE file in the root directory of this source tree.
|
|
827
|
+
*/var Yc;function j1(){if(Yc)return js;Yc=1;var e=tu(),t=gd();function n(u,d){return u===d&&(u!==0||1/u===1/d)||u!==u&&d!==d}var o=typeof Object.is=="function"?Object.is:n,r=t.useSyncExternalStore,s=e.useRef,i=e.useEffect,a=e.useMemo,l=e.useDebugValue;return js.useSyncExternalStoreWithSelector=function(u,d,p,f,y){var m=s(null);if(m.current===null){var g={hasValue:!1,value:null};m.current=g}else g=m.current;m=a(function(){function b(R){if(!v){if(v=!0,w=R,R=f(R),y!==void 0&&g.hasValue){var E=g.value;if(y(E,R))return x=E}return x=R}if(E=x,o(w,R))return E;var k=f(R);return y!==void 0&&y(E,k)?(w=R,E):(w=R,x=k)}var v=!1,w,x,S=p===void 0?null:p;return[function(){return b(d())},S===null?void 0:function(){return b(S())}]},[d,p,f,y]);var h=r(u,m[0],m[1]);return i(function(){g.hasValue=!0,g.value=h},[h]),l(h),h},js}var Xc;function B1(){return Xc||(Xc=1,Hs.exports=j1()),Hs.exports}var W1=B1();const li=[];let ui;function U1(){return ui}function G1(e){li.push(e)}function ga(e){const t=(n,o)=>{const r=at(q1).current;let s;try{ui=r;for(const i of li)i.before(r);s=e(n,o);for(const i of li)i.after(r);r.didInitialize=!0}finally{ui=void 0}return s};return t.displayName=e.displayName||e.name,t}function md(e){return c.forwardRef(ga(e))}function q1(){return{didInitialize:!1}}const Y1=Vi(19),X1=Y1?Z1:Q1;function Ee(e,t,n,o,r){return X1(e,t,n,o,r)}function K1(e,t,n,o,r){const s=c.useCallback(()=>t(e.getSnapshot(),n,o,r),[e,t,n,o,r]);return ls.useSyncExternalStore(e.subscribe,s,s)}G1({before(e){e.syncIndex=0,e.didInitialize||(e.syncTick=1,e.syncHooks=[],e.didChangeStore=!0,e.getSnapshot=()=>{let t=!1;for(let n=0;n<e.syncHooks.length;n+=1){const o=e.syncHooks[n],r=o.selector(o.store.state,o.a1,o.a2,o.a3);Object.is(o.value,r)||(t=!0,o.value=r)}return t&&(e.syncTick+=1),e.syncTick})},after(e){e.syncHooks.length>0&&(e.didChangeStore&&(e.didChangeStore=!1,e.subscribe=t=>{const n=new Set;for(const r of e.syncHooks)n.add(r.store);const o=[];for(const r of n)o.push(r.subscribe(t));return()=>{for(const r of o)r()}}),ls.useSyncExternalStore(e.subscribe,e.getSnapshot,e.getSnapshot))}});function Z1(e,t,n,o,r){const s=U1();if(!s)return K1(e,t,n,o,r);const i=s.syncIndex;s.syncIndex+=1;let a;return s.didInitialize?(a=s.syncHooks[i],(a.store!==e||a.selector!==t||!Object.is(a.a1,n)||!Object.is(a.a2,o)||!Object.is(a.a3,r))&&(a.store!==e&&(s.didChangeStore=!0),a.store=e,a.selector=t,a.a1=n,a.a2=o,a.a3=r,a.value=t(e.getSnapshot(),n,o,r))):(a={store:e,selector:t,a1:n,a2:o,a3:r,value:t(e.getSnapshot(),n,o,r)},s.syncHooks.push(a)),a.value}function Q1(e,t,n,o,r){return W1.useSyncExternalStoreWithSelector(e.subscribe,e.getSnapshot,e.getSnapshot,s=>t(s,n,o,r))}class J1{constructor(t){Ne(this,"subscribe",t=>(this.listeners.add(t),()=>{this.listeners.delete(t)}));Ne(this,"getSnapshot",()=>this.state);this.state=t,this.listeners=new Set,this.updateTick=0}setState(t){if(this.state===t)return;this.state=t,this.updateTick+=1;const n=this.updateTick;for(const o of this.listeners){if(n!==this.updateTick)return;o(t)}}update(t){for(const n in t)if(!Object.is(this.state[n],t[n])){this.setState({...this.state,...t});return}}set(t,n){Object.is(this.state[t],n)||this.setState({...this.state,[t]:n})}notifyAll(){const t={...this.state};this.setState(t)}use(t,n,o,r){return Ee(this,t,n,o,r)}}class Uo extends J1{constructor(t,n={},o){super(t),this.context=n,this.selectors=o}useSyncedValue(t,n){c.useDebugValue(t);const o=this;oe(()=>{o.state[t]!==n&&o.set(t,n)},[o,t,n])}useSyncedValueWithCleanup(t,n){const o=this;oe(()=>(o.state[t]!==n&&o.set(t,n),()=>{o.set(t,void 0)}),[o,t,n])}useSyncedValues(t){const n=this,o=Object.values(t);oe(()=>{n.update(t)},[n,...o])}useControlledProp(t,n){c.useDebugValue(t);const o=this,r=n!==void 0;oe(()=>{r&&!Object.is(o.state[t],n)&&o.setState({...o.state,[t]:n})},[o,t,n,r])}select(t,n,o,r){const s=this.selectors[t];return s(this.state,n,o,r)}useState(t,n,o,r){return c.useDebugValue(t),Ee(this,this.selectors[t],n,o,r)}useContextCallback(t,n){c.useDebugValue(t);const o=le(n??Ke);this.context[t]=o}useStateSetter(t){const n=c.useRef(void 0);return n.current===void 0&&(n.current=o=>{this.set(t,o)}),n.current}observe(t,n){let o;typeof t=="function"?o=t:o=this.selectors[t];let r=o(this.state);return n(r,r,this),this.subscribe(s=>{const i=o(s);if(!Object.is(r,i)){const a=r;r=i,n(i,a,this)}})}}function eb(){const[,e]=c.useState({});return c.useCallback(()=>{e({})},[])}const tb={open:e=>e.open,transitionStatus:e=>e.transitionStatus,domReferenceElement:e=>e.domReferenceElement,referenceElement:e=>e.positionReference??e.referenceElement,floatingElement:e=>e.floatingElement,floatingId:e=>e.floatingId};class us extends Uo{constructor(n){const{syncOnly:o,nested:r,onOpenChange:s,triggerElements:i,...a}=n;super({...a,positionReference:a.referenceElement,domReferenceElement:a.referenceElement},{onOpenChange:s,dataRef:{current:{}},events:od(),nested:r,triggerElements:i},tb);Ne(this,"syncOpenEvent",(n,o)=>{(!n||!this.state.open||o!=null&&g0(o))&&(this.context.dataRef.current.openEvent=n?o:void 0)});Ne(this,"dispatchOpenChange",(n,o)=>{this.syncOpenEvent(n,o.event);const r={open:n,reason:o.reason,nativeEvent:o.event,nested:this.context.nested,triggerElement:o.trigger};this.context.events.emit("openchange",r)});Ne(this,"setOpen",(n,o)=>{var r,s,i,a;if(this.syncOnly){(s=(r=this.context).onOpenChange)==null||s.call(r,n,o);return}this.dispatchOpenChange(n,o),(a=(i=this.context).onOpenChange)==null||a.call(i,n,o)});this.syncOnly=o}}function yd(e){const{popupStore:t,treatPopupAsFloatingElement:n=!1,floatingRootContext:o,floatingId:r,nested:s,onOpenChange:i}=e,a=t.useState("open"),l=t.useState("activeTriggerElement"),u=t.useState(n?"popupElement":"positionerElement"),d=t.context.triggerElements,p=i,f=c.useRef(null);o===void 0&&f.current===null&&(f.current=new us({open:a,transitionStatus:void 0,referenceElement:l,floatingElement:u,triggerElements:d,onOpenChange:p,floatingId:r,syncOnly:!0,nested:s}));const y=o??f.current;return t.useSyncedValue("floatingId",r),oe(()=>{const m={open:a,floatingId:r,referenceElement:l,floatingElement:u};Oe(l)&&(m.domReferenceElement=l),y.state.positionReference===y.state.referenceElement&&(m.positionReference=l),y.update(m)},[a,r,l,u,y]),y.context.onOpenChange=p,y.context.nested=s,y}const ds={tabIndex:-1,[oi]:""};function nb(e){return t=>t==="touch"?e.current:!0}function bd(e,t=!1){const n=bn(),o=En()!=null,r=at(()=>e(n,o)).current;return yd({popupStore:r,treatPopupAsFloatingElement:t,floatingRootContext:r.state.floatingRootContext,floatingId:n,nested:o,onOpenChange:r.setOpen}),r}function ma({handle:e,store:t}){return oe(()=>e.attachStore(t),[e,t]),null}function ob(e,t){const n=c.useRef(null),o=c.useRef(null);return c.useCallback(r=>{if(e===void 0)return;let s=!1;if(n.current!==null){const i=n.current,a=o.current,l=t.context.triggerElements.getById(i);a&&l===a&&(t.context.triggerElements.delete(i),s=!0),n.current=null,o.current=null}if(r!==null&&(n.current=e,o.current=r,t.context.triggerElements.add(e,r),s=!0),s){const i=t.context.triggerElements.size;t.select("open")&&t.state.triggerCount!==i&&t.set("triggerCount",i)}},[t,e])}function ya(e,t,n,o=!1){t?e.preventUnmountingOnClose=!1:o&&(e.preventUnmountingOnClose=!0);const r=(n==null?void 0:n.id)??null;(r||t)&&(e.activeTriggerId=r,e.activeTriggerElement=n??null)}function vd(e){let t=!1;return e.preventUnmountOnClose=()=>{t=!0},()=>t}function rb(e,t,n,o={}){var d,p,f;const r=n.reason,s=r===rt,i=t&&r===Jn,a=!t&&(r===Rn||r===Jr),l=vd(n);if((p=(d=e.context).onOpenChange)==null||p.call(d,t,n),n.isCanceled)return;(f=o.onBeforeDispatch)==null||f.call(o),e.state.floatingRootContext.dispatchOpenChange(t,n);const u=()=>{const y={...o.extraState,open:t};i?y.instantType="focus":a?y.instantType="dismiss":s&&(y.instantType=void 0),ya(y,t,n.trigger,l()),e.update(y)};s?At.flushSync(u):u()}function ba(e,t,n,o){const r=n.useState("isMountedByTrigger",e),s=ob(e,n),i=le(l=>{const u=n.select("open"),d=n.select("activeTriggerId");if(d===e){n.update({activeTriggerElement:l,...u?o:null});return}d==null&&u&&n.update({activeTriggerId:e,activeTriggerElement:l,...o})}),a=c.useCallback(l=>{s(l),l&&i(l)},[s,i]);return oe(()=>{r&&n.update({activeTriggerElement:t.current,...o})},[r,n,t,...Object.values(o)]),{registerTrigger:a,isMountedByThisTrigger:r}}function va(e,t={}){const{closeOnActiveTriggerUnmount:n=!1}=t,o=c.useRef(null),r=e.useState("open"),s=e.useState("triggerCount"),i=e.useState("activeTriggerId"),a=e.useState("activeTriggerElement");oe(()=>{if(!r){o.current=null,e.state.triggerCount!==0&&e.set("triggerCount",0);return}const l=e.context.triggerElements.size,u={};e.state.triggerCount!==l&&(u.triggerCount=l);const d=e.select("activeTriggerId");let p=null;if(d){const f=e.context.triggerElements.getById(d);if(f)o.current=d,f!==e.state.activeTriggerElement&&(u.activeTriggerElement=f);else{for(const[y,m]of e.context.triggerElements.entries())if(m===e.state.activeTriggerElement){u.activeTriggerId=y,u.activeTriggerElement=m,o.current=y;break}u.activeTriggerId===void 0&&(o.current===d?p=d:o.current=null)}}else o.current=null;if(!p&&!d&&l===1){const f=e.context.triggerElements.entries().next();if(!f.done){const[y,m]=f.value;u.activeTriggerId=y,u.activeTriggerElement=m,o.current=y}}(u.triggerCount!==void 0||u.activeTriggerId!==void 0||u.activeTriggerElement!==void 0)&&e.update(u),p&&n&&queueMicrotask(()=>{if(e.select("open")&&e.select("activeTriggerId")===p&&!e.context.triggerElements.getById(p)){const f=ke(Rt);e.setOpen(!1,f),f.isCanceled||e.update({activeTriggerId:null,activeTriggerElement:null})}})},[r,e,s,i,a,n])}function xa(e,t,n){const{mounted:o,setMounted:r,transitionStatus:s}=ln(e),i=t.useState("preventUnmountingOnClose"),a=e?!1:i;t.useSyncedValues({mounted:o,transitionStatus:s,preventUnmountingOnClose:a});const l=le(()=>{var u,d;r(!1),t.update({activeTriggerId:null,activeTriggerElement:null,mounted:!1,preventUnmountingOnClose:!1}),n==null||n(),(d=(u=t.context).onOpenChangeComplete)==null||d.call(u,!1)});return kt({enabled:o&&!e&&!a,open:e,ref:t.context.popupRef,onComplete(){e||l()}}),{forceUnmount:l,transitionStatus:s}}function wa(e,t){e.useSyncedValues(t),oe(()=>()=>{e.update({activeTriggerProps:We,inactiveTriggerProps:We,popupProps:We})},[e])}function sb(e,t){oe(()=>{!t&&e.state.openMethod!==null&&e.set("openMethod",null)},[t,e]),oe(()=>()=>{e.state.openMethod!==null&&e.set("openMethod",null)},[e])}class Go{constructor(){this.idMap=new Map}add(t,n){this.idMap.set(t,n)}delete(t){this.idMap.delete(t)}hasElement(t){for(const n of this.idMap.values())if(n===t)return!0;return!1}hasMatchingElement(t){for(const n of this.idMap.values())if(t(n))return!0;return!1}getById(t){return this.idMap.get(t)}entries(){return this.idMap.entries()}elements(){return this.idMap.values()}get size(){return this.idMap.size}}function ib(){return new us({open:!1,transitionStatus:void 0,floatingElement:null,referenceElement:null,triggerElements:new Go,floatingId:void 0,syncOnly:!1,nested:!1,onOpenChange:void 0})}function Sa(){return{open:!1,openProp:void 0,mounted:!1,transitionStatus:void 0,floatingRootContext:ib(),floatingId:void 0,triggerCount:0,preventUnmountingOnClose:!1,payload:void 0,activeTriggerId:null,activeTriggerElement:null,triggerIdProp:void 0,popupElement:null,positionerElement:null,activeTriggerProps:We,inactiveTriggerProps:We,popupProps:We}}function xd(e,t,n=!1){return new us({open:!1,transitionStatus:void 0,floatingElement:null,referenceElement:null,triggerElements:e,floatingId:t,syncOnly:!0,nested:n,onOpenChange:void 0})}const No=e=>e.triggerIdProp??e.activeTriggerId,Ra=e=>e.openProp??e.open,Kc=e=>{var n;return(((n=e.popupElement)==null?void 0:n.id)??e.floatingId)||void 0};function wd(e,t){return t!==void 0&&Ra(e)&&No(e)===t}function ab(e,t){return wd(e,t)?!0:t!==void 0&&Ra(e)&&No(e)==null&&e.triggerCount===1}const ka={open:Ra,mounted:e=>e.mounted,transitionStatus:e=>e.transitionStatus,floatingRootContext:e=>e.floatingRootContext,triggerCount:e=>e.triggerCount,preventUnmountingOnClose:e=>e.preventUnmountingOnClose,payload:e=>e.payload,activeTriggerId:No,activeTriggerElement:e=>e.mounted?e.activeTriggerElement:null,popupId:Kc,isTriggerActive:(e,t)=>t!==void 0&&No(e)===t,isOpenedByTrigger:(e,t)=>wd(e,t),isMountedByTrigger:(e,t)=>t!==void 0&&No(e)===t&&e.mounted,triggerProps:(e,t)=>t?e.activeTriggerProps:e.inactiveTriggerProps,triggerPopupId:(e,t)=>ab(e,t)?Kc(e):void 0,popupProps:e=>e.popupProps,popupElement:e=>e.popupElement,positionerElement:e=>e.positionerElement};function Ea(e){const t=c.useCallback(o=>e===void 0?Ke:e.subscribeStore(o),[e]),n=c.useCallback(()=>e===void 0?void 0:e.store,[e]);return ls.useSyncExternalStore(t,n,()=>e==null?void 0:e.serverStore)}function cb(e){const{open:t=!1,onOpenChange:n,elements:o={}}=e,r=bn(),s=En()!=null,i=at(()=>new us({open:t,transitionStatus:void 0,onOpenChange:n,referenceElement:o.reference??null,floatingElement:o.floating??null,triggerElements:new Go,floatingId:r,syncOnly:!1,nested:s})).current;return oe(()=>{const a={open:t,floatingId:r};o.reference!==void 0&&(a.referenceElement=o.reference,a.domReferenceElement=Oe(o.reference)?o.reference:null),o.floating!==void 0&&(a.floatingElement=o.floating),i.update(a)},[t,r,o.reference,o.floating,i]),i.context.onOpenChange=n,i.context.nested=s,i}function lb(e){return ub(e,e.rootContext)}function ub(e,t){const{nodeId:n,externalTree:o}=e,r=t.useState("referenceElement"),s=t.useState("floatingElement"),i=t.useState("domReferenceElement"),a=t.useState("open"),l=t.useState("floatingId"),[u,d]=c.useState(null),[p,f]=c.useState(void 0),[y,m]=c.useState(void 0),g=c.useRef(null),h=Cn(o),b=c.useMemo(()=>({reference:r,floating:s,domReference:i}),[r,s,i]),v=_1({...e,elements:{...b,...u&&{reference:u}}}),w=Oe(p)?p:null,x=y===void 0?t.state.floatingElement:y;t.useSyncedValue("referenceElement",p??null),t.useSyncedValue("domReferenceElement",p===void 0?i:w),t.useSyncedValue("floatingElement",x);const S=c.useCallback(O=>{const I=Oe(O)?{getBoundingClientRect:()=>O.getBoundingClientRect(),getClientRects:()=>O.getClientRects(),contextElement:O}:O;d(I),v.refs.setReference(I)},[v.refs]),R=c.useCallback(O=>{(Oe(O)||O===null)&&(g.current=O,f(O)),(Oe(v.refs.reference.current)||v.refs.reference.current===null||O!==null&&!Oe(O))&&v.refs.setReference(O)},[v.refs,f]),E=c.useCallback(O=>{m(O),v.refs.setFloating(O)},[v.refs]),k=c.useMemo(()=>({...v.refs,setReference:R,setFloating:E,setPositionReference:S,domReference:g}),[v.refs,R,E,S]),M=c.useMemo(()=>({...v.elements,domReference:i}),[v.elements,i]),C=c.useMemo(()=>({...v,dataRef:t.context.dataRef,open:a,onOpenChange:t.setOpen,events:t.context.events,floatingId:l,refs:k,elements:M,nodeId:n,rootStore:t}),[v,k,M,n,t,a,l]);return oe(()=>{i&&(g.current=i)},[i]),oe(()=>{t.context.dataRef.current.floatingContext=C;const O=h==null?void 0:h.nodesRef.current.find(I=>I.id===n);O&&(O.context=C)}),c.useMemo(()=>({...v,context:C,refs:k,elements:M,rootStore:t}),[v,k,M,C,t])}const Bs=qi&&qt;function Sd(e,t={}){const{enabled:n=!0,delay:o}=t,r="rootStore"in e?e.rootStore:e,{events:s,dataRef:i}=r.context,a=c.useRef(!1),l=c.useRef(null),u=c.useRef(!0),d=Ge();c.useEffect(()=>{const f=r.select("domReferenceElement");if(!n)return;const y=He(f);function m(){const b=r.select("domReferenceElement");!r.select("open")&&Fe(b)&&b===dt(Te(b))&&(a.current=!0)}function g(){u.current=!0}function h(){u.current=!1}return Ut(Me(y,"blur",m),Bs&&Me(y,"keydown",g,!0),Bs&&Me(y,"pointerdown",h,!0))},[r,n]),c.useEffect(()=>{if(!n)return;function f(y){if(y.reason===Rn||y.reason===Jr){const m=r.select("domReferenceElement");Oe(m)&&(l.current=m,a.current=!0)}}return s.on("openchange",f),()=>{s.off("openchange",f)}},[s,n,r]);const p=c.useMemo(()=>{function f(){a.current=!1,l.current=null}return{onMouseLeave(){f()},onFocus(y){const m=y.currentTarget;if(a.current){if(l.current===m)return;f()}const g=et(y.nativeEvent);if(Oe(g)){if(Bs&&!y.relatedTarget){if(!u.current&&!ss(g))return}else if(!b0(g))return}const h=Fr(y.relatedTarget,r.context.triggerElements),{nativeEvent:b,currentTarget:v}=y,w=typeof o=="function"?o():o;if(r.select("open")&&h||w===0||w===void 0){r.setOpen(!0,ke(Jn,b,v));return}d.start(w,()=>{a.current||r.setOpen(!0,ke(Jn,b,v))})},onBlur(y){f();const m=y.relatedTarget,g=y.nativeEvent,h=Oe(m)&&m.hasAttribute(zo("focus-guard"))&&m.getAttribute("data-type")==="outside";d.start(0,()=>{var x;const b=r.select("domReferenceElement"),v=dt(Te(b));!m&&v===b||ve((x=i.current.floatingContext)==null?void 0:x.refs.floating.current,v)||ve(b,v)||h||Fr(m??v,r.context.triggerElements)||r.setOpen(!1,ke(Jn,g))})}}},[i,o,r,d]);return c.useMemo(()=>n?{reference:p,trigger:p}:{},[n,p])}class Ca{constructor(){Ne(this,"dispose",()=>{this.openChangeTimeout.clear(),this.restTimeout.clear()});Ne(this,"disposeEffect",()=>this.dispose);this.pointerType=void 0,this.interactedInside=!1,this.handler=void 0,this.blockMouseMove=!0,this.performedPointerEventsMutation=!1,this.pointerEventsScopeElement=null,this.pointerEventsReferenceElement=null,this.pointerEventsFloatingElement=null,this.restTimeoutPending=!1,this.openChangeTimeout=new Lt,this.restTimeout=new Lt,this.handleCloseOptions=void 0}static create(){return new Ca}}const jr=new WeakMap;function Br(e){var n,o,r;if(!e.performedPointerEventsMutation)return;const t=e.pointerEventsScopeElement;t&&jr.get(t)===e&&((n=e.pointerEventsScopeElement)==null||n.style.removeProperty("pointer-events"),(o=e.pointerEventsReferenceElement)==null||o.style.removeProperty("pointer-events"),(r=e.pointerEventsFloatingElement)==null||r.style.removeProperty("pointer-events"),jr.delete(t)),e.performedPointerEventsMutation=!1,e.pointerEventsScopeElement=null,e.pointerEventsReferenceElement=null,e.pointerEventsFloatingElement=null}function Rd(e,t){const{scopeElement:n,referenceElement:o,floatingElement:r}=t,s=jr.get(n);s&&s!==e&&Br(s),Br(e),e.performedPointerEventsMutation=!0,e.pointerEventsScopeElement=n,e.pointerEventsReferenceElement=o,e.pointerEventsFloatingElement=r,jr.set(n,e),n.style.pointerEvents="none",o.style.pointerEvents="auto",r.style.pointerEvents="auto"}function Pa(e){const t=e.context.dataRef.current,n=at(()=>t.hoverInteractionState??Ca.create()).current;return t.hoverInteractionState||(t.hoverInteractionState=n),Zi(t.hoverInteractionState.disposeEffect),t.hoverInteractionState}function kd(e,t={}){const{enabled:n=!0,closeDelay:o=0,nodeId:r}=t,s="rootStore"in e?e.rootStore:e,i=s.useState("open"),a=s.useState("floatingElement"),l=s.useState("domReferenceElement"),{dataRef:u}=s.context,d=Cn(),p=En(),f=Pa(s),y=Ge(),m=le(()=>{var b;return _u((b=u.current.openEvent)==null?void 0:b.type,f.interactedInside)}),g=le(()=>{var b;return x0((b=u.current.openEvent)==null?void 0:b.type)}),h=le(()=>{Br(f)});oe(()=>{i||(f.pointerType=void 0,f.restTimeoutPending=!1,f.interactedInside=!1,h())},[i,f,h]),c.useEffect(()=>h,[h]),oe(()=>{var b,v,w,x,S;if(n&&i&&(b=f.handleCloseOptions)!=null&&b.blockPointerEvents&&g()&&Oe(l)&&a){const R=l,E=a,k=Te(a),M=(w=(v=d==null?void 0:d.nodesRef.current.find(N=>N.id===p))==null?void 0:v.context)==null?void 0:w.elements.floating;M&&(M.style.pointerEvents="");const C=f.pointerEventsScopeElement!==E?f.pointerEventsScopeElement:null,O=M!==E?M:null,I=((S=(x=f.handleCloseOptions)==null?void 0:x.getScope)==null?void 0:S.call(x))??C??O??R.closest("[data-rootownerid]")??k.body;return Rd(f,{scopeElement:I,referenceElement:R,floatingElement:E}),()=>{h()}}},[n,i,l,a,f,g,d,p,h]),c.useEffect(()=>{if(!n)return;function b(){return!!(d&&p&&wn(d.nodesRef.current,p).length>0)}function v(k){const M=vn(o,"close",f.pointerType),C=()=>{s.setOpen(!1,ke(rt,k)),d==null||d.events.emit("floating.closed",k)};M?f.openChangeTimeout.start(M,C):(f.openChangeTimeout.clear(),C())}function w(k){const M=et(k);if(!y0(M)){f.interactedInside=!1;return}f.interactedInside=(M==null?void 0:M.closest("[aria-haspopup]"))!=null}function x(){f.openChangeTimeout.clear(),y.clear(),d==null||d.events.off("floating.closed",R),h()}function S(k){var I;if(b()&&d){d.events.on("floating.closed",R);return}if(Fr(k.relatedTarget,s.context.triggerElements))return;const M=((I=u.current.floatingContext)==null?void 0:I.nodeId)??r,C=k.relatedTarget;if(!(d&&M&&Oe(C)&&wn(d.nodesRef.current,M,!1).some(N=>{var D;return ve((D=N.context)==null?void 0:D.elements.floating,C)}))){if(f.handler){f.handler(k);return}h(),g()&&!m()&&v(k)}}function R(k){!d||!p||b()||y.start(0,()=>{d.events.off("floating.closed",R),s.setOpen(!1,ke(rt,k)),d.events.emit("floating.closed",k)})}const E=a;return Ut(E&&Me(E,"mouseenter",x),E&&Me(E,"mouseleave",S),E&&Me(E,"pointerdown",w,!0),()=>{d==null||d.events.off("floating.closed",R)})},[n,a,s,u,o,r,g,m,h,f,d,p,y])}const db={current:null};function Ed(e,t={}){var z;const{enabled:n=!0,delay:o=0,handleClose:r=null,mouseOnly:s=!1,restMs:i=0,move:a=!0,triggerElementRef:l=db,externalTree:u,isActiveTrigger:d=!0,getHandleCloseContext:p,isClosing:f,shouldOpen:y,guardStaleOpen:m=!1}=t,g="rootStore"in e?e.rootStore:e,{dataRef:h,events:b}=g.context,v=Cn(u),w=Pa(g),x=c.useRef(!1),S=Ze(r),R=Ze(o),E=Ze(i),k=Ze(n),M=Ze(y),C=Ze(f),O=le(()=>{var _;return _u((_=h.current.openEvent)==null?void 0:_.type,w.interactedInside)}),I=le(()=>{var _;return((_=M.current)==null?void 0:_.call(M))!==!1}),N=le((_,A,F)=>{const T=g.context.triggerElements;if(T.hasElement(A))return!_||!ve(_,A);if(!Oe(F))return!1;const L=F;return T.hasMatchingElement(j=>ve(j,L))&&(!_||!ve(_,L))}),D=le(()=>{if(!w.handler)return;Te(g.select("domReferenceElement")).removeEventListener("mousemove",w.handler),w.handler=void 0}),P=le(()=>{Br(w)});return d&&(w.handleCloseOptions=(z=S.current)==null?void 0:z.__options),c.useEffect(()=>D,[D]),c.useEffect(()=>{if(!n)return;function _(A){A.open?x.current=!1:(x.current=A.reason===rt,D(),w.openChangeTimeout.clear(),w.restTimeout.clear(),w.blockMouseMove=!0,w.restTimeoutPending=!1)}return b.on("openchange",_),()=>{b.off("openchange",_)}},[n,b,w,D]),c.useEffect(()=>{if(!n)return;function _($,U=!0){const q=vn(R.current,"close",w.pointerType);q?w.openChangeTimeout.start(q,()=>{g.setOpen(!1,ke(rt,$)),v==null||v.events.emit("floating.closed",$)}):U&&(w.openChangeTimeout.clear(),g.setOpen(!1,ke(rt,$)),v==null||v.events.emit("floating.closed",$))}const A=l.current??(d?g.select("domReferenceElement"):null);if(!Oe(A))return;function F($){var he;if(w.openChangeTimeout.clear(),w.blockMouseMove=!1,s&&!mn(w.pointerType))return;const U=Cc(E.current),q=vn(R.current,"open",w.pointerType),V=et($),Q=$.currentTarget??null,H=g.select("domReferenceElement");let G=Q;if(Oe(V)&&!g.context.triggerElements.hasElement(V)){for(const re of g.context.triggerElements.elements())if(ve(re,V)){G=re;break}}Oe(Q)&&Oe(H)&&!g.context.triggerElements.hasElement(Q)&&ve(Q,H)&&(G=H);const ue=G==null?!1:N(H,G,V),ne=g.select("open"),te=((he=C.current)==null?void 0:he.call(C))??g.select("transitionStatus")==="ending",J=!ne&&te&&x.current,ee=!ue&&Oe(G)&&Oe(H)&&ve(H,G)&&J,ie=U>0&&!q,xe=ue&&(ne||J)||ee,ae=!ne||ue;if(xe){I()&&g.setOpen(!0,ke(rt,$,G));return}ie||(q?w.openChangeTimeout.start(q,()=>{ae&&I()&&g.setOpen(!0,ke(rt,$,G))}):ae&&I()&&g.setOpen(!0,ke(rt,$,G)))}function T($){if(O()){P();return}D();const U=g.select("domReferenceElement"),q=Te(U);w.restTimeout.clear(),w.restTimeoutPending=!1;const V=h.current.floatingContext??(p==null?void 0:p());if(Fr($.relatedTarget,g.context.triggerElements))return;if(S.current&&V){g.select("open")||w.openChangeTimeout.clear();const H=l.current;w.handler=S.current({...V,tree:v,x:$.clientX,y:$.clientY,onClose(){P(),D(),k.current&&!O()&&H===g.select("domReferenceElement")&&_($,!0)}}),q.addEventListener("mousemove",w.handler),w.handler($);return}(w.pointerType==="touch"?!ve(g.select("floatingElement"),$.relatedTarget):!0)&&_($)}function L($){ve(A,$.relatedTarget)||(w.openChangeTimeout.clear(),w.restTimeout.clear(),w.restTimeoutPending=!1)}const j=m?Me(A,"mouseout",L):void 0;return a?Ut(Me(A,"mousemove",F,{once:!0}),Me(A,"mouseenter",F),Me(A,"mouseleave",T),j):Ut(Me(A,"mouseenter",F),Me(A,"mouseleave",T),j)},[D,P,h,R,g,n,S,w,d,N,O,s,a,E,l,v,k,p,C,I,m]),c.useMemo(()=>{if(!n)return;function _(A){w.pointerType=A.pointerType}return{onPointerDown:_,onPointerEnter:_,onMouseMove(A){var V,Q,H;const{nativeEvent:F}=A,T=A.currentTarget,L=g.select("domReferenceElement"),j=g.select("open"),$=N(L,T,A.target);if(s&&!mn(w.pointerType))return;if(j&&$&&((V=w.handleCloseOptions)!=null&&V.blockPointerEvents)){const G=g.select("floatingElement");if(G){const ue=((H=(Q=w.handleCloseOptions)==null?void 0:Q.getScope)==null?void 0:H.call(Q))??T.ownerDocument.body;Rd(w,{scopeElement:ue,referenceElement:T,floatingElement:G})}}const U=Cc(E.current);if(j&&!$||U===0||!$&&w.restTimeoutPending&&A.movementX**2+A.movementY**2<2)return;w.restTimeout.clear();function q(){if(w.restTimeoutPending=!1,O())return;const G=g.select("open");!w.blockMouseMove&&(!G||$)&&I()&&g.setOpen(!0,ke(rt,F,T))}w.pointerType==="touch"?At.flushSync(()=>{q()}):$&&j?q():(w.restTimeoutPending=!0,w.restTimeout.start(U,q))}}},[n,w,O,N,s,g,E,I])}const fb="Escape";function Zc(e){return qt&&e.movementX===0&&e.movementY===0}function fs(e,t,n){switch(e){case"vertical":return t;case"horizontal":return n;default:return t||n}}function sr(e,t){return fs(t,e===Du||e===na,e===os||e===rs)}function Ws(e,t,n){return fs(t,e===na,n?e===os:e===rs)||e==="Enter"||e===" "||e===""}function pb(e,t,n){return fs(t,n?e===os:e===rs,e===na)}function hb(e,t,n,o){const r=n?e===rs:e===os,s=e===Du;return t==="both"||t==="horizontal"&&o?e===fb:fs(t,r,s)}function Cd(e,t){const{listRef:n,activeIndex:o,onNavigate:r=()=>{},enabled:s=!0,selectedIndex:i=null,allowEscape:a=!1,loopFocus:l=!1,nested:u=!1,rtl:d=!1,virtual:p=!1,focusItemOnOpen:f="auto",focusItemOnHover:y=!0,openOnArrowKeyDown:m=!0,disabledIndices:g=void 0,orientation:h="vertical",parentOrientation:b,id:v,resetOnPointerLeave:w=!0,externalTree:x,grid:S}=t,R=S!=null,E="rootStore"in e?e.rootStore:e,k=E.useState("open"),M=E.useState("floatingElement"),C=E.useState("domReferenceElement"),O=E.context.dataRef,I=zr(M),N=ri(C),D=Ze(I),P=En(),z=Cn(x),_=c.useRef(f),A=c.useRef(i??-1),F=c.useRef(null),T=c.useRef(!0),L=le(W=>{r(A.current===-1?null:A.current,W)}),j=c.useRef(!!M),$=c.useRef(k),U=c.useRef(!1),q=c.useRef(!1),V=c.useRef(null),Q=Ze(g),H=Ze(k),G=Ze(i),ue=Ze(w),ne=io(),te=io(),J=le(()=>{function W(X){p?z==null||z.events.emit("virtualfocus",X):V.current=Er(X,{sync:U.current,preventScroll:!0})}const Y=n.current[A.current],se=q.current;Y&&W(Y),(U.current?X=>X():X=>ne.request(X))(()=>{var be;const X=n.current[A.current]||Y;if(!X)return;Y||W(X),re&&(se||!T.current)&&((be=X.scrollIntoView)==null||be.call(X,{block:"nearest",inline:"nearest"}))})});oe(()=>{O.current.orientation=h},[O,h]),oe(()=>{s&&(k&&M?(A.current=i??-1,_.current&&i!=null&&(q.current=!0,L())):j.current&&(A.current=-1,L()))},[s,k,M,i,L]),oe(()=>{if(s){if(!k){U.current=!1;return}if(M)if(o==null){if(U.current=!1,G.current!=null)return;if(j.current&&(A.current=-1,J()),(!$.current||!j.current)&&_.current&&(F.current!=null||_.current===!0&&F.current==null)){let W=0;const Y=()=>{n.current[0]==null?(W<2&&(W?Z=>te.request(Z):queueMicrotask)(Y),W+=1):(A.current=F.current==null||Ws(F.current,h,d)||u?kr(n):ii(n),F.current=null,L())};Y()}}else Ao(n.current,o)||(A.current=o,J(),q.current=!1)}},[s,k,M,o,G,u,n,h,d,L,J,te]),oe(()=>{var X,pe;if(!s||M||!z||p||!j.current)return;const W=z.nodesRef.current,Y=(pe=(X=W.find(be=>be.id===P))==null?void 0:X.context)==null?void 0:pe.elements.floating,se=dt(Te(C??Y??null)),Z=W.some(be=>be.context&&ve(be.context.elements.floating,se));Y&&!Z&&T.current&&Y.focus({preventScroll:!0})},[s,M,C,z,P,p]),oe(()=>{$.current=k,j.current=!!M}),oe(()=>{k||(F.current=null,_.current=f)},[k,f]);const ee=o!=null,ie=le(W=>{if(!H.current)return;const Y=n.current.indexOf(W.currentTarget);Y!==-1&&(A.current!==Y||o!==Y)&&(A.current=Y,L(W))}),xe=le(()=>{var W,Y,se;return b??((se=(Y=(W=z==null?void 0:z.nodesRef.current.find(Z=>Z.id===P))==null?void 0:W.context)==null?void 0:Y.dataRef)==null?void 0:se.current.orientation)}),ae=le(()=>kr(n,Q.current)),he=le(W=>{if(T.current=!1,U.current=!0,W.which===229||!H.current&&W.currentTarget===D.current)return;if(u&&hb(W.key,h,d,R)){sr(W.key,xe())||It(W),E.setOpen(!1,ke(ti,W.nativeEvent)),Fe(C)&&(p?z==null||z.events.emit("virtualfocus",C):C.focus());return}const Y=A.current,se=kr(n,g),Z=ii(n,g);if(N||(W.key==="Home"&&(It(W),A.current=se,L(W)),W.key==="End"&&(It(W),A.current=Z,L(W))),S!=null){const X=S(W,A.current,n,h,l,d,g,se,Z);if(X!=null&&(A.current=X,L(W)),h==="both")return}if(sr(W.key,h)){if(It(W),k&&!p&&dt(W.currentTarget.ownerDocument)===W.currentTarget){A.current=Ws(W.key,h,d)?se:Z,L(W);return}Ws(W.key,h,d)?l?Y>=Z?a&&Y!==n.current.length?A.current=-1:(U.current=!1,A.current=se):A.current=Jt(n.current,{startingIndex:Y,disabledIndices:g}):A.current=Math.min(Z,Jt(n.current,{startingIndex:Y,disabledIndices:g})):l?Y<=se?a&&Y!==-1?A.current=n.current.length:(U.current=!1,A.current=Z):A.current=Jt(n.current,{startingIndex:Y,decrement:!0,disabledIndices:g}):A.current=Math.max(se,Jt(n.current,{startingIndex:Y,decrement:!0,disabledIndices:g})),Ao(n.current,A.current)&&(A.current=-1),L(W)}}),re=c.useMemo(()=>({onFocus(Y){U.current=!0,ie(Y)},onClick:({currentTarget:Y})=>Y.focus({preventScroll:!0}),onMouseMove(Y){Zc(Y)||(U.current=!0,q.current=!1,y&&ie(Y))},onPointerLeave(Y){var Z;if(!H.current||!T.current||Y.pointerType==="touch")return;U.current=!0;const se=Y.relatedTarget;if(!(!y||n.current.includes(se))&&ue.current&&((Z=V.current)==null||Z.call(V),V.current=null,A.current=-1,L(Y),!p)){const X=D.current,pe=dt(Te(X));X&&ve(X,pe)&&X.focus({preventScroll:!0})}}}),[ie,H,D,y,n,L,ue,p]),ge=c.useMemo(()=>p&&k&&ee&&{"aria-activedescendant":`${v}-${o}`},[p,k,ee,v,o]),de=c.useMemo(()=>({"aria-orientation":h==="both"?void 0:h,...N?{}:ge,onKeyDown(W){if(W.key==="Tab"&&W.shiftKey&&k&&!p){const Y=et(W.nativeEvent);if(Y&&!ve(D.current,Y))return;It(W),E.setOpen(!1,ke(Dn,W.nativeEvent)),Fe(C)&&C.focus();return}he(W)},onPointerMove(W){Zc(W)||(T.current=!0)}}),[ge,he,D,h,N,E,k,p,C]),ce=c.useMemo(()=>{function W(Z){E.setOpen(!0,ke(ti,Z.nativeEvent,Z.currentTarget))}function Y(Z){f==="auto"&&ea(Z.nativeEvent)&&(_.current=!p)}function se(Z){_.current=f,f==="auto"&&ta(Z.nativeEvent)&&(_.current=!0)}return{onKeyDown(Z){const X=E.select("open");T.current=!1;const pe=Z.key.startsWith("Arrow"),be=pb(Z.key,xe(),d),_e=sr(Z.key,h),Ue=(u?be:_e)||Z.key==="Enter"||Z.key.trim()==="";if(p&&X)return he(Z);if(!(!X&&!m&&pe)){if(Ue){const Ye=sr(Z.key,xe());F.current=u&&Ye?null:Z.key}if(u){be&&(It(Z),X?(A.current=ae(),L(Z)):W(Z));return}_e&&(G.current!=null&&(A.current=G.current),It(Z),!X&&m?W(Z):he(Z),X&&L(Z))}},onFocus(Z){E.select("open")&&!p&&(A.current=-1,L(Z))},onPointerDown:se,onPointerEnter:se,onMouseDown:Y,onClick:Y}},[he,f,ae,u,L,E,m,h,xe,d,G,p]),fe=c.useMemo(()=>({...ge,...ce}),[ge,ce]);return c.useMemo(()=>s?{reference:fe,floating:de,item:re,trigger:ce}:{},[s,fe,de,ce,re])}function Pd(e,t){const{listRef:n,elementsRef:o,activeIndex:r,onMatch:s,disabledIndices:i,onTyping:a,enabled:l=!0,resetMs:u=750,selectedIndex:d=null}=t,p="rootStore"in e?e.rootStore:e,f=p.useState("open"),y=Ge(),m=c.useRef(""),g=c.useRef(d??r??-1),h=c.useRef(null),b=le(x=>{function S(D){return o==null?void 0:o.current[D]}function R(D){const P=S(D);return P&&!is(P)||P!=null&&P.matches(":disabled")?!1:i==null||!$r(Dt,D,i)}function E(D,P,z=0){if(D.length===0)return-1;const _=(z%D.length+D.length)%D.length,A=P.toLowerCase();for(let F=0;F<D.length;F+=1){const T=(_+F)%D.length,L=D[T];if(!(!(L!=null&&L.toLowerCase().startsWith(A))||!R(T)))return T}return-1}const k=n.current;if(m.current.length>0&&x.key===" "&&(It(x),a==null||a(!0)),m.current.length>0&&m.current[0]!==" "&&E(k,m.current)===-1&&x.key!==" "&&(a==null||a(!1)),k==null||x.key.length!==1||x.ctrlKey||x.metaKey||x.altKey)return;f&&x.key!==" "&&(It(x),a==null||a(!0));const M=m.current==="";M&&(g.current=d??r??-1),k.every((D,P)=>{var z,_;return D&&R(P)?((z=D[0])==null?void 0:z.toLowerCase())!==((_=D[1])==null?void 0:_.toLowerCase()):!0})&&m.current===x.key&&(m.current="",g.current=h.current),m.current+=x.key,y.start(u,()=>{m.current="",g.current=h.current,a==null||a(!1)});const I=((M?d??r??-1:g.current)??0)+1,N=E(k,m.current,I);N!==-1?(s==null||s(N),h.current=N):x.key!==" "&&(m.current="",a==null||a(!1))}),v=le(x=>{const S=x.relatedTarget,R=p.select("domReferenceElement"),E=p.select("floatingElement");ve(R,S)||ve(E,S)||(y.clear(),m.current="",g.current=h.current,a==null||a(!1))});oe(()=>{!f&&d!==null||(y.clear(),h.current=null,m.current!==""&&(m.current=""))},[f,d,y]);const w=c.useMemo(()=>({onKeyDown:b,onBlur:v}),[b,v]);return c.useMemo(()=>l?{reference:w,floating:w}:{},[l,w])}const Qc=.1,gb=Qc*Qc,Ve=.5;function ir(e,t,n,o,r,s){return o>=t!=s>=t&&e<=(r-n)*(t-o)/(s-o)+n}function ar(e,t,n,o,r,s,i,a,l,u){let d=!1;return ir(e,t,n,o,r,s)&&(d=!d),ir(e,t,r,s,i,a)&&(d=!d),ir(e,t,i,a,l,u)&&(d=!d),ir(e,t,l,u,n,o)&&(d=!d),d}function mb(e,t,n){return e>=n.x&&e<=n.x+n.width&&t>=n.y&&t<=n.y+n.height}function cr(e,t,n,o,r,s){const i=Math.min(n,r),a=Math.max(n,r),l=Math.min(o,s),u=Math.max(o,s);return e>=i&&e<=a&&t>=l&&t<=u}function Md(e={}){const{blockPointerEvents:t=!1}=e,n=new Lt,o=({x:r,y:s,placement:i,elements:a,onClose:l,nodeId:u,tree:d})=>{const p=i==null?void 0:i.split("-")[0];let f=!1,y=null,m=null,g=typeof performance<"u"?performance.now():0;function h(v,w){const x=performance.now(),S=x-g;if(y===null||m===null||S===0)return y=v,m=w,g=x,!1;const R=v-y,E=w-m,k=R*R+E*E,M=S*S*gb;return y=v,m=w,g=x,k<M}function b(){n.clear(),l()}return function(w){n.clear();const x=a.domReference,S=a.floating;if(!x||!S||p==null||r==null||s==null)return;const{clientX:R,clientY:E}=w,k=et(w),M=w.type==="mouseleave",C=ve(S,k),O=ve(x,k);if(C&&(f=!0,!M))return;if(O&&(f=!1,!M)){f=!0;return}if(M&&Oe(w.relatedTarget)&&ve(S,w.relatedTarget))return;function I(){return!!(d&&wn(d.nodesRef.current,u).length>0)}function N(){I()||b()}if(I())return;const D=x.getBoundingClientRect(),P=S.getBoundingClientRect(),z=r>P.right-P.width/2,_=s>P.bottom-P.height/2,A=P.width>D.width,F=P.height>D.height,T=(A?D:P).left,L=(A?D:P).right,j=(F?D:P).top,$=(F?D:P).bottom;if(p==="top"&&s>=D.bottom-1||p==="bottom"&&s<=D.top+1||p==="left"&&r>=D.right-1||p==="right"&&r<=D.left+1){N();return}let U=!1;switch(p){case"top":U=cr(R,E,T,D.top+1,L,P.bottom-1);break;case"bottom":U=cr(R,E,T,P.top+1,L,D.bottom-1);break;case"left":U=cr(R,E,P.right-1,$,D.left+1,j);break;case"right":U=cr(R,E,D.right-1,$,P.left+1,j);break}if(U)return;if(f&&!mb(R,E,D)){N();return}if(!M&&h(R,E)){N();return}let q=!1;switch(p){case"top":{const V=A?Ve/2:Ve*4,Q=A||z?r+V:r-V,H=A?r-V:z?r+V:r-V,G=s+Ve+1,ue=z||A?P.bottom-Ve:P.top,ne=z?A?P.bottom-Ve:P.top:P.bottom-Ve;q=ar(R,E,Q,G,H,G,P.left,ue,P.right,ne);break}case"bottom":{const V=A?Ve/2:Ve*4,Q=A||z?r+V:r-V,H=A?r-V:z?r+V:r-V,G=s-Ve,ue=z||A?P.top+Ve:P.bottom,ne=z?A?P.top+Ve:P.bottom:P.top+Ve;q=ar(R,E,Q,G,H,G,P.left,ue,P.right,ne);break}case"left":{const V=F?Ve/2:Ve*4,Q=F||_?s+V:s-V,H=F?s-V:_?s+V:s-V,G=r+Ve+1,ue=_||F?P.right-Ve:P.left,ne=_?F?P.right-Ve:P.left:P.right-Ve;q=ar(R,E,ue,P.top,ne,P.bottom,G,Q,G,H);break}case"right":{const V=F?Ve/2:Ve*4,Q=F||_?s+V:s-V,H=F?s-V:_?s+V:s-V,G=r-Ve,ue=_||F?P.left+Ve:P.right,ne=_?F?P.left+Ve:P.right:P.left+Ve;q=ar(R,E,G,Q,G,H,ue,P.top,ne,P.bottom);break}}q?f||n.start(40,N):N()}};return o.__options={...e,blockPointerEvents:t},o}const yb=c.createContext(void 0);function Ma(e){return c.useContext(yb)}const di="ArrowUp",fi="ArrowDown",pi="ArrowLeft",hi="ArrowRight",gi="Home",mi="End",ps=new Set([di,fi,pi,hi,gi,mi]),bb="Shift",vb=[bb,"Control","Alt","Meta"];function xb(e){return Fe(e)&&e.tagName==="INPUT"}function Jc(e){return!!(xb(e)&&e.selectionStart!=null||Fe(e)&&e.tagName==="TEXTAREA")}function el(e,t,n,o){if(!e||!t||!t.scrollTo)return;let r=e.scrollLeft,s=e.scrollTop;const i=e.clientWidth<e.scrollWidth,a=e.clientHeight<e.scrollHeight;if(i&&o!=="vertical"){const l=tl(e,t,"left"),u=lr(e),d=lr(t);n==="ltr"&&(l+t.offsetWidth+d.scrollMarginRight>e.scrollLeft+e.clientWidth-u.scrollPaddingRight?r=l+t.offsetWidth+d.scrollMarginRight-e.clientWidth+u.scrollPaddingRight:l-d.scrollMarginLeft<e.scrollLeft+u.scrollPaddingLeft&&(r=l-d.scrollMarginLeft-u.scrollPaddingLeft)),n==="rtl"&&(l-d.scrollMarginLeft<e.scrollLeft+u.scrollPaddingLeft?r=l-d.scrollMarginLeft-u.scrollPaddingLeft:l+t.offsetWidth+d.scrollMarginRight>e.scrollLeft+e.clientWidth-u.scrollPaddingRight&&(r=l+t.offsetWidth+d.scrollMarginRight-e.clientWidth+u.scrollPaddingRight))}if(a&&o!=="horizontal"){const l=tl(e,t,"top"),u=lr(e),d=lr(t);l-d.scrollMarginTop<e.scrollTop+u.scrollPaddingTop?s=l-d.scrollMarginTop-u.scrollPaddingTop:l+t.offsetHeight+d.scrollMarginBottom>e.scrollTop+e.clientHeight-u.scrollPaddingBottom&&(s=l+t.offsetHeight+d.scrollMarginBottom-e.clientHeight+u.scrollPaddingBottom)}e.scrollTo({left:r,top:s,behavior:"auto"})}function tl(e,t,n){const o=n==="left"?"offsetLeft":"offsetTop";let r=0;for(;t.offsetParent&&(r+=t[o],t.offsetParent!==e);)t=t.offsetParent;return r}function lr(e){const t=getComputedStyle(e);return{scrollMarginTop:parseFloat(t.scrollMarginTop)||0,scrollMarginRight:parseFloat(t.scrollMarginRight)||0,scrollMarginBottom:parseFloat(t.scrollMarginBottom)||0,scrollMarginLeft:parseFloat(t.scrollMarginLeft)||0,scrollPaddingTop:parseFloat(t.scrollPaddingTop)||0,scrollPaddingRight:parseFloat(t.scrollPaddingRight)||0,scrollPaddingBottom:parseFloat(t.scrollPaddingBottom)||0,scrollPaddingLeft:parseFloat(t.scrollPaddingLeft)||0}}function hs(e){return e==="starting"?G0:We}const tE=c.forwardRef(function(t,n){const{render:o,className:r,style:s,finalFocus:i,...a}=t,{store:l}=cn(),{side:u,align:d}=Xr(),p=Ma()!=null,f=l.useState("open"),y=l.useState("transitionStatus"),m=l.useState("popupProps"),g=l.useState("mounted"),h=l.useState("instantType"),b=l.useState("activeTriggerElement"),v=l.useState("parent"),w=l.useState("lastOpenChangeReason"),x=l.useState("rootId"),S=l.useState("floatingRootContext"),R=l.useState("floatingTreeRoot"),E=l.useState("closeDelay"),k=l.useState("hoverEnabled"),M=l.useState("disabled"),C=l.useState("openMethod"),O=v.type==="context-menu";kt({open:f,ref:l.context.popupRef,onComplete(){var z,_;f&&((_=(z=l.context).onOpenChangeComplete)==null||_.call(z,!0))}}),c.useEffect(()=>{function z(_){l.setOpen(!1,ke(_.reason,_.domEvent))}return R.events.on("close",z),()=>{R.events.off("close",z)}},[R.events,l]),kd(S,{enabled:k&&!M&&!O&&v.type!=="menubar",closeDelay:E});const I=l.useStateSetter("popupElement"),N={transitionStatus:y,side:u,align:d,open:f,nested:v.type==="menu",instant:h},D=Se("div",t,{state:N,ref:[n,l.context.popupRef,I],stateAttributesMapping:Wi,props:[m,{onKeyDown(z){p&&ps.has(z.key)&&z.stopPropagation()}},hs(y),a,{"data-rootownerid":x}]});let P=v.type===void 0||O;return(b||v.type==="menubar"&&w!==Qr)&&(P=!0),K.jsx(fa,{context:S,openInteractionType:C,modal:O,disabled:!g,returnFocus:i===void 0?P:i,initialFocus:v.type!=="menu",restoreFocus:!0,externalTree:v.type!=="menubar"?R:void 0,previousFocusableElement:b,nextFocusableElement:v.type===void 0?l.context.triggerFocusTargetRef:void 0,beforeContentFocusGuardRef:v.type===void 0?l.context.beforeContentFocusGuardRef:void 0,children:D})}),Td=c.createContext(void 0);function wb(){const e=c.useContext(Td);if(e===void 0)throw new Error(De(32));return e}const nE=c.forwardRef(function(t,n){const{keepMounted:o=!1,...r}=t,{store:s}=cn();return s.useState("mounted")||o?K.jsx(Td.Provider,{value:o,children:K.jsx(la,{ref:n,...r})}):null});function gs(e){return Vi(19)?e:e?"true":void 0}const Sb=c.createContext(void 0);function bo(){const e=c.useContext(Sb);return(e==null?void 0:e.direction)??"ltr"}const Rb=e=>({name:"arrow",options:e,async fn(t){var F,T;const{x:n,y:o,placement:r,rects:s,platform:i,elements:a,middlewareData:l}=t,{element:u,padding:d=0,offsetParent:p="real"}=xn(e,t)||{};if(u==null)return{};const f=Vu(d),y={x:n,y:o},m=ia(r),g=sa(m),h=await i.getDimensions(u),b=m==="y",v=b?"top":"left",w=b?"bottom":"right",x=b?"clientHeight":"clientWidth",S=s.reference[g]+s.reference[m]-y[m]-s.floating[g],R=y[m]-s.reference[m],E=p==="real"?await((F=i.getOffsetParent)==null?void 0:F.call(i,u)):a.floating;let k=a.floating[x]||s.floating[g];(!k||!await((T=i.isElement)==null?void 0:T.call(i,E)))&&(k=a.floating[x]||s.floating[g]);const M=S/2-R/2,C=k/2-h[g]/2-1,O=Math.min(f[v],C),I=Math.min(f[w],C),N=O,D=k-h[g]-I,P=k/2-h[g]/2+M,z=zu(N,P,D),_=!l.arrow&&kn(r)!=null&&P!==z&&s.reference[g]/2-(P<N?O:I)-h[g]/2<0,A=_?P<N?P-N:P-D:0;return{[m]:y[m]+A,data:{[m]:z,centerOffset:P-z-A,..._&&{alignmentOffset:A}},reset:_}}}),kb=(e,t)=>({...Rb(e),options:[e,t]}),Eb={name:"hide",async fn(e){const{width:t,height:n,x:o,y:r}=e.rects.reference,s=t===0&&n===0&&o===0&&r===0,i=await e.platform.detectOverflow(e,{elementContext:"reference"});return{data:{referenceHidden:i.top-n>=0||i.right-t>=0||i.bottom-n>=0||i.left-t>=0||s}}}},Cb={sideX:"left",sideY:"top"},nl="--available-width",ol="--available-height";function Id(e,t,n){const o=e==="inline-start"||e==="inline-end";return{top:"top",right:o?n?"inline-start":"inline-end":"right",bottom:"bottom",left:o?n?"inline-end":"inline-start":"left"}[t]}function rl(e,t,n){const{rects:o,placement:r}=e;return{side:Id(t,Mt(r),n),align:kn(r)||"center",anchor:{width:o.reference.width,height:o.reference.height},positioner:{width:o.floating.width,height:o.floating.height}}}function Ta(e){return Pb(e,lb)}function Pb(e,t){var Xe,pt;const{anchor:n,positionMethod:o="absolute",side:r="bottom",sideOffset:s=0,align:i="center",alignOffset:a=0,collisionBoundary:l,collisionPadding:u=5,sticky:d=!1,arrowPadding:p=5,disableAnchorTracking:f=!1,inline:y,keepMounted:m=!1,floatingRootContext:g,mounted:h,collisionAvoidance:b,shift:v,nodeId:w,adaptiveOrigin:x,lazyFlip:S=!1,externalTree:R}=e,[E,k]=c.useState(null);!h&&E!==null&&k(null);const M=b.side||"flip",C=b.align||"flip",O=b.fallbackAxisSide||"end",I=(v==null?void 0:v.crossAxis)??!1,N=v==null?void 0:v.rootBoundary,D=typeof n=="function"?n:void 0,P=le(D),z=D?P:n,_=Ze(n),A=Ze(h),T=bo()==="rtl",L=E||{top:"top",right:"right",bottom:"bottom",left:"left","inline-end":T?"left":"right","inline-start":T?"right":"left"}[r],j=i==="center"?L:`${L}-${i}`;let $=u;typeof $=="number"?$={top:$,right:$,bottom:$,left:$}:$&&($={top:$.top||0,right:$.right||0,bottom:$.bottom||0,left:$.left||0});const U=1,q=r==="bottom"?U:0,V=r==="top"?U:0,Q=r==="right"?U:0,H=r==="left"?U:0,G={boundary:l==="clipping-ancestors"?"clippingAncestors":l,padding:$},ue=c.useRef(null),ne=Ze(s),te=Ze(a),J=typeof s!="function"?s:0,ee=typeof a!="function"?a:0,ie=[];y&&ie.push(y),ie.push(L1(we=>{const Ae=rl(we,r,T),Qe=typeof ne.current=="function"?ne.current(Ae):ne.current,nt=typeof te.current=="function"?te.current(Ae):te.current;return{mainAxis:Qe,crossAxis:nt,alignmentAxis:nt}},[J,ee,T,r]));const xe=C==="none"&&M!=="shift",ae=!xe&&(d||I||M==="shift"),he=M==="none"?null:V1({...G,padding:{top:$.top+U+q,right:$.right+U+H,bottom:$.bottom+U+V,left:$.left+U+Q},mainAxis:!I&&M==="flip",crossAxis:C==="flip"?"alignment":!1,fallbackAxisSideDirection:O}),re=xe?null:F1({...G,rootBoundary:N,mainAxis:C!=="none",crossAxis:ae,limiter:d||I?void 0:z1(we=>{if(!ue.current)return{};const{width:Ae,height:Qe}=ue.current.getBoundingClientRect(),nt=Pt(Mt(we.placement)),yt=nt==="y"?Ae:Qe,bt=nt==="y"?$.left+$.right:$.top+$.bottom;return{offset:yt/2+bt/2}})},[G,d,I,N,$,C]);M==="shift"||C==="shift"||i==="center"?ie.push(re,he):ie.push(he,re),ie.push($1({...G,apply({elements:{floating:we},availableWidth:Ae,availableHeight:Qe,rects:nt}){if(!A.current)return;const yt=we.style;yt.setProperty(nl,`${Ae}px`),yt.setProperty(ol,`${Qe}px`);const bt=He(we).devicePixelRatio||1,{x:Xt,y:lt,width:ht,height:Pe}=nt.reference,ze=(Math.round((Xt+ht)*bt)-Math.round(Xt*bt))/bt,wt=(Math.round((lt+Pe)*bt)-Math.round(lt*bt))/bt;yt.setProperty("--anchor-width",`${ze}px`),yt.setProperty("--anchor-height",`${wt}px`)}}),kb(we=>({element:ue.current||Te(we.elements.floating).createElement("div"),padding:p,offsetParent:"floating"}),[p]),{name:"transformOrigin",fn(we){var nc,oc,rc;const{elements:Ae,middlewareData:Qe,placement:nt,rects:yt,y:bt}=we,Xt=Mt(nt),lt=Pt(Xt),ht=ue.current,Pe=((nc=Qe.arrow)==null?void 0:nc.x)||0,ze=((oc=Qe.arrow)==null?void 0:oc.y)||0,wt=(ht==null?void 0:ht.clientWidth)||0,zt=(ht==null?void 0:ht.clientHeight)||0,Et=Pe+wt/2,Vt=ze+zt/2,Zo=Math.abs(((rc=Qe.shift)==null?void 0:rc.y)||0),So=yt.reference.height/2,Mn=typeof s=="function"?s(rl(we,r,T)):s,Qo=Zo>Mn,Tp={top:`${Et}px calc(100% + ${Mn}px)`,bottom:`${Et}px ${-Mn}px`,left:`calc(100% + ${Mn}px) ${Vt}px`,right:`${-Mn}px ${Vt}px`}[Xt],Ip=`${Et}px ${yt.reference.y+So-bt}px`;return Ae.floating.style.setProperty("--transform-origin",ae&<==="y"&&Qo?Ip:Tp),{}}},Eb,x),oe(()=>{!h&&g&&g.update({referenceElement:null,floatingElement:null,domReferenceElement:null,positionReference:null})},[h,g]);const ge=c.useMemo(()=>({elementResize:!f&&typeof ResizeObserver<"u",layoutShift:!f&&typeof IntersectionObserver<"u"}),[f]),{refs:de,elements:ce,x:fe,y:W,middlewareData:Y,update:se,placement:Z,context:X,isPositioned:pe,floatingStyles:be}=t({rootContext:g,open:m?h:void 0,placement:j,middleware:ie,strategy:o,whileElementsMounted:m?void 0:(...we)=>Wc(...we,ge),nodeId:w,externalTree:R}),{sideX:_e,sideY:Ue}=Y.adaptiveOrigin||Cb,Ye=pe?o:"fixed",st=c.useMemo(()=>{let we;return pe?x?we={position:Ye,[_e]:fe,[Ue]:W}:we={...be,position:Ye}:we={position:Ye,top:0,left:0},we[nl]="100vw",we[ol]="100vh",pe||(we.opacity=0),we},[x,Ye,_e,fe,Ue,W,be,pe]),Le=c.useRef(null);oe(()=>{if(!h)return;const we=_.current,Ae=typeof we=="function"?we():we,nt=(sl(Ae)?Ae.current:Ae)||null||null;nt!==Le.current&&(de.setPositionReference(nt),Le.current=nt)},[h,de,z,_]),c.useEffect(()=>{if(!h)return;const we=_.current;typeof we!="function"&&sl(we)&&we.current!==Le.current&&(de.setPositionReference(we.current),Le.current=we.current)},[h,de,z,_]),c.useEffect(()=>{if(m&&h&&ce.reference&&ce.floating)return Wc(ce.reference,ce.floating,se,ge)},[m,h,ce,se,ge]);const Je=Mt(Z),ct=Id(r,Je,T),Re=kn(Z)||"center",je=!!((Xe=Y.hide)!=null&&Xe.referenceHidden);oe(()=>{S&&h&&pe&&Je!==L&&k(Je)},[S,h,pe,Je,L]);const qe=c.useMemo(()=>{var we,Ae;return{position:"absolute",top:(we=Y.arrow)==null?void 0:we.y,left:(Ae=Y.arrow)==null?void 0:Ae.x}},[Y.arrow]),Be=((pt=Y.arrow)==null?void 0:pt.centerOffset)!==0;return c.useMemo(()=>({positionerStyles:st,arrowStyles:qe,arrowRef:ue,arrowUncentered:Be,side:ct,align:Re,physicalSide:Je,anchorHidden:je,refs:de,context:X,isPositioned:pe,update:se}),[st,qe,ue,Be,ct,Re,Je,je,de,X,pe,se])}function sl(e){return e!=null&&"current"in e}function ms(e){const{children:t,elementsRef:n,labelsRef:o,onMapChange:r}=e,s=le(r),[,i]=c.useState(!1),a=at(Tb).current,l=at(Mb).current,u=c.useRef(0),d=c.useRef(!0),p=c.useRef([]),f=c.useRef(null),y=le(()=>{d.current||(d.current=!0,i(S=>!S))}),m=le((S,R)=>{l.set(S,R),y()}),g=le(S=>{l.delete(S),y()}),h=le(S=>{const R=new Map;return n.current.length=0,o&&(o.current.length=0),S.forEach(E=>{var k,M;R.set(E.element,{...E.registration.metadata??{},index:E.index}),n.current[E.index]=E.element,o&&(o.current[E.index]=E.registration.label!==void 0?E.registration.label:((M=(k=E.registration.textRef)==null?void 0:k.current)==null?void 0:M.textContent)??E.element.textContent)}),u.current=n.current.length,R});function b(S){var k;if((k=f.current)==null||k.disconnect(),f.current=null,typeof MutationObserver!="function"||S.length<2)return;const R=new MutationObserver(M=>{if(!Ab(M))return;let C=null;for(const O of S)if(O.isConnected){if(C&&Od(C,O)>0){R.disconnect(),y();return}C=O}});f.current=R;const E=new Set;for(let M=1;M<S.length;M+=1){const C=Ob(S[M-1],S[M]);C&&E.add(C)}E.forEach(M=>R.observe(M,{childList:!0}))}const v=le(()=>{const[S,R]=Ib(l),E=h(S);b(R),p.current=S,d.current=!1,a.forEach(k=>k(E)),s(E)});oe(()=>(d.current||h(p.current),()=>{n.current=[],o&&(o.current=[])}),[n,o,h]),oe(()=>{d.current&&v()}),oe(()=>()=>{var S;(S=f.current)==null||S.disconnect(),d.current=!0},[]);const w=le(S=>(a.add(S),()=>{a.delete(S)})),x=c.useMemo(()=>({register:m,unregister:g,subscribeMapChange:w,nextIndexRef:u}),[m,g,w,u]);return K.jsx(Au.Provider,{value:x,children:t})}function Mb(){return new Map}function Tb(){return new Set}function Ib(e){const t=new Set,n=[],o=[];e.forEach((s,i)=>{if(!i.isConnected)return;const a=s.index,l={index:a??-1,element:i,registration:s};a===null?o.push(l):a>=0&&(t.add(a),n.push(l))});let r=0;return o.sort((s,i)=>Od(s.element,i.element)),o.forEach(s=>{for(;t.has(r);)r+=1;s.index=r,n.push(s),r+=1}),t.size>0&&n.sort((s,i)=>s.index-i.index),[n,o.map(s=>s.element)]}function Ob(e,t){let n=e.parentElement;for(;n&&!n.contains(t);)n=n.parentElement;return n}function Ab(e){for(const t of e)for(let n=0;n<t.removedNodes.length;n+=1)if(t.removedNodes[n].isConnected)return!0;return!1}function Od(e,t){return e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING?-1:1}const Ia=c.forwardRef(function(t,n){const{cutout:o,...r}=t;let s;if(o){const i=o.getBoundingClientRect();s=`polygon(0% 0%,100% 0%,100% 100%,0% 100%,0% 0%,${i.left}px ${i.top}px,${i.left}px ${i.bottom}px,${i.right}px ${i.bottom}px,${i.right}px ${i.top}px,${i.left}px ${i.top}px)`}return K.jsx("div",{ref:n,role:"presentation","data-base-ui-inert":"",...r,style:{position:"fixed",inset:0,userSelect:"none",WebkitUserSelect:"none",clipPath:s}})});function Oa(e,t,{styles:n,transitionStatus:o,props:r,refs:s,hidden:i,inert:a=!1}){const l={...n};return a&&(l.pointerEvents="none"),Se("div",e,{state:t,ref:s,props:[{role:"presentation",hidden:i,style:l},hs(o),r],stateAttributesMapping:Kr})}let il={},al={},cl="";function ys(e,t){return jo(e)?e:t}function ll(e,t,n){return/hidden|clip/.test(e.getComputedStyle(ys(t,n)).overflowY)}function Nb(e){if(typeof document>"u")return!1;const t=Te(e);return He(t).innerWidth-t.documentElement.clientWidth>0}function Db(e){if(!(typeof CSS<"u"&&CSS.supports&&CSS.supports("scrollbar-gutter","stable"))||typeof document>"u")return!1;const n=Te(e),o=n.documentElement,r=n.body,s=ys(o,r),i=s.style.overflowY,a=o.style.scrollbarGutter;o.style.scrollbarGutter="stable",s.style.overflowY="scroll";const l=s.offsetWidth;s.style.overflowY="hidden";const u=s.offsetWidth;return s.style.overflowY=i,o.style.scrollbarGutter=a,l===u}function _b(e){const t=Te(e),n=t.documentElement,o=t.body,r=ys(n,o),s={overflowY:r.style.overflowY,overflowX:r.style.overflowX};return Object.assign(r.style,{overflowY:"hidden",overflowX:"hidden"}),()=>{Object.assign(r.style,s)}}function Lb(e){var y;const t=Te(e),n=t.documentElement,o=t.body,r=He(n);let s=0,i=0,a=!1;const l=vt.create();if(qt&&(((y=r.visualViewport)==null?void 0:y.scale)??1)!==1)return()=>{};function u(){const m=r.getComputedStyle(n),g=r.getComputedStyle(o),v=(m.scrollbarGutter||"").includes("both-edges")?"stable both-edges":"stable";s=n.scrollTop,i=n.scrollLeft,il={scrollbarGutter:n.style.scrollbarGutter,overflowY:n.style.overflowY,overflowX:n.style.overflowX},cl=n.style.scrollBehavior,al={position:o.style.position,height:o.style.height,width:o.style.width,boxSizing:o.style.boxSizing,overflowY:o.style.overflowY,overflowX:o.style.overflowX,scrollBehavior:o.style.scrollBehavior};const w=n.scrollHeight>n.clientHeight,x=n.scrollWidth>n.clientWidth,S=m.overflowY==="scroll"||g.overflowY==="scroll",R=m.overflowX==="scroll"||g.overflowX==="scroll",E=Math.max(0,r.innerWidth-o.clientWidth),k=Math.max(0,r.innerHeight-o.clientHeight),M=parseFloat(g.marginTop)+parseFloat(g.marginBottom),C=parseFloat(g.marginLeft)+parseFloat(g.marginRight),O=ys(n,o);if(a=Db(e),a){n.style.scrollbarGutter=v,O.style.overflowY="hidden",O.style.overflowX="hidden";return}Object.assign(n.style,{scrollbarGutter:v,overflowY:"hidden",overflowX:"hidden"}),(w||S)&&(n.style.overflowY="scroll"),(x||R)&&(n.style.overflowX="scroll"),Object.assign(o.style,{position:"relative",height:M||k?`calc(100dvh - ${M+k}px)`:"100dvh",width:C||E?`calc(100vw - ${C+E}px)`:"100vw",boxSizing:"border-box",overflowY:"hidden",overflowX:"hidden",scrollBehavior:"unset"}),o.scrollTop=s,o.scrollLeft=i,n.setAttribute("data-base-ui-scroll-locked",""),n.style.scrollBehavior="unset"}function d(){Object.assign(n.style,il),Object.assign(o.style,al),a||(n.scrollTop=s,n.scrollLeft=i,n.removeAttribute("data-base-ui-scroll-locked"),n.style.scrollBehavior=cl)}function p(){d(),l.request(u)}u();const f=Me(r,"resize",p);return()=>{l.cancel(),d(),typeof r.removeEventListener=="function"&&f()}}class Fb{constructor(){Ne(this,"lockCount",0);Ne(this,"restore",null);Ne(this,"timeoutLock",Lt.create());Ne(this,"timeoutUnlock",Lt.create());Ne(this,"release",()=>{this.lockCount-=1,this.lockCount===0&&this.restore&&this.timeoutUnlock.start(0,this.unlock)});Ne(this,"unlock",()=>{var t;this.lockCount===0&&this.restore&&((t=this.restore)==null||t.call(this),this.restore=null)})}acquire(t){return this.lockCount+=1,this.lockCount===1&&this.restore===null&&this.timeoutLock.start(0,()=>this.lock(t)),this.release}lock(t){if(this.lockCount===0||this.restore!==null)return;const n=Te(t),o=n.documentElement,r=n.body,s=He(o);if(ll(s,o,r)){const a=new s.MutationObserver(()=>{ll(s,o,r)||(a.disconnect(),this.restore=null,this.lock(t))}),l={attributes:!0};a.observe(o,l),a.observe(r,l),this.restore=()=>a.disconnect();return}const i=ts||!Nb(t);this.restore=i?_b(t):Lb(t)}}const zb=new Fb;function Ad(e=!0,t=null){oe(()=>{if(e)return zb.acquire(t)},[e,t])}const Vb=20;function Nd(e,t,n,o){const[r,s]=c.useState(!1);oe(()=>{if(!e||!t||n==null){s(!1);return}const i=Te(n).documentElement.clientWidth,a=n.offsetWidth;s(i>0&&a>0&&a>=i-Vb)},[e,t,n]),Ad(e&&(!t||r),o)}const oE=c.forwardRef(function(t,n){var ge;const{anchor:o,positionMethod:r="absolute",className:s,render:i,side:a,align:l,sideOffset:u=0,alignOffset:d=0,collisionBoundary:p="clipping-ancestors",collisionPadding:f=5,arrowPadding:y=5,sticky:m=!1,disableAnchorTracking:g=!1,collisionAvoidance:h=Qu,style:b,...v}=t,{store:w}=cn(),x=wb(),S=Zr(!0),R=w.useState("parent"),E=w.useState("floatingRootContext"),k=w.useState("floatingTreeRoot"),M=w.useState("mounted"),C=w.useState("open"),O=w.useState("modal"),I=w.useState("openMethod"),N=w.useState("activeTriggerElement"),D=w.useState("transitionStatus"),P=w.useState("positionerElement"),z=w.useState("instantType"),_=w.useState("adaptiveOrigin"),A=w.useState("lastOpenChangeReason"),F=w.useState("floatingNodeId"),T=w.useState("floatingParentNodeId"),L=E.useState("domReferenceElement"),j=c.useRef(null),$=Qi(P);let U=o,q=u,V=d,Q=l,H=h;R.type==="context-menu"&&(U=o??((ge=R.context)==null?void 0:ge.anchor),Q=Q??"start",!a&&Q!=="center"&&(V=t.alignOffset??2,q=t.sideOffset??-5));let G=a,ue=Q;R.type==="menu"?(G=G??"inline-end",ue=ue??"start",H=t.collisionAvoidance??Ju):R.type==="menubar"&&(G=G??(R.context.orientation==="vertical"?"inline-end":"bottom"),ue=ue??"start");const ne=R.type==="context-menu",te=Ta({anchor:U,floatingRootContext:E,positionMethod:S?"fixed":r,mounted:M,side:G,sideOffset:q,align:ue,alignOffset:V,arrowPadding:ne?0:y,collisionBoundary:p,collisionPadding:f,sticky:m,nodeId:F,keepMounted:x,disableAnchorTracking:g,collisionAvoidance:H,shift:ne?{crossAxis:!("side"in H&&H.side==="flip"),rootBoundary:"layoutViewport"}:void 0,externalTree:k,adaptiveOrigin:_});c.useEffect(()=>{function de(ce){ce.open&&(ce.parentNodeId===F&&w.set("hoverEnabled",!1),ce.nodeId!==F&&ce.parentNodeId===w.select("floatingParentNodeId")&&w.setOpen(!1,ke(To)))}return k.events.on("menuopenchange",de),()=>{k.events.off("menuopenchange",de)}},[w,k.events,F]),c.useEffect(()=>{if(w.select("floatingParentNodeId")==null)return;function de(ce){if(ce.open||ce.nodeId!==w.select("floatingParentNodeId"))return;const fe=ce.reason??To;w.setOpen(!1,ke(fe))}return k.events.on("menuopenchange",de),()=>{k.events.off("menuopenchange",de)}},[k.events,w]);const J=Ge();c.useEffect(()=>{C||J.clear()},[C,J]),c.useEffect(()=>{function de(ce){if(!(!C||ce.nodeId!==w.select("floatingParentNodeId")))if(ce.target&&N&&N!==ce.target){const fe=w.select("closeDelay");fe>0?J.isStarted()||J.start(fe,()=>{w.setOpen(!1,ke(To))}):w.setOpen(!1,ke(To))}else J.clear()}return k.events.on("itemhover",de),()=>{k.events.off("itemhover",de)}},[k.events,C,N,w,J]),c.useEffect(()=>{const de={open:C,nodeId:F,parentNodeId:T,reason:w.select("lastOpenChangeReason")};k.events.emit("menuopenchange",de)},[k.events,C,w,F,T]),oe(()=>{const de=L,ce=j.current;if(de&&(j.current=de),ce&&de&&de!==ce){w.set("instantType",void 0);const fe=new AbortController;return $(()=>{w.set("instantType","trigger-change")},fe.signal),()=>{fe.abort()}}},[L,$,w]);const ee={open:C,side:te.side,align:te.align,anchorHidden:te.anchorHidden,nested:R.type==="menu",instant:z},ie=R.type==="menubar"&&R.context.modal;Nd(C&&(ie||O&&A!==rt),I==="touch",P,N);const ae=Oa(t,ee,{styles:te.positionerStyles,transitionStatus:D,props:v,refs:[n,w.useStateSetter("positionerElement")],hidden:!M,inert:!C}),he=M&&R.type!=="menu"&&(R.type!=="menubar"&&O&&A!==rt||R.type==="menubar"&&R.context.modal);let re=null;return R.type==="menubar"?re=R.context.contentElement:R.type===void 0&&(re=N),K.jsxs(Mu.Provider,{value:te,children:[he&&K.jsx(Ia,{ref:R.type==="context-menu"||R.type==="nested-context-menu"?R.context.internalBackdropRef:null,inert:gs(!C),cutout:re}),K.jsx(X0,{id:F,children:K.jsx(ms,{elementsRef:w.context.itemDomElements,labelsRef:w.context.itemLabels,children:ae})})]})}),Dd=c.createContext(void 0);function $b(){const e=c.useContext(Dd);if(e===void 0)throw new Error(De(34));return e}const rE=c.memo(c.forwardRef(function(t,n){const{render:o,className:r,value:s,defaultValue:i,onValueChange:a,disabled:l=!1,style:u,"aria-labelledby":d,...p}=t,[f,y]=c.useState(void 0),[m,g]=_t({controlled:s,default:i,name:"MenuRadioGroup"}),h=le((x,S)=>{a==null||a(x,S),!S.isCanceled&&g(x)}),v=Se("div",t,{state:{disabled:l},ref:n,props:{role:"group","aria-labelledby":d??f,"aria-disabled":l||void 0,...p}}),w=c.useMemo(()=>({value:m,setValue:h,disabled:l}),[m,h,l]);return K.jsx(Ji.Provider,{value:y,children:K.jsx(Dd.Provider,{value:w,children:v})})})),_d=c.createContext(void 0);function Hb(){const e=c.useContext(_d);if(e===void 0)throw new Error(De(35));return e}const sE=c.forwardRef(function(t,n){const{render:o,className:r,id:s,label:i,nativeButton:a=!1,disabled:l=!1,closeOnClick:u=!1,value:d,style:p,...f}=t,y=yo({guess:!0,label:i}),m=Xr(!0),g=tt(s),{store:h}=cn(),b=h.useState("isActive",y.index),v=h.useState("itemProps"),{value:w,setValue:x,disabled:S}=$b(),R=h.useState("disabled"),E=l||S||R,k=w===d,{getItemProps:M,itemRef:C}=Ki({closeOnClick:u,disabled:E,highlighted:b,id:g,store:h,nativeButton:a,nodeId:m==null?void 0:m.context.nodeId,itemMetadata:Xi}),O=c.useMemo(()=>({disabled:E,highlighted:b,checked:k}),[E,b,k]);function I(D){const P=ke(An,D.nativeEvent,void 0,{preventUnmountOnClose:Ke});x(d,P)}const N=Se("div",t,{state:O,stateAttributesMapping:ns,props:[v,{role:"menuitemradio","aria-checked":k,onClick:I},f,M],ref:[C,n,y.ref]});return K.jsx(_d.Provider,{value:O,children:N})}),iE=c.forwardRef(function(t,n){const{render:o,className:r,style:s,keepMounted:i=!1,...a}=t,l=Hb(),u=c.useRef(null),{transitionStatus:d,mounted:p,setMounted:f}=ln(l.checked);kt({open:l.checked,ref:u,onComplete(){l.checked||f(!1)}});const y={checked:l.checked,disabled:l.disabled,highlighted:l.highlighted,transitionStatus:d};return Se("span",t,{state:y,stateAttributesMapping:ns,ref:[n,u],props:{"aria-hidden":!0,...a},enabled:i||p})}),jb=c.createContext(null);function Ld(e){return c.useContext(jb)}function Bb(e){const t=c.useRef(""),n=c.useCallback(r=>{r.defaultPrevented||(t.current=r.pointerType,e(r,r.pointerType))},[e]);return{onClick:c.useCallback(r=>{if(r.detail===0){e(r,"keyboard");return}"pointerType"in r?e(r,r.pointerType):e(r,t.current),t.current=""},[e]),onPointerDown:n}}function bs(e,t){const n=c.useRef(e),o=le(t);oe(()=>{n.current!==e&&o(n.current),n.current=e},[e,o])}function Fd(e,t){const n=le((s,i)=>{(typeof e=="function"?e():e)||t(i||(ts?"touch":""))}),{onClick:o,onPointerDown:r}=Bb(n);return c.useMemo(()=>({onClick:o,onPointerDown:r}),[o,r])}function zd(e){const[t,n]=c.useState(null),o=Fd(e,n);return bs(e,r=>{r&&!e&&n(null)}),c.useMemo(()=>({openMethod:t,triggerProps:o}),[t,o])}const Wb={...ka,disabled:e=>e.parent.type==="menubar"&&e.parent.context.disabled||e.disabled,modal:e=>(e.parent.type===void 0||e.parent.type==="context-menu")&&(e.modal??!0),openMethod:e=>e.openMethod,allowMouseEnter:e=>e.allowMouseEnter,highlightItemOnHover:e=>e.highlightItemOnHover,parent:e=>e.parent,rootId:e=>e.parent.type==="menu"?e.parent.store.select("rootId"):e.parent.type!==void 0?e.parent.context.rootId:e.rootId,activeIndex:e=>e.activeIndex,isActive:(e,t)=>e.activeIndex===t,hoverEnabled:e=>e.hoverEnabled,instantType:e=>e.instantType,lastOpenChangeReason:e=>e.openChangeReason,floatingTreeRoot:e=>e.parent.type==="menu"?e.parent.store.select("floatingTreeRoot"):e.floatingTreeRoot,floatingNodeId:e=>e.floatingNodeId,floatingParentNodeId:e=>e.floatingParentNodeId,itemProps:e=>e.itemProps,closeDelay:e=>e.closeDelay,adaptiveOrigin:e=>e.adaptiveOrigin,keyboardEventRelay:e=>{if(e.keyboardEventRelay)return e.keyboardEventRelay;if(e.parent.type==="menu")return e.parent.store.select("keyboardEventRelay")}};class Ub extends Uo{constructor(n){super({...qb(),...n},Gb(),Wb);Ne(this,"unsubscribeParentListener",null);this.unsubscribeParentListener=this.observe("parent",o=>{var r;if((r=this.unsubscribeParentListener)==null||r.call(this),o.type==="menu"){let s=o.store.select("rootId"),i=o.store.select("floatingTreeRoot"),a=o.store.select("keyboardEventRelay");this.unsubscribeParentListener=o.store.subscribe(()=>{const l=o.store.select("rootId"),u=o.store.select("floatingTreeRoot"),d=o.store.select("keyboardEventRelay");s===l&&i===u&&a===d||(s=l,i=u,a=d,this.notifyAll())}),this.context.allowMouseUpTriggerRef=o.store.context.allowMouseUpTriggerRef;return}o.type!==void 0&&(this.context.allowMouseUpTriggerRef=o.context.allowMouseUpTriggerRef),this.unsubscribeParentListener=null})}setOpen(n,o){this.state.floatingRootContext.context.events.emit("setOpen",{open:n,eventDetails:o})}}function Gb(){return{positionerRef:c.createRef(),popupRef:c.createRef(),typingRef:{current:!1},itemDomElements:{current:[]},itemLabels:{current:[]},allowMouseUpTriggerRef:{current:!1},triggerFocusTargetRef:c.createRef(),beforeContentFocusGuardRef:c.createRef(),onOpenChangeComplete:void 0,triggerElements:new Go}}function qb(){return{...Sa(),disabled:!1,modal:!0,openMethod:null,allowMouseEnter:!1,highlightItemOnHover:!0,parent:{type:void 0},rootId:void 0,activeIndex:null,hoverEnabled:!0,instantType:void 0,openChangeReason:null,floatingTreeRoot:new ua,floatingNodeId:void 0,floatingParentNodeId:null,itemProps:We,keyboardEventRelay:void 0,closeDelay:0,adaptiveOrigin:void 0}}const Yb=c.createContext(void 0);function Xb(){return c.useContext(Yb)}const Kb=ga(function(t){const{children:n,open:o,onOpenChange:r,onOpenChangeComplete:s,defaultOpen:i=!1,disabled:a=!1,modal:l,loopFocus:u=!0,orientation:d="vertical",actionsRef:p,closeParentOnEsc:f=!1,handle:y,triggerId:m,defaultTriggerId:g=null,highlightItemOnHover:h=!0}=t,b=Zr(!0),v=cn(!0),w=Ld(!0),x=Xb(),S=c.useMemo(()=>x&&v?{type:"menu",store:v.store}:w?{type:"menubar",context:w}:b&&!v?{type:"context-menu",context:b}:{type:void 0},[b,v,w,x]),R=Zb({open:i,openProp:o,activeTriggerId:g,triggerIdProp:m,parent:S});R.useControlledProp("openProp",o),R.useControlledProp("triggerIdProp",m),R.useContextCallback("onOpenChangeComplete",s);const E=bn(),k=bn(),M=R.useState("floatingTreeRoot"),C=id(M),O=En(),I=R.useState("open"),N=R.useState("activeTriggerElement"),D=R.useState("positionerElement"),P=R.useState("hoverEnabled"),z=R.useState("disabled"),_=R.useState("lastOpenChangeReason"),A=R.useState("parent"),F=R.useState("activeIndex"),T=R.useState("payload"),L=R.useState("floatingParentNodeId"),j=c.useRef(null),$=c.useRef(A.type!=="context-menu"),U=Ge(),q=c.useRef(!0),V=Ge(),Q=L!=null,{openMethod:H,triggerProps:G}=zd(I);R.useSyncedValues({disabled:a,highlightItemOnHover:h,modal:A.type===void 0?l:void 0,openMethod:H,rootId:E}),va(R);const{forceUnmount:ue}=xa(I,R,()=>{R.set("allowMouseEnter",!1)});oe(()=>{b&&!v?R.update({parent:{type:"context-menu",context:b},floatingNodeId:C,floatingParentNodeId:O}):v&&R.update({floatingNodeId:C,floatingParentNodeId:O})},[b,v,C,O,R]),c.useEffect(()=>{if(I||(j.current=null),A.type==="context-menu"){if(!I){U.clear(),$.current=!1;return}U.start(500,()=>{$.current=!0})}},[U,I,A.type]),oe(()=>{!I&&!P&&R.set("hoverEnabled",!0)},[I,P,R]);const ne=le((X,pe)=>{const be=pe.reason;if(!X&&!R.select("open")||I===X&&pe.trigger===N&&_===be)return;const _e=vd(pe);if(!X&&pe.trigger==null&&(pe.trigger=N??void 0),r==null||r(X,pe),pe.isCanceled)return;R.state.floatingRootContext.dispatchOpenChange(X,pe);const Ue=pe.event;if(X===!1&&(Ue==null?void 0:Ue.type)==="click"&&Ue.pointerType==="touch"&&!q.current)return;X&&be===Jn?(q.current=!1,V.start(300,()=>{q.current=!0})):(q.current=!0,V.clear());const Ye=(be===Rn||be===An)&&Ue.detail===0,st=!X&&(be===Jr||be==null),Le={open:X,openChangeReason:be};j.current=pe.event,ya(Le,X,pe.trigger,_e()),R.update(Le),A.type==="menubar"&&(be===Jn||be===Dn||be===rt||be===ti||be===To)?R.set("instantType","group"):Ye||st?R.set("instantType",Ye?"click":"dismiss"):R.set("instantType",void 0)}),te=yd({popupStore:R,floatingId:k,nested:O!=null,onOpenChange:ne}),J=te.context.events;oe(()=>{const X=({open:pe,eventDetails:be})=>ne(pe,be);return J.on("setOpen",X),()=>{J==null||J.off("setOpen",X)}},[J,ne]);const ee=c.useCallback(()=>{R.setOpen(!1,ke(Gi))},[R]);c.useImperativeHandle(p,()=>({unmount:ue,close:ee}),[ue,ee]);let ie;A.type==="context-menu"&&(ie=A.context),c.useImperativeHandle(ie==null?void 0:ie.positionerRef,()=>D,[D]),c.useImperativeHandle(ie==null?void 0:ie.actionsRef,()=>({setOpen:ne}),[ne]);const xe=as(te,{enabled:!z,bubbles:{escapeKey:f&&A.type==="menu"},outsidePress(){var X;return A.type!=="context-menu"||((X=j.current)==null?void 0:X.type)==="contextmenu"?!0:$.current},externalTree:Q?M:void 0}),ae=bo(),he=c.useCallback(X=>{R.select("activeIndex")!==X&&R.set("activeIndex",X)},[R]),re=Cd(te,{enabled:!z,listRef:R.context.itemDomElements,activeIndex:F,nested:A.type!==void 0,loopFocus:u,orientation:d,parentOrientation:A.type==="menubar"?A.context.orientation:void 0,rtl:ae==="rtl",disabledIndices:Dt,onNavigate:he,openOnArrowKeyDown:A.type!=="context-menu",externalTree:Q?M:void 0,focusItemOnHover:h}),ge=c.useCallback(X=>{R.context.typingRef.current=X},[R]),de=Pd(te,{enabled:!z,listRef:R.context.itemLabels,elementsRef:R.context.itemDomElements,activeIndex:F,resetMs:W0,onMatch:X=>{I&&X!==F&&R.set("activeIndex",X)},onTyping:ge}),ce=c.useMemo(()=>{const X=St(de.reference,re.reference,xe.reference,{onMouseMove(){R.set("allowMouseEnter",!0)}},G);return X["aria-haspopup"]="menu",X["aria-expanded"]=I,X},[R,de.reference,re.reference,xe.reference,G,I]),fe=c.useMemo(()=>{const X=St(re.trigger,xe.trigger,G);return X["aria-haspopup"]="menu",X["aria-expanded"]=!1,X},[re.trigger,xe.trigger,G]),W=c.useMemo(()=>St(ds,{id:k,role:"menu","aria-labelledby":N==null?void 0:N.id,onMouseMove(){R.set("allowMouseEnter",!0),A.type==="menu"&&R.set("hoverEnabled",!1)},onClick(){R.select("hoverEnabled")&&R.set("hoverEnabled",!1)},onKeyDown(X){const pe=R.select("keyboardEventRelay");pe&&!X.isPropagationStopped()&&pe(X)}},de.floating,re.floating,xe.floating),[N,k,A.type,R,de.floating,re.floating,xe.floating]),Y=re.item??We;wa(R,{floatingRootContext:te,activeTriggerProps:ce,inactiveTriggerProps:fe,popupProps:W,itemProps:Y});const se=c.useMemo(()=>({store:R,parent:S}),[R,S]),Z=K.jsxs(ji.Provider,{value:se,children:[y&&K.jsx(ma,{handle:y,store:R}),typeof n=="function"?n({payload:T}):n]});return A.type===void 0||A.type==="context-menu"?K.jsx(K0,{externalTree:M,children:Z}):Z});function Zb(e){return at(()=>new Ub(e)).current}const ur=5;function Vd(e,t){const n=Qb(t);return e.clientX>=n.left-ur&&e.clientX<=n.right+ur&&e.clientY>=n.top-ur&&e.clientY<=n.bottom+ur}function Qb(e){const t=e.getBoundingClientRect(),n=He(e);if(Yi)return t;const o=n.getComputedStyle(e,"::before"),r=n.getComputedStyle(e,"::after");if(!(o.content!=="none"||r.content!=="none"))return t;const i=parseFloat(o.width)||0,a=parseFloat(o.height)||0,l=parseFloat(r.width)||0,u=parseFloat(r.height)||0,d=Math.max(t.width,i,l),p=Math.max(t.height,a,u),f=d-t.width,y=p-t.height;return{left:t.left-f/2,right:t.right+f/2,top:t.top-y/2,bottom:t.bottom+y/2}}function $d(e={}){const{highlightItemOnHover:t,highlightedIndex:n,onHighlightedIndexChange:o}=Yr(),{ref:r,index:s}=yo(e),i=n===s,a=c.useRef(null),l=Nt(r,a);return{compositeProps:{tabIndex:i?0:-1,onFocus(){o(s)},onMouseMove(){const d=a.current;if(!t||!d)return;const p=d.hasAttribute("disabled")||d.ariaDisabled==="true";!i&&!p&&d.focus()}},compositeRef:l,index:s}}function Hd(e){const{render:t,className:n,style:o,state:r=We,props:s=Dt,refs:i=Dt,metadata:a,stateAttributesMapping:l,tag:u="div",...d}=e,{compositeProps:p,compositeRef:f}=$d({metadata:a});return Se(u,e,{state:r,ref:[f,...i],props:[p,...s,d],stateAttributesMapping:l})}function Aa(e){if(Fe(e)&&e.hasAttribute("data-rootownerid"))return e.getAttribute("data-rootownerid");if(!en(e))return Aa(on(e))}function Jb(e,t){const n=c.useRef(null);function o(s){At.flushSync(()=>{e.setOpen(!1,ke(Dn,s.nativeEvent,s.currentTarget))});const i=$0(n.current);i==null||i.focus()}function r(s){var a;const i=e.select("positionerElement");if(i&&eo(s,i))(a=e.context.beforeContentFocusGuardRef.current)==null||a.focus();else{At.flushSync(()=>{e.setOpen(!1,ke(Dn,s.nativeEvent,s.currentTarget))});let l=V0(e.context.triggerFocusTargetRef.current||t.current);for(;l!==null&&ve(i,l);){const u=l;if(l=ca(l),l===u)break}l==null||l.focus()}}return{preFocusGuardRef:n,handlePreFocusGuardFocus:o,handleFocusTargetFocus:r}}function ev(e){const{enabled:t=!0,mouseDownAction:n,open:o}=e,r=c.useRef(!1);return c.useMemo(()=>t?{onMouseDown:s=>{(n==="open"&&!o||n==="close"&&o)&&(r.current=!0,Te(s.currentTarget).addEventListener("click",()=>{r.current=!1},{once:!0}))},onClick:s=>{r.current&&(r.current=!1,s.preventBaseUIHandler())}}:We,[t,n,o])}const aE=md(function(t,n){const{render:o,className:r,style:s,disabled:i=!1,nativeButton:a=!0,id:l,openOnHover:u,delay:d=100,closeDelay:p=0,handle:f,payload:y,...m}=t,g=cn(!0),b=Ea(f)??(g==null?void 0:g.store);if(!b)throw new Error(De(85));const v=tt(l),w=b.useState("isTriggerActive",v),x=b.useState("floatingRootContext"),S=b.useState("isOpenedByTrigger",v),R=b.useState("triggerPopupId",v),E=c.useRef(null),k=nv(),M=Yr(!0),C=Cn(),O=c.useMemo(()=>C??new ua,[C]),I=id(O),N=En(),{registerTrigger:D,isMountedByThisTrigger:P}=ba(v,E,b,{payload:y,closeDelay:p,parent:k,floatingTreeRoot:O,floatingNodeId:I,floatingParentNodeId:N,keyboardEventRelay:M==null?void 0:M.relayKeyboardEvent}),z=k.type==="menubar",_=b.useState("disabled"),A=i||_||z&&k.context.disabled,{getButtonProps:F,buttonRef:T}=Tt({disabled:A,native:a});c.useEffect(()=>{!S&&k.type===void 0&&(b.context.allowMouseUpTriggerRef.current=!1)},[b,S,k.type]);const L=c.useRef(null),j=Ge(),$=le(ge=>{if(!L.current)return;j.clear(),b.context.allowMouseUpTriggerRef.current=!1;const de=ge.target;ve(L.current,de)||ve(b.select("positionerElement"),de)||de===L.current||de!=null&&Aa(de)===b.select("rootId")||Vd(ge,L.current)||O.events.emit("close",{domEvent:ge,reason:Ui})});c.useEffect(()=>{S&&b.select("lastOpenChangeReason")===rt&&Te(L.current).addEventListener("mouseup",$,{once:!0})},[S,$,b]);const U=z&&k.context.hasSubmenuOpen,V=Ed(x,{enabled:(u??U)&&!A&&(!z||U&&!P),handleClose:Md({blockPointerEvents:!z}),mouseOnly:!0,move:!1,restMs:k.type===void 0?d:void 0,delay:{close:p},triggerElementRef:E,externalTree:O,isActiveTrigger:w,isClosing:()=>b.select("transitionStatus")==="ending"}),Q=tv(S,b.select("lastOpenChangeReason")),H=pa(x,{enabled:!A,event:S&&z?"click":"mousedown",toggle:!0,ignoreMouse:!1,stickIfOpen:k.type===void 0?Q:!1}),G=Sd(x,{enabled:!A&&U}),ue=ev({open:S,enabled:z,mouseDownAction:"open"}),ne=c.useMemo(()=>St(G.reference,H.reference),[G.reference,H.reference]),te=b.useState("triggerProps",P),{preFocusGuardRef:J,handlePreFocusGuardFocus:ee,handleFocusTargetFocus:ie}=Jb(b,E),xe={disabled:A,open:S},ae=[L,n,T,D,E],he=[ne,V??We,te,{"aria-haspopup":"menu","aria-controls":R,id:v,onMouseDown:ge=>{if(b.select("open"))return;j.start(200,()=>{b.context.allowMouseUpTriggerRef.current=!0}),Te(ge.currentTarget).addEventListener("mouseup",$,{once:!0})}},z?{role:"menuitem"}:{},ue,m,F],re=Se("button",t,{enabled:!z,stateAttributesMapping:Lr,state:xe,ref:ae,props:he});return z?K.jsx(Hd,{tag:"button",render:o,className:r,style:s,state:xe,refs:ae,props:he,stateAttributesMapping:Lr}):S?K.jsxs(c.Fragment,{children:[K.jsx(ao,{ref:J,onFocus:ee},`${v}-pre-focus-guard`),K.jsx(c.Fragment,{children:re},v),K.jsx(ao,{ref:b.context.triggerFocusTargetRef,onFocus:ie},`${v}-post-focus-guard`)]}):K.jsx(c.Fragment,{children:re},v)});function tv(e,t){const n=Ge(),[o,r]=c.useState(!1);return oe(()=>{e&&t===rt?(r(!0),n.start(U0,()=>{r(!1)})):e||(n.clear(),r(!1))},[e,t,n]),o}function nv(){const e=Ld();return c.useMemo(()=>e?{type:"menubar",context:e}:{type:void 0},[e])}function ov(e){const[t,n]=c.useState({current:e,previous:null});return Object.is(e,t.current)||n({current:e,previous:t.current}),t.previous}function ul(e){const t=xt(e);let n=parseFloat(t.width)||0,o=parseFloat(t.height)||0;const r=Fe(e),s=r?e.offsetWidth:n,i=r?e.offsetHeight:o;return(lo(n)!==s||lo(o)!==i)&&(n=s,o=i),{width:n,height:o}}const cE=c.forwardRef(function(t,n){const{className:o,render:r,orientation:s="horizontal",style:i,...a}=t;return Se("div",t,{state:{orientation:s},ref:n,props:[{role:"separator","aria-orientation":s},a]})});function jd(e){return e==null||e.hasAttribute("disabled")||e.getAttribute("aria-disabled")==="true"}function rv(e){const t=c.useRef(!0);t.current&&(t.current=!1,e())}const Bd=c.createContext(null);function Yt(){const e=c.useContext(Bd);if(e===null)throw new Error(De(60));return e}const sv={badInput:!1,customError:!1,patternMismatch:!1,rangeOverflow:!1,rangeUnderflow:!1,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valid:null,valueMissing:!1},iv={valid:null,touched:!1,dirty:!1,filled:!1,focused:!1},av={disabled:!1,...iv},vs={valid(e){return e===null?null:e?{"data-valid":""}:{"data-invalid":""}}},cv={invalid:void 0,name:void 0,validityData:{state:sv,errors:[],error:"",value:"",initialValue:null},setValidityData:Ke,disabled:void 0,setTouched:Ke,setDirty:Ke,setFilled:Ke,setFocused:Ke,validationMode:"onSubmit",shouldValidateOnChange:()=>!1,state:av,registerFieldControl:Ke,validation:{getValidationProps:(e,t=We)=>t,inputRef:{current:null},registeredInputs:new Map,registerInput:Ke,getInputControl:()=>null,commit:async()=>{},change:Ke}},lv=c.createContext(cv);function vo(e=!0){const t=c.useContext(lv);if(t.setValidityData===Ke&&!e)throw new Error(De(28));return t}function xs(e,t,n,o,r=!0,s){const{registerFieldControl:i}=vo(),a=at(()=>Symbol());oe(()=>{const l=a.current;if(!r){i(l,void 0);return}i(l,{controlRef:e,getValue:o,id:t,name:s,value:n})},[e,r,o,t,s,i,a,n]),oe(()=>{const l=a.current;return()=>{i(l,void 0)}},[i,a])}const uv=c.createContext({controlId:void 0,registerControlId:Ke,labelId:void 0,setLabelId:Ke,messageIds:[],setMessageIds:Ke,getDescriptionProps:e=>e});function qo(){return c.useContext(uv)}function ws(e={}){const{id:t,implicit:n=!1,controlRef:o}=e,{controlId:r,registerControlId:s}=qo(),i=tt(t),a=n?r:void 0,l=at(()=>Symbol()),u=c.useRef(!1),d=c.useRef(t!=null),p=le(()=>{!u.current||s===Ke||(u.current=!1,s(l.current,void 0))});return oe(()=>{if(s===Ke)return;let f;if(n){const y=o==null?void 0:o.current;Oe(y)&&y.closest("label")!=null?f=t??null:f=a??i}else if(t!=null)d.current=!0,f=t;else if(d.current)f=i;else{p();return}if(f===void 0){p();return}u.current=!0,s(l.current,f)},[t,o,a,s,n,i,l,p]),c.useEffect(()=>p,[p]),r??i}const dv=(e,t)=>Object.is(e,t);function uo(e,t,n){return e==null||t==null?Object.is(e,t):n(e,t)}function Pr(e,t,n){return!e||e.length===0?-1:e.findIndex(o=>o===void 0?!1:uo(o,t,n))}function fv(e,t,n){return e.filter(o=>!uo(t,o,n))}function yi(e){if(e==null)return"";if(typeof e=="string")return e;try{return JSON.stringify(e)}catch{return String(e)}}function Wd(e){return e!=null&&e.length>0&&typeof e[0]=="object"&&e[0]!=null&&"items"in e[0]}function pv(e){if(!Array.isArray(e))return e!=null&&"null"in e;const t=e;if(Wd(t)){for(const n of t)for(const o of n.items)if(o&&o.value==null&&o.label!=null)return!0;return!1}for(const n of t)if(n&&n.value==null&&n.label!=null)return!0;return!1}function Ud(e,t){if(t&&e!=null)return t(e)??"";if(e&&typeof e=="object"){if("label"in e&&e.label!=null)return String(e.label);if("value"in e)return String(e.value)}return yi(e)}function Xn(e,t){return t&&e!=null?t(e)??"":e&&typeof e=="object"&&"value"in e&&"label"in e?yi(e.value):yi(e)}function Gd(e,t,n){function o(){return Ud(e,n)}if(n&&e!=null)return n(e);if(e&&typeof e=="object"&&"label"in e&&e.label!=null)return e.label;if(t&&!Array.isArray(t))return t[e]??o();if(Array.isArray(t)){const r=t,s=Wd(r)?r.flatMap(i=>i.items):r;if(e==null||typeof e!="object"){const i=s.find(a=>a.value===e);return i&&i.label!=null?i.label:o()}if("value"in e){const i=s.find(a=>a&&a.value===e.value);if(i&&i.label!=null)return i.label}}return o()}function hv(e,t,n){return e.reduce((o,r,s)=>(s>0&&o.push(", "),o.push(K.jsx(c.Fragment,{children:Gd(r,t,n)},s)),o),[])}const Ce={id:e=>e.id,labelId:e=>e.labelId,modal:e=>e.modal,items:e=>e.items,itemToStringLabel:e=>e.itemToStringLabel,isItemEqualToValue:e=>e.isItemEqualToValue,value:e=>e.value,hasSelectedValue:e=>{const{value:t,multiple:n,itemToStringValue:o}=e;return t==null?!1:n&&Array.isArray(t)?t.length>0:Xn(t,o)!==""},hasNullItemLabel:(e,t)=>t?pv(e.items):!1,open:e=>e.open,mounted:e=>e.mounted,forceMount:e=>e.forceMount,transitionStatus:e=>e.transitionStatus,openMethod:e=>e.openMethod,activeIndex:e=>e.activeIndex,selectedIndex:e=>e.selectedIndex,isActive:(e,t)=>e.activeIndex===t,isSelected:(e,t)=>{const n=e.isItemEqualToValue,o=e.value;return e.multiple?Array.isArray(o)&&o.some(r=>uo(t,r,n)):uo(t,o,n)},isSelectedByFocus:(e,t)=>e.selectedIndex===t,popupProps:e=>e.popupProps,triggerProps:e=>e.triggerProps,triggerElement:e=>e.triggerElement,positionerElement:e=>e.positionerElement,listElement:e=>e.listElement,popupSide:e=>e.popupSide,scrollUpArrowVisible:e=>e.scrollUpArrowVisible,scrollDownArrowVisible:e=>e.scrollDownArrowVisible,hasScrollArrows:e=>e.hasScrollArrows},gv=c.createContext({elementRef:{current:null},formRef:{current:{fields:new Map}},errors:{},clearErrors:Ke,validationMode:"onSubmit",submitAttemptedRef:{current:!1}});function Ss(){return c.useContext(gv)}function mv(e,t,n=(o,r)=>o===r){return e.length===t.length&&e.every((o,r)=>n(o,t[r]))}function hn(e,t=Number.MIN_SAFE_INTEGER,n=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,n))}const Ot=1;function Na(e,t){return Math.max(0,e-t)}function fo(e,t){if(t<=0)return 0;const n=hn(e,0,t),o=n,r=t-n,s=o<=Ot,i=r<=Ot;return s&&i?o<=r?0:t:s?0:i?t:n}function lE(e){const{id:t,value:n,defaultValue:o=null,onValueChange:r,open:s,defaultOpen:i=!1,onOpenChange:a,name:l,form:u,autoComplete:d,disabled:p=!1,readOnly:f=!1,required:y=!1,modal:m=!0,actionsRef:g,inputRef:h,onOpenChangeComplete:b,items:v,multiple:w=!1,itemToStringLabel:x,itemToStringValue:S,isItemEqualToValue:R=dv,highlightItemOnHover:E=!0,children:k}=e,{clearErrors:M}=Ss(),{setDirty:C,setTouched:O,setFocused:I,validityData:N,setFilled:D,name:P,disabled:z,validation:_,validationMode:A}=vo(),F=ws({id:t}),T=z||p,L=P??l,[j,$]=_t({controlled:n,default:w?o??Dt:o,name:"Select",state:"value"}),[U,q]=_t({controlled:s,default:i,name:"Select",state:"open"}),V=c.useRef([]),Q=c.useRef([]),H=c.useRef(null),G=c.useRef(null),ue=c.useRef(0),ne=c.useRef(null),te=c.useRef([]),J=c.useRef(!1),ee=c.useRef(null),ie=c.useRef(null),xe=c.useRef({allowSelectedMouseUp:!1,allowUnselectedMouseUp:!1,dragY:0}),ae=c.useRef(!1),{mounted:he,setMounted:re,transitionStatus:ge}=ln(U),{openMethod:de,triggerProps:ce}=zd(U),fe=at(()=>new Uo({id:F,labelId:void 0,modal:m,multiple:w,itemToStringLabel:x,itemToStringValue:S,isItemEqualToValue:R,value:j,open:U,mounted:he,transitionStatus:ge,items:v,forceMount:!1,openMethod:null,activeIndex:null,selectedIndex:null,popupProps:{},triggerProps:{},triggerElement:null,positionerElement:null,listElement:null,popupSide:null,scrollUpArrowVisible:!1,scrollDownArrowVisible:!1,hasScrollArrows:!1})).current,W=Ee(fe,Ce.activeIndex),Y=Ee(fe,Ce.selectedIndex),se=Ee(fe,Ce.triggerElement),Z=Ee(fe,Ce.positionerElement),X=ov(de),pe=de??X,be=c.useMemo(()=>w?"":Xn(j,S),[w,j,S]),_e=c.useMemo(()=>w&&Array.isArray(j)?j.map(Pe=>Xn(Pe,S)):Xn(j,S),[w,j,S]),Ue=Ze(se),Ye=le(()=>_e);xs(Ue,F,j,Ye,!T,l);const st=c.useRef(j),Le=w?Array.isArray(j)&&j.length>0:j!=null&&be!=="";oe(()=>{D(Le)},[Le,D]),oe(function(){let ze=j,wt=!1;if(w){const Vt=Array.isArray(j)?j:[];wt=Vt.length===0,ze=Vt[Vt.length-1]}const zt=wt?-1:Pr(te.current,ze,R),Et=zt===-1?null:zt;Et===null&&(ie.current=null),!U&&fe.set("selectedIndex",Et)},[w,U,j,R,fe]);function Je(Pe){const ze=N.initialValue;return Array.isArray(Pe)&&Array.isArray(ze)?!mv(Pe,ze,(wt,zt)=>uo(wt,zt,R)):Pe!==ze}bs(j,()=>{M(L),C(Je(j)),_.change(j)});const ct=le((Pe,ze)=>{a==null||a(Pe,ze),!ze.isCanceled&&(q(Pe),!Pe&&(ze.reason===Dn||ze.reason===Qr)&&(O(!0),I(!1),A==="onBlur"&&_.commit(j)))}),Re=le(()=>{re(!1),fe.update({activeIndex:null,openMethod:null,scrollUpArrowVisible:!1,scrollDownArrowVisible:!1}),b==null||b(!1)});kt({enabled:!g,open:U,ref:H,onComplete(){U||Re()}}),c.useImperativeHandle(g,()=>({unmount:Re}),[Re]);const je=le((Pe,ze)=>{r==null||r(Pe,ze),!ze.isCanceled&&$(Pe)}),qe=le(Pe=>{const ze=Na(Pe.scrollHeight,Pe.clientHeight),wt=fo(Pe.scrollTop,ze),zt=wt>0,Et=wt<ze;fe.set("scrollUpArrowVisible",zt),fe.set("scrollDownArrowVisible",Et)}),Be=cb({open:U,onOpenChange:ct,elements:{reference:se,floating:Z}}),Xe=pa(Be,{enabled:!f&&!T,event:"mousedown"}),pt=as(Be),we=Cd(Be,{enabled:!f&&!T,listRef:V,activeIndex:W,selectedIndex:Y,disabledIndices:Dt,onNavigate(Pe){Pe===null&&!U||fe.set("activeIndex",Pe)},focusItemOnHover:E}),Ae=Pd(Be,{enabled:!f&&!T&&(U||!w),listRef:Q,activeIndex:W,selectedIndex:Y,disabledIndices:Pe=>jd(V.current[Pe]),onMatch(Pe){U?fe.set("activeIndex",Pe):je(te.current[Pe],ke(Rt))},onTyping(Pe){J.current=Pe}}),Qe=c.useMemo(()=>St(Ae.reference,we.reference,pt.reference,Xe.reference,ce),[Xe.reference,Ae.reference,we.reference,pt.reference,ce]),nt=c.useMemo(()=>St(ds,Ae.floating,we.floating,pt.floating),[Ae.floating,we.floating,pt.floating]),yt=we.item??We;rv(()=>{fe.update({popupProps:nt,triggerProps:Qe})}),fe.useSyncedValues({id:F,modal:m,multiple:w,value:j,open:U,mounted:he,transitionStatus:ge,popupProps:nt,triggerProps:Qe,items:v,itemToStringLabel:x,itemToStringValue:S,isItemEqualToValue:R,openMethod:pe});const bt=c.useMemo(()=>({store:fe,floatingContext:Be,required:y,disabled:T,readOnly:f,multiple:w,highlightItemOnHover:E,setValue:je,setOpen:ct,listRef:V,popupRef:H,scrollHandlerRef:G,handleScrollArrowVisibility:qe,scrollArrowsMountedCountRef:ue,itemProps:yt,valueRef:ne,valuesRef:te,labelsRef:Q,typingRef:J,selectionRef:xe,firstItemTextRef:ee,selectedItemTextRef:ie,validation:_,onOpenChangeComplete:b,alignItemWithTriggerActiveRef:ae,initialValueRef:st}),[fe,Be,y,T,f,w,E,je,ct,yt,_,b,qe]),Xt=Nt(h,_.inputRef),lt=w?void 0:L,ht=c.useMemo(()=>!w||!Array.isArray(j)||!L?null:j.map(Pe=>{const ze=Xn(Pe,S);return K.jsx("input",{type:"hidden",form:u,name:L,value:ze,disabled:T},ze)}),[w,j,u,L,S,T]);return K.jsxs(Bd.Provider,{value:bt,children:[k,K.jsx("input",{..._.getValidationProps(T,{onFocus(){var Pe;(Pe=fe.state.triggerElement)==null||Pe.focus({focusVisible:!0})},onChange(Pe){if(Pe.nativeEvent.defaultPrevented||T||f)return;const ze=Pe.currentTarget.value,wt=ke(Rt,Pe.nativeEvent);function zt(){if(w)return;const Et=ze.toLowerCase();let Vt=te.current.findIndex(So=>Xn(So,S).toLowerCase()===Et||Ud(So,x).toLowerCase()===Et);Vt===-1&&(Vt=te.current.findIndex((So,Mn)=>{const Qo=Q.current[Mn];return Qo!=null&&Qo.toLowerCase()===Et}));const Zo=te.current[Vt];Zo!=null&&je(Zo,wt)}fe.set("forceMount",!0),queueMicrotask(zt)}}),id:F&<==null?`${F}-hidden-input`:void 0,form:u,name:lt,autoComplete:d,value:be,disabled:T,required:y&&!(w&&Le),readOnly:f,ref:Xt,style:L?oa:Bo,tabIndex:-1,"aria-hidden":!0,suppressHydrationWarning:!0}),ht]})}function yv(e,t){const n=tt(e);return oe(()=>(t(n),()=>{t(o=>o===n?void 0:o)}),[n,t]),n}function bv(e,t){return e??t}const vv=400,xv={...Lr,...vs,popupSide:e=>e?{"data-popup-side":e}:null,value:()=>null},uE=c.forwardRef(function(t,n){var J;const{render:o,className:r,id:s,disabled:i=!1,nativeButton:a=!0,style:l,...u}=t,{setTouched:d,setFocused:p,validationMode:f,state:y,disabled:m}=vo(),{labelId:g}=qo(),{store:h,setOpen:b,selectionRef:v,validation:w,readOnly:x,required:S,alignItemWithTriggerActiveRef:R,disabled:E}=Yt(),k=m||E||i,M=Ee(h,Ce.open),C=Ee(h,Ce.mounted),O=Ee(h,Ce.value),I=Ee(h,Ce.triggerProps),N=Ee(h,Ce.positionerElement),D=Ee(h,Ce.listElement),P=Ee(h,Ce.popupSide),z=Ee(h,Ce.id),_=Ee(h,Ce.labelId),A=Ee(h,Ce.hasSelectedValue),F=C&&N?P:null,T=s??z,L=bv(g,_);ws({id:T});const j=Ze(N),$=c.useRef(null),{getButtonProps:U,buttonRef:q}=Tt({disabled:k,native:a}),V=h.useStateSetter("triggerElement"),Q=Ge(),H=Ge(),G=Ge();c.useEffect(()=>{if(M)return G.start(vv,()=>{v.current.allowUnselectedMouseUp=!0,v.current.allowSelectedMouseUp=!0}),()=>{G.clear()};v.current={allowSelectedMouseUp:!1,allowUnselectedMouseUp:!1,dragY:0},H.clear()},[M,v,H,G]);const ue=St(I,{id:T,role:"combobox","aria-expanded":M,"aria-haspopup":"listbox","aria-controls":M?(D==null?void 0:D.id)??((J=zr(N))==null?void 0:J.id):void 0,"aria-labelledby":L,"aria-readonly":x||void 0,"aria-required":S||void 0,tabIndex:k?-1:0,onFocus(ee){p(!0),M&&R.current&&b(!1,ke(Rt,ee.nativeEvent)),Q.start(0,()=>{h.set("forceMount",!0)})},onBlur(ee){ve(N,ee.relatedTarget)||(d(!0),p(!1),f==="onBlur"&&w.commit(O))},onMouseDown(ee){if(M)return;const ie=Te(ee.currentTarget);function xe(ae){if(!$.current)return;const he=ae.target;ve($.current,he)||ve(j.current,he)||Vd(ae,$.current)||b(!1,ke(Ui,ae))}H.start(0,()=>{ie.addEventListener("mouseup",xe,{once:!0})})}},u,U),ne=w.getValidationProps(k,ue);ne.role="combobox";const te={...y,open:M,disabled:k,value:O,readOnly:x,popupSide:F,placeholder:!A};return Se("button",t,{ref:[n,$,q,V],state:te,stateAttributesMapping:xv,props:ne})}),wv={value:()=>null},dE=c.forwardRef(function(t,n){const{className:o,render:r,children:s,placeholder:i,style:a,...l}=t,{store:u,valueRef:d}=Yt(),p=Ee(u,Ce.value),f=Ee(u,Ce.items),y=Ee(u,Ce.itemToStringLabel),m=Ee(u,Ce.hasSelectedValue),g=!m&&i!=null&&s==null,h=Ee(u,Ce.hasNullItemLabel,g),b={value:p,placeholder:!m};let v=null;return typeof s=="function"?v=s(p):s!=null?v=s:g&&!h?v=i:Array.isArray(p)?v=hv(p,f,y):v=Gd(p,f,y),Se("span",t,{state:b,ref:[n,d],props:[{children:v},l],stateAttributesMapping:wv})}),fE=c.forwardRef(function(t,n){const{render:o,className:r,style:s,...i}=t,{store:a}=Yt(),u={open:Ee(a,Ce.open)};return Se("span",t,{state:u,ref:n,props:[{"aria-hidden":!0,children:"▼"},i],stateAttributesMapping:Bi})}),pE=c.forwardRef(function(t,n){const{store:o}=Yt(),r=Ee(o,Ce.mounted),s=Ee(o,Ce.forceMount);return r||s?K.jsx(la,{ref:n,...t}):null}),qd=c.createContext(void 0);function Da(){const e=c.useContext(qd);if(!e)throw new Error(De(59));return e}function Wr(e,t){e&&Object.assign(e.style,t)}const Yd={position:"relative",maxHeight:"100%",overflowX:"hidden",overflowY:"auto"},Sv={position:"fixed"},hE=c.forwardRef(function(t,n){const{anchor:o,className:r,render:s,positionMethod:i,side:a,align:l,sideOffset:u,alignOffset:d,collisionBoundary:p="clipping-ancestors",collisionPadding:f,arrowPadding:y,sticky:m,disableAnchorTracking:g,alignItemWithTrigger:h=!0,collisionAvoidance:b=Qu,style:v,...w}=t,{store:x,listRef:S,labelsRef:R,alignItemWithTriggerActiveRef:E,selectedItemTextRef:k,valuesRef:M,initialValueRef:C,popupRef:O,setValue:I,floatingContext:N}=Yt(),D=Ee(x,Ce.open),P=Ee(x,Ce.mounted),z=Ee(x,Ce.modal),_=Ee(x,Ce.value),A=Ee(x,Ce.openMethod),F=Ee(x,Ce.positionerElement),T=Ee(x,Ce.triggerElement),L=Ee(x,Ce.isItemEqualToValue),j=Ee(x,Ce.transitionStatus),$=c.useRef(null),U=c.useRef(null),[q,V]=c.useState(h),Q=P&&q&&A!=="touch";!P&&q!==h&&V(h),c.useImperativeHandle(E,()=>Q),Nd((Q||z)&&D,A==="touch",F,T);const H=Ta({anchor:o,floatingRootContext:N,positionMethod:i,mounted:P,side:a,sideOffset:u,align:l,alignOffset:d,arrowPadding:y,collisionBoundary:p,collisionPadding:f,sticky:m,disableAnchorTracking:g??Q,collisionAvoidance:b,keepMounted:!0}),G=Q?"none":H.side,ue=Q?Sv:H.positionerStyles,ne={open:D,side:G,align:H.align,anchorHidden:H.anchorHidden};oe(()=>{x.set("popupSide",H.side)},[x,H.side]);const te=x.useStateSetter("positionerElement"),J=Oa(t,ne,{styles:ue,transitionStatus:j,props:w,refs:[n,te],hidden:!P,inert:!D}),ee=c.useRef(0),ie=le(ae=>{if(M.current.length===0)return;const he=ee.current;if(ee.current=ae.size,ae.size===he)return;const re=ke(Rt);if(he!==0&&!x.state.multiple&&_!==null&&Pr(M.current,_,L)===-1){const de=C.current,fe=de!=null&&Pr(M.current,de,L)!==-1?de:null;I(fe,re),fe===null&&(x.set("selectedIndex",null),k.current=null)}if(he!==0&&x.state.multiple&&Array.isArray(_)){const ge=_.filter(de=>Pr(M.current,de,L)!==-1);ge.length!==_.length&&(I(ge,re),ge.length===0&&(x.set("selectedIndex",null),k.current=null))}if(D&&Q){x.update({scrollUpArrowVisible:!1,scrollDownArrowVisible:!1});const ge={height:""};Wr(F,ge),Wr(O.current,ge)}}),xe=c.useMemo(()=>({...H,side:G,alignItemWithTriggerActive:Q,setControlledAlignItemWithTrigger:V,scrollUpArrowRef:$,scrollDownArrowRef:U}),[H,G,Q,V]);return K.jsx(ms,{elementsRef:S,labelsRef:R,onMapChange:ie,children:K.jsxs(qd.Provider,{value:xe,children:[P&&z&&K.jsx(Ia,{inert:gs(!D),cutout:T}),J]})})}),dr="base-ui-disable-scrollbar",Vo={className:dr,getElement(e){return K.jsx("style",{nonce:e,href:dr,precedence:"base-ui:low",children:`.${dr}{scrollbar-width:none}.${dr}::-webkit-scrollbar{display:none}`})}},Rv=c.createContext(void 0),kv={disableStyleElements:!1};function _a(){return c.useContext(Rv)??kv}const Ev={...Kr,...Gt},gE=c.forwardRef(function(t,n){const{render:o,className:r,style:s,finalFocus:i,...a}=t,{store:l,popupRef:u,onOpenChangeComplete:d,setOpen:p,valueRef:f,firstItemTextRef:y,selectedItemTextRef:m,multiple:g,handleScrollArrowVisibility:h,scrollHandlerRef:b,listRef:v,highlightItemOnHover:w,floatingContext:x}=Yt(),{side:S,align:R,alignItemWithTriggerActive:E,isPositioned:k,setControlledAlignItemWithTrigger:M}=Da(),C=Ma()!=null,O=bo(),{nonce:I,disableStyleElements:N}=_a(),D=Ee(l,Ce.id),P=Ee(l,Ce.open),z=Ee(l,Ce.openMethod),_=Ee(l,Ce.mounted),A=Ee(l,Ce.popupProps),F=Ee(l,Ce.transitionStatus),T=Ee(l,Ce.triggerElement),L=Ee(l,Ce.positionerElement),j=Ee(l,Ce.listElement),$=c.useRef(!1),U=c.useRef(!1),q=c.useRef({}),V=io(),Q=le(ne=>{if(!L||!u.current||!U.current)return;const te=L.style.top==="0px",J=L.style.bottom==="0px";if($.current||!E||!te&&!J){h(ne);return}const ee=fl(L),ie=Io(L.getBoundingClientRect().height,"y",ee),xe=Te(L),ae=He(L),he=ae.getComputedStyle(L),re=parseFloat(he.marginTop),ge=parseFloat(he.marginBottom),de=dl(ae.getComputedStyle(u.current)),ce=Math.min(xe.documentElement.clientHeight-re-ge,de),fe=ne.scrollTop,W=fr(ne);let Y=null;const se=be=>{L.style.height=`${be}px`},Z=te?W-fe:fe,X=Math.min(ie+Z,ce);if(Z<=Ot){const be=hn(Z,0,ce-ie);be>0&&se(ie+be),ne.scrollTop=te?W:0,ce-(ie+be)<=Ot&&($.current=!0),h(ne);return}if(ce-X>Ot)Y=te?1/0:0;else if(J&&fe<W){const be=ie+Z-ce;Y=fe-(Z-be)}const pe=Math.ceil(X);if(pe!==0&&se(pe),Y!=null){const be=hn(Y,0,fr(ne));Math.abs(ne.scrollTop-be)>Ot&&(ne.scrollTop=be)}pe>=ce-Ot&&($.current=!0),h(ne)});c.useImperativeHandle(b,()=>Q,[Q]),kt({open:P,ref:u,onComplete(){P&&(d==null||d(!0))}});const H={open:P,transitionStatus:F,side:S,align:R};oe(()=>{!L||!u.current||Object.keys(q.current).length||(q.current={top:L.style.top||"0",left:L.style.left||"0",right:L.style.right,height:L.style.height,bottom:L.style.bottom,minHeight:L.style.minHeight,maxHeight:L.style.maxHeight,marginTop:L.style.marginTop,marginBottom:L.style.marginBottom})},[u,L]),oe(()=>{P||E||(U.current=!1,$.current=!1,Wr(L,q.current))},[P,E,L,u]),oe(()=>{var J,ee;const ne=u.current;if(!P||!T||!L||!ne||E&&!k||l.state.transitionStatus==="ending")return;if(U.current=!0,ne.style.removeProperty("--transform-origin"),!E){V.request(()=>h(j||ne));return}const te=Cv(ne);try{let ie=m.current;ie!=null&&ie.isConnected||(ie=!Ce.hasSelectedValue(l.state)&&((J=y.current)!=null&&J.isConnected)?y.current:null);const xe=f.current,ae=He(L),he=ae.getComputedStyle(L),re=ae.getComputedStyle(ne),ge=Te(T),de=fl(T),ce=pr(T.getBoundingClientRect(),de),fe=pr(L.getBoundingClientRect(),de),W=ce.height,Y=j||ne,se=Y.scrollHeight,Z=parseFloat(re.borderBottomWidth),X=parseFloat(he.marginTop)||10,pe=parseFloat(he.marginBottom)||10,be=parseFloat(he.minHeight)||100,_e=dl(re),Ue=5,Ye=5,st=20,Le=ge.documentElement.clientHeight-X-pe,Je=ge.documentElement.clientWidth,ct=Le-ce.bottom+W;let Re,je=O==="rtl"?ce.right-fe.width:ce.left,qe=0;if(ie&&xe){const lt=pr(xe.getBoundingClientRect(),de);Re=pr(ie.getBoundingClientRect(),de),je=fe.left+(O==="rtl"?lt.right-Re.right:lt.left-Re.left);const ht=lt.top-ce.top+lt.height/2;qe=Re.top-fe.top+Re.height/2-ht}const Be=ct+qe+pe+Z;let Xe=Math.min(Le,Be);const pt=Le-X-pe,we=Be-Xe,Ae=Je-Ye;L.style.left=`${hn(je,Ue,Ae-fe.width)}px`,L.style.height=`${Xe}px`,L.style.maxHeight="none",L.style.marginTop=`${X}px`,L.style.marginBottom=`${pe}px`,ne.style.height="100%";const Qe=fr(Y),nt=we>=Qe-Ot;nt&&(Xe=Math.min(Le,fe.height)-(we-Qe));const yt=ce.top<st||ce.bottom>Le-st||Math.ceil(Xe)+Ot<Math.min(se,be),bt=(((ee=ae.visualViewport)==null?void 0:ee.scale)??1)!==1&&qt;if(yt||bt){Wr(L,q.current),M(!1);return}const Xt=Math.max(be,Xe);if(nt){const lt=Math.max(0,Le-Be);L.style.top=fe.height>=pt?"0":`${lt}px`,L.style.height=`${Xe}px`,Y.scrollTop=fr(Y)}else L.style.bottom="0",Y.scrollTop=we;if(Re){const lt=fe.top,ht=fe.height,Pe=Re.top+Re.height/2,ze=hn(ht>0?(Pe-lt)/ht*100:50,0,100);ne.style.setProperty("--transform-origin",`50% ${ze}%`)}(Xt===Le||Xe>=_e)&&($.current=!0),h(Y),w&&l.state.selectedIndex===null&&l.state.activeIndex===null&&v.current[0]!=null&&l.set("activeIndex",0)}finally{te()}},[l,P,L,T,f,y,m,u,h,E,M,V,j,v,w,O,k]),c.useEffect(()=>{if(!E||!L||!P)return;const ne=He(L);function te(J){p(!1,ke(t0,J))}return Me(ne,"resize",te)},[p,E,L,P]);const G={...j?{role:"presentation","aria-orientation":void 0}:{role:"listbox","aria-multiselectable":g||void 0,id:`${D}-list`},onKeyDown(ne){C&&ps.has(ne.key)&&ne.stopPropagation()},onScroll(ne){j||Q(ne.currentTarget)},...E&&{style:j?{height:"100%"}:Yd},className:!j&&E?Vo.className:void 0},ue=Se("div",t,{ref:[n,u],state:H,stateAttributesMapping:Ev,props:[A,G,hs(F),a]});return K.jsxs(c.Fragment,{children:[!N&&Vo.getElement(I),K.jsx(fa,{context:x,modal:!1,disabled:!_,openInteractionType:z,returnFocus:i,restoreFocus:!0,children:ue})]})});function dl(e){const t=e.maxHeight;return t.endsWith("px")&&parseFloat(t)||1/0}function fr(e){return Na(e.scrollHeight,e.clientHeight)}function fl(e){return fd.getScale(e)}function Io(e,t,n){return e/n[t]}function pr(e,t){return Fo({x:Io(e.x,"x",t),y:Io(e.y,"y",t),width:Io(e.width,"x",t),height:Io(e.height,"y",t)})}const pl=[["transform","none"],["scale","1"],["translate","0 0"]];function Cv(e){const{style:t}=e,n={};for(const[o,r]of pl)n[o]=t.getPropertyValue(o),t.setProperty(o,r,"important");return()=>{for(const[o]of pl){const r=n[o];r?t.setProperty(o,r):t.removeProperty(o)}}}const mE=c.forwardRef(function(t,n){const{render:o,className:r,style:s,...i}=t,{store:a,scrollHandlerRef:l,multiple:u}=Yt(),{alignItemWithTriggerActive:d}=Da(),p=Ee(a,Ce.hasScrollArrows),f=Ee(a,Ce.openMethod),m={id:`${Ee(a,Ce.id)}-list`,role:"listbox","aria-multiselectable":u||void 0,onScroll(h){var b;(b=l.current)==null||b.call(l,h.currentTarget)},...d&&{style:Yd},className:p&&f!=="touch"?Vo.className:void 0},g=a.useStateSetter("listElement");return Se("div",t,{ref:[n,g],props:[m,i]})}),Xd=c.createContext(void 0);function La(){const e=c.useContext(Xd);if(!e)throw new Error(De(57));return e}const yE=c.memo(c.forwardRef(function(t,n){const{render:o,className:r,style:s,value:i=null,label:a,disabled:l=!1,nativeButton:u=!1,...d}=t,p=c.useRef(null),f=yo({guess:!0,label:a,textRef:p}),{store:y,itemProps:m,setOpen:g,setValue:h,selectionRef:b,typingRef:v,valuesRef:w,multiple:x,selectedItemTextRef:S,disabled:R,readOnly:E}=Yt(),k=R||l,M=Ee(y,Ce.isActive,f.index),C=Ee(y,Ce.open),O=Ee(y,Ce.isSelected,i),I=Ee(y,Ce.isSelectedByFocus,f.index),N=Ee(y,Ce.isItemEqualToValue),D=f.index,P=c.useRef(null);oe(()=>{const V=w.current;return V[D]=i,()=>{delete V[D]}},[D,i,w]),oe(()=>{const V=y.state.value;let Q=V;x&&Array.isArray(V)&&(Q=V.length>0?V[V.length-1]:void 0),Q!==void 0&&uo(i,Q,N)&&(y.set("selectedIndex",D),p.current&&(S.current=p.current))},[D,x,N,y,i,S]);const z=c.useRef("mouse"),_=c.useRef(!1),{getButtonProps:A,buttonRef:F}=Tt({disabled:k,focusableWhenDisabled:!0,native:u,composite:!0}),T={disabled:k,selected:O,highlighted:M};function L(V){if(R||E)return;const Q=y.state.value;if(x){const H=Array.isArray(Q)?Q:[],G=O?fv(H,i,N):[...H,i];h(G,ke(An,V))}else h(i,ke(An,V)),g(!1,ke(An,V))}function j(){b.current.dragY=0}const $={role:"option","aria-selected":O,tabIndex:C&&M?0:-1,onKeyDown(V){y.set("activeIndex",D),V.key===" "&&v.current&&V.preventDefault()},onClick(V){const Q=z.current!=="touch",H=V.nativeEvent.pointerType,G=Q&&ea(V.nativeEvent)&&(H!==void 0||M),ue=Q&&!G&&!_.current;_.current=!1,!(k||ue)&&L(V.nativeEvent)},onPointerEnter(V){z.current=V.pointerType},onPointerMove(V){if(V.pointerType==="mouse"&&V.buttons===1){const Q=b.current;Q.dragY+=V.movementY,Q.dragY**2>=64&&(Q.allowUnselectedMouseUp=!0)}},onPointerDown(V){z.current=V.pointerType,_.current=!0,j()},onMouseUp(){var H;if(j(),k||z.current==="touch"||_.current)return;const V=!b.current.allowSelectedMouseUp&&O,Q=!b.current.allowUnselectedMouseUp&&!O;V||Q||(_.current=!0,(H=P.current)==null||H.click(),_.current=!1)}},U=Se("div",t,{ref:[F,n,f.ref,P],state:T,props:[m,$,d,A]}),q=c.useMemo(()=>({selected:O,index:D,textRef:p,selectedByFocus:I}),[O,D,p,I]);return K.jsx(Xd.Provider,{value:q,children:U})})),bE=c.forwardRef(function(t,n){const{selected:o}=La();return t.keepMounted||o?K.jsx(Pv,{...t,ref:n}):null}),Pv=c.memo(c.forwardRef((e,t)=>{const{render:n,className:o,style:r,keepMounted:s,...i}=e,{selected:a}=La(),l=c.useRef(null),{transitionStatus:u,setMounted:d}=ln(a),f=Se("span",e,{ref:[t,l],state:{selected:a,transitionStatus:u},props:[{"aria-hidden":!0,children:"✔️"},i],stateAttributesMapping:Gt});return kt({open:a,ref:l,onComplete(){a||d(!1)}}),f})),vE=c.memo(c.forwardRef(function(t,n){const{index:o,textRef:r,selectedByFocus:s}=La(),{firstItemTextRef:i,selectedItemTextRef:a}=Yt(),{render:l,className:u,style:d,...p}=t,f=c.useCallback(m=>{m&&(o===0&&(i.current=m),s&&(a.current=m))},[i,a,o,s]);return Se("div",t,{ref:[f,n,r],props:p})})),Kd=c.forwardRef(function(t,n){const{render:o,className:r,style:s,direction:i,keepMounted:a,...l}=t,u=i==="up",{store:d,popupRef:p,listRef:f,handleScrollArrowVisibility:y,scrollArrowsMountedCountRef:m}=Yt(),{side:g,scrollDownArrowRef:h,scrollUpArrowRef:b}=Da(),v=u?Ce.scrollUpArrowVisible:Ce.scrollDownArrowVisible,w=Ee(d,v),x=Ee(d,Ce.openMethod),S=w&&x!=="touch",R=Ge(),E=u?b:h,{mounted:k,transitionStatus:M,setMounted:C}=ln(S);oe(()=>(m.current+=1,d.set("hasScrollArrows",!0),()=>{m.current=Math.max(0,m.current-1),m.current===0&&d.set("hasScrollArrows",!1)}),[d,m]),kt({open:S,ref:E,onComplete(){S||C(!1)}});const N=Se("div",t,{ref:[n,E],state:{direction:i,visible:S,side:g,transitionStatus:M},props:[{"aria-hidden":!0,children:u?"▲":"▼",style:{position:"absolute"},onMouseMove(P){if(P.movementX===0&&P.movementY===0||R.isStarted())return;d.set("activeIndex",null);function z(){var j;const _=d.state.listElement??p.current;if(!_)return;d.set("activeIndex",null),y(_);const A=Na(_.scrollHeight,_.clientHeight),F=fo(_.scrollTop,A),T=F===(u?0:A),L=f.current;if(F!==_.scrollTop&&(_.scrollTop=F),T){R.clear();return}if(L.length>0){const $=((j=E.current)==null?void 0:j.offsetHeight)||0;_.scrollTop=Mv(L,u,F,_.clientHeight,$,A)}R.start(40,z)}R.start(40,z)},onMouseLeave(){R.clear()}},l],stateAttributesMapping:Gt});return k||a?N:null});function Mv(e,t,n,o,r,s){if(t){let d=0;const p=n+r-Ot;for(let m=0;m<e.length;m+=1){const g=e[m];if(g&&g.offsetTop>=p){d=m;break}}const f=Math.max(0,d-1),y=e[f];return f<d&&y?fo(y.offsetTop-r,s):0}let i=e.length-1;const a=n+o-r+Ot;for(let d=0;d<e.length;d+=1){const p=e[d];if(p&&p.offsetTop+p.offsetHeight>a){i=Math.max(0,d-1);break}}const l=Math.min(e.length-1,i+1),u=e[l];return l>i&&u?fo(u.offsetTop+u.offsetHeight-o+r,s):s}const xE=c.forwardRef(function(t,n){return K.jsx(Kd,{...t,ref:n,direction:"down"})}),wE=c.forwardRef(function(t,n){return K.jsx(Kd,{...t,ref:n,direction:"up"})}),Tv=c.createContext(void 0),SE=c.forwardRef(function(t,n){const{render:o,className:r,style:s,...i}=t,[a,l]=c.useState(),u=c.useMemo(()=>({labelId:a,setLabelId:l}),[a,l]),d=Se("div",t,{ref:n,props:[{role:"group","aria-labelledby":a},i]});return K.jsx(Tv.Provider,{value:u,children:d})}),Zd=c.createContext(void 0);function Pn(e){const t=c.useContext(Zd);if(!e&&t===void 0)throw new Error(De(27));return t}const RE=c.forwardRef(function(t,n){const{render:o,className:r,style:s,forceRender:i=!1,...a}=t,l=Pn(),u=l.useState("open"),d=l.useState("nested"),p=l.useState("mounted"),f=l.useState("transitionStatus");return Se("div",t,{state:{open:u,transitionStatus:f},ref:[l.context.backdropRef,n],stateAttributesMapping:Wi,props:[{role:"presentation",hidden:!p,style:{userSelect:"none",WebkitUserSelect:"none"}},a],enabled:i||!d})}),kE=c.forwardRef(function(t,n){const{render:o,className:r,style:s,disabled:i=!1,nativeButton:a=!0,...l}=t,u=Pn(),d=u.useState("open"),{getButtonProps:p,buttonRef:f}=Tt({disabled:i,native:a}),y={disabled:i};function m(g){d&&u.setOpen(!1,ke(e0,g.nativeEvent))}return Se("button",t,{state:y,ref:[n,f],props:[{onClick:m},l,p]})}),EE=c.forwardRef(function(t,n){const{render:o,className:r,style:s,id:i,...a}=t,l=Pn(),u=tt(i);return l.useSyncedValueWithCleanup("descriptionElementId",u),Se("p",t,{ref:n,props:[{id:u},a]})}),Qd=c.createContext(void 0);function Iv(){const e=c.useContext(Qd);if(e===void 0)throw new Error(De(26));return e}const Ov={...Kr,...Gt,nestedDialogOpen(e){return e?{"data-nested-dialog-open":""}:null}},CE=c.forwardRef(function(t,n){const{render:o,className:r,style:s,finalFocus:i,initialFocus:a,...l}=t,u=Pn(),d=u.useState("descriptionElementId"),p=u.useState("disablePointerDismissal"),f=u.useState("floatingRootContext"),y=u.useState("popupProps"),m=u.useState("modal"),g=u.useState("mounted"),h=u.useState("nested"),b=u.useState("nestedOpenDialogCount"),v=u.useState("open"),w=u.useState("openMethod"),x=u.useState("titleElementId"),S=u.useState("transitionStatus"),R=u.useState("role"),E=f.useState("floatingId");Iv(),kt({open:v,ref:u.context.popupRef,onComplete(){var N,D;v&&((D=(N=u.context).onOpenChangeComplete)==null||D.call(N,!0))}});const k=a===void 0?nb(u.context.popupRef):a,M=b>0,C=u.useStateSetter("popupElement"),I=Se("div",t,{state:{open:v,nested:h,transitionStatus:S,nestedDialogOpen:M},props:[y,{id:E,"aria-labelledby":x,"aria-describedby":d,role:R,...ds,hidden:!g,onKeyDown(N){ps.has(N.key)&&N.stopPropagation()},style:{"--nested-dialogs":b}},l],ref:[n,u.context.popupRef,C],stateAttributesMapping:Ov});return K.jsx(fa,{context:f,openInteractionType:w,disabled:!g,closeOnFocusOut:!p,initialFocus:k,returnFocus:i,modal:m!==!1,restoreFocus:"popup",children:I})}),PE=c.forwardRef(function(t,n){const{keepMounted:o=!1,...r}=t,s=Pn(),i=s.useState("mounted"),a=s.useState("modal"),l=s.useState("open");return i||o?K.jsx(Qd.Provider,{value:o,children:K.jsxs(la,{ref:n,...r,children:[i&&a===!0&&K.jsx(Ia,{ref:s.context.internalBackdropRef,inert:gs(!l)}),t.children]})}):null});function Av({store:e,parentContext:t,isDrawer:n}){const o=e.useState("open"),r=e.useState("disablePointerDismissal"),s=e.useState("modal"),i=e.useState("popupElement"),a=e.useState("floatingRootContext"),[l,u]=c.useState(0),[d,p]=c.useState(0),f=l===0,y=as(a,{outsidePressEvent(){return e.context.internalBackdropRef.current||e.context.backdropRef.current?"intentional":{mouse:s==="trap-focus"?"sloppy":"intentional",touch:"sloppy"}},outsidePress(m){if(!e.context.outsidePressEnabledRef.current||"button"in m&&m.button!==0)return!1;if("touches"in m){if(m.type==="touchend"){if(m.changedTouches.length!==1||m.touches.length!==0)return!1}else if(m.touches.length!==1)return!1}const g=et(m);if(f&&!r){if(s){const h=e.context.internalBackdropRef.current,b=e.context.backdropRef.current;return h||b?h===g||b===g||ve(g,i)&&!(g!=null&&g.hasAttribute("data-base-ui-portal")):!0}return!0}return!1},escapeKey:f});return Ad(o&&s===!0,i),e.useContextCallback("onNestedDialogOpen",(m,g)=>{u(m),p(g)}),oe(()=>(t!=null&&t.onNestedDialogOpen&&(o?t.onNestedDialogOpen(l+1,d+(n?1:0)):t.onNestedDialogOpen(0,0)),()=>{t!=null&&t.onNestedDialogOpen&&o&&t.onNestedDialogOpen(0,0)}),[n,o,l,d,t]),wa(e,{activeTriggerProps:y.reference,inactiveTriggerProps:y.trigger,popupProps:y.floating,nestedOpenDialogCount:l,nestedOpenDrawerCount:d}),null}const Nv={...ka,modal:e=>e.modal,nested:e=>e.nested,nestedOpenDialogCount:e=>e.nestedOpenDialogCount,nestedOpenDrawerCount:e=>e.nestedOpenDrawerCount,disablePointerDismissal:e=>e.disablePointerDismissal,openMethod:e=>e.openMethod,descriptionElementId:e=>e.descriptionElementId,titleElementId:e=>e.titleElementId,viewportElement:e=>e.viewportElement,role:e=>e.role};class Dv extends Uo{constructor(n,o,r){const s=new Go,i=_v(n,s,o,r);super(i,Lv(s),Nv);Ne(this,"setOpen",(n,o)=>{var s,i;if(o.preventUnmountOnClose=()=>{this.set("preventUnmountingOnClose",!0)},!n&&o.trigger==null&&this.state.activeTriggerId!=null&&(o.trigger=this.state.activeTriggerElement??void 0),(i=(s=this.context).onOpenChange)==null||i.call(s,n,o),o.isCanceled)return;this.state.floatingRootContext.dispatchOpenChange(n,o);const r={open:n};ya(r,n,o.trigger),this.update(r)})}}function _v(e,t,n,o=!1){const r={...Sa(),modal:!0,disablePointerDismissal:!1,viewportElement:null,descriptionElementId:void 0,titleElementId:void 0,openMethod:null,nested:!1,nestedOpenDialogCount:0,nestedOpenDrawerCount:0,role:"dialog",...e};return r.floatingRootContext=xd(t,n,o),r}function Lv(e){return{popupRef:c.createRef(),backdropRef:c.createRef(),internalBackdropRef:c.createRef(),outsidePressEnabledRef:{current:!0},triggerElements:e,onOpenChange:void 0,onOpenChangeComplete:void 0}}function Jd(e,t){const{children:n,open:o,defaultOpen:r=!1,onOpenChange:s,onOpenChangeComplete:i,disablePointerDismissal:a=!1,modal:l=!0,actionsRef:u,handle:d,triggerId:p,defaultTriggerId:f=null}=t,y=e==="drawer",m=e==="alert-dialog",g=m?!0:l,h=m||a,b=m?"alertdialog":"dialog",v=Pn(!0),w=v!=null,x={modal:g,disablePointerDismissal:h,nested:w,role:b},S=bd((O,I)=>new Dv({open:r,openProp:o,activeTriggerId:f,triggerIdProp:p,...x},O,I),!0);S.useControlledProp("openProp",o),S.useControlledProp("triggerIdProp",p),S.useSyncedValues(x),S.useContextCallback("onOpenChange",s),S.useContextCallback("onOpenChangeComplete",i);const R=S.useState("open"),E=S.useState("mounted"),k=S.useState("payload");sb(S,R),va(S);const{forceUnmount:M}=xa(R,S);c.useImperativeHandle(u,()=>({unmount:M,close:()=>S.setOpen(!1,ke(Gi))}),[M,S]);const C=R||E;return K.jsxs(Zd.Provider,{value:S,children:[d&&K.jsx(ma,{handle:d,store:S}),C&&K.jsx(Av,{store:S,parentContext:v==null?void 0:v.context,isDrawer:y}),typeof n=="function"?n({payload:k}):n]})}function ME(e){return Jd("dialog",e)}const TE=c.forwardRef(function(t,n){const{render:o,className:r,style:s,id:i,...a}=t,l=Pn(),u=tt(i);return l.useSyncedValueWithCleanup("titleElementId",u),Se("h2",t,{ref:n,props:[{id:u},a]})}),Fv=c.forwardRef(function(t,n){const{render:o,className:r,style:s,disabled:i=!1,nativeButton:a=!0,id:l,payload:u,handle:d,...p}=t,f=Pn(!0),m=Ea(d)??f;if(!m)throw new Error(De(79));const g=tt(l),h=m.useState("floatingRootContext"),b=m.useState("isOpenedByTrigger",g),v=m.useState("triggerPopupId",g),w=c.useRef(null),{registerTrigger:x,isMountedByThisTrigger:S}=ba(g,w,m,{payload:u}),{getButtonProps:R,buttonRef:E}=Tt({disabled:i,native:a}),k=pa(h),M=Fd(()=>m.select("open"),I=>{m.set("openMethod",I)}),C={disabled:i,open:b},O=m.useState("triggerProps",S);return Se("button",t,{state:C,ref:[E,n,x,w],props:[k.reference,O,M,{[Zu]:"",id:g,"aria-haspopup":"dialog","aria-expanded":b,"aria-controls":v},p,R],stateAttributesMapping:Bi})});function IE(e){return Se(e.defaultTagName??"div",e,e)}var zv=Object.defineProperty,xo=(e,t)=>zv(e,"name",{value:t,configurable:!0}),ef=!!(typeof window<"u"&&window.document&&window.document.createElement);function Nn(e,t,{checkForDefaultPrevented:n=!0}={}){return xo(function(r){if(e==null||e(r),n===!1||!r||!r.defaultPrevented)return t==null?void 0:t(r)},"handleEvent")}xo(Nn,"composeEventHandlers");function Vv(e){var t;if(!ef)throw new Error("Cannot access window outside of the DOM");return((t=e==null?void 0:e.ownerDocument)==null?void 0:t.defaultView)??window}xo(Vv,"getOwnerWindow");function bi(e){if(!ef)throw new Error("Cannot access document outside of the DOM");return(e==null?void 0:e.ownerDocument)??document}xo(bi,"getOwnerDocument");function tf(e,t=!1){const{activeElement:n}=bi(e);if(!(n!=null&&n.nodeName))return null;if(nf(n)&&n.contentDocument)return tf(n.contentDocument.body,t);if(t){const o=n.getAttribute("aria-activedescendant");if(o){const r=bi(n).getElementById(o);if(r)return r}}return n}xo(tf,"getActiveElement");function nf(e){return e.tagName==="IFRAME"}xo(nf,"isFrame");var $v=Object.defineProperty,Fa=(e,t)=>$v(e,"name",{value:t,configurable:!0});function vi(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}Fa(vi,"setRef");function of(...e){return t=>{let n=!1;const o=e.map(r=>{const s=vi(r,t);return!n&&typeof s=="function"&&(n=!0),s});if(n)return()=>{for(let r=0;r<o.length;r++){const s=o[r];typeof s=="function"?s():vi(e[r],null)}}}}Fa(of,"composeRefs");function wo(...e){return c.useCallback(of(...e),e)}Fa(wo,"useComposedRefs");var Hv=Object.defineProperty,Ct=(e,t)=>Hv(e,"name",{value:t,configurable:!0});function jv(e,t){const n=c.createContext(t);n.displayName=e+"Context";const o=Ct(s=>{const{children:i,...a}=s,l=c.useMemo(()=>a,Object.values(a));return K.jsx(n.Provider,{value:l,children:i})},"Provider");o.displayName=e+"Provider";function r(s,i={}){const{optional:a=!1}=i,l=c.useContext(n);if(l)return l;if(t!==void 0)return t;if(!a)throw new Error(`\`${s}\` must be used within \`${e}\``)}return Ct(r,"useContext"),[o,r]}Ct(jv,"createContext");function rf(e,t=[]){let n=[];function o(s,i){const a=c.createContext(i);a.displayName=s+"Context";const l=n.length;n=[...n,i];const u=Ct(p=>{var b;const{scope:f,children:y,...m}=p,g=((b=f==null?void 0:f[e])==null?void 0:b[l])||a,h=c.useMemo(()=>m,Object.values(m));return K.jsx(g.Provider,{value:h,children:y})},"Provider");u.displayName=s+"Provider";function d(p,f,y={}){var b;const{optional:m=!1}=y,g=((b=f==null?void 0:f[e])==null?void 0:b[l])||a,h=c.useContext(g);if(h)return h;if(i!==void 0)return i;if(!m)throw new Error(`\`${p}\` must be used within \`${s}\``)}return Ct(d,"useContext"),[u,d]}Ct(o,"createContext");const r=Ct(()=>{const s=n.map(i=>c.createContext(i));return Ct(function(a){const l=(a==null?void 0:a[e])||s;return c.useMemo(()=>({[`__scope${e}`]:{...a,[e]:l}}),[a,l])},"useScope")},"createScope");return r.scopeName=e,[o,sf(r,...t)]}Ct(rf,"createContextScope");function sf(...e){const t=e[0];if(e.length===1)return t;const n=Ct(()=>{const o=e.map(r=>({useScope:r(),scopeName:r.scopeName}));return Ct(function(s){const i=o.reduce((a,{useScope:l,scopeName:u})=>{const p=l(s)[`__scope${u}`];return{...a,...p}},{});return c.useMemo(()=>({[`__scope${t.scopeName}`]:i}),[i])},"useComposedScopes")},"createScope");return n.scopeName=t.scopeName,n}Ct(sf,"composeContextScopes");var po=globalThis!=null&&globalThis.document?c.useLayoutEffect:()=>{},Bv=Object.defineProperty,Wv=(e,t)=>Bv(e,"name",{value:t,configurable:!0}),Uv=mo[" useId ".trim().toString()]||(()=>{}),Gv=0;function Mr(e){const[t,n]=c.useState(Uv());return po(()=>{e||n(o=>o??String(Gv++))},[e]),e||(t?`radix-${t}`:"")}Wv(Mr,"useId");var qv=Object.defineProperty,Yv=(e,t)=>qv(e,"name",{value:t,configurable:!0}),hl=mo[" useEffectEvent ".trim().toString()],gl=mo[" useInsertionEffect ".trim().toString()];function af(e){if(typeof hl=="function")return hl(e);const t=c.useRef(()=>{throw new Error("Cannot call an event handler while rendering.")});return typeof gl=="function"?gl(()=>{t.current=e}):po(()=>{t.current=e}),c.useMemo(()=>((...n)=>{var o;return(o=t.current)==null?void 0:o.call(t,...n)}),[])}Yv(af,"useEffectEvent");var Xv=Object.defineProperty,Yo=(e,t)=>Xv(e,"name",{value:t,configurable:!0}),Kv=mo[" useInsertionEffect ".trim().toString()]||po;function cf({prop:e,defaultProp:t,onChange:n=Yo(()=>{},"onChange"),caller:o}){const[r,s,i]=lf({defaultProp:t,onChange:n}),a=e!==void 0,l=a?e:r,u=c.useCallback(d=>{var p;if(a){const f=uf(d)?d(e):d;f!==e&&((p=i.current)==null||p.call(i,f))}else s(d)},[a,e,s,i]);return[l,u]}Yo(cf,"useControllableState");function lf({defaultProp:e,onChange:t}){const[n,o]=c.useState(e),r=c.useRef(n),s=c.useRef(t);return Kv(()=>{s.current=t},[t]),c.useEffect(()=>{var i;r.current!==n&&((i=s.current)==null||i.call(s,n),r.current=n)},[n,r]),[n,o,s]}Yo(lf,"useUncontrolledState");function uf(e){return typeof e=="function"}Yo(uf,"isFunction");var ml=Symbol("RADIX:SYNC_STATE");function Zv(e,t,n,o){const{prop:r,defaultProp:s,onChange:i,caller:a}=t,l=r!==void 0,u=af(i),d=[{...n,state:s}];o&&d.push(o);const[p,f]=c.useReducer((h,b)=>{if(b.type===ml)return{...h,state:b.state};const v=e(h,b);return l&&!Object.is(v.state,h.state)&&u(v.state),v},...d),y=p.state,m=c.useRef(y);c.useEffect(()=>{m.current!==y&&(m.current=y,l||u(y))},[y,m,l]);const g=c.useMemo(()=>r!==void 0?{...p,state:r}:p,[p,r]);return c.useEffect(()=>{l&&!Object.is(r,p.state)&&f({type:ml,state:r})},[r,p.state,l]),[g,f]}Yo(Zv,"useControllableStateReducer");var Qv=Object.defineProperty,Ft=(e,t)=>Qv(e,"name",{value:t,configurable:!0});function za(e){const t=c.forwardRef((n,o)=>{let{children:r,...s}=n,i=null,a=!1;const l=[];xi(r)&&typeof hr=="function"&&(r=hr(r._payload)),c.Children.forEach(r,f=>{var y;if(hf(f)){a=!0;const m=f;let g="child"in m.props?m.props.child:m.props.children;xi(g)&&typeof hr=="function"&&(g=hr(g._payload)),i=ex(m,g),l.push((y=i==null?void 0:i.props)==null?void 0:y.children)}else l.push(f)}),i?i=c.cloneElement(i,void 0,l):!a&&c.Children.count(r)===1&&c.isValidElement(r)&&(i=r);const u=i?pf(i):void 0,d=wo(o,u);if(!i){if(r||r===0)throw new Error(a?ox(e):nx(e));return r}const p=ff(s,i.props??{});return i.type!==c.Fragment&&(p.ref=o?d:u),c.cloneElement(i,p)});return t.displayName=`${e}.Slot`,t}Ft(za,"createSlot");var df=Symbol.for("radix.slottable");function Jv(e){const t=Ft(n=>"child"in n?n.children(n.child):n.children,"Slottable");return t.displayName=`${e}.Slottable`,t.__radixId=df,t}Ft(Jv,"createSlottable");var ex=Ft((e,t)=>{if("child"in e.props){const n=e.props.child;return c.isValidElement(n)?c.cloneElement(n,void 0,e.props.children(n.props.children)):null}return c.isValidElement(t)?t:null},"getSlottableElementFromSlottable");function ff(e,t){const n={...t};for(const o in t){const r=e[o],s=t[o];/^on[A-Z]/.test(o)?r&&s?n[o]=(...a)=>{const l=s(...a);return r(...a),l}:r&&(n[o]=r):o==="style"?n[o]={...r,...s}:o==="className"&&(n[o]=[r,s].filter(Boolean).join(" "))}return{...e,...n}}Ft(ff,"mergeProps");function pf(e){var o,r;let t=(o=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:o.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=(r=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:r.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}Ft(pf,"getElementRef");function hf(e){return c.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===df}Ft(hf,"isSlottable");var tx=Symbol.for("react.lazy");function xi(e){return e!=null&&typeof e=="object"&&"$$typeof"in e&&e.$$typeof===tx&&"_payload"in e&&gf(e._payload)}Ft(xi,"isLazyComponent");function gf(e){return typeof e=="object"&&e!==null&&"then"in e}Ft(gf,"isPromiseLike");var nx=Ft(e=>`${e} failed to slot onto its children. Expected a single React element child or \`Slottable\`.`,"createSlotError"),ox=Ft(e=>`${e} failed to slot onto its \`Slottable\`. Expected \`Slottable\` to receive a single React element child.`,"createSlottableError"),hr=mo[" use ".trim().toString()],rx=Object.defineProperty,sx=(e,t)=>rx(e,"name",{value:t,configurable:!0}),ix=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],Rs=ix.reduce((e,t)=>{const n=za(`Primitive.${t}`),o=c.forwardRef((r,s)=>{const{asChild:i,...a}=r,l=i?n:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),K.jsx(l,{...a,ref:s})});return o.displayName=`Primitive.${t}`,{...e,[t]:o}},{});function mf(e,t){e&&At.flushSync(()=>e.dispatchEvent(t))}sx(mf,"dispatchDiscreteCustomEvent");var ax=Object.defineProperty,cx=(e,t)=>ax(e,"name",{value:t,configurable:!0});function ho(e){const t=c.useRef(e);return c.useEffect(()=>{t.current=e}),c.useMemo(()=>((...n)=>{var o;return(o=t.current)==null?void 0:o.call(t,...n)}),[])}cx(ho,"useCallbackRef");var lx=Object.defineProperty,it=(e,t)=>lx(e,"name",{value:t,configurable:!0}),wi="dismissableLayer.update",ux="dismissableLayer.pointerDownOutside",dx="dismissableLayer.focusOutside",yl,yf=c.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set,dismissableSurfaces:new Set}),fx=c.forwardRef(it(function(t,n){const{disableOutsidePointerEvents:o=!1,deferPointerDownOutside:r=!1,onEscapeKeyDown:s,onPointerDownOutside:i,onFocusOutside:a,onInteractOutside:l,onDismiss:u,...d}=t,p=c.useContext(yf),[f,y]=c.useState(null),m=(f==null?void 0:f.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,g]=c.useState({}),h=wo(n,y),b=Array.from(p.layers),[v]=[...p.layersWithOutsidePointerEventsDisabled].slice(-1),w=v?b.indexOf(v):-1,x=f?b.indexOf(f):-1,S=p.layersWithOutsidePointerEventsDisabled.size>0,R=x>=w,E=c.useRef(!1),k=vf(I=>{i==null||i(I),l==null||l(I),I.defaultPrevented||u==null||u()},{ownerDocument:m,deferPointerDownOutside:r,isDeferredPointerDownOutsideRef:E,dismissableSurfaces:p.dismissableSurfaces,shouldHandlePointerDownOutside:c.useCallback(I=>{if(!(I instanceof Node))return!1;const N=[...p.branches].some(D=>D.contains(I));return R&&!N},[p.branches,R])}),M=xf(I=>{if(r&&E.current)return;const N=I.target;[...p.branches].some(P=>P.contains(N))||(a==null||a(I),l==null||l(I),I.defaultPrevented||u==null||u())},m),C=f?x===b.length-1:!1,O=ho(I=>{I.key==="Escape"&&(s==null||s(I),!I.defaultPrevented&&u&&(I.preventDefault(),u()))});return c.useEffect(()=>{if(C)return m.addEventListener("keydown",O,{capture:!0}),()=>m.removeEventListener("keydown",O,{capture:!0})},[m,C,O]),c.useEffect(()=>{if(f)return o&&(p.layersWithOutsidePointerEventsDisabled.size===0&&(yl=m.body.style.pointerEvents,m.body.style.pointerEvents="none"),p.layersWithOutsidePointerEventsDisabled.add(f)),p.layers.add(f),Si(),()=>{o&&(p.layersWithOutsidePointerEventsDisabled.delete(f),p.layersWithOutsidePointerEventsDisabled.size===0&&(m.body.style.pointerEvents=yl))}},[f,m,o,p]),c.useEffect(()=>()=>{f&&(p.layers.delete(f),p.layersWithOutsidePointerEventsDisabled.delete(f),Si())},[f,p]),c.useEffect(()=>{const I=it(()=>g({}),"handleUpdate");return document.addEventListener(wi,I),()=>document.removeEventListener(wi,I)},[]),K.jsx(Rs.div,{...d,ref:h,style:{pointerEvents:S?R?"auto":"none":void 0,...t.style},onFocusCapture:Nn(t.onFocusCapture,M.onFocusCapture),onBlurCapture:Nn(t.onBlurCapture,M.onBlurCapture),onPointerDownCapture:Nn(t.onPointerDownCapture,k.onPointerDownCapture)})},"DismissableLayer"));function bf(){const e=c.useContext(yf),[t,n]=c.useState(null);return c.useEffect(()=>{if(t)return e.dismissableSurfaces.add(t),()=>{e.dismissableSurfaces.delete(t)}},[t,e.dismissableSurfaces]),n}it(bf,"useDismissableLayerSurface");var px=it(()=>!0,"IS_TRUE");function vf(e,t){const{ownerDocument:n=globalThis==null?void 0:globalThis.document,deferPointerDownOutside:o=!1,isDeferredPointerDownOutsideRef:r,dismissableSurfaces:s,shouldHandlePointerDownOutside:i=px}=t,a=ho(e),l=c.useRef(!1),u=c.useRef(!1),d=c.useRef(new Map),p=c.useRef(()=>{});return c.useEffect(()=>{function f(){u.current=!1,r.current=!1,d.current.clear()}it(f,"resetOutsideInteraction");function y(){return Array.from(d.current.values()).some(Boolean)}it(y,"isOutsideInteractionIntercepted");function m(w){if(!u.current)return;const x=w.target;x instanceof Node&&[...s].some(R=>R.contains(x))||d.current.set(w.type,!0),w.type==="click"&&window.setTimeout(()=>{u.current&&p.current()},0)}it(m,"handleInteractionCapture");function g(w){u.current&&d.current.set(w.type,!1)}it(g,"handleInteractionBubble");const h=it(w=>{if(w.target&&!l.current){let x=function(){n.removeEventListener("click",p.current);const R=y();f(),R||Va(ux,a,S,{discrete:!0})};if(it(x,"handleAndDispatchPointerDownOutsideEvent"),!i(w.target)){n.removeEventListener("click",p.current),f(),l.current=!1;return}const S={originalEvent:w};u.current=!0,r.current=o&&w.button===0,d.current.clear(),!o||w.button!==0?x():(n.removeEventListener("click",p.current),p.current=x,n.addEventListener("click",p.current,{once:!0}))}else n.removeEventListener("click",p.current),f();l.current=!1},"handlePointerDown"),b=["pointerup","mousedown","mouseup","touchstart","touchend","click"];for(const w of b)n.addEventListener(w,m,!0),n.addEventListener(w,g);const v=window.setTimeout(()=>{n.addEventListener("pointerdown",h)},0);return()=>{window.clearTimeout(v),n.removeEventListener("pointerdown",h),n.removeEventListener("click",p.current);for(const w of b)n.removeEventListener(w,m,!0),n.removeEventListener(w,g)}},[n,a,o,r,s,i]),{onPointerDownCapture:it(()=>l.current=!0,"onPointerDownCapture")}}it(vf,"usePointerDownOutside");function xf(e,t=globalThis==null?void 0:globalThis.document){const n=ho(e),o=c.useRef(!1);return c.useEffect(()=>{const r=it(s=>{s.target&&!o.current&&Va(dx,n,{originalEvent:s},{discrete:!1})},"handleFocus");return t.addEventListener("focusin",r),()=>t.removeEventListener("focusin",r)},[t,n]),{onFocusCapture:it(()=>o.current=!0,"onFocusCapture"),onBlurCapture:it(()=>o.current=!1,"onBlurCapture")}}it(xf,"useFocusOutside");function Si(){const e=new CustomEvent(wi);document.dispatchEvent(e)}it(Si,"dispatchUpdate");function Va(e,t,n,{discrete:o}){const r=n.originalEvent.target,s=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&r.addEventListener(e,t,{once:!0}),o?mf(r,s):r.dispatchEvent(s)}it(Va,"handleAndDispatchCustomEvent");var hx=Object.defineProperty,gt=(e,t)=>hx(e,"name",{value:t,configurable:!0}),Us="focusScope.autoFocusOnMount",Gs="focusScope.autoFocusOnUnmount",bl={bubbles:!1,cancelable:!0},gx=c.forwardRef(gt(function(t,n){const{loop:o=!1,trapped:r=!1,onMountAutoFocus:s,onUnmountAutoFocus:i,...a}=t,[l,u]=c.useState(null),d=ho(s),p=ho(i),f=c.useRef(null),y=wo(n,u),m=c.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;c.useEffect(()=>{if(r){let h=function(x){if(m.paused||!l)return;const S=x.target;l.contains(S)?f.current=S:Qt(f.current,{select:!0})},b=function(x){if(m.paused||!l)return;const S=x.relatedTarget;S!==null&&(l.contains(S)||Qt(f.current,{select:!0}))},v=function(x){if(document.activeElement===document.body)for(const R of x)R.removedNodes.length>0&&Qt(l)};gt(h,"handleFocusIn"),gt(b,"handleFocusOut"),gt(v,"handleMutations"),document.addEventListener("focusin",h),document.addEventListener("focusout",b);const w=new MutationObserver(v);return l&&w.observe(l,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",h),document.removeEventListener("focusout",b),w.disconnect()}}},[r,l,m.paused]),c.useEffect(()=>{if(l){vl.add(m);const h=document.activeElement;if(!l.contains(h)){const v=new CustomEvent(Us,bl);l.addEventListener(Us,d),l.dispatchEvent(v),v.defaultPrevented||(wf(Cf($a(l)),{select:!0}),document.activeElement===h&&Qt(l))}return()=>{l.removeEventListener(Us,d),setTimeout(()=>{const v=new CustomEvent(Gs,bl);l.addEventListener(Gs,p),l.dispatchEvent(v),v.defaultPrevented||Qt(h??document.body,{select:!0}),l.removeEventListener(Gs,p),vl.remove(m)},0)}}},[l,d,p,m]);const g=c.useCallback(h=>{if(!o&&!r||m.paused)return;const b=h.key==="Tab"&&!h.altKey&&!h.ctrlKey&&!h.metaKey,v=document.activeElement;if(b&&v){const w=h.currentTarget,[x,S]=Sf(w);x&&S?!h.shiftKey&&v===S?(h.preventDefault(),o&&Qt(x,{select:!0})):h.shiftKey&&v===x&&(h.preventDefault(),o&&Qt(S,{select:!0})):v===w&&h.preventDefault()}},[o,r,m.paused]);return K.jsx(Rs.div,{tabIndex:-1,...a,ref:y,onKeyDown:g})},"FocusScope"));function wf(e,{select:t=!1}={}){const n=document.activeElement;for(const o of e)if(Qt(o,{select:t}),document.activeElement!==n)return}gt(wf,"focusFirst");function Sf(e){const t=$a(e),n=Ri(t,e),o=Ri(t.reverse(),e);return[n,o]}gt(Sf,"getTabbableEdges");function $a(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:gt(o=>{const r=o.tagName==="INPUT"&&o.type==="hidden";return o.disabled||o.hidden||r?NodeFilter.FILTER_SKIP:o.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP},"acceptNode")});for(;n.nextNode();)t.push(n.currentNode);return t}gt($a,"getTabbableCandidates");function Ri(e,t){const n=typeof t.checkVisibility=="function"&&t.checkVisibility({checkVisibilityCSS:!0});for(const o of e)if(!(n?!o.checkVisibility({checkVisibilityCSS:!0}):Rf(o,{upTo:t})))return o}gt(Ri,"findVisible");function Rf(e,{upTo:t}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}gt(Rf,"isHidden");function kf(e){return e instanceof HTMLInputElement&&"select"in e}gt(kf,"isSelectableInput");function Qt(e,{select:t=!1}={}){if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&kf(e)&&t&&e.select()}}gt(Qt,"focus");var vl=Ef();function Ef(){let e=[];return{add(t){const n=e[0];t!==n&&(n==null||n.pause()),e=ki(e,t),e.unshift(t)},remove(t){var n;e=ki(e,t),(n=e[0])==null||n.resume()}}}gt(Ef,"createFocusScopesStack");function ki(e,t){const n=[...e],o=n.indexOf(t);return o!==-1&&n.splice(o,1),n}gt(ki,"arrayRemove");function Cf(e){return e.filter(t=>t.tagName!=="A")}gt(Cf,"removeLinks");var mx=Object.defineProperty,yx=(e,t)=>mx(e,"name",{value:t,configurable:!0}),bx=c.forwardRef(yx(function(t,n){var l;const{container:o,...r}=t,[s,i]=c.useState(!1);po(()=>i(!0),[]);const a=o||s&&((l=globalThis==null?void 0:globalThis.document)==null?void 0:l.body);return a?At.createPortal(K.jsx(Rs.div,{...r,ref:n}),a):null},"Portal")),vx=Object.defineProperty,rn=(e,t)=>vx(e,"name",{value:t,configurable:!0});function Pf(e,t){return c.useReducer((n,o)=>t[n][o]??n,e)}rn(Pf,"useStateMachine");var Ha=rn(e=>{const{present:t,children:n}=e,o=Mf(t),r=typeof n=="function"?n({present:o.isPresent}):c.Children.only(n),s=Tf(o.ref,If(r));return typeof n=="function"||o.isPresent?c.cloneElement(r,{ref:s}):null},"Presence");function Mf(e){const[t,n]=c.useState(),o=c.useRef(null),r=c.useRef(e),s=c.useRef("none"),i=c.useRef(void 0),a=e?"mounted":"unmounted",[l,u]=Pf(a,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return c.useEffect(()=>{l==="mounted"?(s.current=i.current??Kn(o.current),i.current=void 0):s.current="none"},[l]),po(()=>{const d=o.current,p=r.current;if(p!==e){const y=s.current,m=Kn(d);e?(i.current=m,u("MOUNT")):m==="none"||(d==null?void 0:d.display)==="none"?u("UNMOUNT"):u(p&&y!==m?"ANIMATION_OUT":"UNMOUNT"),r.current=e}},[e,u]),po(()=>{if(t){let d;const p=t.ownerDocument.defaultView??window,f=rn(m=>{const h=Kn(o.current).includes(CSS.escape(m.animationName));if(m.target===t&&h&&(u("ANIMATION_END"),!r.current)){const b=t.style.animationFillMode;t.style.animationFillMode="forwards",d=p.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=b)})}},"handleAnimationEnd"),y=rn(m=>{m.target===t&&(s.current=Kn(o.current))},"handleAnimationStart");return t.addEventListener("animationstart",y),t.addEventListener("animationcancel",f),t.addEventListener("animationend",f),()=>{p.clearTimeout(d),t.removeEventListener("animationstart",y),t.removeEventListener("animationcancel",f),t.removeEventListener("animationend",f)}}else u("ANIMATION_END")},[t,u]),{isPresent:["mounted","unmountSuspended"].includes(l),ref:c.useCallback(d=>{if(d){const p=getComputedStyle(d);o.current=p,i.current=Kn(p)}else o.current=null;n(d)},[])}}rn(Mf,"usePresence");function Ei(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}rn(Ei,"setRef");function Tf(...e){const t=c.useRef(e);return t.current=e,c.useCallback(n=>{const o=t.current;let r=!1;const s=o.map(i=>{const a=Ei(i,n);return!r&&typeof a=="function"&&(r=!0),a});if(r)return()=>{for(let i=0;i<s.length;i++){const a=s[i];typeof a=="function"?a():Ei(o[i],null)}}},[])}rn(Tf,"useStableComposedRefs");function Kn(e){return(e==null?void 0:e.animationName)||"none"}rn(Kn,"getAnimationName");function If(e){var o,r;let t=(o=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:o.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=(r=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:r.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}rn(If,"getElementRef");var xx=Object.defineProperty,ja=(e,t)=>xx(e,"name",{value:t,configurable:!0}),gr=0,Ht=null;function wx(e){return Ba(),e.children}ja(wx,"FocusGuards");function Ba(){c.useEffect(()=>{Ht||(Ht={start:Ci(),end:Ci()});const{start:e,end:t}=Ht;return document.body.firstElementChild!==e&&document.body.insertAdjacentElement("afterbegin",e),document.body.lastElementChild!==t&&document.body.insertAdjacentElement("beforeend",t),gr++,()=>{gr===1&&(Ht==null||Ht.start.remove(),Ht==null||Ht.end.remove(),Ht=null),gr=Math.max(0,gr-1)}},[])}ja(Ba,"useFocusGuards");function Ci(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.style.position="fixed",e.style.pointerEvents="none",e}ja(Ci,"createFocusGuard");var Bt=function(){return Bt=Object.assign||function(t){for(var n,o=1,r=arguments.length;o<r;o++){n=arguments[o];for(var s in n)Object.prototype.hasOwnProperty.call(n,s)&&(t[s]=n[s])}return t},Bt.apply(this,arguments)};function Of(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n}function Sx(e,t,n){if(n||arguments.length===2)for(var o=0,r=t.length,s;o<r;o++)(s||!(o in t))&&(s||(s=Array.prototype.slice.call(t,0,o)),s[o]=t[o]);return e.concat(s||Array.prototype.slice.call(t))}var Tr="right-scroll-bar-position",Ir="width-before-scroll-bar",Rx="with-scroll-bars-hidden",kx="--removed-body-scroll-bar-size";function qs(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function Ex(e,t){var n=c.useState(function(){return{value:e,callback:t,facade:{get current(){return n.value},set current(o){var r=n.value;r!==o&&(n.value=o,n.callback(o,r))}}}})[0];return n.callback=t,n.facade}var Cx=typeof window<"u"?c.useLayoutEffect:c.useEffect,xl=new WeakMap;function Px(e,t){var n=Ex(null,function(o){return e.forEach(function(r){return qs(r,o)})});return Cx(function(){var o=xl.get(n);if(o){var r=new Set(o),s=new Set(e),i=n.current;r.forEach(function(a){s.has(a)||qs(a,null)}),s.forEach(function(a){r.has(a)||qs(a,i)})}xl.set(n,e)},[e]),n}function Mx(e){return e}function Tx(e,t){t===void 0&&(t=Mx);var n=[],o=!1,r={read:function(){if(o)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:e},useMedium:function(s){var i=t(s,o);return n.push(i),function(){n=n.filter(function(a){return a!==i})}},assignSyncMedium:function(s){for(o=!0;n.length;){var i=n;n=[],i.forEach(s)}n={push:function(a){return s(a)},filter:function(){return n}}},assignMedium:function(s){o=!0;var i=[];if(n.length){var a=n;n=[],a.forEach(s),i=n}var l=function(){var d=i;i=[],d.forEach(s)},u=function(){return Promise.resolve().then(l)};u(),n={push:function(d){i.push(d),u()},filter:function(d){return i=i.filter(d),n}}}};return r}function Ix(e){e===void 0&&(e={});var t=Tx(null);return t.options=Bt({async:!0,ssr:!1},e),t}var Af=function(e){var t=e.sideCar,n=Of(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var o=t.read();if(!o)throw new Error("Sidecar medium not found");return c.createElement(o,Bt({},n))};Af.isSideCarExport=!0;function Ox(e,t){return e.useMedium(t),Af}var Nf=Ix(),Ys=function(){},ks=c.forwardRef(function(e,t){var n=c.useRef(null),o=c.useState({onScrollCapture:Ys,onWheelCapture:Ys,onTouchMoveCapture:Ys}),r=o[0],s=o[1],i=e.forwardProps,a=e.children,l=e.className,u=e.removeScrollBar,d=e.enabled,p=e.shards,f=e.sideCar,y=e.noRelative,m=e.noIsolation,g=e.inert,h=e.allowPinchZoom,b=e.as,v=b===void 0?"div":b,w=e.gapMode,x=Of(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),S=f,R=Px([n,t]),E=Bt(Bt({},x),r);return c.createElement(c.Fragment,null,d&&c.createElement(S,{sideCar:Nf,removeScrollBar:u,shards:p,noRelative:y,noIsolation:m,inert:g,setCallbacks:s,allowPinchZoom:!!h,lockRef:n,gapMode:w}),i?c.cloneElement(c.Children.only(a),Bt(Bt({},E),{ref:R})):c.createElement(v,Bt({},E,{className:l,ref:R}),a))});ks.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};ks.classNames={fullWidth:Ir,zeroRight:Tr};var Ax=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function Nx(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=Ax();return t&&e.setAttribute("nonce",t),e}function Dx(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function _x(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var Lx=function(){var e=0,t=null;return{add:function(n){e==0&&(t=Nx())&&(Dx(t,n),_x(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},Fx=function(){var e=Lx();return function(t,n){c.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},Df=function(){var e=Fx(),t=function(n){var o=n.styles,r=n.dynamic;return e(o,r),null};return t},zx={left:0,top:0,right:0,gap:0},Xs=function(e){return parseInt(e||"",10)||0},Vx=function(e){var t=window.getComputedStyle(document.body),n=t[e==="padding"?"paddingLeft":"marginLeft"],o=t[e==="padding"?"paddingTop":"marginTop"],r=t[e==="padding"?"paddingRight":"marginRight"];return[Xs(n),Xs(o),Xs(r)]},$x=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return zx;var t=Vx(e),n=document.documentElement.clientWidth,o=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,o-n+t[2]-t[0])}},Hx=Df(),no="data-scroll-locked",jx=function(e,t,n,o){var r=e.left,s=e.top,i=e.right,a=e.gap;return n===void 0&&(n="margin"),`
|
|
828
|
+
.`.concat(Rx,` {
|
|
829
|
+
overflow: hidden `).concat(o,`;
|
|
830
|
+
padding-right: `).concat(a,"px ").concat(o,`;
|
|
831
|
+
}
|
|
832
|
+
body[`).concat(no,`] {
|
|
833
|
+
overflow: hidden `).concat(o,`;
|
|
834
|
+
overscroll-behavior: contain;
|
|
835
|
+
`).concat([t&&"position: relative ".concat(o,";"),n==="margin"&&`
|
|
836
|
+
padding-left: `.concat(r,`px;
|
|
837
|
+
padding-top: `).concat(s,`px;
|
|
838
|
+
padding-right: `).concat(i,`px;
|
|
839
|
+
margin-left:0;
|
|
840
|
+
margin-top:0;
|
|
841
|
+
margin-right: `).concat(a,"px ").concat(o,`;
|
|
842
|
+
`),n==="padding"&&"padding-right: ".concat(a,"px ").concat(o,";")].filter(Boolean).join(""),`
|
|
843
|
+
}
|
|
844
|
+
|
|
845
|
+
.`).concat(Tr,` {
|
|
846
|
+
right: `).concat(a,"px ").concat(o,`;
|
|
847
|
+
}
|
|
848
|
+
|
|
849
|
+
.`).concat(Ir,` {
|
|
850
|
+
margin-right: `).concat(a,"px ").concat(o,`;
|
|
851
|
+
}
|
|
852
|
+
|
|
853
|
+
.`).concat(Tr," .").concat(Tr,` {
|
|
854
|
+
right: 0 `).concat(o,`;
|
|
855
|
+
}
|
|
856
|
+
|
|
857
|
+
.`).concat(Ir," .").concat(Ir,` {
|
|
858
|
+
margin-right: 0 `).concat(o,`;
|
|
859
|
+
}
|
|
860
|
+
|
|
861
|
+
body[`).concat(no,`] {
|
|
862
|
+
`).concat(kx,": ").concat(a,`px;
|
|
863
|
+
}
|
|
864
|
+
`)},wl=function(){var e=parseInt(document.body.getAttribute(no)||"0",10);return isFinite(e)?e:0},Bx=function(){c.useEffect(function(){return document.body.setAttribute(no,(wl()+1).toString()),function(){var e=wl()-1;e<=0?document.body.removeAttribute(no):document.body.setAttribute(no,e.toString())}},[])},Wx=function(e){var t=e.noRelative,n=e.noImportant,o=e.gapMode,r=o===void 0?"margin":o;Bx();var s=c.useMemo(function(){return $x(r)},[r]);return c.createElement(Hx,{styles:jx(s,!t,r,n?"":"!important")})},Pi=!1;if(typeof window<"u")try{var mr=Object.defineProperty({},"passive",{get:function(){return Pi=!0,!0}});window.addEventListener("test",mr,mr),window.removeEventListener("test",mr,mr)}catch{Pi=!1}var Bn=Pi?{passive:!1}:!1,Ux=function(e){return e.tagName==="TEXTAREA"},_f=function(e,t){if(!(e instanceof Element))return!1;var n=window.getComputedStyle(e);return n[t]!=="hidden"&&!(n.overflowY===n.overflowX&&!Ux(e)&&n[t]==="visible")},Gx=function(e){return _f(e,"overflowY")},qx=function(e){return _f(e,"overflowX")},Sl=function(e,t){var n=t.ownerDocument,o=t;do{typeof ShadowRoot<"u"&&o instanceof ShadowRoot&&(o=o.host);var r=Lf(e,o);if(r){var s=Ff(e,o),i=s[1],a=s[2];if(i>a)return!0}o=o.parentNode}while(o&&o!==n.body);return!1},Yx=function(e){var t=e.scrollTop,n=e.scrollHeight,o=e.clientHeight;return[t,n,o]},Xx=function(e){var t=e.scrollLeft,n=e.scrollWidth,o=e.clientWidth;return[t,n,o]},Lf=function(e,t){return e==="v"?Gx(t):qx(t)},Ff=function(e,t){return e==="v"?Yx(t):Xx(t)},Kx=function(e,t){return e==="h"&&t==="rtl"?-1:1},Zx=function(e,t,n,o,r){var s=Kx(e,window.getComputedStyle(t).direction),i=s*o,a=n.target,l=t.contains(a),u=!1,d=i>0,p=0,f=0;do{if(!a)break;var y=Ff(e,a),m=y[0],g=y[1],h=y[2],b=g-h-s*m;(m||b)&&Lf(e,a)&&(p+=b,f+=m);var v=a.parentNode;a=v&&v.nodeType===Node.DOCUMENT_FRAGMENT_NODE?v.host:v}while(!l&&a!==document.body||l&&(t.contains(a)||t===a));return(d&&Math.abs(p)<1||!d&&Math.abs(f)<1)&&(u=!0),u},yr=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},Rl=function(e){return[e.deltaX,e.deltaY]},kl=function(e){return e&&"current"in e?e.current:e},Qx=function(e,t){return e[0]===t[0]&&e[1]===t[1]},Jx=function(e){return`
|
|
865
|
+
.block-interactivity-`.concat(e,` {pointer-events: none;}
|
|
866
|
+
.allow-interactivity-`).concat(e,` {pointer-events: all;}
|
|
867
|
+
`)},e2=0,Wn=[];function t2(e){var t=c.useRef([]),n=c.useRef([0,0]),o=c.useRef(),r=c.useState(e2++)[0],s=c.useState(Df)[0],i=c.useRef(e);c.useEffect(function(){i.current=e},[e]),c.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(r));var g=Sx([e.lockRef.current],(e.shards||[]).map(kl),!0).filter(Boolean);return g.forEach(function(h){return h.classList.add("allow-interactivity-".concat(r))}),function(){document.body.classList.remove("block-interactivity-".concat(r)),g.forEach(function(h){return h.classList.remove("allow-interactivity-".concat(r))})}}},[e.inert,e.lockRef.current,e.shards]);var a=c.useCallback(function(g,h){if("touches"in g&&g.touches.length===2||g.type==="wheel"&&g.ctrlKey)return!i.current.allowPinchZoom;var b=yr(g),v=n.current,w="deltaX"in g?g.deltaX:v[0]-b[0],x="deltaY"in g?g.deltaY:v[1]-b[1],S,R=g.target,E=Math.abs(w)>Math.abs(x)?"h":"v";if("touches"in g&&E==="h"&&R.type==="range")return!1;var k=window.getSelection(),M=k&&k.anchorNode,C=M?M===R||M.contains(R):!1;if(C)return!1;var O=Sl(E,R);if(!O)return!0;if(O?S=E:(S=E==="v"?"h":"v",O=Sl(E,R)),!O)return!1;if(!o.current&&"changedTouches"in g&&(w||x)&&(o.current=S),!S)return!0;var I=o.current||S;return Zx(I,h,g,I==="h"?w:x)},[]),l=c.useCallback(function(g){var h=g;if(!(!Wn.length||Wn[Wn.length-1]!==s)){var b="deltaY"in h?Rl(h):yr(h),v=t.current.filter(function(S){return S.name===h.type&&(S.target===h.target||h.target===S.shadowParent)&&Qx(S.delta,b)})[0];if(v&&v.should){h.cancelable&&h.preventDefault();return}if(!v){var w=(i.current.shards||[]).map(kl).filter(Boolean).filter(function(S){return S.contains(h.target)}),x=w.length>0?a(h,w[0]):!i.current.noIsolation;x&&h.cancelable&&h.preventDefault()}}},[]),u=c.useCallback(function(g,h,b,v){var w={name:g,delta:h,target:b,should:v,shadowParent:n2(b)};t.current.push(w),setTimeout(function(){t.current=t.current.filter(function(x){return x!==w})},1)},[]),d=c.useCallback(function(g){n.current=yr(g),o.current=void 0},[]),p=c.useCallback(function(g){u(g.type,Rl(g),g.target,a(g,e.lockRef.current))},[]),f=c.useCallback(function(g){u(g.type,yr(g),g.target,a(g,e.lockRef.current))},[]);c.useEffect(function(){return Wn.push(s),e.setCallbacks({onScrollCapture:p,onWheelCapture:p,onTouchMoveCapture:f}),document.addEventListener("wheel",l,Bn),document.addEventListener("touchmove",l,Bn),document.addEventListener("touchstart",d,Bn),function(){Wn=Wn.filter(function(g){return g!==s}),document.removeEventListener("wheel",l,Bn),document.removeEventListener("touchmove",l,Bn),document.removeEventListener("touchstart",d,Bn)}},[]);var y=e.removeScrollBar,m=e.inert;return c.createElement(c.Fragment,null,m?c.createElement(s,{styles:Jx(r)}):null,y?c.createElement(Wx,{noRelative:e.noRelative,gapMode:e.gapMode}):null)}function n2(e){for(var t=null;e!==null;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}const o2=Ox(Nf,t2);var zf=c.forwardRef(function(e,t){return c.createElement(ks,Bt({},e,{ref:t,sideCar:o2}))});zf.classNames=ks.classNames;var r2=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},Un=new WeakMap,br=new WeakMap,vr={},Ks=0,Vf=function(e){return e&&(e.host||Vf(e.parentNode))},s2=function(e,t){return t.map(function(n){if(e.contains(n))return n;var o=Vf(n);return o&&e.contains(o)?o:(console.error("aria-hidden",n,"in not contained inside",e,". Doing nothing"),null)}).filter(function(n){return!!n})},i2=function(e,t,n,o){var r=s2(t,Array.isArray(e)?e:[e]);vr[n]||(vr[n]=new WeakMap);var s=vr[n],i=[],a=new Set,l=new Set(r),u=function(p){!p||a.has(p)||(a.add(p),u(p.parentNode))};r.forEach(u);var d=function(p){!p||l.has(p)||Array.prototype.forEach.call(p.children,function(f){if(a.has(f))d(f);else try{var y=f.getAttribute(o),m=y!==null&&y!=="false",g=(Un.get(f)||0)+1,h=(s.get(f)||0)+1;Un.set(f,g),s.set(f,h),i.push(f),g===1&&m&&br.set(f,!0),h===1&&f.setAttribute(n,"true"),m||f.setAttribute(o,"true")}catch(b){console.error("aria-hidden: cannot operate on ",f,b)}})};return d(t),a.clear(),Ks++,function(){i.forEach(function(p){var f=Un.get(p)-1,y=s.get(p)-1;Un.set(p,f),s.set(p,y),f||(br.has(p)||p.removeAttribute(o),br.delete(p)),y||p.removeAttribute(n)}),Ks--,Ks||(Un=new WeakMap,Un=new WeakMap,br=new WeakMap,vr={})}},a2=function(e,t,n){n===void 0&&(n="data-aria-hidden");var o=Array.from(Array.isArray(e)?e:[e]),r=r2(e);return r?(o.push.apply(o,Array.from(r.querySelectorAll("[aria-live], script"))),i2(o,r,n,"aria-hidden")):function(){return null}},c2=Object.defineProperty,un=(e,t)=>c2(e,"name",{value:t,configurable:!0}),Wa="Dialog",[$f,OE]=rf(Wa),[l2,$n]=$f(Wa),AE=un(e=>{const{__scopeDialog:t,children:n,open:o,defaultOpen:r,onOpenChange:s,modal:i=!0}=e,a=c.useRef(null),l=c.useRef(null),[u,d]=cf({prop:o,defaultProp:r??!1,onChange:s,caller:Wa}),[p,f]=c.useState(0),[y,m]=c.useState(0);return K.jsx(l2,{scope:t,triggerRef:a,contentRef:l,contentId:Mr(),titleId:Mr(),descriptionId:Mr(),titlePresent:p>0,descriptionPresent:y>0,setTitleCount:f,setDescriptionCount:m,open:u,onOpenChange:d,onOpenToggle:c.useCallback(()=>d(g=>!g),[d]),modal:i,children:n})},"Dialog"),Hf="DialogPortal",[u2,jf]=$f(Hf,{forceMount:void 0}),NE=un(e=>{const{__scopeDialog:t,forceMount:n,children:o,container:r}=e,s=$n(Hf,t);return K.jsx(u2,{scope:t,forceMount:n,children:c.Children.map(o,i=>K.jsx(Ha,{present:n||s.open,children:K.jsx(bx,{asChild:!0,container:r,children:i})}))})},"DialogPortal"),Mi="DialogOverlay",DE=c.forwardRef(un(function(t,n){const o=jf(Mi,t.__scopeDialog),{forceMount:r=o.forceMount,...s}=t,i=$n(Mi,t.__scopeDialog);return i.modal?K.jsx(Ha,{present:r||i.open,children:K.jsx(f2,{...s,ref:n})}):null},"DialogOverlay")),d2=za("DialogOverlay.RemoveScroll"),f2=c.forwardRef(un(function(t,n){const{__scopeDialog:o,...r}=t,s=$n(Mi,o),i=bf(),a=wo(n,i);return K.jsx(zf,{as:d2,allowPinchZoom:!0,shards:[s.contentRef],children:K.jsx(Rs.div,{"data-state":Ua(s.open),...r,ref:a,style:{pointerEvents:"auto",...r.style}})})},"DialogOverlayImpl")),$o="DialogContent",_E=c.forwardRef(un(function(t,n){const o=jf($o,t.__scopeDialog),{forceMount:r=o.forceMount,...s}=t,i=$n($o,t.__scopeDialog);return K.jsx(Ha,{present:r||i.open,children:i.modal?K.jsx(p2,{...s,ref:n}):K.jsx(h2,{...s,ref:n})})},"DialogContent")),p2=c.forwardRef(un(function(t,n){const o=$n($o,t.__scopeDialog),r=c.useRef(null),s=wo(n,o.contentRef,r);return c.useEffect(()=>{const i=r.current;if(i)return a2(i)},[]),K.jsx(Bf,{...t,ref:s,trapFocus:o.open,disableOutsidePointerEvents:o.open,onCloseAutoFocus:Nn(t.onCloseAutoFocus,i=>{var a;i.preventDefault(),(a=o.triggerRef.current)==null||a.focus()}),onPointerDownOutside:Nn(t.onPointerDownOutside,i=>{const a=i.detail.originalEvent,l=a.button===0&&a.ctrlKey===!0;(a.button===2||l)&&i.preventDefault()}),onFocusOutside:Nn(t.onFocusOutside,i=>i.preventDefault())})},"DialogContentModal")),h2=c.forwardRef(un(function(t,n){const o=$n($o,t.__scopeDialog),r=c.useRef(!1),s=c.useRef(!1);return K.jsx(Bf,{...t,ref:n,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:i=>{var a,l;(a=t.onCloseAutoFocus)==null||a.call(t,i),i.defaultPrevented||(r.current||(l=o.triggerRef.current)==null||l.focus(),i.preventDefault()),r.current=!1,s.current=!1},onInteractOutside:i=>{var u,d;(u=t.onInteractOutside)==null||u.call(t,i),i.defaultPrevented||(r.current=!0,i.detail.originalEvent.type==="pointerdown"&&(s.current=!0));const a=i.target;((d=o.triggerRef.current)==null?void 0:d.contains(a))&&i.preventDefault(),i.detail.originalEvent.type==="focusin"&&s.current&&i.preventDefault()}})},"DialogContentNonModal")),Bf=c.forwardRef(un(function(t,n){const{__scopeDialog:o,trapFocus:r,onOpenAutoFocus:s,onCloseAutoFocus:i,...a}=t,l=$n($o,o);return Ba(),K.jsx(K.Fragment,{children:K.jsx(gx,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:s,onUnmountAutoFocus:i,children:K.jsx(fx,{role:"dialog",id:l.contentId,"aria-describedby":l.descriptionPresent?l.descriptionId:void 0,"aria-labelledby":l.titlePresent?l.titleId:void 0,"data-state":Ua(l.open),...a,ref:n,deferPointerDownOutside:!0,onDismiss:()=>l.onOpenChange(!1)})})})},"DialogContentImpl"));function Ua(e){return e?"open":"closed"}un(Ua,"getState");function g2(e){const{open:t,defaultOpen:n,onOpenChange:o,disabled:r}=e,[s,i]=_t({controlled:t,default:n,name:"Collapsible",state:"open"}),{mounted:a,setMounted:l,transitionStatus:u}=ln(s,!0,!0),d=tt(),[p,f]=c.useState(),y=p===null?void 0:p??d,m=le(g=>{const h=!s,b=ke(Rn,g.nativeEvent);o(h,b),!b.isCanceled&&i(h)});return c.useMemo(()=>({defaultPanelId:d,disabled:r,handleTrigger:m,mounted:a,open:s,panelId:y,setMounted:l,setOpen:i,setPanelIdState:f,transitionStatus:u}),[d,r,m,a,s,y,l,i,f,u])}const Wf=c.createContext(void 0);function Uf(){const e=c.useContext(Wf);if(e===void 0)throw new Error(De(15));return e}let Ga=(function(e){return e.open="data-open",e.closed="data-closed",e[e.startingStyle=_r.startingStyle]="startingStyle",e[e.endingStyle=_r.endingStyle]="endingStyle",e})({}),m2=(function(e){return e.panelOpen="data-panel-open",e})({});const y2={[Ga.open]:""},b2={[Ga.closed]:""},v2={open(e){return e?{[m2.panelOpen]:""}:null}},x2={open(e){return e?y2:b2}},Gf={...x2,...Gt},LE=c.forwardRef(function(t,n){const{render:o,className:r,defaultOpen:s=!1,disabled:i=!1,onOpenChange:a,open:l,style:u,...d}=t,p=le(a),f=g2({open:l,defaultOpen:s,onOpenChange:p,disabled:i}),y=c.useMemo(()=>({open:f.open,disabled:f.disabled,transitionStatus:f.transitionStatus}),[f.open,f.disabled,f.transitionStatus]),m=c.useMemo(()=>({...f,onOpenChange:p,state:y}),[f,p,y]),g=Se("div",t,{state:y,ref:n,props:d,stateAttributesMapping:Gf});return K.jsx(Wf.Provider,{value:m,children:g})}),w2={...v2,...Gt},FE=c.forwardRef(function(t,n){const{panelId:o,open:r,handleTrigger:s,state:i,disabled:a}=Uf(),{className:l,disabled:u=a,render:d,nativeButton:p=!0,style:f,...y}=t,{getButtonProps:m,buttonRef:g}=Tt({disabled:u,focusableWhenDisabled:!0,native:p});return Se("button",t,{state:i,ref:[n,g],props:[{"aria-controls":r?o:void 0,"aria-expanded":r,onClick:s},y,m],stateAttributesMapping:w2})}),Po={height:void 0,width:void 0};function S2(e){const{externalRef:t,hiddenUntilFound:n,id:o,keepMounted:r,mounted:s,onOpenChange:i,open:a,setMounted:l,setOpen:u,transitionStatus:d}=e,p=c.useRef(null),f=c.useRef(null),[y,m]=c.useState(Po),g=c.useRef(Po),h=c.useRef(!1),b=c.useRef(a),v=c.useRef(!1),[w,x]=c.useState(!1),S=c.useRef(null),R=Nt(t,p),E=Ze(a),k=Qi(p),M=!a&&!s,C=w?"idle":d,O=a&&(b.current||v.current),I=!a&&s&&f.current==="css-animation"&&y.height===void 0&&y.width===void 0?g.current:y,N=n&&M&&f.current!=="css-animation",D=le((F,T=!0)=>{T&&(g.current=F),m(F)}),P=le(()=>{var F;(F=S.current)==null||F.call(S),S.current=null}),z=le(F=>{P(),S.current=()=>{S.current=null,F()}}),_=le(()=>{a&&s&&f.current==="css-animation"&&(v.current=!0)});oe(()=>{!w||d==="starting"||x(!1)},[w,d]),c.useEffect(()=>()=>{_(),P()},[_,P]),oe(()=>{const F=p.current;if(!F)return;!a&&S.current&&P();const T=R2(F,O);if(f.current=T,a&&d==="idle"&&b.current&&T==="css-animation"){g.current=Gn(F);return}if(a&&d==="starting"){const $=h.current;if(h.current=!1,T==="none"){D(Gn(F)),x(!0);return}if(T==="css-transition"){const V=k2(F);if(D(Gn(F)),!$)return V;const Q=xr(F,"transition-duration","0s");return z(Q),x(!0),V}D(Gn(F));const U=xr(F,"animation-name","none");if(!$){U();return}const q=xr(F,"animation-duration","0s");U(),z(q),x(!0);return}if(!a&&s&&(d==="idle"||d==="starting")){if(b.current=!1,v.current=!1,T==="none"){D(Po,!1),l(!1);return}D(Gn(F));return}if(d!=="ending")return;if(T==="none"){l(!1);return}const L=Gn(F);if(!(L.height>0||L.width>0)){l(!1);return}D(L),T==="css-animation"&&xr(F,"animation-name","none")()},[s,a,P,D,l,z,O,d]),kt({enabled:a&&s&&C==="idle",open:!0,ref:p,onComplete(){a&&D(Po,!1)}}),c.useEffect(()=>{if(a||!s||C!=="ending"||!p.current)return;const T=new AbortController;let L=-1;function j(){E.current||(l(!1),D(Po,!1))}return L=vt.request(()=>{k(j,T.signal)}),()=>{vt.cancel(L),T.abort()}},[E,s,a,C,k,D,l]),oe(()=>{const F=p.current;!F||!n||!M||F.setAttribute("hidden","until-found")},[M,n]),c.useEffect(function(){const T=p.current;if(!T)return;function L(j){const $=ke(Rt,j);i(!0,$),!$.isCanceled&&(h.current=!0,u(!0))}return Me(T,"beforematch",L)},[i,u]);const A=r||n||s||a;return{height:I.height,props:{...N?{[Ga.startingStyle]:""}:void 0,hidden:M,id:o},ref:R,shouldPreventOpenAnimation:O,shouldRender:A,transitionStatus:C,width:I.width}}function Gn(e){return{height:e.scrollHeight,width:e.scrollWidth}}function R2(e,t){const n=He(e).getComputedStyle(e),o=(n.animationName.split(",").map(s=>s.trim()).some(s=>s!==""&&s!=="none")||t)&&El(n.animationDuration),r=El(n.transitionDuration);return o&&r||r?"css-transition":o?"css-animation":"none"}function El(e){return e.split(",").map(t=>t.trim()).some(t=>t!==""&&Number.parseFloat(t)>0)}function xr(e,t,n){const o=e.style.getPropertyValue(t),r=e.style.getPropertyPriority(t);return e.style.setProperty(t,n),()=>{if(o===""){e.style.removeProperty(t);return}e.style.setProperty(t,o,r)}}function k2(e){const t={"justify-content":e.style.justifyContent,"align-items":e.style.alignItems,"align-content":e.style.alignContent,"justify-items":e.style.justifyItems};Object.keys(t).forEach(r=>{e.style.setProperty(r,"initial","important")});function n(){Object.entries(t).forEach(([r,s])=>{if(s===""){e.style.removeProperty(r);return}e.style.setProperty(r,s)})}const o=vt.request(n);return()=>{vt.cancel(o),n()}}let Cl=(function(e){return e.collapsiblePanelHeight="--collapsible-panel-height",e.collapsiblePanelWidth="--collapsible-panel-width",e})({});const zE=c.forwardRef(function(t,n){const{className:o,hiddenUntilFound:r,keepMounted:s,render:i,id:a,style:l,...u}=t,{defaultPanelId:d,mounted:p,onOpenChange:f,open:y,setMounted:m,setPanelIdState:g,setOpen:h,state:b,transitionStatus:v}=Uf(),w=r??!1,x=s??!1,S=a||void 0,R=S??d;oe(()=>(g(_=>S??(_===null?void 0:_)),()=>{g(_=>_===S?null:_)}),[S,g]);const{height:E,props:k,ref:M,shouldPreventOpenAnimation:C,shouldRender:O,transitionStatus:I,width:N}=S2({externalRef:n,hiddenUntilFound:w,id:R,keepMounted:x,mounted:p,onOpenChange:f,open:y,setMounted:m,setOpen:h,transitionStatus:v}),D={...b,transitionStatus:I},P=fu(l,D),z=Se("div",{...t,style:void 0},{state:D,ref:M,props:[k,{style:{[Cl.collapsiblePanelHeight]:E===void 0?"auto":`${E}px`,[Cl.collapsiblePanelWidth]:N===void 0?"auto":`${N}px`}},u,P?{style:P}:void 0,C?{style:{animationName:"none"}}:void 0],stateAttributesMapping:Gf});return O?z:null}),qf=c.createContext(void 0);function Es(e){const t=c.useContext(qf);if(t===void 0&&!e)throw new Error(De(72));return t}const E2={...ka,disabled:e=>e.disabled,instantType:e=>e.instantType,isInstantPhase:e=>e.isInstantPhase,trackCursorAxis:e=>e.trackCursorAxis,disableHoverablePopup:e=>e.disableHoverablePopup,lastOpenChangeReason:e=>e.openChangeReason,closeOnClick:e=>e.closeOnClick,closeDelay:e=>e.closeDelay,adaptiveOrigin:e=>e.adaptiveOrigin};class C2 extends Uo{constructor(n,o,r){const s=new Go;super(P2(n,s,o,r),M2(s),E2);Ne(this,"setOpen",(n,o)=>{rb(this,n,o,{extraState:{openChangeReason:o.reason}})})}cancelPendingOpen(n){this.state.floatingRootContext.dispatchOpenChange(!1,ke(Rn,n))}}function P2(e,t,n,o=!1){const r={...Sa(),disabled:!1,instantType:void 0,isInstantPhase:!1,trackCursorAxis:"none",disableHoverablePopup:!1,openChangeReason:null,closeOnClick:!0,closeDelay:0,adaptiveOrigin:void 0,...e};return r.floatingRootContext=xd(t,n,o),r}function M2(e){return{popupRef:c.createRef(),onOpenChange:void 0,onOpenChangeComplete:void 0,triggerElements:e}}const VE=ga(function(t){const{disabled:n=!1,defaultOpen:o=!1,open:r,disableHoverablePopup:s=!1,trackCursorAxis:i="none",actionsRef:a,onOpenChange:l,onOpenChangeComplete:u,handle:d,triggerId:p,defaultTriggerId:f=null,children:y}=t,m=bd((O,I)=>new C2({open:o,openProp:r,activeTriggerId:f,triggerIdProp:p},O,I));m.useControlledProp("openProp",r),m.useControlledProp("triggerIdProp",p),m.useContextCallback("onOpenChange",l),m.useContextCallback("onOpenChangeComplete",u);const g=m.useState("open"),h=!n&&g,b=m.useState("activeTriggerId"),v=m.useState("mounted"),w=m.useState("payload");m.useSyncedValues({trackCursorAxis:i,disableHoverablePopup:s,disabled:n}),va(m,{closeOnActiveTriggerUnmount:!0});const{forceUnmount:x,transitionStatus:S}=xa(h,m),R=m.useState("isInstantPhase"),E=m.useState("instantType"),k=m.useState("lastOpenChangeReason"),M=c.useRef(null);oe(()=>{g&&n&&m.setOpen(!1,ke(Iu))},[g,n,m]),oe(()=>{S==="ending"&&k===Rt||S!=="ending"&&R?(E!=="delay"&&(M.current=E),m.set("instantType","delay")):M.current!==null&&(m.set("instantType",M.current),M.current=null)},[S,R,k,E,m]),oe(()=>{h&&b==null&&m.set("payload",void 0)},[m,b,h]),c.useImperativeHandle(a,()=>({unmount:x,close:()=>m.setOpen(!1,ke(Gi))}),[x,m]);const C=h||v||!n&&i!=="none";return K.jsxs(qf.Provider,{value:m,children:[d&&K.jsx(ma,{handle:d,store:m}),C&&K.jsx(T2,{store:m,disabled:n,trackCursorAxis:i}),typeof y=="function"?y({payload:w}):y]})});function T2({store:e,disabled:t,trackCursorAxis:n}){const o=e.useState("floatingRootContext"),r=as(o,{enabled:!t,referencePress:()=>e.select("closeOnClick")}),s=e1(o,{enabled:!t&&n!=="none",axis:n==="none"?void 0:n}),i=c.useMemo(()=>St(s.reference,r.reference),[s.reference,r.reference]);return wa(e,{activeTriggerProps:i,inactiveTriggerProps:i,popupProps:r.floating??We}),null}const Yf=c.createContext(void 0);function I2(){return c.useContext(Yf)}const Pl=600,Xf="data-base-ui-tooltip-trigger";function Ml(e){if("composedPath"in e){const n=e.composedPath();for(let o=0;o<n.length;o+=1){const r=n[o];if(Oe(r))return r}}const t=e.target;return Oe(t)?t:null}function O2(e){let t=e;for(;t;){const n=t.closest(`[${Xf}]`);if(n)return n;const o=t.getRootNode();t="host"in o&&Oe(o.host)?o.host:null}return null}const $E=md(function(t,n){const{render:o,className:r,style:s,handle:i,payload:a,disabled:l,delay:u,closeOnClick:d=!0,closeDelay:p,id:f,...y}=t,m=Es(!0),h=Ea(i)??m;if(!h)throw new Error(De(82));const b=tt(f),v=h.useState("isTriggerActive",b),w=h.useState("isOpenedByTrigger",b),x=h.useState("floatingRootContext"),S=c.useRef(null),R=u??Pl,E=p??0,{registerTrigger:k,isMountedByThisTrigger:M}=ba(b,S,h,{payload:a,closeOnClick:d,closeDelay:E}),C=I2(),{delayRef:O,isInstantPhase:I,hasProvider:N}=R0(x,{open:w}),D=Pa(x);h.useSyncedValue("isInstantPhase",I);const P=h.useState("disabled"),z=l??P,_=Ze(z),A=h.useState("trackCursorAxis"),F=h.useState("disableHoverablePopup"),T=c.useRef(!1),L=Ge(),j=c.useRef(void 0);function $(){return N?vn(O.current,"open")===0?0:u??C??Pl:R}function U(J){const ee=S.current;if(!ee||!J)return!1;const ie=O2(J);return ie!==null&&ie!==ee&&ve(ee,ie)}function q(J){const ee=U(J);return T.current=ee,ee&&(D.openChangeTimeout.clear(),D.restTimeout.clear(),D.restTimeoutPending=!1,L.clear()),ee}const V=Ed(x,{enabled:!z,mouseOnly:!0,move:!1,handleClose:!F&&A!=="both"?Md():null,restMs:$,delay(){return p==null&&N?{close:vn(O.current,"close")}:{close:E}},triggerElementRef:S,isActiveTrigger:v,isClosing:()=>h.select("transitionStatus")==="ending",shouldOpen(){return!T.current}}),Q=Sd(x,{enabled:!z}).reference,H=J=>{const ee=T.current,ie=Ml(J),xe=q(ie),ae=S.current,he=ae&&ie&&ve(ae,ie);if(xe&&h.select("open")&&h.select("lastOpenChangeReason")===rt){h.setOpen(!1,ke(rt,J));return}if(ee&&!xe&&he&&!_.current&&!h.select("open")&&ae&&mn(j.current)){const re=()=>{!T.current&&!_.current&&!h.select("open")&&h.setOpen(!0,ke(rt,J,ae))},ge=$();ge===0?(L.clear(),re()):L.start(ge,re)}},G=h.useState("triggerProps",M);return Se("button",t,{state:{open:w},ref:[n,k,S],props:[V,Q,M||A!=="none"?G:void 0,{onMouseOver(J){H(J.nativeEvent)},onFocus(J){U(Ml(J.nativeEvent))&&J.preventBaseUIHandler()},onMouseLeave(){T.current=!1,L.clear(),j.current=void 0},onPointerEnter(J){j.current=J.pointerType},onPointerDown(J){j.current=J.pointerType,h.set("closeOnClick",d),d&&!h.select("open")&&h.cancelPendingOpen(J.nativeEvent)},onClick(J){d&&!h.select("open")&&h.cancelPendingOpen(J.nativeEvent)},id:b,"data-trigger-disabled":z?"":void 0,[Xf]:z?void 0:""},y],stateAttributesMapping:Bi})}),Kf=c.createContext(void 0);function A2(){const e=c.useContext(Kf);if(e===void 0)throw new Error(De(70));return e}const N2=c.forwardRef(function(t,n){const{children:o,container:r,className:s,render:i,style:a,...l}=t,{node:u,subtree:d}=nd({container:r,ref:n,componentProps:t,elementProps:l});return!d&&!u?null:K.jsxs(c.Fragment,{children:[d,u&&At.createPortal(o,u)]})}),HE=c.forwardRef(function(t,n){const{keepMounted:o=!1,...r}=t;return Es().useState("mounted")||o?K.jsx(Kf.Provider,{value:o,children:K.jsx(N2,{ref:n,...r})}):null}),Zf=c.createContext(void 0);function D2(){const e=c.useContext(Zf);if(e===void 0)throw new Error(De(71));return e}const jE=c.forwardRef(function(t,n){const{render:o,className:r,anchor:s,positionMethod:i="absolute",side:a="top",align:l="center",sideOffset:u=0,alignOffset:d=0,collisionBoundary:p="clipping-ancestors",collisionPadding:f=5,arrowPadding:y=5,sticky:m=!1,disableAnchorTracking:g=!1,collisionAvoidance:h=Ju,style:b,...v}=t,w=Es(),x=A2(),S=w.useState("open"),R=w.useState("mounted"),E=w.useState("trackCursorAxis"),k=w.useState("disableHoverablePopup"),M=w.useState("floatingRootContext"),C=w.useState("instantType"),O=w.useState("transitionStatus"),I=w.useState("adaptiveOrigin"),N=Ta({anchor:s,positionMethod:i,floatingRootContext:M,mounted:R,side:a,sideOffset:u,align:l,alignOffset:d,collisionBoundary:p,collisionPadding:f,sticky:m,arrowPadding:y,disableAnchorTracking:g,keepMounted:x,collisionAvoidance:h,adaptiveOrigin:I}),D=c.useMemo(()=>({open:S,side:N.side,align:N.align,anchorHidden:N.anchorHidden,instant:E!=="none"?"tracking-cursor":C}),[S,N.side,N.align,N.anchorHidden,E,C]),P=Oa(t,D,{styles:N.positionerStyles,transitionStatus:O,props:v,refs:[n,w.useStateSetter("positionerElement")],hidden:!R,inert:!S||E==="both"||k});return K.jsx(Zf.Provider,{value:N,children:P})}),BE=c.forwardRef(function(t,n){const{render:o,className:r,style:s,...i}=t,a=Es(),{side:l,align:u}=D2(),d=a.useState("open"),p=a.useState("instantType"),f=a.useState("transitionStatus"),y=a.useState("popupProps"),m=a.useState("floatingRootContext"),g=a.useState("disabled"),h=a.useState("closeDelay");kt({open:d,ref:a.context.popupRef,onComplete(){var x,S;d&&((S=(x=a.context).onOpenChangeComplete)==null||S.call(x,!0))}}),kd(m,{enabled:!g,closeDelay:h});const b=a.useStateSetter("popupElement");return Se("div",t,{state:{open:d,side:l,align:u,instant:p,transitionStatus:f},ref:[n,a.context.popupRef,b],props:[ds,y,hs(f),i],stateAttributesMapping:Wi})}),WE=function(t){const{delay:n,closeDelay:o,timeout:r=400}=t,s=c.useMemo(()=>({open:n,close:o}),[n,o]);return K.jsx(Yf.Provider,{value:n,children:K.jsx(S0,{delay:s,timeoutMs:r,children:t.children})})};function Qf(e,t,n,o=!0,r){const[s,i]=c.useState(),a=tt(r?`${r}-label`:void 0),l=e??t??s;return oe(()=>{const u=e||t||!o?void 0:_2(n.current,a);s!==u&&i(u)}),l}function _2(e,t){const n=L2(e);if(n)return!n.id&&t&&(n.id=t),n.id||void 0}function L2(e){if(!e)return;const t=e.parentElement;if(t&&t.tagName==="LABEL")return t;const n=e.id;if(n){const r=e.nextElementSibling;if(r&&r.htmlFor===n)return r}const o=e.labels;return o&&o[0]}const F2=c.createContext({disabled:!1});function z2(){return c.useContext(F2)}const V2=c.forwardRef(function(t,n){const{render:o,className:r,id:s,name:i,value:a,disabled:l=!1,onValueChange:u,defaultValue:d,autoFocus:p=!1,style:f,...y}=t,{state:m,name:g,disabled:h,setTouched:b,setDirty:v,validityData:w,setFocused:x,setFilled:S,validationMode:R,validation:E}=vo(),{clearErrors:k}=Ss(),M=h||l,C=g??i,O={...m,disabled:M},{labelId:I}=qo(),N=ws({id:s});oe(()=>{var L;const T=a!=null;(L=E.inputRef.current)!=null&&L.value||T&&a!==""?S(!0):T&&a===""&&S(!1)},[E.inputRef,S,a]);const D=c.useRef(null);oe(()=>{p&&D.current===dt(Te(D.current))&&x(!0)},[p,x]);const[P]=_t({controlled:a,default:d,name:"FieldControl",state:"value"}),z=a!==void 0,_=z?P:void 0,A=le(()=>{var T;return(T=E.inputRef.current)==null?void 0:T.value});return xs(E.inputRef,N,_,A,!M,i),Se("input",t,{ref:[n,D],state:O,props:[{id:N,disabled:M,name:C,ref:E.inputRef,"aria-labelledby":I,autoFocus:p,...z?{value:_}:{defaultValue:d},onChange(T){const L=T.currentTarget.value;u==null||u(L,ke(Rt,T.nativeEvent)),v(L!==(w.initialValue??"")),S(L!==""),T.nativeEvent.defaultPrevented||(k(C),E.change(L))},onFocus(){x(!0)},onBlur(T){b(!0),x(!1),R==="onBlur"&&E.commit(T.currentTarget.value)},onKeyDown(T){T.currentTarget.tagName==="INPUT"&&T.key==="Enter"&&(b(!0),E.commit(T.currentTarget.value))}},y,T=>E.getValidationProps(M,T)],stateAttributesMapping:vs})}),UE=c.forwardRef(function(t,n){return K.jsx(V2,{ref:n,...t})});function Jf(e){return Array.isArray(e)?e.map(t=>Jf(t)).join(","):e==null?"":String(e)}const Tl=new Map;function $2(e,t){const n=JSON.stringify({locale:Jf(e),options:t}),o=Tl.get(n);if(o)return o;const r=new Intl.NumberFormat(e,t);return Tl.set(n,r),r}function Il(e,t,n){return e==null?"":$2(t,n).format(e)}function H2(e,t,n){return(e-t)*100/(n-t)}const ep=c.createContext(void 0);function Cs(){const e=c.useContext(ep);if(e===void 0)throw new Error(De(51));return e}const Xo={status(e){return{[`data-${e}`]:""}}},GE=c.forwardRef(function(t,n){const{format:o,getAriaValueText:r,locale:s,max:i=100,min:a=0,value:l,render:u,className:d,children:p,style:f,...y}=t,[m,g]=c.useState();let h="indeterminate",b=null,v=null,w="",x="indeterminate progress";if(l!=null&&Number.isFinite(l)){const M=H2(l,a,i);b=hn(Number.isNaN(M)?0:M,0,100),v=hn(l,a,i),h=v===i?"complete":"progressing",w=o?Il(v,s,o):Il(b/100,s,{style:"percent"}),x=w}const S=c.useMemo(()=>({status:h}),[h]),R={"aria-labelledby":m,"aria-valuemax":i,"aria-valuemin":a,"aria-valuenow":v??void 0,"aria-valuetext":r?r(w,l):x,role:"progressbar",children:K.jsxs(c.Fragment,{children:[p,K.jsx("span",{role:"presentation",style:Bo,children:"x"})]})},E=c.useMemo(()=>({formattedValue:w,percentageValue:b,setLabelId:g,state:S,value:l}),[w,b,g,S,l]),k=Se("div",t,{state:S,ref:n,props:[R,y],stateAttributesMapping:Xo});return K.jsx(ep.Provider,{value:E,children:k})}),qE=c.forwardRef(function(t,n){const{render:o,className:r,style:s,...i}=t,{state:a}=Cs();return Se("div",t,{state:a,ref:n,props:i,stateAttributesMapping:Xo})}),YE=c.forwardRef(function(t,n){const{render:o,className:r,style:s,...i}=t,{percentageValue:a,state:l}=Cs(),u=a==null?{}:{insetInlineStart:0,height:"inherit",width:`${a}%`};return Se("div",t,{state:l,ref:n,props:[{style:u},i],stateAttributesMapping:Xo})}),XE=c.forwardRef(function(t,n){const{className:o,render:r,children:s,style:i,...a}=t,{value:l,formattedValue:u,state:d}=Cs(),p=d.status==="indeterminate";return Se("span",t,{state:d,ref:n,props:[{"aria-hidden":!0,children:typeof s=="function"?s(p?"indeterminate":u,l):p?null:u},a],stateAttributesMapping:Xo})}),KE=c.forwardRef(function(t,n){const{render:o,className:r,style:s,id:i,...a}=t,{setLabelId:l,state:u}=Cs(),d=yv(i,l);return Se("span",t,{state:u,ref:n,props:[{id:d,role:"presentation"},a],stateAttributesMapping:Xo})}),tp=c.createContext(void 0);function Ps(){const e=c.useContext(tp);if(e===void 0)throw new Error(De(53));return e}const j2=500,Ti=16;function gn(e,t,n){if(!e)return 0;const o=getComputedStyle(e),r=`${t}${n==="x"?"Inline":"Block"}`,s=parseFloat(o[`${r}Start`]);return n==="x"&&t==="margin"?s*2:s+parseFloat(o[`${r}End`])}const qn=e=>t=>t?{[e]:""}:null,qa={hasOverflowX:qn("data-has-overflow-x"),hasOverflowY:qn("data-has-overflow-y"),overflowXStart:qn("data-overflow-x-start"),overflowXEnd:qn("data-overflow-x-end"),overflowYStart:qn("data-overflow-y-start"),overflowYEnd:qn("data-overflow-y-end"),cornerHidden:()=>null},B2={x:0,y:0},Ol={width:0,height:0},W2={xStart:!1,xEnd:!1,yStart:!1,yEnd:!1},U2={x:!0,y:!0,corner:!0},ZE=c.forwardRef(function(t,n){const{render:o,className:r,overflowEdgeThreshold:s,style:i,...a}=t,{xStart:l,xEnd:u,yStart:d,yEnd:p}=G2(s),f=tt(),y=Ge(),m=Ge(),{nonce:g,disableStyleElements:h}=_a(),[b,v]=c.useState(!1),[w,x]=c.useState(!1),[S,R]=c.useState(!1),[E,k]=c.useState(!1),[M,C]=c.useState(!1),[O,I]=c.useState(Ol),[N,D]=c.useState(Ol),[P,z]=c.useState(W2),[_,A]=c.useState(U2),F=c.useRef(null),T=c.useRef(null),L=c.useRef(null),j=c.useRef(null),$=c.useRef(null),U=c.useRef(null),q=c.useRef(null),V=c.useRef(null),Q=c.useRef(0),H=c.useRef(0),G=c.useRef(0),ue=c.useRef(0),ne=c.useRef("vertical"),te=c.useRef(B2),J=c.useRef(null);function ee(se){const Z=se?R:x,X=se?y:m;Z(!0),X.start(j2,()=>{Z(!1)})}const ie=le(se=>{const Z=se.x-te.current.x,X=se.y-te.current.y;te.current=se,X!==0&&ee(!0),Z!==0&&ee(!1)}),xe=le(()=>{const se=T.current;se&&J.current===null&&(J.current=se.style.scrollSnapType,se.style.scrollSnapType="none")}),ae=le(se=>{if(se.button!==0)return;if(V.current!==null){const pe=ne.current==="vertical"?$.current:U.current;if(pe!=null&&pe.hasPointerCapture(V.current))return}V.current=se.pointerId,Q.current=se.clientY,H.current=se.clientX,ne.current=se.currentTarget.getAttribute("data-orientation");const Z=T.current;Z&&(G.current=Z.scrollTop,ue.current=Z.scrollLeft,xe());const X=ne.current==="vertical"?$.current:U.current;X==null||X.setPointerCapture(se.pointerId)}),he=le(se=>{if(se.pointerId!==V.current)return;V.current=null,(ne.current==="vertical"?R:x)(!1),J.current!==null&&(T.current&&(T.current.style.scrollSnapType=J.current),J.current=null);const Z=ne.current==="vertical"?$.current:U.current;Z!=null&&Z.hasPointerCapture(se.pointerId)&&Z.releasePointerCapture(se.pointerId)}),re=le(se=>{if(se.pointerId!==V.current)return;if(se.buttons%2===0){he(se);return}const Z=T.current;if(!Z)return;const X=ne.current==="vertical",pe=X?$.current:U.current,be=X?L.current:j.current;if(!pe||!be)return;const _e=X?"y":"x",Ue=gn(be,"padding",_e),Ye=gn(pe,"margin",_e),st=X?pe.offsetHeight:pe.offsetWidth,Je=(X?be.offsetHeight:be.offsetWidth)-st-Ue-Ye,ct=X?se.clientY-Q.current:se.clientX-H.current,Re=Je<=0?0:ct/Je,je=X?Z.scrollHeight:Z.scrollWidth,qe=X?Z.clientHeight:Z.clientWidth,Xe=(X?G.current:ue.current)+Re*(je-qe);X?Z.scrollTop=Xe:Z.scrollLeft=Xe,se.preventDefault(),ee(X)});function ge(se){k(se.pointerType==="touch")}function de(se){if(ge(se),se.pointerType!=="touch"){const Z=ve(F.current,se.target);v(Z)}}const ce=c.useMemo(()=>({scrolling:w||S,hasOverflowX:!_.x,hasOverflowY:!_.y,overflowXStart:P.xStart,overflowXEnd:P.xEnd,overflowYStart:P.yStart,overflowYEnd:P.yEnd,cornerHidden:_.corner}),[w,S,_.x,_.y,_.corner,P]),fe={role:"presentation",onPointerEnter:de,onPointerMove:de,onPointerDown:ge,onPointerLeave(){v(!1)},style:{position:"relative","--scroll-area-corner-height":`${O.height}px`,"--scroll-area-corner-width":`${O.width}px`}},W=Se("div",t,{state:ce,ref:[n,F],props:[fe,a],stateAttributesMapping:qa}),Y=c.useMemo(()=>({handlePointerDown:ae,handlePointerMove:re,handlePointerUp:he,handleScroll:ie,disableViewportSnap:xe,cornerSize:O,setCornerSize:I,thumbSize:N,setThumbSize:D,hasMeasuredScrollbar:M,setHasMeasuredScrollbar:C,touchModality:E,cornerRef:q,scrollingX:w,scrollingY:S,hovering:b,setHovering:v,viewportRef:T,scrollbarYRef:L,scrollbarXRef:j,thumbYRef:$,thumbXRef:U,rootId:f,hiddenState:_,setHiddenState:A,overflowEdges:P,setOverflowEdges:z,viewportState:ce,overflowEdgeThreshold:{xStart:l,xEnd:u,yStart:d,yEnd:p}}),[ae,re,he,ie,xe,O,N,M,E,w,S,b,f,_,P,ce,l,u,d,p]);return K.jsxs(tp.Provider,{value:Y,children:[!h&&Vo.getElement(g),W]})});function G2(e){const t=typeof e=="number"?{xStart:e,xEnd:e,yStart:e,yEnd:e}:e;return{xStart:Math.max(0,(t==null?void 0:t.xStart)||0),xEnd:Math.max(0,(t==null?void 0:t.xEnd)||0),yStart:Math.max(0,(t==null?void 0:t.yStart)||0),yEnd:Math.max(0,(t==null?void 0:t.yEnd)||0)}}const q2=c.createContext(void 0),np=["--scroll-area-overflow-x-start","--scroll-area-overflow-x-end","--scroll-area-overflow-y-start","--scroll-area-overflow-y-end"];let Al=!1;function Y2(){Al||qt||(typeof CSS<"u"&&"registerProperty"in CSS&&np.forEach(e=>{try{CSS.registerProperty({name:e,syntax:"<length>",inherits:!1,initialValue:"0px"})}catch{}}),Al=!0)}const QE=c.forwardRef(function(t,n){const{render:o,className:r,style:s,...i}=t,{viewportRef:a,scrollbarYRef:l,scrollbarXRef:u,thumbYRef:d,thumbXRef:p,cornerRef:f,cornerSize:y,setCornerSize:m,setThumbSize:g,rootId:h,setHiddenState:b,hiddenState:v,setHasMeasuredScrollbar:w,handleScroll:x,touchModality:S,setHovering:R,setOverflowEdges:E,overflowEdgeThreshold:k,viewportState:M}=Ps(),C=bo(),O=c.useRef(!0),I=c.useRef([NaN,NaN,NaN,NaN]),N=Ge(),D=Ge(),P=le(()=>{const T=a.current,L=l.current,j=u.current,$=d.current,U=p.current,q=f.current;if(!T)return;const V=T.scrollHeight,Q=T.scrollWidth,H=T.clientHeight,G=T.clientWidth,ue=T.scrollTop,ne=T.scrollLeft,te=I.current,J=Number.isNaN(te[0]);if(te[0]=H,te[1]=V,te[2]=G,te[3]=Q,J&&w(!0),V===0||Q===0)return;const ee=X2(T),ie=ee.y,xe=ee.x,ae=G/Q,he=H/V,re=Math.max(0,Q-G),ge=Math.max(0,V-H);let de=0,ce=0;xe||(de=fo(C==="rtl"?-ne:ne,re),ce=re-de);const fe=ie?0:fo(ue,ge),W=ie?0:ge-fe,Y=xe?0:G,se=ie?0:H;let Z=0,X=0;!xe&&!ie&&(Z=(L==null?void 0:L.offsetWidth)||0,X=(j==null?void 0:j.offsetHeight)||0);const pe=y.width===0&&y.height===0,be=pe?Z:0,_e=pe?X:0,Ue=gn(j,"padding","x"),Ye=gn(L,"padding","y"),st=gn(U,"margin","x"),Le=gn($,"margin","y"),Je=Y-Ue-st,ct=se-Ye-Le,Re=j?Math.min(j.offsetWidth-be,Je):Je,je=L?Math.min(L.offsetHeight-_e,ct):ct,qe=Math.max(Ti,Re*ae),Be=Math.max(Ti,je*he);if(g(we=>wr(we,{width:qe,height:Be})),L&&$){const we=L.offsetHeight-Be-Ye-Le,Ae=Nl($,"--scroll-area-thumb-height",ue,ge,V,Be,we);$.style.transform=`translate3d(0,${Ae}px,0)`}if(j&&U){const we=j.offsetWidth-qe-Ue-st,Ae=C==="rtl"?-ne:ne,Qe=Nl(U,"--scroll-area-thumb-width",Ae,re,Q,qe,we);U.style.transform=`translate3d(${C==="rtl"?-Qe:Qe}px,0,0)`}const Xe=[de,ce,fe,W];np.forEach((we,Ae)=>{T.style.setProperty(we,`${Xe[Ae]}px`)}),q&&m(we=>wr(we,{width:Z,height:X})),b(we=>wr(we,ee));const pt={xStart:!xe&&de>k.xStart,xEnd:!xe&&ce>k.xEnd,yStart:!ie&&fe>k.yStart,yEnd:!ie&&W>k.yEnd};E(we=>wr(we,pt))});oe(()=>{Y2()},[]),oe(()=>{queueMicrotask(P)},[P,v,C,k.xStart,k.xEnd,k.yStart,k.yEnd]),oe(()=>{var T;(T=a.current)!=null&&T.matches(":hover")&&R(!0)},[a,R]),oe(()=>{const T=a.current;if(typeof ResizeObserver>"u"||!T)return;let L=!1;const j=new ResizeObserver(()=>{if(!L){L=!0;const $=I.current;if($[0]===T.clientHeight&&$[1]===T.scrollHeight&&$[2]===T.clientWidth&&$[3]===T.scrollWidth)return}P()});return j.observe(T),D.start(0,()=>{const $=T.getAnimations({subtree:!0});$.length!==0&&Promise.allSettled($.map(U=>U.finished)).then(P).catch(()=>{})}),()=>{j.disconnect(),D.clear()}},[P,a,D]);function z(){O.current=!1}const _={role:"presentation",...h&&{"data-id":`${h}-viewport`},tabIndex:v.x&&v.y?-1:0,className:Vo.className,style:{overflow:"scroll"},onScroll(){a.current&&(P(),(S||!O.current)&&x({x:a.current.scrollLeft,y:a.current.scrollTop}),N.start(100,()=>{O.current=!0}))},onWheel:z,onPointerMove:z,onPointerEnter:z,onKeyDown:z},A=Se("div",t,{ref:[n,a],state:M,props:[_,i],stateAttributesMapping:qa}),F=c.useMemo(()=>({computeThumbPosition:P}),[P]);return K.jsx(q2.Provider,{value:F,children:A})});function X2(e){const t=e.clientHeight>=e.scrollHeight,n=e.clientWidth>=e.scrollWidth;return{y:t,x:n,corner:t||n}}function wr(e,t){for(const n in t)if(e[n]!==t[n])return t;return e}function Nl(e,t,n,o,r,s,i){const a=hn(n,0,o),l=n-a,u=Math.max(Ti,s*r/(r+Math.abs(l)));return e.style.setProperty(t,l?`${u}px`:""),(o?a/o*i:0)+(l>0?s-u:0)}const op=c.createContext(void 0);function K2(){const e=c.useContext(op);if(e===void 0)throw new Error(De(54));return e}const JE=c.forwardRef(function(t,n){const{render:o,className:r,orientation:s="vertical",keepMounted:i=!1,style:a,...l}=t,{hovering:u,scrollingX:d,scrollingY:p,hiddenState:f,scrollbarYRef:y,scrollbarXRef:m,viewportRef:g,thumbYRef:h,thumbXRef:b,handlePointerDown:v,handlePointerUp:w,handleScroll:x,disableViewportSnap:S,rootId:R,thumbSize:E,hasMeasuredScrollbar:k,viewportState:M}=Ps(),C=s==="vertical",O={...M,hovering:u,scrolling:C?p:d,orientation:s},I=bo(),N=!k&&!i,D=C?f.y:f.x,P=i||!D;c.useEffect(()=>{if(!P)return;const A=g.current,F=C?y.current:m.current;if(!F)return;function T(L){if(!A||L.ctrlKey)return;const j=!C,$=j?"scrollLeft":"scrollTop",U=j?L.deltaX:L.deltaY;if(U===0)return;const q=j?A.scrollWidth-A.clientWidth:A.scrollHeight-A.clientHeight,V=j&&I==="rtl"?-q:0,Q=j&&I==="rtl"?0:q,H=A[$];H<=V&&U<0||H>=Q&&U>0||(L.preventDefault(),A[$]=Math.min(Q,Math.max(V,H+U)),x({x:A.scrollLeft,y:A.scrollTop}))}return Me(F,"wheel",T,{passive:!1})},[I,x,C,m,y,P,g]);const z={...R&&{"data-id":`${R}-scrollbar`},onPointerDown(A){if(A.button!==0)return;const F=et(A.nativeEvent),T=C?h.current:b.current;if(T&&ve(T,F))return;const L=g.current;if(!L)return;const j=C?y.current:m.current;if(!T||!j)return;const $=C?"y":"x",U=gn(T,"margin",$),q=gn(j,"padding",$),V=C?T.offsetHeight:T.offsetWidth,Q=j.getBoundingClientRect(),H=C?A.clientY-Q.top-V/2-q+U/2:A.clientX-Q.left-V/2-q+U/2,G=C?L.scrollHeight:L.scrollWidth,ue=C?L.clientHeight:L.clientWidth,te=(C?j.offsetHeight:j.offsetWidth)-V-q-U;if(te<=0)return;const J=H/te,ee=G-ue;S(),C?L.scrollTop=J*ee:I==="rtl"?L.scrollLeft=-(1-J)*ee:L.scrollLeft=J*ee,x({x:L.scrollLeft,y:L.scrollTop}),v(A)},onPointerUp:w,onPointerCancel:w,style:{position:"absolute",touchAction:"none",WebkitUserSelect:"none",userSelect:"none",visibility:N?"hidden":void 0,...C?{top:0,bottom:"var(--scroll-area-corner-height)",insetInlineEnd:0,"--scroll-area-thumb-height":`${E.height}px`}:{insetInlineStart:0,insetInlineEnd:"var(--scroll-area-corner-width)",bottom:0,"--scroll-area-thumb-width":`${E.width}px`}}},_=Se("div",t,{ref:[n,C?y:m],state:O,props:[z,l],stateAttributesMapping:qa});return P?K.jsx(op.Provider,{value:s,children:_}):null}),eC=c.forwardRef(function(t,n){const{render:o,className:r,style:s,...i}=t,{thumbYRef:a,thumbXRef:l,handlePointerDown:u,handlePointerMove:d,handlePointerUp:p,scrollingX:f,scrollingY:y,hasMeasuredScrollbar:m}=Ps(),g=K2(),h=g==="vertical";return Se("div",t,{ref:[n,h?a:l],state:{scrolling:h?y:f,orientation:g},props:[{onPointerDown:u,onPointerMove:d,onPointerUp:p,onPointerCancel:p,style:{visibility:m?void 0:"hidden",...h?{height:"var(--scroll-area-thumb-height)"}:{width:"var(--scroll-area-thumb-width)"}}},i]})}),tC=c.forwardRef(function(t,n){const{render:o,className:r,style:s,...i}=t,{cornerRef:a,cornerSize:l,hiddenState:u}=Ps(),d=Se("div",t,{ref:[n,a],props:[{style:{position:"absolute",bottom:0,insetInlineEnd:0,width:l.width,height:l.height}},i]});return u.corner?null:d}),rp=c.createContext(void 0);function Ms(){const e=c.useContext(rp);if(e===void 0)throw new Error(De(64));return e}const Ko={tabActivationDirection:e=>({"data-activation-direction":e})},nC=c.forwardRef(function(t,n){const{className:o,defaultValue:r=0,onValueChange:s,orientation:i="horizontal",render:a,value:l,style:u,...d}=t,p=t.defaultValue!==void 0,f=c.useRef([]),[y,m]=c.useState(()=>new Map),[g,h]=_t({controlled:l,default:r,name:"Tabs",state:"value"}),b=l!==void 0,[v,w]=c.useState(()=>new Map),x=c.useRef(void 0),S=c.useCallback(H=>Ii(v,H),[v]),[R,E]=c.useState(()=>({previousValue:g,tabActivationDirection:"none"})),{previousValue:k,tabActivationDirection:M}=R;let C=M,O=!1;k!==g&&(C=Dl(k,g,i,v),O=k!=null&&g!=null&&S(g)==null);const I=O?k:g,N=k!==I||M!==C;oe(()=>{N&&E({previousValue:I,tabActivationDirection:C})},[I,N,C]);const D=le((H,G)=>{const ue=Dl(g,H,i,v);G.activationDirection=ue,s==null||s(H,G),!G.isCanceled&&h(H)}),P=le((H,G)=>{s==null||s(H,ke(G,void 0,void 0,{activationDirection:"none"}))}),z=le((H,G)=>(m(ue=>{const ne=new Map(ue);return ne.set(H,G),ne}),()=>{m(ue=>{if(ue.get(H)!==G)return ue;const ne=new Map(ue);return ne.delete(H),ne})})),_=c.useCallback(H=>y.get(H),[y]),A=c.useCallback(H=>{for(const G of v.values())if(H===G.value)return G.id},[v]),F=c.useMemo(()=>({getTabElementBySelectedValue:S,getTabIdByPanelValue:A,getTabPanelIdByValue:_,onValueChange:D,orientation:i,registerMountedTabPanel:z,setTabMap:w,tabActivationDirection:C,value:g}),[S,A,_,D,i,z,w,C,g]),T=c.useMemo(()=>{for(const H of v.values())if(H.value===g)return H},[v,g]),L=c.useMemo(()=>{for(const H of v.values())if(!H.disabled)return H.value},[v]),j=c.useRef(!p),$=c.useRef(r),U=c.useRef(p),q=c.useRef(!1);oe(()=>{var te;if(b)return;function H(J,ee){h(J),E({previousValue:J,tabActivationDirection:"none"}),P(J,ee),j.current=!1}if(v.size===0){q.current&&g!==null&&!((te=x.current)!=null&&te.isConnected)&&H(null,xc);return}q.current=!0,x.current=v.keys().next().value;const G=T==null?void 0:T.disabled,ue=T==null&&g!==null;if(!G&&g===$.current&&(U.current=!1),U.current&&G&&g===$.current)return;const ne=j.current;if(G||ue){const J=L??null;if(g===J){j.current=!1;return}let ee=xc;ne?ee=wc:G&&(ee=Iu),H(J,ee);return}ne&&T!=null&&(P(g,wc),j.current=!1)},[L,b,P,T,h,v,g]);const Q=Se("div",t,{state:{orientation:i,tabActivationDirection:C},ref:n,props:d,stateAttributesMapping:Ko});return K.jsx(rp.Provider,{value:F,children:K.jsx(ms,{elementsRef:f,children:Q})})});function Ii(e,t){for(const[n,o]of e.entries())if(t===o.value)return n;return null}function Dl(e,t,n,o){if(e==null||t==null)return"none";const[r,s,i]=n==="horizontal"?["left","left","right"]:["top","up","down"],a=Ii(o,e),l=Ii(o,t);if(a==null||l==null)return a!==l&&(typeof e=="number"||typeof e=="string")&&typeof e==typeof t?t>e?i:s:"none";const u=a.getBoundingClientRect()[r],d=l.getBoundingClientRect()[r];return d<u?s:d>u?i:"none"}const sp="data-composite-item-active",ip=c.createContext(void 0);function ap(){const e=c.useContext(ip);if(e===void 0)throw new Error(De(65));return e}const oC=c.forwardRef(function(t,n){const{className:o,disabled:r=!1,render:s,value:i,id:a,nativeButton:l=!0,style:u,...d}=t,{value:p,getTabPanelIdByValue:f,onValueChange:y,orientation:m,tabActivationDirection:g}=Ms(),{activateOnFocus:h,registerTabResizeObserverElement:b,tabsListElement:v}=ap(),{highlightedIndex:w,onHighlightedIndexChange:x}=Yr(),S=tt(a),R=c.useMemo(()=>({disabled:r,id:S,value:i}),[r,S,i]),{compositeProps:E,compositeRef:k,index:M}=$d({metadata:R}),C=i===p,O=c.useRef(!1),I=c.useRef(null),N=le(q=>{var V;(V=I.current)==null||V.call(I),I.current=q?b(q):null});oe(()=>{if(O.current){O.current=!1;return}if(!(C&&M>-1&&w!==M))return;const q=v;if(q!=null){const V=dt(Te(q));if(V&&ve(q,V))return}r||x(M)},[C,M,w,x,r,v]);const{getButtonProps:D,buttonRef:P}=Tt({disabled:r,native:l,focusableWhenDisabled:!0}),z=f(i),_=c.useRef(!1),A=c.useRef(!1);function F(q){y(i,ke(Rt,q.nativeEvent,void 0,{activationDirection:"none"}))}function T(q){C||r||F(q)}function L(q){C||r||h&&(!_.current||A.current)&&F(q)}function j(q){if(C||r)return;_.current=!0,A.current=q.button===0;const V=Te(q.currentTarget);function Q(){_.current=!1,A.current=!1,V.removeEventListener("pointerup",Q),V.removeEventListener("pointercancel",Q)}V.addEventListener("pointerup",Q),V.addEventListener("pointercancel",Q)}return Se("button",t,{state:{disabled:r,active:C,orientation:m,tabActivationDirection:g},ref:[n,P,k,N],props:[E,{role:"tab","aria-controls":z,"aria-selected":C,id:S,onClick:T,onFocus:L,onPointerDown:j,[sp]:C?"":void 0,onKeyDownCapture(){O.current=!0}},d,D],stateAttributesMapping:Ko})}),Z2="";function Q2(){return Ke}function J2(){return!1}function ew(){return!0}function tw(){return ls.useSyncExternalStore(Q2,J2,ew)}function nw(e){const{script:t}=e,{nonce:n}=_a();return tw()?K.jsx("script",{nonce:n,dangerouslySetInnerHTML:{__html:t},suppressHydrationWarning:!0}):null}var _l;const ow={...Ko,activeTabPosition:()=>null,activeTabSize:()=>null},rC=c.forwardRef(function(t,n){const{className:o,render:r,renderBeforeHydration:s=!1,style:i,...a}=t,{getTabElementBySelectedValue:l,orientation:u,tabActivationDirection:d,value:p}=Ms(),{tabsListElement:f,registerIndicatorUpdateListener:y}=ap(),m=eb();c.useEffect(()=>y(m),[y,m]);let g=0,h=0,b=0,v=0,w=0,x=0,S=!1;if(p!=null&&f!=null){const I=l(p);if(I!=null){S=!0;const{width:N,height:D}=ul(I),{width:P,height:z}=ul(f),_=I.getBoundingClientRect(),A=f.getBoundingClientRect(),F=P>0?A.width/P:1,T=z>0?A.height/z:1;if(F>Number.EPSILON&&T>Number.EPSILON){const j=_.left-A.left,$=_.top-A.top;g=j/F+f.scrollLeft-f.clientLeft,b=$/T+f.scrollTop-f.clientTop}else g=I.offsetLeft,b=I.offsetTop;w=N,x=D,h=f.scrollWidth-g-w,v=f.scrollHeight-b-x}}const R=S?{left:g,right:h,top:b,bottom:v}:null,E=S?{width:w,height:x}:null,k=S?{"--active-tab-left":`${g}px`,"--active-tab-right":`${h}px`,"--active-tab-top":`${b}px`,"--active-tab-bottom":`${v}px`,"--active-tab-width":`${w}px`,"--active-tab-height":`${x}px`}:void 0,M=S&&w>0&&x>0,O=Se("span",t,{state:{orientation:u,activeTabPosition:R,activeTabSize:E,tabActivationDirection:d},ref:n,props:[{role:"presentation",style:k,hidden:!M},a,{suppressHydrationWarning:!0}],stateAttributesMapping:ow});return p==null?null:K.jsxs(c.Fragment,{children:[O,s&&(_l||(_l=K.jsx(nw,{script:Z2})))]})}),rw={...Ko,...Gt},sC=c.forwardRef(function(t,n){const{className:o,value:r,render:s,keepMounted:i=!1,style:a,...l}=t,{value:u,getTabIdByPanelValue:d,orientation:p,tabActivationDirection:f,registerMountedTabPanel:y}=Ms(),m=tt(),{ref:g,index:h}=yo(),b=r===u,{mounted:v,transitionStatus:w,setMounted:x}=ln(b),S=!v,R=d(r),E={hidden:S,orientation:p,tabActivationDirection:f,transitionStatus:w},k=c.useRef(null),M=Se("div",t,{state:E,ref:[n,g,k],props:[{"aria-labelledby":R,hidden:S,id:m,role:"tabpanel",tabIndex:b?0:-1,inert:gs(!b),"data-index":h},l],stateAttributesMapping:rw});return kt({open:b,ref:k,onComplete(){b||x(!1)}}),oe(()=>{if(!(m==null||S&&!i))return y(r,m)},[S,i,r,m,y]),i||v?M:null}),sw=[];function iw(e){const{loopFocus:t=!0,orientation:n="both",grid:o,onLoop:r,direction:s,highlightedIndex:i,onHighlightedIndexChange:a,rootRef:l,enableHomeAndEndKeys:u=!1,stopEventPropagation:d,disabledIndices:p,modifierKeys:f=sw}=e,[y,m]=c.useState(0),g=o!=null,h=c.useRef(null),b=Nt(h,l),v=c.useRef([]),w=c.useRef(!1),x=i??y,S=le((C,O=!1)=>{if((a??m)(C),O){const I=v.current[C];el(h.current,I,s,n)}}),R=le(C=>{var D;if(C.size===0||w.current)return;w.current=!0;const O=Array.from(C.keys()),I=O.find(P=>P==null?void 0:P.hasAttribute(sp))??null,N=I?((D=C.get(I))==null?void 0:D.index)??-1:-1;if(N!==-1)S(N);else if($r(O,x,p)){const P=Jt(O,{disabledIndices:p});Ao(O,P)||S(P)}el(h.current,I,s,n)});oe(()=>{if(p==null||i!=null||!w.current)return;const C=v.current;if($r(C,x,p)){const O=Jt(C,{disabledIndices:p});Ao(C,O)||S(O)}},[p,i,x,v,S]);const E=le((C,O,I)=>r?r(C,O,I,v):I),k=le(C=>{const O=C.key===gi||C.key===mi;if(!ps.has(C.key)||!u&&O||aw(C,f)||!h.current)return;const N=s==="rtl",D=N?pi:hi,P=N?hi:pi,z=n==="vertical"?fi:D,_=n==="vertical"?di:P,A=et(C.nativeEvent);if(A!=null&&Jc(A)&&!jd(A)){const U=A.selectionStart,q=A.selectionEnd,V=A.value;if(U==null||C.shiftKey||U!==q||C.key!==_&&U<V.length||C.key!==z&&U>0)return}let F=x;const T=kr(v,p),L=ii(v,p);o!=null&&(F=o({disabledIndices:p,elementsRef:v,event:C,highlightedIndex:x,loopFocus:t,maxIndex:L,minIndex:T,onLoop:E,orientation:n,rtl:N}));const j=n!=="vertical"&&C.key===D||n!=="horizontal"&&C.key===fi,$=n!=="vertical"&&C.key===P||n!=="horizontal"&&C.key===di;u&&(C.key===gi?F=T:C.key===mi&&(F=L)),F===x&&(j||$)&&(t&&F===L&&j?(F=T,r&&(F=r(C,x,F,v))):t&&F===T&&$?(F=L,r&&(F=r(C,x,F,v))):F=Jt(v.current,{startingIndex:F,decrement:$,disabledIndices:p})),F!==x&&!Ao(v.current,F)&&(d&&C.stopPropagation(),(g||O||j||$)&&C.preventDefault(),S(F,!0),queueMicrotask(()=>{var U;(U=v.current[F])==null||U.focus()}))});return{props:{ref:b,onFocus(C){const O=h.current,I=et(C.nativeEvent);!O||I==null||!Jc(I)||I.setSelectionRange(0,I.value.length)},onKeyDown:k},highlightedIndex:x,onHighlightedIndexChange:S,elementsRef:v,onMapChange:R,relayKeyboardEvent:k}}function aw(e,t){for(const n of vb)if(!t.includes(n)&&e.getModifierState(n))return!0;return!1}function cp(e){const{render:t,className:n,style:o,refs:r=Dt,props:s=Dt,state:i=We,stateAttributesMapping:a,highlightedIndex:l,onHighlightedIndexChange:u,orientation:d,grid:p,loopFocus:f,onLoop:y,enableHomeAndEndKeys:m,onMapChange:g,stopEventPropagation:h=!0,rootRef:b,disabledIndices:v,modifierKeys:w,highlightItemOnHover:x=!1,tag:S="div",...R}=e,E=bo(),{props:k,highlightedIndex:M,onHighlightedIndexChange:C,elementsRef:O,onMapChange:I,relayKeyboardEvent:N}=iw({grid:p,loopFocus:f,onLoop:y,orientation:d,highlightedIndex:l,onHighlightedIndexChange:u,rootRef:b,stopEventPropagation:h,enableHomeAndEndKeys:m,direction:E,disabledIndices:v,modifierKeys:w}),D=Se(S,e,{state:i,ref:r,props:[k,...s,R],stateAttributesMapping:a}),P=c.useMemo(()=>({highlightedIndex:M,onHighlightedIndexChange:C,highlightItemOnHover:x,relayKeyboardEvent:N}),[M,C,x,N]);return K.jsx(lu.Provider,{value:P,children:K.jsx(ms,{elementsRef:O,onMapChange:z=>{g==null||g(z),I(z)},children:D})})}const iC=c.forwardRef(function(t,n){const{activateOnFocus:o=!1,className:r,loopFocus:s=!0,render:i,style:a,...l}=t,{orientation:u,setTabMap:d,tabActivationDirection:p}=Ms(),[f,y]=c.useState(0),[m,g]=c.useState(null),h=c.useRef(new Set),b=c.useRef(new Set),v=c.useRef(null);oe(()=>{if(typeof ResizeObserver>"u")return;const k=new ResizeObserver(()=>{h.current.forEach(M=>{M()})});return v.current=k,m&&k.observe(m),b.current.forEach(M=>{k.observe(M)}),()=>{k.disconnect(),v.current=null}},[m]);const w=le(k=>(h.current.add(k),()=>{h.current.delete(k)})),x=le(k=>{var M;return b.current.add(k),(M=v.current)==null||M.observe(k),()=>{var C;b.current.delete(k),(C=v.current)==null||C.unobserve(k)}}),S={orientation:u,tabActivationDirection:p},R={"aria-orientation":u==="vertical"?"vertical":void 0,role:"tablist"},E=c.useMemo(()=>({activateOnFocus:o,registerIndicatorUpdateListener:w,registerTabResizeObserverElement:x,tabsListElement:m}),[o,w,x,m]);return K.jsx(ip.Provider,{value:E,children:K.jsx(cp,{render:i,className:r,style:a,state:S,refs:[n,g],props:[R,l],stateAttributesMapping:Ko,highlightedIndex:f,enableHomeAndEndKeys:!0,loopFocus:s,orientation:u,onHighlightedIndexChange:y,onMapChange:d,disabledIndices:Dt})})});function aC(e){return Jd("alert-dialog",e)}const cC=Fv;function cw(e){if(!e)return null;for(const t of e.elements){const n=t.tagName;if(n==="BUTTON"||n==="INPUT"){const o=t;if(o.type==="submit")return o}}return null}function lp(e){return{checked(t){return e.indeterminate?{}:t?{"data-checked":""}:{"data-unchecked":""}},...vs}}const lw=c.createContext(void 0);function uw(){return c.useContext(lw)}const up=c.createContext(void 0);function dw(){const e=c.useContext(up);if(e===void 0)throw new Error(De(14));return e}const fw="data-parent",lC=c.forwardRef(function(t,n){const{checked:o,className:r,defaultChecked:s=!1,"aria-labelledby":i,disabled:a=!1,form:l,id:u,indeterminate:d=!1,inputRef:p,name:f,onCheckedChange:y,parent:m=!1,readOnly:g=!1,render:h,required:b=!1,uncheckedValue:v,value:w,nativeButton:x=!1,style:S,...R}=t,{clearErrors:E}=Ss(),{disabled:k,name:M,setDirty:C,setFilled:O,setFocused:I,setTouched:N,state:D,validationMode:P,validityData:z,validation:_}=vo(),A=z2(),{labelId:F,controlId:T,registerControlId:L,getDescriptionProps:j}=qo(),$=uw(),U=($==null?void 0:$.allValues)===void 0?void 0:$.parent,q=U!==void 0,V=k||A.disabled||($==null?void 0:$.disabled)||a,Q=M??f,H=w??Q,G=tt(),ue=tt();let ne=u||T;q&&(m?ne=ue:H!==void 0?ne=`${U.id}-${H}`:ne||(ne=ue));let te={};q&&(m?te=U.getParentProps():H!==void 0&&(te=U.getChildProps(H)));const{checked:J=o,indeterminate:ee=d,onCheckedChange:ie,...xe}=te,ae=$==null?void 0:$.value,he=c.useRef(null),re=at(()=>Symbol()),ge=c.useRef(!1),{getButtonProps:de,buttonRef:ce}=Tt({disabled:V,native:x}),fe=($==null?void 0:$.validation)??_,[W,Y]=_t({controlled:H!==void 0&&ae!==void 0&&!m?ae.includes(H):J,default:s,name:"Checkbox",state:"checked"}),se=q?!!J:W,Z=q&&ee||d;oe(()=>{L!==Ke&&(ge.current=!0,L(re.current,ne))},[ne,L,re]),c.useEffect(()=>{const Re=re.current;return()=>{!ge.current||L===Ke||(ge.current=!1,L(Re,void 0))}},[L,re]),xs(he,G,W,void 0,!$&&!V,f);const X=c.useRef(null),pe=fe.registerInput,be=$?H:void 0,_e=c.useCallback(Re=>pe(Re,{controlRef:he,value:be}),[pe,be]),Ue=Nt(p,X,m?void 0:_e),Ye=Qf(i,F,X,!x,ne??void 0);oe(()=>{X.current&&(X.current.indeterminate=Z,W&&O(!0))},[W,Z,O]),bs(W,()=>{$||(E(Q),O(W),C(W!==z.initialValue),fe.change(W))});const st=St({checked:W,disabled:V,form:l,name:m?void 0:Q,id:x?void 0:ne??void 0,required:b,ref:Ue,style:Q?oa:Bo,tabIndex:-1,type:"checkbox","aria-hidden":!0,onChange(Re){if(Re.nativeEvent.defaultPrevented)return;if(g){Re.preventDefault();return}const je=Re.currentTarget.checked,qe=ke(Rt,Re.nativeEvent);if(y==null||y(je,qe),!qe.isCanceled&&(ie==null||ie(je,qe),!qe.isCanceled&&(Y(je),H!==void 0&&$!==void 0&&!m&&!q))){const Be=je?[...$.value,H]:$.value.filter(Xe=>Xe!==H);$.setValue(Be,qe)}},onClick(Re){Re.stopPropagation()},onFocus(){var Re;(Re=he.current)==null||Re.focus()}},w!==void 0?{value:($?W&&w:w)||""}:We,j,Re=>fe.getValidationProps(V,Re));c.useEffect(()=>{if(!U||H===void 0)return;const Re=U.disabledStatesRef.current;return Re.set(H,V),()=>{Re.delete(H)}},[U,V,H]);const Le=c.useMemo(()=>({...D,checked:se,disabled:V,readOnly:g,required:b,indeterminate:Z}),[D,se,V,g,b,Z]),Je=lp(Le),ct=Se("span",t,{state:Le,ref:[ce,he,n],props:[{id:x?ne??void 0:G,role:"checkbox","aria-checked":Z?"mixed":se,"aria-readonly":g||void 0,"aria-required":b||void 0,"aria-labelledby":Ye,[fw]:m?"":void 0,onFocus(){V||I(!0)},onBlur(){const Re=X.current;Re&&(N(!0),I(!1),P==="onBlur"&&fe.commit($?ae:Re.checked))},onKeyDown(Re){var Ae;if(Re.key!=="Enter"||(Re.preventBaseUIHandler(),Re.defaultPrevented))return;const je=((Ae=X.current)==null?void 0:Ae.form)??null,qe=Re.currentTarget,Be=Re.nativeEvent,Xe=Re.preventDefault,pt=Be.preventDefault;let we=!1;Re.preventDefault=()=>{we=!0,Xe.call(Re)},Be.preventDefault=()=>{we=!0,pt.call(Be)},pt.call(Be),He(qe).queueMicrotask(()=>{var Qe;Re.preventDefault=Xe,Be.preventDefault=pt,we||(Qe=cw(je))==null||Qe.click()})},onClick(Re){if(g||V)return;Re.preventDefault();const je=X.current;je&&Qn(je,Re)}},R,xe,de,j,Re=>fe.getValidationProps(V,Re)],stateAttributesMapping:Je});return K.jsxs(up.Provider,{value:Le,children:[ct,!W&&!$&&Q&&!m&&v!==void 0&&K.jsx("input",{type:"hidden",form:l,name:Q,value:v,disabled:V}),K.jsx("input",{...st,suppressHydrationWarning:!0})]})}),uC=c.forwardRef(function(t,n){const{render:o,className:r,style:s,keepMounted:i=!1,...a}=t,l=dw(),u=l.checked||l.indeterminate,{mounted:d,transitionStatus:p,setMounted:f}=ln(u),y=c.useRef(null),m={...l,transitionStatus:p};kt({open:u,ref:y,onComplete(){u||f(!1)}});const h={...lp(l),...Gt},b=i||d,v=Se("span",t,{ref:[n,y],state:m,stateAttributesMapping:h,props:a});return b?v:null}),dp=c.createContext(void 0);function pw(){return c.useContext(dp)}const dC=c.forwardRef(function(t,n){const{className:o,defaultPressed:r=!1,disabled:s=!1,form:i,onPressedChange:a,pressed:l,render:u,type:d,value:p,nativeButton:f=!0,style:y,...m}=t,g=tt(p||void 0),h=pw(),b=(h==null?void 0:h.value)??[],v=h?void 0:r,w=(s||(h==null?void 0:h.disabled))??!1,[x,S]=_t({controlled:h?g!==void 0&&b.indexOf(g)>-1:l,default:v,name:"Toggle",state:"pressed"}),{getButtonProps:R,buttonRef:E}=Tt({disabled:w,native:f}),k={disabled:w,pressed:x},M=[E,n],C=[{"aria-pressed":x,onClick(N){var z;const D=!x,P=ke(Rt,N.nativeEvent);a==null||a(D,P),!P.isCanceled&&(g&&((z=h==null?void 0:h.setGroupValue)==null||z.call(h,g,D,P)),!P.isCanceled&&S(D))}},m,R],O=Se("button",t,{enabled:!h,state:k,ref:M,props:C}),I=c.useMemo(()=>({disabled:w,focusableWhenDisabled:!1}),[w]);return h?K.jsx(Hd,{tag:"button",render:u,className:o,style:y,metadata:I,state:k,refs:M,props:C}):O}),hw=c.createContext(void 0);function gw(){return c.useContext(hw)}const fC=c.forwardRef(function(t,n){const{defaultValue:o,disabled:r=!1,loopFocus:s=!0,onValueChange:i,orientation:a="horizontal",multiple:l=!1,value:u,className:d,render:p,style:f,...y}=t,m=Ma(),g=gw(),h=u!==void 0||o!==void 0,b=((m==null?void 0:m.disabled)??!1)||((g==null?void 0:g.disabled)??!1)||r,[v,w]=_t({controlled:u,default:u===void 0?o??Dt:void 0,name:"ToggleGroup",state:"value"}),x=le((M,C,O)=>{let I;l?(I=v.slice(),C?I.push(M):I.splice(v.indexOf(M),1)):I=C?[M]:[],i==null||i(I,O),!O.isCanceled&&w(I)}),S={disabled:b,multiple:l,orientation:a},R=c.useMemo(()=>({disabled:b,setGroupValue:x,value:v,isValueInitialized:h}),[b,x,v,h]),E={role:"group"},k=Se("div",t,{enabled:!!m,state:S,ref:n,props:[E,y]});return K.jsx(dp.Provider,{value:R,children:m?k:K.jsx(cp,{render:p,className:d,style:f,state:S,refs:[n],props:[E,y],loopFocus:s,enableHomeAndEndKeys:!0,orientation:a})})});function pC(e){const[t,n]=c.useState({getBoundingClientRect(){return DOMRect.fromRect({width:0,height:0,x:0,y:0})}}),o=c.useRef(null),r=c.useRef(null),s=c.useRef(null),i=c.useRef(null),a=c.useRef(!0),l=c.useRef(null),u=bn(),d=c.useMemo(()=>({anchor:t,setAnchor:n,actionsRef:s,backdropRef:o,internalBackdropRef:r,positionerRef:i,allowMouseUpTriggerRef:a,initialCursorPointRef:l,rootId:u}),[t,u]);return K.jsx(Tu.Provider,{value:d,children:K.jsx(ji.Provider,{value:void 0,children:K.jsx(Kb,{...e})})})}const Ll=500,hC=c.forwardRef(function(t,n){const{render:o,className:r,style:s,...i}=t,{setAnchor:a,actionsRef:l,internalBackdropRef:u,backdropRef:d,positionerRef:p,allowMouseUpTriggerRef:f,initialCursorPointRef:y,rootId:m}=Zr(!1),{store:g}=cn(!1),h=g.useState("open"),b=g.useState("disabled"),v=c.useRef(null),w=c.useRef(null),x=Ge(),S=Ge(),R=c.useRef(!1),E=c.useRef(null);function k(P,z,_){var F;const A=_.type.startsWith("touch");y.current={x:P,y:z},a({getBoundingClientRect(){return DOMRect.fromRect({width:A?10:0,height:A?10:0,x:P,y:z})}}),R.current=!1,(F=l.current)==null||F.setOpen(!0,ke(Rn,_)),S.start(Ll,()=>{R.current=!0})}function M(P){var A;if(b)return;f.current=!0,It(P),k(P.clientX,P.clientY,P.nativeEvent);const z=Te(v.current);(A=E.current)==null||A.abort();const _=new AbortController;E.current=_,z.addEventListener("mouseup",F=>{var L;if(f.current=!1,!R.current)return;S.clear(),R.current=!1;const T=et(F);ve(p.current,T)||m&&T&&Aa(T)===m||(L=l.current)==null||L.setOpen(!1,ke(Ui,F))},{once:!0,signal:_.signal})}function C(){x.clear(),w.current=null}function O(P){if(b){C();return}if(f.current=!1,P.touches.length!==1){C();return}P.stopPropagation();const z=P.touches[0],_={x:z.clientX,y:z.clientY};w.current=_,x.start(Ll,()=>{k(_.x,_.y,P.nativeEvent)})}function I(P){if(P.touches.length!==1){C();return}if(x.isStarted()&&w.current){const z=P.touches[0],_=10,A=Math.abs(z.clientX-w.current.x),F=Math.abs(z.clientY-w.current.y);(A>_||F>_)&&C()}}return c.useEffect(()=>()=>{var P;(P=E.current)==null||P.abort()},[]),c.useEffect(()=>{function P(_){if(b)return;const F=et(_);(ve(v.current,F)||ve(u.current,F)||ve(d.current,F))&&_.preventDefault()}const z=Te(v.current);return Me(z,"contextmenu",P)},[d,b,u]),Se("div",t,{state:{open:h},ref:[v,n],props:[{onContextMenu:M,onTouchStart:O,onTouchMove:I,onTouchEnd:C,onTouchCancel:C,style:{WebkitTouchCallout:"none"}},i],stateAttributesMapping:Lr})});function mw(e,t){const n=getComputedStyle(e),o=parseFloat(n.fontSize);return t*o}function yw(e,t){const n=getComputedStyle(e.ownerDocument.documentElement),o=parseFloat(n.fontSize);return t*o}function bw(e){return e/100*window.innerHeight}function vw(e){return e/100*window.innerWidth}function xw(e){switch(typeof e){case"number":return[e,"px"];case"string":{const t=parseFloat(e);return e.endsWith("%")?[t,"%"]:e.endsWith("px")?[t,"px"]:e.endsWith("rem")?[t,"rem"]:e.endsWith("em")?[t,"em"]:e.endsWith("vh")?[t,"vh"]:e.endsWith("vw")?[t,"vw"]:[t,"%"]}}}function Oo({groupSize:e,panelElement:t,styleProp:n}){let o;const[r,s]=xw(n);switch(s){case"%":{o=r/100*e;break}case"px":{o=r;break}case"rem":{o=yw(t,r);break}case"em":{o=mw(t,r);break}case"vh":{o=bw(r);break}case"vw":{o=vw(r);break}}return o}function mt(e){return parseFloat(e.toFixed(3))}function go({group:e}){const{orientation:t,panels:n}=e;return n.reduce((o,r)=>(o+=t==="horizontal"?r.element.offsetWidth:r.element.offsetHeight,o),0)}function Oi(e){const{panels:t}=e,n=go({group:e});return n===0?t.map(o=>({groupResizeBehavior:o.panelConstraints.groupResizeBehavior,collapsedSize:0,collapsible:o.panelConstraints.collapsible===!0,defaultSize:void 0,disabled:o.panelConstraints.disabled,minSize:0,maxSize:100,panelId:o.id})):t.map(o=>{const{element:r,panelConstraints:s}=o;let i=0;if(s.collapsedSize!==void 0){const d=Oo({groupSize:n,panelElement:r,styleProp:s.collapsedSize});i=mt(d/n*100)}let a;if(s.defaultSize!==void 0){const d=Oo({groupSize:n,panelElement:r,styleProp:s.defaultSize});a=mt(d/n*100)}let l=0;if(s.minSize!==void 0){const d=Oo({groupSize:n,panelElement:r,styleProp:s.minSize});l=mt(d/n*100)}let u=100;if(s.maxSize!==void 0){const d=Oo({groupSize:n,panelElement:r,styleProp:s.maxSize});u=mt(d/n*100)}return{groupResizeBehavior:s.groupResizeBehavior,collapsedSize:i,collapsible:s.collapsible===!0,defaultSize:a,disabled:s.disabled,minSize:l,maxSize:u,panelId:o.id}})}function $e(e,t="Assertion error"){if(!e)throw Error(t)}function Ai(e,t){return Array.from(t).sort(e==="horizontal"?ww:Sw)}function ww(e,t){const n=e.element.offsetLeft-t.element.offsetLeft;return n!==0?n:e.element.offsetWidth-t.element.offsetWidth}function Sw(e,t){const n=e.element.offsetTop-t.element.offsetTop;return n!==0?n:e.element.offsetHeight-t.element.offsetHeight}function fp(e){return e!==null&&typeof e=="object"&&"nodeType"in e&&e.nodeType===Node.ELEMENT_NODE}function pp(e,t){return{x:e.x>=t.left&&e.x<=t.right?0:Math.min(Math.abs(e.x-t.left),Math.abs(e.x-t.right)),y:e.y>=t.top&&e.y<=t.bottom?0:Math.min(Math.abs(e.y-t.top),Math.abs(e.y-t.bottom))}}function Rw({orientation:e,rects:t,targetRect:n}){const o={x:n.x+n.width/2,y:n.y+n.height/2};let r,s=Number.MAX_VALUE;for(const i of t){const{x:a,y:l}=pp(o,i),u=e==="horizontal"?a:l;u<s&&(s=u,r=i)}return $e(r,"No rect found"),r}let Sr;function kw(){return Sr===void 0&&(typeof matchMedia=="function"?Sr=!!matchMedia("(pointer:coarse)").matches:Sr=!1),Sr}function hp(e){const{element:t,orientation:n,panels:o,separators:r}=e,s=Ai(n,Array.from(t.children).filter(fp).map(m=>({element:m}))).map(({element:m})=>m),i=[];let a=!1,l=!1,u=-1,d=-1,p=0,f,y=[];{let m=-1;for(const g of s)g.hasAttribute("data-panel")&&(m++,g.hasAttribute("data-disabled")||(p++,u===-1&&(u=m),d=m))}if(p>1){let m=-1;for(const g of s)if(g.hasAttribute("data-panel")){m++;const h=o.find(b=>b.element===g);if(h){if(f){const b=f.element.getBoundingClientRect(),v=g.getBoundingClientRect();let w;if(l){const x=n==="horizontal"?new DOMRect(b.right,b.top,0,b.height):new DOMRect(b.left,b.bottom,b.width,0),S=n==="horizontal"?new DOMRect(v.left,v.top,0,v.height):new DOMRect(v.left,v.top,v.width,0);switch(y.length){case 0:{w=[x,S];break}case 1:{const R=y[0],E=Rw({orientation:n,rects:[b,v],targetRect:R.element.getBoundingClientRect()});w=[R,E===b?S:x];break}default:{w=y;break}}}else y.length?w=y:w=[n==="horizontal"?new DOMRect(b.right,v.top,v.left-b.right,v.height):new DOMRect(v.left,b.bottom,v.width,v.top-b.bottom)];for(const x of w){let S="width"in x?x:x.element.getBoundingClientRect();const R=kw()?e.resizeTargetMinimumSize.coarse:e.resizeTargetMinimumSize.fine;if(S.width<R){const k=R-S.width;S=new DOMRect(S.x-k/2,S.y,S.width+k,S.height)}if(S.height<R){const k=R-S.height;S=new DOMRect(S.x,S.y-k/2,S.width,S.height+k)}const E=m<=u||m>d;!a&&!E&&i.push({group:e,groupSize:go({group:e}),panels:[f,h],separator:"width"in x?void 0:x,rect:S}),a=!1}}l=!1,f=h,y=[]}}else if(g.hasAttribute("data-separator")){g.ariaDisabled!==null&&(a=!0);const h=r.find(b=>b.element===g);h?y.push(h):(f=void 0,y=[])}else l=!0}return i}var fn;class gp{constructor(){ac(this,fn,{})}addListener(t,n){const o=Ro(this,fn)[t];return o===void 0?Ro(this,fn)[t]=[n]:o.includes(n)||o.push(n),()=>{this.removeListener(t,n)}}emit(t,n){const o=Ro(this,fn)[t];if(o!==void 0)if(o.length===1)o[0].call(null,n);else{let r=!1,s=null;const i=Array.from(o);for(let a=0;a<i.length;a++){const l=i[a];try{l.call(null,n)}catch(u){s===null&&(r=!0,s=u)}}if(r)throw s}}removeAllListeners(){cc(this,fn,{})}removeListener(t,n){const o=Ro(this,fn)[t];if(o!==void 0){const r=o.indexOf(n);r>=0&&o.splice(r,1)}}}fn=new WeakMap;let oo={cursorFlags:0,state:"inactive"};const Ya=new gp;function Ln(){return oo}function Ew(e){return Ya.addListener("change",e)}function Cw(e){const t=oo,n={...oo};n.cursorFlags=e,oo=n,Ya.emit("change",{prev:t,next:n})}function ro(e){const t=oo;oo=e,Ya.emit("change",{prev:t,next:e})}const Pw=e=>e,Zs=()=>{},mp=1,yp=2,bp=4,vp=8,Fl=3,zl=12;let Rr;function Vl(){return Rr===void 0&&(Rr=!1,typeof window<"u"&&(window.navigator.userAgent.includes("Chrome")||window.navigator.userAgent.includes("Firefox"))&&(Rr=!0)),Rr}function Mw({cursorFlags:e,groups:t,state:n}){let o=0,r=0;switch(n){case"active":case"hover":t.forEach(s=>{if(!s.mutableState.disableCursor)switch(s.orientation){case"horizontal":{o++;break}case"vertical":{r++;break}}})}if(!(o===0&&r===0)){switch(n){case"active":{if(e&&Vl()){const s=(e&mp)!==0,i=(e&yp)!==0,a=(e&bp)!==0,l=(e&vp)!==0;if(s)return a?"se-resize":l?"ne-resize":"e-resize";if(i)return a?"sw-resize":l?"nw-resize":"w-resize";if(a)return"s-resize";if(l)return"n-resize"}break}}return Vl()?o>0&&r>0?"move":o>0?"ew-resize":"ns-resize":o>0&&r>0?"grab":o>0?"col-resize":"row-resize"}}const $l=new WeakMap;function Xa(e){if(e.defaultView===null||e.defaultView===void 0)return;let{prevStyle:t,styleSheet:n}=$l.get(e)??{};n===void 0&&(n=new e.defaultView.CSSStyleSheet,e.adoptedStyleSheets&&(Object.isExtensible(e.adoptedStyleSheets)?e.adoptedStyleSheets.push(n):e.adoptedStyleSheets=[...e.adoptedStyleSheets,n]));const o=Ln();switch(o.state){case"active":case"hover":{const r=Mw({cursorFlags:o.cursorFlags,groups:o.hitRegions.map(i=>i.group),state:o.state}),s=`*, *:hover {cursor: ${r} !important; }`;if(t===s)return;t=s,r?n.cssRules.length===0?n.insertRule(s):n.replaceSync(s):n.cssRules.length===1&&n.deleteRule(0);break}case"inactive":{t=void 0,n.cssRules.length===1&&n.deleteRule(0);break}}$l.set(e,{prevStyle:t,styleSheet:n})}let Wt=new Map;const xp=new gp;function Tw(e){Wt=new Map(Wt),Wt.delete(e)}function Hl(e,t){for(const[n]of Wt)if(n.id===e)return n}function yn(e,t){for(const[n,o]of Wt)if(n.id===e)return o;if(t)throw Error(`Could not find data for Group with id ${e}`)}function Hn(){return Wt}function Ka(e,t){return xp.addListener("groupChange",n=>{n.group.id===e&&t(n)})}function sn(e,t,n){const o=Wt.get(e);Wt=new Map(Wt),Wt.set(e,t),xp.emit("groupChange",{group:e,isUserInteraction:(n==null?void 0:n.isUserInteraction)===!0,prev:o,next:t})}function wp(e){const t=Ln();let n=!1;switch(t.state){case"active":ro({cursorFlags:0,state:"inactive"}),t.hitRegions.length>0&&(Xa(e),n=!0,t.hitRegions.forEach(o=>{const r=yn(o.group.id,!0);sn(o.group,r,{isUserInteraction:!0})}))}return n}function jl(e){e.defaultPrevented||wp(e.currentTarget)}function Iw(e,t,n){let o,r={x:1/0,y:1/0};for(const s of t){const i=pp(n,s.rect);switch(e){case"horizontal":{i.x<=r.x&&(o=s,r=i);break}case"vertical":{i.y<=r.y&&(o=s,r=i);break}}}return o?{distance:r,hitRegion:o}:void 0}function Ow(e){return e!==null&&typeof e=="object"&&"nodeType"in e&&e.nodeType===Node.DOCUMENT_FRAGMENT_NODE}function Aw(e,t){if(e===t)throw new Error("Cannot compare node with itself");const n={a:Ul(e),b:Ul(t)};let o;for(;n.a.at(-1)===n.b.at(-1);)o=n.a.pop(),n.b.pop();$e(o,"Stacking order can only be calculated for elements with a common ancestor");const r={a:Wl(Bl(n.a)),b:Wl(Bl(n.b))};if(r.a===r.b){const s=o.childNodes,i={a:n.a.at(-1),b:n.b.at(-1)};let a=s.length;for(;a--;){const l=s[a];if(l===i.a)return 1;if(l===i.b)return-1}}return Math.sign(r.a-r.b)}const Nw=/\b(?:position|zIndex|opacity|transform|webkitTransform|mixBlendMode|filter|webkitFilter|isolation)\b/;function Dw(e){const t=getComputedStyle(Sp(e)??e).display;return t==="flex"||t==="inline-flex"}function _w(e){const t=getComputedStyle(e);return!!(t.position==="fixed"||t.zIndex!=="auto"&&(t.position!=="static"||Dw(e))||+t.opacity<1||"transform"in t&&t.transform!=="none"||"webkitTransform"in t&&t.webkitTransform!=="none"||"mixBlendMode"in t&&t.mixBlendMode!=="normal"||"filter"in t&&t.filter!=="none"||"webkitFilter"in t&&t.webkitFilter!=="none"||"isolation"in t&&t.isolation==="isolate"||Nw.test(t.willChange)||t.webkitOverflowScrolling==="touch")}function Bl(e){let t=e.length;for(;t--;){const n=e[t];if($e(n,"Missing node"),_w(n))return n}return null}function Wl(e){return e&&Number(getComputedStyle(e).zIndex)||0}function Ul(e){const t=[];for(;e;)t.push(e),e=Sp(e);return t}function Sp(e){const{parentNode:t}=e;return Ow(t)?t.host:t}function Lw(e,t){return e.x<t.x+t.width&&e.x+e.width>t.x&&e.y<t.y+t.height&&e.y+e.height>t.y}function Fw({groupElement:e,hitRegion:t,pointerEventTarget:n}){if(!fp(n)||n.contains(e)||e.contains(n))return!0;if(Aw(n,e)>0){let o=n;for(;o;){if(o.contains(e))return!0;if(Lw(o.getBoundingClientRect(),t))return!1;o=o.parentElement}}return!0}function Za(e,t){const n=[];return t.forEach((o,r)=>{if(r.disabled)return;const s=hp(r),i=Iw(r.orientation,s,{x:e.clientX,y:e.clientY});i&&i.distance.x<=0&&i.distance.y<=0&&Fw({groupElement:r.element,hitRegion:i.hitRegion.rect,pointerEventTarget:e.target})&&n.push(i.hitRegion)}),n}function zw(e,t){if(e.length!==t.length)return!1;for(let n=0;n<e.length;n++)if(e[n]!=t[n])return!1;return!0}function ft(e,t,n=0){return Math.abs(mt(e)-mt(t))<=n}function jt(e,t){return ft(e,t)?0:e>t?1:-1}function Zn({overrideDisabledPanels:e,panelConstraints:t,prevSize:n,size:o}){const{collapsedSize:r=0,collapsible:s,disabled:i,maxSize:a=100,minSize:l=0}=t;if(i&&!e)return n;if(jt(o,l)<0)if(s){const u=(r+l)/2;jt(o,u)<0?o=r:o=l}else o=l;return o=Math.min(a,o),o=mt(o),o}function Ho({delta:e,initialLayout:t,panelConstraints:n,pivotIndices:o,prevLayout:r,trigger:s}){if(ft(e,0))return t;const i=s==="imperative-api",a=Object.values(t),l=Object.values(r),u=[...a],[d,p]=o;$e(d!=null,"Invalid first pivot index"),$e(p!=null,"Invalid second pivot index");let f=0;switch(s){case"keyboard":{{const g=e<0?p:d,h=n[g];$e(h,`Panel constraints not found for index ${g}`);const{collapsedSize:b=0,collapsible:v,minSize:w=0}=h;if(v){const x=a[g];if($e(x!=null,`Previous layout not found for panel index ${g}`),ft(x,b)){const S=w-x;jt(S,Math.abs(e))>0&&(e=e<0?0-S:S)}}}{const g=e<0?d:p,h=n[g];$e(h,`No panel constraints found for index ${g}`);const{collapsedSize:b=0,collapsible:v,minSize:w=0}=h;if(v){const x=a[g];if($e(x!=null,`Previous layout not found for panel index ${g}`),ft(x,w)){const S=x-b;jt(S,Math.abs(e))>0&&(e=e<0?0-S:S)}}}break}default:{const g=e<0?p:d,h=n[g];$e(h,`Panel constraints not found for index ${g}`);const b=a[g],{collapsible:v,collapsedSize:w,minSize:x}=h;if(v&&jt(b,x)<0)if(e>0){const S=x-w,R=S/2,E=b+e;jt(E,x)<0&&(e=jt(e,R)<=0?0:S)}else{const S=x-w,R=100-S/2,E=b-e;jt(E,x)<0&&(e=jt(100+e,R)>0?0:-S)}break}}{const g=e<0?1:-1;let h=e<0?p:d,b=0;for(;;){const w=a[h];$e(w!=null,`Previous layout not found for panel index ${h}`);const x=Zn({overrideDisabledPanels:i,panelConstraints:n[h],prevSize:w,size:100})-w;if(b+=x,h+=g,h<0||h>=n.length)break}const v=Math.min(Math.abs(e),Math.abs(b));e=e<0?0-v:v}{let g=e<0?d:p;for(;g>=0&&g<n.length;){const h=Math.abs(e)-Math.abs(f),b=a[g];$e(b!=null,`Previous layout not found for panel index ${g}`);const v=b-h,w=Zn({overrideDisabledPanels:i,panelConstraints:n[g],prevSize:b,size:v});if(!ft(b,w)&&(f+=b-w,u[g]=w,f.toFixed(3).localeCompare(Math.abs(e).toFixed(3),void 0,{numeric:!0})>=0))break;e<0?g--:g++}}if(zw(l,u))return r;{const g=e<0?p:d,h=a[g];$e(h!=null,`Previous layout not found for panel index ${g}`);const b=h+f,v=Zn({overrideDisabledPanels:i,panelConstraints:n[g],prevSize:h,size:b});if(u[g]=v,!ft(v,b)){let w=b-v,x=e<0?p:d;for(;x>=0&&x<n.length;){const S=u[x];$e(S!=null,`Previous layout not found for panel index ${x}`);const R=S+w,E=Zn({overrideDisabledPanels:i,panelConstraints:n[x],prevSize:S,size:R});if(ft(S,E)||(w-=E-S,u[x]=E),ft(w,0))break;e>0?x--:x++}}}const y=Object.values(u).reduce((g,h)=>h+g,0);if(!ft(y,100,.1))return r;const m=Object.keys(r);return u.reduce((g,h,b)=>(g[m[b]]=h,g),{})}function Fn(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(t[n]===void 0||jt(e[n],t[n])!==0)return!1;return!0}function zn({layout:e,panelConstraints:t}){const n=Object.values(e),o=[...n],r=o.reduce((a,l)=>a+l,0);if(o.length!==t.length)throw Error(`Invalid ${t.length} panel layout: ${o.map(a=>`${a}%`).join(", ")}`);if(!ft(r,100)&&o.length>0)for(let a=0;a<t.length;a++){const l=o[a];$e(l!=null,`No layout data found for index ${a}`);const u=100/r*l;o[a]=u}let s=0;for(let a=0;a<t.length;a++){const l=n[a];$e(l!=null,`No layout data found for index ${a}`);const u=o[a];$e(u!=null,`No layout data found for index ${a}`);const d=Zn({overrideDisabledPanels:!0,panelConstraints:t[a],prevSize:l,size:u});u!=d&&(s+=u-d,o[a]=d)}if(!ft(s,0))for(let a=0;a<t.length;a++){const l=o[a];$e(l!=null,`No layout data found for index ${a}`);const u=l+s,d=Zn({overrideDisabledPanels:!0,panelConstraints:t[a],prevSize:l,size:u});if(l!==d&&(s-=d-l,o[a]=d,ft(s,0)))break}const i=Object.keys(e);return o.reduce((a,l,u)=>(a[i[u]]=l,a),{})}function Rp({groupId:e,panelId:t}){const n=()=>{const l=Hn();for(const[u,{defaultLayoutDeferred:d,derivedPanelConstraints:p,layout:f,groupSize:y,separatorToPanels:m}]of l)if(u.id===e)return{defaultLayoutDeferred:d,derivedPanelConstraints:p,group:u,groupSize:y,layout:f,separatorToPanels:m};throw Error(`Group ${e} not found`)},o=()=>{const l=n().derivedPanelConstraints.find(u=>u.panelId===t);if(l!==void 0)return l;throw Error(`Panel constraints not found for Panel ${t}`)},r=()=>{const l=n().group.panels.find(u=>u.id===t);if(l!==void 0)return l;throw Error(`Layout not found for Panel ${t}`)},s=()=>{const l=n().layout[t];if(l!==void 0)return l;throw Error(`Layout not found for Panel ${t}`)},i=({nextSize:l,panels:u,prevLayout:d,derivedPanelConstraints:p})=>{const f=s(),y=u.findIndex(h=>h.id===t),m=y===0,g=y===u.length-1;if(g&&l<f&&(m||u.slice(0,y).every((h,b)=>{const v=p[b];return(v==null?void 0:v.collapsible)&&ft(v.collapsedSize,d[v.panelId])}))){const h=u.slice(0,y).reduce((b,v)=>b+d[v.id],0);return{...d,[t]:mt(100-h)}}return Ho({delta:g?f-l:l-f,initialLayout:d,panelConstraints:p,pivotIndices:g?[y-1,y]:[y,y+1],prevLayout:d,trigger:"imperative-api"})},a=l=>{const u=s();if(l===u)return;const{defaultLayoutDeferred:d,derivedPanelConstraints:p,group:f,groupSize:y,layout:m,separatorToPanels:g}=n(),h=i({nextSize:l,panels:f.panels,prevLayout:m,derivedPanelConstraints:p}),b=zn({layout:h,panelConstraints:p});Fn(m,b)||sn(f,{defaultLayoutDeferred:d,derivedPanelConstraints:p,groupSize:y,layout:b,separatorToPanels:g})};return{collapse:()=>{const{collapsible:l,collapsedSize:u}=o(),{mutableValues:d}=r(),p=s();l&&p!==u&&(d.expandToSize=p,a(u))},expand:()=>{const{collapsible:l,collapsedSize:u,minSize:d}=o(),{mutableValues:p}=r(),f=s();if(l&&f===u){let y=p.expandToSize??d;y===0&&(y=1),a(y)}},getSize:()=>{const{group:l}=n(),u=s(),{element:d}=r(),p=l.orientation==="horizontal"?d.offsetWidth:d.offsetHeight;return{asPercentage:u,inPixels:p}},isCollapsed:()=>{const{collapsible:l,collapsedSize:u}=o(),d=s();return l&&ft(u,d)},resize:l=>{const{group:u}=n(),{element:d}=r(),p=go({group:u}),f=Oo({groupSize:p,panelElement:d,styleProp:l}),y=mt(f/p*100);a(y)}}}function Gl(e){if(e.defaultPrevented)return;const t=Hn();Za(e,t).forEach(n=>{if(n.separator&&!n.separator.disableDoubleClick){const o=n.panels.find(r=>r.panelConstraints.defaultSize!==void 0);if(o){const r=o.panelConstraints.defaultSize,s=Rp({groupId:n.group.id,panelId:o.id});s&&r!==void 0&&(s.resize(r),e.preventDefault())}}})}function Or(e){const t=Hn();for(const[n]of t)if(n.separators.some(o=>o.element===e))return n;throw Error("Could not find parent Group for separator element")}function kp({groupId:e}){const t=()=>{const n=Hn();for(const[o,r]of n)if(o.id===e)return{group:o,...r};throw Error(`Could not find Group with id "${e}"`)};return{getLayout(){const{defaultLayoutDeferred:n,layout:o}=t();return n?{}:o},setLayout(n){const{defaultLayoutDeferred:o,derivedPanelConstraints:r,group:s,groupSize:i,layout:a,separatorToPanels:l}=t(),u=zn({layout:n,panelConstraints:r});return o?a:(Fn(a,u)||sn(s,{defaultLayoutDeferred:o,derivedPanelConstraints:r,groupSize:i,layout:u,separatorToPanels:l}),u)}}}function On(e,t){const n=Or(e),o=yn(n.id,!0),r=n.separators.find(d=>d.element===e);$e(r,"Matching separator not found");const s=o.separatorToPanels.get(r);$e(s,"Matching panels not found");const i=s.map(d=>n.panels.indexOf(d)),a=kp({groupId:n.id}).getLayout(),l=Ho({delta:t,initialLayout:a,panelConstraints:o.derivedPanelConstraints,pivotIndices:i,prevLayout:a,trigger:"keyboard"}),u=zn({layout:l,panelConstraints:o.derivedPanelConstraints});Fn(a,u)||sn(n,{defaultLayoutDeferred:o.defaultLayoutDeferred,derivedPanelConstraints:o.derivedPanelConstraints,groupSize:o.groupSize,layout:u,separatorToPanels:o.separatorToPanels},{isUserInteraction:!0})}function ql(e){if(e.defaultPrevented)return;const t=e.currentTarget,n=Or(t);if(!n.disabled)switch(e.key){case"ArrowDown":{e.preventDefault(),n.orientation==="vertical"&&On(t,5);break}case"ArrowLeft":{e.preventDefault(),n.orientation==="horizontal"&&On(t,-5);break}case"ArrowRight":{e.preventDefault(),n.orientation==="horizontal"&&On(t,5);break}case"ArrowUp":{e.preventDefault(),n.orientation==="vertical"&&On(t,-5);break}case"End":{e.preventDefault(),On(t,100);break}case"Enter":{e.preventDefault();const o=Or(t),r=yn(o.id,!0),{derivedPanelConstraints:s,layout:i,separatorToPanels:a}=r,l=o.separators.find(f=>f.element===t);$e(l,"Matching separator not found");const u=a.get(l);$e(u,"Matching panels not found");const d=u[0],p=s.find(f=>f.panelId===d.id);if($e(p,"Panel metadata not found"),p.collapsible){const f=i[d.id],y=p.collapsedSize===f?o.mutableState.expandedPanelSizes[d.id]??p.minSize:p.collapsedSize;On(t,y-f)}break}case"F6":{e.preventDefault();const o=Or(t).separators.map(i=>i.element),r=Array.from(o).findIndex(i=>i===e.currentTarget);$e(r!==null,"Index not found");const s=e.shiftKey?r>0?r-1:o.length-1:r+1<o.length?r+1:0;o[s].focus({preventScroll:!0});break}case"Home":{e.preventDefault(),On(t,-100);break}}}function Yl(e){if(e.defaultPrevented||e.pointerType==="mouse"&&e.button>0)return;const t=Hn(),n=Za(e,t),o=new Map;let r=!1;n.forEach(s=>{s.separator&&(r||(r=!0,s.separator.element.focus({focusVisible:!1,preventScroll:!0})));const i=t.get(s.group);i&&o.set(s.group,i.layout)}),ro({cursorFlags:0,hitRegions:n,initialLayoutMap:o,pointerDownAtPoint:{x:e.clientX,y:e.clientY},state:"active"}),n.length&&e.preventDefault()}function Ep({document:e,event:t,hitRegions:n,initialLayoutMap:o,mountedGroups:r,pointerDownAtPoint:s,prevCursorFlags:i}){let a=0;n.forEach(u=>{const{group:d,groupSize:p}=u,{orientation:f,panels:y}=d,{disableCursor:m}=d.mutableState;let g=0;s?f==="horizontal"?g=(t.clientX-s.x)/p*100:g=(t.clientY-s.y)/p*100:f==="horizontal"?g=t.clientX<0?-100:100:g=t.clientY<0?-100:100;const h=o.get(d),b=r.get(d);if(!h||!b)return;const{defaultLayoutDeferred:v,derivedPanelConstraints:w,groupSize:x,layout:S,separatorToPanels:R}=b;if(w&&S&&R){const E=Ho({delta:g,initialLayout:h,panelConstraints:w,pivotIndices:u.panels.map(k=>y.indexOf(k)),prevLayout:S,trigger:"mouse-or-touch"});if(Fn(E,S)){if(g!==0&&!m)switch(f){case"horizontal":{a|=g<0?mp:yp;break}case"vertical":{a|=g<0?bp:vp;break}}}else sn(u.group,{defaultLayoutDeferred:v,derivedPanelConstraints:w,groupSize:x,layout:E,separatorToPanels:R})}});let l=0;t.movementX===0?l|=i&Fl:l|=a&Fl,t.movementY===0?l|=i&zl:l|=a&zl,Cw(l),Xa(e)}function Xl(e){const t=Hn(),n=Ln();switch(n.state){case"active":Ep({document:e.currentTarget,event:e,hitRegions:n.hitRegions,initialLayoutMap:n.initialLayoutMap,mountedGroups:t,prevCursorFlags:n.cursorFlags})}}function Kl(e){var o,r;if(e.defaultPrevented)return;const t=Ln(),n=Hn();switch(t.state){case"active":{if(e.buttons===0){ro({cursorFlags:0,state:"inactive"}),t.hitRegions.forEach(s=>{const i=yn(s.group.id,!0);sn(s.group,i,{isUserInteraction:!0})});return}for(const s of t.hitRegions)if(s.separator){const{element:i}=s.separator;(o=i.hasPointerCapture)!=null&&o.call(i,e.pointerId)||((r=i.setPointerCapture)==null||r.call(i,e.pointerId))}Ep({document:e.currentTarget,event:e,hitRegions:t.hitRegions,initialLayoutMap:t.initialLayoutMap,mountedGroups:n,pointerDownAtPoint:t.pointerDownAtPoint,prevCursorFlags:t.cursorFlags});break}default:{const s=Za(e,n);s.length===0?t.state!=="inactive"&&ro({cursorFlags:0,state:"inactive"}):ro({cursorFlags:0,hitRegions:s,state:"hover"}),Xa(e.currentTarget);break}}}function Zl(e){if(e.relatedTarget instanceof HTMLIFrameElement)switch(Ln().state){case"hover":ro({cursorFlags:0,state:"inactive"})}}function Ql(e){e.defaultPrevented||e.pointerType==="mouse"&&e.button>0||wp(e.currentTarget)&&e.preventDefault()}function Jl(e){let t=0,n=0;const o={};for(const s of e)if(s.defaultSize!==void 0){t++;const i=mt(s.defaultSize);n+=i,o[s.panelId]=i}else o[s.panelId]=void 0;const r=e.length-t;if(r!==0){const s=mt((100-n)/r);for(const i of e)i.defaultSize===void 0&&(o[i.panelId]=s)}return o}function Vw(e,t,n){if(!n[0])return;const o=e.panels.find(l=>l.element===t);if(!o||!o.onResize)return;const r=go({group:e}),s=e.orientation==="horizontal"?o.element.offsetWidth:o.element.offsetHeight,i=o.mutableValues.prevSize,a={asPercentage:mt(s/r*100),inPixels:s};o.mutableValues.prevSize=a,o.onResize(a,o.id,i)}function $w(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(e[n]!==t[n])return!1;return!0}function Hw({group:e,nextGroupSize:t,prevGroupSize:n,prevLayout:o}){if(n<=0||t<=0||n===t)return o;let r=0,s=0,i=!1;const a=new Map,l=[];for(const p of e.panels){const f=o[p.id]??0;switch(p.panelConstraints.groupResizeBehavior){case"preserve-pixel-size":{i=!0;const y=f/100*n,m=mt(y/t*100);a.set(p.id,m),r+=m;break}case"preserve-relative-size":default:{l.push(p.id),s+=f;break}}}if(!i||l.length===0)return o;const u=100-r,d={...o};if(a.forEach((p,f)=>{d[f]=p}),s>0)for(const p of l){const f=o[p]??0;d[p]=mt(f/s*u)}else{const p=mt(u/l.length);for(const f of l)d[f]=p}return d}function jw(e,t){const n=e.map(r=>r.id),o=Object.keys(t);if(n.length!==o.length)return!1;for(const r of n)if(!o.includes(r))return!1;return!0}const Yn=new Map;function Bw(e){let t=!0;$e(e.element.ownerDocument.defaultView,"Cannot register an unmounted Group");const n=e.element.ownerDocument.defaultView.ResizeObserver,o=new Set,r=new Set,s=new n(m=>{for(const g of m){const{borderBoxSize:h,target:b}=g;if(b===e.element){if(t){const v=go({group:e});if(v===0)return;const w=yn(e.id);if(!w)return;const x=Oi(e),S=w.defaultLayoutDeferred?Jl(x):w.layout,R=Hw({group:e,nextGroupSize:v,prevGroupSize:w.groupSize,prevLayout:S}),E=zn({layout:R,panelConstraints:x});if(!w.defaultLayoutDeferred&&Fn(w.layout,E)&&$w(w.derivedPanelConstraints,x)&&w.groupSize===v)return;sn(e,{defaultLayoutDeferred:!1,derivedPanelConstraints:x,groupSize:v,layout:E,separatorToPanels:w.separatorToPanels})}}else Vw(e,b,h)}});s.observe(e.element),e.panels.forEach(m=>{$e(!o.has(m.id),`Panel ids must be unique; id "${m.id}" was used more than once`),o.add(m.id),m.onResize&&s.observe(m.element)});const i=go({group:e}),a=Oi(e),l=e.panels.map(({id:m})=>m).join(",");let u=e.mutableState.defaultLayout;u&&(jw(e.panels,u)||(u=void 0));const d=e.mutableState.layouts[l]??u??Jl(a),p=zn({layout:d,panelConstraints:a}),f=e.element.ownerDocument;Yn.set(f,(Yn.get(f)??0)+1);const y=new Map;return hp(e).forEach(m=>{m.separator&&y.set(m.separator,m.panels)}),sn(e,{defaultLayoutDeferred:i===0,derivedPanelConstraints:a,groupSize:i,layout:p,separatorToPanels:y}),e.separators.forEach(m=>{$e(!r.has(m.id),`Separator ids must be unique; id "${m.id}" was used more than once`),r.add(m.id),m.element.addEventListener("keydown",ql)}),Yn.get(f)===1&&(f.addEventListener("contextmenu",jl,!0),f.addEventListener("dblclick",Gl,!0),f.addEventListener("pointerdown",Yl,!0),f.addEventListener("pointerleave",Xl),f.addEventListener("pointermove",Kl),f.addEventListener("pointerout",Zl),f.addEventListener("pointerup",Ql,!0)),function(){t=!1,Yn.set(f,Math.max(0,(Yn.get(f)??0)-1)),Tw(e),e.separators.forEach(m=>{m.element.removeEventListener("keydown",ql)}),Yn.get(f)||(f.removeEventListener("contextmenu",jl,!0),f.removeEventListener("dblclick",Gl,!0),f.removeEventListener("pointerdown",Yl,!0),f.removeEventListener("pointerleave",Xl),f.removeEventListener("pointermove",Kl),f.removeEventListener("pointerout",Zl),f.removeEventListener("pointerup",Ql,!0)),s.disconnect()}}function Ww(){const[e,t]=c.useState({}),n=c.useCallback(()=>t({}),[]);return[e,n]}function Qa(e){const t=c.useId();return`${e??t}`}const jn=typeof window<"u"?c.useLayoutEffect:c.useEffect;function Do(e){const t=c.useRef(e);return jn(()=>{t.current=e},[e]),c.useCallback((...n)=>{var o;return(o=t.current)==null?void 0:o.call(t,...n)},[t])}function Ja(...e){return Do(t=>{e.forEach(n=>{if(n)switch(typeof n){case"function":{n(t);break}case"object":{n.current=t;break}}})})}function ec(e){const t=c.useRef({...e});return jn(()=>{for(const n in e)t.current[n]=e[n]},[e]),t.current}const Cp=c.createContext(null);function Uw(e,t){const n=c.useRef({getLayout:()=>({}),setLayout:Pw});c.useImperativeHandle(t,()=>n.current,[]),jn(()=>{Object.assign(n.current,kp({groupId:e}))})}function Gw({children:e,className:t,defaultLayout:n,disableCursor:o,disabled:r,elementRef:s,groupRef:i,id:a,onLayoutChange:l,onLayoutChanged:u,orientation:d="horizontal",resizeTargetMinimumSize:p={coarse:20,fine:10},style:f,...y}){const m=c.useRef({onLayoutChange:{},onLayoutChanged:{}}),g=Do(O=>{Fn(m.current.onLayoutChange,O)||(m.current.onLayoutChange=O,l==null||l(O))}),h=Do((O,I)=>{Fn(m.current.onLayoutChanged,O)||(m.current.onLayoutChanged=O,u==null||u(O,{isUserInteraction:I}))}),b=Qa(a),v=c.useRef(null),[w,x]=Ww(),S=c.useRef({lastExpandedPanelSizes:{},layouts:{},panels:[],resizeTargetMinimumSize:p,separators:[]}),R=Ja(v,s);Uw(b,i);const E=Do((O,I)=>{const N=Ln(),D=Hl(O),P=yn(O);if(P){let z=!1;switch(N.state){case"active":{z=N.hitRegions.some(_=>_.group===D);break}}return{flexGrow:P.layout[I]??1,pointerEvents:z?"none":void 0}}if(n!=null&&n[I])return{flexGrow:n==null?void 0:n[I]}}),k=ec({defaultLayout:n,disableCursor:o}),M=c.useMemo(()=>({get disableCursor(){return!!k.disableCursor},getPanelStyles:E,id:b,orientation:d,registerPanel:O=>{const I=S.current;return I.panels=Ai(d,[...I.panels,O]),x(),()=>{I.panels=I.panels.filter(N=>N!==O),x()}},registerSeparator:O=>{const I=S.current;return I.separators=Ai(d,[...I.separators,O]),x(),()=>{I.separators=I.separators.filter(N=>N!==O),x()}},updatePanelProps:(O,{disabled:I})=>{const N=S.current.panels.find(z=>z.id===O);N&&(N.panelConstraints.disabled=I);const D=Hl(b),P=yn(b);D&&P&&sn(D,{...P,derivedPanelConstraints:Oi(D)})},updateSeparatorProps:(O,{disabled:I,disableDoubleClick:N})=>{const D=S.current.separators.find(P=>P.id===O);D&&(D.disabled=I,D.disableDoubleClick=N)}}),[E,b,x,d,k]),C=c.useRef(null);return jn(()=>{const O=v.current;if(O===null)return;const I=S.current;let N;if(k.defaultLayout!==void 0&&Object.keys(k.defaultLayout).length===I.panels.length){N={};for(const T of I.panels){const L=k.defaultLayout[T.id];L!==void 0&&(N[T.id]=L)}}const D={disabled:!!r,element:O,id:b,mutableState:{defaultLayout:N,disableCursor:!!k.disableCursor,expandedPanelSizes:S.current.lastExpandedPanelSizes,layouts:S.current.layouts},orientation:d,panels:I.panels,resizeTargetMinimumSize:I.resizeTargetMinimumSize,separators:I.separators};C.current=D;const P=Bw(D),{defaultLayoutDeferred:z,derivedPanelConstraints:_,layout:A}=yn(D.id,!0);!z&&_.length>0&&(g(A),h(A,!1));const F=Ka(b,T=>{const{defaultLayoutDeferred:L,derivedPanelConstraints:j,layout:$}=T.next;if(L||j.length===0)return;const U=D.panels.map(({id:V})=>V).join(",");D.mutableState.layouts[U]=$,j.forEach(V=>{if(V.collapsible){const{layout:Q}=T.prev??{};if(Q){const H=ft(V.collapsedSize,$[V.panelId]),G=ft(V.collapsedSize,Q[V.panelId]);H&&!G&&(D.mutableState.expandedPanelSizes[V.panelId]=Q[V.panelId])}}});const q=Ln().state!=="active";g($),q&&h($,T.isUserInteraction)});return()=>{C.current=null,P(),F()}},[r,b,h,g,d,w,k]),c.useEffect(()=>{const O=C.current;O&&(O.mutableState.defaultLayout=n,O.mutableState.disableCursor=!!o)}),K.jsx(Cp.Provider,{value:M,children:K.jsx("div",{...y,className:t,"data-group":!0,"data-testid":b,id:b,ref:R,style:{height:"100%",width:"100%",overflow:"hidden",...f,display:"flex",flexDirection:d==="horizontal"?"row":"column",flexWrap:"nowrap",touchAction:d==="horizontal"?"pan-y":"pan-x"},children:e})})}Gw.displayName="Group";function tc(){const e=c.useContext(Cp);return $e(e,"Group Context not found; did you render a Panel or Separator outside of a Group?"),e}function qw(e,t){const{id:n}=tc(),o=c.useRef({collapse:Zs,expand:Zs,getSize:()=>({asPercentage:0,inPixels:0}),isCollapsed:()=>!1,resize:Zs});c.useImperativeHandle(t,()=>o.current,[]),jn(()=>{Object.assign(o.current,Rp({groupId:n,panelId:e}))})}function Yw({children:e,className:t,collapsedSize:n="0%",collapsible:o=!1,defaultSize:r,disabled:s,elementRef:i,groupResizeBehavior:a="preserve-relative-size",id:l,maxSize:u="100%",minSize:d="0%",onResize:p,panelRef:f,style:y,...m}){const g=!!l,h=Qa(l),b=ec({disabled:s}),v=c.useRef(null),w=Ja(v,i),{getPanelStyles:x,id:S,orientation:R,registerPanel:E,updatePanelProps:k}=tc(),M=p!==null,C=Do((D,P,z)=>{p==null||p(D,l,z)});jn(()=>{const D=v.current;if(D!==null){const P={element:D,id:h,idIsStable:g,mutableValues:{expandToSize:void 0,prevSize:void 0},onResize:M?C:void 0,panelConstraints:{groupResizeBehavior:a,collapsedSize:n,collapsible:o,defaultSize:r,disabled:b.disabled,maxSize:u,minSize:d}};return E(P)}},[a,n,o,r,M,h,g,u,d,C,E,b]),c.useEffect(()=>{k(h,{disabled:s})},[s,h,k]),qw(h,f);const O=()=>{const D=x(S,h);if(D)return JSON.stringify(D)},I=c.useSyncExternalStore(D=>Ka(S,D),O,O);let N;return I?N=JSON.parse(I):r!==void 0?N={flexGrow:void 0,flexShrink:void 0,flexBasis:r}:N={flexGrow:1},K.jsx("div",{...m,"data-disabled":s||void 0,"data-panel":!0,"data-testid":h,id:h,ref:w,style:{...Xw,display:"flex",flexBasis:0,flexShrink:1,overflow:"visible",...N},children:K.jsx("div",{className:t,style:{maxHeight:"100%",maxWidth:"100%",flexGrow:1,overflow:"auto",...y,touchAction:R==="horizontal"?"pan-y":"pan-x"},children:e})})}Yw.displayName="Panel";const Xw={minHeight:0,maxHeight:"100%",height:"auto",minWidth:0,maxWidth:"100%",width:"auto",border:"none",borderWidth:0,padding:0,margin:0};function Kw({layout:e,panelConstraints:t,panelId:n,panelIndex:o}){let r,s;const i=e[n],a=t.find(l=>l.panelId===n);if(a){const l=a.maxSize,u=a.collapsible?a.collapsedSize:a.minSize,d=[o,o+1];s=zn({layout:Ho({delta:u-i,initialLayout:e,panelConstraints:t,pivotIndices:d,prevLayout:e}),panelConstraints:t})[n],r=zn({layout:Ho({delta:l-i,initialLayout:e,panelConstraints:t,pivotIndices:d,prevLayout:e}),panelConstraints:t})[n]}return{valueControls:n,valueMax:r,valueMin:s,valueNow:i}}function Zw({children:e,className:t,disabled:n,disableDoubleClick:o,elementRef:r,id:s,style:i,...a}){const l=Qa(s),u=ec({disabled:n,disableDoubleClick:o}),[d,p]=c.useState({}),[f,y]=c.useState("inactive"),[m,g]=c.useState(!1),h=c.useRef(null),b=Ja(h,r),{disableCursor:v,id:w,orientation:x,registerSeparator:S,updateSeparatorProps:R}=tc(),E=x==="horizontal"?"vertical":"horizontal";jn(()=>{const C=h.current;if(C!==null){const O={disabled:u.disabled,disableDoubleClick:u.disableDoubleClick,element:C,id:l},I=S(O),N=Ew(P=>{y(P.next.state!=="inactive"&&P.next.hitRegions.some(z=>z.separator===O)?P.next.state:"inactive")}),D=Ka(w,P=>{const{derivedPanelConstraints:z,layout:_,separatorToPanels:A}=P.next,F=A.get(O);if(F){const T=F[0],L=F.indexOf(T);p(Kw({layout:_,panelConstraints:z,panelId:T.id,panelIndex:L}))}});return()=>{N(),D(),I()}}},[w,l,S,u]),c.useEffect(()=>{R(l,{disabled:n,disableDoubleClick:o})},[n,o,l,R]);let k;n&&!v&&(k="not-allowed");let M;if(n)M="disabled";else switch(f){case"active":{M="active";break}default:m?M="focus":M=f}return K.jsx("div",{...a,"aria-controls":d.valueControls,"aria-disabled":n||void 0,"aria-orientation":E,"aria-valuemax":d.valueMax,"aria-valuemin":d.valueMin,"aria-valuenow":d.valueNow,children:e,className:t,"data-separator":M,"data-testid":l,id:l,onBlur:()=>g(!1),onFocus:()=>g(!0),ref:b,role:"separator",style:{flexBasis:"auto",cursor:k,...i,flexGrow:0,flexShrink:0,touchAction:"none"},tabIndex:n?void 0:0})}Zw.displayName="Separator";const Pp=c.createContext(void 0);function Qw(){const e=c.useContext(Pp);if(e===void 0)throw new Error(De(63));return e}const Mp={...vs,checked(e){return e?{"data-checked":""}:{"data-unchecked":""}}},gC=c.forwardRef(function(t,n){const{checked:o,className:r,defaultChecked:s,"aria-labelledby":i,form:a,id:l,inputRef:u,name:d,nativeButton:p=!1,onCheckedChange:f,readOnly:y=!1,required:m=!1,disabled:g=!1,render:h,uncheckedValue:b,value:v,style:w,...x}=t,{clearErrors:S}=Ss(),{state:R,setTouched:E,setDirty:k,validityData:M,setFilled:C,setFocused:O,validationMode:I,disabled:N,name:D,validation:P}=vo(),{labelId:z}=qo(),_=N||g,A=D??d,F=c.useRef(null),T=Nt(F,u,P.inputRef),L=c.useRef(null),j=tt(),$=ws({id:l,implicit:!1,controlRef:L}),U=p?void 0:$,[q,V]=_t({controlled:o,default:!!s,name:"Switch",state:"checked"});xs(L,j,q,void 0,!_,d),oe(()=>{F.current&&C(F.current.checked)},[C]),bs(q,()=>{S(A),k(q!==M.initialValue),C(q),P.change(q)});const{getButtonProps:Q,buttonRef:H}=Tt({disabled:_,native:p}),G=Qf(i,z,F,!p,U),ue={id:p?$:j,role:"switch","aria-checked":q,"aria-readonly":y||void 0,"aria-required":m||void 0,"aria-labelledby":G,onFocus(){_||O(!0)},onBlur(){const ee=F.current;!ee||_||(E(!0),O(!1),I==="onBlur"&&P.commit(ee.checked))},onClick(ee){if(y||_)return;ee.preventDefault();const ie=F.current;ie&&Qn(ie,ee)}},ne={...P.getValidationProps(_),checked:q,disabled:_,form:a,id:U,name:A,required:m,style:A?oa:Bo,tabIndex:-1,type:"checkbox","aria-hidden":!0,ref:T,onChange(ee){if(ee.nativeEvent.defaultPrevented)return;if(y){ee.preventDefault();return}const ie=ee.currentTarget.checked,xe=ke(Rt,ee.nativeEvent);f==null||f(ie,xe),!xe.isCanceled&&V(ie)},onClick(ee){ee.stopPropagation()},onFocus(){var ee;(ee=L.current)==null||ee.focus()},...v!==void 0?{value:v}:We},te=c.useMemo(()=>({...R,checked:q,disabled:_,readOnly:y,required:m}),[R,q,_,y,m]),J=Se("span",t,{state:te,ref:[n,L,H],props:[ue,x,Q,ee=>P.getValidationProps(_,ee)],stateAttributesMapping:Mp});return K.jsxs(Pp.Provider,{value:te,children:[J,!q&&A&&b!==void 0&&K.jsx("input",{type:"hidden",form:a,name:A,value:b,disabled:_}),K.jsx("input",{...ne,suppressHydrationWarning:!0})]})}),mC=c.forwardRef(function(t,n){const{render:o,className:r,style:s,...i}=t,a=Qw();return Se("span",t,{state:a,ref:n,stateAttributesMapping:Mp,props:i})});export{hS as $,Ek as A,Mk as B,mS as C,zS as D,jS as E,nR as F,aR as G,bR as H,rR as I,_S as J,RR as K,CR as L,HR as M,hk as N,pS as O,nk as P,lR as Q,ck as R,dk as S,Pk as T,gS as U,LS as V,jk as W,Bk as X,DS as Y,Gk as Z,ZS as _,oR as a,pE as a$,WR as a0,lS as a1,ER as a2,Hk as a3,rk as a4,gC as a5,mC as a6,US as a7,GS as a8,$k as a9,eE as aA,sE as aB,Kb as aC,aE as aD,tE as aE,Qk as aF,cE as aG,nE as aH,oE as aI,iE as aJ,Jk as aK,Kk as aL,rE as aM,Zk as aN,hR as aO,vk as aP,Wk as aQ,yE as aR,vE as aS,bE as aT,lE as aU,dE as aV,uE as aW,gE as aX,SE as aY,fE as aZ,mE as a_,Vk as aa,VS as ab,KR as ac,IR as ad,SS as ae,OS as af,qS as ag,cS as ah,tk as ai,tR as aj,gR as ak,Nk as al,MR as am,OR as an,Ak as ao,yk as ap,NR as aq,kS as ar,TR as as,tS as at,Xk as au,ny as av,qk as aw,Yk as ax,BR as ay,xR as az,ik as b,vR as b$,hE as b0,wE as b1,xE as b2,yS as b3,TE as b4,EE as b5,CE as b6,ME as b7,PE as b8,kE as b9,ok as bA,Ck as bB,fk as bC,wS as bD,UE as bE,GE as bF,qE as bG,YE as bH,KE as bI,XE as bJ,JS as bK,ek as bL,ZR as bM,ZE as bN,QE as bO,tC as bP,JE as bQ,eC as bR,sC as bS,iC as bT,nC as bU,oC as bV,rC as bW,aC as bX,cC as bY,lC as bZ,uC as b_,RE as ba,Fv as bb,Fk as bc,$S as bd,St as be,IE as bf,Mr as bg,Rs as bh,AE as bi,NE as bj,DE as bk,_E as bl,of as bm,JR as bn,QS as bo,zE as bp,LE as bq,FE as br,wR as bs,QR as bt,$E as bu,BE as bv,VE as bw,WE as bx,HE as by,jE as bz,WS as c,$R as c0,mR as c1,AS as c2,RS as c3,HS as c4,vS as c5,nS as c6,zk as c7,NS as c8,dC as c9,GR as cA,Zw as cB,Yw as cC,Gw as cD,DR as cE,MS as cF,sS as cG,CS as cH,Dk as cI,Lk as cJ,_k as cK,IS as cL,uR as cM,dR as cN,zR as cO,rS as cP,iS as cQ,ak as cR,ES as cS,XR as cT,Ik as cU,bk as cV,PR as cW,fC as ca,TS as cb,jR as cc,yR as cd,KS as ce,XS as cf,cR as cg,xk as ch,iR as ci,hC as cj,pC as ck,PS as cl,uS as cm,VR as cn,sk as co,uk as cp,LR as cq,oS as cr,SR as cs,eR as ct,aS as cu,fS as cv,fR as cw,mk as cx,qR as cy,BS as cz,pk as d,Rk as e,AR as f,Uk as g,sR as h,Ok as i,_R as j,lk as k,YS as l,kk as m,pR as n,Tk as o,FR as p,FS as q,kR as r,dS as s,YR as t,wk as u,xS as v,bS as w,UR as x,gk as y,Sk as z};
|