@deslop/deploy 0.0.0-stage → 0.1.1223

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.
Files changed (36) hide show
  1. package/README.md +13 -2
  2. package/bin/caddy-LICENSE +202 -0
  3. package/bin/caddy.zst +0 -0
  4. package/dist/client/apple-touch-icon.png +0 -0
  5. package/dist/client/assets/(home)-CWfhmaL6.js +1 -0
  6. package/dist/client/assets/(home)-ykOWm0AL.js +1 -0
  7. package/dist/client/assets/-error-R2qPsRo1.js +1 -0
  8. package/dist/client/assets/geist-cyrillic-ext-wght-normal-DjL33-gN.woff2 +0 -0
  9. package/dist/client/assets/geist-cyrillic-wght-normal-BEAKL7Jp.woff2 +0 -0
  10. package/dist/client/assets/geist-latin-ext-wght-normal-DC-KSUi6.woff2 +0 -0
  11. package/dist/client/assets/geist-latin-wght-normal-BgDaEnEv.woff2 +0 -0
  12. package/dist/client/assets/geist-mono-cyrillic-ext-wght-normal-X_5orZeX.woff2 +0 -0
  13. package/dist/client/assets/geist-mono-cyrillic-wght-normal-DiZS0aHC.woff2 +0 -0
  14. package/dist/client/assets/geist-mono-latin-ext-wght-normal-Bwz-egvJ.woff2 +0 -0
  15. package/dist/client/assets/geist-mono-latin-wght-normal-XN7g48iV.woff2 +0 -0
  16. package/dist/client/assets/geist-mono-symbols2-wght-normal-CO5SzqOn.woff2 +0 -0
  17. package/dist/client/assets/geist-mono-vietnamese-wght-normal-DadHysG0.woff2 +0 -0
  18. package/dist/client/assets/geist-vietnamese-wght-normal-6IgcOCM7.woff2 +0 -0
  19. package/dist/client/assets/icon-C3lLT5VT.svg +1 -0
  20. package/dist/client/assets/icon-dark-B6bEETJE.svg +1 -0
  21. package/dist/client/assets/icon-dark-D13czbqT.svg +1 -0
  22. package/dist/client/assets/icon-dark-D9-64csD.svg +1 -0
  23. package/dist/client/assets/index-HlW3ZtG_.css +2 -0
  24. package/dist/client/assets/index-OvIQc5i7.js +13 -0
  25. package/dist/client/assets/monitor-sMHE3JZH.js +1 -0
  26. package/dist/client/assets/monitor-ykOWm0AL.js +1 -0
  27. package/dist/client/assets/rolldown-runtime-WkwZ5CU-.js +1 -0
  28. package/dist/client/assets/route-BskkLQgb.js +1 -0
  29. package/dist/client/assets/schema-Bqsq2HKN.js +15 -0
  30. package/dist/client/assets/skeleton-DwejJ2lj.js +1 -0
  31. package/dist/client/assets/useAnchoredPopupScrollLock-C5J2rRQi.js +1 -0
  32. package/dist/client/assets/utils-Fm6WHGZv.js +1 -0
  33. package/dist/client/assets/utils-NO5Sw07j.js +1 -0
  34. package/dist/client/index.html +26 -0
  35. package/dist/server.js +88334 -0
  36. package/package.json +40 -5
package/README.md CHANGED
@@ -1,3 +1,14 @@
1
- # Temporary Holding Version
1
+ # Deploy
2
2
 
