@blocklet/pages-kit-inner-components 0.4.85 → 0.4.86

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,82 +1,82 @@
1
- import { jsx as n, jsxs as _, Fragment as U } from "react/jsx-runtime";
2
- import { a as R, g as N, i as ae, b as ce, E as le, c as ct, d as lt, e as Et, u as de, f as me } from "./state-DqChB5ys.js";
1
+ import { jsx as o, jsxs as _, Fragment as U } from "react/jsx-runtime";
2
+ import { a as T, g as I, i as ae, b as ce, E as le, c as ct, d as lt, e as Et, u as de, f as me } from "./state-DqChB5ys.js";
3
3
  import { useLocaleContext as zt } from "@arcblock/ux/lib/Locale/context";
4
4
  import Wt from "@arcblock/ux/lib/Result";
5
5
  import { useHeaderState as ue } from "@blocklet/pages-kit/builtin/page/header";
6
6
  import pe from "@blocklet/ui-react/lib/Header";
7
- import { cx as k, css as nt } from "@emotion/css";
7
+ import { cx as k, css as ot } from "@emotion/css";
8
8
  import { Global as Lt, css as Ot } from "@emotion/react";
9
9
  import Ht from "@emotion/styled";
10
- import { Box as b, Tooltip as he, styled as At, Stack as dt, Typography as P, Container as fe, useTheme as ge, createTheme as xe, ThemeProvider as be, Card as ye, CircularProgress as Mt, Grid as vt, CardMedia as we, CardContent as ve, Button as ke } from "@mui/material";
10
+ import { Box as b, Tooltip as he, styled as At, Stack as dt, Typography as B, Container as fe, useTheme as ge, createTheme as xe, ThemeProvider as be, Card as ye, CircularProgress as Mt, Grid as vt, CardMedia as we, CardContent as ve, Button as ke } from "@mui/material";
11
11
  import { useLatest as _e, useReactive as $e } from "ahooks";
12
12
  import Se from "isomorphic-dompurify";
13
- import { omit as Ut, cloneDeep as kt, isEqual as Ce } from "lodash";
14
- import Ne from "lodash/isEmpty";
15
- import Ft, { forwardRef as Ie, useState as T, useCallback as mt, useRef as F, Fragment as Pe, isValidElement as Vt, useEffect as E, useMemo as j, createContext as je, useContext as Gt, lazy as Dt, Suspense as Be } from "react";
16
- import { Helmet as Re } from "react-helmet";
17
- import { Link as Te, NavLink as Ee, useNavigate as ze, useSearchParams as We, Routes as Le, Route as Y, Navigate as Oe, ScrollRestoration as He } from "react-router-dom";
18
- import { useUpdate as Ae, useMount as Me, useWindowScroll as Ue, useAsync as qt } from "react-use";
19
- import { withoutTrailingSlash as tt, isRelative as Fe, parseURL as Ve, joinURL as Q } from "ufo";
13
+ import kt from "lodash/cloneDeep";
14
+ import Ce from "lodash/isEmpty";
15
+ import Ut from "lodash/isEqual";
16
+ import Ft, { forwardRef as Ne, useState as E, useCallback as mt, useRef as F, Fragment as Ie, isValidElement as Vt, useEffect as z, useMemo as C, createContext as Pe, useContext as Gt, lazy as Dt, Suspense as je } from "react";
17
+ import { Helmet as Be } from "react-helmet";
18
+ import { Link as Re, NavLink as Te, useNavigate as Ee, useSearchParams as ze, Routes as We, Route as Y, Navigate as Le, ScrollRestoration as Oe } from "react-router-dom";
19
+ import { useUpdate as He, useMount as Ae, useWindowScroll as Me, useAsync as Jt } from "react-use";
20
+ import { withoutTrailingSlash as tt, isRelative as Ue, parseURL as Fe, joinURL as Q } from "ufo";
20
21
  import "@mui/icons-material";
21
22
  import { AIForm as _t, AIFormResult as $t } from "@blocklet/ai-runtime/components";
22
- import { deepmerge as Ge } from "@mui/utils";
23
+ import { deepmerge as Ve } from "@mui/utils";
23
24
  import ut from "lodash/pick";
24
- import { ErrorBoundary as De } from "react-error-boundary";
25
- import { Icon as ot } from "@iconify/react";
26
- import qe from "react-markdown";
25
+ import { ErrorBoundary as Ge } from "react-error-boundary";
26
+ import { Icon as nt } from "@iconify/react";
27
+ import De from "react-markdown";
27
28
  import Je from "remark-gfm";
28
- import { LoadingButton as Ke } from "@mui/lab";
29
+ import { LoadingButton as qe } from "@mui/lab";
29
30
  import { useTheme as pt, styled as $ } from "@arcblock/ux/lib/Theme";
30
- import Xe from "@arcblock/react-hooks/lib/useBrowser";
31
+ import Ke from "@arcblock/react-hooks/lib/useBrowser";
31
32
  import St from "@arcblock/ux/lib/Colors";
32
- import { ResponsiveImage as Jt, CustomComponentRenderer as Ye } from "@blocklet/pages-kit/components";
33
+ import { ResponsiveImage as qt, CustomComponentRenderer as Xe } from "@blocklet/pages-kit/components";
33
34
  import Kt from "@mui/material/useMediaQuery";
35
+ import j from "lodash/omit";
34
36
  import { Icon as Xt } from "@iconify-icon/react";
35
- import Qe from "@arcblock/ux/lib/Screenshot";
36
- import W from "lodash/omit";
37
- import Ze from "@arcblock/ux/lib/Button";
37
+ import Ye from "@arcblock/ux/lib/Screenshot";
38
+ import Qe from "@arcblock/ux/lib/Button";
38
39
  import rt from "is-uri";
39
40
  import { join as Z } from "pathe";
