@fangzsx/component-library 0.0.7 → 0.0.9

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.
@@ -1,207 +1,38 @@
1
- import { jsx as l, jsxs as k } from "react/jsx-runtime";
2
- import { Stack as _ } from "@mui/material";
3
- import { d as G, T as E, g as m, a as y, u as x, s as B, b as H, c as T, e as M, f as V, m as C, P as e, h as L, i as d, j as O, C as W, k as Y, l as J, n as K, o as Q, p as X, B as o2 } from "../../index-DP5i7LPc.js";
4
- import { useTheme as e2, createBox as r2 } from "@mui/system";
5
- import * as g from "react";
6
- function a2() {
7
- const o = e2(G);
8
- return process.env.NODE_ENV !== "production" && g.useDebugValue(o), o[E] || o;
1
+ import { jsx as n, jsxs as y } from "react/jsx-runtime";
2
+ import { c as $ } from "../../createSvgIcon-DAI5icic.js";
3
+ import { Stack as w, Popper as D, ClickAwayListener as G, Paper as U } from "@mui/material";
4
+ import * as C from "react";
5
+ import { useState as Z } from "react";
6
+ import { u as F, C as W, B as b } from "../../index-DGepNtNg.js";
7
+ import { g as V, a as B, u as A, s as x, c as h, b as i, d as H, m as v, j as k, P as r, C as _, l as q, T as Y, B as J, i as K } from "../../ButtonBase-CAtBagnK.js";
8
+ import { P as Q } from "../../Paper-CAUsv8qs.js";
9
+ import { createBox as X } from "@mui/system";
10
+ const o2 = $(/* @__PURE__ */ n("path", {
11
+ d: "M3 18h18v-2H3zm0-5h18v-2H3zm0-7v2h18V6z"
12
+ }), "Menu");
13
+ function r2(o) {
14
+ return V("MuiAppBar", o);
9
15
  }
10
- function t2(o) {
11
- const r = typeof o;
12
- switch (r) {
13
- case "number":
14
- return Number.isNaN(o) ? "NaN" : Number.isFinite(o) ? o !== Math.floor(o) ? "float" : "number" : "Infinity";
15
- case "object":
16
- return o === null ? "null" : o.constructor.name;
17
- default:
18
- return r;
19
- }
20
- }
21
- function z(o, r, a, n) {
22
- const t = o[r];
23
- if (t == null || !Number.isInteger(t)) {
24
- const i = t2(t);
25
- return new RangeError(`Invalid ${n} \`${r}\` of type \`${i}\` supplied to \`${a}\`, expected \`integer\`.`);
26
- }
27
- return null;
28
- }
29
- function P(o, r, a, n) {
30
- return o[r] === void 0 ? null : z(o, r, a, n);
31
- }
32
- function w() {
33
- return null;
34
- }
35
- P.isRequired = z;
36
- w.isRequired = w;
37
- const n2 = process.env.NODE_ENV === "production" ? w : P;
38
- function s2(o) {
39
- return m("MuiPaper", o);
40
- }
41
- y("MuiPaper", ["root", "rounded", "outlined", "elevation", "elevation0", "elevation1", "elevation2", "elevation3", "elevation4", "elevation5", "elevation6", "elevation7", "elevation8", "elevation9", "elevation10", "elevation11", "elevation12", "elevation13", "elevation14", "elevation15", "elevation16", "elevation17", "elevation18", "elevation19", "elevation20", "elevation21", "elevation22", "elevation23", "elevation24"]);
42
- const i2 = (o) => {
16
+ B("MuiAppBar", ["root", "positionFixed", "positionAbsolute", "positionSticky", "positionStatic", "positionRelative", "colorDefault", "colorPrimary", "colorSecondary", "colorInherit", "colorTransparent", "colorError", "colorInfo", "colorSuccess", "colorWarning"]);
17
+ const e2 = (o) => {
43
18
  const {
44
- square: r,
45
- elevation: a,
46
- variant: n,
47
- classes: t
48
- } = o, i = {
49
- root: ["root", n, !r && "rounded", n === "elevation" && `elevation${a}`]
50
- };
51
- return V(i, s2, t);
52
- }, l2 = B("div", {
53
- name: "MuiPaper",
54
- slot: "Root",
55
- overridesResolver: (o, r) => {
56
- const {
57
- ownerState: a
58
- } = o;
59
- return [r.root, r[a.variant], !a.square && r.rounded, a.variant === "elevation" && r[`elevation${a.elevation}`]];
60
- }
61
- })(C(({
62
- theme: o
63
- }) => ({
64
- backgroundColor: (o.vars || o).palette.background.paper,
65
- color: (o.vars || o).palette.text.primary,
66
- transition: o.transitions.create("box-shadow"),
67
- variants: [{
68
- props: ({
69
- ownerState: r
70
- }) => !r.square,
71
- style: {
72
- borderRadius: o.shape.borderRadius
73
- }
74
- }, {
75
- props: {
76
- variant: "outlined"
77
- },
78
- style: {
79
- border: `1px solid ${(o.vars || o).palette.divider}`
80
- }
81
- }, {
82
- props: {
83
- variant: "elevation"
84
- },
85
- style: {
86
- boxShadow: "var(--Paper-shadow)",
87
- backgroundImage: "var(--Paper-overlay)"
88
- }
89
- }]
90
- }))), j = /* @__PURE__ */ g.forwardRef(function(r, a) {
91
- const n = x({
92
- props: r,
93
- name: "MuiPaper"
94
- }), t = a2(), {
95
- className: i,
96
- component: c = "div",
97
- elevation: s = 1,
98
- square: u = !1,
99
- variant: p = "elevation",
100
- ...f
101
- } = n, b = {
102
- ...n,
103
- component: c,
104
- elevation: s,
105
- square: u,
106
- variant: p
107
- }, v = i2(b);
108
- return process.env.NODE_ENV !== "production" && t.shadows[s] === void 0 && console.error([`MUI: The elevation provided <Paper elevation={${s}}> is not available in the theme.`, `Please make sure that \`theme.shadows[${s}]\` is defined.`].join(`
109
- `)), /* @__PURE__ */ l(l2, {
110
- as: c,
111
- ownerState: b,
112
- className: T(v.root, i),
113
- ref: a,
114
- ...f,
115
- style: {
116
- ...p === "elevation" && {
117
- "--Paper-shadow": (t.vars || t).shadows[s],
118
- ...t.vars && {
119
- "--Paper-overlay": t.vars.overlays?.[s]
120
- },
121
- ...!t.vars && t.palette.mode === "dark" && {
122
- "--Paper-overlay": `linear-gradient(${H("#fff", M(s))}, ${H("#fff", M(s))})`
123
- }
124
- },
125
- ...f.style
126
- }
127
- });
128
- });
129
- process.env.NODE_ENV !== "production" && (j.propTypes = {
130
- // ┌────────────────────────────── Warning ──────────────────────────────┐
131
- // │ These PropTypes are generated from the TypeScript type definitions. │
132
- // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
133
- // └─────────────────────────────────────────────────────────────────────┘
134
- /**
135
- * The content of the component.
136
- */
137
- children: e.node,
138
- /**
139
- * Override or extend the styles applied to the component.
140
- */
141
- classes: e.object,
142
- /**
143
- * @ignore
144
- */
145
- className: e.string,
146
- /**
147
- * The component used for the root node.
148
- * Either a string to use a HTML element or a component.
149
- */
150
- component: e.elementType,
151
- /**
152
- * Shadow depth, corresponds to `dp` in the spec.
153
- * It accepts values between 0 and 24 inclusive.
154
- * @default 1
155
- */
156
- elevation: L(n2, (o) => {
157
- const {
158
- elevation: r,
159
- variant: a
160
- } = o;
161
- return r > 0 && a === "outlined" ? new Error(`MUI: Combining \`elevation={${r}}\` with \`variant="${a}"\` has no effect. Either use \`elevation={0}\` or use a different \`variant\`.`) : null;
162
- }),
163
- /**
164
- * If `true`, rounded corners are disabled.
165
- * @default false
166
- */
167
- square: e.bool,
168
- /**
169
- * @ignore
170
- */
171
- style: e.object,
172
- /**
173
- * The system prop that allows defining system overrides as well as additional CSS styles.
174
- */
175
- sx: e.oneOfType([e.arrayOf(e.oneOfType([e.func, e.object, e.bool])), e.func, e.object]),
176
- /**
177
- * The variant to use.
178
- * @default 'elevation'
179
- */
180
- variant: e.oneOfType([e.oneOf(["elevation", "outlined"]), e.string])
181
- });
182
- function p2(o) {
183
- return m("MuiAppBar", o);
184
- }
185
- y("MuiAppBar", ["root", "positionFixed", "positionAbsolute", "positionSticky", "positionStatic", "positionRelative", "colorDefault", "colorPrimary", "colorSecondary", "colorInherit", "colorTransparent", "colorError", "colorInfo", "colorSuccess", "colorWarning"]);
186
- const c2 = (o) => {
187
- const {
188
- color: r,
19
+ color: e,
189
20
  position: a,
190
- classes: n
191
- } = o, t = {
192
- root: ["root", `color${d(r)}`, `position${d(a)}`]
21
+ classes: t
22
+ } = o, s = {
23
+ root: ["root", `color${i(e)}`, `position${i(a)}`]
193
24
  };
194
- return V(t, p2, n);
195
- }, S = (o, r) => o ? `${o?.replace(")", "")}, ${r})` : r, d2 = B(j, {
25
+ return H(s, r2, t);
26
+ }, L = (o, e) => o ? `${o?.replace(")", "")}, ${e})` : e, a2 = x(Q, {
196
27
  name: "MuiAppBar",
197
28
  slot: "Root",
198
- overridesResolver: (o, r) => {
29
+ overridesResolver: (o, e) => {
199
30
  const {
200
31
  ownerState: a
201
32
  } = o;
202
- return [r.root, r[`position${d(a.position)}`], r[`color${d(a.color)}`]];
33
+ return [e.root, e[`position${i(a.position)}`], e[`color${i(a.color)}`]];
203
34
  }
204
- })(C(({
35
+ })(v(({
205
36
  theme: o
206
37
  }) => ({
207
38
  display: "flex",
@@ -281,28 +112,28 @@ const c2 = (o) => {
281
112
  "--AppBar-color": o.vars ? o.vars.palette.text.primary : o.palette.getContrastText(o.palette.grey[900])
282
113
  })
283
114
  }
284
- }, ...Object.entries(o.palette).filter(O(["contrastText"])).map(([r]) => ({
115
+ }, ...Object.entries(o.palette).filter(k(["contrastText"])).map(([e]) => ({
285
116
  props: {
286
- color: r
117
+ color: e
287
118
  },
288
119
  style: {
289
- "--AppBar-background": (o.vars ?? o).palette[r].main,
290
- "--AppBar-color": (o.vars ?? o).palette[r].contrastText
120
+ "--AppBar-background": (o.vars ?? o).palette[e].main,
121
+ "--AppBar-color": (o.vars ?? o).palette[e].contrastText
291
122
  }
292
123
  })), {
293
- props: (r) => r.enableColorOnDark === !0 && !["inherit", "transparent"].includes(r.color),
124
+ props: (e) => e.enableColorOnDark === !0 && !["inherit", "transparent"].includes(e.color),
294
125
  style: {
295
126
  backgroundColor: "var(--AppBar-background)",
296
127
  color: "var(--AppBar-color)"
297
128
  }
298
129
  }, {
299
- props: (r) => r.enableColorOnDark === !1 && !["inherit", "transparent"].includes(r.color),
130
+ props: (e) => e.enableColorOnDark === !1 && !["inherit", "transparent"].includes(e.color),
300
131
  style: {
301
132
  backgroundColor: "var(--AppBar-background)",
302
133
  color: "var(--AppBar-color)",
303
134
  ...o.applyStyles("dark", {
304
- backgroundColor: o.vars ? S(o.vars.palette.AppBar.darkBg, "var(--AppBar-background)") : null,
305
- color: o.vars ? S(o.vars.palette.AppBar.darkColor, "var(--AppBar-color)") : null
135
+ backgroundColor: o.vars ? L(o.vars.palette.AppBar.darkBg, "var(--AppBar-background)") : null,
136
+ color: o.vars ? L(o.vars.palette.AppBar.darkColor, "var(--AppBar-color)") : null
306
137
  })
307
138
  }
308
139
  }, {
@@ -319,33 +150,33 @@ const c2 = (o) => {
319
150
  })
320
151
  }
321
152
  }]
322
- }))), D = /* @__PURE__ */ g.forwardRef(function(r, a) {
323
- const n = x({
324
- props: r,
153
+ }))), R = /* @__PURE__ */ C.forwardRef(function(e, a) {
154
+ const t = A({
155
+ props: e,
325
156
  name: "MuiAppBar"
326
157
  }), {
327
- className: t,
328
- color: i = "primary",
158
+ className: s,
159
+ color: p = "primary",
329
160
  enableColorOnDark: c = !1,
330
- position: s = "fixed",
161
+ position: l = "fixed",
331
162
  ...u
332
- } = n, p = {
333
- ...n,
334
- color: i,
335
- position: s,
163
+ } = t, d = {
164
+ ...t,
165
+ color: p,
166
+ position: l,
336
167
  enableColorOnDark: c
337
- }, f = c2(p);
338
- return /* @__PURE__ */ l(d2, {
168
+ }, g = e2(d);
169
+ return /* @__PURE__ */ n(a2, {
339
170
  square: !0,
340
171
  component: "header",
341
- ownerState: p,
172
+ ownerState: d,
342
173
  elevation: 4,
343
- className: T(f.root, t, s === "fixed" && "mui-fixed"),
174
+ className: h(g.root, s, l === "fixed" && "mui-fixed"),
344
175
  ref: a,
345
176
  ...u
346
177
  });
347
178
  });
348
- process.env.NODE_ENV !== "production" && (D.propTypes = {
179
+ process.env.NODE_ENV !== "production" && (R.propTypes = {
349
180
  // ┌────────────────────────────── Warning ──────────────────────────────┐
350
181
  // │ These PropTypes are generated from the TypeScript type definitions. │
351
182
  // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
@@ -353,57 +184,57 @@ process.env.NODE_ENV !== "production" && (D.propTypes = {
353
184
  /**
354
185
  * The content of the component.
355
186
  */
356
- children: e.node,
187
+ children: r.node,
357
188
  /**
358
189
  * Override or extend the styles applied to the component.
359
190
  */
360
- classes: e.object,
191
+ classes: r.object,
361
192
  /**
362
193
  * @ignore
363
194
  */
364
- className: e.string,
195
+ className: r.string,
365
196
  /**
366
197
  * The color of the component.
367
198
  * It supports both default and custom theme colors, which can be added as shown in the
368
199
  * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
369
200
  * @default 'primary'
370
201
  */
371
- color: e.oneOfType([e.oneOf(["default", "inherit", "primary", "secondary", "transparent", "error", "info", "success", "warning"]), e.string]),
202
+ color: r.oneOfType([r.oneOf(["default", "inherit", "primary", "secondary", "transparent", "error", "info", "success", "warning"]), r.string]),
372
203
  /**
373
204
  * Shadow depth, corresponds to `dp` in the spec.
374
205
  * It accepts values between 0 and 24 inclusive.
375
206
  * @default 4
376
207
  */
377
- elevation: e.number,
208
+ elevation: r.number,
378
209
  /**
379
210
  * If true, the `color` prop is applied in dark mode.
380
211
  * @default false
381
212
  */
382
- enableColorOnDark: e.bool,
213
+ enableColorOnDark: r.bool,
383
214
  /**
384
215
  * The positioning type. The behavior of the different options is described
385
216
  * [in the MDN web docs](https://developer.mozilla.org/en-US/docs/Web/CSS/Reference/Properties/position).
386
217
  * Note: `sticky` is not universally supported and will fall back to `static` when unavailable.
387
218
  * @default 'fixed'
388
219
  */
389
- position: e.oneOf(["absolute", "fixed", "relative", "static", "sticky"]),
220
+ position: r.oneOf(["absolute", "fixed", "relative", "static", "sticky"]),
390
221
  /**
391
222
  * If `false`, rounded corners are enabled.
392
223
  * @default true
393
224
  */
394
- square: e.bool,
225
+ square: r.bool,
395
226
  /**
396
227
  * The system prop that allows defining system overrides as well as additional CSS styles.
397
228
  */
398
- sx: e.oneOfType([e.arrayOf(e.oneOfType([e.func, e.object, e.bool])), e.func, e.object])
229
+ sx: r.oneOfType([r.arrayOf(r.oneOfType([r.func, r.object, r.bool])), r.func, r.object])
399
230
  });
400
- const u2 = y("MuiBox", ["root"]), f2 = Y(), A = r2({
401
- themeId: E,
402
- defaultTheme: f2,
403
- defaultClassName: u2.root,
404
- generateClassName: W.generate
231
+ const t2 = B("MuiBox", ["root"]), n2 = q(), N = X({
232
+ themeId: Y,
233
+ defaultTheme: n2,
234
+ defaultClassName: t2.root,
235
+ generateClassName: _.generate
405
236
  });
406
- process.env.NODE_ENV !== "production" && (A.propTypes = {
237
+ process.env.NODE_ENV !== "production" && (N.propTypes = {
407
238
  // ┌────────────────────────────── Warning ──────────────────────────────┐
408
239
  // │ These PropTypes are generated from the TypeScript type definitions. │
409
240
  // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
@@ -411,44 +242,44 @@ process.env.NODE_ENV !== "production" && (A.propTypes = {
411
242
  /**
412
243
  * @ignore
413
244
  */
414
- children: e.node,
245
+ children: r.node,
415
246
  /**
416
247
  * The component used for the root node.
417
248
  * Either a string to use a HTML element or a component.
418
249
  */
419
- component: e.elementType,
250
+ component: r.elementType,
420
251
  /**
421
252
  * The system prop that allows defining system overrides as well as additional CSS styles.
422
253
  */
423
- sx: e.oneOfType([e.arrayOf(e.oneOfType([e.func, e.object, e.bool])), e.func, e.object])
254
+ sx: r.oneOfType([r.arrayOf(r.oneOfType([r.func, r.object, r.bool])), r.func, r.object])
424
255
  });
425
- function v2(o) {
426
- return m("MuiIconButton", o);
256
+ function s2(o) {
257
+ return V("MuiIconButton", o);
427
258
  }
428
- const $ = y("MuiIconButton", ["root", "disabled", "colorInherit", "colorPrimary", "colorSecondary", "colorError", "colorInfo", "colorSuccess", "colorWarning", "edgeStart", "edgeEnd", "sizeSmall", "sizeMedium", "sizeLarge", "loading", "loadingIndicator", "loadingWrapper"]), g2 = (o) => {
259
+ const M = B("MuiIconButton", ["root", "disabled", "colorInherit", "colorPrimary", "colorSecondary", "colorError", "colorInfo", "colorSuccess", "colorWarning", "edgeStart", "edgeEnd", "sizeSmall", "sizeMedium", "sizeLarge", "loading", "loadingIndicator", "loadingWrapper"]), l2 = (o) => {
429
260
  const {
430
- classes: r,
261
+ classes: e,
431
262
  disabled: a,
432
- color: n,
433
- edge: t,
434
- size: i,
263
+ color: t,
264
+ edge: s,
265
+ size: p,
435
266
  loading: c
436
- } = o, s = {
437
- root: ["root", c && "loading", a && "disabled", n !== "default" && `color${d(n)}`, t && `edge${d(t)}`, `size${d(i)}`],
267
+ } = o, l = {
268
+ root: ["root", c && "loading", a && "disabled", t !== "default" && `color${i(t)}`, s && `edge${i(s)}`, `size${i(p)}`],
438
269
  loadingIndicator: ["loadingIndicator"],
439
270
  loadingWrapper: ["loadingWrapper"]
440
271
  };
441
- return V(s, v2, r);
442
- }, b2 = B(K, {
272
+ return H(l, s2, e);
273
+ }, i2 = x(J, {
443
274
  name: "MuiIconButton",
444
275
  slot: "Root",
445
- overridesResolver: (o, r) => {
276
+ overridesResolver: (o, e) => {
446
277
  const {
447
278
  ownerState: a
448
279
  } = o;
449
- return [r.root, a.loading && r.loading, a.color !== "default" && r[`color${d(a.color)}`], a.edge && r[`edge${d(a.edge)}`], r[`size${d(a.size)}`]];
280
+ return [e.root, a.loading && e.loading, a.color !== "default" && e[`color${i(a.color)}`], a.edge && e[`edge${i(a.edge)}`], e[`size${i(a.size)}`]];
450
281
  }
451
- })(C(({
282
+ })(v(({
452
283
  theme: o
453
284
  }) => ({
454
285
  textAlign: "center",
@@ -461,7 +292,7 @@ const $ = y("MuiIconButton", ["root", "disabled", "colorInherit", "colorPrimary"
461
292
  duration: o.transitions.duration.shortest
462
293
  }),
463
294
  variants: [{
464
- props: (r) => !r.disableRipple,
295
+ props: (e) => !e.disableRipple,
465
296
  style: {
466
297
  "--IconButton-hoverBg": o.alpha((o.vars || o).palette.action.active, (o.vars || o).palette.action.hoverOpacity),
467
298
  "&:hover": {
@@ -503,7 +334,7 @@ const $ = y("MuiIconButton", ["root", "disabled", "colorInherit", "colorPrimary"
503
334
  marginRight: -3
504
335
  }
505
336
  }]
506
- })), C(({
337
+ })), v(({
507
338
  theme: o
508
339
  }) => ({
509
340
  variants: [{
@@ -513,19 +344,19 @@ const $ = y("MuiIconButton", ["root", "disabled", "colorInherit", "colorPrimary"
513
344
  style: {
514
345
  color: "inherit"
515
346
  }
516
- }, ...Object.entries(o.palette).filter(O()).map(([r]) => ({
347
+ }, ...Object.entries(o.palette).filter(k()).map(([e]) => ({
517
348
  props: {
518
- color: r
349
+ color: e
519
350
  },
520
351
  style: {
521
- color: (o.vars || o).palette[r].main
352
+ color: (o.vars || o).palette[e].main
522
353
  }
523
- })), ...Object.entries(o.palette).filter(O()).map(([r]) => ({
354
+ })), ...Object.entries(o.palette).filter(k()).map(([e]) => ({
524
355
  props: {
525
- color: r
356
+ color: e
526
357
  },
527
358
  style: {
528
- "--IconButton-hoverBg": o.alpha((o.vars || o).palette[r].main, (o.vars || o).palette.action.hoverOpacity)
359
+ "--IconButton-hoverBg": o.alpha((o.vars || o).palette[e].main, (o.vars || o).palette.action.hoverOpacity)
529
360
  }
530
361
  })), {
531
362
  props: {
@@ -544,14 +375,14 @@ const $ = y("MuiIconButton", ["root", "disabled", "colorInherit", "colorPrimary"
544
375
  fontSize: o.typography.pxToRem(28)
545
376
  }
546
377
  }],
547
- [`&.${$.disabled}`]: {
378
+ [`&.${M.disabled}`]: {
548
379
  backgroundColor: "transparent",
549
380
  color: (o.vars || o).palette.action.disabled
550
381
  },
551
- [`&.${$.loading}`]: {
382
+ [`&.${M.loading}`]: {
552
383
  color: "transparent"
553
384
  }
554
- }))), C2 = B("span", {
385
+ }))), p2 = x("span", {
555
386
  name: "MuiIconButton",
556
387
  slot: "LoadingIndicator"
557
388
  })(({
@@ -572,60 +403,60 @@ const $ = y("MuiIconButton", ["root", "disabled", "colorInherit", "colorPrimary"
572
403
  display: "flex"
573
404
  }
574
405
  }]
575
- })), U = /* @__PURE__ */ g.forwardRef(function(r, a) {
576
- const n = x({
577
- props: r,
406
+ })), T = /* @__PURE__ */ C.forwardRef(function(e, a) {
407
+ const t = A({
408
+ props: e,
578
409
  name: "MuiIconButton"
579
410
  }), {
580
- edge: t = !1,
581
- children: i,
411
+ edge: s = !1,
412
+ children: p,
582
413
  className: c,
583
- color: s = "default",
414
+ color: l = "default",
584
415
  disabled: u = !1,
585
- disableFocusRipple: p = !1,
586
- size: f = "medium",
587
- id: b,
588
- loading: v = null,
589
- loadingIndicator: Z,
590
- ...F
591
- } = n, N = J(b), R = Z ?? /* @__PURE__ */ l(Q, {
592
- "aria-labelledby": N,
416
+ disableFocusRipple: d = !1,
417
+ size: g = "medium",
418
+ id: O,
419
+ loading: f = null,
420
+ loadingIndicator: j,
421
+ ...P
422
+ } = t, z = F(O), S = j ?? /* @__PURE__ */ n(W, {
423
+ "aria-labelledby": z,
593
424
  color: "inherit",
594
425
  size: 16
595
- }), I = {
596
- ...n,
597
- edge: t,
598
- color: s,
426
+ }), m = {
427
+ ...t,
428
+ edge: s,
429
+ color: l,
599
430
  disabled: u,
600
- disableFocusRipple: p,
601
- loading: v,
602
- loadingIndicator: R,
603
- size: f
604
- }, h = g2(I);
605
- return /* @__PURE__ */ k(b2, {
606
- id: v ? N : b,
607
- className: T(h.root, c),
431
+ disableFocusRipple: d,
432
+ loading: f,
433
+ loadingIndicator: S,
434
+ size: g
435
+ }, I = l2(m);
436
+ return /* @__PURE__ */ y(i2, {
437
+ id: f ? z : O,
438
+ className: h(I.root, c),
608
439
  centerRipple: !0,
609
- focusRipple: !p,
610
- disabled: u || v,
440
+ focusRipple: !d,
441
+ disabled: u || f,
611
442
  ref: a,
612
- ...F,
613
- ownerState: I,
614
- children: [typeof v == "boolean" && // use plain HTML span to minimize the runtime overhead
615
- /* @__PURE__ */ l("span", {
616
- className: h.loadingWrapper,
443
+ ...P,
444
+ ownerState: m,
445
+ children: [typeof f == "boolean" && // use plain HTML span to minimize the runtime overhead
446
+ /* @__PURE__ */ n("span", {
447
+ className: I.loadingWrapper,
617
448
  style: {
618
449
  display: "contents"
619
450
  },
620
- children: /* @__PURE__ */ l(C2, {
621
- className: h.loadingIndicator,
622
- ownerState: I,
623
- children: v && R
451
+ children: /* @__PURE__ */ n(p2, {
452
+ className: I.loadingIndicator,
453
+ ownerState: m,
454
+ children: f && S
624
455
  })
625
- }), i]
456
+ }), p]
626
457
  });
627
458
  });
628
- process.env.NODE_ENV !== "production" && (U.propTypes = {
459
+ process.env.NODE_ENV !== "production" && (T.propTypes = {
629
460
  // ┌────────────────────────────── Warning ──────────────────────────────┐
630
461
  // │ These PropTypes are generated from the TypeScript type definitions. │
631
462
  // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
@@ -633,33 +464,33 @@ process.env.NODE_ENV !== "production" && (U.propTypes = {
633
464
  /**
634
465
  * The icon to display.
635
466
  */
636
- children: L(e.node, (o) => g.Children.toArray(o.children).some((a) => /* @__PURE__ */ g.isValidElement(a) && a.props.onClick) ? new Error(["MUI: You are providing an onClick event listener to a child of a button element.", "Prefer applying it to the IconButton directly.", "This guarantees that the whole <button> will be responsive to click events."].join(`
467
+ children: K(r.node, (o) => C.Children.toArray(o.children).some((a) => /* @__PURE__ */ C.isValidElement(a) && a.props.onClick) ? new Error(["MUI: You are providing an onClick event listener to a child of a button element.", "Prefer applying it to the IconButton directly.", "This guarantees that the whole <button> will be responsive to click events."].join(`
637
468
  `)) : null),
638
469
  /**
639
470
  * Override or extend the styles applied to the component.
640
471
  */
641
- classes: e.object,
472
+ classes: r.object,
642
473
  /**
643
474
  * @ignore
644
475
  */
645
- className: e.string,
476
+ className: r.string,
646
477
  /**
647
478
  * The color of the component.
648
479
  * It supports both default and custom theme colors, which can be added as shown in the
649
480
  * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
650
481
  * @default 'default'
651
482
  */
652
- color: e.oneOfType([e.oneOf(["inherit", "default", "primary", "secondary", "error", "info", "success", "warning"]), e.string]),
483
+ color: r.oneOfType([r.oneOf(["inherit", "default", "primary", "secondary", "error", "info", "success", "warning"]), r.string]),
653
484
  /**
654
485
  * If `true`, the component is disabled.
655
486
  * @default false
656
487
  */
657
- disabled: e.bool,
488
+ disabled: r.bool,
658
489
  /**
659
490
  * If `true`, the keyboard focus ripple is disabled.
660
491
  * @default false
661
492
  */
662
- disableFocusRipple: e.bool,
493
+ disableFocusRipple: r.bool,
663
494
  /**
664
495
  * If `true`, the ripple effect is disabled.
665
496
  *
@@ -667,7 +498,7 @@ process.env.NODE_ENV !== "production" && (U.propTypes = {
667
498
  * to highlight the element by applying separate styles with the `.Mui-focusVisible` class.
668
499
  * @default false
669
500
  */
670
- disableRipple: e.bool,
501
+ disableRipple: r.bool,
671
502
  /**
672
503
  * If given, uses a negative margin to counteract the padding on one
673
504
  * side (this is often helpful for aligning the left or right
@@ -675,58 +506,58 @@ process.env.NODE_ENV !== "production" && (U.propTypes = {
675
506
  * size and shape).
676
507
  * @default false
677
508
  */
678
- edge: e.oneOf(["end", "start", !1]),
509
+ edge: r.oneOf(["end", "start", !1]),
679
510
  /**
680
511
  * @ignore
681
512
  */
682
- id: e.string,
513
+ id: r.string,
683
514
  /**
684
515
  * If `true`, the loading indicator is visible and the button is disabled.
685
516
  * If `true | false`, the loading wrapper is always rendered before the children to prevent [Google Translation Crash](https://github.com/mui/material-ui/issues/27853).
686
517
  * @default null
687
518
  */
688
- loading: e.bool,
519
+ loading: r.bool,
689
520
  /**
690
521
  * Element placed before the children if the button is in loading state.
691
522
  * The node should contain an element with `role="progressbar"` with an accessible name.
692
523
  * By default, it renders a `CircularProgress` that is labeled by the button itself.
693
524
  * @default <CircularProgress color="inherit" size={16} />
694
525
  */
695
- loadingIndicator: e.node,
526
+ loadingIndicator: r.node,
696
527
  /**
697
528
  * The size of the component.
698
529
  * `small` is equivalent to the dense button styling.
699
530
  * @default 'medium'
700
531
  */
701
- size: e.oneOfType([e.oneOf(["small", "medium", "large"]), e.string]),
532
+ size: r.oneOfType([r.oneOf(["small", "medium", "large"]), r.string]),
702
533
  /**
703
534
  * The system prop that allows defining system overrides as well as additional CSS styles.
704
535
  */
705
- sx: e.oneOfType([e.arrayOf(e.oneOfType([e.func, e.object, e.bool])), e.func, e.object])
536
+ sx: r.oneOfType([r.arrayOf(r.oneOfType([r.func, r.object, r.bool])), r.func, r.object])
706
537
  });
707
- function y2(o) {
708
- return m("MuiToolbar", o);
538
+ function c2(o) {
539
+ return V("MuiToolbar", o);
709
540
  }
710
- y("MuiToolbar", ["root", "gutters", "regular", "dense"]);
711
- const B2 = (o) => {
541
+ B("MuiToolbar", ["root", "gutters", "regular", "dense"]);
542
+ const d2 = (o) => {
712
543
  const {
713
- classes: r,
544
+ classes: e,
714
545
  disableGutters: a,
715
- variant: n
546
+ variant: t
716
547
  } = o;
717
- return V({
718
- root: ["root", !a && "gutters", n]
719
- }, y2, r);
720
- }, m2 = B("div", {
548
+ return H({
549
+ root: ["root", !a && "gutters", t]
550
+ }, c2, e);
551
+ }, u2 = x("div", {
721
552
  name: "MuiToolbar",
722
553
  slot: "Root",
723
- overridesResolver: (o, r) => {
554
+ overridesResolver: (o, e) => {
724
555
  const {
725
556
  ownerState: a
726
557
  } = o;
727
- return [r.root, !a.disableGutters && r.gutters, r[a.variant]];
558
+ return [e.root, !a.disableGutters && e.gutters, e[a.variant]];
728
559
  }
729
- })(C(({
560
+ })(v(({
730
561
  theme: o
731
562
  }) => ({
732
563
  position: "relative",
@@ -734,8 +565,8 @@ const B2 = (o) => {
734
565
  alignItems: "center",
735
566
  variants: [{
736
567
  props: ({
737
- ownerState: r
738
- }) => !r.disableGutters,
568
+ ownerState: e
569
+ }) => !e.disableGutters,
739
570
  style: {
740
571
  paddingLeft: o.spacing(2),
741
572
  paddingRight: o.spacing(2),
@@ -757,31 +588,31 @@ const B2 = (o) => {
757
588
  },
758
589
  style: o.mixins.toolbar
759
590
  }]
760
- }))), q = /* @__PURE__ */ g.forwardRef(function(r, a) {
761
- const n = x({
762
- props: r,
591
+ }))), E = /* @__PURE__ */ C.forwardRef(function(e, a) {
592
+ const t = A({
593
+ props: e,
763
594
  name: "MuiToolbar"
764
595
  }), {
765
- className: t,
766
- component: i = "div",
596
+ className: s,
597
+ component: p = "div",
767
598
  disableGutters: c = !1,
768
- variant: s = "regular",
599
+ variant: l = "regular",
769
600
  ...u
770
- } = n, p = {
771
- ...n,
772
- component: i,
601
+ } = t, d = {
602
+ ...t,
603
+ component: p,
773
604
  disableGutters: c,
774
- variant: s
775
- }, f = B2(p);
776
- return /* @__PURE__ */ l(m2, {
777
- as: i,
778
- className: T(f.root, t),
605
+ variant: l
606
+ }, g = d2(d);
607
+ return /* @__PURE__ */ n(u2, {
608
+ as: p,
609
+ className: h(g.root, s),
779
610
  ref: a,
780
- ownerState: p,
611
+ ownerState: d,
781
612
  ...u
782
613
  });
783
614
  });
784
- process.env.NODE_ENV !== "production" && (q.propTypes = {
615
+ process.env.NODE_ENV !== "production" && (E.propTypes = {
785
616
  // ┌────────────────────────────── Warning ──────────────────────────────┐
786
617
  // │ These PropTypes are generated from the TypeScript type definitions. │
787
618
  // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
@@ -790,61 +621,100 @@ process.env.NODE_ENV !== "production" && (q.propTypes = {
790
621
  * The Toolbar children, usually a mixture of `IconButton`, `Button` and `Typography`.
791
622
  * The Toolbar is a flex container, allowing flex item properties to be used to lay out the children.
792
623
  */
793
- children: e.node,
624
+ children: r.node,
794
625
  /**
795
626
  * Override or extend the styles applied to the component.
796
627
  */
797
- classes: e.object,
628
+ classes: r.object,
798
629
  /**
799
630
  * @ignore
800
631
  */
801
- className: e.string,
632
+ className: r.string,
802
633
  /**
803
634
  * The component used for the root node.
804
635
  * Either a string to use a HTML element or a component.
805
636
  */
806
- component: e.elementType,
637
+ component: r.elementType,
807
638
  /**
808
639
  * If `true`, disables gutter padding.
809
640
  * @default false
810
641
  */
811
- disableGutters: e.bool,
642
+ disableGutters: r.bool,
812
643
  /**
813
644
  * The system prop that allows defining system overrides as well as additional CSS styles.
814
645
  */
815
- sx: e.oneOfType([e.arrayOf(e.oneOfType([e.func, e.object, e.bool])), e.func, e.object]),
646
+ sx: r.oneOfType([r.arrayOf(r.oneOfType([r.func, r.object, r.bool])), r.func, r.object]),
816
647
  /**
817
648
  * The variant to use.
818
649
  * @default 'regular'
819
650
  */
820
- variant: e.oneOfType([e.oneOf(["dense", "regular"]), e.string])
651
+ variant: r.oneOfType([r.oneOf(["dense", "regular"]), r.string])
821
652
  });
822
- const x2 = "data:image/svg+xml,%3csvg%20width='107'%20height='40'%20viewBox='0%200%20107%2040'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M0%200V32.1252L3.0277%2033.8762L10.5965%2038.2503L13.6243%2040L16.652%2038.2503L24.2208%2033.8762L27.2485%2032.1261V0H0ZM24.2208%2030.3751L13.6243%2036.5002L3.0277%2030.3751V3.03121H24.2208V30.3751Z'%20fill='%230B6B9F'/%3e%3cpath%20d='M16.6808%2017.1008V10.8984H10.5728C10.5728%2012.1316%209.54697%2013.1315%208.28221%2013.1315V16.1098H10.5728V18.5895H22.7887V29.3101L13.6268%2034.4681L4.46484%2029.3101V22.3121H10.5728V25.7586L13.6226%2027.4759L16.6808%2025.7527V20.8352H4.46484V4.94531H22.7887V17.1008H16.6808Z'%20fill='%2327A4E8'/%3e%3cpath%20d='M46.0749%208.7868C46.0749%208.81752%2046.0749%208.84824%2046.0749%208.87896C46.0749%2011.1917%2046.0749%2013.5044%2046.0749%2015.8172C46.0738%2015.8325%2046.0738%2015.8479%2046.0749%2015.8632C46.0826%2015.9214%2046.0573%2015.9378%2046.0003%2015.9378C44.792%2015.9378%2043.5836%2015.9378%2042.3752%2015.9378C42.3127%2015.9378%2042.2996%2015.9175%2042.2996%2015.8589C42.2996%2014.731%2042.2996%2013.6032%2042.2996%2012.4753C42.2996%2012.3826%2042.2996%2012.3821%2042.2058%2012.3821H40.6888C40.5989%2012.3821%2040.5989%2012.3821%2040.5989%2012.4737V17.7859C40.5989%2017.8743%2040.5988%2017.8743%2040.6904%2017.8743C41.7058%2017.8743%2042.719%2017.8655%2043.7365%2017.877C44.6746%2017.8885%2045.3748%2018.3246%2045.8391%2019.1354C46.0038%2019.4378%2046.0855%2019.7785%2046.076%2020.1228C46.076%2023.0587%2046.076%2025.9946%2046.076%2028.9305C46.0789%2028.974%2046.0617%2029.0165%2046.0294%2029.0457C45.2655%2029.7632%2044.5019%2030.4813%2043.7387%2031.1999C43.7144%2031.2167%2043.6867%2031.2279%2043.6576%2031.2328C43.6394%2031.2353%2043.621%2031.2353%2043.6028%2031.2328H36.8323V24.0664H40.5989V27.5618C40.5989%2027.6557%2040.5988%2027.6557%2040.691%2027.6557C41.2019%2027.6557%2041.7129%2027.6557%2042.2261%2027.6557C42.2908%2027.6557%2042.3056%2027.6359%2042.3056%2027.5739C42.3056%2025.5574%2042.3056%2023.5409%2042.3056%2021.5244C42.3056%2021.4597%2042.2864%2021.4443%2042.2239%2021.4448C41.1997%2021.4448%2040.1756%2021.4498%2039.1536%2021.4448C38.5073%2021.4512%2037.8866%2021.1925%2037.4359%2020.729C37.1138%2020.4131%2036.9071%2019.9981%2036.8487%2019.5507C36.8368%2019.4528%2036.8311%2019.3542%2036.8317%2019.2555C36.8317%2016.5435%2036.8317%2013.8314%2036.8317%2011.1193C36.8273%2011.0738%2036.8441%2011.0289%2036.8773%2010.9975C37.6393%2010.2778%2038.4001%209.55698%2039.1597%208.83508C39.1739%208.81944%2039.1869%208.80275%2039.1986%208.78516L46.0749%208.7868Z'%20fill='%230B6B9F'/%3e%3cpath%20d='M57.369%208.78711C57.369%208.82002%2057.369%208.85294%2057.369%208.8853V12.2864C57.369%2012.3802%2057.369%2012.3802%2057.2769%2012.3802H53.0334C53.0115%2012.3802%2052.989%2012.3802%2052.9676%2012.3802C52.9128%2012.3741%2052.8925%2012.395%2052.8925%2012.4537C52.8925%2014.1301%2052.8925%2015.8065%2052.8925%2017.4829C52.8925%2017.5043%2052.8925%2017.5262%2052.8958%2017.5548H56.5329V21.1275C56.5044%2021.1275%2056.4748%2021.1314%2056.4452%2021.1314H52.9912C52.8925%2021.1314%2052.8925%2021.1314%2052.8925%2021.2323V27.5605C52.8925%2027.6565%2052.8925%2027.6565%2052.9884%2027.6565H57.5977V31.2271C57.5763%2031.2271%2057.5533%2031.2309%2057.5302%2031.2309C54.7524%2031.2309%2051.9745%2031.2309%2049.1967%2031.2309C49.1347%2031.2309%2049.1133%2031.2112%2049.1205%2031.1525C49.1216%2031.1328%2049.1216%2031.113%2049.1205%2031.0932V8.89902C49.1205%208.86171%2049.1205%208.82441%2049.1205%208.7893L57.369%208.78711Z'%20fill='%230B6B9F'/%3e%3cpath%20d='M62.8666%208.78906H69.7501V16.0685H65.9643V12.3898H64.2433V27.653H65.9643V23.9272H69.7501V29.0304L67.3415%2031.2378H60.4883V11.0431L62.8666%208.78906Z'%20fill='%230B6B9F'/%3e%3cpath%20d='M94.9616%208.84635V31.1432C94.9616%2031.2339%2094.9616%2031.2339%2094.8728%2031.2339H94.6875C93.4341%2031.2339%2092.1808%2031.2339%2090.9275%2031.2339H90.8271C90.8075%2031.2348%2090.7878%2031.2314%2090.7696%2031.2238C90.7453%2031.2088%2090.7294%2031.1832%2090.7268%2031.1547C90.5415%2030.3406%2090.3547%2029.5266%2090.1665%2028.7125L89.3326%2025.092C89.0632%2023.9217%2088.794%2022.7515%2088.525%2021.5812C88.5135%2021.5291%2088.4987%2021.4781%2088.4855%2021.4271H88.4685V31.232H84.8149C84.68%2031.232%2084.6938%2031.2534%2084.6938%2031.1092C84.6938%2023.7014%2084.6938%2016.2938%2084.6938%208.8864C84.6938%208.85349%2084.6938%208.82057%2084.6938%208.78766H89.0491C89.0483%208.79422%2089.0483%208.80085%2089.0491%208.80741L89.4455%2010.6067C89.6542%2011.5524%2089.8629%2012.4981%2090.0716%2013.4438C90.2504%2014.2524%2090.4291%2015.0612%2090.6078%2015.8701C90.6612%2016.1104%2090.714%2016.3509%2090.7663%2016.5915L90.9242%2017.3085C90.9823%2017.574%2091.0406%2017.8396%2091.0991%2018.1055C91.1259%2018.2284%2091.1539%2018.3507%2091.1819%2018.4731H91.1983V8.86555C91.1983%208.83922%2091.1983%208.81344%2091.1939%208.78711H94.9572C94.961%208.80686%2094.9616%208.82661%2094.9616%208.84635Z'%20fill='%2327A4E8'/%3e%3cpath%20d='M78.1551%208.76172H81.971C81.971%208.79628%2081.9672%208.83139%2081.9672%208.86649C81.9672%2015.5304%2081.9672%2022.1941%2081.9672%2028.8577C81.9725%2028.9054%2081.9557%2028.9529%2081.9217%2028.9866C81.1596%2029.7118%2080.3977%2030.4377%2079.636%2031.1644C79.6073%2031.1893%2079.5708%2031.2034%2079.5329%2031.2044C77.3267%2031.2066%2075.1205%2031.2066%2072.9143%2031.2044C72.8913%2031.2044%2072.8682%2031.2044%2072.8408%2031.2001V8.87143C72.8408%208.83468%2072.8408%208.79738%2072.8408%208.76172H76.6567C76.6567%208.78531%2076.6523%208.80944%2076.6523%208.83358C76.6523%2015.036%2076.6523%2021.2386%2076.6523%2027.4413C76.6523%2027.5082%2076.6693%2027.5263%2076.7362%2027.5263C77.1748%2027.5231%2077.6178%2027.5263%2078.0586%2027.5263C78.1622%2027.5263%2078.1622%2027.5263%2078.1622%2027.4238C78.1622%2021.2323%2078.1622%2015.0405%2078.1622%208.84839C78.1584%208.81657%2078.1562%208.7886%2078.1551%208.76172Z'%20fill='%2327A4E8'/%3e%3cpath%20d='M100.474%208.76172L98.0066%2011.2302L98%2011.1907V31.2335C99.2526%2031.2313%20100.506%2031.2313%20101.76%2031.2335V24.0666H103.099V31.2335C104.352%2031.2313%20105.605%2031.2313%20106.859%2031.2335V8.76172H100.474ZM101.76%2020.6106V12.2177H103.099V20.6106H101.76Z'%20fill='%2327A4E8'/%3e%3c/svg%3e";
823
- function k2({ onLogin: o, onSignUp: r }) {
824
- return /* @__PURE__ */ l(A, { sx: { flexGrow: 1 }, children: /* @__PURE__ */ l(D, { position: "static", children: /* @__PURE__ */ k(q, { sx: { backgroundColor: "white", justifyContent: "space-between" }, children: [
825
- /* @__PURE__ */ l(
826
- U,
827
- {
828
- size: "large",
829
- edge: "start",
830
- color: "inherit",
831
- "aria-label": "menu",
832
- sx: {
833
- borderRadius: 1,
834
- "&:hover": {
835
- borderRadius: 1
836
- // keep rectangle on hover
653
+ const g2 = "data:image/svg+xml,%3csvg%20width='107'%20height='40'%20viewBox='0%200%20107%2040'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M0%200V32.1252L3.0277%2033.8762L10.5965%2038.2503L13.6243%2040L16.652%2038.2503L24.2208%2033.8762L27.2485%2032.1261V0H0ZM24.2208%2030.3751L13.6243%2036.5002L3.0277%2030.3751V3.03121H24.2208V30.3751Z'%20fill='%230B6B9F'/%3e%3cpath%20d='M16.6808%2017.1008V10.8984H10.5728C10.5728%2012.1316%209.54697%2013.1315%208.28221%2013.1315V16.1098H10.5728V18.5895H22.7887V29.3101L13.6268%2034.4681L4.46484%2029.3101V22.3121H10.5728V25.7586L13.6226%2027.4759L16.6808%2025.7527V20.8352H4.46484V4.94531H22.7887V17.1008H16.6808Z'%20fill='%2327A4E8'/%3e%3cpath%20d='M46.0749%208.7868C46.0749%208.81752%2046.0749%208.84824%2046.0749%208.87896C46.0749%2011.1917%2046.0749%2013.5044%2046.0749%2015.8172C46.0738%2015.8325%2046.0738%2015.8479%2046.0749%2015.8632C46.0826%2015.9214%2046.0573%2015.9378%2046.0003%2015.9378C44.792%2015.9378%2043.5836%2015.9378%2042.3752%2015.9378C42.3127%2015.9378%2042.2996%2015.9175%2042.2996%2015.8589C42.2996%2014.731%2042.2996%2013.6032%2042.2996%2012.4753C42.2996%2012.3826%2042.2996%2012.3821%2042.2058%2012.3821H40.6888C40.5989%2012.3821%2040.5989%2012.3821%2040.5989%2012.4737V17.7859C40.5989%2017.8743%2040.5988%2017.8743%2040.6904%2017.8743C41.7058%2017.8743%2042.719%2017.8655%2043.7365%2017.877C44.6746%2017.8885%2045.3748%2018.3246%2045.8391%2019.1354C46.0038%2019.4378%2046.0855%2019.7785%2046.076%2020.1228C46.076%2023.0587%2046.076%2025.9946%2046.076%2028.9305C46.0789%2028.974%2046.0617%2029.0165%2046.0294%2029.0457C45.2655%2029.7632%2044.5019%2030.4813%2043.7387%2031.1999C43.7144%2031.2167%2043.6867%2031.2279%2043.6576%2031.2328C43.6394%2031.2353%2043.621%2031.2353%2043.6028%2031.2328H36.8323V24.0664H40.5989V27.5618C40.5989%2027.6557%2040.5988%2027.6557%2040.691%2027.6557C41.2019%2027.6557%2041.7129%2027.6557%2042.2261%2027.6557C42.2908%2027.6557%2042.3056%2027.6359%2042.3056%2027.5739C42.3056%2025.5574%2042.3056%2023.5409%2042.3056%2021.5244C42.3056%2021.4597%2042.2864%2021.4443%2042.2239%2021.4448C41.1997%2021.4448%2040.1756%2021.4498%2039.1536%2021.4448C38.5073%2021.4512%2037.8866%2021.1925%2037.4359%2020.729C37.1138%2020.4131%2036.9071%2019.9981%2036.8487%2019.5507C36.8368%2019.4528%2036.8311%2019.3542%2036.8317%2019.2555C36.8317%2016.5435%2036.8317%2013.8314%2036.8317%2011.1193C36.8273%2011.0738%2036.8441%2011.0289%2036.8773%2010.9975C37.6393%2010.2778%2038.4001%209.55698%2039.1597%208.83508C39.1739%208.81944%2039.1869%208.80275%2039.1986%208.78516L46.0749%208.7868Z'%20fill='%230B6B9F'/%3e%3cpath%20d='M57.369%208.78711C57.369%208.82002%2057.369%208.85294%2057.369%208.8853V12.2864C57.369%2012.3802%2057.369%2012.3802%2057.2769%2012.3802H53.0334C53.0115%2012.3802%2052.989%2012.3802%2052.9676%2012.3802C52.9128%2012.3741%2052.8925%2012.395%2052.8925%2012.4537C52.8925%2014.1301%2052.8925%2015.8065%2052.8925%2017.4829C52.8925%2017.5043%2052.8925%2017.5262%2052.8958%2017.5548H56.5329V21.1275C56.5044%2021.1275%2056.4748%2021.1314%2056.4452%2021.1314H52.9912C52.8925%2021.1314%2052.8925%2021.1314%2052.8925%2021.2323V27.5605C52.8925%2027.6565%2052.8925%2027.6565%2052.9884%2027.6565H57.5977V31.2271C57.5763%2031.2271%2057.5533%2031.2309%2057.5302%2031.2309C54.7524%2031.2309%2051.9745%2031.2309%2049.1967%2031.2309C49.1347%2031.2309%2049.1133%2031.2112%2049.1205%2031.1525C49.1216%2031.1328%2049.1216%2031.113%2049.1205%2031.0932V8.89902C49.1205%208.86171%2049.1205%208.82441%2049.1205%208.7893L57.369%208.78711Z'%20fill='%230B6B9F'/%3e%3cpath%20d='M62.8666%208.78906H69.7501V16.0685H65.9643V12.3898H64.2433V27.653H65.9643V23.9272H69.7501V29.0304L67.3415%2031.2378H60.4883V11.0431L62.8666%208.78906Z'%20fill='%230B6B9F'/%3e%3cpath%20d='M94.9616%208.84635V31.1432C94.9616%2031.2339%2094.9616%2031.2339%2094.8728%2031.2339H94.6875C93.4341%2031.2339%2092.1808%2031.2339%2090.9275%2031.2339H90.8271C90.8075%2031.2348%2090.7878%2031.2314%2090.7696%2031.2238C90.7453%2031.2088%2090.7294%2031.1832%2090.7268%2031.1547C90.5415%2030.3406%2090.3547%2029.5266%2090.1665%2028.7125L89.3326%2025.092C89.0632%2023.9217%2088.794%2022.7515%2088.525%2021.5812C88.5135%2021.5291%2088.4987%2021.4781%2088.4855%2021.4271H88.4685V31.232H84.8149C84.68%2031.232%2084.6938%2031.2534%2084.6938%2031.1092C84.6938%2023.7014%2084.6938%2016.2938%2084.6938%208.8864C84.6938%208.85349%2084.6938%208.82057%2084.6938%208.78766H89.0491C89.0483%208.79422%2089.0483%208.80085%2089.0491%208.80741L89.4455%2010.6067C89.6542%2011.5524%2089.8629%2012.4981%2090.0716%2013.4438C90.2504%2014.2524%2090.4291%2015.0612%2090.6078%2015.8701C90.6612%2016.1104%2090.714%2016.3509%2090.7663%2016.5915L90.9242%2017.3085C90.9823%2017.574%2091.0406%2017.8396%2091.0991%2018.1055C91.1259%2018.2284%2091.1539%2018.3507%2091.1819%2018.4731H91.1983V8.86555C91.1983%208.83922%2091.1983%208.81344%2091.1939%208.78711H94.9572C94.961%208.80686%2094.9616%208.82661%2094.9616%208.84635Z'%20fill='%2327A4E8'/%3e%3cpath%20d='M78.1551%208.76172H81.971C81.971%208.79628%2081.9672%208.83139%2081.9672%208.86649C81.9672%2015.5304%2081.9672%2022.1941%2081.9672%2028.8577C81.9725%2028.9054%2081.9557%2028.9529%2081.9217%2028.9866C81.1596%2029.7118%2080.3977%2030.4377%2079.636%2031.1644C79.6073%2031.1893%2079.5708%2031.2034%2079.5329%2031.2044C77.3267%2031.2066%2075.1205%2031.2066%2072.9143%2031.2044C72.8913%2031.2044%2072.8682%2031.2044%2072.8408%2031.2001V8.87143C72.8408%208.83468%2072.8408%208.79738%2072.8408%208.76172H76.6567C76.6567%208.78531%2076.6523%208.80944%2076.6523%208.83358C76.6523%2015.036%2076.6523%2021.2386%2076.6523%2027.4413C76.6523%2027.5082%2076.6693%2027.5263%2076.7362%2027.5263C77.1748%2027.5231%2077.6178%2027.5263%2078.0586%2027.5263C78.1622%2027.5263%2078.1622%2027.5263%2078.1622%2027.4238C78.1622%2021.2323%2078.1622%2015.0405%2078.1622%208.84839C78.1584%208.81657%2078.1562%208.7886%2078.1551%208.76172Z'%20fill='%2327A4E8'/%3e%3cpath%20d='M100.474%208.76172L98.0066%2011.2302L98%2011.1907V31.2335C99.2526%2031.2313%20100.506%2031.2313%20101.76%2031.2335V24.0666H103.099V31.2335C104.352%2031.2313%20105.605%2031.2313%20106.859%2031.2335V8.76172H100.474ZM101.76%2020.6106V12.2177H103.099V20.6106H101.76Z'%20fill='%2327A4E8'/%3e%3c/svg%3e";
654
+ function I2({ onLogin: o, onSignUp: e }) {
655
+ const [a, t] = Z(null), s = !!a;
656
+ return /* @__PURE__ */ n(
657
+ R,
658
+ {
659
+ position: "sticky",
660
+ sx: {
661
+ top: 0,
662
+ zIndex: 1200
663
+ },
664
+ children: /* @__PURE__ */ y(E, { sx: { backgroundColor: "white", justifyContent: "space-between" }, children: [
665
+ /* @__PURE__ */ n(
666
+ T,
667
+ {
668
+ size: "large",
669
+ edge: "start",
670
+ color: "inherit",
671
+ "aria-label": "menu",
672
+ sx: {
673
+ borderRadius: 1,
674
+ "&:hover": {
675
+ borderRadius: 1
676
+ }
677
+ },
678
+ children: /* @__PURE__ */ n(N, { component: "img", src: g2 })
837
679
  }
838
- },
839
- children: /* @__PURE__ */ l(A, { component: "img", src: x2 })
840
- }
841
- ),
842
- /* @__PURE__ */ k(_, { direction: "row", spacing: 2, children: [
843
- /* @__PURE__ */ l(X, { size: "small", onClick: o, children: "Login" }),
844
- /* @__PURE__ */ l(o2, { size: "small", onClick: r, children: "Signup" })
845
- ] })
846
- ] }) }) });
680
+ ),
681
+ /* @__PURE__ */ y(w, { direction: "row", spacing: 2, sx: { display: { xs: "none", s: "none", md: "flex" } }, children: [
682
+ /* @__PURE__ */ n(b, { color: "clear", size: "small", onClick: o, children: "LOG IN" }),
683
+ /* @__PURE__ */ n(b, { color: "blue", size: "small", onClick: e, children: "SIGN UP" })
684
+ ] }),
685
+ /* @__PURE__ */ n(T, { onClick: (l) => {
686
+ t(s ? null : l.currentTarget);
687
+ }, sx: { display: { xs: "flex", s: "flex", md: "none" } }, children: /* @__PURE__ */ n(o2, {}) }),
688
+ /* @__PURE__ */ n(
689
+ D,
690
+ {
691
+ open: s,
692
+ anchorEl: a,
693
+ placement: "bottom-start",
694
+ sx: { zIndex: 1300 },
695
+ children: /* @__PURE__ */ n(G, { onClickAway: () => {
696
+ t(null);
697
+ }, children: /* @__PURE__ */ n(
698
+ U,
699
+ {
700
+ elevation: 4,
701
+ sx: {
702
+ mt: 1,
703
+ minWidth: 200,
704
+ overflow: "auto"
705
+ },
706
+ children: /* @__PURE__ */ y(w, { direction: "column", spacing: 1, p: 1, children: [
707
+ /* @__PURE__ */ n(b, { color: "clear", size: "small", onClick: o, children: "LOG IN" }),
708
+ /* @__PURE__ */ n(b, { color: "blue", size: "small", onClick: e, children: "SIGN UP" })
709
+ ] })
710
+ }
711
+ ) })
712
+ }
713
+ )
714
+ ] })
715
+ }
716
+ );
847
717
  }
848
718
  export {
849
- k2 as AppBarPublic
719
+ I2 as AppBarPublic
850
720
  };