cogpit 2.6.0 → 2.6.1
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 +1 -1
- package/dist/web/assets/{CommandPaletteHost-DfaMCzBW.js → CommandPaletteHost-DLho8Ydr.js} +1 -1
- package/dist/web/assets/{ConfigBrowser-CYyPu1XZ.js → ConfigBrowser-DcRITnFh.js} +1 -1
- package/dist/web/assets/{HighlightedEditor-D0E4fNIR.js → HighlightedEditor-DIp1oA0P.js} +1 -1
- package/dist/web/assets/{KeyboardShortcutsDialog-Cmk72Wcu.js → KeyboardShortcutsDialog-BbU77pdm.js} +1 -1
- package/dist/web/assets/{MobileFileChanges-B5e6WRrN.js → MobileFileChanges-GkG76Ztq.js} +1 -1
- package/dist/web/assets/{PreviewPanel-L5TxNJuc.js → PreviewPanel-B8DbD395.js} +1 -1
- package/dist/web/assets/{ProjectFilesPanel-9mVexNJQ.js → ProjectFilesPanel-nG1bZOL7.js} +1 -1
- package/dist/web/assets/{ProjectSwitcherModal-D37bS3Y8.js → ProjectSwitcherModal-HW-WAt1o.js} +1 -1
- package/dist/web/assets/{TerminalOutput-qo7CUaKh.js → TerminalOutput-Cpqldw8o.js} +1 -1
- package/dist/web/assets/{ThemeSelectorModal-DeKpqiLO.js → ThemeSelectorModal-BZ9ceBWr.js} +1 -1
- package/dist/web/assets/{WorkflowsPanel-Dvy1NPzW.js → WorkflowsPanel-DOOg6Hqp.js} +1 -1
- package/dist/web/assets/{WorktreePanel-DJdlsguj.js → WorktreePanel-JHMvhzQu.js} +1 -1
- package/dist/web/assets/index-9nniVy_T.js +157 -0
- package/dist/web/assets/index-BDtY-qce.css +1 -0
- package/dist/web/assets/{index-vzYZixNy.js → index-BhAAK3QZ.js} +1 -1
- package/dist/web/assets/{index-CyRmDc3P.js → index-D2-ty4Xm.js} +1 -1
- package/dist/web/assets/{index-aYw7Kb2u.js → index-De7cnbso.js} +1 -1
- package/dist/web/assets/{index-C1O8__7w.js → index-L4keTj_3.js} +1 -1
- package/dist/web/assets/vendor-ui-CKSkT7i9.js +912 -0
- package/dist/web/index.html +3 -3
- package/package.json +1 -1
- package/dist/web/assets/index-BnTYSkBh.css +0 -1
- package/dist/web/assets/index-CdXCbj1g.js +0 -157
- package/dist/web/assets/vendor-ui-CevbH8m5.js +0 -907
|
@@ -0,0 +1,912 @@
|
|
|
1
|
+
var qp=Object.defineProperty;var vc=e=>{throw TypeError(e)};var Yp=(e,t,n)=>t in e?qp(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var Ne=(e,t,n)=>Yp(e,typeof t!="symbol"?t+"":t,n),xc=(e,t,n)=>t.has(e)||vc("Cannot "+n);var Po=(e,t,n)=>(xc(e,t,"read from private field"),n?n.call(e):t.get(e)),wc=(e,t,n)=>t.has(e)?vc("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),Sc=(e,t,n,o)=>(xc(e,t,"write to private field"),o?o.call(e,n):t.set(e,n),n);import{r as c,R as bo,j as q,a as It,b as mu}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 yu=(...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 Xp=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 Kp=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 Rc=e=>{const t=Kp(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 Zp={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 Qp=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 Jp=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,...Zp,width:t,height:t,stroke:e,strokeWidth:o?Number(n)*24/Number(t):n,className:yu("lucide",r),...!s&&!Qp(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(Jp,{ref:s,iconNode:t,className:yu(`lucide-${Xp(Rc(e))}`,`lucide-${e}`,o),...r}));return n.displayName=Rc(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 eh=[["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"}]],NS=B("activity",eh);/**
|
|
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 th=[["path",{d:"M17 7 7 17",key:"15tmo1"}],["path",{d:"M17 17H7V7",key:"1org7z"}]],DS=B("arrow-down-left",th);/**
|
|
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 nh=[["path",{d:"M12 5v14",key:"s699le"}],["path",{d:"m19 12-7 7-7-7",key:"1idqje"}]],_S=B("arrow-down",nh);/**
|
|
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 oh=[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]],LS=B("arrow-left",oh);/**
|
|
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 rh=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]],FS=B("arrow-right",rh);/**
|
|
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 sh=[["path",{d:"M7 7h10v10",key:"1tivn9"}],["path",{d:"M7 17 17 7",key:"1vkiza"}]],zS=B("arrow-up-right",sh);/**
|
|
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 ih=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M4.929 4.929 19.07 19.071",key:"196cmz"}]],VS=B("ban",ih);/**
|
|
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 ah=[["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"}]],$S=B("bell",ah);/**
|
|
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 ch=[["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"}]],HS=B("book-open",ch);/**
|
|
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 lh=[["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"}]],jS=B("bot",lh);/**
|
|
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 uh=[["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"}]],BS=B("brain",uh);/**
|
|
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 dh=[["path",{d:"M16 14v2.2l1.6 1",key:"fo4ql5"}],["path",{d:"M16 2v4",key:"4m81vk"}],["path",{d:"M21 7.5V6a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h3.5",key:"1osxxc"}],["path",{d:"M3 10h5",key:"r794hk"}],["path",{d:"M8 2v4",key:"1cmpym"}],["circle",{cx:"16",cy:"16",r:"6",key:"qoo3c4"}]],WS=B("calendar-clock",dh);/**
|
|
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 fh=[["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"}]],US=B("chart-column",fh);/**
|
|
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 ph=[["path",{d:"M18 6 7 17l-5-5",key:"116fxf"}],["path",{d:"m22 10-7.5 7.5L13 16",key:"ke71qq"}]],GS=B("check-check",ph);/**
|
|
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 hh=[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]],qS=B("check",hh);/**
|
|
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 gh=[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]],YS=B("chevron-down",gh);/**
|
|
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 mh=[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]],XS=B("chevron-left",mh);/**
|
|
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 yh=[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]],KS=B("chevron-right",yh);/**
|
|
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 bh=[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]],ZS=B("chevron-up",bh);/**
|
|
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 vh=[["path",{d:"m7 20 5-5 5 5",key:"13a0gw"}],["path",{d:"m7 4 5 5 5-5",key:"1kwcof"}]],QS=B("chevrons-down-up",vh);/**
|
|
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 xh=[["path",{d:"m6 17 5-5-5-5",key:"xnjwq"}],["path",{d:"m13 17 5-5-5-5",key:"17xmmf"}]],JS=B("chevrons-right",xh);/**
|
|
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 wh=[["path",{d:"m7 15 5 5 5-5",key:"1hf1tw"}],["path",{d:"m7 9 5-5 5 5",key:"sgt6xg"}]],eR=B("chevrons-up-down",wh);/**
|
|
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 Sh=[["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"}]],tR=B("circle-alert",Sh);/**
|
|
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 Rh=[["path",{d:"M21.801 10A10 10 0 1 1 17 3.335",key:"yps3ct"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]],nR=B("circle-check-big",Rh);/**
|
|
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 kh=[["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"}]],oR=B("circle-arrow-up",kh);/**
|
|
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 Ch=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]],rR=B("circle-check",Ch);/**
|
|
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 Eh=[["path",{d:"M10.1 2.182a10 10 0 0 1 3.8 0",key:"5ilxe3"}],["path",{d:"M13.9 21.818a10 10 0 0 1-3.8 0",key:"11zvb9"}],["path",{d:"M17.609 3.721a10 10 0 0 1 2.69 2.7",key:"1iw5b2"}],["path",{d:"M2.182 13.9a10 10 0 0 1 0-3.8",key:"c0bmvh"}],["path",{d:"M20.279 17.609a10 10 0 0 1-2.7 2.69",key:"1ruxm7"}],["path",{d:"M21.818 10.1a10 10 0 0 1 0 3.8",key:"qkgqxc"}],["path",{d:"M3.721 6.391a10 10 0 0 1 2.7-2.69",key:"1mcia2"}],["path",{d:"M6.391 20.279a10 10 0 0 1-2.69-2.7",key:"1fvljs"}]],sR=B("circle-dashed",Eh);/**
|
|
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 Ph=[["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"}]],iR=B("circle-dollar-sign",Ph);/**
|
|
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 Mh=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}]],aR=B("circle-dot",Mh);/**
|
|
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 Th=[["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"}]],cR=B("circle-ellipsis",Th);/**
|
|
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 Ih=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M8 12h8",key:"1wcyev"}]],lR=B("circle-minus",Ih);/**
|
|
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 Oh=[["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"}]],uR=B("circle-question-mark",Oh);/**
|
|
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 Ah=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"9",x2:"15",y1:"15",y2:"9",key:"1dfufj"}]],dR=B("circle-slash",Ah);/**
|
|
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 Nh=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["rect",{x:"9",y:"9",width:"6",height:"6",rx:"1",key:"1ssd4o"}]],fR=B("circle-stop",Nh);/**
|
|
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 Dh=[["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"}]],pR=B("circle-x",Dh);/**
|
|
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 _h=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]],hR=B("circle",_h);/**
|
|
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 Lh=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 6v6h4",key:"135r8i"}]],gR=B("clock-3",Lh);/**
|
|
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 Fh=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 6v6l4 2",key:"mmk7yg"}]],mR=B("clock",Fh);/**
|
|
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 zh=[["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"}]],yR=B("code-xml",zh);/**
|
|
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 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"}]],bR=B("coins",Vh);/**
|
|
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 $h=[["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"}]],vR=B("copy-plus",$h);/**
|
|
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 Hh=[["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"}]],xR=B("copy",Hh);/**
|
|
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 jh=[["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"}]],wR=B("cpu",jh);/**
|
|
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 Bh=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"22",x2:"18",y1:"12",y2:"12",key:"l9bcsi"}],["line",{x1:"6",x2:"2",y1:"12",y2:"12",key:"13hhkx"}],["line",{x1:"12",x2:"12",y1:"6",y2:"2",key:"10w3f3"}],["line",{x1:"12",x2:"12",y1:"22",y2:"18",key:"15g9kq"}]],SR=B("crosshair",Bh);/**
|
|
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 Wh=[["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"}]],RR=B("crown",Wh);/**
|
|
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 Uh=[["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"}]],kR=B("download",Uh);/**
|
|
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 Gh=[["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"}]],CR=B("earth",Gh);/**
|
|
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 qh=[["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"}]],ER=B("ellipsis",qh);/**
|
|
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 Yh=[["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"}]],PR=B("external-link",Yh);/**
|
|
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 Xh=[["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"}]],MR=B("eye-off",Xh);/**
|
|
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 Kh=[["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"}]],TR=B("eye",Kh);/**
|
|
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 Zh=[["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"}]],IR=B("file-braces",Zh);/**
|
|
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 Qh=[["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"}]],OR=B("file-code-corner",Qh);/**
|
|
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 Jh=[["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"}]],AR=B("file-image",Jh);/**
|
|
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 eg=[["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"}]],NR=B("file-terminal",eg);/**
|
|
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 tg=[["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"}]],DR=B("file-text",tg);/**
|
|
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 ng=[["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"}]],_R=B("file",ng);/**
|
|
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 og=[["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"}]],LR=B("flag",og);/**
|
|
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 rg=[["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"}]],FR=B("flame",rg);/**
|
|
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 sg=[["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"}]],zR=B("folder-code",sg);/**
|
|
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 ig=[["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"}]],VR=B("folder-open",ig);/**
|
|
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 ag=[["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"}]],$R=B("folder-plus",ag);/**
|
|
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 cg=[["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"}]],HR=B("folder-search",cg);/**
|
|
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 lg=[["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"}]],jR=B("folder-tree",lg);/**
|
|
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 ug=[["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"}]],BR=B("folder",ug);/**
|
|
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 dg=[["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"}]],WR=B("git-branch",dg);/**
|
|
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 fg=[["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"}]],UR=B("git-compare-arrows",fg);/**
|
|
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 pg=[["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"}]],GR=B("git-fork",pg);/**
|
|
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 hg=[["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"}]],qR=B("git-merge",hg);/**
|
|
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 gg=[["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"}]],YR=B("git-pull-request-closed",gg);/**
|
|
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 mg=[["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"}]],XR=B("git-pull-request-draft",mg);/**
|
|
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 yg=[["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"}]],KR=B("git-pull-request",yg);/**
|
|
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 bg=[["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"}]],ZR=B("github",bg);/**
|
|
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 vg=[["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"}]],QR=B("globe",vg);/**
|
|
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 xg=[["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"}]],JR=B("hand",xg);/**
|
|
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 wg=[["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"}]],ek=B("history",wg);/**
|
|
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 Sg=[["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"}]],tk=B("house",Sg);/**
|
|
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 Rg=[["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"}]],nk=B("image",Rg);/**
|
|
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 kg=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]],ok=B("info",kg);/**
|
|
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 Cg=[["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"}]],rk=B("infinity",Cg);/**
|
|
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 Eg=[["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"}]],sk=B("key-round",Eg);/**
|
|
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 Pg=[["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"}]],ik=B("keyboard",Pg);/**
|
|
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 Mg=[["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"}]],ak=B("laptop",Mg);/**
|
|
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 Tg=[["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"}]],ck=B("layers",Tg);/**
|
|
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 Ig=[["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"}]],lk=B("layout-grid",Ig);/**
|
|
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 Og=[["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"}]],uk=B("link-2-off",Og);/**
|
|
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 Ag=[["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"}]],dk=B("link-2",Ag);/**
|
|
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 Ng=[["path",{d:"M13 5h8",key:"a7qcls"}],["path",{d:"M13 12h8",key:"h98zly"}],["path",{d:"M13 19h8",key:"c3s6r1"}],["path",{d:"m3 17 2 2 4-4",key:"1jhpwq"}],["path",{d:"m3 7 2 2 4-4",key:"1obspn"}]],fk=B("list-checks",Ng);/**
|
|
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 Dg=[["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"}]],pk=B("list",Dg);/**
|
|
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 _g=[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]],hk=B("loader-circle",_g);/**
|
|
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 Lg=[["path",{d:"m10 17 5-5-5-5",key:"1bsop3"}],["path",{d:"M15 12H3",key:"6jk70r"}],["path",{d:"M15 3h4a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-4",key:"u53s6r"}]],gk=B("log-in",Lg);/**
|
|
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 Fg=[["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"}]],mk=B("lock",Fg);/**
|
|
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 zg=[["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"}]],yk=B("maximize-2",zg);/**
|
|
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 Vg=[["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"}]],bk=B("message-circle-question-mark",Vg);/**
|
|
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 $g=[["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"}]],vk=B("message-circle",$g);/**
|
|
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 Hg=[["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"}]],xk=B("message-square-plus",Hg);/**
|
|
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 jg=[["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"}]],wk=B("message-square-text",jg);/**
|
|
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 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"}]],Sk=B("message-square",Bg);/**
|
|
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 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"}]],Rk=B("messages-square",Wg);/**
|
|
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 Ug=[["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"}]],kk=B("minimize-2",Ug);/**
|
|
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 Gg=[["path",{d:"M5 12h14",key:"1ays0h"}]],Ck=B("minus",Gg);/**
|
|
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 qg=[["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"}]],Ek=B("monitor",qg);/**
|
|
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 Yg=[["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"}]],Pk=B("notebook-pen",Yg);/**
|
|
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 Xg=[["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"}]],Mk=B("octagon-x",Xg);/**
|
|
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 Kg=[["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"}]],Tk=B("octagon",Kg);/**
|
|
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 Zg=[["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"}]],Ik=B("palette",Zg);/**
|
|
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 Qg=[["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"}]],Ok=B("panel-left-close",Qg);/**
|
|
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 Jg=[["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"}]],Ak=B("panel-left-open",Jg);/**
|
|
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 em=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M9 3v18",key:"fh3hqa"}]],Nk=B("panel-left",em);/**
|
|
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 tm=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M15 3v18",key:"14nvp0"}]],Dk=B("panel-right",tm);/**
|
|
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 nm=[["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"}]],_k=B("panels-top-left",nm);/**
|
|
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 om=[["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"}]],Lk=B("pause",om);/**
|
|
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 rm=[["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"}]],Fk=B("pen-line",rm);/**
|
|
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 sm=[["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"}]],zk=B("pencil",sm);/**
|
|
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 im=[["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"}]],Vk=B("play",im);/**
|
|
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 am=[["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"}]],$k=B("plug",am);/**
|
|
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 cm=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]],Hk=B("plus",cm);/**
|
|
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 lm=[["path",{d:"M18.36 6.64A9 9 0 0 1 20.77 15",key:"dxknvb"}],["path",{d:"M6.16 6.16a9 9 0 1 0 12.68 12.68",key:"1x7qb5"}],["path",{d:"M12 2v4",key:"3427ic"}],["path",{d:"m2 2 20 20",key:"1ooewy"}]],jk=B("power-off",lm);/**
|
|
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 um=[["path",{d:"M12 2v10",key:"mnfbl"}],["path",{d:"M18.4 6.6a9 9 0 1 1-12.77.04",key:"obofu9"}]],Bk=B("power",um);/**
|
|
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 dm=[["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"}]],Wk=B("quote",dm);/**
|
|
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 fm=[["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"}]],Uk=B("redo-2",fm);/**
|
|
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 pm=[["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"}]],Gk=B("refresh-cw",pm);/**
|
|
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 hm=[["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"}]],qk=B("rocket",hm);/**
|
|
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 gm=[["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"}]],Yk=B("rotate-ccw",gm);/**
|
|
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 mm=[["path",{d:"M21 12a9 9 0 1 1-9-9c2.52 0 4.93 1 6.74 2.74L21 8",key:"1p45f6"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}]],Xk=B("rotate-cw",mm);/**
|
|
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 ym=[["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"}]],Kk=B("save",ym);/**
|
|
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 bm=[["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"}]],Zk=B("search-x",bm);/**
|
|
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 vm=[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]],Qk=B("search",vm);/**
|
|
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 xm=[["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"}]],Jk=B("send",xm);/**
|
|
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 wm=[["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"}]],eC=B("server",wm);/**
|
|
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 Sm=[["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"}]],tC=B("settings-2",Sm);/**
|
|
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 Rm=[["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"}]],nC=B("settings",Rm);/**
|
|
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 km=[["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"}]],oC=B("share-2",km);/**
|
|
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 Cm=[["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"}]],rC=B("shield-alert",Cm);/**
|
|
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 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:"M9 12h6",key:"1c52cq"}],["path",{d:"M12 9v6",key:"199k2o"}]],sC=B("shield-plus",Em);/**
|
|
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 Pm=[["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"}]],iC=B("shield",Pm);/**
|
|
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 Mm=[["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"}]],aC=B("sigma",Mm);/**
|
|
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 Tm=[["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"}]],cC=B("skull",Tm);/**
|
|
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 Im=[["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"}]],lC=B("sliders-horizontal",Im);/**
|
|
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 Om=[["rect",{width:"14",height:"20",x:"5",y:"2",rx:"2",ry:"2",key:"1yt0o3"}],["path",{d:"M12 18h.01",key:"mhygvu"}]],uC=B("smartphone",Om);/**
|
|
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 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"}]],dC=B("sparkles",Am);/**
|
|
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 Nm=[["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"}]],fC=B("square-terminal",Nm);/**
|
|
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 Dm=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}]],pC=B("square",Dm);/**
|
|
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 _m=[["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"}]],hC=B("tablet",_m);/**
|
|
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 Lm=[["path",{d:"M12 19h8",key:"baeox8"}],["path",{d:"m4 17 6-6-6-6",key:"1yngyt"}]],gC=B("terminal",Lm);/**
|
|
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 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"}]],mC=B("trash-2",Fm);/**
|
|
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 zm=[["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"}]],yC=B("trees",zm);/**
|
|
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 Vm=[["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"}]],bC=B("triangle-alert",Vm);/**
|
|
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 $m=[["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"}]],vC=B("undo-2",$m);/**
|
|
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 Hm=[["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"}]],xC=B("unlink",Hm);/**
|
|
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 jm=[["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"}]],wC=B("user-check",jm);/**
|
|
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 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"}]],SC=B("user-round-x",Bm);/**
|
|
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 Wm=[["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"}]],RC=B("user",Wm);/**
|
|
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 Um=[["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"}]],kC=B("users",Um);/**
|
|
812
|
+
* @license lucide-react v0.577.0 - ISC
|
|
813
|
+
*
|
|
814
|
+
* This source code is licensed under the ISC license.
|
|
815
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
816
|
+
*/const Gm=[["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"}]],CC=B("webhook",Gm);/**
|
|
817
|
+
* @license lucide-react v0.577.0 - ISC
|
|
818
|
+
*
|
|
819
|
+
* This source code is licensed under the ISC license.
|
|
820
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
821
|
+
*/const qm=[["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"}]],EC=B("wifi-off",qm);/**
|
|
822
|
+
* @license lucide-react v0.577.0 - ISC
|
|
823
|
+
*
|
|
824
|
+
* This source code is licensed under the ISC license.
|
|
825
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
826
|
+
*/const Ym=[["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"}]],PC=B("wifi",Ym);/**
|
|
827
|
+
* @license lucide-react v0.577.0 - ISC
|
|
828
|
+
*
|
|
829
|
+
* This source code is licensed under the ISC license.
|
|
830
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
831
|
+
*/const Xm=[["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"}]],MC=B("workflow",Xm);/**
|
|
832
|
+
* @license lucide-react v0.577.0 - ISC
|
|
833
|
+
*
|
|
834
|
+
* This source code is licensed under the ISC license.
|
|
835
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
836
|
+
*/const Km=[["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"}]],TC=B("wrench",Km);/**
|
|
837
|
+
* @license lucide-react v0.577.0 - ISC
|
|
838
|
+
*
|
|
839
|
+
* This source code is licensed under the ISC license.
|
|
840
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
841
|
+
*/const Zm=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],IC=B("x",Zm);/**
|
|
842
|
+
* @license lucide-react v0.577.0 - ISC
|
|
843
|
+
*
|
|
844
|
+
* This source code is licensed under the ISC license.
|
|
845
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
846
|
+
*/const Qm=[["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"}]],OC=B("zap",Qm);/**
|
|
847
|
+
* @license lucide-react v0.577.0 - ISC
|
|
848
|
+
*
|
|
849
|
+
* This source code is licensed under the ISC license.
|
|
850
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
851
|
+
*/const Jm=[["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"}]],AC=B("zoom-in",Jm);/**
|
|
852
|
+
* @license lucide-react v0.577.0 - ISC
|
|
853
|
+
*
|
|
854
|
+
* This source code is licensed under the ISC license.
|
|
855
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
856
|
+
*/const ey=[["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"}]],NC=B("zoom-out",ey);function rs(){return typeof window<"u"}function ut(e){return ea(e)?(e.nodeName||"").toLowerCase():"#document"}function je(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function cn(e){var t;return(t=(ea(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function ea(e){return rs()?e instanceof Node||e instanceof je(e).Node:!1}function Oe(e){return rs()?e instanceof Element||e instanceof je(e).Element:!1}function _e(e){return rs()?e instanceof HTMLElement||e instanceof je(e).HTMLElement:!1}function co(e){return!rs()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof je(e).ShadowRoot}function qo(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 ty(e){return/^(table|td|th)$/.test(ut(e))}function ss(e){try{if(e.matches(":popover-open"))return!0}catch{}try{return e.matches(":modal")}catch{return!1}}const ny=/transform|translate|scale|rotate|perspective|filter/,oy=/paint|layout|strict|content/,An=e=>!!e&&e!=="none";let Ks;function ta(e){const t=Oe(e)?xt(e):e;return An(t.transform)||An(t.translate)||An(t.scale)||An(t.rotate)||An(t.perspective)||!na()&&(An(t.backdropFilter)||An(t.filter))||ny.test(t.willChange||"")||oy.test(t.contain||"")}function ry(e){let t=rn(e);for(;_e(t)&&!tn(t);){if(ta(t))return t;if(ss(t))return null;t=rn(t)}return null}function na(){return Ks==null&&(Ks=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),Ks}function tn(e){return/^(html|body|#document)$/.test(ut(e))}function xt(e){return je(e).getComputedStyle(e)}function is(e){return Oe(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function rn(e){if(ut(e)==="html")return e;const t=e.assignedSlot||e.parentNode||co(e)&&e.host||cn(e);return co(t)?t.host:t}function bu(e){const t=rn(e);return tn(t)?(e.ownerDocument||e).body:_e(t)&&qo(t)?t:bu(t)}function Vo(e,t,n){var o;t===void 0&&(t=[]),n===void 0&&(n=!0);const r=bu(e),s=r===((o=e.ownerDocument)==null?void 0:o.body),i=je(r);if(s){const a=vi(i);return t.concat(i,i.visualViewport||[],qo(r)?r:[],a&&n?Vo(a):[])}else return t.concat(r,Vo(r,[],n))}function vi(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}const oa={...bo},kc={};function at(e,t){const n=c.useRef(kc);return n.current===kc&&(n.current=e(t)),n}const Zs=oa.useInsertionEffect,sy=Zs&&Zs!==oa.useLayoutEffect?Zs:e=>e();function de(e){const t=at(iy).current;return t.next=e,sy(t.effect),t.trampoline}function iy(){const e={next:void 0,callback:ay,trampoline:(...t)=>{var n;return(n=e.callback)==null?void 0:n.call(e,...t)},effect:()=>{e.callback=e.next}};return e}function ay(){}const cy=()=>{},se=typeof document<"u"?c.useLayoutEffect:cy;function xi(e,t){if(e&&!t)return e;if(!e&&t)return t;if(e||t)return{...e,...t}}const ra={};function Ct(e,t,n,o,r){if(!n&&!o&&!r&&!e)return Ur(t);let s=Ur(e);return t&&(s=Ao(s,t)),n&&(s=Ao(s,n)),o&&(s=Ao(s,o)),r&&(s=Ao(s,r)),s}function ly(e){if(e.length===0)return ra;if(e.length===1)return Ur(e[0]);let t=Ur(e[0]);for(let n=1;n<e.length;n+=1)t=Ao(t,e[n]);return t}function Ur(e){return sa(e)?{...xu(e,ra)}:uy(e)}function Ao(e,t){return sa(t)?xu(t,e):dy(e,t)}function uy(e){const t={...e};for(const n in t){const o=t[n];vu(n,o)&&(t[n]=wu(o))}return t}function dy(e,t){if(!t)return e;for(const n in t){const o=t[n];switch(n){case"style":{e[n]=xi(e.style,o);break}case"className":{e[n]=Su(e.className,o);break}default:vu(n,o)?e[n]=fy(e[n],o):e[n]=o}}return e}function vu(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 sa(e){return typeof e=="function"}function xu(e,t){return sa(e)?e(t):e??ra}function fy(e,t){return t?e?(...n)=>{const o=n[0];if(Ru(o)){const s=o;Gr(s);const i=t(...n);return s.baseUIHandlerPrevented||e==null||e(...n),i}const r=t(...n);return e==null||e(...n),r}:wu(t):e}function wu(e){return e&&((...t)=>{const n=t[0];return Ru(n)&&Gr(n),e(...t)})}function Gr(e){return e.preventBaseUIHandler=()=>{e.baseUIHandlerPrevented=!0},e}function Su(e,t){return t?e?t+" "+e:t:e}function Ru(e){return e!=null&&typeof e=="object"&&"nativeEvent"in e}function py(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 Ae=py("https://base-ui.com/production-error","Base UI"),ku=c.createContext(void 0);function as(e=!1){const t=c.useContext(ku);if(t===void 0&&!e)throw new Error(Ae(16));return t}function hy(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 _n(e,t,{detail:n=0}={}){e.dispatchEvent(new(je(e)).PointerEvent("click",{bubbles:!0,cancelable:!0,composed:!0,detail:n,shiftKey:t.shiftKey,ctrlKey:t.ctrlKey,altKey:t.altKey,metaKey:t.metaKey}))}function St(e={}){const{disabled:t=!1,focusableWhenDisabled:n,tabIndex:o=0,native:r=!0,composite:s}=e,i=c.useRef(null),a=as(!0),l=s??a!==void 0,{props:u}=hy({focusableWhenDisabled:n,disabled:t,composite:l,tabIndex:o,isNativeButton:r}),d=c.useCallback(()=>{const y=i.current;Qs(y)&&l&&t&&u.disabled===void 0&&y.disabled&&(y.disabled=!1)},[t,u.disabled,l]);se(d,[d]);const p=c.useCallback((y={})=>{const{onClick:h,onMouseDown:g,onKeyUp:m,onKeyDown:b,onPointerDown:v,...x}=y;return Ct({onClick(w){if(t){w.preventDefault();return}h==null||h(w)},onMouseDown(w){t||g==null||g(w)},onKeyDown(w){if(t||(Gr(w),b==null||b(w),w.baseUIHandlerPrevented))return;const S=w.target===w.currentTarget,R=w.currentTarget,C=Qs(R),k=!r&&gy(R),T=S&&(r?C:!k),E=w.key==="Enter",A=w.key===" ",O=R.getAttribute("role"),N=(O==null?void 0:O.startsWith("menuitem"))||O==="option"||O==="gridcell";if(S&&l&&A){if(w.defaultPrevented&&N)return;w.preventDefault(),(!r||C)&&(w.preventBaseUIHandler(),_n(R,w));return}if(!T||r||!A&&!E){S&&k&&A&&w.preventDefault();return}w.defaultPrevented||(w.preventDefault(),E&&(w.preventBaseUIHandler(),_n(R,w)))},onKeyUp(w){if(!t){if(Gr(w),m==null||m(w),w.target===w.currentTarget&&r&&l&&Qs(w.currentTarget)&&w.key===" "){w.preventDefault();return}w.baseUIHandlerPrevented||w.target===w.currentTarget&&!r&&!l&&!w.defaultPrevented&&w.key===" "&&(w.preventBaseUIHandler(),_n(w.currentTarget,w))}},onPointerDown(w){if(t){w.preventDefault();return}v==null||v(w)}},r?{type:"button"}:{role:"button"},u,x)},[t,u,l,r]),f=de(y=>{i.current=y,d()});return{getButtonProps:p,buttonRef:f}}function Qs(e){return _e(e)&&e.tagName==="BUTTON"}function gy(e){return _e(e)&&e.tagName==="A"&&!!e.href}function Ot(e,t,n,o){const r=at(Cu).current;return yy(r,e,t,n,o)&&Eu(r,[e,t,n,o]),r.callback}function my(e){const t=at(Cu).current;return by(t,e)&&Eu(t,e),t.callback}function Cu(){return{callback:null,cleanup:null,refs:[]}}function yy(e,t,n,o,r){return e.refs[0]!==t||e.refs[1]!==n||e.refs[2]!==o||e.refs[3]!==r}function by(e,t){return e.refs.length!==t.length||e.refs.some((n,o)=>n!==t[o])}function Eu(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 vy=parseInt(c.version,10);function ia(e){return vy>=e}function Cc(e){if(!c.isValidElement(e))return null;const t=e,n=t.props;return(ia(19)?n==null?void 0:n.ref:t.ref)??null}function Ge(){}const _t=Object.freeze([]),He=Object.freeze({});function xy(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 wy(e,t){return typeof e=="function"?e(t):e}function Pu(e,t){return typeof e=="function"?e(t):e}function Se(e,t,n={}){const o=t.render,r=Sy(t,n);if(n.enabled===!1)return null;const s=n.state??He;return Cy(e,o,r,s)}function Sy(e,t={}){const{className:n,style:o,render:r}=e,{state:s=He,ref:i,props:a,stateAttributesMapping:l,enabled:u=!0}=t,d=u?wy(n,s):void 0,p=u?Pu(o,s):void 0,f=u?xy(s,l):He,y=u&&a?Ry(a):void 0,h=u?xi(f,y)??{}:He;return typeof document<"u"&&(u?Array.isArray(i)?h.ref=my([h.ref,Cc(r),...i]):h.ref=Ot(h.ref,Cc(r),i):Ot(null,null)),u?(d!==void 0&&(h.className=Su(h.className,d)),p!==void 0&&(h.style=xi(h.style,p)),h):He}function Ry(e){return Array.isArray(e)?ly(e):Ct(void 0,e)}const ky=Symbol.for("react.lazy");function Cy(e,t,n,o){if(t){if(typeof t=="function")return t(n,o);const r=Ct(n,t.props);r.ref=n.ref;let s=t;return(s==null?void 0:s.$$typeof)===ky&&(s=c.Children.toArray(t)[0]),c.cloneElement(s,r)}if(e&&typeof e=="string")return Ey(e,n);throw new Error(Ae(8))}function Ey(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 DC=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}=St({disabled:s,focusableWhenDisabled:i,native:a});return Se("button",t,{state:{disabled:s},ref:[n,p],props:[u,d]})});function Mu(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=Mu(e[t]))&&(o&&(o+=" "),o+=n)}else for(n in e)e[n]&&(o&&(o+=" "),o+=n);return o}function Py(){for(var e,t,n=0,o="",r=arguments.length;n<r;n++)(e=arguments[n])&&(t=Mu(e))&&(o&&(o+=" "),o+=t);return o}const Ec=e=>typeof e=="boolean"?`${e}`:e===0?"0":e,Pc=Py,_C=(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=Ec(d)||Ec(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(h=>{let[g,m]=h;return Array.isArray(m)?m.includes({...s,...a}[g]):{...s,...a}[g]===m})?[...u,p,f]:u},[]);return Pc(e,i,l,n==null?void 0:n.class,n==null?void 0:n.className)},My=(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},Ty=(e,t)=>({classGroupId:e,validator:t}),Tu=(e=new Map,t=null,n)=>({nextPart:e,validators:t,classGroupId:n}),qr="-",Mc=[],Iy="arbitrary..",Oy=e=>{const t=Ny(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:o}=e;return{getClassGroupId:i=>{if(i.startsWith("[")&&i.endsWith("]"))return Ay(i);const a=i.split(qr),l=a[0]===""&&a.length>1?1:0;return Iu(a,l,t)},getConflictingClassGroupIds:(i,a)=>{if(a){const l=o[i],u=n[i];return l?u?My(u,l):l:u||Mc}return n[i]||Mc}}},Iu=(e,t,n)=>{if(e.length-t===0)return n.classGroupId;const r=e[t],s=n.nextPart.get(r);if(s){const u=Iu(e,t+1,s);if(u)return u}const i=n.validators;if(i===null)return;const a=t===0?e.join(qr):e.slice(t).join(qr),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?Iy+o:void 0})(),Ny=e=>{const{theme:t,classGroups:n}=e;return Dy(n,t)},Dy=(e,t)=>{const n=Tu();for(const o in e){const r=e[o];aa(r,n,o,t)}return n},aa=(e,t,n,o)=>{const r=e.length;for(let s=0;s<r;s++){const i=e[s];_y(i,t,n,o)}},_y=(e,t,n,o)=>{if(typeof e=="string"){Ly(e,t,n);return}if(typeof e=="function"){Fy(e,t,n,o);return}zy(e,t,n,o)},Ly=(e,t,n)=>{const o=e===""?t:Ou(t,e);o.classGroupId=n},Fy=(e,t,n,o)=>{if(Vy(e)){aa(e(o),t,n,o);return}t.validators===null&&(t.validators=[]),t.validators.push(Ty(n,e))},zy=(e,t,n,o)=>{const r=Object.entries(e),s=r.length;for(let i=0;i<s;i++){const[a,l]=r[i];aa(l,Ou(t,a),n,o)}},Ou=(e,t)=>{let n=e;const o=t.split(qr),r=o.length;for(let s=0;s<r;s++){const i=o[s];let a=n.nextPart.get(i);a||(a=Tu(),n.nextPart.set(i,a)),n=a}return n},Vy=e=>"isThemeGetter"in e&&e.isThemeGetter===!0,$y=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)}}},wi="!",Tc=":",Hy=[],Ic=(e,t,n,o,r)=>({modifiers:e,hasImportantModifier:t,baseClassName:n,maybePostfixModifierPosition:o,isExternal:r}),jy=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 m=r[g];if(i===0&&a===0){if(m===Tc){s.push(r.slice(l,g)),l=g+1;continue}if(m==="/"){u=g;continue}}m==="["?i++:m==="]"?i--:m==="("?a++:m===")"&&a--}const p=s.length===0?r:r.slice(l);let f=p,y=!1;p.endsWith(wi)?(f=p.slice(0,-1),y=!0):p.startsWith(wi)&&(f=p.slice(1),y=!0);const h=u&&u>l?u-l:void 0;return Ic(s,y,f,h)};if(t){const r=t+Tc,s=o;o=i=>i.startsWith(r)?s(i.slice(r.length)):Ic(Hy,!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}},Wy=e=>({cache:$y(e.cacheSize),parseClassName:jy(e),sortModifiers:By(e),postfixLookupClassGroupIds:Uy(e),...Oy(e)}),Uy=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},Gy=/\s+/,qy=(e,t)=>{const{parseClassName:n,getClassGroupId:o,getConflictingClassGroupIds:r,sortModifiers:s,postfixLookupClassGroupIds:i}=t,a=[],l=e.trim().split(Gy);let u="";for(let d=l.length-1;d>=0;d-=1){const p=l[d],{isExternal:f,modifiers:y,hasImportantModifier:h,baseClassName:g,maybePostfixModifierPosition:m}=n(p);if(f){u=p+(u.length>0?" "+u:u);continue}let b=!!m,v;if(b){const C=g.substring(0,m);v=o(C);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 x=y.length===0?"":y.length===1?y[0]:s(y).join(":"),w=h?x+wi:x,S=w+v;if(a.indexOf(S)>-1)continue;a.push(S);const R=r(v,b);for(let C=0;C<R.length;++C){const k=R[C];a.push(w+k)}u=p+(u.length>0?" "+u:u)}return u},Yy=(...e)=>{let t=0,n,o,r="";for(;t<e.length;)(n=e[t++])&&(o=Au(n))&&(r&&(r+=" "),r+=o);return r},Au=e=>{if(typeof e=="string")return e;let t,n="";for(let o=0;o<e.length;o++)e[o]&&(t=Au(e[o]))&&(n&&(n+=" "),n+=t);return n},Xy=(e,...t)=>{let n,o,r,s;const i=l=>{const u=t.reduce((d,p)=>p(d),e());return n=Wy(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=qy(l,n);return r(l,d),d};return s=i,(...l)=>s(Yy(...l))},Ky=[],rt=e=>{const t=n=>n[e]||Ky;return t.isThemeGetter=!0,t},Nu=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,Du=/^\((?:(\w[\w-]*):)?(.+)\)$/i,Zy=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,Qy=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Jy=/\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$/,e0=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,t0=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,n0=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,dn=e=>Zy.test(e),Ie=e=>!!e&&!Number.isNaN(Number(e)),jt=e=>!!e&&Number.isInteger(Number(e)),Js=e=>e.endsWith("%")&&Ie(e.slice(0,-1)),Zt=e=>Qy.test(e),_u=()=>!0,o0=e=>Jy.test(e)&&!e0.test(e),ca=()=>!1,r0=e=>t0.test(e),s0=e=>n0.test(e),i0=e=>!ye(e)&&!be(e),a0=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)),c0=e=>kn(e,zu,ca),ye=e=>Nu.test(e),Nn=e=>kn(e,Vu,o0),Oc=e=>kn(e,m0,Ie),l0=e=>kn(e,Hu,_u),u0=e=>kn(e,$u,ca),Ac=e=>kn(e,Lu,ca),d0=e=>kn(e,Fu,s0),fr=e=>kn(e,ju,r0),be=e=>Du.test(e),Mo=e=>Hn(e,Vu),f0=e=>Hn(e,$u),Nc=e=>Hn(e,Lu),p0=e=>Hn(e,zu),h0=e=>Hn(e,Fu),pr=e=>Hn(e,ju,!0),g0=e=>Hn(e,Hu,!0),kn=(e,t,n)=>{const o=Nu.exec(e);return o?o[1]?t(o[1]):n(o[2]):!1},Hn=(e,t,n=!1)=>{const o=Du.exec(e);return o?o[1]?t(o[1]):n:!1},Lu=e=>e==="position"||e==="percentage",Fu=e=>e==="image"||e==="url",zu=e=>e==="length"||e==="size"||e==="bg-size",Vu=e=>e==="length",m0=e=>e==="number",$u=e=>e==="family-name",Hu=e=>e==="number"||e==="weight",ju=e=>e==="shadow",y0=()=>{const e=rt("color"),t=rt("font"),n=rt("text"),o=rt("font-weight"),r=rt("tracking"),s=rt("leading"),i=rt("breakpoint"),a=rt("container"),l=rt("spacing"),u=rt("radius"),d=rt("shadow"),p=rt("inset-shadow"),f=rt("text-shadow"),y=rt("drop-shadow"),h=rt("blur"),g=rt("perspective"),m=rt("aspect"),b=rt("ease"),v=rt("animate"),x=()=>["auto","avoid","all","avoid-page","page","left","right","column"],w=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],S=()=>[...w(),be,ye],R=()=>["auto","hidden","clip","visible","scroll"],C=()=>["auto","contain","none"],k=()=>[be,ye,l],T=()=>[dn,"full","auto",...k()],E=()=>[jt,"none","subgrid",be,ye],A=()=>["auto",{span:["full",jt,be,ye]},jt,be,ye],O=()=>[jt,"auto",be,ye],N=()=>["auto","min","max","fr",be,ye],D=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],P=()=>["start","end","center","stretch","center-safe","end-safe"],V=()=>["auto",...k()],L=()=>[dn,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...k()],I=()=>[dn,"screen","full","dvw","lvw","svw","min","max","fit",...k()],_=()=>[dn,"screen","full","lh","dvh","lvh","svh","min","max","fit",...k()],M=()=>[e,be,ye],F=()=>[...w(),Nc,Ac,{position:[be,ye]}],H=()=>["no-repeat",{repeat:["","x","y","space","round"]}],$=()=>["auto","cover","contain",p0,c0,{size:[be,ye]}],U=()=>[Js,Mo,Nn],G=()=>["","none","full",u,be,ye],z=()=>["",Ie,Mo,Nn],K=()=>["solid","dashed","dotted","double"],j=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],X=()=>[Ie,Js,Nc,Ac],ue=()=>["","none",h,be,ye],ne=()=>["none",Ie,be,ye],te=()=>["none",Ie,be,ye],ee=()=>[Ie,be,ye],Y=()=>[dn,"full",...k()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[Zt],breakpoint:[Zt],color:[_u],container:[Zt],"drop-shadow":[Zt],ease:["in","out","in-out"],font:[i0],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[Zt],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[Zt],shadow:[Zt],spacing:["px",Ie],text:[Zt],"text-shadow":[Zt],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",dn,ye,be,m]}],container:["container"],"container-type":[{"@container":["","normal","size",be,ye]}],"container-named":[a0],columns:[{columns:[Ie,ye,be,a]}],"break-after":[{"break-after":x()}],"break-before":[{"break-before":x()}],"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:C()}],"overscroll-x":[{"overscroll-x":C()}],"overscroll-y":[{"overscroll-y":C()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:T()}],"inset-x":[{"inset-x":T()}],"inset-y":[{"inset-y":T()}],start:[{"inset-s":T(),start:T()}],end:[{"inset-e":T(),end:T()}],"inset-bs":[{"inset-bs":T()}],"inset-be":[{"inset-be":T()}],top:[{top:T()}],right:[{right:T()}],bottom:[{bottom:T()}],left:[{left:T()}],visibility:["visible","invisible","collapse"],z:[{z:[jt,"auto",be,ye]}],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",ye]}],grow:[{grow:["",Ie,be,ye]}],shrink:[{shrink:["",Ie,be,ye]}],order:[{order:[jt,"first","last","none",be,ye]}],"grid-cols":[{"grid-cols":E()}],"col-start-end":[{col:A()}],"col-start":[{"col-start":O()}],"col-end":[{"col-end":O()}],"grid-rows":[{"grid-rows":E()}],"row-start-end":[{row:A()}],"row-start":[{"row-start":O()}],"row-end":[{"row-end":O()}],"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:V()}],mx:[{mx:V()}],my:[{my:V()}],ms:[{ms:V()}],me:[{me:V()}],mbs:[{mbs:V()}],mbe:[{mbe:V()}],mt:[{mt:V()}],mr:[{mr:V()}],mb:[{mb:V()}],ml:[{ml:V()}],"space-x":[{"space-x":k()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":k()}],"space-y-reverse":["space-y-reverse"],size:[{size:L()}],"inline-size":[{inline:["auto",...I()]}],"min-inline-size":[{"min-inline":["auto",...I()]}],"max-inline-size":[{"max-inline":["none",...I()]}],"block-size":[{block:["auto",..._()]}],"min-block-size":[{"min-block":["auto",..._()]}],"max-block-size":[{"max-block":["none",..._()]}],w:[{w:[a,"screen",...L()]}],"min-w":[{"min-w":[a,"screen","none",...L()]}],"max-w":[{"max-w":[a,"screen","none","prose",{screen:[i]},...L()]}],h:[{h:["screen","lh",...L()]}],"min-h":[{"min-h":["screen","lh","none",...L()]}],"max-h":[{"max-h":["screen","lh",...L()]}],"font-size":[{text:["base",n,Mo,Nn]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[o,g0,l0]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",Js,ye]}],"font-family":[{font:[f0,u0,t]}],"font-features":[{"font-features":[ye]}],"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,be,ye]}],"line-clamp":[{"line-clamp":[Ie,"none",be,Oc]}],leading:[{leading:[s,...k()]}],"list-image":[{"list-image":["none",be,ye]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",be,ye]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:M()}],"text-color":[{text:M()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...K(),"wavy"]}],"text-decoration-thickness":[{decoration:[Ie,"from-font","auto",be,Nn]}],"text-decoration-color":[{decoration:M()}],"underline-offset":[{"underline-offset":[Ie,"auto",be,ye]}],"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:[jt,be,ye]}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",be,ye]}],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",be,ye]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:F()}],"bg-repeat":[{bg:H()}],"bg-size":[{bg:$()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},jt,be,ye],radial:["",be,ye],conic:[jt,be,ye]},h0,d0]}],"bg-color":[{bg:M()}],"gradient-from-pos":[{from:U()}],"gradient-via-pos":[{via:U()}],"gradient-to-pos":[{to:U()}],"gradient-from":[{from:M()}],"gradient-via":[{via:M()}],"gradient-to":[{to:M()}],rounded:[{rounded:G()}],"rounded-s":[{"rounded-s":G()}],"rounded-e":[{"rounded-e":G()}],"rounded-t":[{"rounded-t":G()}],"rounded-r":[{"rounded-r":G()}],"rounded-b":[{"rounded-b":G()}],"rounded-l":[{"rounded-l":G()}],"rounded-ss":[{"rounded-ss":G()}],"rounded-se":[{"rounded-se":G()}],"rounded-ee":[{"rounded-ee":G()}],"rounded-es":[{"rounded-es":G()}],"rounded-tl":[{"rounded-tl":G()}],"rounded-tr":[{"rounded-tr":G()}],"rounded-br":[{"rounded-br":G()}],"rounded-bl":[{"rounded-bl":G()}],"border-w":[{border:z()}],"border-w-x":[{"border-x":z()}],"border-w-y":[{"border-y":z()}],"border-w-s":[{"border-s":z()}],"border-w-e":[{"border-e":z()}],"border-w-bs":[{"border-bs":z()}],"border-w-be":[{"border-be":z()}],"border-w-t":[{"border-t":z()}],"border-w-r":[{"border-r":z()}],"border-w-b":[{"border-b":z()}],"border-w-l":[{"border-l":z()}],"divide-x":[{"divide-x":z()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":z()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...K(),"hidden","none"]}],"divide-style":[{divide:[...K(),"hidden","none"]}],"border-color":[{border:M()}],"border-color-x":[{"border-x":M()}],"border-color-y":[{"border-y":M()}],"border-color-s":[{"border-s":M()}],"border-color-e":[{"border-e":M()}],"border-color-bs":[{"border-bs":M()}],"border-color-be":[{"border-be":M()}],"border-color-t":[{"border-t":M()}],"border-color-r":[{"border-r":M()}],"border-color-b":[{"border-b":M()}],"border-color-l":[{"border-l":M()}],"divide-color":[{divide:M()}],"outline-style":[{outline:[...K(),"none","hidden"]}],"outline-offset":[{"outline-offset":[Ie,be,ye]}],"outline-w":[{outline:["",Ie,Mo,Nn]}],"outline-color":[{outline:M()}],shadow:[{shadow:["","none",d,pr,fr]}],"shadow-color":[{shadow:M()}],"inset-shadow":[{"inset-shadow":["none",p,pr,fr]}],"inset-shadow-color":[{"inset-shadow":M()}],"ring-w":[{ring:z()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:M()}],"ring-offset-w":[{"ring-offset":[Ie,Nn]}],"ring-offset-color":[{"ring-offset":M()}],"inset-ring-w":[{"inset-ring":z()}],"inset-ring-color":[{"inset-ring":M()}],"text-shadow":[{"text-shadow":["none",f,pr,fr]}],"text-shadow-color":[{"text-shadow":M()}],opacity:[{opacity:[Ie,be,ye]}],"mix-blend":[{"mix-blend":[...j(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":j()}],"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":X()}],"mask-image-linear-to-pos":[{"mask-linear-to":X()}],"mask-image-linear-from-color":[{"mask-linear-from":M()}],"mask-image-linear-to-color":[{"mask-linear-to":M()}],"mask-image-t-from-pos":[{"mask-t-from":X()}],"mask-image-t-to-pos":[{"mask-t-to":X()}],"mask-image-t-from-color":[{"mask-t-from":M()}],"mask-image-t-to-color":[{"mask-t-to":M()}],"mask-image-r-from-pos":[{"mask-r-from":X()}],"mask-image-r-to-pos":[{"mask-r-to":X()}],"mask-image-r-from-color":[{"mask-r-from":M()}],"mask-image-r-to-color":[{"mask-r-to":M()}],"mask-image-b-from-pos":[{"mask-b-from":X()}],"mask-image-b-to-pos":[{"mask-b-to":X()}],"mask-image-b-from-color":[{"mask-b-from":M()}],"mask-image-b-to-color":[{"mask-b-to":M()}],"mask-image-l-from-pos":[{"mask-l-from":X()}],"mask-image-l-to-pos":[{"mask-l-to":X()}],"mask-image-l-from-color":[{"mask-l-from":M()}],"mask-image-l-to-color":[{"mask-l-to":M()}],"mask-image-x-from-pos":[{"mask-x-from":X()}],"mask-image-x-to-pos":[{"mask-x-to":X()}],"mask-image-x-from-color":[{"mask-x-from":M()}],"mask-image-x-to-color":[{"mask-x-to":M()}],"mask-image-y-from-pos":[{"mask-y-from":X()}],"mask-image-y-to-pos":[{"mask-y-to":X()}],"mask-image-y-from-color":[{"mask-y-from":M()}],"mask-image-y-to-color":[{"mask-y-to":M()}],"mask-image-radial":[{"mask-radial":[be,ye]}],"mask-image-radial-from-pos":[{"mask-radial-from":X()}],"mask-image-radial-to-pos":[{"mask-radial-to":X()}],"mask-image-radial-from-color":[{"mask-radial-from":M()}],"mask-image-radial-to-color":[{"mask-radial-to":M()}],"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":w()}],"mask-image-conic-pos":[{"mask-conic":[Ie]}],"mask-image-conic-from-pos":[{"mask-conic-from":X()}],"mask-image-conic-to-pos":[{"mask-conic-to":X()}],"mask-image-conic-from-color":[{"mask-conic-from":M()}],"mask-image-conic-to-color":[{"mask-conic-to":M()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:F()}],"mask-repeat":[{mask:H()}],"mask-size":[{mask:$()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",be,ye]}],filter:[{filter:["","none",be,ye]}],blur:[{blur:ue()}],brightness:[{brightness:[Ie,be,ye]}],contrast:[{contrast:[Ie,be,ye]}],"drop-shadow":[{"drop-shadow":["","none",y,pr,fr]}],"drop-shadow-color":[{"drop-shadow":M()}],grayscale:[{grayscale:["",Ie,be,ye]}],"hue-rotate":[{"hue-rotate":[Ie,be,ye]}],invert:[{invert:["",Ie,be,ye]}],saturate:[{saturate:[Ie,be,ye]}],sepia:[{sepia:["",Ie,be,ye]}],"backdrop-filter":[{"backdrop-filter":["","none",be,ye]}],"backdrop-blur":[{"backdrop-blur":ue()}],"backdrop-brightness":[{"backdrop-brightness":[Ie,be,ye]}],"backdrop-contrast":[{"backdrop-contrast":[Ie,be,ye]}],"backdrop-grayscale":[{"backdrop-grayscale":["",Ie,be,ye]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[Ie,be,ye]}],"backdrop-invert":[{"backdrop-invert":["",Ie,be,ye]}],"backdrop-opacity":[{"backdrop-opacity":[Ie,be,ye]}],"backdrop-saturate":[{"backdrop-saturate":[Ie,be,ye]}],"backdrop-sepia":[{"backdrop-sepia":["",Ie,be,ye]}],"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",be,ye]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[Ie,"initial",be,ye]}],ease:[{ease:["linear","initial",b,be,ye]}],delay:[{delay:[Ie,be,ye]}],animate:[{animate:["none",v,be,ye]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[g,be,ye]}],"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:ee()}],"skew-x":[{"skew-x":ee()}],"skew-y":[{"skew-y":ee()}],transform:[{transform:[be,ye,"","none","gpu","cpu"]}],"transform-origin":[{origin:S()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:Y()}],"translate-x":[{"translate-x":Y()}],"translate-y":[{"translate-y":Y()}],"translate-z":[{"translate-z":Y()}],"translate-none":["translate-none"],zoom:[{zoom:[jt,be,ye]}],accent:[{accent:M()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:M()}],"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",be,ye]}],"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":M()}],"scrollbar-track-color":[{"scrollbar-track":M()}],"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",be,ye]}],fill:[{fill:["none",...M()]}],"stroke-w":[{stroke:[Ie,Mo,Nn,Oc]}],stroke:[{stroke:["none",...M()]}],"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"]}},LC=Xy(y0);function la(e){c.useEffect(e,_t)}const To=0;class At{constructor(){Ne(this,"currentId",To);Ne(this,"clear",()=>{this.currentId!==To&&(clearTimeout(this.currentId),this.currentId=To)});Ne(this,"disposeEffect",()=>this.clear)}static create(){return new At}start(t,n){this.clear(),this.currentId=setTimeout(()=>{this.currentId=To,n()},t)}isStarted(){return this.currentId!==To}}function qe(){const e=at(At.create).current;return la(e.disposeEffect),e}function b0(){return typeof navigator>"u"?{userAgent:"",platform:"",maxTouchPoints:0}:{userAgent:navigator.userAgent,platform:navigator.platform??"",maxTouchPoints:navigator.maxTouchPoints??0}}const{userAgent:v0,platform:x0,maxTouchPoints:w0}=b0(),cs=v0.toLowerCase(),$o=x0.toLowerCase(),ls=/^i(os$|p)/.test($o)||$o==="macintel"&&w0>1,Dc="android",Si=$o===Dc||cs.includes(Dc),ua=!ls&&$o.startsWith("mac");$o.startsWith("win");const S0=ua||ls;var gu;const Yt=typeof CSS<"u"&&!!((gu=CSS.supports)!=null&&gu.call(CSS,"-webkit-backdrop-filter:none"));!Yt&&cs.includes("firefox");!Yt&&cs.includes("chrom");const R0=S0,da=/jsdom|happydom/.test(cs);function Nt(e){e.preventDefault(),e.stopPropagation()}function k0(e){return"nativeEvent"in e}function fa(e){return e.pointerType===""&&e.isTrusted?!0:Si&&e.pointerType?e.type==="click"&&e.buttons===1:e.detail===0&&!e.pointerType}function pa(e){return da?!1:!Si&&e.width===0&&e.height===0||Si&&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 C0(e){const t=e.type;return t==="click"||t==="mousedown"||t==="keydown"||t==="keyup"}const Ri="data-base-ui-focusable",Bu="input:not([type='hidden']):not([disabled]),[contenteditable]:not([contenteditable='false']),textarea:not([disabled])",us="ArrowLeft",ds="ArrowRight",Wu="ArrowUp",ha="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&&co(n)){let r=t;for(;r;){if(e===r)return!0;r=r.parentNode||r.host}}return!1}function nt(e){return"composedPath"in e?e.composedPath()[0]:e.target}function Yr(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 ei(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 E0(e){return e.matches("html,body")}function fs(e){return _e(e)&&e.matches(Bu)}function P0(e){return(e==null?void 0:e.closest(`button,a[href],[role="button"],select,[tabindex]:not([tabindex="-1"]),${Bu}`))!=null}function ki(e){return e?e.getAttribute("role")==="combobox"&&fs(e):!1}function M0(e){if(!e||da)return!0;try{return e.matches(":focus-visible")}catch{return!0}}function Xr(e){return e?e.hasAttribute(Ri)?e:e.querySelector(`[${Ri}]`)||e:null}function T0(e,t){return t!=null&&!mn(t)?0:typeof e=="function"?e():e}function bn(e,t,n){const o=T0(e,n);return typeof o=="number"?o:o==null?void 0:o[t]}function _c(e){return typeof e=="function"?e():e}function Uu(e,t){return t||e==="click"||e==="mousedown"}function I0(e){return(e==null?void 0:e.includes("mouse"))&&e!=="mousedown"}const wt="none",Lt="trigger-press",Je="trigger-hover",to="trigger-focus",ps="outside-press",no="item-press",Gu="close-press",vn="focus-out",Yo="escape-key",Ci="list-navigation",ga="cancel-open",No="sibling-open",qu="disabled",Lc="missing",Fc="initial",hs="imperative-action",O0="window-resize";function Re(e,t,n,o){let r=!1,s=!1;const i=o??He;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 Yu=c.createContext({hasProvider:!1,timeoutMs:0,delayRef:{current:0},initialDelayRef:{current:0},timeout:new At,currentIdRef:{current:null},currentContextRef:{current:null}});function A0(e,t){e.current=t.current}function N0(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=qe();return se(()=>{if(s.current=n,!i.current){r.current=n;return}r.current={open:bn(r.current,"open"),close:bn(n,"close")}},[n,i,r,s]),q.jsx(Yu.Provider,{value:c.useMemo(()=>({hasProvider:!0,delayRef:r,initialDelayRef:s,currentIdRef:i,timeoutMs:o,currentContextRef:a,timeout:l}),[o,l]),children:t})}function D0(e,t={open:!1}){const{open:n}=t,o="rootStore"in e?e.rootStore:e,r=o.useState("floatingId"),s=c.useContext(Yu),{currentIdRef:i,delayRef:a,timeoutMs:l,initialDelayRef:u,currentContextRef:d,hasProvider:p,timeout:f}=s,[y,h]=c.useState(!1),g=c.useRef(n);return se(()=>{g.current=n},[n]),se(()=>{function m(){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(h(!1),l){const b=r;return f.start(l,()=>{o.select("open")||i.current&&i.current!==b||m()}),()=>{(g.current||i.current!==b)&&f.clear()}}m()}},[n,r,i,a,l,u,d,f,o]),se(()=>{if(!n)return;const m=d.current,b=i.current;f.clear(),d.current={onOpenChange:o.setOpen,setIsInstantPhase:h},i.current=r,a.current={open:0,close:bn(u.current,"close")},b!==null&&b!==r?(h(!0),m==null||m.setIsInstantPhase(!0),m==null||m.onOpenChange(!1,Re(wt))):(h(!1),m==null||m.setIsInstantPhase(!1))},[n,r,o,i,a,u,d,f]),se(()=>()=>{if(i.current===r){if(d.current=null,!g.current)return;i.current=null,A0(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 qt(...e){return()=>{for(let t=0;t<e.length;t+=1){const n=e[t];n&&n()}}}function Ze(e){const t=at(_0,e).current;return t.next=e,se(t.effect),t}function _0(e){const t={current:e,next:e,effect:()=>{t.current=t.next}};return t}const hr=null;class L0{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 gr=new L0;class vt{constructor(){Ne(this,"currentId",hr);Ne(this,"cancel",()=>{this.currentId!==hr&&(gr.cancel(this.currentId),this.currentId=hr)});Ne(this,"disposeEffect",()=>this.cancel)}static create(){return new vt}static request(t){return gr.request(t)}static cancel(t){return gr.cancel(t)}request(t){this.cancel(),this.currentId=gr.request(()=>{this.currentId=hr,t()})}}function lo(){const e=at(vt.create).current;return la(e.disposeEffect),e}const Xu={clipPath:"inset(50%)",overflow:"hidden",whiteSpace:"nowrap",border:0,padding:0,width:1,height:1,margin:-1},vo={...Xu,position:"fixed",top:0,left:0},gs={...Xu,position:"absolute"},xn=c.forwardRef(function(t,n){const[o,r]=c.useState();se(()=>{R0&&Yt&&r("button")},[]);const s={tabIndex:0,role:o};return q.jsx("span",{...t,ref:n,style:vo,"aria-hidden":o?void 0:!0,...s,"data-base-ui-focus-guard":""})}),uo=Math.min,nn=Math.max,fo=Math.round,mr=Math.floor,on=e=>({x:e,y:e}),F0={left:"right",right:"left",bottom:"top",top:"bottom"};function Ku(e,t,n){return nn(e,uo(t,n))}function wn(e,t){return typeof e=="function"?e(t):e}function Tt(e){return e.split("-")[0]}function Cn(e){return e.split("-")[1]}function ma(e){return e==="x"?"y":"x"}function ya(e){return e==="y"?"height":"width"}function Mt(e){const t=e[0];return t==="t"||t==="b"?"y":"x"}function ba(e){return ma(Mt(e))}function z0(e,t,n){n===void 0&&(n=!1);const o=Cn(e),r=ba(e),s=ya(r);let i=r==="x"?o===(n?"end":"start")?"right":"left":o==="start"?"bottom":"top";return t.reference[s]>t.floating[s]&&(i=Kr(i)),[i,Kr(i)]}function V0(e){const t=Kr(e);return[Ei(e),t,Ei(t)]}function Ei(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}const zc=["left","right"],Vc=["right","left"],$0=["top","bottom"],H0=["bottom","top"];function j0(e,t,n){switch(e){case"top":case"bottom":return n?t?Vc:zc:t?zc:Vc;case"left":case"right":return t?$0:H0;default:return[]}}function B0(e,t,n,o){const r=Cn(e);let s=j0(Tt(e),n==="start",o);return r&&(s=s.map(i=>i+"-"+r),t&&(s=s.concat(s.map(Ei)))),s}function Kr(e){const t=Tt(e);return F0[t]+e.slice(t.length)}function W0(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 Zu(e){return typeof e!="number"?W0(e):{top:e,right:e,bottom:e,left:e}}function Ho(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 Lo(e,t){return t<0||t>=e.length}function Fr(e,t){return en(e.current,{disabledIndices:t})}function Pi(e,t){return en(e.current,{decrement:!0,startingIndex:e.current.length,disabledIndices:t})}function en(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&&Zr(e,s,o));return s}function Zr(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?!ms(r)||r.matches(":disabled")?!0:!n&&(r.hasAttribute("disabled")||r.getAttribute("aria-disabled")==="true"):!1}function U0(e){return e.visibility==="hidden"||e.visibility==="collapse"}function ms(e,t=e?xt(e):null){return!e||!e.isConnected||!t||U0(t)?!1:typeof e.checkVisibility=="function"?e.checkVisibility():t.display!=="none"&&t.display!=="contents"}const G0='a[href],button,input,select,textarea,summary,details,iframe,object,embed,[tabindex],[contenteditable]:not([contenteditable="false"]),audio[controls],video[controls]';function q0(e){const t=e.assignedSlot;if(t)return t;if(e.parentElement)return e.parentElement;const n=e.getRootNode();return co(n)?n.host:null}function Mi(e){for(const t of Array.from(e.children))if(ut(t)==="summary")return t;return null}function Y0(e,t){const n=Mi(t);return!!n&&(e===n||ve(n,e))}function Qu(e){const t=e?ut(e):"";return e!=null&&e.matches(G0)&&(t!=="summary"||e.parentElement!=null&&ut(e.parentElement)==="details"&&Mi(e.parentElement)===e)&&(t!=="details"||Mi(e)==null)&&(t!=="input"||e.type!=="hidden")}function Ju(e){if(!Qu(e)||!e.isConnected||e.matches(":disabled"))return!1;for(let t=e;t;t=q0(t)){const n=t!==e,o=ut(t)==="slot";if(t.hasAttribute("inert")||n&&ut(t)==="details"&&!t.open&&!Y0(e,t)||t.hasAttribute("hidden")||!o&&!X0(t,n))return!1}return!0}function X0(e,t){const n=xt(e);return t?n.display!=="none":ms(e,n)}function ed(e){const t=e.tabIndex;if(t<0){const n=ut(e);if(n==="details"||n==="audio"||n==="video"||_e(e)&&e.isContentEditable)return 0}return t}function ti(e){if(ut(e)!=="input")return null;const t=e;return t.type==="radio"&&t.name!==""?t:null}function K0(e,t){const n=ti(e);if(!n)return!0;const o=t.find(r=>{const s=ti(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=ti(r);return(s==null?void 0:s.name)===n.name&&s.form===n.form})===n}function td(e){if(_e(e)&&ut(e)==="slot"){const t=e.assignedElements({flatten:!0});if(t.length>0)return t}return _e(e)&&e.shadowRoot?Array.from(e.shadowRoot.children):Array.from(e.children)}function nd(e,t){td(e).forEach(n=>{Qu(n)&&t.push(n),nd(n,t)})}function od(e,t,n){td(e).forEach(o=>{_e(o)&&o.matches(t)&&n.push(o),od(o,t,n)})}function va(e){return Ju(e)&&ed(e)>=0}function rd(e){const t=[];return nd(e,t),t.filter(Ju)}function Xo(e){const t=rd(e);return t.filter(n=>ed(n)>=0&&K0(n,t))}function sd(e,t){const n=Xo(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 xa(e){return sd(Te(e).body,1)||e}function id(e){return sd(Te(e).body,-1)||e}function ad(e,t){if(!e)return null;const n=Xo(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 Z0(e){return ad(e,1)}function Q0(e){return ad(e,-1)}function oo(e,t){const n=t||e.currentTarget,o=e.relatedTarget;return!o||!ve(n,o)}function J0(e){Xo(e).forEach(n=>{n.dataset.tabindex=n.getAttribute("tabindex")||"",n.setAttribute("tabindex","-1")})}function $c(e){const t=[];od(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 Sn(e,t,n=!0){return e.filter(r=>r.parentId===t).flatMap(r=>{var s;return[...!n||(s=r.context)!=null&&s.open?[r]:[],...Sn(e,r.id,n)]})}function Hc(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 jo(e){return`data-base-ui-${e}`}let yr=0;function zr(e,t={}){const{preventScroll:n=!1,sync:o=!1,shouldFocus:r}=t;cancelAnimationFrame(yr);function s(){r&&!r()||e==null||e.focus({preventScroll:n})}if(o)return s(),Ge;const i=requestAnimationFrame(s);return yr=i,()=>{yr===i&&(cancelAnimationFrame(i),yr=0)}}const ni={inert:new WeakMap,"aria-hidden":new WeakMap},jc="data-base-ui-inert",Ti={inert:new WeakSet,"aria-hidden":new WeakSet};let Io=new WeakMap,oi=0;function e1(e){return Ti[e]}function cd(e){return e?co(e)?e.host:cd(e.parentNode):null}const Bc=(e,t)=>t.map(n=>{if(e.contains(n))return n;const o=cd(n);return e.contains(o)?o:null}).filter(n=>n!=null),Wc=e=>{const t=new Set;return e.forEach(n=>{let o=n;for(;o&&!t.has(o);)t.add(o),o=o.parentNode}),t},Uc=(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 t1(e,t,n,o,{mark:r=!0}){let s=null;o?s="inert":n&&(s="aria-hidden");let i=null,a=null;const l=Bc(t,e),u=r?Uc(t,Wc(l),new Set(l)):[],d=[],p=[];if(s){const f=ni[s],y=e1(s);a=y,i=f;const h=Bc(t,Array.from(t.querySelectorAll("[aria-live]"))),g=l.concat(h);Uc(t,Wc(g),new Set(g)).forEach(b=>{const v=b.getAttribute(s),x=v!==null&&v!=="false",w=(f.get(b)||0)+1;f.set(b,w),d.push(b),w===1&&x&&y.add(b),x||b.setAttribute(s,s==="inert"?"":"true")})}return r&&u.forEach(f=>{const y=(Io.get(f)||0)+1;Io.set(f,y),p.push(f),y===1&&f.setAttribute(jc,"")}),oi+=1,()=>{i&&d.forEach(f=>{const h=(i.get(f)||0)-1;i.set(f,h),h||(!(a!=null&&a.has(f))&&s&&f.removeAttribute(s),a==null||a.delete(f))}),r&&p.forEach(f=>{const y=(Io.get(f)||0)-1;Io.set(f,y),y||f.removeAttribute(jc)}),oi-=1,oi||(ni.inert=new WeakMap,ni["aria-hidden"]=new WeakMap,Ti.inert=new WeakSet,Ti["aria-hidden"]=new WeakSet,Io=new WeakMap)}}function Gc(e,t={}){const{ariaHidden:n=!1,inert:o=!1,mark:r=!0}=t,s=Te(e[0]).body;return t1(e,s,n,o,{mark:r})}let qc=0;function n1(e,t="mui"){const[n,o]=c.useState(e),r=e||n;return c.useEffect(()=>{n==null&&(qc+=1,o(`${t}-${qc}`))},[n,t]),r}const Yc=oa.useId;function Rn(e,t){if(Yc!==void 0){const n=Yc();return e??(t?`${t}-${n}`:n)}return n1(e,t)}const o1=500,ld=500,r1={style:{transition:"none"}},wa="data-base-ui-click-trigger",ud={fallbackAxisSide:"none"},Sa={fallbackAxisSide:"end"},s1={clipPath:"inset(50%)",position:"fixed",top:0,left:0},dd=c.createContext(null),fd=()=>c.useContext(dd),i1=jo("portal");function pd(e={}){const{ref:t,container:n,componentProps:o=He,elementProps:r}=e,s=Rn(),i=fd(),a=i==null?void 0:i.portalNode,[l,u]=c.useState(null),[d,p]=c.useState(null),f=de(m=>{m!==null&&p(m)}),y=c.useRef(null);se(()=>{if(n===null){y.current&&(y.current=null,p(null),u(null));return}const m=(n&&(ea(n)?n:n.current))??a??document.body;if(m==null){y.current&&(y.current=null,p(null),u(null));return}y.current!==m&&(y.current=m,p(null),u(m))},[n,a]);const h=Se("div",o,{ref:[t,f],props:[{id:s,[i1]:""},r]}),g=l&&h?It.createPortal(h,l):null;return{node:d,nodeId:c.isValidElement(h)?h.props.id:void 0,subtree:g}}const ys=c.forwardRef(function(t,n){const{render:o,className:r,style:s,children:i,container:a,...l}=t,{node:u,nodeId:d,subtree:p}=pd({container:a,ref:n,componentProps:t,elementProps:l}),f=c.useRef(null),y=c.useRef(null),h=c.useRef(null),g=c.useRef(null),[m,b]=c.useState(null),v=c.useRef(!1),x=m==null?void 0:m.modal,w=m==null?void 0:m.open,S=!!m&&!m.modal&&m.open&&!!u;c.useEffect(()=>{if(!u||x)return;function C(k){u&&k.relatedTarget&&oo(k)&&(k.type==="focusin"?v.current&&($c(u),v.current=!1):(J0(u),v.current=!0))}return qt(Me(u,"focusin",C,!0),Me(u,"focusout",C,!0))},[u,x]),se(()=>{!u||w!==!0||!v.current||($c(u),v.current=!1)},[w,u]);const R=c.useMemo(()=>({beforeOutsideRef:f,afterOutsideRef:y,beforeInsideRef:h,afterInsideRef:g,portalNode:u,setFocusManagerState:b}),[u]);return q.jsxs(c.Fragment,{children:[p,q.jsxs(dd.Provider,{value:R,children:[S&&u&&q.jsx(xn,{"data-type":"outside",ref:f,onFocus:C=>{var k;if(oo(C,u))(k=h.current)==null||k.focus();else{const T=m?m.domReference:null,E=id(T);E==null||E.focus()}}}),S&&u&&q.jsx("span",{"aria-owns":d,style:s1}),u&&It.createPortal(i,u),S&&u&&q.jsx(xn,{"data-type":"outside",ref:y,onFocus:C=>{var k;if(oo(C,u))(k=g.current)==null||k.focus();else{const T=m?m.domReference:null,E=xa(T);E==null||E.focus(),m!=null&&m.closeOnFocusOut&&(m==null||m.onOpenChange(!1,Re(vn,C.nativeEvent)))}}})]})]})});function hd(){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 Ra{constructor(){Ne(this,"nodesRef",{current:[]});Ne(this,"events",hd())}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 gd=c.createContext(null),md=c.createContext(null),En=()=>{var e;return((e=c.useContext(gd))==null?void 0:e.id)||null},Pn=e=>{const t=c.useContext(md);return e??t};function ka(e){const t=Rn(),n=Pn(e),o=En();return se(()=>{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 yd(e){const{children:t,id:n}=e,o=En();return q.jsx(gd.Provider,{value:c.useMemo(()=>({id:n,parentId:o}),[n,o]),children:t})}function bd(e){const{children:t,externalTree:n}=e,o=at(()=>n??new Ra).current;return q.jsx(md.Provider,{value:o,children:t})}function Qt(e){return e==null?e:"current"in e?e.current:e}function a1(e,t){const n=je(nt(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 Xc=20;let pn=[];function Ca(){pn=pn.filter(e=>{var t;return(t=e.deref())==null?void 0:t.isConnected})}function Kc(e){Ca(),e&&ut(e)!=="body"&&(pn.push(new WeakRef(e)),pn.length>Xc&&(pn=pn.slice(-Xc)))}function Zc(){var e;return Ca(),(e=pn[pn.length-1])==null?void 0:e.deref()}function c1(e){return e?va(e)?e:Xo(e)[0]||e:null}function Qc(e){var r;if(e.hasAttribute("tabindex")&&!e.hasAttribute("data-tabindex")||!((r=e.getAttribute("role"))!=null&&r.includes("dialog")))return;const n=rd(e).filter(s=>{const i=s.getAttribute("data-tabindex")||"";return va(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 bs(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:h}=e,g="rootStore"in t?t.rootStore:t,m=g.useState("open"),b=g.useState("domReferenceElement"),v=g.useState("floatingElement"),{events:x,dataRef:w}=g.context,S=de(()=>{var te;return(te=w.current.floatingContext)==null?void 0:te.nodeId}),R=r===!1,C=ki(b)&&R,k=Ze(r),T=Ze(s),E=Ze(u),A=Ze(m),O=Pn(y),N=fd(),D=c.useRef(!1),P=c.useRef(!1),V=c.useRef(!1),L=c.useRef(null),I=c.useRef(""),_=c.useRef(""),M=c.useRef(null),F=c.useRef(null),H=Ot(M,f,N==null?void 0:N.beforeInsideRef),$=Ot(F,N==null?void 0:N.afterInsideRef),U=qe(),G=qe(),z=lo(),K=N!=null,j=Xr(v),X=de((te=j)=>te?Xo(te):[]),ue=de(()=>(h==null?void 0:h().filter(te=>te!=null))??[]);c.useEffect(()=>{if(o||!a)return;function te(Y){Y.key==="Tab"&&ve(j,dt(Te(j)))&&X().length===0&&!C&&Nt(Y)}const ee=Te(j);return Me(ee,"keydown",te)},[o,j,a,C,X]),c.useEffect(()=>{if(o||!m)return;const te=Te(j);function ee(){V.current=!1}function Y(ge){const ce=nt(ge),pe=ue(),ie=ve(v,ce)||ve(b,ce)||ve(N==null?void 0:N.portalNode,ce)||pe.some(me=>me===ce||ve(me,ce));V.current=!ie,_.current=ge.pointerType||"keyboard",ce!=null&&ce.closest(`[${wa}]`)&&(P.current=!0,G.start(0,()=>{P.current=!1}))}function re(){_.current="keyboard"}return qt(Me(te,"pointerdown",Y,!0),Me(te,"pointerup",ee,!0),Me(te,"pointercancel",ee,!0),Me(te,"keydown",re,!0),ee)},[o,v,b,j,m,N,G,ue]),c.useEffect(()=>{if(o||!l)return;const te=Te(j);function ee(){P.current=!0,G.start(0,()=>{P.current=!1})}function Y(pe){const ie=nt(pe);va(ie)&&(L.current=ie)}function re(pe){const ie=pe.relatedTarget,me=pe.currentTarget,fe=nt(pe);a&&ie==null&&fe!=null&&ve(v,fe)&&Kc(fe),queueMicrotask(()=>{const oe=S(),le=g.context.triggerElements,W=ue(),Z=(ie==null?void 0:ie.hasAttribute(jo("focus-guard")))&&[M.current,F.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,Qt(p),Qt(d)].includes(ie),ae=!(ve(b,ie)||ve(v,ie)||ve(ie,v)||ve(N==null?void 0:N.portalNode,ie)||W.some(J=>J===ie||ve(J,ie))||le.hasMatchingElement(J=>ve(J,ie))||Z||O&&(Sn(O.nodesRef.current,oe).find(J=>{var Q,he;return ve((Q=J.context)==null?void 0:Q.elements.floating,ie)||ve((he=J.context)==null?void 0:he.elements.domReference,ie)})||Hc(O.nodesRef.current,oe).find(J=>{var Q,he,xe;return[(Q=J.context)==null?void 0:Q.elements.floating,Xr((he=J.context)==null?void 0:he.elements.floating)].includes(ie)||((xe=J.context)==null?void 0:xe.elements.domReference)===ie})));if(me===b&&j&&Qc(j),i&&me!==b&&!ms(fe)&&dt(te)===te.body){if(_e(j)&&(j.focus(),i==="popup")){z.request(()=>{j.focus()});return}const J=X(),Q=L.current,he=(Q&&J.includes(Q)?Q:null)||J[J.length-1]||j;_e(he)&&he.focus()}if(w.current.insideReactTree){w.current.insideReactTree=!1;return}(C||!a)&&ie&&ae&&!P.current&&(C||ie!==Zc())&&(D.current=!0,g.setOpen(!1,Re(vn,pe)))})}function ge(){V.current||(w.current.insideReactTree=!0,U.start(0,()=>{w.current.insideReactTree=!1}))}const ce=_e(b)?b:null;if(!(!v&&!ce))return qt(ce&&Me(ce,"focusout",re),ce&&Me(ce,"pointerdown",ee),v&&Me(v,"focusin",Y),v&&Me(v,"focusout",re),v&&N&&Me(v,"focusout",ge,!0))},[o,b,v,j,a,O,N,g,l,i,X,C,S,w,U,G,z,d,p,ue]),c.useEffect(()=>{var me,fe,oe;if(o||!v||!m)return;const te=Array.from(((me=N==null?void 0:N.portalNode)==null?void 0:me.querySelectorAll(`[${jo("portal")}]`))||[]),Y=(oe=(fe=(O?Hc(O.nodesRef.current,S()):[]).find(le=>{var W;return ki(((W=le.context)==null?void 0:W.elements.domReference)||null)}))==null?void 0:fe.context)==null?void 0:oe.elements.domReference,ge=[...[v,...te,M.current,F.current,N==null?void 0:N.beforeOutsideRef.current,N==null?void 0:N.afterOutsideRef.current,...ue()],Y,Qt(p),Qt(d),C?b:null].filter(le=>le!=null),ce=Gc(ge,{ariaHidden:a||C,mark:!1}),pe=[v,...te].filter(le=>le!=null),ie=Gc(pe);return()=>{ie(),ce()}},[m,o,b,v,a,N,C,O,S,d,p,ue]),se(()=>{if(!m||o||!_e(j))return;I.current="",_.current="";const te=Te(j),ee=dt(te);queueMicrotask(()=>{const Y=k.current,re=typeof Y=="function"?Y(E.current||""):Y;if(re===void 0||re===!1||ve(j,ee))return;let ce=null;const pe=()=>(ce==null&&(ce=X(j)),ce[0]||j);let ie;re===!0||re===null?ie=pe():ie=Qt(re),ie=ie||pe();const me=ve(j,dt(te));zr(ie,{preventScroll:ie===j,shouldFocus(){if(!A.current)return!1;if(me)return!0;const fe=dt(te);return!(fe!==ie&&ve(j,fe))}})})},[o,m,j,X,k,E,A]),se(()=>{if(o||!j)return;const te=Te(j),ee=dt(te),Y=E.current==null;Kc(ee);function re(ce){if(ce.open||(I.current=a1(ce.nativeEvent,_.current)),ce.reason===Je&&ce.nativeEvent.type==="mouseleave"&&(D.current=!0),ce.reason===ps)if(ce.nested)D.current=!1;else if(fa(ce.nativeEvent)||pa(ce.nativeEvent))D.current=!1;else{let pe=!1;Te(j).createElement("div").focus({get preventScroll(){return pe=!0,!1}}),pe?D.current=!1:D.current=!0}}x.on("openchange",re);function ge(ce){const pe=T.current;let ie=typeof pe=="function"?pe(ce):pe;if(ie===void 0||ie===!1)return null;ie===null&&(ie=!0);const me=b!=null&&b.isConnected?b:null,fe=ee!=null&&ee.isConnected&&ut(ee)!=="body"?ee:null;let oe=Y?fe||me:me||fe;return oe||(oe=Zc()||null),typeof ie=="boolean"?oe:Qt(ie)||oe||null}return()=>{x.off("openchange",re);const ce=dt(te),pe=ue(),ie=ve(v,ce)||pe.some(le=>le===ce||ve(le,ce))||O&&Sn(O.nodesRef.current,S(),!1).some(le=>{var W;return ve((W=le.context)==null?void 0:W.elements.floating,ce)}),me=T.current,fe=I.current,oe=ge(fe);queueMicrotask(()=>{const le=c1(oe),W=typeof me!="boolean";if(me&&!D.current&&_e(le)&&(!(!W&&le!==ce&&ce!==te.body)||ie)){const Z={preventScroll:!0};fe==="keyboard"&&(Z.focusVisible=!0),le.focus(Z)}D.current=!1})}},[o,v,j,T,E,x,O,b,S,ue]),se(()=>{if(!Yt||m||!v)return;const te=dt(Te(v));!_e(te)||!fs(te)||ve(v,te)&&te.blur()},[m,v]),se(()=>{if(!(o||!N))return N.setFocusManagerState({modal:a,closeOnFocusOut:l,open:m,onOpenChange:g.setOpen,domReference:b}),()=>{N.setFocusManagerState(null)}},[o,N,a,m,g,l,b]),se(()=>{if(!(o||!j))return Qc(j),()=>{queueMicrotask(Ca)}},[o,j]);const ne=!o&&(a?!C:!0)&&(K||a);return q.jsxs(c.Fragment,{children:[ne&&q.jsx(xn,{"data-type":"inside",ref:H,onFocus:te=>{var ee;if(a){const Y=X();zr(Y[Y.length-1])}else if(N!=null&&N.portalNode)if(D.current=!1,oo(te,N.portalNode)){const Y=xa(b);Y==null||Y.focus()}else(ee=Qt(p??N.beforeOutsideRef))==null||ee.focus()}}),n,ne&&q.jsx(xn,{"data-type":"inside",ref:$,onFocus:te=>{var ee;if(a)zr(X()[0]);else if(N!=null&&N.portalNode)if(l&&(D.current=!0),oo(te,N.portalNode)){const Y=id(b);Y==null||Y.focus()}else(ee=Qt(d??N.afterOutsideRef))==null||ee.focus()}})]})}function vs(e,t={}){const{enabled:n=!0,event:o="click",toggle:r=!0,ignoreMouse:s=!1,stickIfOpen:i=!0,touchOpenDelay:a=0,reason:l=Lt}=t,u="rootStore"in e?e.rootStore:e,d=u.context.dataRef,p=c.useRef(void 0),f=lo(),y=qe(),h=c.useMemo(()=>{function g(b,v,x,w){const S=Re(l,v,x);b&&w==="touch"&&a>0?y.start(a,()=>{u.setOpen(!0,S)}):u.setOpen(b,S)}function m(b,v,x){const w=d.current.openEvent,S=u.select("domReferenceElement")!==v;return b&&S||!b||!r?!0:w&&i?!x(w.type):!1}return{onPointerDown(b){p.current=mn(b.pointerType,!0)&&pa(b.nativeEvent)?"virtual":b.pointerType},onMouseDown(b){const v=p.current,x=b.nativeEvent,w=u.select("open");if(b.button!==0||o==="click"||mn(v,!0)&&s)return;const S=m(w,b.currentTarget,k=>k==="click"||k==="mousedown"),R=nt(x);if(fs(R)){g(S,x,R,v);return}const C=b.currentTarget;f.request(()=>{g(S,x,C,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 x=u.select("open"),w=m(x,b.currentTarget,S=>S==="click"||S==="mousedown"||S==="keydown"||S==="keyup");g(w,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:h}:He,[n,h])}function l1(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 Jc(e){return e!=null&&e.clientX!=null}function u1(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,h]=c.useState([]),g=de(w=>{r.set("positionReference",w)}),m=de((w,S,R)=>{u.current||l.current.openEvent&&!Jc(l.current.openEvent)||r.set("positionReference",l1(R??a,{x:w,y:S,axis:o,dataRef:l,pointerType:p}))}),b=de(w=>{s?d.current||(m(w.clientX,w.clientY,w.currentTarget),h([])):m(w.clientX,w.clientY,w.currentTarget)}),v=mn(p)?i:s;c.useEffect(()=>{if(!n){g(a);return}if(!v)return;function w(){var C;(C=d.current)==null||C.call(d),d.current=null}const S=je(i);function R(C){const k=nt(C);ve(i,k)?w():m(C.clientX,C.clientY)}return!l.current.openEvent||Jc(l.current.openEvent)?d.current=Me(S,"mousemove",R):g(a),w},[v,n,i,l,a,r,m,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 x=c.useMemo(()=>{function w(S){f(S.pointerType)}return{onPointerDown:w,onPointerEnter:w,onMouseMove:b,onMouseEnter:b}},[b]);return c.useMemo(()=>n?{reference:x,trigger:x}:{},[n,x])}function d1(){return!1}function f1(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 Ko(e,t={}){const{enabled:n=!0,escapeKey:o=!0,outsidePress:r=!0,outsidePressEvent:s="sloppy",referencePress:i=d1,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=Pn(l),h=de(typeof r=="function"?r:()=>!1),g=typeof r=="function"?h:r,m=g!==!1,b=de(()=>s),{escapeKey:v,outsidePress:x}=f1(a),w=c.useRef(!1),S=c.useRef(!1),R=c.useRef(!1),C=c.useRef(!1),k=c.useRef(""),T=c.useRef(null),E=qe(),A=qe(),O=de(()=>{A.clear(),f.current.insideReactTree=!1}),N=de(H=>{var G;const $=(G=f.current.floatingContext)==null?void 0:G.nodeId;return(y?Sn(y.nodesRef.current,$):[]).some(z=>{var K;return((K=z.context)==null?void 0:K.open)&&!z.context.dataRef.current[H]})}),D=de(H=>ei(H,u.select("floatingElement"))||ei(H,u.select("domReferenceElement"))),P=de(H=>{i()&&u.setOpen(!1,Re(Lt,H.nativeEvent))}),V=de(H=>{if(!d||!n||!o||H.key!=="Escape"||C.current||!v&&N("__escapeKeyBubbles"))return;const $=k0(H)?H.nativeEvent:H,U=Re(Yo,$);u.setOpen(!1,U),U.isCanceled||H.preventDefault(),!v&&!U.isPropagationAllowed&&H.stopPropagation()}),L=de(()=>{f.current.insideReactTree=!0,A.start(0,O)}),I=de(H=>{if(!d||!n||H.button!==0)return;const $=nt(H.nativeEvent);ve(u.select("floatingElement"),$)&&(w.current||(w.current=!0,S.current=!1))}),_=de(H=>{!d||!n||(H.defaultPrevented||H.nativeEvent.defaultPrevented)&&w.current&&(S.current=!0)});c.useEffect(()=>{if(!d||!n)return O;f.current.__escapeKeyBubbles=v,f.current.__outsidePressBubbles=x;const H=new At,$=new At;function U(){H.clear(),C.current=!0}function G(){H.start(Yt?5:0,()=>{C.current=!1})}function z(){R.current=!0,$.start(0,()=>{R.current=!1})}function K(){w.current=!1,S.current=!1}function j(){const W=k.current,Z=W==="pen"||!W?"mouse":W,ae=b(),J=typeof ae=="function"?ae():ae;return typeof J=="string"?J:J[Z]}function X(W){const Z=j();return Z==="intentional"&&W.type!=="click"||Z==="sloppy"&&W.type==="click"}function ue(W){var J;const Z=(J=f.current.floatingContext)==null?void 0:J.nodeId,ae=y&&Sn(y.nodesRef.current,Z).some(Q=>{var he;return ei(W,(he=Q.context)==null?void 0:he.elements.floating)});return D(W)||ae}function ne(W){if(X(W)){W.type!=="click"&&!D(W)&&($.clear(),R.current=!1),O();return}if(f.current.insideReactTree){O();return}const Z=nt(W),ae=`[${jo("inert")}]`,J=Oe(Z)?Z.getRootNode():null,Q=Array.from((co(J)?J:Te(u.select("floatingElement"))).querySelectorAll(ae)),he=u.context.triggerElements;if(Z&&(he.hasElement(Z)||he.hasMatchingElement(Le=>ve(Le,Z))))return;let xe=Oe(Z)?Z:null;for(;xe&&!tn(xe);){const Le=rn(xe);if(tn(Le)||!Oe(Le))break;xe=Le}if(!(Q.length&&Oe(Z)&&!E0(Z)&&!ve(Z,u.select("floatingElement"))&&Q.every(Le=>!ve(xe,Le)))){if(_e(Z)&&!("touches"in W)){const Le=tn(Z),Ue=xt(Z),Xe=/auto|scroll/,st=Le||Xe.test(Ue.overflowX),Fe=Le||Xe.test(Ue.overflowY),tt=st&&Z.clientWidth>0&&Z.scrollWidth>Z.clientWidth,ct=Fe&&Z.clientHeight>0&&Z.scrollHeight>Z.clientHeight,ke=Ue.direction==="rtl",Be=ct&&(ke?W.offsetX<=Z.offsetWidth-Z.clientWidth:W.offsetX>Z.clientWidth),Ye=tt&&W.offsetY>Z.clientHeight;if(Be||Ye)return}if(!ue(W)){if(j()==="intentional"&&R.current){$.clear(),R.current=!1;return}typeof g=="function"&&!g(W)||N("__outsidePressBubbles")||(u.setOpen(!1,Re(ps,W)),O())}}}function te(W){j()!=="sloppy"||W.pointerType==="touch"||!u.select("open")||!n||D(W)||ne(W)}function ee(W){if(j()!=="sloppy"||!u.select("open")||!n||D(W))return;const Z=W.touches[0];Z&&(T.current={startTime:Date.now(),startX:Z.clientX,startY:Z.clientY,dismissOnTouchEnd:!1,dismissOnMouseDown:!0},E.start(1e3,()=>{T.current&&(T.current.dismissOnTouchEnd=!1,T.current.dismissOnMouseDown=!1)}))}function Y(W,Z){const ae=nt(W);if(!ae)return;const J=Me(ae,W.type,()=>{Z(W),J()})}function re(W){k.current="touch",Y(W,ee)}function ge(W){E.clear(),W.type==="pointerdown"&&(k.current=W.pointerType),!(W.type==="mousedown"&&T.current&&!T.current.dismissOnMouseDown)&&Y(W,Z=>{Z.type==="pointerdown"?te(Z):ne(Z)})}function ce(W){if(!w.current)return;const Z=S.current;if(K(),j()==="intentional"){if(W.type==="pointercancel"){Z&&z();return}if(!ue(W)){if(Z){z();return}typeof g=="function"&&!g(W)||($.clear(),R.current=!0,O())}}}function pe(W){if(j()!=="sloppy"||!T.current||D(W))return;const Z=W.touches[0];if(!Z)return;const ae=Math.abs(Z.clientX-T.current.startX),J=Math.abs(Z.clientY-T.current.startY),Q=Math.sqrt(ae*ae+J*J);Q>5&&(T.current.dismissOnTouchEnd=!0),Q>10&&(ne(W),E.clear(),T.current=null)}function ie(W){Y(W,pe)}function me(W){j()!=="sloppy"||!T.current||D(W)||(T.current.dismissOnTouchEnd&&ne(W),E.clear(),T.current=null)}function fe(W){Y(W,me)}const oe=Te(p),le=qt(o&&qt(Me(oe,"keydown",V),Me(oe,"compositionstart",U),Me(oe,"compositionend",G)),m&&qt(Me(oe,"click",ge,!0),Me(oe,"pointerdown",ge,!0),Me(oe,"pointerup",ce,!0),Me(oe,"pointercancel",ce,!0),Me(oe,"mousedown",ge,!0),Me(oe,"mouseup",ce,!0),Me(oe,"touchstart",re,!0),Me(oe,"touchmove",ie,!0),Me(oe,"touchend",fe,!0)));return()=>{le(),H.clear(),$.clear(),K(),R.current=!1,O()}},[f,p,o,m,g,d,n,v,x,V,O,b,N,D,y,u,E]);const M=c.useMemo(()=>({onKeyDown:V,onPointerDown:P,onClick:P}),[V,P]),F=c.useMemo(()=>({onKeyDown:V,onPointerDown:_,onMouseDown:_,onClickCapture:L,onMouseDownCapture(H){L(),I(H)},onPointerDownCapture(H){L(),I(H)},onMouseUpCapture:L,onTouchEndCapture:L,onTouchMoveCapture:L}),[V,L,I,_]);return c.useMemo(()=>n?{reference:M,floating:F,trigger:M}:{},[n,M,F])}function el(e,t,n){let{reference:o,floating:r}=e;const s=Mt(t),i=ba(t),a=ya(i),l=Tt(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 h=Cn(t);return h&&(y[i]+=f*(h==="end"?1:-1)*(n&&u?-1:1)),y}async function p1(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}=wn(t,e),h=Zu(y),m=a[f?p==="floating"?"reference":"floating":p],b=Ho(await s.getClippingRect({element:(n=await(s.isElement==null?void 0:s.isElement(m)))==null||n?m:m.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,x=await(s.getOffsetParent==null?void 0:s.getOffsetParent(a.floating)),w=await(s.isElement==null?void 0:s.isElement(x))&&await(s.getScale==null?void 0:s.getScale(x))||{x:1,y:1},S=Ho(s.convertOffsetParentRelativeRectToViewportRelativeRect?await s.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:v,offsetParent:x,strategy:l}):v);return{top:(b.top-S.top+h.top)/w.y,bottom:(S.bottom-b.bottom+h.bottom)/w.y,left:(b.left-S.left+h.left)/w.x,right:(S.right-b.right+h.right)/w.x}}const h1=50,g1=async(e,t,n)=>{const{placement:o="bottom",strategy:r="absolute",middleware:s=[],platform:i}=n,a=i.detectOverflow?i:{...i,detectOverflow:p1},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}=el(u,o,l),f=o,y=0;const h={};for(let g=0;g<s.length;g++){const m=s[g];if(!m)continue;const{name:b,fn:v}=m,{x,y:w,data:S,reset:R}=await v({x:d,y:p,initialPlacement:o,placement:f,strategy:r,middlewareData:h,rects:u,platform:a,elements:{reference:e,floating:t}});d=x??d,p=w??p,h[b]={...h[b],...S},R&&y<h1&&(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}=el(u,f,l)),g=-1)}return{x:d,y:p,placement:f,strategy:r,middlewareData:h}},m1=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:h="none",flipAlignment:g=!0,...m}=wn(e,t);if((n=s.arrow)!=null&&n.alignmentOffset)return{};const b=Tt(r),v=Mt(a),x=Tt(a)===a,w=await(l.isRTL==null?void 0:l.isRTL(u.floating)),S=f||(x||!g?[Kr(a)]:V0(a)),R=h!=="none";!f&&R&&S.push(...B0(a,g,h,w));const C=[a,...S],k=await l.detectOverflow(t,m),T=[];let E=((o=s.flip)==null?void 0:o.overflows)||[];if(d&&T.push(k[b]),p){const D=z0(r,i,w);T.push(k[D[0]],k[D[1]])}if(E=[...E,{placement:r,overflows:T}],!T.every(D=>D<=0)){var A,O;const D=(((A=s.flip)==null?void 0:A.index)||0)+1,P=C[D];if(P&&(!(p==="alignment"?v!==Mt(P):!1)||E.every(I=>Mt(I.placement)===v?I.overflows[0]>0:!0)))return{data:{index:D,overflows:E},reset:{placement:P}};let V=(O=E.filter(L=>L.overflows[0]<=0).sort((L,I)=>L.overflows[1]-I.overflows[1])[0])==null?void 0:O.placement;if(!V)switch(y){case"bestFit":{var N;const L=(N=E.filter(I=>{if(R){const _=Mt(I.placement);return _===v||_==="y"}return!0}).map(I=>[I.placement,I.overflows.filter(_=>_>0).reduce((_,M)=>_+M,0)]).sort((I,_)=>I[1]-_[1])[0])==null?void 0:N[0];L&&(V=L);break}case"initialPlacement":V=a;break}if(r!==V)return{reset:{placement:V}}}return{}}}},vd=new Set(["left","top"]);async function y1(e,t){const{placement:n,platform:o,elements:r}=e,s=await(o.isRTL==null?void 0:o.isRTL(r.floating)),i=Tt(n),a=Cn(n),l=Mt(n)==="y",u=vd.has(i)?-1:1,d=s&&l?-1:1,p=wn(t,e);let{mainAxis:f,crossAxis:y,alignmentAxis:h}=typeof p=="number"?{mainAxis:p,crossAxis:0,alignmentAxis:null}:{mainAxis:p.mainAxis||0,crossAxis:p.crossAxis||0,alignmentAxis:p.alignmentAxis};return a&&typeof h=="number"&&(y=a==="end"?h*-1:h),l?{x:y*d,y:f*u}:{x:f*u,y:y*d}}const b1=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 y1(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}}}}},v1=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,y:w}=v;return{x,y:w}}},...u}=wn(e,t),d={x:n,y:o},p=await s.detectOverflow(t,u),f=Mt(r),y=ma(f);let h=d[y],g=d[f];const m=(v,x)=>Ku(x+p[v==="y"?"top":"left"],x,x-p[v==="y"?"bottom":"right"]);i&&(h=m(y,h)),a&&(g=m(f,g));const b=l.fn({...t,[y]:h,[f]:g});return{...b,data:{x:b.x-n,y:b.y-o,enabled:{[y]:i,[f]:a}}}}}},x1=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}=wn(e,t),f={x:r,y:s},y=Mt(i),h=ma(y);let g=f[h],m=f[y];const b=wn(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=h==="y"?"height":"width",R=a.reference[h]-a.floating[S]+v.mainAxis,C=a.reference[h]+a.reference[S]-v.mainAxis;g<R?g=R:g>C&&(g=C)}if(p){var x,w;const S=h==="y"?"width":"height",R=vd.has(Tt(i)),C=a.reference[y]-a.floating[S]+(R&&((x=l.offset)==null?void 0:x[y])||0)+(R?0:v.crossAxis),k=a.reference[y]+a.reference[S]+(R?0:((w=l.offset)==null?void 0:w[y])||0)-(R?v.crossAxis:0);m<C?m=C:m>k&&(m=k)}return{[h]:g,[y]:m}}}},w1=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}=wn(e,t),l=await r.detectOverflow(t,a),u=Tt(n),d=Cn(n),p=Mt(n)==="y",{width:f,height:y}=o.floating;let h,g;u==="top"||u==="bottom"?(h=u,g=d===(await(r.isRTL==null?void 0:r.isRTL(s.floating))?"start":"end")?"left":"right"):(g=u,h=d==="end"?"top":"bottom");const m=y-l.top-l.bottom,b=f-l.left-l.right,v=uo(y-l[h],m),x=uo(f-l[g],b),w=t.middlewareData.shift,S=!w;let R=v,C=x;w!=null&&w.enabled.x&&(C=b),w!=null&&w.enabled.y&&(R=m),S&&!d&&(p?C=f-2*nn(l.left,l.right):R=y-2*nn(l.top,l.bottom)),await i({...t,availableWidth:C,availableHeight:R});const k=await r.getDimensions(s.floating);return f!==k.width||y!==k.height?{reset:{rects:!0}}:{}}}};function xd(e){const t=xt(e);let n=parseFloat(t.width)||0,o=parseFloat(t.height)||0;const r=_e(e),s=r?e.offsetWidth:n,i=r?e.offsetHeight:o,a=fo(n)!==s||fo(o)!==i;return a&&(n=s,o=i),{width:n,height:o,$:a}}function Ea(e){return Oe(e)?e:e.contextElement}function ro(e){const t=Ea(e);if(!_e(t))return on(1);const n=t.getBoundingClientRect(),{width:o,height:r,$:s}=xd(t);let i=(s?fo(n.width):n.width)/o,a=(s?fo(n.height):n.height)/r;return(!i||!Number.isFinite(i))&&(i=1),(!a||!Number.isFinite(a))&&(a=1),{x:i,y:a}}const S1=on(0);function wd(e){const t=je(e);return!na()||!t.visualViewport?S1:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function R1(e,t,n){return t===void 0&&(t=!1),!!n&&t&&n===je(e)}function Fn(e,t,n,o){t===void 0&&(t=!1),n===void 0&&(n=!1);const r=e.getBoundingClientRect(),s=Ea(e);let i=on(1);t&&(o?Oe(o)&&(i=ro(o)):i=ro(e));const a=R1(s,n,o)?wd(s):on(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=je(s),y=Oe(o)?je(o):o;let h=f,g=vi(h);for(;g&&y!==h;){const m=ro(g),b=g.getBoundingClientRect(),v=xt(g),x=b.left+(g.clientLeft+parseFloat(v.paddingLeft))*m.x,w=b.top+(g.clientTop+parseFloat(v.paddingTop))*m.y;l*=m.x,u*=m.y,d*=m.x,p*=m.y,l+=x,u+=w,h=je(g),g=vi(h)}}return Ho({width:d,height:p,x:l,y:u})}function xs(e,t){const n=is(e).scrollLeft;return t?t.left+n:Fn(cn(e)).left+n}function Sd(e,t){const n=e.getBoundingClientRect(),o=n.left+t.scrollLeft-xs(e,n),r=n.top+t.scrollTop;return{x:o,y:r}}function k1(e){let{elements:t,rect:n,offsetParent:o,strategy:r}=e;const s=r==="fixed",i=cn(o),a=t?ss(t.floating):!1;if(o===i||a&&s)return n;let l={scrollLeft:0,scrollTop:0},u=on(1);const d=on(0),p=_e(o);if((p||!s)&&((ut(o)!=="body"||qo(i))&&(l=is(o)),p)){const y=Fn(o);u=ro(o),d.x=y.x+o.clientLeft,d.y=y.y+o.clientTop}const f=i&&!p&&!s?Sd(i,l):on(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 C1(e){return e.getClientRects?Array.from(e.getClientRects()):[]}function E1(e){const t=is(e),n=e.ownerDocument.body,o=nn(e.scrollWidth,e.clientWidth,n.scrollWidth,n.clientWidth),r=nn(e.scrollHeight,e.clientHeight,n.scrollHeight,n.clientHeight);let s=-t.scrollLeft+xs(e);const i=-t.scrollTop;return xt(n).direction==="rtl"&&(s+=nn(e.clientWidth,n.clientWidth)-o),{width:o,height:r,x:s,y:i}}const P1=25;function M1(e,t,n){n===void 0&&(n="viewport");const o=n==="layoutViewport",r=je(e),s=cn(e),i=r.visualViewport;let a=s.clientWidth,l=s.clientHeight,u=0,d=0;if(i){const f=!na()||t==="fixed";o?f||(u=-i.offsetLeft,d=-i.offsetTop):(a=i.width,l=i.height,f&&(u=i.offsetLeft,d=i.offsetTop))}if(xs(s)<=0){const f=s.ownerDocument,y=f.body,h=getComputedStyle(y),g=f.compatMode==="CSS1Compat"&&parseFloat(h.marginLeft)+parseFloat(h.marginRight)||0,m=Math.abs(s.clientWidth-y.clientWidth-g),b=getComputedStyle(s).scrollbarGutter==="stable both-edges"?m/2:m;b<=P1&&(a-=b)}return{width:a,height:l,x:u,y:d}}function T1(e,t){const n=Fn(e,!0,t==="fixed"),o=n.top+e.clientTop,r=n.left+e.clientLeft,s=ro(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 tl(e,t,n){let o;if(t==="viewport"||t==="layoutViewport")o=M1(e,n,t);else if(t==="document")o=E1(cn(e));else if(Oe(t))o=T1(t,n);else{const r=wd(e);o={x:t.x-r.x,y:t.y-r.y,width:t.width,height:t.height}}return Ho(o)}function I1(e,t){const n=t.get(e);if(n)return n;let o=Vo(e,[],!1).filter(a=>Oe(a)&&ut(a)!=="body"),r=null;const s=xt(e).position==="fixed";let i=s?rn(e):e;for(;Oe(i)&&!tn(i);){const a=xt(i),l=ta(i),u=r?r.position:s?"fixed":"";!l&&(u==="fixed"||u==="absolute"&&a.position==="static")?o=o.filter(p=>p!==i):r=a,i=rn(i)}return t.set(e,o),o}function O1(e){let{element:t,boundary:n,rootBoundary:o,strategy:r}=e;const i=[...n==="clippingAncestors"?ss(t)?[]:I1(t,this._c):[].concat(n),o],a=tl(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=tl(t,i[f],r);l=nn(y.top,l),u=uo(y.right,u),d=uo(y.bottom,d),p=nn(y.left,p)}return{width:u-p,height:d-l,x:p,y:l}}function A1(e){const{width:t,height:n}=xd(e);return{width:t,height:n}}function N1(e,t,n){const o=_e(t),r=cn(t),s=n==="fixed",i=Fn(e,!0,s,t);let a={scrollLeft:0,scrollTop:0};const l=on(0);if((o||!s)&&((ut(t)!=="body"||qo(r))&&(a=is(t)),o)){const f=Fn(t,!0,s,t);l.x=f.x+t.clientLeft,l.y=f.y+t.clientTop}!o&&r&&(l.x=xs(r));const u=r&&!o&&!s?Sd(r,a):on(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 ri(e){return xt(e).position==="static"}function nl(e,t){if(!_e(e)||xt(e).position==="fixed")return null;if(t)return t(e);let n=e.offsetParent;return cn(e)===n&&(n=n.ownerDocument.body),n}function Rd(e,t){const n=je(e);if(ss(e))return n;if(!_e(e)){let r=rn(e);for(;r&&!tn(r);){if(Oe(r)&&!ri(r))return r;r=rn(r)}return n}let o=nl(e,t);for(;o&&ty(o)&&ri(o);)o=nl(o,t);return o&&tn(o)&&ri(o)&&!ta(o)?n:o||ry(e)||n}const D1=async function(e){const t=this.getOffsetParent||Rd,n=this.getDimensions,o=await n(e.floating);return{reference:N1(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:o.width,height:o.height}}};function _1(e){return xt(e).direction==="rtl"}const kd={convertOffsetParentRelativeRectToViewportRelativeRect:k1,getDocumentElement:cn,getClippingRect:O1,getOffsetParent:Rd,getElementRects:D1,getClientRects:C1,getDimensions:A1,getScale:ro,isElement:Oe,isRTL:_1};function Cd(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function L1(e,t,n){let o=null,r;const s=cn(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:h,width:g,height:m}=f;if(d||t(),!g||!m)return;const b=mr(h),v=mr(s.clientWidth-(y+g)),x=mr(s.clientHeight-(h+m)),w=mr(y),R={rootMargin:-b+"px "+-v+"px "+-x+"px "+-w+"px",threshold:nn(0,uo(1,p))||1};let C=!0;function k(T){const E=T[0].intersectionRatio;if(!Cd(f,e.getBoundingClientRect()))return a();if(E!==p){if(!C)return a();E?a(!1,E):r=setTimeout(()=>{a(!1,1e-7)},1e3)}C=!1}try{o=new IntersectionObserver(k,{...R,root:s.ownerDocument})}catch{o=new IntersectionObserver(k,R)}o.observe(e)}const l=je(e),u=()=>a(n);return l.addEventListener("resize",u),a(!0),()=>{l.removeEventListener("resize",u),i()}}function ol(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=Ea(e),d=r||s?[...u?Vo(u):[],...t?Vo(t):[]]:[];d.forEach(b=>{r&&b.addEventListener("scroll",n),s&&b.addEventListener("resize",n)});const p=u&&a?L1(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 x;(x=y)==null||x.observe(t)})),n()}),u&&!l&&y.observe(u),t&&y.observe(t));let h,g=l?Fn(e):null;l&&m();function m(){const b=Fn(e);g&&!Cd(g,b)&&n(),g=b,h=requestAnimationFrame(m)}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(h)}}const F1=b1,z1=v1,V1=m1,$1=w1,H1=x1,j1=(e,t,n)=>{const o=new Map,r=n??{},s={...kd,...r.platform,_c:o};return g1(e,t,{...r,platform:s})};var B1=typeof document<"u",W1=function(){},Vr=B1?c.useLayoutEffect:W1;function Qr(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(!Qr(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)&&!Qr(e[s],t[s]))return!1}return!0}return e!==e&&t!==t}function Ed(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function rl(e,t){const n=Ed(e);return Math.round(t*n)/n}function si(e){const t=c.useRef(e);return Vr(()=>{t.current=e}),t}function U1(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);Qr(f,o)||y(o);const[h,g]=c.useState(null),[m,b]=c.useState(null),v=c.useCallback(I=>{I!==R.current&&(R.current=I,g(I))},[]),x=c.useCallback(I=>{I!==C.current&&(C.current=I,b(I))},[]),w=s||h,S=i||m,R=c.useRef(null),C=c.useRef(null),k=c.useRef(d),T=l!=null,E=si(l),A=si(r),O=si(u),N=c.useCallback(()=>{if(!R.current||!C.current)return;const I={placement:t,strategy:n,middleware:f};A.current&&(I.platform=A.current),j1(R.current,C.current,I).then(_=>{const M={..._,isPositioned:O.current!==!1};D.current&&!Qr(k.current,M)&&(k.current=M,It.flushSync(()=>{p(M)}))})},[f,t,n,A,O]);Vr(()=>{u===!1&&k.current.isPositioned&&(k.current.isPositioned=!1,p(I=>({...I,isPositioned:!1})))},[u]);const D=c.useRef(!1);Vr(()=>(D.current=!0,()=>{D.current=!1}),[]),Vr(()=>{if(w&&(R.current=w),S&&(C.current=S),w&&S){if(E.current)return E.current(w,S,N);N()}},[w,S,N,E,T]);const P=c.useMemo(()=>({reference:R,floating:C,setReference:v,setFloating:x}),[v,x]),V=c.useMemo(()=>({reference:w,floating:S}),[w,S]),L=c.useMemo(()=>{const I={position:n,left:0,top:0};if(!V.floating)return I;const _=rl(V.floating,d.x),M=rl(V.floating,d.y);return a?{...I,transform:"translate("+_+"px, "+M+"px)",...Ed(V.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:_,top:M}},[n,a,V.floating,d.x,d.y]);return c.useMemo(()=>({...d,update:N,refs:P,elements:V,floatingStyles:L}),[d,N,P,V,L])}const G1=(e,t)=>{const n=F1(e);return{name:n.name,fn:n.fn,options:[e,t]}},q1=(e,t)=>{const n=z1(e);return{name:n.name,fn:n.fn,options:[e,t]}},Y1=(e,t)=>({fn:H1(e).fn,options:[e,t]}),X1=(e,t)=>{const n=V1(e);return{name:n.name,fn:n.fn,options:[e,t]}},K1=(e,t)=>{const n=$1(e);return{name:n.name,fn:n.fn,options:[e,t]}};var ii={exports:{}},ai={};/**
|
|
857
|
+
* @license React
|
|
858
|
+
* use-sync-external-store-shim.production.js
|
|
859
|
+
*
|
|
860
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
861
|
+
*
|
|
862
|
+
* This source code is licensed under the MIT license found in the
|
|
863
|
+
* LICENSE file in the root directory of this source tree.
|
|
864
|
+
*/var sl;function Z1(){if(sl)return ai;sl=1;var e=mu();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(),h=o({inst:{value:y,getSnapshot:f}}),g=h[0].inst,m=h[1];return s(function(){g.value=y,g.getSnapshot=f,l(g)&&m({inst:g})},[p,y,f]),r(function(){return l(g)&&m({inst:g}),p(function(){l(g)&&m({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 ai.useSyncExternalStore=e.useSyncExternalStore!==void 0?e.useSyncExternalStore:d,ai}var il;function Pd(){return il||(il=1,ii.exports=Z1()),ii.exports}var ws=Pd(),ci={exports:{}},li={};/**
|
|
865
|
+
* @license React
|
|
866
|
+
* use-sync-external-store-shim/with-selector.production.js
|
|
867
|
+
*
|
|
868
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
869
|
+
*
|
|
870
|
+
* This source code is licensed under the MIT license found in the
|
|
871
|
+
* LICENSE file in the root directory of this source tree.
|
|
872
|
+
*/var al;function Q1(){if(al)return li;al=1;var e=mu(),t=Pd();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 li.useSyncExternalStoreWithSelector=function(u,d,p,f,y){var h=s(null);if(h.current===null){var g={hasValue:!1,value:null};h.current=g}else g=h.current;h=a(function(){function b(R){if(!v){if(v=!0,x=R,R=f(R),y!==void 0&&g.hasValue){var C=g.value;if(y(C,R))return w=C}return w=R}if(C=w,o(x,R))return C;var k=f(R);return y!==void 0&&y(C,k)?(x=R,C):(x=R,w=k)}var v=!1,x,w,S=p===void 0?null:p;return[function(){return b(d())},S===null?void 0:function(){return b(S())}]},[d,p,f,y]);var m=r(u,h[0],h[1]);return i(function(){g.hasValue=!0,g.value=m},[m]),l(m),m},li}var cl;function J1(){return cl||(cl=1,ci.exports=Q1()),ci.exports}var eb=J1();const Ii=[];let Oi;function tb(){return Oi}function nb(e){Ii.push(e)}function Pa(e){const t=(n,o)=>{const r=at(ob).current;let s;try{Oi=r;for(const i of Ii)i.before(r);s=e(n,o);for(const i of Ii)i.after(r);r.didInitialize=!0}finally{Oi=void 0}return s};return t.displayName=e.displayName||e.name,t}function Md(e){return c.forwardRef(Pa(e))}function ob(){return{didInitialize:!1}}const rb=ia(19),sb=rb?ab:cb;function Ce(e,t,n,o,r){return sb(e,t,n,o,r)}function ib(e,t,n,o,r){const s=c.useCallback(()=>t(e.getSnapshot(),n,o,r),[e,t,n,o,r]);return ws.useSyncExternalStore(e.subscribe,s,s)}nb({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()}}),ws.useSyncExternalStore(e.subscribe,e.getSnapshot,e.getSnapshot))}});function ab(e,t,n,o,r){const s=tb();if(!s)return ib(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 cb(e,t,n,o,r){return eb.useSyncExternalStoreWithSelector(e.subscribe,e.getSnapshot,e.getSnapshot,s=>t(s,n,o,r))}class lb{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 Ce(this,t,n,o,r)}}class xo extends lb{constructor(t,n={},o){super(t),this.context=n,this.selectors=o}useSyncedValue(t,n){c.useDebugValue(t);const o=this;se(()=>{o.state[t]!==n&&o.set(t,n)},[o,t,n])}useSyncedValueWithCleanup(t,n){const o=this;se(()=>(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);se(()=>{n.update(t)},[n,...o])}useControlledProp(t,n){c.useDebugValue(t);const o=this,r=n!==void 0;se(()=>{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),Ce(this,this.selectors[t],n,o,r)}useContextCallback(t,n){c.useDebugValue(t);const o=de(n??Ge);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 ub(){const[,e]=c.useState({});return c.useCallback(()=>{e({})},[])}const db={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 Ss extends xo{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:hd(),nested:r,triggerElements:i},db);Ne(this,"syncOpenEvent",(n,o)=>{(!n||!this.state.open||o!=null&&C0(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 Td(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 Ss({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),se(()=>{const h={open:a,floatingId:r,referenceElement:l,floatingElement:u};Oe(l)&&(h.domReferenceElement=l),y.state.positionReference===y.state.referenceElement&&(h.positionReference=l),y.update(h)},[a,r,l,u,y]),y.context.onOpenChange=p,y.context.nested=s,y}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),se(()=>{if(!e&&s&&o!=="ending"&&n){const a=vt.request(()=>{r("ending")});return()=>{vt.cancel(a)}}},[e,s,o,n]),se(()=>{if(!e||t)return;const a=vt.request(()=>{r(void 0)});return()=>{vt.cancel(a)}},[t,e]),se(()=>{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 Rs(e,t=!1){const n=lo();return de((o,r=null)=>{n.cancel();const s=Qt(e);if(s==null)return;const i=s,a=()=>{It.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 Rt(e){const{enabled:t=!0,open:n,ref:o,onComplete:r}=e,s=de(r),i=Rs(o,n);c.useEffect(()=>{if(!t)return;const a=new AbortController;return i(s,a.signal),()=>{a.abort()}},[t,n,s,i])}const Zo={tabIndex:-1,[Ri]:""};function Id(e){return t=>t==="touch"?e.current:!0}function Ma(e,t=!1){const n=Rn(),o=En()!=null,r=at(()=>e(n,o)).current;return Td({popupStore:r,treatPopupAsFloatingElement:t,floatingRootContext:r.state.floatingRootContext,floatingId:n,nested:o,onOpenChange:r.setOpen}),r}function ks({handle:e,store:t}){return se(()=>e.attachStore(t),[e,t]),null}function fb(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 Cs(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 Ta(e){let t=!1;return e.preventUnmountOnClose=()=>{t=!0},()=>t}function pb(e,t,n,o={}){var d,p,f;const r=n.reason,s=r===Je,i=t&&r===to,a=!t&&(r===Lt||r===Yo),l=Ta(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),Cs(y,t,n.trigger,l()),e.update(y)};s?It.flushSync(u):u()}function Es(e,t,n,o){const r=n.useState("isMountedByTrigger",e),s=fb(e,n),i=de(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 se(()=>{r&&n.update({activeTriggerElement:t.current,...o})},[r,n,t,...Object.values(o)]),{registerTrigger:a,isMountedByThisTrigger:r}}function Ps(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");se(()=>{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,h]of e.context.triggerElements.entries())if(h===e.state.activeTriggerElement){u.activeTriggerId=y,u.activeTriggerElement=h,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,h]=f.value;u.activeTriggerId=y,u.activeTriggerElement=h,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=Re(wt);e.setOpen(!1,f),f.isCanceled||e.update({activeTriggerId:null,activeTriggerElement:null})}})},[r,e,s,i,a,n])}function Ms(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=de(()=>{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 Rt({enabled:o&&!e&&!a,open:e,ref:t.context.popupRef,onComplete(){e||l()}}),{forceUnmount:l,transitionStatus:s}}function Ts(e,t){e.useSyncedValues(t),se(()=>()=>{e.update({activeTriggerProps:He,inactiveTriggerProps:He,popupProps:He})},[e])}function Od(e,t){se(()=>{!t&&e.state.openMethod!==null&&e.set("openMethod",null)},[t,e]),se(()=>()=>{e.state.openMethod!==null&&e.set("openMethod",null)},[e])}class wo{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 hb(){return new Ss({open:!1,transitionStatus:void 0,floatingElement:null,referenceElement:null,triggerElements:new wo,floatingId:void 0,syncOnly:!1,nested:!1,onOpenChange:void 0})}function Is(){return{open:!1,openProp:void 0,mounted:!1,transitionStatus:void 0,floatingRootContext:hb(),floatingId:void 0,triggerCount:0,preventUnmountingOnClose:!1,payload:void 0,activeTriggerId:null,activeTriggerElement:null,triggerIdProp:void 0,popupElement:null,positionerElement:null,activeTriggerProps:He,inactiveTriggerProps:He,popupProps:He}}function Ia(e,t,n=!1){return new Ss({open:!1,transitionStatus:void 0,floatingElement:null,referenceElement:null,triggerElements:e,floatingId:t,syncOnly:!0,nested:n,onOpenChange:void 0})}const Fo=e=>e.triggerIdProp??e.activeTriggerId,Oa=e=>e.openProp??e.open,ll=e=>{var n;return(((n=e.popupElement)==null?void 0:n.id)??e.floatingId)||void 0};function Ad(e,t){return t!==void 0&&Oa(e)&&Fo(e)===t}function gb(e,t){return Ad(e,t)?!0:t!==void 0&&Oa(e)&&Fo(e)==null&&e.triggerCount===1}const Os={open:Oa,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:Fo,activeTriggerElement:e=>e.mounted?e.activeTriggerElement:null,popupId:ll,isTriggerActive:(e,t)=>t!==void 0&&Fo(e)===t,isOpenedByTrigger:(e,t)=>Ad(e,t),isMountedByTrigger:(e,t)=>t!==void 0&&Fo(e)===t&&e.mounted,triggerProps:(e,t)=>t?e.activeTriggerProps:e.inactiveTriggerProps,triggerPopupId:(e,t)=>gb(e,t)?ll(e):void 0,popupProps:e=>e.popupProps,popupElement:e=>e.popupElement,positionerElement:e=>e.positionerElement};function As(e){const t=c.useCallback(o=>e===void 0?Ge:e.subscribeStore(o),[e]),n=c.useCallback(()=>e===void 0?void 0:e.store,[e]);return ws.useSyncExternalStore(t,n,()=>e==null?void 0:e.serverStore)}function mb(e){const{open:t=!1,onOpenChange:n,elements:o={}}=e,r=Rn(),s=En()!=null,i=at(()=>new Ss({open:t,transitionStatus:void 0,onOpenChange:n,referenceElement:o.reference??null,floatingElement:o.floating??null,triggerElements:new wo,floatingId:r,syncOnly:!1,nested:s})).current;return se(()=>{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 yb(e){return bb(e,e.rootContext)}function bb(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,h]=c.useState(void 0),g=c.useRef(null),m=Pn(o),b=c.useMemo(()=>({reference:r,floating:s,domReference:i}),[r,s,i]),v=U1({...e,elements:{...b,...u&&{reference:u}}}),x=Oe(p)?p:null,w=y===void 0?t.state.floatingElement:y;t.useSyncedValue("referenceElement",p??null),t.useSyncedValue("domReferenceElement",p===void 0?i:x),t.useSyncedValue("floatingElement",w);const S=c.useCallback(A=>{const O=Oe(A)?{getBoundingClientRect:()=>A.getBoundingClientRect(),getClientRects:()=>A.getClientRects(),contextElement:A}:A;d(O),v.refs.setReference(O)},[v.refs]),R=c.useCallback(A=>{(Oe(A)||A===null)&&(g.current=A,f(A)),(Oe(v.refs.reference.current)||v.refs.reference.current===null||A!==null&&!Oe(A))&&v.refs.setReference(A)},[v.refs,f]),C=c.useCallback(A=>{h(A),v.refs.setFloating(A)},[v.refs]),k=c.useMemo(()=>({...v.refs,setReference:R,setFloating:C,setPositionReference:S,domReference:g}),[v.refs,R,C,S]),T=c.useMemo(()=>({...v.elements,domReference:i}),[v.elements,i]),E=c.useMemo(()=>({...v,dataRef:t.context.dataRef,open:a,onOpenChange:t.setOpen,events:t.context.events,floatingId:l,refs:k,elements:T,nodeId:n,rootStore:t}),[v,k,T,n,t,a,l]);return se(()=>{i&&(g.current=i)},[i]),se(()=>{t.context.dataRef.current.floatingContext=E;const A=m==null?void 0:m.nodesRef.current.find(O=>O.id===n);A&&(A.context=E)}),c.useMemo(()=>({...v,context:E,refs:k,elements:T,rootStore:t}),[v,k,T,E,t])}const ui=ua&&Yt;function Nd(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=qe();c.useEffect(()=>{const f=r.select("domReferenceElement");if(!n)return;const y=je(f);function h(){const b=r.select("domReferenceElement");!r.select("open")&&_e(b)&&b===dt(Te(b))&&(a.current=!0)}function g(){u.current=!0}function m(){u.current=!1}return qt(Me(y,"blur",h),ui&&Me(y,"keydown",g,!0),ui&&Me(y,"pointerdown",m,!0))},[r,n]),c.useEffect(()=>{if(!n)return;function f(y){if(y.reason===Lt||y.reason===Yo){const h=r.select("domReferenceElement");Oe(h)&&(l.current=h,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 h=y.currentTarget;if(a.current){if(l.current===h)return;f()}const g=nt(y.nativeEvent);if(Oe(g)){if(ui&&!y.relatedTarget){if(!u.current&&!fs(g))return}else if(!M0(g))return}const m=Yr(y.relatedTarget,r.context.triggerElements),{nativeEvent:b,currentTarget:v}=y,x=typeof o=="function"?o():o;if(r.select("open")&&m||x===0||x===void 0){r.setOpen(!0,Re(to,b,v));return}d.start(x,()=>{a.current||r.setOpen(!0,Re(to,b,v))})},onBlur(y){f();const h=y.relatedTarget,g=y.nativeEvent,m=Oe(h)&&h.hasAttribute(jo("focus-guard"))&&h.getAttribute("data-type")==="outside";d.start(0,()=>{var w;const b=r.select("domReferenceElement"),v=dt(Te(b));!h&&v===b||ve((w=i.current.floatingContext)==null?void 0:w.refs.floating.current,v)||ve(b,v)||m||Yr(h??v,r.context.triggerElements)||r.setOpen(!1,Re(to,g))})}}},[i,o,r,d]);return c.useMemo(()=>n?{reference:p,trigger:p}:{},[n,p])}class Aa{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 At,this.restTimeout=new At,this.handleCloseOptions=void 0}static create(){return new Aa}}const Jr=new WeakMap;function es(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 Dd(e,t){const{scopeElement:n,referenceElement:o,floatingElement:r}=t,s=Jr.get(n);s&&s!==e&&es(s),es(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 Na(e){const t=e.context.dataRef.current,n=at(()=>t.hoverInteractionState??Aa.create()).current;return t.hoverInteractionState||(t.hoverInteractionState=n),la(t.hoverInteractionState.disposeEffect),t.hoverInteractionState}function Da(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=Pn(),p=En(),f=Na(s),y=qe(),h=de(()=>{var b;return Uu((b=u.current.openEvent)==null?void 0:b.type,f.interactedInside)}),g=de(()=>{var b;return I0((b=u.current.openEvent)==null?void 0:b.type)}),m=de(()=>{es(f)});se(()=>{i||(f.pointerType=void 0,f.restTimeoutPending=!1,f.interactedInside=!1,m())},[i,f,m]),c.useEffect(()=>m,[m]),se(()=>{var b,v,x,w,S;if(n&&i&&(b=f.handleCloseOptions)!=null&&b.blockPointerEvents&&g()&&Oe(l)&&a){const R=l,C=a,k=Te(a),T=(x=(v=d==null?void 0:d.nodesRef.current.find(N=>N.id===p))==null?void 0:v.context)==null?void 0:x.elements.floating;T&&(T.style.pointerEvents="");const E=f.pointerEventsScopeElement!==C?f.pointerEventsScopeElement:null,A=T!==C?T:null,O=((S=(w=f.handleCloseOptions)==null?void 0:w.getScope)==null?void 0:S.call(w))??E??A??R.closest("[data-rootownerid]")??k.body;return Dd(f,{scopeElement:O,referenceElement:R,floatingElement:C}),()=>{m()}}},[n,i,l,a,f,g,d,p,m]),c.useEffect(()=>{if(!n)return;function b(){return!!(d&&p&&Sn(d.nodesRef.current,p).length>0)}function v(k){const T=bn(o,"close",f.pointerType),E=()=>{s.setOpen(!1,Re(Je,k)),d==null||d.events.emit("floating.closed",k)};T?f.openChangeTimeout.start(T,E):(f.openChangeTimeout.clear(),E())}function x(k){const T=nt(k);if(!P0(T)){f.interactedInside=!1;return}f.interactedInside=(T==null?void 0:T.closest("[aria-haspopup]"))!=null}function w(){f.openChangeTimeout.clear(),y.clear(),d==null||d.events.off("floating.closed",R),m()}function S(k){var O;if(b()&&d){d.events.on("floating.closed",R);return}if(Yr(k.relatedTarget,s.context.triggerElements))return;const T=((O=u.current.floatingContext)==null?void 0:O.nodeId)??r,E=k.relatedTarget;if(!(d&&T&&Oe(E)&&Sn(d.nodesRef.current,T,!1).some(N=>{var D;return ve((D=N.context)==null?void 0:D.elements.floating,E)}))){if(f.handler){f.handler(k);return}m(),g()&&!h()&&v(k)}}function R(k){!d||!p||b()||y.start(0,()=>{d.events.off("floating.closed",R),s.setOpen(!1,Re(Je,k)),d.events.emit("floating.closed",k)})}const C=a;return qt(C&&Me(C,"mouseenter",w),C&&Me(C,"mouseleave",S),C&&Me(C,"pointerdown",x,!0),()=>{d==null||d.events.off("floating.closed",R)})},[n,a,s,u,o,r,g,h,m,f,d,p,y])}const vb={current:null};function _a(e,t={}){var V;const{enabled:n=!0,delay:o=0,handleClose:r=null,mouseOnly:s=!1,restMs:i=0,move:a=!0,triggerElementRef:l=vb,externalTree:u,isActiveTrigger:d=!0,getHandleCloseContext:p,isClosing:f,shouldOpen:y,guardStaleOpen:h=!1}=t,g="rootStore"in e?e.rootStore:e,{dataRef:m,events:b}=g.context,v=Pn(u),x=Na(g),w=c.useRef(!1),S=Ze(r),R=Ze(o),C=Ze(i),k=Ze(n),T=Ze(y),E=Ze(f),A=de(()=>{var L;return Uu((L=m.current.openEvent)==null?void 0:L.type,x.interactedInside)}),O=de(()=>{var L;return((L=T.current)==null?void 0:L.call(T))!==!1}),N=de((L,I,_)=>{const M=g.context.triggerElements;if(M.hasElement(I))return!L||!ve(L,I);if(!Oe(_))return!1;const F=_;return M.hasMatchingElement(H=>ve(H,F))&&(!L||!ve(L,F))}),D=de(()=>{if(!x.handler)return;Te(g.select("domReferenceElement")).removeEventListener("mousemove",x.handler),x.handler=void 0}),P=de(()=>{es(x)});return d&&(x.handleCloseOptions=(V=S.current)==null?void 0:V.__options),c.useEffect(()=>D,[D]),c.useEffect(()=>{if(!n)return;function L(I){I.open?w.current=!1:(w.current=I.reason===Je,D(),x.openChangeTimeout.clear(),x.restTimeout.clear(),x.blockMouseMove=!0,x.restTimeoutPending=!1)}return b.on("openchange",L),()=>{b.off("openchange",L)}},[n,b,x,D]),c.useEffect(()=>{if(!n)return;function L($,U=!0){const G=bn(R.current,"close",x.pointerType);G?x.openChangeTimeout.start(G,()=>{g.setOpen(!1,Re(Je,$)),v==null||v.events.emit("floating.closed",$)}):U&&(x.openChangeTimeout.clear(),g.setOpen(!1,Re(Je,$)),v==null||v.events.emit("floating.closed",$))}const I=l.current??(d?g.select("domReferenceElement"):null);if(!Oe(I))return;function _($){var pe;if(x.openChangeTimeout.clear(),x.blockMouseMove=!1,s&&!mn(x.pointerType))return;const U=_c(C.current),G=bn(R.current,"open",x.pointerType),z=nt($),K=$.currentTarget??null,j=g.select("domReferenceElement");let X=K;if(Oe(z)&&!g.context.triggerElements.hasElement(z)){for(const ie of g.context.triggerElements.elements())if(ve(ie,z)){X=ie;break}}Oe(K)&&Oe(j)&&!g.context.triggerElements.hasElement(K)&&ve(K,j)&&(X=j);const ue=X==null?!1:N(j,X,z),ne=g.select("open"),te=((pe=E.current)==null?void 0:pe.call(E))??g.select("transitionStatus")==="ending",ee=!ne&&te&&w.current,Y=!ue&&Oe(X)&&Oe(j)&&ve(j,X)&&ee,re=U>0&&!G,ge=ue&&(ne||ee)||Y,ce=!ne||ue;if(ge){O()&&g.setOpen(!0,Re(Je,$,X));return}re||(G?x.openChangeTimeout.start(G,()=>{ce&&O()&&g.setOpen(!0,Re(Je,$,X))}):ce&&O()&&g.setOpen(!0,Re(Je,$,X)))}function M($){if(A()){P();return}D();const U=g.select("domReferenceElement"),G=Te(U);x.restTimeout.clear(),x.restTimeoutPending=!1;const z=m.current.floatingContext??(p==null?void 0:p());if(Yr($.relatedTarget,g.context.triggerElements))return;if(S.current&&z){g.select("open")||x.openChangeTimeout.clear();const j=l.current;x.handler=S.current({...z,tree:v,x:$.clientX,y:$.clientY,onClose(){P(),D(),k.current&&!A()&&j===g.select("domReferenceElement")&&L($,!0)}}),G.addEventListener("mousemove",x.handler),x.handler($);return}(x.pointerType==="touch"?!ve(g.select("floatingElement"),$.relatedTarget):!0)&&L($)}function F($){ve(I,$.relatedTarget)||(x.openChangeTimeout.clear(),x.restTimeout.clear(),x.restTimeoutPending=!1)}const H=h?Me(I,"mouseout",F):void 0;return a?qt(Me(I,"mousemove",_,{once:!0}),Me(I,"mouseenter",_),Me(I,"mouseleave",M),H):qt(Me(I,"mouseenter",_),Me(I,"mouseleave",M),H)},[D,P,m,R,g,n,S,x,d,N,A,s,a,C,l,v,k,p,E,O,h]),c.useMemo(()=>{if(!n)return;function L(I){x.pointerType=I.pointerType}return{onPointerDown:L,onPointerEnter:L,onMouseMove(I){var z,K,j;const{nativeEvent:_}=I,M=I.currentTarget,F=g.select("domReferenceElement"),H=g.select("open"),$=N(F,M,I.target);if(s&&!mn(x.pointerType))return;if(H&&$&&((z=x.handleCloseOptions)!=null&&z.blockPointerEvents)){const X=g.select("floatingElement");if(X){const ue=((j=(K=x.handleCloseOptions)==null?void 0:K.getScope)==null?void 0:j.call(K))??M.ownerDocument.body;Dd(x,{scopeElement:ue,referenceElement:M,floatingElement:X})}}const U=_c(C.current);if(H&&!$||U===0||!$&&x.restTimeoutPending&&I.movementX**2+I.movementY**2<2)return;x.restTimeout.clear();function G(){if(x.restTimeoutPending=!1,A())return;const X=g.select("open");!x.blockMouseMove&&(!X||$)&&O()&&g.setOpen(!0,Re(Je,_,M))}x.pointerType==="touch"?It.flushSync(()=>{G()}):$&&H?G():(x.restTimeoutPending=!0,x.restTimeout.start(U,G))}}},[n,x,A,N,s,g,C,O])}const xb="Escape";function ul(e){return Yt&&e.movementX===0&&e.movementY===0}function Ns(e,t,n){switch(e){case"vertical":return t;case"horizontal":return n;default:return t||n}}function br(e,t){return Ns(t,e===Wu||e===ha,e===us||e===ds)}function di(e,t,n){return Ns(t,e===ha,n?e===us:e===ds)||e==="Enter"||e===" "||e===""}function wb(e,t,n){return Ns(t,n?e===us:e===ds,e===ha)}function Sb(e,t,n,o){const r=n?e===ds:e===us,s=e===Wu;return t==="both"||t==="horizontal"&&o?e===xb:Ns(t,r,s)}function _d(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:h=!0,disabledIndices:g=void 0,orientation:m="vertical",parentOrientation:b,id:v,resetOnPointerLeave:x=!0,externalTree:w,grid:S}=t,R=S!=null,C="rootStore"in e?e.rootStore:e,k=C.useState("open"),T=C.useState("floatingElement"),E=C.useState("domReferenceElement"),A=C.context.dataRef,O=Xr(T),N=ki(E),D=Ze(O),P=En(),V=Pn(w),L=c.useRef(f),I=c.useRef(i??-1),_=c.useRef(null),M=c.useRef(!0),F=de(W=>{r(I.current===-1?null:I.current,W)}),H=c.useRef(!!T),$=c.useRef(k),U=c.useRef(!1),G=c.useRef(!1),z=c.useRef(null),K=Ze(g),j=Ze(k),X=Ze(i),ue=Ze(x),ne=lo(),te=lo(),ee=de(()=>{function W(Q){p?V==null||V.events.emit("virtualfocus",Q):z.current=zr(Q,{sync:U.current,preventScroll:!0})}const Z=n.current[I.current],ae=G.current;Z&&W(Z),(U.current?Q=>Q():Q=>ne.request(Q))(()=>{var xe;const Q=n.current[I.current]||Z;if(!Q)return;Z||W(Q),ie&&(ae||!M.current)&&((xe=Q.scrollIntoView)==null||xe.call(Q,{block:"nearest",inline:"nearest"}))})});se(()=>{A.current.orientation=m},[A,m]),se(()=>{s&&(k&&T?(I.current=i??-1,L.current&&i!=null&&(G.current=!0,F())):H.current&&(I.current=-1,F()))},[s,k,T,i,F]),se(()=>{if(s){if(!k){U.current=!1;return}if(T)if(o==null){if(U.current=!1,X.current!=null)return;if(H.current&&(I.current=-1,ee()),(!$.current||!H.current)&&L.current&&(_.current!=null||L.current===!0&&_.current==null)){let W=0;const Z=()=>{n.current[0]==null?(W<2&&(W?J=>te.request(J):queueMicrotask)(Z),W+=1):(I.current=_.current==null||di(_.current,m,d)||u?Fr(n):Pi(n),_.current=null,F())};Z()}}else Lo(n.current,o)||(I.current=o,ee(),G.current=!1)}},[s,k,T,o,X,u,n,m,d,F,ee,te]),se(()=>{var Q,he;if(!s||T||!V||p||!H.current)return;const W=V.nodesRef.current,Z=(he=(Q=W.find(xe=>xe.id===P))==null?void 0:Q.context)==null?void 0:he.elements.floating,ae=dt(Te(E??Z??null)),J=W.some(xe=>xe.context&&ve(xe.context.elements.floating,ae));Z&&!J&&M.current&&Z.focus({preventScroll:!0})},[s,T,E,V,P,p]),se(()=>{$.current=k,H.current=!!T}),se(()=>{k||(_.current=null,L.current=f)},[k,f]);const Y=o!=null,re=de(W=>{if(!j.current)return;const Z=n.current.indexOf(W.currentTarget);Z!==-1&&(I.current!==Z||o!==Z)&&(I.current=Z,F(W))}),ge=de(()=>{var W,Z,ae;return b??((ae=(Z=(W=V==null?void 0:V.nodesRef.current.find(J=>J.id===P))==null?void 0:W.context)==null?void 0:Z.dataRef)==null?void 0:ae.current.orientation)}),ce=de(()=>Fr(n,K.current)),pe=de(W=>{if(M.current=!1,U.current=!0,W.which===229||!j.current&&W.currentTarget===D.current)return;if(u&&Sb(W.key,m,d,R)){br(W.key,ge())||Nt(W),C.setOpen(!1,Re(Ci,W.nativeEvent)),_e(E)&&(p?V==null||V.events.emit("virtualfocus",E):E.focus());return}const Z=I.current,ae=Fr(n,g),J=Pi(n,g);if(N||(W.key==="Home"&&(Nt(W),I.current=ae,F(W)),W.key==="End"&&(Nt(W),I.current=J,F(W))),S!=null){const Q=S(W,I.current,n,m,l,d,g,ae,J);if(Q!=null&&(I.current=Q,F(W)),m==="both")return}if(br(W.key,m)){if(Nt(W),k&&!p&&dt(W.currentTarget.ownerDocument)===W.currentTarget){I.current=di(W.key,m,d)?ae:J,F(W);return}di(W.key,m,d)?l?Z>=J?a&&Z!==n.current.length?I.current=-1:(U.current=!1,I.current=ae):I.current=en(n.current,{startingIndex:Z,disabledIndices:g}):I.current=Math.min(J,en(n.current,{startingIndex:Z,disabledIndices:g})):l?Z<=ae?a&&Z!==-1?I.current=n.current.length:(U.current=!1,I.current=J):I.current=en(n.current,{startingIndex:Z,decrement:!0,disabledIndices:g}):I.current=Math.max(ae,en(n.current,{startingIndex:Z,decrement:!0,disabledIndices:g})),Lo(n.current,I.current)&&(I.current=-1),F(W)}}),ie=c.useMemo(()=>({onFocus(Z){U.current=!0,re(Z)},onClick:({currentTarget:Z})=>Z.focus({preventScroll:!0}),onMouseMove(Z){ul(Z)||(U.current=!0,G.current=!1,y&&re(Z))},onPointerLeave(Z){var J;if(!j.current||!M.current||Z.pointerType==="touch")return;U.current=!0;const ae=Z.relatedTarget;if(!(!y||n.current.includes(ae))&&ue.current&&((J=z.current)==null||J.call(z),z.current=null,I.current=-1,F(Z),!p)){const Q=D.current,he=dt(Te(Q));Q&&ve(Q,he)&&Q.focus({preventScroll:!0})}}}),[re,j,D,y,n,F,ue,p]),me=c.useMemo(()=>p&&k&&Y&&{"aria-activedescendant":`${v}-${o}`},[p,k,Y,v,o]),fe=c.useMemo(()=>({"aria-orientation":m==="both"?void 0:m,...N?{}:me,onKeyDown(W){if(W.key==="Tab"&&W.shiftKey&&k&&!p){const Z=nt(W.nativeEvent);if(Z&&!ve(D.current,Z))return;Nt(W),C.setOpen(!1,Re(vn,W.nativeEvent)),_e(E)&&E.focus();return}pe(W)},onPointerMove(W){ul(W)||(M.current=!0)}}),[me,pe,D,m,N,C,k,p,E]),oe=c.useMemo(()=>{function W(J){C.setOpen(!0,Re(Ci,J.nativeEvent,J.currentTarget))}function Z(J){f==="auto"&&fa(J.nativeEvent)&&(L.current=!p)}function ae(J){L.current=f,f==="auto"&&pa(J.nativeEvent)&&(L.current=!0)}return{onKeyDown(J){const Q=C.select("open");M.current=!1;const he=J.key.startsWith("Arrow"),xe=wb(J.key,ge(),d),Le=br(J.key,m),Ue=(u?xe:Le)||J.key==="Enter"||J.key.trim()==="";if(p&&Q)return pe(J);if(!(!Q&&!h&&he)){if(Ue){const Xe=br(J.key,ge());_.current=u&&Xe?null:J.key}if(u){xe&&(Nt(J),Q?(I.current=ce(),F(J)):W(J));return}Le&&(X.current!=null&&(I.current=X.current),Nt(J),!Q&&h?W(J):pe(J),Q&&F(J))}},onFocus(J){C.select("open")&&!p&&(I.current=-1,F(J))},onPointerDown:ae,onPointerEnter:ae,onMouseDown:Z,onClick:Z}},[pe,f,ce,u,F,C,h,m,ge,d,X,p]),le=c.useMemo(()=>({...me,...oe}),[me,oe]);return c.useMemo(()=>s?{reference:le,floating:fe,item:ie,trigger:oe}:{},[s,le,fe,oe,ie])}function Ld(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=qe(),h=c.useRef(""),g=c.useRef(d??r??-1),m=c.useRef(null),b=de(w=>{function S(D){return o==null?void 0:o.current[D]}function R(D){const P=S(D);return P&&!ms(P)||P!=null&&P.matches(":disabled")?!1:i==null||!Zr(_t,D,i)}function C(D,P,V=0){if(D.length===0)return-1;const L=(V%D.length+D.length)%D.length,I=P.toLowerCase();for(let _=0;_<D.length;_+=1){const M=(L+_)%D.length,F=D[M];if(!(!(F!=null&&F.toLowerCase().startsWith(I))||!R(M)))return M}return-1}const k=n.current;if(h.current.length>0&&w.key===" "&&(Nt(w),a==null||a(!0)),h.current.length>0&&h.current[0]!==" "&&C(k,h.current)===-1&&w.key!==" "&&(a==null||a(!1)),k==null||w.key.length!==1||w.ctrlKey||w.metaKey||w.altKey)return;f&&w.key!==" "&&(Nt(w),a==null||a(!0));const T=h.current==="";T&&(g.current=d??r??-1),k.every((D,P)=>{var V,L;return D&&R(P)?((V=D[0])==null?void 0:V.toLowerCase())!==((L=D[1])==null?void 0:L.toLowerCase()):!0})&&h.current===w.key&&(h.current="",g.current=m.current),h.current+=w.key,y.start(u,()=>{h.current="",g.current=m.current,a==null||a(!1)});const O=((T?d??r??-1:g.current)??0)+1,N=C(k,h.current,O);N!==-1?(s==null||s(N),m.current=N):w.key!==" "&&(h.current="",a==null||a(!1))}),v=de(w=>{const S=w.relatedTarget,R=p.select("domReferenceElement"),C=p.select("floatingElement");ve(R,S)||ve(C,S)||(y.clear(),h.current="",g.current=m.current,a==null||a(!1))});se(()=>{!f&&d!==null||(y.clear(),m.current=null,h.current!==""&&(h.current=""))},[f,d,y]);const x=c.useMemo(()=>({onKeyDown:b,onBlur:v}),[b,v]);return c.useMemo(()=>l?{reference:x,floating:x}:{},[l,x])}const dl=.1,Rb=dl*dl,Ve=.5;function vr(e,t,n,o,r,s){return o>=t!=s>=t&&e<=(r-n)*(t-o)/(s-o)+n}function xr(e,t,n,o,r,s,i,a,l,u){let d=!1;return vr(e,t,n,o,r,s)&&(d=!d),vr(e,t,r,s,i,a)&&(d=!d),vr(e,t,i,a,l,u)&&(d=!d),vr(e,t,l,u,n,o)&&(d=!d),d}function kb(e,t,n){return e>=n.x&&e<=n.x+n.width&&t>=n.y&&t<=n.y+n.height}function wr(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 La(e={}){const{blockPointerEvents:t=!1}=e,n=new At,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,h=null,g=typeof performance<"u"?performance.now():0;function m(v,x){const w=performance.now(),S=w-g;if(y===null||h===null||S===0)return y=v,h=x,g=w,!1;const R=v-y,C=x-h,k=R*R+C*C,T=S*S*Rb;return y=v,h=x,g=w,k<T}function b(){n.clear(),l()}return function(x){n.clear();const w=a.domReference,S=a.floating;if(!w||!S||p==null||r==null||s==null)return;const{clientX:R,clientY:C}=x,k=nt(x),T=x.type==="mouseleave",E=ve(S,k),A=ve(w,k);if(E&&(f=!0,!T))return;if(A&&(f=!1,!T)){f=!0;return}if(T&&Oe(x.relatedTarget)&&ve(S,x.relatedTarget))return;function O(){return!!(d&&Sn(d.nodesRef.current,u).length>0)}function N(){O()||b()}if(O())return;const D=w.getBoundingClientRect(),P=S.getBoundingClientRect(),V=r>P.right-P.width/2,L=s>P.bottom-P.height/2,I=P.width>D.width,_=P.height>D.height,M=(I?D:P).left,F=(I?D:P).right,H=(_?D:P).top,$=(_?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=wr(R,C,M,D.top+1,F,P.bottom-1);break;case"bottom":U=wr(R,C,M,P.top+1,F,D.bottom-1);break;case"left":U=wr(R,C,P.right-1,$,D.left+1,H);break;case"right":U=wr(R,C,D.right-1,$,P.left+1,H);break}if(U)return;if(f&&!kb(R,C,D)){N();return}if(!T&&m(R,C)){N();return}let G=!1;switch(p){case"top":{const z=I?Ve/2:Ve*4,K=I||V?r+z:r-z,j=I?r-z:V?r+z:r-z,X=s+Ve+1,ue=V||I?P.bottom-Ve:P.top,ne=V?I?P.bottom-Ve:P.top:P.bottom-Ve;G=xr(R,C,K,X,j,X,P.left,ue,P.right,ne);break}case"bottom":{const z=I?Ve/2:Ve*4,K=I||V?r+z:r-z,j=I?r-z:V?r+z:r-z,X=s-Ve,ue=V||I?P.top+Ve:P.bottom,ne=V?I?P.top+Ve:P.bottom:P.top+Ve;G=xr(R,C,K,X,j,X,P.left,ue,P.right,ne);break}case"left":{const z=_?Ve/2:Ve*4,K=_||L?s+z:s-z,j=_?s-z:L?s+z:s-z,X=r+Ve+1,ue=L||_?P.right-Ve:P.left,ne=L?_?P.right-Ve:P.left:P.right-Ve;G=xr(R,C,ue,P.top,ne,P.bottom,X,K,X,j);break}case"right":{const z=_?Ve/2:Ve*4,K=_||L?s+z:s-z,j=_?s-z:L?s+z:s-z,X=r-Ve,ue=L||_?P.left+Ve:P.right,ne=L?_?P.left+Ve:P.right:P.left+Ve;G=xr(R,C,X,K,X,j,ue,P.top,ne,P.bottom);break}}G?f||n.start(40,N):N()}};return o.__options={...e,blockPointerEvents:t},o}const Fd=c.createContext(void 0);function Qo(e){const t=c.useContext(Fd);if(t===void 0&&!e)throw new Error(Ae(47));return t}const Cb={...Os,disabled:e=>e.disabled,instantType:e=>e.instantType,openMethod:e=>e.openMethod,openChangeReason:e=>e.openChangeReason,modal:e=>e.modal,focusManagerModal:e=>e.focusManagerModal,stickIfOpen:e=>e.stickIfOpen,titleElementId:e=>e.titleElementId,descriptionElementId:e=>e.descriptionElementId,openOnHover:e=>e.openOnHover,closeDelay:e=>e.closeDelay,adaptiveOrigin:e=>e.adaptiveOrigin};class Eb extends xo{constructor(n,o,r){const s=new wo;super(Pb(n,s,o,r),Mb(s),Cb);Ne(this,"setOpen",(n,o)=>{var p,f;const r=o.reason===Je,s=o.reason===Lt&&o.event.detail===0,i=!n&&(o.reason===Yo||o.reason==null),a=Ta(o),l=this.select("activeTriggerId");if(!n&&o.reason===Gu&&o.trigger==null&&l!=null&&(o.trigger=this.context.triggerElements.getById(l)??this.select("activeTriggerElement")??void 0),(f=(p=this.context).onOpenChange)==null||f.call(p,n,o),o.isCanceled)return;this.state.floatingRootContext.dispatchOpenChange(n,o);const u=()=>{const y={open:n,openChangeReason:o.reason};Cs(y,n,o.trigger,a()),this.update(y)};r?(this.set("stickIfOpen",!0),this.context.stickIfOpenTimeout.start(ld,()=>{this.set("stickIfOpen",!1)}),It.flushSync(u)):u();let d;s?d="click":i?d="dismiss":o.reason===vn&&(d="focus"),this.set("instantType",d)})}}function Pb(e,t,n,o=!1){const r={...Is(),disabled:!1,modal:!1,focusManagerModal:!1,instantType:void 0,openMethod:null,openChangeReason:null,titleElementId:void 0,descriptionElementId:void 0,stickIfOpen:!0,openOnHover:!1,closeDelay:0,adaptiveOrigin:void 0,...e};return r.open&&(e==null?void 0:e.mounted)===void 0&&(r.mounted=!0),r.floatingRootContext=Ia(t,n,o),r}function Mb(e){return{popupRef:c.createRef(),onOpenChange:void 0,onOpenChangeComplete:void 0,triggerFocusTargetRef:c.createRef(),beforeContentFocusGuardRef:c.createRef(),stickIfOpenTimeout:new At,triggerElements:e}}function fl({props:e}){const{children:t,open:n,defaultOpen:o=!1,onOpenChange:r,onOpenChangeComplete:s,modal:i=!1,handle:a,triggerId:l,defaultTriggerId:u=null}=e,d=Tb(a,{modal:i,open:o,openProp:n,activeTriggerId:u,triggerIdProp:l});d.useControlledProp("openProp",n),d.useControlledProp("triggerIdProp",l);const p=d.useState("open"),f=d.useState("mounted"),y=d.useState("payload");d.useContextCallback("onOpenChange",r),d.useContextCallback("onOpenChangeComplete",s),Od(d,p),Ps(d);const{forceUnmount:h}=Ms(p,d,()=>{d.update({stickIfOpen:!0,openChangeReason:null})});d.useSyncedValues({modal:i}),c.useEffect(()=>{p||d.context.stickIfOpenTimeout.clear()},[d,p]),c.useImperativeHandle(e.actionsRef,()=>({unmount:h,close:()=>d.setOpen(!1,Re(hs))}),[h,d]);const g=p||f;return q.jsxs(Fd.Provider,{value:d,children:[a&&q.jsx(ks,{handle:a,store:d}),g&&q.jsx(Ib,{store:d,modal:i}),typeof t=="function"?t({payload:y}):t]})}function FC(e){return Qo(!0)?q.jsx(fl,{props:e}):q.jsx(bd,{children:q.jsx(fl,{props:e})})}function Tb(e,t){const n=Ma((o,r)=>new Eb(t,o,r));return c.useEffect(()=>n.context.stickIfOpenTimeout.disposeEffect(),[n]),n}function Ib({store:e,modal:t}){const n=e.useState("floatingRootContext"),o=Ko(n,{outsidePressEvent:{mouse:t==="trap-focus"?"sloppy":"intentional",touch:"sloppy"}}),r=o.reference,s=o.floating;return Ts(e,{activeTriggerProps:r,inactiveTriggerProps:r,popupProps:s}),null}let ts=(function(e){return e.startingStyle="data-starting-style",e.endingStyle="data-ending-style",e})({});const Ob={"data-starting-style":""},Ab={"data-ending-style":""},zt={transitionStatus(e){return e==="starting"?Ob:e==="ending"?Ab:null}};(function(e){return e.open="data-open",e.closed="data-closed",e[e.startingStyle=ts.startingStyle]="startingStyle",e[e.endingStyle=ts.endingStyle]="endingStyle",e.anchorHidden="data-anchor-hidden",e.side="data-side",e.align="data-align",e})({});const Nb={"data-popup-open":""},Db={"data-popup-open":"","data-pressed":""},_b={"data-open":""},Lb={"data-closed":""},Fb={"data-anchor-hidden":""},Ds={open(e){return e?Nb:null}},Bo={open(e){return e?Db:null}},_s={open(e){return e?_b:Lb},anchorHidden(e){return e?Fb:null}},Ls={..._s,...zt},zb=300;function et(e){return Rn(e,"base-ui")}function zd(e,t){const n=c.useRef(null);function o(s){It.flushSync(()=>{e.setOpen(!1,Re(vn,s.nativeEvent,s.currentTarget))});const i=Q0(n.current);i==null||i.focus()}function r(s){var a;const i=e.select("positionerElement");if(i&&oo(s,i))(a=e.context.beforeContentFocusGuardRef.current)==null||a.focus();else{It.flushSync(()=>{e.setOpen(!1,Re(vn,s.nativeEvent,s.currentTarget))});let l=Z0(e.context.triggerFocusTargetRef.current||t.current);for(;l!==null&&ve(i,l);){const u=l;if(l=xa(l),l===u)break}l==null||l.focus()}}return{preFocusGuardRef:n,handlePreFocusGuardFocus:o,handleFocusTargetFocus:r}}function Vb(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 Jo(e,t){const n=c.useRef(e),o=de(t);se(()=>{n.current!==e&&o(n.current),n.current=e},[e,o])}function Fa(e,t){const n=de((s,i)=>{(typeof e=="function"?e():e)||t(i||(ls?"touch":""))}),{onClick:o,onPointerDown:r}=Vb(n);return c.useMemo(()=>({onClick:o,onPointerDown:r}),[o,r])}function Vd(e){const[t,n]=c.useState(null),o=Fa(e,n);return Jo(e,r=>{r&&!e&&n(null)}),c.useMemo(()=>({openMethod:t,triggerProps:o}),[t,o])}const zC=c.forwardRef(function(t,n){const{render:o,className:r,style:s,disabled:i=!1,nativeButton:a=!0,handle:l,payload:u,openOnHover:d=!1,delay:p=zb,closeDelay:f=0,id:y,...h}=t,g=Qo(!0),b=As(l)??g;if(!b)throw new Error(Ae(74));const v=et(y),x=b.useState("isTriggerActive",v),w=b.useState("floatingRootContext"),S=b.useState("isOpenedByTrigger",v),R=b.useState("triggerPopupId",v),C=c.useRef(null),{registerTrigger:k,isMountedByThisTrigger:T}=Es(v,C,b,{payload:u,disabled:i,openOnHover:d,closeDelay:f}),E=b.useState("openChangeReason"),A=b.useState("stickIfOpen"),O=b.useState("openMethod"),N=b.useState("focusManagerModal"),D=_a(w,{enabled:!i&&d&&(O!=="touch"||E!==Lt),mouseOnly:!0,move:!1,handleClose:La(),restMs:p,delay:{close:f},triggerElementRef:C,isActiveTrigger:x,isClosing:()=>b.select("transitionStatus")==="ending"}),P=vs(w,{stickIfOpen:A}),V=Fa(()=>b.select("open"),K=>{b.set("openMethod",K)}),L=b.useState("triggerProps",T),{getButtonProps:I,buttonRef:_}=St({disabled:i,native:a}),M={open(K){return K&&E===Lt?Bo.open(K):Ds.open(K)}},{preFocusGuardRef:F,handlePreFocusGuardFocus:H,handleFocusTargetFocus:$}=zd(b,C),G=Se("button",t,{state:{disabled:i,open:S},ref:[_,n,k,C],props:[P.reference,D,L,V,{[wa]:"",id:v,"aria-haspopup":"dialog","aria-expanded":S,"aria-controls":R},h,I],stateAttributesMapping:M}),z=q.jsx(c.Fragment,{children:G},v);return T&&!N?q.jsxs(c.Fragment,{children:[q.jsx(xn,{ref:F,onFocus:H}),z,q.jsx(xn,{ref:b.context.triggerFocusTargetRef,onFocus:$})]}):z}),$d=c.createContext(void 0);function $b(){const e=c.useContext($d);if(e===void 0)throw new Error(Ae(45));return e}const VC=c.forwardRef(function(t,n){const{keepMounted:o=!1,...r}=t;return Qo().useState("mounted")||o?q.jsx($d.Provider,{value:o,children:q.jsx(ys,{ref:n,...r})}):null});function er(e){return ia(19)?e:e?"true":void 0}const Hd=c.createContext(void 0);function Hb(){const e=c.useContext(Hd);if(!e)throw new Error(Ae(46));return e}const jb=c.createContext(void 0);function So(){const e=c.useContext(jb);return(e==null?void 0:e.direction)??"ltr"}const Bb=e=>({name:"arrow",options:e,async fn(t){var _,M;const{x:n,y:o,placement:r,rects:s,platform:i,elements:a,middlewareData:l}=t,{element:u,padding:d=0,offsetParent:p="real"}=wn(e,t)||{};if(u==null)return{};const f=Zu(d),y={x:n,y:o},h=ba(r),g=ya(h),m=await i.getDimensions(u),b=h==="y",v=b?"top":"left",x=b?"bottom":"right",w=b?"clientHeight":"clientWidth",S=s.reference[g]+s.reference[h]-y[h]-s.floating[g],R=y[h]-s.reference[h],C=p==="real"?await((_=i.getOffsetParent)==null?void 0:_.call(i,u)):a.floating;let k=a.floating[w]||s.floating[g];(!k||!await((M=i.isElement)==null?void 0:M.call(i,C)))&&(k=a.floating[w]||s.floating[g]);const T=S/2-R/2,E=k/2-m[g]/2-1,A=Math.min(f[v],E),O=Math.min(f[x],E),N=A,D=k-m[g]-O,P=k/2-m[g]/2+T,V=Ku(N,P,D),L=!l.arrow&&Cn(r)!=null&&P!==V&&s.reference[g]/2-(P<N?A:O)-m[g]/2<0,I=L?P<N?P-N:P-D:0;return{[h]:y[h]+I,data:{[h]:V,centerOffset:P-V-I,...L&&{alignmentOffset:I}},reset:L}}}),Wb=(e,t)=>({...Bb(e),options:[e,t]}),Ub={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}}}},Gb={sideX:"left",sideY:"top"},pl="--available-width",hl="--available-height";function jd(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 gl(e,t,n){const{rects:o,placement:r}=e;return{side:jd(t,Tt(r),n),align:Cn(r)||"center",anchor:{width:o.reference.width,height:o.reference.height},positioner:{width:o.floating.width,height:o.floating.height}}}function Fs(e){return qb(e,yb)}function qb(e,t){var Ke,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:h=!1,floatingRootContext:g,mounted:m,collisionAvoidance:b,shift:v,nodeId:x,adaptiveOrigin:w,lazyFlip:S=!1,externalTree:R}=e,[C,k]=c.useState(null);!m&&C!==null&&k(null);const T=b.side||"flip",E=b.align||"flip",A=b.fallbackAxisSide||"end",O=(v==null?void 0:v.crossAxis)??!1,N=v==null?void 0:v.rootBoundary,D=typeof n=="function"?n:void 0,P=de(D),V=D?P:n,L=Ze(n),I=Ze(m),M=So()==="rtl",F=C||{top:"top",right:"right",bottom:"bottom",left:"left","inline-end":M?"left":"right","inline-start":M?"right":"left"}[r],H=i==="center"?F:`${F}-${i}`;let $=u;typeof $=="number"?$={top:$,right:$,bottom:$,left:$}:$&&($={top:$.top||0,right:$.right||0,bottom:$.bottom||0,left:$.left||0});const U=1,G=r==="bottom"?U:0,z=r==="top"?U:0,K=r==="right"?U:0,j=r==="left"?U:0,X={boundary:l==="clipping-ancestors"?"clippingAncestors":l,padding:$},ue=c.useRef(null),ne=Ze(s),te=Ze(a),ee=typeof s!="function"?s:0,Y=typeof a!="function"?a:0,re=[];y&&re.push(y),re.push(G1(we=>{const De=gl(we,r,M),Qe=typeof ne.current=="function"?ne.current(De):ne.current,ot=typeof te.current=="function"?te.current(De):te.current;return{mainAxis:Qe,crossAxis:ot,alignmentAxis:ot}},[ee,Y,M,r]));const ge=E==="none"&&T!=="shift",ce=!ge&&(d||O||T==="shift"),pe=T==="none"?null:X1({...X,padding:{top:$.top+U+G,right:$.right+U+j,bottom:$.bottom+U+z,left:$.left+U+K},mainAxis:!O&&T==="flip",crossAxis:E==="flip"?"alignment":!1,fallbackAxisSideDirection:A}),ie=ge?null:q1({...X,rootBoundary:N,mainAxis:E!=="none",crossAxis:ce,limiter:d||O?void 0:Y1(we=>{if(!ue.current)return{};const{width:De,height:Qe}=ue.current.getBoundingClientRect(),ot=Mt(Tt(we.placement)),yt=ot==="y"?De:Qe,bt=ot==="y"?$.left+$.right:$.top+$.bottom;return{offset:yt/2+bt/2}})},[X,d,O,N,$,E]);T==="shift"||E==="shift"||i==="center"?re.push(ie,pe):re.push(pe,ie),re.push(K1({...X,apply({elements:{floating:we},availableWidth:De,availableHeight:Qe,rects:ot}){if(!I.current)return;const yt=we.style;yt.setProperty(pl,`${De}px`),yt.setProperty(hl,`${Qe}px`);const bt=je(we).devicePixelRatio||1,{x:Kt,y:lt,width:ht,height:Pe}=ot.reference,ze=(Math.round((Kt+ht)*bt)-Math.round(Kt*bt))/bt,kt=(Math.round((lt+Pe)*bt)-Math.round(lt*bt))/bt;yt.setProperty("--anchor-width",`${ze}px`),yt.setProperty("--anchor-height",`${kt}px`)}}),Wb(we=>({element:ue.current||Te(we.elements.floating).createElement("div"),padding:p,offsetParent:"floating"}),[p]),{name:"transformOrigin",fn(we){var mc,yc,bc;const{elements:De,middlewareData:Qe,placement:ot,rects:yt,y:bt}=we,Kt=Tt(ot),lt=Mt(Kt),ht=ue.current,Pe=((mc=Qe.arrow)==null?void 0:mc.x)||0,ze=((yc=Qe.arrow)==null?void 0:yc.y)||0,kt=(ht==null?void 0:ht.clientWidth)||0,$t=(ht==null?void 0:ht.clientHeight)||0,Et=Pe+kt/2,Ht=ze+$t/2,ur=Math.abs(((bc=Qe.shift)==null?void 0:bc.y)||0),Eo=yt.reference.height/2,On=typeof s=="function"?s(gl(we,r,M)):s,dr=ur>On,Up={top:`${Et}px calc(100% + ${On}px)`,bottom:`${Et}px ${-On}px`,left:`calc(100% + ${On}px) ${Ht}px`,right:`${-On}px ${Ht}px`}[Kt],Gp=`${Et}px ${yt.reference.y+Eo-bt}px`;return De.floating.style.setProperty("--transform-origin",ce&<==="y"&&dr?Gp:Up),{}}},Ub,w),se(()=>{!m&&g&&g.update({referenceElement:null,floatingElement:null,domReferenceElement:null,positionReference:null})},[m,g]);const me=c.useMemo(()=>({elementResize:!f&&typeof ResizeObserver<"u",layoutShift:!f&&typeof IntersectionObserver<"u"}),[f]),{refs:fe,elements:oe,x:le,y:W,middlewareData:Z,update:ae,placement:J,context:Q,isPositioned:he,floatingStyles:xe}=t({rootContext:g,open:h?m:void 0,placement:H,middleware:re,strategy:o,whileElementsMounted:h?void 0:(...we)=>ol(...we,me),nodeId:x,externalTree:R}),{sideX:Le,sideY:Ue}=Z.adaptiveOrigin||Gb,Xe=he?o:"fixed",st=c.useMemo(()=>{let we;return he?w?we={position:Xe,[Le]:le,[Ue]:W}:we={...xe,position:Xe}:we={position:Xe,top:0,left:0},we[pl]="100vw",we[hl]="100vh",he||(we.opacity=0),we},[w,Xe,Le,le,Ue,W,xe,he]),Fe=c.useRef(null);se(()=>{if(!m)return;const we=L.current,De=typeof we=="function"?we():we,ot=(ml(De)?De.current:De)||null||null;ot!==Fe.current&&(fe.setPositionReference(ot),Fe.current=ot)},[m,fe,V,L]),c.useEffect(()=>{if(!m)return;const we=L.current;typeof we!="function"&&ml(we)&&we.current!==Fe.current&&(fe.setPositionReference(we.current),Fe.current=we.current)},[m,fe,V,L]),c.useEffect(()=>{if(h&&m&&oe.reference&&oe.floating)return ol(oe.reference,oe.floating,ae,me)},[h,m,oe,ae,me]);const tt=Tt(J),ct=jd(r,tt,M),ke=Cn(J)||"center",Be=!!((Ke=Z.hide)!=null&&Ke.referenceHidden);se(()=>{S&&m&&he&&tt!==F&&k(tt)},[S,m,he,tt,F]);const Ye=c.useMemo(()=>{var we,De;return{position:"absolute",top:(we=Z.arrow)==null?void 0:we.y,left:(De=Z.arrow)==null?void 0:De.x}},[Z.arrow]),We=((pt=Z.arrow)==null?void 0:pt.centerOffset)!==0;return c.useMemo(()=>({positionerStyles:st,arrowStyles:Ye,arrowRef:ue,arrowUncentered:We,side:ct,align:ke,physicalSide:tt,anchorHidden:Be,refs:fe,context:Q,isPositioned:he,update:ae}),[st,Ye,ue,We,ct,ke,tt,Be,fe,Q,he,ae])}function ml(e){return e!=null&&"current"in e}const zs=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 q.jsx("div",{ref:n,role:"presentation","data-base-ui-inert":"",...r,style:{position:"fixed",inset:0,userSelect:"none",WebkitUserSelect:"none",clipPath:s}})});function tr(e){return e==="starting"?r1:He}function Vs(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},tr(o),r],stateAttributesMapping:_s})}let yl={},bl={},vl="";function $s(e,t){return qo(e)?e:t}function xl(e,t,n){return/hidden|clip/.test(e.getComputedStyle($s(t,n)).overflowY)}function Yb(e){if(typeof document>"u")return!1;const t=Te(e);return je(t).innerWidth-t.documentElement.clientWidth>0}function Xb(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=$s(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 Kb(e){const t=Te(e),n=t.documentElement,o=t.body,r=$s(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 Zb(e){var y;const t=Te(e),n=t.documentElement,o=t.body,r=je(n);let s=0,i=0,a=!1;const l=vt.create();if(Yt&&(((y=r.visualViewport)==null?void 0:y.scale)??1)!==1)return()=>{};function u(){const h=r.getComputedStyle(n),g=r.getComputedStyle(o),v=(h.scrollbarGutter||"").includes("both-edges")?"stable both-edges":"stable";s=n.scrollTop,i=n.scrollLeft,yl={scrollbarGutter:n.style.scrollbarGutter,overflowY:n.style.overflowY,overflowX:n.style.overflowX},vl=n.style.scrollBehavior,bl={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 x=n.scrollHeight>n.clientHeight,w=n.scrollWidth>n.clientWidth,S=h.overflowY==="scroll"||g.overflowY==="scroll",R=h.overflowX==="scroll"||g.overflowX==="scroll",C=Math.max(0,r.innerWidth-o.clientWidth),k=Math.max(0,r.innerHeight-o.clientHeight),T=parseFloat(g.marginTop)+parseFloat(g.marginBottom),E=parseFloat(g.marginLeft)+parseFloat(g.marginRight),A=$s(n,o);if(a=Xb(e),a){n.style.scrollbarGutter=v,A.style.overflowY="hidden",A.style.overflowX="hidden";return}Object.assign(n.style,{scrollbarGutter:v,overflowY:"hidden",overflowX:"hidden"}),(x||S)&&(n.style.overflowY="scroll"),(w||R)&&(n.style.overflowX="scroll"),Object.assign(o.style,{position:"relative",height:T||k?`calc(100dvh - ${T+k}px)`:"100dvh",width:E||C?`calc(100vw - ${E+C}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,yl),Object.assign(o.style,bl),a||(n.scrollTop=s,n.scrollLeft=i,n.removeAttribute("data-base-ui-scroll-locked"),n.style.scrollBehavior=vl)}function p(){d(),l.request(u)}u();const f=Me(r,"resize",p);return()=>{l.cancel(),d(),typeof r.removeEventListener=="function"&&f()}}class Qb{constructor(){Ne(this,"lockCount",0);Ne(this,"restore",null);Ne(this,"timeoutLock",At.create());Ne(this,"timeoutUnlock",At.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=je(o);if(xl(s,o,r)){const a=new s.MutationObserver(()=>{xl(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=ls||!Yb(t);this.restore=i?Kb(t):Zb(t)}}const Jb=new Qb;function Bd(e=!0,t=null){se(()=>{if(e)return Jb.acquire(t)},[e,t])}const ev=20;function za(e,t,n,o){const[r,s]=c.useState(!1);se(()=>{if(!e||!t||n==null){s(!1);return}const i=Te(n).documentElement.clientWidth,a=n.offsetWidth;s(i>0&&a>0&&a>=i-ev)},[e,t,n]),Bd(e&&(!t||r),o)}const $C=c.forwardRef(function(t,n){const{render:o,className:r,style:s,anchor:i,positionMethod:a,side:l,align:u,sideOffset:d,alignOffset:p,collisionBoundary:f="clipping-ancestors",collisionPadding:y,arrowPadding:h,sticky:g,disableAnchorTracking:m=!1,collisionAvoidance:b=Sa,...v}=t,x=Qo(),w=$b(),S=ka(),R=x.useState("floatingRootContext"),C=x.useState("mounted"),k=x.useState("open"),T=x.useState("openChangeReason"),E=x.useState("activeTriggerElement"),A=x.useState("modal"),O=x.useState("openMethod"),N=x.useState("positionerElement"),D=x.useState("instantType"),P=x.useState("transitionStatus"),V=x.useState("adaptiveOrigin"),L=c.useRef(null),I=Rs(N),_=Fs({anchor:i,floatingRootContext:R,positionMethod:a,mounted:C,side:l,sideOffset:d,align:u,alignOffset:p,arrowPadding:h,collisionBoundary:f,collisionPadding:y,sticky:g,disableAnchorTracking:m,keepMounted:w,nodeId:S,collisionAvoidance:b,adaptiveOrigin:V}),M=R.useState("domReferenceElement");se(()=>{const G=M,z=L.current;if(G&&(L.current=G),z&&G&&G!==z){x.set("instantType",void 0);const K=new AbortController;return I(()=>{x.set("instantType","trigger-change")},K.signal),()=>{K.abort()}}},[M,I,x]);const F=A===!0&&T!==Je;za(k&&F,O==="touch",N,E);const H=x.useStateSetter("positionerElement"),$={open:k,side:_.side,align:_.align,anchorHidden:_.anchorHidden,instant:D},U=Vs(t,$,{styles:_.positionerStyles,transitionStatus:P,props:v,refs:[n,H],hidden:!C,inert:!k});return q.jsxs(Hd.Provider,{value:_,children:[C&&F&&q.jsx(zs,{inert:er(!k),cutout:E}),q.jsx(yd,{id:S,children:U})]})}),Ai="ArrowUp",Ni="ArrowDown",Di="ArrowLeft",_i="ArrowRight",Li="Home",Fi="End",nr=new Set([Ai,Ni,Di,_i,Li,Fi]),Wd="Shift",tv=[Wd,"Control","Alt","Meta"];function nv(e){return _e(e)&&e.tagName==="INPUT"}function wl(e){return!!(nv(e)&&e.selectionStart!=null||_e(e)&&e.tagName==="TEXTAREA")}function Sl(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=Rl(e,t,"left"),u=Sr(e),d=Sr(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=Rl(e,t,"top"),u=Sr(e),d=Sr(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 Rl(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 Sr(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}}const ov=c.createContext(void 0);function Hs(e){return c.useContext(ov)}const rv=c.createContext(void 0);function sv(){const[e,t]=c.useState(0),n=de(()=>(t(r=>r+1),()=>{t(r=>Math.max(0,r-1))}));return{context:c.useMemo(()=>({register:n}),[n]),hasClosePart:e>0}}const HC=c.forwardRef(function(t,n){const{render:o,className:r,style:s,initialFocus:i,finalFocus:a,...l}=t,u=Qo(),d=Hb(),p=Hs()!=null,{context:f,hasClosePart:y}=sv(),h=u.useState("open"),g=u.useState("openMethod"),m=u.useState("instantType"),b=u.useState("transitionStatus"),v=u.useState("popupProps"),x=u.useState("titleElementId"),w=u.useState("descriptionElementId"),S=u.useState("modal"),R=u.useState("mounted"),C=u.useState("openChangeReason"),k=u.useState("activeTriggerElement"),T=u.useState("floatingRootContext"),E=T.useState("floatingId"),A=u.useState("disabled"),O=u.useState("openOnHover"),N=u.useState("closeDelay");Rt({open:h,ref:u.context.popupRef,onComplete(){var _,M;h&&((M=(_=u.context).onOpenChangeComplete)==null||M.call(_,!0))}}),Da(T,{enabled:O&&!A,closeDelay:N});const D=i===void 0?Id(u.context.popupRef):i,P=S!==!1&&y;u.useSyncedValue("focusManagerModal",P);const V=u.useStateSetter("popupElement"),L={open:h,side:d.side,align:d.align,instant:m,transitionStatus:b},I=Se("div",t,{state:L,ref:[n,u.context.popupRef,V],props:[v,{id:E,role:"dialog",...Zo,"aria-labelledby":x,"aria-describedby":w,onKeyDown(_){p&&nr.has(_.key)&&_.stopPropagation()}},tr(b),l],stateAttributesMapping:Ls});return q.jsx(bs,{context:T,openInteractionType:g,modal:P,disabled:!R||C===Je,initialFocus:D,returnFocus:a,restoreFocus:"popup",previousFocusableElement:_e(k)?k:void 0,nextFocusableElement:u.context.triggerFocusTargetRef,beforeContentFocusGuardRef:u.context.beforeContentFocusGuardRef,children:q.jsx(rv.Provider,{value:f,children:I})})});function iv(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 kl(e){const t=xt(e);let n=parseFloat(t.width)||0,o=parseFloat(t.height)||0;const r=_e(e),s=r?e.offsetWidth:n,i=r?e.offsetHeight:o;return(fo(n)!==s||fo(o)!==i)&&(n=s,o=i),{width:n,height:o}}const av={badInput:!1,customError:!1,patternMismatch:!1,rangeOverflow:!1,rangeUnderflow:!1,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valid:null,valueMissing:!1},cv={valid:null,touched:!1,dirty:!1,filled:!1,focused:!1},lv={disabled:!1,...cv},Ro={valid(e){return e===null?null:e?{"data-valid":""}:{"data-invalid":""}}},zi={checked(e){return e?{"data-checked":""}:{"data-unchecked":""}},...zt,...Ro},Va="data-composite-item-active",Ud=c.createContext({register:()=>{},unregister:()=>{},subscribeMapChange:()=>()=>{},nextIndexRef:{current:0}});function uv(){return c.useContext(Ud)}function or(e={}){const{guess:t,label:n,metadata:o,textRef:r,index:s}=e,{register:i,unregister:a,subscribeMapChange:l,nextIndexRef:u}=uv(),d=c.useRef(-1),[p,f]=c.useState(s==null&&t?()=>{if(d.current===-1){const m=u.current;u.current+=1,d.current=m}return d.current}:-1),y=s??p,h=c.useRef(null),g=c.useCallback(m=>{const b=h.current;b&&a(b),h.current=m,m&&i(m,{metadata:o??null,index:s??null,label:n,textRef:r})},[s,i,a,o,n,r]);return se(()=>{if(s==null)return l(m=>{var v;const b=h.current?(v=m.get(h.current))==null?void 0:v.index:null;b!=null&&f(b)})},[s,l]),{ref:g,index:y}}function Gd(e={}){const{highlightItemOnHover:t,highlightedIndex:n,onHighlightedIndexChange:o}=as(),{ref:r,index:s}=or(e),i=n===s,a=c.useRef(null),l=Ot(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 $a(e){const{render:t,className:n,style:o,state:r=He,props:s=_t,refs:i=_t,metadata:a,stateAttributesMapping:l,tag:u="div",...d}=e,{compositeProps:p,compositeRef:f}=Gd({metadata:a});return Se(u,e,{state:r,ref:[f,...i],props:[p,...s,d],stateAttributesMapping:l})}const dv={invalid:void 0,name:void 0,validityData:{state:av,errors:[],error:"",value:"",initialValue:null},setValidityData:Ge,disabled:void 0,setTouched:Ge,setDirty:Ge,setFilled:Ge,setFocused:Ge,validationMode:"onSubmit",shouldValidateOnChange:()=>!1,state:lv,registerFieldControl:Ge,validation:{getValidationProps:(e,t=He)=>t,inputRef:{current:null},registeredInputs:new Map,registerInput:Ge,getInputControl:()=>null,commit:async()=>{},change:Ge}},fv=c.createContext(dv);function Mn(e=!0){const t=c.useContext(fv);if(t.setValidityData===Ge&&!e)throw new Error(Ae(28));return t}const pv=c.createContext({disabled:!1});function qd(){return c.useContext(pv)}const hv=c.createContext({controlId:void 0,registerControlId:Ge,labelId:void 0,setLabelId:Ge,messageIds:[],setMessageIds:Ge,getDescriptionProps:e=>e});function jn(){return c.useContext(hv)}function Ha(e,t,n,o=!0,r){const[s,i]=c.useState(),a=et(r?`${r}-label`:void 0),l=e??t??s;return se(()=>{const u=e||t||!o?void 0:gv(n.current,a);s!==u&&i(u)}),l}function gv(e,t){const n=mv(e);if(n)return!n.id&&t&&(n.id=t),n.id||void 0}function mv(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]}function rr(e={}){const{id:t,implicit:n=!1,controlRef:o}=e,{controlId:r,registerControlId:s}=jn(),i=et(t),a=n?r:void 0,l=at(()=>Symbol()),u=c.useRef(!1),d=c.useRef(t!=null),p=de(()=>{!u.current||s===Ge||(u.current=!1,s(l.current,void 0))});return se(()=>{if(s===Ge)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 Yd=c.createContext(void 0);function yv(){return c.useContext(Yd)}function ns(e){if(e==null)return"";if(typeof e=="string")return e;try{return JSON.stringify(e)}catch{return String(e)}}const Xd=c.createContext(void 0);function bv(){const e=c.useContext(Xd);if(e===void 0)throw new Error(Ae(52));return e}const jC=c.forwardRef(function(t,n){const{render:o,className:r,disabled:s=!1,readOnly:i=!1,required:a=!1,"aria-labelledby":l,value:u,inputRef:d,nativeButton:p=!1,id:f,style:y,...h}=t,g=yv(),{disabled:m,readOnly:b,required:v,form:x,checkedValue:w,touched:S=!1,validation:R,name:C,setCheckedValue:k=Ge,setTouched:T=Ge,registerInputRef:E=Ge}=g??{},{setTouched:A,setFilled:O,state:N,disabled:D}=Mn(),P=qd(),{labelId:V,getDescriptionProps:L}=jn(),I=D||P.disabled||m||s,_=b||i,M=v||a,F=x,H=g?w===u:u==="",$=c.useRef(null),U=c.useRef(null),G=R==null?void 0:R.registerInput,z=c.useCallback(oe=>G==null?void 0:G(oe,{controlRef:$,value:void 0}),[G]),K=Ot(d,U,E,z);se(()=>{var oe;(oe=U.current)!=null&&oe.checked&&O(!0)},[O]),se(()=>{if(U.current){if(I&&H){E(null);return}E(U.current)}},[H,I,E]);const j=et(),X=rr({id:f,implicit:!1,controlRef:$}),ue=p?void 0:X,ne=Ha(l,V,U,!p,ue),te={role:"radio","aria-checked":H,"aria-labelledby":ne,[Va]:H?"":void 0,id:p?X:j,onKeyDown(oe){oe.key==="Enter"&&oe.preventDefault()},onClick(oe){if(oe.defaultPrevented||I||_)return;oe.preventDefault();const le=U.current;le&&_n(le,oe)},onFocus(oe){var le;oe.defaultPrevented||I||_||!S||((le=U.current)==null||le.click(),T(!1))}},{getButtonProps:ee,buttonRef:Y}=St({disabled:I,native:p,composite:!1}),re={type:"radio",ref:K,form:F,id:ue,name:C,tabIndex:-1,style:C?gs:vo,"aria-hidden":!0,...u!==void 0?{value:ns(u)}:He,disabled:I,checked:H,required:M,readOnly:_,onChange(oe){if(oe.nativeEvent.defaultPrevented||I||_||u===void 0)return;const le=Re(wt,oe.nativeEvent);k(u,le),!le.isCanceled&&A(!0)},onClick(oe){oe.stopPropagation()},onFocus(){var oe;(oe=$.current)==null||oe.focus()}},ge=c.useMemo(()=>({...N,required:M,disabled:I,readOnly:_,checked:H}),[N,I,_,H,M]),ce=ge,pe=g!==void 0,ie=[n,$,Y],me=[te,h,ee,L,R?oe=>R.getValidationProps(I,oe):He],fe=Se("span",t,{enabled:!pe,state:ge,ref:ie,props:me,stateAttributesMapping:zi});return q.jsxs(Xd.Provider,{value:ce,children:[pe?q.jsx($a,{tag:"span",render:o,className:r,style:y,state:ge,refs:ie,props:me,stateAttributesMapping:zi}):fe,q.jsx("input",{...re,suppressHydrationWarning:!0})]})}),BC=c.forwardRef(function(t,n){const{render:o,className:r,style:s,keepMounted:i=!1,...a}=t,l=bv(),u=l.checked,{mounted:d,transitionStatus:p,setMounted:f}=ln(u),y={...l,transitionStatus:p},h=c.useRef(null),g=i||d,m=Se("span",t,{ref:[n,h],state:y,props:a,stateAttributesMapping:zi});return Rt({open:u,ref:h,onComplete(){u||f(!1)}}),g?m:null});function Ft({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]}function js(e){const{children:t,elementsRef:n,labelsRef:o,onMapChange:r}=e,s=de(r),[,i]=c.useState(!1),a=at(xv).current,l=at(vv).current,u=c.useRef(0),d=c.useRef(!0),p=c.useRef([]),f=c.useRef(null),y=de(()=>{d.current||(d.current=!0,i(S=>!S))}),h=de((S,R)=>{l.set(S,R),y()}),g=de(S=>{l.delete(S),y()}),m=de(S=>{const R=new Map;return n.current.length=0,o&&(o.current.length=0),S.forEach(C=>{var k,T;R.set(C.element,{...C.registration.metadata??{},index:C.index}),n.current[C.index]=C.element,o&&(o.current[C.index]=C.registration.label!==void 0?C.registration.label:((T=(k=C.registration.textRef)==null?void 0:k.current)==null?void 0:T.textContent)??C.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(T=>{if(!Rv(T))return;let E=null;for(const A of S)if(A.isConnected){if(E&&Kd(E,A)>0){R.disconnect(),y();return}E=A}});f.current=R;const C=new Set;for(let T=1;T<S.length;T+=1){const E=Sv(S[T-1],S[T]);E&&C.add(E)}C.forEach(T=>R.observe(T,{childList:!0}))}const v=de(()=>{const[S,R]=wv(l),C=m(S);b(R),p.current=S,d.current=!1,a.forEach(k=>k(C)),s(C)});se(()=>(d.current||m(p.current),()=>{n.current=[],o&&(o.current=[])}),[n,o,m]),se(()=>{d.current&&v()}),se(()=>()=>{var S;(S=f.current)==null||S.disconnect(),d.current=!0},[]);const x=de(S=>(a.add(S),()=>{a.delete(S)})),w=c.useMemo(()=>({register:h,unregister:g,subscribeMapChange:x,nextIndexRef:u}),[h,g,x,u]);return q.jsx(Ud.Provider,{value:w,children:t})}function vv(){return new Map}function xv(){return new Set}function wv(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)=>Kd(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 Sv(e,t){let n=e.parentElement;for(;n&&!n.contains(t);)n=n.parentElement;return n}function Rv(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 Kd(e,t){return e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING?-1:1}function Zd(e){return e==null||e.hasAttribute("disabled")||e.getAttribute("aria-disabled")==="true"}const kv=[];function Cv(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=kv}=e,[y,h]=c.useState(0),g=o!=null,m=c.useRef(null),b=Ot(m,l),v=c.useRef([]),x=c.useRef(!1),w=i??y,S=de((E,A=!1)=>{if((a??h)(E),A){const O=v.current[E];Sl(m.current,O,s,n)}}),R=de(E=>{var D;if(E.size===0||x.current)return;x.current=!0;const A=Array.from(E.keys()),O=A.find(P=>P==null?void 0:P.hasAttribute(Va))??null,N=O?((D=E.get(O))==null?void 0:D.index)??-1:-1;if(N!==-1)S(N);else if(Zr(A,w,p)){const P=en(A,{disabledIndices:p});Lo(A,P)||S(P)}Sl(m.current,O,s,n)});se(()=>{if(p==null||i!=null||!x.current)return;const E=v.current;if(Zr(E,w,p)){const A=en(E,{disabledIndices:p});Lo(E,A)||S(A)}},[p,i,w,v,S]);const C=de((E,A,O)=>r?r(E,A,O,v):O),k=de(E=>{const A=E.key===Li||E.key===Fi;if(!nr.has(E.key)||!u&&A||Ev(E,f)||!m.current)return;const N=s==="rtl",D=N?Di:_i,P=N?_i:Di,V=n==="vertical"?Ni:D,L=n==="vertical"?Ai:P,I=nt(E.nativeEvent);if(I!=null&&wl(I)&&!Zd(I)){const U=I.selectionStart,G=I.selectionEnd,z=I.value;if(U==null||E.shiftKey||U!==G||E.key!==L&&U<z.length||E.key!==V&&U>0)return}let _=w;const M=Fr(v,p),F=Pi(v,p);o!=null&&(_=o({disabledIndices:p,elementsRef:v,event:E,highlightedIndex:w,loopFocus:t,maxIndex:F,minIndex:M,onLoop:C,orientation:n,rtl:N}));const H=n!=="vertical"&&E.key===D||n!=="horizontal"&&E.key===Ni,$=n!=="vertical"&&E.key===P||n!=="horizontal"&&E.key===Ai;u&&(E.key===Li?_=M:E.key===Fi&&(_=F)),_===w&&(H||$)&&(t&&_===F&&H?(_=M,r&&(_=r(E,w,_,v))):t&&_===M&&$?(_=F,r&&(_=r(E,w,_,v))):_=en(v.current,{startingIndex:_,decrement:$,disabledIndices:p})),_!==w&&!Lo(v.current,_)&&(d&&E.stopPropagation(),(g||A||H||$)&&E.preventDefault(),S(_,!0),queueMicrotask(()=>{var U;(U=v.current[_])==null||U.focus()}))});return{props:{ref:b,onFocus(E){const A=m.current,O=nt(E.nativeEvent);!A||O==null||!wl(O)||O.setSelectionRange(0,O.value.length)},onKeyDown:k},highlightedIndex:w,onHighlightedIndexChange:S,elementsRef:v,onMapChange:R,relayKeyboardEvent:k}}function Ev(e,t){for(const n of tv)if(!t.includes(n)&&e.getModifierState(n))return!0;return!1}function ja(e){const{render:t,className:n,style:o,refs:r=_t,props:s=_t,state:i=He,stateAttributesMapping:a,highlightedIndex:l,onHighlightedIndexChange:u,orientation:d,grid:p,loopFocus:f,onLoop:y,enableHomeAndEndKeys:h,onMapChange:g,stopEventPropagation:m=!0,rootRef:b,disabledIndices:v,modifierKeys:x,highlightItemOnHover:w=!1,tag:S="div",...R}=e,C=So(),{props:k,highlightedIndex:T,onHighlightedIndexChange:E,elementsRef:A,onMapChange:O,relayKeyboardEvent:N}=Cv({grid:p,loopFocus:f,onLoop:y,orientation:d,highlightedIndex:l,onHighlightedIndexChange:u,rootRef:b,stopEventPropagation:m,enableHomeAndEndKeys:h,direction:C,disabledIndices:v,modifierKeys:x}),D=Se(S,e,{state:i,ref:r,props:[k,...s,R],stateAttributesMapping:a}),P=c.useMemo(()=>({highlightedIndex:T,onHighlightedIndexChange:E,highlightItemOnHover:w,relayKeyboardEvent:N}),[T,E,w,N]);return q.jsx(ku.Provider,{value:P,children:q.jsx(js,{elementsRef:A,onMapChange:V=>{g==null||g(V),O(V)},children:D})})}function sr(e,t,n,o,r=!0,s){const{registerFieldControl:i}=Mn(),a=at(()=>Symbol());se(()=>{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]),se(()=>{const l=a.current;return()=>{i(l,void 0)}},[i,a])}const Pv=c.createContext({elementRef:{current:null},formRef:{current:{fields:new Map}},errors:{},clearErrors:Ge,validationMode:"onSubmit",submitAttemptedRef:{current:!1}});function ir(){return c.useContext(Pv)}function Mv(e,t){return e.matches(":disabled")?!1:!t||e.form===t?!0:e.form===null&&!e.hasAttribute("form")}const Tv=c.createContext(void 0);function Iv(e=!1){const t=c.useContext(Tv);if(!t&&!e)throw new Error(Ae(86));return t}const Ov=[Wd],WC=c.forwardRef(function(t,n){const{render:o,className:r,disabled:s,readOnly:i,required:a,onValueChange:l,value:u,defaultValue:d,form:p,name:f,inputRef:y,id:h,style:g,...m}=t,{setTouched:b,setFocused:v,validationMode:x,name:w,disabled:S,state:R,validation:C,setDirty:k,setFilled:T,validityData:E}=Mn(),{labelId:A}=jn(),{clearErrors:O,elementRef:N}=ir(),D=Iv(!0),P=S||s,V=w??f,L=et(h),[I,_]=Ft({controlled:u,default:d,name:"RadioGroup",state:"value"}),[M,F]=c.useState(!1),H=de((Y,re)=>{l==null||l(Y,re),!re.isCanceled&&_(Y)}),$=C.getInputControl,U=c.useMemo(()=>({get current(){return $()}}),[$]),G=c.useRef(null),z=c.useRef(null);function K(Y){let re;return y&&(typeof y=="function"?re=y(Y):y.current=Y),G.current=Y,re}const j=de(Y=>{if(!Y||Y.disabled)return;z.current||(z.current=Y);const re=G.current,ge=Y.checked||re==null||re.disabled?K(Y):void 0;return()=>{z.current===Y&&(z.current=null),G.current===Y?ge?(ge(),G.current=null):K(null):ge==null||ge()}}),X=de(()=>{const Y=N.current;if(!Y)return I??null;for(const re of C.registeredInputs.keys())if(re.checked&&Mv(re,Y))return I??null;return null});sr(U,L,I??null,X,!P,f),Jo(I,()=>{O(V),k(I!==E.initialValue),T(I!=null),C.change(I);const Y=z.current;I==null&&Y&&!Y.disabled&&K(Y)});const ue=A??(D==null?void 0:D.legendId),ne={...R,disabled:P??!1,required:a??!1,readOnly:i??!1},te=c.useMemo(()=>({checkedValue:I,disabled:P,form:p,validation:C,name:V,readOnly:i,registerInputRef:j,required:a,setCheckedValue:H,setTouched:F,touched:M}),[I,P,p,C,V,i,j,a,H,F,M]),ee={id:h,role:"radiogroup","aria-required":a||void 0,"aria-disabled":P||void 0,"aria-readonly":i||void 0,"aria-labelledby":ue,onFocus(){v(!0)},onBlur(Y){ve(Y.currentTarget,Y.relatedTarget)||(b(!0),v(!1),x==="onBlur"&&C.commit(I))},onKeyDownCapture(Y){Y.key.startsWith("Arrow")&&(F(!0),v(!0))}};return q.jsx(Yd.Provider,{value:te,children:q.jsx(ja,{render:o,className:r,style:g,state:ne,props:[ee,m,Y=>C.getValidationProps(P??!1,Y)],refs:[n],stateAttributesMapping:Ro,enableHomeAndEndKeys:!1,modifierKeys:Ov})})}),Qd=c.createContext(void 0);function Av(){return c.useContext(Qd)}const UC=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,...h}=t,g=et(p||void 0),m=Av(),b=(m==null?void 0:m.value)??[],v=m?void 0:r,x=(s||(m==null?void 0:m.disabled))??!1,[w,S]=Ft({controlled:m?g!==void 0&&b.indexOf(g)>-1:l,default:v,name:"Toggle",state:"pressed"}),{getButtonProps:R,buttonRef:C}=St({disabled:x,native:f}),k={disabled:x,pressed:w},T=[C,n],E=[{"aria-pressed":w,onClick(N){var V;const D=!w,P=Re(wt,N.nativeEvent);a==null||a(D,P),!P.isCanceled&&(g&&((V=m==null?void 0:m.setGroupValue)==null||V.call(m,g,D,P)),!P.isCanceled&&S(D))}},h,R],A=Se("button",t,{enabled:!m,state:k,ref:T,props:E}),O=c.useMemo(()=>({disabled:x,focusableWhenDisabled:!1}),[x]);return m?q.jsx($a,{tag:"button",render:u,className:o,style:y,metadata:O,state:k,refs:T,props:E}):A}),Nv=c.createContext(void 0);function Dv(){return c.useContext(Nv)}const GC=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,h=Hs(),g=Dv(),m=u!==void 0||o!==void 0,b=((h==null?void 0:h.disabled)??!1)||((g==null?void 0:g.disabled)??!1)||r,[v,x]=Ft({controlled:u,default:u===void 0?o??_t:void 0,name:"ToggleGroup",state:"value"}),w=de((T,E,A)=>{let O;l?(O=v.slice(),E?O.push(T):O.splice(v.indexOf(T),1)):O=E?[T]:[],i==null||i(O,A),!A.isCanceled&&x(O)}),S={disabled:b,multiple:l,orientation:a},R=c.useMemo(()=>({disabled:b,setGroupValue:w,value:v,isValueInitialized:m}),[b,w,v,m]),C={role:"group"},k=Se("div",t,{enabled:!!h,state:S,ref:n,props:[C,y]});return q.jsx(Qd.Provider,{value:R,children:h?k:q.jsx(ja,{render:p,className:d,style:f,state:S,refs:[n],props:[C,y],loopFocus:s,enableHomeAndEndKeys:!0,orientation:a})})}),qC=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 _v(e){const t=c.useRef(!0);t.current&&(t.current=!1,e())}const Jd=c.createContext(null);function Xt(){const e=c.useContext(Jd);if(e===null)throw new Error(Ae(60));return e}const Lv=(e,t)=>Object.is(e,t);function po(e,t,n){return e==null||t==null?Object.is(e,t):n(e,t)}function $r(e,t,n){return!e||e.length===0?-1:e.findIndex(o=>o===void 0?!1:po(o,t,n))}function Fv(e,t,n){return e.filter(o=>!po(t,o,n))}function ef(e){return e!=null&&e.length>0&&typeof e[0]=="object"&&e[0]!=null&&"items"in e[0]}function zv(e){if(!Array.isArray(e))return e!=null&&"null"in e;const t=e;if(ef(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 tf(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 ns(e)}function Qn(e,t){return t&&e!=null?t(e)??"":e&&typeof e=="object"&&"value"in e&&"label"in e?ns(e.value):ns(e)}function nf(e,t,n){function o(){return tf(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=ef(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 Vv(e,t,n){return e.reduce((o,r,s)=>(s>0&&o.push(", "),o.push(q.jsx(c.Fragment,{children:nf(r,t,n)},s)),o),[])}const Ee={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:Qn(t,o)!==""},hasNullItemLabel:(e,t)=>t?zv(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=>po(t,r,n)):po(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};function $v(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 Dt=1;function Ba(e,t){return Math.max(0,e-t)}function ho(e,t){if(t<=0)return 0;const n=hn(e,0,t),o=n,r=t-n,s=o<=Dt,i=r<=Dt;return s&&i?o<=r?0:t:s?0:i?t:n}function YC(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:h=!0,actionsRef:g,inputRef:m,onOpenChangeComplete:b,items:v,multiple:x=!1,itemToStringLabel:w,itemToStringValue:S,isItemEqualToValue:R=Lv,highlightItemOnHover:C=!0,children:k}=e,{clearErrors:T}=ir(),{setDirty:E,setTouched:A,setFocused:O,validityData:N,setFilled:D,name:P,disabled:V,validation:L,validationMode:I}=Mn(),_=rr({id:t}),M=V||p,F=P??l,[H,$]=Ft({controlled:n,default:x?o??_t:o,name:"Select",state:"value"}),[U,G]=Ft({controlled:s,default:i,name:"Select",state:"open"}),z=c.useRef([]),K=c.useRef([]),j=c.useRef(null),X=c.useRef(null),ue=c.useRef(0),ne=c.useRef(null),te=c.useRef([]),ee=c.useRef(!1),Y=c.useRef(null),re=c.useRef(null),ge=c.useRef({allowSelectedMouseUp:!1,allowUnselectedMouseUp:!1,dragY:0}),ce=c.useRef(!1),{mounted:pe,setMounted:ie,transitionStatus:me}=ln(U),{openMethod:fe,triggerProps:oe}=Vd(U),le=at(()=>new xo({id:_,labelId:void 0,modal:h,multiple:x,itemToStringLabel:w,itemToStringValue:S,isItemEqualToValue:R,value:H,open:U,mounted:pe,transitionStatus:me,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=Ce(le,Ee.activeIndex),Z=Ce(le,Ee.selectedIndex),ae=Ce(le,Ee.triggerElement),J=Ce(le,Ee.positionerElement),Q=iv(fe),he=fe??Q,xe=c.useMemo(()=>x?"":Qn(H,S),[x,H,S]),Le=c.useMemo(()=>x&&Array.isArray(H)?H.map(Pe=>Qn(Pe,S)):Qn(H,S),[x,H,S]),Ue=Ze(ae),Xe=de(()=>Le);sr(Ue,_,H,Xe,!M,l);const st=c.useRef(H),Fe=x?Array.isArray(H)&&H.length>0:H!=null&&xe!=="";se(()=>{D(Fe)},[Fe,D]),se(function(){let ze=H,kt=!1;if(x){const Ht=Array.isArray(H)?H:[];kt=Ht.length===0,ze=Ht[Ht.length-1]}const $t=kt?-1:$r(te.current,ze,R),Et=$t===-1?null:$t;Et===null&&(re.current=null),!U&&le.set("selectedIndex",Et)},[x,U,H,R,le]);function tt(Pe){const ze=N.initialValue;return Array.isArray(Pe)&&Array.isArray(ze)?!$v(Pe,ze,(kt,$t)=>po(kt,$t,R)):Pe!==ze}Jo(H,()=>{T(F),E(tt(H)),L.change(H)});const ct=de((Pe,ze)=>{a==null||a(Pe,ze),!ze.isCanceled&&(G(Pe),!Pe&&(ze.reason===vn||ze.reason===ps)&&(A(!0),O(!1),I==="onBlur"&&L.commit(H)))}),ke=de(()=>{ie(!1),le.update({activeIndex:null,openMethod:null,scrollUpArrowVisible:!1,scrollDownArrowVisible:!1}),b==null||b(!1)});Rt({enabled:!g,open:U,ref:j,onComplete(){U||ke()}}),c.useImperativeHandle(g,()=>({unmount:ke}),[ke]);const Be=de((Pe,ze)=>{r==null||r(Pe,ze),!ze.isCanceled&&$(Pe)}),Ye=de(Pe=>{const ze=Ba(Pe.scrollHeight,Pe.clientHeight),kt=ho(Pe.scrollTop,ze),$t=kt>0,Et=kt<ze;le.set("scrollUpArrowVisible",$t),le.set("scrollDownArrowVisible",Et)}),We=mb({open:U,onOpenChange:ct,elements:{reference:ae,floating:J}}),Ke=vs(We,{enabled:!f&&!M,event:"mousedown"}),pt=Ko(We),we=_d(We,{enabled:!f&&!M,listRef:z,activeIndex:W,selectedIndex:Z,disabledIndices:_t,onNavigate(Pe){Pe===null&&!U||le.set("activeIndex",Pe)},focusItemOnHover:C}),De=Ld(We,{enabled:!f&&!M&&(U||!x),listRef:K,activeIndex:W,selectedIndex:Z,disabledIndices:Pe=>Zd(z.current[Pe]),onMatch(Pe){U?le.set("activeIndex",Pe):Be(te.current[Pe],Re(wt))},onTyping(Pe){ee.current=Pe}}),Qe=c.useMemo(()=>Ct(De.reference,we.reference,pt.reference,Ke.reference,oe),[Ke.reference,De.reference,we.reference,pt.reference,oe]),ot=c.useMemo(()=>Ct(Zo,De.floating,we.floating,pt.floating),[De.floating,we.floating,pt.floating]),yt=we.item??He;_v(()=>{le.update({popupProps:ot,triggerProps:Qe})}),le.useSyncedValues({id:_,modal:h,multiple:x,value:H,open:U,mounted:pe,transitionStatus:me,popupProps:ot,triggerProps:Qe,items:v,itemToStringLabel:w,itemToStringValue:S,isItemEqualToValue:R,openMethod:he});const bt=c.useMemo(()=>({store:le,floatingContext:We,required:y,disabled:M,readOnly:f,multiple:x,highlightItemOnHover:C,setValue:Be,setOpen:ct,listRef:z,popupRef:j,scrollHandlerRef:X,handleScrollArrowVisibility:Ye,scrollArrowsMountedCountRef:ue,itemProps:yt,valueRef:ne,valuesRef:te,labelsRef:K,typingRef:ee,selectionRef:ge,firstItemTextRef:Y,selectedItemTextRef:re,validation:L,onOpenChangeComplete:b,alignItemWithTriggerActiveRef:ce,initialValueRef:st}),[le,We,y,M,f,x,C,Be,ct,yt,L,b,Ye]),Kt=Ot(m,L.inputRef),lt=x?void 0:F,ht=c.useMemo(()=>!x||!Array.isArray(H)||!F?null:H.map(Pe=>{const ze=Qn(Pe,S);return q.jsx("input",{type:"hidden",form:u,name:F,value:ze,disabled:M},ze)}),[x,H,u,F,S,M]);return q.jsxs(Jd.Provider,{value:bt,children:[k,q.jsx("input",{...L.getValidationProps(M,{onFocus(){var Pe;(Pe=le.state.triggerElement)==null||Pe.focus({focusVisible:!0})},onChange(Pe){if(Pe.nativeEvent.defaultPrevented||M||f)return;const ze=Pe.currentTarget.value,kt=Re(wt,Pe.nativeEvent);function $t(){if(x)return;const Et=ze.toLowerCase();let Ht=te.current.findIndex(Eo=>Qn(Eo,S).toLowerCase()===Et||tf(Eo,w).toLowerCase()===Et);Ht===-1&&(Ht=te.current.findIndex((Eo,On)=>{const dr=K.current[On];return dr!=null&&dr.toLowerCase()===Et}));const ur=te.current[Ht];ur!=null&&Be(ur,kt)}le.set("forceMount",!0),queueMicrotask($t)}}),id:_&<==null?`${_}-hidden-input`:void 0,form:u,name:lt,autoComplete:d,value:xe,disabled:M,required:y&&!(x&&Fe),readOnly:f,ref:Kt,style:F?gs:vo,tabIndex:-1,"aria-hidden":!0,suppressHydrationWarning:!0}),ht]})}function Hv(e,t){const n=et(e);return se(()=>(t(n),()=>{t(o=>o===n?void 0:o)}),[n,t]),n}function jv(e,t){return e??t}const Rr=5;function of(e,t){const n=Bv(t);return e.clientX>=n.left-Rr&&e.clientX<=n.right+Rr&&e.clientY>=n.top-Rr&&e.clientY<=n.bottom+Rr}function Bv(e){const t=e.getBoundingClientRect(),n=je(e);if(da)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}}const Wv=400,Uv={...Bo,...Ro,popupSide:e=>e?{"data-popup-side":e}:null,value:()=>null},XC=c.forwardRef(function(t,n){var ee;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:h}=Mn(),{labelId:g}=jn(),{store:m,setOpen:b,selectionRef:v,validation:x,readOnly:w,required:S,alignItemWithTriggerActiveRef:R,disabled:C}=Xt(),k=h||C||i,T=Ce(m,Ee.open),E=Ce(m,Ee.mounted),A=Ce(m,Ee.value),O=Ce(m,Ee.triggerProps),N=Ce(m,Ee.positionerElement),D=Ce(m,Ee.listElement),P=Ce(m,Ee.popupSide),V=Ce(m,Ee.id),L=Ce(m,Ee.labelId),I=Ce(m,Ee.hasSelectedValue),_=E&&N?P:null,M=s??V,F=jv(g,L);rr({id:M});const H=Ze(N),$=c.useRef(null),{getButtonProps:U,buttonRef:G}=St({disabled:k,native:a}),z=m.useStateSetter("triggerElement"),K=qe(),j=qe(),X=qe();c.useEffect(()=>{if(T)return X.start(Wv,()=>{v.current.allowUnselectedMouseUp=!0,v.current.allowSelectedMouseUp=!0}),()=>{X.clear()};v.current={allowSelectedMouseUp:!1,allowUnselectedMouseUp:!1,dragY:0},j.clear()},[T,v,j,X]);const ue=Ct(O,{id:M,role:"combobox","aria-expanded":T,"aria-haspopup":"listbox","aria-controls":T?(D==null?void 0:D.id)??((ee=Xr(N))==null?void 0:ee.id):void 0,"aria-labelledby":F,"aria-readonly":w||void 0,"aria-required":S||void 0,tabIndex:k?-1:0,onFocus(Y){p(!0),T&&R.current&&b(!1,Re(wt,Y.nativeEvent)),K.start(0,()=>{m.set("forceMount",!0)})},onBlur(Y){ve(N,Y.relatedTarget)||(d(!0),p(!1),f==="onBlur"&&x.commit(A))},onMouseDown(Y){if(T)return;const re=Te(Y.currentTarget);function ge(ce){if(!$.current)return;const pe=ce.target;ve($.current,pe)||ve(H.current,pe)||of(ce,$.current)||b(!1,Re(ga,ce))}j.start(0,()=>{re.addEventListener("mouseup",ge,{once:!0})})}},u,U),ne=x.getValidationProps(k,ue);ne.role="combobox";const te={...y,open:T,disabled:k,value:A,readOnly:w,popupSide:_,placeholder:!I};return Se("button",t,{ref:[n,$,G,z],state:te,stateAttributesMapping:Uv,props:ne})}),Gv={value:()=>null},KC=c.forwardRef(function(t,n){const{className:o,render:r,children:s,placeholder:i,style:a,...l}=t,{store:u,valueRef:d}=Xt(),p=Ce(u,Ee.value),f=Ce(u,Ee.items),y=Ce(u,Ee.itemToStringLabel),h=Ce(u,Ee.hasSelectedValue),g=!h&&i!=null&&s==null,m=Ce(u,Ee.hasNullItemLabel,g),b={value:p,placeholder:!h};let v=null;return typeof s=="function"?v=s(p):s!=null?v=s:g&&!m?v=i:Array.isArray(p)?v=Vv(p,f,y):v=nf(p,f,y),Se("span",t,{state:b,ref:[n,d],props:[{children:v},l],stateAttributesMapping:Gv})}),ZC=c.forwardRef(function(t,n){const{render:o,className:r,style:s,...i}=t,{store:a}=Xt(),u={open:Ce(a,Ee.open)};return Se("span",t,{state:u,ref:n,props:[{"aria-hidden":!0,children:"▼"},i],stateAttributesMapping:Ds})}),QC=c.forwardRef(function(t,n){const{store:o}=Xt(),r=Ce(o,Ee.mounted),s=Ce(o,Ee.forceMount);return r||s?q.jsx(ys,{ref:n,...t}):null}),rf=c.createContext(void 0);function Wa(){const e=c.useContext(rf);if(!e)throw new Error(Ae(59));return e}function os(e,t){e&&Object.assign(e.style,t)}const sf={position:"relative",maxHeight:"100%",overflowX:"hidden",overflowY:"auto"},qv={position:"fixed"},JC=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:h,disableAnchorTracking:g,alignItemWithTrigger:m=!0,collisionAvoidance:b=ud,style:v,...x}=t,{store:w,listRef:S,labelsRef:R,alignItemWithTriggerActiveRef:C,selectedItemTextRef:k,valuesRef:T,initialValueRef:E,popupRef:A,setValue:O,floatingContext:N}=Xt(),D=Ce(w,Ee.open),P=Ce(w,Ee.mounted),V=Ce(w,Ee.modal),L=Ce(w,Ee.value),I=Ce(w,Ee.openMethod),_=Ce(w,Ee.positionerElement),M=Ce(w,Ee.triggerElement),F=Ce(w,Ee.isItemEqualToValue),H=Ce(w,Ee.transitionStatus),$=c.useRef(null),U=c.useRef(null),[G,z]=c.useState(m),K=P&&G&&I!=="touch";!P&&G!==m&&z(m),c.useImperativeHandle(C,()=>K),za((K||V)&&D,I==="touch",_,M);const j=Fs({anchor:o,floatingRootContext:N,positionMethod:i,mounted:P,side:a,sideOffset:u,align:l,alignOffset:d,arrowPadding:y,collisionBoundary:p,collisionPadding:f,sticky:h,disableAnchorTracking:g??K,collisionAvoidance:b,keepMounted:!0}),X=K?"none":j.side,ue=K?qv:j.positionerStyles,ne={open:D,side:X,align:j.align,anchorHidden:j.anchorHidden};se(()=>{w.set("popupSide",j.side)},[w,j.side]);const te=w.useStateSetter("positionerElement"),ee=Vs(t,ne,{styles:ue,transitionStatus:H,props:x,refs:[n,te],hidden:!P,inert:!D}),Y=c.useRef(0),re=de(ce=>{if(T.current.length===0)return;const pe=Y.current;if(Y.current=ce.size,ce.size===pe)return;const ie=Re(wt);if(pe!==0&&!w.state.multiple&&L!==null&&$r(T.current,L,F)===-1){const fe=E.current,le=fe!=null&&$r(T.current,fe,F)!==-1?fe:null;O(le,ie),le===null&&(w.set("selectedIndex",null),k.current=null)}if(pe!==0&&w.state.multiple&&Array.isArray(L)){const me=L.filter(fe=>$r(T.current,fe,F)!==-1);me.length!==L.length&&(O(me,ie),me.length===0&&(w.set("selectedIndex",null),k.current=null))}if(D&&K){w.update({scrollUpArrowVisible:!1,scrollDownArrowVisible:!1});const me={height:""};os(_,me),os(A.current,me)}}),ge=c.useMemo(()=>({...j,side:X,alignItemWithTriggerActive:K,setControlledAlignItemWithTrigger:z,scrollUpArrowRef:$,scrollDownArrowRef:U}),[j,X,K,z]);return q.jsx(js,{elementsRef:S,labelsRef:R,onMapChange:re,children:q.jsxs(rf.Provider,{value:ge,children:[P&&V&&q.jsx(zs,{inert:er(!D),cutout:M}),ee]})})}),kr="base-ui-disable-scrollbar",Wo={className:kr,getElement(e){return q.jsx("style",{nonce:e,href:kr,precedence:"base-ui:low",children:`.${kr}{scrollbar-width:none}.${kr}::-webkit-scrollbar{display:none}`})}},Yv=c.createContext(void 0),Xv={disableStyleElements:!1};function Ua(){return c.useContext(Yv)??Xv}const Kv={..._s,...zt},eE=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:h,multiple:g,handleScrollArrowVisibility:m,scrollHandlerRef:b,listRef:v,highlightItemOnHover:x,floatingContext:w}=Xt(),{side:S,align:R,alignItemWithTriggerActive:C,isPositioned:k,setControlledAlignItemWithTrigger:T}=Wa(),E=Hs()!=null,A=So(),{nonce:O,disableStyleElements:N}=Ua(),D=Ce(l,Ee.id),P=Ce(l,Ee.open),V=Ce(l,Ee.openMethod),L=Ce(l,Ee.mounted),I=Ce(l,Ee.popupProps),_=Ce(l,Ee.transitionStatus),M=Ce(l,Ee.triggerElement),F=Ce(l,Ee.positionerElement),H=Ce(l,Ee.listElement),$=c.useRef(!1),U=c.useRef(!1),G=c.useRef({}),z=lo(),K=de(ne=>{if(!F||!u.current||!U.current)return;const te=F.style.top==="0px",ee=F.style.bottom==="0px";if($.current||!C||!te&&!ee){m(ne);return}const Y=El(F),re=Do(F.getBoundingClientRect().height,"y",Y),ge=Te(F),ce=je(F),pe=ce.getComputedStyle(F),ie=parseFloat(pe.marginTop),me=parseFloat(pe.marginBottom),fe=Cl(ce.getComputedStyle(u.current)),oe=Math.min(ge.documentElement.clientHeight-ie-me,fe),le=ne.scrollTop,W=Cr(ne);let Z=null;const ae=xe=>{F.style.height=`${xe}px`},J=te?W-le:le,Q=Math.min(re+J,oe);if(J<=Dt){const xe=hn(J,0,oe-re);xe>0&&ae(re+xe),ne.scrollTop=te?W:0,oe-(re+xe)<=Dt&&($.current=!0),m(ne);return}if(oe-Q>Dt)Z=te?1/0:0;else if(ee&&le<W){const xe=re+J-oe;Z=le-(J-xe)}const he=Math.ceil(Q);if(he!==0&&ae(he),Z!=null){const xe=hn(Z,0,Cr(ne));Math.abs(ne.scrollTop-xe)>Dt&&(ne.scrollTop=xe)}he>=oe-Dt&&($.current=!0),m(ne)});c.useImperativeHandle(b,()=>K,[K]),Rt({open:P,ref:u,onComplete(){P&&(d==null||d(!0))}});const j={open:P,transitionStatus:_,side:S,align:R};se(()=>{!F||!u.current||Object.keys(G.current).length||(G.current={top:F.style.top||"0",left:F.style.left||"0",right:F.style.right,height:F.style.height,bottom:F.style.bottom,minHeight:F.style.minHeight,maxHeight:F.style.maxHeight,marginTop:F.style.marginTop,marginBottom:F.style.marginBottom})},[u,F]),se(()=>{P||C||(U.current=!1,$.current=!1,os(F,G.current))},[P,C,F,u]),se(()=>{var ee,Y;const ne=u.current;if(!P||!M||!F||!ne||C&&!k||l.state.transitionStatus==="ending")return;if(U.current=!0,ne.style.removeProperty("--transform-origin"),!C){z.request(()=>m(H||ne));return}const te=Zv(ne);try{let re=h.current;re!=null&&re.isConnected||(re=!Ee.hasSelectedValue(l.state)&&((ee=y.current)!=null&&ee.isConnected)?y.current:null);const ge=f.current,ce=je(F),pe=ce.getComputedStyle(F),ie=ce.getComputedStyle(ne),me=Te(M),fe=El(M),oe=Er(M.getBoundingClientRect(),fe),le=Er(F.getBoundingClientRect(),fe),W=oe.height,Z=H||ne,ae=Z.scrollHeight,J=parseFloat(ie.borderBottomWidth),Q=parseFloat(pe.marginTop)||10,he=parseFloat(pe.marginBottom)||10,xe=parseFloat(pe.minHeight)||100,Le=Cl(ie),Ue=5,Xe=5,st=20,Fe=me.documentElement.clientHeight-Q-he,tt=me.documentElement.clientWidth,ct=Fe-oe.bottom+W;let ke,Be=A==="rtl"?oe.right-le.width:oe.left,Ye=0;if(re&&ge){const lt=Er(ge.getBoundingClientRect(),fe);ke=Er(re.getBoundingClientRect(),fe),Be=le.left+(A==="rtl"?lt.right-ke.right:lt.left-ke.left);const ht=lt.top-oe.top+lt.height/2;Ye=ke.top-le.top+ke.height/2-ht}const We=ct+Ye+he+J;let Ke=Math.min(Fe,We);const pt=Fe-Q-he,we=We-Ke,De=tt-Xe;F.style.left=`${hn(Be,Ue,De-le.width)}px`,F.style.height=`${Ke}px`,F.style.maxHeight="none",F.style.marginTop=`${Q}px`,F.style.marginBottom=`${he}px`,ne.style.height="100%";const Qe=Cr(Z),ot=we>=Qe-Dt;ot&&(Ke=Math.min(Fe,le.height)-(we-Qe));const yt=oe.top<st||oe.bottom>Fe-st||Math.ceil(Ke)+Dt<Math.min(ae,xe),bt=(((Y=ce.visualViewport)==null?void 0:Y.scale)??1)!==1&&Yt;if(yt||bt){os(F,G.current),T(!1);return}const Kt=Math.max(xe,Ke);if(ot){const lt=Math.max(0,Fe-We);F.style.top=le.height>=pt?"0":`${lt}px`,F.style.height=`${Ke}px`,Z.scrollTop=Cr(Z)}else F.style.bottom="0",Z.scrollTop=we;if(ke){const lt=le.top,ht=le.height,Pe=ke.top+ke.height/2,ze=hn(ht>0?(Pe-lt)/ht*100:50,0,100);ne.style.setProperty("--transform-origin",`50% ${ze}%`)}(Kt===Fe||Ke>=Le)&&($.current=!0),m(Z),x&&l.state.selectedIndex===null&&l.state.activeIndex===null&&v.current[0]!=null&&l.set("activeIndex",0)}finally{te()}},[l,P,F,M,f,y,h,u,m,C,T,z,H,v,x,A,k]),c.useEffect(()=>{if(!C||!F||!P)return;const ne=je(F);function te(ee){p(!1,Re(O0,ee))}return Me(ne,"resize",te)},[p,C,F,P]);const X={...H?{role:"presentation","aria-orientation":void 0}:{role:"listbox","aria-multiselectable":g||void 0,id:`${D}-list`},onKeyDown(ne){E&&nr.has(ne.key)&&ne.stopPropagation()},onScroll(ne){H||K(ne.currentTarget)},...C&&{style:H?{height:"100%"}:sf},className:!H&&C?Wo.className:void 0},ue=Se("div",t,{ref:[n,u],state:j,stateAttributesMapping:Kv,props:[I,X,tr(_),a]});return q.jsxs(c.Fragment,{children:[!N&&Wo.getElement(O),q.jsx(bs,{context:w,modal:!1,disabled:!L,openInteractionType:V,returnFocus:i,restoreFocus:!0,children:ue})]})});function Cl(e){const t=e.maxHeight;return t.endsWith("px")&&parseFloat(t)||1/0}function Cr(e){return Ba(e.scrollHeight,e.clientHeight)}function El(e){return kd.getScale(e)}function Do(e,t,n){return e/n[t]}function Er(e,t){return Ho({x:Do(e.x,"x",t),y:Do(e.y,"y",t),width:Do(e.width,"x",t),height:Do(e.height,"y",t)})}const Pl=[["transform","none"],["scale","1"],["translate","0 0"]];function Zv(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 tE=c.forwardRef(function(t,n){const{render:o,className:r,style:s,...i}=t,{store:a,scrollHandlerRef:l,multiple:u}=Xt(),{alignItemWithTriggerActive:d}=Wa(),p=Ce(a,Ee.hasScrollArrows),f=Ce(a,Ee.openMethod),h={id:`${Ce(a,Ee.id)}-list`,role:"listbox","aria-multiselectable":u||void 0,onScroll(m){var b;(b=l.current)==null||b.call(l,m.currentTarget)},...d&&{style:sf},className:p&&f!=="touch"?Wo.className:void 0},g=a.useStateSetter("listElement");return Se("div",t,{ref:[n,g],props:[h,i]})}),af=c.createContext(void 0);function Ga(){const e=c.useContext(af);if(!e)throw new Error(Ae(57));return e}const nE=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=or({guess:!0,label:a,textRef:p}),{store:y,itemProps:h,setOpen:g,setValue:m,selectionRef:b,typingRef:v,valuesRef:x,multiple:w,selectedItemTextRef:S,disabled:R,readOnly:C}=Xt(),k=R||l,T=Ce(y,Ee.isActive,f.index),E=Ce(y,Ee.open),A=Ce(y,Ee.isSelected,i),O=Ce(y,Ee.isSelectedByFocus,f.index),N=Ce(y,Ee.isItemEqualToValue),D=f.index,P=c.useRef(null);se(()=>{const z=x.current;return z[D]=i,()=>{delete z[D]}},[D,i,x]),se(()=>{const z=y.state.value;let K=z;w&&Array.isArray(z)&&(K=z.length>0?z[z.length-1]:void 0),K!==void 0&&po(i,K,N)&&(y.set("selectedIndex",D),p.current&&(S.current=p.current))},[D,w,N,y,i,S]);const V=c.useRef("mouse"),L=c.useRef(!1),{getButtonProps:I,buttonRef:_}=St({disabled:k,focusableWhenDisabled:!0,native:u,composite:!0}),M={disabled:k,selected:A,highlighted:T};function F(z){if(R||C)return;const K=y.state.value;if(w){const j=Array.isArray(K)?K:[],X=A?Fv(j,i,N):[...j,i];m(X,Re(no,z))}else m(i,Re(no,z)),g(!1,Re(no,z))}function H(){b.current.dragY=0}const $={role:"option","aria-selected":A,tabIndex:E&&T?0:-1,onKeyDown(z){y.set("activeIndex",D),z.key===" "&&v.current&&z.preventDefault()},onClick(z){const K=V.current!=="touch",j=z.nativeEvent.pointerType,X=K&&fa(z.nativeEvent)&&(j!==void 0||T),ue=K&&!X&&!L.current;L.current=!1,!(k||ue)&&F(z.nativeEvent)},onPointerEnter(z){V.current=z.pointerType},onPointerMove(z){if(z.pointerType==="mouse"&&z.buttons===1){const K=b.current;K.dragY+=z.movementY,K.dragY**2>=64&&(K.allowUnselectedMouseUp=!0)}},onPointerDown(z){V.current=z.pointerType,L.current=!0,H()},onMouseUp(){var j;if(H(),k||V.current==="touch"||L.current)return;const z=!b.current.allowSelectedMouseUp&&A,K=!b.current.allowUnselectedMouseUp&&!A;z||K||(L.current=!0,(j=P.current)==null||j.click(),L.current=!1)}},U=Se("div",t,{ref:[_,n,f.ref,P],state:M,props:[h,$,d,I]}),G=c.useMemo(()=>({selected:A,index:D,textRef:p,selectedByFocus:O}),[A,D,p,O]);return q.jsx(af.Provider,{value:G,children:U})})),oE=c.forwardRef(function(t,n){const{selected:o}=Ga();return t.keepMounted||o?q.jsx(Qv,{...t,ref:n}):null}),Qv=c.memo(c.forwardRef((e,t)=>{const{render:n,className:o,style:r,keepMounted:s,...i}=e,{selected:a}=Ga(),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:zt});return Rt({open:a,ref:l,onComplete(){a||d(!1)}}),f})),rE=c.memo(c.forwardRef(function(t,n){const{index:o,textRef:r,selectedByFocus:s}=Ga(),{firstItemTextRef:i,selectedItemTextRef:a}=Xt(),{render:l,className:u,style:d,...p}=t,f=c.useCallback(h=>{h&&(o===0&&(i.current=h),s&&(a.current=h))},[i,a,o,s]);return Se("div",t,{ref:[f,n,r],props:p})})),cf=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:h}=Xt(),{side:g,scrollDownArrowRef:m,scrollUpArrowRef:b}=Wa(),v=u?Ee.scrollUpArrowVisible:Ee.scrollDownArrowVisible,x=Ce(d,v),w=Ce(d,Ee.openMethod),S=x&&w!=="touch",R=qe(),C=u?b:m,{mounted:k,transitionStatus:T,setMounted:E}=ln(S);se(()=>(h.current+=1,d.set("hasScrollArrows",!0),()=>{h.current=Math.max(0,h.current-1),h.current===0&&d.set("hasScrollArrows",!1)}),[d,h]),Rt({open:S,ref:C,onComplete(){S||E(!1)}});const N=Se("div",t,{ref:[n,C],state:{direction:i,visible:S,side:g,transitionStatus:T},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 V(){var H;const L=d.state.listElement??p.current;if(!L)return;d.set("activeIndex",null),y(L);const I=Ba(L.scrollHeight,L.clientHeight),_=ho(L.scrollTop,I),M=_===(u?0:I),F=f.current;if(_!==L.scrollTop&&(L.scrollTop=_),M){R.clear();return}if(F.length>0){const $=((H=C.current)==null?void 0:H.offsetHeight)||0;L.scrollTop=Jv(F,u,_,L.clientHeight,$,I)}R.start(40,V)}R.start(40,V)},onMouseLeave(){R.clear()}},l],stateAttributesMapping:zt});return k||a?N:null});function Jv(e,t,n,o,r,s){if(t){let d=0;const p=n+r-Dt;for(let h=0;h<e.length;h+=1){const g=e[h];if(g&&g.offsetTop>=p){d=h;break}}const f=Math.max(0,d-1),y=e[f];return f<d&&y?ho(y.offsetTop-r,s):0}let i=e.length-1;const a=n+o-r+Dt;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?ho(u.offsetTop+u.offsetHeight-o+r,s):s}const sE=c.forwardRef(function(t,n){return q.jsx(cf,{...t,ref:n,direction:"down"})}),iE=c.forwardRef(function(t,n){return q.jsx(cf,{...t,ref:n,direction:"up"})}),ex=c.createContext(void 0),aE=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 q.jsx(ex.Provider,{value:u,children:d})}),lf=c.createContext(void 0);function Tn(e){const t=c.useContext(lf);if(!e&&t===void 0)throw new Error(Ae(27));return t}const cE=c.forwardRef(function(t,n){const{render:o,className:r,style:s,forceRender:i=!1,...a}=t,l=Tn(),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:Ls,props:[{role:"presentation",hidden:!p,style:{userSelect:"none",WebkitUserSelect:"none"}},a],enabled:i||!d})}),lE=c.forwardRef(function(t,n){const{render:o,className:r,style:s,disabled:i=!1,nativeButton:a=!0,...l}=t,u=Tn(),d=u.useState("open"),{getButtonProps:p,buttonRef:f}=St({disabled:i,native:a}),y={disabled:i};function h(g){d&&u.setOpen(!1,Re(Gu,g.nativeEvent))}return Se("button",t,{state:y,ref:[n,f],props:[{onClick:h},l,p]})}),uE=c.forwardRef(function(t,n){const{render:o,className:r,style:s,id:i,...a}=t,l=Tn(),u=et(i);return l.useSyncedValueWithCleanup("descriptionElementId",u),Se("p",t,{ref:n,props:[{id:u},a]})}),uf=c.createContext(void 0);function tx(){const e=c.useContext(uf);if(e===void 0)throw new Error(Ae(26));return e}const nx={..._s,...zt,nestedDialogOpen(e){return e?{"data-nested-dialog-open":""}:null}},dE=c.forwardRef(function(t,n){const{render:o,className:r,style:s,finalFocus:i,initialFocus:a,...l}=t,u=Tn(),d=u.useState("descriptionElementId"),p=u.useState("disablePointerDismissal"),f=u.useState("floatingRootContext"),y=u.useState("popupProps"),h=u.useState("modal"),g=u.useState("mounted"),m=u.useState("nested"),b=u.useState("nestedOpenDialogCount"),v=u.useState("open"),x=u.useState("openMethod"),w=u.useState("titleElementId"),S=u.useState("transitionStatus"),R=u.useState("role"),C=f.useState("floatingId");tx(),Rt({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?Id(u.context.popupRef):a,T=b>0,E=u.useStateSetter("popupElement"),O=Se("div",t,{state:{open:v,nested:m,transitionStatus:S,nestedDialogOpen:T},props:[y,{id:C,"aria-labelledby":w,"aria-describedby":d,role:R,...Zo,hidden:!g,onKeyDown(N){nr.has(N.key)&&N.stopPropagation()},style:{"--nested-dialogs":b}},l],ref:[n,u.context.popupRef,E],stateAttributesMapping:nx});return q.jsx(bs,{context:f,openInteractionType:x,disabled:!g,closeOnFocusOut:!p,initialFocus:k,returnFocus:i,modal:h!==!1,restoreFocus:"popup",children:O})}),fE=c.forwardRef(function(t,n){const{keepMounted:o=!1,...r}=t,s=Tn(),i=s.useState("mounted"),a=s.useState("modal"),l=s.useState("open");return i||o?q.jsx(uf.Provider,{value:o,children:q.jsxs(ys,{ref:n,...r,children:[i&&a===!0&&q.jsx(zs,{ref:s.context.internalBackdropRef,inert:er(!l)}),t.children]})}):null});function ox({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=Ko(a,{outsidePressEvent(){return e.context.internalBackdropRef.current||e.context.backdropRef.current?"intentional":{mouse:s==="trap-focus"?"sloppy":"intentional",touch:"sloppy"}},outsidePress(h){if(!e.context.outsidePressEnabledRef.current||"button"in h&&h.button!==0)return!1;if("touches"in h){if(h.type==="touchend"){if(h.changedTouches.length!==1||h.touches.length!==0)return!1}else if(h.touches.length!==1)return!1}const g=nt(h);if(f&&!r){if(s){const m=e.context.internalBackdropRef.current,b=e.context.backdropRef.current;return m||b?m===g||b===g||ve(g,i)&&!(g!=null&&g.hasAttribute("data-base-ui-portal")):!0}return!0}return!1},escapeKey:f});return Bd(o&&s===!0,i),e.useContextCallback("onNestedDialogOpen",(h,g)=>{u(h),p(g)}),se(()=>(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]),Ts(e,{activeTriggerProps:y.reference,inactiveTriggerProps:y.trigger,popupProps:y.floating,nestedOpenDialogCount:l,nestedOpenDrawerCount:d}),null}const rx={...Os,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 sx extends xo{constructor(n,o,r){const s=new wo,i=ix(n,s,o,r);super(i,ax(s),rx);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};Cs(r,n,o.trigger),this.update(r)})}}function ix(e,t,n,o=!1){const r={...Is(),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=Ia(t,n,o),r}function ax(e){return{popupRef:c.createRef(),backdropRef:c.createRef(),internalBackdropRef:c.createRef(),outsidePressEnabledRef:{current:!0},triggerElements:e,onOpenChange:void 0,onOpenChangeComplete:void 0}}function df(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",h=e==="alert-dialog",g=h?!0:l,m=h||a,b=h?"alertdialog":"dialog",v=Tn(!0),x=v!=null,w={modal:g,disablePointerDismissal:m,nested:x,role:b},S=Ma((A,O)=>new sx({open:r,openProp:o,activeTriggerId:f,triggerIdProp:p,...w},A,O),!0);S.useControlledProp("openProp",o),S.useControlledProp("triggerIdProp",p),S.useSyncedValues(w),S.useContextCallback("onOpenChange",s),S.useContextCallback("onOpenChangeComplete",i);const R=S.useState("open"),C=S.useState("mounted"),k=S.useState("payload");Od(S,R),Ps(S);const{forceUnmount:T}=Ms(R,S);c.useImperativeHandle(u,()=>({unmount:T,close:()=>S.setOpen(!1,Re(hs))}),[T,S]);const E=R||C;return q.jsxs(lf.Provider,{value:S,children:[d&&q.jsx(ks,{handle:d,store:S}),E&&q.jsx(ox,{store:S,parentContext:v==null?void 0:v.context,isDrawer:y}),typeof n=="function"?n({payload:k}):n]})}function pE(e){return df("dialog",e)}const hE=c.forwardRef(function(t,n){const{render:o,className:r,style:s,id:i,...a}=t,l=Tn(),u=et(i);return l.useSyncedValueWithCleanup("titleElementId",u),Se("h2",t,{ref:n,props:[{id:u},a]})}),cx=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=Tn(!0),h=As(d)??f;if(!h)throw new Error(Ae(79));const g=et(l),m=h.useState("floatingRootContext"),b=h.useState("isOpenedByTrigger",g),v=h.useState("triggerPopupId",g),x=c.useRef(null),{registerTrigger:w,isMountedByThisTrigger:S}=Es(g,x,h,{payload:u}),{getButtonProps:R,buttonRef:C}=St({disabled:i,native:a}),k=vs(m),T=Fa(()=>h.select("open"),O=>{h.set("openMethod",O)}),E={disabled:i,open:b},A=h.useState("triggerProps",S);return Se("button",t,{state:E,ref:[C,n,w,x],props:[k.reference,A,T,{[wa]:"",id:g,"aria-haspopup":"dialog","aria-expanded":b,"aria-controls":v},p,R],stateAttributesMapping:Ds})});function gE(e){return Se(e.defaultTagName??"div",e,e)}var lx=Object.defineProperty,ko=(e,t)=>lx(e,"name",{value:t,configurable:!0}),ff=!!(typeof window<"u"&&window.document&&window.document.createElement);function Ln(e,t,{checkForDefaultPrevented:n=!0}={}){return ko(function(r){if(e==null||e(r),n===!1||!r||!r.defaultPrevented)return t==null?void 0:t(r)},"handleEvent")}ko(Ln,"composeEventHandlers");function ux(e){var t;if(!ff)throw new Error("Cannot access window outside of the DOM");return((t=e==null?void 0:e.ownerDocument)==null?void 0:t.defaultView)??window}ko(ux,"getOwnerWindow");function Vi(e){if(!ff)throw new Error("Cannot access document outside of the DOM");return(e==null?void 0:e.ownerDocument)??document}ko(Vi,"getOwnerDocument");function pf(e,t=!1){const{activeElement:n}=Vi(e);if(!(n!=null&&n.nodeName))return null;if(hf(n)&&n.contentDocument)return pf(n.contentDocument.body,t);if(t){const o=n.getAttribute("aria-activedescendant");if(o){const r=Vi(n).getElementById(o);if(r)return r}}return n}ko(pf,"getActiveElement");function hf(e){return e.tagName==="IFRAME"}ko(hf,"isFrame");var dx=Object.defineProperty,qa=(e,t)=>dx(e,"name",{value:t,configurable:!0});function $i(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}qa($i,"setRef");function gf(...e){return t=>{let n=!1;const o=e.map(r=>{const s=$i(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():$i(e[r],null)}}}}qa(gf,"composeRefs");function Co(...e){return c.useCallback(gf(...e),e)}qa(Co,"useComposedRefs");var fx=Object.defineProperty,Pt=(e,t)=>fx(e,"name",{value:t,configurable:!0});function px(e,t){const n=c.createContext(t);n.displayName=e+"Context";const o=Pt(s=>{const{children:i,...a}=s,l=c.useMemo(()=>a,Object.values(a));return q.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 Pt(r,"useContext"),[o,r]}Pt(px,"createContext");function mf(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=Pt(p=>{var b;const{scope:f,children:y,...h}=p,g=((b=f==null?void 0:f[e])==null?void 0:b[l])||a,m=c.useMemo(()=>h,Object.values(h));return q.jsx(g.Provider,{value:m,children:y})},"Provider");u.displayName=s+"Provider";function d(p,f,y={}){var b;const{optional:h=!1}=y,g=((b=f==null?void 0:f[e])==null?void 0:b[l])||a,m=c.useContext(g);if(m)return m;if(i!==void 0)return i;if(!h)throw new Error(`\`${p}\` must be used within \`${s}\``)}return Pt(d,"useContext"),[u,d]}Pt(o,"createContext");const r=Pt(()=>{const s=n.map(i=>c.createContext(i));return Pt(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,yf(r,...t)]}Pt(mf,"createContextScope");function yf(...e){const t=e[0];if(e.length===1)return t;const n=Pt(()=>{const o=e.map(r=>({useScope:r(),scopeName:r.scopeName}));return Pt(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}Pt(yf,"composeContextScopes");var go=globalThis!=null&&globalThis.document?c.useLayoutEffect:()=>{},hx=Object.defineProperty,gx=(e,t)=>hx(e,"name",{value:t,configurable:!0}),mx=bo[" useId ".trim().toString()]||(()=>{}),yx=0;function Hr(e){const[t,n]=c.useState(mx());return go(()=>{e||n(o=>o??String(yx++))},[e]),e||(t?`radix-${t}`:"")}gx(Hr,"useId");var bx=Object.defineProperty,vx=(e,t)=>bx(e,"name",{value:t,configurable:!0}),Ml=bo[" useEffectEvent ".trim().toString()],Tl=bo[" useInsertionEffect ".trim().toString()];function bf(e){if(typeof Ml=="function")return Ml(e);const t=c.useRef(()=>{throw new Error("Cannot call an event handler while rendering.")});return typeof Tl=="function"?Tl(()=>{t.current=e}):go(()=>{t.current=e}),c.useMemo(()=>((...n)=>{var o;return(o=t.current)==null?void 0:o.call(t,...n)}),[])}vx(bf,"useEffectEvent");var xx=Object.defineProperty,ar=(e,t)=>xx(e,"name",{value:t,configurable:!0}),wx=bo[" useInsertionEffect ".trim().toString()]||go;function vf({prop:e,defaultProp:t,onChange:n=ar(()=>{},"onChange"),caller:o}){const[r,s,i]=xf({defaultProp:t,onChange:n}),a=e!==void 0,l=a?e:r,u=c.useCallback(d=>{var p;if(a){const f=wf(d)?d(e):d;f!==e&&((p=i.current)==null||p.call(i,f))}else s(d)},[a,e,s,i]);return[l,u]}ar(vf,"useControllableState");function xf({defaultProp:e,onChange:t}){const[n,o]=c.useState(e),r=c.useRef(n),s=c.useRef(t);return wx(()=>{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]}ar(xf,"useUncontrolledState");function wf(e){return typeof e=="function"}ar(wf,"isFunction");var Il=Symbol("RADIX:SYNC_STATE");function Sx(e,t,n,o){const{prop:r,defaultProp:s,onChange:i,caller:a}=t,l=r!==void 0,u=bf(i),d=[{...n,state:s}];o&&d.push(o);const[p,f]=c.useReducer((m,b)=>{if(b.type===Il)return{...m,state:b.state};const v=e(m,b);return l&&!Object.is(v.state,m.state)&&u(v.state),v},...d),y=p.state,h=c.useRef(y);c.useEffect(()=>{h.current!==y&&(h.current=y,l||u(y))},[y,h,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:Il,state:r})},[r,p.state,l]),[g,f]}ar(Sx,"useControllableStateReducer");var Rx=Object.defineProperty,Vt=(e,t)=>Rx(e,"name",{value:t,configurable:!0});function Ya(e){const t=c.forwardRef((n,o)=>{let{children:r,...s}=n,i=null,a=!1;const l=[];Hi(r)&&typeof Pr=="function"&&(r=Pr(r._payload)),c.Children.forEach(r,f=>{var y;if(Cf(f)){a=!0;const h=f;let g="child"in h.props?h.props.child:h.props.children;Hi(g)&&typeof Pr=="function"&&(g=Pr(g._payload)),i=Cx(h,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?kf(i):void 0,d=Co(o,u);if(!i){if(r||r===0)throw new Error(a?Mx(e):Px(e));return r}const p=Rf(s,i.props??{});return i.type!==c.Fragment&&(p.ref=o?d:u),c.cloneElement(i,p)});return t.displayName=`${e}.Slot`,t}Vt(Ya,"createSlot");var Sf=Symbol.for("radix.slottable");function kx(e){const t=Vt(n=>"child"in n?n.children(n.child):n.children,"Slottable");return t.displayName=`${e}.Slottable`,t.__radixId=Sf,t}Vt(kx,"createSlottable");var Cx=Vt((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 Rf(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}}Vt(Rf,"mergeProps");function kf(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)}Vt(kf,"getElementRef");function Cf(e){return c.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===Sf}Vt(Cf,"isSlottable");var Ex=Symbol.for("react.lazy");function Hi(e){return e!=null&&typeof e=="object"&&"$$typeof"in e&&e.$$typeof===Ex&&"_payload"in e&&Ef(e._payload)}Vt(Hi,"isLazyComponent");function Ef(e){return typeof e=="object"&&e!==null&&"then"in e}Vt(Ef,"isPromiseLike");var Px=Vt(e=>`${e} failed to slot onto its children. Expected a single React element child or \`Slottable\`.`,"createSlotError"),Mx=Vt(e=>`${e} failed to slot onto its \`Slottable\`. Expected \`Slottable\` to receive a single React element child.`,"createSlottableError"),Pr=bo[" use ".trim().toString()],Tx=Object.defineProperty,Ix=(e,t)=>Tx(e,"name",{value:t,configurable:!0}),Ox=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],Bs=Ox.reduce((e,t)=>{const n=Ya(`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),q.jsx(l,{...a,ref:s})});return o.displayName=`Primitive.${t}`,{...e,[t]:o}},{});function Pf(e,t){e&&It.flushSync(()=>e.dispatchEvent(t))}Ix(Pf,"dispatchDiscreteCustomEvent");var Ax=Object.defineProperty,Nx=(e,t)=>Ax(e,"name",{value:t,configurable:!0});function mo(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)}),[])}Nx(mo,"useCallbackRef");var Dx=Object.defineProperty,it=(e,t)=>Dx(e,"name",{value:t,configurable:!0}),ji="dismissableLayer.update",_x="dismissableLayer.pointerDownOutside",Lx="dismissableLayer.focusOutside",Ol,Mf=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(Mf),[f,y]=c.useState(null),h=(f==null?void 0:f.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,g]=c.useState({}),m=Co(n,y),b=Array.from(p.layers),[v]=[...p.layersWithOutsidePointerEventsDisabled].slice(-1),x=v?b.indexOf(v):-1,w=f?b.indexOf(f):-1,S=p.layersWithOutsidePointerEventsDisabled.size>0,R=w>=x,C=c.useRef(!1),k=If(O=>{i==null||i(O),l==null||l(O),O.defaultPrevented||u==null||u()},{ownerDocument:h,deferPointerDownOutside:r,isDeferredPointerDownOutsideRef:C,dismissableSurfaces:p.dismissableSurfaces,shouldHandlePointerDownOutside:c.useCallback(O=>{if(!(O instanceof Node))return!1;const N=[...p.branches].some(D=>D.contains(O));return R&&!N},[p.branches,R])}),T=Of(O=>{if(r&&C.current)return;const N=O.target;[...p.branches].some(P=>P.contains(N))||(a==null||a(O),l==null||l(O),O.defaultPrevented||u==null||u())},h),E=f?w===b.length-1:!1,A=mo(O=>{O.key==="Escape"&&(s==null||s(O),!O.defaultPrevented&&u&&(O.preventDefault(),u()))});return c.useEffect(()=>{if(E)return h.addEventListener("keydown",A,{capture:!0}),()=>h.removeEventListener("keydown",A,{capture:!0})},[h,E,A]),c.useEffect(()=>{if(f)return o&&(p.layersWithOutsidePointerEventsDisabled.size===0&&(Ol=h.body.style.pointerEvents,h.body.style.pointerEvents="none"),p.layersWithOutsidePointerEventsDisabled.add(f)),p.layers.add(f),Bi(),()=>{o&&(p.layersWithOutsidePointerEventsDisabled.delete(f),p.layersWithOutsidePointerEventsDisabled.size===0&&(h.body.style.pointerEvents=Ol))}},[f,h,o,p]),c.useEffect(()=>()=>{f&&(p.layers.delete(f),p.layersWithOutsidePointerEventsDisabled.delete(f),Bi())},[f,p]),c.useEffect(()=>{const O=it(()=>g({}),"handleUpdate");return document.addEventListener(ji,O),()=>document.removeEventListener(ji,O)},[]),q.jsx(Bs.div,{...d,ref:m,style:{pointerEvents:S?R?"auto":"none":void 0,...t.style},onFocusCapture:Ln(t.onFocusCapture,T.onFocusCapture),onBlurCapture:Ln(t.onBlurCapture,T.onBlurCapture),onPointerDownCapture:Ln(t.onPointerDownCapture,k.onPointerDownCapture)})},"DismissableLayer"));function Tf(){const e=c.useContext(Mf),[t,n]=c.useState(null);return c.useEffect(()=>{if(t)return e.dismissableSurfaces.add(t),()=>{e.dismissableSurfaces.delete(t)}},[t,e.dismissableSurfaces]),n}it(Tf,"useDismissableLayerSurface");var zx=it(()=>!0,"IS_TRUE");function If(e,t){const{ownerDocument:n=globalThis==null?void 0:globalThis.document,deferPointerDownOutside:o=!1,isDeferredPointerDownOutsideRef:r,dismissableSurfaces:s,shouldHandlePointerDownOutside:i=zx}=t,a=mo(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 h(x){if(!u.current)return;const w=x.target;w instanceof Node&&[...s].some(R=>R.contains(w))||d.current.set(x.type,!0),x.type==="click"&&window.setTimeout(()=>{u.current&&p.current()},0)}it(h,"handleInteractionCapture");function g(x){u.current&&d.current.set(x.type,!1)}it(g,"handleInteractionBubble");const m=it(x=>{if(x.target&&!l.current){let w=function(){n.removeEventListener("click",p.current);const R=y();f(),R||Xa(_x,a,S,{discrete:!0})};if(it(w,"handleAndDispatchPointerDownOutsideEvent"),!i(x.target)){n.removeEventListener("click",p.current),f(),l.current=!1;return}const S={originalEvent:x};u.current=!0,r.current=o&&x.button===0,d.current.clear(),!o||x.button!==0?w():(n.removeEventListener("click",p.current),p.current=w,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 x of b)n.addEventListener(x,h,!0),n.addEventListener(x,g);const v=window.setTimeout(()=>{n.addEventListener("pointerdown",m)},0);return()=>{window.clearTimeout(v),n.removeEventListener("pointerdown",m),n.removeEventListener("click",p.current);for(const x of b)n.removeEventListener(x,h,!0),n.removeEventListener(x,g)}},[n,a,o,r,s,i]),{onPointerDownCapture:it(()=>l.current=!0,"onPointerDownCapture")}}it(If,"usePointerDownOutside");function Of(e,t=globalThis==null?void 0:globalThis.document){const n=mo(e),o=c.useRef(!1);return c.useEffect(()=>{const r=it(s=>{s.target&&!o.current&&Xa(Lx,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(Of,"useFocusOutside");function Bi(){const e=new CustomEvent(ji);document.dispatchEvent(e)}it(Bi,"dispatchUpdate");function Xa(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?Pf(r,s):r.dispatchEvent(s)}it(Xa,"handleAndDispatchCustomEvent");var Vx=Object.defineProperty,gt=(e,t)=>Vx(e,"name",{value:t,configurable:!0}),fi="focusScope.autoFocusOnMount",pi="focusScope.autoFocusOnUnmount",Al={bubbles:!1,cancelable:!0},$x=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=mo(s),p=mo(i),f=c.useRef(null),y=Co(n,u),h=c.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;c.useEffect(()=>{if(r){let m=function(w){if(h.paused||!l)return;const S=w.target;l.contains(S)?f.current=S:Jt(f.current,{select:!0})},b=function(w){if(h.paused||!l)return;const S=w.relatedTarget;S!==null&&(l.contains(S)||Jt(f.current,{select:!0}))},v=function(w){if(document.activeElement===document.body)for(const R of w)R.removedNodes.length>0&&Jt(l)};gt(m,"handleFocusIn"),gt(b,"handleFocusOut"),gt(v,"handleMutations"),document.addEventListener("focusin",m),document.addEventListener("focusout",b);const x=new MutationObserver(v);return l&&x.observe(l,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",m),document.removeEventListener("focusout",b),x.disconnect()}}},[r,l,h.paused]),c.useEffect(()=>{if(l){Nl.add(h);const m=document.activeElement;if(!l.contains(m)){const v=new CustomEvent(fi,Al);l.addEventListener(fi,d),l.dispatchEvent(v),v.defaultPrevented||(Af(Ff(Ka(l)),{select:!0}),document.activeElement===m&&Jt(l))}return()=>{l.removeEventListener(fi,d),setTimeout(()=>{const v=new CustomEvent(pi,Al);l.addEventListener(pi,p),l.dispatchEvent(v),v.defaultPrevented||Jt(m??document.body,{select:!0}),l.removeEventListener(pi,p),Nl.remove(h)},0)}}},[l,d,p,h]);const g=c.useCallback(m=>{if(!o&&!r||h.paused)return;const b=m.key==="Tab"&&!m.altKey&&!m.ctrlKey&&!m.metaKey,v=document.activeElement;if(b&&v){const x=m.currentTarget,[w,S]=Nf(x);w&&S?!m.shiftKey&&v===S?(m.preventDefault(),o&&Jt(w,{select:!0})):m.shiftKey&&v===w&&(m.preventDefault(),o&&Jt(S,{select:!0})):v===x&&m.preventDefault()}},[o,r,h.paused]);return q.jsx(Bs.div,{tabIndex:-1,...a,ref:y,onKeyDown:g})},"FocusScope"));function Af(e,{select:t=!1}={}){const n=document.activeElement;for(const o of e)if(Jt(o,{select:t}),document.activeElement!==n)return}gt(Af,"focusFirst");function Nf(e){const t=Ka(e),n=Wi(t,e),o=Wi(t.reverse(),e);return[n,o]}gt(Nf,"getTabbableEdges");function Ka(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(Ka,"getTabbableCandidates");function Wi(e,t){const n=typeof t.checkVisibility=="function"&&t.checkVisibility({checkVisibilityCSS:!0});for(const o of e)if(!(n?!o.checkVisibility({checkVisibilityCSS:!0}):Df(o,{upTo:t})))return o}gt(Wi,"findVisible");function Df(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(Df,"isHidden");function _f(e){return e instanceof HTMLInputElement&&"select"in e}gt(_f,"isSelectableInput");function Jt(e,{select:t=!1}={}){if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&_f(e)&&t&&e.select()}}gt(Jt,"focus");var Nl=Lf();function Lf(){let e=[];return{add(t){const n=e[0];t!==n&&(n==null||n.pause()),e=Ui(e,t),e.unshift(t)},remove(t){var n;e=Ui(e,t),(n=e[0])==null||n.resume()}}}gt(Lf,"createFocusScopesStack");function Ui(e,t){const n=[...e],o=n.indexOf(t);return o!==-1&&n.splice(o,1),n}gt(Ui,"arrayRemove");function Ff(e){return e.filter(t=>t.tagName!=="A")}gt(Ff,"removeLinks");var Hx=Object.defineProperty,jx=(e,t)=>Hx(e,"name",{value:t,configurable:!0}),Bx=c.forwardRef(jx(function(t,n){var l;const{container:o,...r}=t,[s,i]=c.useState(!1);go(()=>i(!0),[]);const a=o||s&&((l=globalThis==null?void 0:globalThis.document)==null?void 0:l.body);return a?It.createPortal(q.jsx(Bs.div,{...r,ref:n}),a):null},"Portal")),Wx=Object.defineProperty,sn=(e,t)=>Wx(e,"name",{value:t,configurable:!0});function zf(e,t){return c.useReducer((n,o)=>t[n][o]??n,e)}sn(zf,"useStateMachine");var Za=sn(e=>{const{present:t,children:n}=e,o=Vf(t),r=typeof n=="function"?n({present:o.isPresent}):c.Children.only(n),s=$f(o.ref,Hf(r));return typeof n=="function"||o.isPresent?c.cloneElement(r,{ref:s}):null},"Presence");function Vf(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]=zf(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??Jn(o.current),i.current=void 0):s.current="none"},[l]),go(()=>{const d=o.current,p=r.current;if(p!==e){const y=s.current,h=Jn(d);e?(i.current=h,u("MOUNT")):h==="none"||(d==null?void 0:d.display)==="none"?u("UNMOUNT"):u(p&&y!==h?"ANIMATION_OUT":"UNMOUNT"),r.current=e}},[e,u]),go(()=>{if(t){let d;const p=t.ownerDocument.defaultView??window,f=sn(h=>{const m=Jn(o.current).includes(CSS.escape(h.animationName));if(h.target===t&&m&&(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=sn(h=>{h.target===t&&(s.current=Jn(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=Jn(p)}else o.current=null;n(d)},[])}}sn(Vf,"usePresence");function Gi(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}sn(Gi,"setRef");function $f(...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=Gi(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():Gi(o[i],null)}}},[])}sn($f,"useStableComposedRefs");function Jn(e){return(e==null?void 0:e.animationName)||"none"}sn(Jn,"getAnimationName");function Hf(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)}sn(Hf,"getElementRef");var Ux=Object.defineProperty,Qa=(e,t)=>Ux(e,"name",{value:t,configurable:!0}),Mr=0,Bt=null;function Gx(e){return Ja(),e.children}Qa(Gx,"FocusGuards");function Ja(){c.useEffect(()=>{Bt||(Bt={start:qi(),end:qi()});const{start:e,end:t}=Bt;return document.body.firstElementChild!==e&&document.body.insertAdjacentElement("afterbegin",e),document.body.lastElementChild!==t&&document.body.insertAdjacentElement("beforeend",t),Mr++,()=>{Mr===1&&(Bt==null||Bt.start.remove(),Bt==null||Bt.end.remove(),Bt=null),Mr=Math.max(0,Mr-1)}},[])}Qa(Ja,"useFocusGuards");function qi(){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}Qa(qi,"createFocusGuard");var Ut=function(){return Ut=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},Ut.apply(this,arguments)};function jf(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 qx(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 jr="right-scroll-bar-position",Br="width-before-scroll-bar",Yx="with-scroll-bars-hidden",Xx="--removed-body-scroll-bar-size";function hi(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function Kx(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 Zx=typeof window<"u"?c.useLayoutEffect:c.useEffect,Dl=new WeakMap;function Qx(e,t){var n=Kx(null,function(o){return e.forEach(function(r){return hi(r,o)})});return Zx(function(){var o=Dl.get(n);if(o){var r=new Set(o),s=new Set(e),i=n.current;r.forEach(function(a){s.has(a)||hi(a,null)}),s.forEach(function(a){r.has(a)||hi(a,i)})}Dl.set(n,e)},[e]),n}function Jx(e){return e}function e2(e,t){t===void 0&&(t=Jx);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 t2(e){e===void 0&&(e={});var t=e2(null);return t.options=Ut({async:!0,ssr:!1},e),t}var Bf=function(e){var t=e.sideCar,n=jf(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,Ut({},n))};Bf.isSideCarExport=!0;function n2(e,t){return e.useMedium(t),Bf}var Wf=t2(),gi=function(){},Ws=c.forwardRef(function(e,t){var n=c.useRef(null),o=c.useState({onScrollCapture:gi,onWheelCapture:gi,onTouchMoveCapture:gi}),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,h=e.noIsolation,g=e.inert,m=e.allowPinchZoom,b=e.as,v=b===void 0?"div":b,x=e.gapMode,w=jf(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),S=f,R=Qx([n,t]),C=Ut(Ut({},w),r);return c.createElement(c.Fragment,null,d&&c.createElement(S,{sideCar:Wf,removeScrollBar:u,shards:p,noRelative:y,noIsolation:h,inert:g,setCallbacks:s,allowPinchZoom:!!m,lockRef:n,gapMode:x}),i?c.cloneElement(c.Children.only(a),Ut(Ut({},C),{ref:R})):c.createElement(v,Ut({},C,{className:l,ref:R}),a))});Ws.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};Ws.classNames={fullWidth:Br,zeroRight:jr};var o2=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function r2(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=o2();return t&&e.setAttribute("nonce",t),e}function s2(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function i2(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var a2=function(){var e=0,t=null;return{add:function(n){e==0&&(t=r2())&&(s2(t,n),i2(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},c2=function(){var e=a2();return function(t,n){c.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},Uf=function(){var e=c2(),t=function(n){var o=n.styles,r=n.dynamic;return e(o,r),null};return t},l2={left:0,top:0,right:0,gap:0},mi=function(e){return parseInt(e||"",10)||0},u2=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[mi(n),mi(o),mi(r)]},d2=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return l2;var t=u2(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])}},f2=Uf(),so="data-scroll-locked",p2=function(e,t,n,o){var r=e.left,s=e.top,i=e.right,a=e.gap;return n===void 0&&(n="margin"),`
|
|
873
|
+
.`.concat(Yx,` {
|
|
874
|
+
overflow: hidden `).concat(o,`;
|
|
875
|
+
padding-right: `).concat(a,"px ").concat(o,`;
|
|
876
|
+
}
|
|
877
|
+
body[`).concat(so,`] {
|
|
878
|
+
overflow: hidden `).concat(o,`;
|
|
879
|
+
overscroll-behavior: contain;
|
|
880
|
+
`).concat([t&&"position: relative ".concat(o,";"),n==="margin"&&`
|
|
881
|
+
padding-left: `.concat(r,`px;
|
|
882
|
+
padding-top: `).concat(s,`px;
|
|
883
|
+
padding-right: `).concat(i,`px;
|
|
884
|
+
margin-left:0;
|
|
885
|
+
margin-top:0;
|
|
886
|
+
margin-right: `).concat(a,"px ").concat(o,`;
|
|
887
|
+
`),n==="padding"&&"padding-right: ".concat(a,"px ").concat(o,";")].filter(Boolean).join(""),`
|
|
888
|
+
}
|
|
889
|
+
|
|
890
|
+
.`).concat(jr,` {
|
|
891
|
+
right: `).concat(a,"px ").concat(o,`;
|
|
892
|
+
}
|
|
893
|
+
|
|
894
|
+
.`).concat(Br,` {
|
|
895
|
+
margin-right: `).concat(a,"px ").concat(o,`;
|
|
896
|
+
}
|
|
897
|
+
|
|
898
|
+
.`).concat(jr," .").concat(jr,` {
|
|
899
|
+
right: 0 `).concat(o,`;
|
|
900
|
+
}
|
|
901
|
+
|
|
902
|
+
.`).concat(Br," .").concat(Br,` {
|
|
903
|
+
margin-right: 0 `).concat(o,`;
|
|
904
|
+
}
|
|
905
|
+
|
|
906
|
+
body[`).concat(so,`] {
|
|
907
|
+
`).concat(Xx,": ").concat(a,`px;
|
|
908
|
+
}
|
|
909
|
+
`)},_l=function(){var e=parseInt(document.body.getAttribute(so)||"0",10);return isFinite(e)?e:0},h2=function(){c.useEffect(function(){return document.body.setAttribute(so,(_l()+1).toString()),function(){var e=_l()-1;e<=0?document.body.removeAttribute(so):document.body.setAttribute(so,e.toString())}},[])},g2=function(e){var t=e.noRelative,n=e.noImportant,o=e.gapMode,r=o===void 0?"margin":o;h2();var s=c.useMemo(function(){return d2(r)},[r]);return c.createElement(f2,{styles:p2(s,!t,r,n?"":"!important")})},Yi=!1;if(typeof window<"u")try{var Tr=Object.defineProperty({},"passive",{get:function(){return Yi=!0,!0}});window.addEventListener("test",Tr,Tr),window.removeEventListener("test",Tr,Tr)}catch{Yi=!1}var Gn=Yi?{passive:!1}:!1,m2=function(e){return e.tagName==="TEXTAREA"},Gf=function(e,t){if(!(e instanceof Element))return!1;var n=window.getComputedStyle(e);return n[t]!=="hidden"&&!(n.overflowY===n.overflowX&&!m2(e)&&n[t]==="visible")},y2=function(e){return Gf(e,"overflowY")},b2=function(e){return Gf(e,"overflowX")},Ll=function(e,t){var n=t.ownerDocument,o=t;do{typeof ShadowRoot<"u"&&o instanceof ShadowRoot&&(o=o.host);var r=qf(e,o);if(r){var s=Yf(e,o),i=s[1],a=s[2];if(i>a)return!0}o=o.parentNode}while(o&&o!==n.body);return!1},v2=function(e){var t=e.scrollTop,n=e.scrollHeight,o=e.clientHeight;return[t,n,o]},x2=function(e){var t=e.scrollLeft,n=e.scrollWidth,o=e.clientWidth;return[t,n,o]},qf=function(e,t){return e==="v"?y2(t):b2(t)},Yf=function(e,t){return e==="v"?v2(t):x2(t)},w2=function(e,t){return e==="h"&&t==="rtl"?-1:1},S2=function(e,t,n,o,r){var s=w2(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=Yf(e,a),h=y[0],g=y[1],m=y[2],b=g-m-s*h;(h||b)&&qf(e,a)&&(p+=b,f+=h);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},Ir=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},Fl=function(e){return[e.deltaX,e.deltaY]},zl=function(e){return e&&"current"in e?e.current:e},R2=function(e,t){return e[0]===t[0]&&e[1]===t[1]},k2=function(e){return`
|
|
910
|
+
.block-interactivity-`.concat(e,` {pointer-events: none;}
|
|
911
|
+
.allow-interactivity-`).concat(e,` {pointer-events: all;}
|
|
912
|
+
`)},C2=0,qn=[];function E2(e){var t=c.useRef([]),n=c.useRef([0,0]),o=c.useRef(),r=c.useState(C2++)[0],s=c.useState(Uf)[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=qx([e.lockRef.current],(e.shards||[]).map(zl),!0).filter(Boolean);return g.forEach(function(m){return m.classList.add("allow-interactivity-".concat(r))}),function(){document.body.classList.remove("block-interactivity-".concat(r)),g.forEach(function(m){return m.classList.remove("allow-interactivity-".concat(r))})}}},[e.inert,e.lockRef.current,e.shards]);var a=c.useCallback(function(g,m){if("touches"in g&&g.touches.length===2||g.type==="wheel"&&g.ctrlKey)return!i.current.allowPinchZoom;var b=Ir(g),v=n.current,x="deltaX"in g?g.deltaX:v[0]-b[0],w="deltaY"in g?g.deltaY:v[1]-b[1],S,R=g.target,C=Math.abs(x)>Math.abs(w)?"h":"v";if("touches"in g&&C==="h"&&R.type==="range")return!1;var k=window.getSelection(),T=k&&k.anchorNode,E=T?T===R||T.contains(R):!1;if(E)return!1;var A=Ll(C,R);if(!A)return!0;if(A?S=C:(S=C==="v"?"h":"v",A=Ll(C,R)),!A)return!1;if(!o.current&&"changedTouches"in g&&(x||w)&&(o.current=S),!S)return!0;var O=o.current||S;return S2(O,m,g,O==="h"?x:w)},[]),l=c.useCallback(function(g){var m=g;if(!(!qn.length||qn[qn.length-1]!==s)){var b="deltaY"in m?Fl(m):Ir(m),v=t.current.filter(function(S){return S.name===m.type&&(S.target===m.target||m.target===S.shadowParent)&&R2(S.delta,b)})[0];if(v&&v.should){m.cancelable&&m.preventDefault();return}if(!v){var x=(i.current.shards||[]).map(zl).filter(Boolean).filter(function(S){return S.contains(m.target)}),w=x.length>0?a(m,x[0]):!i.current.noIsolation;w&&m.cancelable&&m.preventDefault()}}},[]),u=c.useCallback(function(g,m,b,v){var x={name:g,delta:m,target:b,should:v,shadowParent:P2(b)};t.current.push(x),setTimeout(function(){t.current=t.current.filter(function(w){return w!==x})},1)},[]),d=c.useCallback(function(g){n.current=Ir(g),o.current=void 0},[]),p=c.useCallback(function(g){u(g.type,Fl(g),g.target,a(g,e.lockRef.current))},[]),f=c.useCallback(function(g){u(g.type,Ir(g),g.target,a(g,e.lockRef.current))},[]);c.useEffect(function(){return qn.push(s),e.setCallbacks({onScrollCapture:p,onWheelCapture:p,onTouchMoveCapture:f}),document.addEventListener("wheel",l,Gn),document.addEventListener("touchmove",l,Gn),document.addEventListener("touchstart",d,Gn),function(){qn=qn.filter(function(g){return g!==s}),document.removeEventListener("wheel",l,Gn),document.removeEventListener("touchmove",l,Gn),document.removeEventListener("touchstart",d,Gn)}},[]);var y=e.removeScrollBar,h=e.inert;return c.createElement(c.Fragment,null,h?c.createElement(s,{styles:k2(r)}):null,y?c.createElement(g2,{noRelative:e.noRelative,gapMode:e.gapMode}):null)}function P2(e){for(var t=null;e!==null;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}const M2=n2(Wf,E2);var Xf=c.forwardRef(function(e,t){return c.createElement(Ws,Ut({},e,{ref:t,sideCar:M2}))});Xf.classNames=Ws.classNames;var T2=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},Yn=new WeakMap,Or=new WeakMap,Ar={},yi=0,Kf=function(e){return e&&(e.host||Kf(e.parentNode))},I2=function(e,t){return t.map(function(n){if(e.contains(n))return n;var o=Kf(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})},O2=function(e,t,n,o){var r=I2(t,Array.isArray(e)?e:[e]);Ar[n]||(Ar[n]=new WeakMap);var s=Ar[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),h=y!==null&&y!=="false",g=(Yn.get(f)||0)+1,m=(s.get(f)||0)+1;Yn.set(f,g),s.set(f,m),i.push(f),g===1&&h&&Or.set(f,!0),m===1&&f.setAttribute(n,"true"),h||f.setAttribute(o,"true")}catch(b){console.error("aria-hidden: cannot operate on ",f,b)}})};return d(t),a.clear(),yi++,function(){i.forEach(function(p){var f=Yn.get(p)-1,y=s.get(p)-1;Yn.set(p,f),s.set(p,y),f||(Or.has(p)||p.removeAttribute(o),Or.delete(p)),y||p.removeAttribute(n)}),yi--,yi||(Yn=new WeakMap,Yn=new WeakMap,Or=new WeakMap,Ar={})}},A2=function(e,t,n){n===void 0&&(n="data-aria-hidden");var o=Array.from(Array.isArray(e)?e:[e]),r=T2(e);return r?(o.push.apply(o,Array.from(r.querySelectorAll("[aria-live], script"))),O2(o,r,n,"aria-hidden")):function(){return null}},N2=Object.defineProperty,un=(e,t)=>N2(e,"name",{value:t,configurable:!0}),ec="Dialog",[Zf,mE]=mf(ec),[D2,Bn]=Zf(ec),yE=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]=vf({prop:o,defaultProp:r??!1,onChange:s,caller:ec}),[p,f]=c.useState(0),[y,h]=c.useState(0);return q.jsx(D2,{scope:t,triggerRef:a,contentRef:l,contentId:Hr(),titleId:Hr(),descriptionId:Hr(),titlePresent:p>0,descriptionPresent:y>0,setTitleCount:f,setDescriptionCount:h,open:u,onOpenChange:d,onOpenToggle:c.useCallback(()=>d(g=>!g),[d]),modal:i,children:n})},"Dialog"),Qf="DialogPortal",[_2,Jf]=Zf(Qf,{forceMount:void 0}),bE=un(e=>{const{__scopeDialog:t,forceMount:n,children:o,container:r}=e,s=Bn(Qf,t);return q.jsx(_2,{scope:t,forceMount:n,children:c.Children.map(o,i=>q.jsx(Za,{present:n||s.open,children:q.jsx(Bx,{asChild:!0,container:r,children:i})}))})},"DialogPortal"),Xi="DialogOverlay",vE=c.forwardRef(un(function(t,n){const o=Jf(Xi,t.__scopeDialog),{forceMount:r=o.forceMount,...s}=t,i=Bn(Xi,t.__scopeDialog);return i.modal?q.jsx(Za,{present:r||i.open,children:q.jsx(F2,{...s,ref:n})}):null},"DialogOverlay")),L2=Ya("DialogOverlay.RemoveScroll"),F2=c.forwardRef(un(function(t,n){const{__scopeDialog:o,...r}=t,s=Bn(Xi,o),i=Tf(),a=Co(n,i);return q.jsx(Xf,{as:L2,allowPinchZoom:!0,shards:[s.contentRef],children:q.jsx(Bs.div,{"data-state":tc(s.open),...r,ref:a,style:{pointerEvents:"auto",...r.style}})})},"DialogOverlayImpl")),Uo="DialogContent",xE=c.forwardRef(un(function(t,n){const o=Jf(Uo,t.__scopeDialog),{forceMount:r=o.forceMount,...s}=t,i=Bn(Uo,t.__scopeDialog);return q.jsx(Za,{present:r||i.open,children:i.modal?q.jsx(z2,{...s,ref:n}):q.jsx(V2,{...s,ref:n})})},"DialogContent")),z2=c.forwardRef(un(function(t,n){const o=Bn(Uo,t.__scopeDialog),r=c.useRef(null),s=Co(n,o.contentRef,r);return c.useEffect(()=>{const i=r.current;if(i)return A2(i)},[]),q.jsx(ep,{...t,ref:s,trapFocus:o.open,disableOutsidePointerEvents:o.open,onCloseAutoFocus:Ln(t.onCloseAutoFocus,i=>{var a;i.preventDefault(),(a=o.triggerRef.current)==null||a.focus()}),onPointerDownOutside:Ln(t.onPointerDownOutside,i=>{const a=i.detail.originalEvent,l=a.button===0&&a.ctrlKey===!0;(a.button===2||l)&&i.preventDefault()}),onFocusOutside:Ln(t.onFocusOutside,i=>i.preventDefault())})},"DialogContentModal")),V2=c.forwardRef(un(function(t,n){const o=Bn(Uo,t.__scopeDialog),r=c.useRef(!1),s=c.useRef(!1);return q.jsx(ep,{...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")),ep=c.forwardRef(un(function(t,n){const{__scopeDialog:o,trapFocus:r,onOpenAutoFocus:s,onCloseAutoFocus:i,...a}=t,l=Bn(Uo,o);return Ja(),q.jsx(q.Fragment,{children:q.jsx($x,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:s,onUnmountAutoFocus:i,children:q.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":tc(l.open),...a,ref:n,deferPointerDownOutside:!0,onDismiss:()=>l.onOpenChange(!1)})})})},"DialogContentImpl"));function tc(e){return e?"open":"closed"}un(tc,"getState");const tp=c.createContext(void 0);function nc(e){const t=c.useContext(tp);if(t===void 0&&!e)throw new Error(Ae(33));return t}const oc=c.createContext(void 0);function In(e){const t=c.useContext(oc);if(t===void 0&&!e)throw new Error(Ae(36));return t}const np=c.createContext(void 0);function Us(e=!0){const t=c.useContext(np);if(t===void 0&&!e)throw new Error(Ae(25));return t}function $2(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=Us(!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:no})},onMouseUp(y){if(p){const h=p.initialCursorPointRef.current;if(p.initialCursorPointRef.current=null,f&&h&&Math.abs(y.clientX-h.x)<=1&&Math.abs(y.clientY-h.y)<=1||f&&!ua&&y.button===2)return}a.current&&s.context.allowMouseUpTriggerRef.current&&(!f||y.button===2)&&l.type==="regular-item"&&_n(a.current,y,{detail:1})}}),[t,n,o,u,r,d,s,i,a,p,f,l])}const op={type:"regular-item"};function rp(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}=St({disabled:n,focusableWhenDisabled:!0,native:a,composite:!0}),y=$2({closeOnClick:t,highlighted:o,id:r,nodeId:u,store:s,typingRef:i,itemRef:d,itemMetadata:l}),h=c.useCallback(m=>Ct(y,{onMouseEnter(){l.type==="submenu-trigger"&&l.setActive()}},m,p),[y,p,l]),g=Ot(d,f);return c.useMemo(()=>({getItemProps:h,itemRef:g}),[h,g])}let Vl=(function(e){return e.checked="data-checked",e.unchecked="data-unchecked",e.disabled="data-disabled",e.highlighted="data-highlighted",e})({});const sp={checked(e){return e?{[Vl.checked]:""}:{[Vl.unchecked]:""}},...zt},rc=c.createContext(void 0);function H2(){const e=c.useContext(rc);if(e===void 0)throw new Error(Ae(31));return e}const wE=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 q.jsx(rc.Provider,{value:l,children:u})}),SE=c.forwardRef(function(t,n){const{render:o,className:r,style:s,id:i,...a}=t,l=et(i),u=H2();return se(()=>(u(l),()=>{u(d=>d===l?void 0:d)}),[u,l]),Se("div",t,{ref:n,props:{id:l,role:"presentation",...a}})}),RE=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=or({guess:!0,label:i}),y=nc(!0),h=et(s),{store:g}=In(),m=g.useState("disabled"),b=l||m,v=g.useState("isActive",f.index),x=g.useState("itemProps"),{getItemProps:w,itemRef:S}=rp({closeOnClick:u,disabled:b,highlighted:v,id:h,store:g,nativeButton:a,nodeId:y==null?void 0:y.context.nodeId,itemMetadata:op});return Se("div",t,{state:{disabled:b,highlighted:v},props:[x,p,w],ref:[S,n,f.ref]})}),kE=c.forwardRef(function(t,n){const{render:o,className:r,style:s,finalFocus:i,...a}=t,{store:l}=In(),{side:u,align:d}=nc(),p=Hs()!=null,f=l.useState("open"),y=l.useState("transitionStatus"),h=l.useState("popupProps"),g=l.useState("mounted"),m=l.useState("instantType"),b=l.useState("activeTriggerElement"),v=l.useState("parent"),x=l.useState("lastOpenChangeReason"),w=l.useState("rootId"),S=l.useState("floatingRootContext"),R=l.useState("floatingTreeRoot"),C=l.useState("closeDelay"),k=l.useState("hoverEnabled"),T=l.useState("disabled"),E=l.useState("openMethod"),A=v.type==="context-menu";Rt({open:f,ref:l.context.popupRef,onComplete(){var V,L;f&&((L=(V=l.context).onOpenChangeComplete)==null||L.call(V,!0))}}),c.useEffect(()=>{function V(L){l.setOpen(!1,Re(L.reason,L.domEvent))}return R.events.on("close",V),()=>{R.events.off("close",V)}},[R.events,l]),Da(S,{enabled:k&&!T&&!A&&v.type!=="menubar",closeDelay:C});const O=l.useStateSetter("popupElement"),N={transitionStatus:y,side:u,align:d,open:f,nested:v.type==="menu",instant:m},D=Se("div",t,{state:N,ref:[n,l.context.popupRef,O],stateAttributesMapping:Ls,props:[h,{onKeyDown(V){p&&nr.has(V.key)&&V.stopPropagation()}},tr(y),a,{"data-rootownerid":w}]});let P=v.type===void 0||A;return(b||v.type==="menubar"&&x!==ps)&&(P=!0),q.jsx(bs,{context:S,openInteractionType:E,modal:A,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})}),ip=c.createContext(void 0);function j2(){const e=c.useContext(ip);if(e===void 0)throw new Error(Ae(32));return e}const CE=c.forwardRef(function(t,n){const{keepMounted:o=!1,...r}=t,{store:s}=In();return s.useState("mounted")||o?q.jsx(ip.Provider,{value:o,children:q.jsx(ys,{ref:n,...r})}):null}),EE=c.forwardRef(function(t,n){var me;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:h=!1,disableAnchorTracking:g=!1,collisionAvoidance:m=ud,style:b,...v}=t,{store:x}=In(),w=j2(),S=Us(!0),R=x.useState("parent"),C=x.useState("floatingRootContext"),k=x.useState("floatingTreeRoot"),T=x.useState("mounted"),E=x.useState("open"),A=x.useState("modal"),O=x.useState("openMethod"),N=x.useState("activeTriggerElement"),D=x.useState("transitionStatus"),P=x.useState("positionerElement"),V=x.useState("instantType"),L=x.useState("adaptiveOrigin"),I=x.useState("lastOpenChangeReason"),_=x.useState("floatingNodeId"),M=x.useState("floatingParentNodeId"),F=C.useState("domReferenceElement"),H=c.useRef(null),$=Rs(P);let U=o,G=u,z=d,K=l,j=m;R.type==="context-menu"&&(U=o??((me=R.context)==null?void 0:me.anchor),K=K??"start",!a&&K!=="center"&&(z=t.alignOffset??2,G=t.sideOffset??-5));let X=a,ue=K;R.type==="menu"?(X=X??"inline-end",ue=ue??"start",j=t.collisionAvoidance??Sa):R.type==="menubar"&&(X=X??(R.context.orientation==="vertical"?"inline-end":"bottom"),ue=ue??"start");const ne=R.type==="context-menu",te=Fs({anchor:U,floatingRootContext:C,positionMethod:S?"fixed":r,mounted:T,side:X,sideOffset:G,align:ue,alignOffset:z,arrowPadding:ne?0:y,collisionBoundary:p,collisionPadding:f,sticky:h,nodeId:_,keepMounted:w,disableAnchorTracking:g,collisionAvoidance:j,shift:ne?{crossAxis:!("side"in j&&j.side==="flip"),rootBoundary:"layoutViewport"}:void 0,externalTree:k,adaptiveOrigin:L});c.useEffect(()=>{function fe(oe){oe.open&&(oe.parentNodeId===_&&x.set("hoverEnabled",!1),oe.nodeId!==_&&oe.parentNodeId===x.select("floatingParentNodeId")&&x.setOpen(!1,Re(No)))}return k.events.on("menuopenchange",fe),()=>{k.events.off("menuopenchange",fe)}},[x,k.events,_]),c.useEffect(()=>{if(x.select("floatingParentNodeId")==null)return;function fe(oe){if(oe.open||oe.nodeId!==x.select("floatingParentNodeId"))return;const le=oe.reason??No;x.setOpen(!1,Re(le))}return k.events.on("menuopenchange",fe),()=>{k.events.off("menuopenchange",fe)}},[k.events,x]);const ee=qe();c.useEffect(()=>{E||ee.clear()},[E,ee]),c.useEffect(()=>{function fe(oe){if(!(!E||oe.nodeId!==x.select("floatingParentNodeId")))if(oe.target&&N&&N!==oe.target){const le=x.select("closeDelay");le>0?ee.isStarted()||ee.start(le,()=>{x.setOpen(!1,Re(No))}):x.setOpen(!1,Re(No))}else ee.clear()}return k.events.on("itemhover",fe),()=>{k.events.off("itemhover",fe)}},[k.events,E,N,x,ee]),c.useEffect(()=>{const fe={open:E,nodeId:_,parentNodeId:M,reason:x.select("lastOpenChangeReason")};k.events.emit("menuopenchange",fe)},[k.events,E,x,_,M]),se(()=>{const fe=F,oe=H.current;if(fe&&(H.current=fe),oe&&fe&&fe!==oe){x.set("instantType",void 0);const le=new AbortController;return $(()=>{x.set("instantType","trigger-change")},le.signal),()=>{le.abort()}}},[F,$,x]);const Y={open:E,side:te.side,align:te.align,anchorHidden:te.anchorHidden,nested:R.type==="menu",instant:V},re=R.type==="menubar"&&R.context.modal;za(E&&(re||A&&I!==Je),O==="touch",P,N);const ce=Vs(t,Y,{styles:te.positionerStyles,transitionStatus:D,props:v,refs:[n,x.useStateSetter("positionerElement")],hidden:!T,inert:!E}),pe=T&&R.type!=="menu"&&(R.type!=="menubar"&&A&&I!==Je||R.type==="menubar"&&R.context.modal);let ie=null;return R.type==="menubar"?ie=R.context.contentElement:R.type===void 0&&(ie=N),q.jsxs(tp.Provider,{value:te,children:[pe&&q.jsx(zs,{ref:R.type==="context-menu"||R.type==="nested-context-menu"?R.context.internalBackdropRef:null,inert:er(!E),cutout:ie}),q.jsx(yd,{id:_,children:q.jsx(js,{elementsRef:x.context.itemDomElements,labelsRef:x.context.itemLabels,children:ce})})]})}),ap=c.createContext(void 0);function B2(){const e=c.useContext(ap);if(e===void 0)throw new Error(Ae(34));return e}const PE=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),[h,g]=Ft({controlled:s,default:i,name:"MenuRadioGroup"}),m=de((w,S)=>{a==null||a(w,S),!S.isCanceled&&g(w)}),v=Se("div",t,{state:{disabled:l},ref:n,props:{role:"group","aria-labelledby":d??f,"aria-disabled":l||void 0,...p}}),x=c.useMemo(()=>({value:h,setValue:m,disabled:l}),[h,m,l]);return q.jsx(rc.Provider,{value:y,children:q.jsx(ap.Provider,{value:x,children:v})})})),cp=c.createContext(void 0);function W2(){const e=c.useContext(cp);if(e===void 0)throw new Error(Ae(35));return e}const ME=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=or({guess:!0,label:i}),h=nc(!0),g=et(s),{store:m}=In(),b=m.useState("isActive",y.index),v=m.useState("itemProps"),{value:x,setValue:w,disabled:S}=B2(),R=m.useState("disabled"),C=l||S||R,k=x===d,{getItemProps:T,itemRef:E}=rp({closeOnClick:u,disabled:C,highlighted:b,id:g,store:m,nativeButton:a,nodeId:h==null?void 0:h.context.nodeId,itemMetadata:op}),A=c.useMemo(()=>({disabled:C,highlighted:b,checked:k}),[C,b,k]);function O(D){const P=Re(no,D.nativeEvent,void 0,{preventUnmountOnClose:Ge});w(d,P)}const N=Se("div",t,{state:A,stateAttributesMapping:sp,props:[v,{role:"menuitemradio","aria-checked":k,onClick:O},f,T],ref:[E,n,y.ref]});return q.jsx(cp.Provider,{value:A,children:N})}),TE=c.forwardRef(function(t,n){const{render:o,className:r,style:s,keepMounted:i=!1,...a}=t,l=W2(),u=c.useRef(null),{transitionStatus:d,mounted:p,setMounted:f}=ln(l.checked);Rt({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:sp,ref:[n,u],props:{"aria-hidden":!0,...a},enabled:i||p})}),U2=c.createContext(null);function lp(e){return c.useContext(U2)}const G2={...Os,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 q2 extends xo{constructor(n){super({...X2(),...n},Y2(),G2);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 Y2(){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 wo}}function X2(){return{...Is(),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 Ra,floatingNodeId:void 0,floatingParentNodeId:null,itemProps:He,keyboardEventRelay:void 0,closeDelay:0,adaptiveOrigin:void 0}}const K2=c.createContext(void 0);function Z2(){return c.useContext(K2)}const Q2=Pa(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:h,defaultTriggerId:g=null,highlightItemOnHover:m=!0}=t,b=Us(!0),v=In(!0),x=lp(!0),w=Z2(),S=c.useMemo(()=>w&&v?{type:"menu",store:v.store}:x?{type:"menubar",context:x}:b&&!v?{type:"context-menu",context:b}:{type:void 0},[b,v,x,w]),R=J2({open:i,openProp:o,activeTriggerId:g,triggerIdProp:h,parent:S});R.useControlledProp("openProp",o),R.useControlledProp("triggerIdProp",h),R.useContextCallback("onOpenChangeComplete",s);const C=Rn(),k=Rn(),T=R.useState("floatingTreeRoot"),E=ka(T),A=En(),O=R.useState("open"),N=R.useState("activeTriggerElement"),D=R.useState("positionerElement"),P=R.useState("hoverEnabled"),V=R.useState("disabled"),L=R.useState("lastOpenChangeReason"),I=R.useState("parent"),_=R.useState("activeIndex"),M=R.useState("payload"),F=R.useState("floatingParentNodeId"),H=c.useRef(null),$=c.useRef(I.type!=="context-menu"),U=qe(),G=c.useRef(!0),z=qe(),K=F!=null,{openMethod:j,triggerProps:X}=Vd(O);R.useSyncedValues({disabled:a,highlightItemOnHover:m,modal:I.type===void 0?l:void 0,openMethod:j,rootId:C}),Ps(R);const{forceUnmount:ue}=Ms(O,R,()=>{R.set("allowMouseEnter",!1)});se(()=>{b&&!v?R.update({parent:{type:"context-menu",context:b},floatingNodeId:E,floatingParentNodeId:A}):v&&R.update({floatingNodeId:E,floatingParentNodeId:A})},[b,v,E,A,R]),c.useEffect(()=>{if(O||(H.current=null),I.type==="context-menu"){if(!O){U.clear(),$.current=!1;return}U.start(500,()=>{$.current=!0})}},[U,O,I.type]),se(()=>{!O&&!P&&R.set("hoverEnabled",!0)},[O,P,R]);const ne=de((Q,he)=>{const xe=he.reason;if(!Q&&!R.select("open")||O===Q&&he.trigger===N&&L===xe)return;const Le=Ta(he);if(!Q&&he.trigger==null&&(he.trigger=N??void 0),r==null||r(Q,he),he.isCanceled)return;R.state.floatingRootContext.dispatchOpenChange(Q,he);const Ue=he.event;if(Q===!1&&(Ue==null?void 0:Ue.type)==="click"&&Ue.pointerType==="touch"&&!G.current)return;Q&&xe===to?(G.current=!1,z.start(300,()=>{G.current=!0})):(G.current=!0,z.clear());const Xe=(xe===Lt||xe===no)&&Ue.detail===0,st=!Q&&(xe===Yo||xe==null),Fe={open:Q,openChangeReason:xe};H.current=he.event,Cs(Fe,Q,he.trigger,Le()),R.update(Fe),I.type==="menubar"&&(xe===to||xe===vn||xe===Je||xe===Ci||xe===No)?R.set("instantType","group"):Xe||st?R.set("instantType",Xe?"click":"dismiss"):R.set("instantType",void 0)}),te=Td({popupStore:R,floatingId:k,nested:A!=null,onOpenChange:ne}),ee=te.context.events;se(()=>{const Q=({open:he,eventDetails:xe})=>ne(he,xe);return ee.on("setOpen",Q),()=>{ee==null||ee.off("setOpen",Q)}},[ee,ne]);const Y=c.useCallback(()=>{R.setOpen(!1,Re(hs))},[R]);c.useImperativeHandle(p,()=>({unmount:ue,close:Y}),[ue,Y]);let re;I.type==="context-menu"&&(re=I.context),c.useImperativeHandle(re==null?void 0:re.positionerRef,()=>D,[D]),c.useImperativeHandle(re==null?void 0:re.actionsRef,()=>({setOpen:ne}),[ne]);const ge=Ko(te,{enabled:!V,bubbles:{escapeKey:f&&I.type==="menu"},outsidePress(){var Q;return I.type!=="context-menu"||((Q=H.current)==null?void 0:Q.type)==="contextmenu"?!0:$.current},externalTree:K?T:void 0}),ce=So(),pe=c.useCallback(Q=>{R.select("activeIndex")!==Q&&R.set("activeIndex",Q)},[R]),ie=_d(te,{enabled:!V,listRef:R.context.itemDomElements,activeIndex:_,nested:I.type!==void 0,loopFocus:u,orientation:d,parentOrientation:I.type==="menubar"?I.context.orientation:void 0,rtl:ce==="rtl",disabledIndices:_t,onNavigate:pe,openOnArrowKeyDown:I.type!=="context-menu",externalTree:K?T:void 0,focusItemOnHover:m}),me=c.useCallback(Q=>{R.context.typingRef.current=Q},[R]),fe=Ld(te,{enabled:!V,listRef:R.context.itemLabels,elementsRef:R.context.itemDomElements,activeIndex:_,resetMs:o1,onMatch:Q=>{O&&Q!==_&&R.set("activeIndex",Q)},onTyping:me}),oe=c.useMemo(()=>{const Q=Ct(fe.reference,ie.reference,ge.reference,{onMouseMove(){R.set("allowMouseEnter",!0)}},X);return Q["aria-haspopup"]="menu",Q["aria-expanded"]=O,Q},[R,fe.reference,ie.reference,ge.reference,X,O]),le=c.useMemo(()=>{const Q=Ct(ie.trigger,ge.trigger,X);return Q["aria-haspopup"]="menu",Q["aria-expanded"]=!1,Q},[ie.trigger,ge.trigger,X]),W=c.useMemo(()=>Ct(Zo,{id:k,role:"menu","aria-labelledby":N==null?void 0:N.id,onMouseMove(){R.set("allowMouseEnter",!0),I.type==="menu"&&R.set("hoverEnabled",!1)},onClick(){R.select("hoverEnabled")&&R.set("hoverEnabled",!1)},onKeyDown(Q){const he=R.select("keyboardEventRelay");he&&!Q.isPropagationStopped()&&he(Q)}},fe.floating,ie.floating,ge.floating),[N,k,I.type,R,fe.floating,ie.floating,ge.floating]),Z=ie.item??He;Ts(R,{floatingRootContext:te,activeTriggerProps:oe,inactiveTriggerProps:le,popupProps:W,itemProps:Z});const ae=c.useMemo(()=>({store:R,parent:S}),[R,S]),J=q.jsxs(oc.Provider,{value:ae,children:[y&&q.jsx(ks,{handle:y,store:R}),typeof n=="function"?n({payload:M}):n]});return I.type===void 0||I.type==="context-menu"?q.jsx(bd,{externalTree:T,children:J}):J});function J2(e){return at(()=>new q2(e)).current}function sc(e){if(_e(e)&&e.hasAttribute("data-rootownerid"))return e.getAttribute("data-rootownerid");if(!tn(e))return sc(rn(e))}function ew(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())}}:He,[t,n,o])}const IE=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,...h}=t,g=In(!0),b=As(f)??(g==null?void 0:g.store);if(!b)throw new Error(Ae(85));const v=et(l),x=b.useState("isTriggerActive",v),w=b.useState("floatingRootContext"),S=b.useState("isOpenedByTrigger",v),R=b.useState("triggerPopupId",v),C=c.useRef(null),k=nw(),T=as(!0),E=Pn(),A=c.useMemo(()=>E??new Ra,[E]),O=ka(A),N=En(),{registerTrigger:D,isMountedByThisTrigger:P}=Es(v,C,b,{payload:y,closeDelay:p,parent:k,floatingTreeRoot:A,floatingNodeId:O,floatingParentNodeId:N,keyboardEventRelay:T==null?void 0:T.relayKeyboardEvent}),V=k.type==="menubar",L=b.useState("disabled"),I=i||L||V&&k.context.disabled,{getButtonProps:_,buttonRef:M}=St({disabled:I,native:a});c.useEffect(()=>{!S&&k.type===void 0&&(b.context.allowMouseUpTriggerRef.current=!1)},[b,S,k.type]);const F=c.useRef(null),H=qe(),$=de(me=>{if(!F.current)return;H.clear(),b.context.allowMouseUpTriggerRef.current=!1;const fe=me.target;ve(F.current,fe)||ve(b.select("positionerElement"),fe)||fe===F.current||fe!=null&&sc(fe)===b.select("rootId")||of(me,F.current)||A.events.emit("close",{domEvent:me,reason:ga})});c.useEffect(()=>{S&&b.select("lastOpenChangeReason")===Je&&Te(F.current).addEventListener("mouseup",$,{once:!0})},[S,$,b]);const U=V&&k.context.hasSubmenuOpen,z=_a(w,{enabled:(u??U)&&!I&&(!V||U&&!P),handleClose:La({blockPointerEvents:!V}),mouseOnly:!0,move:!1,restMs:k.type===void 0?d:void 0,delay:{close:p},triggerElementRef:C,externalTree:A,isActiveTrigger:x,isClosing:()=>b.select("transitionStatus")==="ending"}),K=tw(S,b.select("lastOpenChangeReason")),j=vs(w,{enabled:!I,event:S&&V?"click":"mousedown",toggle:!0,ignoreMouse:!1,stickIfOpen:k.type===void 0?K:!1}),X=Nd(w,{enabled:!I&&U}),ue=ew({open:S,enabled:V,mouseDownAction:"open"}),ne=c.useMemo(()=>Ct(X.reference,j.reference),[X.reference,j.reference]),te=b.useState("triggerProps",P),{preFocusGuardRef:ee,handlePreFocusGuardFocus:Y,handleFocusTargetFocus:re}=zd(b,C),ge={disabled:I,open:S},ce=[F,n,M,D,C],pe=[ne,z??He,te,{"aria-haspopup":"menu","aria-controls":R,id:v,onMouseDown:me=>{if(b.select("open"))return;H.start(200,()=>{b.context.allowMouseUpTriggerRef.current=!0}),Te(me.currentTarget).addEventListener("mouseup",$,{once:!0})}},V?{role:"menuitem"}:{},ue,h,_],ie=Se("button",t,{enabled:!V,stateAttributesMapping:Bo,state:ge,ref:ce,props:pe});return V?q.jsx($a,{tag:"button",render:o,className:r,style:s,state:ge,refs:ce,props:pe,stateAttributesMapping:Bo}):S?q.jsxs(c.Fragment,{children:[q.jsx(xn,{ref:ee,onFocus:Y},`${v}-pre-focus-guard`),q.jsx(c.Fragment,{children:ie},v),q.jsx(xn,{ref:b.context.triggerFocusTargetRef,onFocus:re},`${v}-post-focus-guard`)]}):q.jsx(c.Fragment,{children:ie},v)});function tw(e,t){const n=qe(),[o,r]=c.useState(!1);return se(()=>{e&&t===Je?(r(!0),n.start(ld,()=>{r(!1)})):e||(n.clear(),r(!1))},[e,t,n]),o}function nw(){const e=lp();return c.useMemo(()=>e?{type:"menubar",context:e}:{type:void 0},[e])}function ow(e){const{open:t,defaultOpen:n,onOpenChange:o,disabled:r}=e,[s,i]=Ft({controlled:t,default:n,name:"Collapsible",state:"open"}),{mounted:a,setMounted:l,transitionStatus:u}=ln(s,!0,!0),d=et(),[p,f]=c.useState(),y=p===null?void 0:p??d,h=de(g=>{const m=!s,b=Re(Lt,g.nativeEvent);o(m,b),!b.isCanceled&&i(m)});return c.useMemo(()=>({defaultPanelId:d,disabled:r,handleTrigger:h,mounted:a,open:s,panelId:y,setMounted:l,setOpen:i,setPanelIdState:f,transitionStatus:u}),[d,r,h,a,s,y,l,i,f,u])}const up=c.createContext(void 0);function dp(){const e=c.useContext(up);if(e===void 0)throw new Error(Ae(15));return e}let ic=(function(e){return e.open="data-open",e.closed="data-closed",e[e.startingStyle=ts.startingStyle]="startingStyle",e[e.endingStyle=ts.endingStyle]="endingStyle",e})({}),rw=(function(e){return e.panelOpen="data-panel-open",e})({});const sw={[ic.open]:""},iw={[ic.closed]:""},aw={open(e){return e?{[rw.panelOpen]:""}:null}},cw={open(e){return e?sw:iw}},fp={...cw,...zt},OE=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=de(a),f=ow({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]),h=c.useMemo(()=>({...f,onOpenChange:p,state:y}),[f,p,y]),g=Se("div",t,{state:y,ref:n,props:d,stateAttributesMapping:fp});return q.jsx(up.Provider,{value:h,children:g})}),lw={...aw,...zt},AE=c.forwardRef(function(t,n){const{panelId:o,open:r,handleTrigger:s,state:i,disabled:a}=dp(),{className:l,disabled:u=a,render:d,nativeButton:p=!0,style:f,...y}=t,{getButtonProps:h,buttonRef:g}=St({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,h],stateAttributesMapping:lw})}),Oo={height:void 0,width:void 0};function uw(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,h]=c.useState(Oo),g=c.useRef(Oo),m=c.useRef(!1),b=c.useRef(a),v=c.useRef(!1),[x,w]=c.useState(!1),S=c.useRef(null),R=Ot(t,p),C=Ze(a),k=Rs(p),T=!a&&!s,E=x?"idle":d,A=a&&(b.current||v.current),O=!a&&s&&f.current==="css-animation"&&y.height===void 0&&y.width===void 0?g.current:y,N=n&&T&&f.current!=="css-animation",D=de((_,M=!0)=>{M&&(g.current=_),h(_)}),P=de(()=>{var _;(_=S.current)==null||_.call(S),S.current=null}),V=de(_=>{P(),S.current=()=>{S.current=null,_()}}),L=de(()=>{a&&s&&f.current==="css-animation"&&(v.current=!0)});se(()=>{!x||d==="starting"||w(!1)},[x,d]),c.useEffect(()=>()=>{L(),P()},[L,P]),se(()=>{const _=p.current;if(!_)return;!a&&S.current&&P();const M=dw(_,A);if(f.current=M,a&&d==="idle"&&b.current&&M==="css-animation"){g.current=Xn(_);return}if(a&&d==="starting"){const $=m.current;if(m.current=!1,M==="none"){D(Xn(_)),w(!0);return}if(M==="css-transition"){const z=fw(_);if(D(Xn(_)),!$)return z;const K=Nr(_,"transition-duration","0s");return V(K),w(!0),z}D(Xn(_));const U=Nr(_,"animation-name","none");if(!$){U();return}const G=Nr(_,"animation-duration","0s");U(),V(G),w(!0);return}if(!a&&s&&(d==="idle"||d==="starting")){if(b.current=!1,v.current=!1,M==="none"){D(Oo,!1),l(!1);return}D(Xn(_));return}if(d!=="ending")return;if(M==="none"){l(!1);return}const F=Xn(_);if(!(F.height>0||F.width>0)){l(!1);return}D(F),M==="css-animation"&&Nr(_,"animation-name","none")()},[s,a,P,D,l,V,A,d]),Rt({enabled:a&&s&&E==="idle",open:!0,ref:p,onComplete(){a&&D(Oo,!1)}}),c.useEffect(()=>{if(a||!s||E!=="ending"||!p.current)return;const M=new AbortController;let F=-1;function H(){C.current||(l(!1),D(Oo,!1))}return F=vt.request(()=>{k(H,M.signal)}),()=>{vt.cancel(F),M.abort()}},[C,s,a,E,k,D,l]),se(()=>{const _=p.current;!_||!n||!T||_.setAttribute("hidden","until-found")},[T,n]),c.useEffect(function(){const M=p.current;if(!M)return;function F(H){const $=Re(wt,H);i(!0,$),!$.isCanceled&&(m.current=!0,u(!0))}return Me(M,"beforematch",F)},[i,u]);const I=r||n||s||a;return{height:O.height,props:{...N?{[ic.startingStyle]:""}:void 0,hidden:T,id:o},ref:R,shouldPreventOpenAnimation:A,shouldRender:I,transitionStatus:E,width:O.width}}function Xn(e){return{height:e.scrollHeight,width:e.scrollWidth}}function dw(e,t){const n=je(e).getComputedStyle(e),o=(n.animationName.split(",").map(s=>s.trim()).some(s=>s!==""&&s!=="none")||t)&&$l(n.animationDuration),r=$l(n.transitionDuration);return o&&r||r?"css-transition":o?"css-animation":"none"}function $l(e){return e.split(",").map(t=>t.trim()).some(t=>t!==""&&Number.parseFloat(t)>0)}function Nr(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 fw(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 Hl=(function(e){return e.collapsiblePanelHeight="--collapsible-panel-height",e.collapsiblePanelWidth="--collapsible-panel-width",e})({});const NE=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:h,setPanelIdState:g,setOpen:m,state:b,transitionStatus:v}=dp(),x=r??!1,w=s??!1,S=a||void 0,R=S??d;se(()=>(g(L=>S??(L===null?void 0:L)),()=>{g(L=>L===S?null:L)}),[S,g]);const{height:C,props:k,ref:T,shouldPreventOpenAnimation:E,shouldRender:A,transitionStatus:O,width:N}=uw({externalRef:n,hiddenUntilFound:x,id:R,keepMounted:w,mounted:p,onOpenChange:f,open:y,setMounted:h,setOpen:m,transitionStatus:v}),D={...b,transitionStatus:O},P=Pu(l,D),V=Se("div",{...t,style:void 0},{state:D,ref:T,props:[k,{style:{[Hl.collapsiblePanelHeight]:C===void 0?"auto":`${C}px`,[Hl.collapsiblePanelWidth]:N===void 0?"auto":`${N}px`}},u,P?{style:P}:void 0,E?{style:{animationName:"none"}}:void 0],stateAttributesMapping:fp});return A?V:null}),pp=c.createContext(void 0);function Gs(e){const t=c.useContext(pp);if(t===void 0&&!e)throw new Error(Ae(72));return t}const pw={...Os,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 hw extends xo{constructor(n,o,r){const s=new wo;super(gw(n,s,o,r),mw(s),pw);Ne(this,"setOpen",(n,o)=>{pb(this,n,o,{extraState:{openChangeReason:o.reason}})})}cancelPendingOpen(n){this.state.floatingRootContext.dispatchOpenChange(!1,Re(Lt,n))}}function gw(e,t,n,o=!1){const r={...Is(),disabled:!1,instantType:void 0,isInstantPhase:!1,trackCursorAxis:"none",disableHoverablePopup:!1,openChangeReason:null,closeOnClick:!0,closeDelay:0,adaptiveOrigin:void 0,...e};return r.floatingRootContext=Ia(t,n,o),r}function mw(e){return{popupRef:c.createRef(),onOpenChange:void 0,onOpenChangeComplete:void 0,triggerElements:e}}const DE=Pa(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,h=Ma((A,O)=>new hw({open:o,openProp:r,activeTriggerId:f,triggerIdProp:p},A,O));h.useControlledProp("openProp",r),h.useControlledProp("triggerIdProp",p),h.useContextCallback("onOpenChange",l),h.useContextCallback("onOpenChangeComplete",u);const g=h.useState("open"),m=!n&&g,b=h.useState("activeTriggerId"),v=h.useState("mounted"),x=h.useState("payload");h.useSyncedValues({trackCursorAxis:i,disableHoverablePopup:s,disabled:n}),Ps(h,{closeOnActiveTriggerUnmount:!0});const{forceUnmount:w,transitionStatus:S}=Ms(m,h),R=h.useState("isInstantPhase"),C=h.useState("instantType"),k=h.useState("lastOpenChangeReason"),T=c.useRef(null);se(()=>{g&&n&&h.setOpen(!1,Re(qu))},[g,n,h]),se(()=>{S==="ending"&&k===wt||S!=="ending"&&R?(C!=="delay"&&(T.current=C),h.set("instantType","delay")):T.current!==null&&(h.set("instantType",T.current),T.current=null)},[S,R,k,C,h]),se(()=>{m&&b==null&&h.set("payload",void 0)},[h,b,m]),c.useImperativeHandle(a,()=>({unmount:w,close:()=>h.setOpen(!1,Re(hs))}),[w,h]);const E=m||v||!n&&i!=="none";return q.jsxs(pp.Provider,{value:h,children:[d&&q.jsx(ks,{handle:d,store:h}),E&&q.jsx(yw,{store:h,disabled:n,trackCursorAxis:i}),typeof y=="function"?y({payload:x}):y]})});function yw({store:e,disabled:t,trackCursorAxis:n}){const o=e.useState("floatingRootContext"),r=Ko(o,{enabled:!t,referencePress:()=>e.select("closeOnClick")}),s=u1(o,{enabled:!t&&n!=="none",axis:n==="none"?void 0:n}),i=c.useMemo(()=>Ct(s.reference,r.reference),[s.reference,r.reference]);return Ts(e,{activeTriggerProps:i,inactiveTriggerProps:i,popupProps:r.floating??He}),null}const hp=c.createContext(void 0);function bw(){return c.useContext(hp)}const jl=600,gp="data-base-ui-tooltip-trigger";function Bl(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 vw(e){let t=e;for(;t;){const n=t.closest(`[${gp}]`);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,h=Gs(!0),m=As(i)??h;if(!m)throw new Error(Ae(82));const b=et(f),v=m.useState("isTriggerActive",b),x=m.useState("isOpenedByTrigger",b),w=m.useState("floatingRootContext"),S=c.useRef(null),R=u??jl,C=p??0,{registerTrigger:k,isMountedByThisTrigger:T}=Es(b,S,m,{payload:a,closeOnClick:d,closeDelay:C}),E=bw(),{delayRef:A,isInstantPhase:O,hasProvider:N}=D0(w,{open:x}),D=Na(w);m.useSyncedValue("isInstantPhase",O);const P=m.useState("disabled"),V=l??P,L=Ze(V),I=m.useState("trackCursorAxis"),_=m.useState("disableHoverablePopup"),M=c.useRef(!1),F=qe(),H=c.useRef(void 0);function $(){return N?bn(A.current,"open")===0?0:u??E??jl:R}function U(ee){const Y=S.current;if(!Y||!ee)return!1;const re=vw(ee);return re!==null&&re!==Y&&ve(Y,re)}function G(ee){const Y=U(ee);return M.current=Y,Y&&(D.openChangeTimeout.clear(),D.restTimeout.clear(),D.restTimeoutPending=!1,F.clear()),Y}const z=_a(w,{enabled:!V,mouseOnly:!0,move:!1,handleClose:!_&&I!=="both"?La():null,restMs:$,delay(){return p==null&&N?{close:bn(A.current,"close")}:{close:C}},triggerElementRef:S,isActiveTrigger:v,isClosing:()=>m.select("transitionStatus")==="ending",shouldOpen(){return!M.current}}),K=Nd(w,{enabled:!V}).reference,j=ee=>{const Y=M.current,re=Bl(ee),ge=G(re),ce=S.current,pe=ce&&re&&ve(ce,re);if(ge&&m.select("open")&&m.select("lastOpenChangeReason")===Je){m.setOpen(!1,Re(Je,ee));return}if(Y&&!ge&&pe&&!L.current&&!m.select("open")&&ce&&mn(H.current)){const ie=()=>{!M.current&&!L.current&&!m.select("open")&&m.setOpen(!0,Re(Je,ee,ce))},me=$();me===0?(F.clear(),ie()):F.start(me,ie)}},X=m.useState("triggerProps",T);return Se("button",t,{state:{open:x},ref:[n,k,S],props:[z,K,T||I!=="none"?X:void 0,{onMouseOver(ee){j(ee.nativeEvent)},onFocus(ee){U(Bl(ee.nativeEvent))&&ee.preventBaseUIHandler()},onMouseLeave(){M.current=!1,F.clear(),H.current=void 0},onPointerEnter(ee){H.current=ee.pointerType},onPointerDown(ee){H.current=ee.pointerType,m.set("closeOnClick",d),d&&!m.select("open")&&m.cancelPendingOpen(ee.nativeEvent)},onClick(ee){d&&!m.select("open")&&m.cancelPendingOpen(ee.nativeEvent)},id:b,"data-trigger-disabled":V?"":void 0,[gp]:V?void 0:""},y],stateAttributesMapping:Ds})}),mp=c.createContext(void 0);function xw(){const e=c.useContext(mp);if(e===void 0)throw new Error(Ae(70));return e}const ww=c.forwardRef(function(t,n){const{children:o,container:r,className:s,render:i,style:a,...l}=t,{node:u,subtree:d}=pd({container:r,ref:n,componentProps:t,elementProps:l});return!d&&!u?null:q.jsxs(c.Fragment,{children:[d,u&&It.createPortal(o,u)]})}),LE=c.forwardRef(function(t,n){const{keepMounted:o=!1,...r}=t;return Gs().useState("mounted")||o?q.jsx(mp.Provider,{value:o,children:q.jsx(ww,{ref:n,...r})}):null}),yp=c.createContext(void 0);function Sw(){const e=c.useContext(yp);if(e===void 0)throw new Error(Ae(71));return e}const FE=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:h=!1,disableAnchorTracking:g=!1,collisionAvoidance:m=Sa,style:b,...v}=t,x=Gs(),w=xw(),S=x.useState("open"),R=x.useState("mounted"),C=x.useState("trackCursorAxis"),k=x.useState("disableHoverablePopup"),T=x.useState("floatingRootContext"),E=x.useState("instantType"),A=x.useState("transitionStatus"),O=x.useState("adaptiveOrigin"),N=Fs({anchor:s,positionMethod:i,floatingRootContext:T,mounted:R,side:a,sideOffset:u,align:l,alignOffset:d,collisionBoundary:p,collisionPadding:f,sticky:h,arrowPadding:y,disableAnchorTracking:g,keepMounted:w,collisionAvoidance:m,adaptiveOrigin:O}),D=c.useMemo(()=>({open:S,side:N.side,align:N.align,anchorHidden:N.anchorHidden,instant:C!=="none"?"tracking-cursor":E}),[S,N.side,N.align,N.anchorHidden,C,E]),P=Vs(t,D,{styles:N.positionerStyles,transitionStatus:A,props:v,refs:[n,x.useStateSetter("positionerElement")],hidden:!R,inert:!S||C==="both"||k});return q.jsx(yp.Provider,{value:N,children:P})}),zE=c.forwardRef(function(t,n){const{render:o,className:r,style:s,...i}=t,a=Gs(),{side:l,align:u}=Sw(),d=a.useState("open"),p=a.useState("instantType"),f=a.useState("transitionStatus"),y=a.useState("popupProps"),h=a.useState("floatingRootContext"),g=a.useState("disabled"),m=a.useState("closeDelay");Rt({open:d,ref:a.context.popupRef,onComplete(){var w,S;d&&((S=(w=a.context).onOpenChangeComplete)==null||S.call(w,!0))}}),Da(h,{enabled:!g,closeDelay:m});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:[Zo,y,tr(f),i],stateAttributesMapping:Ls})}),VE=function(t){const{delay:n,closeDelay:o,timeout:r=400}=t,s=c.useMemo(()=>({open:n,close:o}),[n,o]);return q.jsx(hp.Provider,{value:n,children:q.jsx(N0,{delay:s,timeoutMs:r,children:t.children})})},Rw=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:h,name:g,disabled:m,setTouched:b,setDirty:v,validityData:x,setFocused:w,setFilled:S,validationMode:R,validation:C}=Mn(),{clearErrors:k}=ir(),T=m||l,E=g??i,A={...h,disabled:T},{labelId:O}=jn(),N=rr({id:s});se(()=>{var F;const M=a!=null;(F=C.inputRef.current)!=null&&F.value||M&&a!==""?S(!0):M&&a===""&&S(!1)},[C.inputRef,S,a]);const D=c.useRef(null);se(()=>{p&&D.current===dt(Te(D.current))&&w(!0)},[p,w]);const[P]=Ft({controlled:a,default:d,name:"FieldControl",state:"value"}),V=a!==void 0,L=V?P:void 0,I=de(()=>{var M;return(M=C.inputRef.current)==null?void 0:M.value});return sr(C.inputRef,N,L,I,!T,i),Se("input",t,{ref:[n,D],state:A,props:[{id:N,disabled:T,name:E,ref:C.inputRef,"aria-labelledby":O,autoFocus:p,...V?{value:L}:{defaultValue:d},onChange(M){const F=M.currentTarget.value;u==null||u(F,Re(wt,M.nativeEvent)),v(F!==(x.initialValue??"")),S(F!==""),M.nativeEvent.defaultPrevented||(k(E),C.change(F))},onFocus(){w(!0)},onBlur(M){b(!0),w(!1),R==="onBlur"&&C.commit(M.currentTarget.value)},onKeyDown(M){M.currentTarget.tagName==="INPUT"&&M.key==="Enter"&&(b(!0),C.commit(M.currentTarget.value))}},y,M=>C.getValidationProps(T,M)],stateAttributesMapping:Ro})}),$E=c.forwardRef(function(t,n){return q.jsx(Rw,{ref:n,...t})});function bp(e){return Array.isArray(e)?e.map(t=>bp(t)).join(","):e==null?"":String(e)}const Wl=new Map;function kw(e,t){const n=JSON.stringify({locale:bp(e),options:t}),o=Wl.get(n);if(o)return o;const r=new Intl.NumberFormat(e,t);return Wl.set(n,r),r}function Ul(e,t,n){return e==null?"":kw(t,n).format(e)}function Cw(e,t,n){return(e-t)*100/(n-t)}const vp=c.createContext(void 0);function qs(){const e=c.useContext(vp);if(e===void 0)throw new Error(Ae(51));return e}const cr={status(e){return{[`data-${e}`]:""}}},HE=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,[h,g]=c.useState();let m="indeterminate",b=null,v=null,x="",w="indeterminate progress";if(l!=null&&Number.isFinite(l)){const T=Cw(l,a,i);b=hn(Number.isNaN(T)?0:T,0,100),v=hn(l,a,i),m=v===i?"complete":"progressing",x=o?Ul(v,s,o):Ul(b/100,s,{style:"percent"}),w=x}const S=c.useMemo(()=>({status:m}),[m]),R={"aria-labelledby":h,"aria-valuemax":i,"aria-valuemin":a,"aria-valuenow":v??void 0,"aria-valuetext":r?r(x,l):w,role:"progressbar",children:q.jsxs(c.Fragment,{children:[p,q.jsx("span",{role:"presentation",style:vo,children:"x"})]})},C=c.useMemo(()=>({formattedValue:x,percentageValue:b,setLabelId:g,state:S,value:l}),[x,b,g,S,l]),k=Se("div",t,{state:S,ref:n,props:[R,y],stateAttributesMapping:cr});return q.jsx(vp.Provider,{value:C,children:k})}),jE=c.forwardRef(function(t,n){const{render:o,className:r,style:s,...i}=t,{state:a}=qs();return Se("div",t,{state:a,ref:n,props:i,stateAttributesMapping:cr})}),BE=c.forwardRef(function(t,n){const{render:o,className:r,style:s,...i}=t,{percentageValue:a,state:l}=qs(),u=a==null?{}:{insetInlineStart:0,height:"inherit",width:`${a}%`};return Se("div",t,{state:l,ref:n,props:[{style:u},i],stateAttributesMapping:cr})}),WE=c.forwardRef(function(t,n){const{className:o,render:r,children:s,style:i,...a}=t,{value:l,formattedValue:u,state:d}=qs(),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:cr})}),UE=c.forwardRef(function(t,n){const{render:o,className:r,style:s,id:i,...a}=t,{setLabelId:l,state:u}=qs(),d=Hv(i,l);return Se("span",t,{state:u,ref:n,props:[{id:d,role:"presentation"},a],stateAttributesMapping:cr})}),xp=c.createContext(void 0);function Ys(){const e=c.useContext(xp);if(e===void 0)throw new Error(Ae(53));return e}const Ew=500,Ki=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 Kn=e=>t=>t?{[e]:""}:null,ac={hasOverflowX:Kn("data-has-overflow-x"),hasOverflowY:Kn("data-has-overflow-y"),overflowXStart:Kn("data-overflow-x-start"),overflowXEnd:Kn("data-overflow-x-end"),overflowYStart:Kn("data-overflow-y-start"),overflowYEnd:Kn("data-overflow-y-end"),cornerHidden:()=>null},Pw={x:0,y:0},Gl={width:0,height:0},Mw={xStart:!1,xEnd:!1,yStart:!1,yEnd:!1},Tw={x:!0,y:!0,corner:!0},GE=c.forwardRef(function(t,n){const{render:o,className:r,overflowEdgeThreshold:s,style:i,...a}=t,{xStart:l,xEnd:u,yStart:d,yEnd:p}=Iw(s),f=et(),y=qe(),h=qe(),{nonce:g,disableStyleElements:m}=Ua(),[b,v]=c.useState(!1),[x,w]=c.useState(!1),[S,R]=c.useState(!1),[C,k]=c.useState(!1),[T,E]=c.useState(!1),[A,O]=c.useState(Gl),[N,D]=c.useState(Gl),[P,V]=c.useState(Mw),[L,I]=c.useState(Tw),_=c.useRef(null),M=c.useRef(null),F=c.useRef(null),H=c.useRef(null),$=c.useRef(null),U=c.useRef(null),G=c.useRef(null),z=c.useRef(null),K=c.useRef(0),j=c.useRef(0),X=c.useRef(0),ue=c.useRef(0),ne=c.useRef("vertical"),te=c.useRef(Pw),ee=c.useRef(null);function Y(ae){const J=ae?R:w,Q=ae?y:h;J(!0),Q.start(Ew,()=>{J(!1)})}const re=de(ae=>{const J=ae.x-te.current.x,Q=ae.y-te.current.y;te.current=ae,Q!==0&&Y(!0),J!==0&&Y(!1)}),ge=de(()=>{const ae=M.current;ae&&ee.current===null&&(ee.current=ae.style.scrollSnapType,ae.style.scrollSnapType="none")}),ce=de(ae=>{if(ae.button!==0)return;if(z.current!==null){const he=ne.current==="vertical"?$.current:U.current;if(he!=null&&he.hasPointerCapture(z.current))return}z.current=ae.pointerId,K.current=ae.clientY,j.current=ae.clientX,ne.current=ae.currentTarget.getAttribute("data-orientation");const J=M.current;J&&(X.current=J.scrollTop,ue.current=J.scrollLeft,ge());const Q=ne.current==="vertical"?$.current:U.current;Q==null||Q.setPointerCapture(ae.pointerId)}),pe=de(ae=>{if(ae.pointerId!==z.current)return;z.current=null,(ne.current==="vertical"?R:w)(!1),ee.current!==null&&(M.current&&(M.current.style.scrollSnapType=ee.current),ee.current=null);const J=ne.current==="vertical"?$.current:U.current;J!=null&&J.hasPointerCapture(ae.pointerId)&&J.releasePointerCapture(ae.pointerId)}),ie=de(ae=>{if(ae.pointerId!==z.current)return;if(ae.buttons%2===0){pe(ae);return}const J=M.current;if(!J)return;const Q=ne.current==="vertical",he=Q?$.current:U.current,xe=Q?F.current:H.current;if(!he||!xe)return;const Le=Q?"y":"x",Ue=gn(xe,"padding",Le),Xe=gn(he,"margin",Le),st=Q?he.offsetHeight:he.offsetWidth,tt=(Q?xe.offsetHeight:xe.offsetWidth)-st-Ue-Xe,ct=Q?ae.clientY-K.current:ae.clientX-j.current,ke=tt<=0?0:ct/tt,Be=Q?J.scrollHeight:J.scrollWidth,Ye=Q?J.clientHeight:J.clientWidth,Ke=(Q?X.current:ue.current)+ke*(Be-Ye);Q?J.scrollTop=Ke:J.scrollLeft=Ke,ae.preventDefault(),Y(Q)});function me(ae){k(ae.pointerType==="touch")}function fe(ae){if(me(ae),ae.pointerType!=="touch"){const J=ve(_.current,ae.target);v(J)}}const oe=c.useMemo(()=>({scrolling:x||S,hasOverflowX:!L.x,hasOverflowY:!L.y,overflowXStart:P.xStart,overflowXEnd:P.xEnd,overflowYStart:P.yStart,overflowYEnd:P.yEnd,cornerHidden:L.corner}),[x,S,L.x,L.y,L.corner,P]),le={role:"presentation",onPointerEnter:fe,onPointerMove:fe,onPointerDown:me,onPointerLeave(){v(!1)},style:{position:"relative","--scroll-area-corner-height":`${A.height}px`,"--scroll-area-corner-width":`${A.width}px`}},W=Se("div",t,{state:oe,ref:[n,_],props:[le,a],stateAttributesMapping:ac}),Z=c.useMemo(()=>({handlePointerDown:ce,handlePointerMove:ie,handlePointerUp:pe,handleScroll:re,disableViewportSnap:ge,cornerSize:A,setCornerSize:O,thumbSize:N,setThumbSize:D,hasMeasuredScrollbar:T,setHasMeasuredScrollbar:E,touchModality:C,cornerRef:G,scrollingX:x,scrollingY:S,hovering:b,setHovering:v,viewportRef:M,scrollbarYRef:F,scrollbarXRef:H,thumbYRef:$,thumbXRef:U,rootId:f,hiddenState:L,setHiddenState:I,overflowEdges:P,setOverflowEdges:V,viewportState:oe,overflowEdgeThreshold:{xStart:l,xEnd:u,yStart:d,yEnd:p}}),[ce,ie,pe,re,ge,A,N,T,C,x,S,b,f,L,P,oe,l,u,d,p]);return q.jsxs(xp.Provider,{value:Z,children:[!m&&Wo.getElement(g),W]})});function Iw(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 Ow=c.createContext(void 0),wp=["--scroll-area-overflow-x-start","--scroll-area-overflow-x-end","--scroll-area-overflow-y-start","--scroll-area-overflow-y-end"];let ql=!1;function Aw(){ql||Yt||(typeof CSS<"u"&&"registerProperty"in CSS&&wp.forEach(e=>{try{CSS.registerProperty({name:e,syntax:"<length>",inherits:!1,initialValue:"0px"})}catch{}}),ql=!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:h,setThumbSize:g,rootId:m,setHiddenState:b,hiddenState:v,setHasMeasuredScrollbar:x,handleScroll:w,touchModality:S,setHovering:R,setOverflowEdges:C,overflowEdgeThreshold:k,viewportState:T}=Ys(),E=So(),A=c.useRef(!0),O=c.useRef([NaN,NaN,NaN,NaN]),N=qe(),D=qe(),P=de(()=>{const M=a.current,F=l.current,H=u.current,$=d.current,U=p.current,G=f.current;if(!M)return;const z=M.scrollHeight,K=M.scrollWidth,j=M.clientHeight,X=M.clientWidth,ue=M.scrollTop,ne=M.scrollLeft,te=O.current,ee=Number.isNaN(te[0]);if(te[0]=j,te[1]=z,te[2]=X,te[3]=K,ee&&x(!0),z===0||K===0)return;const Y=Nw(M),re=Y.y,ge=Y.x,ce=X/K,pe=j/z,ie=Math.max(0,K-X),me=Math.max(0,z-j);let fe=0,oe=0;ge||(fe=ho(E==="rtl"?-ne:ne,ie),oe=ie-fe);const le=re?0:ho(ue,me),W=re?0:me-le,Z=ge?0:X,ae=re?0:j;let J=0,Q=0;!ge&&!re&&(J=(F==null?void 0:F.offsetWidth)||0,Q=(H==null?void 0:H.offsetHeight)||0);const he=y.width===0&&y.height===0,xe=he?J:0,Le=he?Q:0,Ue=gn(H,"padding","x"),Xe=gn(F,"padding","y"),st=gn(U,"margin","x"),Fe=gn($,"margin","y"),tt=Z-Ue-st,ct=ae-Xe-Fe,ke=H?Math.min(H.offsetWidth-xe,tt):tt,Be=F?Math.min(F.offsetHeight-Le,ct):ct,Ye=Math.max(Ki,ke*ce),We=Math.max(Ki,Be*pe);if(g(we=>Dr(we,{width:Ye,height:We})),F&&$){const we=F.offsetHeight-We-Xe-Fe,De=Yl($,"--scroll-area-thumb-height",ue,me,z,We,we);$.style.transform=`translate3d(0,${De}px,0)`}if(H&&U){const we=H.offsetWidth-Ye-Ue-st,De=E==="rtl"?-ne:ne,Qe=Yl(U,"--scroll-area-thumb-width",De,ie,K,Ye,we);U.style.transform=`translate3d(${E==="rtl"?-Qe:Qe}px,0,0)`}const Ke=[fe,oe,le,W];wp.forEach((we,De)=>{M.style.setProperty(we,`${Ke[De]}px`)}),G&&h(we=>Dr(we,{width:J,height:Q})),b(we=>Dr(we,Y));const pt={xStart:!ge&&fe>k.xStart,xEnd:!ge&&oe>k.xEnd,yStart:!re&&le>k.yStart,yEnd:!re&&W>k.yEnd};C(we=>Dr(we,pt))});se(()=>{Aw()},[]),se(()=>{queueMicrotask(P)},[P,v,E,k.xStart,k.xEnd,k.yStart,k.yEnd]),se(()=>{var M;(M=a.current)!=null&&M.matches(":hover")&&R(!0)},[a,R]),se(()=>{const M=a.current;if(typeof ResizeObserver>"u"||!M)return;let F=!1;const H=new ResizeObserver(()=>{if(!F){F=!0;const $=O.current;if($[0]===M.clientHeight&&$[1]===M.scrollHeight&&$[2]===M.clientWidth&&$[3]===M.scrollWidth)return}P()});return H.observe(M),D.start(0,()=>{const $=M.getAnimations({subtree:!0});$.length!==0&&Promise.allSettled($.map(U=>U.finished)).then(P).catch(()=>{})}),()=>{H.disconnect(),D.clear()}},[P,a,D]);function V(){A.current=!1}const L={role:"presentation",...m&&{"data-id":`${m}-viewport`},tabIndex:v.x&&v.y?-1:0,className:Wo.className,style:{overflow:"scroll"},onScroll(){a.current&&(P(),(S||!A.current)&&w({x:a.current.scrollLeft,y:a.current.scrollTop}),N.start(100,()=>{A.current=!0}))},onWheel:V,onPointerMove:V,onPointerEnter:V,onKeyDown:V},I=Se("div",t,{ref:[n,a],state:T,props:[L,i],stateAttributesMapping:ac}),_=c.useMemo(()=>({computeThumbPosition:P}),[P]);return q.jsx(Ow.Provider,{value:_,children:I})});function Nw(e){const t=e.clientHeight>=e.scrollHeight,n=e.clientWidth>=e.scrollWidth;return{y:t,x:n,corner:t||n}}function Dr(e,t){for(const n in t)if(e[n]!==t[n])return t;return e}function Yl(e,t,n,o,r,s,i){const a=hn(n,0,o),l=n-a,u=Math.max(Ki,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 Sp=c.createContext(void 0);function Dw(){const e=c.useContext(Sp);if(e===void 0)throw new Error(Ae(54));return e}const YE=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:h,viewportRef:g,thumbYRef:m,thumbXRef:b,handlePointerDown:v,handlePointerUp:x,handleScroll:w,disableViewportSnap:S,rootId:R,thumbSize:C,hasMeasuredScrollbar:k,viewportState:T}=Ys(),E=s==="vertical",A={...T,hovering:u,scrolling:E?p:d,orientation:s},O=So(),N=!k&&!i,D=E?f.y:f.x,P=i||!D;c.useEffect(()=>{if(!P)return;const I=g.current,_=E?y.current:h.current;if(!_)return;function M(F){if(!I||F.ctrlKey)return;const H=!E,$=H?"scrollLeft":"scrollTop",U=H?F.deltaX:F.deltaY;if(U===0)return;const G=H?I.scrollWidth-I.clientWidth:I.scrollHeight-I.clientHeight,z=H&&O==="rtl"?-G:0,K=H&&O==="rtl"?0:G,j=I[$];j<=z&&U<0||j>=K&&U>0||(F.preventDefault(),I[$]=Math.min(K,Math.max(z,j+U)),w({x:I.scrollLeft,y:I.scrollTop}))}return Me(_,"wheel",M,{passive:!1})},[O,w,E,h,y,P,g]);const V={...R&&{"data-id":`${R}-scrollbar`},onPointerDown(I){if(I.button!==0)return;const _=nt(I.nativeEvent),M=E?m.current:b.current;if(M&&ve(M,_))return;const F=g.current;if(!F)return;const H=E?y.current:h.current;if(!M||!H)return;const $=E?"y":"x",U=gn(M,"margin",$),G=gn(H,"padding",$),z=E?M.offsetHeight:M.offsetWidth,K=H.getBoundingClientRect(),j=E?I.clientY-K.top-z/2-G+U/2:I.clientX-K.left-z/2-G+U/2,X=E?F.scrollHeight:F.scrollWidth,ue=E?F.clientHeight:F.clientWidth,te=(E?H.offsetHeight:H.offsetWidth)-z-G-U;if(te<=0)return;const ee=j/te,Y=X-ue;S(),E?F.scrollTop=ee*Y:O==="rtl"?F.scrollLeft=-(1-ee)*Y:F.scrollLeft=ee*Y,w({x:F.scrollLeft,y:F.scrollTop}),v(I)},onPointerUp:x,onPointerCancel:x,style:{position:"absolute",touchAction:"none",WebkitUserSelect:"none",userSelect:"none",visibility:N?"hidden":void 0,...E?{top:0,bottom:"var(--scroll-area-corner-height)",insetInlineEnd:0,"--scroll-area-thumb-height":`${C.height}px`}:{insetInlineStart:0,insetInlineEnd:"var(--scroll-area-corner-width)",bottom:0,"--scroll-area-thumb-width":`${C.width}px`}}},L=Se("div",t,{ref:[n,E?y:h],state:A,props:[V,l],stateAttributesMapping:ac});return P?q.jsx(Sp.Provider,{value:s,children:L}):null}),XE=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:h}=Ys(),g=Dw(),m=g==="vertical";return Se("div",t,{ref:[n,m?a:l],state:{scrolling:m?y:f,orientation:g},props:[{onPointerDown:u,onPointerMove:d,onPointerUp:p,onPointerCancel:p,style:{visibility:h?void 0:"hidden",...m?{height:"var(--scroll-area-thumb-height)"}:{width:"var(--scroll-area-thumb-width)"}}},i]})}),KE=c.forwardRef(function(t,n){const{render:o,className:r,style:s,...i}=t,{cornerRef:a,cornerSize:l,hiddenState:u}=Ys(),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 Xs(){const e=c.useContext(Rp);if(e===void 0)throw new Error(Ae(64));return e}const lr={tabActivationDirection:e=>({"data-activation-direction":e})},ZE=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,h]=c.useState(()=>new Map),[g,m]=Ft({controlled:l,default:r,name:"Tabs",state:"value"}),b=l!==void 0,[v,x]=c.useState(()=>new Map),w=c.useRef(void 0),S=c.useCallback(j=>Zi(v,j),[v]),[R,C]=c.useState(()=>({previousValue:g,tabActivationDirection:"none"})),{previousValue:k,tabActivationDirection:T}=R;let E=T,A=!1;k!==g&&(E=Xl(k,g,i,v),A=k!=null&&g!=null&&S(g)==null);const O=A?k:g,N=k!==O||T!==E;se(()=>{N&&C({previousValue:O,tabActivationDirection:E})},[O,N,E]);const D=de((j,X)=>{const ue=Xl(g,j,i,v);X.activationDirection=ue,s==null||s(j,X),!X.isCanceled&&m(j)}),P=de((j,X)=>{s==null||s(j,Re(X,void 0,void 0,{activationDirection:"none"}))}),V=de((j,X)=>(h(ue=>{const ne=new Map(ue);return ne.set(j,X),ne}),()=>{h(ue=>{if(ue.get(j)!==X)return ue;const ne=new Map(ue);return ne.delete(j),ne})})),L=c.useCallback(j=>y.get(j),[y]),I=c.useCallback(j=>{for(const X of v.values())if(j===X.value)return X.id},[v]),_=c.useMemo(()=>({getTabElementBySelectedValue:S,getTabIdByPanelValue:I,getTabPanelIdByValue:L,onValueChange:D,orientation:i,registerMountedTabPanel:V,setTabMap:x,tabActivationDirection:E,value:g}),[S,I,L,D,i,V,x,E,g]),M=c.useMemo(()=>{for(const j of v.values())if(j.value===g)return j},[v,g]),F=c.useMemo(()=>{for(const j of v.values())if(!j.disabled)return j.value},[v]),H=c.useRef(!p),$=c.useRef(r),U=c.useRef(p),G=c.useRef(!1);se(()=>{var te;if(b)return;function j(ee,Y){m(ee),C({previousValue:ee,tabActivationDirection:"none"}),P(ee,Y),H.current=!1}if(v.size===0){G.current&&g!==null&&!((te=w.current)!=null&&te.isConnected)&&j(null,Lc);return}G.current=!0,w.current=v.keys().next().value;const X=M==null?void 0:M.disabled,ue=M==null&&g!==null;if(!X&&g===$.current&&(U.current=!1),U.current&&X&&g===$.current)return;const ne=H.current;if(X||ue){const ee=F??null;if(g===ee){H.current=!1;return}let Y=Lc;ne?Y=Fc:X&&(Y=qu),j(ee,Y);return}ne&&M!=null&&(P(g,Fc),H.current=!1)},[F,b,P,M,m,v,g]);const K=Se("div",t,{state:{orientation:i,tabActivationDirection:E},ref:n,props:d,stateAttributesMapping:lr});return q.jsx(Rp.Provider,{value:_,children:q.jsx(js,{elementsRef:f,children:K})})});function Zi(e,t){for(const[n,o]of e.entries())if(t===o.value)return n;return null}function Xl(e,t,n,o){if(e==null||t==null)return"none";const[r,s,i]=n==="horizontal"?["left","left","right"]:["top","up","down"],a=Zi(o,e),l=Zi(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 kp=c.createContext(void 0);function Cp(){const e=c.useContext(kp);if(e===void 0)throw new Error(Ae(65));return e}const QE=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:h,tabActivationDirection:g}=Xs(),{activateOnFocus:m,registerTabResizeObserverElement:b,tabsListElement:v}=Cp(),{highlightedIndex:x,onHighlightedIndexChange:w}=as(),S=et(a),R=c.useMemo(()=>({disabled:r,id:S,value:i}),[r,S,i]),{compositeProps:C,compositeRef:k,index:T}=Gd({metadata:R}),E=i===p,A=c.useRef(!1),O=c.useRef(null),N=de(G=>{var z;(z=O.current)==null||z.call(O),O.current=G?b(G):null});se(()=>{if(A.current){A.current=!1;return}if(!(E&&T>-1&&x!==T))return;const G=v;if(G!=null){const z=dt(Te(G));if(z&&ve(G,z))return}r||w(T)},[E,T,x,w,r,v]);const{getButtonProps:D,buttonRef:P}=St({disabled:r,native:l,focusableWhenDisabled:!0}),V=f(i),L=c.useRef(!1),I=c.useRef(!1);function _(G){y(i,Re(wt,G.nativeEvent,void 0,{activationDirection:"none"}))}function M(G){E||r||_(G)}function F(G){E||r||m&&(!L.current||I.current)&&_(G)}function H(G){if(E||r)return;L.current=!0,I.current=G.button===0;const z=Te(G.currentTarget);function K(){L.current=!1,I.current=!1,z.removeEventListener("pointerup",K),z.removeEventListener("pointercancel",K)}z.addEventListener("pointerup",K),z.addEventListener("pointercancel",K)}return Se("button",t,{state:{disabled:r,active:E,orientation:h,tabActivationDirection:g},ref:[n,P,k,N],props:[C,{role:"tab","aria-controls":V,"aria-selected":E,id:S,onClick:M,onFocus:F,onPointerDown:H,[Va]:E?"":void 0,onKeyDownCapture(){A.current=!0}},d,D],stateAttributesMapping:lr})}),_w="";function Lw(){return Ge}function Fw(){return!1}function zw(){return!0}function Vw(){return ws.useSyncExternalStore(Lw,Fw,zw)}function $w(e){const{script:t}=e,{nonce:n}=Ua();return Vw()?q.jsx("script",{nonce:n,dangerouslySetInnerHTML:{__html:t},suppressHydrationWarning:!0}):null}var Kl;const Hw={...lr,activeTabPosition:()=>null,activeTabSize:()=>null},JE=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}=Xs(),{tabsListElement:f,registerIndicatorUpdateListener:y}=Cp(),h=ub();c.useEffect(()=>y(h),[y,h]);let g=0,m=0,b=0,v=0,x=0,w=0,S=!1;if(p!=null&&f!=null){const O=l(p);if(O!=null){S=!0;const{width:N,height:D}=kl(O),{width:P,height:V}=kl(f),L=O.getBoundingClientRect(),I=f.getBoundingClientRect(),_=P>0?I.width/P:1,M=V>0?I.height/V:1;if(_>Number.EPSILON&&M>Number.EPSILON){const H=L.left-I.left,$=L.top-I.top;g=H/_+f.scrollLeft-f.clientLeft,b=$/M+f.scrollTop-f.clientTop}else g=O.offsetLeft,b=O.offsetTop;x=N,w=D,m=f.scrollWidth-g-x,v=f.scrollHeight-b-w}}const R=S?{left:g,right:m,top:b,bottom:v}:null,C=S?{width:x,height:w}:null,k=S?{"--active-tab-left":`${g}px`,"--active-tab-right":`${m}px`,"--active-tab-top":`${b}px`,"--active-tab-bottom":`${v}px`,"--active-tab-width":`${x}px`,"--active-tab-height":`${w}px`}:void 0,T=S&&x>0&&w>0,A=Se("span",t,{state:{orientation:u,activeTabPosition:R,activeTabSize:C,tabActivationDirection:d},ref:n,props:[{role:"presentation",style:k,hidden:!T},a,{suppressHydrationWarning:!0}],stateAttributesMapping:Hw});return p==null?null:q.jsxs(c.Fragment,{children:[A,s&&(Kl||(Kl=q.jsx($w,{script:_w})))]})}),jw={...lr,...zt},eP=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}=Xs(),h=et(),{ref:g,index:m}=or(),b=r===u,{mounted:v,transitionStatus:x,setMounted:w}=ln(b),S=!v,R=d(r),C={hidden:S,orientation:p,tabActivationDirection:f,transitionStatus:x},k=c.useRef(null),T=Se("div",t,{state:C,ref:[n,g,k],props:[{"aria-labelledby":R,hidden:S,id:h,role:"tabpanel",tabIndex:b?0:-1,inert:er(!b),"data-index":m},l],stateAttributesMapping:jw});return Rt({open:b,ref:k,onComplete(){b||w(!1)}}),se(()=>{if(!(h==null||S&&!i))return y(r,h)},[S,i,r,h,y]),i||v?T:null}),tP=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}=Xs(),[f,y]=c.useState(0),[h,g]=c.useState(null),m=c.useRef(new Set),b=c.useRef(new Set),v=c.useRef(null);se(()=>{if(typeof ResizeObserver>"u")return;const k=new ResizeObserver(()=>{m.current.forEach(T=>{T()})});return v.current=k,h&&k.observe(h),b.current.forEach(T=>{k.observe(T)}),()=>{k.disconnect(),v.current=null}},[h]);const x=de(k=>(m.current.add(k),()=>{m.current.delete(k)})),w=de(k=>{var T;return b.current.add(k),(T=v.current)==null||T.observe(k),()=>{var E;b.current.delete(k),(E=v.current)==null||E.unobserve(k)}}),S={orientation:u,tabActivationDirection:p},R={"aria-orientation":u==="vertical"?"vertical":void 0,role:"tablist"},C=c.useMemo(()=>({activateOnFocus:o,registerIndicatorUpdateListener:x,registerTabResizeObserverElement:w,tabsListElement:h}),[o,x,w,h]);return q.jsx(kp.Provider,{value:C,children:q.jsx(ja,{render:i,className:r,style:a,state:S,refs:[n,g],props:[R,l],stateAttributesMapping:lr,highlightedIndex:f,enableHomeAndEndKeys:!0,loopFocus:s,orientation:u,onHighlightedIndexChange:y,onMapChange:d,disabledIndices:_t})})});function nP(e){return df("alert-dialog",e)}const oP=cx;function Bw(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 Ep(e){return{checked(t){return e.indeterminate?{}:t?{"data-checked":""}:{"data-unchecked":""}},...Ro}}const Ww=c.createContext(void 0);function Uw(){return c.useContext(Ww)}const Pp=c.createContext(void 0);function Gw(){const e=c.useContext(Pp);if(e===void 0)throw new Error(Ae(14));return e}const qw="data-parent",rP=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:h=!1,readOnly:g=!1,render:m,required:b=!1,uncheckedValue:v,value:x,nativeButton:w=!1,style:S,...R}=t,{clearErrors:C}=ir(),{disabled:k,name:T,setDirty:E,setFilled:A,setFocused:O,setTouched:N,state:D,validationMode:P,validityData:V,validation:L}=Mn(),I=qd(),{labelId:_,controlId:M,registerControlId:F,getDescriptionProps:H}=jn(),$=Uw(),U=($==null?void 0:$.allValues)===void 0?void 0:$.parent,G=U!==void 0,z=k||I.disabled||($==null?void 0:$.disabled)||a,K=T??f,j=x??K,X=et(),ue=et();let ne=u||M;G&&(h?ne=ue:j!==void 0?ne=`${U.id}-${j}`:ne||(ne=ue));let te={};G&&(h?te=U.getParentProps():j!==void 0&&(te=U.getChildProps(j)));const{checked:ee=o,indeterminate:Y=d,onCheckedChange:re,...ge}=te,ce=$==null?void 0:$.value,pe=c.useRef(null),ie=at(()=>Symbol()),me=c.useRef(!1),{getButtonProps:fe,buttonRef:oe}=St({disabled:z,native:w}),le=($==null?void 0:$.validation)??L,[W,Z]=Ft({controlled:j!==void 0&&ce!==void 0&&!h?ce.includes(j):ee,default:s,name:"Checkbox",state:"checked"}),ae=G?!!ee:W,J=G&&Y||d;se(()=>{F!==Ge&&(me.current=!0,F(ie.current,ne))},[ne,F,ie]),c.useEffect(()=>{const ke=ie.current;return()=>{!me.current||F===Ge||(me.current=!1,F(ke,void 0))}},[F,ie]),sr(pe,X,W,void 0,!$&&!z,f);const Q=c.useRef(null),he=le.registerInput,xe=$?j:void 0,Le=c.useCallback(ke=>he(ke,{controlRef:pe,value:xe}),[he,xe]),Ue=Ot(p,Q,h?void 0:Le),Xe=Ha(i,_,Q,!w,ne??void 0);se(()=>{Q.current&&(Q.current.indeterminate=J,W&&A(!0))},[W,J,A]),Jo(W,()=>{$||(C(K),A(W),E(W!==V.initialValue),le.change(W))});const st=Ct({checked:W,disabled:z,form:l,name:h?void 0:K,id:w?void 0:ne??void 0,required:b,ref:Ue,style:K?gs:vo,tabIndex:-1,type:"checkbox","aria-hidden":!0,onChange(ke){if(ke.nativeEvent.defaultPrevented)return;if(g){ke.preventDefault();return}const Be=ke.currentTarget.checked,Ye=Re(wt,ke.nativeEvent);if(y==null||y(Be,Ye),!Ye.isCanceled&&(re==null||re(Be,Ye),!Ye.isCanceled&&(Z(Be),j!==void 0&&$!==void 0&&!h&&!G))){const We=Be?[...$.value,j]:$.value.filter(Ke=>Ke!==j);$.setValue(We,Ye)}},onClick(ke){ke.stopPropagation()},onFocus(){var ke;(ke=pe.current)==null||ke.focus()}},x!==void 0?{value:($?W&&x:x)||""}:He,H,ke=>le.getValidationProps(z,ke));c.useEffect(()=>{if(!U||j===void 0)return;const ke=U.disabledStatesRef.current;return ke.set(j,z),()=>{ke.delete(j)}},[U,z,j]);const Fe=c.useMemo(()=>({...D,checked:ae,disabled:z,readOnly:g,required:b,indeterminate:J}),[D,ae,z,g,b,J]),tt=Ep(Fe),ct=Se("span",t,{state:Fe,ref:[oe,pe,n],props:[{id:w?ne??void 0:X,role:"checkbox","aria-checked":J?"mixed":ae,"aria-readonly":g||void 0,"aria-required":b||void 0,"aria-labelledby":Xe,[qw]:h?"":void 0,onFocus(){z||O(!0)},onBlur(){const ke=Q.current;ke&&(N(!0),O(!1),P==="onBlur"&&le.commit($?ce:ke.checked))},onKeyDown(ke){var De;if(ke.key!=="Enter"||(ke.preventBaseUIHandler(),ke.defaultPrevented))return;const Be=((De=Q.current)==null?void 0:De.form)??null,Ye=ke.currentTarget,We=ke.nativeEvent,Ke=ke.preventDefault,pt=We.preventDefault;let we=!1;ke.preventDefault=()=>{we=!0,Ke.call(ke)},We.preventDefault=()=>{we=!0,pt.call(We)},pt.call(We),je(Ye).queueMicrotask(()=>{var Qe;ke.preventDefault=Ke,We.preventDefault=pt,we||(Qe=Bw(Be))==null||Qe.click()})},onClick(ke){if(g||z)return;ke.preventDefault();const Be=Q.current;Be&&_n(Be,ke)}},R,ge,fe,H,ke=>le.getValidationProps(z,ke)],stateAttributesMapping:tt});return q.jsxs(Pp.Provider,{value:Fe,children:[ct,!W&&!$&&K&&!h&&v!==void 0&&q.jsx("input",{type:"hidden",form:l,name:K,value:v,disabled:z}),q.jsx("input",{...st,suppressHydrationWarning:!0})]})}),sP=c.forwardRef(function(t,n){const{render:o,className:r,style:s,keepMounted:i=!1,...a}=t,l=Gw(),u=l.checked||l.indeterminate,{mounted:d,transitionStatus:p,setMounted:f}=ln(u),y=c.useRef(null),h={...l,transitionStatus:p};Rt({open:u,ref:y,onComplete(){u||f(!1)}});const m={...Ep(l),...zt},b=i||d,v=Se("span",t,{ref:[n,y],state:h,stateAttributesMapping:m,props:a});return b?v:null});function iP(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=Rn(),d=c.useMemo(()=>({anchor:t,setAnchor:n,actionsRef:s,backdropRef:o,internalBackdropRef:r,positionerRef:i,allowMouseUpTriggerRef:a,initialCursorPointRef:l,rootId:u}),[t,u]);return q.jsx(np.Provider,{value:d,children:q.jsx(oc.Provider,{value:void 0,children:q.jsx(Q2,{...e})})})}const Zl=500,aP=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:h}=Us(!1),{store:g}=In(!1),m=g.useState("open"),b=g.useState("disabled"),v=c.useRef(null),x=c.useRef(null),w=qe(),S=qe(),R=c.useRef(!1),C=c.useRef(null);function k(P,V,L){var _;const I=L.type.startsWith("touch");y.current={x:P,y:V},a({getBoundingClientRect(){return DOMRect.fromRect({width:I?10:0,height:I?10:0,x:P,y:V})}}),R.current=!1,(_=l.current)==null||_.setOpen(!0,Re(Lt,L)),S.start(Zl,()=>{R.current=!0})}function T(P){var I;if(b)return;f.current=!0,Nt(P),k(P.clientX,P.clientY,P.nativeEvent);const V=Te(v.current);(I=C.current)==null||I.abort();const L=new AbortController;C.current=L,V.addEventListener("mouseup",_=>{var F;if(f.current=!1,!R.current)return;S.clear(),R.current=!1;const M=nt(_);ve(p.current,M)||h&&M&&sc(M)===h||(F=l.current)==null||F.setOpen(!1,Re(ga,_))},{once:!0,signal:L.signal})}function E(){w.clear(),x.current=null}function A(P){if(b){E();return}if(f.current=!1,P.touches.length!==1){E();return}P.stopPropagation();const V=P.touches[0],L={x:V.clientX,y:V.clientY};x.current=L,w.start(Zl,()=>{k(L.x,L.y,P.nativeEvent)})}function O(P){if(P.touches.length!==1){E();return}if(w.isStarted()&&x.current){const V=P.touches[0],L=10,I=Math.abs(V.clientX-x.current.x),_=Math.abs(V.clientY-x.current.y);(I>L||_>L)&&E()}}return c.useEffect(()=>()=>{var P;(P=C.current)==null||P.abort()},[]),c.useEffect(()=>{function P(L){if(b)return;const _=nt(L);(ve(v.current,_)||ve(u.current,_)||ve(d.current,_))&&L.preventDefault()}const V=Te(v.current);return Me(V,"contextmenu",P)},[d,b,u]),Se("div",t,{state:{open:m},ref:[v,n],props:[{onContextMenu:T,onTouchStart:A,onTouchMove:O,onTouchEnd:E,onTouchCancel:E,style:{WebkitTouchCallout:"none"}},i],stateAttributesMapping:Bo})});function Yw(e,t){const n=getComputedStyle(e),o=parseFloat(n.fontSize);return t*o}function Xw(e,t){const n=getComputedStyle(e.ownerDocument.documentElement),o=parseFloat(n.fontSize);return t*o}function Kw(e){return e/100*window.innerHeight}function Zw(e){return e/100*window.innerWidth}function Qw(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 _o({groupSize:e,panelElement:t,styleProp:n}){let o;const[r,s]=Qw(n);switch(s){case"%":{o=r/100*e;break}case"px":{o=r;break}case"rem":{o=Xw(t,r);break}case"em":{o=Yw(t,r);break}case"vh":{o=Kw(r);break}case"vw":{o=Zw(r);break}}return o}function mt(e){return parseFloat(e.toFixed(3))}function yo({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 Qi(e){const{panels:t}=e,n=yo({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=_o({groupSize:n,panelElement:r,styleProp:s.collapsedSize});i=mt(d/n*100)}let a;if(s.defaultSize!==void 0){const d=_o({groupSize:n,panelElement:r,styleProp:s.defaultSize});a=mt(d/n*100)}let l=0;if(s.minSize!==void 0){const d=_o({groupSize:n,panelElement:r,styleProp:s.minSize});l=mt(d/n*100)}let u=100;if(s.maxSize!==void 0){const d=_o({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 Ji(e,t){return Array.from(t).sort(e==="horizontal"?Jw:eS)}function Jw(e,t){const n=e.element.offsetLeft-t.element.offsetLeft;return n!==0?n:e.element.offsetWidth-t.element.offsetWidth}function eS(e,t){const n=e.element.offsetTop-t.element.offsetTop;return n!==0?n:e.element.offsetHeight-t.element.offsetHeight}function Mp(e){return e!==null&&typeof e=="object"&&"nodeType"in e&&e.nodeType===Node.ELEMENT_NODE}function Tp(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 tS({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}=Tp(o,i),u=e==="horizontal"?a:l;u<s&&(s=u,r=i)}return $e(r,"No rect found"),r}let _r;function nS(){return _r===void 0&&(typeof matchMedia=="function"?_r=!!matchMedia("(pointer:coarse)").matches:_r=!1),_r}function Ip(e){const{element:t,orientation:n,panels:o,separators:r}=e,s=Ji(n,Array.from(t.children).filter(Mp).map(h=>({element:h}))).map(({element:h})=>h),i=[];let a=!1,l=!1,u=-1,d=-1,p=0,f,y=[];{let h=-1;for(const g of s)g.hasAttribute("data-panel")&&(h++,g.hasAttribute("data-disabled")||(p++,u===-1&&(u=h),d=h))}if(p>1){let h=-1;for(const g of s)if(g.hasAttribute("data-panel")){h++;const m=o.find(b=>b.element===g);if(m){if(f){const b=f.element.getBoundingClientRect(),v=g.getBoundingClientRect();let x;if(l){const w=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:{x=[w,S];break}case 1:{const R=y[0],C=tS({orientation:n,rects:[b,v],targetRect:R.element.getBoundingClientRect()});x=[R,C===b?S:w];break}default:{x=y;break}}}else y.length?x=y:x=[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 w of x){let S="width"in w?w:w.element.getBoundingClientRect();const R=nS()?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 C=h<=u||h>d;!a&&!C&&i.push({group:e,groupSize:yo({group:e}),panels:[f,m],separator:"width"in w?void 0:w,rect:S}),a=!1}}l=!1,f=m,y=[]}}else if(g.hasAttribute("data-separator")){g.ariaDisabled!==null&&(a=!0);const m=r.find(b=>b.element===g);m?y.push(m):(f=void 0,y=[])}else l=!0}return i}var fn;class Op{constructor(){wc(this,fn,{})}addListener(t,n){const o=Po(this,fn)[t];return o===void 0?Po(this,fn)[t]=[n]:o.includes(n)||o.push(n),()=>{this.removeListener(t,n)}}emit(t,n){const o=Po(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(){Sc(this,fn,{})}removeListener(t,n){const o=Po(this,fn)[t];if(o!==void 0){const r=o.indexOf(n);r>=0&&o.splice(r,1)}}}fn=new WeakMap;let io={cursorFlags:0,state:"inactive"};const cc=new Op;function zn(){return io}function oS(e){return cc.addListener("change",e)}function rS(e){const t=io,n={...io};n.cursorFlags=e,io=n,cc.emit("change",{prev:t,next:n})}function ao(e){const t=io;io=e,cc.emit("change",{prev:t,next:e})}const sS=e=>e,bi=()=>{},Ap=1,Np=2,Dp=4,_p=8,Ql=3,Jl=12;let Lr;function eu(){return Lr===void 0&&(Lr=!1,typeof window<"u"&&(window.navigator.userAgent.includes("Chrome")||window.navigator.userAgent.includes("Firefox"))&&(Lr=!0)),Lr}function iS({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&&eu()){const s=(e&Ap)!==0,i=(e&Np)!==0,a=(e&Dp)!==0,l=(e&_p)!==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 eu()?o>0&&r>0?"move":o>0?"ew-resize":"ns-resize":o>0&&r>0?"grab":o>0?"col-resize":"row-resize"}}const tu=new WeakMap;function lc(e){if(e.defaultView===null||e.defaultView===void 0)return;let{prevStyle:t,styleSheet:n}=tu.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=zn();switch(o.state){case"active":case"hover":{const r=iS({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}}tu.set(e,{prevStyle:t,styleSheet:n})}let Gt=new Map;const Lp=new Op;function aS(e){Gt=new Map(Gt),Gt.delete(e)}function nu(e,t){for(const[n]of Gt)if(n.id===e)return n}function yn(e,t){for(const[n,o]of Gt)if(n.id===e)return o;if(t)throw Error(`Could not find data for Group with id ${e}`)}function Wn(){return Gt}function uc(e,t){return Lp.addListener("groupChange",n=>{n.group.id===e&&t(n)})}function an(e,t,n){const o=Gt.get(e);Gt=new Map(Gt),Gt.set(e,t),Lp.emit("groupChange",{group:e,isUserInteraction:(n==null?void 0:n.isUserInteraction)===!0,prev:o,next:t})}function Fp(e){const t=zn();let n=!1;switch(t.state){case"active":ao({cursorFlags:0,state:"inactive"}),t.hitRegions.length>0&&(lc(e),n=!0,t.hitRegions.forEach(o=>{const r=yn(o.group.id,!0);an(o.group,r,{isUserInteraction:!0})}))}return n}function ou(e){e.defaultPrevented||Fp(e.currentTarget)}function cS(e,t,n){let o,r={x:1/0,y:1/0};for(const s of t){const i=Tp(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 lS(e){return e!==null&&typeof e=="object"&&"nodeType"in e&&e.nodeType===Node.DOCUMENT_FRAGMENT_NODE}function uS(e,t){if(e===t)throw new Error("Cannot compare node with itself");const n={a:iu(e),b:iu(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:su(ru(n.a)),b:su(ru(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 dS=/\b(?:position|zIndex|opacity|transform|webkitTransform|mixBlendMode|filter|webkitFilter|isolation)\b/;function fS(e){const t=getComputedStyle(zp(e)??e).display;return t==="flex"||t==="inline-flex"}function pS(e){const t=getComputedStyle(e);return!!(t.position==="fixed"||t.zIndex!=="auto"&&(t.position!=="static"||fS(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"||dS.test(t.willChange)||t.webkitOverflowScrolling==="touch")}function ru(e){let t=e.length;for(;t--;){const n=e[t];if($e(n,"Missing node"),pS(n))return n}return null}function su(e){return e&&Number(getComputedStyle(e).zIndex)||0}function iu(e){const t=[];for(;e;)t.push(e),e=zp(e);return t}function zp(e){const{parentNode:t}=e;return lS(t)?t.host:t}function hS(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 gS({groupElement:e,hitRegion:t,pointerEventTarget:n}){if(!Mp(n)||n.contains(e)||e.contains(n))return!0;if(uS(n,e)>0){let o=n;for(;o;){if(o.contains(e))return!0;if(hS(o.getBoundingClientRect(),t))return!1;o=o.parentElement}}return!0}function dc(e,t){const n=[];return t.forEach((o,r)=>{if(r.disabled)return;const s=Ip(r),i=cS(r.orientation,s,{x:e.clientX,y:e.clientY});i&&i.distance.x<=0&&i.distance.y<=0&&gS({groupElement:r.element,hitRegion:i.hitRegion.rect,pointerEventTarget:e.target})&&n.push(i.hitRegion)}),n}function mS(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 Wt(e,t){return ft(e,t)?0:e>t?1:-1}function eo({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(Wt(o,l)<0)if(s){const u=(r+l)/2;Wt(o,u)<0?o=r:o=l}else o=l;return o=Math.min(a,o),o=mt(o),o}function Go({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,m=n[g];$e(m,`Panel constraints not found for index ${g}`);const{collapsedSize:b=0,collapsible:v,minSize:x=0}=m;if(v){const w=a[g];if($e(w!=null,`Previous layout not found for panel index ${g}`),ft(w,b)){const S=x-w;Wt(S,Math.abs(e))>0&&(e=e<0?0-S:S)}}}{const g=e<0?d:p,m=n[g];$e(m,`No panel constraints found for index ${g}`);const{collapsedSize:b=0,collapsible:v,minSize:x=0}=m;if(v){const w=a[g];if($e(w!=null,`Previous layout not found for panel index ${g}`),ft(w,x)){const S=w-b;Wt(S,Math.abs(e))>0&&(e=e<0?0-S:S)}}}break}default:{const g=e<0?p:d,m=n[g];$e(m,`Panel constraints not found for index ${g}`);const b=a[g],{collapsible:v,collapsedSize:x,minSize:w}=m;if(v&&Wt(b,w)<0)if(e>0){const S=w-x,R=S/2,C=b+e;Wt(C,w)<0&&(e=Wt(e,R)<=0?0:S)}else{const S=w-x,R=100-S/2,C=b-e;Wt(C,w)<0&&(e=Wt(100+e,R)>0?0:-S)}break}}{const g=e<0?1:-1;let m=e<0?p:d,b=0;for(;;){const x=a[m];$e(x!=null,`Previous layout not found for panel index ${m}`);const w=eo({overrideDisabledPanels:i,panelConstraints:n[m],prevSize:x,size:100})-x;if(b+=w,m+=g,m<0||m>=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 m=Math.abs(e)-Math.abs(f),b=a[g];$e(b!=null,`Previous layout not found for panel index ${g}`);const v=b-m,x=eo({overrideDisabledPanels:i,panelConstraints:n[g],prevSize:b,size:v});if(!ft(b,x)&&(f+=b-x,u[g]=x,f.toFixed(3).localeCompare(Math.abs(e).toFixed(3),void 0,{numeric:!0})>=0))break;e<0?g--:g++}}if(mS(l,u))return r;{const g=e<0?p:d,m=a[g];$e(m!=null,`Previous layout not found for panel index ${g}`);const b=m+f,v=eo({overrideDisabledPanels:i,panelConstraints:n[g],prevSize:m,size:b});if(u[g]=v,!ft(v,b)){let x=b-v,w=e<0?p:d;for(;w>=0&&w<n.length;){const S=u[w];$e(S!=null,`Previous layout not found for panel index ${w}`);const R=S+x,C=eo({overrideDisabledPanels:i,panelConstraints:n[w],prevSize:S,size:R});if(ft(S,C)||(x-=C-S,u[w]=C),ft(x,0))break;e>0?w--:w++}}}const y=Object.values(u).reduce((g,m)=>m+g,0);if(!ft(y,100,.1))return r;const h=Object.keys(r);return u.reduce((g,m,b)=>(g[h[b]]=m,g),{})}function Vn(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(t[n]===void 0||Wt(e[n],t[n])!==0)return!1;return!0}function $n({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=eo({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=eo({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 Vp({groupId:e,panelId:t}){const n=()=>{const l=Wn();for(const[u,{defaultLayoutDeferred:d,derivedPanelConstraints:p,layout:f,groupSize:y,separatorToPanels:h}]of l)if(u.id===e)return{defaultLayoutDeferred:d,derivedPanelConstraints:p,group:u,groupSize:y,layout:f,separatorToPanels:h};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(m=>m.id===t),h=y===0,g=y===u.length-1;if(g&&l<f&&(h||u.slice(0,y).every((m,b)=>{const v=p[b];return(v==null?void 0:v.collapsible)&&ft(v.collapsedSize,d[v.panelId])}))){const m=u.slice(0,y).reduce((b,v)=>b+d[v.id],0);return{...d,[t]:mt(100-m)}}return Go({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:h,separatorToPanels:g}=n(),m=i({nextSize:l,panels:f.panels,prevLayout:h,derivedPanelConstraints:p}),b=$n({layout:m,panelConstraints:p});Vn(h,b)||an(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=yo({group:u}),f=_o({groupSize:p,panelElement:d,styleProp:l}),y=mt(f/p*100);a(y)}}}function au(e){if(e.defaultPrevented)return;const t=Wn();dc(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=Vp({groupId:n.group.id,panelId:o.id});s&&r!==void 0&&(s.resize(r),e.preventDefault())}}})}function Wr(e){const t=Wn();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 $p({groupId:e}){const t=()=>{const n=Wn();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=$n({layout:n,panelConstraints:r});return o?a:(Vn(a,u)||an(s,{defaultLayoutDeferred:o,derivedPanelConstraints:r,groupSize:i,layout:u,separatorToPanels:l}),u)}}}function Dn(e,t){const n=Wr(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=$p({groupId:n.id}).getLayout(),l=Go({delta:t,initialLayout:a,panelConstraints:o.derivedPanelConstraints,pivotIndices:i,prevLayout:a,trigger:"keyboard"}),u=$n({layout:l,panelConstraints:o.derivedPanelConstraints});Vn(a,u)||an(n,{defaultLayoutDeferred:o.defaultLayoutDeferred,derivedPanelConstraints:o.derivedPanelConstraints,groupSize:o.groupSize,layout:u,separatorToPanels:o.separatorToPanels},{isUserInteraction:!0})}function cu(e){if(e.defaultPrevented)return;const t=e.currentTarget,n=Wr(t);if(!n.disabled)switch(e.key){case"ArrowDown":{e.preventDefault(),n.orientation==="vertical"&&Dn(t,5);break}case"ArrowLeft":{e.preventDefault(),n.orientation==="horizontal"&&Dn(t,-5);break}case"ArrowRight":{e.preventDefault(),n.orientation==="horizontal"&&Dn(t,5);break}case"ArrowUp":{e.preventDefault(),n.orientation==="vertical"&&Dn(t,-5);break}case"End":{e.preventDefault(),Dn(t,100);break}case"Enter":{e.preventDefault();const o=Wr(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;Dn(t,y-f)}break}case"F6":{e.preventDefault();const o=Wr(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(),Dn(t,-100);break}}}function lu(e){if(e.defaultPrevented||e.pointerType==="mouse"&&e.button>0)return;const t=Wn(),n=dc(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)}),ao({cursorFlags:0,hitRegions:n,initialLayoutMap:o,pointerDownAtPoint:{x:e.clientX,y:e.clientY},state:"active"}),n.length&&e.preventDefault()}function Hp({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:h}=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 m=o.get(d),b=r.get(d);if(!m||!b)return;const{defaultLayoutDeferred:v,derivedPanelConstraints:x,groupSize:w,layout:S,separatorToPanels:R}=b;if(x&&S&&R){const C=Go({delta:g,initialLayout:m,panelConstraints:x,pivotIndices:u.panels.map(k=>y.indexOf(k)),prevLayout:S,trigger:"mouse-or-touch"});if(Vn(C,S)){if(g!==0&&!h)switch(f){case"horizontal":{a|=g<0?Ap:Np;break}case"vertical":{a|=g<0?Dp:_p;break}}}else an(u.group,{defaultLayoutDeferred:v,derivedPanelConstraints:x,groupSize:w,layout:C,separatorToPanels:R})}});let l=0;t.movementX===0?l|=i&Ql:l|=a&Ql,t.movementY===0?l|=i&Jl:l|=a&Jl,rS(l),lc(e)}function uu(e){const t=Wn(),n=zn();switch(n.state){case"active":Hp({document:e.currentTarget,event:e,hitRegions:n.hitRegions,initialLayoutMap:n.initialLayoutMap,mountedGroups:t,prevCursorFlags:n.cursorFlags})}}function du(e){var o,r;if(e.defaultPrevented)return;const t=zn(),n=Wn();switch(t.state){case"active":{if(e.buttons===0){ao({cursorFlags:0,state:"inactive"}),t.hitRegions.forEach(s=>{const i=yn(s.group.id,!0);an(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))}Hp({document:e.currentTarget,event:e,hitRegions:t.hitRegions,initialLayoutMap:t.initialLayoutMap,mountedGroups:n,pointerDownAtPoint:t.pointerDownAtPoint,prevCursorFlags:t.cursorFlags});break}default:{const s=dc(e,n);s.length===0?t.state!=="inactive"&&ao({cursorFlags:0,state:"inactive"}):ao({cursorFlags:0,hitRegions:s,state:"hover"}),lc(e.currentTarget);break}}}function fu(e){if(e.relatedTarget instanceof HTMLIFrameElement)switch(zn().state){case"hover":ao({cursorFlags:0,state:"inactive"})}}function pu(e){e.defaultPrevented||e.pointerType==="mouse"&&e.button>0||Fp(e.currentTarget)&&e.preventDefault()}function hu(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 yS(e,t,n){if(!n[0])return;const o=e.panels.find(l=>l.element===t);if(!o||!o.onResize)return;const r=yo({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 bS(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 vS({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,h=mt(y/t*100);a.set(p.id,h),r+=h;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 xS(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 Zn=new Map;function wS(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(h=>{for(const g of h){const{borderBoxSize:m,target:b}=g;if(b===e.element){if(t){const v=yo({group:e});if(v===0)return;const x=yn(e.id);if(!x)return;const w=Qi(e),S=x.defaultLayoutDeferred?hu(w):x.layout,R=vS({group:e,nextGroupSize:v,prevGroupSize:x.groupSize,prevLayout:S}),C=$n({layout:R,panelConstraints:w});if(!x.defaultLayoutDeferred&&Vn(x.layout,C)&&bS(x.derivedPanelConstraints,w)&&x.groupSize===v)return;an(e,{defaultLayoutDeferred:!1,derivedPanelConstraints:w,groupSize:v,layout:C,separatorToPanels:x.separatorToPanels})}}else yS(e,b,m)}});s.observe(e.element),e.panels.forEach(h=>{$e(!o.has(h.id),`Panel ids must be unique; id "${h.id}" was used more than once`),o.add(h.id),h.onResize&&s.observe(h.element)});const i=yo({group:e}),a=Qi(e),l=e.panels.map(({id:h})=>h).join(",");let u=e.mutableState.defaultLayout;u&&(xS(e.panels,u)||(u=void 0));const d=e.mutableState.layouts[l]??u??hu(a),p=$n({layout:d,panelConstraints:a}),f=e.element.ownerDocument;Zn.set(f,(Zn.get(f)??0)+1);const y=new Map;return Ip(e).forEach(h=>{h.separator&&y.set(h.separator,h.panels)}),an(e,{defaultLayoutDeferred:i===0,derivedPanelConstraints:a,groupSize:i,layout:p,separatorToPanels:y}),e.separators.forEach(h=>{$e(!r.has(h.id),`Separator ids must be unique; id "${h.id}" was used more than once`),r.add(h.id),h.element.addEventListener("keydown",cu)}),Zn.get(f)===1&&(f.addEventListener("contextmenu",ou,!0),f.addEventListener("dblclick",au,!0),f.addEventListener("pointerdown",lu,!0),f.addEventListener("pointerleave",uu),f.addEventListener("pointermove",du),f.addEventListener("pointerout",fu),f.addEventListener("pointerup",pu,!0)),function(){t=!1,Zn.set(f,Math.max(0,(Zn.get(f)??0)-1)),aS(e),e.separators.forEach(h=>{h.element.removeEventListener("keydown",cu)}),Zn.get(f)||(f.removeEventListener("contextmenu",ou,!0),f.removeEventListener("dblclick",au,!0),f.removeEventListener("pointerdown",lu,!0),f.removeEventListener("pointerleave",uu),f.removeEventListener("pointermove",du),f.removeEventListener("pointerout",fu),f.removeEventListener("pointerup",pu,!0)),s.disconnect()}}function SS(){const[e,t]=c.useState({}),n=c.useCallback(()=>t({}),[]);return[e,n]}function fc(e){const t=c.useId();return`${e??t}`}const Un=typeof window<"u"?c.useLayoutEffect:c.useEffect;function zo(e){const t=c.useRef(e);return Un(()=>{t.current=e},[e]),c.useCallback((...n)=>{var o;return(o=t.current)==null?void 0:o.call(t,...n)},[t])}function pc(...e){return zo(t=>{e.forEach(n=>{if(n)switch(typeof n){case"function":{n(t);break}case"object":{n.current=t;break}}})})}function hc(e){const t=c.useRef({...e});return Un(()=>{for(const n in e)t.current[n]=e[n]},[e]),t.current}const jp=c.createContext(null);function RS(e,t){const n=c.useRef({getLayout:()=>({}),setLayout:sS});c.useImperativeHandle(t,()=>n.current,[]),Un(()=>{Object.assign(n.current,$p({groupId:e}))})}function kS({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 h=c.useRef({onLayoutChange:{},onLayoutChanged:{}}),g=zo(A=>{Vn(h.current.onLayoutChange,A)||(h.current.onLayoutChange=A,l==null||l(A))}),m=zo((A,O)=>{Vn(h.current.onLayoutChanged,A)||(h.current.onLayoutChanged=A,u==null||u(A,{isUserInteraction:O}))}),b=fc(a),v=c.useRef(null),[x,w]=SS(),S=c.useRef({lastExpandedPanelSizes:{},layouts:{},panels:[],resizeTargetMinimumSize:p,separators:[]}),R=pc(v,s);RS(b,i);const C=zo((A,O)=>{const N=zn(),D=nu(A),P=yn(A);if(P){let V=!1;switch(N.state){case"active":{V=N.hitRegions.some(L=>L.group===D);break}}return{flexGrow:P.layout[O]??1,pointerEvents:V?"none":void 0}}if(n!=null&&n[O])return{flexGrow:n==null?void 0:n[O]}}),k=hc({defaultLayout:n,disableCursor:o}),T=c.useMemo(()=>({get disableCursor(){return!!k.disableCursor},getPanelStyles:C,id:b,orientation:d,registerPanel:A=>{const O=S.current;return O.panels=Ji(d,[...O.panels,A]),w(),()=>{O.panels=O.panels.filter(N=>N!==A),w()}},registerSeparator:A=>{const O=S.current;return O.separators=Ji(d,[...O.separators,A]),w(),()=>{O.separators=O.separators.filter(N=>N!==A),w()}},updatePanelProps:(A,{disabled:O})=>{const N=S.current.panels.find(V=>V.id===A);N&&(N.panelConstraints.disabled=O);const D=nu(b),P=yn(b);D&&P&&an(D,{...P,derivedPanelConstraints:Qi(D)})},updateSeparatorProps:(A,{disabled:O,disableDoubleClick:N})=>{const D=S.current.separators.find(P=>P.id===A);D&&(D.disabled=O,D.disableDoubleClick=N)}}),[C,b,w,d,k]),E=c.useRef(null);return Un(()=>{const A=v.current;if(A===null)return;const O=S.current;let N;if(k.defaultLayout!==void 0&&Object.keys(k.defaultLayout).length===O.panels.length){N={};for(const M of O.panels){const F=k.defaultLayout[M.id];F!==void 0&&(N[M.id]=F)}}const D={disabled:!!r,element:A,id:b,mutableState:{defaultLayout:N,disableCursor:!!k.disableCursor,expandedPanelSizes:S.current.lastExpandedPanelSizes,layouts:S.current.layouts},orientation:d,panels:O.panels,resizeTargetMinimumSize:O.resizeTargetMinimumSize,separators:O.separators};E.current=D;const P=wS(D),{defaultLayoutDeferred:V,derivedPanelConstraints:L,layout:I}=yn(D.id,!0);!V&&L.length>0&&(g(I),m(I,!1));const _=uc(b,M=>{const{defaultLayoutDeferred:F,derivedPanelConstraints:H,layout:$}=M.next;if(F||H.length===0)return;const U=D.panels.map(({id:z})=>z).join(",");D.mutableState.layouts[U]=$,H.forEach(z=>{if(z.collapsible){const{layout:K}=M.prev??{};if(K){const j=ft(z.collapsedSize,$[z.panelId]),X=ft(z.collapsedSize,K[z.panelId]);j&&!X&&(D.mutableState.expandedPanelSizes[z.panelId]=K[z.panelId])}}});const G=zn().state!=="active";g($),G&&m($,M.isUserInteraction)});return()=>{E.current=null,P(),_()}},[r,b,m,g,d,x,k]),c.useEffect(()=>{const A=E.current;A&&(A.mutableState.defaultLayout=n,A.mutableState.disableCursor=!!o)}),q.jsx(jp.Provider,{value:T,children:q.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})})}kS.displayName="Group";function gc(){const e=c.useContext(jp);return $e(e,"Group Context not found; did you render a Panel or Separator outside of a Group?"),e}function CS(e,t){const{id:n}=gc(),o=c.useRef({collapse:bi,expand:bi,getSize:()=>({asPercentage:0,inPixels:0}),isCollapsed:()=>!1,resize:bi});c.useImperativeHandle(t,()=>o.current,[]),Un(()=>{Object.assign(o.current,Vp({groupId:n,panelId:e}))})}function ES({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,...h}){const g=!!l,m=fc(l),b=hc({disabled:s}),v=c.useRef(null),x=pc(v,i),{getPanelStyles:w,id:S,orientation:R,registerPanel:C,updatePanelProps:k}=gc(),T=p!==null,E=zo((D,P,V)=>{p==null||p(D,l,V)});Un(()=>{const D=v.current;if(D!==null){const P={element:D,id:m,idIsStable:g,mutableValues:{expandToSize:void 0,prevSize:void 0},onResize:T?E:void 0,panelConstraints:{groupResizeBehavior:a,collapsedSize:n,collapsible:o,defaultSize:r,disabled:b.disabled,maxSize:u,minSize:d}};return C(P)}},[a,n,o,r,T,m,g,u,d,E,C,b]),c.useEffect(()=>{k(m,{disabled:s})},[s,m,k]),CS(m,f);const A=()=>{const D=w(S,m);if(D)return JSON.stringify(D)},O=c.useSyncExternalStore(D=>uc(S,D),A,A);let N;return O?N=JSON.parse(O):r!==void 0?N={flexGrow:void 0,flexShrink:void 0,flexBasis:r}:N={flexGrow:1},q.jsx("div",{...h,"data-disabled":s||void 0,"data-panel":!0,"data-testid":m,id:m,ref:x,style:{...PS,display:"flex",flexBasis:0,flexShrink:1,overflow:"visible",...N},children:q.jsx("div",{className:t,style:{maxHeight:"100%",maxWidth:"100%",flexGrow:1,overflow:"auto",...y,touchAction:R==="horizontal"?"pan-y":"pan-x"},children:e})})}ES.displayName="Panel";const PS={minHeight:0,maxHeight:"100%",height:"auto",minWidth:0,maxWidth:"100%",width:"auto",border:"none",borderWidth:0,padding:0,margin:0};function MS({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=$n({layout:Go({delta:u-i,initialLayout:e,panelConstraints:t,pivotIndices:d,prevLayout:e}),panelConstraints:t})[n],r=$n({layout:Go({delta:l-i,initialLayout:e,panelConstraints:t,pivotIndices:d,prevLayout:e}),panelConstraints:t})[n]}return{valueControls:n,valueMax:r,valueMin:s,valueNow:i}}function TS({children:e,className:t,disabled:n,disableDoubleClick:o,elementRef:r,id:s,style:i,...a}){const l=fc(s),u=hc({disabled:n,disableDoubleClick:o}),[d,p]=c.useState({}),[f,y]=c.useState("inactive"),[h,g]=c.useState(!1),m=c.useRef(null),b=pc(m,r),{disableCursor:v,id:x,orientation:w,registerSeparator:S,updateSeparatorProps:R}=gc(),C=w==="horizontal"?"vertical":"horizontal";Un(()=>{const E=m.current;if(E!==null){const A={disabled:u.disabled,disableDoubleClick:u.disableDoubleClick,element:E,id:l},O=S(A),N=oS(P=>{y(P.next.state!=="inactive"&&P.next.hitRegions.some(V=>V.separator===A)?P.next.state:"inactive")}),D=uc(x,P=>{const{derivedPanelConstraints:V,layout:L,separatorToPanels:I}=P.next,_=I.get(A);if(_){const M=_[0],F=_.indexOf(M);p(MS({layout:L,panelConstraints:V,panelId:M.id,panelIndex:F}))}});return()=>{N(),D(),O()}}},[x,l,S,u]),c.useEffect(()=>{R(l,{disabled:n,disableDoubleClick:o})},[n,o,l,R]);let k;n&&!v&&(k="not-allowed");let T;if(n)T="disabled";else switch(f){case"active":{T="active";break}default:h?T="focus":T=f}return q.jsx("div",{...a,"aria-controls":d.valueControls,"aria-disabled":n||void 0,"aria-orientation":C,"aria-valuemax":d.valueMax,"aria-valuemin":d.valueMin,"aria-valuenow":d.valueNow,children:e,className:t,"data-separator":T,"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})}TS.displayName="Separator";const Bp=c.createContext(void 0);function IS(){const e=c.useContext(Bp);if(e===void 0)throw new Error(Ae(63));return e}const Wp={...Ro,checked(e){return e?{"data-checked":""}:{"data-unchecked":""}}},cP=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:h=!1,disabled:g=!1,render:m,uncheckedValue:b,value:v,style:x,...w}=t,{clearErrors:S}=ir(),{state:R,setTouched:C,setDirty:k,validityData:T,setFilled:E,setFocused:A,validationMode:O,disabled:N,name:D,validation:P}=Mn(),{labelId:V}=jn(),L=N||g,I=D??d,_=c.useRef(null),M=Ot(_,u,P.inputRef),F=c.useRef(null),H=et(),$=rr({id:l,implicit:!1,controlRef:F}),U=p?void 0:$,[G,z]=Ft({controlled:o,default:!!s,name:"Switch",state:"checked"});sr(F,H,G,void 0,!L,d),se(()=>{_.current&&E(_.current.checked)},[E]),Jo(G,()=>{S(I),k(G!==T.initialValue),E(G),P.change(G)});const{getButtonProps:K,buttonRef:j}=St({disabled:L,native:p}),X=Ha(i,V,_,!p,U),ue={id:p?$:H,role:"switch","aria-checked":G,"aria-readonly":y||void 0,"aria-required":h||void 0,"aria-labelledby":X,onFocus(){L||A(!0)},onBlur(){const Y=_.current;!Y||L||(C(!0),A(!1),O==="onBlur"&&P.commit(Y.checked))},onClick(Y){if(y||L)return;Y.preventDefault();const re=_.current;re&&_n(re,Y)}},ne={...P.getValidationProps(L),checked:G,disabled:L,form:a,id:U,name:I,required:h,style:I?gs:vo,tabIndex:-1,type:"checkbox","aria-hidden":!0,ref:M,onChange(Y){if(Y.nativeEvent.defaultPrevented)return;if(y){Y.preventDefault();return}const re=Y.currentTarget.checked,ge=Re(wt,Y.nativeEvent);f==null||f(re,ge),!ge.isCanceled&&z(re)},onClick(Y){Y.stopPropagation()},onFocus(){var Y;(Y=F.current)==null||Y.focus()},...v!==void 0?{value:v}:He},te=c.useMemo(()=>({...R,checked:G,disabled:L,readOnly:y,required:h}),[R,G,L,y,h]),ee=Se("span",t,{state:te,ref:[n,F,j],props:[ue,w,K,Y=>P.getValidationProps(L,Y)],stateAttributesMapping:Wp});return q.jsxs(Bp.Provider,{value:te,children:[ee,!G&&I&&b!==void 0&&q.jsx("input",{type:"hidden",form:a,name:I,value:b,disabled:L}),q.jsx("input",{...ne,suppressHydrationWarning:!0})]})}),lP=c.forwardRef(function(t,n){const{render:o,className:r,style:s,...i}=t,a=IS();return Se("span",t,{state:a,ref:n,stateAttributesMapping:Wp,props:i})});export{mR as $,xR as A,HR as B,KS as C,yR as D,CR as E,VR as F,WR as G,tk as H,tC as I,qS as J,ik as K,lk as L,Ek as M,bC as N,BR as O,Hk as P,xk as Q,Yk as R,Qk as S,hC as T,Kk as U,GR as V,XS as W,IC as X,bR as Y,NC as Z,TC as _,$R as a,eE as a$,DR as a0,YS as a1,Tk as a2,jS as a3,ck as a4,MC as a5,Wk as a6,cP as a7,lP as a8,MR as a9,fR as aA,SR as aB,LC as aC,Py as aD,DC as aE,_C as aF,Mk as aG,ok as aH,FC as aI,zC as aJ,HC as aK,VC as aL,$C as aM,WC as aN,BC as aO,jC as aP,gk as aQ,UC as aR,GC as aS,ZR as aT,OC as aU,iC as aV,qC as aW,nE as aX,YC as aY,XC as aZ,KC as a_,TR as aa,PC as ab,EC as ac,wR as ad,hk as ae,kC as af,_k as ag,nR as ah,pR as ai,IR as aj,HS as ak,$k as al,zR as am,xC as an,dk as ao,mk as ap,vC as aq,rC as ar,bk as as,rR as at,pk as au,NS as av,jk as aw,LS as ax,FS as ay,Xk as az,Gk as b,Vk as b$,ZC as b0,tE as b1,QC as b2,JC as b3,rE as b4,oE as b5,iE as b6,sE as b7,ZS as b8,aE as b9,PE as bA,CE as bB,EE as bC,TE as bD,SE as bE,NE as bF,OE as bG,AE as bH,rk as bI,Fk as bJ,_E as bK,zE as bL,DE as bM,VE as bN,LE as bO,FE as bP,Bk as bQ,pC as bR,Jk as bS,tR as bT,$E as bU,HE as bV,jE as bW,BE as bX,UE as bY,WE as bZ,LR as b_,hE as ba,uE as bb,dE as bc,pE as bd,fE as be,lE as bf,cE as bg,cx as bh,RR as bi,Ct as bj,gE as bk,Hr as bl,Bs as bm,yE as bn,bE as bo,vE as bp,xE as bq,gf as br,zk as bs,_R as bt,Q2 as bu,IE as bv,kE as bw,wE as bx,RE as by,ME as bz,PR as c,dR as c$,Lk as c0,GE as c1,qE as c2,KE as c3,YE as c4,XE as c5,eP as c6,tP as c7,ZE as c8,QE as c9,BS as cA,kk as cB,Uk as cC,Zk as cD,wk as cE,_S as cF,vk as cG,sk as cH,FR as cI,$S as cJ,GS as cK,XR as cL,oC as cM,Ak as cN,ER as cO,Ok as cP,TS as cQ,ES as cR,kS as cS,sR as cT,zS as cU,WS as cV,fk as cW,lR as cX,wC as cY,RC as cZ,SC as c_,JE as ca,nP as cb,oP as cc,rP as cd,sP as ce,nk as cf,Ck as cg,JR as ch,hR as ci,oR as cj,kR as ck,JS as cl,DS as cm,CC as cn,aR as co,gR as cp,uR as cq,Pk as cr,ek as cs,NR as ct,AR as cu,UR as cv,aC as cw,aP as cx,iP as cy,cR as cz,eC as d,qR as d0,YR as d1,Rk as d2,VS as d3,qk as d4,iR as d5,Dk as d6,yC as d7,sC as d8,uk as d9,uC as e,yk as f,AC as g,dC as h,KR as i,mC as j,OR as k,Sk as l,vR as m,ak as n,QR as o,jR as p,US as q,Nk as r,cC as s,eR as t,QS as u,Ik as v,nC as w,lC as x,fC as y,gC as z};
|