40
- import { useMessage as tn } from "@blocklet/embed/message";
41
- import en from "lodash/isEqual";
42
- import { EmbedIframe as nn } from "@blocklet/embed/react";
43
- import { TwitterTimelineEmbed as on } from "react-twitter-embed";
44
- import rn from "@blocklet/ui-react/lib/Footer";
45
- import sn from "webfontloader";
46
- import { createAuthServiceSessionContext as an } from "@arcblock/did-connect/lib/Session";
47
- function cn(t, e, o, r) {
48
- t.locales || (t.locales = {}), t.locales[o] = t.locales[o] || {}, t.locales[o].title = r.title ?? t.locales[o].title, t.locales[o].image = r.image ?? t.locales[o].image, t.locales[o].description = r.description ?? t.locales[o].description, Object.entries(r.sectionsData).forEach(([i, s]) => {
49
- var c, l, d, u;
41
+ import { useMessage as Ze } from "@blocklet/embed/message";
42
+ import { EmbedIframe as to } from "@blocklet/embed/react";
43
+ import { TwitterTimelineEmbed as eo } from "react-twitter-embed";
44
+ import oo from "@blocklet/ui-react/lib/Footer";
45
+ import no from "webfontloader";
46
+ import { createAuthServiceSessionContext as ro } from "@arcblock/did-connect/lib/Session";
47
+ function io(t, e, n, r) {
48
+ t.locales || (t.locales = {}), t.locales[n] = t.locales[n] || {}, t.locales[n].title = r.title ?? t.locales[n].title, t.locales[n].image = r.image ?? t.locales[n].image, t.locales[n].description = r.description ?? t.locales[n].description, Object.entries(r.sectionsData).forEach(([i, s]) => {
49
+ var c, l, d, m;
50
50
  const a = Object.values(t.sections).find(
51
- (m) => m.id === i || m.name === i
51
+ (u) => u.id === i || u.name === i
52
52
  );
53
53
  if (a && a.isTemplateSection)
54
- if (a.locales = a.locales || {}, a.locales[o] = a.locales[o] || {}, a.component === "custom-component") {
55
- const m = (c = a.config) == null ? void 0 : c.componentId;
56
- if (!m)
54
+ if (a.locales = a.locales || {}, a.locales[n] = a.locales[n] || {}, a.component === "custom-component") {
55
+ const u = (c = a.config) == null ? void 0 : c.componentId;
56
+ if (!u)
57
57
  return;
58
- const h = ((l = e.components[m]) == null ? void 0 : l.data) || ((u = (d = e.resources.components) == null ? void 0 : d[m]) == null ? void 0 : u.component);
58
+ const h = ((l = e.components[u]) == null ? void 0 : l.data) || ((m = (d = e.resources.components) == null ? void 0 : d[u]) == null ? void 0 : m.component);
59
59
  if (!h)
60
60
  return;
61
- a.locales[o].properties = a.locales[o].properties || {}, Object.entries(s || {}).forEach(([p, x]) => {
61
+ a.locales[n].properties = a.locales[n].properties || {}, Object.entries(s || {}).forEach(([p, x]) => {
62
62
  var f, w;
63
63
  const y = ((f = h == null ? void 0 : h.properties) == null ? void 0 : f[p]) || Object.values((h == null ? void 0 : h.properties) || {}).find((g) => {
64
64
  var v;
65
65
  return ((v = g.data) == null ? void 0 : v.key) === p;
66
66
  });
67
- y && (a.locales[o].properties[(w = y.data) == null ? void 0 : w.id] = {
67
+ y && (a.locales[n].properties[(w = y.data) == null ? void 0 : w.id] = {
68
68
  value: x
69
69
  });
70
70
  });
71
71
  } else
72
- a.locales[o] = {
73
- ...a.locales[o],
72
+ a.locales[n] = {
73
+ ...a.locales[n],
74
74
  ...s || {}
75
75
  };
76
76
  });
77
77
  }
78
- const ln = Ie(({ onClick: t, ...e }, o) => {
79
- const [r, i] = T(!1), s = mt(
78
+ const so = Ne(({ onClick: t, ...e }, n) => {
79
+ const [r, i] = E(!1), s = mt(
80
80
  async (a) => {
81
81
  try {
82
82
  i(!0), await (t == null ? void 0 : t(a));
@@ -86,12 +86,12 @@ const ln = Ie(({ onClick: t, ...e }, o) => {
86
86
  },
87
87
  [t]
88
88
  );
89
- return /* @__PURE__ */ n(Ke, { ref: o, ...e, loading: e.loading || r, onClick: s });
89
+ return /* @__PURE__ */ o(qe, { ref: n, ...e, loading: e.loading || r, onClick: s });
90
90
  });
91
- function dn({
91
+ function ao({
92
92
  tip: t,
93
93
  tipSucceed: e,
94
- title: o,
94
+ title: n,
95
95
  titleSucceed: r,
96
96
  icon: i,
97
97
  iconSucceed: s,
@@ -99,44 +99,44 @@ function dn({
99
99
  placement: c = "top",
100
100
  ...l
101
101
  }) {
102
- const [d, u] = T(!1), [m, h] = T(), p = F(), x = () => {
102
+ const [d, m] = E(!1), [u, h] = E(), p = F(), x = () => {
103
103
  h(void 0), a && (p.current = window.setTimeout(() => {
104
- u(!1);
104
+ m(!1);
105
105
  }, 3e3));
106
106
  }, y = () => {
107
107
  clearTimeout(p.current);
108
- }, f = d ? s : i, w = m ? /* @__PURE__ */ n(b, { color: "error", children: m.message }) : d && e || t;
109
- return /* @__PURE__ */ n(he, { title: w, disableInteractive: !0, placement: c, onClose: x, onOpen: y, children: /* @__PURE__ */ n("span", { children: /* @__PURE__ */ n(
110
- ln,
108
+ }, f = d ? s : i, w = u ? /* @__PURE__ */ o(b, { color: "error", children: u.message }) : d && e || t;
109
+ return /* @__PURE__ */ o(he, { title: w, disableInteractive: !0, placement: c, onClose: x, onOpen: y, children: /* @__PURE__ */ o("span", { children: /* @__PURE__ */ o(
110
+ so,
111
111
  {
112
- startIcon: f && (typeof f == "string" ? /* @__PURE__ */ n(ot, { icon: f }) : f),
112
+ startIcon: f && (typeof f == "string" ? /* @__PURE__ */ o(nt, { icon: f }) : f),
113
113
  loadingPosition: f ? "start" : void 0,
114
114
  ...l,
115
115
  onClick: async (v) => {
116
116
  if (l.onClick)
117
117
  try {
118
- await l.onClick(v), u(!0);
119
- } catch (I) {
120
- h(I);
118
+ await l.onClick(v), m(!0);
119
+ } catch (P) {
120
+ h(P);
121
121
  }
122
122
  },
123
- children: d ? r : o
123
+ children: d ? r : n
124
124
  }
125
125
  ) }) });
126
126
  }
127
- const mn = Ft.lazy(() => import("react-syntax-highlighter").then((t) => ({ default: t.Prism }))), un = At((t) => /* @__PURE__ */ n(
128
- qe,
127
+ const co = Ft.lazy(() => import("react-syntax-highlighter").then((t) => ({ default: t.Prism }))), lo = At((t) => /* @__PURE__ */ o(
128
+ De,
129
129
  {
130
130
  ...t,
131
131
  remarkPlugins: [Je],
132
132
  components: {
133
- pre: pn,
134
- code: ({ node: e, inline: o, className: r, children: i, ...s }) => {
133
+ pre: mo,
134
+ code: ({ node: e, inline: n, className: r, children: i, ...s }) => {
135
135
  if (!i) return null;
136
136
  const a = /language-(\w+)/.exec(r || "");
137
- return o ? /* @__PURE__ */ n(b, { component: "code", className: r, ...s, children: i }) : /* @__PURE__ */ n(b, { component: mn, language: a == null ? void 0 : a[1], ...s, sx: { borderRadius: 1 }, children: String(i).replace(/\n$/, "") });
137
+ return n ? /* @__PURE__ */ o(b, { component: "code", className: r, ...s, children: i }) : /* @__PURE__ */ o(b, { component: co, language: a == null ? void 0 : a[1], ...s, sx: { borderRadius: 1 }, children: String(i).replace(/\n$/, "") });
138
138
  },
139
- table: ({ className: e, children: o }) => /* @__PURE__ */ n(b, { sx: { overflow: "auto", my: 1 }, children: /* @__PURE__ */ n("table", { className: e, children: o }) })
139
+ table: ({ className: e, children: n }) => /* @__PURE__ */ o(b, { sx: { overflow: "auto", my: 1 }, children: /* @__PURE__ */ o("table", { className: e, children: n }) })
140
140
  }
141
141
  }
142
142
  ))`
@@ -212,10 +212,10 @@ const mn = Ft.lazy(() => import("react-syntax-highlighter").then((t) => ({ defau
212
212
  }
213
213
  }
214
214
  `;
215
- function pn({ children: t }) {
215
+ function mo({ children: t }) {
216
216
  const e = t == null ? void 0 : t.props;
217
217
  if (!(e != null && e.children)) return null;
218
- const o = /language-(\w+)/.exec(e.className || ""), r = o == null ? void 0 : o[1];
218
+ const n = /language-(\w+)/.exec(e.className || ""), r = n == null ? void 0 : n[1];
219
219
  return /* @__PURE__ */ _(
220
220
  b,
221
221
  {
@@ -228,14 +228,14 @@ function pn({ children: t }) {
228
228
  },
229
229
  children: [
230
230
  /* @__PURE__ */ _(dt, { direction: "row", alignItems: "center", p: 0.5, pl: 1.5, borderBottom: 1, borderColor: "grey.200", children: [
231
- /* @__PURE__ */ n(b, { children: r }),
232
- /* @__PURE__ */ n(b, { flex: 1 }),
233
- /* @__PURE__ */ n(
234
- dn,
231
+ /* @__PURE__ */ o(b, { children: r }),
232
+ /* @__PURE__ */ o(b, { flex: 1 }),
233
+ /* @__PURE__ */ o(
234
+ ao,
235
235
  {
236
236
  autoReset: !0,
237
- title: /* @__PURE__ */ n(ot, { icon: "tabler:copy" }),
238
- titleSucceed: /* @__PURE__ */ n(ot, { icon: "tabler:copy-check" }),
237
+ title: /* @__PURE__ */ o(nt, { icon: "tabler:copy" }),
238
+ titleSucceed: /* @__PURE__ */ o(nt, { icon: "tabler:copy-check" }),
239
239
  sx: { minWidth: 32, minHeight: 32, p: 0, fontSize: 18 },
240
240
  onClick: () => {
241
241
  window.navigator.clipboard.writeText(e.children);
@@ -248,8 +248,8 @@ function pn({ children: t }) {
248
248
  }
249
249
  );
250
250
  }
251
- function O({ actions: t, center: e, className: o, align: r }) {
252
- return t && (t != null && t.length) ? /* @__PURE__ */ n(
251
+ function O({ actions: t, center: e, className: n, align: r }) {
252
+ return t && (t != null && t.length) ? /* @__PURE__ */ o(
253
253
  b,
254
254
  {
255
255
  className: k(
@@ -258,14 +258,14 @@ function O({ actions: t, center: e, className: o, align: r }) {
258
258
  (e || r === "center") && "justify-center",
259
259
  !e && r === "right" && "justify-end",
260
260
  !e && r === "left" && "justify-start",
261
- o
261
+ n
262
262
  ),
263
263
  sx: { alignItems: "center" },
264
264
  children: t
265
265
  }
266
266
  ) : null;
267
267
  }
268
- const hn = "section", fn = At(b)`
268
+ const uo = "section", po = At(b)`
269
269
  overflow: hidden;
270
270
 
271
271
  .section__title {
@@ -314,7 +314,7 @@ const hn = "section", fn = At(b)`
314
314
  margin-bottom: 0.5rem;
315
315
  }
316
316
  }
317
- @media (min-width: ${({ theme: t }) => t.breakpoints.values[hn]}px) {
317
+ @media (min-width: ${({ theme: t }) => t.breakpoints.values[uo]}px) {
318
318
  .section__tag {
319
319
  margin-bottom: 32px;
320
320
  }
@@ -329,7 +329,7 @@ const hn = "section", fn = At(b)`
329
329
  function V({
330
330
  title: t,
331
331
  description: e,
332
- descriptionMarkdown: o,
332
+ descriptionMarkdown: n,
333
333
  actions: r,
334
334
  className: i = "",
335
335
  classes: s = {},
@@ -337,14 +337,14 @@ function V({
337
337
  append: c,
338
338
  level: l = 2,
339
339
  tag: d,
340
- badge: u,
341
- center: m,
340
+ badge: m,
341
+ center: u,
342
342
  logo: h,
343
343
  titleAppearance: p,
344
344
  descriptionAppearance: x,
345
345
  ...y
346
346
  }) {
347
- if (!t && !e && !r && !u && !d && !a && !c && !h) return null;
347
+ if (!t && !e && !r && !m && !d && !a && !c && !h) return null;
348
348
  const f = Math.max(Math.min(5, l + 1), 1), w = {
349
349
  1: "xl:!text-3xl lg:!text-2xl md:!text-xl",
350
350
  2: "xl:!text-2xl lg:!text-xl md:!text-lg",
@@ -353,12 +353,12 @@ function V({
353
353
  5: "xl:!text-lg md:!text-md sm:!text-sm",
354
354
  6: "!text-sm"
355
355
  }, g = l === 0 ? "big" : `h${f}`, v = l === 0;
356
- return /* @__PURE__ */ _(fn, { className: k("base-info", "lg:text-left", m && "!text-center", i), ...y, children: [
357
- a && /* @__PURE__ */ n("div", { children: a }),
358
- (d || u) && /* @__PURE__ */ n("div", { className: k("section__tag", (s == null ? void 0 : s.tag) || (s == null ? void 0 : s.badge)), children: d || u }),
359
- h && /* @__PURE__ */ n("img", { className: "w-[120px] m-auto mb-8", src: h, alt: "info", loading: "lazy" }),
360
- t && /* @__PURE__ */ n(
361
- P,
356
+ return /* @__PURE__ */ _(po, { className: k("base-info", "lg:text-left", u && "!text-center", i), ...y, children: [
357
+ a && /* @__PURE__ */ o("div", { children: a }),
358
+ (d || m) && /* @__PURE__ */ o("div", { className: k("section__tag", (s == null ? void 0 : s.tag) || (s == null ? void 0 : s.badge)), children: d || m }),
359
+ h && /* @__PURE__ */ o("img", { className: "w-[120px] m-auto mb-8", src: h, alt: "info", loading: "lazy" }),
360
+ t && /* @__PURE__ */ o(
361
+ B,
362
362
  {
363
363
  sx: {
364
364
  whiteSpace: "pre-wrap",
@@ -378,13 +378,13 @@ function V({
378
378
  children: t
379
379
  }
380
380
  ),
381
- e && (o ? /* @__PURE__ */ n(
381
+ e && (n ? /* @__PURE__ */ o(
382
382
  b,
383
383
  {
384
384
  sx: {
385
385
  ...(x == null ? void 0 : x.color) && { color: `${x.color} !important` }
386
386
  },
387
- component: un,
387
+ component: lo,
388
388
  className: k(
389
389
  "section__description",
390
390
  "text-gray-800",
@@ -395,8 +395,8 @@ function V({
395
395
  ),
396
396
  children: e
397
397
  }
398
- ) : /* @__PURE__ */ n(
399
- P,
398
+ ) : /* @__PURE__ */ o(
399
+ B,
400
400
  {
401
401
  sx: {
402
402
  whiteSpace: "pre-wrap",
@@ -416,8 +416,8 @@ function V({
416
416
  children: e
417
417
  }
418
418
  )),
419
- /* @__PURE__ */ n(O, { actions: r, center: m, className: "mt-8" }),
420
- c && /* @__PURE__ */ n("div", { children: c })
419
+ /* @__PURE__ */ o(O, { actions: r, center: u, className: "mt-8" }),
420
+ c && /* @__PURE__ */ o("div", { children: c })
421
421
  ] });
422
422
  }
423
423
  const G = [
@@ -436,14 +436,14 @@ const G = [
436
436
  "descriptionAppearance"
437
437
  ];
438
438
  function Yt(t) {
439
- if (t.type === Pe) {
440
- const o = (t.props.children || []).filter((r) => Vt(r));
441
- return o.length === 1 ? Yt(o[0]) : o.length > 1;
439
+ if (t.type === Ie) {
440
+ const n = (t.props.children || []).filter((r) => Vt(r));
441
+ return n.length === 1 ? Yt(n[0]) : n.length > 1;
442
442
  }
443
443
  return Array.isArray(t);
444
444
  }
445
- const B = "&>*";
446
- function ht({ children: t, col: e, gap: o, className: r, align: i, sx: s, type: a, ...c } = {
445
+ const R = "&>*";
446
+ function ht({ children: t, col: e, gap: n, className: r, align: i, sx: s, type: a, ...c } = {
447
447
  children: null,
448
448
  className: "",
449
449
  col: 3,
@@ -452,7 +452,7 @@ function ht({ children: t, col: e, gap: o, className: r, align: i, sx: s, type:
452
452
  align: "center",
453
453
  type: "default"
454
454
  }) {
455
- const l = pt(), d = Number(Math.floor(100 / e * 100) / 100), u = {
455
+ const l = pt(), d = Number(Math.floor(100 / e * 100) / 100), m = {
456
456
  center: "justify-center items-center",
457
457
  left: "justify-start items-center",
458
458
  right: "justify-end items-center",
@@ -462,8 +462,8 @@ function ht({ children: t, col: e, gap: o, className: r, align: i, sx: s, type:
462
462
  "top-right": "justify-end items-start",
463
463
  "bottom-left": "justify-start items-end",
464
464
  "bottom-right": "justify-end items-end"
465
- }, m = u[i] || u.center;
466
- let p = o ?? ({
465
+ }, u = m[i] || m.center;
466
+ let p = n ?? ({
467
467
  2: 6,
468
468
  3: 4,
469
469
  4: 4,
@@ -473,61 +473,61 @@ function ht({ children: t, col: e, gap: o, className: r, align: i, sx: s, type:
473
473
  Yt(t) || (p = 0);
474
474
  const y = (e - 1) * p / e;
475
475
  let f = { ...s, gap: `${p}rem` };
476
- const w = { [B]: { width: "100%" } }, g = {}, v = {}, I = {};
476
+ const w = { [R]: { width: "100%" } }, g = {}, v = {}, P = {};
477
477
  switch (w.gap = "1rem", g.gap = `${p / 2}rem`, e) {
478
478
  case 3:
479
479
  case 4:
480
- g[B] = {
480
+ g[R] = {
481
481
  width: `calc(50% - ${p / 2}rem)`
482
482
  };
483
483
  break;
484
484
  case 5:
485
485
  case 6:
486
- w[B] = {
486
+ w[R] = {
487
487
  width: `calc(50% - ${p / 2 / 2}rem)`
488
- }, g[B] = {
488
+ }, g[R] = {
489
489
  width: `calc(50% - ${p / 2 / 2}rem)`
490
- }, v[B] = {
490
+ }, v[R] = {
491
491
  width: `calc(33.33% - ${p * 2 / 3}rem)`
492
492
  };
493
493
  break;
494
494
  }
495
- return f[B] = { width: `calc(${d}% - ${y}rem)` }, f[`@media (max-width: ${l.breakpoints.values.xl}px)`] = I, f[`@media (max-width: ${l.breakpoints.values.lg}px)`] = v, f[`@media (max-width: ${l.breakpoints.values.md}px)`] = g, f[`@media (max-width: ${l.breakpoints.values.sm}px)`] = w, a === "wall" && (f = { ...s, gap: `${p}rem` }, f[B] = { width: `calc(${d}% - ${y}rem)` }, w[B] = { width: `calc(45% - ${p / 2 / 2}rem)` }, f[`@media (max-width: ${l.breakpoints.values.sm}px)`] = w), /* @__PURE__ */ n(b, { className: k("flex flex-wrap flex-row h-full", m, r), sx: f, ...c, children: t });
495
+ return f[R] = { width: `calc(${d}% - ${y}rem)` }, f[`@media (max-width: ${l.breakpoints.values.xl}px)`] = P, f[`@media (max-width: ${l.breakpoints.values.lg}px)`] = v, f[`@media (max-width: ${l.breakpoints.values.md}px)`] = g, f[`@media (max-width: ${l.breakpoints.values.sm}px)`] = w, a === "wall" && (f = { ...s, gap: `${p}rem` }, f[R] = { width: `calc(${d}% - ${y}rem)` }, w[R] = { width: `calc(45% - ${p / 2 / 2}rem)` }, f[`@media (max-width: ${l.breakpoints.values.sm}px)`] = w), /* @__PURE__ */ o(b, { className: k("flex flex-wrap flex-row h-full", u, r), sx: f, ...c, children: t });
496
496
  }
497
- function gn() {
497
+ function ho() {
498
498
  const t = navigator.userAgent.toLowerCase();
499
499
  return t.includes("safari") && !t.includes("chrome");
500
500
  }
501
- function xn(t = "") {
501
+ function fo(t = "") {
502
502
  if (t.startsWith("data:image/svg+xml,")) return !0;
503
- const e = /^(((ht|f)tps?):\/\/)?([^!@#$%^&*?.\s-]([^!@#$%^&*?.\s]{0,63}[^!@#$%^&*?.\s])?\.)+[a-z]{2,6}\/?/, o = /^(\/|\.\/|\.\.\/)(?:[^/]+\/)*[^/]+$/;
504
- return e.test(t) || o.test(t);
503
+ const e = /^(((ht|f)tps?):\/\/)?([^!@#$%^&*?.\s-]([^!@#$%^&*?.\s]{0,63}[^!@#$%^&*?.\s])?\.)+[a-z]{2,6}\/?/, n = /^(\/|\.\/|\.\.\/)(?:[^/]+\/)*[^/]+$/;
504
+ return e.test(t) || n.test(t);
505
505
  }
506
506
  function it(t) {
507
507
  return (t == null ? void 0 : t.endsWith(".mp4")) || (t == null ? void 0 : t.endsWith(".m4v")) || (t == null ? void 0 : t.endsWith(".webm"));
508
508
  }
509
- function bn(t) {
509
+ function go(t) {
510
510
  return t != null && t.endsWith(".mp4") || t != null && t.endsWith(".m4v") ? "video/mp4" : t != null && t.endsWith(".webm") ? "video/webm" : void 0;
511
511
  }
512
- function yn(t) {
512
+ function xo(t) {
513
513
  let e = {};
514
- return typeof t == "string" ? ae(t) ? e.image = t : (e.image = N(t), ce(t) && (e.color = t, e.image = "")) : e = t, e;
514
+ return typeof t == "string" ? ae(t) ? e.image = t : (e.image = I(t), ce(t) && (e.color = t, e.image = "")) : e = t, e;
515
515
  }
516
- function wn() {
517
- const [t, e] = T(Date.now());
518
- return E(() => {
519
- const o = () => {
516
+ function bo() {
517
+ const [t, e] = E(Date.now());
518
+ return z(() => {
519
+ const n = () => {
520
520
  e(Date.now());
521
521
  };
522
- return document.addEventListener("visibilitychange", o), () => {
523
- document.removeEventListener("visibilitychange", o);
522
+ return document.addEventListener("visibilitychange", n), () => {
523
+ document.removeEventListener("visibilitychange", n);
524
524
  };
525
525
  }, []), t;
526
526
  }
527
- function Ct(t, e, o, r, i) {
527
+ function Ct(t, e, n, r, i) {
528
528
  let s = null;
529
- const { color: a = "", image: c } = yn(e);
530
- return c && xn(c) ? (delete o.backgroundColor, !(t.mobile.apple.device || gn()) && it(c) ? s = /* @__PURE__ */ n(
529
+ const { color: a = "", image: c } = xo(e);
530
+ return c && fo(c) ? (delete n.backgroundColor, !(t.mobile.apple.device || ho()) && it(c) ? s = /* @__PURE__ */ o(
531
531
  b,
532
532
  {
533
533
  component: "video",
@@ -538,8 +538,8 @@ function Ct(t, e, o, r, i) {
538
538
  muted: !0,
539
539
  controls: !1,
540
540
  playsInline: !0,
541
- poster: R(N(r), 1200, "quality"),
542
- src: it(c) ? c : R(c, 1200, "quality"),
541
+ poster: T(I(r), 1200, "quality"),
542
+ src: it(c) ? c : T(c, 1200, "quality"),
543
543
  sx: {
544
544
  position: "absolute",
545
545
  zIndex: -9999,
@@ -552,8 +552,8 @@ function Ct(t, e, o, r, i) {
552
552
  }
553
553
  },
554
554
  c
555
- ) : s = /* @__PURE__ */ n(
556
- Jt,
555
+ ) : s = /* @__PURE__ */ o(
556
+ qt,
557
557
  {
558
558
  src: c,
559
559
  sizesAttr: {
@@ -577,15 +577,15 @@ function Ct(t, e, o, r, i) {
577
577
  }
578
578
  },
579
579
  i || c
580
- )) : c ? o.backgroundImage = `${c} !important` : a && (o.backgroundColor = `${a} !important`), s;
580
+ )) : c ? n.backgroundImage = `${c} !important` : a && (n.backgroundColor = `${a} !important`), s;
581
581
  }
582
- function vn({ autoWidth: t, children: e, ...o }) {
583
- return t ? /* @__PURE__ */ n(b, { display: "flex", ...o, children: e }) : /* @__PURE__ */ n(fe, { ...o, children: e });
582
+ function yo({ autoWidth: t, children: e, ...n }) {
583
+ return t ? /* @__PURE__ */ o(b, { display: "flex", ...n, children: e }) : /* @__PURE__ */ o(fe, { ...n, children: e });
584
584
  }
585
585
  function D({
586
586
  dark: t = !1,
587
587
  children: e,
588
- className: o,
588
+ className: n,
589
589
  sx: r = {},
590
590
  boxed: i = { show: !1 },
591
591
  padding: s = "normal",
@@ -593,30 +593,30 @@ function D({
593
593
  type: c,
594
594
  ...l
595
595
  }) {
596
- const d = { ...r }, u = Kt((p) => p.breakpoints.down("md"));
596
+ const d = { ...r }, m = Kt((p) => p.breakpoints.down("md"));
597
597
  t && (d.color = St.common.white, d.backgroundColor = `${St.grey[900]} !important`);
598
- const m = {
598
+ const u = {
599
599
  none: "py-0",
600
600
  small: "py-5 md:py-8 lg:py-8 xl:py-12",
601
601
  normal: "py-10 md:py-15 lg:py-20 xl:py-25",
602
602
  large: "py-15 md:py-20 lg:py-25 xl:py-30"
603
603
  };
604
604
  i.show && (d.display = "flex");
605
- const h = j(() => !Number(l.boxMaxWidth) || u ? {
605
+ const h = C(() => !Number(l.boxMaxWidth) || m ? {
606
606
  width: "100%"
607
607
  } : c === "wall" && l.boxMaxWidth ? {
608
608
  maxWidth: `${l.boxMaxWidth}px !important`,
609
609
  width: "100%"
610
610
  } : {
611
611
  width: "100%"
612
- }, [l.boxMaxWidth, u, c]);
613
- return /* @__PURE__ */ n(
614
- kn,
612
+ }, [l.boxMaxWidth, m, c]);
613
+ return /* @__PURE__ */ o(
614
+ wo,
615
615
  {
616
616
  component: "section",
617
617
  styles: { ...d },
618
- className: k("base-section", "px-2 md:px-5 lg:px-5 xl:px-10", m[s], o, { dark: t }),
619
- ...Ut(
618
+ className: k("base-section", "px-2 md:px-5 lg:px-5 xl:px-10", u[s], n, { dark: t }),
619
+ ...j(
620
620
  l,
621
621
  "hoverStyle",
622
622
  "boxMaxWidth",
@@ -627,14 +627,14 @@ function D({
627
627
  "titleAppearance",
628
628
  "descriptionAppearance"
629
629
  ),
630
- children: /* @__PURE__ */ n(vn, { autoWidth: l == null ? void 0 : l.autoWidth, className: k("section-content h-full"), sx: h, children: i.show ? /* @__PURE__ */ n(Qt, { ...a, boxed: i, children: e }) : e })
630
+ children: /* @__PURE__ */ o(yo, { autoWidth: l == null ? void 0 : l.autoWidth, className: k("section-content h-full"), sx: h, children: i.show ? /* @__PURE__ */ o(Qt, { ...a, boxed: i, children: e }) : e })
631
631
  }
632
632
  );
633
633
  }
634
634
  function Qt({
635
635
  background: t = "",
636
636
  backgroundVideoPoster: e,
637
- children: o,
637
+ children: n,
638
638
  sx: r = {},
639
639
  boxed: i = { show: !1 },
640
640
  className: s = "",
@@ -643,9 +643,9 @@ function Qt({
643
643
  }) {
644
644
  const l = { ...a, ...r };
645
645
  let d = null;
646
- const u = Kt((p) => p.breakpoints.up("sm")), m = Xe(), h = wn();
647
- return t && (d = Ct(m, t, l, e, h)), i.show && (l.borderRadius = "10px", l.padding === void 0 && (l.padding = u ? "50px" : "20px"), i != null && i.border && (l.border = "1px solid #c0c0c0"), i != null && i.background && (d = Ct(
648
- m,
646
+ const m = Kt((p) => p.breakpoints.up("sm")), u = Ke(), h = bo();
647
+ return t && (d = Ct(u, t, l, e, h)), i.show && (l.borderRadius = "10px", l.padding === void 0 && (l.padding = m ? "50px" : "20px"), i != null && i.border && (l.border = "1px solid #c0c0c0"), i != null && i.background && (d = Ct(
648
+ u,
649
649
  i == null ? void 0 : i.background,
650
650
  l,
651
651
  i == null ? void 0 : i.backgroundVideoPoster,
@@ -661,12 +661,12 @@ function Qt({
661
661
  className: k(s, (i == null ? void 0 : i.boxShadow) && "shadow-xl"),
662
662
  children: [
663
663
  d,
664
- o
664
+ n
665
665
  ]
666
666
  }
667
667
  );
668
668
  }
669
- const kn = $(Qt)`
669
+ const wo = $(Qt)`
670
670
  &:nth-of-type(even) {
671
671
  background: #f8f8f8;
672
672
  }
@@ -684,29 +684,29 @@ const kn = $(Qt)`
684
684
  }
685
685
  `;
686
686
  function Zt({ icon: t, ...e }) {
687
- return /* @__PURE__ */ n(Xt, { icon: t, ...e, ref: null });
687
+ return /* @__PURE__ */ o(Xt, { icon: t, ...e, ref: null });
688
688
  }
689
- function C(t, e) {
690
- const o = ut(t, e), r = W(t, e);
691
- return [o, r];
689
+ function N(t, e) {
690
+ const n = ut(t, e), r = j(t, e);
691
+ return [n, r];
692
692
  }
693
693
  const te = ["title", "description", "actions", "badge", "tag", "prepend", "append", "logo"];
694
- function _n({
694
+ function vo({
695
695
  image: t,
696
696
  imageBorder: e,
697
- imageShadow: o,
697
+ imageShadow: n,
698
698
  className: r,
699
699
  reverse: i = !1,
700
700
  fullSizeImage: s,
701
701
  ...a
702
702
  }) {
703
- const [c, l] = C(a, G), d = Object.keys(c).length > 0 && Object.values(ut(c, te)).filter(Boolean).length > 0 && /* @__PURE__ */ n(V, { ...c }), u = Vt(t) ? t : /* @__PURE__ */ n(b, { component: "img", src: t, alt: "", className: "block" }), m = ["phone", "macbook"].includes(e), h = t && /* @__PURE__ */ n(
703
+ const [c, l] = N(a, G), d = Object.keys(c).length > 0 && Object.values(ut(c, te)).filter(Boolean).length > 0 && /* @__PURE__ */ o(V, { ...c }), m = Vt(t) ? t : /* @__PURE__ */ o(b, { component: "img", src: t, alt: "", className: "block" }), u = ["phone", "macbook"].includes(e), h = t && /* @__PURE__ */ o(
704
704
  b,
705
705
  {
706
706
  className: k(
707
707
  "section__image",
708
708
  "m-auto, leading-[1] text-center",
709
- o && "shadow-xl",
709
+ n && "shadow-xl",
710
710
  c != null && c.center ? "flex justify-center items-center" : ""
711
711
  ),
712
712
  sx: {
@@ -714,21 +714,21 @@ function _n({
714
714
  borderRadius: 2,
715
715
  overflow: "hidden",
716
716
  // FIXME: Screenshot 组件无法设置最外层 div 的样式,只能通过父元素设置
717
- "> div": m ? { width: "100%", video: { borderRadius: "0 !important" } } : void 0
717
+ "> div": u ? { width: "100%", video: { borderRadius: "0 !important" } } : void 0
718
718
  },
719
- children: m ? (
719
+ children: u ? (
720
720
  // @ts-ignore
721
- /* @__PURE__ */ n(Qe, { type: e, sx: { width: "100%" }, children: u })
722
- ) : u
721
+ /* @__PURE__ */ o(Ye, { type: e, sx: { width: "100%" }, children: m })
722
+ ) : m
723
723
  }
724
724
  );
725
- return /* @__PURE__ */ n(
725
+ return /* @__PURE__ */ o(
726
726
  D,
727
727
  {
728
728
  className: k(
729
729
  "section--block",
730
730
  r,
731
- s && !i && nt`
731
+ s && !i && ot`
732
732
  .section-bg {
733
733
  height: 80%;
734
734
  }
@@ -736,11 +736,11 @@ function _n({
736
736
  ),
737
737
  ...l,
738
738
  boxProps: s ? { sx: { padding: 0, overflow: "hidden" } } : void 0,
739
- children: /* @__PURE__ */ n(
739
+ children: /* @__PURE__ */ o(
740
740
  ht,
741
741
  {
742
742
  col: t ? 2 : 1,
743
- className: s ? nt`
743
+ className: s ? ot`
744
744
  display: flex;
745
745
  flex-direction: column;
746
746
 
@@ -766,17 +766,17 @@ function _n({
766
766
  }
767
767
  );
768
768
  }
769
- const q = ["editing", "height", "locale", "dev"];
770
- function $n(t) {
771
- return /* @__PURE__ */ n(Sn, { ...t });
769
+ const J = ["editing", "height", "locale", "dev", "sx"];
770
+ function ko(t) {
771
+ return /* @__PURE__ */ o(_o, { ...t });
772
772
  }
773
- const Sn = $(b)`
773
+ const _o = $(b)`
774
774
  position: relative;
775
775
  `;
776
- function Cn({
776
+ function $o({
777
777
  widget: t,
778
778
  reverse: e,
779
- projectId: o,
779
+ projectId: n,
780
780
  assistantId: r,
781
781
  working: i,
782
782
  submitTitle: s,
@@ -784,12 +784,12 @@ function Cn({
784
784
  submitColor: c,
785
785
  placeholder: l,
786
786
  loadingIndicator: d,
787
- section: u,
788
- ...m
787
+ section: m,
788
+ ...u
789
789
  }) {
790
- const [{ editing: h }, p] = C(m, q), [x, y] = C(p, G), f = o && r ? { projectId: o, gitRef: "main", assistantId: r, working: !0 } : void 0, w = {
790
+ const [{ editing: h }, p] = N(u, J), [x, y] = N(p, G), f = n && r ? { projectId: n, gitRef: "main", assistantId: r, working: !0 } : void 0, w = {
791
791
  children: s,
792
- endIcon: a ? /* @__PURE__ */ n(Zt, { icon: a }) : void 0,
792
+ endIcon: a ? /* @__PURE__ */ o(Zt, { icon: a }) : void 0,
793
793
  sx: {
794
794
  background: c || void 0,
795
795
  ":hover": {
@@ -797,57 +797,57 @@ function Cn({
797
797
  opacity: 0.8
798
798
  }
799
799
  }
800
- }, g = [], v = l && /* @__PURE__ */ n(P, { variant: "caption", color: "text.disabled", children: l }), I = d && /* @__PURE__ */ n(P, { variant: "caption", color: "text.disabled", children: d });
801
- Object.keys(x).length > 0 && Object.values(ut(x, te)).filter(Boolean).length > 0 && g.push(/* @__PURE__ */ n(V, { ...x }, "base-info")), f && (t === "form" ? g.push(/* @__PURE__ */ n(_t, { identifier: f, SubmitProps: w }, "form")) : t === "result" ? g.push(
802
- /* @__PURE__ */ n(
800
+ }, g = [], v = l && /* @__PURE__ */ o(B, { variant: "caption", color: "text.disabled", children: l }), P = d && /* @__PURE__ */ o(B, { variant: "caption", color: "text.disabled", children: d });
801
+ Object.keys(x).length > 0 && Object.values(ut(x, te)).filter(Boolean).length > 0 && g.push(/* @__PURE__ */ o(V, { ...x }, "base-info")), f && (t === "form" ? g.push(/* @__PURE__ */ o(_t, { identifier: f, SubmitProps: w }, "form")) : t === "result" ? g.push(
802
+ /* @__PURE__ */ o(
803
803
  $t,
804
804
  {
805
805
  identifier: f,
806
806
  placeholder: v,
807
- loadingIndicator: I
807
+ loadingIndicator: P
808
808
  },
809
809
  "result"
810
810
  )
811
811
  ) : g.push(
812
812
  /* @__PURE__ */ _(dt, { width: "100%", gap: 2, direction: "row", children: [
813
- /* @__PURE__ */ n(_t, { identifier: f, BoxProps: { flex: 1 }, SubmitProps: w }),
814
- /* @__PURE__ */ n(
813
+ /* @__PURE__ */ o(_t, { identifier: f, BoxProps: { flex: 1 }, SubmitProps: w }),
814
+ /* @__PURE__ */ o(
815
815
  $t,
816
816
  {
817
817
  identifier: f,
818
818
  BoxProps: { flex: 1 },
819
819
  placeholder: v,
820
- loadingIndicator: I
820
+ loadingIndicator: P
821
821
  }
822
822
  )
823
823
  ] }, "form-result")
824
824
  )), e && g.reverse();
825
- const H = ge(), X = j(
826
- () => xe(Ge(H, { palette: { primary: c ? { main: c } : void 0 } })),
825
+ const H = ge(), X = C(
826
+ () => xe(Ve(H, { palette: { primary: c ? { main: c } : void 0 } })),
827
827
  [c, H]
828
828
  );
829
- return /* @__PURE__ */ n(De, { fallbackRender: le, children: /* @__PURE__ */ n(be, { theme: X, children: /* @__PURE__ */ n(D, { ...y, sx: h ? { pointerEvents: "none" } : {}, children: /* @__PURE__ */ n(ht, { col: g.length, children: g }) }) }) });
829
+ return /* @__PURE__ */ o(Ge, { fallbackRender: le, children: /* @__PURE__ */ o(be, { theme: X, children: /* @__PURE__ */ o(D, { ...y, sx: h ? { pointerEvents: "none" } : {}, children: /* @__PURE__ */ o(ht, { col: g.length, children: g }) }) }) });
830
830
  }
831
- const ee = je({
831
+ const ee = Pe({
832
832
  pages: [],
833
833
  project: void 0
834
- }), { Provider: Nn, Consumer: Ir } = ee;
835
- function ne() {
834
+ }), { Provider: So, Consumer: Cr } = ee;
835
+ function oe() {
836
836
  return Gt(ee);
837
837
  }
838
- function In({ icon: t, className: e = "", size: o = "1rem", ...r }) {
839
- return /* @__PURE__ */ n(Pn, { component: Zt, className: k("css-icon", e), size: o, ...r, icon: t });
838
+ function Co({ icon: t, className: e = "", size: n = "1rem", ...r }) {
839
+ return /* @__PURE__ */ o(No, { component: Zt, className: k("css-icon", e), size: n, ...r, icon: t });
840
840
  }
841
- const Pn = $(b)`
841
+ const No = $(b)`
842
842
  &.css-icon {
843
843
  display: inline-block;
844
844
  width: ${({ size: t }) => t};
845
845
  height: ${({ size: t }) => t};
846
846
  }
847
847
  `;
848
- function jn({ icon: t, className: e = "", size: o = "1rem", imageMeta: r, ...i }) {
849
- const s = R(N(t), 540), [a, c] = T(!1), l = pt();
850
- return a ? /* @__PURE__ */ n(In, { icon: "i-mdi:image", color: l.palette.grey[500], size: o, className: e, ...i }) : /* @__PURE__ */ n(Bn, { className: k("image-icon", e), size: o, ...i, children: /* @__PURE__ */ n(
848
+ function Io({ icon: t, className: e = "", size: n = "1rem", imageMeta: r, ...i }) {
849
+ const s = T(I(t), 540), [a, c] = E(!1), l = pt();
850
+ return a ? /* @__PURE__ */ o(Co, { icon: "i-mdi:image", color: l.palette.grey[500], size: n, className: e, ...i }) : /* @__PURE__ */ o(Po, { className: k("image-icon", e), size: n, ...i, children: /* @__PURE__ */ o(
851
851
  "img",
852
852
  {
853
853
  className: "image-icon__image",
@@ -860,7 +860,7 @@ function jn({ icon: t, className: e = "", size: o = "1rem", imageMeta: r, ...i }
860
860
  }
861
861
  ) });
862
862
  }
863
- const Bn = $(b)`
863
+ const Po = $(b)`
864
864
  display: inline-block;
865
865
  width: ${({ size: t }) => t};
866
866
  height: ${({ size: t }) => t};
@@ -870,42 +870,42 @@ const Bn = $(b)`
870
870
  width: 100%;
871
871
  }
872
872
  `, ft = (t) => typeof t == "string" && /^[\w-_]+:[\w-_]+$/.test(t);
873
- function st({ icon: t, size: e = "1rem", imageMeta: o, ...r }) {
873
+ function st({ icon: t, size: e = "1rem", imageMeta: n, ...r }) {
874
874
  const i = window.isNaN(e) ? e : `${e}px`;
875
- return ft(t) ? /* @__PURE__ */ n(Xt, { icon: t }) : /* @__PURE__ */ n(Rn, { component: jn, imageMeta: o, className: "base-icon", icon: t, size: i, ...r });
875
+ return ft(t) ? /* @__PURE__ */ o(Xt, { icon: t }) : /* @__PURE__ */ o(jo, { component: Io, imageMeta: n, className: "base-icon", icon: t, size: i, ...r });
876
876
  }
877
- const Rn = $(b)`
877
+ const jo = $(b)`
878
878
  flex-shrink: 0;
879
879
  `;
880
- function M({ text: t, children: e, icon: o = "", endIcon: r, color: i = "primary", link: s = "", href: a = "", ...c }) {
881
- const l = o ? /* @__PURE__ */ n(st, { icon: o }) : null, d = r ? /* @__PURE__ */ n(st, { icon: r }) : null, u = s || a, m = { ...c };
882
- return u && (m.href = u, rt(u) && (m.target = m.target || "_blank")), /* @__PURE__ */ n(Ze, { startIcon: l, endIcon: d, color: i, ...m, children: t || e });
880
+ function M({ text: t, children: e, icon: n = "", endIcon: r, color: i = "primary", link: s = "", href: a = "", ...c }) {
881
+ const l = n ? /* @__PURE__ */ o(st, { icon: n }) : null, d = r ? /* @__PURE__ */ o(st, { icon: r }) : null, m = s || a, u = { ...c };
882
+ return m && (u.href = m, rt(m) && (u.target = u.target || "_blank")), /* @__PURE__ */ o(Qe, { startIcon: l, endIcon: d, color: i, ...u, children: t || e });
883
883
  }
884
- function oe({ editing: t, text: e, ...o }) {
885
- const { pages: r = [] } = ne(), i = r.find((s) => s.id === (o.link || o.linkId));
884
+ function ne({ editing: t, text: e, ...n }) {
885
+ const { pages: r = [] } = oe(), i = r.find((s) => s.id === (n.link || n.linkId));
886
886
  if (t)
887
- return /* @__PURE__ */ n(M, { ...W(o, ["link", "linkId"]), children: e });
887
+ return /* @__PURE__ */ o(M, { ...j(n, ["link", "linkId"]), children: e });
888
888
  if (i) {
889
889
  const s = i.path || "/";
890
- return /* @__PURE__ */ n(Te, { to: s, children: /* @__PURE__ */ n(M, { ...W(o, ["link", "linkId"]), children: e }) });
890
+ return /* @__PURE__ */ o(Re, { to: s, children: /* @__PURE__ */ o(M, { ...j(n, ["link", "linkId"]), children: e }) });
891
891
  }
892
- return /* @__PURE__ */ n(M, { ...W(o, "linkId"), children: e });
892
+ return /* @__PURE__ */ o(M, { ...j(n, "linkId"), children: e });
893
893
  }
894
- function z({ type: t = "", icon: e = "", size: o = "3rem", className: r = "", ...i }) {
895
- return /* @__PURE__ */ n(st, { icon: e || t, size: o, className: k("content-icon", r), ...i });
894
+ function W({ type: t = "", icon: e = "", size: n = "3rem", className: r = "", ...i }) {
895
+ return /* @__PURE__ */ o(st, { icon: e || t, size: n, className: k("content-icon", r), ...i });
896
896
  }
897
- z.propTypes = {};
898
- z.defaultProps = {
897
+ W.propTypes = {};
898
+ W.defaultProps = {
899
899
  type: "",
900
900
  icon: "",
901
901
  size: "3rem",
902
902
  color: "inherit",
903
903
  className: ""
904
904
  };
905
- function Tn({
905
+ function Bo({
906
906
  to: t,
907
907
  base: e,
908
- children: o,
908
+ children: n,
909
909
  className: r,
910
910
  activeClassName: i = "active",
911
911
  target: s = "auto",
@@ -913,11 +913,11 @@ function Tn({
913
913
  useRouterLink: c,
914
914
  ...l
915
915
  }) {
916
- const { pages: d = [], locale: u = "" } = {}, m = e ? Z("/", e) : e || "";
917
- let h = s === "auto" ? "_self" : s, p = Z(m, t);
916
+ const { pages: d = [], locale: m = "" } = {}, u = e ? Z("/", e) : e || "";
917
+ let h = s === "auto" ? "_self" : s, p = Z(u, t);
918
918
  const x = a ? rt(p) : !1;
919
919
  if (e)
920
- return p = Z(m, u, t), /* @__PURE__ */ n(
920
+ return p = Z(u, m, t), /* @__PURE__ */ o(
921
921
  "a",
922
922
  {
923
923
  className: `no-underline ${r}`,
@@ -925,23 +925,23 @@ function Tn({
925
925
  rel: "noreferrer noopener",
926
926
  target: h,
927
927
  ...l,
928
- children: o
928
+ children: n
929
929
  }
930
930
  );
931
931
  if (rt(t))
932
932
  s === "auto" && (h = "_blank"), p = t;
933
933
  else {
934
- Fe(p) && (p = Z(window.location.pathname, p));
935
- const y = Ve(`${window.location.origin}${p}`), f = d.some((w) => w.pathname === y.pathname);
934
+ Ue(p) && (p = Z(window.location.pathname, p));
935
+ const y = Fe(`${window.location.origin}${p}`), f = d.some((w) => w.pathname === y.pathname);
936
936
  if (c || f)
937
- return /* @__PURE__ */ n(
938
- Ee,
937
+ return /* @__PURE__ */ o(
938
+ Te,
939
939
  {
940
940
  end: !0,
941
941
  to: tt(p),
942
942
  className: ({ isActive: w }) => k(r, w ? i : ""),
943
943
  ...l,
944
- children: o
944
+ children: n
945
945
  }
946
946
  );
947
947
  }
@@ -954,29 +954,29 @@ function Tn({
954
954
  target: h,
955
955
  ...l,
956
956
  children: [
957
- o,
958
- x && /* @__PURE__ */ n(z, { icon: "i-mdi:arrow-top-right", size: "0.9em", className: "smart-link__mark", style: { marginLeft: 5 } })
957
+ n,
958
+ x && /* @__PURE__ */ o(W, { icon: "i-mdi:arrow-top-right", size: "0.9em", className: "smart-link__mark", style: { marginLeft: 5 } })
959
959
  ]
960
960
  }
961
961
  );
962
962
  }
963
- function J({
963
+ function q({
964
964
  prepend: t,
965
965
  append: e,
966
- children: o,
966
+ children: n,
967
967
  className: r = "",
968
968
  dark: i = !1,
969
969
  border: s = !0,
970
970
  ...a
971
971
  }) {
972
972
  let c = {};
973
- const { pages: l = [] } = ne(), d = l.find((h) => h.id === a.link), u = !o || Ft.Children.toArray(o).every((h) => h === null);
973
+ const { pages: l = [] } = oe(), d = l.find((h) => h.id === a.link), m = !n || Ft.Children.toArray(n).every((h) => h === null);
974
974
  return a.link && (c = {
975
- component: Tn,
975
+ component: Bo,
976
976
  to: (d == null ? void 0 : d.path) || a.link,
977
977
  useRouterLink: !0
978
978
  }), /* @__PURE__ */ _(
979
- En,
979
+ Ro,
980
980
  {
981
981
  className: k(
982
982
  "base-card card",
@@ -986,16 +986,16 @@ function J({
986
986
  r
987
987
  ),
988
988
  ...c,
989
- ...W(a, ["listType", "dark", "iconColor", "link", "hoverStyle", "imageSize"]),
989
+ ...j(a, ["listType", "dark", "iconColor", "link", "hoverStyle", "imageSize"]),
990
990
  children: [
991
991
  t,
992
- !u && /* @__PURE__ */ n("div", { className: "card__body", children: o }),
992
+ !m && /* @__PURE__ */ o("div", { className: "card__body", children: n }),
993
993
  e
994
994
  ]
995
995
  }
996
996
  );
997
997
  }
998
- const En = $(b)`
998
+ const Ro = $(b)`
999
999
  &.base-card {
1000
1000
  text-align: left;
1001
1001
  border-width: 1px;
@@ -1014,25 +1014,25 @@ const En = $(b)`
1014
1014
  function K({
1015
1015
  align: t = "left",
1016
1016
  title: e,
1017
- titleProps: o = {},
1017
+ titleProps: n = {},
1018
1018
  description: r,
1019
1019
  descriptionProps: i = {}
1020
1020
  }) {
1021
1021
  return /* @__PURE__ */ _(U, { children: [
1022
- e && /* @__PURE__ */ n(
1023
- P,
1022
+ e && /* @__PURE__ */ o(
1023
+ B,
1024
1024
  {
1025
1025
  className: k("card__title text-gray-800", "dark:text-gray-50"),
1026
1026
  component: "h5",
1027
1027
  variant: "h5",
1028
1028
  gutterBottom: !0,
1029
1029
  align: t,
1030
- ...o,
1030
+ ...n,
1031
1031
  children: e
1032
1032
  }
1033
1033
  ),
1034
- r && /* @__PURE__ */ n(
1035
- P,
1034
+ r && /* @__PURE__ */ o(
1035
+ B,
1036
1036
  {
1037
1037
  className: k("card__description", "text-gray-500", "dark:text-gray-400"),
1038
1038
  component: "div",
@@ -1045,10 +1045,10 @@ function K({
1045
1045
  )
1046
1046
  ] });
1047
1047
  }
1048
- function zn({
1048
+ function To({
1049
1049
  image: t,
1050
1050
  title: e,
1051
- description: o,
1051
+ description: n,
1052
1052
  imageProps: r = {},
1053
1053
  imageMeta: i,
1054
1054
  imageSize: s,
@@ -1056,15 +1056,15 @@ function zn({
1056
1056
  descriptionProps: c = {},
1057
1057
  actions: l,
1058
1058
  align: d,
1059
- ...u
1059
+ ...m
1060
1060
  }) {
1061
- const m = ft(t), h = R(N(t), 540);
1061
+ const u = ft(t), h = T(I(t), 540);
1062
1062
  return /* @__PURE__ */ _(
1063
- Wn,
1063
+ Eo,
1064
1064
  {
1065
1065
  className: "card-article",
1066
- ...u,
1067
- prepend: /* @__PURE__ */ n("div", { className: "card__image__wrap", children: m && t ? /* @__PURE__ */ n(
1066
+ ...m,
1067
+ prepend: /* @__PURE__ */ o("div", { className: "card__image__wrap", children: u && t ? /* @__PURE__ */ o(
1068
1068
  b,
1069
1069
  {
1070
1070
  sx: {
@@ -1077,9 +1077,9 @@ function zn({
1077
1077
  alignItems: "center",
1078
1078
  justifyContent: "center"
1079
1079
  },
1080
- children: /* @__PURE__ */ n(z, { icon: t, color: "primary.main" })
1080
+ children: /* @__PURE__ */ o(W, { icon: t, color: "primary.main" })
1081
1081
  }
1082
- ) : h && /* @__PURE__ */ n(
1082
+ ) : h && /* @__PURE__ */ o(
1083
1083
  "img",
1084
1084
  {
1085
1085
  className: "card__image",
@@ -1093,22 +1093,22 @@ function zn({
1093
1093
  }
1094
1094
  ) }),
1095
1095
  children: [
1096
- e || o ? /* @__PURE__ */ n(
1096
+ e || n ? /* @__PURE__ */ o(
1097
1097
  K,
1098
1098
  {
1099
1099
  align: d,
1100
1100
  title: e,
1101
1101
  titleProps: a,
1102
- description: o,
1102
+ description: n,
1103
1103
  descriptionProps: c
1104
1104
  }
1105
1105
  ) : null,
1106
- l != null && l.length ? /* @__PURE__ */ n(O, { align: d, actions: l, className: "mt-4" }) : null
1106
+ l != null && l.length ? /* @__PURE__ */ o(O, { align: d, actions: l, className: "mt-4" }) : null
1107
1107
  ]
1108
1108
  }
1109
1109
  );
1110
1110
  }
1111
- const Wn = $(J)`
1111
+ const Eo = $(q)`
1112
1112
  ${(t) => t.hoverStyle === "none" ? "" : t.link ? `transition: box-shadow ease .3s;
1113
1113
  &:hover {
1114
1114
  box-shadow: 0 0 10px rgba(95, 142, 244, 0.42);
@@ -1133,7 +1133,7 @@ const Wn = $(J)`
1133
1133
  function It({
1134
1134
  title: t,
1135
1135
  image: e,
1136
- imageMeta: o,
1136
+ imageMeta: n,
1137
1137
  description: r,
1138
1138
  actions: i,
1139
1139
  align: s,
@@ -1141,21 +1141,21 @@ function It({
1141
1141
  className: c = "",
1142
1142
  ...l
1143
1143
  }) {
1144
- return /* @__PURE__ */ _(Ln, { className: k("card", `list-type-${a}`, c), align: s, ...l, children: [
1145
- e && /* @__PURE__ */ n(
1146
- z,
1144
+ return /* @__PURE__ */ _(zo, { className: k("card", `list-type-${a}`, c), align: s, ...l, children: [
1145
+ e && /* @__PURE__ */ o(
1146
+ W,
1147
1147
  {
1148
1148
  icon: e,
1149
1149
  color: "primary.main",
1150
1150
  size: a === "icon-title" ? "1.2rem" : "3rem",
1151
- imageMeta: o
1151
+ imageMeta: n
1152
1152
  }
1153
1153
  ),
1154
- t || r ? /* @__PURE__ */ n(K, { align: s, title: t, description: r }) : null,
1155
- i != null && i.length ? /* @__PURE__ */ n(O, { align: s, actions: i, className: "mt-4" }) : null
1154
+ t || r ? /* @__PURE__ */ o(K, { align: s, title: t, description: r }) : null,
1155
+ i != null && i.length ? /* @__PURE__ */ o(O, { align: s, actions: i, className: "mt-4" }) : null
1156
1156
  ] });
1157
1157
  }
1158
- const Ln = $(J)`
1158
+ const zo = $(q)`
1159
1159
  padding: 5vw 4vw;
1160
1160
  box-sizing: border-box;
1161
1161
  /* min-height: 320px; */
@@ -1213,10 +1213,10 @@ const Ln = $(J)`
1213
1213
  box-sizing: border-box;
1214
1214
  }
1215
1215
  `;
1216
- function On({
1216
+ function Wo({
1217
1217
  image: t,
1218
1218
  title: e,
1219
- description: o,
1219
+ description: n,
1220
1220
  imageProps: r = {},
1221
1221
  imageMeta: i,
1222
1222
  imageSize: s,
@@ -1224,15 +1224,15 @@ function On({
1224
1224
  descriptionProps: c = {},
1225
1225
  actions: l,
1226
1226
  align: d,
1227
- ...u
1227
+ ...m
1228
1228
  }) {
1229
- const m = ft(t), h = R(N(t), 540);
1229
+ const u = ft(t), h = T(I(t), 540);
1230
1230
  return /* @__PURE__ */ _(
1231
- Hn,
1231
+ Lo,
1232
1232
  {
1233
1233
  className: "card-article",
1234
- ...u,
1235
- prepend: /* @__PURE__ */ n("div", { className: "card__image__wrap", children: m && t ? /* @__PURE__ */ n(
1234
+ ...m,
1235
+ prepend: /* @__PURE__ */ o("div", { className: "card__image__wrap", children: u && t ? /* @__PURE__ */ o(
1236
1236
  b,
1237
1237
  {
1238
1238
  sx: {
@@ -1245,9 +1245,9 @@ function On({
1245
1245
  alignItems: "center",
1246
1246
  justifyContent: "center"
1247
1247
  },
1248
- children: /* @__PURE__ */ n(z, { icon: t, color: "primary.main" })
1248
+ children: /* @__PURE__ */ o(W, { icon: t, color: "primary.main" })
1249
1249
  }
1250
- ) : h && /* @__PURE__ */ n(
1250
+ ) : h && /* @__PURE__ */ o(
1251
1251
  b,
1252
1252
  {
1253
1253
  component: "img",
@@ -1262,22 +1262,22 @@ function On({
1262
1262
  }
1263
1263
  ) }),
1264
1264
  children: [
1265
- e || o ? /* @__PURE__ */ n(
1265
+ e || n ? /* @__PURE__ */ o(
1266
1266
  K,
1267
1267
  {
1268
1268
  align: d,
1269
1269
  title: e,
1270
1270
  titleProps: a,
1271
- description: o,
1271
+ description: n,
1272
1272
  descriptionProps: c
1273
1273
  }
1274
1274
  ) : null,
1275
- l != null && l.length ? /* @__PURE__ */ n(O, { align: d, actions: l, className: "mt-4" }) : null
1275
+ l != null && l.length ? /* @__PURE__ */ o(O, { align: d, actions: l, className: "mt-4" }) : null
1276
1276
  ]
1277
1277
  }
1278
1278
  );
1279
1279
  }
1280
- const Hn = $(J)`
1280
+ const Lo = $(q)`
1281
1281
  ${(t) => t.hoverStyle === "none" ? "" : t.link ? `transition: box-shadow ease .3s;
1282
1282
  &:hover {
1283
1283
  box-shadow: 0 0 10px rgba(95, 142, 244, 0.42);
@@ -1302,10 +1302,10 @@ const Hn = $(J)`
1302
1302
  max-height: 60px;
1303
1303
  }
1304
1304
  `, Pt = "section";
1305
- function An({
1305
+ function Oo({
1306
1306
  title: t,
1307
1307
  image: e,
1308
- imageMeta: o,
1308
+ imageMeta: n,
1309
1309
  iconSize: r = 100,
1310
1310
  description: i,
1311
1311
  actions: s,
@@ -1313,15 +1313,15 @@ function An({
1313
1313
  className: c = "",
1314
1314
  ...l
1315
1315
  }) {
1316
- return /* @__PURE__ */ n(Mn, { className: k("card", c), ...l, children: /* @__PURE__ */ _(b, { className: "flex items-center", children: [
1317
- e && /* @__PURE__ */ n(z, { icon: e, color: "primary.main", size: r, imageMeta: o }),
1316
+ return /* @__PURE__ */ o(Ho, { className: k("card", c), ...l, children: /* @__PURE__ */ _(b, { className: "flex items-center", children: [
1317
+ e && /* @__PURE__ */ o(W, { icon: e, color: "primary.main", size: r, imageMeta: n }),
1318
1318
  /* @__PURE__ */ _(b, { className: "flex-1 ml-4", children: [
1319
- /* @__PURE__ */ n(K, { align: a, title: t, description: i }),
1320
- /* @__PURE__ */ n(O, { align: a, actions: s, className: "mt-4" })
1319
+ /* @__PURE__ */ o(K, { align: a, title: t, description: i }),
1320
+ /* @__PURE__ */ o(O, { align: a, actions: s, className: "mt-4" })
1321
1321
  ] })
1322
1322
  ] }) });
1323
1323
  }
1324
- const Mn = $(J)`
1324
+ const Ho = $(q)`
1325
1325
  padding: 5vw 4vw;
1326
1326
  text-align: left;
1327
1327
  box-sizing: border-box;
@@ -1378,10 +1378,10 @@ const Mn = $(J)`
1378
1378
  box-sizing: border-box;
1379
1379
  }
1380
1380
  `;
1381
- function Un({
1381
+ function Ao({
1382
1382
  title: t,
1383
1383
  titleProps: e = {},
1384
- description: o,
1384
+ description: n,
1385
1385
  descriptionProps: r = {},
1386
1386
  image: i,
1387
1387
  imageMeta: s,
@@ -1390,21 +1390,21 @@ function Un({
1390
1390
  hoverStyle: l,
1391
1391
  ...d
1392
1392
  }) {
1393
- return /* @__PURE__ */ _(Fn, { className: k("card-simple", a, `hover-style__${l}`), align: c, ...d, children: [
1394
- i && /* @__PURE__ */ n(z, { icon: i, color: "primary.main", imageMeta: s }),
1395
- t || o ? /* @__PURE__ */ n(
1393
+ return /* @__PURE__ */ _(Mo, { className: k("card-simple", a, `hover-style__${l}`), align: c, ...d, children: [
1394
+ i && /* @__PURE__ */ o(W, { icon: i, color: "primary.main", imageMeta: s }),
1395
+ t || n ? /* @__PURE__ */ o(
1396
1396
  K,
1397
1397
  {
1398
1398
  align: c,
1399
1399
  title: t,
1400
1400
  titleProps: e,
1401
- description: o,
1401
+ description: n,
1402
1402
  descriptionProps: r
1403
1403
  }
1404
1404
  ) : null
1405
1405
  ] });
1406
1406
  }
1407
- const Fn = $(J)`
1407
+ const Mo = $(q)`
1408
1408
  ${({ dark: t, theme: e }) => `background-color:${t ? e.palette.grey[900] : e.palette.common.white};`}
1409
1409
 
1410
1410
  &.hover-style__default {
@@ -1490,20 +1490,20 @@ const Fn = $(J)`
1490
1490
  }
1491
1491
  }
1492
1492
  `;
1493
- function Vn({ type: t = "default", ...e }) {
1493
+ function Uo({ type: t = "default", ...e }) {
1494
1494
  const r = {
1495
- article: zn,
1496
- simple: Un,
1497
- news: An,
1495
+ article: To,
1496
+ simple: Ao,
1497
+ news: Oo,
1498
1498
  default: It,
1499
- wall: On
1499
+ wall: Wo
1500
1500
  }[t] || It;
1501
- return /* @__PURE__ */ n(r, { ...t === "news" ? e : Ut(e, "iconSize") });
1501
+ return /* @__PURE__ */ o(r, { ...t === "news" ? e : j(e, "iconSize") });
1502
1502
  }
1503
- function Gn({
1503
+ function Fo({
1504
1504
  list: t = [],
1505
1505
  align: e = "top",
1506
- cards: o,
1506
+ cards: n,
1507
1507
  listBorder: r = !0,
1508
1508
  listType: i = "",
1509
1509
  col: s = 3,
@@ -1511,12 +1511,12 @@ function Gn({
1511
1511
  iconColor: c,
1512
1512
  className: l = "",
1513
1513
  type: d = "default",
1514
- dark: u = !1,
1515
- textAlign: m = "left",
1514
+ dark: m = !1,
1515
+ textAlign: u = "left",
1516
1516
  hoverStyle: h,
1517
1517
  ...p
1518
1518
  }) {
1519
- return /* @__PURE__ */ n(
1519
+ return /* @__PURE__ */ o(
1520
1520
  ht,
1521
1521
  {
1522
1522
  type: d,
@@ -1525,18 +1525,18 @@ function Gn({
1525
1525
  gap: a,
1526
1526
  align: e,
1527
1527
  ...p,
1528
- children: o || t.map((x) => /* @__PURE__ */ n(
1529
- Vn,
1528
+ children: n || t.map((x) => /* @__PURE__ */ o(
1529
+ Uo,
1530
1530
  {
1531
1531
  borderColor: r,
1532
1532
  iconColor: c,
1533
1533
  type: d,
1534
1534
  listType: i,
1535
- dark: u,
1535
+ dark: m,
1536
1536
  ...x,
1537
- align: m,
1537
+ align: u,
1538
1538
  sx: {
1539
- bgcolor: d === "wall" ? void 0 : u ? "grey.900" : "common.white"
1539
+ bgcolor: d === "wall" ? void 0 : m ? "grey.900" : "common.white"
1540
1540
  },
1541
1541
  style: a === 0 && t.length > 1 ? {
1542
1542
  borderRadius: 0,
@@ -1549,7 +1549,7 @@ function Gn({
1549
1549
  }
1550
1550
  );
1551
1551
  }
1552
- const Dn = [
1552
+ const Vo = [
1553
1553
  "align",
1554
1554
  "cards",
1555
1555
  "list",
@@ -1560,7 +1560,7 @@ const Dn = [
1560
1560
  "iconColor",
1561
1561
  "type",
1562
1562
  "textAlign"
1563
- ], qn = $(D)`
1563
+ ], Go = $(D)`
1564
1564
  a .card {
1565
1565
  color: #404040;
1566
1566
  cursor: pointer;
@@ -1576,14 +1576,14 @@ const Dn = [
1576
1576
  color: #404040;
1577
1577
  }
1578
1578
  `;
1579
- function Jn({ className: t, ...e }) {
1580
- const [o, r] = C(e, G), [i, s] = C(r, Dn);
1581
- return /* @__PURE__ */ _(qn, { className: k("section--card-list", t), type: e.type, ...s, children: [
1582
- Object.keys(o).length > 0 && /* @__PURE__ */ n(V, { center: !0, ...o, className: "mb-[2.5vw]" }),
1583
- /* @__PURE__ */ n(Gn, { ...i, dark: !!e.dark })
1579
+ function Do({ className: t, ...e }) {
1580
+ const [n, r] = N(e, G), [i, s] = N(r, Vo);
1581
+ return /* @__PURE__ */ _(Go, { className: k("section--card-list", t), type: e.type, ...s, children: [
1582
+ Object.keys(n).length > 0 && /* @__PURE__ */ o(V, { center: !0, ...n, className: "mb-[2.5vw]" }),
1583
+ /* @__PURE__ */ o(Fo, { ...i, dark: !!e.dark })
1584
1584
  ] });
1585
1585
  }
1586
- const Kn = $(Jn)`
1586
+ const Jo = $(Do)`
1587
1587
  .card__description {
1588
1588
  white-space: pre-wrap;
1589
1589
  }
@@ -1599,17 +1599,17 @@ const Kn = $(Jn)`
1599
1599
  background: inherit !important;
1600
1600
  }
1601
1601
  `;
1602
- function Xn({ section: t, ...e }) {
1603
- const [{ editing: o }, r] = C(e, q), i = j(() => {
1602
+ function qo({ section: t, ...e }) {
1603
+ const [{ editing: n }, r] = N(e, J), i = C(() => {
1604
1604
  var s;
1605
1605
  return {
1606
- ...W(r, ["listBorder", "list", "iconSize", "imageSize"]),
1606
+ ...j(r, ["listBorder", "list", "iconSize", "imageSize"]),
1607
1607
  list: (s = r.list) == null ? void 0 : s.map((a) => {
1608
1608
  var c, l;
1609
1609
  return {
1610
- ...W(a, "icon", "iconColor"),
1610
+ ...j(a, "icon", "iconColor"),
1611
1611
  image: ["news", "simple", "default"].includes(r.type) && a.icon ? a.icon : a.image,
1612
- actions: (l = (c = a.actions) == null ? void 0 : c.map) == null ? void 0 : l.call(c, (d) => /* @__PURE__ */ n(oe, { ...d, editing: o }, d.id)),
1612
+ actions: (l = (c = a.actions) == null ? void 0 : c.map) == null ? void 0 : l.call(c, (d) => /* @__PURE__ */ o(ne, { ...d, editing: n }, d.id)),
1613
1613
  border: r.listBorder,
1614
1614
  iconSize: r.iconSize,
1615
1615
  imageSize: r.imageSize,
@@ -1618,41 +1618,41 @@ function Xn({ section: t, ...e }) {
1618
1618
  })
1619
1619
  };
1620
1620
  }, [r]);
1621
- return /* @__PURE__ */ n(Kn, { style: o ? { pointerEvents: "none" } : {}, ...i });
1621
+ return /* @__PURE__ */ o(Jo, { style: n ? { pointerEvents: "none" } : {}, ...i });
1622
1622
  }
1623
- function Yn({
1623
+ function Ko({
1624
1624
  properties: t,
1625
1625
  section: e,
1626
- locale: o,
1626
+ locale: n,
1627
1627
  dev: r
1628
1628
  }) {
1629
1629
  var i;
1630
- return (i = e == null ? void 0 : e.config) != null && i.componentId ? /* @__PURE__ */ n(
1631
- Ye,
1630
+ return (i = e == null ? void 0 : e.config) != null && i.componentId ? /* @__PURE__ */ o(
1631
+ Xe,
1632
1632
  {
1633
1633
  instanceId: e.id,
1634
1634
  componentId: e.config.componentId,
1635
1635
  blockletId: e.config.blockletId,
1636
1636
  blockletTitle: e.config.blockletTitle,
1637
1637
  componentName: e.config.componentName,
1638
- locale: o,
1638
+ locale: n,
1639
1639
  properties: t,
1640
1640
  dev: r
1641
1641
  }
1642
- ) : /* @__PURE__ */ n(b, { textAlign: "center", py: 2, children: /* @__PURE__ */ n(P, { variant: "caption", color: "text.secondary", children: "Please select component to render" }) });
1642
+ ) : /* @__PURE__ */ o(b, { textAlign: "center", py: 2, children: /* @__PURE__ */ o(B, { variant: "caption", color: "text.secondary", children: "Please select component to render" }) });
1643
1643
  }
1644
- function Qn({
1644
+ function Xo({
1645
1645
  src: t,
1646
1646
  dataId: e,
1647
- isEdit: o = !1,
1647
+ isEdit: n = !1,
1648
1648
  height: r = "100%",
1649
1649
  onLoad: i = () => {
1650
1650
  }
1651
1651
  }) {
1652
- return /* @__PURE__ */ n(
1653
- nn,
1652
+ return /* @__PURE__ */ o(
1653
+ to,
1654
1654
  {
1655
- isEdit: o,
1655
+ isEdit: n,
1656
1656
  embedId: e,
1657
1657
  src: t,
1658
1658
  height: r,
@@ -1662,12 +1662,12 @@ function Qn({
1662
1662
  }
1663
1663
  );
1664
1664
  }
1665
- function Zn({ dataId: t, src: e, actions: o, center: r, onLoad: i, ...s }) {
1666
- const [a, c] = C(s, G);
1665
+ function Yo({ dataId: t, src: e, actions: n, center: r, onLoad: i, ...s }) {
1666
+ const [a, c] = N(s, G);
1667
1667
  return /* @__PURE__ */ _(D, { ...c, children: [
1668
- Object.keys(a).length > 0 && /* @__PURE__ */ n(V, { center: r, ...a }),
1669
- /* @__PURE__ */ n(
1670
- Qn,
1668
+ Object.keys(a).length > 0 && /* @__PURE__ */ o(V, { center: r, ...a }),
1669
+ /* @__PURE__ */ o(
1670
+ Xo,
1671
1671
  {
1672
1672
  dataId: t,
1673
1673
  src: e,
@@ -1675,24 +1675,24 @@ function Zn({ dataId: t, src: e, actions: o, center: r, onLoad: i, ...s }) {
1675
1675
  height: s.iframeHeight ? `${s.iframeHeight}px` : "100%"
1676
1676
  }
1677
1677
  ),
1678
- /* @__PURE__ */ n(O, { actions: o, center: r })
1678
+ /* @__PURE__ */ o(O, { actions: n, center: r })
1679
1679
  ] });
1680
1680
  }
1681
- function to({ section: t, id: e, src: o, ...r }) {
1682
- const i = `${e}-${r.locale}`, [{ editing: s }, a] = C(r, q), c = F({}), l = JSON.parse(JSON.stringify(a)), { message: d } = tn(i, "server"), u = _e(JSON.parse(JSON.stringify(a.config) || "{}"));
1683
- return E(() => {
1684
- d && d.onInit(() => u.current);
1685
- }, [d]), E(() => {
1686
- const m = JSON.parse(JSON.stringify(a.config) || "{}");
1687
- en(c.current, m) || (c.current = m, d == null || d.send("config-set", m));
1688
- }, [d, a.config]), o ? /* @__PURE__ */ n(Zn, { ...l, dataId: i, src: o, style: s ? { pointerEvents: "none" } : {} }) : /* @__PURE__ */ n(eo, { children: 'Please set the "src" attribute for this block' });
1681
+ function Qo({ section: t, id: e, src: n, ...r }) {
1682
+ const i = `${e}-${r.locale}`, [{ editing: s }, a] = N(r, J), c = F({}), l = JSON.parse(JSON.stringify(a)), { message: d } = Ze(i, "server"), m = _e(JSON.parse(JSON.stringify(a.config) || "{}"));
1683
+ return z(() => {
1684
+ d && d.onInit(() => m.current);
1685
+ }, [d]), z(() => {
1686
+ const u = JSON.parse(JSON.stringify(a.config) || "{}");
1687
+ Ut(c.current, u) || (c.current = u, d == null || d.send("config-set", u));
1688
+ }, [d, a.config]), n ? /* @__PURE__ */ o(Yo, { ...l, dataId: i, src: n, style: s ? { pointerEvents: "none" } : {} }) : /* @__PURE__ */ o(Zo, { children: 'Please set the "src" attribute for this block' });
1689
1689
  }
1690
- const eo = $("div")`
1690
+ const Zo = $("div")`
1691
1691
  user-select: none;
1692
1692
  color: #999;
1693
1693
  padding: 8px;
1694
1694
  height: 200px;
1695
- `, no = [
1695
+ `, tn = [
1696
1696
  /youtu\.be\/([^#&?]{11})/,
1697
1697
  // youtu.be/<id>
1698
1698
  /\?v=([^#&?]{11})/,
@@ -1704,42 +1704,42 @@ const eo = $("div")`
1704
1704
  /\/v\/([^#&?]{11})/
1705
1705
  // /v/<id>
1706
1706
  ];
1707
- function oo(t) {
1707
+ function en(t) {
1708
1708
  var e;
1709
1709
  if (/youtu\.?be/.test(t))
1710
- for (const o of no) {
1711
- const r = (e = o.exec(t)) == null ? void 0 : e[1];
1710
+ for (const n of tn) {
1711
+ const r = (e = n.exec(t)) == null ? void 0 : e[1];
1712
1712
  if (r)
1713
1713
  return r;
1714
1714
  }
1715
1715
  }
1716
- function ro(t) {
1717
- const e = oo(t);
1716
+ function on(t) {
1717
+ const e = en(t);
1718
1718
  if (e)
1719
1719
  return `https://youtube.com/embed/${e}`;
1720
1720
  }
1721
- function io({ src: t }) {
1722
- return E(() => {
1721
+ function nn({ src: t }) {
1722
+ return z(() => {
1723
1723
  import("@lottiefiles/lottie-player");
1724
- }, []), /* @__PURE__ */ n("lottie-player", { autoplay: !0, loop: !0, mode: "normal", src: t });
1724
+ }, []), /* @__PURE__ */ o("lottie-player", { autoplay: !0, loop: !0, mode: "normal", src: t });
1725
1725
  }
1726
- function so(t) {
1727
- return /* @__PURE__ */ n(b, { maxHeight: 400, overflow: "hidden auto", children: /* @__PURE__ */ n(on, { ...t }) });
1726
+ function rn(t) {
1727
+ return /* @__PURE__ */ o(b, { maxHeight: 400, overflow: "hidden auto", children: /* @__PURE__ */ o(eo, { ...t }) });
1728
1728
  }
1729
- function ao({ url: t }) {
1730
- const e = F(null), o = 495, [r, i] = T(
1731
- e.current ? e.current.offsetWidth * 0.5625 : o
1729
+ function sn({ url: t }) {
1730
+ const e = F(null), n = 495, [r, i] = E(
1731
+ e.current ? e.current.offsetWidth * 0.5625 : n
1732
1732
  ), s = mt(() => {
1733
- const a = window.innerWidth > 990 ? 1 : window.innerWidth > 522 ? 1.2 : window.innerWidth > 400 ? 1.45 : 1.85, c = e.current ? e.current.offsetWidth * 0.5625 : o;
1733
+ const a = window.innerWidth > 990 ? 1 : window.innerWidth > 522 ? 1.2 : window.innerWidth > 400 ? 1.45 : 1.85, c = e.current ? e.current.offsetWidth * 0.5625 : n;
1734
1734
  return i(Math.floor(c * a));
1735
1735
  }, []);
1736
- return E(() => {
1736
+ return z(() => {
1737
1737
  window.addEventListener("resize", s);
1738
- const a = window.innerWidth > 990 ? 1 : window.innerWidth > 522 ? 1.2 : window.innerWidth > 400 ? 1.45 : 1.85, c = e.current ? e.current.offsetWidth * 0.5625 : o;
1738
+ const a = window.innerWidth > 990 ? 1 : window.innerWidth > 522 ? 1.2 : window.innerWidth > 400 ? 1.45 : 1.85, c = e.current ? e.current.offsetWidth * 0.5625 : n;
1739
1739
  return i(Math.floor(c * a)), function() {
1740
1740
  window.removeEventListener("resize", s);
1741
1741
  };
1742
- }, [r, s]), /* @__PURE__ */ n(
1742
+ }, [r, s]), /* @__PURE__ */ o(
1743
1743
  b,
1744
1744
  {
1745
1745
  component: "iframe",
@@ -1755,14 +1755,14 @@ function ao({ url: t }) {
1755
1755
  }
1756
1756
  );
1757
1757
  }
1758
- const co = $(_n)`
1758
+ const an = $(vo)`
1759
1759
  .section__description {
1760
1760
  }
1761
1761
  `;
1762
- function lo({
1762
+ function cn({
1763
1763
  hasImage: t,
1764
1764
  fullSizeImage: e,
1765
- boxed: o,
1765
+ boxed: n,
1766
1766
  videoPoster: r,
1767
1767
  imageMeta: i,
1768
1768
  imageOptimization: s,
@@ -1771,33 +1771,33 @@ function lo({
1771
1771
  ...l
1772
1772
  }) {
1773
1773
  var p, x;
1774
- const [{ editing: d }, u] = C({ ...l, boxed: e ? void 0 : o }, q);
1775
- let m = mo(u.image, r, e, i, s, a);
1776
- t || (m = null);
1774
+ const [{ editing: d }, m] = N({ ...l, boxed: e ? void 0 : n }, J);
1775
+ let u = ln(m.image, r, e, i, s, a);
1776
+ t || (u = null);
1777
1777
  let h = null;
1778
- return u.actions && (h = (x = (p = u.actions) == null ? void 0 : p.map) == null ? void 0 : x.call(p, (y, f) => /* @__PURE__ */ n(oe, { ...y, editing: d }, f))), /* @__PURE__ */ n(
1779
- co,
1778
+ return m.actions && (h = (x = (p = m.actions) == null ? void 0 : p.map) == null ? void 0 : x.call(p, (y, f) => /* @__PURE__ */ o(ne, { ...y, editing: d }, f))), /* @__PURE__ */ o(
1779
+ an,
1780
1780
  {
1781
- ...u,
1781
+ ...m,
1782
1782
  style: d ? { pointerEvents: "none" } : {},
1783
- image: m,
1783
+ image: u,
1784
1784
  fullSizeImage: t && e,
1785
1785
  actions: h
1786
1786
  }
1787
1787
  );
1788
1788
  }
1789
- function mo(t, e, o, r, i, s) {
1789
+ function ln(t, e, n, r, i, s) {
1790
1790
  if (t) {
1791
1791
  if (t.endsWith(".json"))
1792
- return /* @__PURE__ */ n(io, { src: t });
1792
+ return /* @__PURE__ */ o(nn, { src: t });
1793
1793
  if (t.indexOf("twitter.com") !== -1)
1794
- return /* @__PURE__ */ n(so, { sourceType: "url", url: t });
1795
- const a = ro(t);
1794
+ return /* @__PURE__ */ o(rn, { sourceType: "url", url: t });
1795
+ const a = on(t);
1796
1796
  if (a)
1797
- return /* @__PURE__ */ n(ao, { url: a });
1797
+ return /* @__PURE__ */ o(sn, { url: a });
1798
1798
  const { naturalWidth: c, naturalHeight: l, filename: d } = r || {};
1799
1799
  if (it(t))
1800
- return /* @__PURE__ */ n(
1800
+ return /* @__PURE__ */ o(
1801
1801
  "video",
1802
1802
  {
1803
1803
  width: c && `${c}px`,
@@ -1812,23 +1812,23 @@ function mo(t, e, o, r, i, s) {
1812
1812
  width: "100%",
1813
1813
  height: "100%"
1814
1814
  },
1815
- poster: R(N(e), o ? 1200 : 540, i),
1816
- children: /* @__PURE__ */ n("source", { src: N(t), type: bn(t) })
1815
+ poster: T(I(e), n ? 1200 : 540, i),
1816
+ children: /* @__PURE__ */ o("source", { src: I(t), type: go(t) })
1817
1817
  },
1818
1818
  t
1819
1819
  );
1820
- const u = i === "quality" ? 1 : 0.6;
1821
- return /* @__PURE__ */ n(
1822
- Jt,
1820
+ const m = i === "quality" ? 1 : 0.6;
1821
+ return /* @__PURE__ */ o(
1822
+ qt,
1823
1823
  {
1824
- src: N(t),
1824
+ src: I(t),
1825
1825
  sizesAttr: {
1826
- sm: 600 * u,
1827
- md: 450 * u,
1828
- lg: 540 * u,
1829
- ...o && {
1830
- md: 900 * u,
1831
- lg: 1200 * u
1826
+ sm: 600 * m,
1827
+ md: 450 * m,
1828
+ lg: 540 * m,
1829
+ ...n && {
1830
+ md: 900 * m,
1831
+ lg: 1200 * m
1832
1832
  }
1833
1833
  },
1834
1834
  width: c && `${c}px`,
@@ -1841,78 +1841,78 @@ function mo(t, e, o, r, i, s) {
1841
1841
  }
1842
1842
  return null;
1843
1843
  }
1844
- const uo = ["production", "draft"];
1845
- function po({ mode: t, version: e } = {}) {
1846
- const o = e && typeof e == "number" ? { mode: t, version: e } : { mode: t };
1847
- return ct.get(`/api/${lt()}/pages`, { params: o }).then((r) => r.data);
1844
+ const dn = ["production", "draft"];
1845
+ function mn({ mode: t, version: e } = {}) {
1846
+ const n = e && typeof e == "number" ? { mode: t, version: e } : { mode: t };
1847
+ return ct.get(`/api/${lt()}/pages`, { params: n }).then((r) => r.data);
1848
1848
  }
1849
- function Pr({ mode: t, pages: e }) {
1850
- return ct.post(`/api/${lt()}/pages/publish`, { mode: t, pages: e }).then((o) => o.data);
1849
+ function Nr({ mode: t, pages: e }) {
1850
+ return ct.post(`/api/${lt()}/pages/publish`, { mode: t, pages: e }).then((n) => n.data);
1851
1851
  }
1852
- function ho({
1852
+ function un({
1853
1853
  locale: t,
1854
1854
  sort: e,
1855
- page: o,
1855
+ page: n,
1856
1856
  limit: r,
1857
1857
  mode: i
1858
1858
  } = {}) {
1859
- return ct.get(`/api/${lt()}/pages/toc`, { params: { locale: t, sort: e, page: o, limit: r, mode: i } }).then((s) => s.data);
1859
+ return ct.get(`/api/${lt()}/pages/toc`, { params: { locale: t, sort: e, page: n, limit: r, mode: i } }).then((s) => s.data);
1860
1860
  }
1861
1861
  const jt = 20;
1862
- function fo({ style: t, sort: e, section: o, ...r }) {
1863
- const [{ editing: i, locale: s }, a] = C(r, q), [c, l] = C(a, G), [d, u] = T(), m = F(!1), h = Ae(), p = ze(), x = mt(async () => {
1864
- if (!m.current) {
1865
- m.current = !0, h();
1862
+ function pn({ style: t, sort: e, section: n, ...r }) {
1863
+ const [{ editing: i, locale: s }, a] = N(r, J), [c, l] = N(a, G), [d, m] = E(), u = F(!1), h = He(), p = Ee(), x = mt(async () => {
1864
+ if (!u.current) {
1865
+ u.current = !0, h();
1866
1866
  try {
1867
- const y = d ? Math.floor(d.list.length / jt) + 1 : 1, { list: f, total: w } = await ho({ locale: s, sort: e, page: y, limit: jt });
1868
- u((g) => ({
1867
+ const y = d ? Math.floor(d.list.length / jt) + 1 : 1, { list: f, total: w } = await un({ locale: s, sort: e, page: y, limit: jt });
1868
+ m((g) => ({
1869
1869
  list: ((g == null ? void 0 : g.list) ?? []).concat(f),
1870
1870
  total: w
1871
1871
  }));
1872
1872
  } finally {
1873
- m.current = !1, h();
1873
+ u.current = !1, h();
1874
1874
  }
1875
1875
  }
1876
1876
  }, [d, s, e, h]);
1877
- return Me(() => {
1877
+ return Ae(() => {
1878
1878
  x();
1879
1879
  }), /* @__PURE__ */ _(D, { ...l, sx: i ? { pointerEvents: "none" } : {}, children: [
1880
- Object.keys(c).length > 0 && /* @__PURE__ */ n(V, { ...c }),
1880
+ Object.keys(c).length > 0 && /* @__PURE__ */ o(V, { ...c }),
1881
1881
  d ? /* @__PURE__ */ _(U, { children: [
1882
- /* @__PURE__ */ n(vt, { container: !0, spacing: 2, justifyContent: "center", children: d == null ? void 0 : d.list.map((y) => /* @__PURE__ */ n(vt, { item: !0, xs: 12, sm: t === "card" ? 6 : 12, md: t === "card" ? 3 : 12, children: /* @__PURE__ */ _(
1883
- go,
1882
+ /* @__PURE__ */ o(vt, { container: !0, spacing: 2, justifyContent: "center", children: d == null ? void 0 : d.list.map((y) => /* @__PURE__ */ o(vt, { item: !0, xs: 12, sm: t === "card" ? 6 : 12, md: t === "card" ? 3 : 12, children: /* @__PURE__ */ _(
1883
+ hn,
1884
1884
  {
1885
1885
  elevation: 0,
1886
1886
  className: k(t === "card" && "style-card"),
1887
1887
  onClick: i ? void 0 : () => p(y.slug),
1888
1888
  children: [
1889
- !!y.image && /* @__PURE__ */ n(
1889
+ !!y.image && /* @__PURE__ */ o(
1890
1890
  we,
1891
1891
  {
1892
1892
  component: "img",
1893
1893
  alt: "",
1894
- image: R(N(y.image), 540),
1894
+ image: T(I(y.image), 540),
1895
1895
  loading: "lazy"
1896
1896
  }
1897
1897
  ),
1898
1898
  /* @__PURE__ */ _(ve, { children: [
1899
- /* @__PURE__ */ n(P, { variant: "h6", component: "div", className: Bt, children: y.title || y.id }),
1900
- /* @__PURE__ */ n(P, { variant: "body2", className: Bt, children: y.description })
1899
+ /* @__PURE__ */ o(B, { variant: "h6", component: "div", className: Bt, children: y.title || y.id }),
1900
+ /* @__PURE__ */ o(B, { variant: "body2", className: Bt, children: y.description })
1901
1901
  ] })
1902
1902
  ]
1903
1903
  }
1904
1904
  ) }, y.id)) }),
1905
- /* @__PURE__ */ n(b, { textAlign: "center", mt: 2, children: d.total > d.list.length ? /* @__PURE__ */ n(M, { variant: "outlined", color: "secondary", onClick: x, loading: m.current, children: "More" }) : /* @__PURE__ */ n(M, { variant: "outlined", color: "secondary", disabled: !0, children: "No More" }) })
1906
- ] }) : /* @__PURE__ */ n(b, { p: 2, textAlign: "center", children: /* @__PURE__ */ n(Mt, { size: 24 }) })
1905
+ /* @__PURE__ */ o(b, { textAlign: "center", mt: 2, children: d.total > d.list.length ? /* @__PURE__ */ o(M, { variant: "outlined", color: "secondary", onClick: x, loading: u.current, children: "More" }) : /* @__PURE__ */ o(M, { variant: "outlined", color: "secondary", disabled: !0, children: "No More" }) })
1906
+ ] }) : /* @__PURE__ */ o(b, { p: 2, textAlign: "center", children: /* @__PURE__ */ o(Mt, { size: 24 }) })
1907
1907
  ] });
1908
1908
  }
1909
- const Bt = nt`
1909
+ const Bt = ot`
1910
1910
  display: -webkit-box;
1911
1911
  -webkit-box-orient: vertical;
1912
1912
  -webkit-line-clamp: 2;
1913
1913
  overflow: hidden;
1914
1914
  text-overflow: ellipsis;
1915
- `, go = $(ye)`
1915
+ `, hn = $(ye)`
1916
1916
  border: 1px solid #e0e0e0;
1917
1917
  background-color: transparent;
1918
1918
  cursor: pointer;
@@ -1932,34 +1932,40 @@ const Bt = nt`
1932
1932
  max-height: 50vw;
1933
1933
  }
1934
1934
  }
1935
- `, xo = {
1936
- iframe: to,
1937
- section: lo,
1938
- "section-card-list": Xn,
1939
- toc: fo,
1940
- "ai-runtime": Cn,
1941
- "custom-component": Yn
1935
+ `, fn = {
1936
+ iframe: Qo,
1937
+ section: cn,
1938
+ "section-card-list": qo,
1939
+ toc: pn,
1940
+ "ai-runtime": $o,
1941
+ "custom-component": Ko
1942
1942
  };
1943
- function bo({ id: t, type: e, mode: o, config: r, section: i, ...s }) {
1944
- const a = xo[e], c = a && /* @__PURE__ */ n(a, { mode: o, ...r, id: t, section: i });
1945
- return e === "custom-component" ? c : /* @__PURE__ */ n($n, { ...s, height: r.height, children: c });
1946
- }
1947
- const yo = $(rn, { shouldForwardProp: (t) => !!t })`
1943
+ function gn({ id: t, type: e, mode: n, config: r, section: i, ...s }) {
1944
+ const a = fn[e], c = C(() => {
1945
+ const { sx: m, height: u, ...h } = r;
1946
+ return h;
1947
+ }, [r]), l = C(() => {
1948
+ const m = { sx: r.sx };
1949
+ return e !== "custom-component" && (m.height = r.height), m;
1950
+ }, [r.sx, r.height, e]), d = a && /* @__PURE__ */ o(a, { mode: n, ...c, id: t, section: i });
1951
+ return /* @__PURE__ */ o(ko, { ...s, ...l, children: d });
1952
+ }
1953
+ const xn = $(oo, { shouldForwardProp: (t) => !!t })`
1948
1954
  & > div > .MuiContainer-root {
1949
1955
  max-width: unset;
1950
1956
  }
1951
1957
  `;
1952
- function wo({ meta: t, ...e }) {
1953
- const o = pt();
1954
- return /* @__PURE__ */ n(yo, { ...e, meta: t, theme: o || {} });
1958
+ function bn({ meta: t, ...e }) {
1959
+ const n = pt();
1960
+ return /* @__PURE__ */ o(xn, { ...e, meta: t, theme: n || {} });
1955
1961
  }
1956
- function vo(t) {
1957
- return /* @__PURE__ */ n(b, { display: "flex", flex: 1, height: "100%", alignItems: "center", justifyContent: "center", ...t, children: /* @__PURE__ */ n(Mt, { size: 30 }) });
1962
+ function yn(t) {
1963
+ return /* @__PURE__ */ o(b, { display: "flex", flex: 1, height: "100%", alignItems: "center", justifyContent: "center", ...t, children: /* @__PURE__ */ o(Mt, { size: 30 }) });
1958
1964
  }
1959
- function ko(t) {
1960
- return /* @__PURE__ */ n(_o, { ...t });
1965
+ function wn(t) {
1966
+ return /* @__PURE__ */ o(vn, { ...t });
1961
1967
  }
1962
- const _o = $(b)`
1968
+ const vn = $(b)`
1963
1969
  position: fixed;
1964
1970
  left: 0;
1965
1971
  top: 0;
@@ -1970,8 +1976,8 @@ const _o = $(b)`
1970
1976
  opacity: 0.7;
1971
1977
  transform: translateX(-23%) translateY(70%) rotate(-45deg);
1972
1978
  pointer-events: none;
1973
- `, $o = (t) => new Promise((e, o) => {
1974
- (t == null ? void 0 : t.length) > 0 ? sn.load({
1979
+ `, kn = (t) => new Promise((e, n) => {
1980
+ (t == null ? void 0 : t.length) > 0 ? no.load({
1975
1981
  google: {
1976
1982
  families: t
1977
1983
  },
@@ -1979,26 +1985,26 @@ const _o = $(b)`
1979
1985
  e("success");
1980
1986
  },
1981
1987
  fontinactive: () => {
1982
- o(new Error("load font fail"));
1988
+ n(new Error("load font fail"));
1983
1989
  }
1984
1990
  }) : e("success");
1985
1991
  }), Rt = `Avenir, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial,
1986
1992
  sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'`, Tt = {};
1987
- function So({
1993
+ function _n({
1988
1994
  titleFontFamily: t,
1989
1995
  descriptionFontFamily: e
1990
1996
  }) {
1991
- const o = async (r) => {
1997
+ const n = async (r) => {
1992
1998
  if (r && !document.querySelectorAll(`link[href*="${r}" i]`).length)
1993
1999
  try {
1994
- Tt[r] || (await $o([r]), Tt[r] = !0);
2000
+ Tt[r] || (await kn([r]), Tt[r] = !0);
1995
2001
  } catch (i) {
1996
2002
  console.error(i);
1997
2003
  }
1998
2004
  };
1999
- return E(() => {
2000
- t && o(t), e && o(e);
2001
- }, [t, e]), /* @__PURE__ */ n(
2005
+ return z(() => {
2006
+ t && n(t), e && n(e);
2007
+ }, [t, e]), /* @__PURE__ */ o(
2002
2008
  Lt,
2003
2009
  {
2004
2010
  styles: Ot`
@@ -2015,90 +2021,90 @@ function So({
2015
2021
  }
2016
2022
  );
2017
2023
  }
2018
- const { SessionProvider: jr, SessionContext: Co, SessionConsumer: Br, withSession: Rr } = an();
2024
+ const { SessionProvider: Ir, SessionContext: $n, SessionConsumer: Pr, withSession: jr } = ro();
2019
2025
  function gt() {
2020
- return Gt(Co);
2026
+ return Gt($n);
2021
2027
  }
2022
- function No(...t) {
2023
- var o;
2028
+ function Sn(...t) {
2029
+ var n;
2024
2030
  const { session: e } = gt();
2025
- return t.includes((o = e.user) == null ? void 0 : o.role);
2031
+ return t.includes((n = e.user) == null ? void 0 : n.role);
2026
2032
  }
2027
- function Io(...t) {
2033
+ function Cn(...t) {
2028
2034
  var r;
2029
- const { session: e } = gt(), o = No(...t);
2030
- return ((r = window.blocklet) == null ? void 0 : r.tenantMode) === "multiple" ? !!e.user : o;
2035
+ const { session: e } = gt(), n = Sn(...t);
2036
+ return ((r = window.blocklet) == null ? void 0 : r.tenantMode) === "multiple" ? !!e.user : n;
2031
2037
  }
2032
- function Po(t) {
2038
+ function Nn(t) {
2033
2039
  return t != null;
2034
2040
  }
2035
- function Tr() {
2036
- const [t] = We(), { session: e } = gt(), o = Io("owner", "admin", "pagesEditor", "member"), r = j(() => {
2041
+ function Br() {
2042
+ const [t] = ze(), { session: e } = gt(), n = Cn("owner", "admin", "pagesEditor", "member"), r = C(() => {
2037
2043
  const s = t.get("mode");
2038
- return uo.includes(s) ? s : "production";
2039
- }, [t]), i = r === "production" ? r : e.user ? o ? r : "production" : null;
2040
- return i ? /* @__PURE__ */ n(jo, { mode: i }) : null;
2044
+ return dn.includes(s) ? s : "production";
2045
+ }, [t]), i = r === "production" ? r : e.user ? n ? r : "production" : null;
2046
+ return i ? /* @__PURE__ */ o(In, { mode: i }) : null;
2041
2047
  }
2042
- function jo({ mode: t }) {
2048
+ function In({ mode: t }) {
2043
2049
  if (t !== "draft") {
2044
2050
  const e = window.__PAGE_STATE__;
2045
- return e ? /* @__PURE__ */ n(et, { mode: t, state: e }) : /* @__PURE__ */ n(Ro, { mode: t, children: ({ state: o }) => /* @__PURE__ */ n(et, { mode: t, state: o }) });
2051
+ return e ? /* @__PURE__ */ o(et, { mode: t, state: e }) : /* @__PURE__ */ o(jn, { mode: t, children: ({ state: n }) => /* @__PURE__ */ o(et, { mode: t, state: n }) });
2046
2052
  }
2047
- return /* @__PURE__ */ n(Bo, { children: ({ state: e }) => /* @__PURE__ */ n(et, { mode: t, state: e }) });
2053
+ return /* @__PURE__ */ o(Pn, { children: ({ state: e }) => /* @__PURE__ */ o(et, { mode: t, state: e }) });
2048
2054
  }
2049
- const Bo = Dt(() => import("./draft-data-vlK5oTGT.js"));
2050
- function Ro({
2055
+ const Pn = Dt(() => import("./draft-data-vlK5oTGT.js"));
2056
+ function jn({
2051
2057
  mode: t,
2052
2058
  children: e
2053
2059
  }) {
2054
- const o = document.querySelector('meta[property="pages:version"]'), r = o == null ? void 0 : o.content, i = de(), s = j(() => {
2060
+ const n = document.querySelector('meta[property="pages:version"]'), r = n == null ? void 0 : n.content, i = de(), s = C(() => {
2055
2061
  if (r === "{{pagesPublishedAt}}") {
2056
2062
  const l = localStorage.getItem(me(i ?? ""));
2057
2063
  return Number(l) ? Number(l) : (/* @__PURE__ */ new Date()).getTime();
2058
2064
  }
2059
2065
  return Number(r);
2060
- }, [r]), { loading: a, value: c } = qt(() => po({ mode: t, version: s }), [t, s]);
2061
- return a ? /* @__PURE__ */ n(vo, {}) : c ? e({ state: c }) : null;
2066
+ }, [r]), { loading: a, value: c } = Jt(() => mn({ mode: t, version: s }), [t, s]);
2067
+ return a ? /* @__PURE__ */ o(yn, {}) : c ? e({ state: c }) : null;
2062
2068
  }
2063
2069
  function et({ mode: t, state: e }) {
2064
2070
  var x, y, f, w;
2065
- const { t: o, locale: r } = zt(), {
2071
+ const { t: n, locale: r } = zt(), {
2066
2072
  pageIds: i,
2067
2073
  pages: s,
2068
2074
  supportedLocales: a,
2069
2075
  config: { defaultLocale: c },
2070
2076
  resources: l
2071
- } = e, d = Et(e), u = j(
2077
+ } = e, d = Et(e), m = C(
2072
2078
  () => a != null && a.some((g) => g.locale === r) ? r : void 0,
2073
2079
  [r, a]
2074
- ), m = Object.values(s).find((g) => (g == null ? void 0 : g.slug) === "/") ? void 0 : Object.values(s)[0], h = j(
2080
+ ), u = Object.values(s).find((g) => (g == null ? void 0 : g.slug) === "/") ? void 0 : Object.values(s)[0], h = C(
2075
2081
  () => i.map((g) => {
2076
2082
  const v = s[g];
2077
2083
  return v && {
2078
2084
  id: v.id,
2079
- path: Q("/", u || "", v.slug, t !== "production" ? `?mode=${t}` : "")
2085
+ path: Q("/", m || "", v.slug, t !== "production" ? `?mode=${t}` : "")
2080
2086
  };
2081
- }).filter(Po),
2082
- [i, s, u, t]
2087
+ }).filter(Nn),
2088
+ [i, s, m, t]
2083
2089
  ), p = ([...g]) => (t !== "production" && g.unshift(
2084
- /* @__PURE__ */ n(Be, { fallback: /* @__PURE__ */ n("div", {}), children: /* @__PURE__ */ n(To, { mode: "production", state: e }) })
2090
+ /* @__PURE__ */ o(je, { fallback: /* @__PURE__ */ o("div", {}), children: /* @__PURE__ */ o(Bn, { mode: "production", state: e }) })
2085
2091
  ), g);
2086
- return /* @__PURE__ */ _(Nn, { value: { pages: h }, children: [
2087
- /* @__PURE__ */ _(Le, { children: [
2088
- m && /* @__PURE__ */ n(Y, { index: !0, element: /* @__PURE__ */ n(Oe, { to: Q("/", u || "", m.slug) }) }),
2092
+ return /* @__PURE__ */ _(So, { value: { pages: h }, children: [
2093
+ /* @__PURE__ */ _(We, { children: [
2094
+ u && /* @__PURE__ */ o(Y, { index: !0, element: /* @__PURE__ */ o(Le, { to: Q("/", m || "", u.slug) }) }),
2089
2095
  i.map((g) => {
2090
2096
  const v = s[g];
2091
- return v ? /* @__PURE__ */ n(
2097
+ return v ? /* @__PURE__ */ o(
2092
2098
  Y,
2093
2099
  {
2094
2100
  path: Q(":projectIdOrSlug?", v.slug),
2095
- element: /* @__PURE__ */ n(
2101
+ element: /* @__PURE__ */ o(
2096
2102
  at,
2097
2103
  {
2098
2104
  mode: t,
2099
2105
  components: d,
2100
2106
  page: v,
2101
- locale: u,
2107
+ locale: m,
2102
2108
  defaultLocale: c,
2103
2109
  headerAddons: p
2104
2110
  }
@@ -2107,17 +2113,17 @@ function et({ mode: t, state: e }) {
2107
2113
  v.id
2108
2114
  ) : null;
2109
2115
  }),
2110
- l.pages && Object.values(l.pages).map(({ blockletId: g, page: v }) => /* @__PURE__ */ n(
2116
+ l.pages && Object.values(l.pages).map(({ blockletId: g, page: v }) => /* @__PURE__ */ o(
2111
2117
  Y,
2112
2118
  {
2113
2119
  path: Q("/", `@${g}`, v.slug),
2114
- element: /* @__PURE__ */ n(
2120
+ element: /* @__PURE__ */ o(
2115
2121
  at,
2116
2122
  {
2117
2123
  mode: t,
2118
2124
  components: d,
2119
2125
  page: v,
2120
- locale: u,
2126
+ locale: m,
2121
2127
  defaultLocale: c,
2122
2128
  headerAddons: p
2123
2129
  }
@@ -2125,17 +2131,17 @@ function et({ mode: t, state: e }) {
2125
2131
  },
2126
2132
  v.id
2127
2133
  )),
2128
- /* @__PURE__ */ n(
2134
+ /* @__PURE__ */ o(
2129
2135
  Y,
2130
2136
  {
2131
2137
  path: "*",
2132
- element: /* @__PURE__ */ n(b, { width: "100vw", height: "100vh", display: "flex", justifyContent: "center", alignItems: "center", children: /* @__PURE__ */ n(Wt, { style: { background: "inherit" }, status: 404, extra: /* @__PURE__ */ n(ie, { href: "/", children: o("common.back") }) }) })
2138
+ element: /* @__PURE__ */ o(b, { width: "100vw", height: "100vh", display: "flex", justifyContent: "center", alignItems: "center", children: /* @__PURE__ */ o(Wt, { style: { background: "inherit" }, status: 404, extra: /* @__PURE__ */ o(ie, { href: "/", children: n("common.back") }) }) })
2133
2139
  }
2134
2140
  )
2135
2141
  ] }),
2136
- t !== "production" && /* @__PURE__ */ n(ko, { sx: { bgcolor: "info.light" }, children: t }),
2137
- /* @__PURE__ */ n(
2138
- So,
2142
+ t !== "production" && /* @__PURE__ */ o(wn, { sx: { bgcolor: "info.light" }, children: t }),
2143
+ /* @__PURE__ */ o(
2144
+ _n,
2139
2145
  {
2140
2146
  titleFontFamily: (y = (x = e.config) == null ? void 0 : x.fontFamily) == null ? void 0 : y.title,
2141
2147
  descriptionFontFamily: (w = (f = e.config) == null ? void 0 : f.fontFamily) == null ? void 0 : w.description
@@ -2143,10 +2149,10 @@ function et({ mode: t, state: e }) {
2143
2149
  )
2144
2150
  ] });
2145
2151
  }
2146
- function Er({
2152
+ function Rr({
2147
2153
  mode: t,
2148
2154
  state: e,
2149
- path: o,
2155
+ path: n,
2150
2156
  pageData: r
2151
2157
  }) {
2152
2158
  const { t: i, locale: s } = zt(), {
@@ -2154,23 +2160,23 @@ function Er({
2154
2160
  supportedLocales: c,
2155
2161
  config: { defaultLocale: l },
2156
2162
  resources: d
2157
- } = e, u = Object.values(a).find((f) => (f == null ? void 0 : f.slug) === o), m = Object.values(d.pages || {}).find((f) => f.page.slug === o), h = j(
2163
+ } = e, m = Object.values(a).find((f) => (f == null ? void 0 : f.slug) === n), u = Object.values(d.pages || {}).find((f) => f.page.slug === n), h = C(
2158
2164
  () => c != null && c.some((f) => f.locale === s) ? s : void 0,
2159
2165
  [s, c]
2160
2166
  ), p = $e({
2161
2167
  page: null
2162
2168
  });
2163
- E(() => {
2164
- const f = u || (m == null ? void 0 : m.page) || null;
2169
+ z(() => {
2170
+ const f = m || (u == null ? void 0 : u.page) || null;
2165
2171
  f ? p.page = kt(f) : p.page = null;
2166
- }, [u, m]);
2172
+ }, [m, u]);
2167
2173
  const x = F();
2168
- if (E(() => {
2169
- Ce(r, x.current) || r && p.page && (cn(p.page, e, h, r), x.current = kt(r));
2170
- }, [{}]), !u && !(m != null && m.page))
2171
- return /* @__PURE__ */ n(b, { width: "100vw", height: "100vh", display: "flex", justifyContent: "center", alignItems: "center", children: /* @__PURE__ */ n(Wt, { style: { background: "inherit" }, status: 404, extra: /* @__PURE__ */ n(ie, { href: "/", children: i("common.back") }) }) });
2174
+ if (z(() => {
2175
+ Ut(r, x.current) || r && p.page && (io(p.page, e, h, r), x.current = kt(r));
2176
+ }, [{}]), !m && !(u != null && u.page))
2177
+ return /* @__PURE__ */ o(b, { width: "100vw", height: "100vh", display: "flex", justifyContent: "center", alignItems: "center", children: /* @__PURE__ */ o(Wt, { style: { background: "inherit" }, status: 404, extra: /* @__PURE__ */ o(ie, { href: "/", children: i("common.back") }) }) });
2172
2178
  const y = Et(e);
2173
- return p.page ? /* @__PURE__ */ n(
2179
+ return p.page ? /* @__PURE__ */ o(
2174
2180
  at,
2175
2181
  {
2176
2182
  mode: t,
@@ -2184,22 +2190,22 @@ function Er({
2184
2190
  function at({
2185
2191
  mode: t,
2186
2192
  components: e,
2187
- page: o,
2193
+ page: n,
2188
2194
  locale: r,
2189
2195
  defaultLocale: i,
2190
2196
  headerAddons: s
2191
2197
  }) {
2192
- var f, w, g, v, I, H, X, xt, bt;
2193
- const a = ((f = o.locales) == null ? void 0 : f[r]) ?? ((w = o.locales) == null ? void 0 : w[i]) ?? {}, c = a.title || ((g = window.blocklet) == null ? void 0 : g.appName), l = a.description || ((v = window.blocklet) == null ? void 0 : v.appDescription), d = R(N(a.image), 540), { logo: u, brand: m, description: h, ...p } = ue(), x = j(
2198
+ var f, w, g, v, P, H, X, xt, bt;
2199
+ const a = ((f = n.locales) == null ? void 0 : f[r]) ?? ((w = n.locales) == null ? void 0 : w[i]) ?? {}, c = a.title || ((g = window.blocklet) == null ? void 0 : g.appName), l = a.description || ((v = window.blocklet) == null ? void 0 : v.appDescription), d = T(I(a.image), 540), { logo: m, brand: u, description: h, ...p } = ue(), x = C(
2194
2200
  () => (L) => {
2195
2201
  var A;
2196
2202
  let S = (s == null ? void 0 : s(L)) ?? L;
2197
2203
  return S = ((A = p.addons) == null ? void 0 : A.call(p, S)) ?? S, S;
2198
2204
  },
2199
2205
  [p.addons, s]
2200
- ), y = (I = a.header) != null && I.translucent ? zo : re;
2206
+ ), y = (P = a.header) != null && P.translucent ? Tn : re;
2201
2207
  return /* @__PURE__ */ _(U, { children: [
2202
- !!a.backgroundColor && /* @__PURE__ */ n(
2208
+ !!a.backgroundColor && /* @__PURE__ */ o(
2203
2209
  Lt,
2204
2210
  {
2205
2211
  styles: Ot`
@@ -2209,45 +2215,45 @@ function at({
2209
2215
  `
2210
2216
  }
2211
2217
  ),
2212
- /* @__PURE__ */ n(
2218
+ /* @__PURE__ */ o(
2213
2219
  y,
2214
2220
  {
2215
2221
  hideNavMenu: !!((H = a.header) != null && H.hideNavMenus),
2216
2222
  translucentTextColor: (X = a.header) == null ? void 0 : X.translucentTextColor,
2217
- ...u ? { logo: u } : {},
2218
- ...m ? { brand: m } : {},
2223
+ ...m ? { logo: m } : {},
2224
+ ...u ? { brand: u } : {},
2219
2225
  ...h ? { description: h } : {},
2220
2226
  className: k(((xt = a.header) == null ? void 0 : xt.sticky) && "sticky", "page-header"),
2221
2227
  maxWidth: !1,
2222
2228
  addons: x
2223
2229
  }
2224
2230
  ),
2225
- /* @__PURE__ */ n(He, {}),
2226
- /* @__PURE__ */ _(Re, { children: [
2227
- /* @__PURE__ */ n("title", { children: c }),
2228
- /* @__PURE__ */ n("meta", { name: "og:title", content: c }),
2229
- /* @__PURE__ */ n("meta", { name: "og:description", content: l }),
2230
- /* @__PURE__ */ n("meta", { name: "og:image", content: d }),
2231
- /* @__PURE__ */ n("meta", { name: "twitter:image:src", content: d }),
2232
- /* @__PURE__ */ n("meta", { name: "twitter:image", content: d }),
2233
- /* @__PURE__ */ n("meta", { property: "twitter:description", content: l }),
2234
- /* @__PURE__ */ n("meta", { property: "twitter:title", content: c }),
2235
- /* @__PURE__ */ n("meta", { name: "description", content: l })
2231
+ /* @__PURE__ */ o(Oe, {}),
2232
+ /* @__PURE__ */ _(Be, { children: [
2233
+ /* @__PURE__ */ o("title", { children: c }),
2234
+ /* @__PURE__ */ o("meta", { name: "og:title", content: c }),
2235
+ /* @__PURE__ */ o("meta", { name: "og:description", content: l }),
2236
+ /* @__PURE__ */ o("meta", { name: "og:image", content: d }),
2237
+ /* @__PURE__ */ o("meta", { name: "twitter:image:src", content: d }),
2238
+ /* @__PURE__ */ o("meta", { name: "twitter:image", content: d }),
2239
+ /* @__PURE__ */ o("meta", { property: "twitter:description", content: l }),
2240
+ /* @__PURE__ */ o("meta", { property: "twitter:title", content: c }),
2241
+ /* @__PURE__ */ o("meta", { name: "description", content: l })
2236
2242
  ] }),
2237
- /* @__PURE__ */ n(dt, { flexGrow: 1, children: o.sectionIds.map((L) => {
2243
+ /* @__PURE__ */ o(dt, { flexGrow: 1, children: n.sectionIds.map((L) => {
2238
2244
  var yt, wt;
2239
- const S = o.sections[L];
2245
+ const S = n.sections[L];
2240
2246
  if (!S || S.visibility === "hidden") return null;
2241
2247
  const A = (yt = S.locales) == null ? void 0 : yt[r], se = ((wt = S.locales) == null ? void 0 : wt[i]) ?? {};
2242
- return /* @__PURE__ */ n(
2243
- bo,
2248
+ return /* @__PURE__ */ o(
2249
+ gn,
2244
2250
  {
2245
2251
  id: L,
2246
2252
  type: S.component,
2247
2253
  mode: t,
2248
2254
  section: S,
2249
2255
  config: {
2250
- ...Ne(A) ? se : A,
2256
+ ...Ce(A) ? se : A,
2251
2257
  locale: r,
2252
2258
  dev: t === "draft" ? {
2253
2259
  mode: t,
@@ -2259,42 +2265,42 @@ function at({
2259
2265
  L
2260
2266
  );
2261
2267
  }) }),
2262
- !((bt = a.footer) != null && bt.hidden) && /* @__PURE__ */ n(wo, {})
2268
+ !((bt = a.footer) != null && bt.hidden) && /* @__PURE__ */ o(bn, {})
2263
2269
  ] });
2264
2270
  }
2265
- const To = Dt(() => import("./publish-button-DUkACr5d.js")), re = Ht(pe)`
2271
+ const Bn = Dt(() => import("./publish-button-BTed0K41.js")), re = Ht(pe)`
2266
2272
  &.sticky {
2267
2273
  position: sticky;
2268
2274
  top: 0;
2269
2275
  }
2270
2276
  `;
2271
- function Eo({ logo: t }) {
2272
- const [e, o] = T(), { value: r } = qt(() => new Promise((i) => {
2277
+ function Rn({ logo: t }) {
2278
+ const [e, n] = E(), { value: r } = Jt(() => new Promise((i) => {
2273
2279
  fetch("/.well-known/service/blocklet/logo-rect").then((s) => {
2274
2280
  const a = s.headers.get("content-type");
2275
2281
  a != null && a.includes("svg") && s.text().then((c) => {
2276
- o(c), i(null);
2282
+ n(c), i(null);
2277
2283
  }), i(s.url);
2278
2284
  });
2279
2285
  }), []);
2280
2286
  if (t)
2281
2287
  return t;
2282
2288
  if (e)
2283
- return /* @__PURE__ */ n(b, { sx: { filter: "initial !important" }, dangerouslySetInnerHTML: { __html: Se.sanitize(e) } });
2289
+ return /* @__PURE__ */ o(b, { sx: { filter: "initial !important" }, dangerouslySetInnerHTML: { __html: Se.sanitize(e) } });
2284
2290
  if (r) {
2285
2291
  const i = new URL(r);
2286
2292
  i.searchParams.set("imageFilter", "convert"), i.searchParams.set("f", "png"), i.searchParams.set("h", "80");
2287
2293
  const s = i.toString();
2288
- return /* @__PURE__ */ n("img", { src: s, alt: "logo" });
2294
+ return /* @__PURE__ */ o("img", { src: s, alt: "logo" });
2289
2295
  }
2290
2296
  return null;
2291
2297
  }
2292
- function zo({
2298
+ function Tn({
2293
2299
  logo: t,
2294
2300
  translucentTextColor: e,
2295
- ...o
2301
+ ...n
2296
2302
  }) {
2297
- const { y: r } = Ue();
2303
+ const { y: r } = Me();
2298
2304
  let i = Math.min(r / 800, 1), s = "";
2299
2305
  if (i > 0.1) {
2300
2306
  i = Math.max(i, 0.6);
@@ -2302,11 +2308,11 @@ function zo({
2302
2308
  s = `rgb(${a}, ${a}, ${a})`;
2303
2309
  } else
2304
2310
  s = e || "#EEEEEE";
2305
- return /* @__PURE__ */ n(
2311
+ return /* @__PURE__ */ o(
2306
2312
  re,
2307
2313
  {
2308
- logo: /* @__PURE__ */ n(Eo, { logo: t }),
2309
- ...o,
2314
+ logo: /* @__PURE__ */ o(Rn, { logo: t }),
2315
+ ...n,
2310
2316
  className: k(i <= 0.7 && "reverse-color"),
2311
2317
  style: {
2312
2318
  backgroundColor: `rgba(255,255,255,${i})`,
@@ -2338,13 +2344,13 @@ function zo({
2338
2344
  }
2339
2345
  const ie = Ht(ke)``;
2340
2346
  export {
2341
- Tr as H,
2342
- vo as L,
2347
+ Br as H,
2348
+ yn as L,
2343
2349
  et as P,
2344
- zo as T,
2345
- jo as a,
2346
- Er as b,
2350
+ Tn as T,
2351
+ In as a,
2352
+ Rr as b,
2347
2353
  at as c,
2348
- po as g,
2349
- Pr as p
2354
+ mn as g,
2355
+ Nr as p
2350
2356
  };