3
- This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.
3
+ Resource history, running apps and HTTPS exposure for each worker.
4
+
5
+ ```bash
6
+ npm install --global @deslop/deploy
7
+ deploy service install --url https://deploy.example.ts.net --workers desktop=https://desktop.example.ts.net:5102
8
+ ```
9
+
10
+ - **`--workers`** names the other workers' Deploy; every worker keeps the same `DEPLOY_KEY` in `~/.deslop/deploy.env`.
11
+ - **Public exposure** runs its bundled Caddy on ports 80 and 443.
12
+ - **MCP** at `/mcp`: `resource_history`, `inventory`, `expose_port`, `hide_exposure`.
13
+
14
+ Common flags and service commands: [Deslop app runtime](https://github.com/MP281X/deslop/blob/main/packages/runtime/README.md).
@@ -0,0 +1,202 @@
1
+
2
+ Apache License
3
+ Version 2.0, January 2004
4
+ http://www.apache.org/licenses/
5
+
6
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
7
+
8
+ 1. Definitions.
9
+
10
+ "License" shall mean the terms and conditions for use, reproduction,
11
+ and distribution as defined by Sections 1 through 9 of this document.
12
+
13
+ "Licensor" shall mean the copyright owner or entity authorized by
14
+ the copyright owner that is granting the License.
15
+
16
+ "Legal Entity" shall mean the union of the acting entity and all
17
+ other entities that control, are controlled by, or are under common
18
+ control with that entity. For the purposes of this definition,
19
+ "control" means (i) the power, direct or indirect, to cause the
20
+ direction or management of such entity, whether by contract or
21
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
22
+ outstanding shares, or (iii) beneficial ownership of such entity.
23
+
24
+ "You" (or "Your") shall mean an individual or Legal Entity
25
+ exercising permissions granted by this License.
26
+
27
+ "Source" form shall mean the preferred form for making modifications,
28
+ including but not limited to software source code, documentation
29
+ source, and configuration files.
30
+
31
+ "Object" form shall mean any form resulting from mechanical
32
+ transformation or translation of a Source form, including but
33
+ not limited to compiled object code, generated documentation,
34
+ and conversions to other media types.
35
+
36
+ "Work" shall mean the work of authorship, whether in Source or
37
+ Object form, made available under the License, as indicated by a
38
+ copyright notice that is included in or attached to the work
39
+ (an example is provided in the Appendix below).
40
+
41
+ "Derivative Works" shall mean any work, whether in Source or Object
42
+ form, that is based on (or derived from) the Work and for which the
43
+ editorial revisions, annotations, elaborations, or other modifications
44
+ represent, as a whole, an original work of authorship. For the purposes
45
+ of this License, Derivative Works shall not include works that remain
46
+ separable from, or merely link (or bind by name) to the interfaces of,
47
+ the Work and Derivative Works thereof.
48
+
49
+ "Contribution" shall mean any work of authorship, including
50
+ the original version of the Work and any modifications or additions
51
+ to that Work or Derivative Works thereof, that is intentionally
52
+ submitted to Licensor for inclusion in the Work by the copyright owner
53
+ or by an individual or Legal Entity authorized to submit on behalf of
54
+ the copyright owner. For the purposes of this definition, "submitted"
55
+ means any form of electronic, verbal, or written communication sent
56
+ to the Licensor or its representatives, including but not limited to
57
+ communication on electronic mailing lists, source code control systems,
58
+ and issue tracking systems that are managed by, or on behalf of, the
59
+ Licensor for the purpose of discussing and improving the Work, but
60
+ excluding communication that is conspicuously marked or otherwise
61
+ designated in writing by the copyright owner as "Not a Contribution."
62
+
63
+ "Contributor" shall mean Licensor and any individual or Legal Entity
64
+ on behalf of whom a Contribution has been received by Licensor and
65
+ subsequently incorporated within the Work.
66
+
67
+ 2. Grant of Copyright License. Subject to the terms and conditions of
68
+ this License, each Contributor hereby grants to You a perpetual,
69
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
70
+ copyright license to reproduce, prepare Derivative Works of,
71
+ publicly display, publicly perform, sublicense, and distribute the
72
+ Work and such Derivative Works in Source or Object form.
73
+
74
+ 3. Grant of Patent License. Subject to the terms and conditions of
75
+ this License, each Contributor hereby grants to You a perpetual,
76
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
77
+ (except as stated in this section) patent license to make, have made,
78
+ use, offer to sell, sell, import, and otherwise transfer the Work,
79
+ where such license applies only to those patent claims licensable
80
+ by such Contributor that are necessarily infringed by their
81
+ Contribution(s) alone or by combination of their Contribution(s)
82
+ with the Work to which such Contribution(s) was submitted. If You
83
+ institute patent litigation against any entity (including a
84
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
85
+ or a Contribution incorporated within the Work constitutes direct
86
+ or contributory patent infringement, then any patent licenses
87
+ granted to You under this License for that Work shall terminate
88
+ as of the date such litigation is filed.
89
+
90
+ 4. Redistribution. You may reproduce and distribute copies of the
91
+ Work or Derivative Works thereof in any medium, with or without
92
+ modifications, and in Source or Object form, provided that You
93
+ meet the following conditions:
94
+
95
+ (a) You must give any other recipients of the Work or
96
+ Derivative Works a copy of this License; and
97
+
98
+ (b) You must cause any modified files to carry prominent notices
99
+ stating that You changed the files; and
100
+
101
+ (c) You must retain, in the Source form of any Derivative Works
102
+ that You distribute, all copyright, patent, trademark, and
103
+ attribution notices from the Source form of the Work,
104
+ excluding those notices that do not pertain to any part of
105
+ the Derivative Works; and
106
+
107
+ (d) If the Work includes a "NOTICE" text file as part of its
108
+ distribution, then any Derivative Works that You distribute must
109
+ include a readable copy of the attribution notices contained
110
+ within such NOTICE file, excluding those notices that do not
111
+ pertain to any part of the Derivative Works, in at least one
112
+ of the following places: within a NOTICE text file distributed
113
+ as part of the Derivative Works; within the Source form or
114
+ documentation, if provided along with the Derivative Works; or,
115
+ within a display generated by the Derivative Works, if and
116
+ wherever such third-party notices normally appear. The contents
117
+ of the NOTICE file are for informational purposes only and
118
+ do not modify the License. You may add Your own attribution
119
+ notices within Derivative Works that You distribute, alongside
120
+ or as an addendum to the NOTICE text from the Work, provided
121
+ that such additional attribution notices cannot be construed
122
+ as modifying the License.
123
+
124
+ You may add Your own copyright statement to Your modifications and
125
+ may provide additional or different license terms and conditions
126
+ for use, reproduction, or distribution of Your modifications, or
127
+ for any such Derivative Works as a whole, provided Your use,
128
+ reproduction, and distribution of the Work otherwise complies with
129
+ the conditions stated in this License.
130
+
131
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
132
+ any Contribution intentionally submitted for inclusion in the Work
133
+ by You to the Licensor shall be under the terms and conditions of
134
+ this License, without any additional terms or conditions.
135
+ Notwithstanding the above, nothing herein shall supersede or modify
136
+ the terms of any separate license agreement you may have executed
137
+ with Licensor regarding such Contributions.
138
+
139
+ 6. Trademarks. This License does not grant permission to use the trade
140
+ names, trademarks, service marks, or product names of the Licensor,
141
+ except as required for reasonable and customary use in describing the
142
+ origin of the Work and reproducing the content of the NOTICE file.
143
+
144
+ 7. Disclaimer of Warranty. Unless required by applicable law or
145
+ agreed to in writing, Licensor provides the Work (and each
146
+ Contributor provides its Contributions) on an "AS IS" BASIS,
147
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
148
+ implied, including, without limitation, any warranties or conditions
149
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
150
+ PARTICULAR PURPOSE. You are solely responsible for determining the
151
+ appropriateness of using or redistributing the Work and assume any
152
+ risks associated with Your exercise of permissions under this License.
153
+
154
+ 8. Limitation of Liability. In no event and under no legal theory,
155
+ whether in tort (including negligence), contract, or otherwise,
156
+ unless required by applicable law (such as deliberate and grossly
157
+ negligent acts) or agreed to in writing, shall any Contributor be
158
+ liable to You for damages, including any direct, indirect, special,
159
+ incidental, or consequential damages of any character arising as a
160
+ result of this License or out of the use or inability to use the
161
+ Work (including but not limited to damages for loss of goodwill,
162
+ work stoppage, computer failure or malfunction, or any and all
163
+ other commercial damages or losses), even if such Contributor
164
+ has been advised of the possibility of such damages.
165
+
166
+ 9. Accepting Warranty or Additional Liability. While redistributing
167
+ the Work or Derivative Works thereof, You may choose to offer,
168
+ and charge a fee for, acceptance of support, warranty, indemnity,
169
+ or other liability obligations and/or rights consistent with this
170
+ License. However, in accepting such obligations, You may act only
171
+ on Your own behalf and on Your sole responsibility, not on behalf
172
+ of any other Contributor, and only if You agree to indemnify,
173
+ defend, and hold each Contributor harmless for any liability
174
+ incurred by, or claims asserted against, such Contributor by reason
175
+ of your accepting any such warranty or additional liability.
176
+
177
+ END OF TERMS AND CONDITIONS
178
+
179
+ APPENDIX: How to apply the Apache License to your work.
180
+
181
+ To apply the Apache License to your work, attach the following
182
+ boilerplate notice, with the fields enclosed by brackets "[]"
183
+ replaced with your own identifying information. (Don't include
184
+ the brackets!) The text should be enclosed in the appropriate
185
+ comment syntax for the file format. We also recommend that a
186
+ file or class name and description of purpose be included on the
187
+ same "printed page" as the copyright notice for easier
188
+ identification within third-party archives.
189
+
190
+ Copyright [yyyy] [name of copyright owner]
191
+
192
+ Licensed under the Apache License, Version 2.0 (the "License");
193
+ you may not use this file except in compliance with the License.
194
+ You may obtain a copy of the License at
195
+
196
+ http://www.apache.org/licenses/LICENSE-2.0
197
+
198
+ Unless required by applicable law or agreed to in writing, software
199
+ distributed under the License is distributed on an "AS IS" BASIS,
200
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
201
+ See the License for the specific language governing permissions and
202
+ limitations under the License.
package/bin/caddy.zst ADDED
Binary file
Binary file
@@ -0,0 +1 @@
1
+ import{n as e}from"./rolldown-runtime-WkwZ5CU-.js";import{Ac as t,Al as n,As as r,C as i,Cc as a,Cl as o,Dc as s,Dl as c,Ds as l,Ec as u,F as d,Fs as f,G as p,Hs as m,I as h,Is as g,K as _,Ol as v,Ps as y,Qs as b,Rs as x,S,Sc as C,T as w,Us as T,Vs as E,W as D,Xc as O,Xs as k,Yc as A,Ys as j,Zc as M,Zs as N,aa as P,b as F,ca as I,d as L,ec as ee,f as R,h as te,hc as ne,ia as re,j as ie,js as ae,kc as oe,kl as se,ks as ce,l as le,la as ue,m as de,na as fe,nc as pe,o as me,oa as he,q as ge,qs as z,ra as B,sa as _e,tc as ve,u as ye,vc as be,x as V,xc as H,y as xe,yc as Se,zs as Ce}from"./schema-Bqsq2HKN.js";import{A as we,At as Te,C as Ee,Ct as De,D as Oe,E as ke,Et as Ae,Ft as je,L as U,Nt as Me,Ot as Ne,Pt as Pe,R as Fe,T as Ie,Tt as Le,W as Re,a as ze,b as Be,c as Ve,f as He,g as Ue,gt as We,h as Ge,k as Ke,m as qe,n as Je,p as Ye,r as Xe,s as Ze,t as Qe,v as $e,w as et,wt as tt,x as nt,y as rt,z as it}from"./utils-NO5Sw07j.js";import{A as at,C as ot,E as st,K as ct,N as lt,P as ut,T as dt,W as ft,Z as pt,_ as mt,a as ht,at as gt,c as _t,ct as W,d as vt,dt as G,f as yt,h as bt,ht as K,i as xt,it as St,l as Ct,lt as wt,m as Tt,mt as q,n as Et,o as J,ot as Dt,p as Ot,q as kt,r as At,s as jt,t as Mt,tt as Nt,u as Pt,ut as Ft,w as It}from"./useAnchoredPopupScrollLock-C5J2rRQi.js";import{B as Lt,D as Rt,F as zt,H as Bt,I as Y,J as Vt,L as Ht,M as Ut,N as Wt,O as Gt,P as Kt,b as qt,v as Jt,x as Yt}from"./index-OvIQc5i7.js";var Xt=`~effect/MutableHashSet`,Zt={[Xt]:Xt,[Symbol.iterator](){return Array.from(this.keyMap).map(([e])=>e)[Symbol.iterator]()},toString(){return`MutableHashSet(${M(Array.from(this))})`},toJSON(){return{_id:`MutableHashSet`,values:O(Array.from(this))}},[A](){return this.toJSON()},pipe(){return v(this,arguments)}},X=e=>{let t=Object.create(Zt);return t.keyMap=e,t},Qt=()=>X(zt()),$t=o(2,(e,t)=>(Ht(e.keyMap,t,!0),e)),en=o(2,(e,t)=>Y(e.keyMap,t)),tn={name:`loader-circle`,size:24,node:[[`path`,{d:`M21 12a9 9 0 1 1-6.219-8.56`,key:`13zald`}]],aliases:[`loader-2`]};tn.node;var nn=_(tn),rn={name:`square-terminal`,size:24,node:[[`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`}]],aliases:[`terminal-square`]};rn.node;var an=_(rn),on={name:`box`,size:24,node:[[`path`,{d:`M21 8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16Z`,key:`hh9hay`}],[`path`,{d:`m3.3 7 8.7 5 8.7-5`,key:`g66t2b`}],[`path`,{d:`M12 22V12`,key:`d0xqtd`}]]};on.node;var sn=_(on),cn={name:`check`,size:24,node:[[`path`,{d:`M20 6 9 17l-5-5`,key:`1gmf2c`}]]};cn.node;var ln=_(cn),un={name:`chevron-down`,size:24,node:[[`path`,{d:`m6 9 6 6 6-6`,key:`qrunsl`}]]};un.node;var dn=_(un),fn={name:`chevron-right`,size:24,node:[[`path`,{d:`m9 18 6-6-6-6`,key:`mthhwq`}]]};fn.node;var pn=_(fn),mn={name:`globe`,size:24,node:[[`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`}]]};mn.node;var hn=_(mn),gn={name:`network`,size:24,node:[[`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`}]]};gn.node;var _n=_(gn),vn={name:`plus`,size:24,node:[[`path`,{d:`M5 12h14`,key:`1ays0h`}],[`path`,{d:`M12 5v14`,key:`s699le`}]]};vn.node;var yn=_(vn),bn={name:`x`,size:24,node:[[`path`,{d:`M18 6 6 18`,key:`1bl5f8`}],[`path`,{d:`m6 6 12 12`,key:`d8bk6v`}]]};bn.node;var xn=_(bn),Z=e(n(),1),Q=ge(),$=se();p(`group/field flex w-full gap-2 data-[invalid=true]:text-destructive`,{variants:{orientation:{vertical:`flex-col *:w-full [&>.sr-only]:w-auto`,horizontal:`flex-row items-center has-[>[data-slot=field-content]]:items-start *:data-[slot=field-label]:flex-auto has-[>[data-slot=field-content]]:[&>[role=checkbox],[role=radio]]:mt-px`,responsive:`flex-col *:w-full @md/field-group:flex-row @md/field-group:items-center @md/field-group:*:w-auto @md/field-group:has-[>[data-slot=field-content]]:items-start @md/field-group:*:data-[slot=field-label]:flex-auto [&>.sr-only]:w-auto @md/field-group:has-[>[data-slot=field-content]]:[&>[role=checkbox],[role=radio]]:mt-px`}},defaultVariants:{orientation:`vertical`}});function Sn(e){let t=(0,Q.c)(15),n,r,i,a;t[0]===e?(n=t[1],r=t[2],i=t[3],a=t[4]):({className:r,children:n,errors:i,...a}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a);let o;bb0:{if(n){o=n;break bb0}if(!i?.length){o=null;break bb0}let e;t[5]===i?e=t[6]:(e=[...new Map(i.map(wn)).values()],t[5]=i,t[6]=e);let r=e;if(r?.length==1){o=r[0]?.message;break bb0}let a;t[7]===r?a=t[8]:(a=(0,$.jsx)(`ul`,{className:`ml-4 flex list-disc flex-col gap-1`,children:r.map(Cn)}),t[7]=r,t[8]=a),o=a}let s=o;if(!s)return null;let c;t[9]===r?c=t[10]:(c=D(`text-xs/relaxed font-normal text-destructive`,r),t[9]=r,t[10]=c);let l;return t[11]!==s||t[12]!==a||t[13]!==c?(l=(0,$.jsx)(`div`,{role:`alert`,"data-slot":`field-error`,className:c,...a,children:s}),t[11]=s,t[12]=a,t[13]=c,t[14]=l):l=t[14],l}function Cn(e,t){return e?.message&&(0,$.jsx)(`li`,{children:e.message},t)}function wn(e){return[e?.message,e]}function Tn(e){let t=(0,Q.c)(5),n=e.className,r;t[0]===e.result?r=t[1]:(r=be(C(Jt(e.result),En)),t[0]=e.result,t[1]=r);let i;return t[2]!==e.className||t[3]!==r?(i=(0,$.jsx)(Sn,{className:n,children:r}),t[2]=e.className,t[3]=r,t[4]=i):i=t[4],i}function En(e){return e.message}function Dn(e){return le(e.defaultTagName??`div`,e,e)}var On=p(`group/badge inline-flex h-5 w-fit shrink-0 items-center justify-center gap-1 overflow-hidden rounded-full border border-transparent px-2 py-0.5 text-[0.625rem] font-medium whitespace-nowrap transition-all focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 has-data-[icon=inline-end]:pr-1.5 has-data-[icon=inline-start]:pl-1.5 aria-invalid:border-destructive aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 [&>svg]:pointer-events-none [&>svg]:size-2.5!`,{variants:{variant:{default:`bg-primary text-primary-foreground [a]:hover:bg-primary/80`,secondary:`bg-secondary text-secondary-foreground [a]:hover:bg-secondary/80`,destructive:`bg-destructive/10 text-destructive focus-visible:ring-destructive/20 dark:bg-destructive/20 dark:focus-visible:ring-destructive/40 [a]:hover:bg-destructive/20`,outline:`border-border bg-input/20 text-foreground dark:bg-input/30 [a]:hover:bg-muted [a]:hover:text-muted-foreground`,ghost:`hover:bg-muted hover:text-muted-foreground dark:hover:bg-muted/50`,link:`text-primary underline-offset-4 hover:underline`}},defaultVariants:{variant:`default`}});function kn(e){let t=(0,Q.c)(13),n,r,i,a,o;if(t[0]!==e){let{className:s,variant:c,render:l,...u}=e;n=l,o=c===void 0?`default`:c,a=Dn,r=`span`,i=F({className:D(On({variant:o}),s)},u),t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a,t[5]=o}else n=t[1],r=t[2],i=t[3],a=t[4],o=t[5];let s;t[6]===o?s=t[7]:(s={slot:`badge`,variant:o},t[6]=o,t[7]=s);let c;return t[8]!==n||t[9]!==r||t[10]!==i||t[11]!==s?(c={defaultTagName:r,props:i,render:n,state:s},t[8]=n,t[9]=r,t[10]=i,t[11]=s,t[12]=c):c=t[12],a(c)}function An(e){let t=Z.useRef(!0);t.current&&(t.current=!1,e())}function jn(e){let{open:t=!1,onOpenChange:n,elements:r={}}=e,a=Ue(),o=at()!=null,s=i(()=>new Ot({open:t,transitionStatus:void 0,onOpenChange:n,referenceElement:r.reference??null,floatingElement:r.floating??null,triggerElements:new Tt,floatingId:a,syncOnly:!1,nested:o})).current;return V(()=>{let e={open:t,floatingId:a};r.reference!==void 0&&(e.referenceElement=r.reference,e.domReferenceElement=d(r.reference)?r.reference:null),r.floating!==void 0&&(e.floatingElement=r.floating),s.update(e)},[t,a,r.reference,r.floating,s]),s.context.onOpenChange=n,s.context.nested=o,s}function Mn(e,t,n,r,i,a,o,s,c,l=2){let u=it(n.current,{event:e,orientation:r,loopFocus:i,rtl:a,cols:l,disabledIndices:o,minIndex:s,maxIndex:c,prevIndex:t>c?s:t,stopEvent:!0});return Re(n.current,u)?void 0:u}var Nn=Z.createContext(void 0),Pn=Z.createContext(void 0),Fn=Z.createContext(void 0),In=Z.createContext(!1),Ln=Z.createContext(``);function Rn(){let e=Z.useContext(Nn);if(!e)throw Error(xe(22));return e}function zn(){let e=Z.useContext(Pn);if(!e)throw Error(xe(23));return e}function Bn(){let e=Z.useContext(Fn);if(!e)throw Error(xe(24));return e}function Vn(){return Z.useContext(Ln)}function Hn(){return Z.useContext(In)}function Un(e,t,n=Object.is){let{length:r}=e;if(r!==t.length)return!1;for(let i=0;i<r;i+=1)if(!n(e[i],t[i]))return!1;return!0}var Wn=(e,t)=>Object.is(e,t);function Gn(e,t,n){return e==null||t==null?Object.is(e,t):n(e,t)}function Kn(e,t,n){return Array.isArray(e)&&Array.isArray(t)?!Un(e,t,(e,t)=>Gn(e,t,n)):e!==t}function qn(e,t,n){return e?e.some(e=>e!==void 0&&Gn(t,e,n)):!1}function Jn(e,t,n){return e?e.findIndex(e=>e!==void 0&&Gn(e,t,n)):-1}function Yn(e,t){if(t!==Wn)return n=>qn(e,n,t);let n=new Set(e);return n.delete(void 0),t=>n.has(t)&&(t!==0||e.some(e=>Object.is(t,e)))}function Xn(e,t,n,r){let i=r&&Array.isArray(t)?e.findIndex(Yn(t,n)):Jn(e,t,n);return i===-1?null:i}function Zn(e,t,n,r,i,a){return qn(r,t,i)?a!=null&&e>a&&qn(r,n[a],i)?a:e:e===a?Xn(n,r,i,!0):a}function Qn(e,t,n){return e.filter(e=>!Gn(t,e,n))}function $n(e){if(e==null)return``;if(typeof e==`string`)return e;try{return JSON.stringify(e)}catch{return String(e)}}function er(e){return typeof e==`object`&&!!e&&Array.isArray(e.items)}function tr(e){return er(e?.[0])}function nr(e){return tr(e)?e.flatMap(e=>e.items):e}function rr(e){if(!Array.isArray(e))return e!=null&&`null`in e;let t=e;if(tr(t)){for(let e of t)for(let t of e.items)if(t&&t.value==null&&t.label!=null)return!0;return!1}for(let e of t)if(e&&e.value==null&&e.label!=null)return!0;return!1}function ir(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 $n(e)}function ar(e,t){return t&&e!=null?t(e)??``:e&&typeof e==`object`&&`value`in e&&`label`in e?$n(e.value):$n(e)}var or={id:e=>e.id,labelId:e=>e.labelId,items:e=>e.items,selectedValue:e=>e.selectedValue,hasSelectionChips:e=>{let t=e.selectedValue;return Array.isArray(t)&&t.length>0},hasSelectedValue:e=>{let{selectedValue:t,selectionMode:n}=e;return t==null?!1:n===`multiple`&&Array.isArray(t)?t.length>0:!0},hasNullItemLabel:(e,t)=>t?rr(e.items):!1,open:e=>e.open,mounted:e=>e.mounted,forceMounted:e=>e.forceMounted,inline:e=>e.inline,activeIndex:e=>e.activeIndex,selectedIndex:e=>e.selectedIndex,isActive:(e,t)=>e.activeIndex===t,isSelected:(e,t)=>{let n=e.isItemEqualToValue,r=e.selectedValue;return Array.isArray(r)?r.some(e=>Gn(t,e,n)):Gn(t,r,n)},transitionStatus:e=>e.transitionStatus,popupProps:e=>e.popupProps,listProps:e=>e.listProps,inputProps:e=>e.inputProps,triggerProps:e=>e.triggerProps,itemRoot:e=>e.itemRoot,positionerElement:e=>e.positionerElement,listElement:e=>e.listElement,popupId:e=>e.popupId,triggerElement:e=>e.triggerElement,inputElement:e=>e.inputElement,inputGroupElement:e=>e.inputGroupElement,popupSide:e=>e.popupSide,openMethod:e=>e.openMethod,inputInsidePopup:e=>e.inputInsidePopup,inputOwnsFormValue:e=>e.inputOwnsFormValue,selectionMode:e=>e.selectionMode,name:e=>e.name,form:e=>e.form,disabled:e=>e.disabled,readOnly:e=>e.readOnly,required:e=>e.required,grid:e=>e.grid,virtualized:e=>e.virtualized,itemToStringLabel:e=>e.itemToStringLabel,isItemEqualToValue:e=>e.isItemEqualToValue,modal:e=>e.modal,autoHighlight:e=>e.autoHighlight},sr=`data-valid`,cr=`data-invalid`,lr={badInput:!1,customError:!1,patternMismatch:!1,rangeOverflow:!1,rangeUnderflow:!1,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valid:null,valueMissing:!1},ur={valid:null,touched:!1,dirty:!1,filled:!1,focused:!1},dr={disabled:!1,...ur},fr={valid(e){return e===null?null:e?{[sr]:``}:{[cr]:``}}},pr={invalid:void 0,name:void 0,validityData:{state:lr,errors:[],error:``,value:``,initialValue:null},setValidityData:R,disabled:void 0,setTouched:R,setDirty:R,setFilled:R,setFocused:R,focusOwnerRef:{current:void 0},validationMode:`onSubmit`,shouldValidateOnChange:()=>!1,state:dr,registerFieldControl:R,validation:{getValidationProps:(e,t=L)=>t,inputRef:{current:null},registeredInputs:new Map,registerInput:R,getInputControl:()=>null,commit:async()=>{},change:R}},mr=Z.createContext(pr);function hr(e=!0){let t=Z.useContext(mr);if(t.setValidityData===R&&!e)throw Error(xe(28));return t}function gr(e,t,n,r,a=!0,o){let{registerFieldControl:s}=hr(),c=i(()=>Symbol());V(()=>{let i=c.current;a?s(i,{controlRef:e,getValue:r,id:t,name:o,value:n}):s(i,void 0)},[e,a,r,t,o,s,c,n]),V(()=>{let e=c.current;return()=>{s(e,void 0)}},[s,c])}var _r=Z.createContext({elementRef:{current:null},formRef:{current:{fields:new Map}},errors:{},clearErrors:R,validationMode:`onSubmit`,submitCountRef:{current:0}});function vr(){return Z.useContext(_r)}var yr=Z.createContext({controlId:void 0,registerControlId:R,resetControlId:R,labelId:void 0,setLabelId:R,messageIds:[],setMessageIds:R,getDescriptionProps:e=>e});function br(){return Z.useContext(yr)}function xr(e={}){let{id:t,enabled:n=!0}=e,{controlId:r,registerControlId:a,resetControlId:o}=br(),s=Ge(),c=i(()=>Symbol()),l=Z.useRef(!1),u=Z.useRef(!1),d=S(()=>{l.current&&a!==R&&(l.current=!1,a(c.current,void 0))});return V(()=>{if(!n||a===R){d();return}let e;if(t!==void 0)u.current=!0,e=t;else if(u.current)e=s;else{o();return}e===void 0?d():(l.current=!0,a(c.current,e))},[t,n,a,o,s,c,d]),V(()=>d,[d]),(n?r:void 0)??t??s}function Sr(e){return e==null?void 0:`${e}-popup`}function Cr(e,t){return(n,r)=>n!=null&&e.contains(n,r,t)}function wr(e){return Array.isArray(e)?e.map(e=>wr(e)).join(`,`):e==null?``:String(e)}var Tr=new Map;function Er(e={}){let{locale:t,...n}=e,r={usage:`search`,sensitivity:`base`,ignorePunctuation:!0,...n},i=`${wr(t)}|${JSON.stringify(r)}`,a=Tr.get(i);if(a)return a;let o=new Intl.Collator(t,r),s={contains(e,t,n){if(!t)return!0;let r=ir(e,n);for(let e=0;e<=r.length-t.length;e+=1)if(o.compare(r.slice(e,e+t.length),t)===0)return!0;return!1},startsWith(e,t,n){if(!t)return!0;let r=ir(e,n);return o.compare(r.slice(0,t.length),t)===0},endsWith(e,t,n){if(!t)return!0;let r=ir(e,n),i=t.length;return r.length>=i&&o.compare(r.slice(r.length-i),t)===0}};return Tr.set(i,s),s}var Dr=Er;function Or(e,t=!1){let{overflowY:n}=w(e);return n!==`auto`&&n!==`scroll`?!1:t?e.clientHeight>0:e.scrollHeight>e.clientHeight}var kr=Symbol(`none`),Ar={value:kr,index:-1};function jr(e,t,n){let r=e.get(t);if(r!==void 0||n===Wn)return r;for(let[r,i]of e)if(Gn(r,t,n))return i}function Mr(e){let{id:t,onOpenChangeComplete:n,defaultSelectedValue:r=null,selectedValue:a,onSelectedValueChange:o,defaultInputValue:s,inputValue:c,open:l,defaultOpen:u=!1,selectionMode:d,onItemHighlighted:f,name:p,form:m,disabled:g=!1,readOnly:_=!1,required:v=!1,inputRef:y,grid:b=!1,items:x,filteredItems:C,filter:w,filterQuery:T,openOnInputClick:E=!0,autoHighlight:D=!1,keepHighlight:O=!1,highlightItemOnHover:k=!0,loopFocus:A=!0,itemToStringLabel:j,itemToStringValue:M,isItemEqualToValue:N=Wn,virtualized:P=!1,inline:I=!1,fillInputOnItemPress:ee=!0,modal:te=!1,limit:ne=-1,autoComplete:re=`list`,formAutoComplete:ae,locale:oe,submitOnItemClick:se=!1}=e,{clearErrors:ce}=vr(),{setDirty:le,validityData:ue,setFilled:fe,name:pe,disabled:me,setTouched:he,setFocused:ge,validationMode:z,validation:B}=hr(),_e=qe(),ve=xr({id:t}),be=Dr({locale:oe}),H=Array.isArray(x)?null:x;if(H&&typeof H.label!=`function`)throw Error(xe(100));let Se=H?H.data:x,Ce=H?.value,Te=Ce?void 0:Se,je=Z.useMemo(()=>{if(!C||!Ce)return;let e=nr(C),t=e.map(Ce),n;return{values:t,findItem(r,i){if(!n){n=new Map;for(let r=0;r<t.length;r+=1)n.has(t[r])||n.set(t[r],e[r])}return jr(n,r,i)}}},[C,Ce]),Ne=Z.useMemo(()=>H?e=>H.label(e,N,e=>{let t=je?.findItem(e,N);return t==null?ir(e,j):H.itemLabel(t)}):j,[H,j,je,N]),Pe=Z.useMemo(()=>H?Object.assign(e=>H.itemLabel(e),{selected:e=>ir(e,Ne)}):j,[H,Ne,j]);function Re(e){return ir(e,Ne)}let[ze,Be]=Z.useState(!1),[Ve,He]=Z.useState(null),Ue=Z.useRef(Ve),We=Z.useRef([]),Ge=Z.useRef([]),Ke=Z.useRef(null),Je=Z.useRef(null),Ye=Z.useRef(null),Xe=Z.useRef(null),Ze=Z.useRef(null),Qe=Z.useRef(!1),$e=Z.useRef(null),nt=Z.useRef(null),rt=Z.useRef(null),it=Z.useRef(Ar),at=Z.useRef(null),st=Z.useRef([]),ct=Z.useRef(null),lt=me||g,ut=pe??p,ft=d===`multiple`,pt=d===`single`,ht=c!==void 0||s!==void 0,W=Se!==void 0,vt=C!==void 0,G;G=D===`always`?`always`:D?`input-change`:!1;let[K,xt]=Me({controlled:a,default:ft?r??ye:r,name:`Combobox`,state:`selectedValue`}),wt=Z.useMemo(()=>w===null?()=>!0:w===void 0?Cr(be,Pe):w,[w,be,Pe]),Tt=i(()=>ht?s??``:pt?Re(K):``).current,[q,Et]=Me({controlled:c,default:Tt,name:`Combobox`,state:`inputValue`}),[J,Ot]=Me({controlled:l,default:u,name:`Combobox`,state:`open`}),kt=tr(Se),At=!J&&Ve!==null?Ve:String(q).trim(),jt=pt?Re(K):``,Mt=pt&&!ze&&At!==``&&jt.length===At.length&&be.contains(jt,At),Ft=Mt?``:T??At,Lt=W&&vt&&Mt&&(!H||H.hasValue(K,N)),Rt=Z.useMemo(()=>Se?nr(Se):ye,[Se]),zt=Z.useMemo(()=>{if(C&&!Lt)return C;if(!Se)return ye;if(kt){let e=Se,t=[],n=0;for(let r of e){if(ne>-1&&n>=ne)break;let e=ne>-1?ne-n:1/0,i=Ft===``?r.items.slice(0,e):[];if(Ft!==``)for(let t of r.items){if(i.length>=e)break;wt(t,Ft,Pe)&&i.push(t)}if(i.length>0){let e={...r,items:i};t.push(e),n+=i.length}}return t}if(Ft===``)return ne>-1?Rt.slice(0,ne):Rt;let e=[];for(let t of Rt){if(ne>-1&&e.length>=ne)break;wt(t,Ft,Pe)&&e.push(t)}return e},[C,Lt,Se,kt,Ft,ne,wt,Pe,Rt]),Bt=Z.useMemo(()=>{if(je&&zt===C)return je.values;let e=nr(zt);return Ce?e.map(e=>Ce(e)):e},[zt,C,je,Ce]),Y=i(()=>{let e=null;return I&&J&&W&&d!==`none`&&(e=Xn(Bt,K,N,ft)),new Nt({id:ve,labelId:void 0,selectedValue:K,open:J,items:Te,selectionMode:d,name:ut,form:m,disabled:lt,readOnly:_,required:v,grid:b,virtualized:P,openOnInputClick:E,itemToStringLabel:Ne,isItemEqualToValue:N,modal:te,autoHighlight:G,submitOnItemClick:se,hasInputValue:ht,mounted:!1,forceMounted:!1,transitionStatus:`idle`,inline:I,activeIndex:null,selectedIndex:e,popupProps:{},listProps:{},inputProps:{},triggerProps:{},itemRoot:{props:L,id:ve,selectionMode:d,disabled:lt,readOnly:_,isItemEqualToValue:N},positionerElement:null,listElement:null,popupId:void 0,triggerElement:null,inputElement:null,inputGroupElement:null,popupSide:null,openMethod:null,inputInsidePopup:!0,inputOwnsFormValue:d===`none`},{onOpenChangeComplete:R,setOpen:R,setInputValue:R,setSelectedValue:R,setIndices:R,handleSelection:R,forceMount:R,requestSubmit:R,listRef:We,labelsRef:Ge,popupRef:Ke,emptyRef:Ze,inputRef:Je,startDismissRef:Ye,endDismissRef:Xe,chipsContainerRef:$e,clearRef:nt,valuesRef:st,pointerDownItemRef:ct,selectionEventRef:rt},or)}).current,Vt=d===`none`?q:K,Ht=Z.useMemo(()=>d===`none`?Vt:Array.isArray(K)?K.map(e=>ar(e,M)):ar(K,M),[Vt,M,d,K]),Ut=S(f),Wt=S(n),Gt=Y.useState(`activeIndex`),Kt=Y.useState(`selectedIndex`),qt=Y.useState(`positionerElement`),Jt=Y.useState(`listElement`),Yt=Y.useState(`triggerElement`),Xt=Y.useState(`inputElement`),Zt=Y.useState(`inputGroupElement`),X=Y.useState(`inline`),Qt=Y.useState(`inputInsidePopup`),$t=Y.useState(`inputOwnsFormValue`),en=pt&&!Qt&&q===jt,tn=Dt(Yt),{openMethod:nn,triggerProps:rn}=_t(J),an=S(()=>Ht);gr(Qt?tn:Je,ve,Vt,an,!lt,p);let on=S(()=>{Se?Ge.current=Bt.map(Re):Y.set(`forceMounted`,!0)}),sn=S((e,t,n,r)=>{if(t===-1){if(it.current===Ar)return;it.current=Ar}else it.current={value:e,index:t};Ut(e,Fe(n,r,{index:t}))}),cn=S(e=>{let t={};e.activeIndex!==void 0&&(t.activeIndex=e.activeIndex),e.selectedIndex!==void 0&&(t.selectedIndex=e.selectedIndex),Y.update(t);let n=e.activeIndex;if(n===void 0)return;let r=e.type||`none`;n===null?sn(void 0,-1,r,e.event):sn(st.current[n],n,r,e.event)}),ln=S((t,n)=>{if(e.onInputValueChange?.(t,n),!n.isCanceled){if(Qe.current=n.reason===Ie,n.reason===`input-change`){J&&Ve!==null&&He(null);let e=n.event,r=e.inputType;if(e.type===`compositionend`||r!=null&&r!==``&&r!==`insertReplacementText`){let e=t.trim()!==``;e&&Be(!0),at.current={hasQuery:e};let n=Y.state.listElement;if(!Y.state.virtualized&&n){let e=Ke.current;for(let t of ie(n.firstElementChild??n)){if(!h(t)||(e?!Le(e,t):t.getAttribute(`role`)===`dialog`))break;if(Or(t)){t.scrollTop=0;break}}}e&&G&&Y.state.activeIndex==null&&(J||X)&&Y.set(`activeIndex`,0)}}else n.reason===`input-clear`&&t===``&&Y.state.inputInsidePopup&&(at.current={hasQuery:!1,selection:!0});Et(t)}}),un=S(e=>{let t=!e&&Qt&&!X&&q!==``&&(String(q).trim()===Ve||q===jt);!e&&(t||q===``||en)&&Be(!1),He(null),t&&ln(``,U(Ie))}),[dn,fn]=Z.useState(!1),pn=S((t,n)=>{if(J===t)return;n.reason===`escape-key`&&W&&Bt.length===0&&!Ze.current&&n.allowPropagation();let r=n,i=mt(r);if(e.onOpenChange?.(t,r),at.current?.hasQuery&&n.reason===`input-change`===n.isCanceled&&(at.current=null),!n.isCanceled&&(t&&Ve!==null&&un(n.reason===et),!t&&ze&&(pt?(X||He(At),At===``&&Be(!1)):ft&&(X||He(At),Qt&&cn({activeIndex:null}),(!Qt||X)&&ln(``,U(Ie,n.event,void 0,{isItemPress:n.reason===Oe})))),t||fn(i()),Ot(t),!t&&Qt&&(n.reason===`focus-out`||n.reason===`outside-press`)&&(he(!0),ge(!1),z===`onBlur`))){let e=d===`none`?q:K;B.commit(e)}}),mn=S((e,t)=>{o?.(e,t),!t.isCanceled&&(xt(e),(d===`none`&&Ke.current&&ee||pt&&!Y.state.inputInsidePopup)&&ln(Re(e),U(t.reason,t.event)))}),hn=S((e,t)=>{let n=Ae(e),r=rt.current??e;rt.current=null;let i=U(Oe,r),a=tt(n,`a`)?.getAttribute(`href`);if(a)a.startsWith(`#`)&&pn(!1,i);else if(ft){let e=Array.isArray(K)?K:[],n=qn(e,t,N),r=n?Qn(e,t,N):[...e,t];if(mn(r,i),i.isCanceled||!(Je.current&&Je.current.value.trim()!==``))return;if(Y.state.inputInsidePopup){ln(``,U(Ie,i.event,void 0,{isItemPress:!0}));let e=at.current;e&&!n&&(e.toggledValue=t)}else pn(!1,i)}else{if(mn(t,i),i.isCanceled)return;pn(!1,i)}}),gn=S(()=>{let e=B.inputRef.current?.form??Y.state.inputElement?.form;e&&typeof e.requestSubmit==`function`&&e.requestSubmit()}),_n=S(()=>{if(Wt?.(!1),Be(!1),He(null),cn(d===`none`?{activeIndex:null,selectedIndex:null}:{activeIndex:null}),ft&&Je.current&&Je.current.value!==``&&!Qe.current&&ln(``,U(Ie)),pt){if(Y.state.inputInsidePopup)Je.current&&Je.current.value!==``&&ln(``,U(Ie));else{let e=Re(K);Je.current&&Je.current.value!==e&&ln(e,U(e===``?Ie:we))}}}),vn=Z.useMemo(()=>X&&qt?{current:tt(qt,`[role="dialog"]`)}:Ke,[X,qt]),{mounted:yn,transitionStatus:bn,forceUnmount:xn}=ot({open:J,ref:vn,preventUnmountOnClose:dn,setPreventUnmountOnClose:fn,onUnmount:_n});Z.useImperativeHandle(e.actionsRef,()=>({unmount:xn,close:()=>pn(!1,U(Ee))}),[xn,pn]),V(function(){let e=Ue.current!==null&&Ve===null;if(Ue.current=Ve,J&&(!e||!W)||(J||(ct.current=null),d===`none`))return;let t=W?Bt:st.current;cn({selectedIndex:Xn(t,K,N,ft)})},[J,Ve,K,d,ft,W,Bt,N,cn]),V(()=>{Se&&(st.current=Bt,We.current.length=Bt.length)},[Se,Bt]),V(()=>{!J&&at.current?.hasQuery&&(at.current=null)},[J]),V(()=>{if(!J&&X&&vn.current){at.current=null;return}let e=W||vt?Bt:st.current,t=at.current;if(t){let n=J||X||Y.state.positionerElement?.hidden===!1;if(t.hasQuery){let t=Je.current;!G||String(q).trim()===``||X&&G!==`always`&&(!t||De(t.ownerDocument)!==t)?at.current=null:n&&(e[0]!==void 0||!W&&!vt)&&(Y.set(`activeIndex`,0),at.current=null)}else if(String(q).trim()===``&&(at.current=null,n)){let e=t.selection;G===`always`&&!e&&Y.state.selectionMode===`none`&&Y.set(`activeIndex`,0),queueMicrotask(()=>{if(!Y.state.open&&(!Y.state.inline||vn.current)||Je.current&&Je.current.value.trim()!==``)return;let n=Y.state.selectedValue,r=Y.state.selectionMode===`multiple`;if(r&&Array.isArray(n)?n.length>0:Y.state.selectionMode!==`none`&&n!=null){let e=W||vt?Bt:st.current,i=Jn(e,t.toggledValue,Y.state.isItemEqualToValue);Y.set(`activeIndex`,i===-1?Xn(e,n,Y.state.isItemEqualToValue,r):i)}else e?Y.set(`activeIndex`,null):G===`always`&&Y.set(`activeIndex`,0)})}}if(!J&&!X)return;let n=Y.state.activeIndex;if(n==null){if(G===`always`&&e.length>0){Y.set(`activeIndex`,0);return}sn(void 0,-1,we);return}if(n>=e.length){sn(void 0,-1,we),Y.set(`activeIndex`,null);return}let r=e[n],i=it.current.value,a=i!==kr&&Gn(r,i,Y.state.isItemEqualToValue);it.current.index===n&&a||sn(r,n,we)},[Gt,G,sn,vt,W,Bt,X,J,vn,Y,q]),V(()=>{fe(d===`none`?String(q)!==``:ft?Array.isArray(K)&&K.length>0:K!=null)},[fe,d,q,K,ft]),Z.useEffect(()=>{W&&G&&Bt.length===0&&cn({activeIndex:null})},[W,G,Bt.length,cn]);function Q(){J&&At!==``&&At!==String(Tt)&&!en&&Be(!0)}function Sn(){J&&Ve!==null&&un(!1)}let Cn=!1;function wn(){!Cn&&q!==jt&&(Cn=!0,ln(jt,U(we)))}function Tn(){d!==`none`&&(ce(ut),le(Kn(K,ue.initialValue,N)),B.change(K),pt&&!ht&&!Qt&&wn())}function En(){pt&&!ht&&!Qt&&!ze&&wn()}function Dn(){d===`none`&&(ce(ut),le(q!==ue.initialValue),B.change(q))}Ct(At,Q),Ct(J,Sn),Ct(K,Tn),Ct(jt,En),Ct(Se,En),Ct(q,Dn);let On=jn({open:X?!0:J,onOpenChange:pn,elements:{reference:Qt?Yt:Xt,floating:qt}}),kn=b?`grid`:`listbox`,Rn=J||X,zn=Rn?`true`:`false`,Bn=Z.useMemo(()=>{let e=Xt?.tagName===`INPUT`,t=Xt==null||e,n=t||Rn,r=t?{autoComplete:`off`,spellCheck:`false`,autoCorrect:`off`,autoCapitalize:`none`}:{};return n&&(r.role=`combobox`,r[`aria-expanded`]=zn,r[`aria-haspopup`]=kn,r[`aria-controls`]=Rn?Jt?.id:void 0,r[`aria-autocomplete`]=_?`none`:re),{reference:r,floating:{role:`presentation`}}},[Xt,Rn,zn,kn,Jt?.id,re,_]),Vn=dt(On,{enabled:!lt&&E,event:`mousedown-only`,toggle:!1,touchOpenDelay:Qt?0:100,reason:ke}),Hn=It(On,{enabled:!lt&&!X,outsidePressEvent:{mouse:`sloppy`,touch:`intentional`},bubbles:X?!0:void 0,outsidePress(e){let t=Ae(e);return!Le(Yt,t)&&!Le(nt.current,t)&&!Le($e.current,t)&&!Le(Zt,t)}}),Un=yt(On,{enabled:!lt,id:ve,listRef:We,activeIndex:Gt,selectedIndex:Kt,virtual:!0,loopFocus:A,allowEscape:A&&!G,focusItemOnOpen:ze||d===`none`&&!G?!1:`auto`,focusItemOnHover:k,resetOnPointerLeave:!O,orientation:b?`horizontal`:void 0,rtl:_e===`rtl`,disabledIndices:ye,grid:b?Mn:void 0,onNavigate(e,t){(t||J||X&&e===null)&&bn!==`ending`&&cn({activeIndex:e,type:Pt(t),event:t?.nativeEvent})}}),Yn=Z.useMemo(()=>F(Un.reference,{onKeyDown(e){b&&Y.state.activeIndex==null&&(e.key===`ArrowLeft`||e.key===`ArrowRight`)&&e.preventBaseUIHandler()}},Hn.reference,Vn.reference,Bn.reference),[Un.reference,Hn.reference,Vn.reference,Bn.reference,b,Y]),Zn=Z.useMemo(()=>F(bt,Hn.floating),[Hn.floating]),$n=Z.useMemo(()=>F(Un.floating,Bn.floating),[Un.floating,Bn.floating]),er=Z.useMemo(()=>{let e=Un.item;return{props:e?{...e,onFocus:void 0}:L,id:ve,selectionMode:d,disabled:lt,readOnly:_,isItemEqualToValue:N}},[Un.item,ve,d,lt,_,N]);Y.useContextCallback(`setOpen`,pn),Y.useContextCallback(`setInputValue`,ln),Y.useContextCallback(`setSelectedValue`,mn),Y.useContextCallback(`setIndices`,cn),Y.useContextCallback(`handleSelection`,hn),Y.useContextCallback(`forceMount`,on),Y.useContextCallback(`requestSubmit`,gn),Y.useContextCallback(`onOpenChangeComplete`,n),An(()=>{Y.update({inline:I,popupProps:Zn,listProps:$n,inputProps:Yn,triggerProps:rn,itemRoot:er})});let rr={id:ve,selectedValue:K,open:J,mounted:yn,transitionStatus:bn,items:Te,inline:I,popupProps:Zn,listProps:$n,inputProps:Yn,triggerProps:rn,itemRoot:er,openMethod:nn,selectionMode:d,name:ut,form:m,disabled:lt,readOnly:_,required:v,grid:b,virtualized:P,openOnInputClick:E,itemToStringLabel:Ne,modal:te,autoHighlight:G,isItemEqualToValue:N,submitOnItemClick:se,hasInputValue:ht};V(()=>{Y.update({...rr,inputOwnsFormValue:d===`none`&&(I||!Y.state.inputInsidePopup)})},[Y,...Object.values(rr)]);let sr=de(y,B.inputRef),cr=Z.useMemo(()=>({query:At,hasItems:W,filteredItems:zt,flatFilteredValues:Bt}),[At,W,zt,Bt]),lr=Z.useMemo(()=>Array.isArray(Vt)?``:ar(Vt,M),[Vt,M]),ur=ft&&Array.isArray(K)&&K.length>0,dr=ft||d===`none`&&$t?void 0:ut,fr=Z.useMemo(()=>!ft||!Array.isArray(K)||!ut?null:K.map(e=>{let t=ar(e,M);return(0,$.jsx)(`input`,{type:`hidden`,form:m,name:ut,value:t,disabled:lt},t)}),[ft,K,m,ut,M,lt]),pr=(0,$.jsxs)(Z.Fragment,{children:[e.children,(0,$.jsx)(`input`,{...B.getValidationProps(lt,{onFocus(){Qt?Yt?.focus():(Je.current||Yt)?.focus()},onChange(e){if(e.nativeEvent.defaultPrevented||lt||_)return;let t=e.currentTarget.value,n=t.toLowerCase(),r=U(we,e.nativeEvent),i=()=>st.current.findIndex(e=>ar(e,M).toLowerCase()===n||Re(e).toLowerCase()===n);function a(){if(ft)return;if(d===`none`){ln(t,r);return}let e=i();e===-1&&(e=st.current.findIndex((e,t)=>{let r=Ge.current[t];return r!=null&&r.toLowerCase()===n}));let a=e===-1?void 0:st.current[e];a!=null&&mn?.(a,r)}pt&&(on(),Se&&i()===-1&&Y.set(`forceMounted`,!0)),queueMicrotask(a)}}),id:ve&&dr==null?`${ve}-hidden-input`:void 0,form:m,name:dr,autoComplete:ae,disabled:lt,required:v&&!ur,readOnly:_,value:lr,ref:sr,style:dr?gt:St,tabIndex:-1,"aria-hidden":!0,suppressHydrationWarning:!0}),fr]});return(0,$.jsx)(Nn.Provider,{value:Y,children:(0,$.jsx)(Pn.Provider,{value:On,children:(0,$.jsx)(In.Provider,{value:W,children:(0,$.jsx)(Fn.Provider,{value:cr,children:(0,$.jsx)(Ln.Provider,{value:q,children:pr})})})})})}function Nr(e){let{multiple:t=!1,defaultValue:n,value:r,onValueChange:i,autoComplete:a,...o}=e;return(0,$.jsx)(Mr,{...o,selectionMode:t?`multiple`:`single`,selectedValue:r,defaultSelectedValue:n,onSelectedValueChange:i,formAutoComplete:a})}function Pr(e,t){return e??t}var Fr=`data-popup-side`,Ir=`data-list-empty`,Lr={...ct,...fr,popupSide:e=>e?{[Fr]:e}:null,listEmpty:e=>e?{[Ir]:``}:null};function Rr(e,t,n){let{setFocused:r,focusOwnerRef:i}=hr(),a=S(t=>{(t?!e:i.current===a)&&(i.current=t&&a,n?.(t),r(t))});return V(()=>{let e=t.current;return e?.getRootNode()?.activeElement===e&&a(!0),()=>a(!1)},[e,t,a]),a}var zr=Z.createContext(void 0);function Br(){return Z.useContext(zr)}var Vr=Z.createContext(void 0);function Hr(e){let t=Z.useContext(Vr);if(t===void 0&&!e)throw Error(xe(21));return t}var Ur=Z.forwardRef(function(e,t){let n=Rn(),{buttonRef:r,getButtonProps:i}=te({native:!1}),a=de(t,r);function o(e){n.context.setOpen(!1,U(Be,e.nativeEvent,e.currentTarget))}let s=i({onClick:o});return(0,$.jsx)(`span`,{ref:a,...s,"aria-label":`Dismiss`,tabIndex:void 0,style:gt})});function Wr(e){let t=e.useState(`mounted`),n=e.useState(`popupSide`),r=e.useState(`positionerElement`);return t&&r?n:null}function Gr(){return Bn().filteredItems.length===0}function Kr(e){return e===`rtl`?[`ArrowRight`,`ArrowLeft`]:[`ArrowLeft`,`ArrowRight`]}function qr(e,t,n){let r=e.context.listRef.current[t];r&&(e.context.selectionEventRef.current=n,r.click(),e.context.selectionEventRef.current=null)}var Jr=Z.forwardRef(function(e,t){let{render:n,className:r,disabled:i=!1,id:a,style:o,...s}=e,{state:c,disabled:l,setTouched:u,validationMode:d,validation:f}=hr(),{labelId:p}=br(),m=Br(),h=!!Hr(!0),g=Rn(),_=Vn(),v=qe(),y=g.useState(`required`),b=g.useState(`disabled`),x=g.useState(`readOnly`),C=g.useState(`name`),w=g.useState(`form`),T=g.useState(`selectionMode`),E=g.useState(`autoHighlight`),D=g.useState(`inputProps`),O=g.useState(`triggerProps`),k=g.useState(`open`),A=g.useState(`mounted`),j=g.useState(`selectedValue`),M=g.useState(`id`),N=g.useState(`inline`),P=g.useState(`modal`),F=!!E,I=Wr(g),L=l||b||i,ee=Gr(),R=Rr(L,g.context.inputRef),te=h||N,ne=!te||P,re=Ge(a??(te?void 0:M)),ie=h?ur:c,[ae,oe]=Z.useState(null),se=Z.useRef(!1),ce=Z.useRef(null);V(()=>{k||(ce.current=null)},[k]);let ue=T===`none`&&!h,de=S(e=>{let t=h||g.state.inline;t&&!g.state.hasInputValue&&g.context.setInputValue(``,U(we)),g.update({inputElement:e,inputInsidePopup:t,inputOwnsFormValue:ue})}),fe=h?s:f.getValidationProps(L,s);function pe(e){g.context.setIndices({activeIndex:null,selectedIndex:null,type:Pt(e),event:e})}let me={...ie,open:k,disabled:L,readOnly:x,popupSide:I,listEmpty:ee};function he(e){if(!m)return;let t,n=m.chipsRef.current.length,[r]=Kr(v);return e.key===r&&(e.currentTarget.selectionStart??0)===0&&j.length>0&&(e.preventDefault(),t=n>0?n-1:void 0),t}let ge=le(`input`,e,{state:me,ref:[t,g.context.inputRef,de],props:[D,O,{value:ae??_,"aria-readonly":x||void 0,"aria-required":y||void 0,"aria-labelledby":p,disabled:L,readOnly:x,required:T===`none`?y:void 0,form:w,...ue&&C&&{name:C},id:re,onFocus(){if(R(!0),!N)return;let e=ce.current;ce.current=null,e!=null&&Object.hasOwn(g.context.valuesRef.current,e)&&g.context.setIndices({activeIndex:e})},onBlur(){u(!0),R(!1);let e=g.state.activeIndex;if(N&&e!==null&&E!==`always`&&(ce.current=e,g.context.setIndices({activeIndex:null})),d===`onBlur`){let e=T===`none`?_:j;f.commit(e)}},onCompositionStart(e){Ne||(se.current=!0,oe(e.currentTarget.value))},onCompositionEnd(e){se.current=!1;let t=e.currentTarget.value;oe(null),g.context.setInputValue(t,U(et,e.nativeEvent))},onChange(e){let t=e.nativeEvent,n=t.inputType,r=!n||n===`insertReplacementText`,i=se.current||!r;function a(e){!x&&!L&&e&&i&&(g.context.setOpen(!0,U(et,t)),F||pe(t))}if(se.current){let n=e.currentTarget.value;oe(n),n===``&&!g.state.openOnInputClick&&!g.state.inputInsidePopup&&g.context.setOpen(!1,U(Ie,t));let r=n.trim(),i=F&&r!==``;a(r),k&&g.state.activeIndex!==null&&!i&&pe(t);return}let o=U(et,t);if(g.context.setInputValue(e.currentTarget.value,o),o.isCanceled)return;let s=e.currentTarget.value===``,c=U(Ie,t);s&&!g.state.inputInsidePopup&&(T===`single`&&g.context.setSelectedValue(null,c),g.state.openOnInputClick||g.context.setOpen(!1,c)),a(e.currentTarget.value.trim()),k&&g.state.activeIndex!==null&&!F&&pe(t)},onKeyDown(e){if(e.ctrlKey||e.shiftKey||e.altKey||e.metaKey)return;if(L||x){x&&e.key===`Enter`&&k&&g.state.activeIndex!==null&&We(e);return}let t=e.currentTarget,n=t.scrollWidth-t.clientWidth,r=v===`rtl`;if(e.key===`Home`){We(e);let n=pt&&r?t.value.length:0;t.setSelectionRange(n,n),t.scrollLeft=0;return}if(e.key===`End`){We(e);let i=pt&&r?0:t.value.length;t.setSelectionRange(i,i),t.scrollLeft=r?-n:n;return}if(!A&&e.key===`Escape`){let t=T===`multiple`&&Array.isArray(j)?j.length===0:j===null,n=U(nt,e.nativeEvent),r=T===`multiple`?[]:null;g.context.setInputValue(``,n),g.context.setSelectedValue(r,n),t||g.state.inline||n.isPropagationAllowed||e.stopPropagation();return}if(m&&e.key===`Backspace`&&t.value===``&&Array.isArray(j)&&j.length>0){let t=m.chipsRef.current.length,n=t>0?t-1:j.length-1,r=j.filter((e,t)=>t!==n);pe(e.nativeEvent),g.context.setSelectedValue(r,U(we,e.nativeEvent));return}let i=he(e);if(i!==void 0&&m?.chipsRef.current[i]?.focus(),e.which!==229&&e.key===`Enter`&&k){let t=g.state.activeIndex,n=e.nativeEvent;if(t===null){if(N)return;g.context.setOpen(!1,U(we,n));return}We(e),qr(g,t,n)}}},fe],stateAttributesMapping:Lr}),z=h?(0,$.jsx)(mr.Provider,{value:pr,children:ge}):ge;return(0,$.jsxs)(Z.Fragment,{children:[k&&ne&&(0,$.jsx)(Ur,{ref:g.context.startDismissRef}),z]})}),Yr=Z.forwardRef(function(e,t){let{render:n,className:r,nativeButton:i=!0,disabled:a=!1,id:o,style:s,...c}=e,{state:l,disabled:u,setTouched:d,validationMode:f,validation:p}=hr(),{labelId:m}=br(),h=Rn(),g=h.useState(`selectionMode`),_=h.useState(`disabled`),v=h.useState(`readOnly`),y=h.useState(`required`),b=h.useState(`positionerElement`),x=h.useState(`listElement`),C=h.useState(`popupId`),w=h.useState(`triggerProps`),T=h.useState(`inputInsidePopup`),E=h.useState(`id`),D=h.useState(`labelId`),O=h.useState(`open`),k=h.useState(`selectedValue`),A=h.useState(`activeIndex`),j=h.useState(`selectedIndex`),M=h.useState(`hasSelectedValue`),N=zn(),P=Vn(),F=W(),I=u||_||a,L=Gr(),ee=Wr(h),R=Z.useRef(null),ne=Rr(I,R);xr({id:T?o:void 0});let re=T?o??E:o,ie=Pr(m,D),ae;O&&T?ae=C??Sr(E):O&&(ae=x?.id);let oe=Z.useRef(``);function se(e){oe.current=e.pointerType}let{reference:ce}=vt(N,{enabled:!O&&!v&&!_&&g===`single`,listRef:h.context.labelsRef,activeIndex:A,selectedIndex:j,onMatch(e){let t=h.context.valuesRef.current[e];t!==void 0&&h.context.setSelectedValue(t,U(we))}}),{reference:ue}=dt(N,{enabled:!_,event:`mousedown`}),{buttonRef:de,getButtonProps:fe}=te({native:i,disabled:I}),pe={...l,readOnly:v,open:O,disabled:I,popupSide:ee,listEmpty:L,placeholder:g!==`none`&&!M},me=S(e=>{h.set(`triggerElement`,e)});return le(`button`,e,{ref:[t,de,R,me],state:pe,props:[w,ue,ce,{id:re,tabIndex:T?0:-1,role:T?`combobox`:void 0,"aria-expanded":O,"aria-haspopup":T?`dialog`:`listbox`,"aria-controls":ae,"aria-required":T&&y||void 0,"aria-readonly":T&&v||void 0,"aria-labelledby":ie,onPointerDown:se,onPointerEnter:se,onFocus(){ne(!0),!I&&F.start(0,h.context.forceMount)},onBlur(e){if(!Le(b,e.relatedTarget)&&(d(!0),ne(!1),f===`onBlur`)){let e=g===`none`?P:k;p.commit(e)}},onMouseDown(e){if(I||(T||N.set(`domReferenceElement`,e.currentTarget),h.context.forceMount(),oe.current!==`touch`&&(h.context.inputRef.current?.focus(),T||e.preventDefault()),O))return;let t=K(e.currentTarget);function n(e){let t=h.state.triggerElement;if(!t)return;let n=Ae(e),r=h.state.positionerElement,i=h.state.listElement;Le(t,n)||Le(r,n)||Le(i,n)||jt(e,t)||h.context.setOpen(!1,U($e,e))}T&&t.addEventListener(`mouseup`,n,{once:!0})},onKeyDown(e){(e.key===`ArrowDown`||e.key===`ArrowUp`)&&(We(e),h.context.setOpen(!0,U(Ke,e.nativeEvent)),h.context.inputRef.current?.focus())}},p.getValidationProps(I,c),fe],stateAttributesMapping:Lr})}),Xr=Z.createContext(null);function Zr(){return Z.useContext(Xr)}function Qr(e){let{children:t}=e,{filteredItems:n}=Bn(),r=Zr(),i=r?r.items:n;return(0,$.jsx)(Z.Fragment,{children:i.map(t)})}var $r=Z.forwardRef(function(e,t){var n;let{render:r,className:i,style:a,children:o,...s}=e,c=Rn(),l=zn(),u=!!Hr(!0),{filteredItems:d,hasItems:f}=Bn(),p=c.useState(`selectionMode`),m=c.useState(`grid`),h=c.useState(`readOnly`),g=c.useState(`listProps`),_=c.useState(`virtualized`),v=c.useState(`forceMounted`),y=p===`multiple`,b=d.length===0,x=S(e=>{c.set(`positionerElement`,e)}),C=S(e=>{c.set(`listElement`,e)}),w=Z.useMemo(()=>typeof o==`function`?n||=(0,$.jsx)(Qr,{children:o}):o,[o]),T={empty:b},E=l.useState(`floatingId`),D=le(`div`,e,{state:T,ref:[t,C,u?null:x],props:[g,{children:w,tabIndex:-1,id:E,role:m?`grid`:`listbox`,"aria-multiselectable":y?`true`:void 0,"aria-readonly":!m&&h?!0:void 0,onKeyDown(e){if(!(c.state.disabled||c.state.readOnly)&&e.key===`Enter`){let t=c.state.activeIndex;if(t==null)return;We(e),qr(c,t,e.nativeEvent)}}},s]});if(_)return D;let O=f&&!v?void 0:c.context.labelsRef;return(0,$.jsx)(Ye,{elementsRef:c.context.listRef,labelsRef:O,children:D})}),ei=`⁠`;function ti(e){let t=e.ownerDocument.createTreeWalker(e,NodeFilter.SHOW_TEXT),n=null;for(;t.nextNode();){let e=t.currentNode;e.nodeValue!==``&&(n=e)}return n}function ni(e=!0){let t=W(),n=Z.useRef(null);return Z.useEffect(()=>{if(!e||Te)return;let r=n.current;if(r==null)return;let i=ti(r);if(i==null)return;let a=i.data,o=`${a}${ei}`;return i.nodeValue=o,t.start(200,()=>{i.nodeValue===o&&(i.nodeValue=a)}),()=>{t.clear(),i.nodeValue===o&&(i.nodeValue=a)}},[e,n,t]),n}var ri=Z.createContext(void 0);function ii(){let e=Z.useContext(ri);if(e===void 0)throw Error(xe(20));return e}var ai=Z.forwardRef(function(e,t){let{keepMounted:n=!1,...r}=e,i=Rn(),a=i.useState(`mounted`),o=i.useState(`forceMounted`);return a||n||o?(0,$.jsx)(ri.Provider,{value:n,children:(0,$.jsx)(lt,{ref:t,...r})}):null}),oi=Z.forwardRef(function(e,t){let{render:n,className:r,anchor:i,positionMethod:a,side:o,align:s,sideOffset:c,alignOffset:l,collisionBoundary:u=`clipping-ancestors`,collisionPadding:d,arrowPadding:f,sticky:p,disableAnchorTracking:m=!1,collisionAvoidance:h=ut,style:g,..._}=e,v=Rn(),y=zn(),b=ii(),x=v.useState(`modal`),C=v.useState(`open`),w=v.useState(`mounted`),T=v.useState(`openMethod`),E=v.useState(`positionerElement`),D=v.useState(`triggerElement`),O=v.useState(`inputElement`),k=v.useState(`inputGroupElement`),A=v.useState(`inputInsidePopup`),j=v.useState(`transitionStatus`),M=Gr(),N=ht({anchor:i??(A?D:k??O),floatingRootContext:y,positionMethod:a,mounted:w,side:o,sideOffset:c,align:s,alignOffset:l,arrowPadding:f,collisionBoundary:u,collisionPadding:d,sticky:p,disableAnchorTracking:m,keepMounted:b,collisionAvoidance:h,lazyFlip:!0});Mt(C&&x,T===`touch`,E,D);let P={open:C,side:N.side,align:N.align,anchorHidden:N.anchorHidden,empty:M};V(()=>{v.set(`popupSide`,N.side)},[v,N.side]);let F=S(e=>{v.set(`positionerElement`,e)}),I=Et(e,P,{styles:N.positionerStyles,transitionStatus:j,props:_,refs:[t,F],hidden:!w,inert:!C});return(0,$.jsxs)(Vr.Provider,{value:N,children:[w&&x&&(0,$.jsx)(xt,{inert:J(!C),cutout:k??O??D}),I]})}),si={...ft,...Ft},ci=Z.forwardRef(function(e,t){let{render:n,className:r,style:i,initialFocus:a,finalFocus:o,...s}=e,c=Rn(),l=Hr(),u=zn(),d=c.useState(`mounted`),f=c.useState(`open`),p=c.useState(`openMethod`),m=c.useState(`popupProps`),h=c.useState(`transitionStatus`),g=c.useState(`inputInsidePopup`),_=c.useState(`inputElement`),v=c.useState(`modal`),y=c.useState(`id`),b=Gr(),x=s.id??(g?Sr(y):void 0);V(()=>(c.set(`popupId`,c.context.popupRef.current?.id||x),()=>{c.set(`popupId`,void 0)}),[c,x]),G({open:f,ref:c.context.popupRef,onComplete(){f&&c.context.onOpenChangeComplete(!0)}});let S={open:f,side:l.side,align:l.align,anchorHidden:l.anchorHidden,transitionStatus:h,empty:b},C=le(`div`,e,{state:S,ref:[t,c.context.popupRef],props:[m,{id:x,role:g?`dialog`:`presentation`,onFocus(e){let t=Ae(e.nativeEvent);p!==`touch`&&(Le(c.state.listElement,t)||t===e.currentTarget)&&c.context.inputRef.current?.focus()}},At(h),s],stateAttributesMapping:si}),w=a===void 0?g?e=>e===`touch`?c.context.popupRef.current:_:!1:a,T;T=o??(g?void 0:!1);let E=!g||v;return(0,$.jsx)(st,{context:u,disabled:!d,modal:E,openInteractionType:p,initialFocus:w,returnFocus:T,getInsideElements:()=>[c.context.startDismissRef.current,c.context.endDismissRef.current],children:(0,$.jsxs)(Z.Fragment,{children:[C,E&&(0,$.jsx)(Ur,{ref:c.context.endDismissRef})]})})}),li=Z.createContext(void 0);function ui(){let e=Z.useContext(li);if(!e)throw Error(xe(19));return e}var di=Z.createContext(!1);function fi(){return Z.useContext(di)}var pi=e(Bt(),1);function mi(e){let{componentProps:t,forwardedRef:n,virtualized:r,indexFromFilter:i}=e,{render:a,className:o,style:s,value:c=null,index:l,disabled:u=!1,nativeButton:d=!1,...f}=t,p=Z.useRef(null),m=He({guess:!0,index:l,textRef:p}),h=Rn(),g=fi(),_=Hn(),{props:v,id:y,selectionMode:b,disabled:x,readOnly:S,isItemEqualToValue:C}=h.useState(`itemRoot`),w=x||u,T=b!==`none`,E=l??i??m.index,D=E!==-1,O=h.useState(`isActive`,E),k=h.useState(`isSelected`,c),A=Z.useRef(null),j=y!=null&&D?`${y}-${E}`:void 0,M=k&&T;V(()=>{if(!D||!r&&l==null)return;let e=h.context.listRef.current;return e[E]=A.current,()=>{delete e[E]}},[D,r,E,l,h]),V(()=>{if(!D||_)return;let e=h.context.valuesRef.current;return e[E]=c,()=>{delete e[E]}},[D,_,E,c,h]),V(()=>{if(!D||_)return;let e=h.state.selectedValue,t=h.state.selectedIndex;h.state.selectionMode===`multiple`&&Array.isArray(e)?t=Zn(E,c,h.context.valuesRef.current,e,C,t):Gn(c,e,C)&&(t=E),h.set(`selectedIndex`,t)},[D,_,h,E,c,C]);let{getButtonProps:N,buttonRef:P}=te({disabled:w,focusableWhenDisabled:!0,native:d,composite:!0}),F={disabled:w,selected:M,highlighted:O};function I(e){function t(){h.context.handleSelection(e,c)}h.state.submitOnItemClick?(pi.flushSync(t),h.context.requestSubmit()):t()}let L={id:j,role:g?`gridcell`:`option`,"aria-selected":T?M:void 0,tabIndex:void 0,onPointerDownCapture(e){e.isPrimary&&(h.context.pointerDownItemRef.current=e.currentTarget),e.preventDefault()},onMouseDown(e){e.preventDefault()},onClick(e){w||S||I(e.nativeEvent)},onMouseUp(e){let t=h.context.pointerDownItemRef.current===e.currentTarget;h.context.pointerDownItemRef.current=null,!(w||S||e.button!==0||t||!O)&&I(e.nativeEvent)}},ee=le(`div`,t,{ref:[P,n,m.ref,A],state:F,props:[v,L,f,N]}),R=Z.useMemo(()=>({selected:M,textRef:p}),[M,p]);return(0,$.jsx)(li.Provider,{value:R,children:ee})}function hi(e){let{componentProps:t,forwardedRef:n}=e,r=Rn().useState(`isItemEqualToValue`),{flatFilteredValues:i}=Bn(),a=Jn(i,t.value??null,r);return(0,$.jsx)(mi,{componentProps:t,forwardedRef:n,virtualized:!0,indexFromFilter:a})}var gi=Z.memo(Z.forwardRef(function(e,t){let n=Rn().useState(`virtualized`);return n&&e.index==null?(0,$.jsx)(hi,{componentProps:e,forwardedRef:t}):(0,$.jsx)(mi,{componentProps:e,forwardedRef:t,virtualized:n,indexFromFilter:void 0})})),_i=Z.memo(Z.forwardRef(function(e,t){let{render:n,className:r,style:i,keepMounted:a,selected:o,...s}=e,c=Z.useRef(null),{transitionStatus:l,setMounted:u}=wt(o),d=le(`span`,e,{ref:[t,c],state:{selected:o,transitionStatus:l},props:[{"aria-hidden":!0,children:`✔️`},s],stateAttributesMapping:Ft});return G({batch:!0,enabled:!o,open:o,ref:c,onComplete(){o||u(!1)}}),d})),vi=Z.forwardRef(function(e,t){let{selected:n}=ui();return e.keepMounted||n?(0,$.jsx)(_i,{...e,selected:n,ref:t}):null}),yi=Z.forwardRef(function(e,t){let{render:n,className:r,style:i,children:a,...o}=e,{filteredItems:s}=Bn(),c=Rn(),l=ni(),u=s.length===0?a:null;return le(`div`,e,{ref:[t,c.context.emptyRef,l],props:[{children:u,role:`status`,"aria-live":`polite`,"aria-atomic":!0},o]})}),bi={...Ft,...kt},xi=Z.forwardRef(function(e,t){let{render:n,className:r,disabled:i=!1,nativeButton:a=!0,keepMounted:o=!1,style:s,...c}=e,{disabled:l}=hr(),u=Rn(),d=u.useState(`selectionMode`),f=u.useState(`disabled`),p=u.useState(`readOnly`),m=u.useState(`open`),h=u.useState(`selectedValue`),g=u.useState(`hasSelectionChips`),_=Vn(),v=!1;v=d===`none`?_!==``:d===`single`?h!=null:g;let y=l||f||i,{buttonRef:b,getButtonProps:x}=te({native:a,disabled:y}),{mounted:S,transitionStatus:C,setMounted:w}=wt(v),T={disabled:y,visible:v,open:m,transitionStatus:C};G({open:v,ref:u.context.clearRef,onComplete(){v||w(!1)}});let E=le(`button`,e,{state:T,ref:[t,b,u.context.clearRef],props:[{tabIndex:-1,children:`x`,onMouseDown(e){e.preventDefault()},onClick(e){if(y||p)return;let t=Pt(e);u.context.setInputValue(``,U(rt,e.nativeEvent)),d===`none`?u.context.setIndices({activeIndex:null,type:t,event:e.nativeEvent}):(u.context.setSelectedValue(Array.isArray(h)?[]:null,U(rt,e.nativeEvent)),u.context.setIndices({activeIndex:null,selectedIndex:null,type:t,event:e.nativeEvent})),u.context.inputRef.current?.focus()}},c,x],stateAttributesMapping:bi});return o||S?E:null}),Si=Z.forwardRef(function(e,t){let{render:n,className:r,id:i,name:a,value:o,disabled:s=!1,onValueChange:c,defaultValue:l,autoFocus:u=!1,style:d,...f}=e,{state:p,name:m,disabled:h,setTouched:g,setDirty:_,validityData:v,setFilled:y,validationMode:b,validation:x}=hr(),{clearErrors:C,elementRef:w,submitCountRef:T}=vr(),E=h||s,D=m??a,O={...p,disabled:E},{labelId:k}=br(),A=xr({id:i}),j=o!==void 0,M=o==null?void 0:String(o),N=S(()=>x.inputRef.current?.value);gr(x.inputRef,A,M,N,!E,a),V(()=>{let e=M??x.inputRef.current?.value;e!==void 0&&y(e!==``)},[M,l,x.inputRef,y]),Ct(M,()=>{M!==void 0&&(C(D),_(M!==(v.initialValue??``)),x.change(M))});let P=Z.useRef(null),F=Rr(E,P),I=W();return le(`input`,e,{ref:[t,P],state:O,props:[{id:A,disabled:E,name:D,ref:x.inputRef,"aria-labelledby":k,autoFocus:u,...j?{value:o}:{defaultValue:l},onChange(e){let t=e.currentTarget.value,n=U(we,e.nativeEvent);c?.(t,n),!j&&(_(t!==(v.initialValue??``)),y(t!==``),!e.nativeEvent.defaultPrevented&&!n.isCanceled&&(C(D),x.change(t)))},onFocus(){F(!0)},onBlur(e){if(g(!0),F(!1),b===`onBlur`){let t=e.currentTarget.value;x.commit(t),j&&queueMicrotask(()=>{let e=x.inputRef.current?.value;e!==void 0&&e!==t&&e!==(v.initialValue??``)&&x.commit(e)})}},onKeyDown(e){if(e.currentTarget.tagName===`INPUT`&&e.key===`Enter`){g(!0);let t=e.currentTarget.value,n=e.currentTarget.form;if(n&&n===w.current&&!e.defaultPrevented){let t=e.currentTarget,n=T.current;I.start(0,()=>{T.current===n&&x.commit(t.value)})}else x.commit(t)}}},f,e=>x.getValidationProps(E,e)],stateAttributesMapping:fr})}),Ci=Z.forwardRef(function(e,t){return(0,$.jsx)(Si,{ref:t,...e})});function wi(e){let t=(0,Q.c)(10),n,r,i;t[0]===e?(n=t[1],r=t[2],i=t[3]):({className:n,type:i,...r}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i);let a;t[4]===n?a=t[5]:(a=D(`h-7 w-full min-w-0 rounded-md border border-input bg-input/20 px-2 py-0.5 text-sm transition-colors outline-none file:inline-flex file:h-6 file:border-0 file:bg-transparent file:text-xs/relaxed file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:border-ring focus-visible:ring-2 focus-visible:ring-ring/30 disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-2 aria-invalid:ring-destructive/20 md:text-xs/relaxed dark:bg-input/30 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40`,n),t[4]=n,t[5]=a);let o;return t[6]!==r||t[7]!==a||t[8]!==i?(o=(0,$.jsx)(Ci,{type:i,"data-slot":`input`,className:a,...r}),t[6]=r,t[7]=a,t[8]=i,t[9]=o):o=t[9],o}function Ti(e){let t=(0,Q.c)(8),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i;t[3]===n?i=t[4]:(i=D(`group/input-group relative flex h-7 w-full min-w-0 items-center rounded-md border border-input bg-input/20 transition-colors outline-none in-data-[slot=combobox-content]:focus-within:border-inherit in-data-[slot=combobox-content]:focus-within:ring-0 has-data-[align=block-end]:rounded-md has-data-[align=block-start]:rounded-md has-[[data-slot=input-group-control]:focus-visible]:border-ring has-[[data-slot=input-group-control]:focus-visible]:ring-2 has-[[data-slot=input-group-control]:focus-visible]:ring-ring/30 has-[[data-slot][aria-invalid=true]]:border-destructive has-[[data-slot][aria-invalid=true]]:ring-2 has-[[data-slot][aria-invalid=true]]:ring-destructive/20 has-[textarea]:rounded-md has-[>[data-align=block-end]]:h-auto has-[>[data-align=block-end]]:flex-col has-[>[data-align=block-start]]:h-auto has-[>[data-align=block-start]]:flex-col has-[>textarea]:h-auto dark:bg-input/30 dark:has-[[data-slot][aria-invalid=true]]:ring-destructive/40 has-[>[data-align=block-end]]:[&>input]:pt-3 has-[>[data-align=block-start]]:[&>input]:pb-3 has-[>[data-align=inline-end]]:[&>input]:pr-1.5 has-[>[data-align=inline-start]]:[&>input]:pl-1.5`,n),t[3]=n,t[4]=i);let a;return t[5]!==r||t[6]!==i?(a=(0,$.jsx)(`div`,{"data-slot":`input-group`,role:`group`,className:i,...r}),t[5]=r,t[6]=i,t[7]=a):a=t[7],a}var Ei=p(`flex h-auto cursor-text items-center justify-center gap-1 py-2 text-xs/relaxed font-medium text-muted-foreground select-none group-data-[disabled=true]/input-group:opacity-50 **:data-[slot=kbd]:rounded-[calc(var(--radius-sm)-2px)] **:data-[slot=kbd]:bg-muted-foreground/10 **:data-[slot=kbd]:px-1 **:data-[slot=kbd]:text-[0.625rem] [&>svg:not([class*='size-'])]:size-3.5`,{variants:{align:{"inline-start":`order-first pl-2 has-[>button]:ml-[-0.275rem] has-[>kbd]:ml-[-0.275rem]`,"inline-end":`order-last pr-2 has-[>button]:mr-[-0.275rem] has-[>kbd]:mr-[-0.275rem]`,"block-start":`order-first w-full justify-start px-2 pt-2 group-has-[>input]/input-group:pt-2 [.border-b]:pb-2`,"block-end":`order-last w-full justify-start px-2 pb-2 group-has-[>input]/input-group:pb-2 [.border-t]:pt-2`}},defaultVariants:{align:`inline-start`}});function Di(e){let t=(0,Q.c)(11),n,r,i;t[0]===e?(n=t[1],r=t[2],i=t[3]):({className:n,align:i,...r}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i);let a=i===void 0?`inline-start`:i,o;t[4]!==a||t[5]!==n?(o=D(Ei({align:a}),n),t[4]=a,t[5]=n,t[6]=o):o=t[6];let s;return t[7]!==a||t[8]!==r||t[9]!==o?(s=(0,$.jsx)(`div`,{role:`group`,"data-slot":`input-group-addon`,"data-align":a,className:o,onClick:Oi,...r}),t[7]=a,t[8]=r,t[9]=o,t[10]=s):s=t[10],s}function Oi(e){e.target.closest(`button`)||e.currentTarget.parentElement?.querySelector(`input`)?.focus()}var ki=p(`flex items-center gap-2 rounded-md text-xs/relaxed shadow-none`,{variants:{size:{xs:`h-5 gap-1 rounded-[calc(var(--radius-sm)-2px)] px-1 [&>svg:not([class*='size-'])]:size-3`,sm:`gap-1`,"icon-xs":`size-6 p-0 has-[>svg]:p-0`,"icon-sm":`size-7 p-0 has-[>svg]:p-0`}},defaultVariants:{size:`xs`}});function Ai(e){let t=(0,Q.c)(15),n,r,i,a,o;t[0]===e?(n=t[1],r=t[2],i=t[3],a=t[4],o=t[5]):({className:n,type:i,variant:a,size:o,...r}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a,t[5]=o);let s=i===void 0?`button`:i,c=a===void 0?`ghost`:a,l=o===void 0?`xs`:o,u;t[6]!==n||t[7]!==l?(u=D(ki({size:l}),n),t[6]=n,t[7]=l,t[8]=u):u=t[8];let d;return t[9]!==r||t[10]!==l||t[11]!==u||t[12]!==s||t[13]!==c?(d=(0,$.jsx)(me,{type:s,"data-size":l,variant:c,className:u,...r}),t[9]=r,t[10]=l,t[11]=u,t[12]=s,t[13]=c,t[14]=d):d=t[14],d}function ji(e){let t=(0,Q.c)(8),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i;t[3]===n?i=t[4]:(i=D(`flex-1 rounded-none border-0 bg-transparent shadow-none ring-0 focus-visible:ring-0 aria-invalid:ring-0 dark:bg-transparent`,n),t[3]=n,t[4]=i);let a;return t[5]!==r||t[6]!==i?(a=(0,$.jsx)(wi,{"data-slot":`input-group-control`,className:i,...r}),t[5]=r,t[6]=i,t[7]=a):a=t[7],a}var Mi=Nr;function Ni(e){let t=(0,Q.c)(11),n,r,i;t[0]===e?(n=t[1],r=t[2],i=t[3]):({className:r,children:n,...i}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i);let a;t[4]===r?a=t[5]:(a=D(`[&_svg:not([class*='size-'])]:size-3.5`,r),t[4]=r,t[5]=a);let o;t[6]===Symbol.for(`react.memo_cache_sentinel`)?(o=(0,$.jsx)(dn,{className:`pointer-events-none size-3.5 text-muted-foreground`}),t[6]=o):o=t[6];let s;return t[7]!==n||t[8]!==i||t[9]!==a?(s=(0,$.jsxs)(Yr,{"data-slot":`combobox-trigger`,className:a,...i,children:[n,o]}),t[7]=n,t[8]=i,t[9]=a,t[10]=s):s=t[10],s}function Pi(e){let t=(0,Q.c)(10),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i;t[3]===Symbol.for(`react.memo_cache_sentinel`)?(i=(0,$.jsx)(Ai,{variant:`ghost`,size:`icon-xs`}),t[3]=i):i=t[3];let a;t[4]===n?a=t[5]:(a=D(n),t[4]=n,t[5]=a);let o;t[6]===Symbol.for(`react.memo_cache_sentinel`)?(o=(0,$.jsx)(xn,{className:`pointer-events-none`}),t[6]=o):o=t[6];let s;return t[7]!==r||t[8]!==a?(s=(0,$.jsx)(xi,{"data-slot":`combobox-clear`,render:i,className:a,...r,children:o}),t[7]=r,t[8]=a,t[9]=s):s=t[9],s}function Fi(e){let t=(0,Q.c)(28),n,r,i,a,o,s;t[0]===e?(n=t[1],r=t[2],i=t[3],a=t[4],o=t[5],s=t[6]):({className:r,children:n,disabled:a,showTrigger:o,showClear:s,...i}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a,t[5]=o,t[6]=s);let c=a!==void 0&&a,l=o===void 0||o,u=s!==void 0&&s,d;t[7]===r?d=t[8]:(d=D(`w-auto`,r),t[7]=r,t[8]=d);let f;t[9]===c?f=t[10]:(f=(0,$.jsx)(ji,{disabled:c}),t[9]=c,t[10]=f);let p;t[11]!==i||t[12]!==f?(p=(0,$.jsx)(Jr,{render:f,...i}),t[11]=i,t[12]=f,t[13]=p):p=t[13];let m;t[14]!==c||t[15]!==l?(m=l&&(0,$.jsx)(Ai,{size:`icon-xs`,variant:`ghost`,render:(0,$.jsx)(Ni,{}),"data-slot":`input-group-button`,className:`group-has-data-[slot=combobox-clear]/input-group:hidden data-pressed:bg-transparent`,disabled:c}),t[14]=c,t[15]=l,t[16]=m):m=t[16];let h;t[17]!==c||t[18]!==u?(h=u&&(0,$.jsx)(Pi,{disabled:c}),t[17]=c,t[18]=u,t[19]=h):h=t[19];let g;t[20]!==m||t[21]!==h?(g=(0,$.jsxs)(Di,{align:`inline-end`,children:[m,h]}),t[20]=m,t[21]=h,t[22]=g):g=t[22];let _;return t[23]!==n||t[24]!==d||t[25]!==p||t[26]!==g?(_=(0,$.jsxs)(Ti,{className:d,children:[p,g,n]}),t[23]=n,t[24]=d,t[25]=p,t[26]=g,t[27]=_):_=t[27],_}function Ii(e){let t=(0,Q.c)(21),n,r,i,a,o,s,c;t[0]===e?(n=t[1],r=t[2],i=t[3],a=t[4],o=t[5],s=t[6],c=t[7]):({className:r,side:a,sideOffset:o,align:s,alignOffset:c,anchor:n,...i}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a,t[5]=o,t[6]=s,t[7]=c);let l=a===void 0?`bottom`:a,u=o===void 0?6:o,d=s===void 0?`start`:s,f=c===void 0?0:c,p=!!n,m;t[8]===r?m=t[9]:(m=D(`group/combobox-content relative max-h-(--available-height) w-(--anchor-width) max-w-(--available-width) min-w-[calc(var(--anchor-width)+--spacing(7))] origin-(--transform-origin) overflow-hidden rounded-lg bg-popover text-popover-foreground shadow-md ring-1 ring-foreground/10 duration-100 data-[chips=true]:min-w-(--anchor-width) data-[side=bottom]:slide-in-from-top-2 data-[side=inline-end]:slide-in-from-left-2 data-[side=inline-start]:slide-in-from-right-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 *:data-[slot=input-group]:m-1 *:data-[slot=input-group]:mb-0 *:data-[slot=input-group]:h-7 *:data-[slot=input-group]:border-none *:data-[slot=input-group]:bg-input/20 *:data-[slot=input-group]:shadow-none dark:bg-popover data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95`,r),t[8]=r,t[9]=m);let h;t[10]!==i||t[11]!==p||t[12]!==m?(h=(0,$.jsx)(ci,{"data-slot":`combobox-content`,"data-chips":p,className:m,...i}),t[10]=i,t[11]=p,t[12]=m,t[13]=h):h=t[13];let g;return t[14]!==d||t[15]!==f||t[16]!==n||t[17]!==l||t[18]!==u||t[19]!==h?(g=(0,$.jsx)(ai,{children:(0,$.jsx)(oi,{side:l,sideOffset:u,align:d,alignOffset:f,anchor:n,className:`isolate z-50`,children:h})}),t[14]=d,t[15]=f,t[16]=n,t[17]=l,t[18]=u,t[19]=h,t[20]=g):g=t[20],g}function Li(e){let t=(0,Q.c)(8),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i;t[3]===n?i=t[4]:(i=D(`no-scrollbar max-h-[min(calc(--spacing(72)---spacing(9)),calc(var(--available-height)---spacing(9)))] scroll-py-1 overflow-y-auto overscroll-contain p-1 data-empty:p-0`,n),t[3]=n,t[4]=i);let a;return t[5]!==r||t[6]!==i?(a=(0,$.jsx)($r,{"data-slot":`combobox-list`,className:i,...r}),t[5]=r,t[6]=i,t[7]=a):a=t[7],a}function Ri(e){let t=(0,Q.c)(11),n,r,i;t[0]===e?(n=t[1],r=t[2],i=t[3]):({className:r,children:n,...i}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i);let a;t[4]===r?a=t[5]:(a=D(`relative flex min-h-7 w-full cursor-default items-center gap-2 rounded-md px-2 py-1 text-xs/relaxed outline-hidden select-none data-highlighted:bg-accent data-highlighted:text-accent-foreground not-data-[variant=destructive]:data-highlighted:**:text-accent-foreground data-disabled:pointer-events-none data-disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-3.5`,r),t[4]=r,t[5]=a);let o;t[6]===Symbol.for(`react.memo_cache_sentinel`)?(o=(0,$.jsx)(vi,{render:(0,$.jsx)(`span`,{className:`pointer-events-none absolute right-2 flex items-center justify-center`}),children:(0,$.jsx)(ln,{className:`pointer-events-none`})}),t[6]=o):o=t[6];let s;return t[7]!==n||t[8]!==i||t[9]!==a?(s=(0,$.jsxs)(gi,{"data-slot":`combobox-item`,className:a,...i,children:[n,o]}),t[7]=n,t[8]=i,t[9]=a,t[10]=s):s=t[10],s}function zi(e){let t=(0,Q.c)(8),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i;t[3]===n?i=t[4]:(i=D(`hidden w-full justify-center py-2 text-center text-xs/relaxed text-muted-foreground group-data-empty/combobox-content:flex`,n),t[3]=n,t[4]=i);let a;return t[5]!==r||t[6]!==i?(a=(0,$.jsx)(yi,{"data-slot":`combobox-empty`,className:i,...r}),t[5]=r,t[6]=i,t[7]=a):a=t[7],a}function Bi(e){let t=(0,Q.c)(8),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i;t[3]===n?i=t[4]:(i=D(`size-4 animate-spin`,n),t[3]=n,t[4]=i);let a;return t[5]!==r||t[6]!==i?(a=(0,$.jsx)(nn,{"data-slot":`spinner`,role:`status`,"aria-label":`Loading`,className:i,...r}),t[5]=r,t[6]=i,t[7]=a):a=t[7],a}var Vi=`data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2064%2064'%20shape-rendering='crispEdges'%3e%3cpath%20fill='%230a0a0a'%20d='M28%208h2v1h-2zM26%209h2v1h-2zM30%209h2v1h-2zM25%2010h1v1h-1zM32%2010h2v1h-2zM34%2011h2v1h-2zM24%2011h1v2h-1zM36%2012h1v1h-1zM23%2013h1v1h-1zM37%2013h1v2h-1zM29%2015h1v1h-1zM38%2015h1v1h-1zM29%2016h3v1h-3zM32%2017h2v1h-2zM39%2016h1v4h-1zM29%2017h1v4h-1zM40%2020h1v1h-1zM22%2014h1v8h-1zM30%2021h2v1h-2zM34%2018h1v4h-1zM20%2022h2v1h-2zM32%2022h3v1h-3zM19%2023h1v1h-1zM34%2023h1v1h-1zM18%2024h1v2h-1zM17%2026h1v1h-1zM41%2021h1v6h-1zM42%2027h2v1h-2zM44%2028h1v1h-1zM45%2029h1v2h-1zM46%2031h1v1h-1zM16%2027h1v18h-1zM17%2045h1v1h-1zM18%2046h2v1h-2zM20%2047h2v1h-2zM22%2048h2v1h-2zM24%2049h2v1h-2zM47%2032h1v18h-1zM26%2050h2v1h-2zM46%2050h1v1h-1zM28%2051h2v1h-2zM44%2051h2v1h-2zM30%2052h2v1h-2zM42%2052h2v1h-2zM32%2053h2v1h-2zM40%2053h2v1h-2zM34%2054h2v1h-2zM38%2054h2v1h-2zM36%2055h2v1h-2z'/%3e%3cpath%20fill='%23da702c'%20d='M19%2024h1v3h-1zM17%2027h1v1h-1zM19%2027h3v1h-3zM17%2028h7v1h-7zM17%2029h9v1h-9zM17%2030h11v1h-11zM17%2031h13v1h-13zM17%2032h15v1h-15zM26%2033h8v1h-8zM28%2034h8v1h-8zM17%2033h8v10h-8zM17%2043h9v1h-9zM17%2044h11v1h-11zM29%2035h8v10h-8zM18%2045h19v1h-19zM20%2046h17v1h-17zM22%2047h15v1h-15zM24%2048h13v1h-13zM26%2049h11v1h-11zM28%2050h9v1h-9zM30%2051h7v1h-7zM32%2052h5v1h-5zM34%2053h3v1h-3zM36%2054h1v1h-1z'/%3e%3cpath%20fill='%23ec8b49'%20d='M29%2021h1v1h-1zM22%2022h1v1h-1zM29%2022h3v1h-3zM20%2023h3v1h-3zM29%2023h5v1h-5zM20%2024h4v1h-4zM29%2024h6v1h-6zM20%2025h6v1h-6zM28%2025h7v1h-7zM18%2026h1v1h-1zM21%2026h14v1h-14zM23%2027h12v1h-12zM41%2027h1v1h-1zM25%2028h10v1h-10zM27%2029h8v1h-8zM29%2030h7v1h-7zM41%2028h3v3h-3zM31%2031h7v1h-7zM40%2031h3v1h-3zM45%2031h1v1h-1zM33%2032h8v1h-8zM35%2033h4v1h-4z'/%3e%3cpath%20fill='%23b7b5ac'%20d='M27%2010h1v1h-1zM25%2011h1v1h-1zM27%2011h3v1h-3zM25%2012h7v1h-7zM25%2013h9v1h-9zM23%2014h1v1h-1zM25%2014h2v1h-2zM28%2014h7v1h-7zM30%2015h5v1h-5zM32%2016h4v1h-4zM34%2017h3v1h-3zM35%2018h2v3h-2zM35%2021h3v1h-3zM23%2015h4v9h-4zM24%2024h3v1h-3zM26%2025h1v1h-1zM35%2022h4v8h-4zM36%2030h3v1h-3zM38%2031h1v1h-1z'/%3e%3cpath%20fill='%23f3b489'%20d='M20%2026h1v1h-1zM18%2027h1v1h-1zM22%2027h1v1h-1zM24%2028h1v1h-1zM26%2029h1v1h-1zM28%2030h1v1h-1zM30%2031h1v1h-1zM43%2031h1v1h-1zM32%2032h1v1h-1zM41%2032h1v1h-1zM45%2032h1v1h-1zM34%2033h1v1h-1zM39%2033h1v1h-1zM36%2034h2v1h-2z'/%3e%3cpath%20fill='%23000000'%20fill-opacity='0.353'%20d='M18%2047h2v1h-2zM20%2048h2v1h-2zM22%2049h2v1h-2zM24%2050h2v1h-2zM26%2051h2v1h-2zM28%2052h2v1h-2zM44%2052h2v1h-2zM30%2053h2v1h-2zM42%2053h2v1h-2zM32%2054h2v1h-2zM40%2054h2v1h-2zM34%2055h2v1h-2zM38%2055h2v1h-2zM36%2056h2v1h-2z'/%3e%3cpath%20fill='%23878580'%20d='M36%2013h1v1h-1zM27%2014h1v1h-1zM35%2014h2v1h-2zM35%2015h1v1h-1zM38%2016h1v1h-1zM37%2017h2v3h-2zM37%2020h1v1h-1zM40%2021h1v1h-1zM27%2015h2v10h-2zM27%2025h1v1h-1zM39%2022h2v9h-2zM39%2031h1v1h-1z'/%3e%3cpath%20fill='%23bc5215'%20d='M44%2029h1v3h-1zM42%2032h3v1h-3zM46%2032h1v1h-1zM40%2033h7v1h-7zM38%2034h9v1h-9zM37%2035h10v15h-10zM37%2050h9v1h-9zM37%2051h7v1h-7zM37%2052h5v1h-5zM37%2053h3v1h-3zM37%2054h1v1h-1z'/%3e%3cpath%20fill='%23cecdc3'%20d='M28%209h2v1h-2zM26%2010h1v1h-1zM29%2010h3v1h-3zM31%2011h3v1h-3zM33%2012h3v1h-3zM24%2013h1v1h-1zM36%2015h2v1h-2zM38%2020h2v1h-2z'/%3e%3cpath%20fill='%23dfded8'%20d='M28%2010h1v1h-1zM26%2011h1v1h-1zM30%2011h1v1h-1zM32%2012h1v1h-1zM34%2013h2v1h-2zM24%2014h1v1h-1zM36%2016h2v1h-2zM38%2021h2v1h-2z'/%3e%3cpath%20fill='%23403e3c'%20d='M25%2033h1v1h-1zM25%2034h3v1h-3zM25%2035h4v8h-4zM26%2043h3v1h-3zM28%2044h1v1h-1z'/%3e%3c/svg%3e`,Hi=`/assets/icon-dark-D9-64csD.svg`,Ui=`/assets/icon-dark-B6bEETJE.svg`,Wi=`data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20shape-rendering='crispEdges'%3e%3cpath%20fill='%23da702c'%20d='M15%203h1v1h-1zM14%204h1v1h-1zM13%205h2v1h-2zM12%206h2v1h-2zM11%207h3v1h-3zM10%208h3v1h-3zM9%209h4v1h-4zM8%2010h4v1h-4zM7%2011h5v1h-5zM6%2012h10v1h-10zM11%2013h4v1h-4zM10%2014h4v1h-4zM10%2015h3v1h-3zM9%2016h3v1h-3zM9%2017h2v1h-2zM8%2018h2v1h-2zM8%2019h1v1h-1zM7%2020h1v1h-1z'/%3e%3cpath%20fill='%23575653'%20d='M16%203h1v1h-1zM15%204h1v2h-1zM14%206h1v2h-1zM13%208h1v2h-1zM12%2010h1v2h-1zM16%2012h1v1h-1zM15%2013h1v1h-1zM14%2014h1v1h-1zM13%2015h1v1h-1zM12%2016h1v1h-1zM11%2017h1v1h-1zM10%2018h1v1h-1zM9%2019h1v1h-1zM8%2020h1v1h-1z'/%3e%3cpath%20fill='%23d0a215'%20d='M6%204h1v1h-1zM14%2018h1v1h-1zM13%2019h1v1h-1z'/%3e%3cpath%20fill='%234385be'%20d='M10%204h1v1h-1zM8%206h1v1h-1zM16%2020h1v1h-1z'/%3e%3cpath%20fill='%233aa99f'%20d='M9%205h1v1h-1z'/%3e%3cpath%20fill='%238b7ec8'%20d='M7%207h1v1h-1z'/%3e%3cpath%20fill='%23ce5d97'%20d='M15%2017h1v1h-1z'/%3e%3c/svg%3e`,Gi=`data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2064%2064'%20shape-rendering='crispEdges'%3e%3cpath%20fill='%230a0a0a'%20d='M19%2012h2v1h-2zM17%2013h2v1h-2zM21%2013h2v1h-2zM33%2013h2v1h-2zM15%2014h2v1h-2zM23%2014h2v1h-2zM31%2014h2v1h-2zM35%2014h2v1h-2zM14%2015h1v1h-1zM25%2015h2v1h-2zM29%2015h2v1h-2zM37%2015h2v1h-2zM27%2016h2v1h-2zM39%2016h2v1h-2zM41%2017h2v1h-2zM43%2018h2v1h-2zM45%2019h2v1h-2zM47%2020h2v1h-2zM49%2021h1v1h-1zM50%2022h1v12h-1zM49%2034h1v1h-1zM13%2016h1v20h-1zM47%2035h2v1h-2zM14%2036h1v1h-1zM45%2036h2v1h-2zM15%2037h2v1h-2zM17%2038h2v1h-2zM19%2039h2v1h-2zM20%2040h1v1h-1zM44%2037h1v4h-1zM45%2041h2v1h-2zM19%2041h1v2h-1zM47%2042h1v1h-1zM20%2043h1v1h-1zM21%2044h2v1h-2zM48%2043h1v2h-1zM23%2045h2v1h-2zM47%2045h1v1h-1zM25%2046h2v1h-2zM45%2046h2v1h-2zM27%2047h2v1h-2zM43%2047h2v1h-2zM29%2048h2v1h-2zM41%2048h2v1h-2zM31%2049h2v1h-2zM39%2049h2v1h-2zM33%2050h2v1h-2zM37%2050h2v1h-2zM35%2051h2v1h-2z'/%3e%3cpath%20fill='%235abdac'%20d='M19%2013h2v1h-2zM17%2014h6v1h-6zM33%2014h2v1h-2zM15%2015h10v1h-10zM31%2015h6v1h-6zM16%2016h11v1h-11zM29%2016h10v1h-10zM18%2017h23v1h-23zM20%2018h23v1h-23zM22%2019h23v1h-23zM24%2020h23v1h-23zM26%2021h23v1h-23zM18%2022h1v1h-1zM28%2022h20v1h-20zM18%2023h3v1h-3zM30%2023h16v1h-16zM19%2024h4v1h-4zM32%2024h12v1h-12zM21%2025h4v1h-4zM34%2025h8v1h-8zM36%2026h4v1h-4zM22%2026h4v2h-4zM23%2028h4v1h-4zM25%2029h4v1h-4zM27%2030h3v1h-3zM24%2031h1v1h-1zM29%2031h1v1h-1zM24%2032h3v1h-3zM20%2033h1v1h-1zM25%2033h3v1h-3zM20%2034h3v1h-3zM26%2034h2v1h-2zM21%2035h3v1h-3zM26%2035h3v1h-3zM23%2036h1v1h-1zM27%2036h4v1h-4zM29%2037h4v1h-4zM31%2038h3v1h-3zM33%2039h1v1h-1zM34%2044h1v1h-1zM34%2045h2v1h-2zM35%2046h1v1h-1z'/%3e%3cpath%20fill='%23403e3c'%20d='M16%2019h1v1h-1zM16%2020h3v1h-3zM16%2021h5v1h-5zM19%2022h4v1h-4zM16%2022h2v2h-2zM21%2023h4v1h-4zM16%2024h3v1h-3zM23%2024h4v1h-4zM16%2025h5v1h-5zM25%2025h4v1h-4zM26%2026h5v1h-5zM16%2026h6v2h-6zM26%2027h7v1h-7zM16%2028h7v1h-7zM27%2028h8v1h-8zM16%2029h9v1h-9zM29%2029h7v1h-7zM16%2030h11v1h-11zM25%2031h4v1h-4zM30%2030h6v2h-6zM16%2031h8v2h-8zM27%2032h9v1h-9zM21%2033h4v1h-4zM16%2033h4v2h-4zM23%2034h3v1h-3zM28%2033h8v2h-8zM17%2035h4v1h-4zM24%2035h2v1h-2zM29%2035h7v1h-7zM19%2036h4v1h-4zM24%2036h3v1h-3zM31%2036h5v1h-5zM21%2037h8v1h-8zM33%2037h3v1h-3zM23%2038h8v1h-8zM25%2039h8v1h-8zM34%2038h2v2h-2zM27%2040h9v1h-9zM29%2041h7v1h-7zM31%2042h5v1h-5zM33%2043h3v1h-3zM35%2044h1v1h-1z'/%3e%3cpath%20fill='%233aa99f'%20d='M14%2016h1v1h-1zM14%2017h3v1h-3zM14%2018h5v1h-5zM17%2019h4v1h-4zM19%2020h4v1h-4zM21%2021h4v1h-4zM23%2022h4v1h-4zM25%2023h4v1h-4zM27%2024h4v1h-4zM29%2025h4v1h-4zM31%2026h4v1h-4zM33%2027h4v1h-4zM35%2028h3v1h-3zM14%2019h2v16h-2zM14%2035h3v1h-3zM15%2036h4v1h-4zM17%2037h4v1h-4zM19%2038h4v1h-4zM21%2039h4v1h-4zM23%2040h4v1h-4zM25%2041h4v1h-4zM27%2042h4v1h-4zM29%2043h4v1h-4zM31%2044h3v1h-3zM33%2045h1v1h-1zM36%2029h2v18h-2zM37%2047h1v1h-1z'/%3e%3cpath%20fill='%2394d4c9'%20d='M15%2016h1v1h-1zM17%2017h1v1h-1zM19%2018h1v1h-1zM21%2019h1v1h-1zM23%2020h1v1h-1zM25%2021h1v1h-1zM27%2022h1v1h-1zM48%2022h1v1h-1zM29%2023h1v1h-1zM46%2023h1v1h-1zM31%2024h1v1h-1zM44%2024h1v1h-1zM33%2025h1v1h-1zM42%2025h1v1h-1zM35%2026h1v1h-1zM40%2026h1v1h-1zM37%2027h2v1h-2z'/%3e%3cpath%20fill='%2324837b'%20d='M49%2022h1v1h-1zM47%2023h3v1h-3zM45%2024h5v1h-5zM43%2025h7v1h-7zM41%2026h9v1h-9zM39%2027h11v1h-11zM38%2028h12v6h-12zM38%2034h11v1h-11zM38%2035h9v1h-9zM38%2036h7v1h-7zM38%2037h6v8h-6zM38%2045h5v1h-5zM38%2046h3v1h-3zM38%2047h1v1h-1z'/%3e%3cpath%20fill='%23000000'%20fill-opacity='0.353'%20d='M21%2045h2v1h-2zM23%2046h2v1h-2zM25%2047h2v1h-2zM45%2047h2v1h-2zM27%2048h2v1h-2zM43%2048h2v1h-2zM29%2049h2v1h-2zM41%2049h2v1h-2zM31%2050h2v1h-2zM39%2050h2v1h-2zM33%2051h2v1h-2zM37%2051h2v1h-2zM35%2052h2v1h-2z'/%3e%3cpath%20fill='%23cecdc3'%20d='M21%2040h2v1h-2zM22%2041h3v1h-3zM44%2041h1v1h-1zM24%2042h3v1h-3zM44%2042h3v1h-3zM26%2043h3v1h-3zM44%2043h2v1h-2zM28%2044h3v1h-3zM30%2045h3v1h-3zM32%2046h3v1h-3zM34%2047h3v1h-3z'/%3e%3cpath%20fill='%23b7b5ac'%20d='M20%2041h1v1h-1zM20%2042h3v1h-3zM21%2043h4v1h-4zM23%2044h4v1h-4zM25%2045h4v1h-4zM27%2046h4v1h-4zM29%2047h4v1h-4zM31%2048h4v1h-4zM33%2049h3v1h-3zM35%2050h1v1h-1z'/%3e%3cpath%20fill='%23dfded8'%20d='M21%2041h1v1h-1zM23%2042h1v1h-1zM25%2043h1v1h-1zM46%2043h1v1h-1zM27%2044h1v1h-1zM44%2044h1v1h-1zM29%2045h1v1h-1zM31%2046h1v1h-1zM33%2047h1v1h-1zM35%2048h2v1h-2z'/%3e%3cpath%20fill='%23878580'%20d='M47%2043h1v1h-1zM45%2044h3v1h-3zM43%2045h4v1h-4zM41%2046h4v1h-4zM39%2047h4v1h-4zM37%2048h4v1h-4zM36%2049h3v1h-3zM36%2050h1v1h-1z'/%3e%3c/svg%3e`,Ki=`/assets/icon-dark-D13czbqT.svg`;function qi(e){let t=(0,Q.c)(14),n;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(n=(0,$.jsx)(`path`,{d:`M71.09 20.74c-.16-.17-.33-.34-.5-.5s-.33-.34-.5-.5-.33-.34-.5-.5-.33-.34-.5-.5-.33-.34-.5-.5-.33-.34-.5-.5-.33-.34-.5-.5A26.46 26.46 0 0 1 75.5 35.7c0 16.57-16.82 30.05-37.5 30.05-11.58 0-21.94-4.23-28.83-10.86l.5.5.5.5.5.5.5.5.5.5.5.5.5.5C19.55 65.3 30.14 69.75 42 69.75c20.68 0 37.5-13.48 37.5-30 0-7.06-3.04-13.75-8.41-19.01Z`}),t[0]=n):n=t[0];let r;t[1]===Symbol.for(`react.memo_cache_sentinel`)?(r=(0,$.jsx)(`path`,{d:`M73 35.7c0 15.21-15.67 27.54-35 27.54S3 50.91 3 35.7C3 26.27 9 17.94 18.22 13S33.18 3 38 3s8.94 4.13 19.78 10C67 17.94 73 26.27 73 35.7Z`,style:{fill:`#fbf0df`}}),t[1]=r):r=t[1];let i;t[2]===Symbol.for(`react.memo_cache_sentinel`)?(i=(0,$.jsx)(`path`,{d:`M73 35.7a21.67 21.67 0 0 0-.8-5.78c-2.73 33.3-43.35 34.9-59.32 24.94A40 40 0 0 0 38 63.24c19.3 0 35-12.35 35-27.54Z`,style:{fill:`#f6dece`}}),t[2]=i):i=t[2];let a;t[3]===Symbol.for(`react.memo_cache_sentinel`)?(a=(0,$.jsx)(`path`,{d:`M24.53 11.17C29 8.49 34.94 3.46 40.78 3.45A9.29 9.29 0 0 0 38 3c-2.42 0-5 1.25-8.25 3.13-1.13.66-2.3 1.39-3.54 2.15-2.33 1.44-5 3.07-8 4.7C8.69 18.13 3 26.62 3 35.7v1.19c6.06-21.41 17.07-23.04 21.53-25.72Z`,style:{fill:`#fffefc`}}),t[3]=a):a=t[3];let o,s;t[4]===Symbol.for(`react.memo_cache_sentinel`)?(o=(0,$.jsx)(`path`,{d:`M35.12 5.53A16.41 16.41 0 0 1 29.49 18c-.28.25-.06.73.3.59 3.37-1.31 7.92-5.23 6-13.14-.08-.45-.67-.33-.67.08Zm2.27 0A16.24 16.24 0 0 1 39 19c-.12.35.31.65.55.36 2.19-2.8 4.1-8.36-1.62-14.36-.29-.26-.74.14-.54.49Zm2.76-.17A16.42 16.42 0 0 1 47 17.12a.33.33 0 0 0 .65.11c.92-3.49.4-9.44-7.17-12.53-.4-.16-.66.38-.33.62Zm-18.46 10.4a16.94 16.94 0 0 0 10.47-9c.18-.36.75-.22.66.18-1.73 8-7.52 9.67-11.12 9.45-.38.01-.37-.52-.01-.63Z`,style:{fill:`#ccbea7`,fillRule:`evenodd`}}),s=(0,$.jsx)(`path`,{d:`M38 65.75C17.32 65.75.5 52.27.5 35.7c0-10 6.18-19.33 16.53-24.92 3-1.6 5.57-3.21 7.86-4.62 1.26-.78 2.45-1.51 3.6-2.19C32 1.89 35 .5 38 .5s5.62 1.2 8.9 3.14c1 .57 2 1.19 3.07 1.87 2.49 1.54 5.3 3.28 9 5.27C69.32 16.37 75.5 25.69 75.5 35.7c0 16.57-16.82 30.05-37.5 30.05ZM38 3c-2.42 0-5 1.25-8.25 3.13-1.13.66-2.3 1.39-3.54 2.15-2.33 1.44-5 3.07-8 4.7C8.69 18.13 3 26.62 3 35.7c0 15.19 15.7 27.55 35 27.55S73 50.89 73 35.7c0-9.08-5.69-17.57-15.22-22.7-3.78-2-6.73-3.88-9.12-5.36-1.09-.67-2.09-1.29-3-1.84C42.63 4 40.42 3 38 3Z`}),t[4]=o,t[5]=s):(o=t[4],s=t[5]);let c;t[6]===Symbol.for(`react.memo_cache_sentinel`)?(c=(0,$.jsx)(`path`,{d:`M45.05 43a8.93 8.93 0 0 1-2.92 4.71 6.81 6.81 0 0 1-4 1.88A6.84 6.84 0 0 1 34 47.71 8.93 8.93 0 0 1 31.12 43a.72.72 0 0 1 .8-.81h12.34a.72.72 0 0 1 .79.81Z`,style:{fill:`#b71422`}}),t[6]=c):c=t[6];let l;t[7]===Symbol.for(`react.memo_cache_sentinel`)?(l=(0,$.jsxs)(`g`,{children:[c,(0,$.jsx)(`path`,{d:`M34 47.79a6.91 6.91 0 0 0 4.12 1.9 6.91 6.91 0 0 0 4.11-1.9 10.63 10.63 0 0 0 1-1.07 6.83 6.83 0 0 0-4.9-2.31 6.15 6.15 0 0 0-5 2.78c.23.21.43.41.67.6Z`,style:{fill:`#ff6164`}}),(0,$.jsx)(`path`,{d:`M34.16 47a5.36 5.36 0 0 1 4.19-2.08 6 6 0 0 1 4 1.69c.23-.25.45-.51.66-.77a7 7 0 0 0-4.71-1.93 6.36 6.36 0 0 0-4.89 2.36 9.53 9.53 0 0 0 .75.73Z`}),(0,$.jsx)(`path`,{d:`M38.09 50.19a7.42 7.42 0 0 1-4.45-2 9.52 9.52 0 0 1-3.11-5.05 1.2 1.2 0 0 1 .26-1 1.41 1.41 0 0 1 1.13-.51h12.34a1.44 1.44 0 0 1 1.13.51 1.19 1.19 0 0 1 .25 1 9.52 9.52 0 0 1-3.11 5.05 7.42 7.42 0 0 1-4.44 2Zm-6.17-7.4c-.16 0-.2.07-.21.09a8.29 8.29 0 0 0 2.73 4.37A6.23 6.23 0 0 0 38.09 49a6.28 6.28 0 0 0 3.65-1.73 8.3 8.3 0 0 0 2.72-4.37.21.21 0 0 0-.2-.09Z`})]}),t[7]=l):l=t[7];let u;t[8]===Symbol.for(`react.memo_cache_sentinel`)?(u=(0,$.jsx)(`ellipse`,{cx:`53.22`,cy:`40.18`,rx:`5.85`,ry:`3.44`,style:{fill:`#febbd0`}}),t[8]=u):u=t[8];let d;t[9]===Symbol.for(`react.memo_cache_sentinel`)?(d=(0,$.jsx)(`ellipse`,{cx:`22.95`,cy:`40.18`,rx:`5.85`,ry:`3.44`,style:{fill:`#febbd0`}}),t[9]=d):d=t[9];let f;t[10]===Symbol.for(`react.memo_cache_sentinel`)?(f=(0,$.jsx)(`path`,{d:`M25.7 38.8a5.51 5.51 0 1 0-5.5-5.51 5.51 5.51 0 0 0 5.5 5.51Zm24.77 0A5.51 5.51 0 1 0 45 33.29a5.5 5.5 0 0 0 5.47 5.51Z`,style:{fillRule:`evenodd`}}),t[10]=f):f=t[10];let p;t[11]===Symbol.for(`react.memo_cache_sentinel`)?(p=(0,$.jsxs)(`g`,{children:[u,d,f,(0,$.jsx)(`path`,{d:`M24 33.64a2.07 2.07 0 1 0-2.06-2.07A2.07 2.07 0 0 0 24 33.64Zm24.77 0a2.07 2.07 0 1 0-2.06-2.07 2.07 2.07 0 0 0 2.04 2.07Z`,style:{fill:`#fff`,fillRule:`evenodd`}})]}),t[11]=p):p=t[11];let m;return t[12]===e?m=t[13]:(m=(0,$.jsxs)(`svg`,{...e,viewBox:`0 0 80 70`,children:[n,r,i,a,o,s,l,p]}),t[12]=e,t[13]=m),m}function Ji(e){let t=(0,Q.c)(5),n,r,i;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(n=(0,$.jsx)(`path`,{fill:`#FFF`,d:`m202.357 49.394-5.311-2.124C172.085 103.434 72.786 69.289 66.81 85.997c-.996 11.286 54.227 2.146 93.706 4.059 12.039.583 18.076 9.671 12.964 24.484l10.069.031c11.615-36.209 48.683-17.73 50.232-29.68-2.545-7.857-42.601 0-31.425-35.497Z`}),r=(0,$.jsx)(`path`,{fill:`#F4811F`,d:`M176.332 108.348c1.593-5.31 1.062-10.622-1.593-13.809-2.656-3.187-6.374-5.31-11.154-5.842L71.17 87.634c-.531 0-1.062-.53-1.593-.53-.531-.532-.531-1.063 0-1.594.531-1.062 1.062-1.594 2.124-1.594l92.946-1.062c11.154-.53 22.839-9.56 27.087-20.182l5.312-13.809c0-.532.531-1.063 0-1.594C191.203 20.182 166.772 0 138.091 0 111.535 0 88.697 16.995 80.73 40.896c-5.311-3.718-11.684-5.843-19.12-5.31-12.747 1.061-22.838 11.683-24.432 24.43-.531 3.187 0 6.374.532 9.56C16.996 70.107 0 87.103 0 108.348c0 2.124 0 3.718.531 5.842 0 1.063 1.062 1.594 1.594 1.594h170.489c1.062 0 2.125-.53 2.125-1.594l1.593-5.842Z`}),i=(0,$.jsx)(`path`,{fill:`#FAAD3F`,d:`M205.544 48.863h-2.656c-.531 0-1.062.53-1.593 1.062l-3.718 12.747c-1.593 5.31-1.062 10.623 1.594 13.809 2.655 3.187 6.373 5.31 11.153 5.843l19.652 1.062c.53 0 1.062.53 1.593.53.53.532.53 1.063 0 1.594-.531 1.063-1.062 1.594-2.125 1.594l-20.182 1.062c-11.154.53-22.838 9.56-27.087 20.182l-1.063 4.78c-.531.532 0 1.594 1.063 1.594h70.108c1.062 0 1.593-.531 1.593-1.593 1.062-4.25 2.124-9.03 2.124-13.81 0-27.618-22.838-50.456-50.456-50.456`}),t[0]=n,t[1]=r,t[2]=i):(n=t[0],r=t[1],i=t[2]);let a;return t[3]===e?a=t[4]:(a=(0,$.jsxs)(`svg`,{...e,viewBox:`0 0 256 116`,preserveAspectRatio:`xMidYMid`,children:[n,r,i]}),t[3]=e,t[4]=a),a}function Yi(e){let t=(0,Q.c)(3),n;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(n=(0,$.jsx)(`path`,{d:`M13.98 11.08h2.12a.19.19 0 0 0 .19-.19V9.01a.19.19 0 0 0-.19-.19h-2.12a.18.18 0 0 0-.18.18v1.9c0 .1.08.18.18.18m-2.95-5.43h2.12a.19.19 0 0 0 .18-.19V3.57a.19.19 0 0 0-.18-.18h-2.12a.18.18 0 0 0-.19.18v1.9c0 .1.09.18.19.18m0 2.71h2.12a.19.19 0 0 0 .18-.18V6.29a.19.19 0 0 0-.18-.18h-2.12a.18.18 0 0 0-.19.18v1.89c0 .1.09.18.19.18m-2.93 0h2.12a.19.19 0 0 0 .18-.18V6.29a.18.18 0 0 0-.18-.18H8.1a.18.18 0 0 0-.18.18v1.89c0 .1.08.18.18.18m-2.96 0h2.11a.19.19 0 0 0 .19-.18V6.29a.18.18 0 0 0-.19-.18H5.14a.19.19 0 0 0-.19.18v1.89c0 .1.08.18.19.18m5.89 2.72h2.12a.19.19 0 0 0 .18-.19V9.01a.19.19 0 0 0-.18-.19h-2.12a.18.18 0 0 0-.19.18v1.9c0 .1.09.18.19.18m-2.93 0h2.12a.18.18 0 0 0 .18-.19V9.01a.18.18 0 0 0-.18-.19H8.1a.18.18 0 0 0-.18.18v1.9c0 .1.08.18.18.18m-2.96 0h2.11a.18.18 0 0 0 .19-.19V9.01a.18.18 0 0 0-.18-.19H5.14a.19.19 0 0 0-.19.19v1.88c0 .1.08.19.19.19m-2.92 0h2.12a.18.18 0 0 0 .18-.19V9.01a.18.18 0 0 0-.18-.19H2.22a.18.18 0 0 0-.19.18v1.9c0 .1.08.18.19.18m21.54-1.19c-.06-.05-.67-.51-1.95-.51-.34 0-.68.03-1.01.09a3.77 3.77 0 0 0-1.72-2.57l-.34-.2-.23.33a4.6 4.6 0 0 0-.6 1.43c-.24.97-.1 1.88.4 2.66a4.7 4.7 0 0 1-1.75.42H.76a.75.75 0 0 0-.76.75 11.38 11.38 0 0 0 .7 4.06 6.03 6.03 0 0 0 2.4 3.12c1.18.73 3.1 1.14 5.28 1.14.98 0 1.96-.08 2.93-.26a12.25 12.25 0 0 0 3.82-1.4 10.5 10.5 0 0 0 2.61-2.13c1.25-1.42 2-3 2.55-4.4h.23c1.37 0 2.21-.55 2.68-1 .3-.3.55-.66.7-1.06l.1-.28Z`}),t[0]=n):n=t[0];let r;return t[1]===e?r=t[2]:(r=(0,$.jsx)(`svg`,{...e,viewBox:`0 0 24 24`,fill:`#008fe2`,children:n}),t[1]=e,t[2]=r),r}function Xi(e){let t=(0,Q.c)(4),n,r;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(n=(0,$.jsx)(`circle`,{fill:`#FFCF00`,cx:`128`,cy:`128`,r:`128`}),r=(0,$.jsx)(`path`,{d:`M69.285 58.715 138.571 128l-69.286 69.285-16.97-16.97L104.629 128 52.315 75.685l16.97-16.97Zm76.8 0L215.371 128l-69.286 69.285-16.97-16.97L181.429 128l-52.314-52.315 16.97-16.97Z`,fill:`#191919`}),t[0]=n,t[1]=r):(n=t[0],r=t[1]);let i;return t[2]===e?i=t[3]:(i=(0,$.jsxs)(`svg`,{...e,viewBox:`0 0 256 256`,preserveAspectRatio:`xMidYMid`,children:[n,r]}),t[2]=e,t[3]=i),i}function Zi(e){let t=(0,Q.c)(55),n=(0,Z.useId)(),r=`${n}-a`,i,a,o,s,c;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(i=(0,$.jsx)(`stop`,{offset:`0%`,stopColor:`#41873F`}),a=(0,$.jsx)(`stop`,{offset:`32.88%`,stopColor:`#418B3D`}),o=(0,$.jsx)(`stop`,{offset:`63.52%`,stopColor:`#419637`}),s=(0,$.jsx)(`stop`,{offset:`93.19%`,stopColor:`#3FA92D`}),c=(0,$.jsx)(`stop`,{offset:`100%`,stopColor:`#3FAE2A`}),t[0]=i,t[1]=a,t[2]=o,t[3]=s,t[4]=c):(i=t[0],a=t[1],o=t[2],s=t[3],c=t[4]);let l;t[5]===r?l=t[6]:(l=(0,$.jsxs)(`linearGradient`,{id:r,x1:`68.188%`,x2:`27.823%`,y1:`17.487%`,y2:`89.755%`,children:[i,a,o,s,c]}),t[5]=r,t[6]=l);let u=`${n}-c`,d,f,p,m;t[7]===Symbol.for(`react.memo_cache_sentinel`)?(p=(0,$.jsx)(`stop`,{offset:`13.76%`,stopColor:`#41873F`}),m=(0,$.jsx)(`stop`,{offset:`40.32%`,stopColor:`#54A044`}),d=(0,$.jsx)(`stop`,{offset:`71.36%`,stopColor:`#66B848`}),f=(0,$.jsx)(`stop`,{offset:`90.81%`,stopColor:`#6CC04A`}),t[7]=d,t[8]=f,t[9]=p,t[10]=m):(d=t[7],f=t[8],p=t[9],m=t[10]);let h;t[11]===u?h=t[12]:(h=(0,$.jsxs)(`linearGradient`,{id:u,x1:`43.277%`,x2:`159.245%`,y1:`55.169%`,y2:`-18.306%`,children:[p,m,d,f]}),t[11]=u,t[12]=h);let g=`${n}-f`,_,v,y,b;t[13]===Symbol.for(`react.memo_cache_sentinel`)?(_=(0,$.jsx)(`stop`,{offset:`9.192%`,stopColor:`#6CC04A`}),v=(0,$.jsx)(`stop`,{offset:`28.64%`,stopColor:`#66B848`}),y=(0,$.jsx)(`stop`,{offset:`59.68%`,stopColor:`#54A044`}),b=(0,$.jsx)(`stop`,{offset:`86.24%`,stopColor:`#41873F`}),t[13]=_,t[14]=v,t[15]=y,t[16]=b):(_=t[13],v=t[14],y=t[15],b=t[16]);let x;t[17]===g?x=t[18]:(x=(0,$.jsxs)(`linearGradient`,{id:g,x1:`-4.389%`,x2:`101.499%`,y1:`49.997%`,y2:`49.997%`,children:[_,v,y,b]}),t[17]=g,t[18]=x);let S=`${n}-b`,C;t[19]===S?C=t[20]:(C=(0,$.jsx)(`path`,{id:S,d:`M134.923 1.832c-4.344-2.443-9.502-2.443-13.846 0L6.787 67.801C2.443 70.244 0 74.859 0 79.745v132.208c0 4.887 2.715 9.502 6.787 11.945l114.29 65.968c4.344 2.444 9.502 2.444 13.846 0l114.29-65.968c4.344-2.443 6.787-7.058 6.787-11.945V79.745c0-4.886-2.715-9.501-6.787-11.944L134.923 1.832Z`}),t[19]=S,t[20]=C);let w=`${n}-e`,T;t[21]===w?T=t[22]:(T=(0,$.jsx)(`path`,{id:w,d:`M134.923 1.832c-4.344-2.443-9.502-2.443-13.846 0L6.787 67.801C2.443 70.244 0 74.859 0 79.745v132.208c0 4.887 2.715 9.502 6.787 11.945l114.29 65.968c4.344 2.444 9.502 2.444 13.846 0l114.29-65.968c4.344-2.443 6.787-7.058 6.787-11.945V79.745c0-4.886-2.715-9.501-6.787-11.944L134.923 1.832Z`}),t[21]=w,t[22]=T);let E;t[23]!==h||t[24]!==x||t[25]!==C||t[26]!==T||t[27]!==l?(E=(0,$.jsxs)(`defs`,{children:[l,h,x,C,T]}),t[23]=h,t[24]=x,t[25]=C,t[26]=T,t[27]=l,t[28]=E):E=t[28];let D=`url(#${n}-a)`,O;t[29]===D?O=t[30]:(O=(0,$.jsx)(`path`,{fill:D,d:`M134.923 1.832c-4.344-2.443-9.502-2.443-13.846 0L6.787 67.801C2.443 70.244 0 74.859 0 79.745v132.208c0 4.887 2.715 9.502 6.787 11.945l114.29 65.968c4.344 2.444 9.502 2.444 13.846 0l114.29-65.968c4.344-2.443 6.787-7.058 6.787-11.945V79.745c0-4.886-2.715-9.501-6.787-11.944L134.923 1.832Z`}),t[29]=D,t[30]=O);let k=`${n}-d`,A=`#${n}-b`,j;t[31]===A?j=t[32]:(j=(0,$.jsx)(`use`,{xlinkHref:A}),t[31]=A,t[32]=j);let M;t[33]!==k||t[34]!==j?(M=(0,$.jsx)(`mask`,{id:k,fill:`#fff`,children:j}),t[33]=k,t[34]=j,t[35]=M):M=t[35];let N=`url(#${n}-c)`,P=`url(#${n}-d)`,F;t[36]!==N||t[37]!==P?(F=(0,$.jsx)(`path`,{fill:N,d:`M249.485 67.8 134.65 1.833c-1.086-.542-2.443-1.085-3.529-1.357L2.443 220.912c1.086 1.357 2.444 2.443 3.8 3.258l114.834 65.968c3.258 1.9 7.059 2.443 10.588 1.357L252.47 70.515c-.815-1.086-1.9-1.9-2.986-2.714Z`,mask:P}),t[36]=N,t[37]=P,t[38]=F):F=t[38];let I=`${n}-g`,L=`#${n}-e`,ee;t[39]===L?ee=t[40]:(ee=(0,$.jsx)(`use`,{xlinkHref:L}),t[39]=L,t[40]=ee);let R;t[41]!==I||t[42]!==ee?(R=(0,$.jsx)(`mask`,{id:I,fill:`#fff`,children:ee}),t[41]=I,t[42]=ee,t[43]=R):R=t[43];let te=`url(#${n}-f)`,ne=`url(#${n}-g)`,re;t[44]!==te||t[45]!==ne?(re=(0,$.jsx)(`path`,{fill:te,d:`M249.756 223.898c3.258-1.9 5.701-5.158 6.787-8.687L130.579.204c-3.258-.543-6.787-.272-9.773 1.628L6.786 67.53l122.979 224.238c1.628-.272 3.529-.815 5.158-1.63l114.833-66.239Z`,mask:ne}),t[44]=te,t[45]=ne,t[46]=re):re=t[46];let ie;return t[47]!==e||t[48]!==E||t[49]!==O||t[50]!==M||t[51]!==F||t[52]!==R||t[53]!==re?(ie=(0,$.jsxs)(`svg`,{...e,viewBox:`0 0 256 292`,xmlnsXlink:`http://www.w3.org/1999/xlink`,children:[E,O,M,F,R,re]}),t[47]=e,t[48]=E,t[49]=O,t[50]=M,t[51]=F,t[52]=R,t[53]=re,t[54]=ie):ie=t[54],ie}function Qi(e){let t=(0,Q.c)(11),n;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(n={clipRule:`nonzero`,fill:`none`,fillRule:`nonzero`,stroke:`#fff`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeMiterlimit:`4`,strokeWidth:`12.4651`},t[0]=n):n=t[0];let r;t[1]===Symbol.for(`react.memo_cache_sentinel`)?(r=(0,$.jsx)(`path`,{d:`M323.205 324.227c2.833-23.601 1.984-27.062 19.563-23.239l4.463.392c13.517.615 31.199-2.174 41.587-7 22.362-10.376 35.622-27.7 13.572-23.148-50.297 10.376-53.755-6.655-53.755-6.655 53.111-78.803 75.313-178.836 56.149-203.322-52.27-66.789-142.748-35.206-144.262-34.386l-.482.089c-9.938-2.062-21.06-3.294-33.554-3.496-22.761-.374-40.032 5.967-53.133 15.904 0 0-161.408-66.498-153.899 83.628 1.597 31.936 45.777 241.655 98.47 178.31 19.259-23.163 37.871-42.748 37.871-42.748 9.242 6.14 20.307 9.272 31.912 8.147l.897-.765c-.281 2.876-.157 5.689.359 9.019-13.572 15.167-9.584 17.83-36.723 23.416-27.457 5.659-11.326 15.734-.797 18.367 12.768 3.193 42.305 7.716 62.268-20.224l-.795 3.188c5.325 4.26 4.965 30.619 5.72 49.452.756 18.834 2.017 36.409 5.856 46.771 3.839 10.36 8.369 37.05 44.036 29.406 29.809-6.388 52.6-15.582 54.677-101.107`,style:{fill:`#000`,stroke:`#000`,strokeLinecap:`butt`,strokeLinejoin:`miter`,strokeWidth:`37.3953`}}),t[1]=r):r=t[1];let i,a;t[2]===Symbol.for(`react.memo_cache_sentinel`)?(i=(0,$.jsx)(`path`,{d:`M402.395 271.23c-50.302 10.376-53.76-6.655-53.76-6.655 53.111-78.808 75.313-178.843 56.153-203.326-52.27-66.785-142.752-35.2-144.262-34.38l-.486.087c-9.938-2.063-21.06-3.292-33.56-3.496-22.761-.373-40.026 5.967-53.127 15.902 0 0-161.411-66.495-153.904 83.63 1.597 31.938 45.776 241.657 98.471 178.312 19.26-23.163 37.869-42.748 37.869-42.748 9.243 6.14 20.308 9.272 31.908 8.147l.901-.765c-.28 2.876-.152 5.689.361 9.019-13.575 15.167-9.586 17.83-36.723 23.416-27.459 5.659-11.328 15.734-.796 18.367 12.768 3.193 42.307 7.716 62.266-20.224l-.796 3.188c5.319 4.26 9.054 27.711 8.428 48.969-.626 21.259-1.044 35.854 3.147 47.254 4.191 11.4 8.368 37.05 44.042 29.406 29.809-6.388 45.256-22.942 47.405-50.555 1.525-19.631 4.976-16.729 5.194-34.28l2.768-8.309c3.192-26.611.507-35.196 18.872-31.203l4.463.392c13.517.615 31.208-2.174 41.591-7 22.358-10.376 35.618-27.7 13.573-23.148z`,style:{fill:`#336791`,stroke:`none`},stroke:`none`}),a=(0,$.jsx)(`path`,{d:`M215.866 286.484c-1.385 49.516.348 99.377 5.193 111.495 4.848 12.118 15.223 35.688 50.9 28.045 29.806-6.39 40.651-18.756 45.357-46.051 3.466-20.082 10.148-75.854 11.005-87.281M173.104 38.256S11.583-27.76 19.092 122.365c1.597 31.938 45.779 241.664 98.473 178.316 19.256-23.166 36.671-41.335 36.671-41.335M260.349 26.207c-5.591 1.753 89.848-34.889 144.087 34.417 19.159 24.484-3.043 124.519-56.153 203.329`}),t[2]=i,t[3]=a):(i=t[2],a=t[3]);let o,s,c;t[4]===Symbol.for(`react.memo_cache_sentinel`)?(o=(0,$.jsx)(`path`,{d:`M348.282 263.953s3.461 17.036 53.764 6.653c22.04-4.552 8.776 12.774-13.577 23.155-18.345 8.514-59.474 10.696-60.146-1.069-1.729-30.355 21.647-21.133 19.96-28.739-1.525-6.85-11.979-13.573-18.894-30.338-6.037-14.633-82.796-126.849 21.287-110.183 3.813-.789-27.146-99.002-124.553-100.599-97.385-1.597-94.19 119.762-94.19 119.762`,style:{strokeLinejoin:`bevel`}}),s=(0,$.jsx)(`path`,{d:`M188.604 274.334c-13.577 15.166-9.584 17.829-36.723 23.417-27.459 5.66-11.326 15.733-.797 18.365 12.768 3.195 42.307 7.718 62.266-20.229 6.078-8.509-.036-22.086-8.385-25.547-4.034-1.671-9.428-3.765-16.361 3.994z`}),c=(0,$.jsx)(`path`,{d:`M187.715 274.069c-1.368-8.917 2.93-19.528 7.536-31.942 6.922-18.626 22.893-37.255 10.117-96.339-9.523-44.029-73.396-9.163-73.436-3.193-.039 5.968 2.889 30.26-1.067 58.548-5.162 36.913 23.488 68.132 56.479 64.938`}),t[4]=o,t[5]=s,t[6]=c):(o=t[4],s=t[5],c=t[6]);let l;t[7]===Symbol.for(`react.memo_cache_sentinel`)?(l=(0,$.jsx)(`path`,{d:`M172.517 141.7c-.288 2.039 3.733 7.48 8.976 8.207 5.234.73 9.714-3.522 9.998-5.559.284-2.039-3.732-4.285-8.977-5.015-5.237-.731-9.719.333-9.996 2.367z`,style:{fill:`#fff`,strokeLinecap:`butt`,strokeLinejoin:`miter`,strokeWidth:`4.155`}}),t[7]=l):l=t[7];let u;t[8]===Symbol.for(`react.memo_cache_sentinel`)?(u=(0,$.jsxs)(`g`,{style:n,children:[r,i,a,o,s,c,l,(0,$.jsx)(`path`,{d:`M331.941 137.543c.284 2.039-3.732 7.48-8.976 8.207-5.238.73-9.718-3.522-10.005-5.559-.277-2.039 3.74-4.285 8.979-5.015 5.239-.73 9.718.333 10.002 2.368z`,style:{fill:`#fff`,strokeLinecap:`butt`,strokeLinejoin:`miter`,strokeWidth:`2.0775`}}),(0,$.jsx)(`path`,{d:`M350.676 123.432c.863 15.994-3.445 26.888-3.988 43.914-.804 24.748 11.799 53.074-7.191 81.435`})]}),t[8]=u):u=t[8];let d;return t[9]===e?d=t[10]:(d=(0,$.jsx)(`svg`,{...e,xmlSpace:`preserve`,viewBox:`0 0 432.071 445.383`,children:u}),t[9]=e,t[10]=d),d}function $i(e){let t=(0,Q.c)(11),n,r,i,a,o,s,c,l,u;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(n=(0,$.jsx)(`path`,{d:`M246 169c-13.7 7-84.5 36.2-99.5 44-15.1 7.9-23.5 7.8-35.4 2.1C99.2 209.4 24 179 10.3 172.5 3.6 169.3 0 166.5 0 164v-26s98-21.3 113.9-27c15.8-5.6 21.3-5.8 34.8-.9 13.4 5 94 19.5 107.3 24.3V160c0 2.5-3 5.3-10 9`,fill:`#912626`}),r=(0,$.jsx)(`path`,{d:`M246 143.2c-13.7 7.1-84.5 36.2-99.5 44-15.1 8-23.5 7.9-35.4 2.2-11.9-5.7-87.2-36.1-100.8-42.6-13.5-6.5-13.8-11-.5-16.2 13.4-5.2 88.2-34.6 104-40.3 16-5.6 21.4-5.8 34.9-1 13.4 5 83.8 33 97.1 37.9 13.3 4.9 13.8 8.9.2 16`,fill:`#C6302B`}),i=(0,$.jsx)(`path`,{d:`M246 127c-13.7 7.2-84.5 36.3-99.5 44.2-15.1 7.8-23.5 7.7-35.4 2-11.9-5.6-87.2-36-100.8-42.6-6.7-3.2-10.3-6-10.3-8.5V96.2s98-21.3 113.9-27c15.8-5.7 21.3-5.9 34.8-1 13.4 5 94 19.5 107.3 24.4V118c0 2.5-3 5.4-10 9`,fill:`#912626`}),a=(0,$.jsx)(`path`,{d:`M246 101.4c-13.7 7-84.5 36.2-99.5 44-15.1 7.9-23.5 7.8-35.4 2.1C99.2 141.8 24 111.4 10.3 105c-13.5-6.5-13.8-11-.5-16.1C23.2 83.5 98 54 113.8 48.5c16-5.7 21.4-6 34.9-1 13.4 5 83.8 33 97.1 37.8 13.3 5 13.8 9 .2 16`,fill:`#C6302B`}),o=(0,$.jsx)(`path`,{d:`M246 83.7c-13.7 7-84.5 36.2-99.5 44-15.1 7.9-23.5 7.8-35.4 2.1C99.2 124.1 24 93.7 10.3 87.2 3.6 84 0 81.2 0 78.7v-26s98-21.3 113.9-27c15.8-5.6 21.3-5.8 34.8-.9 13.4 5 94 19.5 107.3 24.4v25.5c0 2.5-3 5.3-10 9`,fill:`#912626`}),s=(0,$.jsx)(`path`,{d:`M246 58c-13.7 7-84.5 36.1-99.5 44-15.1 7.9-23.5 7.8-35.4 2C99.2 98.5 24 68 10.3 61.6c-13.5-6.5-13.8-11-.5-16.2C23.2 40.1 98 10.7 113.8 5c16-5.6 21.4-5.8 34.9-.9 13.4 5 83.8 33 97.1 37.8 13.3 4.9 13.8 9 .2 16`,fill:`#C6302B`}),c=(0,$.jsx)(`path`,{d:`m159.3 32.8-22 2.2-5 11.9-8-13.2L99 31.4l19-6.9-5.8-10.5 17.8 7 16.7-5.5-4.5 10.9 17 6.4M131 90.3l-41-17 58.8-9.1-17.8 26M74 39.3c17.5 0 31.5 5.5 31.5 12.2 0 6.8-14 12.2-31.4 12.2s-31.5-5.4-31.5-12.2c0-6.7 14.1-12.2 31.5-12.2`,fill:`#FFF`}),l=(0,$.jsx)(`path`,{d:`M185.3 36 220 49.8l-34.8 13.7V36`,fill:`#621B1C`}),u=(0,$.jsx)(`path`,{d:`M146.8 51.2 185.3 36v27.5l-3.8 1.5-34.7-13.8`,fill:`#9A2928`}),t[0]=n,t[1]=r,t[2]=i,t[3]=a,t[4]=o,t[5]=s,t[6]=c,t[7]=l,t[8]=u):(n=t[0],r=t[1],i=t[2],a=t[3],o=t[4],s=t[5],c=t[6],l=t[7],u=t[8]);let d;return t[9]===e?d=t[10]:(d=(0,$.jsxs)(`svg`,{...e,preserveAspectRatio:`xMidYMid`,viewBox:`0 0 256 220`,children:[n,r,i,a,o,s,c,l,u]}),t[9]=e,t[10]=d),d}function ea(e){let t=(0,Q.c)(6),n,r,i,a;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(n=(0,$.jsx)(`path`,{fillRule:`evenodd`,clipRule:`evenodd`,d:`M165.735 25.0701L188.947 0.972412H0.465994V25.0701H165.735Z`,fill:`black`}),r=(0,$.jsx)(`path`,{d:`M163.981 96.3239L254.022 3.68314L221.206 3.68295L145.617 80.7609L163.981 96.3239Z`,fill:`black`}),i=(0,$.jsx)(`path`,{d:`M233.658 131.418C233.658 155.075 214.48 174.254 190.823 174.254C171.715 174.254 155.513 161.738 150 144.439L146.625 133.848L127.329 153.143L129.092 157.336C139.215 181.421 163.034 198.354 190.823 198.354C227.791 198.354 257.759 168.386 257.759 131.418C257.759 106.937 244.399 85.7396 224.956 74.0905L220.395 71.3582L202.727 89.2528L210.788 93.5083C224.403 100.696 233.658 114.981 233.658 131.418Z`,fill:`black`}),a=(0,$.jsx)(`path`,{fillRule:`evenodd`,clipRule:`evenodd`,d:`M88.2625 192.669L88.2626 45.6459H64.1648L64.1648 192.669H88.2625Z`,fill:`black`}),t[0]=n,t[1]=r,t[2]=i,t[3]=a):(n=t[0],r=t[1],i=t[2],a=t[3]);let o;return t[4]===e?o=t[5]:(o=(0,$.jsxs)(`svg`,{...e,viewBox:`0 0 258 199`,fill:`none`,children:[n,r,i,a]}),t[4]=e,t[5]=o),o}function ta(e){let t=(0,Q.c)(6),n,r,i,a;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(n=(0,$.jsx)(`path`,{fillRule:`evenodd`,clipRule:`evenodd`,d:`M165.735 25.0701L188.947 0.972412H0.465994V25.0701H165.735Z`,fill:`#e2e8f0`}),r=(0,$.jsx)(`path`,{d:`M163.981 96.3239L254.022 3.68314L221.206 3.68295L145.617 80.7609L163.981 96.3239Z`,fill:`#e2e8f0`}),i=(0,$.jsx)(`path`,{d:`M233.658 131.418C233.658 155.075 214.48 174.254 190.823 174.254C171.715 174.254 155.513 161.738 150 144.439L146.625 133.848L127.329 153.143L129.092 157.336C139.215 181.421 163.034 198.354 190.823 198.354C227.791 198.354 257.759 168.386 257.759 131.418C257.759 106.937 244.399 85.7396 224.956 74.0905L220.395 71.3582L202.727 89.2528L210.788 93.5083C224.403 100.696 233.658 114.981 233.658 131.418Z`,fill:`#e2e8f0`}),a=(0,$.jsx)(`path`,{fillRule:`evenodd`,clipRule:`evenodd`,d:`M88.2625 192.669L88.2626 45.6459H64.1648L64.1648 192.669H88.2625Z`,fill:`#e2e8f0`}),t[0]=n,t[1]=r,t[2]=i,t[3]=a):(n=t[0],r=t[1],i=t[2],a=t[3]);let o;return t[4]===e?o=t[5]:(o=(0,$.jsxs)(`svg`,{...e,viewBox:`0 0 258 199`,fill:`none`,children:[n,r,i,a]}),t[4]=e,t[5]=o),o}function na(e){let t=(0,Q.c)(11),n=(0,Z.useId)(),r;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(r=(0,$.jsx)(`path`,{fill:`#fff`,d:`M49.542 17.322c-17.766 0-32.22 14.454-32.22 32.22s14.454 32.22 32.22 32.22 32.22-14.454 32.22-32.22-14.454-32.22-32.22-32.22Zm0 48.894c-9.21 0-16.674-7.464-16.674-16.674 0-9.21 7.464-16.674 16.674-16.674 9.21 0 16.674 7.464 16.674 16.674 0 9.21-7.464 16.674-16.674 16.674Z`}),t[0]=r):r=t[0];let i=`url(#${n})`,a;t[1]===i?a=t[2]:(a=(0,$.jsx)(`path`,{fill:i,fillRule:`evenodd`,d:`M52.242 12.03V0c26.148 1.398 46.92 23.046 46.92 49.542 0 26.496-20.772 48.138-46.92 49.542v-12.03c19.488-1.392 34.92-17.676 34.92-37.512 0-19.836-15.432-36.12-34.92-37.512ZM21.126 74.142c-5.166-5.964-8.496-13.56-9.09-21.9H0c.624 11.67 5.292 22.26 12.606 30.414l8.514-8.514h.006Zm25.716 24.942v-12.03c-8.346-.594-15.942-3.918-21.906-9.09l-8.514 8.514c8.16 7.32 18.75 11.982 30.414 12.606h.006Z`,clipRule:`evenodd`}),t[1]=i,t[2]=a);let o,s;t[3]===Symbol.for(`react.memo_cache_sentinel`)?(o=(0,$.jsx)(`stop`,{stopColor:`#0096FF`}),s=(0,$.jsx)(`stop`,{offset:`1`,stopColor:`#FF1E56`}),t[3]=o,t[4]=s):(o=t[3],s=t[4]);let c;t[5]===n?c=t[6]:(c=(0,$.jsx)(`defs`,{children:(0,$.jsxs)(`linearGradient`,{id:n,x1:`54.186`,x2:`5.418`,y1:`6.967`,y2:`55.735`,gradientUnits:`userSpaceOnUse`,children:[o,s]})}),t[5]=n,t[6]=c);let l;return t[7]!==e||t[8]!==a||t[9]!==c?(l=(0,$.jsxs)(`svg`,{...e,fill:`none`,viewBox:`0 0 100 100`,children:[r,a,c]}),t[7]=e,t[8]=a,t[9]=c,t[10]=l):l=t[10],l}function ra(e){let t=(0,Q.c)(11),n=(0,Z.useId)(),r;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(r=(0,$.jsx)(`path`,{fill:`#000`,d:`M49.96 17.482C32.046 17.482 17.47 32.07 17.47 50S32.045 82.518 49.96 82.518c17.916 0 32.492-14.588 32.492-32.518S67.877 17.482 49.961 17.482Zm0 49.346c-9.287 0-16.814-7.533-16.814-16.828 0-9.295 7.527-16.828 16.815-16.828S66.776 40.705 66.776 50c0 9.295-7.527 16.828-16.815 16.828Z`}),t[0]=r):r=t[0];let i=`url(#${n})`,a;t[1]===i?a=t[2]:(a=(0,$.jsx)(`path`,{fill:i,fillRule:`evenodd`,d:`M52.683 12.141V0C79.053 1.41 100 23.26 100 50s-20.948 48.583-47.317 50V87.859C72.336 86.454 87.898 70.019 87.898 50c0-20.02-15.562-36.454-35.215-37.859ZM21.305 74.827c-5.21-6.019-8.568-13.685-9.167-22.102H0C.63 64.503 5.337 75.19 12.713 83.42l8.586-8.593h.006ZM47.237 100V87.859c-8.417-.6-16.077-3.954-22.091-9.174l-8.586 8.593C24.79 94.665 35.469 99.37 47.23 100h.007Z`,clipRule:`evenodd`}),t[1]=i,t[2]=a);let o,s;t[3]===Symbol.for(`react.memo_cache_sentinel`)?(o=(0,$.jsx)(`stop`,{stopColor:`#0096FF`}),s=(0,$.jsx)(`stop`,{offset:`1`,stopColor:`#FF1E56`}),t[3]=o,t[4]=s):(o=t[3],s=t[4]);let c;t[5]===n?c=t[6]:(c=(0,$.jsx)(`defs`,{children:(0,$.jsxs)(`linearGradient`,{id:n,x1:`54.644`,x2:`5.425`,y1:`7.031`,y2:`56.211`,gradientUnits:`userSpaceOnUse`,children:[o,s]})}),t[5]=n,t[6]=c);let l;return t[7]!==e||t[8]!==a||t[9]!==c?(l=(0,$.jsxs)(`svg`,{...e,fill:`none`,viewBox:`0 0 100 100`,children:[r,a,c]}),t[7]=e,t[8]=a,t[9]=c,t[10]=l):l=t[10],l}function ia(e){let t=(0,Q.c)(35),n;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(n=(0,$.jsx)(`path`,{fill:`#863bff`,d:`M25.946 44.938c-.664.845-2.021.375-2.021-.698V33.937a2.26 2.26 0 0 0-2.262-2.262H10.287c-.92 0-1.456-1.04-.92-1.788l7.48-10.471c1.07-1.497 0-3.578-1.842-3.578H1.237c-.92 0-1.456-1.04-.92-1.788L10.013.474c.214-.297.556-.474.92-.474h28.894c.92 0 1.456 1.04.92 1.788l-7.48 10.471c-1.07 1.498 0 3.579 1.842 3.579h11.377c.943 0 1.473 1.088.89 1.83L25.947 44.94z`,style:{fill:`color(display-p3 .5252 .23 1)`,fillOpacity:`1`}}),t[0]=n):n=t[0];let r;t[1]===Symbol.for(`react.memo_cache_sentinel`)?(r={maskType:`alpha`},t[1]=r):r=t[1];let i;t[2]===Symbol.for(`react.memo_cache_sentinel`)?(i=(0,$.jsx)(`mask`,{id:`mask0_2002_17158`,width:`48`,height:`46`,x:`0`,y:`0`,maskUnits:`userSpaceOnUse`,style:r,children:(0,$.jsx)(`path`,{fill:`#000`,d:`M25.842 44.938c-.664.844-2.021.375-2.021-.698V33.937a2.26 2.26 0 0 0-2.262-2.262H10.183c-.92 0-1.456-1.04-.92-1.788l7.48-10.471c1.07-1.498 0-3.579-1.842-3.579H1.133c-.92 0-1.456-1.04-.92-1.787L9.91.473c.214-.297.556-.474.92-.474h28.894c.92 0 1.456 1.04.92 1.788l-7.48 10.471c-1.07 1.498 0 3.578 1.842 3.578h11.377c.943 0 1.473 1.088.89 1.832L25.843 44.94z`,style:{fill:`#000`,fillOpacity:`1`}})}),t[2]=i):i=t[2];let a;t[3]===Symbol.for(`react.memo_cache_sentinel`)?(a=(0,$.jsx)(`g`,{filter:`url(#filter0_f_2002_17158)`,children:(0,$.jsx)(`ellipse`,{cx:`5.508`,cy:`14.704`,fill:`#ede6ff`,rx:`5.508`,ry:`14.704`,style:{fill:`color(display-p3 .9275 .9033 1)`,fillOpacity:`1`},transform:`matrix(.00324 1 1 -.00324 -4.47 31.516)`})}),t[3]=a):a=t[3];let o;t[4]===Symbol.for(`react.memo_cache_sentinel`)?(o=(0,$.jsx)(`g`,{filter:`url(#filter1_f_2002_17158)`,children:(0,$.jsx)(`ellipse`,{cx:`10.399`,cy:`29.851`,fill:`#ede6ff`,rx:`10.399`,ry:`29.851`,style:{fill:`color(display-p3 .9275 .9033 1)`,fillOpacity:`1`},transform:`matrix(.00324 1 1 -.00324 -39.328 7.883)`})}),t[4]=o):o=t[4];let s;t[5]===Symbol.for(`react.memo_cache_sentinel`)?(s=(0,$.jsx)(`g`,{filter:`url(#filter2_f_2002_17158)`,children:(0,$.jsx)(`ellipse`,{cx:`5.508`,cy:`30.487`,fill:`#7e14ff`,rx:`5.508`,ry:`30.487`,style:{fill:`color(display-p3 .4922 .0767 1)`,fillOpacity:`1`},transform:`rotate(89.814 -25.913 -14.639)scale(1 -1)`})}),t[5]=s):s=t[5];let c;t[6]===Symbol.for(`react.memo_cache_sentinel`)?(c=(0,$.jsx)(`g`,{filter:`url(#filter3_f_2002_17158)`,children:(0,$.jsx)(`ellipse`,{cx:`5.508`,cy:`30.599`,fill:`#7e14ff`,rx:`5.508`,ry:`30.599`,style:{fill:`color(display-p3 .4922 .0767 1)`,fillOpacity:`1`},transform:`rotate(89.814 -32.644 -3.334)scale(1 -1)`})}),t[6]=c):c=t[6];let l;t[7]===Symbol.for(`react.memo_cache_sentinel`)?(l=(0,$.jsx)(`g`,{filter:`url(#filter4_f_2002_17158)`,children:(0,$.jsx)(`ellipse`,{cx:`5.508`,cy:`30.599`,fill:`#7e14ff`,rx:`5.508`,ry:`30.599`,style:{fill:`color(display-p3 .4922 .0767 1)`,fillOpacity:`1`},transform:`rotate(89.814 -32.454 -1.99)scale(1 -1)`})}),t[7]=l):l=t[7];let u;t[8]===Symbol.for(`react.memo_cache_sentinel`)?(u=(0,$.jsx)(`g`,{filter:`url(#filter5_f_2002_17158)`,children:(0,$.jsx)(`ellipse`,{cx:`14.072`,cy:`22.078`,fill:`#ede6ff`,rx:`14.072`,ry:`22.078`,style:{fill:`color(display-p3 .9275 .9033 1)`,fillOpacity:`1`},transform:`rotate(93.35 24.506 48.493)scale(-1 1)`})}),t[8]=u):u=t[8];let d;t[9]===Symbol.for(`react.memo_cache_sentinel`)?(d=(0,$.jsx)(`g`,{filter:`url(#filter6_f_2002_17158)`,children:(0,$.jsx)(`ellipse`,{cx:`3.47`,cy:`21.501`,fill:`#7e14ff`,rx:`3.47`,ry:`21.501`,style:{fill:`color(display-p3 .4922 .0767 1)`,fillOpacity:`1`},transform:`rotate(89.009 28.708 47.59)scale(-1 1)`})}),t[9]=d):d=t[9];let f;t[10]===Symbol.for(`react.memo_cache_sentinel`)?(f=(0,$.jsx)(`g`,{filter:`url(#filter7_f_2002_17158)`,children:(0,$.jsx)(`ellipse`,{cx:`3.47`,cy:`21.501`,fill:`#7e14ff`,rx:`3.47`,ry:`21.501`,style:{fill:`color(display-p3 .4922 .0767 1)`,fillOpacity:`1`},transform:`rotate(89.009 28.708 47.59)scale(-1 1)`})}),t[10]=f):f=t[10];let p;t[11]===Symbol.for(`react.memo_cache_sentinel`)?(p=(0,$.jsx)(`g`,{filter:`url(#filter8_f_2002_17158)`,children:(0,$.jsx)(`ellipse`,{cx:`.387`,cy:`8.972`,fill:`#7e14ff`,rx:`4.407`,ry:`29.108`,style:{fill:`color(display-p3 .4922 .0767 1)`,fillOpacity:`1`},transform:`rotate(39.51 .387 8.972)`})}),t[11]=p):p=t[11];let m;t[12]===Symbol.for(`react.memo_cache_sentinel`)?(m=(0,$.jsx)(`g`,{filter:`url(#filter9_f_2002_17158)`,children:(0,$.jsx)(`ellipse`,{cx:`47.523`,cy:`-6.092`,fill:`#7e14ff`,rx:`4.407`,ry:`29.108`,style:{fill:`color(display-p3 .4922 .0767 1)`,fillOpacity:`1`},transform:`rotate(37.892 47.523 -6.092)`})}),t[12]=m):m=t[12];let h;t[13]===Symbol.for(`react.memo_cache_sentinel`)?(h=(0,$.jsx)(`g`,{filter:`url(#filter10_f_2002_17158)`,children:(0,$.jsx)(`ellipse`,{cx:`41.412`,cy:`6.333`,fill:`#47bfff`,rx:`5.971`,ry:`9.665`,style:{fill:`color(display-p3 .2799 .748 1)`,fillOpacity:`1`},transform:`rotate(37.892 41.412 6.333)`})}),t[13]=h):h=t[13];let g;t[14]===Symbol.for(`react.memo_cache_sentinel`)?(g=(0,$.jsx)(`g`,{filter:`url(#filter11_f_2002_17158)`,children:(0,$.jsx)(`ellipse`,{cx:`-1.879`,cy:`38.332`,fill:`#7e14ff`,rx:`4.407`,ry:`29.108`,style:{fill:`color(display-p3 .4922 .0767 1)`,fillOpacity:`1`},transform:`rotate(37.892 -1.88 38.332)`})}),t[14]=g):g=t[14];let _;t[15]===Symbol.for(`react.memo_cache_sentinel`)?(_=(0,$.jsx)(`g`,{filter:`url(#filter12_f_2002_17158)`,children:(0,$.jsx)(`ellipse`,{cx:`-1.879`,cy:`38.332`,fill:`#7e14ff`,rx:`4.407`,ry:`29.108`,style:{fill:`color(display-p3 .4922 .0767 1)`,fillOpacity:`1`},transform:`rotate(37.892 -1.88 38.332)`})}),t[15]=_):_=t[15];let v;t[16]===Symbol.for(`react.memo_cache_sentinel`)?(v=(0,$.jsx)(`g`,{filter:`url(#filter13_f_2002_17158)`,children:(0,$.jsx)(`ellipse`,{cx:`35.651`,cy:`29.907`,fill:`#7e14ff`,rx:`4.407`,ry:`29.108`,style:{fill:`color(display-p3 .4922 .0767 1)`,fillOpacity:`1`},transform:`rotate(37.892 35.651 29.907)`})}),t[16]=v):v=t[16];let y;t[17]===Symbol.for(`react.memo_cache_sentinel`)?(y=(0,$.jsxs)(`g`,{mask:`url(#mask0_2002_17158)`,children:[a,o,s,c,l,u,d,f,p,m,h,g,_,v,(0,$.jsx)(`g`,{filter:`url(#filter14_f_2002_17158)`,children:(0,$.jsx)(`ellipse`,{cx:`38.418`,cy:`32.4`,fill:`#47bfff`,rx:`5.971`,ry:`15.297`,style:{fill:`color(display-p3 .2799 .748 1)`,fillOpacity:`1`},transform:`rotate(37.892 38.418 32.4)`})})]}),t[17]=y):y=t[17];let b;t[18]===Symbol.for(`react.memo_cache_sentinel`)?(b=(0,$.jsxs)(`filter`,{id:`filter0_f_2002_17158`,width:`60.045`,height:`41.654`,x:`-19.77`,y:`16.149`,colorInterpolationFilters:`sRGB`,filterUnits:`userSpaceOnUse`,children:[(0,$.jsx)(`feFlood`,{floodOpacity:`0`,result:`BackgroundImageFix`}),(0,$.jsx)(`feBlend`,{in:`SourceGraphic`,in2:`BackgroundImageFix`,result:`shape`}),(0,$.jsx)(`feGaussianBlur`,{result:`effect1_foregroundBlur_2002_17158`,stdDeviation:`7.659`})]}),t[18]=b):b=t[18];let x;t[19]===Symbol.for(`react.memo_cache_sentinel`)?(x=(0,$.jsxs)(`filter`,{id:`filter1_f_2002_17158`,width:`90.34`,height:`51.437`,x:`-54.613`,y:`-7.533`,colorInterpolationFilters:`sRGB`,filterUnits:`userSpaceOnUse`,children:[(0,$.jsx)(`feFlood`,{floodOpacity:`0`,result:`BackgroundImageFix`}),(0,$.jsx)(`feBlend`,{in:`SourceGraphic`,in2:`BackgroundImageFix`,result:`shape`}),(0,$.jsx)(`feGaussianBlur`,{result:`effect1_foregroundBlur_2002_17158`,stdDeviation:`7.659`})]}),t[19]=x):x=t[19];let S;t[20]===Symbol.for(`react.memo_cache_sentinel`)?(S=(0,$.jsxs)(`filter`,{id:`filter2_f_2002_17158`,width:`79.355`,height:`29.4`,x:`-49.64`,y:`2.03`,colorInterpolationFilters:`sRGB`,filterUnits:`userSpaceOnUse`,children:[(0,$.jsx)(`feFlood`,{floodOpacity:`0`,result:`BackgroundImageFix`}),(0,$.jsx)(`feBlend`,{in:`SourceGraphic`,in2:`BackgroundImageFix`,result:`shape`}),(0,$.jsx)(`feGaussianBlur`,{result:`effect1_foregroundBlur_2002_17158`,stdDeviation:`4.596`})]}),t[20]=S):S=t[20];let C;t[21]===Symbol.for(`react.memo_cache_sentinel`)?(C=(0,$.jsxs)(`filter`,{id:`filter3_f_2002_17158`,width:`79.579`,height:`29.4`,x:`-45.045`,y:`20.029`,colorInterpolationFilters:`sRGB`,filterUnits:`userSpaceOnUse`,children:[(0,$.jsx)(`feFlood`,{floodOpacity:`0`,result:`BackgroundImageFix`}),(0,$.jsx)(`feBlend`,{in:`SourceGraphic`,in2:`BackgroundImageFix`,result:`shape`}),(0,$.jsx)(`feGaussianBlur`,{result:`effect1_foregroundBlur_2002_17158`,stdDeviation:`4.596`})]}),t[21]=C):C=t[21];let w;t[22]===Symbol.for(`react.memo_cache_sentinel`)?(w=(0,$.jsxs)(`filter`,{id:`filter4_f_2002_17158`,width:`79.579`,height:`29.4`,x:`-43.513`,y:`21.178`,colorInterpolationFilters:`sRGB`,filterUnits:`userSpaceOnUse`,children:[(0,$.jsx)(`feFlood`,{floodOpacity:`0`,result:`BackgroundImageFix`}),(0,$.jsx)(`feBlend`,{in:`SourceGraphic`,in2:`BackgroundImageFix`,result:`shape`}),(0,$.jsx)(`feGaussianBlur`,{result:`effect1_foregroundBlur_2002_17158`,stdDeviation:`4.596`})]}),t[22]=w):w=t[22];let T;t[23]===Symbol.for(`react.memo_cache_sentinel`)?(T=(0,$.jsxs)(`filter`,{id:`filter5_f_2002_17158`,width:`74.749`,height:`58.852`,x:`15.756`,y:`-17.901`,colorInterpolationFilters:`sRGB`,filterUnits:`userSpaceOnUse`,children:[(0,$.jsx)(`feFlood`,{floodOpacity:`0`,result:`BackgroundImageFix`}),(0,$.jsx)(`feBlend`,{in:`SourceGraphic`,in2:`BackgroundImageFix`,result:`shape`}),(0,$.jsx)(`feGaussianBlur`,{result:`effect1_foregroundBlur_2002_17158`,stdDeviation:`7.659`})]}),t[23]=T):T=t[23];let E;t[24]===Symbol.for(`react.memo_cache_sentinel`)?(E=(0,$.jsxs)(`filter`,{id:`filter6_f_2002_17158`,width:`61.377`,height:`25.362`,x:`23.548`,y:`2.284`,colorInterpolationFilters:`sRGB`,filterUnits:`userSpaceOnUse`,children:[(0,$.jsx)(`feFlood`,{floodOpacity:`0`,result:`BackgroundImageFix`}),(0,$.jsx)(`feBlend`,{in:`SourceGraphic`,in2:`BackgroundImageFix`,result:`shape`}),(0,$.jsx)(`feGaussianBlur`,{result:`effect1_foregroundBlur_2002_17158`,stdDeviation:`4.596`})]}),t[24]=E):E=t[24];let D;t[25]===Symbol.for(`react.memo_cache_sentinel`)?(D=(0,$.jsxs)(`filter`,{id:`filter7_f_2002_17158`,width:`61.377`,height:`25.362`,x:`23.548`,y:`2.284`,colorInterpolationFilters:`sRGB`,filterUnits:`userSpaceOnUse`,children:[(0,$.jsx)(`feFlood`,{floodOpacity:`0`,result:`BackgroundImageFix`}),(0,$.jsx)(`feBlend`,{in:`SourceGraphic`,in2:`BackgroundImageFix`,result:`shape`}),(0,$.jsx)(`feGaussianBlur`,{result:`effect1_foregroundBlur_2002_17158`,stdDeviation:`4.596`})]}),t[25]=D):D=t[25];let O;t[26]===Symbol.for(`react.memo_cache_sentinel`)?(O=(0,$.jsxs)(`filter`,{id:`filter8_f_2002_17158`,width:`56.045`,height:`63.649`,x:`-27.636`,y:`-22.853`,colorInterpolationFilters:`sRGB`,filterUnits:`userSpaceOnUse`,children:[(0,$.jsx)(`feFlood`,{floodOpacity:`0`,result:`BackgroundImageFix`}),(0,$.jsx)(`feBlend`,{in:`SourceGraphic`,in2:`BackgroundImageFix`,result:`shape`}),(0,$.jsx)(`feGaussianBlur`,{result:`effect1_foregroundBlur_2002_17158`,stdDeviation:`4.596`})]}),t[26]=O):O=t[26];let k;t[27]===Symbol.for(`react.memo_cache_sentinel`)?(k=(0,$.jsxs)(`filter`,{id:`filter9_f_2002_17158`,width:`54.814`,height:`64.646`,x:`20.116`,y:`-38.415`,colorInterpolationFilters:`sRGB`,filterUnits:`userSpaceOnUse`,children:[(0,$.jsx)(`feFlood`,{floodOpacity:`0`,result:`BackgroundImageFix`}),(0,$.jsx)(`feBlend`,{in:`SourceGraphic`,in2:`BackgroundImageFix`,result:`shape`}),(0,$.jsx)(`feGaussianBlur`,{result:`effect1_foregroundBlur_2002_17158`,stdDeviation:`4.596`})]}),t[27]=k):k=t[27];let A;t[28]===Symbol.for(`react.memo_cache_sentinel`)?(A=(0,$.jsxs)(`filter`,{id:`filter10_f_2002_17158`,width:`33.541`,height:`35.313`,x:`24.641`,y:`-11.323`,colorInterpolationFilters:`sRGB`,filterUnits:`userSpaceOnUse`,children:[(0,$.jsx)(`feFlood`,{floodOpacity:`0`,result:`BackgroundImageFix`}),(0,$.jsx)(`feBlend`,{in:`SourceGraphic`,in2:`BackgroundImageFix`,result:`shape`}),(0,$.jsx)(`feGaussianBlur`,{result:`effect1_foregroundBlur_2002_17158`,stdDeviation:`4.596`})]}),t[28]=A):A=t[28];let j;t[29]===Symbol.for(`react.memo_cache_sentinel`)?(j=(0,$.jsxs)(`filter`,{id:`filter11_f_2002_17158`,width:`54.814`,height:`64.646`,x:`-29.286`,y:`6.009`,colorInterpolationFilters:`sRGB`,filterUnits:`userSpaceOnUse`,children:[(0,$.jsx)(`feFlood`,{floodOpacity:`0`,result:`BackgroundImageFix`}),(0,$.jsx)(`feBlend`,{in:`SourceGraphic`,in2:`BackgroundImageFix`,result:`shape`}),(0,$.jsx)(`feGaussianBlur`,{result:`effect1_foregroundBlur_2002_17158`,stdDeviation:`4.596`})]}),t[29]=j):j=t[29];let M;t[30]===Symbol.for(`react.memo_cache_sentinel`)?(M=(0,$.jsxs)(`filter`,{id:`filter12_f_2002_17158`,width:`54.814`,height:`64.646`,x:`-29.286`,y:`6.009`,colorInterpolationFilters:`sRGB`,filterUnits:`userSpaceOnUse`,children:[(0,$.jsx)(`feFlood`,{floodOpacity:`0`,result:`BackgroundImageFix`}),(0,$.jsx)(`feBlend`,{in:`SourceGraphic`,in2:`BackgroundImageFix`,result:`shape`}),(0,$.jsx)(`feGaussianBlur`,{result:`effect1_foregroundBlur_2002_17158`,stdDeviation:`4.596`})]}),t[30]=M):M=t[30];let N;t[31]===Symbol.for(`react.memo_cache_sentinel`)?(N=(0,$.jsxs)(`filter`,{id:`filter13_f_2002_17158`,width:`54.814`,height:`64.646`,x:`8.244`,y:`-2.416`,colorInterpolationFilters:`sRGB`,filterUnits:`userSpaceOnUse`,children:[(0,$.jsx)(`feFlood`,{floodOpacity:`0`,result:`BackgroundImageFix`}),(0,$.jsx)(`feBlend`,{in:`SourceGraphic`,in2:`BackgroundImageFix`,result:`shape`}),(0,$.jsx)(`feGaussianBlur`,{result:`effect1_foregroundBlur_2002_17158`,stdDeviation:`4.596`})]}),t[31]=N):N=t[31];let P;t[32]===Symbol.for(`react.memo_cache_sentinel`)?(P=(0,$.jsxs)(`defs`,{children:[b,x,S,C,w,T,E,D,O,k,A,j,M,N,(0,$.jsxs)(`filter`,{id:`filter14_f_2002_17158`,width:`39.409`,height:`43.623`,x:`18.713`,y:`10.588`,colorInterpolationFilters:`sRGB`,filterUnits:`userSpaceOnUse`,children:[(0,$.jsx)(`feFlood`,{floodOpacity:`0`,result:`BackgroundImageFix`}),(0,$.jsx)(`feBlend`,{in:`SourceGraphic`,in2:`BackgroundImageFix`,result:`shape`}),(0,$.jsx)(`feGaussianBlur`,{result:`effect1_foregroundBlur_2002_17158`,stdDeviation:`4.596`})]})]}),t[32]=P):P=t[32];let F;return t[33]===e?F=t[34]:(F=(0,$.jsxs)(`svg`,{...e,fill:`none`,viewBox:`0 0 48 46`,children:[n,i,y,P]}),t[33]=e,t[34]=F),F}var aa=ee(z(ve(Object.assign({"../../../../auth/src/routes/icon-dark.svg":Vi,"../icon-dark.svg":Hi,"../../../../gateway/src/routes/icon-dark.svg":Ui,"../../../../portfolio/src/routes/icon-dark.svg":Wi,"../../../../scope/src/routes/icon-dark.svg":Gi,"../../../../signal/src/routes/icon-dark.svg":Ki})),e=>[_e(e[0],`/`)[4]??``,e[1]])),oa=[{dark:ta,light:ea,pattern:/\bt3code\b/u},{dark:Zi,light:Zi,pattern:/\b(?:node|nodejs)(?:-MainThread)?\b/iu},{dark:qi,light:qi,pattern:/\bbun(?:\.native)?\b/u},{dark:Qi,light:Qi,pattern:/\b(?:postgres|postgresql|postmaster)\b/u},{dark:$i,light:$i,pattern:/\bredis(?:-server)?\b/u},{dark:Yi,light:Yi,pattern:/\b(?:docker|dockerd|containerd)\b/u},{dark:ia,light:ia,pattern:/\b(?:vp|vite)\b/u},{dark:na,light:ra,pattern:/\bturbo\b/u},{dark:Xi,light:Xi,pattern:/\besbuild\b/u},{dark:Ji,light:Ji,pattern:/\bcloudflared\b/u}];function sa(e){let t=(0,Q.c)(14),n=aa[_e(e.name,` `)[0]??``],r;t[0]!==e.name||t[1]!==e.process?(r=be(f(oa,t=>t.pattern.test(`${e.name} ${e.process??``}`))),t[0]=e.name,t[1]=e.process,t[2]=r):r=t[2];let i=r,a;t[3]!==i||t[4]!==n||t[5]!==e.container?(a=function(){return n===void 0?i===void 0?e.container===!0?(0,$.jsx)(sn,{className:`size-full`}):(0,$.jsx)(an,{className:`size-full`}):i.light===i.dark?(0,$.jsx)(i.light,{className:`size-full`}):(0,$.jsxs)($.Fragment,{children:[(0,$.jsx)(i.light,{className:`size-full dark:hidden`}),(0,$.jsx)(i.dark,{className:`hidden size-full dark:block`})]}):(0,$.jsx)(`img`,{src:n,alt:``,className:`pixelated size-full object-contain`})},t[3]=i,t[4]=n,t[5]=e.container,t[6]=a):a=t[6];let o=a,s;t[7]===e.small?s=t[8]:(s=l(e.small===!0,{onFalse:la,onTrue:ca}),t[7]=e.small,t[8]=s);let c=`text-muted-foreground inline-flex shrink-0 items-center justify-center ${s}`,u;t[9]===o?u=t[10]:(u=o(),t[9]=o,t[10]=u);let d;return t[11]!==c||t[12]!==u?(d=(0,$.jsx)(`span`,{className:c,"aria-hidden":`true`,children:u}),t[11]=c,t[12]=u,t[13]=d):d=t[13],d}function ca(){return`size-4`}function la(){return`size-5`}var ua=re(/-MainThread$|\.native$/u,``);function da(e){return{cpu:l(k(e,e=>e.cpu!==void 0),{onFalse:()=>void 0,onTrue:()=>j(e,0,(e,t)=>e+(t.cpu??0))}),memory:l(m(e),{onFalse:()=>void 0,onTrue:()=>j(e,0,(e,t)=>e+t.memory)}),partial:k(e,e=>e.cpu!==void 0)&&k(e,e=>e.cpu===void 0)}}function fa(e){let t=Rt(z(e,e=>e.pid)),n=x(e,e=>`${e.parent}`),r=Qt(),i=Wt();function a(e,t){$t(r,e.pid),Ut(t,e);let i=n[`${e.pid}`]??[];return i.length===1&&i[0]!==void 0&&!en(r,i[0].pid)?a(i[0],t):e}function o(e,t,s){if(en(r,e.pid))return;let c=Wt(),d=a(e,c),f=Kt(c),p=b(f,e=>e.memory,oe(u))[0]??e;Ut(i,{depth:Lt(t,2),main:s,members:f,name:ua(p.name),path:T(z(f,e=>ua(e.name)),` › `)});let m=y(n[`${d.pid}`]??[],e=>!en(r,e.pid)),h=x(y(m,e=>E(n[`${e.pid}`]??[])),e=>ua(e.name));for(let e of pe(h)){let n=e[0];if(n!==void 0){for(let t of e)$t(r,t.pid);Ut(i,{depth:Lt(t+1,2),main:!1,members:e,name:`${ua(n.name)}${l(e.length>1,{onFalse:()=>``,onTrue:()=>` ×${e.length}`})}`,path:ua(n.name)})}}for(let e of m)o(e,t+1,!1)}let s=b(y(e,e=>!Gt(t,e.parent)),e=>e.memory,oe(u));for(let e of s)o(e,1,s.length===1);for(let t of e)o(t,1,!1);return Kt(i)}function pa(e){let t=(0,Q.c)(18),n=(e.memory??0)/1048576,r;t[0]===e.partial?r=t[1]:(r=l(e.partial===!0,{onFalse:Ta,onTrue:wa}),t[0]=e.partial,t[1]=r);let i;t[2]!==e.cpu||t[3]!==e.partial?(i=l(e.cpu===void 0,{onFalse:()=>`${l(e.partial===!0,{onFalse:Ca,onTrue:Sa})}${new Intl.NumberFormat(void 0,{maximumFractionDigits:l((e.cpu??0)<10,{onFalse:xa,onTrue:ba})}).format(e.cpu??0)}%`,onTrue:ya}),t[2]=e.cpu,t[3]=e.partial,t[4]=i):i=t[4];let a;t[5]!==r||t[6]!==i?(a=(0,$.jsx)(`span`,{className:`text-muted-foreground text-right font-mono text-xs whitespace-nowrap tabular-nums`,title:r,children:i}),t[5]=r,t[6]=i,t[7]=a):a=t[7];let o;if(t[8]!==n||t[9]!==e.memory){let r;t[11]===n?r=t[12]:(r=()=>`${new Intl.NumberFormat(void 0,{maximumFractionDigits:l(n>=1e3||n<10,{onFalse:va,onTrue:_a})}).format(l(n>=1e3,{onFalse:()=>n,onTrue:()=>n/1024}))} ${l(n>=1e3,{onFalse:ga,onTrue:ha})}`,t[11]=n,t[12]=r),o=l(e.memory===void 0,{onFalse:r,onTrue:ma}),t[8]=n,t[9]=e.memory,t[10]=o}else o=t[10];let s;t[13]===o?s=t[14]:(s=(0,$.jsx)(`span`,{className:`text-muted-foreground text-right font-mono text-xs whitespace-nowrap tabular-nums`,title:`Resident memory`,children:o}),t[13]=o,t[14]=s);let c;return t[15]!==a||t[16]!==s?(c=(0,$.jsxs)($.Fragment,{children:[a,s]}),t[15]=a,t[16]=s,t[17]=c):c=t[17],c}function ma(){return``}function ha(){return`GiB`}function ga(){return`MiB`}function _a(){return 1}function va(){return 0}function ya(){return``}function ba(){return 1}function xa(){return 0}function Sa(){return`≥`}function Ca(){return``}function wa(){return`CPU · lower bound; some processes have no baseline`}function Ta(){return`CPU · share of machine capacity`}function Ea(e){let t=(0,Q.c)(7),n;if(t[0]!==e.rows||t[1]!==e.showMachine){let r;t[3]===e.showMachine?r=t[4]:(r=(t,n)=>(0,$.jsxs)(`div`,{className:`deploy-process-grid h-7`,"data-show-machine":e.showMachine,children:[(0,$.jsx)(`span`,{className:`bg-border w-px self-stretch justify-self-center`}),(0,$.jsxs)(`span`,{className:`flex min-w-0 items-center gap-2 ${l(t.depth===2,{onFalse:Oa,onTrue:Da})}`,title:t.path,children:[(0,$.jsx)(sa,{name:t.name,small:!0}),(0,$.jsxs)(`span`,{className:`truncate text-xs`,children:[t.name,t.main&&(0,$.jsx)(`span`,{className:`text-muted-foreground ml-1`,children:`main`})]})]}),(0,$.jsx)(pa,{...da(t.members)})]},t.members[0]?.pid??n),t[3]=e.showMachine,t[4]=r),n=z(e.rows,r),t[0]=e.rows,t[1]=e.showMachine,t[2]=n}else n=t[2];let r;return t[5]===n?r=t[6]:(r=(0,$.jsx)(`div`,{className:`pb-2`,children:n}),t[5]=n,t[6]=r),r}function Da(){return`pl-4`}function Oa(){return``}function ka(e){return e.kind===`port`&&e.protocol===`tcp`&&e.port!==void 0&&e.port>=1024&&H(B(/^(?:127\.0\.0\.1|0\.0\.0\.0):/u)(e.address??``))}function Aa(e){return ka(e)&&e.process!==void 0&&e.process!==``&&!ce([5353,5355],e.port??0)&&Se(B(/^(?:ssh|cloudflared|tailscaled|caddy)$/u)(e.process??``))}function ja(e){return fe(`failed`)(e.state)||fe(`unhealthy`)(e.detail)?!0:e.kind===`exposure`?e.owned===!0||e.publicAccess===!0:e.kind===`container`?H(B(/^(?:stale · )?(?:running|restarting|paused)$/u)(e.state))||H(B(/Exited \([1-9]/u)(e.detail)):e.kind===`port`?Aa(e):e.kind===`service`?H(B(/^(?:deslop-|preview-|t3code)/u)(e.name))?!0:e.scope===`user`&&H(B(/(?:^| · )active · /u)(e.state))&&Se(B(/^(?:dbus|dirmngr|gpg-|keyboxd|gcr-|gnome-|secret-service|ssh-agent|openvpn3-)/u)(e.name)):!1}function Ma(e){return c(e,y(e=>Aa(e)&&e.http===!0&&!I(`stale`)(e.state)),N(t(s,e=>`${l(Aa(e),{onFalse:()=>`1`,onTrue:()=>`0`})}:${e.worker}:${e.port}:${e.address}`)),ae((e,t)=>e.worker===t.worker&&e.port===t.port))}function Na(e){return`${e.process??e.name} · :${e.port}`}function Pa(e){return e.kind===`port`?e.process||e.name:e.kind===`container`&&I(`deslop-`)(e.name)?re(/-[0-9]+$/u,``)(he(7)(e.name)):I(`preview-`)(e.name)?a(B(/@deslop\/([a-z0-9-]+)/u)(e.detail),{onNone:()=>`Preview ${re(/\.service$/u,``)(he(8)(e.name))}`,onSome:e=>`${e[1]} preview`}):P(/^deslop-|\.service$/gu,``)(e.name)}function Fa(e){return c(Pa(e),P(/\b([a-f0-9]{7})[a-f0-9]+\b/giu,`$1`),P(/\b(?=[a-z0-9]{10,}\b)(?=[a-z0-9]*[0-9])([a-z0-9]{7})[a-z0-9]+\b/giu,`$1`))}function Ia(e,t){return e.address===`container`||t.address===`container`||e.port!==t.port||e.protocol!==t.protocol?!1:e.address===t.address||H(B(/^(?:127\.0\.0\.1|0\.0\.0\.0):/u)(e.address??``))&&H(B(/^(?:127\.0\.0\.1|0\.0\.0\.0):/u)(t.address))}function La(e){let t=y(e,e=>e.kind===`port`),n=z(y(e,e=>e.kind===`service`||e.kind===`container`),e=>{let n=y(t,t=>t.worker===e.worker&&t.unit===e.name),r=z(e.bindings??[],n=>({...e,...ne(f(t,t=>t.worker===e.worker&&Ia(t,n)),()=>({})),...n,bindings:[],id:`${e.id}:port:${n.address}`,kind:`port`,process:e.name,unit:e.name,url:``}));return{item:e,listeners:[...n,...r]}}),r=y(t,e=>!k(n,t=>t.item.worker===e.worker&&(t.item.kind===`service`&&t.item.name===e.unit||k(t.listeners,t=>Ia(e,{address:t.address??``,port:t.port??0,protocol:t.protocol??`tcp`}))))),i=[...n,...z(r,e=>({item:e,listeners:[e]}))],a=[...y(e,e=>e.kind===`exposure`&&e.owned===!0),...y(e,e=>e.kind===`exposure`&&e.owned!==!0)],o=z(i,e=>({...e,exposures:ae([...z(e.item.links??[],t=>({...e.item,id:`${e.item.id}:url:${t}`,kind:`exposure`,owned:!1,publicAccess:!0,url:t})),...y(a,t=>t.worker===e.item.worker&&k(e.listeners,e=>Ia(e,{address:`127.0.0.1:${t.port}`,port:t.port??0,protocol:`tcp`})))],(e,t)=>e.url===t.url)})),s=z(y(a,e=>!k(o,t=>k(t.exposures,t=>t.id===e.id||t.url===e.url&&t.worker===e.worker))),e=>({exposures:[e],item:e,listeners:[]}));return z(y([...o,...s],e=>ja(e.item)&&(e.item.kind!==`port`||e.item.http===!0&&e.item.process!==``&&e.item.process!==`node`)),e=>{if(e.item.kind===`container`)return e;let t=Ma(e.listeners);return{...e,listeners:y(t,n=>!k(t,e=>e.ui===!0)||n.ui===!0||k(e.exposures,e=>e.port===n.port))}})}function Ra(e){return Ma(g(La(e),e=>z(y(e.listeners,t=>(!k(e.listeners,e=>e.ui===!0)||t.ui===!0)&&E(e.item.links??[])&&!k(e.exposures,e=>e.port===t.port)),t=>({...t,process:Fa(e.item)}))))}function za(e){let t=(0,Q.c)(62),[n,r]=Pe(Qe),[i,a]=(0,Z.useState)(`tailnet`),[o,s]=(0,Z.useState)(``),[c,u]=(0,Z.useState)(``),d;if(t[0]!==e.choices||t[1]!==o){let n;t[3]===o?n=t[4]:(n=e=>e.id===o,t[3]=o,t[4]=n),d=be(f(e.choices,n)),t[0]=e.choices,t[1]=o,t[2]=d}else d=t[2];let p=d,m;if(t[5]!==e.items||t[6]!==p?.worker){let n;t[8]===p?.worker?n=t[9]:(n=e=>e.self===!0&&e.worker===p?.worker,t[8]=p?.worker,t[9]=n),m=ne(C(f(e.items,n),Ka),Ga),t[5]=e.items,t[6]=p?.worker,t[7]=m}else m=t[7];let h=m,g;t[10]===n?g=t[11]:(g=Yt(n),t[10]=n,t[11]=g);let _=g,v;t[12]!==r||t[13]!==c||t[14]!==i||t[15]!==p||t[16]!==h?(v=e=>{e.preventDefault(),p?.port!==void 0&&r({hostname:l(i===`public`,{onFalse:()=>h,onTrue:()=>c}),kind:i,name:l(i===`public`,{onFalse:()=>`tailnet:${p.port}`,onTrue:()=>`public:${c}`}),port:p.port,publicAccess:i===`public`,target:l(I(`remote:`)(p.id),{onFalse:Wa,onTrue:()=>p.worker})})},t[12]=r,t[13]=c,t[14]=i,t[15]=p,t[16]=h,t[17]=v):v=t[17];let y;t[18]===Symbol.for(`react.memo_cache_sentinel`)?(y=(0,$.jsx)(`h1`,{className:`text-sm font-semibold`,children:`Expose a port`}),t[18]=y):y=t[18];let b;t[19]===i?b=t[20]:(b=[i],t[19]=i,t[20]=b);let x,S,w;t[21]===Symbol.for(`react.memo_cache_sentinel`)?(x=e=>{(e[0]===`public`||e[0]===`tailnet`)&&a(e[0])},S=(0,$.jsx)(Ve,{value:`tailnet`,children:`Tailnet`}),w=(0,$.jsx)(Ve,{value:`public`,children:`Public`}),t[21]=x,t[22]=S,t[23]=w):(x=t[21],S=t[22],w=t[23]);let T;t[24]!==_||t[25]!==b?(T=(0,$.jsxs)(`div`,{className:`flex items-center justify-between gap-2`,children:[y,(0,$.jsxs)(Ze,{"aria-label":`Exposure visibility`,value:b,disabled:_,onValueChange:x,children:[S,w]})]}),t[24]=_,t[25]=b,t[26]=T):T=t[26];let E=p??null,D;t[27]===Symbol.for(`react.memo_cache_sentinel`)?(D=e=>s(e?.id??``),t[27]=D):D=t[27];let O;t[28]===Symbol.for(`react.memo_cache_sentinel`)?(O=(0,$.jsx)(Fi,{id:`expose-port`,"aria-label":`Listening port`,placeholder:`Choose an app…`,className:`w-full`,showClear:!0}),t[28]=O):O=t[28];let k;t[29]===Symbol.for(`react.memo_cache_sentinel`)?(k=(0,$.jsxs)(Ii,{className:`w-(--available-width) max-w-sm sm:w-(--anchor-width)`,children:[(0,$.jsx)(zi,{children:`No matching app listeners.`}),(0,$.jsx)(Li,{children:Ha})]}),t[29]=k):k=t[29];let A;t[30]!==_||t[31]!==e.choices||t[32]!==E?(A=(0,$.jsx)(`div`,{className:`min-w-0 flex-1`,children:(0,$.jsxs)(Mi,{items:e.choices,value:E,itemToStringLabel:Na,isItemEqualToValue:Ua,onValueChange:D,disabled:_,children:[O,k]})}),t[30]=_,t[31]=e.choices,t[32]=E,t[33]=A):A=t[33];let j;t[34]!==c||t[35]!==i||t[36]!==_?(j=i===`public`&&(0,$.jsx)(`div`,{className:`min-w-0 flex-1`,children:(0,$.jsx)(wi,{id:`expose-hostname`,"aria-label":`Public hostname`,required:!0,placeholder:`app.example.com`,autoCapitalize:`none`,spellCheck:!1,value:c,disabled:_,onChange:e=>u(ue(e.target.value))})}),t[34]=c,t[35]=i,t[36]=_,t[37]=j):j=t[37];let M=_||p===void 0||i===`tailnet`&&h===``||i===`public`&&c===``,N;t[38]===_?N=t[39]:(N=l(_,{onFalse:Va,onTrue:Ba}),t[38]=_,t[39]=N);let P;t[40]!==M||t[41]!==N?(P=(0,$.jsx)(me,{type:`submit`,size:`icon`,"aria-label":`Expose port`,disabled:M,children:N}),t[40]=M,t[41]=N,t[42]=P):P=t[42];let F;t[43]!==A||t[44]!==j||t[45]!==P?(F=(0,$.jsxs)(`div`,{className:`flex items-center gap-2`,children:[A,j,P]}),t[43]=A,t[44]=j,t[45]=P,t[46]=F):F=t[46];let L;t[47]!==n||t[48]!==o||t[49]!==p?(L=o!==``&&p===void 0&&!qt(n)&&(0,$.jsx)(`p`,{className:`text-warning text-xs`,role:`status`,children:`The selected listener is no longer available. Pick another port.`}),t[47]=n,t[48]=o,t[49]=p,t[50]=L):L=t[50];let ee;t[51]===n?ee=t[52]:(ee=qt(n)&&(0,$.jsx)(`a`,{className:`text-primary text-xs wrap-anywhere`,href:n.value,target:`_blank`,rel:`noreferrer`,children:n.value}),t[51]=n,t[52]=ee);let R;t[53]===n?R=t[54]:(R=(0,$.jsx)(Tn,{result:n}),t[53]=n,t[54]=R);let te;return t[55]!==F||t[56]!==L||t[57]!==ee||t[58]!==R||t[59]!==v||t[60]!==T?(te=(0,$.jsxs)(`form`,{"aria-label":`Expose a port`,className:`flex flex-col gap-2 border-b pb-4`,onSubmit:v,children:[T,F,L,ee,R]}),t[55]=F,t[56]=L,t[57]=ee,t[58]=R,t[59]=v,t[60]=T,t[61]=te):te=t[61],te}function Ba(){return(0,$.jsx)(Bi,{})}function Va(){return(0,$.jsx)(yn,{})}function Ha(e){return(0,$.jsxs)(Ri,{value:e,className:`pr-7`,children:[(0,$.jsx)(ze,{worker:e.worker}),(0,$.jsx)(`span`,{className:`min-w-0 flex-1 truncate`,title:e.unit||e.process,children:e.process}),(0,$.jsxs)(kn,{variant:`secondary`,className:`font-mono`,children:[`:`,e.port]})]},e.id)}function Ua(e,t){return e.id===t.id}function Wa(){return``}function Ga(){return``}function Ka(e){return e.hostname??``}function qa(e){return I(`stale`)(e.state)?`stale`:fe(`unhealthy`)(e.detail)?`unhealthy`:e.kind===`port`?`listening`:e.kind===`exposure`&&e.owned===!0?`configured`:e.kind===`exposure`&&e.publicAccess===!0?`public permission`:re(/^active · /u,``)(ue(e.state))}function Ja(e,t){return H(B(/failed|unhealthy|Exited \([1-9]/u)(e.state+e.detail))?`error`:t===`stale`||t===`public permission`||t===`restarting`?`warning`:H(B(/running|online|listening/u)(t))?`live`:`quiet`}function Ya(e){let t=(0,Q.c)(37),n;if(t[0]!==e.item.id||t[1]!==e.item.name||t[2]!==e.item.worker){let r;t[4]===e.item.worker?r=t[5]:(r=()=>e.item.worker,t[4]=e.item.worker,t[5]=r),n=Je(l(I(`remote:`)(e.item.id),{onFalse:Qa,onTrue:r}))(e.item.name),t[0]=e.item.id,t[1]=e.item.name,t[2]=e.item.worker,t[3]=n}else n=t[3];let[r,i]=Pe(n),a;t[6]===e.item.url?a=t[7]:(a=(0,$.jsx)(`a`,{href:e.item.url,"aria-label":e.item.url,target:`_blank`,rel:`noreferrer`,title:e.item.url}),t[6]=e.item.url,t[7]=a);let o;t[8]===e.item.publicAccess?o=t[9]:(o=l(e.item.publicAccess===!0,{onFalse:Za,onTrue:Xa}),t[8]=e.item.publicAccess,t[9]=o);let s;if(t[10]!==e.item.port||t[11]!==e.item.publicAccess||t[12]!==e.item.url){let n;t[14]===e.item.port?n=t[15]:(n=()=>`:${e.item.port}`,t[14]=e.item.port,t[15]=n);let r;t[16]===e.item.url?r=t[17]:(r=()=>re(/^https:\/\//u,``)(e.item.url),t[16]=e.item.url,t[17]=r),s=l(e.item.publicAccess===!0,{onFalse:n,onTrue:r}),t[10]=e.item.port,t[11]=e.item.publicAccess,t[12]=e.item.url,t[13]=s}else s=t[13];let c;t[18]===s?c=t[19]:(c=(0,$.jsx)(`span`,{className:`truncate`,children:s}),t[18]=s,t[19]=c);let u;t[20]!==a||t[21]!==o||t[22]!==c?(u=(0,$.jsxs)(kn,{variant:`outline`,className:`max-w-full font-mono`,render:a,children:[o,c]}),t[20]=a,t[21]=o,t[22]=c,t[23]=u):u=t[23];let d;t[24]!==i||t[25]!==e.item.name||t[26]!==e.item.owned||t[27]!==r?(d=e.item.owned===!0&&(0,$.jsx)(me,{size:`icon-sm`,variant:`ghost`,disabled:Yt(r),"aria-label":`Remove ${e.item.name} exposure`,onClick:()=>i(),children:(0,$.jsx)(xn,{})}),t[24]=i,t[25]=e.item.name,t[26]=e.item.owned,t[27]=r,t[28]=d):d=t[28];let f;t[29]!==u||t[30]!==d?(f=(0,$.jsxs)(`div`,{className:`flex items-center gap-1`,children:[u,d]}),t[29]=u,t[30]=d,t[31]=f):f=t[31];let p;t[32]===r?p=t[33]:(p=(0,$.jsx)(Tn,{result:r}),t[32]=r,t[33]=p);let m;return t[34]!==f||t[35]!==p?(m=(0,$.jsxs)(`div`,{className:`min-w-0`,children:[f,p]}),t[34]=f,t[35]=p,t[36]=m):m=t[36],m}function Xa(){return(0,$.jsx)(hn,{className:`size-3 shrink-0`,"aria-label":`Public`})}function Za(){return(0,$.jsx)(_n,{className:`size-3 shrink-0`,"aria-label":`Tailnet`})}function Qa(){return``}function $a(e){let t=(0,Q.c)(74),n,i,a,o,s,c,u,d,f,p,m,h,g;if(t[0]!==e.row.item||t[1]!==e.showMachine){i=qa(e.row.item);let r;t[15]===e.row.item.processes?r=t[16]:(r=e.row.item.processes??[],t[15]=e.row.item.processes,t[16]=r);let l=r;f=`deploy-process-grid min-w-0 gap-y-1`,p=e.showMachine;let _;t[17]===e.row.item?_=t[18]:(_=Fa(e.row.item),t[17]=e.row.item,t[18]=_);let v;t[19]===l?v=t[20]:(v=fa(l)[0]?.name,t[19]=l,t[20]=v);let y=e.row.item.kind===`container`;t[21]!==_||t[22]!==v||t[23]!==y?(m=(0,$.jsx)(sa,{name:_,process:v,container:y}),t[21]=_,t[22]=v,t[23]=y,t[24]=m):m=t[24];let b=e.row.item.name,x;t[25]===e.row.item?x=t[26]:(x=Fa(e.row.item),t[25]=e.row.item,t[26]=x),t[27]!==e.row.item.name||t[28]!==x?(h=(0,$.jsx)(`span`,{className:`min-w-0 truncate text-sm font-medium`,title:b,children:x}),t[27]=e.row.item.name,t[28]=x,t[29]=h):h=t[29];let S;t[30]===l?S=t[31]:(S=da(l),t[30]=l,t[31]=S),t[32]===S?g=t[33]:(g=(0,$.jsx)(pa,{...S}),t[32]=S,t[33]=g),t[34]!==e.row.item.worker||t[35]!==e.showMachine?(s=e.showMachine&&(0,$.jsx)(ze,{worker:e.row.item.worker}),t[34]=e.row.item.worker,t[35]=e.showMachine,t[36]=s):s=t[36],o=i,c=i,u=`img`,d=`flex items-center justify-center`,n=q,a=Ja(e.row.item,i),t[0]=e.row.item,t[1]=e.showMachine,t[2]=n,t[3]=i,t[4]=a,t[5]=o,t[6]=s,t[7]=c,t[8]=u,t[9]=d,t[10]=f,t[11]=p,t[12]=m,t[13]=h,t[14]=g}else n=t[2],i=t[3],a=t[4],o=t[5],s=t[6],c=t[7],u=t[8],d=t[9],f=t[10],p=t[11],m=t[12],h=t[13],g=t[14];let _;t[37]!==n||t[38]!==a?(_=(0,$.jsx)(n,{status:a}),t[37]=n,t[38]=a,t[39]=_):_=t[39];let v;t[40]!==o||t[41]!==_||t[42]!==c||t[43]!==u||t[44]!==d?(v=(0,$.jsx)(`span`,{title:o,"aria-label":c,role:u,className:d,children:_}),t[40]=o,t[41]=_,t[42]=c,t[43]=u,t[44]=d,t[45]=v):v=t[45];let b;t[46]===e.expanded?b=t[47]:(b=l(e.expanded===void 0,{onFalse:()=>l(e.expanded===!0,{onFalse:co,onTrue:so}),onTrue:oo}),t[46]=e.expanded,t[47]=b);let x=`text-muted-foreground size-3 ${b}`,S;t[48]===x?S=t[49]:(S=(0,$.jsx)(pn,{className:x}),t[48]=x,t[49]=S);let C;if(t[50]!==e.row.exposures||t[51]!==e.row.listeners){let n;t[53]===e.row.exposures?n=t[54]:(n=t=>t.address!==`container`&&!k(e.row.exposures,e=>e.port===t.port),t[53]=e.row.exposures,t[54]=n),C=z(r(z(y(e.row.listeners,n),ao)),io),t[50]=e.row.exposures,t[51]=e.row.listeners,t[52]=C}else C=t[52];let w;t[55]===e.row.exposures?w=t[56]:(w=z(e.row.exposures,ro),t[55]=e.row.exposures,t[56]=w);let T;t[57]!==C||t[58]!==w?(T=(0,$.jsxs)(`div`,{className:`col-start-2 col-end-5 flex min-w-0 flex-wrap items-center gap-1 empty:hidden`,children:[C,w]}),t[57]=C,t[58]=w,t[59]=T):T=t[59];let E;t[60]!==e.row.item||t[61]!==i?(E=(i===`stale`||i===`unhealthy`||fe(`failed`)(i)||fe(`exited`)(i))&&(0,$.jsx)(`p`,{className:`col-start-2 col-end-5 text-xs wrap-anywhere ${l(Ja(e.row.item,i)===`error`,{onFalse:()=>l(Ja(e.row.item,i)===`warning`,{onFalse:no,onTrue:to}),onTrue:eo})}`,children:e.row.item.detail}),t[60]=e.row.item,t[61]=i,t[62]=E):E=t[62];let D;return t[63]!==s||t[64]!==v||t[65]!==S||t[66]!==T||t[67]!==E||t[68]!==f||t[69]!==p||t[70]!==m||t[71]!==h||t[72]!==g?(D=(0,$.jsxs)(`div`,{className:f,"data-show-machine":p,children:[m,h,g,s,v,S,T,E]}),t[63]=s,t[64]=v,t[65]=S,t[66]=T,t[67]=E,t[68]=f,t[69]=p,t[70]=m,t[71]=h,t[72]=g,t[73]=D):D=t[73],D}function eo(){return`text-destructive`}function to(){return`text-warning`}function no(){return`text-muted-foreground`}function ro(e){return(0,$.jsx)(Ya,{item:e},e.id)}function io(e){return(0,$.jsxs)(kn,{variant:`secondary`,className:`font-mono`,children:[`:`,e]},e)}function ao(e){return e.port}function oo(){return`invisible`}function so(){return`rotate-90`}function co(){return``}function lo(e){let t=(0,Q.c)(21),[n,r]=(0,Z.useState)(!1),i;t[0]===e.row.item.processes?i=t[1]:(i=e.row.item.processes??[],t[0]=e.row.item.processes,t[1]=i);let a;t[2]===i?a=t[3]:(a=fa(i),t[2]=i,t[3]=a);let o=a;if(o.length<2&&!e.processMatch){let n;return t[4]!==e.row||t[5]!==e.showMachine?(n=(0,$.jsx)(`div`,{role:`listitem`,className:`border-b py-2.5`,children:(0,$.jsx)($a,{row:e.row,showMachine:e.showMachine})}),t[4]=e.row,t[5]=e.showMachine,t[6]=n):n=t[6],n}let s=n||e.processMatch,c;t[7]===Symbol.for(`react.memo_cache_sentinel`)?(c=e=>r(e.currentTarget.open),t[7]=c):c=t[7];let l=n||e.processMatch,u;t[8]!==e.row||t[9]!==e.showMachine||t[10]!==l?(u=(0,$.jsx)(`summary`,{className:`cursor-pointer list-none py-2.5 [&::-webkit-details-marker]:hidden`,children:(0,$.jsx)($a,{row:e.row,expanded:l,showMachine:e.showMachine})}),t[8]=e.row,t[9]=e.showMachine,t[10]=l,t[11]=u):u=t[11];let d;t[12]!==n||t[13]!==o||t[14]!==e.processMatch||t[15]!==e.showMachine?(d=(n||e.processMatch)&&(0,$.jsx)(Ea,{rows:o,showMachine:e.showMachine}),t[12]=n,t[13]=o,t[14]=e.processMatch,t[15]=e.showMachine,t[16]=d):d=t[16];let f;return t[17]!==s||t[18]!==u||t[19]!==d?(f=(0,$.jsxs)(`details`,{role:`listitem`,className:`border-b`,open:s,onToggle:c,children:[u,d]}),t[17]=s,t[18]=u,t[19]=d,t[20]=f):f=t[20],f}function uo(){let e=(0,Q.c)(38),t=je(Xe),[n,r]=(0,Z.useState)(``),i;e[0]===Symbol.for(`react.memo_cache_sentinel`)?(i={from:`/(home)`},e[0]=i):i=e[0];let a=Vt(i),o,s,c,l,u,d,f;if(e[1]!==n||e[2]!==t.value.items||e[3]!==t.value.sources||e[4]!==t.value.workers||e[5]!==a.machine){let i;e[13]===a.machine?i=e[14]:(i=e=>a.machine===void 0||a.machine===`all`||e.worker===a.machine,e[13]=a.machine,e[14]=i);let p=y(t.value.items,i),m;e[15]===n?m=e[16]:(m=e=>fe(ue(n))(ue(`${e.item.worker} ${e.item.name} ${T(z(e.item.processes??[],_o),` `)} ${T(z(e.listeners,go),` `)} ${T(z(e.exposures,ho),` `)}`)),e[15]=n,e[16]=m);let h=y(La(p),m);l=`flex min-h-0 w-full max-w-3xl flex-1 flex-col gap-4 self-center`,u=(0,$.jsx)(za,{items:p,choices:Ra(p)},a.machine??`all`);let g;e[17]===Symbol.for(`react.memo_cache_sentinel`)?(g=e=>r(e.target.value),e[17]=g):g=e[17];let _;if(e[18]===n?_=e[19]:(_=(0,$.jsx)(wi,{"aria-label":`Find a service or port`,placeholder:`Filter apps, ports, processes…`,value:n,onChange:g}),e[18]=n,e[19]=_),d=(0,$.jsxs)(`div`,{className:`flex items-center gap-3`,children:[_,(0,$.jsxs)(`span`,{className:`text-muted-foreground shrink-0 text-xs whitespace-nowrap`,children:[h.length,` apps`]})]}),e[20]!==t.value.sources||e[21]!==t.value.workers){let n;e[23]===t.value.workers?n=e[24]:(n=e=>e.error!==``&&!ce(t.value.workers??[],e.name),e[23]=t.value.workers,e[24]=n),f=z(y(t.value.sources,n),mo),e[20]=t.value.sources,e[21]=t.value.workers,e[22]=f}else f=e[22];o=`pb-safe min-h-0 flex-1 overflow-y-auto pr-3`;let v;e[25]!==n||e[26]!==a.machine?(v=e=>(0,$.jsx)(lo,{row:e,showMachine:a.machine===void 0||a.machine===`all`,processMatch:n!==``&&!fe(ue(n))(ue(`${e.item.worker} ${e.item.name} ${T(z(e.listeners,po),` `)} ${T(z(e.exposures,fo),` `)}`))},`${e.item.id}:${n!==``}`),e[25]=n,e[26]=a.machine,e[27]=v):v=e[27],s=(0,$.jsx)(`div`,{role:`list`,"aria-label":`Apps`,children:z(h,v)}),c=Ce(h)&&(0,$.jsx)(`p`,{className:`text-muted-foreground text-sm`,children:`No matching apps.`}),e[1]=n,e[2]=t.value.items,e[3]=t.value.sources,e[4]=t.value.workers,e[5]=a.machine,e[6]=o,e[7]=s,e[8]=c,e[9]=l,e[10]=u,e[11]=d,e[12]=f}else o=e[6],s=e[7],c=e[8],l=e[9],u=e[10],d=e[11],f=e[12];let p;e[28]!==o||e[29]!==s||e[30]!==c?(p=(0,$.jsxs)(`div`,{className:o,children:[s,c]}),e[28]=o,e[29]=s,e[30]=c,e[31]=p):p=e[31];let m;return e[32]!==l||e[33]!==u||e[34]!==d||e[35]!==f||e[36]!==p?(m=(0,$.jsxs)(`div`,{className:l,children:[u,d,f,p]}),e[32]=l,e[33]=u,e[34]=d,e[35]=f,e[36]=p,e[37]=m):m=e[37],m}function fo(e){return e.url}function po(e){return`${e.port}`}function mo(e){return(0,$.jsxs)(`p`,{className:`text-destructive text-xs wrap-anywhere`,role:`alert`,title:e.error,children:[e.name,`: `,e.error]},e.name)}function ho(e){return e.url}function go(e){return`${e.port}`}function _o(e){return e.name}export{uo as component};
@@ -0,0 +1 @@
1
+ import{t as e}from"./-error-R2qPsRo1.js";var t=e;export{t as errorComponent};
@@ -0,0 +1 @@
1
+ import{a as e,kl as t,q as n,r}from"./schema-Bqsq2HKN.js";import{n as i,r as a}from"./utils-Fm6WHGZv.js";var o=n(),s=t();function c(t){let n=(0,o.c)(3);if(i(t.error)){let t;return n[0]===Symbol.for(`react.memo_cache_sentinel`)?(t=(0,s.jsx)(e,{href:a(location.href)}),n[0]=t):t=n[0],t}let c;return n[1]===t.error?c=n[2]:(c=(0,s.jsx)(r,{error:t.error,reset:l}),n[1]=t.error,n[2]=c),c}function l(){return location.reload()}export{c as t};