cogpit 2.6.1 → 2.6.6
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 +2323 -2393
- package/dist/web/assets/{CommandPaletteHost-DLho8Ydr.js → CommandPaletteHost-iiTEkWGR.js} +1 -1
- package/dist/web/assets/{ConfigBrowser-DcRITnFh.js → ConfigBrowser-CV_FDTPG.js} +1 -1
- package/dist/web/assets/{HighlightedEditor-DIp1oA0P.js → HighlightedEditor-7K1IXoMd.js} +1 -1
- package/dist/web/assets/{KeyboardShortcutsDialog-BbU77pdm.js → KeyboardShortcutsDialog-C7QHuM2e.js} +1 -1
- package/dist/web/assets/{MobileFileChanges-GkG76Ztq.js → MobileFileChanges-qnY-uxZ_.js} +1 -1
- package/dist/web/assets/{PreviewPanel-B8DbD395.js → PreviewPanel-DBIaGXu0.js} +1 -1
- package/dist/web/assets/ProjectFilesPanel-DdllBXuv.js +4 -0
- package/dist/web/assets/{ProjectSwitcherModal-HW-WAt1o.js → ProjectSwitcherModal-BhevYH6F.js} +1 -1
- package/dist/web/assets/{TerminalOutput-Cpqldw8o.js → TerminalOutput-DnTT9ONj.js} +1 -1
- package/dist/web/assets/{ThemeSelectorModal-BZ9ceBWr.js → ThemeSelectorModal-GimQk0yY.js} +1 -1
- package/dist/web/assets/WorkflowsPanel-BTeZdY1F.js +1 -0
- package/dist/web/assets/WorktreePanel-DbSH2Fyv.js +1 -0
- package/dist/web/assets/{index-L4keTj_3.js → index-7fgSFumo.js} +1 -1
- package/dist/web/assets/{index-De7cnbso.js → index-Bl7YHn3e.js} +1 -1
- package/dist/web/assets/index-C640apmk.css +1 -0
- package/dist/web/assets/index-CVF75nuK.js +153 -0
- package/dist/web/assets/index-CmAiGDkv.js +1 -0
- package/dist/web/assets/index-j1RyyaFQ.js +1 -0
- package/dist/web/assets/session-parser.worker-DlF00ZHH.js +29 -0
- package/dist/web/assets/vendor-ui-C4lFQWec.js +937 -0
- package/dist/web/index.html +3 -3
- package/package.json +1 -1
- package/dist/web/assets/ProjectFilesPanel-nG1bZOL7.js +0 -4
- package/dist/web/assets/WorkflowsPanel-DOOg6Hqp.js +0 -1
- package/dist/web/assets/WorktreePanel-JHMvhzQu.js +0 -1
- package/dist/web/assets/index-9nniVy_T.js +0 -157
- package/dist/web/assets/index-BDtY-qce.css +0 -1
- package/dist/web/assets/index-BhAAK3QZ.js +0 -1
- package/dist/web/assets/index-D2-ty4Xm.js +0 -1
- package/dist/web/assets/session-parser.worker-CnmfpqaO.js +0 -29
- package/dist/web/assets/vendor-ui-CKSkT7i9.js +0 -912
|
@@ -0,0 +1,937 @@
|
|
|
1
|
+
var mh=Object.defineProperty;var Pc=e=>{throw TypeError(e)};var yh=(e,t,n)=>t in e?mh(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var Ue=(e,t,n)=>yh(e,typeof t!="symbol"?t+"":t,n),Mc=(e,t,n)=>t.has(e)||Pc("Cannot "+n);var _o=(e,t,n)=>(Mc(e,t,"read from private field"),n?n.call(e):t.get(e)),Tc=(e,t,n)=>t.has(e)?Pc("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),Ic=(e,t,n,o)=>(Mc(e,t,"write to private field"),o?o.call(e,n):t.set(e,n),n);import{r as c,R as ko,j as Y,a as Dt,b as Eu}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 Pu=(...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 bh=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 vh=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 Oc=e=>{const t=vh(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 xh={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 wh=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 Sh=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,...xh,width:t,height:t,stroke:e,strokeWidth:o?Number(n)*24/Number(t):n,className:Pu("lucide",r),...!s&&!wh(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(Sh,{ref:s,iconNode:t,className:Pu(`lucide-${bh(Oc(e))}`,`lucide-${e}`,o),...r}));return n.displayName=Oc(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 Rh=[["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"}]],pR=B("activity",Rh);/**
|
|
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 kh=[["rect",{width:"20",height:"5",x:"2",y:"3",rx:"1",key:"1wp1u1"}],["path",{d:"M4 8v11a2 2 0 0 0 2 2h2",key:"tvwodi"}],["path",{d:"M20 8v11a2 2 0 0 1-2 2h-2",key:"1gkqxj"}],["path",{d:"m9 15 3-3 3 3",key:"1pd0qc"}],["path",{d:"M12 12v9",key:"192myk"}]],hR=B("archive-restore",kh);/**
|
|
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 Ch=[["rect",{width:"20",height:"5",x:"2",y:"3",rx:"1",key:"1wp1u1"}],["path",{d:"M4 8v11a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8",key:"1s80jp"}],["path",{d:"M10 12h4",key:"a56b0p"}]],gR=B("archive",Ch);/**
|
|
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 Eh=[["path",{d:"M17 7 7 17",key:"15tmo1"}],["path",{d:"M17 17H7V7",key:"1org7z"}]],mR=B("arrow-down-left",Eh);/**
|
|
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 Ph=[["path",{d:"M12 5v14",key:"s699le"}],["path",{d:"m19 12-7 7-7-7",key:"1idqje"}]],yR=B("arrow-down",Ph);/**
|
|
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 Mh=[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]],bR=B("arrow-left",Mh);/**
|
|
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 Th=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]],vR=B("arrow-right",Th);/**
|
|
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 Ih=[["path",{d:"M7 7h10v10",key:"1tivn9"}],["path",{d:"M7 17 17 7",key:"1vkiza"}]],xR=B("arrow-up-right",Ih);/**
|
|
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 Oh=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M4.929 4.929 19.07 19.071",key:"196cmz"}]],wR=B("ban",Oh);/**
|
|
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 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"}]],SR=B("bell",Ah);/**
|
|
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 Nh=[["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"}]],RR=B("book-open",Nh);/**
|
|
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:"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"}]],kR=B("bot",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 _h=[["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"}]],CR=B("brain",_h);/**
|
|
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 Lh=[["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"}]],ER=B("calendar-clock",Lh);/**
|
|
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 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"}]],PR=B("chart-column",Fh);/**
|
|
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 zh=[["path",{d:"M18 6 7 17l-5-5",key:"116fxf"}],["path",{d:"m22 10-7.5 7.5L13 16",key:"ke71qq"}]],MR=B("check-check",zh);/**
|
|
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 Vh=[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]],TR=B("check",Vh);/**
|
|
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 $h=[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]],IR=B("chevron-down",$h);/**
|
|
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 Hh=[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]],OR=B("chevron-left",Hh);/**
|
|
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 jh=[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]],AR=B("chevron-right",jh);/**
|
|
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 Bh=[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]],NR=B("chevron-up",Bh);/**
|
|
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 20 5-5 5 5",key:"13a0gw"}],["path",{d:"m7 4 5 5 5-5",key:"1kwcof"}]],DR=B("chevrons-down-up",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 Uh=[["path",{d:"m6 17 5-5-5-5",key:"xnjwq"}],["path",{d:"m13 17 5-5-5-5",key:"17xmmf"}]],_R=B("chevrons-right",Uh);/**
|
|
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 Gh=[["path",{d:"m7 15 5 5 5-5",key:"1hf1tw"}],["path",{d:"m7 9 5-5 5 5",key:"sgt6xg"}]],LR=B("chevrons-up-down",Gh);/**
|
|
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 qh=[["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"}]],FR=B("circle-alert",qh);/**
|
|
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 Yh=[["path",{d:"M21.801 10A10 10 0 1 1 17 3.335",key:"yps3ct"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]],zR=B("circle-check-big",Yh);/**
|
|
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 Xh=[["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"}]],VR=B("circle-arrow-up",Xh);/**
|
|
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 Kh=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]],$R=B("circle-check",Kh);/**
|
|
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 Zh=[["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"}]],HR=B("circle-dashed",Zh);/**
|
|
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 Qh=[["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"}]],jR=B("circle-dollar-sign",Qh);/**
|
|
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 Jh=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}]],BR=B("circle-dot",Jh);/**
|
|
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 eg=[["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"}]],WR=B("circle-ellipsis",eg);/**
|
|
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 tg=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M8 12h8",key:"1wcyev"}]],UR=B("circle-minus",tg);/**
|
|
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 ng=[["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"}]],GR=B("circle-question-mark",ng);/**
|
|
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 og=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"9",x2:"15",y1:"15",y2:"9",key:"1dfufj"}]],qR=B("circle-slash",og);/**
|
|
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 rg=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["rect",{x:"9",y:"9",width:"6",height:"6",rx:"1",key:"1ssd4o"}]],YR=B("circle-stop",rg);/**
|
|
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 sg=[["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"}]],XR=B("circle-x",sg);/**
|
|
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 ig=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]],KR=B("circle",ig);/**
|
|
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 ag=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 6v6h4",key:"135r8i"}]],ZR=B("clock-3",ag);/**
|
|
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 cg=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 6v6l4 2",key:"mmk7yg"}]],QR=B("clock",cg);/**
|
|
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 lg=[["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"}]],JR=B("code-xml",lg);/**
|
|
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 ug=[["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"}]],ek=B("coins",ug);/**
|
|
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 dg=[["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"}]],tk=B("copy-plus",dg);/**
|
|
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 fg=[["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"}]],nk=B("copy",fg);/**
|
|
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 pg=[["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"}]],ok=B("cpu",pg);/**
|
|
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 hg=[["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"}]],rk=B("crosshair",hg);/**
|
|
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 gg=[["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"}]],sk=B("crown",gg);/**
|
|
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 mg=[["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"}]],ik=B("download",mg);/**
|
|
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 yg=[["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"}]],ak=B("earth",yg);/**
|
|
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 bg=[["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"}]],ck=B("ellipsis",bg);/**
|
|
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 vg=[["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"}]],lk=B("external-link",vg);/**
|
|
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 xg=[["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"}]],uk=B("eye-off",xg);/**
|
|
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 wg=[["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"}]],dk=B("eye",wg);/**
|
|
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 Sg=[["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"}]],fk=B("file-braces",Sg);/**
|
|
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 Rg=[["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"}]],pk=B("file-code-corner",Rg);/**
|
|
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 kg=[["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"}]],hk=B("file-image",kg);/**
|
|
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 Cg=[["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:"11.5",cy:"14.5",r:"2.5",key:"1bq0ko"}],["path",{d:"M13.3 16.3 15 18",key:"2quom7"}]],gk=B("file-search",Cg);/**
|
|
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 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"}]],mk=B("file-terminal",Eg);/**
|
|
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 Pg=[["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"}]],yk=B("file-text",Pg);/**
|
|
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 Mg=[["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"}]],bk=B("file",Mg);/**
|
|
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 Tg=[["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"}]],vk=B("flag",Tg);/**
|
|
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 Ig=[["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"}]],xk=B("flame",Ig);/**
|
|
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 Og=[["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"}]],wk=B("folder-code",Og);/**
|
|
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 Ag=[["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"}]],Sk=B("folder-open",Ag);/**
|
|
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 Ng=[["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"}]],Rk=B("folder-plus",Ng);/**
|
|
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:"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"}]],kk=B("folder-search",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 _g=[["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"}]],Ck=B("folder-tree",_g);/**
|
|
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 Lg=[["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"}]],Ek=B("folder",Lg);/**
|
|
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 Fg=[["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"}]],Pk=B("git-branch",Fg);/**
|
|
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 zg=[["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"}]],Mk=B("git-compare-arrows",zg);/**
|
|
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 Vg=[["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"}]],Tk=B("git-fork",Vg);/**
|
|
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 $g=[["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"}]],Ik=B("git-merge",$g);/**
|
|
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 Hg=[["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"}]],Ok=B("git-pull-request-closed",Hg);/**
|
|
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 jg=[["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"}]],Ak=B("git-pull-request-draft",jg);/**
|
|
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 Bg=[["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"}]],Nk=B("git-pull-request",Bg);/**
|
|
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:"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"}]],Dk=B("github",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 Ug=[["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"}]],_k=B("globe",Ug);/**
|
|
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 Gg=[["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"}]],Lk=B("hand",Gg);/**
|
|
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 qg=[["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"}]],Fk=B("history",qg);/**
|
|
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 Yg=[["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"}]],zk=B("house",Yg);/**
|
|
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 Xg=[["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"}]],Vk=B("image",Xg);/**
|
|
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 Kg=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]],$k=B("info",Kg);/**
|
|
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 Zg=[["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"}]],Hk=B("infinity",Zg);/**
|
|
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 Qg=[["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"}]],jk=B("key-round",Qg);/**
|
|
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 Jg=[["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"}]],Bk=B("keyboard",Jg);/**
|
|
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 em=[["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"}]],Wk=B("laptop",em);/**
|
|
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 tm=[["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"}]],Uk=B("layers",tm);/**
|
|
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 nm=[["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"}]],Gk=B("layout-grid",nm);/**
|
|
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 om=[["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"}]],qk=B("link-2-off",om);/**
|
|
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 rm=[["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"}]],Yk=B("link-2",rm);/**
|
|
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 sm=[["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"}]],Xk=B("list-checks",sm);/**
|
|
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 im=[["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"}],["rect",{x:"3",y:"4",width:"6",height:"6",rx:"1",key:"cif1o7"}]],Kk=B("list-todo",im);/**
|
|
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 am=[["path",{d:"M8 5h13",key:"1pao27"}],["path",{d:"M13 12h8",key:"h98zly"}],["path",{d:"M13 19h8",key:"c3s6r1"}],["path",{d:"M3 10a2 2 0 0 0 2 2h3",key:"1npucw"}],["path",{d:"M3 5v12a2 2 0 0 0 2 2h3",key:"x1gjn2"}]],Zk=B("list-tree",am);/**
|
|
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 cm=[["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"}]],Qk=B("list",cm);/**
|
|
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 lm=[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]],Jk=B("loader-circle",lm);/**
|
|
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 um=[["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"}]],eC=B("log-in",um);/**
|
|
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 dm=[["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"}]],tC=B("lock",dm);/**
|
|
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 fm=[["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"}]],nC=B("maximize-2",fm);/**
|
|
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 pm=[["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"}]],oC=B("message-circle-question-mark",pm);/**
|
|
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 hm=[["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"}]],rC=B("message-circle",hm);/**
|
|
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 gm=[["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"}]],sC=B("message-square-plus",gm);/**
|
|
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 mm=[["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"}]],iC=B("message-square-text",mm);/**
|
|
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 ym=[["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"}]],aC=B("message-square",ym);/**
|
|
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 bm=[["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"}]],cC=B("messages-square",bm);/**
|
|
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 vm=[["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"}]],lC=B("minimize-2",vm);/**
|
|
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 xm=[["path",{d:"M5 12h14",key:"1ays0h"}]],uC=B("minus",xm);/**
|
|
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 wm=[["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"}]],dC=B("monitor",wm);/**
|
|
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 Sm=[["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"}]],fC=B("notebook-pen",Sm);/**
|
|
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 Rm=[["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"}]],pC=B("octagon-x",Rm);/**
|
|
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 km=[["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"}]],hC=B("octagon",km);/**
|
|
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 Cm=[["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"}]],gC=B("palette",Cm);/**
|
|
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 Em=[["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"}]],mC=B("panel-left-close",Em);/**
|
|
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 Pm=[["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"}]],yC=B("panel-left-open",Pm);/**
|
|
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 Mm=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M9 3v18",key:"fh3hqa"}]],bC=B("panel-left",Mm);/**
|
|
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 Tm=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M15 3v18",key:"14nvp0"}]],vC=B("panel-right",Tm);/**
|
|
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 Im=[["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"}]],xC=B("panels-top-left",Im);/**
|
|
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 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"}]],wC=B("pause",Om);/**
|
|
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 Am=[["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"}]],SC=B("pen-line",Am);/**
|
|
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 Nm=[["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"}]],RC=B("pencil",Nm);/**
|
|
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:"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"}]],kC=B("play",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 _m=[["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"}]],CC=B("plug",_m);/**
|
|
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 Lm=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]],EC=B("plus",Lm);/**
|
|
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 Fm=[["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"}]],PC=B("power-off",Fm);/**
|
|
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 zm=[["path",{d:"M12 2v10",key:"mnfbl"}],["path",{d:"M18.4 6.6a9 9 0 1 1-12.77.04",key:"obofu9"}]],MC=B("power",zm);/**
|
|
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 Vm=[["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"}]],TC=B("quote",Vm);/**
|
|
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 $m=[["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"}]],IC=B("redo-2",$m);/**
|
|
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 Hm=[["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"}]],OC=B("refresh-cw",Hm);/**
|
|
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 jm=[["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"}]],AC=B("rocket",jm);/**
|
|
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 Bm=[["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"}]],NC=B("rotate-ccw",Bm);/**
|
|
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=[["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"}]],DC=B("rotate-cw",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 Um=[["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"}]],_C=B("save",Um);/**
|
|
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 Gm=[["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"}]],LC=B("search-x",Gm);/**
|
|
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 qm=[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]],FC=B("search",qm);/**
|
|
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 Ym=[["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"}]],zC=B("send",Ym);/**
|
|
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 Xm=[["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"}]],VC=B("server",Xm);/**
|
|
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 Km=[["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"}]],$C=B("settings-2",Km);/**
|
|
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 Zm=[["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"}]],HC=B("settings",Zm);/**
|
|
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 Qm=[["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"}]],jC=B("share-2",Qm);/**
|
|
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 Jm=[["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"}]],BC=B("shield-alert",Jm);/**
|
|
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 ey=[["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"}]],WC=B("shield-plus",ey);/**
|
|
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 ty=[["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"}]],UC=B("shield",ty);/**
|
|
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 ny=[["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"}]],GC=B("sigma",ny);/**
|
|
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 oy=[["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"}]],qC=B("skull",oy);/**
|
|
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 ry=[["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"}]],YC=B("sliders-horizontal",ry);/**
|
|
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 sy=[["rect",{width:"14",height:"20",x:"5",y:"2",rx:"2",ry:"2",key:"1yt0o3"}],["path",{d:"M12 18h.01",key:"mhygvu"}]],XC=B("smartphone",sy);/**
|
|
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 iy=[["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"}]],KC=B("sparkles",iy);/**
|
|
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 ay=[["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"}]],ZC=B("square-terminal",ay);/**
|
|
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 cy=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}]],QC=B("square",cy);/**
|
|
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 ly=[["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"}]],JC=B("tablet",ly);/**
|
|
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 uy=[["path",{d:"M12 19h8",key:"baeox8"}],["path",{d:"m4 17 6-6-6-6",key:"1yngyt"}]],eE=B("terminal",uy);/**
|
|
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 dy=[["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"}]],tE=B("trash-2",dy);/**
|
|
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 fy=[["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"}]],nE=B("trees",fy);/**
|
|
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 py=[["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"}]],oE=B("triangle-alert",py);/**
|
|
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 hy=[["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"}]],rE=B("undo-2",hy);/**
|
|
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 gy=[["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"}]],sE=B("unlink",gy);/**
|
|
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 my=[["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"}]],iE=B("user-check",my);/**
|
|
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 yy=[["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"}]],aE=B("user-round-x",yy);/**
|
|
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 by=[["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"}]],cE=B("user",by);/**
|
|
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 vy=[["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"}]],lE=B("users",vy);/**
|
|
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 xy=[["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"}]],uE=B("webhook",xy);/**
|
|
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 wy=[["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"}]],dE=B("wifi-off",wy);/**
|
|
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 Sy=[["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"}]],fE=B("wifi",Sy);/**
|
|
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 Ry=[["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"}]],pE=B("workflow",Ry);/**
|
|
857
|
+
* @license lucide-react v0.577.0 - ISC
|
|
858
|
+
*
|
|
859
|
+
* This source code is licensed under the ISC license.
|
|
860
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
861
|
+
*/const ky=[["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"}]],hE=B("wrench",ky);/**
|
|
862
|
+
* @license lucide-react v0.577.0 - ISC
|
|
863
|
+
*
|
|
864
|
+
* This source code is licensed under the ISC license.
|
|
865
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
866
|
+
*/const Cy=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],gE=B("x",Cy);/**
|
|
867
|
+
* @license lucide-react v0.577.0 - ISC
|
|
868
|
+
*
|
|
869
|
+
* This source code is licensed under the ISC license.
|
|
870
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
871
|
+
*/const Ey=[["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"}]],mE=B("zap",Ey);/**
|
|
872
|
+
* @license lucide-react v0.577.0 - ISC
|
|
873
|
+
*
|
|
874
|
+
* This source code is licensed under the ISC license.
|
|
875
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
876
|
+
*/const Py=[["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"}]],yE=B("zoom-in",Py);/**
|
|
877
|
+
* @license lucide-react v0.577.0 - ISC
|
|
878
|
+
*
|
|
879
|
+
* This source code is licensed under the ISC license.
|
|
880
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
881
|
+
*/const My=[["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"}]],bE=B("zoom-out",My);function ms(){return typeof window<"u"}function mt(e){return ia(e)?(e.nodeName||"").toLowerCase():"#document"}function Xe(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function un(e){var t;return(t=(ia(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function ia(e){return ms()?e instanceof Node||e instanceof Xe(e).Node:!1}function Ne(e){return ms()?e instanceof Element||e instanceof Xe(e).Element:!1}function Ye(e){return ms()?e instanceof HTMLElement||e instanceof Xe(e).HTMLElement:!1}function mo(e){return!ms()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof Xe(e).ShadowRoot}function or(e){const{overflow:t,overflowX:n,overflowY:o,display:r}=Pt(e);return/auto|scroll|overlay|hidden|clip/.test(t+o+n)&&r!=="inline"&&r!=="contents"}function Ty(e){return/^(table|td|th)$/.test(mt(e))}function ys(e){try{if(e.matches(":popover-open"))return!0}catch{}try{return e.matches(":modal")}catch{return!1}}const Iy=/transform|translate|scale|rotate|perspective|filter/,Oy=/paint|layout|strict|content/,Ln=e=>!!e&&e!=="none";let ci;function aa(e){const t=Ne(e)?Pt(e):e;return Ln(t.transform)||Ln(t.translate)||Ln(t.scale)||Ln(t.rotate)||Ln(t.perspective)||!ca()&&(Ln(t.backdropFilter)||Ln(t.filter))||Iy.test(t.willChange||"")||Oy.test(t.contain||"")}function Ay(e){let t=an(e);for(;Ye(t)&&!on(t);){if(aa(t))return t;if(ys(t))return null;t=an(t)}return null}function ca(){return ci==null&&(ci=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),ci}function on(e){return/^(html|body|#document)$/.test(mt(e))}function Pt(e){return Xe(e).getComputedStyle(e)}function bs(e){return Ne(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function an(e){if(mt(e)==="html")return e;const t=e.assignedSlot||e.parentNode||mo(e)&&e.host||un(e);return mo(t)?t.host:t}function Mu(e){const t=an(e);return on(t)?(e.ownerDocument||e).body:Ye(t)&&or(t)?t:Mu(t)}function Yo(e,t,n){var o;t===void 0&&(t=[]),n===void 0&&(n=!0);const r=Mu(e),s=r===((o=e.ownerDocument)==null?void 0:o.body),i=Xe(r);if(s){const a=Oi(i);return t.concat(i,i.visualViewport||[],or(r)?r:[],a&&n?Yo(a):[])}else return t.concat(r,Yo(r,[],n))}function Oi(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}const la={...ko},Ac={};function gt(e,t){const n=c.useRef(Ac);return n.current===Ac&&(n.current=e(t)),n}const li=la.useInsertionEffect,Ny=li&&li!==la.useLayoutEffect?li:e=>e();function pe(e){const t=gt(Dy).current;return t.next=e,Ny(t.effect),t.trampoline}function Dy(){const e={next:void 0,callback:_y,trampoline:(...t)=>{var n;return(n=e.callback)==null?void 0:n.call(e,...t)},effect:()=>{e.callback=e.next}};return e}function _y(){}const Ly=()=>{},he=typeof document<"u"?c.useLayoutEffect:Ly;function Ai(e,t){if(e&&!t)return e;if(!e&&t)return t;if(e||t)return{...e,...t}}const ua={};function Et(e,t,n,o,r){if(!n&&!o&&!r&&!e)return Kr(t);let s=Kr(e);return t&&(s=$o(s,t)),n&&(s=$o(s,n)),o&&(s=$o(s,o)),r&&(s=$o(s,r)),s}function Fy(e){if(e.length===0)return ua;if(e.length===1)return Kr(e[0]);let t=Kr(e[0]);for(let n=1;n<e.length;n+=1)t=$o(t,e[n]);return t}function Kr(e){return da(e)?{...Iu(e,ua)}:zy(e)}function $o(e,t){return da(t)?Iu(t,e):Vy(e,t)}function zy(e){const t={...e};for(const n in t){const o=t[n];Tu(n,o)&&(t[n]=Ou(o))}return t}function Vy(e,t){if(!t)return e;for(const n in t){const o=t[n];switch(n){case"style":{e[n]=Ai(e.style,o);break}case"className":{e[n]=Au(e.className,o);break}default:Tu(n,o)?e[n]=$y(e[n],o):e[n]=o}}return e}function Tu(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 da(e){return typeof e=="function"}function Iu(e,t){return da(e)?e(t):e??ua}function $y(e,t){return t?e?(...n)=>{const o=n[0];if(Nu(o)){const s=o;Zr(s);const i=t(...n);return s.baseUIHandlerPrevented||e==null||e(...n),i}const r=t(...n);return e==null||e(...n),r}:Ou(t):e}function Ou(e){return e&&((...t)=>{const n=t[0];return Nu(n)&&Zr(n),e(...t)})}function Zr(e){return e.preventBaseUIHandler=()=>{e.baseUIHandlerPrevented=!0},e}function Au(e,t){return t?e?t+" "+e:t:e}function Nu(e){return e!=null&&typeof e=="object"&&"nativeEvent"in e}function Hy(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 $e=Hy("https://base-ui.com/production-error","Base UI"),Du=c.createContext(void 0);function vs(e=!1){const t=c.useContext(Du);if(t===void 0&&!e)throw new Error($e(16));return t}function jy(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 Ie(e){return(e==null?void 0:e.ownerDocument)||document}function Vn(e,t,{detail:n=0}={}){e.dispatchEvent(new(Xe(e)).PointerEvent("click",{bubbles:!0,cancelable:!0,composed:!0,detail:n,shiftKey:t.shiftKey,ctrlKey:t.ctrlKey,altKey:t.altKey,metaKey:t.metaKey}))}function Mt(e={}){const{disabled:t=!1,focusableWhenDisabled:n,tabIndex:o=0,native:r=!0,composite:s}=e,i=c.useRef(null),a=vs(!0),l=s??a!==void 0,{props:u}=jy({focusableWhenDisabled:n,disabled:t,composite:l,tabIndex:o,isNativeButton:r}),d=c.useCallback(()=>{const y=i.current;ui(y)&&l&&t&&u.disabled===void 0&&y.disabled&&(y.disabled=!1)},[t,u.disabled,l]);he(d,[d]);const p=c.useCallback((y={})=>{const{onClick:h,onMouseDown:g,onKeyUp:m,onKeyDown:b,onPointerDown:v,...x}=y;return Et({onClick(w){if(t){w.preventDefault();return}h==null||h(w)},onMouseDown(w){t||g==null||g(w)},onKeyDown(w){if(t||(Zr(w),b==null||b(w),w.baseUIHandlerPrevented))return;const S=w.target===w.currentTarget,R=w.currentTarget,C=ui(R),k=!r&&By(R),T=S&&(r?C:!k),E=w.key==="Enter",N=w.key===" ",O=R.getAttribute("role"),D=(O==null?void 0:O.startsWith("menuitem"))||O==="option"||O==="gridcell";if(S&&l&&N){if(w.defaultPrevented&&D)return;w.preventDefault(),(!r||C)&&(w.preventBaseUIHandler(),Vn(R,w));return}if(!T||r||!N&&!E){S&&k&&N&&w.preventDefault();return}w.defaultPrevented||(w.preventDefault(),E&&(w.preventBaseUIHandler(),Vn(R,w)))},onKeyUp(w){if(!t){if(Zr(w),m==null||m(w),w.target===w.currentTarget&&r&&l&&ui(w.currentTarget)&&w.key===" "){w.preventDefault();return}w.baseUIHandlerPrevented||w.target===w.currentTarget&&!r&&!l&&!w.defaultPrevented&&w.key===" "&&(w.preventBaseUIHandler(),Vn(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=pe(y=>{i.current=y,d()});return{getButtonProps:p,buttonRef:f}}function ui(e){return Ye(e)&&e.tagName==="BUTTON"}function By(e){return Ye(e)&&e.tagName==="A"&&!!e.href}function It(e,t,n,o){const r=gt(_u).current;return Uy(r,e,t,n,o)&&Lu(r,[e,t,n,o]),r.callback}function Wy(e){const t=gt(_u).current;return Gy(t,e)&&Lu(t,e),t.callback}function _u(){return{callback:null,cleanup:null,refs:[]}}function Uy(e,t,n,o,r){return e.refs[0]!==t||e.refs[1]!==n||e.refs[2]!==o||e.refs[3]!==r}function Gy(e,t){return e.refs.length!==t.length||e.refs.some((n,o)=>n!==t[o])}function Lu(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 qy=parseInt(c.version,10);function fa(e){return qy>=e}function Nc(e){if(!c.isValidElement(e))return null;const t=e,n=t.props;return(fa(19)?n==null?void 0:n.ref:t.ref)??null}function nt(){}const $t=Object.freeze([]),Ke=Object.freeze({});function Yy(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 Xy(e,t){return typeof e=="function"?e(t):e}function Fu(e,t){return typeof e=="function"?e(t):e}function we(e,t,n={}){const o=t.render,r=Ky(t,n);if(n.enabled===!1)return null;const s=n.state??Ke;return Jy(e,o,r,s)}function Ky(e,t={}){const{className:n,style:o,render:r}=e,{state:s=Ke,ref:i,props:a,stateAttributesMapping:l,enabled:u=!0}=t,d=u?Xy(n,s):void 0,p=u?Fu(o,s):void 0,f=u?Yy(s,l):Ke,y=u&&a?Zy(a):void 0,h=u?Ai(f,y)??{}:Ke;return typeof document<"u"&&(u?Array.isArray(i)?h.ref=Wy([h.ref,Nc(r),...i]):h.ref=It(h.ref,Nc(r),i):It(null,null)),u?(d!==void 0&&(h.className=Au(h.className,d)),p!==void 0&&(h.style=Ai(h.style,p)),h):Ke}function Zy(e){return Array.isArray(e)?Fy(e):Et(void 0,e)}const Qy=Symbol.for("react.lazy");function Jy(e,t,n,o){if(t){if(typeof t=="function")return t(n,o);const r=Et(n,t.props);r.ref=n.ref;let s=t;return(s==null?void 0:s.$$typeof)===Qy&&(s=c.Children.toArray(t)[0]),c.cloneElement(s,r)}if(e&&typeof e=="string")return e0(e,n);throw new Error($e(8))}function e0(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 vE=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}=Mt({disabled:s,focusableWhenDisabled:i,native:a});return we("button",t,{state:{disabled:s},ref:[n,p],props:[u,d]})});function zu(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=zu(e[t]))&&(o&&(o+=" "),o+=n)}else for(n in e)e[n]&&(o&&(o+=" "),o+=n);return o}function t0(){for(var e,t,n=0,o="",r=arguments.length;n<r;n++)(e=arguments[n])&&(t=zu(e))&&(o&&(o+=" "),o+=t);return o}const Dc=e=>typeof e=="boolean"?`${e}`:e===0?"0":e,_c=t0,xE=(e,t)=>n=>{var o;if((t==null?void 0:t.variants)==null)return _c(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=Dc(d)||Dc(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 _c(e,i,l,n==null?void 0:n.class,n==null?void 0:n.className)},n0=(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},o0=(e,t)=>({classGroupId:e,validator:t}),Vu=(e=new Map,t=null,n)=>({nextPart:e,validators:t,classGroupId:n}),Qr="-",Lc=[],r0="arbitrary..",s0=e=>{const t=a0(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:o}=e;return{getClassGroupId:i=>{if(i.startsWith("[")&&i.endsWith("]"))return i0(i);const a=i.split(Qr),l=a[0]===""&&a.length>1?1:0;return $u(a,l,t)},getConflictingClassGroupIds:(i,a)=>{if(a){const l=o[i],u=n[i];return l?u?n0(u,l):l:u||Lc}return n[i]||Lc}}},$u=(e,t,n)=>{if(e.length-t===0)return n.classGroupId;const r=e[t],s=n.nextPart.get(r);if(s){const u=$u(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}},i0=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?r0+o:void 0})(),a0=e=>{const{theme:t,classGroups:n}=e;return c0(n,t)},c0=(e,t)=>{const n=Vu();for(const o in e){const r=e[o];pa(r,n,o,t)}return n},pa=(e,t,n,o)=>{const r=e.length;for(let s=0;s<r;s++){const i=e[s];l0(i,t,n,o)}},l0=(e,t,n,o)=>{if(typeof e=="string"){u0(e,t,n);return}if(typeof e=="function"){d0(e,t,n,o);return}f0(e,t,n,o)},u0=(e,t,n)=>{const o=e===""?t:Hu(t,e);o.classGroupId=n},d0=(e,t,n,o)=>{if(p0(e)){pa(e(o),t,n,o);return}t.validators===null&&(t.validators=[]),t.validators.push(o0(n,e))},f0=(e,t,n,o)=>{const r=Object.entries(e),s=r.length;for(let i=0;i<s;i++){const[a,l]=r[i];pa(l,Hu(t,a),n,o)}},Hu=(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=Vu(),n.nextPart.set(i,a)),n=a}return n},p0=e=>"isThemeGetter"in e&&e.isThemeGetter===!0,h0=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)}}},Ni="!",Fc=":",g0=[],zc=(e,t,n,o,r)=>({modifiers:e,hasImportantModifier:t,baseClassName:n,maybePostfixModifierPosition:o,isExternal:r}),m0=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===Fc){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(Ni)?(f=p.slice(0,-1),y=!0):p.startsWith(Ni)&&(f=p.slice(1),y=!0);const h=u&&u>l?u-l:void 0;return zc(s,y,f,h)};if(t){const r=t+Fc,s=o;o=i=>i.startsWith(r)?s(i.slice(r.length)):zc(g0,!1,i,void 0,!0)}if(n){const r=o;o=s=>n({className:s,parseClassName:r})}return o},y0=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}},b0=e=>({cache:h0(e.cacheSize),parseClassName:m0(e),sortModifiers:y0(e),postfixLookupClassGroupIds:v0(e),...s0(e)}),v0=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},x0=/\s+/,w0=(e,t)=>{const{parseClassName:n,getClassGroupId:o,getConflictingClassGroupIds:r,sortModifiers:s,postfixLookupClassGroupIds:i}=t,a=[],l=e.trim().split(x0);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+Ni: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},S0=(...e)=>{let t=0,n,o,r="";for(;t<e.length;)(n=e[t++])&&(o=ju(n))&&(r&&(r+=" "),r+=o);return r},ju=e=>{if(typeof e=="string")return e;let t,n="";for(let o=0;o<e.length;o++)e[o]&&(t=ju(e[o]))&&(n&&(n+=" "),n+=t);return n},R0=(e,...t)=>{let n,o,r,s;const i=l=>{const u=t.reduce((d,p)=>p(d),e());return n=b0(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=w0(l,n);return r(l,d),d};return s=i,(...l)=>s(S0(...l))},k0=[],ft=e=>{const t=n=>n[e]||k0;return t.isThemeGetter=!0,t},Bu=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,Wu=/^\((?:(\w[\w-]*):)?(.+)\)$/i,C0=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,E0=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,P0=/\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$/,M0=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,T0=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,I0=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,hn=e=>C0.test(e),_e=e=>!!e&&!Number.isNaN(Number(e)),Wt=e=>!!e&&Number.isInteger(Number(e)),di=e=>e.endsWith("%")&&_e(e.slice(0,-1)),Jt=e=>E0.test(e),Uu=()=>!0,O0=e=>P0.test(e)&&!M0.test(e),ha=()=>!1,A0=e=>T0.test(e),N0=e=>I0.test(e),D0=e=>!xe(e)&&!Re(e),_0=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)),L0=e=>Pn(e,Yu,ha),xe=e=>Bu.test(e),Fn=e=>Pn(e,Xu,O0),Vc=e=>Pn(e,W0,_e),F0=e=>Pn(e,Zu,Uu),z0=e=>Pn(e,Ku,ha),$c=e=>Pn(e,Gu,ha),V0=e=>Pn(e,qu,N0),yr=e=>Pn(e,Qu,A0),Re=e=>Wu.test(e),Lo=e=>Gn(e,Xu),$0=e=>Gn(e,Ku),Hc=e=>Gn(e,Gu),H0=e=>Gn(e,Yu),j0=e=>Gn(e,qu),br=e=>Gn(e,Qu,!0),B0=e=>Gn(e,Zu,!0),Pn=(e,t,n)=>{const o=Bu.exec(e);return o?o[1]?t(o[1]):n(o[2]):!1},Gn=(e,t,n=!1)=>{const o=Wu.exec(e);return o?o[1]?t(o[1]):n:!1},Gu=e=>e==="position"||e==="percentage",qu=e=>e==="image"||e==="url",Yu=e=>e==="length"||e==="size"||e==="bg-size",Xu=e=>e==="length",W0=e=>e==="number",Ku=e=>e==="family-name",Zu=e=>e==="number"||e==="weight",Qu=e=>e==="shadow",U0=()=>{const e=ft("color"),t=ft("font"),n=ft("text"),o=ft("font-weight"),r=ft("tracking"),s=ft("leading"),i=ft("breakpoint"),a=ft("container"),l=ft("spacing"),u=ft("radius"),d=ft("shadow"),p=ft("inset-shadow"),f=ft("text-shadow"),y=ft("drop-shadow"),h=ft("blur"),g=ft("perspective"),m=ft("aspect"),b=ft("ease"),v=ft("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(),Re,xe],R=()=>["auto","hidden","clip","visible","scroll"],C=()=>["auto","contain","none"],k=()=>[Re,xe,l],T=()=>[hn,"full","auto",...k()],E=()=>[Wt,"none","subgrid",Re,xe],N=()=>["auto",{span:["full",Wt,Re,xe]},Wt,Re,xe],O=()=>[Wt,"auto",Re,xe],D=()=>["auto","min","max","fr",Re,xe],A=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],P=()=>["start","end","center","stretch","center-safe","end-safe"],z=()=>["auto",...k()],F=()=>[hn,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...k()],I=()=>[hn,"screen","full","dvw","lvw","svw","min","max","fit",...k()],_=()=>[hn,"screen","full","lh","dvh","lvh","svh","min","max","fit",...k()],M=()=>[e,Re,xe],L=()=>[...w(),Hc,$c,{position:[Re,xe]}],H=()=>["no-repeat",{repeat:["","x","y","space","round"]}],$=()=>["auto","cover","contain",H0,L0,{size:[Re,xe]}],U=()=>[di,Lo,Fn],G=()=>["","none","full",u,Re,xe],V=()=>["",_e,Lo,Fn],X=()=>["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"],K=()=>[_e,di,Hc,$c],de=()=>["","none",h,Re,xe],se=()=>["none",_e,Re,xe],ne=()=>["none",_e,Re,xe],re=()=>[_e,Re,xe],q=()=>[hn,"full",...k()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[Jt],breakpoint:[Jt],color:[Uu],container:[Jt],"drop-shadow":[Jt],ease:["in","out","in-out"],font:[D0],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[Jt],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[Jt],shadow:[Jt],spacing:["px",_e],text:[Jt],"text-shadow":[Jt],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",hn,xe,Re,m]}],container:["container"],"container-type":[{"@container":["","normal","size",Re,xe]}],"container-named":[_0],columns:[{columns:[_e,xe,Re,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:[Wt,"auto",Re,xe]}],basis:[{basis:[hn,"full","auto",a,...k()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[_e,hn,"auto","initial","none",xe]}],grow:[{grow:["",_e,Re,xe]}],shrink:[{shrink:["",_e,Re,xe]}],order:[{order:[Wt,"first","last","none",Re,xe]}],"grid-cols":[{"grid-cols":E()}],"col-start-end":[{col:N()}],"col-start":[{"col-start":O()}],"col-end":[{"col-end":O()}],"grid-rows":[{"grid-rows":E()}],"row-start-end":[{row:N()}],"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":D()}],"auto-rows":[{"auto-rows":D()}],gap:[{gap:k()}],"gap-x":[{"gap-x":k()}],"gap-y":[{"gap-y":k()}],"justify-content":[{justify:[...A(),"normal"]}],"justify-items":[{"justify-items":[...P(),"normal"]}],"justify-self":[{"justify-self":["auto",...P()]}],"align-content":[{content:["normal",...A()]}],"align-items":[{items:[...P(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...P(),{baseline:["","last"]}]}],"place-content":[{"place-content":A()}],"place-items":[{"place-items":[...P(),"baseline"]}],"place-self":[{"place-self":["auto",...P()]}],p:[{p:k()}],px:[{px:k()}],py:[{py:k()}],ps:[{ps:k()}],pe:[{pe:k()}],pbs:[{pbs:k()}],pbe:[{pbe:k()}],pt:[{pt:k()}],pr:[{pr:k()}],pb:[{pb:k()}],pl:[{pl:k()}],m:[{m:z()}],mx:[{mx:z()}],my:[{my:z()}],ms:[{ms:z()}],me:[{me:z()}],mbs:[{mbs:z()}],mbe:[{mbe:z()}],mt:[{mt:z()}],mr:[{mr:z()}],mb:[{mb:z()}],ml:[{ml:z()}],"space-x":[{"space-x":k()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":k()}],"space-y-reverse":["space-y-reverse"],size:[{size:F()}],"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",...F()]}],"min-w":[{"min-w":[a,"screen","none",...F()]}],"max-w":[{"max-w":[a,"screen","none","prose",{screen:[i]},...F()]}],h:[{h:["screen","lh",...F()]}],"min-h":[{"min-h":["screen","lh","none",...F()]}],"max-h":[{"max-h":["screen","lh",...F()]}],"font-size":[{text:["base",n,Lo,Fn]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[o,B0,F0]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",di,xe]}],"font-family":[{font:[$0,z0,t]}],"font-features":[{"font-features":[xe]}],"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,Re,xe]}],"line-clamp":[{"line-clamp":[_e,"none",Re,Vc]}],leading:[{leading:[s,...k()]}],"list-image":[{"list-image":["none",Re,xe]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",Re,xe]}],"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:[...X(),"wavy"]}],"text-decoration-thickness":[{decoration:[_e,"from-font","auto",Re,Fn]}],"text-decoration-color":[{decoration:M()}],"underline-offset":[{"underline-offset":[_e,"auto",Re,xe]}],"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:[Wt,Re,xe]}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",Re,xe]}],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",Re,xe]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:L()}],"bg-repeat":[{bg:H()}],"bg-size":[{bg:$()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},Wt,Re,xe],radial:["",Re,xe],conic:[Wt,Re,xe]},j0,V0]}],"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:V()}],"border-w-x":[{"border-x":V()}],"border-w-y":[{"border-y":V()}],"border-w-s":[{"border-s":V()}],"border-w-e":[{"border-e":V()}],"border-w-bs":[{"border-bs":V()}],"border-w-be":[{"border-be":V()}],"border-w-t":[{"border-t":V()}],"border-w-r":[{"border-r":V()}],"border-w-b":[{"border-b":V()}],"border-w-l":[{"border-l":V()}],"divide-x":[{"divide-x":V()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":V()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...X(),"hidden","none"]}],"divide-style":[{divide:[...X(),"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:[...X(),"none","hidden"]}],"outline-offset":[{"outline-offset":[_e,Re,xe]}],"outline-w":[{outline:["",_e,Lo,Fn]}],"outline-color":[{outline:M()}],shadow:[{shadow:["","none",d,br,yr]}],"shadow-color":[{shadow:M()}],"inset-shadow":[{"inset-shadow":["none",p,br,yr]}],"inset-shadow-color":[{"inset-shadow":M()}],"ring-w":[{ring:V()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:M()}],"ring-offset-w":[{"ring-offset":[_e,Fn]}],"ring-offset-color":[{"ring-offset":M()}],"inset-ring-w":[{"inset-ring":V()}],"inset-ring-color":[{"inset-ring":M()}],"text-shadow":[{"text-shadow":["none",f,br,yr]}],"text-shadow-color":[{"text-shadow":M()}],opacity:[{opacity:[_e,Re,xe]}],"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":[_e]}],"mask-image-linear-from-pos":[{"mask-linear-from":K()}],"mask-image-linear-to-pos":[{"mask-linear-to":K()}],"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":K()}],"mask-image-t-to-pos":[{"mask-t-to":K()}],"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":K()}],"mask-image-r-to-pos":[{"mask-r-to":K()}],"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":K()}],"mask-image-b-to-pos":[{"mask-b-to":K()}],"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":K()}],"mask-image-l-to-pos":[{"mask-l-to":K()}],"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":K()}],"mask-image-x-to-pos":[{"mask-x-to":K()}],"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":K()}],"mask-image-y-to-pos":[{"mask-y-to":K()}],"mask-image-y-from-color":[{"mask-y-from":M()}],"mask-image-y-to-color":[{"mask-y-to":M()}],"mask-image-radial":[{"mask-radial":[Re,xe]}],"mask-image-radial-from-pos":[{"mask-radial-from":K()}],"mask-image-radial-to-pos":[{"mask-radial-to":K()}],"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":[_e]}],"mask-image-conic-from-pos":[{"mask-conic-from":K()}],"mask-image-conic-to-pos":[{"mask-conic-to":K()}],"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:L()}],"mask-repeat":[{mask:H()}],"mask-size":[{mask:$()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",Re,xe]}],filter:[{filter:["","none",Re,xe]}],blur:[{blur:de()}],brightness:[{brightness:[_e,Re,xe]}],contrast:[{contrast:[_e,Re,xe]}],"drop-shadow":[{"drop-shadow":["","none",y,br,yr]}],"drop-shadow-color":[{"drop-shadow":M()}],grayscale:[{grayscale:["",_e,Re,xe]}],"hue-rotate":[{"hue-rotate":[_e,Re,xe]}],invert:[{invert:["",_e,Re,xe]}],saturate:[{saturate:[_e,Re,xe]}],sepia:[{sepia:["",_e,Re,xe]}],"backdrop-filter":[{"backdrop-filter":["","none",Re,xe]}],"backdrop-blur":[{"backdrop-blur":de()}],"backdrop-brightness":[{"backdrop-brightness":[_e,Re,xe]}],"backdrop-contrast":[{"backdrop-contrast":[_e,Re,xe]}],"backdrop-grayscale":[{"backdrop-grayscale":["",_e,Re,xe]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[_e,Re,xe]}],"backdrop-invert":[{"backdrop-invert":["",_e,Re,xe]}],"backdrop-opacity":[{"backdrop-opacity":[_e,Re,xe]}],"backdrop-saturate":[{"backdrop-saturate":[_e,Re,xe]}],"backdrop-sepia":[{"backdrop-sepia":["",_e,Re,xe]}],"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",Re,xe]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[_e,"initial",Re,xe]}],ease:[{ease:["linear","initial",b,Re,xe]}],delay:[{delay:[_e,Re,xe]}],animate:[{animate:["none",v,Re,xe]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[g,Re,xe]}],"perspective-origin":[{"perspective-origin":S()}],rotate:[{rotate:se()}],"rotate-x":[{"rotate-x":se()}],"rotate-y":[{"rotate-y":se()}],"rotate-z":[{"rotate-z":se()}],scale:[{scale:ne()}],"scale-x":[{"scale-x":ne()}],"scale-y":[{"scale-y":ne()}],"scale-z":[{"scale-z":ne()}],"scale-3d":["scale-3d"],skew:[{skew:re()}],"skew-x":[{"skew-x":re()}],"skew-y":[{"skew-y":re()}],transform:[{transform:[Re,xe,"","none","gpu","cpu"]}],"transform-origin":[{origin:S()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:q()}],"translate-x":[{"translate-x":q()}],"translate-y":[{"translate-y":q()}],"translate-z":[{"translate-z":q()}],"translate-none":["translate-none"],zoom:[{zoom:[Wt,Re,xe]}],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",Re,xe]}],"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",Re,xe]}],fill:[{fill:["none",...M()]}],"stroke-w":[{stroke:[_e,Lo,Fn,Vc]}],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"]}},wE=R0(U0);function ga(e){c.useEffect(e,$t)}const Fo=0;class _t{constructor(){Ue(this,"currentId",Fo);Ue(this,"clear",()=>{this.currentId!==Fo&&(clearTimeout(this.currentId),this.currentId=Fo)});Ue(this,"disposeEffect",()=>this.clear)}static create(){return new _t}start(t,n){this.clear(),this.currentId=setTimeout(()=>{this.currentId=Fo,n()},t)}isStarted(){return this.currentId!==Fo}}function ot(){const e=gt(_t.create).current;return ga(e.disposeEffect),e}function G0(){return typeof navigator>"u"?{userAgent:"",platform:"",maxTouchPoints:0}:{userAgent:navigator.userAgent,platform:navigator.platform??"",maxTouchPoints:navigator.maxTouchPoints??0}}const{userAgent:q0,platform:Y0,maxTouchPoints:X0}=G0(),xs=q0.toLowerCase(),Xo=Y0.toLowerCase(),ws=/^i(os$|p)/.test(Xo)||Xo==="macintel"&&X0>1,jc="android",Di=Xo===jc||xs.includes(jc),ma=!ws&&Xo.startsWith("mac");Xo.startsWith("win");const K0=ma||ws;var Cu;const Kt=typeof CSS<"u"&&!!((Cu=CSS.supports)!=null&&Cu.call(CSS,"-webkit-backdrop-filter:none"));!Kt&&xs.includes("firefox");!Kt&&xs.includes("chrom");const Z0=K0,ya=/jsdom|happydom/.test(xs);function zt(e){e.preventDefault(),e.stopPropagation()}function Q0(e){return"nativeEvent"in e}function ba(e){return e.pointerType===""&&e.isTrusted?!0:Di&&e.pointerType?e.type==="click"&&e.buttons===1:e.detail===0&&!e.pointerType}function va(e){return ya?!1:!Di&&e.width===0&&e.height===0||Di&&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 bn(e,t){const n=["mouse","pen"];return t||n.push("",void 0),n.includes(e)}function J0(e){const t=e.type;return t==="click"||t==="mousedown"||t==="keydown"||t==="keyup"}const _i="data-base-ui-focusable",Ju="input:not([type='hidden']):not([disabled]),[contenteditable]:not([contenteditable='false']),textarea:not([disabled])",Ss="ArrowLeft",Rs="ArrowRight",ed="ArrowUp",xa="ArrowDown";function pt(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&&mo(n)){let r=t;for(;r;){if(e===r)return!0;r=r.parentNode||r.host}}return!1}function at(e){return"composedPath"in e?e.composedPath()[0]:e.target}function Jr(e,t){if(!Ne(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 fi(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 e1(e){return e.matches("html,body")}function ks(e){return Ye(e)&&e.matches(Ju)}function t1(e){return(e==null?void 0:e.closest(`button,a[href],[role="button"],select,[tabindex]:not([tabindex="-1"]),${Ju}`))!=null}function Li(e){return e?e.getAttribute("role")==="combobox"&&ks(e):!1}function td(e){if(!e||ya)return!0;try{return e.matches(":focus-visible")}catch{return!0}}function es(e){return e?e.hasAttribute(_i)?e:e.querySelector(`[${_i}]`)||e:null}function n1(e,t){return t!=null&&!bn(t)?0:typeof e=="function"?e():e}function xn(e,t,n){const o=n1(e,n);return typeof o=="number"?o:o==null?void 0:o[t]}function Bc(e){return typeof e=="function"?e():e}function nd(e,t){return t||e==="click"||e==="mousedown"}function o1(e){return(e==null?void 0:e.includes("mouse"))&&e!=="mousedown"}const Rt="none",Ht="trigger-press",it="trigger-hover",co="trigger-focus",Cs="outside-press",lo="item-press",od="close-press",Wc="track-press",r1="input-change",wn="focus-out",rr="escape-key",Fi="list-navigation",s1="keyboard",i1="drag",wa="cancel-open",Ho="sibling-open",rd="disabled",Uc="missing",Gc="initial",Es="imperative-action",a1="window-resize";function ke(e,t,n,o){let r=!1,s=!1;const i=o??Ke;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}}function sd(e,t,n){const o=Ke;return{reason:e,event:t??new Event("base-ui"),...o}}const id=c.createContext({hasProvider:!1,timeoutMs:0,delayRef:{current:0},initialDelayRef:{current:0},timeout:new _t,currentIdRef:{current:null},currentContextRef:{current:null}});function c1(e,t){e.current=t.current}function l1(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=ot();return he(()=>{if(s.current=n,!i.current){r.current=n;return}r.current={open:xn(r.current,"open"),close:xn(n,"close")}},[n,i,r,s]),Y.jsx(id.Provider,{value:c.useMemo(()=>({hasProvider:!0,delayRef:r,initialDelayRef:s,currentIdRef:i,timeoutMs:o,currentContextRef:a,timeout:l}),[o,l]),children:t})}function u1(e,t={open:!1}){const{open:n}=t,o="rootStore"in e?e.rootStore:e,r=o.useState("floatingId"),s=c.useContext(id),{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 he(()=>{g.current=n},[n]),he(()=>{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]),he(()=>{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:xn(u.current,"close")},b!==null&&b!==r?(h(!0),m==null||m.setIsInstantPhase(!0),m==null||m.onOpenChange(!1,ke(Rt))):(h(!1),m==null||m.setIsInstantPhase(!1))},[n,r,o,i,a,u,d,f]),he(()=>()=>{if(i.current===r){if(d.current=null,!g.current)return;i.current=null,c1(a,u),f.clear()}},[d,i,a,r,u,f]),c.useMemo(()=>({hasProvider:p,delayRef:a,isInstantPhase:y}),[p,a,y])}function Ae(e,t,n,o){return e.addEventListener(t,n,o),()=>{e.removeEventListener(t,n,o)}}function Xt(...e){return()=>{for(let t=0;t<e.length;t+=1){const n=e[t];n&&n()}}}function st(e){const t=gt(d1,e).current;return t.next=e,he(t.effect),t}function d1(e){const t={current:e,next:e,effect:()=>{t.current=t.next}};return t}const vr=null;class f1{constructor(){Ue(this,"callbacks",[]);Ue(this,"callbacksCount",0);Ue(this,"nextId",1);Ue(this,"startId",1);Ue(this,"isScheduled",!1);Ue(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 xr=new f1;class Ct{constructor(){Ue(this,"currentId",vr);Ue(this,"cancel",()=>{this.currentId!==vr&&(xr.cancel(this.currentId),this.currentId=vr)});Ue(this,"disposeEffect",()=>this.cancel)}static create(){return new Ct}static request(t){return xr.request(t)}static cancel(t){return xr.cancel(t)}request(t){this.cancel(),this.currentId=xr.request(()=>{this.currentId=vr,t()})}}function Hn(){const e=gt(Ct.create).current;return ga(e.disposeEffect),e}const ad={clipPath:"inset(50%)",overflow:"hidden",whiteSpace:"nowrap",border:0,padding:0,width:1,height:1,margin:-1},Sn={...ad,position:"fixed",top:0,left:0},Ps={...ad,position:"absolute"},Rn=c.forwardRef(function(t,n){const[o,r]=c.useState();he(()=>{Z0&&Kt&&r("button")},[]);const s={tabIndex:0,role:o};return Y.jsx("span",{...t,ref:n,style:Sn,"aria-hidden":o?void 0:!0,...s,"data-base-ui-focus-guard":""})}),yo=Math.min,rn=Math.max,bo=Math.round,wr=Math.floor,sn=e=>({x:e,y:e}),p1={left:"right",right:"left",bottom:"top",top:"bottom"};function cd(e,t,n){return rn(e,yo(t,n))}function kn(e,t){return typeof e=="function"?e(t):e}function Nt(e){return e.split("-")[0]}function Mn(e){return e.split("-")[1]}function Sa(e){return e==="x"?"y":"x"}function Ra(e){return e==="y"?"height":"width"}function At(e){const t=e[0];return t==="t"||t==="b"?"y":"x"}function ka(e){return Sa(At(e))}function h1(e,t,n){n===void 0&&(n=!1);const o=Mn(e),r=ka(e),s=Ra(r);let i=r==="x"?o===(n?"end":"start")?"right":"left":o==="start"?"bottom":"top";return t.reference[s]>t.floating[s]&&(i=ts(i)),[i,ts(i)]}function g1(e){const t=ts(e);return[zi(e),t,zi(t)]}function zi(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}const qc=["left","right"],Yc=["right","left"],m1=["top","bottom"],y1=["bottom","top"];function b1(e,t,n){switch(e){case"top":case"bottom":return n?t?Yc:qc:t?qc:Yc;case"left":case"right":return t?m1:y1;default:return[]}}function v1(e,t,n,o){const r=Mn(e);let s=b1(Nt(e),n==="start",o);return r&&(s=s.map(i=>i+"-"+r),t&&(s=s.concat(s.map(zi)))),s}function ts(e){const t=Nt(e);return p1[t]+e.slice(t.length)}function x1(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 ld(e){return typeof e!="number"?x1(e):{top:e,right:e,bottom:e,left:e}}function Ko(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 Wo(e,t){return t<0||t>=e.length}function jr(e,t){return nn(e.current,{disabledIndices:t})}function Vi(e,t){return nn(e.current,{decrement:!0,startingIndex:e.current.length,disabledIndices:t})}function nn(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&&ns(e,s,o));return s}function ns(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 w1(e){return e.visibility==="hidden"||e.visibility==="collapse"}function Ms(e,t=e?Pt(e):null){return!e||!e.isConnected||!t||w1(t)?!1:typeof e.checkVisibility=="function"?e.checkVisibility():t.display!=="none"&&t.display!=="contents"}const S1='a[href],button,input,select,textarea,summary,details,iframe,object,embed,[tabindex],[contenteditable]:not([contenteditable="false"]),audio[controls],video[controls]';function R1(e){const t=e.assignedSlot;if(t)return t;if(e.parentElement)return e.parentElement;const n=e.getRootNode();return mo(n)?n.host:null}function $i(e){for(const t of Array.from(e.children))if(mt(t)==="summary")return t;return null}function k1(e,t){const n=$i(t);return!!n&&(e===n||ve(n,e))}function ud(e){const t=e?mt(e):"";return e!=null&&e.matches(S1)&&(t!=="summary"||e.parentElement!=null&&mt(e.parentElement)==="details"&&$i(e.parentElement)===e)&&(t!=="details"||$i(e)==null)&&(t!=="input"||e.type!=="hidden")}function dd(e){if(!ud(e)||!e.isConnected||e.matches(":disabled"))return!1;for(let t=e;t;t=R1(t)){const n=t!==e,o=mt(t)==="slot";if(t.hasAttribute("inert")||n&&mt(t)==="details"&&!t.open&&!k1(e,t)||t.hasAttribute("hidden")||!o&&!C1(t,n))return!1}return!0}function C1(e,t){const n=Pt(e);return t?n.display!=="none":Ms(e,n)}function fd(e){const t=e.tabIndex;if(t<0){const n=mt(e);if(n==="details"||n==="audio"||n==="video"||Ye(e)&&e.isContentEditable)return 0}return t}function pi(e){if(mt(e)!=="input")return null;const t=e;return t.type==="radio"&&t.name!==""?t:null}function E1(e,t){const n=pi(e);if(!n)return!0;const o=t.find(r=>{const s=pi(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=pi(r);return(s==null?void 0:s.name)===n.name&&s.form===n.form})===n}function pd(e){if(Ye(e)&&mt(e)==="slot"){const t=e.assignedElements({flatten:!0});if(t.length>0)return t}return Ye(e)&&e.shadowRoot?Array.from(e.shadowRoot.children):Array.from(e.children)}function hd(e,t){pd(e).forEach(n=>{ud(n)&&t.push(n),hd(n,t)})}function gd(e,t,n){pd(e).forEach(o=>{Ye(o)&&o.matches(t)&&n.push(o),gd(o,t,n)})}function Ca(e){return dd(e)&&fd(e)>=0}function md(e){const t=[];return hd(e,t),t.filter(dd)}function sr(e){const t=md(e);return t.filter(n=>fd(n)>=0&&E1(n,t))}function yd(e,t){const n=sr(e),o=n.length;if(o===0)return;const r=pt(Ie(e)),s=n.indexOf(r),i=s===-1?t===1?0:o-1:s+t;return n[i]}function Ea(e){return yd(Ie(e).body,1)||e}function bd(e){return yd(Ie(e).body,-1)||e}function vd(e,t){if(!e)return null;const n=sr(Ie(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 P1(e){return vd(e,1)}function M1(e){return vd(e,-1)}function uo(e,t){const n=t||e.currentTarget,o=e.relatedTarget;return!o||!ve(n,o)}function T1(e){sr(e).forEach(n=>{n.dataset.tabindex=n.getAttribute("tabindex")||"",n.setAttribute("tabindex","-1")})}function Xc(e){const t=[];gd(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 Cn(e,t,n=!0){return e.filter(r=>r.parentId===t).flatMap(r=>{var s;return[...!n||(s=r.context)!=null&&s.open?[r]:[],...Cn(e,r.id,n)]})}function Kc(e,t){var r;let n=[],o=(r=e.find(s=>s.id===t))==null?void 0:r.parentId;for(;o;){const s=e.find(i=>i.id===o);o=s==null?void 0:s.parentId,s&&(n=n.concat(s))}return n}function Zo(e){return`data-base-ui-${e}`}let Sr=0;function Br(e,t={}){const{preventScroll:n=!1,sync:o=!1,shouldFocus:r}=t;cancelAnimationFrame(Sr);function s(){r&&!r()||e==null||e.focus({preventScroll:n})}if(o)return s(),nt;const i=requestAnimationFrame(s);return Sr=i,()=>{Sr===i&&(cancelAnimationFrame(i),Sr=0)}}const hi={inert:new WeakMap,"aria-hidden":new WeakMap},Zc="data-base-ui-inert",Hi={inert:new WeakSet,"aria-hidden":new WeakSet};let zo=new WeakMap,gi=0;function I1(e){return Hi[e]}function xd(e){return e?mo(e)?e.host:xd(e.parentNode):null}const Qc=(e,t)=>t.map(n=>{if(e.contains(n))return n;const o=xd(n);return e.contains(o)?o:null}).filter(n=>n!=null),Jc=e=>{const t=new Set;return e.forEach(n=>{let o=n;for(;o&&!t.has(o);)t.add(o),o=o.parentNode}),t},el=(e,t,n)=>{const o=[],r=s=>{!s||n.has(s)||Array.from(s.children).forEach(i=>{mt(i)!=="script"&&(t.has(i)?r(i):o.push(i))})};return r(e),o};function O1(e,t,n,o,{mark:r=!0}){let s=null;o?s="inert":n&&(s="aria-hidden");let i=null,a=null;const l=Qc(t,e),u=r?el(t,Jc(l),new Set(l)):[],d=[],p=[];if(s){const f=hi[s],y=I1(s);a=y,i=f;const h=Qc(t,Array.from(t.querySelectorAll("[aria-live]"))),g=l.concat(h);el(t,Jc(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=(zo.get(f)||0)+1;zo.set(f,y),p.push(f),y===1&&f.setAttribute(Zc,"")}),gi+=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=(zo.get(f)||0)-1;zo.set(f,y),y||f.removeAttribute(Zc)}),gi-=1,gi||(hi.inert=new WeakMap,hi["aria-hidden"]=new WeakMap,Hi.inert=new WeakSet,Hi["aria-hidden"]=new WeakSet,zo=new WeakMap)}}function tl(e,t={}){const{ariaHidden:n=!1,inert:o=!1,mark:r=!0}=t,s=Ie(e[0]).body;return O1(e,s,n,o,{mark:r})}let nl=0;function A1(e,t="mui"){const[n,o]=c.useState(e),r=e||n;return c.useEffect(()=>{n==null&&(nl+=1,o(`${t}-${nl}`))},[n,t]),r}const ol=la.useId;function En(e,t){if(ol!==void 0){const n=ol();return e??(t?`${t}-${n}`:n)}return A1(e,t)}const N1=500,wd=500,D1={style:{transition:"none"}},Pa="data-base-ui-click-trigger",Sd={fallbackAxisSide:"none"},Ma={fallbackAxisSide:"end"},_1={clipPath:"inset(50%)",position:"fixed",top:0,left:0},Rd=c.createContext(null),kd=()=>c.useContext(Rd),L1=Zo("portal");function Cd(e={}){const{ref:t,container:n,componentProps:o=Ke,elementProps:r}=e,s=En(),i=kd(),a=i==null?void 0:i.portalNode,[l,u]=c.useState(null),[d,p]=c.useState(null),f=pe(m=>{m!==null&&p(m)}),y=c.useRef(null);he(()=>{if(n===null){y.current&&(y.current=null,p(null),u(null));return}const m=(n&&(ia(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=we("div",o,{ref:[t,f],props:[{id:s,[L1]:""},r]}),g=l&&h?Dt.createPortal(h,l):null;return{node:d,nodeId:c.isValidElement(h)?h.props.id:void 0,subtree:g}}const Ts=c.forwardRef(function(t,n){const{render:o,className:r,style:s,children:i,container:a,...l}=t,{node:u,nodeId:d,subtree:p}=Cd({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&&uo(k)&&(k.type==="focusin"?v.current&&(Xc(u),v.current=!1):(T1(u),v.current=!0))}return Xt(Ae(u,"focusin",C,!0),Ae(u,"focusout",C,!0))},[u,x]),he(()=>{!u||w!==!0||!v.current||(Xc(u),v.current=!1)},[w,u]);const R=c.useMemo(()=>({beforeOutsideRef:f,afterOutsideRef:y,beforeInsideRef:h,afterInsideRef:g,portalNode:u,setFocusManagerState:b}),[u]);return Y.jsxs(c.Fragment,{children:[p,Y.jsxs(Rd.Provider,{value:R,children:[S&&u&&Y.jsx(Rn,{"data-type":"outside",ref:f,onFocus:C=>{var k;if(uo(C,u))(k=h.current)==null||k.focus();else{const T=m?m.domReference:null,E=bd(T);E==null||E.focus()}}}),S&&u&&Y.jsx("span",{"aria-owns":d,style:_1}),u&&Dt.createPortal(i,u),S&&u&&Y.jsx(Rn,{"data-type":"outside",ref:y,onFocus:C=>{var k;if(uo(C,u))(k=g.current)==null||k.focus();else{const T=m?m.domReference:null,E=Ea(T);E==null||E.focus(),m!=null&&m.closeOnFocusOut&&(m==null||m.onOpenChange(!1,ke(wn,C.nativeEvent)))}}})]})]})});function Ed(){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 Ta{constructor(){Ue(this,"nodesRef",{current:[]});Ue(this,"events",Ed())}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 Pd=c.createContext(null),Md=c.createContext(null),Tn=()=>{var e;return((e=c.useContext(Pd))==null?void 0:e.id)||null},In=e=>{const t=c.useContext(Md);return e??t};function Ia(e){const t=En(),n=In(e),o=Tn();return he(()=>{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 Td(e){const{children:t,id:n}=e,o=Tn();return Y.jsx(Pd.Provider,{value:c.useMemo(()=>({id:n,parentId:o}),[n,o]),children:t})}function Id(e){const{children:t,externalTree:n}=e,o=gt(()=>n??new Ta).current;return Y.jsx(Md.Provider,{value:o,children:t})}function en(e){return e==null?e:"current"in e?e.current:e}function F1(e,t){const n=Xe(at(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 rl=20;let mn=[];function Oa(){mn=mn.filter(e=>{var t;return(t=e.deref())==null?void 0:t.isConnected})}function sl(e){Oa(),e&&mt(e)!=="body"&&(mn.push(new WeakRef(e)),mn.length>rl&&(mn=mn.slice(-rl)))}function il(){var e;return Oa(),(e=mn[mn.length-1])==null?void 0:e.deref()}function z1(e){return e?Ca(e)?e:sr(e)[0]||e:null}function al(e){var r;if(e.hasAttribute("tabindex")&&!e.hasAttribute("data-tabindex")||!((r=e.getAttribute("role"))!=null&&r.includes("dialog")))return;const n=md(e).filter(s=>{const i=s.getAttribute("data-tabindex")||"";return Ca(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 Is(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=pe(()=>{var ne;return(ne=w.current.floatingContext)==null?void 0:ne.nodeId}),R=r===!1,C=Li(b)&&R,k=st(r),T=st(s),E=st(u),N=st(m),O=In(y),D=kd(),A=c.useRef(!1),P=c.useRef(!1),z=c.useRef(!1),F=c.useRef(null),I=c.useRef(""),_=c.useRef(""),M=c.useRef(null),L=c.useRef(null),H=It(M,f,D==null?void 0:D.beforeInsideRef),$=It(L,D==null?void 0:D.afterInsideRef),U=ot(),G=ot(),V=Hn(),X=D!=null,j=es(v),K=pe((ne=j)=>ne?sr(ne):[]),de=pe(()=>(h==null?void 0:h().filter(ne=>ne!=null))??[]);c.useEffect(()=>{if(o||!a)return;function ne(q){q.key==="Tab"&&ve(j,pt(Ie(j)))&&K().length===0&&!C&&zt(q)}const re=Ie(j);return Ae(re,"keydown",ne)},[o,j,a,C,K]),c.useEffect(()=>{if(o||!m)return;const ne=Ie(j);function re(){z.current=!1}function q(ge){const ue=at(ge),Z=de(),J=ve(v,ue)||ve(b,ue)||ve(D==null?void 0:D.portalNode,ue)||Z.some(ae=>ae===ue||ve(ae,ue));z.current=!J,_.current=ge.pointerType||"keyboard",ue!=null&&ue.closest(`[${Pa}]`)&&(P.current=!0,G.start(0,()=>{P.current=!1}))}function ie(){_.current="keyboard"}return Xt(Ae(ne,"pointerdown",q,!0),Ae(ne,"pointerup",re,!0),Ae(ne,"pointercancel",re,!0),Ae(ne,"keydown",ie,!0),re)},[o,v,b,j,m,D,G,de]),c.useEffect(()=>{if(o||!l)return;const ne=Ie(j);function re(){P.current=!0,G.start(0,()=>{P.current=!1})}function q(Z){const J=at(Z);Ca(J)&&(F.current=J)}function ie(Z){const J=Z.relatedTarget,ae=Z.currentTarget,ce=at(Z);a&&J==null&&ce!=null&&ve(v,ce)&&sl(ce),queueMicrotask(()=>{const oe=S(),le=g.context.triggerElements,W=de(),Q=(J==null?void 0:J.hasAttribute(Zo("focus-guard")))&&[M.current,L.current,D==null?void 0:D.beforeInsideRef.current,D==null?void 0:D.afterInsideRef.current,D==null?void 0:D.beforeOutsideRef.current,D==null?void 0:D.afterOutsideRef.current,en(p),en(d)].includes(J),fe=!(ve(b,J)||ve(v,J)||ve(J,v)||ve(D==null?void 0:D.portalNode,J)||W.some(te=>te===J||ve(te,J))||le.hasMatchingElement(te=>ve(te,J))||Q||O&&(Cn(O.nodesRef.current,oe).find(te=>{var ee,me;return ve((ee=te.context)==null?void 0:ee.elements.floating,J)||ve((me=te.context)==null?void 0:me.elements.domReference,J)})||Kc(O.nodesRef.current,oe).find(te=>{var ee,me,ye;return[(ee=te.context)==null?void 0:ee.elements.floating,es((me=te.context)==null?void 0:me.elements.floating)].includes(J)||((ye=te.context)==null?void 0:ye.elements.domReference)===J})));if(ae===b&&j&&al(j),i&&ae!==b&&!Ms(ce)&&pt(ne)===ne.body){if(Ye(j)&&(j.focus(),i==="popup")){V.request(()=>{j.focus()});return}const te=K(),ee=F.current,me=(ee&&te.includes(ee)?ee:null)||te[te.length-1]||j;Ye(me)&&me.focus()}if(w.current.insideReactTree){w.current.insideReactTree=!1;return}(C||!a)&&J&&fe&&!P.current&&(C||J!==il())&&(A.current=!0,g.setOpen(!1,ke(wn,Z)))})}function ge(){z.current||(w.current.insideReactTree=!0,U.start(0,()=>{w.current.insideReactTree=!1}))}const ue=Ye(b)?b:null;if(!(!v&&!ue))return Xt(ue&&Ae(ue,"focusout",ie),ue&&Ae(ue,"pointerdown",re),v&&Ae(v,"focusin",q),v&&Ae(v,"focusout",ie),v&&D&&Ae(v,"focusout",ge,!0))},[o,b,v,j,a,O,D,g,l,i,K,C,S,w,U,G,V,d,p,de]),c.useEffect(()=>{var ae,ce,oe;if(o||!v||!m)return;const ne=Array.from(((ae=D==null?void 0:D.portalNode)==null?void 0:ae.querySelectorAll(`[${Zo("portal")}]`))||[]),q=(oe=(ce=(O?Kc(O.nodesRef.current,S()):[]).find(le=>{var W;return Li(((W=le.context)==null?void 0:W.elements.domReference)||null)}))==null?void 0:ce.context)==null?void 0:oe.elements.domReference,ge=[...[v,...ne,M.current,L.current,D==null?void 0:D.beforeOutsideRef.current,D==null?void 0:D.afterOutsideRef.current,...de()],q,en(p),en(d),C?b:null].filter(le=>le!=null),ue=tl(ge,{ariaHidden:a||C,mark:!1}),Z=[v,...ne].filter(le=>le!=null),J=tl(Z);return()=>{J(),ue()}},[m,o,b,v,a,D,C,O,S,d,p,de]),he(()=>{if(!m||o||!Ye(j))return;I.current="",_.current="";const ne=Ie(j),re=pt(ne);queueMicrotask(()=>{const q=k.current,ie=typeof q=="function"?q(E.current||""):q;if(ie===void 0||ie===!1||ve(j,re))return;let ue=null;const Z=()=>(ue==null&&(ue=K(j)),ue[0]||j);let J;ie===!0||ie===null?J=Z():J=en(ie),J=J||Z();const ae=ve(j,pt(ne));Br(J,{preventScroll:J===j,shouldFocus(){if(!N.current)return!1;if(ae)return!0;const ce=pt(ne);return!(ce!==J&&ve(j,ce))}})})},[o,m,j,K,k,E,N]),he(()=>{if(o||!j)return;const ne=Ie(j),re=pt(ne),q=E.current==null;sl(re);function ie(ue){if(ue.open||(I.current=F1(ue.nativeEvent,_.current)),ue.reason===it&&ue.nativeEvent.type==="mouseleave"&&(A.current=!0),ue.reason===Cs)if(ue.nested)A.current=!1;else if(ba(ue.nativeEvent)||va(ue.nativeEvent))A.current=!1;else{let Z=!1;Ie(j).createElement("div").focus({get preventScroll(){return Z=!0,!1}}),Z?A.current=!1:A.current=!0}}x.on("openchange",ie);function ge(ue){const Z=T.current;let J=typeof Z=="function"?Z(ue):Z;if(J===void 0||J===!1)return null;J===null&&(J=!0);const ae=b!=null&&b.isConnected?b:null,ce=re!=null&&re.isConnected&&mt(re)!=="body"?re:null;let oe=q?ce||ae:ae||ce;return oe||(oe=il()||null),typeof J=="boolean"?oe:en(J)||oe||null}return()=>{x.off("openchange",ie);const ue=pt(ne),Z=de(),J=ve(v,ue)||Z.some(le=>le===ue||ve(le,ue))||O&&Cn(O.nodesRef.current,S(),!1).some(le=>{var W;return ve((W=le.context)==null?void 0:W.elements.floating,ue)}),ae=T.current,ce=I.current,oe=ge(ce);queueMicrotask(()=>{const le=z1(oe),W=typeof ae!="boolean";if(ae&&!A.current&&Ye(le)&&(!(!W&&le!==ue&&ue!==ne.body)||J)){const Q={preventScroll:!0};ce==="keyboard"&&(Q.focusVisible=!0),le.focus(Q)}A.current=!1})}},[o,v,j,T,E,x,O,b,S,de]),he(()=>{if(!Kt||m||!v)return;const ne=pt(Ie(v));!Ye(ne)||!ks(ne)||ve(v,ne)&&ne.blur()},[m,v]),he(()=>{if(!(o||!D))return D.setFocusManagerState({modal:a,closeOnFocusOut:l,open:m,onOpenChange:g.setOpen,domReference:b}),()=>{D.setFocusManagerState(null)}},[o,D,a,m,g,l,b]),he(()=>{if(!(o||!j))return al(j),()=>{queueMicrotask(Oa)}},[o,j]);const se=!o&&(a?!C:!0)&&(X||a);return Y.jsxs(c.Fragment,{children:[se&&Y.jsx(Rn,{"data-type":"inside",ref:H,onFocus:ne=>{var re;if(a){const q=K();Br(q[q.length-1])}else if(D!=null&&D.portalNode)if(A.current=!1,uo(ne,D.portalNode)){const q=Ea(b);q==null||q.focus()}else(re=en(p??D.beforeOutsideRef))==null||re.focus()}}),n,se&&Y.jsx(Rn,{"data-type":"inside",ref:$,onFocus:ne=>{var re;if(a)Br(K()[0]);else if(D!=null&&D.portalNode)if(l&&(A.current=!0),uo(ne,D.portalNode)){const q=bd(b);q==null||q.focus()}else(re=en(d??D.afterOutsideRef))==null||re.focus()}})]})}function Os(e,t={}){const{enabled:n=!0,event:o="click",toggle:r=!0,ignoreMouse:s=!1,stickIfOpen:i=!0,touchOpenDelay:a=0,reason:l=Ht}=t,u="rootStore"in e?e.rootStore:e,d=u.context.dataRef,p=c.useRef(void 0),f=Hn(),y=ot(),h=c.useMemo(()=>{function g(b,v,x,w){const S=ke(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=bn(b.pointerType,!0)&&va(b.nativeEvent)?"virtual":b.pointerType},onMouseDown(b){const v=p.current,x=b.nativeEvent,w=u.select("open");if(b.button!==0||o==="click"||bn(v,!0)&&s)return;const S=m(w,b.currentTarget,k=>k==="click"||k==="mousedown"),R=at(x);if(ks(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(bn(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}:Ke,[n,h])}function V1(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 cl(e){return e!=null&&e.clientX!=null}function $1(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=pe(w=>{r.set("positionReference",w)}),m=pe((w,S,R)=>{u.current||l.current.openEvent&&!cl(l.current.openEvent)||r.set("positionReference",V1(R??a,{x:w,y:S,axis:o,dataRef:l,pointerType:p}))}),b=pe(w=>{s?d.current||(m(w.clientX,w.clientY,w.currentTarget),h([])):m(w.clientX,w.clientY,w.currentTarget)}),v=bn(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=Xe(i);function R(C){const k=at(C);ve(i,k)?w():m(C.clientX,C.clientY)}return!l.current.openEvent||cl(l.current.openEvent)?d.current=Ae(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 H1(){return!1}function j1(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 ir(e,t={}){const{enabled:n=!0,escapeKey:o=!0,outsidePress:r=!0,outsidePressEvent:s="sloppy",referencePress:i=H1,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=In(l),h=pe(typeof r=="function"?r:()=>!1),g=typeof r=="function"?h:r,m=g!==!1,b=pe(()=>s),{escapeKey:v,outsidePress:x}=j1(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=ot(),N=ot(),O=pe(()=>{N.clear(),f.current.insideReactTree=!1}),D=pe(H=>{var G;const $=(G=f.current.floatingContext)==null?void 0:G.nodeId;return(y?Cn(y.nodesRef.current,$):[]).some(V=>{var X;return((X=V.context)==null?void 0:X.open)&&!V.context.dataRef.current[H]})}),A=pe(H=>fi(H,u.select("floatingElement"))||fi(H,u.select("domReferenceElement"))),P=pe(H=>{i()&&u.setOpen(!1,ke(Ht,H.nativeEvent))}),z=pe(H=>{if(!d||!n||!o||H.key!=="Escape"||C.current||!v&&D("__escapeKeyBubbles"))return;const $=Q0(H)?H.nativeEvent:H,U=ke(rr,$);u.setOpen(!1,U),U.isCanceled||H.preventDefault(),!v&&!U.isPropagationAllowed&&H.stopPropagation()}),F=pe(()=>{f.current.insideReactTree=!0,N.start(0,O)}),I=pe(H=>{if(!d||!n||H.button!==0)return;const $=at(H.nativeEvent);ve(u.select("floatingElement"),$)&&(w.current||(w.current=!0,S.current=!1))}),_=pe(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 _t,$=new _t;function U(){H.clear(),C.current=!0}function G(){H.start(Kt?5:0,()=>{C.current=!1})}function V(){R.current=!0,$.start(0,()=>{R.current=!1})}function X(){w.current=!1,S.current=!1}function j(){const W=k.current,Q=W==="pen"||!W?"mouse":W,fe=b(),te=typeof fe=="function"?fe():fe;return typeof te=="string"?te:te[Q]}function K(W){const Q=j();return Q==="intentional"&&W.type!=="click"||Q==="sloppy"&&W.type==="click"}function de(W){var te;const Q=(te=f.current.floatingContext)==null?void 0:te.nodeId,fe=y&&Cn(y.nodesRef.current,Q).some(ee=>{var me;return fi(W,(me=ee.context)==null?void 0:me.elements.floating)});return A(W)||fe}function se(W){if(K(W)){W.type!=="click"&&!A(W)&&($.clear(),R.current=!1),O();return}if(f.current.insideReactTree){O();return}const Q=at(W),fe=`[${Zo("inert")}]`,te=Ne(Q)?Q.getRootNode():null,ee=Array.from((mo(te)?te:Ie(u.select("floatingElement"))).querySelectorAll(fe)),me=u.context.triggerElements;if(Q&&(me.hasElement(Q)||me.hasMatchingElement(De=>ve(De,Q))))return;let ye=Ne(Q)?Q:null;for(;ye&&!on(ye);){const De=an(ye);if(on(De)||!Ne(De))break;ye=De}if(!(ee.length&&Ne(Q)&&!e1(Q)&&!ve(Q,u.select("floatingElement"))&&ee.every(De=>!ve(ye,De)))){if(Ye(Q)&&!("touches"in W)){const De=on(Q),Me=Pt(Q),Ge=/auto|scroll/,Le=De||Ge.test(Me.overflowX),ze=De||Ge.test(Me.overflowY),et=Le&&Q.clientWidth>0&&Q.scrollWidth>Q.clientWidth,Te=ze&&Q.clientHeight>0&&Q.scrollHeight>Q.clientHeight,be=Me.direction==="rtl",Ve=Te&&(be?W.offsetX<=Q.offsetWidth-Q.clientWidth:W.offsetX>Q.clientWidth),Fe=et&&W.offsetY>Q.clientHeight;if(Ve||Fe)return}if(!de(W)){if(j()==="intentional"&&R.current){$.clear(),R.current=!1;return}typeof g=="function"&&!g(W)||D("__outsidePressBubbles")||(u.setOpen(!1,ke(Cs,W)),O())}}}function ne(W){j()!=="sloppy"||W.pointerType==="touch"||!u.select("open")||!n||A(W)||se(W)}function re(W){if(j()!=="sloppy"||!u.select("open")||!n||A(W))return;const Q=W.touches[0];Q&&(T.current={startTime:Date.now(),startX:Q.clientX,startY:Q.clientY,dismissOnTouchEnd:!1,dismissOnMouseDown:!0},E.start(1e3,()=>{T.current&&(T.current.dismissOnTouchEnd=!1,T.current.dismissOnMouseDown=!1)}))}function q(W,Q){const fe=at(W);if(!fe)return;const te=Ae(fe,W.type,()=>{Q(W),te()})}function ie(W){k.current="touch",q(W,re)}function ge(W){E.clear(),W.type==="pointerdown"&&(k.current=W.pointerType),!(W.type==="mousedown"&&T.current&&!T.current.dismissOnMouseDown)&&q(W,Q=>{Q.type==="pointerdown"?ne(Q):se(Q)})}function ue(W){if(!w.current)return;const Q=S.current;if(X(),j()==="intentional"){if(W.type==="pointercancel"){Q&&V();return}if(!de(W)){if(Q){V();return}typeof g=="function"&&!g(W)||($.clear(),R.current=!0,O())}}}function Z(W){if(j()!=="sloppy"||!T.current||A(W))return;const Q=W.touches[0];if(!Q)return;const fe=Math.abs(Q.clientX-T.current.startX),te=Math.abs(Q.clientY-T.current.startY),ee=Math.sqrt(fe*fe+te*te);ee>5&&(T.current.dismissOnTouchEnd=!0),ee>10&&(se(W),E.clear(),T.current=null)}function J(W){q(W,Z)}function ae(W){j()!=="sloppy"||!T.current||A(W)||(T.current.dismissOnTouchEnd&&se(W),E.clear(),T.current=null)}function ce(W){q(W,ae)}const oe=Ie(p),le=Xt(o&&Xt(Ae(oe,"keydown",z),Ae(oe,"compositionstart",U),Ae(oe,"compositionend",G)),m&&Xt(Ae(oe,"click",ge,!0),Ae(oe,"pointerdown",ge,!0),Ae(oe,"pointerup",ue,!0),Ae(oe,"pointercancel",ue,!0),Ae(oe,"mousedown",ge,!0),Ae(oe,"mouseup",ue,!0),Ae(oe,"touchstart",ie,!0),Ae(oe,"touchmove",J,!0),Ae(oe,"touchend",ce,!0)));return()=>{le(),H.clear(),$.clear(),X(),R.current=!1,O()}},[f,p,o,m,g,d,n,v,x,z,O,b,D,A,y,u,E]);const M=c.useMemo(()=>({onKeyDown:z,onPointerDown:P,onClick:P}),[z,P]),L=c.useMemo(()=>({onKeyDown:z,onPointerDown:_,onMouseDown:_,onClickCapture:F,onMouseDownCapture(H){F(),I(H)},onPointerDownCapture(H){F(),I(H)},onMouseUpCapture:F,onTouchEndCapture:F,onTouchMoveCapture:F}),[z,F,I,_]);return c.useMemo(()=>n?{reference:M,floating:L,trigger:M}:{},[n,M,L])}function ll(e,t,n){let{reference:o,floating:r}=e;const s=At(t),i=ka(t),a=Ra(i),l=Nt(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=Mn(t);return h&&(y[i]+=f*(h==="end"?1:-1)*(n&&u?-1:1)),y}async function B1(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}=kn(t,e),h=ld(y),m=a[f?p==="floating"?"reference":"floating":p],b=Ko(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=Ko(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 W1=50,U1=async(e,t,n)=>{const{placement:o="bottom",strategy:r="absolute",middleware:s=[],platform:i}=n,a=i.detectOverflow?i:{...i,detectOverflow:B1},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}=ll(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<W1&&(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}=ll(u,f,l)),g=-1)}return{x:d,y:p,placement:f,strategy:r,middlewareData:h}},G1=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}=kn(e,t);if((n=s.arrow)!=null&&n.alignmentOffset)return{};const b=Nt(r),v=At(a),x=Nt(a)===a,w=await(l.isRTL==null?void 0:l.isRTL(u.floating)),S=f||(x||!g?[ts(a)]:g1(a)),R=h!=="none";!f&&R&&S.push(...v1(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 A=h1(r,i,w);T.push(k[A[0]],k[A[1]])}if(E=[...E,{placement:r,overflows:T}],!T.every(A=>A<=0)){var N,O;const A=(((N=s.flip)==null?void 0:N.index)||0)+1,P=C[A];if(P&&(!(p==="alignment"?v!==At(P):!1)||E.every(I=>At(I.placement)===v?I.overflows[0]>0:!0)))return{data:{index:A,overflows:E},reset:{placement:P}};let z=(O=E.filter(F=>F.overflows[0]<=0).sort((F,I)=>F.overflows[1]-I.overflows[1])[0])==null?void 0:O.placement;if(!z)switch(y){case"bestFit":{var D;const F=(D=E.filter(I=>{if(R){const _=At(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:D[0];F&&(z=F);break}case"initialPlacement":z=a;break}if(r!==z)return{reset:{placement:z}}}return{}}}},Od=new Set(["left","top"]);async function q1(e,t){const{placement:n,platform:o,elements:r}=e,s=await(o.isRTL==null?void 0:o.isRTL(r.floating)),i=Nt(n),a=Mn(n),l=At(n)==="y",u=Od.has(i)?-1:1,d=s&&l?-1:1,p=kn(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 Y1=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 q1(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}}}}},X1=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}=kn(e,t),d={x:n,y:o},p=await s.detectOverflow(t,u),f=At(r),y=Sa(f);let h=d[y],g=d[f];const m=(v,x)=>cd(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}}}}}},K1=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}=kn(e,t),f={x:r,y:s},y=At(i),h=Sa(y);let g=f[h],m=f[y];const b=kn(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=Od.has(Nt(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}}}},Z1=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}=kn(e,t),l=await r.detectOverflow(t,a),u=Nt(n),d=Mn(n),p=At(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=yo(y-l[h],m),x=yo(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*rn(l.left,l.right):R=y-2*rn(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 Ad(e){const t=Pt(e);let n=parseFloat(t.width)||0,o=parseFloat(t.height)||0;const r=Ye(e),s=r?e.offsetWidth:n,i=r?e.offsetHeight:o,a=bo(n)!==s||bo(o)!==i;return a&&(n=s,o=i),{width:n,height:o,$:a}}function Aa(e){return Ne(e)?e:e.contextElement}function fo(e){const t=Aa(e);if(!Ye(t))return sn(1);const n=t.getBoundingClientRect(),{width:o,height:r,$:s}=Ad(t);let i=(s?bo(n.width):n.width)/o,a=(s?bo(n.height):n.height)/r;return(!i||!Number.isFinite(i))&&(i=1),(!a||!Number.isFinite(a))&&(a=1),{x:i,y:a}}const Q1=sn(0);function Nd(e){const t=Xe(e);return!ca()||!t.visualViewport?Q1:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function J1(e,t,n){return t===void 0&&(t=!1),!!n&&t&&n===Xe(e)}function jn(e,t,n,o){t===void 0&&(t=!1),n===void 0&&(n=!1);const r=e.getBoundingClientRect(),s=Aa(e);let i=sn(1);t&&(o?Ne(o)&&(i=fo(o)):i=fo(e));const a=J1(s,n,o)?Nd(s):sn(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=Xe(s),y=Ne(o)?Xe(o):o;let h=f,g=Oi(h);for(;g&&y!==h;){const m=fo(g),b=g.getBoundingClientRect(),v=Pt(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=Xe(g),g=Oi(h)}}return Ko({width:d,height:p,x:l,y:u})}function As(e,t){const n=bs(e).scrollLeft;return t?t.left+n:jn(un(e)).left+n}function Dd(e,t){const n=e.getBoundingClientRect(),o=n.left+t.scrollLeft-As(e,n),r=n.top+t.scrollTop;return{x:o,y:r}}function eb(e){let{elements:t,rect:n,offsetParent:o,strategy:r}=e;const s=r==="fixed",i=un(o),a=t?ys(t.floating):!1;if(o===i||a&&s)return n;let l={scrollLeft:0,scrollTop:0},u=sn(1);const d=sn(0),p=Ye(o);if((p||!s)&&((mt(o)!=="body"||or(i))&&(l=bs(o)),p)){const y=jn(o);u=fo(o),d.x=y.x+o.clientLeft,d.y=y.y+o.clientTop}const f=i&&!p&&!s?Dd(i,l):sn(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 tb(e){return e.getClientRects?Array.from(e.getClientRects()):[]}function nb(e){const t=bs(e),n=e.ownerDocument.body,o=rn(e.scrollWidth,e.clientWidth,n.scrollWidth,n.clientWidth),r=rn(e.scrollHeight,e.clientHeight,n.scrollHeight,n.clientHeight);let s=-t.scrollLeft+As(e);const i=-t.scrollTop;return Pt(n).direction==="rtl"&&(s+=rn(e.clientWidth,n.clientWidth)-o),{width:o,height:r,x:s,y:i}}const ob=25;function rb(e,t,n){n===void 0&&(n="viewport");const o=n==="layoutViewport",r=Xe(e),s=un(e),i=r.visualViewport;let a=s.clientWidth,l=s.clientHeight,u=0,d=0;if(i){const f=!ca()||t==="fixed";o?f||(u=-i.offsetLeft,d=-i.offsetTop):(a=i.width,l=i.height,f&&(u=i.offsetLeft,d=i.offsetTop))}if(As(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<=ob&&(a-=b)}return{width:a,height:l,x:u,y:d}}function sb(e,t){const n=jn(e,!0,t==="fixed"),o=n.top+e.clientTop,r=n.left+e.clientLeft,s=fo(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 ul(e,t,n){let o;if(t==="viewport"||t==="layoutViewport")o=rb(e,n,t);else if(t==="document")o=nb(un(e));else if(Ne(t))o=sb(t,n);else{const r=Nd(e);o={x:t.x-r.x,y:t.y-r.y,width:t.width,height:t.height}}return Ko(o)}function ib(e,t){const n=t.get(e);if(n)return n;let o=Yo(e,[],!1).filter(a=>Ne(a)&&mt(a)!=="body"),r=null;const s=Pt(e).position==="fixed";let i=s?an(e):e;for(;Ne(i)&&!on(i);){const a=Pt(i),l=aa(i),u=r?r.position:s?"fixed":"";!l&&(u==="fixed"||u==="absolute"&&a.position==="static")?o=o.filter(p=>p!==i):r=a,i=an(i)}return t.set(e,o),o}function ab(e){let{element:t,boundary:n,rootBoundary:o,strategy:r}=e;const i=[...n==="clippingAncestors"?ys(t)?[]:ib(t,this._c):[].concat(n),o],a=ul(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=ul(t,i[f],r);l=rn(y.top,l),u=yo(y.right,u),d=yo(y.bottom,d),p=rn(y.left,p)}return{width:u-p,height:d-l,x:p,y:l}}function cb(e){const{width:t,height:n}=Ad(e);return{width:t,height:n}}function lb(e,t,n){const o=Ye(t),r=un(t),s=n==="fixed",i=jn(e,!0,s,t);let a={scrollLeft:0,scrollTop:0};const l=sn(0);if((o||!s)&&((mt(t)!=="body"||or(r))&&(a=bs(t)),o)){const f=jn(t,!0,s,t);l.x=f.x+t.clientLeft,l.y=f.y+t.clientTop}!o&&r&&(l.x=As(r));const u=r&&!o&&!s?Dd(r,a):sn(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 mi(e){return Pt(e).position==="static"}function dl(e,t){if(!Ye(e)||Pt(e).position==="fixed")return null;if(t)return t(e);let n=e.offsetParent;return un(e)===n&&(n=n.ownerDocument.body),n}function _d(e,t){const n=Xe(e);if(ys(e))return n;if(!Ye(e)){let r=an(e);for(;r&&!on(r);){if(Ne(r)&&!mi(r))return r;r=an(r)}return n}let o=dl(e,t);for(;o&&Ty(o)&&mi(o);)o=dl(o,t);return o&&on(o)&&mi(o)&&!aa(o)?n:o||Ay(e)||n}const ub=async function(e){const t=this.getOffsetParent||_d,n=this.getDimensions,o=await n(e.floating);return{reference:lb(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:o.width,height:o.height}}};function db(e){return Pt(e).direction==="rtl"}const Ld={convertOffsetParentRelativeRectToViewportRelativeRect:eb,getDocumentElement:un,getClippingRect:ab,getOffsetParent:_d,getElementRects:ub,getClientRects:tb,getDimensions:cb,getScale:fo,isElement:Ne,isRTL:db};function Fd(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function fb(e,t,n){let o=null,r;const s=un(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=wr(h),v=wr(s.clientWidth-(y+g)),x=wr(s.clientHeight-(h+m)),w=wr(y),R={rootMargin:-b+"px "+-v+"px "+-x+"px "+-w+"px",threshold:rn(0,yo(1,p))||1};let C=!0;function k(T){const E=T[0].intersectionRatio;if(!Fd(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=Xe(e),u=()=>a(n);return l.addEventListener("resize",u),a(!0),()=>{l.removeEventListener("resize",u),i()}}function fl(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=Aa(e),d=r||s?[...u?Yo(u):[],...t?Yo(t):[]]:[];d.forEach(b=>{r&&b.addEventListener("scroll",n),s&&b.addEventListener("resize",n)});const p=u&&a?fb(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?jn(e):null;l&&m();function m(){const b=jn(e);g&&!Fd(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 pb=Y1,hb=X1,gb=G1,mb=Z1,yb=K1,bb=(e,t,n)=>{const o=new Map,r=n??{},s={...Ld,...r.platform,_c:o};return U1(e,t,{...r,platform:s})};var vb=typeof document<"u",xb=function(){},Wr=vb?c.useLayoutEffect:xb;function os(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(!os(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)&&!os(e[s],t[s]))return!1}return!0}return e!==e&&t!==t}function zd(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function pl(e,t){const n=zd(e);return Math.round(t*n)/n}function yi(e){const t=c.useRef(e);return Wr(()=>{t.current=e}),t}function wb(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);os(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=yi(l),N=yi(r),O=yi(u),D=c.useCallback(()=>{if(!R.current||!C.current)return;const I={placement:t,strategy:n,middleware:f};N.current&&(I.platform=N.current),bb(R.current,C.current,I).then(_=>{const M={..._,isPositioned:O.current!==!1};A.current&&!os(k.current,M)&&(k.current=M,Dt.flushSync(()=>{p(M)}))})},[f,t,n,N,O]);Wr(()=>{u===!1&&k.current.isPositioned&&(k.current.isPositioned=!1,p(I=>({...I,isPositioned:!1})))},[u]);const A=c.useRef(!1);Wr(()=>(A.current=!0,()=>{A.current=!1}),[]),Wr(()=>{if(w&&(R.current=w),S&&(C.current=S),w&&S){if(E.current)return E.current(w,S,D);D()}},[w,S,D,E,T]);const P=c.useMemo(()=>({reference:R,floating:C,setReference:v,setFloating:x}),[v,x]),z=c.useMemo(()=>({reference:w,floating:S}),[w,S]),F=c.useMemo(()=>{const I={position:n,left:0,top:0};if(!z.floating)return I;const _=pl(z.floating,d.x),M=pl(z.floating,d.y);return a?{...I,transform:"translate("+_+"px, "+M+"px)",...zd(z.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:_,top:M}},[n,a,z.floating,d.x,d.y]);return c.useMemo(()=>({...d,update:D,refs:P,elements:z,floatingStyles:F}),[d,D,P,z,F])}const Sb=(e,t)=>{const n=pb(e);return{name:n.name,fn:n.fn,options:[e,t]}},Rb=(e,t)=>{const n=hb(e);return{name:n.name,fn:n.fn,options:[e,t]}},kb=(e,t)=>({fn:yb(e).fn,options:[e,t]}),Cb=(e,t)=>{const n=gb(e);return{name:n.name,fn:n.fn,options:[e,t]}},Eb=(e,t)=>{const n=mb(e);return{name:n.name,fn:n.fn,options:[e,t]}};var bi={exports:{}},vi={};/**
|
|
882
|
+
* @license React
|
|
883
|
+
* use-sync-external-store-shim.production.js
|
|
884
|
+
*
|
|
885
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
886
|
+
*
|
|
887
|
+
* This source code is licensed under the MIT license found in the
|
|
888
|
+
* LICENSE file in the root directory of this source tree.
|
|
889
|
+
*/var hl;function Pb(){if(hl)return vi;hl=1;var e=Eu();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 vi.useSyncExternalStore=e.useSyncExternalStore!==void 0?e.useSyncExternalStore:d,vi}var gl;function Vd(){return gl||(gl=1,bi.exports=Pb()),bi.exports}var Ns=Vd(),xi={exports:{}},wi={};/**
|
|
890
|
+
* @license React
|
|
891
|
+
* use-sync-external-store-shim/with-selector.production.js
|
|
892
|
+
*
|
|
893
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
894
|
+
*
|
|
895
|
+
* This source code is licensed under the MIT license found in the
|
|
896
|
+
* LICENSE file in the root directory of this source tree.
|
|
897
|
+
*/var ml;function Mb(){if(ml)return wi;ml=1;var e=Eu(),t=Vd();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 wi.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},wi}var yl;function Tb(){return yl||(yl=1,xi.exports=Mb()),xi.exports}var Ib=Tb();const ji=[];let Bi;function Ob(){return Bi}function Ab(e){ji.push(e)}function Na(e){const t=(n,o)=>{const r=gt(Nb).current;let s;try{Bi=r;for(const i of ji)i.before(r);s=e(n,o);for(const i of ji)i.after(r);r.didInitialize=!0}finally{Bi=void 0}return s};return t.displayName=e.displayName||e.name,t}function $d(e){return c.forwardRef(Na(e))}function Nb(){return{didInitialize:!1}}const Db=fa(19),_b=Db?Fb:zb;function Ee(e,t,n,o,r){return _b(e,t,n,o,r)}function Lb(e,t,n,o,r){const s=c.useCallback(()=>t(e.getSnapshot(),n,o,r),[e,t,n,o,r]);return Ns.useSyncExternalStore(e.subscribe,s,s)}Ab({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()}}),Ns.useSyncExternalStore(e.subscribe,e.getSnapshot,e.getSnapshot))}});function Fb(e,t,n,o,r){const s=Ob();if(!s)return Lb(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 zb(e,t,n,o,r){return Ib.useSyncExternalStoreWithSelector(e.subscribe,e.getSnapshot,e.getSnapshot,s=>t(s,n,o,r))}class Vb{constructor(t){Ue(this,"subscribe",t=>(this.listeners.add(t),()=>{this.listeners.delete(t)}));Ue(this,"getSnapshot",()=>this.state);this.state=t,this.listeners=new Set,this.updateTick=0}setState(t){if(this.state===t)return;this.state=t,this.updateTick+=1;const n=this.updateTick;for(const o of this.listeners){if(n!==this.updateTick)return;o(t)}}update(t){for(const n in t)if(!Object.is(this.state[n],t[n])){this.setState({...this.state,...t});return}}set(t,n){Object.is(this.state[t],n)||this.setState({...this.state,[t]:n})}notifyAll(){const t={...this.state};this.setState(t)}use(t,n,o,r){return Ee(this,t,n,o,r)}}class Co extends Vb{constructor(t,n={},o){super(t),this.context=n,this.selectors=o}useSyncedValue(t,n){c.useDebugValue(t);const o=this;he(()=>{o.state[t]!==n&&o.set(t,n)},[o,t,n])}useSyncedValueWithCleanup(t,n){const o=this;he(()=>(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);he(()=>{n.update(t)},[n,...o])}useControlledProp(t,n){c.useDebugValue(t);const o=this,r=n!==void 0;he(()=>{r&&!Object.is(o.state[t],n)&&o.setState({...o.state,[t]:n})},[o,t,n,r])}select(t,n,o,r){const s=this.selectors[t];return s(this.state,n,o,r)}useState(t,n,o,r){return c.useDebugValue(t),Ee(this,this.selectors[t],n,o,r)}useContextCallback(t,n){c.useDebugValue(t);const o=pe(n??nt);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 $b(){const[,e]=c.useState({});return c.useCallback(()=>{e({})},[])}const Hb={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 Ds extends Co{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:Ed(),nested:r,triggerElements:i},Hb);Ue(this,"syncOpenEvent",(n,o)=>{(!n||!this.state.open||o!=null&&J0(o))&&(this.context.dataRef.current.openEvent=n?o:void 0)});Ue(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)});Ue(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 Hd(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 Ds({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),he(()=>{const h={open:a,floatingId:r,referenceElement:l,floatingElement:u};Ne(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 dn(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),he(()=>{if(!e&&s&&o!=="ending"&&n){const a=Ct.request(()=>{r("ending")});return()=>{Ct.cancel(a)}}},[e,s,o,n]),he(()=>{if(!e||t)return;const a=Ct.request(()=>{r(void 0)});return()=>{Ct.cancel(a)}},[t,e]),he(()=>{if(!e||!t)return;e&&s&&o!=="idle"&&r("starting");const a=Ct.request(()=>{r("idle")});return()=>{Ct.cancel(a)}},[t,e,s,o]),{mounted:s,setMounted:i,transitionStatus:o}}function _s(e,t=!1){const n=Hn();return pe((o,r=null)=>{n.cancel();const s=en(e);if(s==null)return;const i=s,a=()=>{Dt.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 Tt(e){const{enabled:t=!0,open:n,ref:o,onComplete:r}=e,s=pe(r),i=_s(o,n);c.useEffect(()=>{if(!t)return;const a=new AbortController;return i(s,a.signal),()=>{a.abort()}},[t,n,s,i])}const ar={tabIndex:-1,[_i]:""};function jd(e){return t=>t==="touch"?e.current:!0}function Da(e,t=!1){const n=En(),o=Tn()!=null,r=gt(()=>e(n,o)).current;return Hd({popupStore:r,treatPopupAsFloatingElement:t,floatingRootContext:r.state.floatingRootContext,floatingId:n,nested:o,onOpenChange:r.setOpen}),r}function Ls({handle:e,store:t}){return he(()=>e.attachStore(t),[e,t]),null}function jb(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 Fs(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 _a(e){let t=!1;return e.preventUnmountOnClose=()=>{t=!0},()=>t}function Bb(e,t,n,o={}){var d,p,f;const r=n.reason,s=r===it,i=t&&r===co,a=!t&&(r===Ht||r===rr),l=_a(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),Fs(y,t,n.trigger,l()),e.update(y)};s?Dt.flushSync(u):u()}function zs(e,t,n,o){const r=n.useState("isMountedByTrigger",e),s=jb(e,n),i=pe(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 he(()=>{r&&n.update({activeTriggerElement:t.current,...o})},[r,n,t,...Object.values(o)]),{registerTrigger:a,isMountedByThisTrigger:r}}function Vs(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");he(()=>{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=ke(Rt);e.setOpen(!1,f),f.isCanceled||e.update({activeTriggerId:null,activeTriggerElement:null})}})},[r,e,s,i,a,n])}function $s(e,t,n){const{mounted:o,setMounted:r,transitionStatus:s}=dn(e),i=t.useState("preventUnmountingOnClose"),a=e?!1:i;t.useSyncedValues({mounted:o,transitionStatus:s,preventUnmountingOnClose:a});const l=pe(()=>{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 Tt({enabled:o&&!e&&!a,open:e,ref:t.context.popupRef,onComplete(){e||l()}}),{forceUnmount:l,transitionStatus:s}}function Hs(e,t){e.useSyncedValues(t),he(()=>()=>{e.update({activeTriggerProps:Ke,inactiveTriggerProps:Ke,popupProps:Ke})},[e])}function Bd(e,t){he(()=>{!t&&e.state.openMethod!==null&&e.set("openMethod",null)},[t,e]),he(()=>()=>{e.state.openMethod!==null&&e.set("openMethod",null)},[e])}class Eo{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 Wb(){return new Ds({open:!1,transitionStatus:void 0,floatingElement:null,referenceElement:null,triggerElements:new Eo,floatingId:void 0,syncOnly:!1,nested:!1,onOpenChange:void 0})}function js(){return{open:!1,openProp:void 0,mounted:!1,transitionStatus:void 0,floatingRootContext:Wb(),floatingId:void 0,triggerCount:0,preventUnmountingOnClose:!1,payload:void 0,activeTriggerId:null,activeTriggerElement:null,triggerIdProp:void 0,popupElement:null,positionerElement:null,activeTriggerProps:Ke,inactiveTriggerProps:Ke,popupProps:Ke}}function La(e,t,n=!1){return new Ds({open:!1,transitionStatus:void 0,floatingElement:null,referenceElement:null,triggerElements:e,floatingId:t,syncOnly:!0,nested:n,onOpenChange:void 0})}const Uo=e=>e.triggerIdProp??e.activeTriggerId,Fa=e=>e.openProp??e.open,bl=e=>{var n;return(((n=e.popupElement)==null?void 0:n.id)??e.floatingId)||void 0};function Wd(e,t){return t!==void 0&&Fa(e)&&Uo(e)===t}function Ub(e,t){return Wd(e,t)?!0:t!==void 0&&Fa(e)&&Uo(e)==null&&e.triggerCount===1}const Bs={open:Fa,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:Uo,activeTriggerElement:e=>e.mounted?e.activeTriggerElement:null,popupId:bl,isTriggerActive:(e,t)=>t!==void 0&&Uo(e)===t,isOpenedByTrigger:(e,t)=>Wd(e,t),isMountedByTrigger:(e,t)=>t!==void 0&&Uo(e)===t&&e.mounted,triggerProps:(e,t)=>t?e.activeTriggerProps:e.inactiveTriggerProps,triggerPopupId:(e,t)=>Ub(e,t)?bl(e):void 0,popupProps:e=>e.popupProps,popupElement:e=>e.popupElement,positionerElement:e=>e.positionerElement};function Ws(e){const t=c.useCallback(o=>e===void 0?nt:e.subscribeStore(o),[e]),n=c.useCallback(()=>e===void 0?void 0:e.store,[e]);return Ns.useSyncExternalStore(t,n,()=>e==null?void 0:e.serverStore)}function Gb(e){const{open:t=!1,onOpenChange:n,elements:o={}}=e,r=En(),s=Tn()!=null,i=gt(()=>new Ds({open:t,transitionStatus:void 0,onOpenChange:n,referenceElement:o.reference??null,floatingElement:o.floating??null,triggerElements:new Eo,floatingId:r,syncOnly:!1,nested:s})).current;return he(()=>{const a={open:t,floatingId:r};o.reference!==void 0&&(a.referenceElement=o.reference,a.domReferenceElement=Ne(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 qb(e){return Yb(e,e.rootContext)}function Yb(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=In(o),b=c.useMemo(()=>({reference:r,floating:s,domReference:i}),[r,s,i]),v=wb({...e,elements:{...b,...u&&{reference:u}}}),x=Ne(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(N=>{const O=Ne(N)?{getBoundingClientRect:()=>N.getBoundingClientRect(),getClientRects:()=>N.getClientRects(),contextElement:N}:N;d(O),v.refs.setReference(O)},[v.refs]),R=c.useCallback(N=>{(Ne(N)||N===null)&&(g.current=N,f(N)),(Ne(v.refs.reference.current)||v.refs.reference.current===null||N!==null&&!Ne(N))&&v.refs.setReference(N)},[v.refs,f]),C=c.useCallback(N=>{h(N),v.refs.setFloating(N)},[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 he(()=>{i&&(g.current=i)},[i]),he(()=>{t.context.dataRef.current.floatingContext=E;const N=m==null?void 0:m.nodesRef.current.find(O=>O.id===n);N&&(N.context=E)}),c.useMemo(()=>({...v,context:E,refs:k,elements:T,rootStore:t}),[v,k,T,E,t])}const Si=ma&&Kt;function Ud(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=ot();c.useEffect(()=>{const f=r.select("domReferenceElement");if(!n)return;const y=Xe(f);function h(){const b=r.select("domReferenceElement");!r.select("open")&&Ye(b)&&b===pt(Ie(b))&&(a.current=!0)}function g(){u.current=!0}function m(){u.current=!1}return Xt(Ae(y,"blur",h),Si&&Ae(y,"keydown",g,!0),Si&&Ae(y,"pointerdown",m,!0))},[r,n]),c.useEffect(()=>{if(!n)return;function f(y){if(y.reason===Ht||y.reason===rr){const h=r.select("domReferenceElement");Ne(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=at(y.nativeEvent);if(Ne(g)){if(Si&&!y.relatedTarget){if(!u.current&&!ks(g))return}else if(!td(g))return}const m=Jr(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,ke(co,b,v));return}d.start(x,()=>{a.current||r.setOpen(!0,ke(co,b,v))})},onBlur(y){f();const h=y.relatedTarget,g=y.nativeEvent,m=Ne(h)&&h.hasAttribute(Zo("focus-guard"))&&h.getAttribute("data-type")==="outside";d.start(0,()=>{var w;const b=r.select("domReferenceElement"),v=pt(Ie(b));!h&&v===b||ve((w=i.current.floatingContext)==null?void 0:w.refs.floating.current,v)||ve(b,v)||m||Jr(h??v,r.context.triggerElements)||r.setOpen(!1,ke(co,g))})}}},[i,o,r,d]);return c.useMemo(()=>n?{reference:p,trigger:p}:{},[n,p])}class za{constructor(){Ue(this,"dispose",()=>{this.openChangeTimeout.clear(),this.restTimeout.clear()});Ue(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 _t,this.restTimeout=new _t,this.handleCloseOptions=void 0}static create(){return new za}}const rs=new WeakMap;function ss(e){var n,o,r;if(!e.performedPointerEventsMutation)return;const t=e.pointerEventsScopeElement;t&&rs.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"),rs.delete(t)),e.performedPointerEventsMutation=!1,e.pointerEventsScopeElement=null,e.pointerEventsReferenceElement=null,e.pointerEventsFloatingElement=null}function Gd(e,t){const{scopeElement:n,referenceElement:o,floatingElement:r}=t,s=rs.get(n);s&&s!==e&&ss(s),ss(e),e.performedPointerEventsMutation=!0,e.pointerEventsScopeElement=n,e.pointerEventsReferenceElement=o,e.pointerEventsFloatingElement=r,rs.set(n,e),n.style.pointerEvents="none",o.style.pointerEvents="auto",r.style.pointerEvents="auto"}function Va(e){const t=e.context.dataRef.current,n=gt(()=>t.hoverInteractionState??za.create()).current;return t.hoverInteractionState||(t.hoverInteractionState=n),ga(t.hoverInteractionState.disposeEffect),t.hoverInteractionState}function $a(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=In(),p=Tn(),f=Va(s),y=ot(),h=pe(()=>{var b;return nd((b=u.current.openEvent)==null?void 0:b.type,f.interactedInside)}),g=pe(()=>{var b;return o1((b=u.current.openEvent)==null?void 0:b.type)}),m=pe(()=>{ss(f)});he(()=>{i||(f.pointerType=void 0,f.restTimeoutPending=!1,f.interactedInside=!1,m())},[i,f,m]),c.useEffect(()=>m,[m]),he(()=>{var b,v,x,w,S;if(n&&i&&(b=f.handleCloseOptions)!=null&&b.blockPointerEvents&&g()&&Ne(l)&&a){const R=l,C=a,k=Ie(a),T=(x=(v=d==null?void 0:d.nodesRef.current.find(D=>D.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,N=T!==C?T:null,O=((S=(w=f.handleCloseOptions)==null?void 0:w.getScope)==null?void 0:S.call(w))??E??N??R.closest("[data-rootownerid]")??k.body;return Gd(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&&Cn(d.nodesRef.current,p).length>0)}function v(k){const T=xn(o,"close",f.pointerType),E=()=>{s.setOpen(!1,ke(it,k)),d==null||d.events.emit("floating.closed",k)};T?f.openChangeTimeout.start(T,E):(f.openChangeTimeout.clear(),E())}function x(k){const T=at(k);if(!t1(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(Jr(k.relatedTarget,s.context.triggerElements))return;const T=((O=u.current.floatingContext)==null?void 0:O.nodeId)??r,E=k.relatedTarget;if(!(d&&T&&Ne(E)&&Cn(d.nodesRef.current,T,!1).some(D=>{var A;return ve((A=D.context)==null?void 0:A.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,ke(it,k)),d.events.emit("floating.closed",k)})}const C=a;return Xt(C&&Ae(C,"mouseenter",w),C&&Ae(C,"mouseleave",S),C&&Ae(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 Xb={current:null};function Ha(e,t={}){var z;const{enabled:n=!0,delay:o=0,handleClose:r=null,mouseOnly:s=!1,restMs:i=0,move:a=!0,triggerElementRef:l=Xb,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=In(u),x=Va(g),w=c.useRef(!1),S=st(r),R=st(o),C=st(i),k=st(n),T=st(y),E=st(f),N=pe(()=>{var F;return nd((F=m.current.openEvent)==null?void 0:F.type,x.interactedInside)}),O=pe(()=>{var F;return((F=T.current)==null?void 0:F.call(T))!==!1}),D=pe((F,I,_)=>{const M=g.context.triggerElements;if(M.hasElement(I))return!F||!ve(F,I);if(!Ne(_))return!1;const L=_;return M.hasMatchingElement(H=>ve(H,L))&&(!F||!ve(F,L))}),A=pe(()=>{if(!x.handler)return;Ie(g.select("domReferenceElement")).removeEventListener("mousemove",x.handler),x.handler=void 0}),P=pe(()=>{ss(x)});return d&&(x.handleCloseOptions=(z=S.current)==null?void 0:z.__options),c.useEffect(()=>A,[A]),c.useEffect(()=>{if(!n)return;function F(I){I.open?w.current=!1:(w.current=I.reason===it,A(),x.openChangeTimeout.clear(),x.restTimeout.clear(),x.blockMouseMove=!0,x.restTimeoutPending=!1)}return b.on("openchange",F),()=>{b.off("openchange",F)}},[n,b,x,A]),c.useEffect(()=>{if(!n)return;function F($,U=!0){const G=xn(R.current,"close",x.pointerType);G?x.openChangeTimeout.start(G,()=>{g.setOpen(!1,ke(it,$)),v==null||v.events.emit("floating.closed",$)}):U&&(x.openChangeTimeout.clear(),g.setOpen(!1,ke(it,$)),v==null||v.events.emit("floating.closed",$))}const I=l.current??(d?g.select("domReferenceElement"):null);if(!Ne(I))return;function _($){var Z;if(x.openChangeTimeout.clear(),x.blockMouseMove=!1,s&&!bn(x.pointerType))return;const U=Bc(C.current),G=xn(R.current,"open",x.pointerType),V=at($),X=$.currentTarget??null,j=g.select("domReferenceElement");let K=X;if(Ne(V)&&!g.context.triggerElements.hasElement(V)){for(const J of g.context.triggerElements.elements())if(ve(J,V)){K=J;break}}Ne(X)&&Ne(j)&&!g.context.triggerElements.hasElement(X)&&ve(X,j)&&(K=j);const de=K==null?!1:D(j,K,V),se=g.select("open"),ne=((Z=E.current)==null?void 0:Z.call(E))??g.select("transitionStatus")==="ending",re=!se&&ne&&w.current,q=!de&&Ne(K)&&Ne(j)&&ve(j,K)&&re,ie=U>0&&!G,ge=de&&(se||re)||q,ue=!se||de;if(ge){O()&&g.setOpen(!0,ke(it,$,K));return}ie||(G?x.openChangeTimeout.start(G,()=>{ue&&O()&&g.setOpen(!0,ke(it,$,K))}):ue&&O()&&g.setOpen(!0,ke(it,$,K)))}function M($){if(N()){P();return}A();const U=g.select("domReferenceElement"),G=Ie(U);x.restTimeout.clear(),x.restTimeoutPending=!1;const V=m.current.floatingContext??(p==null?void 0:p());if(Jr($.relatedTarget,g.context.triggerElements))return;if(S.current&&V){g.select("open")||x.openChangeTimeout.clear();const j=l.current;x.handler=S.current({...V,tree:v,x:$.clientX,y:$.clientY,onClose(){P(),A(),k.current&&!N()&&j===g.select("domReferenceElement")&&F($,!0)}}),G.addEventListener("mousemove",x.handler),x.handler($);return}(x.pointerType==="touch"?!ve(g.select("floatingElement"),$.relatedTarget):!0)&&F($)}function L($){ve(I,$.relatedTarget)||(x.openChangeTimeout.clear(),x.restTimeout.clear(),x.restTimeoutPending=!1)}const H=h?Ae(I,"mouseout",L):void 0;return a?Xt(Ae(I,"mousemove",_,{once:!0}),Ae(I,"mouseenter",_),Ae(I,"mouseleave",M),H):Xt(Ae(I,"mouseenter",_),Ae(I,"mouseleave",M),H)},[A,P,m,R,g,n,S,x,d,D,N,s,a,C,l,v,k,p,E,O,h]),c.useMemo(()=>{if(!n)return;function F(I){x.pointerType=I.pointerType}return{onPointerDown:F,onPointerEnter:F,onMouseMove(I){var V,X,j;const{nativeEvent:_}=I,M=I.currentTarget,L=g.select("domReferenceElement"),H=g.select("open"),$=D(L,M,I.target);if(s&&!bn(x.pointerType))return;if(H&&$&&((V=x.handleCloseOptions)!=null&&V.blockPointerEvents)){const K=g.select("floatingElement");if(K){const de=((j=(X=x.handleCloseOptions)==null?void 0:X.getScope)==null?void 0:j.call(X))??M.ownerDocument.body;Gd(x,{scopeElement:de,referenceElement:M,floatingElement:K})}}const U=Bc(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,N())return;const K=g.select("open");!x.blockMouseMove&&(!K||$)&&O()&&g.setOpen(!0,ke(it,_,M))}x.pointerType==="touch"?Dt.flushSync(()=>{G()}):$&&H?G():(x.restTimeoutPending=!0,x.restTimeout.start(U,G))}}},[n,x,N,D,s,g,C,O])}const Kb="Escape";function vl(e){return Kt&&e.movementX===0&&e.movementY===0}function Us(e,t,n){switch(e){case"vertical":return t;case"horizontal":return n;default:return t||n}}function Rr(e,t){return Us(t,e===ed||e===xa,e===Ss||e===Rs)}function Ri(e,t,n){return Us(t,e===xa,n?e===Ss:e===Rs)||e==="Enter"||e===" "||e===""}function Zb(e,t,n){return Us(t,n?e===Ss:e===Rs,e===xa)}function Qb(e,t,n,o){const r=n?e===Rs:e===Ss,s=e===ed;return t==="both"||t==="horizontal"&&o?e===Kb:Us(t,r,s)}function qd(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"),N=C.context.dataRef,O=es(T),D=Li(E),A=st(O),P=Tn(),z=In(w),F=c.useRef(f),I=c.useRef(i??-1),_=c.useRef(null),M=c.useRef(!0),L=pe(W=>{r(I.current===-1?null:I.current,W)}),H=c.useRef(!!T),$=c.useRef(k),U=c.useRef(!1),G=c.useRef(!1),V=c.useRef(null),X=st(g),j=st(k),K=st(i),de=st(x),se=Hn(),ne=Hn(),re=pe(()=>{function W(ee){p?z==null||z.events.emit("virtualfocus",ee):V.current=Br(ee,{sync:U.current,preventScroll:!0})}const Q=n.current[I.current],fe=G.current;Q&&W(Q),(U.current?ee=>ee():ee=>se.request(ee))(()=>{var ye;const ee=n.current[I.current]||Q;if(!ee)return;Q||W(ee),J&&(fe||!M.current)&&((ye=ee.scrollIntoView)==null||ye.call(ee,{block:"nearest",inline:"nearest"}))})});he(()=>{N.current.orientation=m},[N,m]),he(()=>{s&&(k&&T?(I.current=i??-1,F.current&&i!=null&&(G.current=!0,L())):H.current&&(I.current=-1,L()))},[s,k,T,i,L]),he(()=>{if(s){if(!k){U.current=!1;return}if(T)if(o==null){if(U.current=!1,K.current!=null)return;if(H.current&&(I.current=-1,re()),(!$.current||!H.current)&&F.current&&(_.current!=null||F.current===!0&&_.current==null)){let W=0;const Q=()=>{n.current[0]==null?(W<2&&(W?te=>ne.request(te):queueMicrotask)(Q),W+=1):(I.current=_.current==null||Ri(_.current,m,d)||u?jr(n):Vi(n),_.current=null,L())};Q()}}else Wo(n.current,o)||(I.current=o,re(),G.current=!1)}},[s,k,T,o,K,u,n,m,d,L,re,ne]),he(()=>{var ee,me;if(!s||T||!z||p||!H.current)return;const W=z.nodesRef.current,Q=(me=(ee=W.find(ye=>ye.id===P))==null?void 0:ee.context)==null?void 0:me.elements.floating,fe=pt(Ie(E??Q??null)),te=W.some(ye=>ye.context&&ve(ye.context.elements.floating,fe));Q&&!te&&M.current&&Q.focus({preventScroll:!0})},[s,T,E,z,P,p]),he(()=>{$.current=k,H.current=!!T}),he(()=>{k||(_.current=null,F.current=f)},[k,f]);const q=o!=null,ie=pe(W=>{if(!j.current)return;const Q=n.current.indexOf(W.currentTarget);Q!==-1&&(I.current!==Q||o!==Q)&&(I.current=Q,L(W))}),ge=pe(()=>{var W,Q,fe;return b??((fe=(Q=(W=z==null?void 0:z.nodesRef.current.find(te=>te.id===P))==null?void 0:W.context)==null?void 0:Q.dataRef)==null?void 0:fe.current.orientation)}),ue=pe(()=>jr(n,X.current)),Z=pe(W=>{if(M.current=!1,U.current=!0,W.which===229||!j.current&&W.currentTarget===A.current)return;if(u&&Qb(W.key,m,d,R)){Rr(W.key,ge())||zt(W),C.setOpen(!1,ke(Fi,W.nativeEvent)),Ye(E)&&(p?z==null||z.events.emit("virtualfocus",E):E.focus());return}const Q=I.current,fe=jr(n,g),te=Vi(n,g);if(D||(W.key==="Home"&&(zt(W),I.current=fe,L(W)),W.key==="End"&&(zt(W),I.current=te,L(W))),S!=null){const ee=S(W,I.current,n,m,l,d,g,fe,te);if(ee!=null&&(I.current=ee,L(W)),m==="both")return}if(Rr(W.key,m)){if(zt(W),k&&!p&&pt(W.currentTarget.ownerDocument)===W.currentTarget){I.current=Ri(W.key,m,d)?fe:te,L(W);return}Ri(W.key,m,d)?l?Q>=te?a&&Q!==n.current.length?I.current=-1:(U.current=!1,I.current=fe):I.current=nn(n.current,{startingIndex:Q,disabledIndices:g}):I.current=Math.min(te,nn(n.current,{startingIndex:Q,disabledIndices:g})):l?Q<=fe?a&&Q!==-1?I.current=n.current.length:(U.current=!1,I.current=te):I.current=nn(n.current,{startingIndex:Q,decrement:!0,disabledIndices:g}):I.current=Math.max(fe,nn(n.current,{startingIndex:Q,decrement:!0,disabledIndices:g})),Wo(n.current,I.current)&&(I.current=-1),L(W)}}),J=c.useMemo(()=>({onFocus(Q){U.current=!0,ie(Q)},onClick:({currentTarget:Q})=>Q.focus({preventScroll:!0}),onMouseMove(Q){vl(Q)||(U.current=!0,G.current=!1,y&&ie(Q))},onPointerLeave(Q){var te;if(!j.current||!M.current||Q.pointerType==="touch")return;U.current=!0;const fe=Q.relatedTarget;if(!(!y||n.current.includes(fe))&&de.current&&((te=V.current)==null||te.call(V),V.current=null,I.current=-1,L(Q),!p)){const ee=A.current,me=pt(Ie(ee));ee&&ve(ee,me)&&ee.focus({preventScroll:!0})}}}),[ie,j,A,y,n,L,de,p]),ae=c.useMemo(()=>p&&k&&q&&{"aria-activedescendant":`${v}-${o}`},[p,k,q,v,o]),ce=c.useMemo(()=>({"aria-orientation":m==="both"?void 0:m,...D?{}:ae,onKeyDown(W){if(W.key==="Tab"&&W.shiftKey&&k&&!p){const Q=at(W.nativeEvent);if(Q&&!ve(A.current,Q))return;zt(W),C.setOpen(!1,ke(wn,W.nativeEvent)),Ye(E)&&E.focus();return}Z(W)},onPointerMove(W){vl(W)||(M.current=!0)}}),[ae,Z,A,m,D,C,k,p,E]),oe=c.useMemo(()=>{function W(te){C.setOpen(!0,ke(Fi,te.nativeEvent,te.currentTarget))}function Q(te){f==="auto"&&ba(te.nativeEvent)&&(F.current=!p)}function fe(te){F.current=f,f==="auto"&&va(te.nativeEvent)&&(F.current=!0)}return{onKeyDown(te){const ee=C.select("open");M.current=!1;const me=te.key.startsWith("Arrow"),ye=Zb(te.key,ge(),d),De=Rr(te.key,m),Me=(u?ye:De)||te.key==="Enter"||te.key.trim()==="";if(p&&ee)return Z(te);if(!(!ee&&!h&&me)){if(Me){const Ge=Rr(te.key,ge());_.current=u&&Ge?null:te.key}if(u){ye&&(zt(te),ee?(I.current=ue(),L(te)):W(te));return}De&&(K.current!=null&&(I.current=K.current),zt(te),!ee&&h?W(te):Z(te),ee&&L(te))}},onFocus(te){C.select("open")&&!p&&(I.current=-1,L(te))},onPointerDown:fe,onPointerEnter:fe,onMouseDown:Q,onClick:Q}},[Z,f,ue,u,L,C,h,m,ge,d,K,p]),le=c.useMemo(()=>({...ae,...oe}),[ae,oe]);return c.useMemo(()=>s?{reference:le,floating:ce,item:J,trigger:oe}:{},[s,le,ce,oe,J])}function Yd(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=ot(),h=c.useRef(""),g=c.useRef(d??r??-1),m=c.useRef(null),b=pe(w=>{function S(A){return o==null?void 0:o.current[A]}function R(A){const P=S(A);return P&&!Ms(P)||P!=null&&P.matches(":disabled")?!1:i==null||!ns($t,A,i)}function C(A,P,z=0){if(A.length===0)return-1;const F=(z%A.length+A.length)%A.length,I=P.toLowerCase();for(let _=0;_<A.length;_+=1){const M=(F+_)%A.length,L=A[M];if(!(!(L!=null&&L.toLowerCase().startsWith(I))||!R(M)))return M}return-1}const k=n.current;if(h.current.length>0&&w.key===" "&&(zt(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!==" "&&(zt(w),a==null||a(!0));const T=h.current==="";T&&(g.current=d??r??-1),k.every((A,P)=>{var z,F;return A&&R(P)?((z=A[0])==null?void 0:z.toLowerCase())!==((F=A[1])==null?void 0:F.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,D=C(k,h.current,O);D!==-1?(s==null||s(D),m.current=D):w.key!==" "&&(h.current="",a==null||a(!1))}),v=pe(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))});he(()=>{!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 xl=.1,Jb=xl*xl,Ze=.5;function kr(e,t,n,o,r,s){return o>=t!=s>=t&&e<=(r-n)*(t-o)/(s-o)+n}function Cr(e,t,n,o,r,s,i,a,l,u){let d=!1;return kr(e,t,n,o,r,s)&&(d=!d),kr(e,t,r,s,i,a)&&(d=!d),kr(e,t,i,a,l,u)&&(d=!d),kr(e,t,l,u,n,o)&&(d=!d),d}function ev(e,t,n){return e>=n.x&&e<=n.x+n.width&&t>=n.y&&t<=n.y+n.height}function Er(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 ja(e={}){const{blockPointerEvents:t=!1}=e,n=new _t,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*Jb;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=at(x),T=x.type==="mouseleave",E=ve(S,k),N=ve(w,k);if(E&&(f=!0,!T))return;if(N&&(f=!1,!T)){f=!0;return}if(T&&Ne(x.relatedTarget)&&ve(S,x.relatedTarget))return;function O(){return!!(d&&Cn(d.nodesRef.current,u).length>0)}function D(){O()||b()}if(O())return;const A=w.getBoundingClientRect(),P=S.getBoundingClientRect(),z=r>P.right-P.width/2,F=s>P.bottom-P.height/2,I=P.width>A.width,_=P.height>A.height,M=(I?A:P).left,L=(I?A:P).right,H=(_?A:P).top,$=(_?A:P).bottom;if(p==="top"&&s>=A.bottom-1||p==="bottom"&&s<=A.top+1||p==="left"&&r>=A.right-1||p==="right"&&r<=A.left+1){D();return}let U=!1;switch(p){case"top":U=Er(R,C,M,A.top+1,L,P.bottom-1);break;case"bottom":U=Er(R,C,M,P.top+1,L,A.bottom-1);break;case"left":U=Er(R,C,P.right-1,$,A.left+1,H);break;case"right":U=Er(R,C,A.right-1,$,P.left+1,H);break}if(U)return;if(f&&!ev(R,C,A)){D();return}if(!T&&m(R,C)){D();return}let G=!1;switch(p){case"top":{const V=I?Ze/2:Ze*4,X=I||z?r+V:r-V,j=I?r-V:z?r+V:r-V,K=s+Ze+1,de=z||I?P.bottom-Ze:P.top,se=z?I?P.bottom-Ze:P.top:P.bottom-Ze;G=Cr(R,C,X,K,j,K,P.left,de,P.right,se);break}case"bottom":{const V=I?Ze/2:Ze*4,X=I||z?r+V:r-V,j=I?r-V:z?r+V:r-V,K=s-Ze,de=z||I?P.top+Ze:P.bottom,se=z?I?P.top+Ze:P.bottom:P.top+Ze;G=Cr(R,C,X,K,j,K,P.left,de,P.right,se);break}case"left":{const V=_?Ze/2:Ze*4,X=_||F?s+V:s-V,j=_?s-V:F?s+V:s-V,K=r+Ze+1,de=F||_?P.right-Ze:P.left,se=F?_?P.right-Ze:P.left:P.right-Ze;G=Cr(R,C,de,P.top,se,P.bottom,K,X,K,j);break}case"right":{const V=_?Ze/2:Ze*4,X=_||F?s+V:s-V,j=_?s-V:F?s+V:s-V,K=r-Ze,de=F||_?P.left+Ze:P.right,se=F?_?P.left+Ze:P.right:P.left+Ze;G=Cr(R,C,K,X,K,j,de,P.top,se,P.bottom);break}}G?f||n.start(40,D):D()}};return o.__options={...e,blockPointerEvents:t},o}const Xd=c.createContext(void 0);function cr(e){const t=c.useContext(Xd);if(t===void 0&&!e)throw new Error($e(47));return t}const tv={...Bs,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 nv extends Co{constructor(n,o,r){const s=new Eo;super(ov(n,s,o,r),rv(s),tv);Ue(this,"setOpen",(n,o)=>{var p,f;const r=o.reason===it,s=o.reason===Ht&&o.event.detail===0,i=!n&&(o.reason===rr||o.reason==null),a=_a(o),l=this.select("activeTriggerId");if(!n&&o.reason===od&&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};Fs(y,n,o.trigger,a()),this.update(y)};r?(this.set("stickIfOpen",!0),this.context.stickIfOpenTimeout.start(wd,()=>{this.set("stickIfOpen",!1)}),Dt.flushSync(u)):u();let d;s?d="click":i?d="dismiss":o.reason===wn&&(d="focus"),this.set("instantType",d)})}}function ov(e,t,n,o=!1){const r={...js(),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=La(t,n,o),r}function rv(e){return{popupRef:c.createRef(),onOpenChange:void 0,onOpenChangeComplete:void 0,triggerFocusTargetRef:c.createRef(),beforeContentFocusGuardRef:c.createRef(),stickIfOpenTimeout:new _t,triggerElements:e}}function wl({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=sv(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),Bd(d,p),Vs(d);const{forceUnmount:h}=$s(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,ke(Es))}),[h,d]);const g=p||f;return Y.jsxs(Xd.Provider,{value:d,children:[a&&Y.jsx(Ls,{handle:a,store:d}),g&&Y.jsx(iv,{store:d,modal:i}),typeof t=="function"?t({payload:y}):t]})}function SE(e){return cr(!0)?Y.jsx(wl,{props:e}):Y.jsx(Id,{children:Y.jsx(wl,{props:e})})}function sv(e,t){const n=Da((o,r)=>new nv(t,o,r));return c.useEffect(()=>n.context.stickIfOpenTimeout.disposeEffect(),[n]),n}function iv({store:e,modal:t}){const n=e.useState("floatingRootContext"),o=ir(n,{outsidePressEvent:{mouse:t==="trap-focus"?"sloppy":"intentional",touch:"sloppy"}}),r=o.reference,s=o.floating;return Hs(e,{activeTriggerProps:r,inactiveTriggerProps:r,popupProps:s}),null}let is=(function(e){return e.startingStyle="data-starting-style",e.endingStyle="data-ending-style",e})({});const av={"data-starting-style":""},cv={"data-ending-style":""},jt={transitionStatus(e){return e==="starting"?av:e==="ending"?cv:null}};(function(e){return e.open="data-open",e.closed="data-closed",e[e.startingStyle=is.startingStyle]="startingStyle",e[e.endingStyle=is.endingStyle]="endingStyle",e.anchorHidden="data-anchor-hidden",e.side="data-side",e.align="data-align",e})({});const lv={"data-popup-open":""},uv={"data-popup-open":"","data-pressed":""},dv={"data-open":""},fv={"data-closed":""},pv={"data-anchor-hidden":""},Gs={open(e){return e?lv:null}},Qo={open(e){return e?uv:null}},qs={open(e){return e?dv:fv},anchorHidden(e){return e?pv:null}},Ys={...qs,...jt},hv=300;function rt(e){return En(e,"base-ui")}function Kd(e,t){const n=c.useRef(null);function o(s){Dt.flushSync(()=>{e.setOpen(!1,ke(wn,s.nativeEvent,s.currentTarget))});const i=M1(n.current);i==null||i.focus()}function r(s){var a;const i=e.select("positionerElement");if(i&&uo(s,i))(a=e.context.beforeContentFocusGuardRef.current)==null||a.focus();else{Dt.flushSync(()=>{e.setOpen(!1,ke(wn,s.nativeEvent,s.currentTarget))});let l=P1(e.context.triggerFocusTargetRef.current||t.current);for(;l!==null&&ve(i,l);){const u=l;if(l=Ea(l),l===u)break}l==null||l.focus()}}return{preFocusGuardRef:n,handlePreFocusGuardFocus:o,handleFocusTargetFocus:r}}function gv(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 Po(e,t){const n=c.useRef(e),o=pe(t);he(()=>{n.current!==e&&o(n.current),n.current=e},[e,o])}function Ba(e,t){const n=pe((s,i)=>{(typeof e=="function"?e():e)||t(i||(ws?"touch":""))}),{onClick:o,onPointerDown:r}=gv(n);return c.useMemo(()=>({onClick:o,onPointerDown:r}),[o,r])}function Zd(e){const[t,n]=c.useState(null),o=Ba(e,n);return Po(e,r=>{r&&!e&&n(null)}),c.useMemo(()=>({openMethod:t,triggerProps:o}),[t,o])}const RE=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=hv,closeDelay:f=0,id:y,...h}=t,g=cr(!0),b=Ws(l)??g;if(!b)throw new Error($e(74));const v=rt(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}=zs(v,C,b,{payload:u,disabled:i,openOnHover:d,closeDelay:f}),E=b.useState("openChangeReason"),N=b.useState("stickIfOpen"),O=b.useState("openMethod"),D=b.useState("focusManagerModal"),A=Ha(w,{enabled:!i&&d&&(O!=="touch"||E!==Ht),mouseOnly:!0,move:!1,handleClose:ja(),restMs:p,delay:{close:f},triggerElementRef:C,isActiveTrigger:x,isClosing:()=>b.select("transitionStatus")==="ending"}),P=Os(w,{stickIfOpen:N}),z=Ba(()=>b.select("open"),X=>{b.set("openMethod",X)}),F=b.useState("triggerProps",T),{getButtonProps:I,buttonRef:_}=Mt({disabled:i,native:a}),M={open(X){return X&&E===Ht?Qo.open(X):Gs.open(X)}},{preFocusGuardRef:L,handlePreFocusGuardFocus:H,handleFocusTargetFocus:$}=Kd(b,C),G=we("button",t,{state:{disabled:i,open:S},ref:[_,n,k,C],props:[P.reference,A,F,z,{[Pa]:"",id:v,"aria-haspopup":"dialog","aria-expanded":S,"aria-controls":R},h,I],stateAttributesMapping:M}),V=Y.jsx(c.Fragment,{children:G},v);return T&&!D?Y.jsxs(c.Fragment,{children:[Y.jsx(Rn,{ref:L,onFocus:H}),V,Y.jsx(Rn,{ref:b.context.triggerFocusTargetRef,onFocus:$})]}):V}),Qd=c.createContext(void 0);function mv(){const e=c.useContext(Qd);if(e===void 0)throw new Error($e(45));return e}const kE=c.forwardRef(function(t,n){const{keepMounted:o=!1,...r}=t;return cr().useState("mounted")||o?Y.jsx(Qd.Provider,{value:o,children:Y.jsx(Ts,{ref:n,...r})}):null});function lr(e){return fa(19)?e:e?"true":void 0}const Jd=c.createContext(void 0);function yv(){const e=c.useContext(Jd);if(!e)throw new Error($e(46));return e}const bv=c.createContext(void 0);function On(){const e=c.useContext(bv);return(e==null?void 0:e.direction)??"ltr"}const vv=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"}=kn(e,t)||{};if(u==null)return{};const f=ld(d),y={x:n,y:o},h=ka(r),g=Ra(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,N=Math.min(f[v],E),O=Math.min(f[x],E),D=N,A=k-m[g]-O,P=k/2-m[g]/2+T,z=cd(D,P,A),F=!l.arrow&&Mn(r)!=null&&P!==z&&s.reference[g]/2-(P<D?N:O)-m[g]/2<0,I=F?P<D?P-D:P-A:0;return{[h]:y[h]+I,data:{[h]:z,centerOffset:P-z-I,...F&&{alignmentOffset:I}},reset:F}}}),xv=(e,t)=>({...vv(e),options:[e,t]}),wv={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}}}},Sv={sideX:"left",sideY:"top"},Sl="--available-width",Rl="--available-height";function ef(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 kl(e,t,n){const{rects:o,placement:r}=e;return{side:ef(t,Nt(r),n),align:Mn(r)||"center",anchor:{width:o.reference.width,height:o.reference.height},positioner:{width:o.floating.width,height:o.floating.height}}}function Xs(e){return Rv(e,qb)}function Rv(e,t){var Je,lt;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",N=b.fallbackAxisSide||"end",O=(v==null?void 0:v.crossAxis)??!1,D=v==null?void 0:v.rootBoundary,A=typeof n=="function"?n:void 0,P=pe(A),z=A?P:n,F=st(n),I=st(m),M=On()==="rtl",L=C||{top:"top",right:"right",bottom:"bottom",left:"left","inline-end":M?"left":"right","inline-start":M?"right":"left"}[r],H=i==="center"?L:`${L}-${i}`;let $=u;typeof $=="number"?$={top:$,right:$,bottom:$,left:$}:$&&($={top:$.top||0,right:$.right||0,bottom:$.bottom||0,left:$.left||0});const U=1,G=r==="bottom"?U:0,V=r==="top"?U:0,X=r==="right"?U:0,j=r==="left"?U:0,K={boundary:l==="clipping-ancestors"?"clippingAncestors":l,padding:$},de=c.useRef(null),se=st(s),ne=st(a),re=typeof s!="function"?s:0,q=typeof a!="function"?a:0,ie=[];y&&ie.push(y),ie.push(Sb(Se=>{const We=kl(Se,r,M),tt=typeof se.current=="function"?se.current(We):se.current,ct=typeof ne.current=="function"?ne.current(We):ne.current;return{mainAxis:tt,crossAxis:ct,alignmentAxis:ct}},[re,q,M,r]));const ge=E==="none"&&T!=="shift",ue=!ge&&(d||O||T==="shift"),Z=T==="none"?null:Cb({...K,padding:{top:$.top+U+G,right:$.right+U+j,bottom:$.bottom+U+V,left:$.left+U+X},mainAxis:!O&&T==="flip",crossAxis:E==="flip"?"alignment":!1,fallbackAxisSideDirection:N}),J=ge?null:Rb({...K,rootBoundary:D,mainAxis:E!=="none",crossAxis:ue,limiter:d||O?void 0:kb(Se=>{if(!de.current)return{};const{width:We,height:tt}=de.current.getBoundingClientRect(),ct=At(Nt(Se.placement)),yt=ct==="y"?We:tt,vt=ct==="y"?$.left+$.right:$.top+$.bottom;return{offset:yt/2+vt/2}})},[K,d,O,D,$,E]);T==="shift"||E==="shift"||i==="center"?ie.push(J,Z):ie.push(Z,J),ie.push(Eb({...K,apply({elements:{floating:Se},availableWidth:We,availableHeight:tt,rects:ct}){if(!I.current)return;const yt=Se.style;yt.setProperty(Sl,`${We}px`),yt.setProperty(Rl,`${tt}px`);const vt=Xe(Se).devicePixelRatio||1,{x:Oe,y:He,width:qe,height:Ce}=ct.reference,je=(Math.round((Oe+qe)*vt)-Math.round(Oe*vt))/vt,dt=(Math.round((He+Ce)*vt)-Math.round(He*vt))/vt;yt.setProperty("--anchor-width",`${je}px`),yt.setProperty("--anchor-height",`${dt}px`)}}),xv(Se=>({element:de.current||Ie(Se.elements.floating).createElement("div"),padding:p,offsetParent:"floating"}),[p]),{name:"transformOrigin",fn(Se){var kc,Cc,Ec;const{elements:We,middlewareData:tt,placement:ct,rects:yt,y:vt}=Se,Oe=Nt(ct),He=At(Oe),qe=de.current,Ce=((kc=tt.arrow)==null?void 0:kc.x)||0,je=((Cc=tt.arrow)==null?void 0:Cc.y)||0,dt=(qe==null?void 0:qe.clientWidth)||0,Ft=(qe==null?void 0:qe.clientHeight)||0,xt=Ce+dt/2,kt=je+Ft/2,pn=Math.abs(((Ec=tt.shift)==null?void 0:Ec.y)||0),Do=yt.reference.height/2,_n=typeof s=="function"?s(kl(Se,r,M)):s,mr=pn>_n,hh={top:`${xt}px calc(100% + ${_n}px)`,bottom:`${xt}px ${-_n}px`,left:`calc(100% + ${_n}px) ${kt}px`,right:`${-_n}px ${kt}px`}[Oe],gh=`${xt}px ${yt.reference.y+Do-vt}px`;return We.floating.style.setProperty("--transform-origin",ue&&He==="y"&&mr?gh:hh),{}}},wv,w),he(()=>{!m&&g&&g.update({referenceElement:null,floatingElement:null,domReferenceElement:null,positionReference:null})},[m,g]);const ae=c.useMemo(()=>({elementResize:!f&&typeof ResizeObserver<"u",layoutShift:!f&&typeof IntersectionObserver<"u"}),[f]),{refs:ce,elements:oe,x:le,y:W,middlewareData:Q,update:fe,placement:te,context:ee,isPositioned:me,floatingStyles:ye}=t({rootContext:g,open:h?m:void 0,placement:H,middleware:ie,strategy:o,whileElementsMounted:h?void 0:(...Se)=>fl(...Se,ae),nodeId:x,externalTree:R}),{sideX:De,sideY:Me}=Q.adaptiveOrigin||Sv,Ge=me?o:"fixed",Le=c.useMemo(()=>{let Se;return me?w?Se={position:Ge,[De]:le,[Me]:W}:Se={...ye,position:Ge}:Se={position:Ge,top:0,left:0},Se[Sl]="100vw",Se[Rl]="100vh",me||(Se.opacity=0),Se},[w,Ge,De,le,Me,W,ye,me]),ze=c.useRef(null);he(()=>{if(!m)return;const Se=F.current,We=typeof Se=="function"?Se():Se,ct=(Cl(We)?We.current:We)||null||null;ct!==ze.current&&(ce.setPositionReference(ct),ze.current=ct)},[m,ce,z,F]),c.useEffect(()=>{if(!m)return;const Se=F.current;typeof Se!="function"&&Cl(Se)&&Se.current!==ze.current&&(ce.setPositionReference(Se.current),ze.current=Se.current)},[m,ce,z,F]),c.useEffect(()=>{if(h&&m&&oe.reference&&oe.floating)return fl(oe.reference,oe.floating,fe,ae)},[h,m,oe,fe,ae]);const et=Nt(te),Te=ef(r,et,M),be=Mn(te)||"center",Ve=!!((Je=Q.hide)!=null&&Je.referenceHidden);he(()=>{S&&m&&me&&et!==L&&k(et)},[S,m,me,et,L]);const Fe=c.useMemo(()=>{var Se,We;return{position:"absolute",top:(Se=Q.arrow)==null?void 0:Se.y,left:(We=Q.arrow)==null?void 0:We.x}},[Q.arrow]),Be=((lt=Q.arrow)==null?void 0:lt.centerOffset)!==0;return c.useMemo(()=>({positionerStyles:Le,arrowStyles:Fe,arrowRef:de,arrowUncentered:Be,side:Te,align:be,physicalSide:et,anchorHidden:Ve,refs:ce,context:ee,isPositioned:me,update:fe}),[Le,Fe,de,Be,Te,be,et,Ve,ce,ee,me,fe])}function Cl(e){return e!=null&&"current"in e}const Ks=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 Y.jsx("div",{ref:n,role:"presentation","data-base-ui-inert":"",...r,style:{position:"fixed",inset:0,userSelect:"none",WebkitUserSelect:"none",clipPath:s}})});function ur(e){return e==="starting"?D1:Ke}function Zs(e,t,{styles:n,transitionStatus:o,props:r,refs:s,hidden:i,inert:a=!1}){const l={...n};return a&&(l.pointerEvents="none"),we("div",e,{state:t,ref:s,props:[{role:"presentation",hidden:i,style:l},ur(o),r],stateAttributesMapping:qs})}let El={},Pl={},Ml="";function Qs(e,t){return or(e)?e:t}function Tl(e,t,n){return/hidden|clip/.test(e.getComputedStyle(Qs(t,n)).overflowY)}function kv(e){if(typeof document>"u")return!1;const t=Ie(e);return Xe(t).innerWidth-t.documentElement.clientWidth>0}function Cv(e){if(!(typeof CSS<"u"&&CSS.supports&&CSS.supports("scrollbar-gutter","stable"))||typeof document>"u")return!1;const n=Ie(e),o=n.documentElement,r=n.body,s=Qs(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 Ev(e){const t=Ie(e),n=t.documentElement,o=t.body,r=Qs(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 Pv(e){var y;const t=Ie(e),n=t.documentElement,o=t.body,r=Xe(n);let s=0,i=0,a=!1;const l=Ct.create();if(Kt&&(((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,El={scrollbarGutter:n.style.scrollbarGutter,overflowY:n.style.overflowY,overflowX:n.style.overflowX},Ml=n.style.scrollBehavior,Pl={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),N=Qs(n,o);if(a=Cv(e),a){n.style.scrollbarGutter=v,N.style.overflowY="hidden",N.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,El),Object.assign(o.style,Pl),a||(n.scrollTop=s,n.scrollLeft=i,n.removeAttribute("data-base-ui-scroll-locked"),n.style.scrollBehavior=Ml)}function p(){d(),l.request(u)}u();const f=Ae(r,"resize",p);return()=>{l.cancel(),d(),typeof r.removeEventListener=="function"&&f()}}class Mv{constructor(){Ue(this,"lockCount",0);Ue(this,"restore",null);Ue(this,"timeoutLock",_t.create());Ue(this,"timeoutUnlock",_t.create());Ue(this,"release",()=>{this.lockCount-=1,this.lockCount===0&&this.restore&&this.timeoutUnlock.start(0,this.unlock)});Ue(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=Ie(t),o=n.documentElement,r=n.body,s=Xe(o);if(Tl(s,o,r)){const a=new s.MutationObserver(()=>{Tl(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=ws||!kv(t);this.restore=i?Ev(t):Pv(t)}}const Tv=new Mv;function tf(e=!0,t=null){he(()=>{if(e)return Tv.acquire(t)},[e,t])}const Iv=20;function Wa(e,t,n,o){const[r,s]=c.useState(!1);he(()=>{if(!e||!t||n==null){s(!1);return}const i=Ie(n).documentElement.clientWidth,a=n.offsetWidth;s(i>0&&a>0&&a>=i-Iv)},[e,t,n]),tf(e&&(!t||r),o)}const CE=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=Ma,...v}=t,x=cr(),w=mv(),S=Ia(),R=x.useState("floatingRootContext"),C=x.useState("mounted"),k=x.useState("open"),T=x.useState("openChangeReason"),E=x.useState("activeTriggerElement"),N=x.useState("modal"),O=x.useState("openMethod"),D=x.useState("positionerElement"),A=x.useState("instantType"),P=x.useState("transitionStatus"),z=x.useState("adaptiveOrigin"),F=c.useRef(null),I=_s(D),_=Xs({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:z}),M=R.useState("domReferenceElement");he(()=>{const G=M,V=F.current;if(G&&(F.current=G),V&&G&&G!==V){x.set("instantType",void 0);const X=new AbortController;return I(()=>{x.set("instantType","trigger-change")},X.signal),()=>{X.abort()}}},[M,I,x]);const L=N===!0&&T!==it;Wa(k&&L,O==="touch",D,E);const H=x.useStateSetter("positionerElement"),$={open:k,side:_.side,align:_.align,anchorHidden:_.anchorHidden,instant:A},U=Zs(t,$,{styles:_.positionerStyles,transitionStatus:P,props:v,refs:[n,H],hidden:!C,inert:!k});return Y.jsxs(Jd.Provider,{value:_,children:[C&&L&&Y.jsx(Ks,{inert:lr(!k),cutout:E}),Y.jsx(Td,{id:S,children:U})]})}),as="ArrowUp",cs="ArrowDown",ls="ArrowLeft",us="ArrowRight",ds="Home",fs="End",nf="PageUp",of="PageDown",qn=new Set([as,cs,ls,us,ds,fs]),rf="Shift",Ov=[rf,"Control","Alt","Meta"];function Av(e){return Ye(e)&&e.tagName==="INPUT"}function Il(e){return!!(Av(e)&&e.selectionStart!=null||Ye(e)&&e.tagName==="TEXTAREA")}function Ol(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=Al(e,t,"left"),u=Pr(e),d=Pr(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=Al(e,t,"top"),u=Pr(e),d=Pr(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 Al(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 Pr(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 Nv=c.createContext(void 0);function Js(e){return c.useContext(Nv)}const Dv=c.createContext(void 0);function _v(){const[e,t]=c.useState(0),n=pe(()=>(t(r=>r+1),()=>{t(r=>Math.max(0,r-1))}));return{context:c.useMemo(()=>({register:n}),[n]),hasClosePart:e>0}}const EE=c.forwardRef(function(t,n){const{render:o,className:r,style:s,initialFocus:i,finalFocus:a,...l}=t,u=cr(),d=yv(),p=Js()!=null,{context:f,hasClosePart:y}=_v(),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"),N=u.useState("disabled"),O=u.useState("openOnHover"),D=u.useState("closeDelay");Tt({open:h,ref:u.context.popupRef,onComplete(){var _,M;h&&((M=(_=u.context).onOpenChangeComplete)==null||M.call(_,!0))}}),$a(T,{enabled:O&&!N,closeDelay:D});const A=i===void 0?jd(u.context.popupRef):i,P=S!==!1&&y;u.useSyncedValue("focusManagerModal",P);const z=u.useStateSetter("popupElement"),F={open:h,side:d.side,align:d.align,instant:m,transitionStatus:b},I=we("div",t,{state:F,ref:[n,u.context.popupRef,z],props:[v,{id:E,role:"dialog",...ar,"aria-labelledby":x,"aria-describedby":w,onKeyDown(_){p&&qn.has(_.key)&&_.stopPropagation()}},ur(b),l],stateAttributesMapping:Ys});return Y.jsx(Is,{context:T,openInteractionType:g,modal:P,disabled:!R||C===it,initialFocus:A,returnFocus:a,restoreFocus:"popup",previousFocusableElement:Ye(k)?k:void 0,nextFocusableElement:u.context.triggerFocusTargetRef,beforeContentFocusGuardRef:u.context.beforeContentFocusGuardRef,children:Y.jsx(Dv.Provider,{value:f,children:I})})});function Lv(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 Nl(e){const t=Pt(e);let n=parseFloat(t.width)||0,o=parseFloat(t.height)||0;const r=Ye(e),s=r?e.offsetWidth:n,i=r?e.offsetHeight:o;return(bo(n)!==s||bo(o)!==i)&&(n=s,o=i),{width:n,height:o}}const Fv={badInput:!1,customError:!1,patternMismatch:!1,rangeOverflow:!1,rangeUnderflow:!1,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valid:null,valueMissing:!1},zv={valid:null,touched:!1,dirty:!1,filled:!1,focused:!1},Vv={disabled:!1,...zv},Yn={valid(e){return e===null?null:e?{"data-valid":""}:{"data-invalid":""}}},Wi={checked(e){return e?{"data-checked":""}:{"data-unchecked":""}},...jt,...Yn},Ua="data-composite-item-active",sf=c.createContext({register:()=>{},unregister:()=>{},subscribeMapChange:()=>()=>{},nextIndexRef:{current:0}});function $v(){return c.useContext(sf)}function Mo(e={}){const{guess:t,label:n,metadata:o,textRef:r,index:s}=e,{register:i,unregister:a,subscribeMapChange:l,nextIndexRef:u}=$v(),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 he(()=>{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 af(e={}){const{highlightItemOnHover:t,highlightedIndex:n,onHighlightedIndexChange:o}=vs(),{ref:r,index:s}=Mo(e),i=n===s,a=c.useRef(null),l=It(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 Ga(e){const{render:t,className:n,style:o,state:r=Ke,props:s=$t,refs:i=$t,metadata:a,stateAttributesMapping:l,tag:u="div",...d}=e,{compositeProps:p,compositeRef:f}=af({metadata:a});return we(u,e,{state:r,ref:[f,...i],props:[p,...s,d],stateAttributesMapping:l})}const Hv={invalid:void 0,name:void 0,validityData:{state:Fv,errors:[],error:"",value:"",initialValue:null},setValidityData:nt,disabled:void 0,setTouched:nt,setDirty:nt,setFilled:nt,setFocused:nt,validationMode:"onSubmit",shouldValidateOnChange:()=>!1,state:Vv,registerFieldControl:nt,validation:{getValidationProps:(e,t=Ke)=>t,inputRef:{current:null},registeredInputs:new Map,registerInput:nt,getInputControl:()=>null,commit:async()=>{},change:nt}},jv=c.createContext(Hv);function Zt(e=!0){const t=c.useContext(jv);if(t.setValidityData===nt&&!e)throw new Error($e(28));return t}const Bv=c.createContext({disabled:!1});function cf(){return c.useContext(Bv)}const Wv=c.createContext({controlId:void 0,registerControlId:nt,labelId:void 0,setLabelId:nt,messageIds:[],setMessageIds:nt,getDescriptionProps:e=>e});function An(){return c.useContext(Wv)}function qa(e,t,n,o=!0,r){const[s,i]=c.useState(),a=rt(r?`${r}-label`:void 0),l=e??t??s;return he(()=>{const u=e||t||!o?void 0:Uv(n.current,a);s!==u&&i(u)}),l}function Uv(e,t){const n=Gv(e);if(n)return!n.id&&t&&(n.id=t),n.id||void 0}function Gv(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 To(e={}){const{id:t,implicit:n=!1,controlRef:o}=e,{controlId:r,registerControlId:s}=An(),i=rt(t),a=n?r:void 0,l=gt(()=>Symbol()),u=c.useRef(!1),d=c.useRef(t!=null),p=pe(()=>{!u.current||s===nt||(u.current=!1,s(l.current,void 0))});return he(()=>{if(s===nt)return;let f;if(n){const y=o==null?void 0:o.current;Ne(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 lf=c.createContext(void 0);function qv(){return c.useContext(lf)}function ps(e){if(e==null)return"";if(typeof e=="string")return e;try{return JSON.stringify(e)}catch{return String(e)}}const uf=c.createContext(void 0);function Yv(){const e=c.useContext(uf);if(e===void 0)throw new Error($e(52));return e}const PE=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=qv(),{disabled:m,readOnly:b,required:v,form:x,checkedValue:w,touched:S=!1,validation:R,name:C,setCheckedValue:k=nt,setTouched:T=nt,registerInputRef:E=nt}=g??{},{setTouched:N,setFilled:O,state:D,disabled:A}=Zt(),P=cf(),{labelId:z,getDescriptionProps:F}=An(),I=A||P.disabled||m||s,_=b||i,M=v||a,L=x,H=g?w===u:u==="",$=c.useRef(null),U=c.useRef(null),G=R==null?void 0:R.registerInput,V=c.useCallback(oe=>G==null?void 0:G(oe,{controlRef:$,value:void 0}),[G]),X=It(d,U,E,V);he(()=>{var oe;(oe=U.current)!=null&&oe.checked&&O(!0)},[O]),he(()=>{if(U.current){if(I&&H){E(null);return}E(U.current)}},[H,I,E]);const j=rt(),K=To({id:f,implicit:!1,controlRef:$}),de=p?void 0:K,se=qa(l,z,U,!p,de),ne={role:"radio","aria-checked":H,"aria-labelledby":se,[Ua]:H?"":void 0,id:p?K:j,onKeyDown(oe){oe.key==="Enter"&&oe.preventDefault()},onClick(oe){if(oe.defaultPrevented||I||_)return;oe.preventDefault();const le=U.current;le&&Vn(le,oe)},onFocus(oe){var le;oe.defaultPrevented||I||_||!S||((le=U.current)==null||le.click(),T(!1))}},{getButtonProps:re,buttonRef:q}=Mt({disabled:I,native:p,composite:!1}),ie={type:"radio",ref:X,form:L,id:de,name:C,tabIndex:-1,style:C?Ps:Sn,"aria-hidden":!0,...u!==void 0?{value:ps(u)}:Ke,disabled:I,checked:H,required:M,readOnly:_,onChange(oe){if(oe.nativeEvent.defaultPrevented||I||_||u===void 0)return;const le=ke(Rt,oe.nativeEvent);k(u,le),!le.isCanceled&&N(!0)},onClick(oe){oe.stopPropagation()},onFocus(){var oe;(oe=$.current)==null||oe.focus()}},ge=c.useMemo(()=>({...D,required:M,disabled:I,readOnly:_,checked:H}),[D,I,_,H,M]),ue=ge,Z=g!==void 0,J=[n,$,q],ae=[ne,h,re,F,R?oe=>R.getValidationProps(I,oe):Ke],ce=we("span",t,{enabled:!Z,state:ge,ref:J,props:ae,stateAttributesMapping:Wi});return Y.jsxs(uf.Provider,{value:ue,children:[Z?Y.jsx(Ga,{tag:"span",render:o,className:r,style:y,state:ge,refs:J,props:ae,stateAttributesMapping:Wi}):ce,Y.jsx("input",{...ie,suppressHydrationWarning:!0})]})}),ME=c.forwardRef(function(t,n){const{render:o,className:r,style:s,keepMounted:i=!1,...a}=t,l=Yv(),u=l.checked,{mounted:d,transitionStatus:p,setMounted:f}=dn(u),y={...l,transitionStatus:p},h=c.useRef(null),g=i||d,m=we("span",t,{ref:[n,h],state:y,props:a,stateAttributesMapping:Wi});return Tt({open:u,ref:h,onComplete(){u||f(!1)}}),g?m:null});function Lt({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 dr(e){const{children:t,elementsRef:n,labelsRef:o,onMapChange:r}=e,s=pe(r),[,i]=c.useState(!1),a=gt(Kv).current,l=gt(Xv).current,u=c.useRef(0),d=c.useRef(!0),p=c.useRef([]),f=c.useRef(null),y=pe(()=>{d.current||(d.current=!0,i(S=>!S))}),h=pe((S,R)=>{l.set(S,R),y()}),g=pe(S=>{l.delete(S),y()}),m=pe(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(!Jv(T))return;let E=null;for(const N of S)if(N.isConnected){if(E&&df(E,N)>0){R.disconnect(),y();return}E=N}});f.current=R;const C=new Set;for(let T=1;T<S.length;T+=1){const E=Qv(S[T-1],S[T]);E&&C.add(E)}C.forEach(T=>R.observe(T,{childList:!0}))}const v=pe(()=>{const[S,R]=Zv(l),C=m(S);b(R),p.current=S,d.current=!1,a.forEach(k=>k(C)),s(C)});he(()=>(d.current||m(p.current),()=>{n.current=[],o&&(o.current=[])}),[n,o,m]),he(()=>{d.current&&v()}),he(()=>()=>{var S;(S=f.current)==null||S.disconnect(),d.current=!0},[]);const x=pe(S=>(a.add(S),()=>{a.delete(S)})),w=c.useMemo(()=>({register:h,unregister:g,subscribeMapChange:x,nextIndexRef:u}),[h,g,x,u]);return Y.jsx(sf.Provider,{value:w,children:t})}function Xv(){return new Map}function Kv(){return new Set}function Zv(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)=>df(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 Qv(e,t){let n=e.parentElement;for(;n&&!n.contains(t);)n=n.parentElement;return n}function Jv(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 df(e,t){return e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING?-1:1}function ff(e){return e==null||e.hasAttribute("disabled")||e.getAttribute("aria-disabled")==="true"}const ex=[];function tx(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=ex}=e,[y,h]=c.useState(0),g=o!=null,m=c.useRef(null),b=It(m,l),v=c.useRef([]),x=c.useRef(!1),w=i??y,S=pe((E,N=!1)=>{if((a??h)(E),N){const O=v.current[E];Ol(m.current,O,s,n)}}),R=pe(E=>{var A;if(E.size===0||x.current)return;x.current=!0;const N=Array.from(E.keys()),O=N.find(P=>P==null?void 0:P.hasAttribute(Ua))??null,D=O?((A=E.get(O))==null?void 0:A.index)??-1:-1;if(D!==-1)S(D);else if(ns(N,w,p)){const P=nn(N,{disabledIndices:p});Wo(N,P)||S(P)}Ol(m.current,O,s,n)});he(()=>{if(p==null||i!=null||!x.current)return;const E=v.current;if(ns(E,w,p)){const N=nn(E,{disabledIndices:p});Wo(E,N)||S(N)}},[p,i,w,v,S]);const C=pe((E,N,O)=>r?r(E,N,O,v):O),k=pe(E=>{const N=E.key===ds||E.key===fs;if(!qn.has(E.key)||!u&&N||nx(E,f)||!m.current)return;const D=s==="rtl",A=D?ls:us,P=D?us:ls,z=n==="vertical"?cs:A,F=n==="vertical"?as:P,I=at(E.nativeEvent);if(I!=null&&Il(I)&&!ff(I)){const U=I.selectionStart,G=I.selectionEnd,V=I.value;if(U==null||E.shiftKey||U!==G||E.key!==F&&U<V.length||E.key!==z&&U>0)return}let _=w;const M=jr(v,p),L=Vi(v,p);o!=null&&(_=o({disabledIndices:p,elementsRef:v,event:E,highlightedIndex:w,loopFocus:t,maxIndex:L,minIndex:M,onLoop:C,orientation:n,rtl:D}));const H=n!=="vertical"&&E.key===A||n!=="horizontal"&&E.key===cs,$=n!=="vertical"&&E.key===P||n!=="horizontal"&&E.key===as;u&&(E.key===ds?_=M:E.key===fs&&(_=L)),_===w&&(H||$)&&(t&&_===L&&H?(_=M,r&&(_=r(E,w,_,v))):t&&_===M&&$?(_=L,r&&(_=r(E,w,_,v))):_=nn(v.current,{startingIndex:_,decrement:$,disabledIndices:p})),_!==w&&!Wo(v.current,_)&&(d&&E.stopPropagation(),(g||N||H||$)&&E.preventDefault(),S(_,!0),queueMicrotask(()=>{var U;(U=v.current[_])==null||U.focus()}))});return{props:{ref:b,onFocus(E){const N=m.current,O=at(E.nativeEvent);!N||O==null||!Il(O)||O.setSelectionRange(0,O.value.length)},onKeyDown:k},highlightedIndex:w,onHighlightedIndexChange:S,elementsRef:v,onMapChange:R,relayKeyboardEvent:k}}function nx(e,t){for(const n of Ov)if(!t.includes(n)&&e.getModifierState(n))return!0;return!1}function Ya(e){const{render:t,className:n,style:o,refs:r=$t,props:s=$t,state:i=Ke,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=On(),{props:k,highlightedIndex:T,onHighlightedIndexChange:E,elementsRef:N,onMapChange:O,relayKeyboardEvent:D}=tx({grid:p,loopFocus:f,onLoop:y,orientation:d,highlightedIndex:l,onHighlightedIndexChange:u,rootRef:b,stopEventPropagation:m,enableHomeAndEndKeys:h,direction:C,disabledIndices:v,modifierKeys:x}),A=we(S,e,{state:i,ref:r,props:[k,...s,R],stateAttributesMapping:a}),P=c.useMemo(()=>({highlightedIndex:T,onHighlightedIndexChange:E,highlightItemOnHover:w,relayKeyboardEvent:D}),[T,E,w,D]);return Y.jsx(Du.Provider,{value:P,children:Y.jsx(dr,{elementsRef:N,onMapChange:z=>{g==null||g(z),O(z)},children:A})})}function Io(e,t,n,o,r=!0,s){const{registerFieldControl:i}=Zt(),a=gt(()=>Symbol());he(()=>{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]),he(()=>{const l=a.current;return()=>{i(l,void 0)}},[i,a])}const ox=c.createContext({elementRef:{current:null},formRef:{current:{fields:new Map}},errors:{},clearErrors:nt,validationMode:"onSubmit",submitAttemptedRef:{current:!1}});function Oo(){return c.useContext(ox)}function rx(e,t){return e.matches(":disabled")?!1:!t||e.form===t?!0:e.form===null&&!e.hasAttribute("form")}const sx=c.createContext(void 0);function ix(e=!1){const t=c.useContext(sx);if(!t&&!e)throw new Error($e(86));return t}const ax=[rf],TE=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}=Zt(),{labelId:N}=An(),{clearErrors:O,elementRef:D}=Oo(),A=ix(!0),P=S||s,z=w??f,F=rt(h),[I,_]=Lt({controlled:u,default:d,name:"RadioGroup",state:"value"}),[M,L]=c.useState(!1),H=pe((q,ie)=>{l==null||l(q,ie),!ie.isCanceled&&_(q)}),$=C.getInputControl,U=c.useMemo(()=>({get current(){return $()}}),[$]),G=c.useRef(null),V=c.useRef(null);function X(q){let ie;return y&&(typeof y=="function"?ie=y(q):y.current=q),G.current=q,ie}const j=pe(q=>{if(!q||q.disabled)return;V.current||(V.current=q);const ie=G.current,ge=q.checked||ie==null||ie.disabled?X(q):void 0;return()=>{V.current===q&&(V.current=null),G.current===q?ge?(ge(),G.current=null):X(null):ge==null||ge()}}),K=pe(()=>{const q=D.current;if(!q)return I??null;for(const ie of C.registeredInputs.keys())if(ie.checked&&rx(ie,q))return I??null;return null});Io(U,F,I??null,K,!P,f),Po(I,()=>{O(z),k(I!==E.initialValue),T(I!=null),C.change(I);const q=V.current;I==null&&q&&!q.disabled&&X(q)});const de=N??(A==null?void 0:A.legendId),se={...R,disabled:P??!1,required:a??!1,readOnly:i??!1},ne=c.useMemo(()=>({checkedValue:I,disabled:P,form:p,validation:C,name:z,readOnly:i,registerInputRef:j,required:a,setCheckedValue:H,setTouched:L,touched:M}),[I,P,p,C,z,i,j,a,H,L,M]),re={id:h,role:"radiogroup","aria-required":a||void 0,"aria-disabled":P||void 0,"aria-readonly":i||void 0,"aria-labelledby":de,onFocus(){v(!0)},onBlur(q){ve(q.currentTarget,q.relatedTarget)||(b(!0),v(!1),x==="onBlur"&&C.commit(I))},onKeyDownCapture(q){q.key.startsWith("Arrow")&&(L(!0),v(!0))}};return Y.jsx(lf.Provider,{value:ne,children:Y.jsx(Ya,{render:o,className:r,style:g,state:se,props:[re,m,q=>C.getValidationProps(P??!1,q)],refs:[n],stateAttributesMapping:Yn,enableHomeAndEndKeys:!1,modifierKeys:ax})})}),pf=c.createContext(void 0);function cx(){return c.useContext(pf)}const IE=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=rt(p||void 0),m=cx(),b=(m==null?void 0:m.value)??[],v=m?void 0:r,x=(s||(m==null?void 0:m.disabled))??!1,[w,S]=Lt({controlled:m?g!==void 0&&b.indexOf(g)>-1:l,default:v,name:"Toggle",state:"pressed"}),{getButtonProps:R,buttonRef:C}=Mt({disabled:x,native:f}),k={disabled:x,pressed:w},T=[C,n],E=[{"aria-pressed":w,onClick(D){var z;const A=!w,P=ke(Rt,D.nativeEvent);a==null||a(A,P),!P.isCanceled&&(g&&((z=m==null?void 0:m.setGroupValue)==null||z.call(m,g,A,P)),!P.isCanceled&&S(A))}},h,R],N=we("button",t,{enabled:!m,state:k,ref:T,props:E}),O=c.useMemo(()=>({disabled:x,focusableWhenDisabled:!1}),[x]);return m?Y.jsx(Ga,{tag:"button",render:u,className:o,style:y,metadata:O,state:k,refs:T,props:E}):N});function ut(e,t=Number.MIN_SAFE_INTEGER,n=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,n))}function Xa(e,t,n=(o,r)=>o===r){return e.length===t.length&&e.every((o,r)=>n(o,t[r]))}function lx(e){return e==null?void 0:`${e}-label`}function hf(e,t){return e??t}function gf(e,t){return e-t}function mf(e,t,n,o,r,s){const i=ut(e,n,o);if(!r)return i;const a=s.slice();return a[t]=ut(i,s[t-1]??-1/0,s[t+1]??1/0),a.sort(gf)}function yf(e,t,n){if(!Array.isArray(e))return!0;const o=t*n;for(let r=0;r<e.length-1;r+=1)if(!(Math.abs(e[r]-e[r+1])>=o))return!1;return!0}const Qn=()=>null,fr={activeThumbIndex:Qn,max:Qn,min:Qn,minStepsBetweenValues:Qn,step:Qn,values:Qn,...Yn},bf=c.createContext(void 0);function ei(){const e=c.useContext(bf);if(e===void 0)throw new Error($e(62));return e}function ux(e,t){return e===t||Array.isArray(e)&&Array.isArray(t)&&Xa(e,t)}const OE=c.forwardRef(function(t,n){const{"aria-labelledby":o,className:r,defaultValue:s,disabled:i=!1,id:a,format:l,largeStep:u=10,locale:d,render:p,max:f=100,min:y=0,minStepsBetweenValues:h=0,form:g,name:m,onValueChange:b,onValueCommitted:v,orientation:x="horizontal",step:w=1,thumbCollisionBehavior:S="push",thumbAlignment:R="center",value:C,style:k,...T}=t,E=rt(a),N=lx(E),O=pe(b),D=pe(v),{clearErrors:A}=Oo(),{state:P,disabled:z,name:F,setTouched:I,setDirty:_,validityData:M,validation:L}=Zt(),{labelId:H}=An(),[$,U]=c.useState(),G=o??hf(H,$),V=z||i,X=F??m,[j,K]=Lt({controlled:C,default:s??y,name:"Slider"}),de=c.useRef(null),se=c.useRef(null),ne=c.useRef([]),re=c.useRef(null),q=c.useRef(-1),ie=c.useRef(null),ge=c.useRef(Rt),[ue,Z]=c.useState(-1),[J,ae]=c.useState(-1),[ce,oe]=c.useState(!1),[le,W]=c.useState(()=>new Map),[Q,fe]=c.useState([void 0,void 0]),te=pe(Te=>{Z(Te),Te!==-1&&ae(Te)}),ee=pe(Te=>{Te&&(se.current=Te)}),me=Array.isArray(j),ye=c.useMemo(()=>me?j.map(Te=>ut(Te,y,f)).sort(gf):[ut(j,y,f)],[f,y,me,j]),De=me?ye:ye[0];Io(L.inputRef,E,De,void 0,!V,m),Po(De,()=>{A(X),L.change(De);const Te=M.initialValue;let be;Array.isArray(De)&&Array.isArray(Te)?be=!Xa(De,Te):be=De!==Te,_(be)});const Me=pe((Te,be)=>{if(Number.isNaN(Te)||ux(Te,j))return!1;const Ve=be.event,Fe=Ve.constructor,Be=new Fe(Ve.type,Ve);return Object.defineProperty(Be,"target",{writable:!0,value:{value:Te,name:X}}),be.event=Be,O(Te,be),be.isCanceled?!1:(ge.current=be.reason,K(Te),!0)}),Ge=pe((Te,be,Ve)=>{const Fe=mf(Te,be,y,f,me,ye);if(yf(Fe,w,h)){const Be="key"in Ve?s1:r1,Je=Me(Fe,ke(Be,Ve.nativeEvent,void 0,{activeThumbIndex:be}));I(!0),Je&&D(Fe,sd(Be,Ve.nativeEvent))}});he(()=>{if(!V)return;const Te=pt(Ie(de.current));ve(de.current,Te)&&Te.blur(),ue!==-1&&te(-1)},[ue,V,te]);const Le=c.useMemo(()=>({...P,activeThumbIndex:ue,disabled:V,dragging:ce,orientation:x,max:f,min:y,minStepsBetweenValues:h,step:w,values:ye}),[P,ue,V,ce,f,y,h,x,w,ye]),ze=c.useMemo(()=>({active:ue,controlRef:se,disabled:V,dragging:ce,validation:L,format:l,handleInputChange:Ge,indicatorPosition:Q,inset:R!=="center",labelId:G,rootLabelId:N,largeStep:u,lastUsedThumbIndex:J,lastChangeReasonRef:ge,form:g,locale:d,max:f,min:y,minStepsBetweenValues:h,name:X,onValueCommitted:D,orientation:x,pressedThumbCenterOffsetRef:re,pressedThumbIndexRef:q,pressedValuesRef:ie,registerFieldControlRef:ee,renderBeforeHydration:R==="edge",setActive:te,setDragging:oe,setIndicatorPosition:fe,setLabelId:U,setValue:Me,state:Le,step:w,thumbCollisionBehavior:S,thumbMap:le,thumbRefs:ne,values:ye}),[ue,G,N,V,ce,L,l,Ge,Q,u,J,g,d,f,y,h,X,D,x,ee,te,Me,Le,w,S,R,le,ye]),et=we("div",t,{state:Le,ref:[n,de],props:[{"aria-labelledby":G,id:E,role:"group"},T,Te=>L.getValidationProps(V,Te)],stateAttributesMapping:fr});return Y.jsx(bf.Provider,{value:ze,children:Y.jsx(dr,{elementsRef:ne,onMapChange:W,children:et})})});function dx(e,t){const n=rt(e);return he(()=>(t(n),()=>{t(o=>o===n?void 0:o)}),[n,t]),n}function vf(e){return Array.isArray(e)?e.map(t=>vf(t)).join(","):e==null?"":String(e)}const Dl=new Map;function fx(e,t){const n=JSON.stringify({locale:vf(e),options:t}),o=Dl.get(n);if(o)return o;const r=new Intl.NumberFormat(e,t);return Dl.set(n,r),r}function Jo(e,t,n){return e==null?"":fx(t,n).format(e)}function xf(e,t){const n=e.getBoundingClientRect();return t?(n.top+n.bottom)/2:(n.left+n.right)/2}function Go(e){if(e===0)return 0;if(Math.abs(e)<1){const n=e.toExponential().split("e-"),o=n[0].split(".")[1];return(o?o.length:0)+parseInt(n[1],10)}const t=e.toString().split(".")[1];return t?t.length:0}function wf(e,t,n){const o=Math.round((e-n)/t)*t+n;return Number(o.toFixed(Math.max(Go(t),Go(n))))}function _l(e,t,n,o,r,s,i,a){const l=e.slice(),u=s*i,d=l.length-1,p=a??e,f=o+t*u,y=r-(d-t)*u;l[t]=ut(n,f,y);for(let h=t+1;h<=d;h+=1){const g=l[h-1]+u,m=r-(d-h)*u,b=p[h];let v=Math.max(l[h],g);b<v&&(v=Math.max(b,g)),l[h]=ut(v,g,m)}for(let h=t-1;h>=0;h-=1){const g=l[h+1]-u,m=o+h*u,b=p[h];let v=Math.min(l[h],g);b>v&&(v=Math.min(b,g)),l[h]=ut(v,m,g)}for(let h=0;h<=d;h+=1)l[h]=Number(l[h].toFixed(12));return l}function px(e,t,n,o,r,s,i,a,l,u){const d=n??t,p=o??t;if(!(d.length>1))return{value:s,thumbIndex:0,didSwap:!1};const y=l*u;if(e==="push")return{value:_l(d,r,s,i,a,l,u),thumbIndex:r,didSwap:!1};const h=d.slice(),g=h[r-1],m=h[r+1],b=g!=null?g+y:i,v=m!=null?m-y:a,x=Number(ut(s,b,v).toFixed(12));switch(h[r]=x,e){case"swap":{const w=d[r],S=1e-7,R=s>w,C=s<w,k=R&&m!=null&&s>=m-S,T=C&&g!=null&&s<=g+S;if(!k&&!T)return{value:h,thumbIndex:r,didSwap:!1};const E=k?r+1:r-1,N=h.map((M,L)=>{if(L===r)return x;const H=p[L];return H??d[L]});let O=s;k?O=Math.max(s,h[E]):O=Math.min(s,h[E]);const D=_l(h,E,O,i,a,l,u,N),A=k?E-1:E+1,P=D[A-1],z=D[A+1];let F=P!=null?P+y:i;F=Math.max(F,i+A*y);let I=z!=null?z-y:a;I=Math.min(I,a-(D.length-1-A)*y);const _=ut(x,F,I);return D[A]=Number(_.toFixed(12)),{value:D,thumbIndex:E,didSwap:!0}}case"none":default:return{value:h,thumbIndex:r,didSwap:!1}}}const hx=2;function gx(e,t){if(!e)return{start:0,end:0};function n(s){const i=s!=null?parseFloat(s):0;return Number.isNaN(i)?0:i}const o=t?"Top":"InlineStart",r=t?"Bottom":"InlineEnd";return{start:n(e[`border${o}Width`])+n(e[`padding${o}`]),end:n(e[`border${r}Width`])+n(e[`padding${r}`])}}function mx(e,t){if(t.current!=null&&e.changedTouches){const n=e;for(let o=0;o<n.changedTouches.length;o+=1){const r=n.changedTouches[o];if(r.identifier===t.current)return{x:r.clientX,y:r.clientY}}return null}return{x:e.clientX,y:e.clientY}}const AE=c.forwardRef(function(t,n){const{render:o,className:r,style:s,...i}=t,{disabled:a,dragging:l,inset:u,lastChangeReasonRef:d,max:p,min:f,minStepsBetweenValues:y,onValueCommitted:h,orientation:g,pressedThumbCenterOffsetRef:m,pressedThumbIndexRef:b,pressedValuesRef:v,registerFieldControlRef:x,renderBeforeHydration:w,setActive:S,setDragging:R,setValue:C,state:k,step:T,thumbCollisionBehavior:E,thumbRefs:N,values:O}=ei(),D=On(),A=O.length>1,P=g==="vertical",z=c.useRef(null),F=c.useRef(null),I=pe(Z=>{Z&&F.current==null&&(F.current=Xe(Z).getComputedStyle(Z))}),_=c.useRef(null),M=c.useRef(0),L=c.useRef(0),H=c.useRef(null),$=st(O);function U(Z){return Z==null?void 0:Z.querySelector('input[type="range"]')}function G(Z){b.current=Z,N.current[Z]||(m.current=null)}function V(){b.current=-1,m.current=null}function X(Z){return Ne(Z)?N.current.some(J=>{var ae;return!Ne(J)||!ve(J,Z)?!1:((ae=U(J))==null?void 0:ae.disabled)===!0}):!1}function j(Z){const J=z.current,ae=b.current;if(!J||ae<0||ae>=O.length)return ae>=O.length&&(H.current=null),null;const{width:ce,height:oe,bottom:le,left:W,right:Q}=J.getBoundingClientRect(),fe=gx(F.current,P),te=L.current,ee=(P?oe:ce)-fe.start-fe.end-te*2,me=m.current??0,ye=Z.x-me,De=Z.y-me,Me=P?le-De-fe.end:(D==="rtl"?Q-ye:ye-W)-fe.start,Ge=ut((Me-te)/ee,0,1);let Le=(p-f)*Ge+f;return Le=wf(Le,T,f),Le=ut(Le,f,p),A?px(E,O,$.current,v.current,ae,Le,f,p,T,y):{value:Le,thumbIndex:ae,didSwap:!1}}function K(Z){var ce;v.current=A?O.slice():null,H.current=null,$.current=O;const J=b.current;let ae=J;if(J>-1&&J<O.length){if(O[J]===p){let oe=J;for(;oe>0&&O[oe-1]===p;)oe-=1;ae=oe}}else{const oe=P?"y":"x";let le;ae=-1;for(let W=0;W<N.current.length;W+=1){const Q=N.current[W];if(Ne(Q)&&!((ce=U(Q))!=null&&ce.disabled)){const fe=xf(Q,P),te=Math.abs(Z[oe]-fe);(le===void 0||te<=le)&&(ae=W,le=te)}}}if(ae>-1&&ae!==J&&G(ae),u){const oe=N.current[ae];if(Ne(oe)){const le=oe.getBoundingClientRect(),W=P?"height":"width";L.current=le[W]/2}}}function de(Z){var ae;const J=U((ae=N.current)==null?void 0:ae[Z]);J&&J.focus({preventScroll:!0,focusVisible:!1})}function se(Z,J,ae){const ce=C(Z.value,ke(J,ae,void 0,{activeThumbIndex:Z.thumbIndex}));return ce&&(H.current=Z.value,$.current=Array.isArray(Z.value)?Z.value:[Z.value],Z.didSwap&&(G(Z.thumbIndex),de(Z.thumbIndex))),ce}const ne=pe(Z=>{const J=mx(Z,_);if(J==null)return;if(M.current+=1,Z.type==="pointermove"&&Z.buttons===0){re(Z);return}const ae=j(J);ae!=null&&yf(ae.value,T,y)&&(!l&&M.current>hx&&R(!0),se(ae,i1,Z))}),re=pe(Z=>{var ae,ce;S(-1),R(!1),m.current=null;const J=H.current;if(Array.isArray(J)&&J.length!==O.length&&(H.current=null),H.current!=null){const oe=d.current;h(H.current,sd(oe,Z))}"pointerType"in Z&&((ae=z.current)!=null&&ae.hasPointerCapture(Z.pointerId))&&((ce=z.current)==null||ce.releasePointerCapture(Z.pointerId)),b.current=-1,_.current=null,ie()}),q=pe(Z=>{if(a)return;if(X(at(Z))){V();return}const J=Z.changedTouches[0];if(J==null)return;_.current=J.identifier;const ae={x:J.clientX,y:J.clientY};K(ae);const ce=j(ae);if(ce==null)return;de(ce.thumbIndex),se(ce,Wc,Z),M.current=0;const oe=Ie(z.current);oe.addEventListener("touchmove",ne,{passive:!0}),oe.addEventListener("touchend",re,{passive:!0})}),ie=pe(()=>{const Z=Ie(z.current);Z.removeEventListener("pointermove",ne),Z.removeEventListener("pointerup",re),Z.removeEventListener("touchmove",ne),Z.removeEventListener("touchend",re),v.current=null,H.current=null}),ge=Hn();return c.useEffect(()=>{const Z=z.current;if(!Z)return()=>ie();const J=Ae(Z,"touchstart",q,{passive:!0});return()=>{J(),ge.cancel(),ie()}},[ie,q,z,ge]),c.useEffect(()=>{a&&ie()},[a,ie]),we("div",t,{state:k,ref:[n,x,z,I],props:[{"data-base-ui-slider-control":w?"":void 0,onPointerDown(Z){const J=z.current,ae=at(Z.nativeEvent);if(!J||a||Z.defaultPrevented||!Ne(ae)||Z.button!==0)return;if(X(ae)){V();return}const ce={x:Z.clientX,y:Z.clientY};K(ce);const oe=j(ce);if(oe==null)return;ve(N.current[oe.thumbIndex],pt(Ie(J)))?Z.preventDefault():ge.request(()=>{de(oe.thumbIndex)}),R(!0),m.current!=null||se(oe,Wc,Z.nativeEvent),Z.nativeEvent.pointerId&&J.setPointerCapture(Z.nativeEvent.pointerId),M.current=0;const Q=Ie(J);Q.addEventListener("pointermove",ne,{passive:!0}),Q.addEventListener("pointerup",re,{once:!0})}},i],stateAttributesMapping:fr})}),NE=c.forwardRef(function(t,n){const{render:o,className:r,style:s,...i}=t,{state:a}=ei();return we("div",t,{state:a,ref:n,props:[{style:{position:"relative"}},i],stateAttributesMapping:fr})}),Sf="";function yx(){return nt}function bx(){return!1}function vx(){return!0}function Ka(){return Ns.useSyncExternalStore(yx,bx,vx)}function hs(e,t,n){return(e-t)*100/(n-t)}const xx=c.createContext(void 0),wx={disableStyleElements:!1};function Za(){return c.useContext(xx)??wx}function Rf(e){const{script:t}=e,{nonce:n}=Za();return Ka()?Y.jsx("script",{nonce:n,dangerouslySetInnerHTML:{__html:t},suppressHydrationWarning:!0}):null}var Ll;const Sx=new Set([...qn,nf,of]);function Rx(e,t,n,o){if(!(t<0))return e.length===2?`${Jo(e[t],o,n)} ${t===0?"start":"end"} range`:n?Jo(e[t],o,n):void 0}function kx(e,t,n,o,r){const s=e+t*n,i=Number(s.toFixed(Math.max(Go(e),Go(t),Go(o))));return ut(i,o,r)}const DE=c.forwardRef(function(t,n){const{render:o,children:r,className:s,"aria-describedby":i,"aria-label":a,"aria-labelledby":l,"aria-valuetext":u,disabled:d=!1,getAriaLabel:p,getAriaValueText:f,id:y,index:h,inputRef:g,onBlur:m,onFocus:b,onKeyDown:v,tabIndex:x,style:w,...S}=t,R=rt(y),{active:C,lastUsedThumbIndex:k,controlRef:T,disabled:E,validation:N,format:O,handleInputChange:D,inset:A,labelId:P,largeStep:z,locale:F,max:I,min:_,minStepsBetweenValues:M,form:L,name:H,orientation:$,pressedThumbCenterOffsetRef:U,pressedThumbIndexRef:G,renderBeforeHydration:V,setActive:X,setIndicatorPosition:j,state:K,step:de,thumbRefs:se,values:ne}=ei(),re=On(),q=d||E,ie=ne.length>1,ge=$==="vertical",ue=re==="rtl",{setTouched:Z,setFocused:J,validationMode:ae}=Zt(),ce=c.useRef(null),oe=c.useRef(null),le=c.useRef(!1),W=pe(Oe=>{le.current||b==null||b(Oe)}),Q=pe(Oe=>{le.current||m==null||m(Oe)}),fe=rt(),te=To(),ee=ie?fe:te,me=c.useMemo(()=>({inputId:ee}),[ee]),{ref:ye,index:De}=Mo({metadata:me}),Me=ie?h??De:0,Ge=Me===ne.length-1,Le=ne[Me],ze=hs(Le,_,I),[et,Te]=c.useState(),be=Ka(),Ve=k>=0&&k<ne.length?k:-1,Fe=pe(()=>{const Oe=T.current,He=ce.current;if(!Oe||!He)return;const qe=He.getBoundingClientRect(),Ce=Oe.getBoundingClientRect(),je=ge?"height":"width",dt=Ce[je]-qe[je],xt=(qe[je]/2+dt*ze/100)/Ce[je]*100,kt=Number.isFinite(xt)?xt:void 0;Te(kt),Me===0?j(pn=>[kt,pn[1]]):Ge&&j(pn=>[pn[0],kt])});he(()=>{A&&queueMicrotask(Fe)},[Fe,A]),he(()=>{A&&Fe()},[Fe,A,ze]),he(()=>{if(!A)return;const Oe=T.current,He=ce.current;if(!Oe||!He)return;const qe=Xe(Oe).ResizeObserver;if(typeof qe!="function")return;const Ce=new qe(Fe);return Ce.observe(Oe),Ce.observe(He),()=>{Ce.disconnect()}},[T,Fe,A]);const Be=ge?"bottom":"insetInlineStart",Je=ge?"left":"top";let lt;ie?C===Me?lt=2:Ve===Me&&(lt=1):C===Me&&(lt=1);let Se;!A&&!Number.isFinite(ze)?Se=Sn:Se={position:"absolute",[Be]:A?"var(--position)":`${ze}%`,[Je]:"50%",translate:`${(ge||!ue?-1:1)*50}% ${(ge?1:-1)*50}%`,zIndex:lt,...A&&{"--position":`${et??0}%`,visibility:V&&be||et===void 0?"hidden":void 0}};let We;ge&&(We=ue?"vertical-rl":"vertical-lr");const tt=typeof p=="function"?p(Me):a,ct=Et({"aria-label":tt,"aria-labelledby":l??(tt==null?P:void 0),"aria-describedby":i,"aria-orientation":$,"aria-valuenow":Le,"aria-valuetext":typeof f=="function"?f(Jo(Le,F,O),Le,Me):u??Rx(ne,Me,O,F),disabled:q,form:L,id:ee,max:I,min:_,name:H,onChange(Oe){D(Oe.currentTarget.valueAsNumber,Me,Oe)},onFocus(Oe){const He=le.current;le.current=!1,X(Me),J(!0),He&&Oe.stopPropagation()},onBlur(Oe){if(le.current){Oe.stopPropagation();return}X(-1),!se.current.some(He=>ve(He,Oe.relatedTarget))&&(Z(!0),J(!1),ae==="onBlur"&&N.commit(mf(Le,Me,_,I,ie,ne)))},onKeyDown(Oe){if(Oe.defaultPrevented||!Sx.has(Oe.key))return;qn.has(Oe.key)&&Oe.stopPropagation();let He=null,qe=0,Ce=Oe.shiftKey?z:de;const je=wf(Le,de,_);switch(Oe.key){case as:qe=1;break;case us:qe=ue?-1:1;break;case cs:qe=-1;break;case ls:qe=ue?1:-1;break;case nf:Ce=z,qe=1;break;case of:Ce=z,qe=-1;break;case fs:He=ie&&Number.isFinite(ne[Me+1])?ne[Me+1]-de*M:I;break;case ds:He=ie&&Number.isFinite(ne[Me-1])?ne[Me-1]+de*M:_;break}if(qe!==0&&(He=kx(je,Ce,qe,_,I)),He!==null){const dt=Oe.currentTarget;td(dt)||(le.current=!0,dt.blur(),dt.focus({preventScroll:!0,focusVisible:!0})),D(He,Me,Oe),Oe.preventDefault()}},step:de,style:{...Sn,width:"100%",height:"100%",writingMode:We},tabIndex:x,type:"range",value:Le??""},Oe=>N.getValidationProps(q,Oe),{onFocus:W,onBlur:Q,onKeyDown:v}),yt=It(oe,N.inputRef,g);return we("div",t,{state:K,ref:[n,ye,ce],props:[{"data-index":Me,children:Y.jsxs(c.Fragment,{children:[r,Y.jsx("input",{ref:yt,...ct,suppressHydrationWarning:!0}),A&&Ge&&V&&(Ll||(Ll=Y.jsx(Rf,{script:Sf})))]}),id:R,onPointerDown(Oe){if(q)return;G.current=Me;const He=xf(Oe.currentTarget,ge);U.current=(ge?Oe.clientY:Oe.clientX)-He},style:Se,suppressHydrationWarning:V||void 0},S],stateAttributesMapping:fr})});function Cx(e,t,n,o,r,s){const i={visibility:s||n&&(o===void 0||t&&r===void 0)?"hidden":void 0,position:e?"absolute":"relative",[e?"width":"height"]:"inherit"};let a=`${o??0}%`,l=`${(r??0)-(o??0)}%`;return n&&(i["--start-position"]=a,a="var(--start-position)",t&&(i["--relative-size"]=l,l="var(--relative-size)")),i[e?"bottom":"insetInlineStart"]=t?a:0,i[e?"height":"width"]=t?l:a,i}const _E=c.forwardRef(function(t,n){const{render:o,className:r,style:s,...i}=t,{indicatorPosition:a,inset:l,max:u,min:d,orientation:p,renderBeforeHydration:f,state:y,values:h}=ei(),g=Ka(),m=p==="vertical",b=h.length>1,v=Cx(m,b,l,l?a[0]:hs(h[0],d,u),l?a[1]:hs(h[h.length-1],d,u),l&&f&&g);return we("div",t,{state:y,ref:n,props:[{"data-base-ui-slider-indicator":f?"":void 0,style:v,suppressHydrationWarning:f||void 0},i],stateAttributesMapping:fr})}),LE=c.forwardRef(function(t,n){const{className:o,render:r,orientation:s="horizontal",style:i,...a}=t;return we("div",t,{state:{orientation:s},ref:n,props:[{role:"separator","aria-orientation":s},a]})});function Ex(e){const t=c.useRef(!0);t.current&&(t.current=!1,e())}const kf=c.createContext(null);function Qt(){const e=c.useContext(kf);if(e===null)throw new Error($e(60));return e}const Px=(e,t)=>Object.is(e,t);function vo(e,t,n){return e==null||t==null?Object.is(e,t):n(e,t)}function Ur(e,t,n){return!e||e.length===0?-1:e.findIndex(o=>o===void 0?!1:vo(o,t,n))}function Mx(e,t,n){return e.filter(o=>!vo(t,o,n))}function Cf(e){return e!=null&&e.length>0&&typeof e[0]=="object"&&e[0]!=null&&"items"in e[0]}function Tx(e){if(!Array.isArray(e))return e!=null&&"null"in e;const t=e;if(Cf(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 Ef(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 ps(e)}function so(e,t){return t&&e!=null?t(e)??"":e&&typeof e=="object"&&"value"in e&&"label"in e?ps(e.value):ps(e)}function Pf(e,t,n){function o(){return Ef(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=Cf(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 Ix(e,t,n){return e.reduce((o,r,s)=>(s>0&&o.push(", "),o.push(Y.jsx(c.Fragment,{children:Pf(r,t,n)},s)),o),[])}const Pe={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:so(t,o)!==""},hasNullItemLabel:(e,t)=>t?Tx(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=>vo(t,r,n)):vo(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},Vt=1;function Qa(e,t){return Math.max(0,e-t)}function xo(e,t){if(t<=0)return 0;const n=ut(e,0,t),o=n,r=t-n,s=o<=Vt,i=r<=Vt;return s&&i?o<=r?0:t:s?0:i?t:n}function FE(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=Px,highlightItemOnHover:C=!0,children:k}=e,{clearErrors:T}=Oo(),{setDirty:E,setTouched:N,setFocused:O,validityData:D,setFilled:A,name:P,disabled:z,validation:F,validationMode:I}=Zt(),_=To({id:t}),M=z||p,L=P??l,[H,$]=Lt({controlled:n,default:x?o??$t:o,name:"Select",state:"value"}),[U,G]=Lt({controlled:s,default:i,name:"Select",state:"open"}),V=c.useRef([]),X=c.useRef([]),j=c.useRef(null),K=c.useRef(null),de=c.useRef(0),se=c.useRef(null),ne=c.useRef([]),re=c.useRef(!1),q=c.useRef(null),ie=c.useRef(null),ge=c.useRef({allowSelectedMouseUp:!1,allowUnselectedMouseUp:!1,dragY:0}),ue=c.useRef(!1),{mounted:Z,setMounted:J,transitionStatus:ae}=dn(U),{openMethod:ce,triggerProps:oe}=Zd(U),le=gt(()=>new Co({id:_,labelId:void 0,modal:h,multiple:x,itemToStringLabel:w,itemToStringValue:S,isItemEqualToValue:R,value:H,open:U,mounted:Z,transitionStatus:ae,items:v,forceMount:!1,openMethod:null,activeIndex:null,selectedIndex:null,popupProps:{},triggerProps:{},triggerElement:null,positionerElement:null,listElement:null,popupSide:null,scrollUpArrowVisible:!1,scrollDownArrowVisible:!1,hasScrollArrows:!1})).current,W=Ee(le,Pe.activeIndex),Q=Ee(le,Pe.selectedIndex),fe=Ee(le,Pe.triggerElement),te=Ee(le,Pe.positionerElement),ee=Lv(ce),me=ce??ee,ye=c.useMemo(()=>x?"":so(H,S),[x,H,S]),De=c.useMemo(()=>x&&Array.isArray(H)?H.map(Ce=>so(Ce,S)):so(H,S),[x,H,S]),Me=st(fe),Ge=pe(()=>De);Io(Me,_,H,Ge,!M,l);const Le=c.useRef(H),ze=x?Array.isArray(H)&&H.length>0:H!=null&&ye!=="";he(()=>{A(ze)},[ze,A]),he(function(){let je=H,dt=!1;if(x){const kt=Array.isArray(H)?H:[];dt=kt.length===0,je=kt[kt.length-1]}const Ft=dt?-1:Ur(ne.current,je,R),xt=Ft===-1?null:Ft;xt===null&&(ie.current=null),!U&&le.set("selectedIndex",xt)},[x,U,H,R,le]);function et(Ce){const je=D.initialValue;return Array.isArray(Ce)&&Array.isArray(je)?!Xa(Ce,je,(dt,Ft)=>vo(dt,Ft,R)):Ce!==je}Po(H,()=>{T(L),E(et(H)),F.change(H)});const Te=pe((Ce,je)=>{a==null||a(Ce,je),!je.isCanceled&&(G(Ce),!Ce&&(je.reason===wn||je.reason===Cs)&&(N(!0),O(!1),I==="onBlur"&&F.commit(H)))}),be=pe(()=>{J(!1),le.update({activeIndex:null,openMethod:null,scrollUpArrowVisible:!1,scrollDownArrowVisible:!1}),b==null||b(!1)});Tt({enabled:!g,open:U,ref:j,onComplete(){U||be()}}),c.useImperativeHandle(g,()=>({unmount:be}),[be]);const Ve=pe((Ce,je)=>{r==null||r(Ce,je),!je.isCanceled&&$(Ce)}),Fe=pe(Ce=>{const je=Qa(Ce.scrollHeight,Ce.clientHeight),dt=xo(Ce.scrollTop,je),Ft=dt>0,xt=dt<je;le.set("scrollUpArrowVisible",Ft),le.set("scrollDownArrowVisible",xt)}),Be=Gb({open:U,onOpenChange:Te,elements:{reference:fe,floating:te}}),Je=Os(Be,{enabled:!f&&!M,event:"mousedown"}),lt=ir(Be),Se=qd(Be,{enabled:!f&&!M,listRef:V,activeIndex:W,selectedIndex:Q,disabledIndices:$t,onNavigate(Ce){Ce===null&&!U||le.set("activeIndex",Ce)},focusItemOnHover:C}),We=Yd(Be,{enabled:!f&&!M&&(U||!x),listRef:X,activeIndex:W,selectedIndex:Q,disabledIndices:Ce=>ff(V.current[Ce]),onMatch(Ce){U?le.set("activeIndex",Ce):Ve(ne.current[Ce],ke(Rt))},onTyping(Ce){re.current=Ce}}),tt=c.useMemo(()=>Et(We.reference,Se.reference,lt.reference,Je.reference,oe),[Je.reference,We.reference,Se.reference,lt.reference,oe]),ct=c.useMemo(()=>Et(ar,We.floating,Se.floating,lt.floating),[We.floating,Se.floating,lt.floating]),yt=Se.item??Ke;Ex(()=>{le.update({popupProps:ct,triggerProps:tt})}),le.useSyncedValues({id:_,modal:h,multiple:x,value:H,open:U,mounted:Z,transitionStatus:ae,popupProps:ct,triggerProps:tt,items:v,itemToStringLabel:w,itemToStringValue:S,isItemEqualToValue:R,openMethod:me});const vt=c.useMemo(()=>({store:le,floatingContext:Be,required:y,disabled:M,readOnly:f,multiple:x,highlightItemOnHover:C,setValue:Ve,setOpen:Te,listRef:V,popupRef:j,scrollHandlerRef:K,handleScrollArrowVisibility:Fe,scrollArrowsMountedCountRef:de,itemProps:yt,valueRef:se,valuesRef:ne,labelsRef:X,typingRef:re,selectionRef:ge,firstItemTextRef:q,selectedItemTextRef:ie,validation:F,onOpenChangeComplete:b,alignItemWithTriggerActiveRef:ue,initialValueRef:Le}),[le,Be,y,M,f,x,C,Ve,Te,yt,F,b,Fe]),Oe=It(m,F.inputRef),He=x?void 0:L,qe=c.useMemo(()=>!x||!Array.isArray(H)||!L?null:H.map(Ce=>{const je=so(Ce,S);return Y.jsx("input",{type:"hidden",form:u,name:L,value:je,disabled:M},je)}),[x,H,u,L,S,M]);return Y.jsxs(kf.Provider,{value:vt,children:[k,Y.jsx("input",{...F.getValidationProps(M,{onFocus(){var Ce;(Ce=le.state.triggerElement)==null||Ce.focus({focusVisible:!0})},onChange(Ce){if(Ce.nativeEvent.defaultPrevented||M||f)return;const je=Ce.currentTarget.value,dt=ke(Rt,Ce.nativeEvent);function Ft(){if(x)return;const xt=je.toLowerCase();let kt=ne.current.findIndex(Do=>so(Do,S).toLowerCase()===xt||Ef(Do,w).toLowerCase()===xt);kt===-1&&(kt=ne.current.findIndex((Do,_n)=>{const mr=X.current[_n];return mr!=null&&mr.toLowerCase()===xt}));const pn=ne.current[kt];pn!=null&&Ve(pn,dt)}le.set("forceMount",!0),queueMicrotask(Ft)}}),id:_&&He==null?`${_}-hidden-input`:void 0,form:u,name:He,autoComplete:d,value:ye,disabled:M,required:y&&!(x&&ze),readOnly:f,ref:Oe,style:L?Ps:Sn,tabIndex:-1,"aria-hidden":!0,suppressHydrationWarning:!0}),qe]})}const Mr=5;function Mf(e,t){const n=Ox(t);return e.clientX>=n.left-Mr&&e.clientX<=n.right+Mr&&e.clientY>=n.top-Mr&&e.clientY<=n.bottom+Mr}function Ox(e){const t=e.getBoundingClientRect(),n=Xe(e);if(ya)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 Ax=400,Nx={...Qo,...Yn,popupSide:e=>e?{"data-popup-side":e}:null,value:()=>null},zE=c.forwardRef(function(t,n){var re;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}=Zt(),{labelId:g}=An(),{store:m,setOpen:b,selectionRef:v,validation:x,readOnly:w,required:S,alignItemWithTriggerActiveRef:R,disabled:C}=Qt(),k=h||C||i,T=Ee(m,Pe.open),E=Ee(m,Pe.mounted),N=Ee(m,Pe.value),O=Ee(m,Pe.triggerProps),D=Ee(m,Pe.positionerElement),A=Ee(m,Pe.listElement),P=Ee(m,Pe.popupSide),z=Ee(m,Pe.id),F=Ee(m,Pe.labelId),I=Ee(m,Pe.hasSelectedValue),_=E&&D?P:null,M=s??z,L=hf(g,F);To({id:M});const H=st(D),$=c.useRef(null),{getButtonProps:U,buttonRef:G}=Mt({disabled:k,native:a}),V=m.useStateSetter("triggerElement"),X=ot(),j=ot(),K=ot();c.useEffect(()=>{if(T)return K.start(Ax,()=>{v.current.allowUnselectedMouseUp=!0,v.current.allowSelectedMouseUp=!0}),()=>{K.clear()};v.current={allowSelectedMouseUp:!1,allowUnselectedMouseUp:!1,dragY:0},j.clear()},[T,v,j,K]);const de=Et(O,{id:M,role:"combobox","aria-expanded":T,"aria-haspopup":"listbox","aria-controls":T?(A==null?void 0:A.id)??((re=es(D))==null?void 0:re.id):void 0,"aria-labelledby":L,"aria-readonly":w||void 0,"aria-required":S||void 0,tabIndex:k?-1:0,onFocus(q){p(!0),T&&R.current&&b(!1,ke(Rt,q.nativeEvent)),X.start(0,()=>{m.set("forceMount",!0)})},onBlur(q){ve(D,q.relatedTarget)||(d(!0),p(!1),f==="onBlur"&&x.commit(N))},onMouseDown(q){if(T)return;const ie=Ie(q.currentTarget);function ge(ue){if(!$.current)return;const Z=ue.target;ve($.current,Z)||ve(H.current,Z)||Mf(ue,$.current)||b(!1,ke(wa,ue))}j.start(0,()=>{ie.addEventListener("mouseup",ge,{once:!0})})}},u,U),se=x.getValidationProps(k,de);se.role="combobox";const ne={...y,open:T,disabled:k,value:N,readOnly:w,popupSide:_,placeholder:!I};return we("button",t,{ref:[n,$,G,V],state:ne,stateAttributesMapping:Nx,props:se})}),Dx={value:()=>null},VE=c.forwardRef(function(t,n){const{className:o,render:r,children:s,placeholder:i,style:a,...l}=t,{store:u,valueRef:d}=Qt(),p=Ee(u,Pe.value),f=Ee(u,Pe.items),y=Ee(u,Pe.itemToStringLabel),h=Ee(u,Pe.hasSelectedValue),g=!h&&i!=null&&s==null,m=Ee(u,Pe.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=Ix(p,f,y):v=Pf(p,f,y),we("span",t,{state:b,ref:[n,d],props:[{children:v},l],stateAttributesMapping:Dx})}),$E=c.forwardRef(function(t,n){const{render:o,className:r,style:s,...i}=t,{store:a}=Qt(),u={open:Ee(a,Pe.open)};return we("span",t,{state:u,ref:n,props:[{"aria-hidden":!0,children:"▼"},i],stateAttributesMapping:Gs})}),HE=c.forwardRef(function(t,n){const{store:o}=Qt(),r=Ee(o,Pe.mounted),s=Ee(o,Pe.forceMount);return r||s?Y.jsx(Ts,{ref:n,...t}):null}),Tf=c.createContext(void 0);function Ja(){const e=c.useContext(Tf);if(!e)throw new Error($e(59));return e}function gs(e,t){e&&Object.assign(e.style,t)}const If={position:"relative",maxHeight:"100%",overflowX:"hidden",overflowY:"auto"},_x={position:"fixed"},jE=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=Sd,style:v,...x}=t,{store:w,listRef:S,labelsRef:R,alignItemWithTriggerActiveRef:C,selectedItemTextRef:k,valuesRef:T,initialValueRef:E,popupRef:N,setValue:O,floatingContext:D}=Qt(),A=Ee(w,Pe.open),P=Ee(w,Pe.mounted),z=Ee(w,Pe.modal),F=Ee(w,Pe.value),I=Ee(w,Pe.openMethod),_=Ee(w,Pe.positionerElement),M=Ee(w,Pe.triggerElement),L=Ee(w,Pe.isItemEqualToValue),H=Ee(w,Pe.transitionStatus),$=c.useRef(null),U=c.useRef(null),[G,V]=c.useState(m),X=P&&G&&I!=="touch";!P&&G!==m&&V(m),c.useImperativeHandle(C,()=>X),Wa((X||z)&&A,I==="touch",_,M);const j=Xs({anchor:o,floatingRootContext:D,positionMethod:i,mounted:P,side:a,sideOffset:u,align:l,alignOffset:d,arrowPadding:y,collisionBoundary:p,collisionPadding:f,sticky:h,disableAnchorTracking:g??X,collisionAvoidance:b,keepMounted:!0}),K=X?"none":j.side,de=X?_x:j.positionerStyles,se={open:A,side:K,align:j.align,anchorHidden:j.anchorHidden};he(()=>{w.set("popupSide",j.side)},[w,j.side]);const ne=w.useStateSetter("positionerElement"),re=Zs(t,se,{styles:de,transitionStatus:H,props:x,refs:[n,ne],hidden:!P,inert:!A}),q=c.useRef(0),ie=pe(ue=>{if(T.current.length===0)return;const Z=q.current;if(q.current=ue.size,ue.size===Z)return;const J=ke(Rt);if(Z!==0&&!w.state.multiple&&F!==null&&Ur(T.current,F,L)===-1){const ce=E.current,le=ce!=null&&Ur(T.current,ce,L)!==-1?ce:null;O(le,J),le===null&&(w.set("selectedIndex",null),k.current=null)}if(Z!==0&&w.state.multiple&&Array.isArray(F)){const ae=F.filter(ce=>Ur(T.current,ce,L)!==-1);ae.length!==F.length&&(O(ae,J),ae.length===0&&(w.set("selectedIndex",null),k.current=null))}if(A&&X){w.update({scrollUpArrowVisible:!1,scrollDownArrowVisible:!1});const ae={height:""};gs(_,ae),gs(N.current,ae)}}),ge=c.useMemo(()=>({...j,side:K,alignItemWithTriggerActive:X,setControlledAlignItemWithTrigger:V,scrollUpArrowRef:$,scrollDownArrowRef:U}),[j,K,X,V]);return Y.jsx(dr,{elementsRef:S,labelsRef:R,onMapChange:ie,children:Y.jsxs(Tf.Provider,{value:ge,children:[P&&z&&Y.jsx(Ks,{inert:lr(!A),cutout:M}),re]})})}),Tr="base-ui-disable-scrollbar",er={className:Tr,getElement(e){return Y.jsx("style",{nonce:e,href:Tr,precedence:"base-ui:low",children:`.${Tr}{scrollbar-width:none}.${Tr}::-webkit-scrollbar{display:none}`})}},Lx={...qs,...jt},BE=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}=Qt(),{side:S,align:R,alignItemWithTriggerActive:C,isPositioned:k,setControlledAlignItemWithTrigger:T}=Ja(),E=Js()!=null,N=On(),{nonce:O,disableStyleElements:D}=Za(),A=Ee(l,Pe.id),P=Ee(l,Pe.open),z=Ee(l,Pe.openMethod),F=Ee(l,Pe.mounted),I=Ee(l,Pe.popupProps),_=Ee(l,Pe.transitionStatus),M=Ee(l,Pe.triggerElement),L=Ee(l,Pe.positionerElement),H=Ee(l,Pe.listElement),$=c.useRef(!1),U=c.useRef(!1),G=c.useRef({}),V=Hn(),X=pe(se=>{if(!L||!u.current||!U.current)return;const ne=L.style.top==="0px",re=L.style.bottom==="0px";if($.current||!C||!ne&&!re){m(se);return}const q=zl(L),ie=jo(L.getBoundingClientRect().height,"y",q),ge=Ie(L),ue=Xe(L),Z=ue.getComputedStyle(L),J=parseFloat(Z.marginTop),ae=parseFloat(Z.marginBottom),ce=Fl(ue.getComputedStyle(u.current)),oe=Math.min(ge.documentElement.clientHeight-J-ae,ce),le=se.scrollTop,W=Ir(se);let Q=null;const fe=ye=>{L.style.height=`${ye}px`},te=ne?W-le:le,ee=Math.min(ie+te,oe);if(te<=Vt){const ye=ut(te,0,oe-ie);ye>0&&fe(ie+ye),se.scrollTop=ne?W:0,oe-(ie+ye)<=Vt&&($.current=!0),m(se);return}if(oe-ee>Vt)Q=ne?1/0:0;else if(re&&le<W){const ye=ie+te-oe;Q=le-(te-ye)}const me=Math.ceil(ee);if(me!==0&&fe(me),Q!=null){const ye=ut(Q,0,Ir(se));Math.abs(se.scrollTop-ye)>Vt&&(se.scrollTop=ye)}me>=oe-Vt&&($.current=!0),m(se)});c.useImperativeHandle(b,()=>X,[X]),Tt({open:P,ref:u,onComplete(){P&&(d==null||d(!0))}});const j={open:P,transitionStatus:_,side:S,align:R};he(()=>{!L||!u.current||Object.keys(G.current).length||(G.current={top:L.style.top||"0",left:L.style.left||"0",right:L.style.right,height:L.style.height,bottom:L.style.bottom,minHeight:L.style.minHeight,maxHeight:L.style.maxHeight,marginTop:L.style.marginTop,marginBottom:L.style.marginBottom})},[u,L]),he(()=>{P||C||(U.current=!1,$.current=!1,gs(L,G.current))},[P,C,L,u]),he(()=>{var re,q;const se=u.current;if(!P||!M||!L||!se||C&&!k||l.state.transitionStatus==="ending")return;if(U.current=!0,se.style.removeProperty("--transform-origin"),!C){V.request(()=>m(H||se));return}const ne=Fx(se);try{let ie=h.current;ie!=null&&ie.isConnected||(ie=!Pe.hasSelectedValue(l.state)&&((re=y.current)!=null&&re.isConnected)?y.current:null);const ge=f.current,ue=Xe(L),Z=ue.getComputedStyle(L),J=ue.getComputedStyle(se),ae=Ie(M),ce=zl(M),oe=Or(M.getBoundingClientRect(),ce),le=Or(L.getBoundingClientRect(),ce),W=oe.height,Q=H||se,fe=Q.scrollHeight,te=parseFloat(J.borderBottomWidth),ee=parseFloat(Z.marginTop)||10,me=parseFloat(Z.marginBottom)||10,ye=parseFloat(Z.minHeight)||100,De=Fl(J),Me=5,Ge=5,Le=20,ze=ae.documentElement.clientHeight-ee-me,et=ae.documentElement.clientWidth,Te=ze-oe.bottom+W;let be,Ve=N==="rtl"?oe.right-le.width:oe.left,Fe=0;if(ie&&ge){const He=Or(ge.getBoundingClientRect(),ce);be=Or(ie.getBoundingClientRect(),ce),Ve=le.left+(N==="rtl"?He.right-be.right:He.left-be.left);const qe=He.top-oe.top+He.height/2;Fe=be.top-le.top+be.height/2-qe}const Be=Te+Fe+me+te;let Je=Math.min(ze,Be);const lt=ze-ee-me,Se=Be-Je,We=et-Ge;L.style.left=`${ut(Ve,Me,We-le.width)}px`,L.style.height=`${Je}px`,L.style.maxHeight="none",L.style.marginTop=`${ee}px`,L.style.marginBottom=`${me}px`,se.style.height="100%";const tt=Ir(Q),ct=Se>=tt-Vt;ct&&(Je=Math.min(ze,le.height)-(Se-tt));const yt=oe.top<Le||oe.bottom>ze-Le||Math.ceil(Je)+Vt<Math.min(fe,ye),vt=(((q=ue.visualViewport)==null?void 0:q.scale)??1)!==1&&Kt;if(yt||vt){gs(L,G.current),T(!1);return}const Oe=Math.max(ye,Je);if(ct){const He=Math.max(0,ze-Be);L.style.top=le.height>=lt?"0":`${He}px`,L.style.height=`${Je}px`,Q.scrollTop=Ir(Q)}else L.style.bottom="0",Q.scrollTop=Se;if(be){const He=le.top,qe=le.height,Ce=be.top+be.height/2,je=ut(qe>0?(Ce-He)/qe*100:50,0,100);se.style.setProperty("--transform-origin",`50% ${je}%`)}(Oe===ze||Je>=De)&&($.current=!0),m(Q),x&&l.state.selectedIndex===null&&l.state.activeIndex===null&&v.current[0]!=null&&l.set("activeIndex",0)}finally{ne()}},[l,P,L,M,f,y,h,u,m,C,T,V,H,v,x,N,k]),c.useEffect(()=>{if(!C||!L||!P)return;const se=Xe(L);function ne(re){p(!1,ke(a1,re))}return Ae(se,"resize",ne)},[p,C,L,P]);const K={...H?{role:"presentation","aria-orientation":void 0}:{role:"listbox","aria-multiselectable":g||void 0,id:`${A}-list`},onKeyDown(se){E&&qn.has(se.key)&&se.stopPropagation()},onScroll(se){H||X(se.currentTarget)},...C&&{style:H?{height:"100%"}:If},className:!H&&C?er.className:void 0},de=we("div",t,{ref:[n,u],state:j,stateAttributesMapping:Lx,props:[I,K,ur(_),a]});return Y.jsxs(c.Fragment,{children:[!D&&er.getElement(O),Y.jsx(Is,{context:w,modal:!1,disabled:!F,openInteractionType:z,returnFocus:i,restoreFocus:!0,children:de})]})});function Fl(e){const t=e.maxHeight;return t.endsWith("px")&&parseFloat(t)||1/0}function Ir(e){return Qa(e.scrollHeight,e.clientHeight)}function zl(e){return Ld.getScale(e)}function jo(e,t,n){return e/n[t]}function Or(e,t){return Ko({x:jo(e.x,"x",t),y:jo(e.y,"y",t),width:jo(e.width,"x",t),height:jo(e.height,"y",t)})}const Vl=[["transform","none"],["scale","1"],["translate","0 0"]];function Fx(e){const{style:t}=e,n={};for(const[o,r]of Vl)n[o]=t.getPropertyValue(o),t.setProperty(o,r,"important");return()=>{for(const[o]of Vl){const r=n[o];r?t.setProperty(o,r):t.removeProperty(o)}}}const WE=c.forwardRef(function(t,n){const{render:o,className:r,style:s,...i}=t,{store:a,scrollHandlerRef:l,multiple:u}=Qt(),{alignItemWithTriggerActive:d}=Ja(),p=Ee(a,Pe.hasScrollArrows),f=Ee(a,Pe.openMethod),h={id:`${Ee(a,Pe.id)}-list`,role:"listbox","aria-multiselectable":u||void 0,onScroll(m){var b;(b=l.current)==null||b.call(l,m.currentTarget)},...d&&{style:If},className:p&&f!=="touch"?er.className:void 0},g=a.useStateSetter("listElement");return we("div",t,{ref:[n,g],props:[h,i]})}),Of=c.createContext(void 0);function ec(){const e=c.useContext(Of);if(!e)throw new Error($e(57));return e}const UE=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=Mo({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}=Qt(),k=R||l,T=Ee(y,Pe.isActive,f.index),E=Ee(y,Pe.open),N=Ee(y,Pe.isSelected,i),O=Ee(y,Pe.isSelectedByFocus,f.index),D=Ee(y,Pe.isItemEqualToValue),A=f.index,P=c.useRef(null);he(()=>{const V=x.current;return V[A]=i,()=>{delete V[A]}},[A,i,x]),he(()=>{const V=y.state.value;let X=V;w&&Array.isArray(V)&&(X=V.length>0?V[V.length-1]:void 0),X!==void 0&&vo(i,X,D)&&(y.set("selectedIndex",A),p.current&&(S.current=p.current))},[A,w,D,y,i,S]);const z=c.useRef("mouse"),F=c.useRef(!1),{getButtonProps:I,buttonRef:_}=Mt({disabled:k,focusableWhenDisabled:!0,native:u,composite:!0}),M={disabled:k,selected:N,highlighted:T};function L(V){if(R||C)return;const X=y.state.value;if(w){const j=Array.isArray(X)?X:[],K=N?Mx(j,i,D):[...j,i];m(K,ke(lo,V))}else m(i,ke(lo,V)),g(!1,ke(lo,V))}function H(){b.current.dragY=0}const $={role:"option","aria-selected":N,tabIndex:E&&T?0:-1,onKeyDown(V){y.set("activeIndex",A),V.key===" "&&v.current&&V.preventDefault()},onClick(V){const X=z.current!=="touch",j=V.nativeEvent.pointerType,K=X&&ba(V.nativeEvent)&&(j!==void 0||T),de=X&&!K&&!F.current;F.current=!1,!(k||de)&&L(V.nativeEvent)},onPointerEnter(V){z.current=V.pointerType},onPointerMove(V){if(V.pointerType==="mouse"&&V.buttons===1){const X=b.current;X.dragY+=V.movementY,X.dragY**2>=64&&(X.allowUnselectedMouseUp=!0)}},onPointerDown(V){z.current=V.pointerType,F.current=!0,H()},onMouseUp(){var j;if(H(),k||z.current==="touch"||F.current)return;const V=!b.current.allowSelectedMouseUp&&N,X=!b.current.allowUnselectedMouseUp&&!N;V||X||(F.current=!0,(j=P.current)==null||j.click(),F.current=!1)}},U=we("div",t,{ref:[_,n,f.ref,P],state:M,props:[h,$,d,I]}),G=c.useMemo(()=>({selected:N,index:A,textRef:p,selectedByFocus:O}),[N,A,p,O]);return Y.jsx(Of.Provider,{value:G,children:U})})),GE=c.forwardRef(function(t,n){const{selected:o}=ec();return t.keepMounted||o?Y.jsx(zx,{...t,ref:n}):null}),zx=c.memo(c.forwardRef((e,t)=>{const{render:n,className:o,style:r,keepMounted:s,...i}=e,{selected:a}=ec(),l=c.useRef(null),{transitionStatus:u,setMounted:d}=dn(a),f=we("span",e,{ref:[t,l],state:{selected:a,transitionStatus:u},props:[{"aria-hidden":!0,children:"✔️"},i],stateAttributesMapping:jt});return Tt({open:a,ref:l,onComplete(){a||d(!1)}}),f})),qE=c.memo(c.forwardRef(function(t,n){const{index:o,textRef:r,selectedByFocus:s}=ec(),{firstItemTextRef:i,selectedItemTextRef:a}=Qt(),{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 we("div",t,{ref:[f,n,r],props:p})})),Af=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}=Qt(),{side:g,scrollDownArrowRef:m,scrollUpArrowRef:b}=Ja(),v=u?Pe.scrollUpArrowVisible:Pe.scrollDownArrowVisible,x=Ee(d,v),w=Ee(d,Pe.openMethod),S=x&&w!=="touch",R=ot(),C=u?b:m,{mounted:k,transitionStatus:T,setMounted:E}=dn(S);he(()=>(h.current+=1,d.set("hasScrollArrows",!0),()=>{h.current=Math.max(0,h.current-1),h.current===0&&d.set("hasScrollArrows",!1)}),[d,h]),Tt({open:S,ref:C,onComplete(){S||E(!1)}});const D=we("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 z(){var H;const F=d.state.listElement??p.current;if(!F)return;d.set("activeIndex",null),y(F);const I=Qa(F.scrollHeight,F.clientHeight),_=xo(F.scrollTop,I),M=_===(u?0:I),L=f.current;if(_!==F.scrollTop&&(F.scrollTop=_),M){R.clear();return}if(L.length>0){const $=((H=C.current)==null?void 0:H.offsetHeight)||0;F.scrollTop=Vx(L,u,_,F.clientHeight,$,I)}R.start(40,z)}R.start(40,z)},onMouseLeave(){R.clear()}},l],stateAttributesMapping:jt});return k||a?D:null});function Vx(e,t,n,o,r,s){if(t){let d=0;const p=n+r-Vt;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?xo(y.offsetTop-r,s):0}let i=e.length-1;const a=n+o-r+Vt;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?xo(u.offsetTop+u.offsetHeight-o+r,s):s}const YE=c.forwardRef(function(t,n){return Y.jsx(Af,{...t,ref:n,direction:"down"})}),XE=c.forwardRef(function(t,n){return Y.jsx(Af,{...t,ref:n,direction:"up"})}),$x=c.createContext(void 0),KE=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=we("div",t,{ref:n,props:[{role:"group","aria-labelledby":a},i]});return Y.jsx($x.Provider,{value:u,children:d})}),Nf=c.createContext(void 0);function Nn(e){const t=c.useContext(Nf);if(!e&&t===void 0)throw new Error($e(27));return t}const ZE=c.forwardRef(function(t,n){const{render:o,className:r,style:s,forceRender:i=!1,...a}=t,l=Nn(),u=l.useState("open"),d=l.useState("nested"),p=l.useState("mounted"),f=l.useState("transitionStatus");return we("div",t,{state:{open:u,transitionStatus:f},ref:[l.context.backdropRef,n],stateAttributesMapping:Ys,props:[{role:"presentation",hidden:!p,style:{userSelect:"none",WebkitUserSelect:"none"}},a],enabled:i||!d})}),QE=c.forwardRef(function(t,n){const{render:o,className:r,style:s,disabled:i=!1,nativeButton:a=!0,...l}=t,u=Nn(),d=u.useState("open"),{getButtonProps:p,buttonRef:f}=Mt({disabled:i,native:a}),y={disabled:i};function h(g){d&&u.setOpen(!1,ke(od,g.nativeEvent))}return we("button",t,{state:y,ref:[n,f],props:[{onClick:h},l,p]})}),JE=c.forwardRef(function(t,n){const{render:o,className:r,style:s,id:i,...a}=t,l=Nn(),u=rt(i);return l.useSyncedValueWithCleanup("descriptionElementId",u),we("p",t,{ref:n,props:[{id:u},a]})}),Df=c.createContext(void 0);function Hx(){const e=c.useContext(Df);if(e===void 0)throw new Error($e(26));return e}const jx={...qs,...jt,nestedDialogOpen(e){return e?{"data-nested-dialog-open":""}:null}},eP=c.forwardRef(function(t,n){const{render:o,className:r,style:s,finalFocus:i,initialFocus:a,...l}=t,u=Nn(),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");Hx(),Tt({open:v,ref:u.context.popupRef,onComplete(){var D,A;v&&((A=(D=u.context).onOpenChangeComplete)==null||A.call(D,!0))}});const k=a===void 0?jd(u.context.popupRef):a,T=b>0,E=u.useStateSetter("popupElement"),O=we("div",t,{state:{open:v,nested:m,transitionStatus:S,nestedDialogOpen:T},props:[y,{id:C,"aria-labelledby":w,"aria-describedby":d,role:R,...ar,hidden:!g,onKeyDown(D){qn.has(D.key)&&D.stopPropagation()},style:{"--nested-dialogs":b}},l],ref:[n,u.context.popupRef,E],stateAttributesMapping:jx});return Y.jsx(Is,{context:f,openInteractionType:x,disabled:!g,closeOnFocusOut:!p,initialFocus:k,returnFocus:i,modal:h!==!1,restoreFocus:"popup",children:O})}),tP=c.forwardRef(function(t,n){const{keepMounted:o=!1,...r}=t,s=Nn(),i=s.useState("mounted"),a=s.useState("modal"),l=s.useState("open");return i||o?Y.jsx(Df.Provider,{value:o,children:Y.jsxs(Ts,{ref:n,...r,children:[i&&a===!0&&Y.jsx(Ks,{ref:s.context.internalBackdropRef,inert:lr(!l)}),t.children]})}):null});function Bx({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=ir(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=at(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 tf(o&&s===!0,i),e.useContextCallback("onNestedDialogOpen",(h,g)=>{u(h),p(g)}),he(()=>(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]),Hs(e,{activeTriggerProps:y.reference,inactiveTriggerProps:y.trigger,popupProps:y.floating,nestedOpenDialogCount:l,nestedOpenDrawerCount:d}),null}const Wx={...Bs,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 Ux extends Co{constructor(n,o,r){const s=new Eo,i=Gx(n,s,o,r);super(i,qx(s),Wx);Ue(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};Fs(r,n,o.trigger),this.update(r)})}}function Gx(e,t,n,o=!1){const r={...js(),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=La(t,n,o),r}function qx(e){return{popupRef:c.createRef(),backdropRef:c.createRef(),internalBackdropRef:c.createRef(),outsidePressEnabledRef:{current:!0},triggerElements:e,onOpenChange:void 0,onOpenChangeComplete:void 0}}function _f(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=Nn(!0),x=v!=null,w={modal:g,disablePointerDismissal:m,nested:x,role:b},S=Da((N,O)=>new Ux({open:r,openProp:o,activeTriggerId:f,triggerIdProp:p,...w},N,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");Bd(S,R),Vs(S);const{forceUnmount:T}=$s(R,S);c.useImperativeHandle(u,()=>({unmount:T,close:()=>S.setOpen(!1,ke(Es))}),[T,S]);const E=R||C;return Y.jsxs(Nf.Provider,{value:S,children:[d&&Y.jsx(Ls,{handle:d,store:S}),E&&Y.jsx(Bx,{store:S,parentContext:v==null?void 0:v.context,isDrawer:y}),typeof n=="function"?n({payload:k}):n]})}function nP(e){return _f("dialog",e)}const oP=c.forwardRef(function(t,n){const{render:o,className:r,style:s,id:i,...a}=t,l=Nn(),u=rt(i);return l.useSyncedValueWithCleanup("titleElementId",u),we("h2",t,{ref:n,props:[{id:u},a]})}),Yx=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=Nn(!0),h=Ws(d)??f;if(!h)throw new Error($e(79));const g=rt(l),m=h.useState("floatingRootContext"),b=h.useState("isOpenedByTrigger",g),v=h.useState("triggerPopupId",g),x=c.useRef(null),{registerTrigger:w,isMountedByThisTrigger:S}=zs(g,x,h,{payload:u}),{getButtonProps:R,buttonRef:C}=Mt({disabled:i,native:a}),k=Os(m),T=Ba(()=>h.select("open"),O=>{h.set("openMethod",O)}),E={disabled:i,open:b},N=h.useState("triggerProps",S);return we("button",t,{state:E,ref:[C,n,w,x],props:[k.reference,N,T,{[Pa]:"",id:g,"aria-haspopup":"dialog","aria-expanded":b,"aria-controls":v},p,R],stateAttributesMapping:Gs})});function rP(e){return we(e.defaultTagName??"div",e,e)}var Xx=Object.defineProperty,Ao=(e,t)=>Xx(e,"name",{value:t,configurable:!0}),Lf=!!(typeof window<"u"&&window.document&&window.document.createElement);function $n(e,t,{checkForDefaultPrevented:n=!0}={}){return Ao(function(r){if(e==null||e(r),n===!1||!r||!r.defaultPrevented)return t==null?void 0:t(r)},"handleEvent")}Ao($n,"composeEventHandlers");function Kx(e){var t;if(!Lf)throw new Error("Cannot access window outside of the DOM");return((t=e==null?void 0:e.ownerDocument)==null?void 0:t.defaultView)??window}Ao(Kx,"getOwnerWindow");function Ui(e){if(!Lf)throw new Error("Cannot access document outside of the DOM");return(e==null?void 0:e.ownerDocument)??document}Ao(Ui,"getOwnerDocument");function Ff(e,t=!1){const{activeElement:n}=Ui(e);if(!(n!=null&&n.nodeName))return null;if(zf(n)&&n.contentDocument)return Ff(n.contentDocument.body,t);if(t){const o=n.getAttribute("aria-activedescendant");if(o){const r=Ui(n).getElementById(o);if(r)return r}}return n}Ao(Ff,"getActiveElement");function zf(e){return e.tagName==="IFRAME"}Ao(zf,"isFrame");var Zx=Object.defineProperty,tc=(e,t)=>Zx(e,"name",{value:t,configurable:!0});function Gi(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}tc(Gi,"setRef");function Vf(...e){return t=>{let n=!1;const o=e.map(r=>{const s=Gi(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():Gi(e[r],null)}}}}tc(Vf,"composeRefs");function No(...e){return c.useCallback(Vf(...e),e)}tc(No,"useComposedRefs");var Qx=Object.defineProperty,Ot=(e,t)=>Qx(e,"name",{value:t,configurable:!0});function Jx(e,t){const n=c.createContext(t);n.displayName=e+"Context";const o=Ot(s=>{const{children:i,...a}=s,l=c.useMemo(()=>a,Object.values(a));return Y.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 Ot(r,"useContext"),[o,r]}Ot(Jx,"createContext");function $f(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=Ot(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 Y.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 Ot(d,"useContext"),[u,d]}Ot(o,"createContext");const r=Ot(()=>{const s=n.map(i=>c.createContext(i));return Ot(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,Hf(r,...t)]}Ot($f,"createContextScope");function Hf(...e){const t=e[0];if(e.length===1)return t;const n=Ot(()=>{const o=e.map(r=>({useScope:r(),scopeName:r.scopeName}));return Ot(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}Ot(Hf,"composeContextScopes");var wo=globalThis!=null&&globalThis.document?c.useLayoutEffect:()=>{},e2=Object.defineProperty,t2=(e,t)=>e2(e,"name",{value:t,configurable:!0}),n2=ko[" useId ".trim().toString()]||(()=>{}),o2=0;function Gr(e){const[t,n]=c.useState(n2());return wo(()=>{e||n(o=>o??String(o2++))},[e]),e||(t?`radix-${t}`:"")}t2(Gr,"useId");var r2=Object.defineProperty,s2=(e,t)=>r2(e,"name",{value:t,configurable:!0}),$l=ko[" useEffectEvent ".trim().toString()],Hl=ko[" useInsertionEffect ".trim().toString()];function jf(e){if(typeof $l=="function")return $l(e);const t=c.useRef(()=>{throw new Error("Cannot call an event handler while rendering.")});return typeof Hl=="function"?Hl(()=>{t.current=e}):wo(()=>{t.current=e}),c.useMemo(()=>((...n)=>{var o;return(o=t.current)==null?void 0:o.call(t,...n)}),[])}s2(jf,"useEffectEvent");var i2=Object.defineProperty,pr=(e,t)=>i2(e,"name",{value:t,configurable:!0}),a2=ko[" useInsertionEffect ".trim().toString()]||wo;function Bf({prop:e,defaultProp:t,onChange:n=pr(()=>{},"onChange"),caller:o}){const[r,s,i]=Wf({defaultProp:t,onChange:n}),a=e!==void 0,l=a?e:r,u=c.useCallback(d=>{var p;if(a){const f=Uf(d)?d(e):d;f!==e&&((p=i.current)==null||p.call(i,f))}else s(d)},[a,e,s,i]);return[l,u]}pr(Bf,"useControllableState");function Wf({defaultProp:e,onChange:t}){const[n,o]=c.useState(e),r=c.useRef(n),s=c.useRef(t);return a2(()=>{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]}pr(Wf,"useUncontrolledState");function Uf(e){return typeof e=="function"}pr(Uf,"isFunction");var jl=Symbol("RADIX:SYNC_STATE");function c2(e,t,n,o){const{prop:r,defaultProp:s,onChange:i,caller:a}=t,l=r!==void 0,u=jf(i),d=[{...n,state:s}];o&&d.push(o);const[p,f]=c.useReducer((m,b)=>{if(b.type===jl)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:jl,state:r})},[r,p.state,l]),[g,f]}pr(c2,"useControllableStateReducer");var l2=Object.defineProperty,Bt=(e,t)=>l2(e,"name",{value:t,configurable:!0});function nc(e){const t=c.forwardRef((n,o)=>{let{children:r,...s}=n,i=null,a=!1;const l=[];qi(r)&&typeof Ar=="function"&&(r=Ar(r._payload)),c.Children.forEach(r,f=>{var y;if(Xf(f)){a=!0;const h=f;let g="child"in h.props?h.props.child:h.props.children;qi(g)&&typeof Ar=="function"&&(g=Ar(g._payload)),i=d2(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?Yf(i):void 0,d=No(o,u);if(!i){if(r||r===0)throw new Error(a?h2(e):p2(e));return r}const p=qf(s,i.props??{});return i.type!==c.Fragment&&(p.ref=o?d:u),c.cloneElement(i,p)});return t.displayName=`${e}.Slot`,t}Bt(nc,"createSlot");var Gf=Symbol.for("radix.slottable");function u2(e){const t=Bt(n=>"child"in n?n.children(n.child):n.children,"Slottable");return t.displayName=`${e}.Slottable`,t.__radixId=Gf,t}Bt(u2,"createSlottable");var d2=Bt((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 qf(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}}Bt(qf,"mergeProps");function Yf(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)}Bt(Yf,"getElementRef");function Xf(e){return c.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===Gf}Bt(Xf,"isSlottable");var f2=Symbol.for("react.lazy");function qi(e){return e!=null&&typeof e=="object"&&"$$typeof"in e&&e.$$typeof===f2&&"_payload"in e&&Kf(e._payload)}Bt(qi,"isLazyComponent");function Kf(e){return typeof e=="object"&&e!==null&&"then"in e}Bt(Kf,"isPromiseLike");var p2=Bt(e=>`${e} failed to slot onto its children. Expected a single React element child or \`Slottable\`.`,"createSlotError"),h2=Bt(e=>`${e} failed to slot onto its \`Slottable\`. Expected \`Slottable\` to receive a single React element child.`,"createSlottableError"),Ar=ko[" use ".trim().toString()],g2=Object.defineProperty,m2=(e,t)=>g2(e,"name",{value:t,configurable:!0}),y2=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],ti=y2.reduce((e,t)=>{const n=nc(`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),Y.jsx(l,{...a,ref:s})});return o.displayName=`Primitive.${t}`,{...e,[t]:o}},{});function Zf(e,t){e&&Dt.flushSync(()=>e.dispatchEvent(t))}m2(Zf,"dispatchDiscreteCustomEvent");var b2=Object.defineProperty,v2=(e,t)=>b2(e,"name",{value:t,configurable:!0});function So(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)}),[])}v2(So,"useCallbackRef");var x2=Object.defineProperty,ht=(e,t)=>x2(e,"name",{value:t,configurable:!0}),Yi="dismissableLayer.update",w2="dismissableLayer.pointerDownOutside",S2="dismissableLayer.focusOutside",Bl,Qf=c.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set,dismissableSurfaces:new Set}),R2=c.forwardRef(ht(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(Qf),[f,y]=c.useState(null),h=(f==null?void 0:f.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,g]=c.useState({}),m=No(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=ep(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 D=[...p.branches].some(A=>A.contains(O));return R&&!D},[p.branches,R])}),T=tp(O=>{if(r&&C.current)return;const D=O.target;[...p.branches].some(P=>P.contains(D))||(a==null||a(O),l==null||l(O),O.defaultPrevented||u==null||u())},h),E=f?w===b.length-1:!1,N=So(O=>{O.key==="Escape"&&(s==null||s(O),!O.defaultPrevented&&u&&(O.preventDefault(),u()))});return c.useEffect(()=>{if(E)return h.addEventListener("keydown",N,{capture:!0}),()=>h.removeEventListener("keydown",N,{capture:!0})},[h,E,N]),c.useEffect(()=>{if(f)return o&&(p.layersWithOutsidePointerEventsDisabled.size===0&&(Bl=h.body.style.pointerEvents,h.body.style.pointerEvents="none"),p.layersWithOutsidePointerEventsDisabled.add(f)),p.layers.add(f),Xi(),()=>{o&&(p.layersWithOutsidePointerEventsDisabled.delete(f),p.layersWithOutsidePointerEventsDisabled.size===0&&(h.body.style.pointerEvents=Bl))}},[f,h,o,p]),c.useEffect(()=>()=>{f&&(p.layers.delete(f),p.layersWithOutsidePointerEventsDisabled.delete(f),Xi())},[f,p]),c.useEffect(()=>{const O=ht(()=>g({}),"handleUpdate");return document.addEventListener(Yi,O),()=>document.removeEventListener(Yi,O)},[]),Y.jsx(ti.div,{...d,ref:m,style:{pointerEvents:S?R?"auto":"none":void 0,...t.style},onFocusCapture:$n(t.onFocusCapture,T.onFocusCapture),onBlurCapture:$n(t.onBlurCapture,T.onBlurCapture),onPointerDownCapture:$n(t.onPointerDownCapture,k.onPointerDownCapture)})},"DismissableLayer"));function Jf(){const e=c.useContext(Qf),[t,n]=c.useState(null);return c.useEffect(()=>{if(t)return e.dismissableSurfaces.add(t),()=>{e.dismissableSurfaces.delete(t)}},[t,e.dismissableSurfaces]),n}ht(Jf,"useDismissableLayerSurface");var k2=ht(()=>!0,"IS_TRUE");function ep(e,t){const{ownerDocument:n=globalThis==null?void 0:globalThis.document,deferPointerDownOutside:o=!1,isDeferredPointerDownOutsideRef:r,dismissableSurfaces:s,shouldHandlePointerDownOutside:i=k2}=t,a=So(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()}ht(f,"resetOutsideInteraction");function y(){return Array.from(d.current.values()).some(Boolean)}ht(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)}ht(h,"handleInteractionCapture");function g(x){u.current&&d.current.set(x.type,!1)}ht(g,"handleInteractionBubble");const m=ht(x=>{if(x.target&&!l.current){let w=function(){n.removeEventListener("click",p.current);const R=y();f(),R||oc(w2,a,S,{discrete:!0})};if(ht(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:ht(()=>l.current=!0,"onPointerDownCapture")}}ht(ep,"usePointerDownOutside");function tp(e,t=globalThis==null?void 0:globalThis.document){const n=So(e),o=c.useRef(!1);return c.useEffect(()=>{const r=ht(s=>{s.target&&!o.current&&oc(S2,n,{originalEvent:s},{discrete:!1})},"handleFocus");return t.addEventListener("focusin",r),()=>t.removeEventListener("focusin",r)},[t,n]),{onFocusCapture:ht(()=>o.current=!0,"onFocusCapture"),onBlurCapture:ht(()=>o.current=!1,"onBlurCapture")}}ht(tp,"useFocusOutside");function Xi(){const e=new CustomEvent(Yi);document.dispatchEvent(e)}ht(Xi,"dispatchUpdate");function oc(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?Zf(r,s):r.dispatchEvent(s)}ht(oc,"handleAndDispatchCustomEvent");var C2=Object.defineProperty,wt=(e,t)=>C2(e,"name",{value:t,configurable:!0}),ki="focusScope.autoFocusOnMount",Ci="focusScope.autoFocusOnUnmount",Wl={bubbles:!1,cancelable:!0},E2=c.forwardRef(wt(function(t,n){const{loop:o=!1,trapped:r=!1,onMountAutoFocus:s,onUnmountAutoFocus:i,...a}=t,[l,u]=c.useState(null),d=So(s),p=So(i),f=c.useRef(null),y=No(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:tn(f.current,{select:!0})},b=function(w){if(h.paused||!l)return;const S=w.relatedTarget;S!==null&&(l.contains(S)||tn(f.current,{select:!0}))},v=function(w){if(document.activeElement===document.body)for(const R of w)R.removedNodes.length>0&&tn(l)};wt(m,"handleFocusIn"),wt(b,"handleFocusOut"),wt(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){Ul.add(h);const m=document.activeElement;if(!l.contains(m)){const v=new CustomEvent(ki,Wl);l.addEventListener(ki,d),l.dispatchEvent(v),v.defaultPrevented||(np(ap(rc(l)),{select:!0}),document.activeElement===m&&tn(l))}return()=>{l.removeEventListener(ki,d),setTimeout(()=>{const v=new CustomEvent(Ci,Wl);l.addEventListener(Ci,p),l.dispatchEvent(v),v.defaultPrevented||tn(m??document.body,{select:!0}),l.removeEventListener(Ci,p),Ul.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]=op(x);w&&S?!m.shiftKey&&v===S?(m.preventDefault(),o&&tn(w,{select:!0})):m.shiftKey&&v===w&&(m.preventDefault(),o&&tn(S,{select:!0})):v===x&&m.preventDefault()}},[o,r,h.paused]);return Y.jsx(ti.div,{tabIndex:-1,...a,ref:y,onKeyDown:g})},"FocusScope"));function np(e,{select:t=!1}={}){const n=document.activeElement;for(const o of e)if(tn(o,{select:t}),document.activeElement!==n)return}wt(np,"focusFirst");function op(e){const t=rc(e),n=Ki(t,e),o=Ki(t.reverse(),e);return[n,o]}wt(op,"getTabbableEdges");function rc(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:wt(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}wt(rc,"getTabbableCandidates");function Ki(e,t){const n=typeof t.checkVisibility=="function"&&t.checkVisibility({checkVisibilityCSS:!0});for(const o of e)if(!(n?!o.checkVisibility({checkVisibilityCSS:!0}):rp(o,{upTo:t})))return o}wt(Ki,"findVisible");function rp(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}wt(rp,"isHidden");function sp(e){return e instanceof HTMLInputElement&&"select"in e}wt(sp,"isSelectableInput");function tn(e,{select:t=!1}={}){if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&sp(e)&&t&&e.select()}}wt(tn,"focus");var Ul=ip();function ip(){let e=[];return{add(t){const n=e[0];t!==n&&(n==null||n.pause()),e=Zi(e,t),e.unshift(t)},remove(t){var n;e=Zi(e,t),(n=e[0])==null||n.resume()}}}wt(ip,"createFocusScopesStack");function Zi(e,t){const n=[...e],o=n.indexOf(t);return o!==-1&&n.splice(o,1),n}wt(Zi,"arrayRemove");function ap(e){return e.filter(t=>t.tagName!=="A")}wt(ap,"removeLinks");var P2=Object.defineProperty,M2=(e,t)=>P2(e,"name",{value:t,configurable:!0}),T2=c.forwardRef(M2(function(t,n){var l;const{container:o,...r}=t,[s,i]=c.useState(!1);wo(()=>i(!0),[]);const a=o||s&&((l=globalThis==null?void 0:globalThis.document)==null?void 0:l.body);return a?Dt.createPortal(Y.jsx(ti.div,{...r,ref:n}),a):null},"Portal")),I2=Object.defineProperty,cn=(e,t)=>I2(e,"name",{value:t,configurable:!0});function cp(e,t){return c.useReducer((n,o)=>t[n][o]??n,e)}cn(cp,"useStateMachine");var sc=cn(e=>{const{present:t,children:n}=e,o=lp(t),r=typeof n=="function"?n({present:o.isPresent}):c.Children.only(n),s=up(o.ref,dp(r));return typeof n=="function"||o.isPresent?c.cloneElement(r,{ref:s}):null},"Presence");function lp(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]=cp(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??io(o.current),i.current=void 0):s.current="none"},[l]),wo(()=>{const d=o.current,p=r.current;if(p!==e){const y=s.current,h=io(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]),wo(()=>{if(t){let d;const p=t.ownerDocument.defaultView??window,f=cn(h=>{const m=io(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=cn(h=>{h.target===t&&(s.current=io(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=io(p)}else o.current=null;n(d)},[])}}cn(lp,"usePresence");function Qi(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}cn(Qi,"setRef");function up(...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=Qi(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():Qi(o[i],null)}}},[])}cn(up,"useStableComposedRefs");function io(e){return(e==null?void 0:e.animationName)||"none"}cn(io,"getAnimationName");function dp(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)}cn(dp,"getElementRef");var O2=Object.defineProperty,ic=(e,t)=>O2(e,"name",{value:t,configurable:!0}),Nr=0,Ut=null;function A2(e){return ac(),e.children}ic(A2,"FocusGuards");function ac(){c.useEffect(()=>{Ut||(Ut={start:Ji(),end:Ji()});const{start:e,end:t}=Ut;return document.body.firstElementChild!==e&&document.body.insertAdjacentElement("afterbegin",e),document.body.lastElementChild!==t&&document.body.insertAdjacentElement("beforeend",t),Nr++,()=>{Nr===1&&(Ut==null||Ut.start.remove(),Ut==null||Ut.end.remove(),Ut=null),Nr=Math.max(0,Nr-1)}},[])}ic(ac,"useFocusGuards");function Ji(){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}ic(Ji,"createFocusGuard");var qt=function(){return qt=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},qt.apply(this,arguments)};function fp(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 N2(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 qr="right-scroll-bar-position",Yr="width-before-scroll-bar",D2="with-scroll-bars-hidden",_2="--removed-body-scroll-bar-size";function Ei(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function L2(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 F2=typeof window<"u"?c.useLayoutEffect:c.useEffect,Gl=new WeakMap;function z2(e,t){var n=L2(null,function(o){return e.forEach(function(r){return Ei(r,o)})});return F2(function(){var o=Gl.get(n);if(o){var r=new Set(o),s=new Set(e),i=n.current;r.forEach(function(a){s.has(a)||Ei(a,null)}),s.forEach(function(a){r.has(a)||Ei(a,i)})}Gl.set(n,e)},[e]),n}function V2(e){return e}function $2(e,t){t===void 0&&(t=V2);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 H2(e){e===void 0&&(e={});var t=$2(null);return t.options=qt({async:!0,ssr:!1},e),t}var pp=function(e){var t=e.sideCar,n=fp(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,qt({},n))};pp.isSideCarExport=!0;function j2(e,t){return e.useMedium(t),pp}var hp=H2(),Pi=function(){},ni=c.forwardRef(function(e,t){var n=c.useRef(null),o=c.useState({onScrollCapture:Pi,onWheelCapture:Pi,onTouchMoveCapture:Pi}),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=fp(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),S=f,R=z2([n,t]),C=qt(qt({},w),r);return c.createElement(c.Fragment,null,d&&c.createElement(S,{sideCar:hp,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),qt(qt({},C),{ref:R})):c.createElement(v,qt({},C,{className:l,ref:R}),a))});ni.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};ni.classNames={fullWidth:Yr,zeroRight:qr};var B2=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function W2(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=B2();return t&&e.setAttribute("nonce",t),e}function U2(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function G2(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var q2=function(){var e=0,t=null;return{add:function(n){e==0&&(t=W2())&&(U2(t,n),G2(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},Y2=function(){var e=q2();return function(t,n){c.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},gp=function(){var e=Y2(),t=function(n){var o=n.styles,r=n.dynamic;return e(o,r),null};return t},X2={left:0,top:0,right:0,gap:0},Mi=function(e){return parseInt(e||"",10)||0},K2=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)]},Z2=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return X2;var t=K2(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])}},Q2=gp(),po="data-scroll-locked",J2=function(e,t,n,o){var r=e.left,s=e.top,i=e.right,a=e.gap;return n===void 0&&(n="margin"),`
|
|
898
|
+
.`.concat(D2,` {
|
|
899
|
+
overflow: hidden `).concat(o,`;
|
|
900
|
+
padding-right: `).concat(a,"px ").concat(o,`;
|
|
901
|
+
}
|
|
902
|
+
body[`).concat(po,`] {
|
|
903
|
+
overflow: hidden `).concat(o,`;
|
|
904
|
+
overscroll-behavior: contain;
|
|
905
|
+
`).concat([t&&"position: relative ".concat(o,";"),n==="margin"&&`
|
|
906
|
+
padding-left: `.concat(r,`px;
|
|
907
|
+
padding-top: `).concat(s,`px;
|
|
908
|
+
padding-right: `).concat(i,`px;
|
|
909
|
+
margin-left:0;
|
|
910
|
+
margin-top:0;
|
|
911
|
+
margin-right: `).concat(a,"px ").concat(o,`;
|
|
912
|
+
`),n==="padding"&&"padding-right: ".concat(a,"px ").concat(o,";")].filter(Boolean).join(""),`
|
|
913
|
+
}
|
|
914
|
+
|
|
915
|
+
.`).concat(qr,` {
|
|
916
|
+
right: `).concat(a,"px ").concat(o,`;
|
|
917
|
+
}
|
|
918
|
+
|
|
919
|
+
.`).concat(Yr,` {
|
|
920
|
+
margin-right: `).concat(a,"px ").concat(o,`;
|
|
921
|
+
}
|
|
922
|
+
|
|
923
|
+
.`).concat(qr," .").concat(qr,` {
|
|
924
|
+
right: 0 `).concat(o,`;
|
|
925
|
+
}
|
|
926
|
+
|
|
927
|
+
.`).concat(Yr," .").concat(Yr,` {
|
|
928
|
+
margin-right: 0 `).concat(o,`;
|
|
929
|
+
}
|
|
930
|
+
|
|
931
|
+
body[`).concat(po,`] {
|
|
932
|
+
`).concat(_2,": ").concat(a,`px;
|
|
933
|
+
}
|
|
934
|
+
`)},ql=function(){var e=parseInt(document.body.getAttribute(po)||"0",10);return isFinite(e)?e:0},ew=function(){c.useEffect(function(){return document.body.setAttribute(po,(ql()+1).toString()),function(){var e=ql()-1;e<=0?document.body.removeAttribute(po):document.body.setAttribute(po,e.toString())}},[])},tw=function(e){var t=e.noRelative,n=e.noImportant,o=e.gapMode,r=o===void 0?"margin":o;ew();var s=c.useMemo(function(){return Z2(r)},[r]);return c.createElement(Q2,{styles:J2(s,!t,r,n?"":"!important")})},ea=!1;if(typeof window<"u")try{var Dr=Object.defineProperty({},"passive",{get:function(){return ea=!0,!0}});window.addEventListener("test",Dr,Dr),window.removeEventListener("test",Dr,Dr)}catch{ea=!1}var Jn=ea?{passive:!1}:!1,nw=function(e){return e.tagName==="TEXTAREA"},mp=function(e,t){if(!(e instanceof Element))return!1;var n=window.getComputedStyle(e);return n[t]!=="hidden"&&!(n.overflowY===n.overflowX&&!nw(e)&&n[t]==="visible")},ow=function(e){return mp(e,"overflowY")},rw=function(e){return mp(e,"overflowX")},Yl=function(e,t){var n=t.ownerDocument,o=t;do{typeof ShadowRoot<"u"&&o instanceof ShadowRoot&&(o=o.host);var r=yp(e,o);if(r){var s=bp(e,o),i=s[1],a=s[2];if(i>a)return!0}o=o.parentNode}while(o&&o!==n.body);return!1},sw=function(e){var t=e.scrollTop,n=e.scrollHeight,o=e.clientHeight;return[t,n,o]},iw=function(e){var t=e.scrollLeft,n=e.scrollWidth,o=e.clientWidth;return[t,n,o]},yp=function(e,t){return e==="v"?ow(t):rw(t)},bp=function(e,t){return e==="v"?sw(t):iw(t)},aw=function(e,t){return e==="h"&&t==="rtl"?-1:1},cw=function(e,t,n,o,r){var s=aw(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=bp(e,a),h=y[0],g=y[1],m=y[2],b=g-m-s*h;(h||b)&&yp(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},_r=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},Xl=function(e){return[e.deltaX,e.deltaY]},Kl=function(e){return e&&"current"in e?e.current:e},lw=function(e,t){return e[0]===t[0]&&e[1]===t[1]},uw=function(e){return`
|
|
935
|
+
.block-interactivity-`.concat(e,` {pointer-events: none;}
|
|
936
|
+
.allow-interactivity-`).concat(e,` {pointer-events: all;}
|
|
937
|
+
`)},dw=0,eo=[];function fw(e){var t=c.useRef([]),n=c.useRef([0,0]),o=c.useRef(),r=c.useState(dw++)[0],s=c.useState(gp)[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=N2([e.lockRef.current],(e.shards||[]).map(Kl),!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=_r(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 N=Yl(C,R);if(!N)return!0;if(N?S=C:(S=C==="v"?"h":"v",N=Yl(C,R)),!N)return!1;if(!o.current&&"changedTouches"in g&&(x||w)&&(o.current=S),!S)return!0;var O=o.current||S;return cw(O,m,g,O==="h"?x:w)},[]),l=c.useCallback(function(g){var m=g;if(!(!eo.length||eo[eo.length-1]!==s)){var b="deltaY"in m?Xl(m):_r(m),v=t.current.filter(function(S){return S.name===m.type&&(S.target===m.target||m.target===S.shadowParent)&&lw(S.delta,b)})[0];if(v&&v.should){m.cancelable&&m.preventDefault();return}if(!v){var x=(i.current.shards||[]).map(Kl).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:pw(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=_r(g),o.current=void 0},[]),p=c.useCallback(function(g){u(g.type,Xl(g),g.target,a(g,e.lockRef.current))},[]),f=c.useCallback(function(g){u(g.type,_r(g),g.target,a(g,e.lockRef.current))},[]);c.useEffect(function(){return eo.push(s),e.setCallbacks({onScrollCapture:p,onWheelCapture:p,onTouchMoveCapture:f}),document.addEventListener("wheel",l,Jn),document.addEventListener("touchmove",l,Jn),document.addEventListener("touchstart",d,Jn),function(){eo=eo.filter(function(g){return g!==s}),document.removeEventListener("wheel",l,Jn),document.removeEventListener("touchmove",l,Jn),document.removeEventListener("touchstart",d,Jn)}},[]);var y=e.removeScrollBar,h=e.inert;return c.createElement(c.Fragment,null,h?c.createElement(s,{styles:uw(r)}):null,y?c.createElement(tw,{noRelative:e.noRelative,gapMode:e.gapMode}):null)}function pw(e){for(var t=null;e!==null;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}const hw=j2(hp,fw);var vp=c.forwardRef(function(e,t){return c.createElement(ni,qt({},e,{ref:t,sideCar:hw}))});vp.classNames=ni.classNames;var gw=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},to=new WeakMap,Lr=new WeakMap,Fr={},Ti=0,xp=function(e){return e&&(e.host||xp(e.parentNode))},mw=function(e,t){return t.map(function(n){if(e.contains(n))return n;var o=xp(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})},yw=function(e,t,n,o){var r=mw(t,Array.isArray(e)?e:[e]);Fr[n]||(Fr[n]=new WeakMap);var s=Fr[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=(to.get(f)||0)+1,m=(s.get(f)||0)+1;to.set(f,g),s.set(f,m),i.push(f),g===1&&h&&Lr.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(),Ti++,function(){i.forEach(function(p){var f=to.get(p)-1,y=s.get(p)-1;to.set(p,f),s.set(p,y),f||(Lr.has(p)||p.removeAttribute(o),Lr.delete(p)),y||p.removeAttribute(n)}),Ti--,Ti||(to=new WeakMap,to=new WeakMap,Lr=new WeakMap,Fr={})}},bw=function(e,t,n){n===void 0&&(n="data-aria-hidden");var o=Array.from(Array.isArray(e)?e:[e]),r=gw(e);return r?(o.push.apply(o,Array.from(r.querySelectorAll("[aria-live], script"))),yw(o,r,n,"aria-hidden")):function(){return null}},vw=Object.defineProperty,fn=(e,t)=>vw(e,"name",{value:t,configurable:!0}),cc="Dialog",[wp,sP]=$f(cc),[xw,Xn]=wp(cc),iP=fn(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]=Bf({prop:o,defaultProp:r??!1,onChange:s,caller:cc}),[p,f]=c.useState(0),[y,h]=c.useState(0);return Y.jsx(xw,{scope:t,triggerRef:a,contentRef:l,contentId:Gr(),titleId:Gr(),descriptionId:Gr(),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"),Sp="DialogPortal",[ww,Rp]=wp(Sp,{forceMount:void 0}),aP=fn(e=>{const{__scopeDialog:t,forceMount:n,children:o,container:r}=e,s=Xn(Sp,t);return Y.jsx(ww,{scope:t,forceMount:n,children:c.Children.map(o,i=>Y.jsx(sc,{present:n||s.open,children:Y.jsx(T2,{asChild:!0,container:r,children:i})}))})},"DialogPortal"),ta="DialogOverlay",cP=c.forwardRef(fn(function(t,n){const o=Rp(ta,t.__scopeDialog),{forceMount:r=o.forceMount,...s}=t,i=Xn(ta,t.__scopeDialog);return i.modal?Y.jsx(sc,{present:r||i.open,children:Y.jsx(Rw,{...s,ref:n})}):null},"DialogOverlay")),Sw=nc("DialogOverlay.RemoveScroll"),Rw=c.forwardRef(fn(function(t,n){const{__scopeDialog:o,...r}=t,s=Xn(ta,o),i=Jf(),a=No(n,i);return Y.jsx(vp,{as:Sw,allowPinchZoom:!0,shards:[s.contentRef],children:Y.jsx(ti.div,{"data-state":lc(s.open),...r,ref:a,style:{pointerEvents:"auto",...r.style}})})},"DialogOverlayImpl")),tr="DialogContent",lP=c.forwardRef(fn(function(t,n){const o=Rp(tr,t.__scopeDialog),{forceMount:r=o.forceMount,...s}=t,i=Xn(tr,t.__scopeDialog);return Y.jsx(sc,{present:r||i.open,children:i.modal?Y.jsx(kw,{...s,ref:n}):Y.jsx(Cw,{...s,ref:n})})},"DialogContent")),kw=c.forwardRef(fn(function(t,n){const o=Xn(tr,t.__scopeDialog),r=c.useRef(null),s=No(n,o.contentRef,r);return c.useEffect(()=>{const i=r.current;if(i)return bw(i)},[]),Y.jsx(kp,{...t,ref:s,trapFocus:o.open,disableOutsidePointerEvents:o.open,onCloseAutoFocus:$n(t.onCloseAutoFocus,i=>{var a;i.preventDefault(),(a=o.triggerRef.current)==null||a.focus()}),onPointerDownOutside:$n(t.onPointerDownOutside,i=>{const a=i.detail.originalEvent,l=a.button===0&&a.ctrlKey===!0;(a.button===2||l)&&i.preventDefault()}),onFocusOutside:$n(t.onFocusOutside,i=>i.preventDefault())})},"DialogContentModal")),Cw=c.forwardRef(fn(function(t,n){const o=Xn(tr,t.__scopeDialog),r=c.useRef(!1),s=c.useRef(!1);return Y.jsx(kp,{...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")),kp=c.forwardRef(fn(function(t,n){const{__scopeDialog:o,trapFocus:r,onOpenAutoFocus:s,onCloseAutoFocus:i,...a}=t,l=Xn(tr,o);return ac(),Y.jsx(Y.Fragment,{children:Y.jsx(E2,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:s,onUnmountAutoFocus:i,children:Y.jsx(R2,{role:"dialog",id:l.contentId,"aria-describedby":l.descriptionPresent?l.descriptionId:void 0,"aria-labelledby":l.titlePresent?l.titleId:void 0,"data-state":lc(l.open),...a,ref:n,deferPointerDownOutside:!0,onDismiss:()=>l.onOpenChange(!1)})})})},"DialogContentImpl"));function lc(e){return e?"open":"closed"}fn(lc,"getState");const Cp=c.createContext(void 0);function uc(e){const t=c.useContext(Cp);if(t===void 0&&!e)throw new Error($e(33));return t}const dc=c.createContext(void 0);function Dn(e){const t=c.useContext(dc);if(t===void 0&&!e)throw new Error($e(36));return t}const Ep=c.createContext(void 0);function oi(e=!0){const t=c.useContext(Ep);if(t===void 0&&!e)throw new Error($e(25));return t}function Ew(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=oi(!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:lo})},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&&!ma&&y.button===2)return}a.current&&s.context.allowMouseUpTriggerRef.current&&(!f||y.button===2)&&l.type==="regular-item"&&Vn(a.current,y,{detail:1})}}),[t,n,o,u,r,d,s,i,a,p,f,l])}const Pp={type:"regular-item"};function Mp(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}=Mt({disabled:n,focusableWhenDisabled:!0,native:a,composite:!0}),y=Ew({closeOnClick:t,highlighted:o,id:r,nodeId:u,store:s,typingRef:i,itemRef:d,itemMetadata:l}),h=c.useCallback(m=>Et(y,{onMouseEnter(){l.type==="submenu-trigger"&&l.setActive()}},m,p),[y,p,l]),g=It(d,f);return c.useMemo(()=>({getItemProps:h,itemRef:g}),[h,g])}let Zl=(function(e){return e.checked="data-checked",e.unchecked="data-unchecked",e.disabled="data-disabled",e.highlighted="data-highlighted",e})({});const Tp={checked(e){return e?{[Zl.checked]:""}:{[Zl.unchecked]:""}},...jt},fc=c.createContext(void 0);function Pw(){const e=c.useContext(fc);if(e===void 0)throw new Error($e(31));return e}const uP=c.forwardRef(function(t,n){const{render:o,className:r,style:s,...i}=t,[a,l]=c.useState(void 0),u=we("div",t,{ref:n,props:{role:"group","aria-labelledby":a,...i}});return Y.jsx(fc.Provider,{value:l,children:u})}),dP=c.forwardRef(function(t,n){const{render:o,className:r,style:s,id:i,...a}=t,l=rt(i),u=Pw();return he(()=>(u(l),()=>{u(d=>d===l?void 0:d)}),[u,l]),we("div",t,{ref:n,props:{id:l,role:"presentation",...a}})}),fP=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=Mo({guess:!0,label:i}),y=uc(!0),h=rt(s),{store:g}=Dn(),m=g.useState("disabled"),b=l||m,v=g.useState("isActive",f.index),x=g.useState("itemProps"),{getItemProps:w,itemRef:S}=Mp({closeOnClick:u,disabled:b,highlighted:v,id:h,store:g,nativeButton:a,nodeId:y==null?void 0:y.context.nodeId,itemMetadata:Pp});return we("div",t,{state:{disabled:b,highlighted:v},props:[x,p,w],ref:[S,n,f.ref]})}),pP=c.forwardRef(function(t,n){const{render:o,className:r,style:s,finalFocus:i,...a}=t,{store:l}=Dn(),{side:u,align:d}=uc(),p=Js()!=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"),N=v.type==="context-menu";Tt({open:f,ref:l.context.popupRef,onComplete(){var z,F;f&&((F=(z=l.context).onOpenChangeComplete)==null||F.call(z,!0))}}),c.useEffect(()=>{function z(F){l.setOpen(!1,ke(F.reason,F.domEvent))}return R.events.on("close",z),()=>{R.events.off("close",z)}},[R.events,l]),$a(S,{enabled:k&&!T&&!N&&v.type!=="menubar",closeDelay:C});const O=l.useStateSetter("popupElement"),D={transitionStatus:y,side:u,align:d,open:f,nested:v.type==="menu",instant:m},A=we("div",t,{state:D,ref:[n,l.context.popupRef,O],stateAttributesMapping:Ys,props:[h,{onKeyDown(z){p&&qn.has(z.key)&&z.stopPropagation()}},ur(y),a,{"data-rootownerid":w}]});let P=v.type===void 0||N;return(b||v.type==="menubar"&&x!==Cs)&&(P=!0),Y.jsx(Is,{context:S,openInteractionType:E,modal:N,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:A})}),Ip=c.createContext(void 0);function Mw(){const e=c.useContext(Ip);if(e===void 0)throw new Error($e(32));return e}const hP=c.forwardRef(function(t,n){const{keepMounted:o=!1,...r}=t,{store:s}=Dn();return s.useState("mounted")||o?Y.jsx(Ip.Provider,{value:o,children:Y.jsx(Ts,{ref:n,...r})}):null}),gP=c.forwardRef(function(t,n){var ae;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=Sd,style:b,...v}=t,{store:x}=Dn(),w=Mw(),S=oi(!0),R=x.useState("parent"),C=x.useState("floatingRootContext"),k=x.useState("floatingTreeRoot"),T=x.useState("mounted"),E=x.useState("open"),N=x.useState("modal"),O=x.useState("openMethod"),D=x.useState("activeTriggerElement"),A=x.useState("transitionStatus"),P=x.useState("positionerElement"),z=x.useState("instantType"),F=x.useState("adaptiveOrigin"),I=x.useState("lastOpenChangeReason"),_=x.useState("floatingNodeId"),M=x.useState("floatingParentNodeId"),L=C.useState("domReferenceElement"),H=c.useRef(null),$=_s(P);let U=o,G=u,V=d,X=l,j=m;R.type==="context-menu"&&(U=o??((ae=R.context)==null?void 0:ae.anchor),X=X??"start",!a&&X!=="center"&&(V=t.alignOffset??2,G=t.sideOffset??-5));let K=a,de=X;R.type==="menu"?(K=K??"inline-end",de=de??"start",j=t.collisionAvoidance??Ma):R.type==="menubar"&&(K=K??(R.context.orientation==="vertical"?"inline-end":"bottom"),de=de??"start");const se=R.type==="context-menu",ne=Xs({anchor:U,floatingRootContext:C,positionMethod:S?"fixed":r,mounted:T,side:K,sideOffset:G,align:de,alignOffset:V,arrowPadding:se?0:y,collisionBoundary:p,collisionPadding:f,sticky:h,nodeId:_,keepMounted:w,disableAnchorTracking:g,collisionAvoidance:j,shift:se?{crossAxis:!("side"in j&&j.side==="flip"),rootBoundary:"layoutViewport"}:void 0,externalTree:k,adaptiveOrigin:F});c.useEffect(()=>{function ce(oe){oe.open&&(oe.parentNodeId===_&&x.set("hoverEnabled",!1),oe.nodeId!==_&&oe.parentNodeId===x.select("floatingParentNodeId")&&x.setOpen(!1,ke(Ho)))}return k.events.on("menuopenchange",ce),()=>{k.events.off("menuopenchange",ce)}},[x,k.events,_]),c.useEffect(()=>{if(x.select("floatingParentNodeId")==null)return;function ce(oe){if(oe.open||oe.nodeId!==x.select("floatingParentNodeId"))return;const le=oe.reason??Ho;x.setOpen(!1,ke(le))}return k.events.on("menuopenchange",ce),()=>{k.events.off("menuopenchange",ce)}},[k.events,x]);const re=ot();c.useEffect(()=>{E||re.clear()},[E,re]),c.useEffect(()=>{function ce(oe){if(!(!E||oe.nodeId!==x.select("floatingParentNodeId")))if(oe.target&&D&&D!==oe.target){const le=x.select("closeDelay");le>0?re.isStarted()||re.start(le,()=>{x.setOpen(!1,ke(Ho))}):x.setOpen(!1,ke(Ho))}else re.clear()}return k.events.on("itemhover",ce),()=>{k.events.off("itemhover",ce)}},[k.events,E,D,x,re]),c.useEffect(()=>{const ce={open:E,nodeId:_,parentNodeId:M,reason:x.select("lastOpenChangeReason")};k.events.emit("menuopenchange",ce)},[k.events,E,x,_,M]),he(()=>{const ce=L,oe=H.current;if(ce&&(H.current=ce),oe&&ce&&ce!==oe){x.set("instantType",void 0);const le=new AbortController;return $(()=>{x.set("instantType","trigger-change")},le.signal),()=>{le.abort()}}},[L,$,x]);const q={open:E,side:ne.side,align:ne.align,anchorHidden:ne.anchorHidden,nested:R.type==="menu",instant:z},ie=R.type==="menubar"&&R.context.modal;Wa(E&&(ie||N&&I!==it),O==="touch",P,D);const ue=Zs(t,q,{styles:ne.positionerStyles,transitionStatus:A,props:v,refs:[n,x.useStateSetter("positionerElement")],hidden:!T,inert:!E}),Z=T&&R.type!=="menu"&&(R.type!=="menubar"&&N&&I!==it||R.type==="menubar"&&R.context.modal);let J=null;return R.type==="menubar"?J=R.context.contentElement:R.type===void 0&&(J=D),Y.jsxs(Cp.Provider,{value:ne,children:[Z&&Y.jsx(Ks,{ref:R.type==="context-menu"||R.type==="nested-context-menu"?R.context.internalBackdropRef:null,inert:lr(!E),cutout:J}),Y.jsx(Td,{id:_,children:Y.jsx(dr,{elementsRef:x.context.itemDomElements,labelsRef:x.context.itemLabels,children:ue})})]})}),Op=c.createContext(void 0);function Tw(){const e=c.useContext(Op);if(e===void 0)throw new Error($e(34));return e}const mP=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]=Lt({controlled:s,default:i,name:"MenuRadioGroup"}),m=pe((w,S)=>{a==null||a(w,S),!S.isCanceled&&g(w)}),v=we("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 Y.jsx(fc.Provider,{value:y,children:Y.jsx(Op.Provider,{value:x,children:v})})})),Ap=c.createContext(void 0);function Iw(){const e=c.useContext(Ap);if(e===void 0)throw new Error($e(35));return e}const yP=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=Mo({guess:!0,label:i}),h=uc(!0),g=rt(s),{store:m}=Dn(),b=m.useState("isActive",y.index),v=m.useState("itemProps"),{value:x,setValue:w,disabled:S}=Tw(),R=m.useState("disabled"),C=l||S||R,k=x===d,{getItemProps:T,itemRef:E}=Mp({closeOnClick:u,disabled:C,highlighted:b,id:g,store:m,nativeButton:a,nodeId:h==null?void 0:h.context.nodeId,itemMetadata:Pp}),N=c.useMemo(()=>({disabled:C,highlighted:b,checked:k}),[C,b,k]);function O(A){const P=ke(lo,A.nativeEvent,void 0,{preventUnmountOnClose:nt});w(d,P)}const D=we("div",t,{state:N,stateAttributesMapping:Tp,props:[v,{role:"menuitemradio","aria-checked":k,onClick:O},f,T],ref:[E,n,y.ref]});return Y.jsx(Ap.Provider,{value:N,children:D})}),bP=c.forwardRef(function(t,n){const{render:o,className:r,style:s,keepMounted:i=!1,...a}=t,l=Iw(),u=c.useRef(null),{transitionStatus:d,mounted:p,setMounted:f}=dn(l.checked);Tt({open:l.checked,ref:u,onComplete(){l.checked||f(!1)}});const y={checked:l.checked,disabled:l.disabled,highlighted:l.highlighted,transitionStatus:d};return we("span",t,{state:y,stateAttributesMapping:Tp,ref:[n,u],props:{"aria-hidden":!0,...a},enabled:i||p})}),Ow=c.createContext(null);function Np(e){return c.useContext(Ow)}const Aw={...Bs,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 Nw extends Co{constructor(n){super({..._w(),...n},Dw(),Aw);Ue(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 Dw(){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 Eo}}function _w(){return{...js(),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 Ta,floatingNodeId:void 0,floatingParentNodeId:null,itemProps:Ke,keyboardEventRelay:void 0,closeDelay:0,adaptiveOrigin:void 0}}const Lw=c.createContext(void 0);function Fw(){return c.useContext(Lw)}const zw=Na(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=oi(!0),v=Dn(!0),x=Np(!0),w=Fw(),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=Vw({open:i,openProp:o,activeTriggerId:g,triggerIdProp:h,parent:S});R.useControlledProp("openProp",o),R.useControlledProp("triggerIdProp",h),R.useContextCallback("onOpenChangeComplete",s);const C=En(),k=En(),T=R.useState("floatingTreeRoot"),E=Ia(T),N=Tn(),O=R.useState("open"),D=R.useState("activeTriggerElement"),A=R.useState("positionerElement"),P=R.useState("hoverEnabled"),z=R.useState("disabled"),F=R.useState("lastOpenChangeReason"),I=R.useState("parent"),_=R.useState("activeIndex"),M=R.useState("payload"),L=R.useState("floatingParentNodeId"),H=c.useRef(null),$=c.useRef(I.type!=="context-menu"),U=ot(),G=c.useRef(!0),V=ot(),X=L!=null,{openMethod:j,triggerProps:K}=Zd(O);R.useSyncedValues({disabled:a,highlightItemOnHover:m,modal:I.type===void 0?l:void 0,openMethod:j,rootId:C}),Vs(R);const{forceUnmount:de}=$s(O,R,()=>{R.set("allowMouseEnter",!1)});he(()=>{b&&!v?R.update({parent:{type:"context-menu",context:b},floatingNodeId:E,floatingParentNodeId:N}):v&&R.update({floatingNodeId:E,floatingParentNodeId:N})},[b,v,E,N,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]),he(()=>{!O&&!P&&R.set("hoverEnabled",!0)},[O,P,R]);const se=pe((ee,me)=>{const ye=me.reason;if(!ee&&!R.select("open")||O===ee&&me.trigger===D&&F===ye)return;const De=_a(me);if(!ee&&me.trigger==null&&(me.trigger=D??void 0),r==null||r(ee,me),me.isCanceled)return;R.state.floatingRootContext.dispatchOpenChange(ee,me);const Me=me.event;if(ee===!1&&(Me==null?void 0:Me.type)==="click"&&Me.pointerType==="touch"&&!G.current)return;ee&&ye===co?(G.current=!1,V.start(300,()=>{G.current=!0})):(G.current=!0,V.clear());const Ge=(ye===Ht||ye===lo)&&Me.detail===0,Le=!ee&&(ye===rr||ye==null),ze={open:ee,openChangeReason:ye};H.current=me.event,Fs(ze,ee,me.trigger,De()),R.update(ze),I.type==="menubar"&&(ye===co||ye===wn||ye===it||ye===Fi||ye===Ho)?R.set("instantType","group"):Ge||Le?R.set("instantType",Ge?"click":"dismiss"):R.set("instantType",void 0)}),ne=Hd({popupStore:R,floatingId:k,nested:N!=null,onOpenChange:se}),re=ne.context.events;he(()=>{const ee=({open:me,eventDetails:ye})=>se(me,ye);return re.on("setOpen",ee),()=>{re==null||re.off("setOpen",ee)}},[re,se]);const q=c.useCallback(()=>{R.setOpen(!1,ke(Es))},[R]);c.useImperativeHandle(p,()=>({unmount:de,close:q}),[de,q]);let ie;I.type==="context-menu"&&(ie=I.context),c.useImperativeHandle(ie==null?void 0:ie.positionerRef,()=>A,[A]),c.useImperativeHandle(ie==null?void 0:ie.actionsRef,()=>({setOpen:se}),[se]);const ge=ir(ne,{enabled:!z,bubbles:{escapeKey:f&&I.type==="menu"},outsidePress(){var ee;return I.type!=="context-menu"||((ee=H.current)==null?void 0:ee.type)==="contextmenu"?!0:$.current},externalTree:X?T:void 0}),ue=On(),Z=c.useCallback(ee=>{R.select("activeIndex")!==ee&&R.set("activeIndex",ee)},[R]),J=qd(ne,{enabled:!z,listRef:R.context.itemDomElements,activeIndex:_,nested:I.type!==void 0,loopFocus:u,orientation:d,parentOrientation:I.type==="menubar"?I.context.orientation:void 0,rtl:ue==="rtl",disabledIndices:$t,onNavigate:Z,openOnArrowKeyDown:I.type!=="context-menu",externalTree:X?T:void 0,focusItemOnHover:m}),ae=c.useCallback(ee=>{R.context.typingRef.current=ee},[R]),ce=Yd(ne,{enabled:!z,listRef:R.context.itemLabels,elementsRef:R.context.itemDomElements,activeIndex:_,resetMs:N1,onMatch:ee=>{O&&ee!==_&&R.set("activeIndex",ee)},onTyping:ae}),oe=c.useMemo(()=>{const ee=Et(ce.reference,J.reference,ge.reference,{onMouseMove(){R.set("allowMouseEnter",!0)}},K);return ee["aria-haspopup"]="menu",ee["aria-expanded"]=O,ee},[R,ce.reference,J.reference,ge.reference,K,O]),le=c.useMemo(()=>{const ee=Et(J.trigger,ge.trigger,K);return ee["aria-haspopup"]="menu",ee["aria-expanded"]=!1,ee},[J.trigger,ge.trigger,K]),W=c.useMemo(()=>Et(ar,{id:k,role:"menu","aria-labelledby":D==null?void 0:D.id,onMouseMove(){R.set("allowMouseEnter",!0),I.type==="menu"&&R.set("hoverEnabled",!1)},onClick(){R.select("hoverEnabled")&&R.set("hoverEnabled",!1)},onKeyDown(ee){const me=R.select("keyboardEventRelay");me&&!ee.isPropagationStopped()&&me(ee)}},ce.floating,J.floating,ge.floating),[D,k,I.type,R,ce.floating,J.floating,ge.floating]),Q=J.item??Ke;Hs(R,{floatingRootContext:ne,activeTriggerProps:oe,inactiveTriggerProps:le,popupProps:W,itemProps:Q});const fe=c.useMemo(()=>({store:R,parent:S}),[R,S]),te=Y.jsxs(dc.Provider,{value:fe,children:[y&&Y.jsx(Ls,{handle:y,store:R}),typeof n=="function"?n({payload:M}):n]});return I.type===void 0||I.type==="context-menu"?Y.jsx(Id,{externalTree:T,children:te}):te});function Vw(e){return gt(()=>new Nw(e)).current}function pc(e){if(Ye(e)&&e.hasAttribute("data-rootownerid"))return e.getAttribute("data-rootownerid");if(!on(e))return pc(an(e))}function $w(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,Ie(s.currentTarget).addEventListener("click",()=>{r.current=!1},{once:!0}))},onClick:s=>{r.current&&(r.current=!1,s.preventBaseUIHandler())}}:Ke,[t,n,o])}const vP=$d(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=Dn(!0),b=Ws(f)??(g==null?void 0:g.store);if(!b)throw new Error($e(85));const v=rt(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=jw(),T=vs(!0),E=In(),N=c.useMemo(()=>E??new Ta,[E]),O=Ia(N),D=Tn(),{registerTrigger:A,isMountedByThisTrigger:P}=zs(v,C,b,{payload:y,closeDelay:p,parent:k,floatingTreeRoot:N,floatingNodeId:O,floatingParentNodeId:D,keyboardEventRelay:T==null?void 0:T.relayKeyboardEvent}),z=k.type==="menubar",F=b.useState("disabled"),I=i||F||z&&k.context.disabled,{getButtonProps:_,buttonRef:M}=Mt({disabled:I,native:a});c.useEffect(()=>{!S&&k.type===void 0&&(b.context.allowMouseUpTriggerRef.current=!1)},[b,S,k.type]);const L=c.useRef(null),H=ot(),$=pe(ae=>{if(!L.current)return;H.clear(),b.context.allowMouseUpTriggerRef.current=!1;const ce=ae.target;ve(L.current,ce)||ve(b.select("positionerElement"),ce)||ce===L.current||ce!=null&&pc(ce)===b.select("rootId")||Mf(ae,L.current)||N.events.emit("close",{domEvent:ae,reason:wa})});c.useEffect(()=>{S&&b.select("lastOpenChangeReason")===it&&Ie(L.current).addEventListener("mouseup",$,{once:!0})},[S,$,b]);const U=z&&k.context.hasSubmenuOpen,V=Ha(w,{enabled:(u??U)&&!I&&(!z||U&&!P),handleClose:ja({blockPointerEvents:!z}),mouseOnly:!0,move:!1,restMs:k.type===void 0?d:void 0,delay:{close:p},triggerElementRef:C,externalTree:N,isActiveTrigger:x,isClosing:()=>b.select("transitionStatus")==="ending"}),X=Hw(S,b.select("lastOpenChangeReason")),j=Os(w,{enabled:!I,event:S&&z?"click":"mousedown",toggle:!0,ignoreMouse:!1,stickIfOpen:k.type===void 0?X:!1}),K=Ud(w,{enabled:!I&&U}),de=$w({open:S,enabled:z,mouseDownAction:"open"}),se=c.useMemo(()=>Et(K.reference,j.reference),[K.reference,j.reference]),ne=b.useState("triggerProps",P),{preFocusGuardRef:re,handlePreFocusGuardFocus:q,handleFocusTargetFocus:ie}=Kd(b,C),ge={disabled:I,open:S},ue=[L,n,M,A,C],Z=[se,V??Ke,ne,{"aria-haspopup":"menu","aria-controls":R,id:v,onMouseDown:ae=>{if(b.select("open"))return;H.start(200,()=>{b.context.allowMouseUpTriggerRef.current=!0}),Ie(ae.currentTarget).addEventListener("mouseup",$,{once:!0})}},z?{role:"menuitem"}:{},de,h,_],J=we("button",t,{enabled:!z,stateAttributesMapping:Qo,state:ge,ref:ue,props:Z});return z?Y.jsx(Ga,{tag:"button",render:o,className:r,style:s,state:ge,refs:ue,props:Z,stateAttributesMapping:Qo}):S?Y.jsxs(c.Fragment,{children:[Y.jsx(Rn,{ref:re,onFocus:q},`${v}-pre-focus-guard`),Y.jsx(c.Fragment,{children:J},v),Y.jsx(Rn,{ref:b.context.triggerFocusTargetRef,onFocus:ie},`${v}-post-focus-guard`)]}):Y.jsx(c.Fragment,{children:J},v)});function Hw(e,t){const n=ot(),[o,r]=c.useState(!1);return he(()=>{e&&t===it?(r(!0),n.start(wd,()=>{r(!1)})):e||(n.clear(),r(!1))},[e,t,n]),o}function jw(){const e=Np();return c.useMemo(()=>e?{type:"menubar",context:e}:{type:void 0},[e])}function Bw(e){const{open:t,defaultOpen:n,onOpenChange:o,disabled:r}=e,[s,i]=Lt({controlled:t,default:n,name:"Collapsible",state:"open"}),{mounted:a,setMounted:l,transitionStatus:u}=dn(s,!0,!0),d=rt(),[p,f]=c.useState(),y=p===null?void 0:p??d,h=pe(g=>{const m=!s,b=ke(Ht,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 Dp=c.createContext(void 0);function _p(){const e=c.useContext(Dp);if(e===void 0)throw new Error($e(15));return e}let hc=(function(e){return e.open="data-open",e.closed="data-closed",e[e.startingStyle=is.startingStyle]="startingStyle",e[e.endingStyle=is.endingStyle]="endingStyle",e})({}),Ww=(function(e){return e.panelOpen="data-panel-open",e})({});const Uw={[hc.open]:""},Gw={[hc.closed]:""},qw={open(e){return e?{[Ww.panelOpen]:""}:null}},Yw={open(e){return e?Uw:Gw}},Lp={...Yw,...jt},xP=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=pe(a),f=Bw({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=we("div",t,{state:y,ref:n,props:d,stateAttributesMapping:Lp});return Y.jsx(Dp.Provider,{value:h,children:g})}),Xw={...qw,...jt},wP=c.forwardRef(function(t,n){const{panelId:o,open:r,handleTrigger:s,state:i,disabled:a}=_p(),{className:l,disabled:u=a,render:d,nativeButton:p=!0,style:f,...y}=t,{getButtonProps:h,buttonRef:g}=Mt({disabled:u,focusableWhenDisabled:!0,native:p});return we("button",t,{state:i,ref:[n,g],props:[{"aria-controls":r?o:void 0,"aria-expanded":r,onClick:s},y,h],stateAttributesMapping:Xw})}),Vo={height:void 0,width:void 0};function Kw(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(Vo),g=c.useRef(Vo),m=c.useRef(!1),b=c.useRef(a),v=c.useRef(!1),[x,w]=c.useState(!1),S=c.useRef(null),R=It(t,p),C=st(a),k=_s(p),T=!a&&!s,E=x?"idle":d,N=a&&(b.current||v.current),O=!a&&s&&f.current==="css-animation"&&y.height===void 0&&y.width===void 0?g.current:y,D=n&&T&&f.current!=="css-animation",A=pe((_,M=!0)=>{M&&(g.current=_),h(_)}),P=pe(()=>{var _;(_=S.current)==null||_.call(S),S.current=null}),z=pe(_=>{P(),S.current=()=>{S.current=null,_()}}),F=pe(()=>{a&&s&&f.current==="css-animation"&&(v.current=!0)});he(()=>{!x||d==="starting"||w(!1)},[x,d]),c.useEffect(()=>()=>{F(),P()},[F,P]),he(()=>{const _=p.current;if(!_)return;!a&&S.current&&P();const M=Zw(_,N);if(f.current=M,a&&d==="idle"&&b.current&&M==="css-animation"){g.current=no(_);return}if(a&&d==="starting"){const $=m.current;if(m.current=!1,M==="none"){A(no(_)),w(!0);return}if(M==="css-transition"){const V=Qw(_);if(A(no(_)),!$)return V;const X=zr(_,"transition-duration","0s");return z(X),w(!0),V}A(no(_));const U=zr(_,"animation-name","none");if(!$){U();return}const G=zr(_,"animation-duration","0s");U(),z(G),w(!0);return}if(!a&&s&&(d==="idle"||d==="starting")){if(b.current=!1,v.current=!1,M==="none"){A(Vo,!1),l(!1);return}A(no(_));return}if(d!=="ending")return;if(M==="none"){l(!1);return}const L=no(_);if(!(L.height>0||L.width>0)){l(!1);return}A(L),M==="css-animation"&&zr(_,"animation-name","none")()},[s,a,P,A,l,z,N,d]),Tt({enabled:a&&s&&E==="idle",open:!0,ref:p,onComplete(){a&&A(Vo,!1)}}),c.useEffect(()=>{if(a||!s||E!=="ending"||!p.current)return;const M=new AbortController;let L=-1;function H(){C.current||(l(!1),A(Vo,!1))}return L=Ct.request(()=>{k(H,M.signal)}),()=>{Ct.cancel(L),M.abort()}},[C,s,a,E,k,A,l]),he(()=>{const _=p.current;!_||!n||!T||_.setAttribute("hidden","until-found")},[T,n]),c.useEffect(function(){const M=p.current;if(!M)return;function L(H){const $=ke(Rt,H);i(!0,$),!$.isCanceled&&(m.current=!0,u(!0))}return Ae(M,"beforematch",L)},[i,u]);const I=r||n||s||a;return{height:O.height,props:{...D?{[hc.startingStyle]:""}:void 0,hidden:T,id:o},ref:R,shouldPreventOpenAnimation:N,shouldRender:I,transitionStatus:E,width:O.width}}function no(e){return{height:e.scrollHeight,width:e.scrollWidth}}function Zw(e,t){const n=Xe(e).getComputedStyle(e),o=(n.animationName.split(",").map(s=>s.trim()).some(s=>s!==""&&s!=="none")||t)&&Ql(n.animationDuration),r=Ql(n.transitionDuration);return o&&r||r?"css-transition":o?"css-animation":"none"}function Ql(e){return e.split(",").map(t=>t.trim()).some(t=>t!==""&&Number.parseFloat(t)>0)}function zr(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 Qw(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=Ct.request(n);return()=>{Ct.cancel(o),n()}}let Jl=(function(e){return e.collapsiblePanelHeight="--collapsible-panel-height",e.collapsiblePanelWidth="--collapsible-panel-width",e})({});const SP=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}=_p(),x=r??!1,w=s??!1,S=a||void 0,R=S??d;he(()=>(g(F=>S??(F===null?void 0:F)),()=>{g(F=>F===S?null:F)}),[S,g]);const{height:C,props:k,ref:T,shouldPreventOpenAnimation:E,shouldRender:N,transitionStatus:O,width:D}=Kw({externalRef:n,hiddenUntilFound:x,id:R,keepMounted:w,mounted:p,onOpenChange:f,open:y,setMounted:h,setOpen:m,transitionStatus:v}),A={...b,transitionStatus:O},P=Fu(l,A),z=we("div",{...t,style:void 0},{state:A,ref:T,props:[k,{style:{[Jl.collapsiblePanelHeight]:C===void 0?"auto":`${C}px`,[Jl.collapsiblePanelWidth]:D===void 0?"auto":`${D}px`}},u,P?{style:P}:void 0,E?{style:{animationName:"none"}}:void 0],stateAttributesMapping:Lp});return N?z:null}),Fp=c.createContext(void 0);function ri(e){const t=c.useContext(Fp);if(t===void 0&&!e)throw new Error($e(72));return t}const Jw={...Bs,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 eS extends Co{constructor(n,o,r){const s=new Eo;super(tS(n,s,o,r),nS(s),Jw);Ue(this,"setOpen",(n,o)=>{Bb(this,n,o,{extraState:{openChangeReason:o.reason}})})}cancelPendingOpen(n){this.state.floatingRootContext.dispatchOpenChange(!1,ke(Ht,n))}}function tS(e,t,n,o=!1){const r={...js(),disabled:!1,instantType:void 0,isInstantPhase:!1,trackCursorAxis:"none",disableHoverablePopup:!1,openChangeReason:null,closeOnClick:!0,closeDelay:0,adaptiveOrigin:void 0,...e};return r.floatingRootContext=La(t,n,o),r}function nS(e){return{popupRef:c.createRef(),onOpenChange:void 0,onOpenChangeComplete:void 0,triggerElements:e}}const RP=Na(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=Da((N,O)=>new eS({open:o,openProp:r,activeTriggerId:f,triggerIdProp:p},N,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}),Vs(h,{closeOnActiveTriggerUnmount:!0});const{forceUnmount:w,transitionStatus:S}=$s(m,h),R=h.useState("isInstantPhase"),C=h.useState("instantType"),k=h.useState("lastOpenChangeReason"),T=c.useRef(null);he(()=>{g&&n&&h.setOpen(!1,ke(rd))},[g,n,h]),he(()=>{S==="ending"&&k===Rt||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]),he(()=>{m&&b==null&&h.set("payload",void 0)},[h,b,m]),c.useImperativeHandle(a,()=>({unmount:w,close:()=>h.setOpen(!1,ke(Es))}),[w,h]);const E=m||v||!n&&i!=="none";return Y.jsxs(Fp.Provider,{value:h,children:[d&&Y.jsx(Ls,{handle:d,store:h}),E&&Y.jsx(oS,{store:h,disabled:n,trackCursorAxis:i}),typeof y=="function"?y({payload:x}):y]})});function oS({store:e,disabled:t,trackCursorAxis:n}){const o=e.useState("floatingRootContext"),r=ir(o,{enabled:!t,referencePress:()=>e.select("closeOnClick")}),s=$1(o,{enabled:!t&&n!=="none",axis:n==="none"?void 0:n}),i=c.useMemo(()=>Et(s.reference,r.reference),[s.reference,r.reference]);return Hs(e,{activeTriggerProps:i,inactiveTriggerProps:i,popupProps:r.floating??Ke}),null}const zp=c.createContext(void 0);function rS(){return c.useContext(zp)}const eu=600,Vp="data-base-ui-tooltip-trigger";function tu(e){if("composedPath"in e){const n=e.composedPath();for(let o=0;o<n.length;o+=1){const r=n[o];if(Ne(r))return r}}const t=e.target;return Ne(t)?t:null}function sS(e){let t=e;for(;t;){const n=t.closest(`[${Vp}]`);if(n)return n;const o=t.getRootNode();t="host"in o&&Ne(o.host)?o.host:null}return null}const kP=$d(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=ri(!0),m=Ws(i)??h;if(!m)throw new Error($e(82));const b=rt(f),v=m.useState("isTriggerActive",b),x=m.useState("isOpenedByTrigger",b),w=m.useState("floatingRootContext"),S=c.useRef(null),R=u??eu,C=p??0,{registerTrigger:k,isMountedByThisTrigger:T}=zs(b,S,m,{payload:a,closeOnClick:d,closeDelay:C}),E=rS(),{delayRef:N,isInstantPhase:O,hasProvider:D}=u1(w,{open:x}),A=Va(w);m.useSyncedValue("isInstantPhase",O);const P=m.useState("disabled"),z=l??P,F=st(z),I=m.useState("trackCursorAxis"),_=m.useState("disableHoverablePopup"),M=c.useRef(!1),L=ot(),H=c.useRef(void 0);function $(){return D?xn(N.current,"open")===0?0:u??E??eu:R}function U(re){const q=S.current;if(!q||!re)return!1;const ie=sS(re);return ie!==null&&ie!==q&&ve(q,ie)}function G(re){const q=U(re);return M.current=q,q&&(A.openChangeTimeout.clear(),A.restTimeout.clear(),A.restTimeoutPending=!1,L.clear()),q}const V=Ha(w,{enabled:!z,mouseOnly:!0,move:!1,handleClose:!_&&I!=="both"?ja():null,restMs:$,delay(){return p==null&&D?{close:xn(N.current,"close")}:{close:C}},triggerElementRef:S,isActiveTrigger:v,isClosing:()=>m.select("transitionStatus")==="ending",shouldOpen(){return!M.current}}),X=Ud(w,{enabled:!z}).reference,j=re=>{const q=M.current,ie=tu(re),ge=G(ie),ue=S.current,Z=ue&&ie&&ve(ue,ie);if(ge&&m.select("open")&&m.select("lastOpenChangeReason")===it){m.setOpen(!1,ke(it,re));return}if(q&&!ge&&Z&&!F.current&&!m.select("open")&&ue&&bn(H.current)){const J=()=>{!M.current&&!F.current&&!m.select("open")&&m.setOpen(!0,ke(it,re,ue))},ae=$();ae===0?(L.clear(),J()):L.start(ae,J)}},K=m.useState("triggerProps",T);return we("button",t,{state:{open:x},ref:[n,k,S],props:[V,X,T||I!=="none"?K:void 0,{onMouseOver(re){j(re.nativeEvent)},onFocus(re){U(tu(re.nativeEvent))&&re.preventBaseUIHandler()},onMouseLeave(){M.current=!1,L.clear(),H.current=void 0},onPointerEnter(re){H.current=re.pointerType},onPointerDown(re){H.current=re.pointerType,m.set("closeOnClick",d),d&&!m.select("open")&&m.cancelPendingOpen(re.nativeEvent)},onClick(re){d&&!m.select("open")&&m.cancelPendingOpen(re.nativeEvent)},id:b,"data-trigger-disabled":z?"":void 0,[Vp]:z?void 0:""},y],stateAttributesMapping:Gs})}),$p=c.createContext(void 0);function iS(){const e=c.useContext($p);if(e===void 0)throw new Error($e(70));return e}const aS=c.forwardRef(function(t,n){const{children:o,container:r,className:s,render:i,style:a,...l}=t,{node:u,subtree:d}=Cd({container:r,ref:n,componentProps:t,elementProps:l});return!d&&!u?null:Y.jsxs(c.Fragment,{children:[d,u&&Dt.createPortal(o,u)]})}),CP=c.forwardRef(function(t,n){const{keepMounted:o=!1,...r}=t;return ri().useState("mounted")||o?Y.jsx($p.Provider,{value:o,children:Y.jsx(aS,{ref:n,...r})}):null}),Hp=c.createContext(void 0);function cS(){const e=c.useContext(Hp);if(e===void 0)throw new Error($e(71));return e}const EP=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=Ma,style:b,...v}=t,x=ri(),w=iS(),S=x.useState("open"),R=x.useState("mounted"),C=x.useState("trackCursorAxis"),k=x.useState("disableHoverablePopup"),T=x.useState("floatingRootContext"),E=x.useState("instantType"),N=x.useState("transitionStatus"),O=x.useState("adaptiveOrigin"),D=Xs({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}),A=c.useMemo(()=>({open:S,side:D.side,align:D.align,anchorHidden:D.anchorHidden,instant:C!=="none"?"tracking-cursor":E}),[S,D.side,D.align,D.anchorHidden,C,E]),P=Zs(t,A,{styles:D.positionerStyles,transitionStatus:N,props:v,refs:[n,x.useStateSetter("positionerElement")],hidden:!R,inert:!S||C==="both"||k});return Y.jsx(Hp.Provider,{value:D,children:P})}),PP=c.forwardRef(function(t,n){const{render:o,className:r,style:s,...i}=t,a=ri(),{side:l,align:u}=cS(),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");Tt({open:d,ref:a.context.popupRef,onComplete(){var w,S;d&&((S=(w=a.context).onOpenChangeComplete)==null||S.call(w,!0))}}),$a(h,{enabled:!g,closeDelay:m});const b=a.useStateSetter("popupElement");return we("div",t,{state:{open:d,side:l,align:u,instant:p,transitionStatus:f},ref:[n,a.context.popupRef,b],props:[ar,y,ur(f),i],stateAttributesMapping:Ys})}),MP=function(t){const{delay:n,closeDelay:o,timeout:r=400}=t,s=c.useMemo(()=>({open:n,close:o}),[n,o]);return Y.jsx(zp.Provider,{value:n,children:Y.jsx(l1,{delay:s,timeoutMs:r,children:t.children})})},lS=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}=Zt(),{clearErrors:k}=Oo(),T=m||l,E=g??i,N={...h,disabled:T},{labelId:O}=An(),D=To({id:s});he(()=>{var L;const M=a!=null;(L=C.inputRef.current)!=null&&L.value||M&&a!==""?S(!0):M&&a===""&&S(!1)},[C.inputRef,S,a]);const A=c.useRef(null);he(()=>{p&&A.current===pt(Ie(A.current))&&w(!0)},[p,w]);const[P]=Lt({controlled:a,default:d,name:"FieldControl",state:"value"}),z=a!==void 0,F=z?P:void 0,I=pe(()=>{var M;return(M=C.inputRef.current)==null?void 0:M.value});return Io(C.inputRef,D,F,I,!T,i),we("input",t,{ref:[n,A],state:N,props:[{id:D,disabled:T,name:E,ref:C.inputRef,"aria-labelledby":O,autoFocus:p,...z?{value:F}:{defaultValue:d},onChange(M){const L=M.currentTarget.value;u==null||u(L,ke(Rt,M.nativeEvent)),v(L!==(x.initialValue??"")),S(L!==""),M.nativeEvent.defaultPrevented||(k(E),C.change(L))},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:Yn})}),TP=c.forwardRef(function(t,n){return Y.jsx(lS,{ref:n,...t})}),jp=c.createContext(void 0);function si(){const e=c.useContext(jp);if(e===void 0)throw new Error($e(51));return e}const hr={status(e){return{[`data-${e}`]:""}}},IP=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=hs(l,a,i);b=ut(Number.isNaN(T)?0:T,0,100),v=ut(l,a,i),m=v===i?"complete":"progressing",x=o?Jo(v,s,o):Jo(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:Y.jsxs(c.Fragment,{children:[p,Y.jsx("span",{role:"presentation",style:Sn,children:"x"})]})},C=c.useMemo(()=>({formattedValue:x,percentageValue:b,setLabelId:g,state:S,value:l}),[x,b,g,S,l]),k=we("div",t,{state:S,ref:n,props:[R,y],stateAttributesMapping:hr});return Y.jsx(jp.Provider,{value:C,children:k})}),OP=c.forwardRef(function(t,n){const{render:o,className:r,style:s,...i}=t,{state:a}=si();return we("div",t,{state:a,ref:n,props:i,stateAttributesMapping:hr})}),AP=c.forwardRef(function(t,n){const{render:o,className:r,style:s,...i}=t,{percentageValue:a,state:l}=si(),u=a==null?{}:{insetInlineStart:0,height:"inherit",width:`${a}%`};return we("div",t,{state:l,ref:n,props:[{style:u},i],stateAttributesMapping:hr})}),NP=c.forwardRef(function(t,n){const{className:o,render:r,children:s,style:i,...a}=t,{value:l,formattedValue:u,state:d}=si(),p=d.status==="indeterminate";return we("span",t,{state:d,ref:n,props:[{"aria-hidden":!0,children:typeof s=="function"?s(p?"indeterminate":u,l):p?null:u},a],stateAttributesMapping:hr})}),DP=c.forwardRef(function(t,n){const{render:o,className:r,style:s,id:i,...a}=t,{setLabelId:l,state:u}=si(),d=dx(i,l);return we("span",t,{state:u,ref:n,props:[{id:d,role:"presentation"},a],stateAttributesMapping:hr})}),Bp=c.createContext(void 0);function ii(){const e=c.useContext(Bp);if(e===void 0)throw new Error($e(53));return e}const uS=500,na=16;function yn(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 oo=e=>t=>t?{[e]:""}:null,gc={hasOverflowX:oo("data-has-overflow-x"),hasOverflowY:oo("data-has-overflow-y"),overflowXStart:oo("data-overflow-x-start"),overflowXEnd:oo("data-overflow-x-end"),overflowYStart:oo("data-overflow-y-start"),overflowYEnd:oo("data-overflow-y-end"),cornerHidden:()=>null},dS={x:0,y:0},nu={width:0,height:0},fS={xStart:!1,xEnd:!1,yStart:!1,yEnd:!1},pS={x:!0,y:!0,corner:!0},_P=c.forwardRef(function(t,n){const{render:o,className:r,overflowEdgeThreshold:s,style:i,...a}=t,{xStart:l,xEnd:u,yStart:d,yEnd:p}=hS(s),f=rt(),y=ot(),h=ot(),{nonce:g,disableStyleElements:m}=Za(),[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),[N,O]=c.useState(nu),[D,A]=c.useState(nu),[P,z]=c.useState(fS),[F,I]=c.useState(pS),_=c.useRef(null),M=c.useRef(null),L=c.useRef(null),H=c.useRef(null),$=c.useRef(null),U=c.useRef(null),G=c.useRef(null),V=c.useRef(null),X=c.useRef(0),j=c.useRef(0),K=c.useRef(0),de=c.useRef(0),se=c.useRef("vertical"),ne=c.useRef(dS),re=c.useRef(null);function q(fe){const te=fe?R:w,ee=fe?y:h;te(!0),ee.start(uS,()=>{te(!1)})}const ie=pe(fe=>{const te=fe.x-ne.current.x,ee=fe.y-ne.current.y;ne.current=fe,ee!==0&&q(!0),te!==0&&q(!1)}),ge=pe(()=>{const fe=M.current;fe&&re.current===null&&(re.current=fe.style.scrollSnapType,fe.style.scrollSnapType="none")}),ue=pe(fe=>{if(fe.button!==0)return;if(V.current!==null){const me=se.current==="vertical"?$.current:U.current;if(me!=null&&me.hasPointerCapture(V.current))return}V.current=fe.pointerId,X.current=fe.clientY,j.current=fe.clientX,se.current=fe.currentTarget.getAttribute("data-orientation");const te=M.current;te&&(K.current=te.scrollTop,de.current=te.scrollLeft,ge());const ee=se.current==="vertical"?$.current:U.current;ee==null||ee.setPointerCapture(fe.pointerId)}),Z=pe(fe=>{if(fe.pointerId!==V.current)return;V.current=null,(se.current==="vertical"?R:w)(!1),re.current!==null&&(M.current&&(M.current.style.scrollSnapType=re.current),re.current=null);const te=se.current==="vertical"?$.current:U.current;te!=null&&te.hasPointerCapture(fe.pointerId)&&te.releasePointerCapture(fe.pointerId)}),J=pe(fe=>{if(fe.pointerId!==V.current)return;if(fe.buttons%2===0){Z(fe);return}const te=M.current;if(!te)return;const ee=se.current==="vertical",me=ee?$.current:U.current,ye=ee?L.current:H.current;if(!me||!ye)return;const De=ee?"y":"x",Me=yn(ye,"padding",De),Ge=yn(me,"margin",De),Le=ee?me.offsetHeight:me.offsetWidth,et=(ee?ye.offsetHeight:ye.offsetWidth)-Le-Me-Ge,Te=ee?fe.clientY-X.current:fe.clientX-j.current,be=et<=0?0:Te/et,Ve=ee?te.scrollHeight:te.scrollWidth,Fe=ee?te.clientHeight:te.clientWidth,Je=(ee?K.current:de.current)+be*(Ve-Fe);ee?te.scrollTop=Je:te.scrollLeft=Je,fe.preventDefault(),q(ee)});function ae(fe){k(fe.pointerType==="touch")}function ce(fe){if(ae(fe),fe.pointerType!=="touch"){const te=ve(_.current,fe.target);v(te)}}const oe=c.useMemo(()=>({scrolling:x||S,hasOverflowX:!F.x,hasOverflowY:!F.y,overflowXStart:P.xStart,overflowXEnd:P.xEnd,overflowYStart:P.yStart,overflowYEnd:P.yEnd,cornerHidden:F.corner}),[x,S,F.x,F.y,F.corner,P]),le={role:"presentation",onPointerEnter:ce,onPointerMove:ce,onPointerDown:ae,onPointerLeave(){v(!1)},style:{position:"relative","--scroll-area-corner-height":`${N.height}px`,"--scroll-area-corner-width":`${N.width}px`}},W=we("div",t,{state:oe,ref:[n,_],props:[le,a],stateAttributesMapping:gc}),Q=c.useMemo(()=>({handlePointerDown:ue,handlePointerMove:J,handlePointerUp:Z,handleScroll:ie,disableViewportSnap:ge,cornerSize:N,setCornerSize:O,thumbSize:D,setThumbSize:A,hasMeasuredScrollbar:T,setHasMeasuredScrollbar:E,touchModality:C,cornerRef:G,scrollingX:x,scrollingY:S,hovering:b,setHovering:v,viewportRef:M,scrollbarYRef:L,scrollbarXRef:H,thumbYRef:$,thumbXRef:U,rootId:f,hiddenState:F,setHiddenState:I,overflowEdges:P,setOverflowEdges:z,viewportState:oe,overflowEdgeThreshold:{xStart:l,xEnd:u,yStart:d,yEnd:p}}),[ue,J,Z,ie,ge,N,D,T,C,x,S,b,f,F,P,oe,l,u,d,p]);return Y.jsxs(Bp.Provider,{value:Q,children:[!m&&er.getElement(g),W]})});function hS(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 gS=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 ou=!1;function mS(){ou||Kt||(typeof CSS<"u"&&"registerProperty"in CSS&&Wp.forEach(e=>{try{CSS.registerProperty({name:e,syntax:"<length>",inherits:!1,initialValue:"0px"})}catch{}}),ou=!0)}const LP=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}=ii(),E=On(),N=c.useRef(!0),O=c.useRef([NaN,NaN,NaN,NaN]),D=ot(),A=ot(),P=pe(()=>{const M=a.current,L=l.current,H=u.current,$=d.current,U=p.current,G=f.current;if(!M)return;const V=M.scrollHeight,X=M.scrollWidth,j=M.clientHeight,K=M.clientWidth,de=M.scrollTop,se=M.scrollLeft,ne=O.current,re=Number.isNaN(ne[0]);if(ne[0]=j,ne[1]=V,ne[2]=K,ne[3]=X,re&&x(!0),V===0||X===0)return;const q=yS(M),ie=q.y,ge=q.x,ue=K/X,Z=j/V,J=Math.max(0,X-K),ae=Math.max(0,V-j);let ce=0,oe=0;ge||(ce=xo(E==="rtl"?-se:se,J),oe=J-ce);const le=ie?0:xo(de,ae),W=ie?0:ae-le,Q=ge?0:K,fe=ie?0:j;let te=0,ee=0;!ge&&!ie&&(te=(L==null?void 0:L.offsetWidth)||0,ee=(H==null?void 0:H.offsetHeight)||0);const me=y.width===0&&y.height===0,ye=me?te:0,De=me?ee:0,Me=yn(H,"padding","x"),Ge=yn(L,"padding","y"),Le=yn(U,"margin","x"),ze=yn($,"margin","y"),et=Q-Me-Le,Te=fe-Ge-ze,be=H?Math.min(H.offsetWidth-ye,et):et,Ve=L?Math.min(L.offsetHeight-De,Te):Te,Fe=Math.max(na,be*ue),Be=Math.max(na,Ve*Z);if(g(Se=>Vr(Se,{width:Fe,height:Be})),L&&$){const Se=L.offsetHeight-Be-Ge-ze,We=ru($,"--scroll-area-thumb-height",de,ae,V,Be,Se);$.style.transform=`translate3d(0,${We}px,0)`}if(H&&U){const Se=H.offsetWidth-Fe-Me-Le,We=E==="rtl"?-se:se,tt=ru(U,"--scroll-area-thumb-width",We,J,X,Fe,Se);U.style.transform=`translate3d(${E==="rtl"?-tt:tt}px,0,0)`}const Je=[ce,oe,le,W];Wp.forEach((Se,We)=>{M.style.setProperty(Se,`${Je[We]}px`)}),G&&h(Se=>Vr(Se,{width:te,height:ee})),b(Se=>Vr(Se,q));const lt={xStart:!ge&&ce>k.xStart,xEnd:!ge&&oe>k.xEnd,yStart:!ie&&le>k.yStart,yEnd:!ie&&W>k.yEnd};C(Se=>Vr(Se,lt))});he(()=>{mS()},[]),he(()=>{queueMicrotask(P)},[P,v,E,k.xStart,k.xEnd,k.yStart,k.yEnd]),he(()=>{var M;(M=a.current)!=null&&M.matches(":hover")&&R(!0)},[a,R]),he(()=>{const M=a.current;if(typeof ResizeObserver>"u"||!M)return;let L=!1;const H=new ResizeObserver(()=>{if(!L){L=!0;const $=O.current;if($[0]===M.clientHeight&&$[1]===M.scrollHeight&&$[2]===M.clientWidth&&$[3]===M.scrollWidth)return}P()});return H.observe(M),A.start(0,()=>{const $=M.getAnimations({subtree:!0});$.length!==0&&Promise.allSettled($.map(U=>U.finished)).then(P).catch(()=>{})}),()=>{H.disconnect(),A.clear()}},[P,a,A]);function z(){N.current=!1}const F={role:"presentation",...m&&{"data-id":`${m}-viewport`},tabIndex:v.x&&v.y?-1:0,className:er.className,style:{overflow:"scroll"},onScroll(){a.current&&(P(),(S||!N.current)&&w({x:a.current.scrollLeft,y:a.current.scrollTop}),D.start(100,()=>{N.current=!0}))},onWheel:z,onPointerMove:z,onPointerEnter:z,onKeyDown:z},I=we("div",t,{ref:[n,a],state:T,props:[F,i],stateAttributesMapping:gc}),_=c.useMemo(()=>({computeThumbPosition:P}),[P]);return Y.jsx(gS.Provider,{value:_,children:I})});function yS(e){const t=e.clientHeight>=e.scrollHeight,n=e.clientWidth>=e.scrollWidth;return{y:t,x:n,corner:t||n}}function Vr(e,t){for(const n in t)if(e[n]!==t[n])return t;return e}function ru(e,t,n,o,r,s,i){const a=ut(n,0,o),l=n-a,u=Math.max(na,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 Up=c.createContext(void 0);function bS(){const e=c.useContext(Up);if(e===void 0)throw new Error($e(54));return e}const FP=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}=ii(),E=s==="vertical",N={...T,hovering:u,scrolling:E?p:d,orientation:s},O=On(),D=!k&&!i,A=E?f.y:f.x,P=i||!A;c.useEffect(()=>{if(!P)return;const I=g.current,_=E?y.current:h.current;if(!_)return;function M(L){if(!I||L.ctrlKey)return;const H=!E,$=H?"scrollLeft":"scrollTop",U=H?L.deltaX:L.deltaY;if(U===0)return;const G=H?I.scrollWidth-I.clientWidth:I.scrollHeight-I.clientHeight,V=H&&O==="rtl"?-G:0,X=H&&O==="rtl"?0:G,j=I[$];j<=V&&U<0||j>=X&&U>0||(L.preventDefault(),I[$]=Math.min(X,Math.max(V,j+U)),w({x:I.scrollLeft,y:I.scrollTop}))}return Ae(_,"wheel",M,{passive:!1})},[O,w,E,h,y,P,g]);const z={...R&&{"data-id":`${R}-scrollbar`},onPointerDown(I){if(I.button!==0)return;const _=at(I.nativeEvent),M=E?m.current:b.current;if(M&&ve(M,_))return;const L=g.current;if(!L)return;const H=E?y.current:h.current;if(!M||!H)return;const $=E?"y":"x",U=yn(M,"margin",$),G=yn(H,"padding",$),V=E?M.offsetHeight:M.offsetWidth,X=H.getBoundingClientRect(),j=E?I.clientY-X.top-V/2-G+U/2:I.clientX-X.left-V/2-G+U/2,K=E?L.scrollHeight:L.scrollWidth,de=E?L.clientHeight:L.clientWidth,ne=(E?H.offsetHeight:H.offsetWidth)-V-G-U;if(ne<=0)return;const re=j/ne,q=K-de;S(),E?L.scrollTop=re*q:O==="rtl"?L.scrollLeft=-(1-re)*q:L.scrollLeft=re*q,w({x:L.scrollLeft,y:L.scrollTop}),v(I)},onPointerUp:x,onPointerCancel:x,style:{position:"absolute",touchAction:"none",WebkitUserSelect:"none",userSelect:"none",visibility:D?"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`}}},F=we("div",t,{ref:[n,E?y:h],state:N,props:[z,l],stateAttributesMapping:gc});return P?Y.jsx(Up.Provider,{value:s,children:F}):null}),zP=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}=ii(),g=bS(),m=g==="vertical";return we("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]})}),VP=c.forwardRef(function(t,n){const{render:o,className:r,style:s,...i}=t,{cornerRef:a,cornerSize:l,hiddenState:u}=ii(),d=we("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}),Gp=c.createContext(void 0);function ai(){const e=c.useContext(Gp);if(e===void 0)throw new Error($e(64));return e}const gr={tabActivationDirection:e=>({"data-activation-direction":e})},$P=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]=Lt({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=>oa(v,j),[v]),[R,C]=c.useState(()=>({previousValue:g,tabActivationDirection:"none"})),{previousValue:k,tabActivationDirection:T}=R;let E=T,N=!1;k!==g&&(E=su(k,g,i,v),N=k!=null&&g!=null&&S(g)==null);const O=N?k:g,D=k!==O||T!==E;he(()=>{D&&C({previousValue:O,tabActivationDirection:E})},[O,D,E]);const A=pe((j,K)=>{const de=su(g,j,i,v);K.activationDirection=de,s==null||s(j,K),!K.isCanceled&&m(j)}),P=pe((j,K)=>{s==null||s(j,ke(K,void 0,void 0,{activationDirection:"none"}))}),z=pe((j,K)=>(h(de=>{const se=new Map(de);return se.set(j,K),se}),()=>{h(de=>{if(de.get(j)!==K)return de;const se=new Map(de);return se.delete(j),se})})),F=c.useCallback(j=>y.get(j),[y]),I=c.useCallback(j=>{for(const K of v.values())if(j===K.value)return K.id},[v]),_=c.useMemo(()=>({getTabElementBySelectedValue:S,getTabIdByPanelValue:I,getTabPanelIdByValue:F,onValueChange:A,orientation:i,registerMountedTabPanel:z,setTabMap:x,tabActivationDirection:E,value:g}),[S,I,F,A,i,z,x,E,g]),M=c.useMemo(()=>{for(const j of v.values())if(j.value===g)return j},[v,g]),L=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);he(()=>{var ne;if(b)return;function j(re,q){m(re),C({previousValue:re,tabActivationDirection:"none"}),P(re,q),H.current=!1}if(v.size===0){G.current&&g!==null&&!((ne=w.current)!=null&&ne.isConnected)&&j(null,Uc);return}G.current=!0,w.current=v.keys().next().value;const K=M==null?void 0:M.disabled,de=M==null&&g!==null;if(!K&&g===$.current&&(U.current=!1),U.current&&K&&g===$.current)return;const se=H.current;if(K||de){const re=L??null;if(g===re){H.current=!1;return}let q=Uc;se?q=Gc:K&&(q=rd),j(re,q);return}se&&M!=null&&(P(g,Gc),H.current=!1)},[L,b,P,M,m,v,g]);const X=we("div",t,{state:{orientation:i,tabActivationDirection:E},ref:n,props:d,stateAttributesMapping:gr});return Y.jsx(Gp.Provider,{value:_,children:Y.jsx(dr,{elementsRef:f,children:X})})});function oa(e,t){for(const[n,o]of e.entries())if(t===o.value)return n;return null}function su(e,t,n,o){if(e==null||t==null)return"none";const[r,s,i]=n==="horizontal"?["left","left","right"]:["top","up","down"],a=oa(o,e),l=oa(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 qp=c.createContext(void 0);function Yp(){const e=c.useContext(qp);if(e===void 0)throw new Error($e(65));return e}const HP=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}=ai(),{activateOnFocus:m,registerTabResizeObserverElement:b,tabsListElement:v}=Yp(),{highlightedIndex:x,onHighlightedIndexChange:w}=vs(),S=rt(a),R=c.useMemo(()=>({disabled:r,id:S,value:i}),[r,S,i]),{compositeProps:C,compositeRef:k,index:T}=af({metadata:R}),E=i===p,N=c.useRef(!1),O=c.useRef(null),D=pe(G=>{var V;(V=O.current)==null||V.call(O),O.current=G?b(G):null});he(()=>{if(N.current){N.current=!1;return}if(!(E&&T>-1&&x!==T))return;const G=v;if(G!=null){const V=pt(Ie(G));if(V&&ve(G,V))return}r||w(T)},[E,T,x,w,r,v]);const{getButtonProps:A,buttonRef:P}=Mt({disabled:r,native:l,focusableWhenDisabled:!0}),z=f(i),F=c.useRef(!1),I=c.useRef(!1);function _(G){y(i,ke(Rt,G.nativeEvent,void 0,{activationDirection:"none"}))}function M(G){E||r||_(G)}function L(G){E||r||m&&(!F.current||I.current)&&_(G)}function H(G){if(E||r)return;F.current=!0,I.current=G.button===0;const V=Ie(G.currentTarget);function X(){F.current=!1,I.current=!1,V.removeEventListener("pointerup",X),V.removeEventListener("pointercancel",X)}V.addEventListener("pointerup",X),V.addEventListener("pointercancel",X)}return we("button",t,{state:{disabled:r,active:E,orientation:h,tabActivationDirection:g},ref:[n,P,k,D],props:[C,{role:"tab","aria-controls":z,"aria-selected":E,id:S,onClick:M,onFocus:L,onPointerDown:H,[Ua]:E?"":void 0,onKeyDownCapture(){N.current=!0}},d,A],stateAttributesMapping:gr})});var iu;const vS={...gr,activeTabPosition:()=>null,activeTabSize:()=>null},jP=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}=ai(),{tabsListElement:f,registerIndicatorUpdateListener:y}=Yp(),h=$b();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:D,height:A}=Nl(O),{width:P,height:z}=Nl(f),F=O.getBoundingClientRect(),I=f.getBoundingClientRect(),_=P>0?I.width/P:1,M=z>0?I.height/z:1;if(_>Number.EPSILON&&M>Number.EPSILON){const H=F.left-I.left,$=F.top-I.top;g=H/_+f.scrollLeft-f.clientLeft,b=$/M+f.scrollTop-f.clientTop}else g=O.offsetLeft,b=O.offsetTop;x=D,w=A,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,N=we("span",t,{state:{orientation:u,activeTabPosition:R,activeTabSize:C,tabActivationDirection:d},ref:n,props:[{role:"presentation",style:k,hidden:!T},a,{suppressHydrationWarning:!0}],stateAttributesMapping:vS});return p==null?null:Y.jsxs(c.Fragment,{children:[N,s&&(iu||(iu=Y.jsx(Rf,{script:Sf})))]})}),xS={...gr,...jt},BP=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}=ai(),h=rt(),{ref:g,index:m}=Mo(),b=r===u,{mounted:v,transitionStatus:x,setMounted:w}=dn(b),S=!v,R=d(r),C={hidden:S,orientation:p,tabActivationDirection:f,transitionStatus:x},k=c.useRef(null),T=we("div",t,{state:C,ref:[n,g,k],props:[{"aria-labelledby":R,hidden:S,id:h,role:"tabpanel",tabIndex:b?0:-1,inert:lr(!b),"data-index":m},l],stateAttributesMapping:xS});return Tt({open:b,ref:k,onComplete(){b||w(!1)}}),he(()=>{if(!(h==null||S&&!i))return y(r,h)},[S,i,r,h,y]),i||v?T:null}),WP=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}=ai(),[f,y]=c.useState(0),[h,g]=c.useState(null),m=c.useRef(new Set),b=c.useRef(new Set),v=c.useRef(null);he(()=>{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=pe(k=>(m.current.add(k),()=>{m.current.delete(k)})),w=pe(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 Y.jsx(qp.Provider,{value:C,children:Y.jsx(Ya,{render:i,className:r,style:a,state:S,refs:[n,g],props:[R,l],stateAttributesMapping:gr,highlightedIndex:f,enableHomeAndEndKeys:!0,loopFocus:s,orientation:u,onHighlightedIndexChange:y,onMapChange:d,disabledIndices:$t})})});function UP(e){return _f("alert-dialog",e)}const GP=Yx;function wS(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 Xp(e){return{checked(t){return e.indeterminate?{}:t?{"data-checked":""}:{"data-unchecked":""}},...Yn}}const SS=c.createContext(void 0);function RS(){return c.useContext(SS)}const Kp=c.createContext(void 0);function kS(){const e=c.useContext(Kp);if(e===void 0)throw new Error($e(14));return e}const CS="data-parent",qP=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}=Oo(),{disabled:k,name:T,setDirty:E,setFilled:N,setFocused:O,setTouched:D,state:A,validationMode:P,validityData:z,validation:F}=Zt(),I=cf(),{labelId:_,controlId:M,registerControlId:L,getDescriptionProps:H}=An(),$=RS(),U=($==null?void 0:$.allValues)===void 0?void 0:$.parent,G=U!==void 0,V=k||I.disabled||($==null?void 0:$.disabled)||a,X=T??f,j=x??X,K=rt(),de=rt();let se=u||M;G&&(h?se=de:j!==void 0?se=`${U.id}-${j}`:se||(se=de));let ne={};G&&(h?ne=U.getParentProps():j!==void 0&&(ne=U.getChildProps(j)));const{checked:re=o,indeterminate:q=d,onCheckedChange:ie,...ge}=ne,ue=$==null?void 0:$.value,Z=c.useRef(null),J=gt(()=>Symbol()),ae=c.useRef(!1),{getButtonProps:ce,buttonRef:oe}=Mt({disabled:V,native:w}),le=($==null?void 0:$.validation)??F,[W,Q]=Lt({controlled:j!==void 0&&ue!==void 0&&!h?ue.includes(j):re,default:s,name:"Checkbox",state:"checked"}),fe=G?!!re:W,te=G&&q||d;he(()=>{L!==nt&&(ae.current=!0,L(J.current,se))},[se,L,J]),c.useEffect(()=>{const be=J.current;return()=>{!ae.current||L===nt||(ae.current=!1,L(be,void 0))}},[L,J]),Io(Z,K,W,void 0,!$&&!V,f);const ee=c.useRef(null),me=le.registerInput,ye=$?j:void 0,De=c.useCallback(be=>me(be,{controlRef:Z,value:ye}),[me,ye]),Me=It(p,ee,h?void 0:De),Ge=qa(i,_,ee,!w,se??void 0);he(()=>{ee.current&&(ee.current.indeterminate=te,W&&N(!0))},[W,te,N]),Po(W,()=>{$||(C(X),N(W),E(W!==z.initialValue),le.change(W))});const Le=Et({checked:W,disabled:V,form:l,name:h?void 0:X,id:w?void 0:se??void 0,required:b,ref:Me,style:X?Ps:Sn,tabIndex:-1,type:"checkbox","aria-hidden":!0,onChange(be){if(be.nativeEvent.defaultPrevented)return;if(g){be.preventDefault();return}const Ve=be.currentTarget.checked,Fe=ke(Rt,be.nativeEvent);if(y==null||y(Ve,Fe),!Fe.isCanceled&&(ie==null||ie(Ve,Fe),!Fe.isCanceled&&(Q(Ve),j!==void 0&&$!==void 0&&!h&&!G))){const Be=Ve?[...$.value,j]:$.value.filter(Je=>Je!==j);$.setValue(Be,Fe)}},onClick(be){be.stopPropagation()},onFocus(){var be;(be=Z.current)==null||be.focus()}},x!==void 0?{value:($?W&&x:x)||""}:Ke,H,be=>le.getValidationProps(V,be));c.useEffect(()=>{if(!U||j===void 0)return;const be=U.disabledStatesRef.current;return be.set(j,V),()=>{be.delete(j)}},[U,V,j]);const ze=c.useMemo(()=>({...A,checked:fe,disabled:V,readOnly:g,required:b,indeterminate:te}),[A,fe,V,g,b,te]),et=Xp(ze),Te=we("span",t,{state:ze,ref:[oe,Z,n],props:[{id:w?se??void 0:K,role:"checkbox","aria-checked":te?"mixed":fe,"aria-readonly":g||void 0,"aria-required":b||void 0,"aria-labelledby":Ge,[CS]:h?"":void 0,onFocus(){V||O(!0)},onBlur(){const be=ee.current;be&&(D(!0),O(!1),P==="onBlur"&&le.commit($?ue:be.checked))},onKeyDown(be){var We;if(be.key!=="Enter"||(be.preventBaseUIHandler(),be.defaultPrevented))return;const Ve=((We=ee.current)==null?void 0:We.form)??null,Fe=be.currentTarget,Be=be.nativeEvent,Je=be.preventDefault,lt=Be.preventDefault;let Se=!1;be.preventDefault=()=>{Se=!0,Je.call(be)},Be.preventDefault=()=>{Se=!0,lt.call(Be)},lt.call(Be),Xe(Fe).queueMicrotask(()=>{var tt;be.preventDefault=Je,Be.preventDefault=lt,Se||(tt=wS(Ve))==null||tt.click()})},onClick(be){if(g||V)return;be.preventDefault();const Ve=ee.current;Ve&&Vn(Ve,be)}},R,ge,ce,H,be=>le.getValidationProps(V,be)],stateAttributesMapping:et});return Y.jsxs(Kp.Provider,{value:ze,children:[Te,!W&&!$&&X&&!h&&v!==void 0&&Y.jsx("input",{type:"hidden",form:l,name:X,value:v,disabled:V}),Y.jsx("input",{...Le,suppressHydrationWarning:!0})]})}),YP=c.forwardRef(function(t,n){const{render:o,className:r,style:s,keepMounted:i=!1,...a}=t,l=kS(),u=l.checked||l.indeterminate,{mounted:d,transitionStatus:p,setMounted:f}=dn(u),y=c.useRef(null),h={...l,transitionStatus:p};Tt({open:u,ref:y,onComplete(){u||f(!1)}});const m={...Xp(l),...jt},b=i||d,v=we("span",t,{ref:[n,y],state:h,stateAttributesMapping:m,props:a});return b?v:null}),ES=c.createContext(void 0);function PS(){return c.useContext(ES)}const XP=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=Js(),g=PS(),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]=Lt({controlled:u,default:u===void 0?o??$t:void 0,name:"ToggleGroup",state:"value"}),w=pe((T,E,N)=>{let O;l?(O=v.slice(),E?O.push(T):O.splice(v.indexOf(T),1)):O=E?[T]:[],i==null||i(O,N),!N.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=we("div",t,{enabled:!!h,state:S,ref:n,props:[C,y]});return Y.jsx(pf.Provider,{value:R,children:h?k:Y.jsx(Ya,{render:p,className:d,style:f,state:S,refs:[n],props:[C,y],loopFocus:s,enableHomeAndEndKeys:!0,orientation:a})})});function KP(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=En(),d=c.useMemo(()=>({anchor:t,setAnchor:n,actionsRef:s,backdropRef:o,internalBackdropRef:r,positionerRef:i,allowMouseUpTriggerRef:a,initialCursorPointRef:l,rootId:u}),[t,u]);return Y.jsx(Ep.Provider,{value:d,children:Y.jsx(dc.Provider,{value:void 0,children:Y.jsx(zw,{...e})})})}const au=500,ZP=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}=oi(!1),{store:g}=Dn(!1),m=g.useState("open"),b=g.useState("disabled"),v=c.useRef(null),x=c.useRef(null),w=ot(),S=ot(),R=c.useRef(!1),C=c.useRef(null);function k(P,z,F){var _;const I=F.type.startsWith("touch");y.current={x:P,y:z},a({getBoundingClientRect(){return DOMRect.fromRect({width:I?10:0,height:I?10:0,x:P,y:z})}}),R.current=!1,(_=l.current)==null||_.setOpen(!0,ke(Ht,F)),S.start(au,()=>{R.current=!0})}function T(P){var I;if(b)return;f.current=!0,zt(P),k(P.clientX,P.clientY,P.nativeEvent);const z=Ie(v.current);(I=C.current)==null||I.abort();const F=new AbortController;C.current=F,z.addEventListener("mouseup",_=>{var L;if(f.current=!1,!R.current)return;S.clear(),R.current=!1;const M=at(_);ve(p.current,M)||h&&M&&pc(M)===h||(L=l.current)==null||L.setOpen(!1,ke(wa,_))},{once:!0,signal:F.signal})}function E(){w.clear(),x.current=null}function N(P){if(b){E();return}if(f.current=!1,P.touches.length!==1){E();return}P.stopPropagation();const z=P.touches[0],F={x:z.clientX,y:z.clientY};x.current=F,w.start(au,()=>{k(F.x,F.y,P.nativeEvent)})}function O(P){if(P.touches.length!==1){E();return}if(w.isStarted()&&x.current){const z=P.touches[0],F=10,I=Math.abs(z.clientX-x.current.x),_=Math.abs(z.clientY-x.current.y);(I>F||_>F)&&E()}}return c.useEffect(()=>()=>{var P;(P=C.current)==null||P.abort()},[]),c.useEffect(()=>{function P(F){if(b)return;const _=at(F);(ve(v.current,_)||ve(u.current,_)||ve(d.current,_))&&F.preventDefault()}const z=Ie(v.current);return Ae(z,"contextmenu",P)},[d,b,u]),we("div",t,{state:{open:m},ref:[v,n],props:[{onContextMenu:T,onTouchStart:N,onTouchMove:O,onTouchEnd:E,onTouchCancel:E,style:{WebkitTouchCallout:"none"}},i],stateAttributesMapping:Qo})});function MS(e,t){const n=getComputedStyle(e),o=parseFloat(n.fontSize);return t*o}function TS(e,t){const n=getComputedStyle(e.ownerDocument.documentElement),o=parseFloat(n.fontSize);return t*o}function IS(e){return e/100*window.innerHeight}function OS(e){return e/100*window.innerWidth}function AS(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 Bo({groupSize:e,panelElement:t,styleProp:n}){let o;const[r,s]=AS(n);switch(s){case"%":{o=r/100*e;break}case"px":{o=r;break}case"rem":{o=TS(t,r);break}case"em":{o=MS(t,r);break}case"vh":{o=IS(r);break}case"vw":{o=OS(r);break}}return o}function St(e){return parseFloat(e.toFixed(3))}function Ro({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 ra(e){const{panels:t}=e,n=Ro({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=Bo({groupSize:n,panelElement:r,styleProp:s.collapsedSize});i=St(d/n*100)}let a;if(s.defaultSize!==void 0){const d=Bo({groupSize:n,panelElement:r,styleProp:s.defaultSize});a=St(d/n*100)}let l=0;if(s.minSize!==void 0){const d=Bo({groupSize:n,panelElement:r,styleProp:s.minSize});l=St(d/n*100)}let u=100;if(s.maxSize!==void 0){const d=Bo({groupSize:n,panelElement:r,styleProp:s.maxSize});u=St(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 Qe(e,t="Assertion error"){if(!e)throw Error(t)}function sa(e,t){return Array.from(t).sort(e==="horizontal"?NS:DS)}function NS(e,t){const n=e.element.offsetLeft-t.element.offsetLeft;return n!==0?n:e.element.offsetWidth-t.element.offsetWidth}function DS(e,t){const n=e.element.offsetTop-t.element.offsetTop;return n!==0?n:e.element.offsetHeight-t.element.offsetHeight}function Zp(e){return e!==null&&typeof e=="object"&&"nodeType"in e&&e.nodeType===Node.ELEMENT_NODE}function Qp(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 _S({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}=Qp(o,i),u=e==="horizontal"?a:l;u<s&&(s=u,r=i)}return Qe(r,"No rect found"),r}let $r;function LS(){return $r===void 0&&(typeof matchMedia=="function"?$r=!!matchMedia("(pointer:coarse)").matches:$r=!1),$r}function Jp(e){const{element:t,orientation:n,panels:o,separators:r}=e,s=sa(n,Array.from(t.children).filter(Zp).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=_S({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=LS()?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:Ro({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 gn;class eh{constructor(){Tc(this,gn,{})}addListener(t,n){const o=_o(this,gn)[t];return o===void 0?_o(this,gn)[t]=[n]:o.includes(n)||o.push(n),()=>{this.removeListener(t,n)}}emit(t,n){const o=_o(this,gn)[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(){Ic(this,gn,{})}removeListener(t,n){const o=_o(this,gn)[t];if(o!==void 0){const r=o.indexOf(n);r>=0&&o.splice(r,1)}}}gn=new WeakMap;let ho={cursorFlags:0,state:"inactive"};const mc=new eh;function Bn(){return ho}function FS(e){return mc.addListener("change",e)}function zS(e){const t=ho,n={...ho};n.cursorFlags=e,ho=n,mc.emit("change",{prev:t,next:n})}function go(e){const t=ho;ho=e,mc.emit("change",{prev:t,next:e})}const VS=e=>e,Ii=()=>{},th=1,nh=2,oh=4,rh=8,cu=3,lu=12;let Hr;function uu(){return Hr===void 0&&(Hr=!1,typeof window<"u"&&(window.navigator.userAgent.includes("Chrome")||window.navigator.userAgent.includes("Firefox"))&&(Hr=!0)),Hr}function $S({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&&uu()){const s=(e&th)!==0,i=(e&nh)!==0,a=(e&oh)!==0,l=(e&rh)!==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 uu()?o>0&&r>0?"move":o>0?"ew-resize":"ns-resize":o>0&&r>0?"grab":o>0?"col-resize":"row-resize"}}const du=new WeakMap;function yc(e){if(e.defaultView===null||e.defaultView===void 0)return;let{prevStyle:t,styleSheet:n}=du.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=Bn();switch(o.state){case"active":case"hover":{const r=$S({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}}du.set(e,{prevStyle:t,styleSheet:n})}let Yt=new Map;const sh=new eh;function HS(e){Yt=new Map(Yt),Yt.delete(e)}function fu(e,t){for(const[n]of Yt)if(n.id===e)return n}function vn(e,t){for(const[n,o]of Yt)if(n.id===e)return o;if(t)throw Error(`Could not find data for Group with id ${e}`)}function Kn(){return Yt}function bc(e,t){return sh.addListener("groupChange",n=>{n.group.id===e&&t(n)})}function ln(e,t,n){const o=Yt.get(e);Yt=new Map(Yt),Yt.set(e,t),sh.emit("groupChange",{group:e,isUserInteraction:(n==null?void 0:n.isUserInteraction)===!0,prev:o,next:t})}function ih(e){const t=Bn();let n=!1;switch(t.state){case"active":go({cursorFlags:0,state:"inactive"}),t.hitRegions.length>0&&(yc(e),n=!0,t.hitRegions.forEach(o=>{const r=vn(o.group.id,!0);ln(o.group,r,{isUserInteraction:!0})}))}return n}function pu(e){e.defaultPrevented||ih(e.currentTarget)}function jS(e,t,n){let o,r={x:1/0,y:1/0};for(const s of t){const i=Qp(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 BS(e){return e!==null&&typeof e=="object"&&"nodeType"in e&&e.nodeType===Node.DOCUMENT_FRAGMENT_NODE}function WS(e,t){if(e===t)throw new Error("Cannot compare node with itself");const n={a:mu(e),b:mu(t)};let o;for(;n.a.at(-1)===n.b.at(-1);)o=n.a.pop(),n.b.pop();Qe(o,"Stacking order can only be calculated for elements with a common ancestor");const r={a:gu(hu(n.a)),b:gu(hu(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 US=/\b(?:position|zIndex|opacity|transform|webkitTransform|mixBlendMode|filter|webkitFilter|isolation)\b/;function GS(e){const t=getComputedStyle(ah(e)??e).display;return t==="flex"||t==="inline-flex"}function qS(e){const t=getComputedStyle(e);return!!(t.position==="fixed"||t.zIndex!=="auto"&&(t.position!=="static"||GS(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"||US.test(t.willChange)||t.webkitOverflowScrolling==="touch")}function hu(e){let t=e.length;for(;t--;){const n=e[t];if(Qe(n,"Missing node"),qS(n))return n}return null}function gu(e){return e&&Number(getComputedStyle(e).zIndex)||0}function mu(e){const t=[];for(;e;)t.push(e),e=ah(e);return t}function ah(e){const{parentNode:t}=e;return BS(t)?t.host:t}function YS(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 XS({groupElement:e,hitRegion:t,pointerEventTarget:n}){if(!Zp(n)||n.contains(e)||e.contains(n))return!0;if(WS(n,e)>0){let o=n;for(;o;){if(o.contains(e))return!0;if(YS(o.getBoundingClientRect(),t))return!1;o=o.parentElement}}return!0}function vc(e,t){const n=[];return t.forEach((o,r)=>{if(r.disabled)return;const s=Jp(r),i=jS(r.orientation,s,{x:e.clientX,y:e.clientY});i&&i.distance.x<=0&&i.distance.y<=0&&XS({groupElement:r.element,hitRegion:i.hitRegion.rect,pointerEventTarget:e.target})&&n.push(i.hitRegion)}),n}function KS(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 bt(e,t,n=0){return Math.abs(St(e)-St(t))<=n}function Gt(e,t){return bt(e,t)?0:e>t?1:-1}function ao({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(Gt(o,l)<0)if(s){const u=(r+l)/2;Gt(o,u)<0?o=r:o=l}else o=l;return o=Math.min(a,o),o=St(o),o}function nr({delta:e,initialLayout:t,panelConstraints:n,pivotIndices:o,prevLayout:r,trigger:s}){if(bt(e,0))return t;const i=s==="imperative-api",a=Object.values(t),l=Object.values(r),u=[...a],[d,p]=o;Qe(d!=null,"Invalid first pivot index"),Qe(p!=null,"Invalid second pivot index");let f=0;switch(s){case"keyboard":{{const g=e<0?p:d,m=n[g];Qe(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(Qe(w!=null,`Previous layout not found for panel index ${g}`),bt(w,b)){const S=x-w;Gt(S,Math.abs(e))>0&&(e=e<0?0-S:S)}}}{const g=e<0?d:p,m=n[g];Qe(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(Qe(w!=null,`Previous layout not found for panel index ${g}`),bt(w,x)){const S=w-b;Gt(S,Math.abs(e))>0&&(e=e<0?0-S:S)}}}break}default:{const g=e<0?p:d,m=n[g];Qe(m,`Panel constraints not found for index ${g}`);const b=a[g],{collapsible:v,collapsedSize:x,minSize:w}=m;if(v&&Gt(b,w)<0)if(e>0){const S=w-x,R=S/2,C=b+e;Gt(C,w)<0&&(e=Gt(e,R)<=0?0:S)}else{const S=w-x,R=100-S/2,C=b-e;Gt(C,w)<0&&(e=Gt(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];Qe(x!=null,`Previous layout not found for panel index ${m}`);const w=ao({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];Qe(b!=null,`Previous layout not found for panel index ${g}`);const v=b-m,x=ao({overrideDisabledPanels:i,panelConstraints:n[g],prevSize:b,size:v});if(!bt(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(KS(l,u))return r;{const g=e<0?p:d,m=a[g];Qe(m!=null,`Previous layout not found for panel index ${g}`);const b=m+f,v=ao({overrideDisabledPanels:i,panelConstraints:n[g],prevSize:m,size:b});if(u[g]=v,!bt(v,b)){let x=b-v,w=e<0?p:d;for(;w>=0&&w<n.length;){const S=u[w];Qe(S!=null,`Previous layout not found for panel index ${w}`);const R=S+x,C=ao({overrideDisabledPanels:i,panelConstraints:n[w],prevSize:S,size:R});if(bt(S,C)||(x-=C-S,u[w]=C),bt(x,0))break;e>0?w--:w++}}}const y=Object.values(u).reduce((g,m)=>m+g,0);if(!bt(y,100,.1))return r;const h=Object.keys(r);return u.reduce((g,m,b)=>(g[h[b]]=m,g),{})}function Wn(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(t[n]===void 0||Gt(e[n],t[n])!==0)return!1;return!0}function Un({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(!bt(r,100)&&o.length>0)for(let a=0;a<t.length;a++){const l=o[a];Qe(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];Qe(l!=null,`No layout data found for index ${a}`);const u=o[a];Qe(u!=null,`No layout data found for index ${a}`);const d=ao({overrideDisabledPanels:!0,panelConstraints:t[a],prevSize:l,size:u});u!=d&&(s+=u-d,o[a]=d)}if(!bt(s,0))for(let a=0;a<t.length;a++){const l=o[a];Qe(l!=null,`No layout data found for index ${a}`);const u=l+s,d=ao({overrideDisabledPanels:!0,panelConstraints:t[a],prevSize:l,size:u});if(l!==d&&(s-=d-l,o[a]=d,bt(s,0)))break}const i=Object.keys(e);return o.reduce((a,l,u)=>(a[i[u]]=l,a),{})}function ch({groupId:e,panelId:t}){const n=()=>{const l=Kn();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)&&bt(v.collapsedSize,d[v.panelId])}))){const m=u.slice(0,y).reduce((b,v)=>b+d[v.id],0);return{...d,[t]:St(100-m)}}return nr({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=Un({layout:m,panelConstraints:p});Wn(h,b)||ln(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&&bt(u,d)},resize:l=>{const{group:u}=n(),{element:d}=r(),p=Ro({group:u}),f=Bo({groupSize:p,panelElement:d,styleProp:l}),y=St(f/p*100);a(y)}}}function yu(e){if(e.defaultPrevented)return;const t=Kn();vc(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=ch({groupId:n.group.id,panelId:o.id});s&&r!==void 0&&(s.resize(r),e.preventDefault())}}})}function Xr(e){const t=Kn();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 lh({groupId:e}){const t=()=>{const n=Kn();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=Un({layout:n,panelConstraints:r});return o?a:(Wn(a,u)||ln(s,{defaultLayoutDeferred:o,derivedPanelConstraints:r,groupSize:i,layout:u,separatorToPanels:l}),u)}}}function zn(e,t){const n=Xr(e),o=vn(n.id,!0),r=n.separators.find(d=>d.element===e);Qe(r,"Matching separator not found");const s=o.separatorToPanels.get(r);Qe(s,"Matching panels not found");const i=s.map(d=>n.panels.indexOf(d)),a=lh({groupId:n.id}).getLayout(),l=nr({delta:t,initialLayout:a,panelConstraints:o.derivedPanelConstraints,pivotIndices:i,prevLayout:a,trigger:"keyboard"}),u=Un({layout:l,panelConstraints:o.derivedPanelConstraints});Wn(a,u)||ln(n,{defaultLayoutDeferred:o.defaultLayoutDeferred,derivedPanelConstraints:o.derivedPanelConstraints,groupSize:o.groupSize,layout:u,separatorToPanels:o.separatorToPanels},{isUserInteraction:!0})}function bu(e){if(e.defaultPrevented)return;const t=e.currentTarget,n=Xr(t);if(!n.disabled)switch(e.key){case"ArrowDown":{e.preventDefault(),n.orientation==="vertical"&&zn(t,5);break}case"ArrowLeft":{e.preventDefault(),n.orientation==="horizontal"&&zn(t,-5);break}case"ArrowRight":{e.preventDefault(),n.orientation==="horizontal"&&zn(t,5);break}case"ArrowUp":{e.preventDefault(),n.orientation==="vertical"&&zn(t,-5);break}case"End":{e.preventDefault(),zn(t,100);break}case"Enter":{e.preventDefault();const o=Xr(t),r=vn(o.id,!0),{derivedPanelConstraints:s,layout:i,separatorToPanels:a}=r,l=o.separators.find(f=>f.element===t);Qe(l,"Matching separator not found");const u=a.get(l);Qe(u,"Matching panels not found");const d=u[0],p=s.find(f=>f.panelId===d.id);if(Qe(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;zn(t,y-f)}break}case"F6":{e.preventDefault();const o=Xr(t).separators.map(i=>i.element),r=Array.from(o).findIndex(i=>i===e.currentTarget);Qe(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(),zn(t,-100);break}}}function vu(e){if(e.defaultPrevented||e.pointerType==="mouse"&&e.button>0)return;const t=Kn(),n=vc(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)}),go({cursorFlags:0,hitRegions:n,initialLayoutMap:o,pointerDownAtPoint:{x:e.clientX,y:e.clientY},state:"active"}),n.length&&e.preventDefault()}function uh({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=nr({delta:g,initialLayout:m,panelConstraints:x,pivotIndices:u.panels.map(k=>y.indexOf(k)),prevLayout:S,trigger:"mouse-or-touch"});if(Wn(C,S)){if(g!==0&&!h)switch(f){case"horizontal":{a|=g<0?th:nh;break}case"vertical":{a|=g<0?oh:rh;break}}}else ln(u.group,{defaultLayoutDeferred:v,derivedPanelConstraints:x,groupSize:w,layout:C,separatorToPanels:R})}});let l=0;t.movementX===0?l|=i&cu:l|=a&cu,t.movementY===0?l|=i&lu:l|=a&lu,zS(l),yc(e)}function xu(e){const t=Kn(),n=Bn();switch(n.state){case"active":uh({document:e.currentTarget,event:e,hitRegions:n.hitRegions,initialLayoutMap:n.initialLayoutMap,mountedGroups:t,prevCursorFlags:n.cursorFlags})}}function wu(e){var o,r;if(e.defaultPrevented)return;const t=Bn(),n=Kn();switch(t.state){case"active":{if(e.buttons===0){go({cursorFlags:0,state:"inactive"}),t.hitRegions.forEach(s=>{const i=vn(s.group.id,!0);ln(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))}uh({document:e.currentTarget,event:e,hitRegions:t.hitRegions,initialLayoutMap:t.initialLayoutMap,mountedGroups:n,pointerDownAtPoint:t.pointerDownAtPoint,prevCursorFlags:t.cursorFlags});break}default:{const s=vc(e,n);s.length===0?t.state!=="inactive"&&go({cursorFlags:0,state:"inactive"}):go({cursorFlags:0,hitRegions:s,state:"hover"}),yc(e.currentTarget);break}}}function Su(e){if(e.relatedTarget instanceof HTMLIFrameElement)switch(Bn().state){case"hover":go({cursorFlags:0,state:"inactive"})}}function Ru(e){e.defaultPrevented||e.pointerType==="mouse"&&e.button>0||ih(e.currentTarget)&&e.preventDefault()}function ku(e){let t=0,n=0;const o={};for(const s of e)if(s.defaultSize!==void 0){t++;const i=St(s.defaultSize);n+=i,o[s.panelId]=i}else o[s.panelId]=void 0;const r=e.length-t;if(r!==0){const s=St((100-n)/r);for(const i of e)i.defaultSize===void 0&&(o[i.panelId]=s)}return o}function ZS(e,t,n){if(!n[0])return;const o=e.panels.find(l=>l.element===t);if(!o||!o.onResize)return;const r=Ro({group:e}),s=e.orientation==="horizontal"?o.element.offsetWidth:o.element.offsetHeight,i=o.mutableValues.prevSize,a={asPercentage:St(s/r*100),inPixels:s};o.mutableValues.prevSize=a,o.onResize(a,o.id,i)}function QS(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 JS({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=St(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]=St(f/s*u)}else{const p=St(u/l.length);for(const f of l)d[f]=p}return d}function eR(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 ro=new Map;function tR(e){let t=!0;Qe(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=Ro({group:e});if(v===0)return;const x=vn(e.id);if(!x)return;const w=ra(e),S=x.defaultLayoutDeferred?ku(w):x.layout,R=JS({group:e,nextGroupSize:v,prevGroupSize:x.groupSize,prevLayout:S}),C=Un({layout:R,panelConstraints:w});if(!x.defaultLayoutDeferred&&Wn(x.layout,C)&&QS(x.derivedPanelConstraints,w)&&x.groupSize===v)return;ln(e,{defaultLayoutDeferred:!1,derivedPanelConstraints:w,groupSize:v,layout:C,separatorToPanels:x.separatorToPanels})}}else ZS(e,b,m)}});s.observe(e.element),e.panels.forEach(h=>{Qe(!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=Ro({group:e}),a=ra(e),l=e.panels.map(({id:h})=>h).join(",");let u=e.mutableState.defaultLayout;u&&(eR(e.panels,u)||(u=void 0));const d=e.mutableState.layouts[l]??u??ku(a),p=Un({layout:d,panelConstraints:a}),f=e.element.ownerDocument;ro.set(f,(ro.get(f)??0)+1);const y=new Map;return Jp(e).forEach(h=>{h.separator&&y.set(h.separator,h.panels)}),ln(e,{defaultLayoutDeferred:i===0,derivedPanelConstraints:a,groupSize:i,layout:p,separatorToPanels:y}),e.separators.forEach(h=>{Qe(!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",bu)}),ro.get(f)===1&&(f.addEventListener("contextmenu",pu,!0),f.addEventListener("dblclick",yu,!0),f.addEventListener("pointerdown",vu,!0),f.addEventListener("pointerleave",xu),f.addEventListener("pointermove",wu),f.addEventListener("pointerout",Su),f.addEventListener("pointerup",Ru,!0)),function(){t=!1,ro.set(f,Math.max(0,(ro.get(f)??0)-1)),HS(e),e.separators.forEach(h=>{h.element.removeEventListener("keydown",bu)}),ro.get(f)||(f.removeEventListener("contextmenu",pu,!0),f.removeEventListener("dblclick",yu,!0),f.removeEventListener("pointerdown",vu,!0),f.removeEventListener("pointerleave",xu),f.removeEventListener("pointermove",wu),f.removeEventListener("pointerout",Su),f.removeEventListener("pointerup",Ru,!0)),s.disconnect()}}function nR(){const[e,t]=c.useState({}),n=c.useCallback(()=>t({}),[]);return[e,n]}function xc(e){const t=c.useId();return`${e??t}`}const Zn=typeof window<"u"?c.useLayoutEffect:c.useEffect;function qo(e){const t=c.useRef(e);return Zn(()=>{t.current=e},[e]),c.useCallback((...n)=>{var o;return(o=t.current)==null?void 0:o.call(t,...n)},[t])}function wc(...e){return qo(t=>{e.forEach(n=>{if(n)switch(typeof n){case"function":{n(t);break}case"object":{n.current=t;break}}})})}function Sc(e){const t=c.useRef({...e});return Zn(()=>{for(const n in e)t.current[n]=e[n]},[e]),t.current}const dh=c.createContext(null);function oR(e,t){const n=c.useRef({getLayout:()=>({}),setLayout:VS});c.useImperativeHandle(t,()=>n.current,[]),Zn(()=>{Object.assign(n.current,lh({groupId:e}))})}function rR({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=qo(N=>{Wn(h.current.onLayoutChange,N)||(h.current.onLayoutChange=N,l==null||l(N))}),m=qo((N,O)=>{Wn(h.current.onLayoutChanged,N)||(h.current.onLayoutChanged=N,u==null||u(N,{isUserInteraction:O}))}),b=xc(a),v=c.useRef(null),[x,w]=nR(),S=c.useRef({lastExpandedPanelSizes:{},layouts:{},panels:[],resizeTargetMinimumSize:p,separators:[]}),R=wc(v,s);oR(b,i);const C=qo((N,O)=>{const D=Bn(),A=fu(N),P=vn(N);if(P){let z=!1;switch(D.state){case"active":{z=D.hitRegions.some(F=>F.group===A);break}}return{flexGrow:P.layout[O]??1,pointerEvents:z?"none":void 0}}if(n!=null&&n[O])return{flexGrow:n==null?void 0:n[O]}}),k=Sc({defaultLayout:n,disableCursor:o}),T=c.useMemo(()=>({get disableCursor(){return!!k.disableCursor},getPanelStyles:C,id:b,orientation:d,registerPanel:N=>{const O=S.current;return O.panels=sa(d,[...O.panels,N]),w(),()=>{O.panels=O.panels.filter(D=>D!==N),w()}},registerSeparator:N=>{const O=S.current;return O.separators=sa(d,[...O.separators,N]),w(),()=>{O.separators=O.separators.filter(D=>D!==N),w()}},updatePanelProps:(N,{disabled:O})=>{const D=S.current.panels.find(z=>z.id===N);D&&(D.panelConstraints.disabled=O);const A=fu(b),P=vn(b);A&&P&&ln(A,{...P,derivedPanelConstraints:ra(A)})},updateSeparatorProps:(N,{disabled:O,disableDoubleClick:D})=>{const A=S.current.separators.find(P=>P.id===N);A&&(A.disabled=O,A.disableDoubleClick=D)}}),[C,b,w,d,k]),E=c.useRef(null);return Zn(()=>{const N=v.current;if(N===null)return;const O=S.current;let D;if(k.defaultLayout!==void 0&&Object.keys(k.defaultLayout).length===O.panels.length){D={};for(const M of O.panels){const L=k.defaultLayout[M.id];L!==void 0&&(D[M.id]=L)}}const A={disabled:!!r,element:N,id:b,mutableState:{defaultLayout:D,disableCursor:!!k.disableCursor,expandedPanelSizes:S.current.lastExpandedPanelSizes,layouts:S.current.layouts},orientation:d,panels:O.panels,resizeTargetMinimumSize:O.resizeTargetMinimumSize,separators:O.separators};E.current=A;const P=tR(A),{defaultLayoutDeferred:z,derivedPanelConstraints:F,layout:I}=vn(A.id,!0);!z&&F.length>0&&(g(I),m(I,!1));const _=bc(b,M=>{const{defaultLayoutDeferred:L,derivedPanelConstraints:H,layout:$}=M.next;if(L||H.length===0)return;const U=A.panels.map(({id:V})=>V).join(",");A.mutableState.layouts[U]=$,H.forEach(V=>{if(V.collapsible){const{layout:X}=M.prev??{};if(X){const j=bt(V.collapsedSize,$[V.panelId]),K=bt(V.collapsedSize,X[V.panelId]);j&&!K&&(A.mutableState.expandedPanelSizes[V.panelId]=X[V.panelId])}}});const G=Bn().state!=="active";g($),G&&m($,M.isUserInteraction)});return()=>{E.current=null,P(),_()}},[r,b,m,g,d,x,k]),c.useEffect(()=>{const N=E.current;N&&(N.mutableState.defaultLayout=n,N.mutableState.disableCursor=!!o)}),Y.jsx(dh.Provider,{value:T,children:Y.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})})}rR.displayName="Group";function Rc(){const e=c.useContext(dh);return Qe(e,"Group Context not found; did you render a Panel or Separator outside of a Group?"),e}function sR(e,t){const{id:n}=Rc(),o=c.useRef({collapse:Ii,expand:Ii,getSize:()=>({asPercentage:0,inPixels:0}),isCollapsed:()=>!1,resize:Ii});c.useImperativeHandle(t,()=>o.current,[]),Zn(()=>{Object.assign(o.current,ch({groupId:n,panelId:e}))})}function iR({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=xc(l),b=Sc({disabled:s}),v=c.useRef(null),x=wc(v,i),{getPanelStyles:w,id:S,orientation:R,registerPanel:C,updatePanelProps:k}=Rc(),T=p!==null,E=qo((A,P,z)=>{p==null||p(A,l,z)});Zn(()=>{const A=v.current;if(A!==null){const P={element:A,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]),sR(m,f);const N=()=>{const A=w(S,m);if(A)return JSON.stringify(A)},O=c.useSyncExternalStore(A=>bc(S,A),N,N);let D;return O?D=JSON.parse(O):r!==void 0?D={flexGrow:void 0,flexShrink:void 0,flexBasis:r}:D={flexGrow:1},Y.jsx("div",{...h,"data-disabled":s||void 0,"data-panel":!0,"data-testid":m,id:m,ref:x,style:{...aR,display:"flex",flexBasis:0,flexShrink:1,overflow:"visible",...D},children:Y.jsx("div",{className:t,style:{maxHeight:"100%",maxWidth:"100%",flexGrow:1,overflow:"auto",...y,touchAction:R==="horizontal"?"pan-y":"pan-x"},children:e})})}iR.displayName="Panel";const aR={minHeight:0,maxHeight:"100%",height:"auto",minWidth:0,maxWidth:"100%",width:"auto",border:"none",borderWidth:0,padding:0,margin:0};function cR({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=Un({layout:nr({delta:u-i,initialLayout:e,panelConstraints:t,pivotIndices:d,prevLayout:e}),panelConstraints:t})[n],r=Un({layout:nr({delta:l-i,initialLayout:e,panelConstraints:t,pivotIndices:d,prevLayout:e}),panelConstraints:t})[n]}return{valueControls:n,valueMax:r,valueMin:s,valueNow:i}}function lR({children:e,className:t,disabled:n,disableDoubleClick:o,elementRef:r,id:s,style:i,...a}){const l=xc(s),u=Sc({disabled:n,disableDoubleClick:o}),[d,p]=c.useState({}),[f,y]=c.useState("inactive"),[h,g]=c.useState(!1),m=c.useRef(null),b=wc(m,r),{disableCursor:v,id:x,orientation:w,registerSeparator:S,updateSeparatorProps:R}=Rc(),C=w==="horizontal"?"vertical":"horizontal";Zn(()=>{const E=m.current;if(E!==null){const N={disabled:u.disabled,disableDoubleClick:u.disableDoubleClick,element:E,id:l},O=S(N),D=FS(P=>{y(P.next.state!=="inactive"&&P.next.hitRegions.some(z=>z.separator===N)?P.next.state:"inactive")}),A=bc(x,P=>{const{derivedPanelConstraints:z,layout:F,separatorToPanels:I}=P.next,_=I.get(N);if(_){const M=_[0],L=_.indexOf(M);p(cR({layout:F,panelConstraints:z,panelId:M.id,panelIndex:L}))}});return()=>{D(),A(),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 Y.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})}lR.displayName="Separator";const fh=c.createContext(void 0);function uR(){const e=c.useContext(fh);if(e===void 0)throw new Error($e(63));return e}const ph={...Yn,checked(e){return e?{"data-checked":""}:{"data-unchecked":""}}},QP=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}=Oo(),{state:R,setTouched:C,setDirty:k,validityData:T,setFilled:E,setFocused:N,validationMode:O,disabled:D,name:A,validation:P}=Zt(),{labelId:z}=An(),F=D||g,I=A??d,_=c.useRef(null),M=It(_,u,P.inputRef),L=c.useRef(null),H=rt(),$=To({id:l,implicit:!1,controlRef:L}),U=p?void 0:$,[G,V]=Lt({controlled:o,default:!!s,name:"Switch",state:"checked"});Io(L,H,G,void 0,!F,d),he(()=>{_.current&&E(_.current.checked)},[E]),Po(G,()=>{S(I),k(G!==T.initialValue),E(G),P.change(G)});const{getButtonProps:X,buttonRef:j}=Mt({disabled:F,native:p}),K=qa(i,z,_,!p,U),de={id:p?$:H,role:"switch","aria-checked":G,"aria-readonly":y||void 0,"aria-required":h||void 0,"aria-labelledby":K,onFocus(){F||N(!0)},onBlur(){const q=_.current;!q||F||(C(!0),N(!1),O==="onBlur"&&P.commit(q.checked))},onClick(q){if(y||F)return;q.preventDefault();const ie=_.current;ie&&Vn(ie,q)}},se={...P.getValidationProps(F),checked:G,disabled:F,form:a,id:U,name:I,required:h,style:I?Ps:Sn,tabIndex:-1,type:"checkbox","aria-hidden":!0,ref:M,onChange(q){if(q.nativeEvent.defaultPrevented)return;if(y){q.preventDefault();return}const ie=q.currentTarget.checked,ge=ke(Rt,q.nativeEvent);f==null||f(ie,ge),!ge.isCanceled&&V(ie)},onClick(q){q.stopPropagation()},onFocus(){var q;(q=L.current)==null||q.focus()},...v!==void 0?{value:v}:Ke},ne=c.useMemo(()=>({...R,checked:G,disabled:F,readOnly:y,required:h}),[R,G,F,y,h]),re=we("span",t,{state:ne,ref:[n,L,j],props:[de,w,X,q=>P.getValidationProps(F,q)],stateAttributesMapping:ph});return Y.jsxs(fh.Provider,{value:ne,children:[re,!G&&I&&b!==void 0&&Y.jsx("input",{type:"hidden",form:a,name:I,value:b,disabled:F}),Y.jsx("input",{...se,suppressHydrationWarning:!0})]})}),JP=c.forwardRef(function(t,n){const{render:o,className:r,style:s,...i}=t,a=uR();return we("span",t,{state:a,ref:n,stateAttributesMapping:ph,props:i})});export{hE as $,nk as A,kk as B,AR as C,JR as D,ak as E,Sk as F,Pk as G,zk as H,$C as I,TR as J,Bk as K,Gk as L,dC as M,oE as N,Ek as O,EC as P,sC as Q,NC as R,FC as S,JC as T,_C as U,Tk as V,OR as W,gE as X,TC as Y,bE as Z,ek as _,Rk as a,UE as a$,QR as a0,yk as a1,IR as a2,hC as a3,kR as a4,Uk as a5,pE as a6,QP as a7,JP as a8,uk as a9,YR as aA,rk as aB,wE as aC,t0 as aD,vE as aE,xE as aF,pC as aG,$k as aH,SE as aI,RE as aJ,EE as aK,kE as aL,CE as aM,TE as aN,ME as aO,PE as aP,eC as aQ,IE as aR,_E as aS,DE as aT,AE as aU,NE as aV,OE as aW,Dk as aX,mE as aY,UC as aZ,LE as a_,dk as aa,fE as ab,dE as ac,ok as ad,Jk as ae,lE as af,xC as ag,zR as ah,XR as ai,fk as aj,RR as ak,CC as al,wk as am,sE as an,Yk as ao,tC as ap,rE as aq,BC as ar,oC as as,$R as at,Qk as au,pR as av,PC as aw,bR as ax,vR as ay,DC as az,OC as b,AP as b$,FE as b0,zE as b1,VE as b2,BE as b3,$E as b4,WE as b5,HE as b6,jE as b7,qE as b8,GE as b9,pP as bA,uP as bB,fP as bC,yP as bD,mP as bE,hP as bF,gP as bG,bP as bH,dP as bI,SP as bJ,xP as bK,wP as bL,Hk as bM,SC as bN,kP as bO,PP as bP,RP as bQ,MP as bR,CP as bS,EP as bT,MC as bU,QC as bV,zC as bW,FR as bX,TP as bY,IP as bZ,OP as b_,XE as ba,YE as bb,NR as bc,KE as bd,oP as be,JE as bf,eP as bg,nP as bh,tP as bi,QE as bj,ZE as bk,Yx as bl,sk as bm,Et as bn,rP as bo,Gr as bp,ti as bq,iP as br,aP as bs,cP as bt,lP as bu,Vf as bv,RC as bw,bk as bx,zw as by,vP as bz,lk as c,HR as c$,DP as c0,NP as c1,vk as c2,kC as c3,wC as c4,_P as c5,LP as c6,VP as c7,FP as c8,zP as c9,Zk as cA,mk as cB,hk as cC,Mk as cD,GC as cE,ZP as cF,KP as cG,WR as cH,CR as cI,lC as cJ,IC as cK,LC as cL,iC as cM,yR as cN,jk as cO,rC as cP,xk as cQ,SR as cR,MR as cS,Ak as cT,jC as cU,yC as cV,ck as cW,mC as cX,lR as cY,iR as cZ,rR as c_,BP as ca,WP as cb,$P as cc,HP as cd,jP as ce,UP as cf,GP as cg,qP as ch,YP as ci,Vk as cj,uC as ck,Lk as cl,KR as cm,VR as cn,ik as co,_R as cp,mR as cq,uE as cr,BR as cs,XP as ct,ZR as cu,GR as cv,Kk as cw,gk as cx,fC as cy,Fk as cz,VC as d,xR as d0,ER as d1,Xk as d2,UR as d3,iE as d4,cE as d5,aE as d6,qR as d7,Ik as d8,Ok as d9,cC as da,wR as db,AC as dc,jR as dd,vC as de,hR as df,gR as dg,nE as dh,WC as di,qk as dj,XC as e,nC as f,yE as g,KC as h,Nk as i,tE as j,pk as k,aC as l,tk as m,Wk as n,_k as o,Ck as p,PR as q,bC as r,qC as s,LR as t,DR as u,gC as v,HC as w,YC as x,ZC as y,eE as z};
|