@canofold/markdown 0.3.1 → 0.3.2

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 (33) hide show
  1. package/README.md +2 -0
  2. package/README.zh-CN.md +2 -0
  3. package/dist/ImageGallery-Bcpjlfh9.js +569 -0
  4. package/dist/Markdown-607_slPB.js +117 -0
  5. package/dist/assets-CqlggKr8.js +77 -0
  6. package/dist/client/bundler.js +308 -0
  7. package/dist/client/chunks/{client-CTpZrdpv.js → client-CHUUETWE.js} +3 -3
  8. package/dist/client/chunks/{gallery-BTg1qJjd.js → gallery-Cr0TgC1h.js} +2 -2
  9. package/dist/client/chunks/{image-BsfZtDsx.js → image-6_o7fPkU.js} +3 -3
  10. package/dist/client/chunks/provider-k1N-5njv.js +1037 -0
  11. package/dist/client/chunks/react-runtime-DRPMrVPX.js +12062 -0
  12. package/dist/client/chunks/{serialized-Ck9NBdg7.js → serialized-Chn9ydGA.js} +334 -295
  13. package/dist/client/chunks/{table-jaJMPch3.js → table-D99-Zhc8.js} +3 -3
  14. package/dist/client/index.js +1 -1
  15. package/dist/componentMap-CKSUGzQH.js +1483 -0
  16. package/dist/copyText-C0ZgrMnH.js +18 -0
  17. package/dist/{directiveValidation-BdVbgcY_.js → directiveValidation-B7LY-R5p.js} +187 -248
  18. package/dist/fileKinds-BPzIxbaS.js +170 -0
  19. package/dist/gallery-BqQ-i0TC.js +42 -0
  20. package/dist/image-CiPni6Az.js +38 -0
  21. package/dist/index.js +2 -2
  22. package/dist/plugins-CXYBB-oH.js +130 -0
  23. package/dist/{prepareMarkdown-DPMq7203.js → prepareMarkdown-CS6sALIb.js} +13 -11
  24. package/dist/provider-BJDHf4Z_.js +8 -0
  25. package/dist/serialized-DFiNQYA5.js +39 -0
  26. package/dist/server/analyze.js +11 -11
  27. package/dist/server.js +30 -28
  28. package/dist/table-DQSeLjVL.js +32 -0
  29. package/package.json +14 -9
  30. package/dist/Markdown-CPG2lcO7.js +0 -2127
  31. package/dist/client/chunks/provider-DNSHvvN7.js +0 -841
  32. package/dist/client/chunks/react-runtime-Dzgdzn6D.js +0 -10571
  33. package/dist/plugins-StkCS2su.js +0 -298
