@blocklet/pages-kit-inner-components 0.5.47 → 0.5.49

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (35) hide show
  1. package/lib/cjs/add-component.js +19 -19
  2. package/lib/cjs/chunks/{array-Cip5uTnI.js → array-BqHuYyfx.js} +1 -1
  3. package/lib/cjs/chunks/{config-string-CEipCOnU.js → config-string-4bVR9Vc8.js} +1 -1
  4. package/lib/cjs/chunks/{draft-data-F0V4PcIs.js → draft-data-CuZfaQ4s.js} +1 -1
  5. package/lib/cjs/chunks/{home-BCFoaIEZ.js → home-CQTuGad2.js} +3 -3
  6. package/lib/cjs/chunks/{publish-button-Bbd4z1_d.js → publish-button-1xmfwN7o.js} +1 -1
  7. package/lib/cjs/chunks/site-state-BtZ8o3J2.js +57 -0
  8. package/lib/cjs/chunks/state-BVdbNJCA.js +1 -0
  9. package/lib/cjs/components.js +1 -1
  10. package/lib/cjs/home.js +1 -1
  11. package/lib/cjs/locales.js +2 -2
  12. package/lib/cjs/project-html.js +1 -1
  13. package/lib/cjs/resources.js +1 -1
  14. package/lib/cjs/setting.js +3 -3
  15. package/lib/cjs/site-state.js +1 -1
  16. package/lib/cjs/theme.js +1 -1
  17. package/lib/es/add-component.js +18 -17
  18. package/lib/es/chunks/{array-DM0x2Sjw.js → array-c6HYTLze.js} +1 -1
  19. package/lib/es/chunks/{config-string-Dw6sJMn_.js → config-string-WMpFf-7V.js} +1 -1
  20. package/lib/es/chunks/{draft-data-sTSk4UTm.js → draft-data-CWM--ooz.js} +1 -1
  21. package/lib/es/chunks/{home-ClxOpmCx.js → home-DQjaiv2F.js} +4 -4
  22. package/lib/es/chunks/{publish-button-CKXdANG9.js → publish-button-wYeS7m-g.js} +3 -3
  23. package/lib/es/chunks/{site-state-BeEHvakk.js → site-state-D-moj9fA.js} +527 -550
  24. package/lib/es/chunks/{state-COB6reM7.js → state-l--dTdHq.js} +87 -88
  25. package/lib/es/components.js +1 -1
  26. package/lib/es/home.js +3 -3
  27. package/lib/es/locales.js +2 -2
  28. package/lib/es/project-html.js +1 -1
  29. package/lib/es/resources.js +1 -1
  30. package/lib/es/setting.js +94 -93
  31. package/lib/es/site-state.js +6 -5
  32. package/lib/es/theme.js +34 -34
  33. package/package.json +3 -3
  34. package/lib/cjs/chunks/site-state-CeQEnrvX.js +0 -57
  35. package/lib/cjs/chunks/state-UwRWAZRe.js +0 -1
@@ -1,78 +1,78 @@
1
1
  import { jsx as T } from "react/jsx-runtime";
2
- import { Box as K, Alert as q } from "@mui/material";
3
- import { joinURL as _, withQuery as Q } from "ufo";
4
- import { createAxios as X } from "@blocklet/js-sdk";
2
+ import { Box as z, Alert as Q } from "@mui/material";
3
+ import { joinURL as _, withQuery as X } from "ufo";
4
+ import { createAxios as q } from "@blocklet/js-sdk";
5
5
  import Y from "lodash/isEmpty";
6
6
  import * as Z from "yaml";
7
7
  import { useLocaleContext as H } from "@arcblock/ux/lib/Locale/context";
8
+ import { nextId as A } from "@blocklet/pages-kit/utils/common";
8
9
  import { getPageTemplateModel as ee } from "@blocklet/pages-kit/utils/page-model";
9
10
  import te, { getYjsDoc as oe } from "@syncedstore/core";
10
11
  import { useSyncedStore as ne } from "@syncedstore/react";
11
12
  import { useLocalStorageState as re } from "ahooks";
12
- import { produce as M } from "immer";
13
+ import { produce as k } from "immer";
13
14
  import G from "lodash/cloneDeep";
14
15
  import F from "lodash/debounce";
