cogpit 3.0.0 → 3.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/cli-runtime.js +57254 -0
- package/dist/cli.js +5 -44811
- package/dist/instance-worker.js +19943 -0
- package/dist/web/assets/CogpitBlock-DngXfAds.js +35 -0
- package/dist/web/assets/CommandPaletteHost-qBLfTYUI.js +1 -0
- package/dist/web/assets/{ConfigBrowser-CXvr5BFb.js → ConfigBrowser-CX8VxPCF.js} +1 -1
- package/dist/web/assets/CrewPanel-BQinfJ8Y.js +1 -0
- package/dist/web/assets/{HighlightedEditor-DWc-xoSc.js → HighlightedEditor-Cz0PCIaA.js} +1 -1
- package/dist/web/assets/{KeyboardShortcutsDialog-C1of2PBc.js → KeyboardShortcutsDialog-B7cVkxlZ.js} +1 -1
- package/dist/web/assets/MissionHome-CCYLRIPz.js +1 -0
- package/dist/web/assets/{MobileFileChanges-BAEIKapA.js → MobileFileChanges-FHYv1Fc1.js} +1 -1
- package/dist/web/assets/{PluginsDialog-BgnTB0-z.js → PluginsDialog-Bwf8bQH-.js} +1 -1
- package/dist/web/assets/{PreviewPanel-DgbgRibz.js → PreviewPanel-DC6gaBWX.js} +1 -1
- package/dist/web/assets/{ProjectFilesPanel-BGpyS_aw.js → ProjectFilesPanel-BEVS1EcM.js} +3 -3
- package/dist/web/assets/{ProjectSwitcherModal-CEypvUNm.js → ProjectSwitcherModal-ByUN7aFG.js} +1 -1
- package/dist/web/assets/{TerminalOutput-Dq6QP83Y.js → TerminalOutput-DcUf6lUO.js} +1 -1
- package/dist/web/assets/{ThemeSelectorModal-DeYABHF9.js → ThemeSelectorModal-rD4ZYmvZ.js} +1 -1
- package/dist/web/assets/WorkflowsPanel-BbzofKqG.js +1 -0
- package/dist/web/assets/WorktreePanel-CAVc-e2v.js +1 -0
- package/dist/web/assets/edition-ui-D3yHMSJq.js +2 -0
- package/dist/web/assets/index-CYJLZdyZ.js +482 -0
- package/dist/web/assets/{index-DYugSKH5.js → index-Ca9i-hcz.js} +4 -4
- package/dist/web/assets/index-D6mWk1bF.css +1 -0
- package/dist/web/assets/index-DO4zq6Qr.js +1 -0
- package/dist/web/assets/{index-Bm91RnFy.js → index-DRHHijwL.js} +1 -1
- package/dist/web/assets/session-parser.worker-D3SBmcaP.js +30 -0
- package/dist/web/assets/vendor-ui-Dxtv9P3W.js +987 -0
- package/dist/web/index.html +3 -3
- package/package.json +5 -3
- package/dist/web/assets/CommandPaletteHost-fa5vgo7-.js +0 -1
- package/dist/web/assets/WorkflowsPanel-CNxUSC9Q.js +0 -1
- package/dist/web/assets/WorktreePanel-DJYEUobs.js +0 -1
- package/dist/web/assets/edition-ui-CFlDe2_U.js +0 -2
- package/dist/web/assets/index-Ch-IpPaH.js +0 -1
- package/dist/web/assets/index-DVp2Xjmx.js +0 -1
- package/dist/web/assets/index-DsnL-sXV.js +0 -472
- package/dist/web/assets/index-TCQKag8a.css +0 -1
- package/dist/web/assets/session-parser.worker-CXlsiJzz.js +0 -29
- package/dist/web/assets/vendor-ui-Br3ZTAXZ.js +0 -957
|
@@ -0,0 +1,987 @@
|
|
|
1
|
+
var uh=Object.defineProperty;var Cc=e=>{throw TypeError(e)};var dh=(e,t,n)=>t in e?uh(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var Ue=(e,t,n)=>dh(e,typeof t!="symbol"?t+"":t,n),Ec=(e,t,n)=>t.has(e)||Cc("Cannot "+n);var No=(e,t,n)=>(Ec(e,t,"read from private field"),n?n.call(e):t.get(e)),Pc=(e,t,n)=>t.has(e)?Cc("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),Mc=(e,t,n,o)=>(Ec(e,t,"write to private field"),o?o.call(e,n):t.set(e,n),n);import{r as c,R as Ro,j as Y,a as Dt,b as Ru}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 ku=(...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 fh=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 ph=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 Tc=e=>{const t=ph(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 hh={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 gh=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 mh=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,...hh,width:t,height:t,stroke:e,strokeWidth:o?Number(n)*24/Number(t):n,className:ku("lucide",r),...!s&&!gh(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(mh,{ref:s,iconNode:t,className:ku(`lucide-${fh(Tc(e))}`,`lucide-${e}`,o),...r}));return n.displayName=Tc(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 yh=[["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"}]],yR=B("activity",yh);/**
|
|
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 bh=[["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"}]],bR=B("archive-restore",bh);/**
|
|
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 vh=[["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"}]],vR=B("archive",vh);/**
|
|
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 xh=[["path",{d:"M17 7 7 17",key:"15tmo1"}],["path",{d:"M17 17H7V7",key:"1org7z"}]],xR=B("arrow-down-left",xh);/**
|
|
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 wh=[["path",{d:"M12 5v14",key:"s699le"}],["path",{d:"m19 12-7 7-7-7",key:"1idqje"}]],wR=B("arrow-down",wh);/**
|
|
67
|
+
* @license lucide-react v0.577.0 - ISC
|
|
68
|
+
*
|
|
69
|
+
* This source code is licensed under the ISC license.
|
|
70
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
71
|
+
*/const Sh=[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]],SR=B("arrow-left",Sh);/**
|
|
72
|
+
* @license lucide-react v0.577.0 - ISC
|
|
73
|
+
*
|
|
74
|
+
* This source code is licensed under the ISC license.
|
|
75
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
76
|
+
*/const Rh=[["path",{d:"m16 3 4 4-4 4",key:"1x1c3m"}],["path",{d:"M20 7H4",key:"zbl0bi"}],["path",{d:"m8 21-4-4 4-4",key:"h9nckh"}],["path",{d:"M4 17h16",key:"g4d7ey"}]],RR=B("arrow-right-left",Rh);/**
|
|
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 kh=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]],kR=B("arrow-right",kh);/**
|
|
82
|
+
* @license lucide-react v0.577.0 - ISC
|
|
83
|
+
*
|
|
84
|
+
* This source code is licensed under the ISC license.
|
|
85
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
86
|
+
*/const Ch=[["path",{d:"m5 12 7-7 7 7",key:"hav0vg"}],["path",{d:"M12 19V5",key:"x0mq9r"}]],CR=B("arrow-up",Ch);/**
|
|
87
|
+
* @license lucide-react v0.577.0 - ISC
|
|
88
|
+
*
|
|
89
|
+
* This source code is licensed under the ISC license.
|
|
90
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
91
|
+
*/const Eh=[["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"}]],ER=B("bell",Eh);/**
|
|
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 Ph=[["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"}]],PR=B("book-open",Ph);/**
|
|
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 Mh=[["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"}]],MR=B("bot",Mh);/**
|
|
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 Th=[["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"}]],TR=B("brain",Th);/**
|
|
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 Ih=[["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"}]],IR=B("chart-column",Ih);/**
|
|
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 Oh=[["path",{d:"M18 6 7 17l-5-5",key:"116fxf"}],["path",{d:"m22 10-7.5 7.5L13 16",key:"ke71qq"}]],OR=B("check-check",Oh);/**
|
|
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 Ah=[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]],AR=B("check",Ah);/**
|
|
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 Nh=[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]],NR=B("chevron-down",Nh);/**
|
|
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 Dh=[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]],DR=B("chevron-left",Dh);/**
|
|
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 _h=[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]],_R=B("chevron-right",_h);/**
|
|
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 Lh=[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]],LR=B("chevron-up",Lh);/**
|
|
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 Fh=[["path",{d:"m7 20 5-5 5 5",key:"13a0gw"}],["path",{d:"m7 4 5 5 5-5",key:"1kwcof"}]],FR=B("chevrons-down-up",Fh);/**
|
|
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 zh=[["path",{d:"m6 17 5-5-5-5",key:"xnjwq"}],["path",{d:"m13 17 5-5-5-5",key:"17xmmf"}]],zR=B("chevrons-right",zh);/**
|
|
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 Vh=[["path",{d:"m7 15 5 5 5-5",key:"1hf1tw"}],["path",{d:"m7 9 5-5 5 5",key:"sgt6xg"}]],VR=B("chevrons-up-down",Vh);/**
|
|
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 $h=[["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"}]],$R=B("circle-alert",$h);/**
|
|
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 Hh=[["path",{d:"M21.801 10A10 10 0 1 1 17 3.335",key:"yps3ct"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]],HR=B("circle-check-big",Hh);/**
|
|
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 jh=[["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"}]],jR=B("circle-arrow-up",jh);/**
|
|
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 Bh=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]],BR=B("circle-check",Bh);/**
|
|
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 Wh=[["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"}]],WR=B("circle-dollar-sign",Wh);/**
|
|
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 Uh=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}]],UR=B("circle-dot",Uh);/**
|
|
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:"M17 12h.01",key:"1m0b6t"}],["path",{d:"M12 12h.01",key:"1mp3jc"}],["path",{d:"M7 12h.01",key:"eqddd0"}]],qR=B("circle-ellipsis",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 Gh=[["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",Gh);/**
|
|
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 Yh=[["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",Yh);/**
|
|
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 Xh=[["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",Xh);/**
|
|
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 Kh=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]],KR=B("circle",Kh);/**
|
|
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 Zh=[["rect",{width:"8",height:"4",x:"8",y:"2",rx:"1",ry:"1",key:"tgr4d6"}],["path",{d:"M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2",key:"116196"}],["path",{d:"m9 14 2 2 4-4",key:"df797q"}]],ZR=B("clipboard-check",Zh);/**
|
|
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 Qh=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 6v6h4",key:"135r8i"}]],QR=B("clock-3",Qh);/**
|
|
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 Jh=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 6v6l4 2",key:"mmk7yg"}]],JR=B("clock",Jh);/**
|
|
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 eg=[["path",{d:"M10.94 5.274A7 7 0 0 1 15.71 10h1.79a4.5 4.5 0 0 1 4.222 6.057",key:"1uxyv8"}],["path",{d:"M18.796 18.81A4.5 4.5 0 0 1 17.5 19H9A7 7 0 0 1 5.79 5.78",key:"99tcn7"}],["path",{d:"m2 2 20 20",key:"1ooewy"}]],ek=B("cloud-off",eg);/**
|
|
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 tg=[["path",{d:"M17.5 19H9a7 7 0 1 1 6.71-9h1.79a4.5 4.5 0 1 1 0 9Z",key:"p7xjir"}]],tk=B("cloud",tg);/**
|
|
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 ng=[["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"}]],nk=B("code-xml",ng);/**
|
|
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 og=[["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"}]],ok=B("coins",og);/**
|
|
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 rg=[["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"}]],rk=B("copy-plus",rg);/**
|
|
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 sg=[["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"}]],sk=B("copy",sg);/**
|
|
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 ig=[["path",{d:"M14 9 9 4 4 9",key:"1af5af"}],["path",{d:"M20 20h-7a4 4 0 0 1-4-4V4",key:"1blwi3"}]],ik=B("corner-left-up",ig);/**
|
|
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 ag=[["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"}]],ak=B("cpu",ag);/**
|
|
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 cg=[["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"}]],ck=B("crosshair",cg);/**
|
|
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 lg=[["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"}]],lk=B("crown",lg);/**
|
|
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 ug=[["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"}]],uk=B("download",ug);/**
|
|
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 dg=[["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"}]],dk=B("earth",dg);/**
|
|
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 fg=[["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"}]],fk=B("ellipsis",fg);/**
|
|
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 pg=[["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"}]],pk=B("external-link",pg);/**
|
|
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 hg=[["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"}]],hk=B("eye-off",hg);/**
|
|
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 gg=[["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"}]],gk=B("eye",gg);/**
|
|
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 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"}],["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"}]],mk=B("file-braces",mg);/**
|
|
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 yg=[["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"}]],yk=B("file-code-corner",yg);/**
|
|
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 bg=[["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"}]],bk=B("file-image",bg);/**
|
|
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 vg=[["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"}]],vk=B("file-search",vg);/**
|
|
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 xg=[["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"}]],xk=B("file-terminal",xg);/**
|
|
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 wg=[["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"}]],wk=B("file-text",wg);/**
|
|
337
|
+
* @license lucide-react v0.577.0 - ISC
|
|
338
|
+
*
|
|
339
|
+
* This source code is licensed under the ISC license.
|
|
340
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
341
|
+
*/const Sg=[["path",{d:"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"}]],Sk=B("file",Sg);/**
|
|
342
|
+
* @license lucide-react v0.577.0 - ISC
|
|
343
|
+
*
|
|
344
|
+
* This source code is licensed under the ISC license.
|
|
345
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
346
|
+
*/const Rg=[["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"}]],Rk=B("flag",Rg);/**
|
|
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 kg=[["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"}]],kk=B("flame",kg);/**
|
|
352
|
+
* @license lucide-react v0.577.0 - ISC
|
|
353
|
+
*
|
|
354
|
+
* This source code is licensed under the ISC license.
|
|
355
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
356
|
+
*/const Cg=[["path",{d:"M10 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"}]],Ck=B("folder-code",Cg);/**
|
|
357
|
+
* @license lucide-react v0.577.0 - ISC
|
|
358
|
+
*
|
|
359
|
+
* This source code is licensed under the ISC license.
|
|
360
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
361
|
+
*/const Eg=[["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"}]],Ek=B("folder-open",Eg);/**
|
|
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 Pg=[["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"}]],Pk=B("folder-plus",Pg);/**
|
|
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 Mg=[["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"}]],Mk=B("folder-search",Mg);/**
|
|
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 Tg=[["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"}]],Tk=B("folder-tree",Tg);/**
|
|
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 Ig=[["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"}]],Ik=B("folder",Ig);/**
|
|
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 Og=[["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"}]],Ok=B("git-branch",Og);/**
|
|
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 Ag=[["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"}]],Ak=B("git-compare-arrows",Ag);/**
|
|
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 Ng=[["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"}]],Nk=B("git-fork",Ng);/**
|
|
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 Dg=[["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"}]],Dk=B("git-pull-request-draft",Dg);/**
|
|
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 _g=[["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"}]],_k=B("git-pull-request",_g);/**
|
|
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 Lg=[["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"}]],Lk=B("github",Lg);/**
|
|
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 Fg=[["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"}]],Fk=B("globe",Fg);/**
|
|
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 zg=[["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"}]],zk=B("hand",zg);/**
|
|
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 Vg=[["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"}]],Vk=B("history",Vg);/**
|
|
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 $g=[["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"}]],$k=B("house",$g);/**
|
|
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 Hg=[["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"}]],Hk=B("image",Hg);/**
|
|
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 jg=[["polyline",{points:"22 12 16 12 14 15 10 15 8 12 2 12",key:"o97t9d"}],["path",{d:"M5.45 5.11 2 12v6a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-6l-3.45-6.89A2 2 0 0 0 16.76 4H7.24a2 2 0 0 0-1.79 1.11z",key:"oot6mr"}]],jk=B("inbox",jg);/**
|
|
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 Bg=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]],Bk=B("info",Bg);/**
|
|
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 Wg=[["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"}]],Wk=B("infinity",Wg);/**
|
|
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 Ug=[["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"}]],Uk=B("key-round",Ug);/**
|
|
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:"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"}]],qk=B("keyboard",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 Gg=[["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"}]],Gk=B("laptop",Gg);/**
|
|
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 Yg=[["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"}]],Yk=B("layers",Yg);/**
|
|
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 Xg=[["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"}]],Xk=B("layout-grid",Xg);/**
|
|
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 Kg=[["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"}]],Kk=B("link-2-off",Kg);/**
|
|
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 Zg=[["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"}]],Zk=B("link-2",Zg);/**
|
|
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 Qg=[["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"}]],Qk=B("list-checks",Qg);/**
|
|
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 Jg=[["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"}]],Jk=B("list-todo",Jg);/**
|
|
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 em=[["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"}]],eC=B("list-tree",em);/**
|
|
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 tm=[["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"}]],tC=B("list",tm);/**
|
|
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 nm=[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]],nC=B("loader-circle",nm);/**
|
|
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 om=[["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"}]],oC=B("log-in",om);/**
|
|
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 rm=[["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"}]],rC=B("lock",rm);/**
|
|
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 sm=[["path",{d:"m16 17 5-5-5-5",key:"1bji2h"}],["path",{d:"M21 12H9",key:"dn1m92"}],["path",{d:"M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4",key:"1uf3rs"}]],sC=B("log-out",sm);/**
|
|
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 im=[["path",{d:"M22 13V6a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v12c0 1.1.9 2 2 2h8",key:"12jkf8"}],["path",{d:"m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7",key:"1ocrg3"}],["path",{d:"m16 19 2 2 4-4",key:"1b14m6"}]],iC=B("mail-check",im);/**
|
|
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 am=[["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"}]],aC=B("maximize-2",am);/**
|
|
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 cm=[["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"}]],cC=B("message-circle-question-mark",cm);/**
|
|
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 lm=[["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"}]],lC=B("message-square-plus",lm);/**
|
|
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 um=[["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"}]],uC=B("message-square-text",um);/**
|
|
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 dm=[["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"}]],dC=B("message-square",dm);/**
|
|
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 fm=[["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"}]],fC=B("messages-square",fm);/**
|
|
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 pm=[["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"}]],pC=B("minimize-2",pm);/**
|
|
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 hm=[["path",{d:"M5 12h14",key:"1ays0h"}]],hC=B("minus",hm);/**
|
|
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 gm=[["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"}]],gC=B("monitor",gm);/**
|
|
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 mm=[["rect",{x:"16",y:"16",width:"6",height:"6",rx:"1",key:"4q2zg0"}],["rect",{x:"2",y:"16",width:"6",height:"6",rx:"1",key:"8cvhb9"}],["rect",{x:"9",y:"2",width:"6",height:"6",rx:"1",key:"1egb70"}],["path",{d:"M5 16v-3a1 1 0 0 1 1-1h12a1 1 0 0 1 1 1v3",key:"1jsf9p"}],["path",{d:"M12 12V8",key:"2874zd"}]],mC=B("network",mm);/**
|
|
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 ym=[["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"}]],yC=B("notebook-pen",ym);/**
|
|
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 bm=[["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"}]],bC=B("octagon-x",bm);/**
|
|
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 vm=[["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"}]],vC=B("octagon",vm);/**
|
|
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 xm=[["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"}]],xC=B("palette",xm);/**
|
|
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 wm=[["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"}]],wC=B("panel-left-close",wm);/**
|
|
607
|
+
* @license lucide-react v0.577.0 - ISC
|
|
608
|
+
*
|
|
609
|
+
* This source code is licensed under the ISC license.
|
|
610
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
611
|
+
*/const Sm=[["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"}]],SC=B("panel-left-open",Sm);/**
|
|
612
|
+
* @license lucide-react v0.577.0 - ISC
|
|
613
|
+
*
|
|
614
|
+
* This source code is licensed under the ISC license.
|
|
615
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
616
|
+
*/const Rm=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M9 3v18",key:"fh3hqa"}]],RC=B("panel-left",Rm);/**
|
|
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 km=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M15 3v18",key:"14nvp0"}]],kC=B("panel-right",km);/**
|
|
622
|
+
* @license lucide-react v0.577.0 - ISC
|
|
623
|
+
*
|
|
624
|
+
* This source code is licensed under the ISC license.
|
|
625
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
626
|
+
*/const Cm=[["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"}]],CC=B("panels-top-left",Cm);/**
|
|
627
|
+
* @license lucide-react v0.577.0 - ISC
|
|
628
|
+
*
|
|
629
|
+
* This source code is licensed under the ISC license.
|
|
630
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
631
|
+
*/const Em=[["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"}]],EC=B("pause",Em);/**
|
|
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 Pm=[["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"}]],PC=B("pen-line",Pm);/**
|
|
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 Mm=[["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"}]],MC=B("pencil",Mm);/**
|
|
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 Tm=[["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"}]],TC=B("play",Tm);/**
|
|
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 Im=[["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"}]],IC=B("plug",Im);/**
|
|
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 Om=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]],OC=B("plus",Om);/**
|
|
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 Am=[["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"}]],AC=B("power-off",Am);/**
|
|
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 Nm=[["path",{d:"M12 2v10",key:"mnfbl"}],["path",{d:"M18.4 6.6a9 9 0 1 1-12.77.04",key:"obofu9"}]],NC=B("power",Nm);/**
|
|
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 Dm=[["path",{d:"M15.39 4.39a1 1 0 0 0 1.68-.474 2.5 2.5 0 1 1 3.014 3.015 1 1 0 0 0-.474 1.68l1.683 1.682a2.414 2.414 0 0 1 0 3.414L19.61 15.39a1 1 0 0 1-1.68-.474 2.5 2.5 0 1 0-3.014 3.015 1 1 0 0 1 .474 1.68l-1.683 1.682a2.414 2.414 0 0 1-3.414 0L8.61 19.61a1 1 0 0 0-1.68.474 2.5 2.5 0 1 1-3.014-3.015 1 1 0 0 0 .474-1.68l-1.683-1.682a2.414 2.414 0 0 1 0-3.414L4.39 8.61a1 1 0 0 1 1.68.474 2.5 2.5 0 1 0 3.014-3.015 1 1 0 0 1-.474-1.68l1.683-1.682a2.414 2.414 0 0 1 3.414 0z",key:"w46dr5"}]],DC=B("puzzle",Dm);/**
|
|
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 _m=[["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"}]],_C=B("quote",_m);/**
|
|
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 Lm=[["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"}]],LC=B("redo-2",Lm);/**
|
|
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 Fm=[["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"}]],FC=B("refresh-cw",Fm);/**
|
|
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 zm=[["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"}]],zC=B("rocket",zm);/**
|
|
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 Vm=[["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"}]],VC=B("rotate-ccw",Vm);/**
|
|
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 $m=[["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"}]],$C=B("rotate-cw",$m);/**
|
|
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 Hm=[["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"}]],HC=B("save",Hm);/**
|
|
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 jm=[["path",{d:"M15 12h-5",key:"r7krc0"}],["path",{d:"M15 8h-5",key:"1khuty"}],["path",{d:"M19 17V5a2 2 0 0 0-2-2H4",key:"zz82l3"}],["path",{d:"M8 21h12a2 2 0 0 0 2-2v-1a1 1 0 0 0-1-1H11a1 1 0 0 0-1 1v1a2 2 0 1 1-4 0V5a2 2 0 1 0-4 0v2a1 1 0 0 0 1 1h3",key:"1ph1d7"}]],jC=B("scroll-text",jm);/**
|
|
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 Bm=[["path",{d:"m13.5 8.5-5 5",key:"1cs55j"}],["path",{d:"m8.5 8.5 5 5",key:"a8mexj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["path",{d:"m21 21-4.3-4.3",key:"1qie3q"}]],BC=B("search-x",Bm);/**
|
|
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 Wm=[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]],WC=B("search",Wm);/**
|
|
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 Um=[["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"}]],UC=B("send",Um);/**
|
|
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=[["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"}]],qC=B("server",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 Gm=[["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"}]],GC=B("settings-2",Gm);/**
|
|
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 Ym=[["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"}]],YC=B("settings",Ym);/**
|
|
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 Xm=[["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"}]],XC=B("share-2",Xm);/**
|
|
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 Km=[["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"}]],KC=B("shield-alert",Km);/**
|
|
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 Zm=[["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 12 2 2 4-4",key:"dzmm74"}]],ZC=B("shield-check",Zm);/**
|
|
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 Qm=[["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:"M8 12h.01",key:"czm47f"}],["path",{d:"M12 12h.01",key:"1mp3jc"}],["path",{d:"M16 12h.01",key:"1l6xoz"}]],QC=B("shield-ellipsis",Qm);/**
|
|
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 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:"M9 12h6",key:"1c52cq"}],["path",{d:"M12 9v6",key:"199k2o"}]],JC=B("shield-plus",Jm);/**
|
|
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 e1=[["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.1 9a3 3 0 0 1 5.82 1c0 2-3 3-3 3",key:"mhlwft"}],["path",{d:"M12 17h.01",key:"p32p05"}]],eE=B("shield-question-mark",e1);/**
|
|
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 t1=[["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:"m14.5 9.5-5 5",key:"17q4r4"}],["path",{d:"m9.5 9.5 5 5",key:"18nt4w"}]],tE=B("shield-x",t1);/**
|
|
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 n1=[["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"}]],nE=B("shield",n1);/**
|
|
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 o1=[["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"}]],oE=B("sigma",o1);/**
|
|
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 r1=[["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"}]],rE=B("skull",r1);/**
|
|
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 s1=[["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"}]],sE=B("sliders-horizontal",s1);/**
|
|
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 i1=[["rect",{width:"14",height:"20",x:"5",y:"2",rx:"2",ry:"2",key:"1yt0o3"}],["path",{d:"M12 18h.01",key:"mhygvu"}]],iE=B("smartphone",i1);/**
|
|
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 a1=[["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"}]],aE=B("sparkles",a1);/**
|
|
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 c1=[["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"}]],cE=B("square-terminal",c1);/**
|
|
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 l1=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}]],lE=B("square",l1);/**
|
|
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 u1=[["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"}]],uE=B("tablet",u1);/**
|
|
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 d1=[["path",{d:"M12 19h8",key:"baeox8"}],["path",{d:"m4 17 6-6-6-6",key:"1yngyt"}]],dE=B("terminal",d1);/**
|
|
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 f1=[["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"}]],fE=B("trash-2",f1);/**
|
|
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 p1=[["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"}]],pE=B("trees",p1);/**
|
|
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 h1=[["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"}]],hE=B("triangle-alert",h1);/**
|
|
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 g1=[["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"}]],gE=B("undo-2",g1);/**
|
|
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 m1=[["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"}]],mE=B("unlink",m1);/**
|
|
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 y1=[["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"}]],yE=B("user-check",y1);/**
|
|
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 b1=[["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"}],["line",{x1:"19",x2:"19",y1:"8",y2:"14",key:"1bvyxn"}],["line",{x1:"22",x2:"16",y1:"11",y2:"11",key:"1shjgl"}]],bE=B("user-plus",b1);/**
|
|
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 v1=[["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"}]],vE=B("user-round-x",v1);/**
|
|
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 x1=[["circle",{cx:"12",cy:"8",r:"5",key:"1hypcn"}],["path",{d:"M20 21a8 8 0 0 0-16 0",key:"rfgkzh"}]],xE=B("user-round",x1);/**
|
|
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 w1=[["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"}],["line",{x1:"17",x2:"22",y1:"8",y2:"13",key:"3nzzx3"}],["line",{x1:"22",x2:"17",y1:"8",y2:"13",key:"1swrse"}]],wE=B("user-x",w1);/**
|
|
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 S1=[["path",{d:"M18 21a8 8 0 0 0-16 0",key:"3ypg7q"}],["circle",{cx:"10",cy:"8",r:"5",key:"o932ke"}],["path",{d:"M22 20c0-3.37-2-6.5-4-8a5 5 0 0 0-.45-8.3",key:"10s06x"}]],SE=B("users-round",S1);/**
|
|
882
|
+
* @license lucide-react v0.577.0 - ISC
|
|
883
|
+
*
|
|
884
|
+
* This source code is licensed under the ISC license.
|
|
885
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
886
|
+
*/const R1=[["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"}]],RE=B("users",R1);/**
|
|
887
|
+
* @license lucide-react v0.577.0 - ISC
|
|
888
|
+
*
|
|
889
|
+
* This source code is licensed under the ISC license.
|
|
890
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
891
|
+
*/const k1=[["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"}]],kE=B("webhook",k1);/**
|
|
892
|
+
* @license lucide-react v0.577.0 - ISC
|
|
893
|
+
*
|
|
894
|
+
* This source code is licensed under the ISC license.
|
|
895
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
896
|
+
*/const C1=[["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"}]],CE=B("wifi-off",C1);/**
|
|
897
|
+
* @license lucide-react v0.577.0 - ISC
|
|
898
|
+
*
|
|
899
|
+
* This source code is licensed under the ISC license.
|
|
900
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
901
|
+
*/const E1=[["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"}]],EE=B("wifi",E1);/**
|
|
902
|
+
* @license lucide-react v0.577.0 - ISC
|
|
903
|
+
*
|
|
904
|
+
* This source code is licensed under the ISC license.
|
|
905
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
906
|
+
*/const P1=[["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",P1);/**
|
|
907
|
+
* @license lucide-react v0.577.0 - ISC
|
|
908
|
+
*
|
|
909
|
+
* This source code is licensed under the ISC license.
|
|
910
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
911
|
+
*/const M1=[["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"}]],ME=B("wrench",M1);/**
|
|
912
|
+
* @license lucide-react v0.577.0 - ISC
|
|
913
|
+
*
|
|
914
|
+
* This source code is licensed under the ISC license.
|
|
915
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
916
|
+
*/const T1=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],TE=B("x",T1);/**
|
|
917
|
+
* @license lucide-react v0.577.0 - ISC
|
|
918
|
+
*
|
|
919
|
+
* This source code is licensed under the ISC license.
|
|
920
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
921
|
+
*/const I1=[["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"}]],IE=B("zap",I1);/**
|
|
922
|
+
* @license lucide-react v0.577.0 - ISC
|
|
923
|
+
*
|
|
924
|
+
* This source code is licensed under the ISC license.
|
|
925
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
926
|
+
*/const O1=[["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"}]],OE=B("zoom-in",O1);/**
|
|
927
|
+
* @license lucide-react v0.577.0 - ISC
|
|
928
|
+
*
|
|
929
|
+
* This source code is licensed under the ISC license.
|
|
930
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
931
|
+
*/const A1=[["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"}]],AE=B("zoom-out",A1);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 go(e){return!ms()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof Xe(e).ShadowRoot}function nr(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 N1(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 D1=/transform|translate|scale|rotate|perspective|filter/,_1=/paint|layout|strict|content/,_n=e=>!!e&&e!=="none";let ci;function aa(e){const t=Ne(e)?Pt(e):e;return _n(t.transform)||_n(t.translate)||_n(t.scale)||_n(t.rotate)||_n(t.perspective)||!ca()&&(_n(t.backdropFilter)||_n(t.filter))||D1.test(t.willChange||"")||_1.test(t.contain||"")}function L1(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||go(e)&&e.host||un(e);return go(t)?t.host:t}function Cu(e){const t=an(e);return on(t)?(e.ownerDocument||e).body:Ye(t)&&nr(t)?t:Cu(t)}function Go(e,t,n){var o;t===void 0&&(t=[]),n===void 0&&(n=!0);const r=Cu(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||[],nr(r)?r:[],a&&n?Go(a):[])}else return t.concat(r,Go(r,[],n))}function Oi(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}const la={...Ro},Ic={};function gt(e,t){const n=c.useRef(Ic);return n.current===Ic&&(n.current=e(t)),n}const li=la.useInsertionEffect,F1=li&&li!==la.useLayoutEffect?li:e=>e();function he(e){const t=gt(z1).current;return t.next=e,F1(t.effect),t.trampoline}function z1(){const e={next:void 0,callback:V1,trampoline:(...t)=>{var n;return(n=e.callback)==null?void 0:n.call(e,...t)},effect:()=>{e.callback=e.next}};return e}function V1(){}const $1=()=>{},pe=typeof document<"u"?c.useLayoutEffect:$1;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=zo(s,t)),n&&(s=zo(s,n)),o&&(s=zo(s,o)),r&&(s=zo(s,r)),s}function H1(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=zo(t,e[n]);return t}function Kr(e){return da(e)?{...Pu(e,ua)}:j1(e)}function zo(e,t){return da(t)?Pu(t,e):B1(e,t)}function j1(e){const t={...e};for(const n in t){const o=t[n];Eu(n,o)&&(t[n]=Mu(o))}return t}function B1(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]=Tu(e.className,o);break}default:Eu(n,o)?e[n]=W1(e[n],o):e[n]=o}}return e}function Eu(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 Pu(e,t){return da(e)?e(t):e??ua}function W1(e,t){return t?e?(...n)=>{const o=n[0];if(Iu(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}:Mu(t):e}function Mu(e){return e&&((...t)=>{const n=t[0];return Iu(n)&&Zr(n),e(...t)})}function Zr(e){return e.preventBaseUIHandler=()=>{e.baseUIHandlerPrevented=!0},e}function Tu(e,t){return t?e?t+" "+e:t:e}function Iu(e){return e!=null&&typeof e=="object"&&"nativeEvent"in e}function U1(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 We=U1("https://base-ui.com/production-error","Base UI"),Ou=c.createContext(void 0);function vs(e=!1){const t=c.useContext(Ou);if(t===void 0&&!e)throw new Error(We(16));return t}function q1(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 zn(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}=q1({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]);pe(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&&G1(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(),zn(R,w));return}if(!T||r||!N&&!E){S&&k&&N&&w.preventDefault();return}w.defaultPrevented||(w.preventDefault(),E&&(w.preventBaseUIHandler(),zn(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(),zn(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=he(y=>{i.current=y,d()});return{getButtonProps:p,buttonRef:f}}function ui(e){return Ye(e)&&e.tagName==="BUTTON"}function G1(e){return Ye(e)&&e.tagName==="A"&&!!e.href}function Tt(e,t,n,o){const r=gt(Au).current;return X1(r,e,t,n,o)&&Nu(r,[e,t,n,o]),r.callback}function Y1(e){const t=gt(Au).current;return K1(t,e)&&Nu(t,e),t.callback}function Au(){return{callback:null,cleanup:null,refs:[]}}function X1(e,t,n,o,r){return e.refs[0]!==t||e.refs[1]!==n||e.refs[2]!==o||e.refs[3]!==r}function K1(e,t){return e.refs.length!==t.length||e.refs.some((n,o)=>n!==t[o])}function Nu(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 Z1=parseInt(c.version,10);function fa(e){return Z1>=e}function Oc(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 ot(){}const Vt=Object.freeze([]),Ke=Object.freeze({});function Q1(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 J1(e,t){return typeof e=="function"?e(t):e}function Du(e,t){return typeof e=="function"?e(t):e}function Re(e,t,n={}){const o=t.render,r=e0(t,n);if(n.enabled===!1)return null;const s=n.state??Ke;return o0(e,o,r,s)}function e0(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?J1(n,s):void 0,p=u?Du(o,s):void 0,f=u?Q1(s,l):Ke,y=u&&a?t0(a):void 0,h=u?Ai(f,y)??{}:Ke;return typeof document<"u"&&(u?Array.isArray(i)?h.ref=Y1([h.ref,Oc(r),...i]):h.ref=Tt(h.ref,Oc(r),i):Tt(null,null)),u?(d!==void 0&&(h.className=Tu(h.className,d)),p!==void 0&&(h.style=Ai(h.style,p)),h):Ke}function t0(e){return Array.isArray(e)?H1(e):Et(void 0,e)}const n0=Symbol.for("react.lazy");function o0(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)===n0&&(s=c.Children.toArray(t)[0]),c.cloneElement(s,r)}if(e&&typeof e=="string")return r0(e,n);throw new Error(We(8))}function r0(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 NE=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 Re("button",t,{state:{disabled:s},ref:[n,p],props:[u,d]})});function _u(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=_u(e[t]))&&(o&&(o+=" "),o+=n)}else for(n in e)e[n]&&(o&&(o+=" "),o+=n);return o}function s0(){for(var e,t,n=0,o="",r=arguments.length;n<r;n++)(e=arguments[n])&&(t=_u(e))&&(o&&(o+=" "),o+=t);return o}const Ac=e=>typeof e=="boolean"?`${e}`:e===0?"0":e,Nc=s0,DE=(e,t)=>n=>{var o;if((t==null?void 0:t.variants)==null)return Nc(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=Ac(d)||Ac(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 Nc(e,i,l,n==null?void 0:n.class,n==null?void 0:n.className)},i0=(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},a0=(e,t)=>({classGroupId:e,validator:t}),Lu=(e=new Map,t=null,n)=>({nextPart:e,validators:t,classGroupId:n}),Qr="-",Dc=[],c0="arbitrary..",l0=e=>{const t=d0(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:o}=e;return{getClassGroupId:i=>{if(i.startsWith("[")&&i.endsWith("]"))return u0(i);const a=i.split(Qr),l=a[0]===""&&a.length>1?1:0;return Fu(a,l,t)},getConflictingClassGroupIds:(i,a)=>{if(a){const l=o[i],u=n[i];return l?u?i0(u,l):l:u||Dc}return n[i]||Dc}}},Fu=(e,t,n)=>{if(e.length-t===0)return n.classGroupId;const r=e[t],s=n.nextPart.get(r);if(s){const u=Fu(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}},u0=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?c0+o:void 0})(),d0=e=>{const{theme:t,classGroups:n}=e;return f0(n,t)},f0=(e,t)=>{const n=Lu();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];p0(i,t,n,o)}},p0=(e,t,n,o)=>{if(typeof e=="string"){h0(e,t,n);return}if(typeof e=="function"){g0(e,t,n,o);return}m0(e,t,n,o)},h0=(e,t,n)=>{const o=e===""?t:zu(t,e);o.classGroupId=n},g0=(e,t,n,o)=>{if(y0(e)){pa(e(o),t,n,o);return}t.validators===null&&(t.validators=[]),t.validators.push(a0(n,e))},m0=(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,zu(t,a),n,o)}},zu=(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=Lu(),n.nextPart.set(i,a)),n=a}return n},y0=e=>"isThemeGetter"in e&&e.isThemeGetter===!0,b0=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="!",_c=":",v0=[],Lc=(e,t,n,o,r)=>({modifiers:e,hasImportantModifier:t,baseClassName:n,maybePostfixModifierPosition:o,isExternal:r}),x0=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===_c){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 Lc(s,y,f,h)};if(t){const r=t+_c,s=o;o=i=>i.startsWith(r)?s(i.slice(r.length)):Lc(v0,!1,i,void 0,!0)}if(n){const r=o;o=s=>n({className:s,parseClassName:r})}return o},w0=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}},S0=e=>({cache:b0(e.cacheSize),parseClassName:x0(e),sortModifiers:w0(e),postfixLookupClassGroupIds:R0(e),...l0(e)}),R0=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},k0=/\s+/,C0=(e,t)=>{const{parseClassName:n,getClassGroupId:o,getConflictingClassGroupIds:r,sortModifiers:s,postfixLookupClassGroupIds:i}=t,a=[],l=e.trim().split(k0);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},E0=(...e)=>{let t=0,n,o,r="";for(;t<e.length;)(n=e[t++])&&(o=Vu(n))&&(r&&(r+=" "),r+=o);return r},Vu=e=>{if(typeof e=="string")return e;let t,n="";for(let o=0;o<e.length;o++)e[o]&&(t=Vu(e[o]))&&(n&&(n+=" "),n+=t);return n},P0=(e,...t)=>{let n,o,r,s;const i=l=>{const u=t.reduce((d,p)=>p(d),e());return n=S0(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=C0(l,n);return r(l,d),d};return s=i,(...l)=>s(E0(...l))},M0=[],ft=e=>{const t=n=>n[e]||M0;return t.isThemeGetter=!0,t},$u=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,Hu=/^\((?:(\w[\w-]*):)?(.+)\)$/i,T0=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,I0=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,O0=/\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$/,A0=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,N0=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,D0=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,pn=e=>T0.test(e),_e=e=>!!e&&!Number.isNaN(Number(e)),Bt=e=>!!e&&Number.isInteger(Number(e)),di=e=>e.endsWith("%")&&_e(e.slice(0,-1)),Jt=e=>I0.test(e),ju=()=>!0,_0=e=>O0.test(e)&&!A0.test(e),ha=()=>!1,L0=e=>N0.test(e),F0=e=>D0.test(e),z0=e=>!xe(e)&&!Se(e),V0=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)),$0=e=>En(e,Uu,ha),xe=e=>$u.test(e),Ln=e=>En(e,qu,_0),Fc=e=>En(e,Y0,_e),H0=e=>En(e,Yu,ju),j0=e=>En(e,Gu,ha),zc=e=>En(e,Bu,ha),B0=e=>En(e,Wu,F0),yr=e=>En(e,Xu,L0),Se=e=>Hu.test(e),Do=e=>Un(e,qu),W0=e=>Un(e,Gu),Vc=e=>Un(e,Bu),U0=e=>Un(e,Uu),q0=e=>Un(e,Wu),br=e=>Un(e,Xu,!0),G0=e=>Un(e,Yu,!0),En=(e,t,n)=>{const o=$u.exec(e);return o?o[1]?t(o[1]):n(o[2]):!1},Un=(e,t,n=!1)=>{const o=Hu.exec(e);return o?o[1]?t(o[1]):n:!1},Bu=e=>e==="position"||e==="percentage",Wu=e=>e==="image"||e==="url",Uu=e=>e==="length"||e==="size"||e==="bg-size",qu=e=>e==="length",Y0=e=>e==="number",Gu=e=>e==="family-name",Yu=e=>e==="number"||e==="weight",Xu=e=>e==="shadow",X0=()=>{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(),Se,xe],R=()=>["auto","hidden","clip","visible","scroll"],C=()=>["auto","contain","none"],k=()=>[Se,xe,l],T=()=>[pn,"full","auto",...k()],E=()=>[Bt,"none","subgrid",Se,xe],N=()=>["auto",{span:["full",Bt,Se,xe]},Bt,Se,xe],O=()=>[Bt,"auto",Se,xe],D=()=>["auto","min","max","fr",Se,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=()=>[pn,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...k()],I=()=>[pn,"screen","full","dvw","lvw","svw","min","max","fit",...k()],_=()=>[pn,"screen","full","lh","dvh","lvh","svh","min","max","fit",...k()],M=()=>[e,Se,xe],L=()=>[...w(),Vc,zc,{position:[Se,xe]}],H=()=>["no-repeat",{repeat:["","x","y","space","round"]}],$=()=>["auto","cover","contain",U0,$0,{size:[Se,xe]}],U=()=>[di,Do,Ln],q=()=>["","none","full",u,Se,xe],V=()=>["",_e,Do,Ln],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,Vc,zc],de=()=>["","none",h,Se,xe],se=()=>["none",_e,Se,xe],ne=()=>["none",_e,Se,xe],re=()=>[_e,Se,xe],G=()=>[pn,"full",...k()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[Jt],breakpoint:[Jt],color:[ju],container:[Jt],"drop-shadow":[Jt],ease:["in","out","in-out"],font:[z0],"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",pn,xe,Se,m]}],container:["container"],"container-type":[{"@container":["","normal","size",Se,xe]}],"container-named":[V0],columns:[{columns:[_e,xe,Se,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:[Bt,"auto",Se,xe]}],basis:[{basis:[pn,"full","auto",a,...k()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[_e,pn,"auto","initial","none",xe]}],grow:[{grow:["",_e,Se,xe]}],shrink:[{shrink:["",_e,Se,xe]}],order:[{order:[Bt,"first","last","none",Se,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,Do,Ln]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[o,G0,H0]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",di,xe]}],"font-family":[{font:[W0,j0,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,Se,xe]}],"line-clamp":[{"line-clamp":[_e,"none",Se,Fc]}],leading:[{leading:[s,...k()]}],"list-image":[{"list-image":["none",Se,xe]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",Se,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",Se,Ln]}],"text-decoration-color":[{decoration:M()}],"underline-offset":[{"underline-offset":[_e,"auto",Se,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:[Bt,Se,xe]}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",Se,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",Se,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"]},Bt,Se,xe],radial:["",Se,xe],conic:[Bt,Se,xe]},q0,B0]}],"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:q()}],"rounded-s":[{"rounded-s":q()}],"rounded-e":[{"rounded-e":q()}],"rounded-t":[{"rounded-t":q()}],"rounded-r":[{"rounded-r":q()}],"rounded-b":[{"rounded-b":q()}],"rounded-l":[{"rounded-l":q()}],"rounded-ss":[{"rounded-ss":q()}],"rounded-se":[{"rounded-se":q()}],"rounded-ee":[{"rounded-ee":q()}],"rounded-es":[{"rounded-es":q()}],"rounded-tl":[{"rounded-tl":q()}],"rounded-tr":[{"rounded-tr":q()}],"rounded-br":[{"rounded-br":q()}],"rounded-bl":[{"rounded-bl":q()}],"border-w":[{border:V()}],"border-w-x":[{"border-x":V()}],"border-w-y":[{"border-y":V()}],"border-w-s":[{"border-s":V()}],"border-w-e":[{"border-e":V()}],"border-w-bs":[{"border-bs":V()}],"border-w-be":[{"border-be":V()}],"border-w-t":[{"border-t":V()}],"border-w-r":[{"border-r":V()}],"border-w-b":[{"border-b":V()}],"border-w-l":[{"border-l":V()}],"divide-x":[{"divide-x":V()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":V()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...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,Se,xe]}],"outline-w":[{outline:["",_e,Do,Ln]}],"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,Ln]}],"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,Se,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":[Se,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",Se,xe]}],filter:[{filter:["","none",Se,xe]}],blur:[{blur:de()}],brightness:[{brightness:[_e,Se,xe]}],contrast:[{contrast:[_e,Se,xe]}],"drop-shadow":[{"drop-shadow":["","none",y,br,yr]}],"drop-shadow-color":[{"drop-shadow":M()}],grayscale:[{grayscale:["",_e,Se,xe]}],"hue-rotate":[{"hue-rotate":[_e,Se,xe]}],invert:[{invert:["",_e,Se,xe]}],saturate:[{saturate:[_e,Se,xe]}],sepia:[{sepia:["",_e,Se,xe]}],"backdrop-filter":[{"backdrop-filter":["","none",Se,xe]}],"backdrop-blur":[{"backdrop-blur":de()}],"backdrop-brightness":[{"backdrop-brightness":[_e,Se,xe]}],"backdrop-contrast":[{"backdrop-contrast":[_e,Se,xe]}],"backdrop-grayscale":[{"backdrop-grayscale":["",_e,Se,xe]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[_e,Se,xe]}],"backdrop-invert":[{"backdrop-invert":["",_e,Se,xe]}],"backdrop-opacity":[{"backdrop-opacity":[_e,Se,xe]}],"backdrop-saturate":[{"backdrop-saturate":[_e,Se,xe]}],"backdrop-sepia":[{"backdrop-sepia":["",_e,Se,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",Se,xe]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[_e,"initial",Se,xe]}],ease:[{ease:["linear","initial",b,Se,xe]}],delay:[{delay:[_e,Se,xe]}],animate:[{animate:["none",v,Se,xe]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[g,Se,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:[Se,xe,"","none","gpu","cpu"]}],"transform-origin":[{origin:S()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:G()}],"translate-x":[{"translate-x":G()}],"translate-y":[{"translate-y":G()}],"translate-z":[{"translate-z":G()}],"translate-none":["translate-none"],zoom:[{zoom:[Bt,Se,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",Se,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",Se,xe]}],fill:[{fill:["none",...M()]}],"stroke-w":[{stroke:[_e,Do,Ln,Fc]}],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"]}},_E=P0(X0),Ku=c.createContext(void 0);function Pn(e){const t=c.useContext(Ku);if(!e&&t===void 0)throw new Error(We(27));return t}let Jr=(function(e){return e.startingStyle="data-starting-style",e.endingStyle="data-ending-style",e})({});const K0={"data-starting-style":""},Z0={"data-ending-style":""},Xt={transitionStatus(e){return e==="starting"?K0:e==="ending"?Z0:null}};(function(e){return e.open="data-open",e.closed="data-closed",e[e.startingStyle=Jr.startingStyle]="startingStyle",e[e.endingStyle=Jr.endingStyle]="endingStyle",e.anchorHidden="data-anchor-hidden",e.side="data-side",e.align="data-align",e})({});const Q0={"data-popup-open":""},J0={"data-popup-open":"","data-pressed":""},ey={"data-open":""},ty={"data-closed":""},ny={"data-anchor-hidden":""},xs={open(e){return e?Q0:null}},Yo={open(e){return e?J0:null}},ws={open(e){return e?ey:ty},anchorHidden(e){return e?ny:null}},Ss={...ws,...Xt},LE=c.forwardRef(function(t,n){const{render:o,className:r,style:s,forceRender:i=!1,...a}=t,l=Pn(),u=l.useState("open"),d=l.useState("nested"),p=l.useState("mounted"),f=l.useState("transitionStatus");return Re("div",t,{state:{open:u,transitionStatus:f},ref:[l.context.backdropRef,n],stateAttributesMapping:Ss,props:[{role:"presentation",hidden:!p,style:{userSelect:"none",WebkitUserSelect:"none"}},a],enabled:i||!d})}),Rt="none",$t="trigger-press",it="trigger-hover",co="trigger-focus",Rs="outside-press",jo="item-press",Zu="close-press",$c="track-press",oy="input-change",vn="focus-out",or="escape-key",Di="list-navigation",ry="keyboard",sy="drag",ga="cancel-open",Vo="sibling-open",Qu="disabled",Hc="missing",jc="initial",ks="imperative-action",iy="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 Ju(e,t,n){const o=Ke;return{reason:e,event:t??new Event("base-ui"),...o}}const FE=c.forwardRef(function(t,n){const{render:o,className:r,style:s,disabled:i=!1,nativeButton:a=!0,...l}=t,u=Pn(),d=u.useState("open"),{getButtonProps:p,buttonRef:f}=Mt({disabled:i,native:a}),y={disabled:i};function h(g){d&&u.setOpen(!1,ke(Zu,g.nativeEvent))}return Re("button",t,{state:y,ref:[n,f],props:[{onClick:h},l,p]})});let Bc=0;function ay(e,t="mui"){const[n,o]=c.useState(e),r=e||n;return c.useEffect(()=>{n==null&&(Bc+=1,o(`${t}-${Bc}`))},[n,t]),r}const Wc=la.useId;function xn(e,t){if(Wc!==void 0){const n=Wc();return e??(t?`${t}-${n}`:n)}return ay(e,t)}function st(e){return xn(e,"base-ui")}const zE=c.forwardRef(function(t,n){const{render:o,className:r,style:s,id:i,...a}=t,l=Pn(),u=st(i);return l.useSyncedValueWithCleanup("descriptionElementId",u),Re("p",t,{ref:n,props:[{id:u},a]})});function ma(e){c.useEffect(e,Vt)}const _o=0;class _t{constructor(){Ue(this,"currentId",_o);Ue(this,"clear",()=>{this.currentId!==_o&&(clearTimeout(this.currentId),this.currentId=_o)});Ue(this,"disposeEffect",()=>this.clear)}static create(){return new _t}start(t,n){this.clear(),this.currentId=setTimeout(()=>{this.currentId=_o,n()},t)}isStarted(){return this.currentId!==_o}}function nt(){const e=gt(_t.create).current;return ma(e.disposeEffect),e}function cy(){return typeof navigator>"u"?{userAgent:"",platform:"",maxTouchPoints:0}:{userAgent:navigator.userAgent,platform:navigator.platform??"",maxTouchPoints:navigator.maxTouchPoints??0}}const{userAgent:ly,platform:uy,maxTouchPoints:dy}=cy(),Cs=ly.toLowerCase(),Xo=uy.toLowerCase(),Es=/^i(os$|p)/.test(Xo)||Xo==="macintel"&&dy>1,Uc="android",_i=Xo===Uc||Cs.includes(Uc),ya=!Es&&Xo.startsWith("mac");Xo.startsWith("win");const fy=ya||Es;var Su;const Kt=typeof CSS<"u"&&!!((Su=CSS.supports)!=null&&Su.call(CSS,"-webkit-backdrop-filter:none"));!Kt&&Cs.includes("firefox");!Kt&&Cs.includes("chrom");const py=fy,ba=/jsdom|happydom/.test(Cs);function Ft(e){e.preventDefault(),e.stopPropagation()}function hy(e){return"nativeEvent"in e}function va(e){return e.pointerType===""&&e.isTrusted?!0:_i&&e.pointerType?e.type==="click"&&e.buttons===1:e.detail===0&&!e.pointerType}function xa(e){return ba?!1:!_i&&e.width===0&&e.height===0||_i&&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 yn(e,t){const n=["mouse","pen"];return t||n.push("",void 0),n.includes(e)}function gy(e){const t=e.type;return t==="click"||t==="mousedown"||t==="keydown"||t==="keyup"}const Li="data-base-ui-focusable",ed="input:not([type='hidden']):not([disabled]),[contenteditable]:not([contenteditable='false']),textarea:not([disabled])",Ps="ArrowLeft",Ms="ArrowRight",td="ArrowUp",wa="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&&go(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 es(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 my(e){return e.matches("html,body")}function Ts(e){return Ye(e)&&e.matches(ed)}function yy(e){return(e==null?void 0:e.closest(`button,a[href],[role="button"],select,[tabindex]:not([tabindex="-1"]),${ed}`))!=null}function Fi(e){return e?e.getAttribute("role")==="combobox"&&Ts(e):!1}function nd(e){if(!e||ba)return!0;try{return e.matches(":focus-visible")}catch{return!0}}function ts(e){return e?e.hasAttribute(Li)?e:e.querySelector(`[${Li}]`)||e:null}function by(e,t){return t!=null&&!yn(t)?0:typeof e=="function"?e():e}function wn(e,t,n){const o=by(e,n);return typeof o=="number"?o:o==null?void 0:o[t]}function qc(e){return typeof e=="function"?e():e}function od(e,t){return t||e==="click"||e==="mousedown"}function vy(e){return(e==null?void 0:e.includes("mouse"))&&e!=="mousedown"}const rd=c.createContext({hasProvider:!1,timeoutMs:0,delayRef:{current:0},initialDelayRef:{current:0},timeout:new _t,currentIdRef:{current:null},currentContextRef:{current:null}});function xy(e,t){e.current=t.current}function wy(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=nt();return pe(()=>{if(s.current=n,!i.current){r.current=n;return}r.current={open:wn(r.current,"open"),close:wn(n,"close")}},[n,i,r,s]),Y.jsx(rd.Provider,{value:c.useMemo(()=>({hasProvider:!0,delayRef:r,initialDelayRef:s,currentIdRef:i,timeoutMs:o,currentContextRef:a,timeout:l}),[o,l]),children:t})}function Sy(e,t={open:!1}){const{open:n}=t,o="rootStore"in e?e.rootStore:e,r=o.useState("floatingId"),s=c.useContext(rd),{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 pe(()=>{g.current=n},[n]),pe(()=>{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]),pe(()=>{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:wn(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]),pe(()=>()=>{if(i.current===r){if(d.current=null,!g.current)return;i.current=null,xy(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 Yt(...e){return()=>{for(let t=0;t<e.length;t+=1){const n=e[t];n&&n()}}}function rt(e){const t=gt(Ry,e).current;return t.next=e,pe(t.effect),t}function Ry(e){const t={current:e,next:e,effect:()=>{t.current=t.next}};return t}const vr=null;class ky{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 ky;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 $n(){const e=gt(Ct.create).current;return ma(e.disposeEffect),e}const sd={clipPath:"inset(50%)",overflow:"hidden",whiteSpace:"nowrap",border:0,padding:0,width:1,height:1,margin:-1},Sn={...sd,position:"fixed",top:0,left:0},Is={...sd,position:"absolute"},Rn=c.forwardRef(function(t,n){const[o,r]=c.useState();pe(()=>{py&&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":""})}),mo=Math.min,rn=Math.max,yo=Math.round,wr=Math.floor,sn=e=>({x:e,y:e}),Cy={left:"right",right:"left",bottom:"top",top:"bottom"};function id(e,t,n){return rn(e,mo(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 Ey(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=ns(i)),[i,ns(i)]}function Py(e){const t=ns(e);return[zi(e),t,zi(t)]}function zi(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}const Gc=["left","right"],Yc=["right","left"],My=["top","bottom"],Ty=["bottom","top"];function Iy(e,t,n){switch(e){case"top":case"bottom":return n?t?Yc:Gc:t?Gc:Yc;case"left":case"right":return t?My:Ty;default:return[]}}function Oy(e,t,n,o){const r=Mn(e);let s=Iy(Nt(e),n==="start",o);return r&&(s=s.map(i=>i+"-"+r),t&&(s=s.concat(s.map(zi)))),s}function ns(e){const t=Nt(e);return Cy[t]+e.slice(t.length)}function Ay(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 ad(e){return typeof e!="number"?Ay(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 Bo(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&&os(e,s,o));return s}function os(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?!Os(r)||r.matches(":disabled")?!0:!n&&(r.hasAttribute("disabled")||r.getAttribute("aria-disabled")==="true"):!1}function Ny(e){return e.visibility==="hidden"||e.visibility==="collapse"}function Os(e,t=e?Pt(e):null){return!e||!e.isConnected||!t||Ny(t)?!1:typeof e.checkVisibility=="function"?e.checkVisibility():t.display!=="none"&&t.display!=="contents"}const Dy='a[href],button,input,select,textarea,summary,details,iframe,object,embed,[tabindex],[contenteditable]:not([contenteditable="false"]),audio[controls],video[controls]';function _y(e){const t=e.assignedSlot;if(t)return t;if(e.parentElement)return e.parentElement;const n=e.getRootNode();return go(n)?n.host:null}function $i(e){for(const t of Array.from(e.children))if(mt(t)==="summary")return t;return null}function Ly(e,t){const n=$i(t);return!!n&&(e===n||ve(n,e))}function cd(e){const t=e?mt(e):"";return e!=null&&e.matches(Dy)&&(t!=="summary"||e.parentElement!=null&&mt(e.parentElement)==="details"&&$i(e.parentElement)===e)&&(t!=="details"||$i(e)==null)&&(t!=="input"||e.type!=="hidden")}function ld(e){if(!cd(e)||!e.isConnected||e.matches(":disabled"))return!1;for(let t=e;t;t=_y(t)){const n=t!==e,o=mt(t)==="slot";if(t.hasAttribute("inert")||n&&mt(t)==="details"&&!t.open&&!Ly(e,t)||t.hasAttribute("hidden")||!o&&!Fy(t,n))return!1}return!0}function Fy(e,t){const n=Pt(e);return t?n.display!=="none":Os(e,n)}function ud(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 zy(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 dd(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 fd(e,t){dd(e).forEach(n=>{cd(n)&&t.push(n),fd(n,t)})}function pd(e,t,n){dd(e).forEach(o=>{Ye(o)&&o.matches(t)&&n.push(o),pd(o,t,n)})}function Ca(e){return ld(e)&&ud(e)>=0}function hd(e){const t=[];return fd(e,t),t.filter(ld)}function rr(e){const t=hd(e);return t.filter(n=>ud(n)>=0&&zy(n,t))}function gd(e,t){const n=rr(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 gd(Ie(e).body,1)||e}function md(e){return gd(Ie(e).body,-1)||e}function yd(e,t){if(!e)return null;const n=rr(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 Vy(e){return yd(e,1)}function $y(e){return yd(e,-1)}function lo(e,t){const n=t||e.currentTarget,o=e.relatedTarget;return!o||!ve(n,o)}function Hy(e){rr(e).forEach(n=>{n.dataset.tabindex=n.getAttribute("tabindex")||"",n.setAttribute("tabindex","-1")})}function Xc(e){const t=[];pd(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(),ot;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 Lo=new WeakMap,gi=0;function jy(e){return Hi[e]}function bd(e){return e?go(e)?e.host:bd(e.parentNode):null}const Qc=(e,t)=>t.map(n=>{if(e.contains(n))return n;const o=bd(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 By(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=jy(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=(Lo.get(f)||0)+1;Lo.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=(Lo.get(f)||0)-1;Lo.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,Lo=new WeakMap)}}function tl(e,t={}){const{ariaHidden:n=!1,inert:o=!1,mark:r=!0}=t,s=Ie(e[0]).body;return By(e,s,n,o,{mark:r})}const Wy=500,vd=500,Uy={style:{transition:"none"}},Pa="data-base-ui-click-trigger",xd={fallbackAxisSide:"none"},Ma={fallbackAxisSide:"end"},qy={clipPath:"inset(50%)",position:"fixed",top:0,left:0},wd=c.createContext(null),Sd=()=>c.useContext(wd),Gy=Zo("portal");function Rd(e={}){const{ref:t,container:n,componentProps:o=Ke,elementProps:r}=e,s=xn(),i=Sd(),a=i==null?void 0:i.portalNode,[l,u]=c.useState(null),[d,p]=c.useState(null),f=he(m=>{m!==null&&p(m)}),y=c.useRef(null);pe(()=>{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=Re("div",o,{ref:[t,f],props:[{id:s,[Gy]:""},r]}),g=l&&h?Dt.createPortal(h,l):null;return{node:d,nodeId:c.isValidElement(h)?h.props.id:void 0,subtree:g}}const As=c.forwardRef(function(t,n){const{render:o,className:r,style:s,children:i,container:a,...l}=t,{node:u,nodeId:d,subtree:p}=Rd({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&&lo(k)&&(k.type==="focusin"?v.current&&(Xc(u),v.current=!1):(Hy(u),v.current=!0))}return Yt(Ae(u,"focusin",C,!0),Ae(u,"focusout",C,!0))},[u,x]),pe(()=>{!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(wd.Provider,{value:R,children:[S&&u&&Y.jsx(Rn,{"data-type":"outside",ref:f,onFocus:C=>{var k;if(lo(C,u))(k=h.current)==null||k.focus();else{const T=m?m.domReference:null,E=md(T);E==null||E.focus()}}}),S&&u&&Y.jsx("span",{"aria-owns":d,style:qy}),u&&Dt.createPortal(i,u),S&&u&&Y.jsx(Rn,{"data-type":"outside",ref:y,onFocus:C=>{var k;if(lo(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(vn,C.nativeEvent)))}}})]})]})});function kd(){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",kd())}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 Cd=c.createContext(null),Ed=c.createContext(null),Tn=()=>{var e;return((e=c.useContext(Cd))==null?void 0:e.id)||null},In=e=>{const t=c.useContext(Ed);return e??t};function Ia(e){const t=xn(),n=In(e),o=Tn();return pe(()=>{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 Pd(e){const{children:t,id:n}=e,o=Tn();return Y.jsx(Cd.Provider,{value:c.useMemo(()=>({id:n,parentId:o}),[n,o]),children:t})}function Md(e){const{children:t,externalTree:n}=e,o=gt(()=>n??new Ta).current;return Y.jsx(Ed.Provider,{value:o,children:t})}function en(e){return e==null?e:"current"in e?e.current:e}function Yy(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 nl=20;let gn=[];function Oa(){gn=gn.filter(e=>{var t;return(t=e.deref())==null?void 0:t.isConnected})}function ol(e){Oa(),e&&mt(e)!=="body"&&(gn.push(new WeakRef(e)),gn.length>nl&&(gn=gn.slice(-nl)))}function rl(){var e;return Oa(),(e=gn[gn.length-1])==null?void 0:e.deref()}function Xy(e){return e?Ca(e)?e:rr(e)[0]||e:null}function sl(e){var r;if(e.hasAttribute("tabindex")&&!e.hasAttribute("data-tabindex")||!((r=e.getAttribute("role"))!=null&&r.includes("dialog")))return;const n=hd(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 Ns(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=he(()=>{var ne;return(ne=w.current.floatingContext)==null?void 0:ne.nodeId}),R=r===!1,C=Fi(b)&&R,k=rt(r),T=rt(s),E=rt(u),N=rt(m),O=In(y),D=Sd(),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=Tt(M,f,D==null?void 0:D.beforeInsideRef),$=Tt(L,D==null?void 0:D.afterInsideRef),U=nt(),q=nt(),V=$n(),X=D!=null,j=ts(v),K=he((ne=j)=>ne?rr(ne):[]),de=he(()=>(h==null?void 0:h().filter(ne=>ne!=null))??[]);c.useEffect(()=>{if(o||!a)return;function ne(G){G.key==="Tab"&&ve(j,pt(Ie(j)))&&K().length===0&&!C&&Ft(G)}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 G(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,q.start(0,()=>{P.current=!1}))}function ie(){_.current="keyboard"}return Yt(Ae(ne,"pointerdown",G,!0),Ae(ne,"pointerup",re,!0),Ae(ne,"pointercancel",re,!0),Ae(ne,"keydown",ie,!0),re)},[o,v,b,j,m,D,q,de]),c.useEffect(()=>{if(o||!l)return;const ne=Ie(j);function re(){P.current=!0,q.start(0,()=>{P.current=!1})}function G(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)&&ol(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,ts((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&&sl(j),i&&ae!==b&&!Os(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!==rl())&&(A.current=!0,g.setOpen(!1,ke(vn,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 Yt(ue&&Ae(ue,"focusout",ie),ue&&Ae(ue,"pointerdown",re),v&&Ae(v,"focusin",G),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,q,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")}]`))||[]),G=(oe=(ce=(O?Kc(O.nodesRef.current,S()):[]).find(le=>{var W;return Fi(((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()],G,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]),pe(()=>{if(!m||o||!Ye(j))return;I.current="",_.current="";const ne=Ie(j),re=pt(ne);queueMicrotask(()=>{const G=k.current,ie=typeof G=="function"?G(E.current||""):G;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]),pe(()=>{if(o||!j)return;const ne=Ie(j),re=pt(ne),G=E.current==null;ol(re);function ie(ue){if(ue.open||(I.current=Yy(ue.nativeEvent,_.current)),ue.reason===it&&ue.nativeEvent.type==="mouseleave"&&(A.current=!0),ue.reason===Rs)if(ue.nested)A.current=!1;else if(va(ue.nativeEvent)||xa(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=G?ce||ae:ae||ce;return oe||(oe=rl()||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=Xy(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]),pe(()=>{if(!Kt||m||!v)return;const ne=pt(Ie(v));!Ye(ne)||!Ts(ne)||ve(v,ne)&&ne.blur()},[m,v]),pe(()=>{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]),pe(()=>{if(!(o||!j))return sl(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 G=K();Br(G[G.length-1])}else if(D!=null&&D.portalNode)if(A.current=!1,lo(ne,D.portalNode)){const G=Ea(b);G==null||G.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),lo(ne,D.portalNode)){const G=md(b);G==null||G.focus()}else(re=en(d??D.afterOutsideRef))==null||re.focus()}})]})}function Ds(e,t={}){const{enabled:n=!0,event:o="click",toggle:r=!0,ignoreMouse:s=!1,stickIfOpen:i=!0,touchOpenDelay:a=0,reason:l=$t}=t,u="rootStore"in e?e.rootStore:e,d=u.context.dataRef,p=c.useRef(void 0),f=$n(),y=nt(),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=yn(b.pointerType,!0)&&xa(b.nativeEvent)?"virtual":b.pointerType},onMouseDown(b){const v=p.current,x=b.nativeEvent,w=u.select("open");if(b.button!==0||o==="click"||yn(v,!0)&&s)return;const S=m(w,b.currentTarget,k=>k==="click"||k==="mousedown"),R=at(x);if(Ts(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(yn(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 Ky(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 il(e){return e!=null&&e.clientX!=null}function Zy(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=he(w=>{r.set("positionReference",w)}),m=he((w,S,R)=>{u.current||l.current.openEvent&&!il(l.current.openEvent)||r.set("positionReference",Ky(R??a,{x:w,y:S,axis:o,dataRef:l,pointerType:p}))}),b=he(w=>{s?d.current||(m(w.clientX,w.clientY,w.currentTarget),h([])):m(w.clientX,w.clientY,w.currentTarget)}),v=yn(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||il(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 Qy(){return!1}function Jy(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 sr(e,t={}){const{enabled:n=!0,escapeKey:o=!0,outsidePress:r=!0,outsidePressEvent:s="sloppy",referencePress:i=Qy,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=he(typeof r=="function"?r:()=>!1),g=typeof r=="function"?h:r,m=g!==!1,b=he(()=>s),{escapeKey:v,outsidePress:x}=Jy(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=nt(),N=nt(),O=he(()=>{N.clear(),f.current.insideReactTree=!1}),D=he(H=>{var q;const $=(q=f.current.floatingContext)==null?void 0:q.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=he(H=>fi(H,u.select("floatingElement"))||fi(H,u.select("domReferenceElement"))),P=he(H=>{i()&&u.setOpen(!1,ke($t,H.nativeEvent))}),z=he(H=>{if(!d||!n||!o||H.key!=="Escape"||C.current||!v&&D("__escapeKeyBubbles"))return;const $=hy(H)?H.nativeEvent:H,U=ke(or,$);u.setOpen(!1,U),U.isCanceled||H.preventDefault(),!v&&!U.isPropagationAllowed&&H.stopPropagation()}),F=he(()=>{f.current.insideReactTree=!0,N.start(0,O)}),I=he(H=>{if(!d||!n||H.button!==0)return;const $=at(H.nativeEvent);ve(u.select("floatingElement"),$)&&(w.current||(w.current=!0,S.current=!1))}),_=he(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 q(){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((go(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)&&!my(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),qe=/auto|scroll/,Le=De||qe.test(Me.overflowX),ze=De||qe.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(Rs,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 G(W,Q){const fe=at(W);if(!fe)return;const te=Ae(fe,W.type,()=>{Q(W),te()})}function ie(W){k.current="touch",G(W,re)}function ge(W){E.clear(),W.type==="pointerdown"&&(k.current=W.pointerType),!(W.type==="mousedown"&&T.current&&!T.current.dismissOnMouseDown)&&G(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){G(W,Z)}function ae(W){j()!=="sloppy"||!T.current||A(W)||(T.current.dismissOnTouchEnd&&se(W),E.clear(),T.current=null)}function ce(W){G(W,ae)}const oe=Ie(p),le=Yt(o&&Yt(Ae(oe,"keydown",z),Ae(oe,"compositionstart",U),Ae(oe,"compositionend",q)),m&&Yt(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 al(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 eb(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=ad(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 tb=50,nb=async(e,t,n)=>{const{placement:o="bottom",strategy:r="absolute",middleware:s=[],platform:i}=n,a=i.detectOverflow?i:{...i,detectOverflow:eb},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}=al(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<tb&&(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}=al(u,f,l)),g=-1)}return{x:d,y:p,placement:f,strategy:r,middlewareData:h}},ob=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?[ns(a)]:Py(a)),R=h!=="none";!f&&R&&S.push(...Oy(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=Ey(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{}}}},Td=new Set(["left","top"]);async function rb(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=Td.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 sb=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 rb(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}}}}},ib=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)=>id(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}}}}}},ab=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=Td.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}}}},cb=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=mo(y-l[h],m),x=mo(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 Id(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=yo(n)!==s||yo(o)!==i;return a&&(n=s,o=i),{width:n,height:o,$:a}}function Aa(e){return Ne(e)?e:e.contextElement}function uo(e){const t=Aa(e);if(!Ye(t))return sn(1);const n=t.getBoundingClientRect(),{width:o,height:r,$:s}=Id(t);let i=(s?yo(n.width):n.width)/o,a=(s?yo(n.height):n.height)/r;return(!i||!Number.isFinite(i))&&(i=1),(!a||!Number.isFinite(a))&&(a=1),{x:i,y:a}}const lb=sn(0);function Od(e){const t=Xe(e);return!ca()||!t.visualViewport?lb:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function ub(e,t,n){return t===void 0&&(t=!1),!!n&&t&&n===Xe(e)}function Hn(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=uo(o)):i=uo(e));const a=ub(s,n,o)?Od(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=uo(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 _s(e,t){const n=bs(e).scrollLeft;return t?t.left+n:Hn(un(e)).left+n}function Ad(e,t){const n=e.getBoundingClientRect(),o=n.left+t.scrollLeft-_s(e,n),r=n.top+t.scrollTop;return{x:o,y:r}}function db(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"||nr(i))&&(l=bs(o)),p)){const y=Hn(o);u=uo(o),d.x=y.x+o.clientLeft,d.y=y.y+o.clientTop}const f=i&&!p&&!s?Ad(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 fb(e){return e.getClientRects?Array.from(e.getClientRects()):[]}function pb(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+_s(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 hb=25;function gb(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(_s(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<=hb&&(a-=b)}return{width:a,height:l,x:u,y:d}}function mb(e,t){const n=Hn(e,!0,t==="fixed"),o=n.top+e.clientTop,r=n.left+e.clientLeft,s=uo(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 cl(e,t,n){let o;if(t==="viewport"||t==="layoutViewport")o=gb(e,n,t);else if(t==="document")o=pb(un(e));else if(Ne(t))o=mb(t,n);else{const r=Od(e);o={x:t.x-r.x,y:t.y-r.y,width:t.width,height:t.height}}return Ko(o)}function yb(e,t){const n=t.get(e);if(n)return n;let o=Go(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 bb(e){let{element:t,boundary:n,rootBoundary:o,strategy:r}=e;const i=[...n==="clippingAncestors"?ys(t)?[]:yb(t,this._c):[].concat(n),o],a=cl(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=cl(t,i[f],r);l=rn(y.top,l),u=mo(y.right,u),d=mo(y.bottom,d),p=rn(y.left,p)}return{width:u-p,height:d-l,x:p,y:l}}function vb(e){const{width:t,height:n}=Id(e);return{width:t,height:n}}function xb(e,t,n){const o=Ye(t),r=un(t),s=n==="fixed",i=Hn(e,!0,s,t);let a={scrollLeft:0,scrollTop:0};const l=sn(0);if((o||!s)&&((mt(t)!=="body"||nr(r))&&(a=bs(t)),o)){const f=Hn(t,!0,s,t);l.x=f.x+t.clientLeft,l.y=f.y+t.clientTop}!o&&r&&(l.x=_s(r));const u=r&&!o&&!s?Ad(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 ll(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 Nd(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=ll(e,t);for(;o&&N1(o)&&mi(o);)o=ll(o,t);return o&&on(o)&&mi(o)&&!aa(o)?n:o||L1(e)||n}const wb=async function(e){const t=this.getOffsetParent||Nd,n=this.getDimensions,o=await n(e.floating);return{reference:xb(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:o.width,height:o.height}}};function Sb(e){return Pt(e).direction==="rtl"}const Dd={convertOffsetParentRelativeRectToViewportRelativeRect:db,getDocumentElement:un,getClippingRect:bb,getOffsetParent:Nd,getElementRects:wb,getClientRects:fb,getDimensions:vb,getScale:uo,isElement:Ne,isRTL:Sb};function _d(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function Rb(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,mo(1,p))||1};let C=!0;function k(T){const E=T[0].intersectionRatio;if(!_d(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 ul(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?Go(u):[],...t?Go(t):[]]:[];d.forEach(b=>{r&&b.addEventListener("scroll",n),s&&b.addEventListener("resize",n)});const p=u&&a?Rb(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?Hn(e):null;l&&m();function m(){const b=Hn(e);g&&!_d(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 kb=sb,Cb=ib,Eb=ob,Pb=cb,Mb=ab,Tb=(e,t,n)=>{const o=new Map,r=n??{},s={...Dd,...r.platform,_c:o};return nb(e,t,{...r,platform:s})};var Ib=typeof document<"u",Ob=function(){},Wr=Ib?c.useLayoutEffect:Ob;function rs(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(!rs(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)&&!rs(e[s],t[s]))return!1}return!0}return e!==e&&t!==t}function Ld(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function dl(e,t){const n=Ld(e);return Math.round(t*n)/n}function yi(e){const t=c.useRef(e);return Wr(()=>{t.current=e}),t}function Ab(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);rs(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),Tb(R.current,C.current,I).then(_=>{const M={..._,isPositioned:O.current!==!1};A.current&&!rs(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 _=dl(z.floating,d.x),M=dl(z.floating,d.y);return a?{...I,transform:"translate("+_+"px, "+M+"px)",...Ld(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 Nb=(e,t)=>{const n=kb(e);return{name:n.name,fn:n.fn,options:[e,t]}},Db=(e,t)=>{const n=Cb(e);return{name:n.name,fn:n.fn,options:[e,t]}},_b=(e,t)=>({fn:Mb(e).fn,options:[e,t]}),Lb=(e,t)=>{const n=Eb(e);return{name:n.name,fn:n.fn,options:[e,t]}},Fb=(e,t)=>{const n=Pb(e);return{name:n.name,fn:n.fn,options:[e,t]}};var bi={exports:{}},vi={};/**
|
|
932
|
+
* @license React
|
|
933
|
+
* use-sync-external-store-shim.production.js
|
|
934
|
+
*
|
|
935
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
936
|
+
*
|
|
937
|
+
* This source code is licensed under the MIT license found in the
|
|
938
|
+
* LICENSE file in the root directory of this source tree.
|
|
939
|
+
*/var fl;function zb(){if(fl)return vi;fl=1;var e=Ru();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 pl;function Fd(){return pl||(pl=1,bi.exports=zb()),bi.exports}var Ls=Fd(),xi={exports:{}},wi={};/**
|
|
940
|
+
* @license React
|
|
941
|
+
* use-sync-external-store-shim/with-selector.production.js
|
|
942
|
+
*
|
|
943
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
944
|
+
*
|
|
945
|
+
* This source code is licensed under the MIT license found in the
|
|
946
|
+
* LICENSE file in the root directory of this source tree.
|
|
947
|
+
*/var hl;function Vb(){if(hl)return wi;hl=1;var e=Ru(),t=Fd();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 gl;function $b(){return gl||(gl=1,xi.exports=Vb()),xi.exports}var Hb=$b();const ji=[];let Bi;function jb(){return Bi}function Bb(e){ji.push(e)}function Na(e){const t=(n,o)=>{const r=gt(Wb).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 zd(e){return c.forwardRef(Na(e))}function Wb(){return{didInitialize:!1}}const Ub=fa(19),qb=Ub?Yb:Xb;function Ee(e,t,n,o,r){return qb(e,t,n,o,r)}function Gb(e,t,n,o,r){const s=c.useCallback(()=>t(e.getSnapshot(),n,o,r),[e,t,n,o,r]);return Ls.useSyncExternalStore(e.subscribe,s,s)}Bb({before(e){e.syncIndex=0,e.didInitialize||(e.syncTick=1,e.syncHooks=[],e.didChangeStore=!0,e.getSnapshot=()=>{let t=!1;for(let n=0;n<e.syncHooks.length;n+=1){const o=e.syncHooks[n],r=o.selector(o.store.state,o.a1,o.a2,o.a3);Object.is(o.value,r)||(t=!0,o.value=r)}return t&&(e.syncTick+=1),e.syncTick})},after(e){e.syncHooks.length>0&&(e.didChangeStore&&(e.didChangeStore=!1,e.subscribe=t=>{const n=new Set;for(const r of e.syncHooks)n.add(r.store);const o=[];for(const r of n)o.push(r.subscribe(t));return()=>{for(const r of o)r()}}),Ls.useSyncExternalStore(e.subscribe,e.getSnapshot,e.getSnapshot))}});function Yb(e,t,n,o,r){const s=jb();if(!s)return Gb(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 Xb(e,t,n,o,r){return Hb.useSyncExternalStoreWithSelector(e.subscribe,e.getSnapshot,e.getSnapshot,s=>t(s,n,o,r))}class Kb{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 ko extends Kb{constructor(t,n={},o){super(t),this.context=n,this.selectors=o}useSyncedValue(t,n){c.useDebugValue(t);const o=this;pe(()=>{o.state[t]!==n&&o.set(t,n)},[o,t,n])}useSyncedValueWithCleanup(t,n){const o=this;pe(()=>(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);pe(()=>{n.update(t)},[n,...o])}useControlledProp(t,n){c.useDebugValue(t);const o=this,r=n!==void 0;pe(()=>{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=he(n??ot);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 Zb(){const[,e]=c.useState({});return c.useCallback(()=>{e({})},[])}const Qb={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 Fs extends ko{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:kd(),nested:r,triggerElements:i},Qb);Ue(this,"syncOpenEvent",(n,o)=>{(!n||!this.state.open||o!=null&&gy(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 Vd(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 Fs({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),pe(()=>{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 On(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),pe(()=>{if(!e&&s&&o!=="ending"&&n){const a=Ct.request(()=>{r("ending")});return()=>{Ct.cancel(a)}}},[e,s,o,n]),pe(()=>{if(!e||t)return;const a=Ct.request(()=>{r(void 0)});return()=>{Ct.cancel(a)}},[t,e]),pe(()=>{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 zs(e,t=!1){const n=$n();return he((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 It(e){const{enabled:t=!0,open:n,ref:o,onComplete:r}=e,s=he(r),i=zs(o,n);c.useEffect(()=>{if(!t)return;const a=new AbortController;return i(s,a.signal),()=>{a.abort()}},[t,n,s,i])}const ir={tabIndex:-1,[Li]:""};function $d(e){return t=>t==="touch"?e.current:!0}function Da(e,t=!1){const n=xn(),o=Tn()!=null,r=gt(()=>e(n,o)).current;return Vd({popupStore:r,treatPopupAsFloatingElement:t,floatingRootContext:r.state.floatingRootContext,floatingId:n,nested:o,onOpenChange:r.setOpen}),r}function Vs({handle:e,store:t}){return pe(()=>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 $s(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 ev(e,t,n,o={}){var d,p,f;const r=n.reason,s=r===it,i=t&&r===co,a=!t&&(r===$t||r===or),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),$s(y,t,n.trigger,l()),e.update(y)};s?Dt.flushSync(u):u()}function Hs(e,t,n,o){const r=n.useState("isMountedByTrigger",e),s=Jb(e,n),i=he(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 pe(()=>{r&&n.update({activeTriggerElement:t.current,...o})},[r,n,t,...Object.values(o)]),{registerTrigger:a,isMountedByThisTrigger:r}}function js(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");pe(()=>{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 Bs(e,t,n){const{mounted:o,setMounted:r,transitionStatus:s}=On(e),i=t.useState("preventUnmountingOnClose"),a=e?!1:i;t.useSyncedValues({mounted:o,transitionStatus:s,preventUnmountingOnClose:a});const l=he(()=>{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 It({enabled:o&&!e&&!a,open:e,ref:t.context.popupRef,onComplete(){e||l()}}),{forceUnmount:l,transitionStatus:s}}function Ws(e,t){e.useSyncedValues(t),pe(()=>()=>{e.update({activeTriggerProps:Ke,inactiveTriggerProps:Ke,popupProps:Ke})},[e])}function Hd(e,t){pe(()=>{!t&&e.state.openMethod!==null&&e.set("openMethod",null)},[t,e]),pe(()=>()=>{e.state.openMethod!==null&&e.set("openMethod",null)},[e])}class Co{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 tv(){return new Fs({open:!1,transitionStatus:void 0,floatingElement:null,referenceElement:null,triggerElements:new Co,floatingId:void 0,syncOnly:!1,nested:!1,onOpenChange:void 0})}function Us(){return{open:!1,openProp:void 0,mounted:!1,transitionStatus:void 0,floatingRootContext:tv(),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 Fs({open:!1,transitionStatus:void 0,floatingElement:null,referenceElement:null,triggerElements:e,floatingId:t,syncOnly:!0,nested:n,onOpenChange:void 0})}const Wo=e=>e.triggerIdProp??e.activeTriggerId,Fa=e=>e.openProp??e.open,ml=e=>{var n;return(((n=e.popupElement)==null?void 0:n.id)??e.floatingId)||void 0};function jd(e,t){return t!==void 0&&Fa(e)&&Wo(e)===t}function nv(e,t){return jd(e,t)?!0:t!==void 0&&Fa(e)&&Wo(e)==null&&e.triggerCount===1}const qs={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:Wo,activeTriggerElement:e=>e.mounted?e.activeTriggerElement:null,popupId:ml,isTriggerActive:(e,t)=>t!==void 0&&Wo(e)===t,isOpenedByTrigger:(e,t)=>jd(e,t),isMountedByTrigger:(e,t)=>t!==void 0&&Wo(e)===t&&e.mounted,triggerProps:(e,t)=>t?e.activeTriggerProps:e.inactiveTriggerProps,triggerPopupId:(e,t)=>nv(e,t)?ml(e):void 0,popupProps:e=>e.popupProps,popupElement:e=>e.popupElement,positionerElement:e=>e.positionerElement};function Gs(e){const t=c.useCallback(o=>e===void 0?ot:e.subscribeStore(o),[e]),n=c.useCallback(()=>e===void 0?void 0:e.store,[e]);return Ls.useSyncExternalStore(t,n,()=>e==null?void 0:e.serverStore)}function ov(e){const{open:t=!1,onOpenChange:n,elements:o={}}=e,r=xn(),s=Tn()!=null,i=gt(()=>new Fs({open:t,transitionStatus:void 0,onOpenChange:n,referenceElement:o.reference??null,floatingElement:o.floating??null,triggerElements:new Co,floatingId:r,syncOnly:!1,nested:s})).current;return pe(()=>{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 rv(e){return sv(e,e.rootContext)}function sv(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=Ab({...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 pe(()=>{i&&(g.current=i)},[i]),pe(()=>{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=ya&&Kt;function Bd(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=nt();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 Yt(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===$t||y.reason===or){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&&!Ts(g))return}else if(!nd(g))return}const m=es(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||es(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 ss=new WeakMap;function is(e){var n,o,r;if(!e.performedPointerEventsMutation)return;const t=e.pointerEventsScopeElement;t&&ss.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"),ss.delete(t)),e.performedPointerEventsMutation=!1,e.pointerEventsScopeElement=null,e.pointerEventsReferenceElement=null,e.pointerEventsFloatingElement=null}function Wd(e,t){const{scopeElement:n,referenceElement:o,floatingElement:r}=t,s=ss.get(n);s&&s!==e&&is(s),is(e),e.performedPointerEventsMutation=!0,e.pointerEventsScopeElement=n,e.pointerEventsReferenceElement=o,e.pointerEventsFloatingElement=r,ss.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),ma(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=nt(),h=he(()=>{var b;return od((b=u.current.openEvent)==null?void 0:b.type,f.interactedInside)}),g=he(()=>{var b;return vy((b=u.current.openEvent)==null?void 0:b.type)}),m=he(()=>{is(f)});pe(()=>{i||(f.pointerType=void 0,f.restTimeoutPending=!1,f.interactedInside=!1,m())},[i,f,m]),c.useEffect(()=>m,[m]),pe(()=>{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 Wd(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=wn(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(!yy(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(es(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 Yt(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 iv={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=iv,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=rt(r),R=rt(o),C=rt(i),k=rt(n),T=rt(y),E=rt(f),N=he(()=>{var F;return od((F=m.current.openEvent)==null?void 0:F.type,x.interactedInside)}),O=he(()=>{var F;return((F=T.current)==null?void 0:F.call(T))!==!1}),D=he((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=he(()=>{if(!x.handler)return;Ie(g.select("domReferenceElement")).removeEventListener("mousemove",x.handler),x.handler=void 0}),P=he(()=>{is(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 q=wn(R.current,"close",x.pointerType);q?x.openChangeTimeout.start(q,()=>{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&&!yn(x.pointerType))return;const U=qc(C.current),q=wn(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,G=!de&&Ne(K)&&Ne(j)&&ve(j,K)&&re,ie=U>0&&!q,ge=de&&(se||re)||G,ue=!se||de;if(ge){O()&&g.setOpen(!0,ke(it,$,K));return}ie||(q?x.openChangeTimeout.start(q,()=>{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"),q=Ie(U);x.restTimeout.clear(),x.restTimeoutPending=!1;const V=m.current.floatingContext??(p==null?void 0:p());if(es($.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)}}),q.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?Yt(Ae(I,"mousemove",_,{once:!0}),Ae(I,"mouseenter",_),Ae(I,"mouseleave",M),H):Yt(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&&!yn(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;Wd(x,{scopeElement:de,referenceElement:M,floatingElement:K})}}const U=qc(C.current);if(H&&!$||U===0||!$&&x.restTimeoutPending&&I.movementX**2+I.movementY**2<2)return;x.restTimeout.clear();function q(){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(()=>{q()}):$&&H?q():(x.restTimeoutPending=!0,x.restTimeout.start(U,q))}}},[n,x,N,D,s,g,C,O])}const av="Escape";function yl(e){return Kt&&e.movementX===0&&e.movementY===0}function Ys(e,t,n){switch(e){case"vertical":return t;case"horizontal":return n;default:return t||n}}function Rr(e,t){return Ys(t,e===td||e===wa,e===Ps||e===Ms)}function Ri(e,t,n){return Ys(t,e===wa,n?e===Ps:e===Ms)||e==="Enter"||e===" "||e===""}function cv(e,t,n){return Ys(t,n?e===Ps:e===Ms,e===wa)}function lv(e,t,n,o){const r=n?e===Ms:e===Ps,s=e===td;return t==="both"||t==="horizontal"&&o?e===av:Ys(t,r,s)}function Ud(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=ts(T),D=Fi(E),A=rt(O),P=Tn(),z=In(w),F=c.useRef(f),I=c.useRef(i??-1),_=c.useRef(null),M=c.useRef(!0),L=he(W=>{r(I.current===-1?null:I.current,W)}),H=c.useRef(!!T),$=c.useRef(k),U=c.useRef(!1),q=c.useRef(!1),V=c.useRef(null),X=rt(g),j=rt(k),K=rt(i),de=rt(x),se=$n(),ne=$n(),re=he(()=>{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=q.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"}))})});pe(()=>{N.current.orientation=m},[N,m]),pe(()=>{s&&(k&&T?(I.current=i??-1,F.current&&i!=null&&(q.current=!0,L())):H.current&&(I.current=-1,L()))},[s,k,T,i,L]),pe(()=>{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 Bo(n.current,o)||(I.current=o,re(),q.current=!1)}},[s,k,T,o,K,u,n,m,d,L,re,ne]),pe(()=>{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]),pe(()=>{$.current=k,H.current=!!T}),pe(()=>{k||(_.current=null,F.current=f)},[k,f]);const G=o!=null,ie=he(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=he(()=>{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=he(()=>jr(n,X.current)),Z=he(W=>{if(M.current=!1,U.current=!0,W.which===229||!j.current&&W.currentTarget===A.current)return;if(u&&lv(W.key,m,d,R)){Rr(W.key,ge())||Ft(W),C.setOpen(!1,ke(Di,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"&&(Ft(W),I.current=fe,L(W)),W.key==="End"&&(Ft(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(Ft(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})),Bo(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){yl(Q)||(U.current=!0,q.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&&G&&{"aria-activedescendant":`${v}-${o}`},[p,k,G,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;Ft(W),C.setOpen(!1,ke(vn,W.nativeEvent)),Ye(E)&&E.focus();return}Z(W)},onPointerMove(W){yl(W)||(M.current=!0)}}),[ae,Z,A,m,D,C,k,p,E]),oe=c.useMemo(()=>{function W(te){C.setOpen(!0,ke(Di,te.nativeEvent,te.currentTarget))}function Q(te){f==="auto"&&va(te.nativeEvent)&&(F.current=!p)}function fe(te){F.current=f,f==="auto"&&xa(te.nativeEvent)&&(F.current=!0)}return{onKeyDown(te){const ee=C.select("open");M.current=!1;const me=te.key.startsWith("Arrow"),ye=cv(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 qe=Rr(te.key,ge());_.current=u&&qe?null:te.key}if(u){ye&&(Ft(te),ee?(I.current=ue(),L(te)):W(te));return}De&&(K.current!=null&&(I.current=K.current),Ft(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 qd(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=nt(),h=c.useRef(""),g=c.useRef(d??r??-1),m=c.useRef(null),b=he(w=>{function S(A){return o==null?void 0:o.current[A]}function R(A){const P=S(A);return P&&!Os(P)||P!=null&&P.matches(":disabled")?!1:i==null||!os(Vt,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===" "&&(Ft(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!==" "&&(Ft(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=he(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))});pe(()=>{!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 bl=.1,uv=bl*bl,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 dv(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*uv;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&&!dv(R,C,A)){D();return}if(!T&&m(R,C)){D();return}let q=!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;q=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;q=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;q=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;q=Cr(R,C,K,X,K,j,de,P.top,se,P.bottom);break}}q?f||n.start(40,D):D()}};return o.__options={...e,blockPointerEvents:t},o}const Gd=c.createContext(void 0);function fv(){const e=c.useContext(Gd);if(e===void 0)throw new Error(We(26));return e}const as="ArrowUp",cs="ArrowDown",ls="ArrowLeft",us="ArrowRight",ds="Home",fs="End",Yd="PageUp",Xd="PageDown",qn=new Set([as,cs,ls,us,ds,fs]),Kd="Shift",pv=[Kd,"Control","Alt","Meta"];function hv(e){return Ye(e)&&e.tagName==="INPUT"}function vl(e){return!!(hv(e)&&e.selectionStart!=null||Ye(e)&&e.tagName==="TEXTAREA")}function xl(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=wl(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=wl(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 wl(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 gv={...ws,...Xt,nestedDialogOpen(e){return e?{"data-nested-dialog-open":""}:null}},VE=c.forwardRef(function(t,n){const{render:o,className:r,style:s,finalFocus:i,initialFocus:a,...l}=t,u=Pn(),d=u.useState("descriptionElementId"),p=u.useState("disablePointerDismissal"),f=u.useState("floatingRootContext"),y=u.useState("popupProps"),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");fv(),It({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?$d(u.context.popupRef):a,T=b>0,E=u.useStateSetter("popupElement"),O=Re("div",t,{state:{open:v,nested:m,transitionStatus:S,nestedDialogOpen:T},props:[y,{id:C,"aria-labelledby":w,"aria-describedby":d,role:R,...ir,hidden:!g,onKeyDown(D){qn.has(D.key)&&D.stopPropagation()},style:{"--nested-dialogs":b}},l],ref:[n,u.context.popupRef,E],stateAttributesMapping:gv});return Y.jsx(Ns,{context:f,openInteractionType:x,disabled:!g,closeOnFocusOut:!p,initialFocus:k,returnFocus:i,modal:h!==!1,restoreFocus:"popup",children:O})});function ar(e){return fa(19)?e:e?"true":void 0}const Xs=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}})}),$E=c.forwardRef(function(t,n){const{keepMounted:o=!1,...r}=t,s=Pn(),i=s.useState("mounted"),a=s.useState("modal"),l=s.useState("open");return i||o?Y.jsx(Gd.Provider,{value:o,children:Y.jsxs(As,{ref:n,...r,children:[i&&a===!0&&Y.jsx(Xs,{ref:s.context.internalBackdropRef,inert:ar(!l)}),t.children]})}):null});let Sl={},Rl={},kl="";function Ks(e,t){return nr(e)?e:t}function Cl(e,t,n){return/hidden|clip/.test(e.getComputedStyle(Ks(t,n)).overflowY)}function mv(e){if(typeof document>"u")return!1;const t=Ie(e);return Xe(t).innerWidth-t.documentElement.clientWidth>0}function yv(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=Ks(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 bv(e){const t=Ie(e),n=t.documentElement,o=t.body,r=Ks(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 vv(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,Sl={scrollbarGutter:n.style.scrollbarGutter,overflowY:n.style.overflowY,overflowX:n.style.overflowX},kl=n.style.scrollBehavior,Rl={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=Ks(n,o);if(a=yv(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,Sl),Object.assign(o.style,Rl),a||(n.scrollTop=s,n.scrollLeft=i,n.removeAttribute("data-base-ui-scroll-locked"),n.style.scrollBehavior=kl)}function p(){d(),l.request(u)}u();const f=Ae(r,"resize",p);return()=>{l.cancel(),d(),typeof r.removeEventListener=="function"&&f()}}class xv{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(Cl(s,o,r)){const a=new s.MutationObserver(()=>{Cl(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=Es||!mv(t);this.restore=i?bv(t):vv(t)}}const wv=new xv;function Zd(e=!0,t=null){pe(()=>{if(e)return wv.acquire(t)},[e,t])}function Sv({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=sr(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 Zd(o&&s===!0,i),e.useContextCallback("onNestedDialogOpen",(h,g)=>{u(h),p(g)}),pe(()=>(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]),Ws(e,{activeTriggerProps:y.reference,inactiveTriggerProps:y.trigger,popupProps:y.floating,nestedOpenDialogCount:l,nestedOpenDrawerCount:d}),null}const Rv={...qs,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 kv extends ko{constructor(n,o,r){const s=new Co,i=Cv(n,s,o,r);super(i,Ev(s),Rv);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};$s(r,n,o.trigger),this.update(r)})}}function Cv(e,t,n,o=!1){const r={...Us(),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 Ev(e){return{popupRef:c.createRef(),backdropRef:c.createRef(),internalBackdropRef:c.createRef(),outsidePressEnabledRef:{current:!0},triggerElements:e,onOpenChange:void 0,onOpenChangeComplete:void 0}}function Qd(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=Pn(!0),x=v!=null,w={modal:g,disablePointerDismissal:m,nested:x,role:b},S=Da((N,O)=>new kv({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");Hd(S,R),js(S);const{forceUnmount:T}=Bs(R,S);c.useImperativeHandle(u,()=>({unmount:T,close:()=>S.setOpen(!1,ke(ks))}),[T,S]);const E=R||C;return Y.jsxs(Ku.Provider,{value:S,children:[d&&Y.jsx(Vs,{handle:d,store:S}),E&&Y.jsx(Sv,{store:S,parentContext:v==null?void 0:v.context,isDrawer:y}),typeof n=="function"?n({payload:k}):n]})}function HE(e){return Qd("dialog",e)}const jE=c.forwardRef(function(t,n){const{render:o,className:r,style:s,id:i,...a}=t,l=Pn(),u=st(i);return l.useSyncedValueWithCleanup("titleElementId",u),Re("h2",t,{ref:n,props:[{id:u},a]})});function Pv(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 Eo(e,t){const n=c.useRef(e),o=he(t);pe(()=>{n.current!==e&&o(n.current),n.current=e},[e,o])}function Ba(e,t){const n=he((s,i)=>{(typeof e=="function"?e():e)||t(i||(Es?"touch":""))}),{onClick:o,onPointerDown:r}=Pv(n);return c.useMemo(()=>({onClick:o,onPointerDown:r}),[o,r])}function Jd(e){const[t,n]=c.useState(null),o=Ba(e,n);return Eo(e,r=>{r&&!e&&n(null)}),c.useMemo(()=>({openMethod:t,triggerProps:o}),[t,o])}const Mv=c.forwardRef(function(t,n){const{render:o,className:r,style:s,disabled:i=!1,nativeButton:a=!0,id:l,payload:u,handle:d,...p}=t,f=Pn(!0),h=Gs(d)??f;if(!h)throw new Error(We(79));const g=st(l),m=h.useState("floatingRootContext"),b=h.useState("isOpenedByTrigger",g),v=h.useState("triggerPopupId",g),x=c.useRef(null),{registerTrigger:w,isMountedByThisTrigger:S}=Hs(g,x,h,{payload:u}),{getButtonProps:R,buttonRef:C}=Mt({disabled:i,native:a}),k=Ds(m),T=Ba(()=>h.select("open"),O=>{h.set("openMethod",O)}),E={disabled:i,open:b},N=h.useState("triggerProps",S);return Re("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:xs})}),Tv={badInput:!1,customError:!1,patternMismatch:!1,rangeOverflow:!1,rangeUnderflow:!1,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valid:null,valueMissing:!1},Iv={valid:null,touched:!1,dirty:!1,filled:!1,focused:!1},Ov={disabled:!1,...Iv},Gn={valid(e){return e===null?null:e?{"data-valid":""}:{"data-invalid":""}}},Av={invalid:void 0,name:void 0,validityData:{state:Tv,errors:[],error:"",value:"",initialValue:null},setValidityData:ot,disabled:void 0,setTouched:ot,setDirty:ot,setFilled:ot,setFocused:ot,validationMode:"onSubmit",shouldValidateOnChange:()=>!1,state:Ov,registerFieldControl:ot,validation:{getValidationProps:(e,t=Ke)=>t,inputRef:{current:null},registeredInputs:new Map,registerInput:ot,getInputControl:()=>null,commit:async()=>{},change:ot}},Nv=c.createContext(Av);function Zt(e=!0){const t=c.useContext(Nv);if(t.setValidityData===ot&&!e)throw new Error(We(28));return t}const Dv=c.createContext(void 0);function _v(e=!1){const t=c.useContext(Dv);if(!t&&!e)throw new Error(We(86));return t}const Lv=c.createContext({elementRef:{current:null},formRef:{current:{fields:new Map}},errors:{},clearErrors:ot,validationMode:"onSubmit",submitAttemptedRef:{current:!1}});function Po(){return c.useContext(Lv)}const Fv=c.createContext({controlId:void 0,registerControlId:ot,labelId:void 0,setLabelId:ot,messageIds:[],setMessageIds:ot,getDescriptionProps:e=>e});function An(){return c.useContext(Fv)}function Wa(e,t,n,o=!0,r){const[s,i]=c.useState(),a=st(r?`${r}-label`:void 0),l=e??t??s;return pe(()=>{const u=e||t||!o?void 0:zv(n.current,a);s!==u&&i(u)}),l}function zv(e,t){const n=Vv(e);if(n)return!n.id&&t&&(n.id=t),n.id||void 0}function Vv(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 Mo(e={}){const{id:t,implicit:n=!1,controlRef:o}=e,{controlId:r,registerControlId:s}=An(),i=st(t),a=n?r:void 0,l=gt(()=>Symbol()),u=c.useRef(!1),d=c.useRef(t!=null),p=he(()=>{!u.current||s===ot||(u.current=!1,s(l.current,void 0))});return pe(()=>{if(s===ot)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}function $v(e,t){const n=st(e);return pe(()=>(t(n),()=>{t(o=>o===n?void 0:o)}),[n,t]),n}function Hv(e,t){return e.matches(":disabled")?!1:!t||e.form===t?!0:e.form===null&&!e.hasAttribute("form")}const jv=c.createContext({disabled:!1});function ef(){return c.useContext(jv)}function Ht({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 To(e,t,n,o,r=!0,s){const{registerFieldControl:i}=Zt(),a=gt(()=>Symbol());pe(()=>{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]),pe(()=>{const l=a.current;return()=>{i(l,void 0)}},[i,a])}const Bv=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}=Po(),T=m||l,E=g??i,N={...h,disabled:T},{labelId:O}=An(),D=Mo({id:s});pe(()=>{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);pe(()=>{p&&A.current===pt(Ie(A.current))&&w(!0)},[p,w]);const[P]=Ht({controlled:a,default:d,name:"FieldControl",state:"value"}),z=a!==void 0,F=z?P:void 0,I=he(()=>{var M;return(M=C.inputRef.current)==null?void 0:M.value});return To(C.inputRef,D,F,I,!T,i),Re("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:Gn})}),BE=c.forwardRef(function(t,n){return Y.jsx(Bv,{ref:n,...t})});function Wv(e){const t=c.useRef(!0);t.current&&(t.current=!1,e())}function Uv(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 tf(e){return e==null||e.hasAttribute("disabled")||e.getAttribute("aria-disabled")==="true"}const nf=c.createContext(null);function Qt(){const e=c.useContext(nf);if(e===null)throw new Error(We(60));return e}const qv=(e,t)=>Object.is(e,t);function bo(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:bo(o,t,n))}function Gv(e,t,n){return e.filter(o=>!bo(t,o,n))}function ps(e){if(e==null)return"";if(typeof e=="string")return e;try{return JSON.stringify(e)}catch{return String(e)}}function of(e){return e!=null&&e.length>0&&typeof e[0]=="object"&&e[0]!=null&&"items"in e[0]}function Yv(e){if(!Array.isArray(e))return e!=null&&"null"in e;const t=e;if(of(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 rf(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 sf(e,t,n){function o(){return rf(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=of(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 Xv(e,t,n){return e.reduce((o,r,s)=>(s>0&&o.push(", "),o.push(Y.jsx(c.Fragment,{children:sf(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?Yv(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=>bo(t,r,n)):bo(t,o,n)},isSelectedByFocus:(e,t)=>e.selectedIndex===t,popupProps:e=>e.popupProps,triggerProps:e=>e.triggerProps,triggerElement:e=>e.triggerElement,positionerElement:e=>e.positionerElement,listElement:e=>e.listElement,popupSide:e=>e.popupSide,scrollUpArrowVisible:e=>e.scrollUpArrowVisible,scrollDownArrowVisible:e=>e.scrollDownArrowVisible,hasScrollArrows:e=>e.hasScrollArrows};function Ua(e,t,n=(o,r)=>o===r){return e.length===t.length&&e.every((o,r)=>n(o,t[r]))}function ut(e,t=Number.MIN_SAFE_INTEGER,n=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,n))}const zt=1;function qa(e,t){return Math.max(0,e-t)}function vo(e,t){if(t<=0)return 0;const n=ut(e,0,t),o=n,r=t-n,s=o<=zt,i=r<=zt;return s&&i?o<=r?0:t:s?0:i?t:n}function WE(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=qv,highlightItemOnHover:C=!0,children:k}=e,{clearErrors:T}=Po(),{setDirty:E,setTouched:N,setFocused:O,validityData:D,setFilled:A,name:P,disabled:z,validation:F,validationMode:I}=Zt(),_=Mo({id:t}),M=z||p,L=P??l,[H,$]=Ht({controlled:n,default:x?o??Vt:o,name:"Select",state:"value"}),[U,q]=Ht({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),G=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}=On(U),{openMethod:ce,triggerProps:oe}=Jd(U),le=gt(()=>new ko({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=Uv(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=rt(fe),qe=he(()=>De);To(Me,_,H,qe,!M,l);const Le=c.useRef(H),ze=x?Array.isArray(H)&&H.length>0:H!=null&&ye!=="";pe(()=>{A(ze)},[ze,A]),pe(function(){let He=H,dt=!1;if(x){const kt=Array.isArray(H)?H:[];dt=kt.length===0,He=kt[kt.length-1]}const Lt=dt?-1:Ur(ne.current,He,R),xt=Lt===-1?null:Lt;xt===null&&(ie.current=null),!U&&le.set("selectedIndex",xt)},[x,U,H,R,le]);function et(Ce){const He=D.initialValue;return Array.isArray(Ce)&&Array.isArray(He)?!Ua(Ce,He,(dt,Lt)=>bo(dt,Lt,R)):Ce!==He}Eo(H,()=>{T(L),E(et(H)),F.change(H)});const Te=he((Ce,He)=>{a==null||a(Ce,He),!He.isCanceled&&(q(Ce),!Ce&&(He.reason===vn||He.reason===Rs)&&(N(!0),O(!1),I==="onBlur"&&F.commit(H)))}),be=he(()=>{J(!1),le.update({activeIndex:null,openMethod:null,scrollUpArrowVisible:!1,scrollDownArrowVisible:!1}),b==null||b(!1)});It({enabled:!g,open:U,ref:j,onComplete(){U||be()}}),c.useImperativeHandle(g,()=>({unmount:be}),[be]);const Ve=he((Ce,He)=>{r==null||r(Ce,He),!He.isCanceled&&$(Ce)}),Fe=he(Ce=>{const He=qa(Ce.scrollHeight,Ce.clientHeight),dt=vo(Ce.scrollTop,He),Lt=dt>0,xt=dt<He;le.set("scrollUpArrowVisible",Lt),le.set("scrollDownArrowVisible",xt)}),je=ov({open:U,onOpenChange:Te,elements:{reference:fe,floating:te}}),Je=Ds(je,{enabled:!f&&!M,event:"mousedown"}),lt=sr(je),we=Ud(je,{enabled:!f&&!M,listRef:V,activeIndex:W,selectedIndex:Q,disabledIndices:Vt,onNavigate(Ce){Ce===null&&!U||le.set("activeIndex",Ce)},focusItemOnHover:C}),Be=qd(je,{enabled:!f&&!M&&(U||!x),listRef:X,activeIndex:W,selectedIndex:Q,disabledIndices:Ce=>tf(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(Be.reference,we.reference,lt.reference,Je.reference,oe),[Je.reference,Be.reference,we.reference,lt.reference,oe]),ct=c.useMemo(()=>Et(ir,Be.floating,we.floating,lt.floating),[Be.floating,we.floating,lt.floating]),yt=we.item??Ke;Wv(()=>{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:je,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:G,selectedItemTextRef:ie,validation:F,onOpenChangeComplete:b,alignItemWithTriggerActiveRef:ue,initialValueRef:Le}),[le,je,y,M,f,x,C,Ve,Te,yt,F,b,Fe]),Oe=Tt(m,F.inputRef),$e=x?void 0:L,Ge=c.useMemo(()=>!x||!Array.isArray(H)||!L?null:H.map(Ce=>{const He=so(Ce,S);return Y.jsx("input",{type:"hidden",form:u,name:L,value:He,disabled:M},He)}),[x,H,u,L,S,M]);return Y.jsxs(nf.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 He=Ce.currentTarget.value,dt=ke(Rt,Ce.nativeEvent);function Lt(){if(x)return;const xt=He.toLowerCase();let kt=ne.current.findIndex(Ao=>so(Ao,S).toLowerCase()===xt||rf(Ao,w).toLowerCase()===xt);kt===-1&&(kt=ne.current.findIndex((Ao,Dn)=>{const mr=X.current[Dn];return mr!=null&&mr.toLowerCase()===xt}));const fn=ne.current[kt];fn!=null&&Ve(fn,dt)}le.set("forceMount",!0),queueMicrotask(Lt)}}),id:_&&$e==null?`${_}-hidden-input`:void 0,form:u,name:$e,autoComplete:d,value:ye,disabled:M,required:y&&!(x&&ze),readOnly:f,ref:Oe,style:L?Is:Sn,tabIndex:-1,"aria-hidden":!0,suppressHydrationWarning:!0}),Ge]})}function Kv(e){return e==null?void 0:`${e}-label`}function af(e,t){return e??t}const Mr=5;function cf(e,t){const n=Zv(t);return e.clientX>=n.left-Mr&&e.clientX<=n.right+Mr&&e.clientY>=n.top-Mr&&e.clientY<=n.bottom+Mr}function Zv(e){const t=e.getBoundingClientRect(),n=Xe(e);if(ba)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 Qv=400,Jv={...Yo,...Gn,popupSide:e=>e?{"data-popup-side":e}:null,value:()=>null},UE=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=af(g,F);Mo({id:M});const H=rt(D),$=c.useRef(null),{getButtonProps:U,buttonRef:q}=Mt({disabled:k,native:a}),V=m.useStateSetter("triggerElement"),X=nt(),j=nt(),K=nt();c.useEffect(()=>{if(T)return K.start(Qv,()=>{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=ts(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(G){p(!0),T&&R.current&&b(!1,ke(Rt,G.nativeEvent)),X.start(0,()=>{m.set("forceMount",!0)})},onBlur(G){ve(D,G.relatedTarget)||(d(!0),p(!1),f==="onBlur"&&x.commit(N))},onMouseDown(G){if(T)return;const ie=Ie(G.currentTarget);function ge(ue){if(!$.current)return;const Z=ue.target;ve($.current,Z)||ve(H.current,Z)||cf(ue,$.current)||b(!1,ke(ga,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 Re("button",t,{ref:[n,$,q,V],state:ne,stateAttributesMapping:Jv,props:se})}),e2={value:()=>null},qE=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=Xv(p,f,y):v=sf(p,f,y),Re("span",t,{state:b,ref:[n,d],props:[{children:v},l],stateAttributesMapping:e2})}),GE=c.forwardRef(function(t,n){const{render:o,className:r,style:s,...i}=t,{store:a}=Qt(),u={open:Ee(a,Pe.open)};return Re("span",t,{state:u,ref:n,props:[{"aria-hidden":!0,children:"▼"},i],stateAttributesMapping:xs})}),YE=c.forwardRef(function(t,n){const{store:o}=Qt(),r=Ee(o,Pe.mounted),s=Ee(o,Pe.forceMount);return r||s?Y.jsx(As,{ref:n,...t}):null}),lf=c.createContext({register:()=>{},unregister:()=>{},subscribeMapChange:()=>()=>{},nextIndexRef:{current:0}});function t2(){return c.useContext(lf)}function cr(e){const{children:t,elementsRef:n,labelsRef:o,onMapChange:r}=e,s=he(r),[,i]=c.useState(!1),a=gt(o2).current,l=gt(n2).current,u=c.useRef(0),d=c.useRef(!0),p=c.useRef([]),f=c.useRef(null),y=he(()=>{d.current||(d.current=!0,i(S=>!S))}),h=he((S,R)=>{l.set(S,R),y()}),g=he(S=>{l.delete(S),y()}),m=he(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(!i2(T))return;let E=null;for(const N of S)if(N.isConnected){if(E&&uf(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=s2(S[T-1],S[T]);E&&C.add(E)}C.forEach(T=>R.observe(T,{childList:!0}))}const v=he(()=>{const[S,R]=r2(l),C=m(S);b(R),p.current=S,d.current=!1,a.forEach(k=>k(C)),s(C)});pe(()=>(d.current||m(p.current),()=>{n.current=[],o&&(o.current=[])}),[n,o,m]),pe(()=>{d.current&&v()}),pe(()=>()=>{var S;(S=f.current)==null||S.disconnect(),d.current=!0},[]);const x=he(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(lf.Provider,{value:w,children:t})}function n2(){return new Map}function o2(){return new Set}function r2(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)=>uf(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 s2(e,t){let n=e.parentElement;for(;n&&!n.contains(t);)n=n.parentElement;return n}function i2(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 uf(e,t){return e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING?-1:1}const a2=c.createContext(void 0);function Nn(){const e=c.useContext(a2);return(e==null?void 0:e.direction)??"ltr"}const c2=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=ad(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=id(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}}}),l2=(e,t)=>({...c2(e),options:[e,t]}),u2={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}}}},d2={sideX:"left",sideY:"top"},El="--available-width",Pl="--available-height";function df(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 Ml(e,t,n){const{rects:o,placement:r}=e;return{side:df(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 Zs(e){return f2(e,rv)}function f2(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=he(A),z=A?P:n,F=rt(n),I=rt(m),M=Nn()==="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,q=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=rt(s),ne=rt(a),re=typeof s!="function"?s:0,G=typeof a!="function"?a:0,ie=[];y&&ie.push(y),ie.push(Nb(we=>{const Be=Ml(we,r,M),tt=typeof se.current=="function"?se.current(Be):se.current,ct=typeof ne.current=="function"?ne.current(Be):ne.current;return{mainAxis:tt,crossAxis:ct,alignmentAxis:ct}},[re,G,M,r]));const ge=E==="none"&&T!=="shift",ue=!ge&&(d||O||T==="shift"),Z=T==="none"?null:Lb({...K,padding:{top:$.top+U+q,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:Db({...K,rootBoundary:D,mainAxis:E!=="none",crossAxis:ue,limiter:d||O?void 0:_b(we=>{if(!de.current)return{};const{width:Be,height:tt}=de.current.getBoundingClientRect(),ct=At(Nt(we.placement)),yt=ct==="y"?Be: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(Fb({...K,apply({elements:{floating:we},availableWidth:Be,availableHeight:tt,rects:ct}){if(!I.current)return;const yt=we.style;yt.setProperty(El,`${Be}px`),yt.setProperty(Pl,`${tt}px`);const vt=Xe(we).devicePixelRatio||1,{x:Oe,y:$e,width:Ge,height:Ce}=ct.reference,He=(Math.round((Oe+Ge)*vt)-Math.round(Oe*vt))/vt,dt=(Math.round(($e+Ce)*vt)-Math.round($e*vt))/vt;yt.setProperty("--anchor-width",`${He}px`),yt.setProperty("--anchor-height",`${dt}px`)}}),l2(we=>({element:de.current||Ie(we.elements.floating).createElement("div"),padding:p,offsetParent:"floating"}),[p]),{name:"transformOrigin",fn(we){var Sc,Rc,kc;const{elements:Be,middlewareData:tt,placement:ct,rects:yt,y:vt}=we,Oe=Nt(ct),$e=At(Oe),Ge=de.current,Ce=((Sc=tt.arrow)==null?void 0:Sc.x)||0,He=((Rc=tt.arrow)==null?void 0:Rc.y)||0,dt=(Ge==null?void 0:Ge.clientWidth)||0,Lt=(Ge==null?void 0:Ge.clientHeight)||0,xt=Ce+dt/2,kt=He+Lt/2,fn=Math.abs(((kc=tt.shift)==null?void 0:kc.y)||0),Ao=yt.reference.height/2,Dn=typeof s=="function"?s(Ml(we,r,M)):s,mr=fn>Dn,ch={top:`${xt}px calc(100% + ${Dn}px)`,bottom:`${xt}px ${-Dn}px`,left:`calc(100% + ${Dn}px) ${kt}px`,right:`${-Dn}px ${kt}px`}[Oe],lh=`${xt}px ${yt.reference.y+Ao-vt}px`;return Be.floating.style.setProperty("--transform-origin",ue&&$e==="y"&&mr?lh:ch),{}}},u2,w),pe(()=>{!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:(...we)=>ul(...we,ae),nodeId:x,externalTree:R}),{sideX:De,sideY:Me}=Q.adaptiveOrigin||d2,qe=me?o:"fixed",Le=c.useMemo(()=>{let we;return me?w?we={position:qe,[De]:le,[Me]:W}:we={...ye,position:qe}:we={position:qe,top:0,left:0},we[El]="100vw",we[Pl]="100vh",me||(we.opacity=0),we},[w,qe,De,le,Me,W,ye,me]),ze=c.useRef(null);pe(()=>{if(!m)return;const we=F.current,Be=typeof we=="function"?we():we,ct=(Tl(Be)?Be.current:Be)||null||null;ct!==ze.current&&(ce.setPositionReference(ct),ze.current=ct)},[m,ce,z,F]),c.useEffect(()=>{if(!m)return;const we=F.current;typeof we!="function"&&Tl(we)&&we.current!==ze.current&&(ce.setPositionReference(we.current),ze.current=we.current)},[m,ce,z,F]),c.useEffect(()=>{if(h&&m&&oe.reference&&oe.floating)return ul(oe.reference,oe.floating,fe,ae)},[h,m,oe,fe,ae]);const et=Nt(te),Te=df(r,et,M),be=Mn(te)||"center",Ve=!!((Je=Q.hide)!=null&&Je.referenceHidden);pe(()=>{S&&m&&me&&et!==L&&k(et)},[S,m,me,et,L]);const Fe=c.useMemo(()=>{var we,Be;return{position:"absolute",top:(we=Q.arrow)==null?void 0:we.y,left:(Be=Q.arrow)==null?void 0:Be.x}},[Q.arrow]),je=((lt=Q.arrow)==null?void 0:lt.centerOffset)!==0;return c.useMemo(()=>({positionerStyles:Le,arrowStyles:Fe,arrowRef:de,arrowUncentered:je,side:Te,align:be,physicalSide:et,anchorHidden:Ve,refs:ce,context:ee,isPositioned:me,update:fe}),[Le,Fe,de,je,Te,be,et,Ve,ce,ee,me,fe])}function Tl(e){return e!=null&&"current"in e}const ff=c.createContext(void 0);function Ga(){const e=c.useContext(ff);if(!e)throw new Error(We(59));return e}function hs(e,t){e&&Object.assign(e.style,t)}const pf={position:"relative",maxHeight:"100%",overflowX:"hidden",overflowY:"auto"};function lr(e){return e==="starting"?Uy:Ke}function Qs(e,t,{styles:n,transitionStatus:o,props:r,refs:s,hidden:i,inert:a=!1}){const l={...n};return a&&(l.pointerEvents="none"),Re("div",e,{state:t,ref:s,props:[{role:"presentation",hidden:i,style:l},lr(o),r],stateAttributesMapping:ws})}const p2=20;function Ya(e,t,n,o){const[r,s]=c.useState(!1);pe(()=>{if(!e||!t||n==null){s(!1);return}const i=Ie(n).documentElement.clientWidth,a=n.offsetWidth;s(i>0&&a>0&&a>=i-p2)},[e,t,n]),Zd(e&&(!t||r),o)}const h2={position:"fixed"},XE=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=xd,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),[q,V]=c.useState(m),X=P&&q&&I!=="touch";!P&&q!==m&&V(m),c.useImperativeHandle(C,()=>X),Ya((X||z)&&A,I==="touch",_,M);const j=Zs({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?h2:j.positionerStyles,se={open:A,side:K,align:j.align,anchorHidden:j.anchorHidden};pe(()=>{w.set("popupSide",j.side)},[w,j.side]);const ne=w.useStateSetter("positionerElement"),re=Qs(t,se,{styles:de,transitionStatus:H,props:x,refs:[n,ne],hidden:!P,inert:!A}),G=c.useRef(0),ie=he(ue=>{if(T.current.length===0)return;const Z=G.current;if(G.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:""};hs(_,ae),hs(N.current,ae)}}),ge=c.useMemo(()=>({...j,side:K,alignItemWithTriggerActive:X,setControlledAlignItemWithTrigger:V,scrollUpArrowRef:$,scrollDownArrowRef:U}),[j,K,X,V]);return Y.jsx(cr,{elementsRef:S,labelsRef:R,onMapChange:ie,children:Y.jsxs(ff.Provider,{value:ge,children:[P&&z&&Y.jsx(Xs,{inert:ar(!A),cutout:M}),re]})})}),Tr="base-ui-disable-scrollbar",Qo={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}`})}},g2=c.createContext(void 0);function Js(e){return c.useContext(g2)}const m2=c.createContext(void 0),y2={disableStyleElements:!1};function Xa(){return c.useContext(m2)??y2}const b2={...ws,...Xt},KE=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}=Ga(),E=Js()!=null,N=Nn(),{nonce:O,disableStyleElements:D}=Xa(),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),q=c.useRef({}),V=$n(),X=he(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 G=Ol(L),ie=$o(L.getBoundingClientRect().height,"y",G),ge=Ie(L),ue=Xe(L),Z=ue.getComputedStyle(L),J=parseFloat(Z.marginTop),ae=parseFloat(Z.marginBottom),ce=Il(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<=zt){const ye=ut(te,0,oe-ie);ye>0&&fe(ie+ye),se.scrollTop=ne?W:0,oe-(ie+ye)<=zt&&($.current=!0),m(se);return}if(oe-ee>zt)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)>zt&&(se.scrollTop=ye)}me>=oe-zt&&($.current=!0),m(se)});c.useImperativeHandle(b,()=>X,[X]),It({open:P,ref:u,onComplete(){P&&(d==null||d(!0))}});const j={open:P,transitionStatus:_,side:S,align:R};pe(()=>{!L||!u.current||Object.keys(q.current).length||(q.current={top:L.style.top||"0",left:L.style.left||"0",right:L.style.right,height:L.style.height,bottom:L.style.bottom,minHeight:L.style.minHeight,maxHeight:L.style.maxHeight,marginTop:L.style.marginTop,marginBottom:L.style.marginBottom})},[u,L]),pe(()=>{P||C||(U.current=!1,$.current=!1,hs(L,q.current))},[P,C,L,u]),pe(()=>{var re,G;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=v2(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=Ol(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=Il(J),Me=5,qe=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 $e=Or(ge.getBoundingClientRect(),ce);be=Or(ie.getBoundingClientRect(),ce),Ve=le.left+(N==="rtl"?$e.right-be.right:$e.left-be.left);const Ge=$e.top-oe.top+$e.height/2;Fe=be.top-le.top+be.height/2-Ge}const je=Te+Fe+me+te;let Je=Math.min(ze,je);const lt=ze-ee-me,we=je-Je,Be=et-qe;L.style.left=`${ut(Ve,Me,Be-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=we>=tt-zt;ct&&(Je=Math.min(ze,le.height)-(we-tt));const yt=oe.top<Le||oe.bottom>ze-Le||Math.ceil(Je)+zt<Math.min(fe,ye),vt=(((G=ue.visualViewport)==null?void 0:G.scale)??1)!==1&&Kt;if(yt||vt){hs(L,q.current),T(!1);return}const Oe=Math.max(ye,Je);if(ct){const $e=Math.max(0,ze-je);L.style.top=le.height>=lt?"0":`${$e}px`,L.style.height=`${Je}px`,Q.scrollTop=Ir(Q)}else L.style.bottom="0",Q.scrollTop=we;if(be){const $e=le.top,Ge=le.height,Ce=be.top+be.height/2,He=ut(Ge>0?(Ce-$e)/Ge*100:50,0,100);se.style.setProperty("--transform-origin",`50% ${He}%`)}(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(iy,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%"}:pf},className:!H&&C?Qo.className:void 0},de=Re("div",t,{ref:[n,u],state:j,stateAttributesMapping:b2,props:[I,K,lr(_),a]});return Y.jsxs(c.Fragment,{children:[!D&&Qo.getElement(O),Y.jsx(Ns,{context:w,modal:!1,disabled:!F,openInteractionType:z,returnFocus:i,restoreFocus:!0,children:de})]})});function Il(e){const t=e.maxHeight;return t.endsWith("px")&&parseFloat(t)||1/0}function Ir(e){return qa(e.scrollHeight,e.clientHeight)}function Ol(e){return Dd.getScale(e)}function $o(e,t,n){return e/n[t]}function Or(e,t){return Ko({x:$o(e.x,"x",t),y:$o(e.y,"y",t),width:$o(e.width,"x",t),height:$o(e.height,"y",t)})}const Al=[["transform","none"],["scale","1"],["translate","0 0"]];function v2(e){const{style:t}=e,n={};for(const[o,r]of Al)n[o]=t.getPropertyValue(o),t.setProperty(o,r,"important");return()=>{for(const[o]of Al){const r=n[o];r?t.setProperty(o,r):t.removeProperty(o)}}}const ZE=c.forwardRef(function(t,n){const{render:o,className:r,style:s,...i}=t,{store:a,scrollHandlerRef:l,multiple:u}=Qt(),{alignItemWithTriggerActive:d}=Ga(),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:pf},className:p&&f!=="touch"?Qo.className:void 0},g=a.useStateSetter("listElement");return Re("div",t,{ref:[n,g],props:[h,i]})});function ur(e={}){const{guess:t,label:n,metadata:o,textRef:r,index:s}=e,{register:i,unregister:a,subscribeMapChange:l,nextIndexRef:u}=t2(),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 pe(()=>{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}}const hf=c.createContext(void 0);function Ka(){const e=c.useContext(hf);if(!e)throw new Error(We(57));return e}const QE=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=ur({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);pe(()=>{const V=x.current;return V[A]=i,()=>{delete V[A]}},[A,i,x]),pe(()=>{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&&bo(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?Gv(j,i,D):[...j,i];m(K,ke(jo,V))}else m(i,ke(jo,V)),g(!1,ke(jo,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&&va(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=Re("div",t,{ref:[_,n,f.ref,P],state:M,props:[h,$,d,I]}),q=c.useMemo(()=>({selected:N,index:A,textRef:p,selectedByFocus:O}),[N,A,p,O]);return Y.jsx(hf.Provider,{value:q,children:U})})),JE=c.forwardRef(function(t,n){const{selected:o}=Ka();return t.keepMounted||o?Y.jsx(x2,{...t,ref:n}):null}),x2=c.memo(c.forwardRef((e,t)=>{const{render:n,className:o,style:r,keepMounted:s,...i}=e,{selected:a}=Ka(),l=c.useRef(null),{transitionStatus:u,setMounted:d}=On(a),f=Re("span",e,{ref:[t,l],state:{selected:a,transitionStatus:u},props:[{"aria-hidden":!0,children:"✔️"},i],stateAttributesMapping:Xt});return It({open:a,ref:l,onComplete(){a||d(!1)}}),f})),eP=c.memo(c.forwardRef(function(t,n){const{index:o,textRef:r,selectedByFocus:s}=Ka(),{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 Re("div",t,{ref:[f,n,r],props:p})})),gf=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}=Ga(),v=u?Pe.scrollUpArrowVisible:Pe.scrollDownArrowVisible,x=Ee(d,v),w=Ee(d,Pe.openMethod),S=x&&w!=="touch",R=nt(),C=u?b:m,{mounted:k,transitionStatus:T,setMounted:E}=On(S);pe(()=>(h.current+=1,d.set("hasScrollArrows",!0),()=>{h.current=Math.max(0,h.current-1),h.current===0&&d.set("hasScrollArrows",!1)}),[d,h]),It({open:S,ref:C,onComplete(){S||E(!1)}});const D=Re("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),_=vo(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=w2(L,u,_,F.clientHeight,$,I)}R.start(40,z)}R.start(40,z)},onMouseLeave(){R.clear()}},l],stateAttributesMapping:Xt});return k||a?D:null});function w2(e,t,n,o,r,s){if(t){let d=0;const p=n+r-zt;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?vo(y.offsetTop-r,s):0}let i=e.length-1;const a=n+o-r+zt;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?vo(u.offsetTop+u.offsetHeight-o+r,s):s}const tP=c.forwardRef(function(t,n){return Y.jsx(gf,{...t,ref:n,direction:"down"})}),nP=c.forwardRef(function(t,n){return Y.jsx(gf,{...t,ref:n,direction:"up"})}),S2=c.createContext(void 0),oP=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=Re("div",t,{ref:n,props:[{role:"group","aria-labelledby":a},i]});return Y.jsx(S2.Provider,{value:u,children:d})});function rP(e){return Re(e.defaultTagName??"div",e,e)}const mf=c.createContext(void 0);function dr(e){const t=c.useContext(mf);if(t===void 0&&!e)throw new Error(We(47));return t}const R2={...qs,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 k2 extends ko{constructor(n,o,r){const s=new Co;super(C2(n,s,o,r),E2(s),R2);Ue(this,"setOpen",(n,o)=>{var p,f;const r=o.reason===it,s=o.reason===$t&&o.event.detail===0,i=!n&&(o.reason===or||o.reason==null),a=_a(o),l=this.select("activeTriggerId");if(!n&&o.reason===Zu&&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};$s(y,n,o.trigger,a()),this.update(y)};r?(this.set("stickIfOpen",!0),this.context.stickIfOpenTimeout.start(vd,()=>{this.set("stickIfOpen",!1)}),Dt.flushSync(u)):u();let d;s?d="click":i?d="dismiss":o.reason===vn&&(d="focus"),this.set("instantType",d)})}}function C2(e,t,n,o=!1){const r={...Us(),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 E2(e){return{popupRef:c.createRef(),onOpenChange:void 0,onOpenChangeComplete:void 0,triggerFocusTargetRef:c.createRef(),beforeContentFocusGuardRef:c.createRef(),stickIfOpenTimeout:new _t,triggerElements:e}}function Nl({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=P2(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),Hd(d,p),js(d);const{forceUnmount:h}=Bs(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(ks))}),[h,d]);const g=p||f;return Y.jsxs(mf.Provider,{value:d,children:[a&&Y.jsx(Vs,{handle:a,store:d}),g&&Y.jsx(M2,{store:d,modal:i}),typeof t=="function"?t({payload:y}):t]})}function sP(e){return dr(!0)?Y.jsx(Nl,{props:e}):Y.jsx(Md,{children:Y.jsx(Nl,{props:e})})}function P2(e,t){const n=Da((o,r)=>new k2(t,o,r));return c.useEffect(()=>n.context.stickIfOpenTimeout.disposeEffect(),[n]),n}function M2({store:e,modal:t}){const n=e.useState("floatingRootContext"),o=sr(n,{outsidePressEvent:{mouse:t==="trap-focus"?"sloppy":"intentional",touch:"sloppy"}}),r=o.reference,s=o.floating;return Ws(e,{activeTriggerProps:r,inactiveTriggerProps:r,popupProps:s}),null}const T2=300;function yf(e,t){const n=c.useRef(null);function o(s){Dt.flushSync(()=>{e.setOpen(!1,ke(vn,s.nativeEvent,s.currentTarget))});const i=$y(n.current);i==null||i.focus()}function r(s){var a;const i=e.select("positionerElement");if(i&&lo(s,i))(a=e.context.beforeContentFocusGuardRef.current)==null||a.focus();else{Dt.flushSync(()=>{e.setOpen(!1,ke(vn,s.nativeEvent,s.currentTarget))});let l=Vy(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}}const iP=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=T2,closeDelay:f=0,id:y,...h}=t,g=dr(!0),b=Gs(l)??g;if(!b)throw new Error(We(74));const v=st(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}=Hs(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!==$t),mouseOnly:!0,move:!1,handleClose:ja(),restMs:p,delay:{close:f},triggerElementRef:C,isActiveTrigger:x,isClosing:()=>b.select("transitionStatus")==="ending"}),P=Ds(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===$t?Yo.open(X):xs.open(X)}},{preFocusGuardRef:L,handlePreFocusGuardFocus:H,handleFocusTargetFocus:$}=yf(b,C),q=Re("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:q},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}),bf=c.createContext(void 0);function I2(){const e=c.useContext(bf);if(e===void 0)throw new Error(We(45));return e}const aP=c.forwardRef(function(t,n){const{keepMounted:o=!1,...r}=t;return dr().useState("mounted")||o?Y.jsx(bf.Provider,{value:o,children:Y.jsx(As,{ref:n,...r})}):null}),vf=c.createContext(void 0);function O2(){const e=c.useContext(vf);if(!e)throw new Error(We(46));return e}const cP=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=dr(),w=I2(),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=zs(D),_=Zs({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");pe(()=>{const q=M,V=F.current;if(q&&(F.current=q),V&&q&&q!==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;Ya(k&&L,O==="touch",D,E);const H=x.useStateSetter("positionerElement"),$={open:k,side:_.side,align:_.align,anchorHidden:_.anchorHidden,instant:A},U=Qs(t,$,{styles:_.positionerStyles,transitionStatus:P,props:v,refs:[n,H],hidden:!C,inert:!k});return Y.jsxs(vf.Provider,{value:_,children:[C&&L&&Y.jsx(Xs,{inert:ar(!k),cutout:E}),Y.jsx(Pd,{id:S,children:U})]})}),A2=c.createContext(void 0);function N2(){const[e,t]=c.useState(0),n=he(()=>(t(r=>r+1),()=>{t(r=>Math.max(0,r-1))}));return{context:c.useMemo(()=>({register:n}),[n]),hasClosePart:e>0}}const lP=c.forwardRef(function(t,n){const{render:o,className:r,style:s,initialFocus:i,finalFocus:a,...l}=t,u=dr(),d=O2(),p=Js()!=null,{context:f,hasClosePart:y}=N2(),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");It({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?$d(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=Re("div",t,{state:F,ref:[n,u.context.popupRef,z],props:[v,{id:E,role:"dialog",...ir,"aria-labelledby":x,"aria-describedby":w,onKeyDown(_){p&&qn.has(_.key)&&_.stopPropagation()}},lr(b),l],stateAttributesMapping:Ss});return Y.jsx(Ns,{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(A2.Provider,{value:f,children:I})})});function Dl(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(yo(n)!==s||yo(o)!==i)&&(n=s,o=i),{width:n,height:o}}const Wi={checked(e){return e?{"data-checked":""}:{"data-unchecked":""}},...Xt,...Gn},Za="data-composite-item-active";function xf(e={}){const{highlightItemOnHover:t,highlightedIndex:n,onHighlightedIndexChange:o}=vs(),{ref:r,index:s}=ur(e),i=n===s,a=c.useRef(null),l=Tt(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 Qa(e){const{render:t,className:n,style:o,state:r=Ke,props:s=Vt,refs:i=Vt,metadata:a,stateAttributesMapping:l,tag:u="div",...d}=e,{compositeProps:p,compositeRef:f}=xf({metadata:a});return Re(u,e,{state:r,ref:[f,...i],props:[p,...s,d],stateAttributesMapping:l})}const wf=c.createContext(void 0);function D2(){return c.useContext(wf)}const Sf=c.createContext(void 0);function _2(){const e=c.useContext(Sf);if(e===void 0)throw new Error(We(52));return e}const uP=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=D2(),{disabled:m,readOnly:b,required:v,form:x,checkedValue:w,touched:S=!1,validation:R,name:C,setCheckedValue:k=ot,setTouched:T=ot,registerInputRef:E=ot}=g??{},{setTouched:N,setFilled:O,state:D,disabled:A}=Zt(),P=ef(),{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),q=R==null?void 0:R.registerInput,V=c.useCallback(oe=>q==null?void 0:q(oe,{controlRef:$,value:void 0}),[q]),X=Tt(d,U,E,V);pe(()=>{var oe;(oe=U.current)!=null&&oe.checked&&O(!0)},[O]),pe(()=>{if(U.current){if(I&&H){E(null);return}E(U.current)}},[H,I,E]);const j=st(),K=Mo({id:f,implicit:!1,controlRef:$}),de=p?void 0:K,se=Wa(l,z,U,!p,de),ne={role:"radio","aria-checked":H,"aria-labelledby":se,[Za]: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&&zn(le,oe)},onFocus(oe){var le;oe.defaultPrevented||I||_||!S||((le=U.current)==null||le.click(),T(!1))}},{getButtonProps:re,buttonRef:G}=Mt({disabled:I,native:p,composite:!1}),ie={type:"radio",ref:X,form:L,id:de,name:C,tabIndex:-1,style:C?Is: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,$,G],ae=[ne,h,re,F,R?oe=>R.getValidationProps(I,oe):Ke],ce=Re("span",t,{enabled:!Z,state:ge,ref:J,props:ae,stateAttributesMapping:Wi});return Y.jsxs(Sf.Provider,{value:ue,children:[Z?Y.jsx(Qa,{tag:"span",render:o,className:r,style:y,state:ge,refs:J,props:ae,stateAttributesMapping:Wi}):ce,Y.jsx("input",{...ie,suppressHydrationWarning:!0})]})}),dP=c.forwardRef(function(t,n){const{render:o,className:r,style:s,keepMounted:i=!1,...a}=t,l=_2(),u=l.checked,{mounted:d,transitionStatus:p,setMounted:f}=On(u),y={...l,transitionStatus:p},h=c.useRef(null),g=i||d,m=Re("span",t,{ref:[n,h],state:y,props:a,stateAttributesMapping:Wi});return It({open:u,ref:h,onComplete(){u||f(!1)}}),g?m:null}),L2=[];function F2(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=L2}=e,[y,h]=c.useState(0),g=o!=null,m=c.useRef(null),b=Tt(m,l),v=c.useRef([]),x=c.useRef(!1),w=i??y,S=he((E,N=!1)=>{if((a??h)(E),N){const O=v.current[E];xl(m.current,O,s,n)}}),R=he(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(Za))??null,D=O?((A=E.get(O))==null?void 0:A.index)??-1:-1;if(D!==-1)S(D);else if(os(N,w,p)){const P=nn(N,{disabledIndices:p});Bo(N,P)||S(P)}xl(m.current,O,s,n)});pe(()=>{if(p==null||i!=null||!x.current)return;const E=v.current;if(os(E,w,p)){const N=nn(E,{disabledIndices:p});Bo(E,N)||S(N)}},[p,i,w,v,S]);const C=he((E,N,O)=>r?r(E,N,O,v):O),k=he(E=>{const N=E.key===ds||E.key===fs;if(!qn.has(E.key)||!u&&N||z2(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&&vl(I)&&!tf(I)){const U=I.selectionStart,q=I.selectionEnd,V=I.value;if(U==null||E.shiftKey||U!==q||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&&!Bo(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||!vl(O)||O.setSelectionRange(0,O.value.length)},onKeyDown:k},highlightedIndex:w,onHighlightedIndexChange:S,elementsRef:v,onMapChange:R,relayKeyboardEvent:k}}function z2(e,t){for(const n of pv)if(!t.includes(n)&&e.getModifierState(n))return!0;return!1}function Ja(e){const{render:t,className:n,style:o,refs:r=Vt,props:s=Vt,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=Nn(),{props:k,highlightedIndex:T,onHighlightedIndexChange:E,elementsRef:N,onMapChange:O,relayKeyboardEvent:D}=F2({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=Re(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(Ou.Provider,{value:P,children:Y.jsx(cr,{elementsRef:N,onMapChange:z=>{g==null||g(z),O(z)},children:A})})}const V2=[Kd],fP=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}=Po(),A=_v(!0),P=S||s,z=w??f,F=st(h),[I,_]=Ht({controlled:u,default:d,name:"RadioGroup",state:"value"}),[M,L]=c.useState(!1),H=he((G,ie)=>{l==null||l(G,ie),!ie.isCanceled&&_(G)}),$=C.getInputControl,U=c.useMemo(()=>({get current(){return $()}}),[$]),q=c.useRef(null),V=c.useRef(null);function X(G){let ie;return y&&(typeof y=="function"?ie=y(G):y.current=G),q.current=G,ie}const j=he(G=>{if(!G||G.disabled)return;V.current||(V.current=G);const ie=q.current,ge=G.checked||ie==null||ie.disabled?X(G):void 0;return()=>{V.current===G&&(V.current=null),q.current===G?ge?(ge(),q.current=null):X(null):ge==null||ge()}}),K=he(()=>{const G=D.current;if(!G)return I??null;for(const ie of C.registeredInputs.keys())if(ie.checked&&Hv(ie,G))return I??null;return null});To(U,F,I??null,K,!P,f),Eo(I,()=>{O(z),k(I!==E.initialValue),T(I!=null),C.change(I);const G=V.current;I==null&&G&&!G.disabled&&X(G)});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(G){ve(G.currentTarget,G.relatedTarget)||(b(!0),v(!1),x==="onBlur"&&C.commit(I))},onKeyDownCapture(G){G.key.startsWith("Arrow")&&(L(!0),v(!0))}};return Y.jsx(wf.Provider,{value:ne,children:Y.jsx(Ja,{render:o,className:r,style:g,state:se,props:[re,m,G=>C.getValidationProps(P??!1,G)],refs:[n],stateAttributesMapping:Gn,enableHomeAndEndKeys:!1,modifierKeys:V2})})}),Rf=c.createContext(void 0);function $2(){return c.useContext(Rf)}const pP=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=st(p||void 0),m=$2(),b=(m==null?void 0:m.value)??[],v=m?void 0:r,x=(s||(m==null?void 0:m.disabled))??!1,[w,S]=Ht({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=Re("button",t,{enabled:!m,state:k,ref:T,props:E}),O=c.useMemo(()=>({disabled:x,focusableWhenDisabled:!1}),[x]);return m?Y.jsx(Qa,{tag:"button",render:u,className:o,style:y,metadata:O,state:k,refs:T,props:E}):N});function kf(e,t){return e-t}function Cf(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(kf)}function Ef(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,...Gn},Pf=c.createContext(void 0);function ei(){const e=c.useContext(Pf);if(e===void 0)throw new Error(We(62));return e}function H2(e,t){return e===t||Array.isArray(e)&&Array.isArray(t)&&Ua(e,t)}const hP=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=st(a),N=Kv(E),O=he(b),D=he(v),{clearErrors:A}=Po(),{state:P,disabled:z,name:F,setTouched:I,setDirty:_,validityData:M,validation:L}=Zt(),{labelId:H}=An(),[$,U]=c.useState(),q=o??af(H,$),V=z||i,X=F??m,[j,K]=Ht({controlled:C,default:s??y,name:"Slider"}),de=c.useRef(null),se=c.useRef(null),ne=c.useRef([]),re=c.useRef(null),G=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=he(Te=>{Z(Te),Te!==-1&&ae(Te)}),ee=he(Te=>{Te&&(se.current=Te)}),me=Array.isArray(j),ye=c.useMemo(()=>me?j.map(Te=>ut(Te,y,f)).sort(kf):[ut(j,y,f)],[f,y,me,j]),De=me?ye:ye[0];To(L.inputRef,E,De,void 0,!V,m),Eo(De,()=>{A(X),L.change(De);const Te=M.initialValue;let be;Array.isArray(De)&&Array.isArray(Te)?be=!Ua(De,Te):be=De!==Te,_(be)});const Me=he((Te,be)=>{if(Number.isNaN(Te)||H2(Te,j))return!1;const Ve=be.event,Fe=Ve.constructor,je=new Fe(Ve.type,Ve);return Object.defineProperty(je,"target",{writable:!0,value:{value:Te,name:X}}),be.event=je,O(Te,be),be.isCanceled?!1:(ge.current=be.reason,K(Te),!0)}),qe=he((Te,be,Ve)=>{const Fe=Cf(Te,be,y,f,me,ye);if(Ef(Fe,w,h)){const je="key"in Ve?ry:oy,Je=Me(Fe,ke(je,Ve.nativeEvent,void 0,{activeThumbIndex:be}));I(!0),Je&&D(Fe,Ju(je,Ve.nativeEvent))}});pe(()=>{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:qe,indicatorPosition:Q,inset:R!=="center",labelId:q,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:G,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,q,N,V,ce,L,l,qe,Q,u,J,g,d,f,y,h,X,D,x,ee,te,Me,Le,w,S,R,le,ye]),et=Re("div",t,{state:Le,ref:[n,de],props:[{"aria-labelledby":q,id:E,role:"group"},T,Te=>L.getValidationProps(V,Te)],stateAttributesMapping:fr});return Y.jsx(Pf.Provider,{value:ze,children:Y.jsx(cr,{elementsRef:ne,onMapChange:W,children:et})})});function Mf(e){return Array.isArray(e)?e.map(t=>Mf(t)).join(","):e==null?"":String(e)}const _l=new Map;function j2(e,t){const n=JSON.stringify({locale:Mf(e),options:t}),o=_l.get(n);if(o)return o;const r=new Intl.NumberFormat(e,t);return _l.set(n,r),r}function Jo(e,t,n){return e==null?"":j2(t,n).format(e)}function Tf(e,t){const n=e.getBoundingClientRect();return t?(n.top+n.bottom)/2:(n.left+n.right)/2}function Uo(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 If(e,t,n){const o=Math.round((e-n)/t)*t+n;return Number(o.toFixed(Math.max(Uo(t),Uo(n))))}function Ll(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 B2(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:Ll(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=Ll(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 W2=2;function U2(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 q2(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 gP=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=Nn(),A=O.length>1,P=g==="vertical",z=c.useRef(null),F=c.useRef(null),I=he(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),$=rt(O);function U(Z){return Z==null?void 0:Z.querySelector('input[type="range"]')}function q(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=U2(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,qe=ut((Me-te)/ee,0,1);let Le=(p-f)*qe+f;return Le=If(Le,T,f),Le=ut(Le,f,p),A?B2(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=Tf(Q,P),te=Math.abs(Z[oe]-fe);(le===void 0||te<=le)&&(ae=W,le=te)}}}if(ae>-1&&ae!==J&&q(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&&(q(Z.thumbIndex),de(Z.thumbIndex))),ce}const ne=he(Z=>{const J=q2(Z,_);if(J==null)return;if(M.current+=1,Z.type==="pointermove"&&Z.buttons===0){re(Z);return}const ae=j(J);ae!=null&&Ef(ae.value,T,y)&&(!l&&M.current>W2&&R(!0),se(ae,sy,Z))}),re=he(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,Ju(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()}),G=he(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,$c,Z),M.current=0;const oe=Ie(z.current);oe.addEventListener("touchmove",ne,{passive:!0}),oe.addEventListener("touchend",re,{passive:!0})}),ie=he(()=>{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=$n();return c.useEffect(()=>{const Z=z.current;if(!Z)return()=>ie();const J=Ae(Z,"touchstart",G,{passive:!0});return()=>{J(),ge.cancel(),ie()}},[ie,G,z,ge]),c.useEffect(()=>{a&&ie()},[a,ie]),Re("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,$c,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})}),mP=c.forwardRef(function(t,n){const{render:o,className:r,style:s,...i}=t,{state:a}=ei();return Re("div",t,{state:a,ref:n,props:[{style:{position:"relative"}},i],stateAttributesMapping:fr})}),Of="";function G2(){return ot}function Y2(){return!1}function X2(){return!0}function ec(){return Ls.useSyncExternalStore(G2,Y2,X2)}function gs(e,t,n){return(e-t)*100/(n-t)}function Af(e){const{script:t}=e,{nonce:n}=Xa();return ec()?Y.jsx("script",{nonce:n,dangerouslySetInnerHTML:{__html:t},suppressHydrationWarning:!0}):null}var Fl;const K2=new Set([...qn,Yd,Xd]);function Z2(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 Q2(e,t,n,o,r){const s=e+t*n,i=Number(s.toFixed(Math.max(Uo(e),Uo(t),Uo(o))));return ut(i,o,r)}const yP=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=st(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:q,renderBeforeHydration:V,setActive:X,setIndicatorPosition:j,state:K,step:de,thumbRefs:se,values:ne}=ei(),re=Nn(),G=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=he(Oe=>{le.current||b==null||b(Oe)}),Q=he(Oe=>{le.current||m==null||m(Oe)}),fe=st(),te=Mo(),ee=ie?fe:te,me=c.useMemo(()=>({inputId:ee}),[ee]),{ref:ye,index:De}=ur({metadata:me}),Me=ie?h??De:0,qe=Me===ne.length-1,Le=ne[Me],ze=gs(Le,_,I),[et,Te]=c.useState(),be=ec(),Ve=k>=0&&k<ne.length?k:-1,Fe=he(()=>{const Oe=T.current,$e=ce.current;if(!Oe||!$e)return;const Ge=$e.getBoundingClientRect(),Ce=Oe.getBoundingClientRect(),He=ge?"height":"width",dt=Ce[He]-Ge[He],xt=(Ge[He]/2+dt*ze/100)/Ce[He]*100,kt=Number.isFinite(xt)?xt:void 0;Te(kt),Me===0?j(fn=>[kt,fn[1]]):qe&&j(fn=>[fn[0],kt])});pe(()=>{A&&queueMicrotask(Fe)},[Fe,A]),pe(()=>{A&&Fe()},[Fe,A,ze]),pe(()=>{if(!A)return;const Oe=T.current,$e=ce.current;if(!Oe||!$e)return;const Ge=Xe(Oe).ResizeObserver;if(typeof Ge!="function")return;const Ce=new Ge(Fe);return Ce.observe(Oe),Ce.observe($e),()=>{Ce.disconnect()}},[T,Fe,A]);const je=ge?"bottom":"insetInlineStart",Je=ge?"left":"top";let lt;ie?C===Me?lt=2:Ve===Me&&(lt=1):C===Me&&(lt=1);let we;!A&&!Number.isFinite(ze)?we=Sn:we={position:"absolute",[je]: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 Be;ge&&(Be=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??Z2(ne,Me,O,F),disabled:G,form:L,id:ee,max:I,min:_,name:H,onChange(Oe){D(Oe.currentTarget.valueAsNumber,Me,Oe)},onFocus(Oe){const $e=le.current;le.current=!1,X(Me),J(!0),$e&&Oe.stopPropagation()},onBlur(Oe){if(le.current){Oe.stopPropagation();return}X(-1),!se.current.some($e=>ve($e,Oe.relatedTarget))&&(Z(!0),J(!1),ae==="onBlur"&&N.commit(Cf(Le,Me,_,I,ie,ne)))},onKeyDown(Oe){if(Oe.defaultPrevented||!K2.has(Oe.key))return;qn.has(Oe.key)&&Oe.stopPropagation();let $e=null,Ge=0,Ce=Oe.shiftKey?z:de;const He=If(Le,de,_);switch(Oe.key){case as:Ge=1;break;case us:Ge=ue?-1:1;break;case cs:Ge=-1;break;case ls:Ge=ue?1:-1;break;case Yd:Ce=z,Ge=1;break;case Xd:Ce=z,Ge=-1;break;case fs:$e=ie&&Number.isFinite(ne[Me+1])?ne[Me+1]-de*M:I;break;case ds:$e=ie&&Number.isFinite(ne[Me-1])?ne[Me-1]+de*M:_;break}if(Ge!==0&&($e=Q2(He,Ce,Ge,_,I)),$e!==null){const dt=Oe.currentTarget;nd(dt)||(le.current=!0,dt.blur(),dt.focus({preventScroll:!0,focusVisible:!0})),D($e,Me,Oe),Oe.preventDefault()}},step:de,style:{...Sn,width:"100%",height:"100%",writingMode:Be},tabIndex:x,type:"range",value:Le??""},Oe=>N.getValidationProps(G,Oe),{onFocus:W,onBlur:Q,onKeyDown:v}),yt=Tt(oe,N.inputRef,g);return Re("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&&qe&&V&&(Fl||(Fl=Y.jsx(Af,{script:Of})))]}),id:R,onPointerDown(Oe){if(G)return;q.current=Me;const $e=Tf(Oe.currentTarget,ge);U.current=(ge?Oe.clientY:Oe.clientX)-$e},style:we,suppressHydrationWarning:V||void 0},S],stateAttributesMapping:fr})});function J2(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 bP=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=ec(),m=p==="vertical",b=h.length>1,v=J2(m,b,l,l?a[0]:gs(h[0],d,u),l?a[1]:gs(h[h.length-1],d,u),l&&f&&g);return Re("div",t,{state:y,ref:n,props:[{"data-base-ui-slider-indicator":f?"":void 0,style:v,suppressHydrationWarning:f||void 0},i],stateAttributesMapping:fr})}),vP=c.forwardRef(function(t,n){const{className:o,render:r,orientation:s="horizontal",style:i,...a}=t;return Re("div",t,{state:{orientation:s},ref:n,props:[{role:"separator","aria-orientation":s},a]})});var ex=Object.defineProperty,Io=(e,t)=>ex(e,"name",{value:t,configurable:!0}),Nf=!!(typeof window<"u"&&window.document&&window.document.createElement);function Vn(e,t,{checkForDefaultPrevented:n=!0}={}){return Io(function(r){if(e==null||e(r),n===!1||!r||!r.defaultPrevented)return t==null?void 0:t(r)},"handleEvent")}Io(Vn,"composeEventHandlers");function tx(e){var t;if(!Nf)throw new Error("Cannot access window outside of the DOM");return((t=e==null?void 0:e.ownerDocument)==null?void 0:t.defaultView)??window}Io(tx,"getOwnerWindow");function Ui(e){if(!Nf)throw new Error("Cannot access document outside of the DOM");return(e==null?void 0:e.ownerDocument)??document}Io(Ui,"getOwnerDocument");function Df(e,t=!1){const{activeElement:n}=Ui(e);if(!(n!=null&&n.nodeName))return null;if(_f(n)&&n.contentDocument)return Df(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}Io(Df,"getActiveElement");function _f(e){return e.tagName==="IFRAME"}Io(_f,"isFrame");var nx=Object.defineProperty,tc=(e,t)=>nx(e,"name",{value:t,configurable:!0});function qi(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}tc(qi,"setRef");function Lf(...e){return t=>{let n=!1;const o=e.map(r=>{const s=qi(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():qi(e[r],null)}}}}tc(Lf,"composeRefs");function Oo(...e){return c.useCallback(Lf(...e),e)}tc(Oo,"useComposedRefs");var ox=Object.defineProperty,Ot=(e,t)=>ox(e,"name",{value:t,configurable:!0});function rx(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(rx,"createContext");function Ff(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,zf(r,...t)]}Ot(Ff,"createContextScope");function zf(...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(zf,"composeContextScopes");var xo=globalThis!=null&&globalThis.document?c.useLayoutEffect:()=>{},sx=Object.defineProperty,ix=(e,t)=>sx(e,"name",{value:t,configurable:!0}),ax=Ro[" useId ".trim().toString()]||(()=>{}),cx=0;function qr(e){const[t,n]=c.useState(ax());return xo(()=>{e||n(o=>o??String(cx++))},[e]),e||(t?`radix-${t}`:"")}ix(qr,"useId");var lx=Object.defineProperty,ux=(e,t)=>lx(e,"name",{value:t,configurable:!0}),zl=Ro[" useEffectEvent ".trim().toString()],Vl=Ro[" useInsertionEffect ".trim().toString()];function Vf(e){if(typeof zl=="function")return zl(e);const t=c.useRef(()=>{throw new Error("Cannot call an event handler while rendering.")});return typeof Vl=="function"?Vl(()=>{t.current=e}):xo(()=>{t.current=e}),c.useMemo(()=>((...n)=>{var o;return(o=t.current)==null?void 0:o.call(t,...n)}),[])}ux(Vf,"useEffectEvent");var dx=Object.defineProperty,pr=(e,t)=>dx(e,"name",{value:t,configurable:!0}),fx=Ro[" useInsertionEffect ".trim().toString()]||xo;function $f({prop:e,defaultProp:t,onChange:n=pr(()=>{},"onChange"),caller:o}){const[r,s,i]=Hf({defaultProp:t,onChange:n}),a=e!==void 0,l=a?e:r,u=c.useCallback(d=>{var p;if(a){const f=jf(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($f,"useControllableState");function Hf({defaultProp:e,onChange:t}){const[n,o]=c.useState(e),r=c.useRef(n),s=c.useRef(t);return fx(()=>{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(Hf,"useUncontrolledState");function jf(e){return typeof e=="function"}pr(jf,"isFunction");var $l=Symbol("RADIX:SYNC_STATE");function px(e,t,n,o){const{prop:r,defaultProp:s,onChange:i,caller:a}=t,l=r!==void 0,u=Vf(i),d=[{...n,state:s}];o&&d.push(o);const[p,f]=c.useReducer((m,b)=>{if(b.type===$l)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:$l,state:r})},[r,p.state,l]),[g,f]}pr(px,"useControllableStateReducer");var hx=Object.defineProperty,jt=(e,t)=>hx(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=[];Gi(r)&&typeof Ar=="function"&&(r=Ar(r._payload)),c.Children.forEach(r,f=>{var y;if(qf(f)){a=!0;const h=f;let g="child"in h.props?h.props.child:h.props.children;Gi(g)&&typeof Ar=="function"&&(g=Ar(g._payload)),i=mx(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?Uf(i):void 0,d=Oo(o,u);if(!i){if(r||r===0)throw new Error(a?vx(e):bx(e));return r}const p=Wf(s,i.props??{});return i.type!==c.Fragment&&(p.ref=o?d:u),c.cloneElement(i,p)});return t.displayName=`${e}.Slot`,t}jt(nc,"createSlot");var Bf=Symbol.for("radix.slottable");function gx(e){const t=jt(n=>"child"in n?n.children(n.child):n.children,"Slottable");return t.displayName=`${e}.Slottable`,t.__radixId=Bf,t}jt(gx,"createSlottable");var mx=jt((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 Wf(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}}jt(Wf,"mergeProps");function Uf(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)}jt(Uf,"getElementRef");function qf(e){return c.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===Bf}jt(qf,"isSlottable");var yx=Symbol.for("react.lazy");function Gi(e){return e!=null&&typeof e=="object"&&"$$typeof"in e&&e.$$typeof===yx&&"_payload"in e&&Gf(e._payload)}jt(Gi,"isLazyComponent");function Gf(e){return typeof e=="object"&&e!==null&&"then"in e}jt(Gf,"isPromiseLike");var bx=jt(e=>`${e} failed to slot onto its children. Expected a single React element child or \`Slottable\`.`,"createSlotError"),vx=jt(e=>`${e} failed to slot onto its \`Slottable\`. Expected \`Slottable\` to receive a single React element child.`,"createSlottableError"),Ar=Ro[" use ".trim().toString()],xx=Object.defineProperty,wx=(e,t)=>xx(e,"name",{value:t,configurable:!0}),Sx=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],ti=Sx.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 Yf(e,t){e&&Dt.flushSync(()=>e.dispatchEvent(t))}wx(Yf,"dispatchDiscreteCustomEvent");var Rx=Object.defineProperty,kx=(e,t)=>Rx(e,"name",{value:t,configurable:!0});function wo(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)}),[])}kx(wo,"useCallbackRef");var Cx=Object.defineProperty,ht=(e,t)=>Cx(e,"name",{value:t,configurable:!0}),Yi="dismissableLayer.update",Ex="dismissableLayer.pointerDownOutside",Px="dismissableLayer.focusOutside",Hl,Xf=c.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set,dismissableSurfaces:new Set}),Mx=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(Xf),[f,y]=c.useState(null),h=(f==null?void 0:f.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,g]=c.useState({}),m=Oo(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=Zf(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=Qf(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=wo(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&&(Hl=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=Hl))}},[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:Vn(t.onFocusCapture,T.onFocusCapture),onBlurCapture:Vn(t.onBlurCapture,T.onBlurCapture),onPointerDownCapture:Vn(t.onPointerDownCapture,k.onPointerDownCapture)})},"DismissableLayer"));function Kf(){const e=c.useContext(Xf),[t,n]=c.useState(null);return c.useEffect(()=>{if(t)return e.dismissableSurfaces.add(t),()=>{e.dismissableSurfaces.delete(t)}},[t,e.dismissableSurfaces]),n}ht(Kf,"useDismissableLayerSurface");var Tx=ht(()=>!0,"IS_TRUE");function Zf(e,t){const{ownerDocument:n=globalThis==null?void 0:globalThis.document,deferPointerDownOutside:o=!1,isDeferredPointerDownOutsideRef:r,dismissableSurfaces:s,shouldHandlePointerDownOutside:i=Tx}=t,a=wo(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(Ex,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(Zf,"usePointerDownOutside");function Qf(e,t=globalThis==null?void 0:globalThis.document){const n=wo(e),o=c.useRef(!1);return c.useEffect(()=>{const r=ht(s=>{s.target&&!o.current&&oc(Px,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(Qf,"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?Yf(r,s):r.dispatchEvent(s)}ht(oc,"handleAndDispatchCustomEvent");var Ix=Object.defineProperty,wt=(e,t)=>Ix(e,"name",{value:t,configurable:!0}),ki="focusScope.autoFocusOnMount",Ci="focusScope.autoFocusOnUnmount",jl={bubbles:!1,cancelable:!0},Ox=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=wo(s),p=wo(i),f=c.useRef(null),y=Oo(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){Bl.add(h);const m=document.activeElement;if(!l.contains(m)){const v=new CustomEvent(ki,jl);l.addEventListener(ki,d),l.dispatchEvent(v),v.defaultPrevented||(Jf(rp(rc(l)),{select:!0}),document.activeElement===m&&tn(l))}return()=>{l.removeEventListener(ki,d),setTimeout(()=>{const v=new CustomEvent(Ci,jl);l.addEventListener(Ci,p),l.dispatchEvent(v),v.defaultPrevented||tn(m??document.body,{select:!0}),l.removeEventListener(Ci,p),Bl.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]=ep(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 Jf(e,{select:t=!1}={}){const n=document.activeElement;for(const o of e)if(tn(o,{select:t}),document.activeElement!==n)return}wt(Jf,"focusFirst");function ep(e){const t=rc(e),n=Ki(t,e),o=Ki(t.reverse(),e);return[n,o]}wt(ep,"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}):tp(o,{upTo:t})))return o}wt(Ki,"findVisible");function tp(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(tp,"isHidden");function np(e){return e instanceof HTMLInputElement&&"select"in e}wt(np,"isSelectableInput");function tn(e,{select:t=!1}={}){if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&np(e)&&t&&e.select()}}wt(tn,"focus");var Bl=op();function op(){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(op,"createFocusScopesStack");function Zi(e,t){const n=[...e],o=n.indexOf(t);return o!==-1&&n.splice(o,1),n}wt(Zi,"arrayRemove");function rp(e){return e.filter(t=>t.tagName!=="A")}wt(rp,"removeLinks");var Ax=Object.defineProperty,Nx=(e,t)=>Ax(e,"name",{value:t,configurable:!0}),Dx=c.forwardRef(Nx(function(t,n){var l;const{container:o,...r}=t,[s,i]=c.useState(!1);xo(()=>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")),_x=Object.defineProperty,cn=(e,t)=>_x(e,"name",{value:t,configurable:!0});function sp(e,t){return c.useReducer((n,o)=>t[n][o]??n,e)}cn(sp,"useStateMachine");var sc=cn(e=>{const{present:t,children:n}=e,o=ip(t),r=typeof n=="function"?n({present:o.isPresent}):c.Children.only(n),s=ap(o.ref,cp(r));return typeof n=="function"||o.isPresent?c.cloneElement(r,{ref:s}):null},"Presence");function ip(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]=sp(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]),xo(()=>{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]),xo(()=>{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(ip,"usePresence");function Qi(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}cn(Qi,"setRef");function ap(...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(ap,"useStableComposedRefs");function io(e){return(e==null?void 0:e.animationName)||"none"}cn(io,"getAnimationName");function cp(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(cp,"getElementRef");var Lx=Object.defineProperty,ic=(e,t)=>Lx(e,"name",{value:t,configurable:!0}),Nr=0,Wt=null;function Fx(e){return ac(),e.children}ic(Fx,"FocusGuards");function ac(){c.useEffect(()=>{Wt||(Wt={start:Ji(),end:Ji()});const{start:e,end:t}=Wt;return document.body.firstElementChild!==e&&document.body.insertAdjacentElement("afterbegin",e),document.body.lastElementChild!==t&&document.body.insertAdjacentElement("beforeend",t),Nr++,()=>{Nr===1&&(Wt==null||Wt.start.remove(),Wt==null||Wt.end.remove(),Wt=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 lp(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 zx(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 Gr="right-scroll-bar-position",Yr="width-before-scroll-bar",Vx="with-scroll-bars-hidden",$x="--removed-body-scroll-bar-size";function Ei(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function Hx(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 jx=typeof window<"u"?c.useLayoutEffect:c.useEffect,Wl=new WeakMap;function Bx(e,t){var n=Hx(null,function(o){return e.forEach(function(r){return Ei(r,o)})});return jx(function(){var o=Wl.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)})}Wl.set(n,e)},[e]),n}function Wx(e){return e}function Ux(e,t){t===void 0&&(t=Wx);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 qx(e){e===void 0&&(e={});var t=Ux(null);return t.options=qt({async:!0,ssr:!1},e),t}var up=function(e){var t=e.sideCar,n=lp(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))};up.isSideCarExport=!0;function Gx(e,t){return e.useMedium(t),up}var dp=qx(),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=lp(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),S=f,R=Bx([n,t]),C=qt(qt({},w),r);return c.createElement(c.Fragment,null,d&&c.createElement(S,{sideCar:dp,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:Gr};var Yx=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function Xx(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=Yx();return t&&e.setAttribute("nonce",t),e}function Kx(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function Zx(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var Qx=function(){var e=0,t=null;return{add:function(n){e==0&&(t=Xx())&&(Kx(t,n),Zx(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},Jx=function(){var e=Qx();return function(t,n){c.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},fp=function(){var e=Jx(),t=function(n){var o=n.styles,r=n.dynamic;return e(o,r),null};return t},ew={left:0,top:0,right:0,gap:0},Mi=function(e){return parseInt(e||"",10)||0},tw=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)]},nw=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return ew;var t=tw(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])}},ow=fp(),fo="data-scroll-locked",rw=function(e,t,n,o){var r=e.left,s=e.top,i=e.right,a=e.gap;return n===void 0&&(n="margin"),`
|
|
948
|
+
.`.concat(Vx,` {
|
|
949
|
+
overflow: hidden `).concat(o,`;
|
|
950
|
+
padding-right: `).concat(a,"px ").concat(o,`;
|
|
951
|
+
}
|
|
952
|
+
body[`).concat(fo,`] {
|
|
953
|
+
overflow: hidden `).concat(o,`;
|
|
954
|
+
overscroll-behavior: contain;
|
|
955
|
+
`).concat([t&&"position: relative ".concat(o,";"),n==="margin"&&`
|
|
956
|
+
padding-left: `.concat(r,`px;
|
|
957
|
+
padding-top: `).concat(s,`px;
|
|
958
|
+
padding-right: `).concat(i,`px;
|
|
959
|
+
margin-left:0;
|
|
960
|
+
margin-top:0;
|
|
961
|
+
margin-right: `).concat(a,"px ").concat(o,`;
|
|
962
|
+
`),n==="padding"&&"padding-right: ".concat(a,"px ").concat(o,";")].filter(Boolean).join(""),`
|
|
963
|
+
}
|
|
964
|
+
|
|
965
|
+
.`).concat(Gr,` {
|
|
966
|
+
right: `).concat(a,"px ").concat(o,`;
|
|
967
|
+
}
|
|
968
|
+
|
|
969
|
+
.`).concat(Yr,` {
|
|
970
|
+
margin-right: `).concat(a,"px ").concat(o,`;
|
|
971
|
+
}
|
|
972
|
+
|
|
973
|
+
.`).concat(Gr," .").concat(Gr,` {
|
|
974
|
+
right: 0 `).concat(o,`;
|
|
975
|
+
}
|
|
976
|
+
|
|
977
|
+
.`).concat(Yr," .").concat(Yr,` {
|
|
978
|
+
margin-right: 0 `).concat(o,`;
|
|
979
|
+
}
|
|
980
|
+
|
|
981
|
+
body[`).concat(fo,`] {
|
|
982
|
+
`).concat($x,": ").concat(a,`px;
|
|
983
|
+
}
|
|
984
|
+
`)},Ul=function(){var e=parseInt(document.body.getAttribute(fo)||"0",10);return isFinite(e)?e:0},sw=function(){c.useEffect(function(){return document.body.setAttribute(fo,(Ul()+1).toString()),function(){var e=Ul()-1;e<=0?document.body.removeAttribute(fo):document.body.setAttribute(fo,e.toString())}},[])},iw=function(e){var t=e.noRelative,n=e.noImportant,o=e.gapMode,r=o===void 0?"margin":o;sw();var s=c.useMemo(function(){return nw(r)},[r]);return c.createElement(ow,{styles:rw(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,aw=function(e){return e.tagName==="TEXTAREA"},pp=function(e,t){if(!(e instanceof Element))return!1;var n=window.getComputedStyle(e);return n[t]!=="hidden"&&!(n.overflowY===n.overflowX&&!aw(e)&&n[t]==="visible")},cw=function(e){return pp(e,"overflowY")},lw=function(e){return pp(e,"overflowX")},ql=function(e,t){var n=t.ownerDocument,o=t;do{typeof ShadowRoot<"u"&&o instanceof ShadowRoot&&(o=o.host);var r=hp(e,o);if(r){var s=gp(e,o),i=s[1],a=s[2];if(i>a)return!0}o=o.parentNode}while(o&&o!==n.body);return!1},uw=function(e){var t=e.scrollTop,n=e.scrollHeight,o=e.clientHeight;return[t,n,o]},dw=function(e){var t=e.scrollLeft,n=e.scrollWidth,o=e.clientWidth;return[t,n,o]},hp=function(e,t){return e==="v"?cw(t):lw(t)},gp=function(e,t){return e==="v"?uw(t):dw(t)},fw=function(e,t){return e==="h"&&t==="rtl"?-1:1},pw=function(e,t,n,o,r){var s=fw(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=gp(e,a),h=y[0],g=y[1],m=y[2],b=g-m-s*h;(h||b)&&hp(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]},Gl=function(e){return[e.deltaX,e.deltaY]},Yl=function(e){return e&&"current"in e?e.current:e},hw=function(e,t){return e[0]===t[0]&&e[1]===t[1]},gw=function(e){return`
|
|
985
|
+
.block-interactivity-`.concat(e,` {pointer-events: none;}
|
|
986
|
+
.allow-interactivity-`).concat(e,` {pointer-events: all;}
|
|
987
|
+
`)},mw=0,eo=[];function yw(e){var t=c.useRef([]),n=c.useRef([0,0]),o=c.useRef(),r=c.useState(mw++)[0],s=c.useState(fp)[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=zx([e.lockRef.current],(e.shards||[]).map(Yl),!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=ql(C,R);if(!N)return!0;if(N?S=C:(S=C==="v"?"h":"v",N=ql(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 pw(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?Gl(m):_r(m),v=t.current.filter(function(S){return S.name===m.type&&(S.target===m.target||m.target===S.shadowParent)&&hw(S.delta,b)})[0];if(v&&v.should){m.cancelable&&m.preventDefault();return}if(!v){var x=(i.current.shards||[]).map(Yl).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:bw(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,Gl(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:gw(r)}):null,y?c.createElement(iw,{noRelative:e.noRelative,gapMode:e.gapMode}):null)}function bw(e){for(var t=null;e!==null;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}const vw=Gx(dp,yw);var mp=c.forwardRef(function(e,t){return c.createElement(ni,qt({},e,{ref:t,sideCar:vw}))});mp.classNames=ni.classNames;var xw=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,yp=function(e){return e&&(e.host||yp(e.parentNode))},ww=function(e,t){return t.map(function(n){if(e.contains(n))return n;var o=yp(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})},Sw=function(e,t,n,o){var r=ww(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={})}},Rw=function(e,t,n){n===void 0&&(n="data-aria-hidden");var o=Array.from(Array.isArray(e)?e:[e]),r=xw(e);return r?(o.push.apply(o,Array.from(r.querySelectorAll("[aria-live], script"))),Sw(o,r,n,"aria-hidden")):function(){return null}},kw=Object.defineProperty,dn=(e,t)=>kw(e,"name",{value:t,configurable:!0}),cc="Dialog",[bp,xP]=Ff(cc),[Cw,Yn]=bp(cc),wP=dn(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]=$f({prop:o,defaultProp:r??!1,onChange:s,caller:cc}),[p,f]=c.useState(0),[y,h]=c.useState(0);return Y.jsx(Cw,{scope:t,triggerRef:a,contentRef:l,contentId:qr(),titleId:qr(),descriptionId:qr(),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"),vp="DialogPortal",[Ew,xp]=bp(vp,{forceMount:void 0}),SP=dn(e=>{const{__scopeDialog:t,forceMount:n,children:o,container:r}=e,s=Yn(vp,t);return Y.jsx(Ew,{scope:t,forceMount:n,children:c.Children.map(o,i=>Y.jsx(sc,{present:n||s.open,children:Y.jsx(Dx,{asChild:!0,container:r,children:i})}))})},"DialogPortal"),ta="DialogOverlay",RP=c.forwardRef(dn(function(t,n){const o=xp(ta,t.__scopeDialog),{forceMount:r=o.forceMount,...s}=t,i=Yn(ta,t.__scopeDialog);return i.modal?Y.jsx(sc,{present:r||i.open,children:Y.jsx(Mw,{...s,ref:n})}):null},"DialogOverlay")),Pw=nc("DialogOverlay.RemoveScroll"),Mw=c.forwardRef(dn(function(t,n){const{__scopeDialog:o,...r}=t,s=Yn(ta,o),i=Kf(),a=Oo(n,i);return Y.jsx(mp,{as:Pw,allowPinchZoom:!0,shards:[s.contentRef],children:Y.jsx(ti.div,{"data-state":lc(s.open),...r,ref:a,style:{pointerEvents:"auto",...r.style}})})},"DialogOverlayImpl")),er="DialogContent",kP=c.forwardRef(dn(function(t,n){const o=xp(er,t.__scopeDialog),{forceMount:r=o.forceMount,...s}=t,i=Yn(er,t.__scopeDialog);return Y.jsx(sc,{present:r||i.open,children:i.modal?Y.jsx(Tw,{...s,ref:n}):Y.jsx(Iw,{...s,ref:n})})},"DialogContent")),Tw=c.forwardRef(dn(function(t,n){const o=Yn(er,t.__scopeDialog),r=c.useRef(null),s=Oo(n,o.contentRef,r);return c.useEffect(()=>{const i=r.current;if(i)return Rw(i)},[]),Y.jsx(wp,{...t,ref:s,trapFocus:o.open,disableOutsidePointerEvents:o.open,onCloseAutoFocus:Vn(t.onCloseAutoFocus,i=>{var a;i.preventDefault(),(a=o.triggerRef.current)==null||a.focus()}),onPointerDownOutside:Vn(t.onPointerDownOutside,i=>{const a=i.detail.originalEvent,l=a.button===0&&a.ctrlKey===!0;(a.button===2||l)&&i.preventDefault()}),onFocusOutside:Vn(t.onFocusOutside,i=>i.preventDefault())})},"DialogContentModal")),Iw=c.forwardRef(dn(function(t,n){const o=Yn(er,t.__scopeDialog),r=c.useRef(!1),s=c.useRef(!1);return Y.jsx(wp,{...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")),wp=c.forwardRef(dn(function(t,n){const{__scopeDialog:o,trapFocus:r,onOpenAutoFocus:s,onCloseAutoFocus:i,...a}=t,l=Yn(er,o);return ac(),Y.jsx(Y.Fragment,{children:Y.jsx(Ox,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:s,onUnmountAutoFocus:i,children:Y.jsx(Mx,{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"}dn(lc,"getState");const Sp=c.createContext(void 0);function Rp(e){const t=c.useContext(Sp);if(t===void 0&&!e)throw new Error(We(33));return t}const uc=c.createContext(void 0);function Xn(e){const t=c.useContext(uc);if(t===void 0&&!e)throw new Error(We(36));return t}const kp=c.createContext(void 0);function oi(e=!0){const t=c.useContext(kp);if(t===void 0&&!e)throw new Error(We(25));return t}function Ow(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:jo})},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&&!ya&&y.button===2)return}a.current&&s.context.allowMouseUpTriggerRef.current&&(!f||y.button===2)&&l.type==="regular-item"&&zn(a.current,y,{detail:1})}}),[t,n,o,u,r,d,s,i,a,p,f,l])}const Aw={type:"regular-item"};function Nw(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=Ow({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=Tt(d,f);return c.useMemo(()=>({getItemProps:h,itemRef:g}),[h,g])}const Cp=c.createContext(void 0);function Dw(){const e=c.useContext(Cp);if(e===void 0)throw new Error(We(31));return e}const CP=c.forwardRef(function(t,n){const{render:o,className:r,style:s,...i}=t,[a,l]=c.useState(void 0),u=Re("div",t,{ref:n,props:{role:"group","aria-labelledby":a,...i}});return Y.jsx(Cp.Provider,{value:l,children:u})}),EP=c.forwardRef(function(t,n){const{render:o,className:r,style:s,id:i,...a}=t,l=st(i),u=Dw();return pe(()=>(u(l),()=>{u(d=>d===l?void 0:d)}),[u,l]),Re("div",t,{ref:n,props:{id:l,role:"presentation",...a}})}),PP=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=ur({guess:!0,label:i}),y=Rp(!0),h=st(s),{store:g}=Xn(),m=g.useState("disabled"),b=l||m,v=g.useState("isActive",f.index),x=g.useState("itemProps"),{getItemProps:w,itemRef:S}=Nw({closeOnClick:u,disabled:b,highlighted:v,id:h,store:g,nativeButton:a,nodeId:y==null?void 0:y.context.nodeId,itemMetadata:Aw});return Re("div",t,{state:{disabled:b,highlighted:v},props:[x,p,w],ref:[S,n,f.ref]})}),MP=c.forwardRef(function(t,n){const{render:o,className:r,style:s,finalFocus:i,...a}=t,{store:l}=Xn(),{side:u,align:d}=Rp(),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";It({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=Re("div",t,{state:D,ref:[n,l.context.popupRef,O],stateAttributesMapping:Ss,props:[h,{onKeyDown(z){p&&qn.has(z.key)&&z.stopPropagation()}},lr(y),a,{"data-rootownerid":w}]});let P=v.type===void 0||N;return(b||v.type==="menubar"&&x!==Rs)&&(P=!0),Y.jsx(Ns,{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})}),Ep=c.createContext(void 0);function _w(){const e=c.useContext(Ep);if(e===void 0)throw new Error(We(32));return e}const TP=c.forwardRef(function(t,n){const{keepMounted:o=!1,...r}=t,{store:s}=Xn();return s.useState("mounted")||o?Y.jsx(Ep.Provider,{value:o,children:Y.jsx(As,{ref:n,...r})}):null}),IP=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=xd,style:b,...v}=t,{store:x}=Xn(),w=_w(),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),$=zs(P);let U=o,q=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,q=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=Zs({anchor:U,floatingRootContext:C,positionMethod:S?"fixed":r,mounted:T,side:K,sideOffset:q,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(Vo)))}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??Vo;x.setOpen(!1,ke(le))}return k.events.on("menuopenchange",ce),()=>{k.events.off("menuopenchange",ce)}},[k.events,x]);const re=nt();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(Vo))}):x.setOpen(!1,ke(Vo))}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]),pe(()=>{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 G={open:E,side:ne.side,align:ne.align,anchorHidden:ne.anchorHidden,nested:R.type==="menu",instant:z},ie=R.type==="menubar"&&R.context.modal;Ya(E&&(ie||N&&I!==it),O==="touch",P,D);const ue=Qs(t,G,{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(Sp.Provider,{value:ne,children:[Z&&Y.jsx(Xs,{ref:R.type==="context-menu"||R.type==="nested-context-menu"?R.context.internalBackdropRef:null,inert:ar(!E),cutout:J}),Y.jsx(Pd,{id:_,children:Y.jsx(cr,{elementsRef:x.context.itemDomElements,labelsRef:x.context.itemLabels,children:ue})})]})}),Lw=c.createContext(null);function Pp(e){return c.useContext(Lw)}const Fw={...qs,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 zw extends ko{constructor(n){super({...$w(),...n},Vw(),Fw);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 Vw(){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 Co}}function $w(){return{...Us(),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 Hw=c.createContext(void 0);function jw(){return c.useContext(Hw)}const Bw=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=Xn(!0),x=Pp(!0),w=jw(),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=Ww({open:i,openProp:o,activeTriggerId:g,triggerIdProp:h,parent:S});R.useControlledProp("openProp",o),R.useControlledProp("triggerIdProp",h),R.useContextCallback("onOpenChangeComplete",s);const C=xn(),k=xn(),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=nt(),q=c.useRef(!0),V=nt(),X=L!=null,{openMethod:j,triggerProps:K}=Jd(O);R.useSyncedValues({disabled:a,highlightItemOnHover:m,modal:I.type===void 0?l:void 0,openMethod:j,rootId:C}),js(R);const{forceUnmount:de}=Bs(O,R,()=>{R.set("allowMouseEnter",!1)});pe(()=>{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]),pe(()=>{!O&&!P&&R.set("hoverEnabled",!0)},[O,P,R]);const se=he((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"&&!q.current)return;ee&&ye===co?(q.current=!1,V.start(300,()=>{q.current=!0})):(q.current=!0,V.clear());const qe=(ye===$t||ye===jo)&&Me.detail===0,Le=!ee&&(ye===or||ye==null),ze={open:ee,openChangeReason:ye};H.current=me.event,$s(ze,ee,me.trigger,De()),R.update(ze),I.type==="menubar"&&(ye===co||ye===vn||ye===it||ye===Di||ye===Vo)?R.set("instantType","group"):qe||Le?R.set("instantType",qe?"click":"dismiss"):R.set("instantType",void 0)}),ne=Vd({popupStore:R,floatingId:k,nested:N!=null,onOpenChange:se}),re=ne.context.events;pe(()=>{const ee=({open:me,eventDetails:ye})=>se(me,ye);return re.on("setOpen",ee),()=>{re==null||re.off("setOpen",ee)}},[re,se]);const G=c.useCallback(()=>{R.setOpen(!1,ke(ks))},[R]);c.useImperativeHandle(p,()=>({unmount:de,close:G}),[de,G]);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=sr(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=Nn(),Z=c.useCallback(ee=>{R.select("activeIndex")!==ee&&R.set("activeIndex",ee)},[R]),J=Ud(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:Vt,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=qd(ne,{enabled:!z,listRef:R.context.itemLabels,elementsRef:R.context.itemDomElements,activeIndex:_,resetMs:Wy,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(ir,{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;Ws(R,{floatingRootContext:ne,activeTriggerProps:oe,inactiveTriggerProps:le,popupProps:W,itemProps:Q});const fe=c.useMemo(()=>({store:R,parent:S}),[R,S]),te=Y.jsxs(uc.Provider,{value:fe,children:[y&&Y.jsx(Vs,{handle:y,store:R}),typeof n=="function"?n({payload:M}):n]});return I.type===void 0||I.type==="context-menu"?Y.jsx(Md,{externalTree:T,children:te}):te});function Ww(e){return gt(()=>new zw(e)).current}function dc(e){if(Ye(e)&&e.hasAttribute("data-rootownerid"))return e.getAttribute("data-rootownerid");if(!on(e))return dc(an(e))}function Uw(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 OP=zd(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=Xn(!0),b=Gs(f)??(g==null?void 0:g.store);if(!b)throw new Error(We(85));const v=st(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=Gw(),T=vs(!0),E=In(),N=c.useMemo(()=>E??new Ta,[E]),O=Ia(N),D=Tn(),{registerTrigger:A,isMountedByThisTrigger:P}=Hs(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=nt(),$=he(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&&dc(ce)===b.select("rootId")||cf(ae,L.current)||N.events.emit("close",{domEvent:ae,reason:ga})});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=qw(S,b.select("lastOpenChangeReason")),j=Ds(w,{enabled:!I,event:S&&z?"click":"mousedown",toggle:!0,ignoreMouse:!1,stickIfOpen:k.type===void 0?X:!1}),K=Bd(w,{enabled:!I&&U}),de=Uw({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:G,handleFocusTargetFocus:ie}=yf(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=Re("button",t,{enabled:!z,stateAttributesMapping:Yo,state:ge,ref:ue,props:Z});return z?Y.jsx(Qa,{tag:"button",render:o,className:r,style:s,state:ge,refs:ue,props:Z,stateAttributesMapping:Yo}):S?Y.jsxs(c.Fragment,{children:[Y.jsx(Rn,{ref:re,onFocus:G},`${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 qw(e,t){const n=nt(),[o,r]=c.useState(!1);return pe(()=>{e&&t===it?(r(!0),n.start(vd,()=>{r(!1)})):e||(n.clear(),r(!1))},[e,t,n]),o}function Gw(){const e=Pp();return c.useMemo(()=>e?{type:"menubar",context:e}:{type:void 0},[e])}function Yw(e){const{open:t,defaultOpen:n,onOpenChange:o,disabled:r}=e,[s,i]=Ht({controlled:t,default:n,name:"Collapsible",state:"open"}),{mounted:a,setMounted:l,transitionStatus:u}=On(s,!0,!0),d=st(),[p,f]=c.useState(),y=p===null?void 0:p??d,h=he(g=>{const m=!s,b=ke($t,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 Mp=c.createContext(void 0);function Tp(){const e=c.useContext(Mp);if(e===void 0)throw new Error(We(15));return e}let fc=(function(e){return e.open="data-open",e.closed="data-closed",e[e.startingStyle=Jr.startingStyle]="startingStyle",e[e.endingStyle=Jr.endingStyle]="endingStyle",e})({}),Xw=(function(e){return e.panelOpen="data-panel-open",e})({});const Kw={[fc.open]:""},Zw={[fc.closed]:""},Qw={open(e){return e?{[Xw.panelOpen]:""}:null}},Jw={open(e){return e?Kw:Zw}},Ip={...Jw,...Xt},AP=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=he(a),f=Yw({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=Re("div",t,{state:y,ref:n,props:d,stateAttributesMapping:Ip});return Y.jsx(Mp.Provider,{value:h,children:g})}),eS={...Qw,...Xt},NP=c.forwardRef(function(t,n){const{panelId:o,open:r,handleTrigger:s,state:i,disabled:a}=Tp(),{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 Re("button",t,{state:i,ref:[n,g],props:[{"aria-controls":r?o:void 0,"aria-expanded":r,onClick:s},y,h],stateAttributesMapping:eS})}),Fo={height:void 0,width:void 0};function tS(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(Fo),g=c.useRef(Fo),m=c.useRef(!1),b=c.useRef(a),v=c.useRef(!1),[x,w]=c.useState(!1),S=c.useRef(null),R=Tt(t,p),C=rt(a),k=zs(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=he((_,M=!0)=>{M&&(g.current=_),h(_)}),P=he(()=>{var _;(_=S.current)==null||_.call(S),S.current=null}),z=he(_=>{P(),S.current=()=>{S.current=null,_()}}),F=he(()=>{a&&s&&f.current==="css-animation"&&(v.current=!0)});pe(()=>{!x||d==="starting"||w(!1)},[x,d]),c.useEffect(()=>()=>{F(),P()},[F,P]),pe(()=>{const _=p.current;if(!_)return;!a&&S.current&&P();const M=nS(_,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=oS(_);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 q=zr(_,"animation-duration","0s");U(),z(q),w(!0);return}if(!a&&s&&(d==="idle"||d==="starting")){if(b.current=!1,v.current=!1,M==="none"){A(Fo,!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]),It({enabled:a&&s&&E==="idle",open:!0,ref:p,onComplete(){a&&A(Fo,!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(Fo,!1))}return L=Ct.request(()=>{k(H,M.signal)}),()=>{Ct.cancel(L),M.abort()}},[C,s,a,E,k,A,l]),pe(()=>{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?{[fc.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 nS(e,t){const n=Xe(e).getComputedStyle(e),o=(n.animationName.split(",").map(s=>s.trim()).some(s=>s!==""&&s!=="none")||t)&&Xl(n.animationDuration),r=Xl(n.transitionDuration);return o&&r||r?"css-transition":o?"css-animation":"none"}function Xl(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 oS(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 Kl=(function(e){return e.collapsiblePanelHeight="--collapsible-panel-height",e.collapsiblePanelWidth="--collapsible-panel-width",e})({});const DP=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}=Tp(),x=r??!1,w=s??!1,S=a||void 0,R=S??d;pe(()=>(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}=tS({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=Du(l,A),z=Re("div",{...t,style:void 0},{state:A,ref:T,props:[k,{style:{[Kl.collapsiblePanelHeight]:C===void 0?"auto":`${C}px`,[Kl.collapsiblePanelWidth]:D===void 0?"auto":`${D}px`}},u,P?{style:P}:void 0,E?{style:{animationName:"none"}}:void 0],stateAttributesMapping:Ip});return N?z:null}),Op=c.createContext(void 0);function ri(e){const t=c.useContext(Op);if(t===void 0&&!e)throw new Error(We(72));return t}const rS={...qs,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 sS extends ko{constructor(n,o,r){const s=new Co;super(iS(n,s,o,r),aS(s),rS);Ue(this,"setOpen",(n,o)=>{ev(this,n,o,{extraState:{openChangeReason:o.reason}})})}cancelPendingOpen(n){this.state.floatingRootContext.dispatchOpenChange(!1,ke($t,n))}}function iS(e,t,n,o=!1){const r={...Us(),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 aS(e){return{popupRef:c.createRef(),onOpenChange:void 0,onOpenChangeComplete:void 0,triggerElements:e}}const _P=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 sS({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}),js(h,{closeOnActiveTriggerUnmount:!0});const{forceUnmount:w,transitionStatus:S}=Bs(m,h),R=h.useState("isInstantPhase"),C=h.useState("instantType"),k=h.useState("lastOpenChangeReason"),T=c.useRef(null);pe(()=>{g&&n&&h.setOpen(!1,ke(Qu))},[g,n,h]),pe(()=>{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]),pe(()=>{m&&b==null&&h.set("payload",void 0)},[h,b,m]),c.useImperativeHandle(a,()=>({unmount:w,close:()=>h.setOpen(!1,ke(ks))}),[w,h]);const E=m||v||!n&&i!=="none";return Y.jsxs(Op.Provider,{value:h,children:[d&&Y.jsx(Vs,{handle:d,store:h}),E&&Y.jsx(cS,{store:h,disabled:n,trackCursorAxis:i}),typeof y=="function"?y({payload:x}):y]})});function cS({store:e,disabled:t,trackCursorAxis:n}){const o=e.useState("floatingRootContext"),r=sr(o,{enabled:!t,referencePress:()=>e.select("closeOnClick")}),s=Zy(o,{enabled:!t&&n!=="none",axis:n==="none"?void 0:n}),i=c.useMemo(()=>Et(s.reference,r.reference),[s.reference,r.reference]);return Ws(e,{activeTriggerProps:i,inactiveTriggerProps:i,popupProps:r.floating??Ke}),null}const Ap=c.createContext(void 0);function lS(){return c.useContext(Ap)}const Zl=600,Np="data-base-ui-tooltip-trigger";function Ql(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 uS(e){let t=e;for(;t;){const n=t.closest(`[${Np}]`);if(n)return n;const o=t.getRootNode();t="host"in o&&Ne(o.host)?o.host:null}return null}const LP=zd(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=Gs(i)??h;if(!m)throw new Error(We(82));const b=st(f),v=m.useState("isTriggerActive",b),x=m.useState("isOpenedByTrigger",b),w=m.useState("floatingRootContext"),S=c.useRef(null),R=u??Zl,C=p??0,{registerTrigger:k,isMountedByThisTrigger:T}=Hs(b,S,m,{payload:a,closeOnClick:d,closeDelay:C}),E=lS(),{delayRef:N,isInstantPhase:O,hasProvider:D}=Sy(w,{open:x}),A=Va(w);m.useSyncedValue("isInstantPhase",O);const P=m.useState("disabled"),z=l??P,F=rt(z),I=m.useState("trackCursorAxis"),_=m.useState("disableHoverablePopup"),M=c.useRef(!1),L=nt(),H=c.useRef(void 0);function $(){return D?wn(N.current,"open")===0?0:u??E??Zl:R}function U(re){const G=S.current;if(!G||!re)return!1;const ie=uS(re);return ie!==null&&ie!==G&&ve(G,ie)}function q(re){const G=U(re);return M.current=G,G&&(A.openChangeTimeout.clear(),A.restTimeout.clear(),A.restTimeoutPending=!1,L.clear()),G}const V=Ha(w,{enabled:!z,mouseOnly:!0,move:!1,handleClose:!_&&I!=="both"?ja():null,restMs:$,delay(){return p==null&&D?{close:wn(N.current,"close")}:{close:C}},triggerElementRef:S,isActiveTrigger:v,isClosing:()=>m.select("transitionStatus")==="ending",shouldOpen(){return!M.current}}),X=Bd(w,{enabled:!z}).reference,j=re=>{const G=M.current,ie=Ql(re),ge=q(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(G&&!ge&&Z&&!F.current&&!m.select("open")&&ue&&yn(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 Re("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(Ql(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,[Np]:z?void 0:""},y],stateAttributesMapping:xs})}),Dp=c.createContext(void 0);function dS(){const e=c.useContext(Dp);if(e===void 0)throw new Error(We(70));return e}const fS=c.forwardRef(function(t,n){const{children:o,container:r,className:s,render:i,style:a,...l}=t,{node:u,subtree:d}=Rd({container:r,ref:n,componentProps:t,elementProps:l});return!d&&!u?null:Y.jsxs(c.Fragment,{children:[d,u&&Dt.createPortal(o,u)]})}),FP=c.forwardRef(function(t,n){const{keepMounted:o=!1,...r}=t;return ri().useState("mounted")||o?Y.jsx(Dp.Provider,{value:o,children:Y.jsx(fS,{ref:n,...r})}):null}),_p=c.createContext(void 0);function pS(){const e=c.useContext(_p);if(e===void 0)throw new Error(We(71));return e}const zP=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=dS(),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=Zs({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=Qs(t,A,{styles:D.positionerStyles,transitionStatus:N,props:v,refs:[n,x.useStateSetter("positionerElement")],hidden:!R,inert:!S||C==="both"||k});return Y.jsx(_p.Provider,{value:D,children:P})}),VP=c.forwardRef(function(t,n){const{render:o,className:r,style:s,...i}=t,a=ri(),{side:l,align:u}=pS(),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");It({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 Re("div",t,{state:{open:d,side:l,align:u,instant:p,transitionStatus:f},ref:[n,a.context.popupRef,b],props:[ir,y,lr(f),i],stateAttributesMapping:Ss})}),$P=function(t){const{delay:n,closeDelay:o,timeout:r=400}=t,s=c.useMemo(()=>({open:n,close:o}),[n,o]);return Y.jsx(Ap.Provider,{value:n,children:Y.jsx(wy,{delay:s,timeoutMs:r,children:t.children})})},Lp=c.createContext(void 0);function si(){const e=c.useContext(Lp);if(e===void 0)throw new Error(We(51));return e}const hr={status(e){return{[`data-${e}`]:""}}},HP=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=gs(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=Re("div",t,{state:S,ref:n,props:[R,y],stateAttributesMapping:hr});return Y.jsx(Lp.Provider,{value:C,children:k})}),jP=c.forwardRef(function(t,n){const{render:o,className:r,style:s,...i}=t,{state:a}=si();return Re("div",t,{state:a,ref:n,props:i,stateAttributesMapping:hr})}),BP=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 Re("div",t,{state:l,ref:n,props:[{style:u},i],stateAttributesMapping:hr})}),WP=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 Re("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})}),UP=c.forwardRef(function(t,n){const{render:o,className:r,style:s,id:i,...a}=t,{setLabelId:l,state:u}=si(),d=$v(i,l);return Re("span",t,{state:u,ref:n,props:[{id:d,role:"presentation"},a],stateAttributesMapping:hr})}),hS=c.createContext(void 0);function gS(){return c.useContext(hS)}const qP=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=gS(),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]=Ht({controlled:u,default:u===void 0?o??Vt:void 0,name:"ToggleGroup",state:"value"}),w=he((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=Re("div",t,{enabled:!!h,state:S,ref:n,props:[C,y]});return Y.jsx(Rf.Provider,{value:R,children:h?k:Y.jsx(Ja,{render:p,className:d,style:f,state:S,refs:[n],props:[C,y],loopFocus:s,enableHomeAndEndKeys:!0,orientation:a})})}),Fp=c.createContext(void 0);function ii(){const e=c.useContext(Fp);if(e===void 0)throw new Error(We(53));return e}const mS=500,na=16;function mn(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,pc={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},yS={x:0,y:0},Jl={width:0,height:0},bS={xStart:!1,xEnd:!1,yStart:!1,yEnd:!1},vS={x:!0,y:!0,corner:!0},GP=c.forwardRef(function(t,n){const{render:o,className:r,overflowEdgeThreshold:s,style:i,...a}=t,{xStart:l,xEnd:u,yStart:d,yEnd:p}=xS(s),f=st(),y=nt(),h=nt(),{nonce:g,disableStyleElements:m}=Xa(),[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(Jl),[D,A]=c.useState(Jl),[P,z]=c.useState(bS),[F,I]=c.useState(vS),_=c.useRef(null),M=c.useRef(null),L=c.useRef(null),H=c.useRef(null),$=c.useRef(null),U=c.useRef(null),q=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(yS),re=c.useRef(null);function G(fe){const te=fe?R:w,ee=fe?y:h;te(!0),ee.start(mS,()=>{te(!1)})}const ie=he(fe=>{const te=fe.x-ne.current.x,ee=fe.y-ne.current.y;ne.current=fe,ee!==0&&G(!0),te!==0&&G(!1)}),ge=he(()=>{const fe=M.current;fe&&re.current===null&&(re.current=fe.style.scrollSnapType,fe.style.scrollSnapType="none")}),ue=he(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=he(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=he(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=mn(ye,"padding",De),qe=mn(me,"margin",De),Le=ee?me.offsetHeight:me.offsetWidth,et=(ee?ye.offsetHeight:ye.offsetWidth)-Le-Me-qe,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(),G(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=Re("div",t,{state:oe,ref:[n,_],props:[le,a],stateAttributesMapping:pc}),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:q,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(Fp.Provider,{value:Q,children:[!m&&Qo.getElement(g),W]})});function xS(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 wS=c.createContext(void 0),zp=["--scroll-area-overflow-x-start","--scroll-area-overflow-x-end","--scroll-area-overflow-y-start","--scroll-area-overflow-y-end"];let eu=!1;function SS(){eu||Kt||(typeof CSS<"u"&&"registerProperty"in CSS&&zp.forEach(e=>{try{CSS.registerProperty({name:e,syntax:"<length>",inherits:!1,initialValue:"0px"})}catch{}}),eu=!0)}const YP=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=Nn(),N=c.useRef(!0),O=c.useRef([NaN,NaN,NaN,NaN]),D=nt(),A=nt(),P=he(()=>{const M=a.current,L=l.current,H=u.current,$=d.current,U=p.current,q=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 G=RS(M),ie=G.y,ge=G.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=vo(E==="rtl"?-se:se,J),oe=J-ce);const le=ie?0:vo(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=mn(H,"padding","x"),qe=mn(L,"padding","y"),Le=mn(U,"margin","x"),ze=mn($,"margin","y"),et=Q-Me-Le,Te=fe-qe-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),je=Math.max(na,Ve*Z);if(g(we=>Vr(we,{width:Fe,height:je})),L&&$){const we=L.offsetHeight-je-qe-ze,Be=tu($,"--scroll-area-thumb-height",de,ae,V,je,we);$.style.transform=`translate3d(0,${Be}px,0)`}if(H&&U){const we=H.offsetWidth-Fe-Me-Le,Be=E==="rtl"?-se:se,tt=tu(U,"--scroll-area-thumb-width",Be,J,X,Fe,we);U.style.transform=`translate3d(${E==="rtl"?-tt:tt}px,0,0)`}const Je=[ce,oe,le,W];zp.forEach((we,Be)=>{M.style.setProperty(we,`${Je[Be]}px`)}),q&&h(we=>Vr(we,{width:te,height:ee})),b(we=>Vr(we,G));const lt={xStart:!ge&&ce>k.xStart,xEnd:!ge&&oe>k.xEnd,yStart:!ie&&le>k.yStart,yEnd:!ie&&W>k.yEnd};C(we=>Vr(we,lt))});pe(()=>{SS()},[]),pe(()=>{queueMicrotask(P)},[P,v,E,k.xStart,k.xEnd,k.yStart,k.yEnd]),pe(()=>{var M;(M=a.current)!=null&&M.matches(":hover")&&R(!0)},[a,R]),pe(()=>{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:Qo.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=Re("div",t,{ref:[n,a],state:T,props:[F,i],stateAttributesMapping:pc}),_=c.useMemo(()=>({computeThumbPosition:P}),[P]);return Y.jsx(wS.Provider,{value:_,children:I})});function RS(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 tu(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 Vp=c.createContext(void 0);function kS(){const e=c.useContext(Vp);if(e===void 0)throw new Error(We(54));return e}const XP=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=Nn(),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 q=H?I.scrollWidth-I.clientWidth:I.scrollHeight-I.clientHeight,V=H&&O==="rtl"?-q:0,X=H&&O==="rtl"?0:q,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=mn(M,"margin",$),q=mn(H,"padding",$),V=E?M.offsetHeight:M.offsetWidth,X=H.getBoundingClientRect(),j=E?I.clientY-X.top-V/2-q+U/2:I.clientX-X.left-V/2-q+U/2,K=E?L.scrollHeight:L.scrollWidth,de=E?L.clientHeight:L.clientWidth,ne=(E?H.offsetHeight:H.offsetWidth)-V-q-U;if(ne<=0)return;const re=j/ne,G=K-de;S(),E?L.scrollTop=re*G:O==="rtl"?L.scrollLeft=-(1-re)*G:L.scrollLeft=re*G,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=Re("div",t,{ref:[n,E?y:h],state:N,props:[z,l],stateAttributesMapping:pc});return P?Y.jsx(Vp.Provider,{value:s,children:F}):null}),KP=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=kS(),m=g==="vertical";return Re("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]})}),ZP=c.forwardRef(function(t,n){const{render:o,className:r,style:s,...i}=t,{cornerRef:a,cornerSize:l,hiddenState:u}=ii(),d=Re("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}),$p=c.createContext(void 0);function ai(){const e=c.useContext($p);if(e===void 0)throw new Error(We(64));return e}const gr={tabActivationDirection:e=>({"data-activation-direction":e})},QP=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]=Ht({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=nu(k,g,i,v),N=k!=null&&g!=null&&S(g)==null);const O=N?k:g,D=k!==O||T!==E;pe(()=>{D&&C({previousValue:O,tabActivationDirection:E})},[O,D,E]);const A=he((j,K)=>{const de=nu(g,j,i,v);K.activationDirection=de,s==null||s(j,K),!K.isCanceled&&m(j)}),P=he((j,K)=>{s==null||s(j,ke(K,void 0,void 0,{activationDirection:"none"}))}),z=he((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),q=c.useRef(!1);pe(()=>{var ne;if(b)return;function j(re,G){m(re),C({previousValue:re,tabActivationDirection:"none"}),P(re,G),H.current=!1}if(v.size===0){q.current&&g!==null&&!((ne=w.current)!=null&&ne.isConnected)&&j(null,Hc);return}q.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 G=Hc;se?G=jc:K&&(G=Qu),j(re,G);return}se&&M!=null&&(P(g,jc),H.current=!1)},[L,b,P,M,m,v,g]);const X=Re("div",t,{state:{orientation:i,tabActivationDirection:E},ref:n,props:d,stateAttributesMapping:gr});return Y.jsx($p.Provider,{value:_,children:Y.jsx(cr,{elementsRef:f,children:X})})});function oa(e,t){for(const[n,o]of e.entries())if(t===o.value)return n;return null}function nu(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 Hp=c.createContext(void 0);function jp(){const e=c.useContext(Hp);if(e===void 0)throw new Error(We(65));return e}const JP=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}=jp(),{highlightedIndex:x,onHighlightedIndexChange:w}=vs(),S=st(a),R=c.useMemo(()=>({disabled:r,id:S,value:i}),[r,S,i]),{compositeProps:C,compositeRef:k,index:T}=xf({metadata:R}),E=i===p,N=c.useRef(!1),O=c.useRef(null),D=he(q=>{var V;(V=O.current)==null||V.call(O),O.current=q?b(q):null});pe(()=>{if(N.current){N.current=!1;return}if(!(E&&T>-1&&x!==T))return;const q=v;if(q!=null){const V=pt(Ie(q));if(V&&ve(q,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 _(q){y(i,ke(Rt,q.nativeEvent,void 0,{activationDirection:"none"}))}function M(q){E||r||_(q)}function L(q){E||r||m&&(!F.current||I.current)&&_(q)}function H(q){if(E||r)return;F.current=!0,I.current=q.button===0;const V=Ie(q.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 Re("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,[Za]:E?"":void 0,onKeyDownCapture(){N.current=!0}},d,A],stateAttributesMapping:gr})});var ou;const CS={...gr,activeTabPosition:()=>null,activeTabSize:()=>null},eM=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}=jp(),h=Zb();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}=Dl(O),{width:P,height:z}=Dl(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=Re("span",t,{state:{orientation:u,activeTabPosition:R,activeTabSize:C,tabActivationDirection:d},ref:n,props:[{role:"presentation",style:k,hidden:!T},a,{suppressHydrationWarning:!0}],stateAttributesMapping:CS});return p==null?null:Y.jsxs(c.Fragment,{children:[N,s&&(ou||(ou=Y.jsx(Af,{script:Of})))]})}),ES={...gr,...Xt},tM=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=st(),{ref:g,index:m}=ur(),b=r===u,{mounted:v,transitionStatus:x,setMounted:w}=On(b),S=!v,R=d(r),C={hidden:S,orientation:p,tabActivationDirection:f,transitionStatus:x},k=c.useRef(null),T=Re("div",t,{state:C,ref:[n,g,k],props:[{"aria-labelledby":R,hidden:S,id:h,role:"tabpanel",tabIndex:b?0:-1,inert:ar(!b),"data-index":m},l],stateAttributesMapping:ES});return It({open:b,ref:k,onComplete(){b||w(!1)}}),pe(()=>{if(!(h==null||S&&!i))return y(r,h)},[S,i,r,h,y]),i||v?T:null}),nM=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);pe(()=>{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=he(k=>(m.current.add(k),()=>{m.current.delete(k)})),w=he(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(Hp.Provider,{value:C,children:Y.jsx(Ja,{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:Vt})})});function oM(e){return Qd("alert-dialog",e)}const rM=Mv;function PS(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 Bp(e){return{checked(t){return e.indeterminate?{}:t?{"data-checked":""}:{"data-unchecked":""}},...Gn}}const MS=c.createContext(void 0);function TS(){return c.useContext(MS)}const Wp=c.createContext(void 0);function IS(){const e=c.useContext(Wp);if(e===void 0)throw new Error(We(14));return e}const OS="data-parent",sM=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}=Po(),{disabled:k,name:T,setDirty:E,setFilled:N,setFocused:O,setTouched:D,state:A,validationMode:P,validityData:z,validation:F}=Zt(),I=ef(),{labelId:_,controlId:M,registerControlId:L,getDescriptionProps:H}=An(),$=TS(),U=($==null?void 0:$.allValues)===void 0?void 0:$.parent,q=U!==void 0,V=k||I.disabled||($==null?void 0:$.disabled)||a,X=T??f,j=x??X,K=st(),de=st();let se=u||M;q&&(h?se=de:j!==void 0?se=`${U.id}-${j}`:se||(se=de));let ne={};q&&(h?ne=U.getParentProps():j!==void 0&&(ne=U.getChildProps(j)));const{checked:re=o,indeterminate:G=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]=Ht({controlled:j!==void 0&&ue!==void 0&&!h?ue.includes(j):re,default:s,name:"Checkbox",state:"checked"}),fe=q?!!re:W,te=q&&G||d;pe(()=>{L!==ot&&(ae.current=!0,L(J.current,se))},[se,L,J]),c.useEffect(()=>{const be=J.current;return()=>{!ae.current||L===ot||(ae.current=!1,L(be,void 0))}},[L,J]),To(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=Tt(p,ee,h?void 0:De),qe=Wa(i,_,ee,!w,se??void 0);pe(()=>{ee.current&&(ee.current.indeterminate=te,W&&N(!0))},[W,te,N]),Eo(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?Is: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&&!q))){const je=Ve?[...$.value,j]:$.value.filter(Je=>Je!==j);$.setValue(je,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=Bp(ze),Te=Re("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":qe,[OS]: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 Be;if(be.key!=="Enter"||(be.preventBaseUIHandler(),be.defaultPrevented))return;const Ve=((Be=ee.current)==null?void 0:Be.form)??null,Fe=be.currentTarget,je=be.nativeEvent,Je=be.preventDefault,lt=je.preventDefault;let we=!1;be.preventDefault=()=>{we=!0,Je.call(be)},je.preventDefault=()=>{we=!0,lt.call(je)},lt.call(je),Xe(Fe).queueMicrotask(()=>{var tt;be.preventDefault=Je,je.preventDefault=lt,we||(tt=PS(Ve))==null||tt.click()})},onClick(be){if(g||V)return;be.preventDefault();const Ve=ee.current;Ve&&zn(Ve,be)}},R,ge,ce,H,be=>le.getValidationProps(V,be)],stateAttributesMapping:et});return Y.jsxs(Wp.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})]})}),iM=c.forwardRef(function(t,n){const{render:o,className:r,style:s,keepMounted:i=!1,...a}=t,l=IS(),u=l.checked||l.indeterminate,{mounted:d,transitionStatus:p,setMounted:f}=On(u),y=c.useRef(null),h={...l,transitionStatus:p};It({open:u,ref:y,onComplete(){u||f(!1)}});const m={...Bp(l),...Xt},b=i||d,v=Re("span",t,{ref:[n,y],state:h,stateAttributesMapping:m,props:a});return b?v:null});function aM(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=xn(),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(kp.Provider,{value:d,children:Y.jsx(uc.Provider,{value:void 0,children:Y.jsx(Bw,{...e})})})}const ru=500,cM=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}=Xn(!1),m=g.useState("open"),b=g.useState("disabled"),v=c.useRef(null),x=c.useRef(null),w=nt(),S=nt(),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($t,F)),S.start(ru,()=>{R.current=!0})}function T(P){var I;if(b)return;f.current=!0,Ft(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&&dc(M)===h||(L=l.current)==null||L.setOpen(!1,ke(ga,_))},{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(ru,()=>{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]),Re("div",t,{state:{open:m},ref:[v,n],props:[{onContextMenu:T,onTouchStart:N,onTouchMove:O,onTouchEnd:E,onTouchCancel:E,style:{WebkitTouchCallout:"none"}},i],stateAttributesMapping:Yo})});function AS(e,t){const n=getComputedStyle(e),o=parseFloat(n.fontSize);return t*o}function NS(e,t){const n=getComputedStyle(e.ownerDocument.documentElement),o=parseFloat(n.fontSize);return t*o}function DS(e){return e/100*window.innerHeight}function _S(e){return e/100*window.innerWidth}function LS(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 Ho({groupSize:e,panelElement:t,styleProp:n}){let o;const[r,s]=LS(n);switch(s){case"%":{o=r/100*e;break}case"px":{o=r;break}case"rem":{o=NS(t,r);break}case"em":{o=AS(t,r);break}case"vh":{o=DS(r);break}case"vw":{o=_S(r);break}}return o}function St(e){return parseFloat(e.toFixed(3))}function So({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=So({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=Ho({groupSize:n,panelElement:r,styleProp:s.collapsedSize});i=St(d/n*100)}let a;if(s.defaultSize!==void 0){const d=Ho({groupSize:n,panelElement:r,styleProp:s.defaultSize});a=St(d/n*100)}let l=0;if(s.minSize!==void 0){const d=Ho({groupSize:n,panelElement:r,styleProp:s.minSize});l=St(d/n*100)}let u=100;if(s.maxSize!==void 0){const d=Ho({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"?FS:zS)}function FS(e,t){const n=e.element.offsetLeft-t.element.offsetLeft;return n!==0?n:e.element.offsetWidth-t.element.offsetWidth}function zS(e,t){const n=e.element.offsetTop-t.element.offsetTop;return n!==0?n:e.element.offsetHeight-t.element.offsetHeight}function Up(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 VS({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 $S(){return $r===void 0&&(typeof matchMedia=="function"?$r=!!matchMedia("(pointer:coarse)").matches:$r=!1),$r}function Gp(e){const{element:t,orientation:n,panels:o,separators:r}=e,s=sa(n,Array.from(t.children).filter(Up).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=VS({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=$S()?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:So({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 hn;class Yp{constructor(){Pc(this,hn,{})}addListener(t,n){const o=No(this,hn)[t];return o===void 0?No(this,hn)[t]=[n]:o.includes(n)||o.push(n),()=>{this.removeListener(t,n)}}emit(t,n){const o=No(this,hn)[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(){Mc(this,hn,{})}removeListener(t,n){const o=No(this,hn)[t];if(o!==void 0){const r=o.indexOf(n);r>=0&&o.splice(r,1)}}}hn=new WeakMap;let po={cursorFlags:0,state:"inactive"};const hc=new Yp;function jn(){return po}function HS(e){return hc.addListener("change",e)}function jS(e){const t=po,n={...po};n.cursorFlags=e,po=n,hc.emit("change",{prev:t,next:n})}function ho(e){const t=po;po=e,hc.emit("change",{prev:t,next:e})}const BS=e=>e,Ii=()=>{},Xp=1,Kp=2,Zp=4,Qp=8,su=3,iu=12;let Hr;function au(){return Hr===void 0&&(Hr=!1,typeof window<"u"&&(window.navigator.userAgent.includes("Chrome")||window.navigator.userAgent.includes("Firefox"))&&(Hr=!0)),Hr}function WS({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&&au()){const s=(e&Xp)!==0,i=(e&Kp)!==0,a=(e&Zp)!==0,l=(e&Qp)!==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 au()?o>0&&r>0?"move":o>0?"ew-resize":"ns-resize":o>0&&r>0?"grab":o>0?"col-resize":"row-resize"}}const cu=new WeakMap;function gc(e){if(e.defaultView===null||e.defaultView===void 0)return;let{prevStyle:t,styleSheet:n}=cu.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=jn();switch(o.state){case"active":case"hover":{const r=WS({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}}cu.set(e,{prevStyle:t,styleSheet:n})}let Gt=new Map;const Jp=new Yp;function US(e){Gt=new Map(Gt),Gt.delete(e)}function lu(e,t){for(const[n]of Gt)if(n.id===e)return n}function bn(e,t){for(const[n,o]of Gt)if(n.id===e)return o;if(t)throw Error(`Could not find data for Group with id ${e}`)}function Kn(){return Gt}function mc(e,t){return Jp.addListener("groupChange",n=>{n.group.id===e&&t(n)})}function ln(e,t,n){const o=Gt.get(e);Gt=new Map(Gt),Gt.set(e,t),Jp.emit("groupChange",{group:e,isUserInteraction:(n==null?void 0:n.isUserInteraction)===!0,prev:o,next:t})}function eh(e){const t=jn();let n=!1;switch(t.state){case"active":ho({cursorFlags:0,state:"inactive"}),t.hitRegions.length>0&&(gc(e),n=!0,t.hitRegions.forEach(o=>{const r=bn(o.group.id,!0);ln(o.group,r,{isUserInteraction:!0})}))}return n}function uu(e){e.defaultPrevented||eh(e.currentTarget)}function qS(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 GS(e){return e!==null&&typeof e=="object"&&"nodeType"in e&&e.nodeType===Node.DOCUMENT_FRAGMENT_NODE}function YS(e,t){if(e===t)throw new Error("Cannot compare node with itself");const n={a:pu(e),b:pu(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:fu(du(n.a)),b:fu(du(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 XS=/\b(?:position|zIndex|opacity|transform|webkitTransform|mixBlendMode|filter|webkitFilter|isolation)\b/;function KS(e){const t=getComputedStyle(th(e)??e).display;return t==="flex"||t==="inline-flex"}function ZS(e){const t=getComputedStyle(e);return!!(t.position==="fixed"||t.zIndex!=="auto"&&(t.position!=="static"||KS(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"||XS.test(t.willChange)||t.webkitOverflowScrolling==="touch")}function du(e){let t=e.length;for(;t--;){const n=e[t];if(Qe(n,"Missing node"),ZS(n))return n}return null}function fu(e){return e&&Number(getComputedStyle(e).zIndex)||0}function pu(e){const t=[];for(;e;)t.push(e),e=th(e);return t}function th(e){const{parentNode:t}=e;return GS(t)?t.host:t}function QS(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 JS({groupElement:e,hitRegion:t,pointerEventTarget:n}){if(!Up(n)||n.contains(e)||e.contains(n))return!0;if(YS(n,e)>0){let o=n;for(;o;){if(o.contains(e))return!0;if(QS(o.getBoundingClientRect(),t))return!1;o=o.parentElement}}return!0}function yc(e,t){const n=[];return t.forEach((o,r)=>{if(r.disabled)return;const s=Gp(r),i=qS(r.orientation,s,{x:e.clientX,y:e.clientY});i&&i.distance.x<=0&&i.distance.y<=0&&JS({groupElement:r.element,hitRegion:i.hitRegion.rect,pointerEventTarget:e.target})&&n.push(i.hitRegion)}),n}function eR(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 Ut(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(Ut(o,l)<0)if(s){const u=(r+l)/2;Ut(o,u)<0?o=r:o=l}else o=l;return o=Math.min(a,o),o=St(o),o}function tr({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;Ut(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;Ut(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&&Ut(b,w)<0)if(e>0){const S=w-x,R=S/2,C=b+e;Ut(C,w)<0&&(e=Ut(e,R)<=0?0:S)}else{const S=w-x,R=100-S/2,C=b-e;Ut(C,w)<0&&(e=Ut(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(eR(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 Bn(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(t[n]===void 0||Ut(e[n],t[n])!==0)return!1;return!0}function Wn({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 nh({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 tr({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=Wn({layout:m,panelConstraints:p});Bn(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=So({group:u}),f=Ho({groupSize:p,panelElement:d,styleProp:l}),y=St(f/p*100);a(y)}}}function hu(e){if(e.defaultPrevented)return;const t=Kn();yc(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=nh({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 oh({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=Wn({layout:n,panelConstraints:r});return o?a:(Bn(a,u)||ln(s,{defaultLayoutDeferred:o,derivedPanelConstraints:r,groupSize:i,layout:u,separatorToPanels:l}),u)}}}function Fn(e,t){const n=Xr(e),o=bn(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=oh({groupId:n.id}).getLayout(),l=tr({delta:t,initialLayout:a,panelConstraints:o.derivedPanelConstraints,pivotIndices:i,prevLayout:a,trigger:"keyboard"}),u=Wn({layout:l,panelConstraints:o.derivedPanelConstraints});Bn(a,u)||ln(n,{defaultLayoutDeferred:o.defaultLayoutDeferred,derivedPanelConstraints:o.derivedPanelConstraints,groupSize:o.groupSize,layout:u,separatorToPanels:o.separatorToPanels},{isUserInteraction:!0})}function gu(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"&&Fn(t,5);break}case"ArrowLeft":{e.preventDefault(),n.orientation==="horizontal"&&Fn(t,-5);break}case"ArrowRight":{e.preventDefault(),n.orientation==="horizontal"&&Fn(t,5);break}case"ArrowUp":{e.preventDefault(),n.orientation==="vertical"&&Fn(t,-5);break}case"End":{e.preventDefault(),Fn(t,100);break}case"Enter":{e.preventDefault();const o=Xr(t),r=bn(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;Fn(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(),Fn(t,-100);break}}}function mu(e){if(e.defaultPrevented||e.pointerType==="mouse"&&e.button>0)return;const t=Kn(),n=yc(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)}),ho({cursorFlags:0,hitRegions:n,initialLayoutMap:o,pointerDownAtPoint:{x:e.clientX,y:e.clientY},state:"active"}),n.length&&e.preventDefault()}function rh({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=tr({delta:g,initialLayout:m,panelConstraints:x,pivotIndices:u.panels.map(k=>y.indexOf(k)),prevLayout:S,trigger:"mouse-or-touch"});if(Bn(C,S)){if(g!==0&&!h)switch(f){case"horizontal":{a|=g<0?Xp:Kp;break}case"vertical":{a|=g<0?Zp:Qp;break}}}else ln(u.group,{defaultLayoutDeferred:v,derivedPanelConstraints:x,groupSize:w,layout:C,separatorToPanels:R})}});let l=0;t.movementX===0?l|=i&su:l|=a&su,t.movementY===0?l|=i&iu:l|=a&iu,jS(l),gc(e)}function yu(e){const t=Kn(),n=jn();switch(n.state){case"active":rh({document:e.currentTarget,event:e,hitRegions:n.hitRegions,initialLayoutMap:n.initialLayoutMap,mountedGroups:t,prevCursorFlags:n.cursorFlags})}}function bu(e){var o,r;if(e.defaultPrevented)return;const t=jn(),n=Kn();switch(t.state){case"active":{if(e.buttons===0){ho({cursorFlags:0,state:"inactive"}),t.hitRegions.forEach(s=>{const i=bn(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))}rh({document:e.currentTarget,event:e,hitRegions:t.hitRegions,initialLayoutMap:t.initialLayoutMap,mountedGroups:n,pointerDownAtPoint:t.pointerDownAtPoint,prevCursorFlags:t.cursorFlags});break}default:{const s=yc(e,n);s.length===0?t.state!=="inactive"&&ho({cursorFlags:0,state:"inactive"}):ho({cursorFlags:0,hitRegions:s,state:"hover"}),gc(e.currentTarget);break}}}function vu(e){if(e.relatedTarget instanceof HTMLIFrameElement)switch(jn().state){case"hover":ho({cursorFlags:0,state:"inactive"})}}function xu(e){e.defaultPrevented||e.pointerType==="mouse"&&e.button>0||eh(e.currentTarget)&&e.preventDefault()}function wu(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 tR(e,t,n){if(!n[0])return;const o=e.panels.find(l=>l.element===t);if(!o||!o.onResize)return;const r=So({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 nR(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 oR({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 rR(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 sR(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=So({group:e});if(v===0)return;const x=bn(e.id);if(!x)return;const w=ra(e),S=x.defaultLayoutDeferred?wu(w):x.layout,R=oR({group:e,nextGroupSize:v,prevGroupSize:x.groupSize,prevLayout:S}),C=Wn({layout:R,panelConstraints:w});if(!x.defaultLayoutDeferred&&Bn(x.layout,C)&&nR(x.derivedPanelConstraints,w)&&x.groupSize===v)return;ln(e,{defaultLayoutDeferred:!1,derivedPanelConstraints:w,groupSize:v,layout:C,separatorToPanels:x.separatorToPanels})}}else tR(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=So({group:e}),a=ra(e),l=e.panels.map(({id:h})=>h).join(",");let u=e.mutableState.defaultLayout;u&&(rR(e.panels,u)||(u=void 0));const d=e.mutableState.layouts[l]??u??wu(a),p=Wn({layout:d,panelConstraints:a}),f=e.element.ownerDocument;ro.set(f,(ro.get(f)??0)+1);const y=new Map;return Gp(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",gu)}),ro.get(f)===1&&(f.addEventListener("contextmenu",uu,!0),f.addEventListener("dblclick",hu,!0),f.addEventListener("pointerdown",mu,!0),f.addEventListener("pointerleave",yu),f.addEventListener("pointermove",bu),f.addEventListener("pointerout",vu),f.addEventListener("pointerup",xu,!0)),function(){t=!1,ro.set(f,Math.max(0,(ro.get(f)??0)-1)),US(e),e.separators.forEach(h=>{h.element.removeEventListener("keydown",gu)}),ro.get(f)||(f.removeEventListener("contextmenu",uu,!0),f.removeEventListener("dblclick",hu,!0),f.removeEventListener("pointerdown",mu,!0),f.removeEventListener("pointerleave",yu),f.removeEventListener("pointermove",bu),f.removeEventListener("pointerout",vu),f.removeEventListener("pointerup",xu,!0)),s.disconnect()}}function iR(){const[e,t]=c.useState({}),n=c.useCallback(()=>t({}),[]);return[e,n]}function bc(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 vc(...e){return qo(t=>{e.forEach(n=>{if(n)switch(typeof n){case"function":{n(t);break}case"object":{n.current=t;break}}})})}function xc(e){const t=c.useRef({...e});return Zn(()=>{for(const n in e)t.current[n]=e[n]},[e]),t.current}const sh=c.createContext(null);function aR(e,t){const n=c.useRef({getLayout:()=>({}),setLayout:BS});c.useImperativeHandle(t,()=>n.current,[]),Zn(()=>{Object.assign(n.current,oh({groupId:e}))})}function cR({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=>{Bn(h.current.onLayoutChange,N)||(h.current.onLayoutChange=N,l==null||l(N))}),m=qo((N,O)=>{Bn(h.current.onLayoutChanged,N)||(h.current.onLayoutChanged=N,u==null||u(N,{isUserInteraction:O}))}),b=bc(a),v=c.useRef(null),[x,w]=iR(),S=c.useRef({lastExpandedPanelSizes:{},layouts:{},panels:[],resizeTargetMinimumSize:p,separators:[]}),R=vc(v,s);aR(b,i);const C=qo((N,O)=>{const D=jn(),A=lu(N),P=bn(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=xc({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=lu(b),P=bn(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=sR(A),{defaultLayoutDeferred:z,derivedPanelConstraints:F,layout:I}=bn(A.id,!0);!z&&F.length>0&&(g(I),m(I,!1));const _=mc(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 q=jn().state!=="active";g($),q&&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(sh.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})})}cR.displayName="Group";function wc(){const e=c.useContext(sh);return Qe(e,"Group Context not found; did you render a Panel or Separator outside of a Group?"),e}function lR(e,t){const{id:n}=wc(),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,nh({groupId:n,panelId:e}))})}function uR({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=bc(l),b=xc({disabled:s}),v=c.useRef(null),x=vc(v,i),{getPanelStyles:w,id:S,orientation:R,registerPanel:C,updatePanelProps:k}=wc(),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]),lR(m,f);const N=()=>{const A=w(S,m);if(A)return JSON.stringify(A)},O=c.useSyncExternalStore(A=>mc(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:{...dR,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})})}uR.displayName="Panel";const dR={minHeight:0,maxHeight:"100%",height:"auto",minWidth:0,maxWidth:"100%",width:"auto",border:"none",borderWidth:0,padding:0,margin:0};function fR({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=Wn({layout:tr({delta:u-i,initialLayout:e,panelConstraints:t,pivotIndices:d,prevLayout:e}),panelConstraints:t})[n],r=Wn({layout:tr({delta:l-i,initialLayout:e,panelConstraints:t,pivotIndices:d,prevLayout:e}),panelConstraints:t})[n]}return{valueControls:n,valueMax:r,valueMin:s,valueNow:i}}function pR({children:e,className:t,disabled:n,disableDoubleClick:o,elementRef:r,id:s,style:i,...a}){const l=bc(s),u=xc({disabled:n,disableDoubleClick:o}),[d,p]=c.useState({}),[f,y]=c.useState("inactive"),[h,g]=c.useState(!1),m=c.useRef(null),b=vc(m,r),{disableCursor:v,id:x,orientation:w,registerSeparator:S,updateSeparatorProps:R}=wc(),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=HS(P=>{y(P.next.state!=="inactive"&&P.next.hitRegions.some(z=>z.separator===N)?P.next.state:"inactive")}),A=mc(x,P=>{const{derivedPanelConstraints:z,layout:F,separatorToPanels:I}=P.next,_=I.get(N);if(_){const M=_[0],L=_.indexOf(M);p(fR({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})}pR.displayName="Separator";const ih=c.createContext(void 0);function hR(){const e=c.useContext(ih);if(e===void 0)throw new Error(We(63));return e}const ah={...Gn,checked(e){return e?{"data-checked":""}:{"data-unchecked":""}}},lM=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}=Po(),{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=Tt(_,u,P.inputRef),L=c.useRef(null),H=st(),$=Mo({id:l,implicit:!1,controlRef:L}),U=p?void 0:$,[q,V]=Ht({controlled:o,default:!!s,name:"Switch",state:"checked"});To(L,H,q,void 0,!F,d),pe(()=>{_.current&&E(_.current.checked)},[E]),Eo(q,()=>{S(I),k(q!==T.initialValue),E(q),P.change(q)});const{getButtonProps:X,buttonRef:j}=Mt({disabled:F,native:p}),K=Wa(i,z,_,!p,U),de={id:p?$:H,role:"switch","aria-checked":q,"aria-readonly":y||void 0,"aria-required":h||void 0,"aria-labelledby":K,onFocus(){F||N(!0)},onBlur(){const G=_.current;!G||F||(C(!0),N(!1),O==="onBlur"&&P.commit(G.checked))},onClick(G){if(y||F)return;G.preventDefault();const ie=_.current;ie&&zn(ie,G)}},se={...P.getValidationProps(F),checked:q,disabled:F,form:a,id:U,name:I,required:h,style:I?Is:Sn,tabIndex:-1,type:"checkbox","aria-hidden":!0,ref:M,onChange(G){if(G.nativeEvent.defaultPrevented)return;if(y){G.preventDefault();return}const ie=G.currentTarget.checked,ge=ke(Rt,G.nativeEvent);f==null||f(ie,ge),!ge.isCanceled&&V(ie)},onClick(G){G.stopPropagation()},onFocus(){var G;(G=L.current)==null||G.focus()},...v!==void 0?{value:v}:Ke},ne=c.useMemo(()=>({...R,checked:q,disabled:F,readOnly:y,required:h}),[R,q,F,y,h]),re=Re("span",t,{state:ne,ref:[n,L,j],props:[de,w,X,G=>P.getValidationProps(F,G)],stateAttributesMapping:ah});return Y.jsxs(ih.Provider,{value:ne,children:[re,!q&&I&&b!==void 0&&Y.jsx("input",{type:"hidden",form:a,name:I,value:b,disabled:F}),Y.jsx("input",{...se,suppressHydrationWarning:!0})]})}),uM=c.forwardRef(function(t,n){const{render:o,className:r,style:s,...i}=t,a=hR();return Re("span",t,{state:a,ref:n,stateAttributesMapping:ah,props:i})});export{lE as $,Mk as A,nk as B,_R as C,GC as D,dk as E,yk as F,Ok as G,$k as H,AR as I,hE as J,qk as K,Xk as L,gC as M,Ik as N,SR as O,OC as P,lC as Q,VC as R,WC as S,uE as T,HC as U,$R as V,mC as W,TE as X,DR as Y,AE as Z,iC as _,FC as a,zE as a$,Nk as a0,_C as a1,IC as a2,KC as a3,ZR as a4,eE as a5,ok as a6,ME as a7,JR as a8,wk as a9,kR as aA,$C as aB,vR as aC,bR as aD,YR as aE,ck as aF,ZC as aG,Uk as aH,jk as aI,yE as aJ,wE as aK,fk as aL,bE as aM,jC as aN,sC as aO,SE as aP,xE as aQ,JC as aR,vE as aS,ik as aT,_E as aU,s0 as aV,NE as aW,DE as aX,HE as aY,VE as aZ,jE as a_,NR as aa,vC as ab,MR as ac,Yk as ad,PE as ae,lM as af,uM as ag,hk as ah,gk as ai,EE as aj,CE as ak,ak as al,nC as am,RE as an,CC as ao,HR as ap,XR as aq,DC as ar,mk as as,PR as at,Ck as au,mE as av,Zk as aw,rC as ax,gE as ay,AC as az,pk as b,AP as b$,$E as b0,FE as b1,LE as b2,BE as b3,KE as b4,oP as b5,QE as b6,WE as b7,qE as b8,UE as b9,gP as bA,mP as bB,hP as bC,Lk as bD,IE as bE,nE as bF,vP as bG,Mv as bH,lk as bI,qr as bJ,ti as bK,wP as bL,SP as bM,RP as bN,kP as bO,Lf as bP,MC as bQ,Sk as bR,Bw as bS,OP as bT,MP as bU,CP as bV,PP as bW,TP as bX,IP as bY,EP as bZ,DP as b_,GE as ba,ZE as bb,YE as bc,XE as bd,eP as be,JE as bf,nP as bg,tP as bh,LR as bi,Et as bj,rP as bk,bC as bl,Bk as bm,BR as bn,sP as bo,iP as bp,lP as bq,aP as br,cP as bs,fP as bt,dP as bu,uP as bv,oC as bw,pP as bx,bP as by,yP as bz,qC as c,pC as c$,NP as c0,Wk as c1,PC as c2,_P as c3,LP as c4,VP as c5,$P as c6,FP as c7,zP as c8,NC as c9,hC as cA,ER as cB,zk as cC,CR as cD,KR as cE,jR as cF,uk as cG,zR as cH,xR as cI,kE as cJ,UR as cK,QR as cL,GR as cM,Jk as cN,vk as cO,yC as cP,Vk as cQ,eC as cR,xk as cS,bk as cT,Ak as cU,oE as cV,tC as cW,cM as cX,aM as cY,qR as cZ,TR as c_,UC as ca,HP as cb,jP as cc,BP as cd,UP as ce,WP as cf,Rk as cg,TC as ch,EC as ci,qP as cj,cC as ck,GP as cl,YP as cm,ZP as cn,XP as co,KP as cp,tM as cq,nM as cr,eM as cs,QP as ct,JP as cu,oM as cv,rM as cw,sM as cx,iM as cy,Hk as cz,iE as d,LC as d0,BC as d1,uC as d2,wR as d3,kk as d4,OR as d5,Dk as d6,XC as d7,RR as d8,SC as d9,yR as da,wC as db,pR as dc,uR as dd,cR as de,WR as df,kC as dg,tk as dh,zC as di,Qk as dj,Pk as dk,pE as dl,fC as dm,ek as dn,QC as dp,tE as dq,Kk as dr,aC as e,OE as f,aE as g,_k as h,fE as i,rk as j,dC as k,Ek as l,Gk as m,Fk as n,Tk as o,IR as p,RC as q,rE as r,VR as s,FR as t,xC as u,YC as v,sE as w,cE as x,dE as y,sk as z};
|