@@ -0,0 +1,77 @@
1
+ import { a as c, s as r } from "./plugins-CXYBB-oH.js";
2
+ const m = [
3
+ "gallery",
4
+ "code-toolbar",
5
+ "copy-snippet",
6
+ "terminal-toolbar",
7
+ "table",
8
+ "image",
9
+ "heading",
10
+ "tabs",
11
+ "details",
12
+ "file-tree"
13
+ ];
14
+ function o(t, s, i) {
15
+ const n = t.find((l) => l.id === s.id);
16
+ if (!n) {
17
+ t.push(s);
18
+ return;
19
+ }
20
+ if (r(n) !== r(s))
21
+ throw new Error(`Markdown plugin ${i} id "${s.id}" is declared with conflicting definitions`);
22
+ }
23
+ function p(t, s) {
24
+ const i = [];
25
+ return t.forEach((n) => o(i, n, s)), i;
26
+ }
27
+ function g() {
28
+ const t = {
29
+ behaviors: [],
30
+ math: !1,
31
+ pluginClients: [],
32
+ pluginStyles: []
33
+ };
34
+ return {
35
+ markBehavior(s) {
36
+ t.behaviors.includes(s) || t.behaviors.push(s);
37
+ },
38
+ markMath() {
39
+ t.math = !0;
40
+ },
41
+ markPluginAssets(s) {
42
+ s.assets?.math && (t.math = !0);
43
+ for (const i of s.assets?.clients ?? [])
44
+ o(t.pluginClients, i, "client");
45
+ for (const i of s.assets?.styles ?? [])
46
+ o(t.pluginStyles, i, "style");
47
+ },
48
+ snapshot() {
49
+ return {
50
+ behaviors: [...t.behaviors],
51
+ math: t.math,
52
+ pluginClients: [...t.pluginClients],
53
+ pluginStyles: [...t.pluginStyles]
54
+ };
55
+ }
56
+ };
57
+ }
58
+ function M(t, s = [], i = "markdown") {
59
+ const n = c(s, { source: t, mode: i }), l = /<(?:Markdown)?Gallery\b/i.test(t), h = /:::\s*(?:tabs|code-group)\b|<(?:Markdown)?(?:Tabs|CodeGroup)\b/i.test(t), d = /<(?:Markdown)?FileTree\b/i.test(t), f = /<(?:Markdown)?Details\b/i.test(t), b = /^ {0,3}(?:\|[^\r\n]*\||[^\r\n|]+\|[^\r\n]*)\r?\n {0,3}\|? *:?-+:? *(?:\| *:?-+:? *)+\|? *$/m, e = [];
60
+ return l && e.push("gallery"), h && e.push("tabs"), f && e.push("details"), d && e.push("file-tree"), /<(?:Markdown)?(?:Terminal)\b|(?:`{3,}|~{3,})\s*terminal\b/i.test(t) && e.push("terminal-toolbar"), /<(?:Markdown)?Image\b|!\[[^\]]*\]\([^)]*\)/i.test(t) && e.push("image"), /(?:^|\n)\s*#{2,6}\s+\S/.test(t) && e.push("heading"), /<(?:Markdown)?CodeBlock\b|(?:^|\n)\s*(?:`{3,}|~{3,})(?!\s*terminal\b)/i.test(t) && e.push("code-toolbar"), /<(?:Markdown)?CopySnippet\b|data-cf-component=["']copy-snippet["']/i.test(t) && e.push("copy-snippet"), (/<(?:Markdown)?Table\b/i.test(t) || b.test(t)) && e.push("table"), {
61
+ behaviors: [...new Set(e)],
62
+ math: n.some((a) => a.assets?.math),
63
+ pluginClients: p(
64
+ n.flatMap((a) => a.assets?.clients ?? []),
65
+ "client"
66
+ ),
67
+ pluginStyles: p(
68
+ n.flatMap((a) => a.assets?.styles ?? []),
69
+ "style"
70
+ )
71
+ };
72
+ }
73
+ export {
74
+ m as M,
75
+ g as c,
76
+ M as d
77
+ };
@@ -0,0 +1,308 @@
1
+ import { M as T } from "../assets-CqlggKr8.js";
2
+ import { c as D } from "../copyText-C0ZgrMnH.js";
3
+ const B = {
4
+ "copy-code": "code-toolbar",
5
+ "copy-snippet": "copy-snippet",
6
+ "copy-terminal": "terminal-toolbar",
7
+ "copy-section-link": "heading"
8
+ }, N = 1600, A = /* @__PURE__ */ new WeakMap();
9
+ function d(e, t) {
10
+ return (e.behaviorOwners.get(t) ?? 0) > 0;
11
+ }
12
+ function I(e, t, a) {
13
+ a === null ? e.removeAttribute(t) : e.setAttribute(t, a);
14
+ }
15
+ function f(e, t) {
16
+ const a = t.map((n) => [n, e.getAttribute(n)]);
17
+ return () => a.forEach(([n, o]) => I(e, n, o));
18
+ }
19
+ function E(e, t, a) {
20
+ const n = e.behaviorCleanup.get(t) ?? [];
21
+ n.push(a), e.behaviorCleanup.set(t, n);
22
+ }
23
+ function H(e, t) {
24
+ e.feedback.forEach((a, n) => {
25
+ a.behavior === t && (window.clearTimeout(a.timer), a.restore(), e.feedback.delete(n));
26
+ }), e.behaviorCleanup.get(t)?.splice(0).reverse().forEach((a) => a()), e.behaviorCleanup.delete(t);
27
+ }
28
+ function x(e, t) {
29
+ return [...e instanceof Element && e.matches(t) ? [e] : [], ...e.querySelectorAll(t)].filter(
30
+ (n) => !n.closest('[data-cf-runtime="react"]')
31
+ );
32
+ }
33
+ function p(e, t, a) {
34
+ const n = t.closest(a);
35
+ return n ? e instanceof Element && n !== e && !e.contains(n) ? null : n : null;
36
+ }
37
+ function C(e, t) {
38
+ t ? e.setAttribute("inert", "") : e.removeAttribute("inert");
39
+ }
40
+ function O(e) {
41
+ e.dataset.cfEnhanced = "true";
42
+ const t = e.querySelector('[data-cf-slot="content"]');
43
+ t && C(t, !e.open);
44
+ }
45
+ function _(e, t) {
46
+ for (const a of x(e, '[data-cf-behavior="details"]')) {
47
+ if (t.details.has(a)) continue;
48
+ t.details.add(a);
49
+ const n = f(a, ["data-cf-enhanced"]), o = a.querySelector('[data-cf-slot="content"]'), r = o ? f(o, ["inert"]) : () => {
50
+ }, s = () => O(a);
51
+ O(a), a.addEventListener("toggle", s), E(t, "details", () => {
52
+ a.removeEventListener("toggle", s), n(), r(), t.details.delete(a);
53
+ });
54
+ }
55
+ }
56
+ function $(e, t, a, n, o) {
57
+ let r = a.feedback.get(e);
58
+ r && (window.clearTimeout(r.timer), r.restore(), a.feedback.delete(e));
59
+ const s = f(e, [
60
+ "data-cf-idle-label",
61
+ "data-cf-copied",
62
+ "data-cf-copy-error",
63
+ "aria-label",
64
+ "title"
65
+ ]), c = f(e, ["class"]), i = e.querySelector("[aria-live]"), l = i?.textContent ?? "", h = () => {
66
+ s(), c(), i && (i.textContent = l);
67
+ }, b = e.dataset.cfIdleLabel || e.getAttribute("aria-label") || "";
68
+ e.dataset.cfIdleLabel = b, e.classList.toggle("cf-action-success", t), e.classList.toggle("cf-action-error", !t), t ? (e.dataset.cfCopied = "true", delete e.dataset.cfCopyError) : (e.dataset.cfCopyError = "true", delete e.dataset.cfCopied);
69
+ const u = t ? `${b} ✓` : o || b;
70
+ e.setAttribute("aria-label", u), e.setAttribute("title", u), i && (i.textContent = u);
71
+ const m = window.setTimeout(() => {
72
+ h(), a.feedback.delete(e);
73
+ }, N);
74
+ a.feedback.set(e, { behavior: n, timer: m, restore: h });
75
+ }
76
+ async function z(e, t, a) {
77
+ const n = B[e];
78
+ if (!n || !d(a, n)) return;
79
+ const o = t.closest("[data-cf-behavior], [data-cf-island]");
80
+ if (!o) return;
81
+ const r = e === "copy-section-link" ? `${window.location.origin}${window.location.pathname}${window.location.search}${o.dataset.cfAnchor ?? ""}` : e === "copy-snippet" ? o.dataset.cfValue ?? "" : e === "copy-code" ? o.closest(".cf-code")?.querySelector("pre")?.textContent ?? "" : e === "copy-terminal" ? o.closest(".cf-terminal")?.querySelector("pre")?.textContent ?? "" : "", s = await D(r);
82
+ d(a, n) && $(t, s, a, n, o.dataset.cfCopyFailureLabel);
83
+ }
84
+ function L(e) {
85
+ return [...e.querySelectorAll('[role="tab"][data-cf-tab]')];
86
+ }
87
+ function K(e) {
88
+ const t = e.closest('[role="tablist"]');
89
+ if (!t || typeof t.scrollTo != "function") return;
90
+ const a = e.offsetLeft, n = a + e.offsetWidth;
91
+ a < t.scrollLeft ? t.scrollTo({ left: a, behavior: "smooth" }) : n > t.scrollLeft + t.clientWidth && t.scrollTo({ left: n - t.clientWidth, behavior: "smooth" });
92
+ }
93
+ function F(e) {
94
+ const t = e.querySelector(':scope > [role="tablist"]'), a = e.querySelector(
95
+ ':scope > [data-cf-action="scroll-code-tabs"][data-cf-direction="-1"]'
96
+ ), n = e.querySelector(
97
+ ':scope > [data-cf-action="scroll-code-tabs"][data-cf-direction="1"]'
98
+ );
99
+ if (!t || !a || !n) return;
100
+ const o = Math.max(0, t.scrollWidth - t.clientWidth);
101
+ a.hidden = o <= 1 || t.scrollLeft <= 1, n.hidden = o <= 1 || t.scrollLeft >= o - 1;
102
+ }
103
+ function P(e, t) {
104
+ for (const a of x(e, '.cf-code-group[data-cf-behavior="tabs"]')) {
105
+ if (t.tabOverflow.has(a)) continue;
106
+ const n = a.querySelector(':scope > [role="tablist"]');
107
+ if (!n) continue;
108
+ t.tabOverflow.add(a);
109
+ const r = [
110
+ ...a.querySelectorAll(':scope > [data-cf-action="scroll-code-tabs"]')
111
+ ].map((i) => f(i, ["hidden"])), s = () => F(a);
112
+ n.addEventListener("scroll", s, { passive: !0 });
113
+ const c = typeof ResizeObserver > "u" ? void 0 : new ResizeObserver(s);
114
+ c?.observe(n), s(), E(t, "tabs", () => {
115
+ n.removeEventListener("scroll", s), c?.disconnect(), r.forEach((i) => i()), t.tabOverflow.delete(a);
116
+ });
117
+ }
118
+ }
119
+ function M(e, t, a, n = !1) {
120
+ if (t.disabled || t.getAttribute("aria-disabled") === "true") return;
121
+ const o = L(e), r = [...e.querySelectorAll('[role="tabpanel"][data-cf-tab-panel]')];
122
+ if (!a.tabs.has(e)) {
123
+ a.tabs.add(e);
124
+ const c = o.map(
125
+ (l) => f(l, ["aria-selected", "tabindex"])
126
+ ), i = r.map((l) => f(l, ["hidden"]));
127
+ E(a, "tabs", () => {
128
+ [...c, ...i].forEach((l) => l()), a.tabs.delete(e);
129
+ });
130
+ }
131
+ const s = t.dataset.cfTab ?? "";
132
+ o.forEach((c) => {
133
+ const i = c === t;
134
+ c.setAttribute("aria-selected", String(i)), c.tabIndex = i ? 0 : -1;
135
+ }), r.forEach((c) => {
136
+ c.hidden = c.dataset.cfTabPanel !== s;
137
+ }), K(t), n && t.focus();
138
+ }
139
+ function j(e, t, a, n) {
140
+ if (!["ArrowLeft", "ArrowRight", "ArrowUp", "ArrowDown", "Home", "End"].includes(a.key)) return;
141
+ const r = L(e).filter(
142
+ (i) => !i.disabled && i.getAttribute("aria-disabled") !== "true"
143
+ ), s = r.indexOf(t);
144
+ if (s < 0 || !r.length) return;
145
+ a.preventDefault();
146
+ const c = a.key === "Home" ? r[0] : a.key === "End" ? r.at(-1) : r[(s + (a.key === "ArrowRight" || a.key === "ArrowDown" ? 1 : -1) + r.length) % r.length];
147
+ c && M(e, c, n, !0);
148
+ }
149
+ function V(e, t) {
150
+ const a = e.closest("[data-cf-file-tree-branch]"), n = a?.querySelector(":scope > .cf-file-tree-children, :scope > ul");
151
+ if (!a || !n) return;
152
+ if (!t.fileTrees.has(e)) {
153
+ t.fileTrees.add(e);
154
+ const s = f(e, ["aria-expanded"]), c = f(a, ["data-cf-state"]), i = f(n, ["data-cf-state", "aria-hidden", "inert"]);
155
+ E(t, "file-tree", () => {
156
+ s(), c(), i(), t.fileTrees.delete(e);
157
+ });
158
+ }
159
+ const r = !(e.getAttribute("aria-expanded") !== "false");
160
+ e.setAttribute("aria-expanded", String(r)), a.dataset.cfState = r ? "expanded" : "collapsed", n.dataset.cfState = r ? "expanded" : "collapsed", r ? n.removeAttribute("aria-hidden") : n.setAttribute("aria-hidden", "true"), C(n, !r);
161
+ }
162
+ function U(e) {
163
+ const t = {
164
+ owners: 0,
165
+ behaviorOwners: /* @__PURE__ */ new Map(),
166
+ details: /* @__PURE__ */ new WeakSet(),
167
+ tabs: /* @__PURE__ */ new WeakSet(),
168
+ tabOverflow: /* @__PURE__ */ new WeakSet(),
169
+ fileTrees: /* @__PURE__ */ new WeakSet(),
170
+ cleanup: [],
171
+ behaviorCleanup: /* @__PURE__ */ new Map(),
172
+ feedback: /* @__PURE__ */ new Map()
173
+ }, a = e, n = (r) => {
174
+ if (!(r.target instanceof Element) || r.target.closest('[data-cf-runtime="react"]')) return;
175
+ const c = p(
176
+ e,
177
+ r.target,
178
+ 'details[data-cf-behavior="details"] > summary'
179
+ )?.parentElement;
180
+ c && d(t, "details") && queueMicrotask(() => {
181
+ d(t, "details") && O(c);
182
+ });
183
+ const i = p(e, r.target, '[role="tab"][data-cf-tab]'), l = i?.closest('[data-cf-behavior="tabs"]');
184
+ if (i && l && d(t, "tabs")) {
185
+ r.preventDefault(), M(l, i, t);
186
+ return;
187
+ }
188
+ const h = p(
189
+ e,
190
+ r.target,
191
+ '[data-cf-action="scroll-code-tabs"]'
192
+ ), b = h?.closest('.cf-code-group[data-cf-behavior="tabs"]'), u = b?.querySelector(':scope > [role="tablist"]');
193
+ if (h && b && u && d(t, "tabs")) {
194
+ r.preventDefault(), typeof u.scrollBy == "function" && u.scrollBy({
195
+ left: Number(h.dataset.cfDirection || 1) * Math.max(180, u.clientWidth * 0.72),
196
+ behavior: "smooth"
197
+ });
198
+ return;
199
+ }
200
+ const m = p(
201
+ e,
202
+ r.target,
203
+ '[data-cf-action="toggle-file-tree"]'
204
+ );
205
+ if (m && d(t, "file-tree")) {
206
+ r.preventDefault(), V(m, t);
207
+ return;
208
+ }
209
+ const k = p(e, r.target, "[data-cf-action]");
210
+ k?.dataset.cfAction && z(k.dataset.cfAction, k, t);
211
+ }, o = (r) => {
212
+ if (!(r instanceof KeyboardEvent) || !(r.target instanceof HTMLButtonElement) || r.target.closest('[data-cf-runtime="react"]')) return;
213
+ const s = r.target.closest('[data-cf-behavior="tabs"]');
214
+ s && d(t, "tabs") && j(s, r.target, r, t);
215
+ };
216
+ return a.addEventListener("click", n), a.addEventListener("keydown", o), t.cleanup.push(() => a.removeEventListener("click", n)), t.cleanup.push(() => a.removeEventListener("keydown", o)), t;
217
+ }
218
+ function Y(e, t) {
219
+ const a = A.get(e) ?? U(e);
220
+ A.set(e, a);
221
+ const n = [...new Set(t)];
222
+ a.owners += 1, n.forEach(
223
+ (r) => a.behaviorOwners.set(r, (a.behaviorOwners.get(r) ?? 0) + 1)
224
+ ), d(a, "details") && _(e, a), d(a, "tabs") && P(e, a);
225
+ let o = !1;
226
+ return () => {
227
+ o || (o = !0, a.owners -= 1, n.forEach((r) => {
228
+ const s = (a.behaviorOwners.get(r) ?? 1) - 1;
229
+ s > 0 ? a.behaviorOwners.set(r, s) : (a.behaviorOwners.delete(r), H(a, r));
230
+ }), !(a.owners > 0) && (a.cleanup.splice(0).forEach((r) => r()), A.delete(e)));
231
+ };
232
+ }
233
+ const R = {
234
+ gallery: '[data-cf-island="gallery"]',
235
+ image: '[data-cf-island="image"]',
236
+ table: '[data-cf-island="table"]'
237
+ }, v = {
238
+ gallery: () => import("../gallery-BqQ-i0TC.js"),
239
+ image: () => import("../image-CiPni6Az.js"),
240
+ table: () => import("../table-DQSeLjVL.js")
241
+ }, w = /* @__PURE__ */ new WeakMap(), y = /* @__PURE__ */ new WeakSet(), g = /* @__PURE__ */ new WeakSet();
242
+ function q(e) {
243
+ return [...new Set(e)].filter((t) => Object.hasOwn(v, t));
244
+ }
245
+ function W(e, t) {
246
+ return [...e instanceof HTMLElement && e.matches(t) ? [e] : [], ...e.querySelectorAll(t)].filter(
247
+ (n) => !n.closest('[data-cf-runtime="react"]')
248
+ );
249
+ }
250
+ async function G(e = document, t = Object.keys(v), a = {}) {
251
+ const n = q(t);
252
+ await Promise.all(
253
+ n.map(async (o) => {
254
+ const r = W(e, R[o]).filter(
255
+ (s) => !w.has(s) && !y.has(s)
256
+ );
257
+ if (r.length) {
258
+ r.forEach((s) => {
259
+ g.delete(s), y.add(s);
260
+ });
261
+ try {
262
+ const s = await v[o]();
263
+ for (const c of r) {
264
+ if (g.has(c) || w.has(c)) continue;
265
+ const i = s.hydrate(c, a);
266
+ i && w.set(c, i);
267
+ }
268
+ } finally {
269
+ r.forEach((s) => {
270
+ y.delete(s), g.delete(s);
271
+ });
272
+ }
273
+ }
274
+ })
275
+ );
276
+ }
277
+ function J(e = document, t = Object.keys(v)) {
278
+ for (const a of q(t))
279
+ for (const n of W(e, R[a])) {
280
+ y.has(n) && g.add(n);
281
+ const o = w.get(n);
282
+ o && (o.unmount(), w.delete(n));
283
+ }
284
+ }
285
+ const S = /* @__PURE__ */ new WeakMap();
286
+ function Z(e = document, t = { behaviors: [...T] }) {
287
+ const a = [...new Set(t.behaviors)].filter((c) => T.includes(c)), n = S.get(e) ?? { behaviorOwners: /* @__PURE__ */ new Map() };
288
+ S.set(e, n), a.forEach(
289
+ (c) => n.behaviorOwners.set(c, (n.behaviorOwners.get(c) ?? 0) + 1)
290
+ );
291
+ const o = Y(e, a), r = G(e, a);
292
+ let s = !1;
293
+ return {
294
+ ready: r,
295
+ dispose() {
296
+ if (s) return;
297
+ s = !0, o();
298
+ const c = a.filter((i) => {
299
+ const l = (n.behaviorOwners.get(i) ?? 1) - 1;
300
+ return l > 0 ? (n.behaviorOwners.set(i, l), !1) : (n.behaviorOwners.delete(i), !0);
301
+ });
302
+ J(e, c), n.behaviorOwners.size === 0 && S.delete(e);
303
+ }
304
+ };
305
+ }
306
+ export {
307
+ Z as enhanceMarkdown
308
+ };
@@ -260,9 +260,9 @@ const R = {
260
260
  image: '[data-cf-island="image"]',
261
261
  table: '[data-cf-island="table"]'
262
262
  }, v = {
263
- gallery: () => import("./gallery-BTg1qJjd.js"),
264
- image: () => import("./image-BsfZtDsx.js"),
265
- table: () => import("./table-jaJMPch3.js")
263
+ gallery: () => import("./gallery-Cr0TgC1h.js"),
264
+ image: () => import("./image-6_o7fPkU.js"),
265
+ table: () => import("./table-D99-Zhc8.js")
266
266
  }, w = /* @__PURE__ */ new WeakMap(), m = /* @__PURE__ */ new WeakSet(), g = /* @__PURE__ */ new WeakSet();
267
267
  function q(e) {
268
268
  return [...new Set(e)].filter((t) => Object.hasOwn(v, t));
@@ -1,5 +1,5 @@
1
- import { c as s, j as r } from "./react-runtime-Dzgdzn6D.js";
2
- import { w as l, I as n } from "./provider-DNSHvvN7.js";
1
+ import { c as s, j as r } from "./react-runtime-DRPMrVPX.js";
2
+ import { w as l, I as n } from "./provider-k1N-5njv.js";
3
3
  function i(e) {
4
4
  try {
5
5
  const a = JSON.parse(e.dataset.cfGalleryItems ?? "[]");
@@ -1,6 +1,6 @@
1
- import { c as r, j as d } from "./react-runtime-Dzgdzn6D.js";
2
- import { r as s, M as o } from "./serialized-Ck9NBdg7.js";
3
- import { w as l } from "./provider-DNSHvvN7.js";
1
+ import { c as r, j as d } from "./react-runtime-DRPMrVPX.js";
2
+ import { r as s, M as o } from "./serialized-Chn9ydGA.js";
3
+ import { w as l } from "./provider-k1N-5njv.js";
4
4
  function u(i, a) {
5
5
  const t = i.querySelector("img");
6
6
  if (!t) return;