15
- import { customAlphabet as se } from "nanoid";
16
- import { createContext as ce, useState as $, useRef as ie, useMemo as L, useCallback as R, useEffect as D, useContext as ae } from "react";
17
- import { useParams as de, useNavigate as le } from "react-router-dom";
18
- import { IndexeddbPersistence as ue } from "y-indexeddb";
19
- import { WebsocketProvider as me } from "y-websocket";
20
- import { UndoManager as fe } from "yjs";
16
+ import { createContext as se, useState as $, useRef as ce, useMemo as L, useCallback as R, useEffect as D, useContext as ie } from "react";
17
+ import { useParams as ae, useNavigate as de } from "react-router-dom";
18
+ import { IndexeddbPersistence as le } from "y-indexeddb";
19
+ import { WebsocketProvider as ue } from "y-websocket";
20
+ import { UndoManager as me } from "yjs";
21
21
  import "@blocklet/pages-kit/types";
22
22
  const Ke = (s) => {
23
23
  const n = blocklet == null ? void 0 : blocklet.componentMountPoints.find((f) => f.name === s);
24
24
  return n ? n.mountPoint : "/";
25
25
  };
26
- function Se() {
26
+ function fe() {
27
27
  const { pathname: s } = window.location, n = s.match(/\/admin\/(maker|previewer)\/([^/]+)/), f = n == null ? void 0 : n[2], h = window.__PROJECT_ID__;
28
28
  if (!f && !h)
29
29
  throw new Error("Unable to get projectId from pathname");
30
30
  return f || h;
31
31
  }
32
- function qe(s) {
32
+ function ze(s) {
33
33
  return `${s}:pages:version`;
34
34
  }
35
35
  function Qe(s, n) {
36
36
  return n === "yaml" ? Y(s) ? "" : Z.stringify(s, { indent: 2 }) : n === "json" ? JSON.parse(JSON.stringify(s || {})) : n === "array" ? JSON.parse(JSON.stringify(s || [])) : s;
37
37
  }
38
38
  function Xe({ error: s }) {
39
- return /* @__PURE__ */ T(K, { children: /* @__PURE__ */ T(q, { severity: "error", children: s.message }) });
39
+ return /* @__PURE__ */ T(z, { children: /* @__PURE__ */ T(Q, { severity: "error", children: s.message }) });
40
40
  }
41
41
  var B;
42
- const J = ((B = window.blocklet) == null ? void 0 : B.prefix) || "/", W = X({
42
+ const J = ((B = window.blocklet) == null ? void 0 : B.prefix) || "/", W = q({
43
43
  timeout: 200 * 1e3
44
- }), pe = window.location.protocol === "https:" ? "wss" : "ws", Ye = (s) => _(`${pe}://${window.location.hostname}`, J, `api/${s}/ws/pages`), ge = "z8ia1mAXo8ZE7ytGF36L5uBf9kD2kenhqFGp9";
44
+ }), Se = window.location.protocol === "https:" ? "wss" : "ws", qe = (s) => _(`${Se}://${window.location.hostname}`, J, `api/${s}/ws/pages`), pe = "z8ia1mAXo8ZE7ytGF36L5uBf9kD2kenhqFGp9";
45
45
  var U;
46
- (U = blocklet == null ? void 0 : blocklet.componentMountPoints.find((s) => s.did === ge)) != null && U.mountPoint || _(J, "/image-bin");
47
- function Ze(s) {
46
+ (U = blocklet == null ? void 0 : blocklet.componentMountPoints.find((s) => s.did === pe)) != null && U.mountPoint || _(J, "/image-bin");
47
+ function Ye(s) {
48
48
  return s && !/^(https?:\/\/|\/)/.test(s) ? window.location.origin + _(J, "uploads", s) : s;
49
49
  }
50
- const Pe = window.innerWidth <= 750;
51
- function He(s, n, f) {
50
+ const ge = window.innerWidth <= 750;
51
+ function Ze(s, n, f) {
52
52
  if (!s || /\.gif/.test(s)) return s;
53
- const h = (Pe ? n / 1.5 : n) * (f === "quality" ? 1.5 : 1);
54
- return we(s, { imageFilter: "resize", w: h, f: "webp" });
53
+ const h = (ge ? n / 1.5 : n) * (f === "quality" ? 1.5 : 1);
54
+ return Pe(s, { imageFilter: "resize", w: h, f: "webp" });
55
55
  }
56
- function we(s, n) {
57
- return !s || !n ? s : Q(s, n);
56
+ function Pe(s, n) {
57
+ return !s || !n ? s : X(s, n);
58
58
  }
59
- async function Ie(s) {
59
+ async function we(s) {
60
60
  return W.get(`/api/projects/${s}`).then((n) => n.data);
61
61
  }
62
- async function ye(s) {
62
+ async function Ie(s) {
63
63
  return W.post(`/api/projects/${s.id}/update`, s).then((n) => n.data);
64
64
  }
65
- const he = 500, A = se("abcdefghijklmnopqrstuvwxyz0123456789", 16), N = ce(null);
66
- function et({
65
+ const ye = 500, N = se(null);
66
+ function He({
67
67
  url: s,
68
68
  name: n,
69
69
  children: f,
70
70
  waitingSynced: h
71
71
  }) {
72
- const [E, j] = $(!1), { locale: S } = H(), v = V(), k = `${v}:MakerLocalState`, e = `${v}:${n}`, [t, c] = re(k, {
72
+ const [E, O] = $(!1), { locale: S } = H(), v = V(), M = `${v}:MakerLocalState`, e = `${v}:${n}`, [t, c] = re(M, {
73
73
  defaultValue: {},
74
74
  listenStorageChange: !0
75
- }), r = ie(t);
75
+ }), r = ce(t);
76
76
  r.current = t;
77
77
  const i = L(
78
78
  () => te({
@@ -89,9 +89,9 @@ function et({
89
89
  }),
90
90
  []
91
91
  ), o = L(() => oe(i), [i]);
92
- L(() => new ue(e, o), [e, o]);
92
+ L(() => new le(e, o), [e, o]);
93
93
  const a = L(
94
- () => new me(s, e, o, {
94
+ () => new ue(s, e, o, {
95
95
  params: {},
96
96
  resyncInterval: 5 * 60 * 1e3
97
97
  }),
@@ -99,7 +99,7 @@ function et({
99
99
  ), d = R(() => {
100
100
  a && (a.disconnect(), a.connect());
101
101
  }, [a]), l = L(
102
- () => new fe(
102
+ () => new me(
103
103
  [
104
104
  o.getArray("pageIds"),
105
105
  o.getMap("pages"),
@@ -117,7 +117,7 @@ function et({
117
117
  if (v) {
118
118
  P(!0);
119
119
  try {
120
- const g = await Ie(v);
120
+ const g = await we(v);
121
121
  m(g);
122
122
  } catch (g) {
123
123
  console.error("Failed to fetch project:", g);
@@ -127,19 +127,19 @@ function et({
127
127
  }
128
128
  }, [v]), b = R(
129
129
  async (g, I) => {
130
- var O;
130
+ var j;
131
131
  if (C(void 0), !!v) {
132
132
  I != null && I.optimisticUpdate && u && m((y) => ({
133
133
  ...y,
134
134
  ...g
135
135
  }));
136
136
  try {
137
- const y = await ye({
137
+ const y = await Ie({
138
138
  ...g
139
139
  });
140
140
  m(y);
141
141
  } catch (y) {
142
- console.error("Failed to update project:", y), I != null && I.optimisticUpdate && m(u), C((O = y == null ? void 0 : y.response) == null ? void 0 : O.data);
142
+ console.error("Failed to update project:", y), I != null && I.optimisticUpdate && m(u), C((j = y == null ? void 0 : y.response) == null ? void 0 : j.data);
143
143
  }
144
144
  }
145
145
  },
@@ -148,7 +148,7 @@ function et({
148
148
  D(() => {
149
149
  v && p();
150
150
  }, [v, p]);
151
- const z = L(
151
+ const K = L(
152
152
  () => ({
153
153
  doc: o,
154
154
  state: i,
@@ -185,16 +185,16 @@ function et({
185
185
  );
186
186
  return D(() => {
187
187
  l.on("stack-item-added", ({ stackItem: g }) => {
188
- const { currentPageId: I, currentLocale: O, pages: y } = r.current;
189
- g.meta.set("localState", { currentPageId: I, currentLocale: O, pages: y });
188
+ const { currentPageId: I, currentLocale: j, pages: y } = r.current;
189
+ g.meta.set("localState", { currentPageId: I, currentLocale: j, pages: y });
190
190
  }), l.on("stack-item-popped", ({ stackItem: g }) => {
191
191
  const I = g.meta.get("localState");
192
- I && c((O) => ({ ...O, ...I }));
192
+ I && c((j) => ({ ...j, ...I }));
193
193
  });
194
194
  }, [l, c]), D(() => {
195
195
  a.awareness.setLocalState(t);
196
196
  }, [a, t]), D(() => {
197
- a.once("synced", () => j(!0));
197
+ a.once("synced", () => O(!0));
198
198
  const g = () => {
199
199
  c((y) => ({
200
200
  ...y,
@@ -205,19 +205,19 @@ function et({
205
205
  ...y,
206
206
  networkStatus: "offline"
207
207
  }));
208
- }, O = F(({ status: y }) => {
208
+ }, j = F(({ status: y }) => {
209
209
  y === "connected" ? g() : y === "disconnected" && I();
210
- }, he);
211
- return a.on("status", O), window.addEventListener("online", g), window.addEventListener("offline", I), () => {
212
- a.off("status", O), window.removeEventListener("online", g), window.removeEventListener("offline", I);
210
+ }, ye);
211
+ return a.on("status", j), window.addEventListener("online", g), window.addEventListener("offline", I), () => {
212
+ a.off("status", j), window.removeEventListener("online", g), window.removeEventListener("offline", I);
213
213
  };
214
- }, [a, c]), h && !E ? null : /* @__PURE__ */ T(N.Provider, { value: z, children: f });
214
+ }, [a, c]), h && !E ? null : /* @__PURE__ */ T(N.Provider, { value: K, children: f });
215
215
  }
216
- const ve = () => {
217
- const s = ae(N);
216
+ const he = () => {
217
+ const s = ie(N);
218
218
  if (!s)
219
219
  throw new Error("Context is null");
220
- const n = ne(s.state), { setLocalState: f, localState: h } = s, E = le(), j = V(), S = L(
220
+ const n = ne(s.state), { setLocalState: f, localState: h } = s, E = de(), O = V(), S = L(
221
221
  () => ({
222
222
  get currentPage() {
223
223
  const {
@@ -306,23 +306,23 @@ const ve = () => {
306
306
  () => ({
307
307
  setCurrentSectionId: (e, t) => {
308
308
  var c, r;
309
- e === h.currentPageId && t === ((r = (c = h.pages) == null ? void 0 : c[e]) == null ? void 0 : r.currentSectionId) || (E(_("/admin/maker", j ?? "", "pages", e)), f(
310
- (i) => M(i, (o) => {
309
+ e === h.currentPageId && t === ((r = (c = h.pages) == null ? void 0 : c[e]) == null ? void 0 : r.currentSectionId) || (E(_("/admin/maker", O ?? "", "pages", e)), f(
310
+ (i) => k(i, (o) => {
311
311
  var a;
312
312
  o.currentPageId = e, o.currentComponentId = void 0, t !== void 0 && (o.pages ?? (o.pages = {}), (a = o.pages)[e] ?? (a[e] = {}), o.pages[e].currentSectionId = t ?? void 0), t ? window.sessionStorage.setItem("iframe_show_id", `"${t}"`) : window.sessionStorage.removeItem("iframe_show_id");
313
313
  })
314
314
  ));
315
315
  },
316
316
  setCurrentComponentId: (e) => {
317
- e !== h.currentComponentId && (E(_("/admin/maker", j ?? "", "components", e)), f(
318
- (t) => M(t, (c) => {
317
+ e !== h.currentComponentId && (E(_("/admin/maker", O ?? "", "components", e)), f(
318
+ (t) => k(t, (c) => {
319
319
  c.currentComponentId = e;
320
320
  })
321
321
  ));
322
322
  },
323
323
  setCurrentRouteId: ({ routeId: e, dynamicParams: t }) => {
324
324
  f(
325
- (c) => M(c, (r) => {
325
+ (c) => k(c, (r) => {
326
326
  r.currentRouteId = e, r.currentDynamicParams = t;
327
327
  })
328
328
  );
@@ -333,7 +333,7 @@ const ve = () => {
333
333
  let t = "";
334
334
  const c = F(() => {
335
335
  f(
336
- (r) => M(r, (i) => {
336
+ (r) => k(r, (i) => {
337
337
  i.customComponentPreviewerProperties ?? (i.customComponentPreviewerProperties = {}), i.customComponentPreviewerProperties[t] = {
338
338
  ...i.customComponentPreviewerProperties[t],
339
339
  ...G(e[t])
@@ -348,7 +348,7 @@ const ve = () => {
348
348
  })(),
349
349
  setRouteGenerateProcess: (e) => {
350
350
  f(
351
- (t) => M(t, (c) => {
351
+ (t) => k(t, (c) => {
352
352
  e ? c.routeGenerateProcess = {
353
353
  ...c.routeGenerateProcess,
354
354
  ...e
@@ -358,7 +358,7 @@ const ve = () => {
358
358
  },
359
359
  resetRouteGenerateProcess: () => {
360
360
  f(
361
- (e) => M(e, (t) => {
361
+ (e) => k(e, (t) => {
362
362
  t.routeGenerateProcess = {
363
363
  progress: "complete"
364
364
  };
@@ -366,8 +366,8 @@ const ve = () => {
366
366
  );
367
367
  }
368
368
  }),
369
- [f, E, j, S]
370
- ), k = L(
369
+ [f, E, O, S]
370
+ ), M = L(
371
371
  () => ({
372
372
  addPage: (e, t) => {
373
373
  var i, o, a, d, l, u;
@@ -538,43 +538,43 @@ const ve = () => {
538
538
  return {
539
539
  ...s,
540
540
  state: n,
541
- actions: k,
541
+ actions: M,
542
542
  localActions: v,
543
543
  ...S
544
544
  };
545
545
  }, V = () => {
546
- const { projectId: s } = de();
547
- return s ?? Se() ?? "";
548
- }, tt = () => window.__PROJECT_SLUG__ ?? "";
549
- function Ce(s) {
546
+ const { projectId: s } = ae();
547
+ return s ?? fe() ?? "";
548
+ }, et = () => window.__PROJECT_SLUG__ ?? "";
549
+ function ve(s) {
550
550
  var h, E;
551
551
  const { resources: n } = s;
552
552
  if (!n.components)
553
553
  return {};
554
554
  const f = {};
555
- return (E = (h = window == null ? void 0 : window.blocklet) == null ? void 0 : h.componentMountPoints) == null || E.forEach((j) => {
556
- f[j.did] = j;
555
+ return (E = (h = window == null ? void 0 : window.blocklet) == null ? void 0 : h.componentMountPoints) == null || E.forEach((O) => {
556
+ f[O.did] = O;
557
557
  }), Object.fromEntries(
558
- Object.entries(n.components).map(([j, { blockletId: S, component: v }]) => {
559
- var k;
558
+ Object.entries(n.components).map(([O, { blockletId: S, component: v }]) => {
559
+ var M;
560
560
  return [
561
- j,
562
- { data: v, blockletId: S, blockletTitle: ((k = f[S]) == null ? void 0 : k.title) || S }
561
+ O,
562
+ { data: v, blockletId: S, blockletTitle: ((M = f[S]) == null ? void 0 : M.title) || S }
563
563
  ];
564
564
  })
565
565
  );
566
566
  }
567
- function be(s) {
567
+ function Ce(s) {
568
568
  const { components: n } = s;
569
569
  return n || {};
570
570
  }
571
- function je(s) {
571
+ function be(s) {
572
572
  return {
573
- ...Ce(s),
574
- ...be(s)
573
+ ...ve(s),
574
+ ...Ce(s)
575
575
  };
576
576
  }
577
- const ot = () => je(ve().state);
577
+ const tt = () => be(he().state);
578
578
  function Oe(s) {
579
579
  const n = JSON.parse(JSON.stringify(s)), f = A();
580
580
  return {
@@ -584,21 +584,20 @@ function Oe(s) {
584
584
  }
585
585
  export {
586
586
  Xe as E,
587
- et as S,
588
- Ye as a,
589
- ve as b,
590
- qe as c,
591
- je as d,
592
- tt as e,
593
- He as f,
594
- Ze as g,
595
- ot as h,
587
+ He as S,
588
+ qe as a,
589
+ he as b,
590
+ ze as c,
591
+ be as d,
592
+ et as e,
593
+ Ze as f,
594
+ Ye as g,
595
+ tt as h,
596
596
  W as i,
597
597
  Ke as j,
598
- be as k,
599
- Ce as l,
600
- Se as m,
601
- A as n,
598
+ Ce as k,
599
+ ve as l,
600
+ fe as m,
602
601
  Qe as t,
603
602
  V as u
604
603
  };
@@ -7,7 +7,7 @@ import "lru-cache";
7
7
  import "node-fetch";
8
8
  import "ufo";
9
9
  import "crypto";
10
- import { c as _, G as E, d as i, e as d, j as l, k as N, m as O, h as P, g as c, f as g } from "./chunks/site-state-BeEHvakk.js";
10
+ import { c as _, G as E, d as i, e as d, j as l, k as N, m as O, h as P, g as c, f as g } from "./chunks/site-state-D-moj9fA.js";
11
11
  export {
12
12
  _ as CUSTOM_COMPONENT_CACHE_DURATION_IN_SECONDS,
13
13
  E as GET_SERVER_SIDE_PROPS_TIMEOUT_IN_SECONDS,
package/lib/es/home.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import "react/jsx-runtime";
2
- import "./chunks/state-COB6reM7.js";
2
+ import "./chunks/state-l--dTdHq.js";
3
3
  import "@arcblock/ux/lib/Locale/context";
4
4
  import "@arcblock/ux/lib/Result";
5
5
  import "@blocklet/pages-kit/builtin/page/header";
@@ -21,8 +21,8 @@ import "react-helmet";
21
21
  import "react-router-dom";
22
22
  import "react-use";
23
23
  import "ufo";
24
- import "./chunks/array-DM0x2Sjw.js";
25
- import { a as R, P as S, d as W, c as j, b as k, T as q, H as v } from "./chunks/home-ClxOpmCx.js";
24
+ import "./chunks/array-c6HYTLze.js";
25
+ import { a as R, P as S, d as W, c as j, b as k, T as q, H as v } from "./chunks/home-DQjaiv2F.js";
26
26
  import "./chunks/session-CVblGhSp.js";
27
27
  export {
28
28
  R as HomeView,
package/lib/es/locales.js CHANGED
@@ -291,7 +291,7 @@ const t = e({
291
291
  templateSectionNameDuplicated: "Section name must be unique among all template sections in the page",
292
292
  propertyNotFound: "Failed to modify parameter, reason: component does not exist `{key}` property",
293
293
  configLLMDescription: "Configure LLM description",
294
- llmConfigTitle: "LLM Configuration Details",
294
+ llmConfigTitle: "Configure LLM Description",
295
295
  llmConfigLabel: "LLM Configuration Information",
296
296
  llmConfigPlaceholder: "Enter additional configuration information for LLM",
297
297
  llmConfigInstructions: "Configure which properties should be processed by AI and provide detailed descriptions.",
@@ -800,7 +800,7 @@ const t = e({
800
800
  templateSectionNameDuplicated: "模板卡片名称在页面中必须唯一,当前名称已被其他模板卡片使用",
801
801
  propertyNotFound: "修改参数失败,原因:组件不存在 `{key}` 属性",
802
802
  configLLMDescription: "配置 LLM 描述",
803
- llmConfigTitle: "LLM 配置详情",
803
+ llmConfigTitle: "配置 LLM 描述",
804
804
  llmConfigLabel: "LLM 配置信息",
805
805
  llmConfigPlaceholder: "输入用于LLM的额外配置信息",
806
806
  llmConfigInstructions: "配置需要AI处理的属性并提供详细描述",
@@ -5,7 +5,7 @@ import J from "@blocklet/sdk/lib/wallet";
5
5
  import z from "@blocklet/sdk/lib/wallet-authenticator";
6
6
  import G from "@blocklet/sdk/lib/wallet-handler";
7
7
  import Y, { resolve as M } from "path";
8
- import { l as T, g as Q } from "./chunks/site-state-BeEHvakk.js";
8
+ import { l as T, g as Q } from "./chunks/site-state-D-moj9fA.js";
9
9
  import { createSnapshotMiddleware as V } from "@arcblock/crawler-middleware";
10
10
  import { PreloadComponentScriptModule as X } from "@blocklet/pages-kit/types";
11
11
  import { isMuiColorKey as Z } from "@blocklet/pages-kit/utils/common";
@@ -1,4 +1,4 @@
1
- import { P as S, i as b, a as M, l as x, C as J, R as X, S as N, t as W, b as G } from "./chunks/site-state-BeEHvakk.js";
1
+ import { P as S, i as b, a as M, l as x, C as J, R as X, S as N, t as W, b as G } from "./chunks/site-state-D-moj9fA.js";
2
2
  import { AsyncLocalStorage as K } from "async_hooks";
3
3
  import { Router as Y } from "express";
4
4
  import d from "fs";