@ampless/admin 1.0.0-alpha.83 → 1.0.0-alpha.84
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.
- package/dist/api/index.d.ts +57 -1
- package/dist/api/index.js +213 -1
- package/dist/{chunk-BAZ6YAPS.js → chunk-BRTC5O3E.js} +13 -2
- package/dist/{chunk-4KUKZ2Y5.js → chunk-J6R356H3.js} +4 -49
- package/dist/{chunk-3KDJTNCS.js → chunk-V6JNTCPS.js} +1 -1
- package/dist/{chunk-RTNDMAFN.js → chunk-WXIYV2PO.js} +1 -1
- package/dist/{chunk-TJTIKTUV.js → chunk-YU5MPQXB.js} +1 -1
- package/dist/components/edit-post-view.js +2 -2
- package/dist/components/index.js +2 -2
- package/dist/components/new-post-view.js +2 -2
- package/dist/components/posts-list-view.js +1 -1
- package/dist/metafile-esm.json +1 -1
- package/dist/pages/index.js +5 -5
- package/package.json +4 -4
package/dist/api/index.d.ts
CHANGED
|
@@ -34,4 +34,60 @@ declare function createMediaProxyRoute(admin: Admin): {
|
|
|
34
34
|
}) => Promise<Response>;
|
|
35
35
|
};
|
|
36
36
|
|
|
37
|
-
|
|
37
|
+
/**
|
|
38
|
+
* Build the `POST /admin/preview` Route Handler.
|
|
39
|
+
*
|
|
40
|
+
* Client-side `<PostForm>` / `<PostHistoryPanel>` POST a draft Post to this
|
|
41
|
+
* endpoint while the preview tab is open; we render the body + page-level
|
|
42
|
+
* scripts via `ampless.renderBody` / `publicPostScriptsForPage` and return
|
|
43
|
+
* a **complete HTML document** that the admin shows in an iframe using
|
|
44
|
+
* `srcDoc`.
|
|
45
|
+
*
|
|
46
|
+
* ## Why a complete document (not a bare fragment)?
|
|
47
|
+
*
|
|
48
|
+
* An iframe loaded via `srcDoc` does NOT inherit the parent page's CSS.
|
|
49
|
+
* Classes on the iframe *element* (e.g. `prose prose-neutral`) style only
|
|
50
|
+
* the element's box model, not its content document. To get typography inside
|
|
51
|
+
* the preview we must inline the styles directly into the document we return.
|
|
52
|
+
* We inject two `<style>` blocks:
|
|
53
|
+
*
|
|
54
|
+
* 1. **Theme CSS vars**: `renderThemeCss(cssVars)` — the same `:root {…}`
|
|
55
|
+
* block the public root layout emits, so the live theme's colour tokens
|
|
56
|
+
* flow into the preview.
|
|
57
|
+
* 2. **`PREVIEW_BASE_CSS`**: a self-contained typography approximation
|
|
58
|
+
* (h1-h6, p, ul/ol/li, a, code, pre, blockquote, img, table, hr, dark
|
|
59
|
+
* mode). This is *not* the actual live theme stylesheet — Next.js App
|
|
60
|
+
* Router emits hashed CSS filenames that are unknowable from a Route
|
|
61
|
+
* Handler — but it's enough for a "readable preview".
|
|
62
|
+
*
|
|
63
|
+
* ## Why a Route Handler (not a Server Action)?
|
|
64
|
+
*
|
|
65
|
+
* Next.js 15+ refuses to compile Client Components that reach
|
|
66
|
+
* `react-dom/server` through a `'use server'` module, because the build
|
|
67
|
+
* traces the import graph from Client Components through Server Action
|
|
68
|
+
* modules. Putting this rendering behind a Route Handler decouples it from
|
|
69
|
+
* that graph entirely — the form fetches a plain HTTP endpoint and the
|
|
70
|
+
* bundler never walks from `<PostForm>` into here. The endpoint also gets an
|
|
71
|
+
* explicit `admin.isEditor()` gate so a future change to the `(admin)`
|
|
72
|
+
* route-group middleware can't silently turn preview into a content-leak
|
|
73
|
+
* vector for unpublished drafts.
|
|
74
|
+
*
|
|
75
|
+
* ## Dynamic import of `react-dom/server`
|
|
76
|
+
*
|
|
77
|
+
* The `react-dom/server` import itself is loaded via dynamic `import()` inside
|
|
78
|
+
* the handler. Next.js 16's Turbopack flags any top-level static
|
|
79
|
+
* `import 'react-dom/server'` reached from the app router build (Route
|
|
80
|
+
* Handlers included), so we deliberately defer the resolution to request time
|
|
81
|
+
* — the module is still pulled from the same Node.js subpath that `next start`
|
|
82
|
+
* ships, just not visible to the build-time import-graph walker.
|
|
83
|
+
*
|
|
84
|
+
* ## Auth
|
|
85
|
+
*
|
|
86
|
+
* Locked to authenticated editors. Anonymous + reader access is 403. This
|
|
87
|
+
* matches the rest of `/admin/**`, which is gated by the `(admin)` route
|
|
88
|
+
* group + middleware, but we add an explicit check here as defence-in-depth
|
|
89
|
+
* against the middleware gate being misconfigured.
|
|
90
|
+
*/
|
|
91
|
+
declare function createPreviewRouteHandler(admin: Admin): (req: Request) => Promise<Response>;
|
|
92
|
+
|
|
93
|
+
export { createMediaProxyRoute, createPreviewRouteHandler };
|
package/dist/api/index.js
CHANGED
|
@@ -55,6 +55,218 @@ async function signMediaUrl({
|
|
|
55
55
|
return null;
|
|
56
56
|
}
|
|
57
57
|
}
|
|
58
|
+
|
|
59
|
+
// src/api/preview-route.tsx
|
|
60
|
+
import { renderThemeCss } from "@ampless/runtime";
|
|
61
|
+
import { Fragment, jsxs } from "react/jsx-runtime";
|
|
62
|
+
var PREVIEW_BASE_CSS = `
|
|
63
|
+
/* ampless admin preview \u2014 typography approximation */
|
|
64
|
+
*,
|
|
65
|
+
*::before,
|
|
66
|
+
*::after {
|
|
67
|
+
box-sizing: border-box;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
body {
|
|
71
|
+
font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
|
|
72
|
+
"Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
|
|
73
|
+
font-size: 1rem;
|
|
74
|
+
line-height: 1.75;
|
|
75
|
+
color: #1a202c;
|
|
76
|
+
background: #fff;
|
|
77
|
+
margin: 0;
|
|
78
|
+
padding: 1.5rem;
|
|
79
|
+
max-width: 65ch;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
main {
|
|
83
|
+
width: 100%;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
/* Headings */
|
|
87
|
+
h1, h2, h3, h4, h5, h6 {
|
|
88
|
+
font-weight: 700;
|
|
89
|
+
line-height: 1.25;
|
|
90
|
+
margin-top: 1.5em;
|
|
91
|
+
margin-bottom: 0.5em;
|
|
92
|
+
}
|
|
93
|
+
h1 { font-size: 2.25em; margin-top: 0; }
|
|
94
|
+
h2 { font-size: 1.5em; }
|
|
95
|
+
h3 { font-size: 1.25em; }
|
|
96
|
+
h4 { font-size: 1em; }
|
|
97
|
+
h5 { font-size: 0.875em; }
|
|
98
|
+
h6 { font-size: 0.875em; font-weight: 600; color: #4a5568; }
|
|
99
|
+
|
|
100
|
+
/* Paragraph */
|
|
101
|
+
p {
|
|
102
|
+
margin-top: 1em;
|
|
103
|
+
margin-bottom: 1em;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
/* Lists */
|
|
107
|
+
ul, ol {
|
|
108
|
+
padding-left: 1.625em;
|
|
109
|
+
margin-top: 1em;
|
|
110
|
+
margin-bottom: 1em;
|
|
111
|
+
}
|
|
112
|
+
ul { list-style-type: disc; }
|
|
113
|
+
ol { list-style-type: decimal; }
|
|
114
|
+
li {
|
|
115
|
+
margin-top: 0.25em;
|
|
116
|
+
margin-bottom: 0.25em;
|
|
117
|
+
}
|
|
118
|
+
li > ul, li > ol {
|
|
119
|
+
margin-top: 0.25em;
|
|
120
|
+
margin-bottom: 0.25em;
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
/* Links */
|
|
124
|
+
a {
|
|
125
|
+
color: #2563eb;
|
|
126
|
+
text-decoration: underline;
|
|
127
|
+
}
|
|
128
|
+
a:hover {
|
|
129
|
+
color: #1d4ed8;
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
/* Inline code */
|
|
133
|
+
code {
|
|
134
|
+
font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
|
|
135
|
+
"Liberation Mono", "Courier New", monospace;
|
|
136
|
+
font-size: 0.875em;
|
|
137
|
+
background: #f1f5f9;
|
|
138
|
+
padding: 0.125em 0.375em;
|
|
139
|
+
border-radius: 0.25em;
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
/* Code block */
|
|
143
|
+
pre {
|
|
144
|
+
font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
|
|
145
|
+
"Liberation Mono", "Courier New", monospace;
|
|
146
|
+
font-size: 0.875em;
|
|
147
|
+
background: #1e293b;
|
|
148
|
+
color: #e2e8f0;
|
|
149
|
+
padding: 1em 1.25em;
|
|
150
|
+
border-radius: 0.5em;
|
|
151
|
+
overflow-x: auto;
|
|
152
|
+
margin-top: 1.25em;
|
|
153
|
+
margin-bottom: 1.25em;
|
|
154
|
+
line-height: 1.7;
|
|
155
|
+
}
|
|
156
|
+
pre code {
|
|
157
|
+
background: transparent;
|
|
158
|
+
padding: 0;
|
|
159
|
+
font-size: inherit;
|
|
160
|
+
color: inherit;
|
|
161
|
+
border-radius: 0;
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
/* Blockquote */
|
|
165
|
+
blockquote {
|
|
166
|
+
border-left: 0.25rem solid #cbd5e1;
|
|
167
|
+
padding-left: 1em;
|
|
168
|
+
margin-left: 0;
|
|
169
|
+
margin-right: 0;
|
|
170
|
+
color: #64748b;
|
|
171
|
+
font-style: italic;
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
/* Horizontal rule */
|
|
175
|
+
hr {
|
|
176
|
+
border: none;
|
|
177
|
+
border-top: 1px solid #e2e8f0;
|
|
178
|
+
margin: 2em 0;
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
/* Images */
|
|
182
|
+
img {
|
|
183
|
+
max-width: 100%;
|
|
184
|
+
height: auto;
|
|
185
|
+
border-radius: 0.375em;
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
/* Tables */
|
|
189
|
+
table {
|
|
190
|
+
width: 100%;
|
|
191
|
+
border-collapse: collapse;
|
|
192
|
+
font-size: 0.875em;
|
|
193
|
+
margin-top: 1.25em;
|
|
194
|
+
margin-bottom: 1.25em;
|
|
195
|
+
}
|
|
196
|
+
th {
|
|
197
|
+
font-weight: 600;
|
|
198
|
+
text-align: left;
|
|
199
|
+
padding: 0.5em 0.75em;
|
|
200
|
+
border-bottom: 2px solid #e2e8f0;
|
|
201
|
+
}
|
|
202
|
+
td {
|
|
203
|
+
padding: 0.5em 0.75em;
|
|
204
|
+
border-bottom: 1px solid #e2e8f0;
|
|
205
|
+
}
|
|
206
|
+
tr:last-child td {
|
|
207
|
+
border-bottom: none;
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
/* Strong / em */
|
|
211
|
+
strong { font-weight: 700; }
|
|
212
|
+
em { font-style: italic; }
|
|
213
|
+
|
|
214
|
+
/* ------------------------------------------------------------------ */
|
|
215
|
+
/* Dark mode */
|
|
216
|
+
/* ------------------------------------------------------------------ */
|
|
217
|
+
@media (prefers-color-scheme: dark) {
|
|
218
|
+
body {
|
|
219
|
+
color: #e2e8f0;
|
|
220
|
+
background: #0f172a;
|
|
221
|
+
}
|
|
222
|
+
h6 { color: #94a3b8; }
|
|
223
|
+
a { color: #60a5fa; }
|
|
224
|
+
a:hover { color: #93c5fd; }
|
|
225
|
+
code { background: #1e293b; color: #e2e8f0; }
|
|
226
|
+
pre { background: #0f172a; border: 1px solid #334155; color: #e2e8f0; }
|
|
227
|
+
blockquote { border-left-color: #475569; color: #94a3b8; }
|
|
228
|
+
hr { border-top-color: #334155; }
|
|
229
|
+
th { border-bottom-color: #334155; }
|
|
230
|
+
td { border-bottom-color: #1e293b; }
|
|
231
|
+
}
|
|
232
|
+
`.trim();
|
|
233
|
+
function createPreviewRouteHandler(admin) {
|
|
234
|
+
return async function POST(req) {
|
|
235
|
+
const session = await admin.getServerSession();
|
|
236
|
+
if (!admin.isEditor(session)) {
|
|
237
|
+
return new Response("Forbidden", { status: 403 });
|
|
238
|
+
}
|
|
239
|
+
let draft;
|
|
240
|
+
try {
|
|
241
|
+
draft = await req.json();
|
|
242
|
+
} catch {
|
|
243
|
+
return new Response("Bad Request", { status: 400 });
|
|
244
|
+
}
|
|
245
|
+
const ampless = await admin.getAmpless();
|
|
246
|
+
const node = /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
247
|
+
await ampless.renderBody(draft),
|
|
248
|
+
await ampless.publicPostScriptsForPage([draft])
|
|
249
|
+
] });
|
|
250
|
+
const { renderToStaticMarkup } = await import("react-dom/server");
|
|
251
|
+
const fragment = renderToStaticMarkup(node);
|
|
252
|
+
let themeCssBlock = "";
|
|
253
|
+
try {
|
|
254
|
+
const themeConfig = await admin.loadThemeConfig();
|
|
255
|
+
const css = renderThemeCss(themeConfig.cssVars);
|
|
256
|
+
if (css) themeCssBlock = css;
|
|
257
|
+
} catch (err) {
|
|
258
|
+
console.warn("[ampless admin] preview theme CSS unavailable:", err);
|
|
259
|
+
}
|
|
260
|
+
const html = `<!doctype html><html><head><meta charset="utf-8">` + (themeCssBlock ? `<style>${themeCssBlock}</style>` : "") + `<style>${PREVIEW_BASE_CSS}</style></head><body class="ampless-preview"><main>${fragment}</main></body></html>`;
|
|
261
|
+
return new Response(html, {
|
|
262
|
+
headers: {
|
|
263
|
+
"Content-Type": "text/html; charset=utf-8",
|
|
264
|
+
"Cache-Control": "no-store"
|
|
265
|
+
}
|
|
266
|
+
});
|
|
267
|
+
};
|
|
268
|
+
}
|
|
58
269
|
export {
|
|
59
|
-
createMediaProxyRoute
|
|
270
|
+
createMediaProxyRoute,
|
|
271
|
+
createPreviewRouteHandler
|
|
60
272
|
};
|
|
@@ -839,13 +839,17 @@ function PostHistoryPanel({
|
|
|
839
839
|
// this site. A stricter sandbox (= separate-origin preview
|
|
840
840
|
// route + CSP / COEP / COOP) is parked for v2.0+ if/when
|
|
841
841
|
// a real plugin marketplace lands.
|
|
842
|
+
// No `prose` classes here: classes on the iframe ELEMENT
|
|
843
|
+
// don't style its srcDoc contents. Typography comes from
|
|
844
|
+
// the full document the preview route now returns
|
|
845
|
+
// (PREVIEW_BASE_CSS + theme vars in createPreviewRouteHandler).
|
|
842
846
|
/* @__PURE__ */ jsx6(
|
|
843
847
|
"iframe",
|
|
844
848
|
{
|
|
845
849
|
title: "revision-preview",
|
|
846
850
|
srcDoc: previewHtml,
|
|
847
851
|
sandbox: "allow-scripts allow-same-origin",
|
|
848
|
-
className: "
|
|
852
|
+
className: "min-h-[300px] w-full rounded-md border"
|
|
849
853
|
}
|
|
850
854
|
)
|
|
851
855
|
)
|
|
@@ -1738,13 +1742,20 @@ function PostForm({ post, previewEndpoint = "/admin/preview" }) {
|
|
|
1738
1742
|
// trusted editors of this site. A stricter sandbox (= separate-
|
|
1739
1743
|
// origin preview route + CSP / COEP / COOP) is parked for
|
|
1740
1744
|
// v2.0+ if/when a real plugin marketplace lands.
|
|
1745
|
+
//
|
|
1746
|
+
// Typography note: `prose prose-neutral dark:prose-invert
|
|
1747
|
+
// max-w-none` were removed from the iframe element. Those classes
|
|
1748
|
+
// style the iframe *element* border-box only, not its content
|
|
1749
|
+
// document — an iframe srcDoc does not inherit the parent page's
|
|
1750
|
+
// CSS. Typography is now applied inside the document returned by
|
|
1751
|
+
// createPreviewRouteHandler (PREVIEW_BASE_CSS + theme cssVars).
|
|
1741
1752
|
/* @__PURE__ */ jsx8(
|
|
1742
1753
|
"iframe",
|
|
1743
1754
|
{
|
|
1744
1755
|
title: "post-preview",
|
|
1745
1756
|
srcDoc: previewHtml,
|
|
1746
1757
|
sandbox: "allow-scripts allow-same-origin",
|
|
1747
|
-
className: "
|
|
1758
|
+
className: "min-h-[400px] w-full rounded-md border"
|
|
1748
1759
|
}
|
|
1749
1760
|
)
|
|
1750
1761
|
),
|
|
@@ -17,55 +17,10 @@ import {
|
|
|
17
17
|
TableHeader,
|
|
18
18
|
TableRow
|
|
19
19
|
} from "@ampless/runtime/ui";
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const status = options.status ?? "all";
|
|
25
|
-
const tag = options.tag ?? "";
|
|
26
|
-
const sort = options.sort ?? "updated-desc";
|
|
27
|
-
return rows.filter((row) => {
|
|
28
|
-
if (status !== "all" && row.status !== status) return false;
|
|
29
|
-
if (tag && !row.tags.includes(tag)) return false;
|
|
30
|
-
if (!query) return true;
|
|
31
|
-
return row.title.toLowerCase().includes(query) || row.slug.toLowerCase().includes(query) || row.tags.some((t) => t.toLowerCase().includes(query));
|
|
32
|
-
}).sort((a, b) => compareRows(a, b, sort));
|
|
33
|
-
}
|
|
34
|
-
function collectTags(rows) {
|
|
35
|
-
const counts = /* @__PURE__ */ new Map();
|
|
36
|
-
for (const row of rows) {
|
|
37
|
-
for (const tag of row.tags) {
|
|
38
|
-
const trimmed = tag.trim();
|
|
39
|
-
if (!trimmed) continue;
|
|
40
|
-
counts.set(trimmed, (counts.get(trimmed) ?? 0) + 1);
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
return new Map([...counts.entries()].sort(([a], [b]) => a.localeCompare(b)));
|
|
44
|
-
}
|
|
45
|
-
function compareRows(a, b, sort) {
|
|
46
|
-
switch (sort) {
|
|
47
|
-
case "updated-asc":
|
|
48
|
-
return compareOptionalIso(a.updatedAt, b.updatedAt, "asc");
|
|
49
|
-
case "updated-desc":
|
|
50
|
-
return compareOptionalIso(a.updatedAt, b.updatedAt, "desc");
|
|
51
|
-
case "published-asc":
|
|
52
|
-
return compareOptionalIso(a.publishedAt, b.publishedAt, "asc");
|
|
53
|
-
case "published-desc":
|
|
54
|
-
return compareOptionalIso(a.publishedAt, b.publishedAt, "desc");
|
|
55
|
-
case "title-desc":
|
|
56
|
-
return b.title.localeCompare(a.title);
|
|
57
|
-
case "title-asc":
|
|
58
|
-
return a.title.localeCompare(b.title);
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
function compareOptionalIso(a, b, direction) {
|
|
62
|
-
if (!a && !b) return 0;
|
|
63
|
-
if (!a) return 1;
|
|
64
|
-
if (!b) return -1;
|
|
65
|
-
return direction === "asc" ? a.localeCompare(b) : b.localeCompare(a);
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
// src/components/posts-list-view.tsx
|
|
20
|
+
import {
|
|
21
|
+
collectTags,
|
|
22
|
+
filterSortPostSummaries
|
|
23
|
+
} from "ampless";
|
|
69
24
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
70
25
|
var PAGE_SIZE = 100;
|
|
71
26
|
function PostsList() {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
EditPostPage
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-
|
|
4
|
+
} from "../chunk-V6JNTCPS.js";
|
|
5
|
+
import "../chunk-BRTC5O3E.js";
|
|
6
6
|
import "../chunk-HN3UFHP7.js";
|
|
7
7
|
import "../chunk-PCPXAEBG.js";
|
|
8
8
|
import "../chunk-2ITWLRYF.js";
|
package/dist/components/index.js
CHANGED
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
Sidebar,
|
|
5
5
|
SiteSettingsForm,
|
|
6
6
|
ThemeSettingsForm
|
|
7
|
-
} from "../chunk-
|
|
7
|
+
} from "../chunk-WXIYV2PO.js";
|
|
8
8
|
import {
|
|
9
9
|
MediaUploader
|
|
10
10
|
} from "../chunk-SQ6LFPXH.js";
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
import {
|
|
15
15
|
MediaPicker,
|
|
16
16
|
PostForm
|
|
17
|
-
} from "../chunk-
|
|
17
|
+
} from "../chunk-BRTC5O3E.js";
|
|
18
18
|
import {
|
|
19
19
|
ImageUploadDialog,
|
|
20
20
|
sanitizeName,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
NewPostPage
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-
|
|
4
|
+
} from "../chunk-YU5MPQXB.js";
|
|
5
|
+
import "../chunk-BRTC5O3E.js";
|
|
6
6
|
import "../chunk-HN3UFHP7.js";
|
|
7
7
|
import "../chunk-PCPXAEBG.js";
|
|
8
8
|
import "../chunk-2ITWLRYF.js";
|
package/dist/metafile-esm.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"inputs":{"src/editor/admin-editor-extensions.ts":{"bytes":3160,"imports":[],"format":"esm"},"src/editor/admin-node-markdown.ts":{"bytes":3573,"imports":[],"format":"esm"},"src/editor/admin-node-html.ts":{"bytes":3766,"imports":[],"format":"esm"},"src/editor.ts":{"bytes":1301,"imports":[{"path":"src/editor/admin-editor-extensions.ts","kind":"import-statement","original":"./editor/admin-editor-extensions.js"},{"path":"src/editor/admin-node-markdown.ts","kind":"import-statement","original":"./editor/admin-node-markdown.js"},{"path":"src/editor/admin-node-html.ts","kind":"import-statement","original":"./editor/admin-node-html.js"}],"format":"esm"},"src/locales/en.json":{"bytes":14901,"imports":[]},"src/locales/ja.json":{"bytes":18800,"imports":[]},"src/lib/i18n.ts":{"bytes":2935,"imports":[{"path":"src/locales/en.json","kind":"import-statement","original":"../locales/en.json"},{"path":"src/locales/ja.json","kind":"import-statement","original":"../locales/ja.json"}],"format":"esm"},"src/lib/media.ts":{"bytes":3109,"imports":[],"format":"esm"},"src/lib/amplify-server.ts":{"bytes":593,"imports":[{"path":"@aws-amplify/adapter-nextjs","kind":"import-statement","external":true}],"format":"esm"},"src/lib/auth-server.ts":{"bytes":1678,"imports":[{"path":"next/headers","kind":"import-statement","external":true},{"path":"aws-amplify/auth/server","kind":"import-statement","external":true}],"format":"esm"},"src/index.ts":{"bytes":8496,"imports":[{"path":"src/lib/i18n.ts","kind":"import-statement","original":"./lib/i18n.js"},{"path":"src/lib/media.ts","kind":"import-statement","original":"./lib/media.js"},{"path":"src/lib/amplify-server.ts","kind":"import-statement","original":"./lib/amplify-server.js"},{"path":"src/lib/auth-server.ts","kind":"import-statement","original":"./lib/auth-server.js"},{"path":"src/lib/i18n.ts","kind":"import-statement","original":"./lib/i18n.js"}],"format":"esm"},"src/api/media-proxy.ts":{"bytes":4392,"imports":[{"path":"next/server","kind":"import-statement","external":true},{"path":"next/headers","kind":"import-statement","external":true},{"path":"aws-amplify/storage/server","kind":"import-statement","external":true},{"path":"@ampless/runtime","kind":"import-statement","external":true}],"format":"esm"},"src/api/index.ts":{"bytes":562,"imports":[{"path":"src/api/media-proxy.ts","kind":"import-statement","original":"./media-proxy.js"}],"format":"esm"},"src/components/i18n-provider.tsx":{"bytes":1526,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"src/lib/i18n.ts","kind":"import-statement","original":"../lib/i18n.js"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/components/admin-dashboard.tsx":{"bytes":2751,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"next/link","kind":"import-statement","external":true},{"path":"ampless","kind":"import-statement","external":true},{"path":"@ampless/runtime/ui","kind":"import-statement","external":true},{"path":"src/components/i18n-provider.tsx","kind":"import-statement","original":"./i18n-provider.js"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/lib/upload.ts":{"bytes":4604,"imports":[{"path":"aws-amplify/storage","kind":"import-statement","external":true},{"path":"aws-amplify/api","kind":"import-statement","external":true},{"path":"ampless","kind":"import-statement","external":true},{"path":"ampless/media","kind":"import-statement","external":true},{"path":"src/lib/media.ts","kind":"import-statement","original":"./media.js"}],"format":"esm"},"src/components/image-upload-dialog.tsx":{"bytes":14701,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"react-image-crop","kind":"import-statement","external":true},{"path":"react-image-crop/dist/ReactCrop.css","kind":"import-statement","external":true},{"path":"ampless/media","kind":"import-statement","external":true},{"path":"@ampless/runtime/ui","kind":"import-statement","external":true},{"path":"src/components/i18n-provider.tsx","kind":"import-statement","original":"./i18n-provider.js"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/lib/admin-config-client.ts":{"bytes":626,"imports":[],"format":"esm"},"src/components/media-picker.tsx":{"bytes":5261,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"aws-amplify/storage","kind":"import-statement","external":true},{"path":"lucide-react","kind":"import-statement","external":true},{"path":"@ampless/runtime/ui","kind":"import-statement","external":true},{"path":"src/lib/media.ts","kind":"import-statement","original":"../lib/media.js"},{"path":"src/lib/upload.ts","kind":"import-statement","original":"../lib/upload.js"},{"path":"src/components/image-upload-dialog.tsx","kind":"import-statement","original":"./image-upload-dialog.js"},{"path":"src/lib/admin-config-client.ts","kind":"import-statement","original":"../lib/admin-config-client.js"},{"path":"src/components/i18n-provider.tsx","kind":"import-statement","original":"./i18n-provider.js"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/editor/table-controls.tsx":{"bytes":4583,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"lucide-react","kind":"import-statement","external":true},{"path":"@ampless/runtime/ui","kind":"import-statement","external":true},{"path":"src/components/i18n-provider.tsx","kind":"import-statement","original":"../components/i18n-provider.js"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/editor/toolbar.tsx":{"bytes":4887,"imports":[{"path":"lucide-react","kind":"import-statement","external":true},{"path":"@ampless/runtime/ui","kind":"import-statement","external":true},{"path":"src/components/media-picker.tsx","kind":"import-statement","original":"../components/media-picker.js"},{"path":"src/components/i18n-provider.tsx","kind":"import-statement","original":"../components/i18n-provider.js"},{"path":"src/editor/table-controls.tsx","kind":"import-statement","original":"./table-controls.js"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/editor/image-bubble-menu.tsx":{"bytes":2716,"imports":[{"path":"@tiptap/react","kind":"import-statement","external":true},{"path":"@tiptap/react/menus","kind":"import-statement","external":true},{"path":"lucide-react","kind":"import-statement","external":true},{"path":"@ampless/runtime/ui","kind":"import-statement","external":true},{"path":"src/components/i18n-provider.tsx","kind":"import-statement","original":"../components/i18n-provider.js"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/editor/base-extensions.ts":{"bytes":2563,"imports":[{"path":"@tiptap/starter-kit","kind":"import-statement","external":true},{"path":"@tiptap/extension-link","kind":"import-statement","external":true},{"path":"@tiptap/extension-image","kind":"import-statement","external":true},{"path":"@tiptap/extension-table","kind":"import-statement","external":true},{"path":"@tiptap/extension-table-row","kind":"import-statement","external":true},{"path":"@tiptap/extension-table-header","kind":"import-statement","external":true},{"path":"@tiptap/extension-table-cell","kind":"import-statement","external":true},{"path":"@tiptap/extension-task-list","kind":"import-statement","external":true},{"path":"@tiptap/extension-task-item","kind":"import-statement","external":true},{"path":"@tiptap/extension-underline","kind":"import-statement","external":true},{"path":"@tiptap/extension-highlight","kind":"import-statement","external":true},{"path":"@tiptap/extension-text-align","kind":"import-statement","external":true}],"format":"esm"},"src/editor/tiptap-editor.tsx":{"bytes":4931,"imports":[{"path":"@tiptap/react","kind":"import-statement","external":true},{"path":"src/editor/toolbar.tsx","kind":"import-statement","original":"./toolbar.js"},{"path":"src/editor/image-bubble-menu.tsx","kind":"import-statement","original":"./image-bubble-menu.js"},{"path":"src/editor/admin-editor-extensions.ts","kind":"import-statement","original":"./admin-editor-extensions.js"},{"path":"src/editor/base-extensions.ts","kind":"import-statement","original":"./base-extensions.js"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/components/post-history-panel.tsx":{"bytes":12917,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"ampless","kind":"import-statement","external":true},{"path":"@ampless/runtime/ui","kind":"import-statement","external":true},{"path":"src/components/i18n-provider.tsx","kind":"import-statement","original":"./i18n-provider.js"},{"path":"src/lib/admin-config-client.ts","kind":"import-statement","original":"../lib/admin-config-client.js"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/lib/static-bundle.ts":{"bytes":5812,"imports":[{"path":"jszip","kind":"import-statement","external":true},{"path":"aws-amplify/storage","kind":"import-statement","external":true},{"path":"ampless","kind":"import-statement","external":true}],"format":"esm"},"src/components/static-uploader.tsx":{"bytes":8959,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"lucide-react","kind":"import-statement","external":true},{"path":"@ampless/runtime/ui","kind":"import-statement","external":true},{"path":"src/lib/static-bundle.ts","kind":"import-statement","original":"../lib/static-bundle.js"},{"path":"src/components/i18n-provider.tsx","kind":"import-statement","original":"./i18n-provider.js"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/lib/post-published-at.ts":{"bytes":5546,"imports":[],"format":"esm"},"src/lib/post-draft.ts":{"bytes":8232,"imports":[],"format":"esm"},"src/editor/format-switch.ts":{"bytes":4290,"imports":[{"path":"@ampless/runtime","kind":"import-statement","external":true},{"path":"@tiptap/core","kind":"import-statement","external":true}],"format":"esm"},"src/components/post-form.tsx":{"bytes":40112,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"next/navigation","kind":"import-statement","external":true},{"path":"lucide-react","kind":"import-statement","external":true},{"path":"ampless","kind":"import-statement","external":true},{"path":"@ampless/runtime/ui","kind":"import-statement","external":true},{"path":"src/editor/tiptap-editor.tsx","kind":"import-statement","original":"../editor/tiptap-editor.js"},{"path":"src/components/media-picker.tsx","kind":"import-statement","original":"./media-picker.js"},{"path":"src/components/post-history-panel.tsx","kind":"import-statement","original":"./post-history-panel.js"},{"path":"src/components/static-uploader.tsx","kind":"import-statement","original":"./static-uploader.js"},{"path":"src/lib/static-bundle.ts","kind":"import-statement","original":"../lib/static-bundle.js"},{"path":"src/components/i18n-provider.tsx","kind":"import-statement","original":"./i18n-provider.js"},{"path":"src/lib/post-published-at.ts","kind":"import-statement","original":"../lib/post-published-at.js"},{"path":"src/lib/post-draft.ts","kind":"import-statement","original":"../lib/post-draft.js"},{"path":"src/lib/admin-config-client.ts","kind":"import-statement","original":"../lib/admin-config-client.js"},{"path":"src/editor/admin-node-markdown.ts","kind":"import-statement","original":"../editor/admin-node-markdown.js"},{"path":"src/editor/admin-node-html.ts","kind":"import-statement","original":"../editor/admin-node-html.js"},{"path":"src/editor/admin-editor-extensions.ts","kind":"import-statement","original":"../editor/admin-editor-extensions.js"},{"path":"src/editor/base-extensions.ts","kind":"import-statement","original":"../editor/base-extensions.js"},{"path":"src/editor/format-switch.ts","kind":"import-statement","original":"../editor/format-switch.js"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/components/edit-post-view.tsx":{"bytes":1403,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"next/navigation","kind":"import-statement","external":true},{"path":"ampless","kind":"import-statement","external":true},{"path":"src/components/post-form.tsx","kind":"import-statement","original":"./post-form.js"},{"path":"src/components/i18n-provider.tsx","kind":"import-statement","original":"./i18n-provider.js"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/lib/amplify-client.ts":{"bytes":612,"imports":[{"path":"aws-amplify","kind":"import-statement","external":true}],"format":"esm"},"src/lib/posts-provider.ts":{"bytes":10902,"imports":[{"path":"aws-amplify/api","kind":"import-statement","external":true},{"path":"ampless","kind":"import-statement","external":true}],"format":"esm"},"src/lib/kv-provider.ts":{"bytes":4266,"imports":[{"path":"aws-amplify/api","kind":"import-statement","external":true},{"path":"ampless","kind":"import-statement","external":true}],"format":"esm"},"src/lib/mcp-token-store.ts":{"bytes":1823,"imports":[],"format":"esm"},"src/lib/mcp-token-provider.ts":{"bytes":2918,"imports":[{"path":"aws-amplify/api","kind":"import-statement","external":true},{"path":"src/lib/mcp-token-store.ts","kind":"import-statement","original":"./mcp-token-store.js"}],"format":"esm"},"src/components/admin-providers.tsx":{"bytes":1791,"imports":[{"path":"src/lib/amplify-client.ts","kind":"import-statement","original":"../lib/amplify-client.js"},{"path":"src/lib/posts-provider.ts","kind":"import-statement","original":"../lib/posts-provider.js"},{"path":"src/lib/kv-provider.ts","kind":"import-statement","original":"../lib/kv-provider.js"},{"path":"src/lib/mcp-token-provider.ts","kind":"import-statement","original":"../lib/mcp-token-provider.js"},{"path":"src/lib/admin-config-client.ts","kind":"import-statement","original":"../lib/admin-config-client.js"},{"path":"src/lib/media.ts","kind":"import-statement","original":"../lib/media.js"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/lib/theme-actions.ts":{"bytes":1517,"imports":[{"path":"next/cache","kind":"import-statement","external":true}],"format":"esm"},"src/components/sidebar.tsx":{"bytes":6070,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"next/link","kind":"import-statement","external":true},{"path":"next/navigation","kind":"import-statement","external":true},{"path":"aws-amplify/auth","kind":"import-statement","external":true},{"path":"lucide-react","kind":"import-statement","external":true},{"path":"@ampless/runtime/ui","kind":"import-statement","external":true},{"path":"src/components/i18n-provider.tsx","kind":"import-statement","original":"./i18n-provider.js"},{"path":"src/lib/post-draft.ts","kind":"import-statement","original":"../lib/post-draft.js"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/components/site-settings-form.tsx":{"bytes":6509,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"next/navigation","kind":"import-statement","external":true},{"path":"ampless","kind":"import-statement","external":true},{"path":"@ampless/runtime/ui","kind":"import-statement","external":true},{"path":"src/components/i18n-provider.tsx","kind":"import-statement","original":"./i18n-provider.js"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/components/theme-settings-form.tsx":{"bytes":30118,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"next/navigation","kind":"import-statement","external":true},{"path":"ampless","kind":"import-statement","external":true},{"path":"@ampless/runtime","kind":"import-statement","external":true},{"path":"@ampless/runtime/ui","kind":"import-statement","external":true},{"path":"src/lib/theme-actions.ts","kind":"import-statement","original":"../lib/theme-actions.js"},{"path":"src/components/i18n-provider.tsx","kind":"import-statement","original":"./i18n-provider.js"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/components/media-uploader.tsx":{"bytes":11631,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"aws-amplify/storage","kind":"import-statement","external":true},{"path":"ampless/media","kind":"import-statement","external":true},{"path":"@ampless/runtime/ui","kind":"import-statement","external":true},{"path":"lucide-react","kind":"import-statement","external":true},{"path":"src/lib/media.ts","kind":"import-statement","original":"../lib/media.js"},{"path":"src/lib/upload.ts","kind":"import-statement","original":"../lib/upload.js"},{"path":"src/lib/admin-config-client.ts","kind":"import-statement","original":"../lib/admin-config-client.js"},{"path":"src/components/image-upload-dialog.tsx","kind":"import-statement","original":"./image-upload-dialog.js"},{"path":"src/components/i18n-provider.tsx","kind":"import-statement","original":"./i18n-provider.js"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/components/index.ts":{"bytes":1684,"imports":[{"path":"src/components/i18n-provider.tsx","kind":"import-statement","original":"./i18n-provider.js"},{"path":"src/components/admin-providers.tsx","kind":"import-statement","original":"./admin-providers.js"},{"path":"src/lib/media.ts","kind":"import-statement","original":"../lib/media.js"},{"path":"src/lib/upload.ts","kind":"import-statement","original":"../lib/upload.js"},{"path":"src/lib/theme-actions.ts","kind":"import-statement","original":"../lib/theme-actions.js"},{"path":"src/components/sidebar.tsx","kind":"import-statement","original":"./sidebar.js"},{"path":"src/components/post-form.tsx","kind":"import-statement","original":"./post-form.js"},{"path":"src/components/site-settings-form.tsx","kind":"import-statement","original":"./site-settings-form.js"},{"path":"src/components/theme-settings-form.tsx","kind":"import-statement","original":"./theme-settings-form.js"},{"path":"src/components/media-uploader.tsx","kind":"import-statement","original":"./media-uploader.js"},{"path":"src/components/media-picker.tsx","kind":"import-statement","original":"./media-picker.js"},{"path":"src/components/image-upload-dialog.tsx","kind":"import-statement","original":"./image-upload-dialog.js"}],"format":"esm"},"src/components/login-view.tsx":{"bytes":7062,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"next/navigation","kind":"import-statement","external":true},{"path":"aws-amplify/auth","kind":"import-statement","external":true},{"path":"@ampless/runtime/ui","kind":"import-statement","external":true},{"path":"src/components/i18n-provider.tsx","kind":"import-statement","original":"./i18n-provider.js"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/lib/mcp-token-format.ts":{"bytes":1662,"imports":[{"path":"crypto","kind":"import-statement","external":true}],"format":"esm"},"src/lib/mcp-token-storage.ts":{"bytes":1728,"imports":[{"path":"src/lib/mcp-token-store.ts","kind":"import-statement","original":"./mcp-token-store.js"}],"format":"esm"},"src/components/mcp-tokens-view.tsx":{"bytes":13127,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@ampless/runtime/ui","kind":"import-statement","external":true},{"path":"src/components/i18n-provider.tsx","kind":"import-statement","original":"./i18n-provider.js"},{"path":"src/lib/mcp-token-format.ts","kind":"import-statement","original":"../lib/mcp-token-format.js"},{"path":"src/lib/mcp-token-storage.ts","kind":"import-statement","original":"../lib/mcp-token-storage.js"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/components/media-view.tsx":{"bytes":351,"imports":[{"path":"src/components/media-uploader.tsx","kind":"import-statement","original":"./media-uploader.js"},{"path":"src/components/i18n-provider.tsx","kind":"import-statement","original":"./i18n-provider.js"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/components/new-post-view.tsx":{"bytes":670,"imports":[{"path":"src/components/post-form.tsx","kind":"import-statement","original":"./post-form.js"},{"path":"src/components/i18n-provider.tsx","kind":"import-statement","original":"./i18n-provider.js"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/lib/plugin-settings.ts":{"bytes":3405,"imports":[{"path":"ampless","kind":"import-statement","external":true}],"format":"esm"},"src/lib/plugin-secret.ts":{"bytes":8865,"imports":[{"path":"aws-amplify/api","kind":"import-statement","external":true},{"path":"ampless","kind":"import-statement","external":true}],"format":"esm"},"src/lib/repeatable-field.ts":{"bytes":5326,"imports":[],"format":"esm"},"src/components/repeatable-field-editor.tsx":{"bytes":5231,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"ampless","kind":"import-statement","external":true},{"path":"@ampless/runtime/ui","kind":"import-statement","external":true},{"path":"src/components/i18n-provider.tsx","kind":"import-statement","original":"./i18n-provider.js"},{"path":"src/components/plugin-settings-form.tsx","kind":"import-statement","original":"./plugin-settings-form.js"},{"path":"src/lib/repeatable-field.ts","kind":"import-statement","original":"../lib/repeatable-field.js"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/lib/secret-field-input.ts":{"bytes":6212,"imports":[],"format":"esm"},"src/components/secret-field-input.tsx":{"bytes":7500,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"ampless","kind":"import-statement","external":true},{"path":"@ampless/runtime/ui","kind":"import-statement","external":true},{"path":"src/components/i18n-provider.tsx","kind":"import-statement","original":"./i18n-provider.js"},{"path":"src/lib/secret-field-input.ts","kind":"import-statement","original":"../lib/secret-field-input.js"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/components/plugin-settings-form.tsx":{"bytes":20677,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"ampless","kind":"import-statement","external":true},{"path":"@ampless/runtime/ui","kind":"import-statement","external":true},{"path":"src/lib/plugin-settings.ts","kind":"import-statement","original":"../lib/plugin-settings.js"},{"path":"src/lib/plugin-secret.ts","kind":"import-statement","original":"../lib/plugin-secret.js"},{"path":"src/lib/theme-actions.ts","kind":"import-statement","original":"../lib/theme-actions.js"},{"path":"src/components/i18n-provider.tsx","kind":"import-statement","original":"./i18n-provider.js"},{"path":"src/components/repeatable-field-editor.tsx","kind":"import-statement","original":"./repeatable-field-editor.js"},{"path":"src/components/secret-field-input.tsx","kind":"import-statement","original":"./secret-field-input.js"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/lib/post-list-filter.ts":{"bytes":2366,"imports":[],"format":"esm"},"src/components/posts-list-view.tsx":{"bytes":8236,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"next/link","kind":"import-statement","external":true},{"path":"ampless","kind":"import-statement","external":true},{"path":"@ampless/runtime/ui","kind":"import-statement","external":true},{"path":"src/lib/post-list-filter.ts","kind":"import-statement","original":"../lib/post-list-filter.js"},{"path":"src/components/i18n-provider.tsx","kind":"import-statement","original":"./i18n-provider.js"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/components/users-list-view.tsx":{"bytes":7042,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"aws-amplify/api","kind":"import-statement","external":true},{"path":"@ampless/runtime/ui","kind":"import-statement","external":true},{"path":"src/components/i18n-provider.tsx","kind":"import-statement","original":"./i18n-provider.js"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/pages/admin-layout.tsx":{"bytes":3243,"imports":[{"path":"next/navigation","kind":"import-statement","external":true},{"path":"src/components/i18n-provider.tsx","kind":"import-statement","original":"../components/i18n-provider.js"},{"path":"src/components/sidebar.tsx","kind":"import-statement","original":"../components/sidebar.js"},{"path":"src/components/admin-providers.tsx","kind":"import-statement","original":"../components/admin-providers.js"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/pages/dashboard.tsx":{"bytes":448,"imports":[{"path":"src/components/admin-dashboard.tsx","kind":"import-statement","original":"../components/admin-dashboard.js"}],"format":"esm"},"src/pages/posts-list.tsx":{"bytes":382,"imports":[{"path":"src/components/posts-list-view.tsx","kind":"import-statement","original":"../components/posts-list-view.js"}],"format":"esm"},"src/pages/post-new.tsx":{"bytes":1109,"imports":[{"path":"src/components/new-post-view.tsx","kind":"import-statement","original":"../components/new-post-view.js"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/pages/post-edit.tsx":{"bytes":1418,"imports":[{"path":"src/components/edit-post-view.tsx","kind":"import-statement","original":"../components/edit-post-view.js"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/pages/media.tsx":{"bytes":381,"imports":[{"path":"src/components/media-view.tsx","kind":"import-statement","original":"../components/media-view.js"}],"format":"esm"},"src/pages/site-edit.tsx":{"bytes":2165,"imports":[{"path":"next/link","kind":"import-statement","external":true},{"path":"src/components/site-settings-form.tsx","kind":"import-statement","original":"../components/site-settings-form.js"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/pages/site-theme.tsx":{"bytes":4013,"imports":[{"path":"next/link","kind":"import-statement","external":true},{"path":"ampless","kind":"import-statement","external":true},{"path":"src/components/theme-settings-form.tsx","kind":"import-statement","original":"../components/theme-settings-form.js"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/pages/users-list.tsx":{"bytes":647,"imports":[{"path":"next/navigation","kind":"import-statement","external":true},{"path":"src/components/users-list-view.tsx","kind":"import-statement","original":"../components/users-list-view.js"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/pages/mcp-tokens.tsx":{"bytes":1395,"imports":[{"path":"next/navigation","kind":"import-statement","external":true},{"path":"src/components/mcp-tokens-view.tsx","kind":"import-statement","original":"../components/mcp-tokens-view.js"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/pages/plugins.tsx":{"bytes":4233,"imports":[{"path":"next/navigation","kind":"import-statement","external":true},{"path":"ampless","kind":"import-statement","external":true},{"path":"src/components/plugin-settings-form.tsx","kind":"import-statement","original":"../components/plugin-settings-form.js"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/pages/login.tsx":{"bytes":400,"imports":[{"path":"src/components/login-view.tsx","kind":"import-statement","original":"../components/login-view.js"}],"format":"esm"},"src/pages/index.ts":{"bytes":1441,"imports":[{"path":"src/pages/admin-layout.tsx","kind":"import-statement","original":"./admin-layout.js"},{"path":"src/pages/dashboard.tsx","kind":"import-statement","original":"./dashboard.js"},{"path":"src/pages/posts-list.tsx","kind":"import-statement","original":"./posts-list.js"},{"path":"src/pages/post-new.tsx","kind":"import-statement","original":"./post-new.js"},{"path":"src/pages/post-edit.tsx","kind":"import-statement","original":"./post-edit.js"},{"path":"src/pages/media.tsx","kind":"import-statement","original":"./media.js"},{"path":"src/pages/site-edit.tsx","kind":"import-statement","original":"./site-edit.js"},{"path":"src/pages/site-theme.tsx","kind":"import-statement","original":"./site-theme.js"},{"path":"src/pages/users-list.tsx","kind":"import-statement","original":"./users-list.js"},{"path":"src/pages/mcp-tokens.tsx","kind":"import-statement","original":"./mcp-tokens.js"},{"path":"src/pages/plugins.tsx","kind":"import-statement","original":"./plugins.js"},{"path":"src/pages/login.tsx","kind":"import-statement","original":"./login.js"}],"format":"esm"}},"outputs":{"dist/components/media-view.js":{"imports":[{"path":"dist/chunk-MKWYNK4J.js","kind":"import-statement"},{"path":"dist/chunk-SQ6LFPXH.js","kind":"import-statement"},{"path":"dist/chunk-HN3UFHP7.js","kind":"import-statement"},{"path":"dist/chunk-2ITWLRYF.js","kind":"import-statement"},{"path":"dist/chunk-K44QF3MV.js","kind":"import-statement"},{"path":"dist/chunk-OFPNBZKP.js","kind":"import-statement"}],"exports":["MediaPage"],"entryPoint":"src/components/media-view.tsx","inputs":{},"bytes":245},"dist/components/new-post-view.js":{"imports":[{"path":"dist/chunk-TJTIKTUV.js","kind":"import-statement"},{"path":"dist/chunk-BAZ6YAPS.js","kind":"import-statement"},{"path":"dist/chunk-HN3UFHP7.js","kind":"import-statement"},{"path":"dist/chunk-PCPXAEBG.js","kind":"import-statement"},{"path":"dist/chunk-2ITWLRYF.js","kind":"import-statement"},{"path":"dist/chunk-K44QF3MV.js","kind":"import-statement"},{"path":"dist/chunk-OFPNBZKP.js","kind":"import-statement"}],"exports":["NewPostPage"],"entryPoint":"src/components/new-post-view.tsx","inputs":{},"bytes":280},"dist/components/plugin-settings-form.js":{"imports":[{"path":"dist/chunk-SMI7Y77B.js","kind":"import-statement"},{"path":"dist/chunk-D72XF3Q3.js","kind":"import-statement"},{"path":"dist/chunk-K44QF3MV.js","kind":"import-statement"},{"path":"dist/chunk-OFPNBZKP.js","kind":"import-statement"}],"exports":["PluginSettingsForm","renderScalarInput"],"entryPoint":"src/components/plugin-settings-form.tsx","inputs":{},"bytes":243},"dist/components/posts-list-view.js":{"imports":[{"path":"dist/chunk-4KUKZ2Y5.js","kind":"import-statement"},{"path":"dist/chunk-K44QF3MV.js","kind":"import-statement"},{"path":"dist/chunk-OFPNBZKP.js","kind":"import-statement"}],"exports":["PostsList"],"entryPoint":"src/components/posts-list-view.tsx","inputs":{},"bytes":152},"dist/components/users-list-view.js":{"imports":[{"path":"dist/chunk-7NQERXNY.js","kind":"import-statement"},{"path":"dist/chunk-K44QF3MV.js","kind":"import-statement"},{"path":"dist/chunk-OFPNBZKP.js","kind":"import-statement"}],"exports":["UsersListView"],"entryPoint":"src/components/users-list-view.tsx","inputs":{},"bytes":160},"dist/lib/theme-actions.js":{"imports":[{"path":"dist/chunk-D72XF3Q3.js","kind":"import-statement"}],"exports":["invalidateSiteSettingsCache"],"entryPoint":"src/lib/theme-actions.ts","inputs":{},"bytes":126},"dist/pages/index.js":{"imports":[{"path":"dist/chunk-MKWYNK4J.js","kind":"import-statement"},{"path":"dist/chunk-TJTIKTUV.js","kind":"import-statement"},{"path":"dist/chunk-SMI7Y77B.js","kind":"import-statement"},{"path":"dist/chunk-4KUKZ2Y5.js","kind":"import-statement"},{"path":"dist/chunk-7NQERXNY.js","kind":"import-statement"},{"path":"dist/chunk-CFIOUXVE.js","kind":"import-statement"},{"path":"dist/chunk-3KDJTNCS.js","kind":"import-statement"},{"path":"dist/chunk-RTNDMAFN.js","kind":"import-statement"},{"path":"dist/chunk-SQ6LFPXH.js","kind":"import-statement"},{"path":"dist/chunk-D72XF3Q3.js","kind":"import-statement"},{"path":"dist/chunk-BAZ6YAPS.js","kind":"import-statement"},{"path":"dist/chunk-HN3UFHP7.js","kind":"import-statement"},{"path":"dist/chunk-PCPXAEBG.js","kind":"import-statement"},{"path":"dist/chunk-2ITWLRYF.js","kind":"import-statement"},{"path":"dist/chunk-GGHN2RKQ.js","kind":"import-statement"},{"path":"dist/chunk-W4VHP2JW.js","kind":"import-statement"},{"path":"dist/chunk-C7G5AQ3L.js","kind":"import-statement"},{"path":"dist/chunk-K44QF3MV.js","kind":"import-statement"},{"path":"dist/chunk-OFPNBZKP.js","kind":"import-statement"},{"path":"next/navigation","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true},{"path":"next/link","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true},{"path":"next/link","kind":"import-statement","external":true},{"path":"ampless","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true},{"path":"next/navigation","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true},{"path":"next/navigation","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true},{"path":"next/navigation","kind":"import-statement","external":true},{"path":"ampless","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"exports":["createAdminDashboardPage","createAdminLayout","createEditPostPage","createLoginPage","createMcpTokensPage","createMediaPage","createNewPostPage","createPluginsPage","createPostsListPage","createSiteEditPage","createSiteThemePage","createUsersListPage"],"entryPoint":"src/pages/index.ts","inputs":{"src/pages/admin-layout.tsx":{"bytesInOutput":1280},"src/pages/index.ts":{"bytesInOutput":0},"src/pages/dashboard.tsx":{"bytesInOutput":71},"src/pages/posts-list.tsx":{"bytesInOutput":61},"src/pages/post-new.tsx":{"bytesInOutput":248},"src/pages/post-edit.tsx":{"bytesInOutput":266},"src/pages/media.tsx":{"bytesInOutput":57},"src/pages/site-edit.tsx":{"bytesInOutput":1723},"src/pages/site-theme.tsx":{"bytesInOutput":2299},"src/pages/users-list.tsx":{"bytesInOutput":404},"src/pages/mcp-tokens.tsx":{"bytesInOutput":679},"src/pages/plugins.tsx":{"bytesInOutput":2287},"src/pages/login.tsx":{"bytesInOutput":57}},"bytes":10947},"dist/chunk-MKWYNK4J.js":{"imports":[{"path":"dist/chunk-SQ6LFPXH.js","kind":"import-statement"},{"path":"dist/chunk-K44QF3MV.js","kind":"import-statement"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"exports":["MediaPage"],"inputs":{"src/components/media-view.tsx":{"bytesInOutput":358}},"bytes":518},"dist/chunk-TJTIKTUV.js":{"imports":[{"path":"dist/chunk-BAZ6YAPS.js","kind":"import-statement"},{"path":"dist/chunk-K44QF3MV.js","kind":"import-statement"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"exports":["NewPostPage"],"inputs":{"src/components/new-post-view.tsx":{"bytesInOutput":399}},"bytes":559},"dist/chunk-SMI7Y77B.js":{"imports":[{"path":"dist/chunk-D72XF3Q3.js","kind":"import-statement"},{"path":"dist/chunk-K44QF3MV.js","kind":"import-statement"},{"path":"react","kind":"import-statement","external":true},{"path":"ampless","kind":"import-statement","external":true},{"path":"@ampless/runtime/ui","kind":"import-statement","external":true},{"path":"ampless","kind":"import-statement","external":true},{"path":"aws-amplify/api","kind":"import-statement","external":true},{"path":"ampless","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"ampless","kind":"import-statement","external":true},{"path":"@ampless/runtime/ui","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"ampless","kind":"import-statement","external":true},{"path":"@ampless/runtime/ui","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"exports":["PluginSettingsForm","renderScalarInput"],"inputs":{"src/components/plugin-settings-form.tsx":{"bytesInOutput":14724},"src/lib/plugin-settings.ts":{"bytesInOutput":1178},"src/lib/plugin-secret.ts":{"bytesInOutput":3215},"src/components/repeatable-field-editor.tsx":{"bytesInOutput":3961},"src/lib/repeatable-field.ts":{"bytesInOutput":1651},"src/components/secret-field-input.tsx":{"bytesInOutput":5182},"src/lib/secret-field-input.ts":{"bytesInOutput":2013}},"bytes":32499},"dist/chunk-4KUKZ2Y5.js":{"imports":[{"path":"dist/chunk-K44QF3MV.js","kind":"import-statement"},{"path":"react","kind":"import-statement","external":true},{"path":"next/link","kind":"import-statement","external":true},{"path":"ampless","kind":"import-statement","external":true},{"path":"@ampless/runtime/ui","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"exports":["PostsList"],"inputs":{"src/components/posts-list-view.tsx":{"bytesInOutput":8353},"src/lib/post-list-filter.ts":{"bytesInOutput":1723}},"bytes":10257},"dist/chunk-7NQERXNY.js":{"imports":[{"path":"dist/chunk-K44QF3MV.js","kind":"import-statement"},{"path":"react","kind":"import-statement","external":true},{"path":"aws-amplify/api","kind":"import-statement","external":true},{"path":"@ampless/runtime/ui","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"exports":["UsersListView"],"inputs":{"src/components/users-list-view.tsx":{"bytesInOutput":5995}},"bytes":6109},"dist/editor.js":{"imports":[{"path":"dist/chunk-PCPXAEBG.js","kind":"import-statement"}],"exports":["getAdminEditorExtensions","getAdminTiptapNodeHtml","getAdminTiptapNodeMarkdown","installAdminEditorExtensions","installAdminTiptapNodeHtml","installAdminTiptapNodeMarkdown"],"entryPoint":"src/editor.ts","inputs":{"src/editor.ts":{"bytesInOutput":0}},"bytes":409},"dist/index.js":{"imports":[{"path":"dist/chunk-2ITWLRYF.js","kind":"import-statement"},{"path":"dist/chunk-OFPNBZKP.js","kind":"import-statement"},{"path":"@aws-amplify/adapter-nextjs","kind":"import-statement","external":true},{"path":"next/headers","kind":"import-statement","external":true},{"path":"aws-amplify/auth/server","kind":"import-statement","external":true}],"exports":["createAdmin","getDictionary","resolveLocale","translate"],"entryPoint":"src/index.ts","inputs":{"src/lib/amplify-server.ts":{"bytesInOutput":164},"src/lib/auth-server.ts":{"bytesInOutput":1143},"src/index.ts":{"bytesInOutput":2145}},"bytes":3737},"dist/api/index.js":{"imports":[{"path":"next/headers","kind":"import-statement","external":true},{"path":"aws-amplify/storage/server","kind":"import-statement","external":true},{"path":"@ampless/runtime","kind":"import-statement","external":true}],"exports":["createMediaProxyRoute"],"entryPoint":"src/api/index.ts","inputs":{"src/api/media-proxy.ts":{"bytesInOutput":1883},"src/api/index.ts":{"bytesInOutput":0}},"bytes":1945},"dist/components/admin-dashboard.js":{"imports":[{"path":"dist/chunk-CFIOUXVE.js","kind":"import-statement"},{"path":"dist/chunk-K44QF3MV.js","kind":"import-statement"},{"path":"dist/chunk-OFPNBZKP.js","kind":"import-statement"}],"exports":["AdminDashboard"],"entryPoint":"src/components/admin-dashboard.tsx","inputs":{},"bytes":162},"dist/chunk-CFIOUXVE.js":{"imports":[{"path":"dist/chunk-K44QF3MV.js","kind":"import-statement"},{"path":"react","kind":"import-statement","external":true},{"path":"next/link","kind":"import-statement","external":true},{"path":"ampless","kind":"import-statement","external":true},{"path":"@ampless/runtime/ui","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"exports":["AdminDashboard"],"inputs":{"src/components/admin-dashboard.tsx":{"bytesInOutput":2905}},"bytes":3020},"dist/components/edit-post-view.js":{"imports":[{"path":"dist/chunk-3KDJTNCS.js","kind":"import-statement"},{"path":"dist/chunk-BAZ6YAPS.js","kind":"import-statement"},{"path":"dist/chunk-HN3UFHP7.js","kind":"import-statement"},{"path":"dist/chunk-PCPXAEBG.js","kind":"import-statement"},{"path":"dist/chunk-2ITWLRYF.js","kind":"import-statement"},{"path":"dist/chunk-K44QF3MV.js","kind":"import-statement"},{"path":"dist/chunk-OFPNBZKP.js","kind":"import-statement"}],"exports":["EditPostPage"],"entryPoint":"src/components/edit-post-view.tsx","inputs":{},"bytes":282},"dist/chunk-3KDJTNCS.js":{"imports":[{"path":"dist/chunk-BAZ6YAPS.js","kind":"import-statement"},{"path":"dist/chunk-K44QF3MV.js","kind":"import-statement"},{"path":"react","kind":"import-statement","external":true},{"path":"next/navigation","kind":"import-statement","external":true},{"path":"ampless","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"exports":["EditPostPage"],"inputs":{"src/components/edit-post-view.tsx":{"bytesInOutput":1058}},"bytes":1220},"dist/components/index.js":{"imports":[{"path":"dist/chunk-RTNDMAFN.js","kind":"import-statement"},{"path":"dist/chunk-SQ6LFPXH.js","kind":"import-statement"},{"path":"dist/chunk-D72XF3Q3.js","kind":"import-statement"},{"path":"dist/chunk-BAZ6YAPS.js","kind":"import-statement"},{"path":"dist/chunk-HN3UFHP7.js","kind":"import-statement"},{"path":"dist/chunk-PCPXAEBG.js","kind":"import-statement"},{"path":"dist/chunk-2ITWLRYF.js","kind":"import-statement"},{"path":"dist/chunk-C7G5AQ3L.js","kind":"import-statement"},{"path":"dist/chunk-K44QF3MV.js","kind":"import-statement"},{"path":"dist/chunk-OFPNBZKP.js","kind":"import-statement"}],"exports":["AdminProviders","I18nProvider","ImageUploadDialog","MediaPicker","MediaUploader","PostForm","Sidebar","SiteSettingsForm","ThemeSettingsForm","invalidateSiteSettingsCache","publicMediaUrl","sanitizeName","setAdminMediaContext","uploadProcessedImage","useLocale","useT"],"entryPoint":"src/components/index.ts","inputs":{"src/components/index.ts":{"bytesInOutput":0}},"bytes":947},"dist/chunk-RTNDMAFN.js":{"imports":[{"path":"dist/chunk-D72XF3Q3.js","kind":"import-statement"},{"path":"dist/chunk-BAZ6YAPS.js","kind":"import-statement"},{"path":"dist/chunk-HN3UFHP7.js","kind":"import-statement"},{"path":"dist/chunk-2ITWLRYF.js","kind":"import-statement"},{"path":"dist/chunk-C7G5AQ3L.js","kind":"import-statement"},{"path":"dist/chunk-K44QF3MV.js","kind":"import-statement"},{"path":"aws-amplify","kind":"import-statement","external":true},{"path":"aws-amplify/api","kind":"import-statement","external":true},{"path":"ampless","kind":"import-statement","external":true},{"path":"aws-amplify/api","kind":"import-statement","external":true},{"path":"ampless","kind":"import-statement","external":true},{"path":"aws-amplify/api","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"next/link","kind":"import-statement","external":true},{"path":"next/navigation","kind":"import-statement","external":true},{"path":"aws-amplify/auth","kind":"import-statement","external":true},{"path":"lucide-react","kind":"import-statement","external":true},{"path":"@ampless/runtime/ui","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"next/navigation","kind":"import-statement","external":true},{"path":"ampless","kind":"import-statement","external":true},{"path":"@ampless/runtime/ui","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"next/navigation","kind":"import-statement","external":true},{"path":"ampless","kind":"import-statement","external":true},{"path":"@ampless/runtime","kind":"import-statement","external":true},{"path":"@ampless/runtime/ui","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"exports":["AdminProviders","Sidebar","SiteSettingsForm","ThemeSettingsForm"],"inputs":{"src/lib/amplify-client.ts":{"bytesInOutput":194},"src/lib/posts-provider.ts":{"bytesInOutput":5751},"src/lib/kv-provider.ts":{"bytesInOutput":2125},"src/lib/mcp-token-provider.ts":{"bytesInOutput":1513},"src/components/admin-providers.tsx":{"bytesInOutput":371},"src/components/sidebar.tsx":{"bytesInOutput":5903},"src/components/site-settings-form.tsx":{"bytesInOutput":6899},"src/components/theme-settings-form.tsx":{"bytesInOutput":21443}},"bytes":44926},"dist/chunk-SQ6LFPXH.js":{"imports":[{"path":"dist/chunk-HN3UFHP7.js","kind":"import-statement"},{"path":"dist/chunk-2ITWLRYF.js","kind":"import-statement"},{"path":"dist/chunk-K44QF3MV.js","kind":"import-statement"},{"path":"react","kind":"import-statement","external":true},{"path":"aws-amplify/storage","kind":"import-statement","external":true},{"path":"ampless/media","kind":"import-statement","external":true},{"path":"@ampless/runtime/ui","kind":"import-statement","external":true},{"path":"lucide-react","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"exports":["MediaUploader"],"inputs":{"src/components/media-uploader.tsx":{"bytesInOutput":9157}},"bytes":9433},"dist/chunk-D72XF3Q3.js":{"imports":[{"path":"next/cache","kind":"import-statement","external":true}],"exports":["invalidateSiteSettingsCache"],"inputs":{"src/lib/theme-actions.ts":{"bytesInOutput":134}},"bytes":205},"dist/chunk-BAZ6YAPS.js":{"imports":[{"path":"dist/chunk-HN3UFHP7.js","kind":"import-statement"},{"path":"dist/chunk-PCPXAEBG.js","kind":"import-statement"},{"path":"dist/chunk-2ITWLRYF.js","kind":"import-statement"},{"path":"dist/chunk-K44QF3MV.js","kind":"import-statement"},{"path":"react","kind":"import-statement","external":true},{"path":"aws-amplify/storage","kind":"import-statement","external":true},{"path":"lucide-react","kind":"import-statement","external":true},{"path":"@ampless/runtime/ui","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"next/navigation","kind":"import-statement","external":true},{"path":"lucide-react","kind":"import-statement","external":true},{"path":"ampless","kind":"import-statement","external":true},{"path":"@ampless/runtime/ui","kind":"import-statement","external":true},{"path":"@tiptap/react","kind":"import-statement","external":true},{"path":"lucide-react","kind":"import-statement","external":true},{"path":"@ampless/runtime/ui","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"lucide-react","kind":"import-statement","external":true},{"path":"@ampless/runtime/ui","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true},{"path":"@tiptap/react/menus","kind":"import-statement","external":true},{"path":"lucide-react","kind":"import-statement","external":true},{"path":"@ampless/runtime/ui","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true},{"path":"@tiptap/starter-kit","kind":"import-statement","external":true},{"path":"@tiptap/extension-link","kind":"import-statement","external":true},{"path":"@tiptap/extension-image","kind":"import-statement","external":true},{"path":"@tiptap/extension-table","kind":"import-statement","external":true},{"path":"@tiptap/extension-table-row","kind":"import-statement","external":true},{"path":"@tiptap/extension-table-header","kind":"import-statement","external":true},{"path":"@tiptap/extension-table-cell","kind":"import-statement","external":true},{"path":"@tiptap/extension-task-list","kind":"import-statement","external":true},{"path":"@tiptap/extension-task-item","kind":"import-statement","external":true},{"path":"@tiptap/extension-underline","kind":"import-statement","external":true},{"path":"@tiptap/extension-highlight","kind":"import-statement","external":true},{"path":"@tiptap/extension-text-align","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"ampless","kind":"import-statement","external":true},{"path":"@ampless/runtime/ui","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"lucide-react","kind":"import-statement","external":true},{"path":"@ampless/runtime/ui","kind":"import-statement","external":true},{"path":"jszip","kind":"import-statement","external":true},{"path":"aws-amplify/storage","kind":"import-statement","external":true},{"path":"ampless","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true},{"path":"@ampless/runtime","kind":"import-statement","external":true},{"path":"@tiptap/core","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"exports":["MediaPicker","PostForm","clearAllDrafts"],"inputs":{"src/components/media-picker.tsx":{"bytesInOutput":4988},"src/components/post-form.tsx":{"bytesInOutput":27310},"src/editor/tiptap-editor.tsx":{"bytesInOutput":2771},"src/editor/toolbar.tsx":{"bytesInOutput":4823},"src/editor/table-controls.tsx":{"bytesInOutput":4227},"src/editor/image-bubble-menu.tsx":{"bytesInOutput":2901},"src/editor/base-extensions.ts":{"bytesInOutput":1449},"src/components/post-history-panel.tsx":{"bytesInOutput":10324},"src/components/static-uploader.tsx":{"bytesInOutput":7717},"src/lib/static-bundle.ts":{"bytesInOutput":2806},"src/lib/post-published-at.ts":{"bytesInOutput":1301},"src/lib/post-draft.ts":{"bytesInOutput":2725},"src/editor/format-switch.ts":{"bytesInOutput":985}},"bytes":75309},"dist/chunk-HN3UFHP7.js":{"imports":[{"path":"dist/chunk-2ITWLRYF.js","kind":"import-statement"},{"path":"dist/chunk-K44QF3MV.js","kind":"import-statement"},{"path":"aws-amplify/storage","kind":"import-statement","external":true},{"path":"aws-amplify/api","kind":"import-statement","external":true},{"path":"ampless","kind":"import-statement","external":true},{"path":"ampless/media","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"react-image-crop","kind":"import-statement","external":true},{"path":"react-image-crop/dist/ReactCrop.css","kind":"import-statement","external":true},{"path":"ampless/media","kind":"import-statement","external":true},{"path":"@ampless/runtime/ui","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"exports":["ImageUploadDialog","createMediaRow","getAdminCmsConfig","getMediaProcessingDefaults","sanitizeName","setAdminCmsConfigClient","uploadProcessedImage"],"inputs":{"src/lib/upload.ts":{"bytesInOutput":2048},"src/components/image-upload-dialog.tsx":{"bytesInOutput":12823},"src/lib/admin-config-client.ts":{"bytesInOutput":223}},"bytes":15465},"dist/chunk-PCPXAEBG.js":{"imports":[],"exports":["getAdminEditorExtensions","getAdminTiptapNodeHtml","getAdminTiptapNodeMarkdown","installAdminEditorExtensions","installAdminTiptapNodeHtml","installAdminTiptapNodeMarkdown"],"inputs":{"src/editor/admin-editor-extensions.ts":{"bytesInOutput":607},"src/editor/admin-node-markdown.ts":{"bytesInOutput":565},"src/editor/admin-node-html.ts":{"bytesInOutput":558}},"bytes":2035},"dist/chunk-2ITWLRYF.js":{"imports":[],"exports":["createMedia","publicMediaUrl","setAdminMediaContext"],"inputs":{"src/lib/media.ts":{"bytesInOutput":1326}},"bytes":1415},"dist/components/login-view.js":{"imports":[{"path":"dist/chunk-GGHN2RKQ.js","kind":"import-statement"},{"path":"dist/chunk-K44QF3MV.js","kind":"import-statement"},{"path":"dist/chunk-OFPNBZKP.js","kind":"import-statement"}],"exports":["LoginPage"],"entryPoint":"src/components/login-view.tsx","inputs":{},"bytes":152},"dist/chunk-GGHN2RKQ.js":{"imports":[{"path":"dist/chunk-K44QF3MV.js","kind":"import-statement"},{"path":"react","kind":"import-statement","external":true},{"path":"next/navigation","kind":"import-statement","external":true},{"path":"aws-amplify/auth","kind":"import-statement","external":true},{"path":"@ampless/runtime/ui","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"exports":["LoginPage"],"inputs":{"src/components/login-view.tsx":{"bytesInOutput":6967}},"bytes":7072},"dist/components/mcp-tokens-view.js":{"imports":[{"path":"dist/chunk-W4VHP2JW.js","kind":"import-statement"},{"path":"dist/chunk-C7G5AQ3L.js","kind":"import-statement"},{"path":"dist/chunk-K44QF3MV.js","kind":"import-statement"},{"path":"dist/chunk-OFPNBZKP.js","kind":"import-statement"}],"exports":["McpTokensView"],"entryPoint":"src/components/mcp-tokens-view.tsx","inputs":{},"bytes":191},"dist/chunk-W4VHP2JW.js":{"imports":[{"path":"dist/chunk-C7G5AQ3L.js","kind":"import-statement"},{"path":"dist/chunk-K44QF3MV.js","kind":"import-statement"},{"path":"react","kind":"import-statement","external":true},{"path":"@ampless/runtime/ui","kind":"import-statement","external":true},{"path":"crypto","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"exports":["McpTokensView"],"inputs":{"src/components/mcp-tokens-view.tsx":{"bytesInOutput":12281},"src/lib/mcp-token-format.ts":{"bytesInOutput":459},"src/lib/mcp-token-storage.ts":{"bytesInOutput":575}},"bytes":13591},"dist/chunk-C7G5AQ3L.js":{"imports":[],"exports":["getMcpTokenStore","setMcpTokenStore"],"inputs":{"src/lib/mcp-token-store.ts":{"bytesInOutput":297}},"bytes":379},"dist/chunk-K44QF3MV.js":{"imports":[{"path":"dist/chunk-OFPNBZKP.js","kind":"import-statement"},{"path":"react","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"exports":["I18nProvider","useLocale","useT"],"inputs":{"src/components/i18n-provider.tsx":{"bytesInOutput":785}},"bytes":922},"dist/chunk-OFPNBZKP.js":{"imports":[],"exports":["getDictionary","resolveLocale","translate"],"inputs":{"src/locales/en.json":{"bytesInOutput":14279},"src/locales/ja.json":{"bytesInOutput":28212},"src/lib/i18n.ts":{"bytesInOutput":1146}},"bytes":43763}}}
|
|
1
|
+
{"inputs":{"src/editor/admin-editor-extensions.ts":{"bytes":3160,"imports":[],"format":"esm"},"src/editor/admin-node-markdown.ts":{"bytes":3573,"imports":[],"format":"esm"},"src/editor/admin-node-html.ts":{"bytes":3766,"imports":[],"format":"esm"},"src/editor.ts":{"bytes":1301,"imports":[{"path":"src/editor/admin-editor-extensions.ts","kind":"import-statement","original":"./editor/admin-editor-extensions.js"},{"path":"src/editor/admin-node-markdown.ts","kind":"import-statement","original":"./editor/admin-node-markdown.js"},{"path":"src/editor/admin-node-html.ts","kind":"import-statement","original":"./editor/admin-node-html.js"}],"format":"esm"},"src/locales/en.json":{"bytes":14901,"imports":[]},"src/locales/ja.json":{"bytes":18800,"imports":[]},"src/lib/i18n.ts":{"bytes":2935,"imports":[{"path":"src/locales/en.json","kind":"import-statement","original":"../locales/en.json"},{"path":"src/locales/ja.json","kind":"import-statement","original":"../locales/ja.json"}],"format":"esm"},"src/lib/media.ts":{"bytes":3109,"imports":[],"format":"esm"},"src/lib/amplify-server.ts":{"bytes":593,"imports":[{"path":"@aws-amplify/adapter-nextjs","kind":"import-statement","external":true}],"format":"esm"},"src/lib/auth-server.ts":{"bytes":1678,"imports":[{"path":"next/headers","kind":"import-statement","external":true},{"path":"aws-amplify/auth/server","kind":"import-statement","external":true}],"format":"esm"},"src/index.ts":{"bytes":8496,"imports":[{"path":"src/lib/i18n.ts","kind":"import-statement","original":"./lib/i18n.js"},{"path":"src/lib/media.ts","kind":"import-statement","original":"./lib/media.js"},{"path":"src/lib/amplify-server.ts","kind":"import-statement","original":"./lib/amplify-server.js"},{"path":"src/lib/auth-server.ts","kind":"import-statement","original":"./lib/auth-server.js"},{"path":"src/lib/i18n.ts","kind":"import-statement","original":"./lib/i18n.js"}],"format":"esm"},"src/api/media-proxy.ts":{"bytes":4392,"imports":[{"path":"next/server","kind":"import-statement","external":true},{"path":"next/headers","kind":"import-statement","external":true},{"path":"aws-amplify/storage/server","kind":"import-statement","external":true},{"path":"@ampless/runtime","kind":"import-statement","external":true}],"format":"esm"},"src/api/preview-route.tsx":{"bytes":9972,"imports":[{"path":"@ampless/runtime","kind":"import-statement","external":true},{"path":"react-dom/server","kind":"dynamic-import","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/api/index.ts":{"bytes":625,"imports":[{"path":"src/api/media-proxy.ts","kind":"import-statement","original":"./media-proxy.js"},{"path":"src/api/preview-route.tsx","kind":"import-statement","original":"./preview-route.js"}],"format":"esm"},"src/components/i18n-provider.tsx":{"bytes":1526,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"src/lib/i18n.ts","kind":"import-statement","original":"../lib/i18n.js"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/components/admin-dashboard.tsx":{"bytes":2751,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"next/link","kind":"import-statement","external":true},{"path":"ampless","kind":"import-statement","external":true},{"path":"@ampless/runtime/ui","kind":"import-statement","external":true},{"path":"src/components/i18n-provider.tsx","kind":"import-statement","original":"./i18n-provider.js"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/lib/upload.ts":{"bytes":4604,"imports":[{"path":"aws-amplify/storage","kind":"import-statement","external":true},{"path":"aws-amplify/api","kind":"import-statement","external":true},{"path":"ampless","kind":"import-statement","external":true},{"path":"ampless/media","kind":"import-statement","external":true},{"path":"src/lib/media.ts","kind":"import-statement","original":"./media.js"}],"format":"esm"},"src/components/image-upload-dialog.tsx":{"bytes":14701,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"react-image-crop","kind":"import-statement","external":true},{"path":"react-image-crop/dist/ReactCrop.css","kind":"import-statement","external":true},{"path":"ampless/media","kind":"import-statement","external":true},{"path":"@ampless/runtime/ui","kind":"import-statement","external":true},{"path":"src/components/i18n-provider.tsx","kind":"import-statement","original":"./i18n-provider.js"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/lib/admin-config-client.ts":{"bytes":626,"imports":[],"format":"esm"},"src/components/media-picker.tsx":{"bytes":5261,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"aws-amplify/storage","kind":"import-statement","external":true},{"path":"lucide-react","kind":"import-statement","external":true},{"path":"@ampless/runtime/ui","kind":"import-statement","external":true},{"path":"src/lib/media.ts","kind":"import-statement","original":"../lib/media.js"},{"path":"src/lib/upload.ts","kind":"import-statement","original":"../lib/upload.js"},{"path":"src/components/image-upload-dialog.tsx","kind":"import-statement","original":"./image-upload-dialog.js"},{"path":"src/lib/admin-config-client.ts","kind":"import-statement","original":"../lib/admin-config-client.js"},{"path":"src/components/i18n-provider.tsx","kind":"import-statement","original":"./i18n-provider.js"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/editor/table-controls.tsx":{"bytes":4583,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"lucide-react","kind":"import-statement","external":true},{"path":"@ampless/runtime/ui","kind":"import-statement","external":true},{"path":"src/components/i18n-provider.tsx","kind":"import-statement","original":"../components/i18n-provider.js"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/editor/toolbar.tsx":{"bytes":4887,"imports":[{"path":"lucide-react","kind":"import-statement","external":true},{"path":"@ampless/runtime/ui","kind":"import-statement","external":true},{"path":"src/components/media-picker.tsx","kind":"import-statement","original":"../components/media-picker.js"},{"path":"src/components/i18n-provider.tsx","kind":"import-statement","original":"../components/i18n-provider.js"},{"path":"src/editor/table-controls.tsx","kind":"import-statement","original":"./table-controls.js"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/editor/image-bubble-menu.tsx":{"bytes":2716,"imports":[{"path":"@tiptap/react","kind":"import-statement","external":true},{"path":"@tiptap/react/menus","kind":"import-statement","external":true},{"path":"lucide-react","kind":"import-statement","external":true},{"path":"@ampless/runtime/ui","kind":"import-statement","external":true},{"path":"src/components/i18n-provider.tsx","kind":"import-statement","original":"../components/i18n-provider.js"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/editor/base-extensions.ts":{"bytes":2563,"imports":[{"path":"@tiptap/starter-kit","kind":"import-statement","external":true},{"path":"@tiptap/extension-link","kind":"import-statement","external":true},{"path":"@tiptap/extension-image","kind":"import-statement","external":true},{"path":"@tiptap/extension-table","kind":"import-statement","external":true},{"path":"@tiptap/extension-table-row","kind":"import-statement","external":true},{"path":"@tiptap/extension-table-header","kind":"import-statement","external":true},{"path":"@tiptap/extension-table-cell","kind":"import-statement","external":true},{"path":"@tiptap/extension-task-list","kind":"import-statement","external":true},{"path":"@tiptap/extension-task-item","kind":"import-statement","external":true},{"path":"@tiptap/extension-underline","kind":"import-statement","external":true},{"path":"@tiptap/extension-highlight","kind":"import-statement","external":true},{"path":"@tiptap/extension-text-align","kind":"import-statement","external":true}],"format":"esm"},"src/editor/tiptap-editor.tsx":{"bytes":4931,"imports":[{"path":"@tiptap/react","kind":"import-statement","external":true},{"path":"src/editor/toolbar.tsx","kind":"import-statement","original":"./toolbar.js"},{"path":"src/editor/image-bubble-menu.tsx","kind":"import-statement","original":"./image-bubble-menu.js"},{"path":"src/editor/admin-editor-extensions.ts","kind":"import-statement","original":"./admin-editor-extensions.js"},{"path":"src/editor/base-extensions.ts","kind":"import-statement","original":"./base-extensions.js"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/components/post-history-panel.tsx":{"bytes":13156,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"ampless","kind":"import-statement","external":true},{"path":"@ampless/runtime/ui","kind":"import-statement","external":true},{"path":"src/components/i18n-provider.tsx","kind":"import-statement","original":"./i18n-provider.js"},{"path":"src/lib/admin-config-client.ts","kind":"import-statement","original":"../lib/admin-config-client.js"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/lib/static-bundle.ts":{"bytes":5812,"imports":[{"path":"jszip","kind":"import-statement","external":true},{"path":"aws-amplify/storage","kind":"import-statement","external":true},{"path":"ampless","kind":"import-statement","external":true}],"format":"esm"},"src/components/static-uploader.tsx":{"bytes":8959,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"lucide-react","kind":"import-statement","external":true},{"path":"@ampless/runtime/ui","kind":"import-statement","external":true},{"path":"src/lib/static-bundle.ts","kind":"import-statement","original":"../lib/static-bundle.js"},{"path":"src/components/i18n-provider.tsx","kind":"import-statement","original":"./i18n-provider.js"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/lib/post-published-at.ts":{"bytes":5546,"imports":[],"format":"esm"},"src/lib/post-draft.ts":{"bytes":8232,"imports":[],"format":"esm"},"src/editor/format-switch.ts":{"bytes":4290,"imports":[{"path":"@ampless/runtime","kind":"import-statement","external":true},{"path":"@tiptap/core","kind":"import-statement","external":true}],"format":"esm"},"src/components/post-form.tsx":{"bytes":40538,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"next/navigation","kind":"import-statement","external":true},{"path":"lucide-react","kind":"import-statement","external":true},{"path":"ampless","kind":"import-statement","external":true},{"path":"@ampless/runtime/ui","kind":"import-statement","external":true},{"path":"src/editor/tiptap-editor.tsx","kind":"import-statement","original":"../editor/tiptap-editor.js"},{"path":"src/components/media-picker.tsx","kind":"import-statement","original":"./media-picker.js"},{"path":"src/components/post-history-panel.tsx","kind":"import-statement","original":"./post-history-panel.js"},{"path":"src/components/static-uploader.tsx","kind":"import-statement","original":"./static-uploader.js"},{"path":"src/lib/static-bundle.ts","kind":"import-statement","original":"../lib/static-bundle.js"},{"path":"src/components/i18n-provider.tsx","kind":"import-statement","original":"./i18n-provider.js"},{"path":"src/lib/post-published-at.ts","kind":"import-statement","original":"../lib/post-published-at.js"},{"path":"src/lib/post-draft.ts","kind":"import-statement","original":"../lib/post-draft.js"},{"path":"src/lib/admin-config-client.ts","kind":"import-statement","original":"../lib/admin-config-client.js"},{"path":"src/editor/admin-node-markdown.ts","kind":"import-statement","original":"../editor/admin-node-markdown.js"},{"path":"src/editor/admin-node-html.ts","kind":"import-statement","original":"../editor/admin-node-html.js"},{"path":"src/editor/admin-editor-extensions.ts","kind":"import-statement","original":"../editor/admin-editor-extensions.js"},{"path":"src/editor/base-extensions.ts","kind":"import-statement","original":"../editor/base-extensions.js"},{"path":"src/editor/format-switch.ts","kind":"import-statement","original":"../editor/format-switch.js"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/components/edit-post-view.tsx":{"bytes":1403,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"next/navigation","kind":"import-statement","external":true},{"path":"ampless","kind":"import-statement","external":true},{"path":"src/components/post-form.tsx","kind":"import-statement","original":"./post-form.js"},{"path":"src/components/i18n-provider.tsx","kind":"import-statement","original":"./i18n-provider.js"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/lib/amplify-client.ts":{"bytes":612,"imports":[{"path":"aws-amplify","kind":"import-statement","external":true}],"format":"esm"},"src/lib/posts-provider.ts":{"bytes":10902,"imports":[{"path":"aws-amplify/api","kind":"import-statement","external":true},{"path":"ampless","kind":"import-statement","external":true}],"format":"esm"},"src/lib/kv-provider.ts":{"bytes":4266,"imports":[{"path":"aws-amplify/api","kind":"import-statement","external":true},{"path":"ampless","kind":"import-statement","external":true}],"format":"esm"},"src/lib/mcp-token-store.ts":{"bytes":1823,"imports":[],"format":"esm"},"src/lib/mcp-token-provider.ts":{"bytes":2918,"imports":[{"path":"aws-amplify/api","kind":"import-statement","external":true},{"path":"src/lib/mcp-token-store.ts","kind":"import-statement","original":"./mcp-token-store.js"}],"format":"esm"},"src/components/admin-providers.tsx":{"bytes":1791,"imports":[{"path":"src/lib/amplify-client.ts","kind":"import-statement","original":"../lib/amplify-client.js"},{"path":"src/lib/posts-provider.ts","kind":"import-statement","original":"../lib/posts-provider.js"},{"path":"src/lib/kv-provider.ts","kind":"import-statement","original":"../lib/kv-provider.js"},{"path":"src/lib/mcp-token-provider.ts","kind":"import-statement","original":"../lib/mcp-token-provider.js"},{"path":"src/lib/admin-config-client.ts","kind":"import-statement","original":"../lib/admin-config-client.js"},{"path":"src/lib/media.ts","kind":"import-statement","original":"../lib/media.js"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/lib/theme-actions.ts":{"bytes":1517,"imports":[{"path":"next/cache","kind":"import-statement","external":true}],"format":"esm"},"src/components/sidebar.tsx":{"bytes":6070,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"next/link","kind":"import-statement","external":true},{"path":"next/navigation","kind":"import-statement","external":true},{"path":"aws-amplify/auth","kind":"import-statement","external":true},{"path":"lucide-react","kind":"import-statement","external":true},{"path":"@ampless/runtime/ui","kind":"import-statement","external":true},{"path":"src/components/i18n-provider.tsx","kind":"import-statement","original":"./i18n-provider.js"},{"path":"src/lib/post-draft.ts","kind":"import-statement","original":"../lib/post-draft.js"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/components/site-settings-form.tsx":{"bytes":6509,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"next/navigation","kind":"import-statement","external":true},{"path":"ampless","kind":"import-statement","external":true},{"path":"@ampless/runtime/ui","kind":"import-statement","external":true},{"path":"src/components/i18n-provider.tsx","kind":"import-statement","original":"./i18n-provider.js"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/components/theme-settings-form.tsx":{"bytes":30118,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"next/navigation","kind":"import-statement","external":true},{"path":"ampless","kind":"import-statement","external":true},{"path":"@ampless/runtime","kind":"import-statement","external":true},{"path":"@ampless/runtime/ui","kind":"import-statement","external":true},{"path":"src/lib/theme-actions.ts","kind":"import-statement","original":"../lib/theme-actions.js"},{"path":"src/components/i18n-provider.tsx","kind":"import-statement","original":"./i18n-provider.js"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/components/media-uploader.tsx":{"bytes":11631,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"aws-amplify/storage","kind":"import-statement","external":true},{"path":"ampless/media","kind":"import-statement","external":true},{"path":"@ampless/runtime/ui","kind":"import-statement","external":true},{"path":"lucide-react","kind":"import-statement","external":true},{"path":"src/lib/media.ts","kind":"import-statement","original":"../lib/media.js"},{"path":"src/lib/upload.ts","kind":"import-statement","original":"../lib/upload.js"},{"path":"src/lib/admin-config-client.ts","kind":"import-statement","original":"../lib/admin-config-client.js"},{"path":"src/components/image-upload-dialog.tsx","kind":"import-statement","original":"./image-upload-dialog.js"},{"path":"src/components/i18n-provider.tsx","kind":"import-statement","original":"./i18n-provider.js"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/components/index.ts":{"bytes":1684,"imports":[{"path":"src/components/i18n-provider.tsx","kind":"import-statement","original":"./i18n-provider.js"},{"path":"src/components/admin-providers.tsx","kind":"import-statement","original":"./admin-providers.js"},{"path":"src/lib/media.ts","kind":"import-statement","original":"../lib/media.js"},{"path":"src/lib/upload.ts","kind":"import-statement","original":"../lib/upload.js"},{"path":"src/lib/theme-actions.ts","kind":"import-statement","original":"../lib/theme-actions.js"},{"path":"src/components/sidebar.tsx","kind":"import-statement","original":"./sidebar.js"},{"path":"src/components/post-form.tsx","kind":"import-statement","original":"./post-form.js"},{"path":"src/components/site-settings-form.tsx","kind":"import-statement","original":"./site-settings-form.js"},{"path":"src/components/theme-settings-form.tsx","kind":"import-statement","original":"./theme-settings-form.js"},{"path":"src/components/media-uploader.tsx","kind":"import-statement","original":"./media-uploader.js"},{"path":"src/components/media-picker.tsx","kind":"import-statement","original":"./media-picker.js"},{"path":"src/components/image-upload-dialog.tsx","kind":"import-statement","original":"./image-upload-dialog.js"}],"format":"esm"},"src/components/login-view.tsx":{"bytes":7062,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"next/navigation","kind":"import-statement","external":true},{"path":"aws-amplify/auth","kind":"import-statement","external":true},{"path":"@ampless/runtime/ui","kind":"import-statement","external":true},{"path":"src/components/i18n-provider.tsx","kind":"import-statement","original":"./i18n-provider.js"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/lib/mcp-token-format.ts":{"bytes":1662,"imports":[{"path":"crypto","kind":"import-statement","external":true}],"format":"esm"},"src/lib/mcp-token-storage.ts":{"bytes":1728,"imports":[{"path":"src/lib/mcp-token-store.ts","kind":"import-statement","original":"./mcp-token-store.js"}],"format":"esm"},"src/components/mcp-tokens-view.tsx":{"bytes":13127,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@ampless/runtime/ui","kind":"import-statement","external":true},{"path":"src/components/i18n-provider.tsx","kind":"import-statement","original":"./i18n-provider.js"},{"path":"src/lib/mcp-token-format.ts","kind":"import-statement","original":"../lib/mcp-token-format.js"},{"path":"src/lib/mcp-token-storage.ts","kind":"import-statement","original":"../lib/mcp-token-storage.js"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/components/media-view.tsx":{"bytes":351,"imports":[{"path":"src/components/media-uploader.tsx","kind":"import-statement","original":"./media-uploader.js"},{"path":"src/components/i18n-provider.tsx","kind":"import-statement","original":"./i18n-provider.js"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/components/new-post-view.tsx":{"bytes":670,"imports":[{"path":"src/components/post-form.tsx","kind":"import-statement","original":"./post-form.js"},{"path":"src/components/i18n-provider.tsx","kind":"import-statement","original":"./i18n-provider.js"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/lib/plugin-settings.ts":{"bytes":3405,"imports":[{"path":"ampless","kind":"import-statement","external":true}],"format":"esm"},"src/lib/plugin-secret.ts":{"bytes":8865,"imports":[{"path":"aws-amplify/api","kind":"import-statement","external":true},{"path":"ampless","kind":"import-statement","external":true}],"format":"esm"},"src/lib/repeatable-field.ts":{"bytes":5326,"imports":[],"format":"esm"},"src/components/repeatable-field-editor.tsx":{"bytes":5231,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"ampless","kind":"import-statement","external":true},{"path":"@ampless/runtime/ui","kind":"import-statement","external":true},{"path":"src/components/i18n-provider.tsx","kind":"import-statement","original":"./i18n-provider.js"},{"path":"src/components/plugin-settings-form.tsx","kind":"import-statement","original":"./plugin-settings-form.js"},{"path":"src/lib/repeatable-field.ts","kind":"import-statement","original":"../lib/repeatable-field.js"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/lib/secret-field-input.ts":{"bytes":6212,"imports":[],"format":"esm"},"src/components/secret-field-input.tsx":{"bytes":7500,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"ampless","kind":"import-statement","external":true},{"path":"@ampless/runtime/ui","kind":"import-statement","external":true},{"path":"src/components/i18n-provider.tsx","kind":"import-statement","original":"./i18n-provider.js"},{"path":"src/lib/secret-field-input.ts","kind":"import-statement","original":"../lib/secret-field-input.js"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/components/plugin-settings-form.tsx":{"bytes":20677,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"ampless","kind":"import-statement","external":true},{"path":"@ampless/runtime/ui","kind":"import-statement","external":true},{"path":"src/lib/plugin-settings.ts","kind":"import-statement","original":"../lib/plugin-settings.js"},{"path":"src/lib/plugin-secret.ts","kind":"import-statement","original":"../lib/plugin-secret.js"},{"path":"src/lib/theme-actions.ts","kind":"import-statement","original":"../lib/theme-actions.js"},{"path":"src/components/i18n-provider.tsx","kind":"import-statement","original":"./i18n-provider.js"},{"path":"src/components/repeatable-field-editor.tsx","kind":"import-statement","original":"./repeatable-field-editor.js"},{"path":"src/components/secret-field-input.tsx","kind":"import-statement","original":"./secret-field-input.js"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/components/posts-list-view.tsx":{"bytes":8217,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"next/link","kind":"import-statement","external":true},{"path":"ampless","kind":"import-statement","external":true},{"path":"@ampless/runtime/ui","kind":"import-statement","external":true},{"path":"ampless","kind":"import-statement","external":true},{"path":"src/components/i18n-provider.tsx","kind":"import-statement","original":"./i18n-provider.js"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/components/users-list-view.tsx":{"bytes":7042,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"aws-amplify/api","kind":"import-statement","external":true},{"path":"@ampless/runtime/ui","kind":"import-statement","external":true},{"path":"src/components/i18n-provider.tsx","kind":"import-statement","original":"./i18n-provider.js"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/pages/admin-layout.tsx":{"bytes":3243,"imports":[{"path":"next/navigation","kind":"import-statement","external":true},{"path":"src/components/i18n-provider.tsx","kind":"import-statement","original":"../components/i18n-provider.js"},{"path":"src/components/sidebar.tsx","kind":"import-statement","original":"../components/sidebar.js"},{"path":"src/components/admin-providers.tsx","kind":"import-statement","original":"../components/admin-providers.js"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/pages/dashboard.tsx":{"bytes":448,"imports":[{"path":"src/components/admin-dashboard.tsx","kind":"import-statement","original":"../components/admin-dashboard.js"}],"format":"esm"},"src/pages/posts-list.tsx":{"bytes":382,"imports":[{"path":"src/components/posts-list-view.tsx","kind":"import-statement","original":"../components/posts-list-view.js"}],"format":"esm"},"src/pages/post-new.tsx":{"bytes":1109,"imports":[{"path":"src/components/new-post-view.tsx","kind":"import-statement","original":"../components/new-post-view.js"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/pages/post-edit.tsx":{"bytes":1418,"imports":[{"path":"src/components/edit-post-view.tsx","kind":"import-statement","original":"../components/edit-post-view.js"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/pages/media.tsx":{"bytes":381,"imports":[{"path":"src/components/media-view.tsx","kind":"import-statement","original":"../components/media-view.js"}],"format":"esm"},"src/pages/site-edit.tsx":{"bytes":2165,"imports":[{"path":"next/link","kind":"import-statement","external":true},{"path":"src/components/site-settings-form.tsx","kind":"import-statement","original":"../components/site-settings-form.js"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/pages/site-theme.tsx":{"bytes":4013,"imports":[{"path":"next/link","kind":"import-statement","external":true},{"path":"ampless","kind":"import-statement","external":true},{"path":"src/components/theme-settings-form.tsx","kind":"import-statement","original":"../components/theme-settings-form.js"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/pages/users-list.tsx":{"bytes":647,"imports":[{"path":"next/navigation","kind":"import-statement","external":true},{"path":"src/components/users-list-view.tsx","kind":"import-statement","original":"../components/users-list-view.js"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/pages/mcp-tokens.tsx":{"bytes":1395,"imports":[{"path":"next/navigation","kind":"import-statement","external":true},{"path":"src/components/mcp-tokens-view.tsx","kind":"import-statement","original":"../components/mcp-tokens-view.js"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/pages/plugins.tsx":{"bytes":4233,"imports":[{"path":"next/navigation","kind":"import-statement","external":true},{"path":"ampless","kind":"import-statement","external":true},{"path":"src/components/plugin-settings-form.tsx","kind":"import-statement","original":"../components/plugin-settings-form.js"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/pages/login.tsx":{"bytes":400,"imports":[{"path":"src/components/login-view.tsx","kind":"import-statement","original":"../components/login-view.js"}],"format":"esm"},"src/pages/index.ts":{"bytes":1441,"imports":[{"path":"src/pages/admin-layout.tsx","kind":"import-statement","original":"./admin-layout.js"},{"path":"src/pages/dashboard.tsx","kind":"import-statement","original":"./dashboard.js"},{"path":"src/pages/posts-list.tsx","kind":"import-statement","original":"./posts-list.js"},{"path":"src/pages/post-new.tsx","kind":"import-statement","original":"./post-new.js"},{"path":"src/pages/post-edit.tsx","kind":"import-statement","original":"./post-edit.js"},{"path":"src/pages/media.tsx","kind":"import-statement","original":"./media.js"},{"path":"src/pages/site-edit.tsx","kind":"import-statement","original":"./site-edit.js"},{"path":"src/pages/site-theme.tsx","kind":"import-statement","original":"./site-theme.js"},{"path":"src/pages/users-list.tsx","kind":"import-statement","original":"./users-list.js"},{"path":"src/pages/mcp-tokens.tsx","kind":"import-statement","original":"./mcp-tokens.js"},{"path":"src/pages/plugins.tsx","kind":"import-statement","original":"./plugins.js"},{"path":"src/pages/login.tsx","kind":"import-statement","original":"./login.js"}],"format":"esm"}},"outputs":{"dist/components/media-view.js":{"imports":[{"path":"dist/chunk-MKWYNK4J.js","kind":"import-statement"},{"path":"dist/chunk-SQ6LFPXH.js","kind":"import-statement"},{"path":"dist/chunk-HN3UFHP7.js","kind":"import-statement"},{"path":"dist/chunk-2ITWLRYF.js","kind":"import-statement"},{"path":"dist/chunk-K44QF3MV.js","kind":"import-statement"},{"path":"dist/chunk-OFPNBZKP.js","kind":"import-statement"}],"exports":["MediaPage"],"entryPoint":"src/components/media-view.tsx","inputs":{},"bytes":245},"dist/components/new-post-view.js":{"imports":[{"path":"dist/chunk-YU5MPQXB.js","kind":"import-statement"},{"path":"dist/chunk-BRTC5O3E.js","kind":"import-statement"},{"path":"dist/chunk-HN3UFHP7.js","kind":"import-statement"},{"path":"dist/chunk-PCPXAEBG.js","kind":"import-statement"},{"path":"dist/chunk-2ITWLRYF.js","kind":"import-statement"},{"path":"dist/chunk-K44QF3MV.js","kind":"import-statement"},{"path":"dist/chunk-OFPNBZKP.js","kind":"import-statement"}],"exports":["NewPostPage"],"entryPoint":"src/components/new-post-view.tsx","inputs":{},"bytes":280},"dist/components/plugin-settings-form.js":{"imports":[{"path":"dist/chunk-SMI7Y77B.js","kind":"import-statement"},{"path":"dist/chunk-D72XF3Q3.js","kind":"import-statement"},{"path":"dist/chunk-K44QF3MV.js","kind":"import-statement"},{"path":"dist/chunk-OFPNBZKP.js","kind":"import-statement"}],"exports":["PluginSettingsForm","renderScalarInput"],"entryPoint":"src/components/plugin-settings-form.tsx","inputs":{},"bytes":243},"dist/components/posts-list-view.js":{"imports":[{"path":"dist/chunk-J6R356H3.js","kind":"import-statement"},{"path":"dist/chunk-K44QF3MV.js","kind":"import-statement"},{"path":"dist/chunk-OFPNBZKP.js","kind":"import-statement"}],"exports":["PostsList"],"entryPoint":"src/components/posts-list-view.tsx","inputs":{},"bytes":152},"dist/components/users-list-view.js":{"imports":[{"path":"dist/chunk-7NQERXNY.js","kind":"import-statement"},{"path":"dist/chunk-K44QF3MV.js","kind":"import-statement"},{"path":"dist/chunk-OFPNBZKP.js","kind":"import-statement"}],"exports":["UsersListView"],"entryPoint":"src/components/users-list-view.tsx","inputs":{},"bytes":160},"dist/lib/theme-actions.js":{"imports":[{"path":"dist/chunk-D72XF3Q3.js","kind":"import-statement"}],"exports":["invalidateSiteSettingsCache"],"entryPoint":"src/lib/theme-actions.ts","inputs":{},"bytes":126},"dist/pages/index.js":{"imports":[{"path":"dist/chunk-MKWYNK4J.js","kind":"import-statement"},{"path":"dist/chunk-YU5MPQXB.js","kind":"import-statement"},{"path":"dist/chunk-SMI7Y77B.js","kind":"import-statement"},{"path":"dist/chunk-J6R356H3.js","kind":"import-statement"},{"path":"dist/chunk-7NQERXNY.js","kind":"import-statement"},{"path":"dist/chunk-CFIOUXVE.js","kind":"import-statement"},{"path":"dist/chunk-V6JNTCPS.js","kind":"import-statement"},{"path":"dist/chunk-WXIYV2PO.js","kind":"import-statement"},{"path":"dist/chunk-SQ6LFPXH.js","kind":"import-statement"},{"path":"dist/chunk-D72XF3Q3.js","kind":"import-statement"},{"path":"dist/chunk-BRTC5O3E.js","kind":"import-statement"},{"path":"dist/chunk-HN3UFHP7.js","kind":"import-statement"},{"path":"dist/chunk-PCPXAEBG.js","kind":"import-statement"},{"path":"dist/chunk-2ITWLRYF.js","kind":"import-statement"},{"path":"dist/chunk-GGHN2RKQ.js","kind":"import-statement"},{"path":"dist/chunk-W4VHP2JW.js","kind":"import-statement"},{"path":"dist/chunk-C7G5AQ3L.js","kind":"import-statement"},{"path":"dist/chunk-K44QF3MV.js","kind":"import-statement"},{"path":"dist/chunk-OFPNBZKP.js","kind":"import-statement"},{"path":"next/navigation","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true},{"path":"next/link","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true},{"path":"next/link","kind":"import-statement","external":true},{"path":"ampless","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true},{"path":"next/navigation","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true},{"path":"next/navigation","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true},{"path":"next/navigation","kind":"import-statement","external":true},{"path":"ampless","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"exports":["createAdminDashboardPage","createAdminLayout","createEditPostPage","createLoginPage","createMcpTokensPage","createMediaPage","createNewPostPage","createPluginsPage","createPostsListPage","createSiteEditPage","createSiteThemePage","createUsersListPage"],"entryPoint":"src/pages/index.ts","inputs":{"src/pages/admin-layout.tsx":{"bytesInOutput":1280},"src/pages/index.ts":{"bytesInOutput":0},"src/pages/dashboard.tsx":{"bytesInOutput":71},"src/pages/posts-list.tsx":{"bytesInOutput":61},"src/pages/post-new.tsx":{"bytesInOutput":248},"src/pages/post-edit.tsx":{"bytesInOutput":266},"src/pages/media.tsx":{"bytesInOutput":57},"src/pages/site-edit.tsx":{"bytesInOutput":1723},"src/pages/site-theme.tsx":{"bytesInOutput":2299},"src/pages/users-list.tsx":{"bytesInOutput":404},"src/pages/mcp-tokens.tsx":{"bytesInOutput":679},"src/pages/plugins.tsx":{"bytesInOutput":2287},"src/pages/login.tsx":{"bytesInOutput":57}},"bytes":10947},"dist/chunk-MKWYNK4J.js":{"imports":[{"path":"dist/chunk-SQ6LFPXH.js","kind":"import-statement"},{"path":"dist/chunk-K44QF3MV.js","kind":"import-statement"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"exports":["MediaPage"],"inputs":{"src/components/media-view.tsx":{"bytesInOutput":358}},"bytes":518},"dist/chunk-YU5MPQXB.js":{"imports":[{"path":"dist/chunk-BRTC5O3E.js","kind":"import-statement"},{"path":"dist/chunk-K44QF3MV.js","kind":"import-statement"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"exports":["NewPostPage"],"inputs":{"src/components/new-post-view.tsx":{"bytesInOutput":399}},"bytes":559},"dist/chunk-SMI7Y77B.js":{"imports":[{"path":"dist/chunk-D72XF3Q3.js","kind":"import-statement"},{"path":"dist/chunk-K44QF3MV.js","kind":"import-statement"},{"path":"react","kind":"import-statement","external":true},{"path":"ampless","kind":"import-statement","external":true},{"path":"@ampless/runtime/ui","kind":"import-statement","external":true},{"path":"ampless","kind":"import-statement","external":true},{"path":"aws-amplify/api","kind":"import-statement","external":true},{"path":"ampless","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"ampless","kind":"import-statement","external":true},{"path":"@ampless/runtime/ui","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"ampless","kind":"import-statement","external":true},{"path":"@ampless/runtime/ui","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"exports":["PluginSettingsForm","renderScalarInput"],"inputs":{"src/components/plugin-settings-form.tsx":{"bytesInOutput":14724},"src/lib/plugin-settings.ts":{"bytesInOutput":1178},"src/lib/plugin-secret.ts":{"bytesInOutput":3215},"src/components/repeatable-field-editor.tsx":{"bytesInOutput":3961},"src/lib/repeatable-field.ts":{"bytesInOutput":1651},"src/components/secret-field-input.tsx":{"bytesInOutput":5182},"src/lib/secret-field-input.ts":{"bytesInOutput":2013}},"bytes":32499},"dist/chunk-J6R356H3.js":{"imports":[{"path":"dist/chunk-K44QF3MV.js","kind":"import-statement"},{"path":"react","kind":"import-statement","external":true},{"path":"next/link","kind":"import-statement","external":true},{"path":"ampless","kind":"import-statement","external":true},{"path":"@ampless/runtime/ui","kind":"import-statement","external":true},{"path":"ampless","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"exports":["PostsList"],"inputs":{"src/components/posts-list-view.tsx":{"bytesInOutput":8421}},"bytes":8531},"dist/chunk-7NQERXNY.js":{"imports":[{"path":"dist/chunk-K44QF3MV.js","kind":"import-statement"},{"path":"react","kind":"import-statement","external":true},{"path":"aws-amplify/api","kind":"import-statement","external":true},{"path":"@ampless/runtime/ui","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"exports":["UsersListView"],"inputs":{"src/components/users-list-view.tsx":{"bytesInOutput":5995}},"bytes":6109},"dist/editor.js":{"imports":[{"path":"dist/chunk-PCPXAEBG.js","kind":"import-statement"}],"exports":["getAdminEditorExtensions","getAdminTiptapNodeHtml","getAdminTiptapNodeMarkdown","installAdminEditorExtensions","installAdminTiptapNodeHtml","installAdminTiptapNodeMarkdown"],"entryPoint":"src/editor.ts","inputs":{"src/editor.ts":{"bytesInOutput":0}},"bytes":409},"dist/index.js":{"imports":[{"path":"dist/chunk-2ITWLRYF.js","kind":"import-statement"},{"path":"dist/chunk-OFPNBZKP.js","kind":"import-statement"},{"path":"@aws-amplify/adapter-nextjs","kind":"import-statement","external":true},{"path":"next/headers","kind":"import-statement","external":true},{"path":"aws-amplify/auth/server","kind":"import-statement","external":true}],"exports":["createAdmin","getDictionary","resolveLocale","translate"],"entryPoint":"src/index.ts","inputs":{"src/lib/amplify-server.ts":{"bytesInOutput":164},"src/lib/auth-server.ts":{"bytesInOutput":1143},"src/index.ts":{"bytesInOutput":2145}},"bytes":3737},"dist/api/index.js":{"imports":[{"path":"next/headers","kind":"import-statement","external":true},{"path":"aws-amplify/storage/server","kind":"import-statement","external":true},{"path":"@ampless/runtime","kind":"import-statement","external":true},{"path":"@ampless/runtime","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true},{"path":"react-dom/server","kind":"dynamic-import","external":true}],"exports":["createMediaProxyRoute","createPreviewRouteHandler"],"entryPoint":"src/api/index.ts","inputs":{"src/api/media-proxy.ts":{"bytesInOutput":1883},"src/api/index.ts":{"bytesInOutput":0},"src/api/preview-route.tsx":{"bytesInOutput":4897}},"bytes":6901},"dist/components/admin-dashboard.js":{"imports":[{"path":"dist/chunk-CFIOUXVE.js","kind":"import-statement"},{"path":"dist/chunk-K44QF3MV.js","kind":"import-statement"},{"path":"dist/chunk-OFPNBZKP.js","kind":"import-statement"}],"exports":["AdminDashboard"],"entryPoint":"src/components/admin-dashboard.tsx","inputs":{},"bytes":162},"dist/chunk-CFIOUXVE.js":{"imports":[{"path":"dist/chunk-K44QF3MV.js","kind":"import-statement"},{"path":"react","kind":"import-statement","external":true},{"path":"next/link","kind":"import-statement","external":true},{"path":"ampless","kind":"import-statement","external":true},{"path":"@ampless/runtime/ui","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"exports":["AdminDashboard"],"inputs":{"src/components/admin-dashboard.tsx":{"bytesInOutput":2905}},"bytes":3020},"dist/components/edit-post-view.js":{"imports":[{"path":"dist/chunk-V6JNTCPS.js","kind":"import-statement"},{"path":"dist/chunk-BRTC5O3E.js","kind":"import-statement"},{"path":"dist/chunk-HN3UFHP7.js","kind":"import-statement"},{"path":"dist/chunk-PCPXAEBG.js","kind":"import-statement"},{"path":"dist/chunk-2ITWLRYF.js","kind":"import-statement"},{"path":"dist/chunk-K44QF3MV.js","kind":"import-statement"},{"path":"dist/chunk-OFPNBZKP.js","kind":"import-statement"}],"exports":["EditPostPage"],"entryPoint":"src/components/edit-post-view.tsx","inputs":{},"bytes":282},"dist/chunk-V6JNTCPS.js":{"imports":[{"path":"dist/chunk-BRTC5O3E.js","kind":"import-statement"},{"path":"dist/chunk-K44QF3MV.js","kind":"import-statement"},{"path":"react","kind":"import-statement","external":true},{"path":"next/navigation","kind":"import-statement","external":true},{"path":"ampless","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"exports":["EditPostPage"],"inputs":{"src/components/edit-post-view.tsx":{"bytesInOutput":1058}},"bytes":1220},"dist/components/index.js":{"imports":[{"path":"dist/chunk-WXIYV2PO.js","kind":"import-statement"},{"path":"dist/chunk-SQ6LFPXH.js","kind":"import-statement"},{"path":"dist/chunk-D72XF3Q3.js","kind":"import-statement"},{"path":"dist/chunk-BRTC5O3E.js","kind":"import-statement"},{"path":"dist/chunk-HN3UFHP7.js","kind":"import-statement"},{"path":"dist/chunk-PCPXAEBG.js","kind":"import-statement"},{"path":"dist/chunk-2ITWLRYF.js","kind":"import-statement"},{"path":"dist/chunk-C7G5AQ3L.js","kind":"import-statement"},{"path":"dist/chunk-K44QF3MV.js","kind":"import-statement"},{"path":"dist/chunk-OFPNBZKP.js","kind":"import-statement"}],"exports":["AdminProviders","I18nProvider","ImageUploadDialog","MediaPicker","MediaUploader","PostForm","Sidebar","SiteSettingsForm","ThemeSettingsForm","invalidateSiteSettingsCache","publicMediaUrl","sanitizeName","setAdminMediaContext","uploadProcessedImage","useLocale","useT"],"entryPoint":"src/components/index.ts","inputs":{"src/components/index.ts":{"bytesInOutput":0}},"bytes":947},"dist/chunk-WXIYV2PO.js":{"imports":[{"path":"dist/chunk-D72XF3Q3.js","kind":"import-statement"},{"path":"dist/chunk-BRTC5O3E.js","kind":"import-statement"},{"path":"dist/chunk-HN3UFHP7.js","kind":"import-statement"},{"path":"dist/chunk-2ITWLRYF.js","kind":"import-statement"},{"path":"dist/chunk-C7G5AQ3L.js","kind":"import-statement"},{"path":"dist/chunk-K44QF3MV.js","kind":"import-statement"},{"path":"aws-amplify","kind":"import-statement","external":true},{"path":"aws-amplify/api","kind":"import-statement","external":true},{"path":"ampless","kind":"import-statement","external":true},{"path":"aws-amplify/api","kind":"import-statement","external":true},{"path":"ampless","kind":"import-statement","external":true},{"path":"aws-amplify/api","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"next/link","kind":"import-statement","external":true},{"path":"next/navigation","kind":"import-statement","external":true},{"path":"aws-amplify/auth","kind":"import-statement","external":true},{"path":"lucide-react","kind":"import-statement","external":true},{"path":"@ampless/runtime/ui","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"next/navigation","kind":"import-statement","external":true},{"path":"ampless","kind":"import-statement","external":true},{"path":"@ampless/runtime/ui","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"next/navigation","kind":"import-statement","external":true},{"path":"ampless","kind":"import-statement","external":true},{"path":"@ampless/runtime","kind":"import-statement","external":true},{"path":"@ampless/runtime/ui","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"exports":["AdminProviders","Sidebar","SiteSettingsForm","ThemeSettingsForm"],"inputs":{"src/lib/amplify-client.ts":{"bytesInOutput":194},"src/lib/posts-provider.ts":{"bytesInOutput":5751},"src/lib/kv-provider.ts":{"bytesInOutput":2125},"src/lib/mcp-token-provider.ts":{"bytesInOutput":1513},"src/components/admin-providers.tsx":{"bytesInOutput":371},"src/components/sidebar.tsx":{"bytesInOutput":5903},"src/components/site-settings-form.tsx":{"bytesInOutput":6899},"src/components/theme-settings-form.tsx":{"bytesInOutput":21443}},"bytes":44926},"dist/chunk-SQ6LFPXH.js":{"imports":[{"path":"dist/chunk-HN3UFHP7.js","kind":"import-statement"},{"path":"dist/chunk-2ITWLRYF.js","kind":"import-statement"},{"path":"dist/chunk-K44QF3MV.js","kind":"import-statement"},{"path":"react","kind":"import-statement","external":true},{"path":"aws-amplify/storage","kind":"import-statement","external":true},{"path":"ampless/media","kind":"import-statement","external":true},{"path":"@ampless/runtime/ui","kind":"import-statement","external":true},{"path":"lucide-react","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"exports":["MediaUploader"],"inputs":{"src/components/media-uploader.tsx":{"bytesInOutput":9157}},"bytes":9433},"dist/chunk-D72XF3Q3.js":{"imports":[{"path":"next/cache","kind":"import-statement","external":true}],"exports":["invalidateSiteSettingsCache"],"inputs":{"src/lib/theme-actions.ts":{"bytesInOutput":134}},"bytes":205},"dist/chunk-BRTC5O3E.js":{"imports":[{"path":"dist/chunk-HN3UFHP7.js","kind":"import-statement"},{"path":"dist/chunk-PCPXAEBG.js","kind":"import-statement"},{"path":"dist/chunk-2ITWLRYF.js","kind":"import-statement"},{"path":"dist/chunk-K44QF3MV.js","kind":"import-statement"},{"path":"react","kind":"import-statement","external":true},{"path":"aws-amplify/storage","kind":"import-statement","external":true},{"path":"lucide-react","kind":"import-statement","external":true},{"path":"@ampless/runtime/ui","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"next/navigation","kind":"import-statement","external":true},{"path":"lucide-react","kind":"import-statement","external":true},{"path":"ampless","kind":"import-statement","external":true},{"path":"@ampless/runtime/ui","kind":"import-statement","external":true},{"path":"@tiptap/react","kind":"import-statement","external":true},{"path":"lucide-react","kind":"import-statement","external":true},{"path":"@ampless/runtime/ui","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"lucide-react","kind":"import-statement","external":true},{"path":"@ampless/runtime/ui","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true},{"path":"@tiptap/react/menus","kind":"import-statement","external":true},{"path":"lucide-react","kind":"import-statement","external":true},{"path":"@ampless/runtime/ui","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true},{"path":"@tiptap/starter-kit","kind":"import-statement","external":true},{"path":"@tiptap/extension-link","kind":"import-statement","external":true},{"path":"@tiptap/extension-image","kind":"import-statement","external":true},{"path":"@tiptap/extension-table","kind":"import-statement","external":true},{"path":"@tiptap/extension-table-row","kind":"import-statement","external":true},{"path":"@tiptap/extension-table-header","kind":"import-statement","external":true},{"path":"@tiptap/extension-table-cell","kind":"import-statement","external":true},{"path":"@tiptap/extension-task-list","kind":"import-statement","external":true},{"path":"@tiptap/extension-task-item","kind":"import-statement","external":true},{"path":"@tiptap/extension-underline","kind":"import-statement","external":true},{"path":"@tiptap/extension-highlight","kind":"import-statement","external":true},{"path":"@tiptap/extension-text-align","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"ampless","kind":"import-statement","external":true},{"path":"@ampless/runtime/ui","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"lucide-react","kind":"import-statement","external":true},{"path":"@ampless/runtime/ui","kind":"import-statement","external":true},{"path":"jszip","kind":"import-statement","external":true},{"path":"aws-amplify/storage","kind":"import-statement","external":true},{"path":"ampless","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true},{"path":"@ampless/runtime","kind":"import-statement","external":true},{"path":"@tiptap/core","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"exports":["MediaPicker","PostForm","clearAllDrafts"],"inputs":{"src/components/media-picker.tsx":{"bytesInOutput":4988},"src/components/post-form.tsx":{"bytesInOutput":27708},"src/editor/tiptap-editor.tsx":{"bytesInOutput":2771},"src/editor/toolbar.tsx":{"bytesInOutput":4823},"src/editor/table-controls.tsx":{"bytesInOutput":4227},"src/editor/image-bubble-menu.tsx":{"bytesInOutput":2901},"src/editor/base-extensions.ts":{"bytesInOutput":1449},"src/components/post-history-panel.tsx":{"bytesInOutput":10539},"src/components/static-uploader.tsx":{"bytesInOutput":7717},"src/lib/static-bundle.ts":{"bytesInOutput":2806},"src/lib/post-published-at.ts":{"bytesInOutput":1301},"src/lib/post-draft.ts":{"bytesInOutput":2725},"src/editor/format-switch.ts":{"bytesInOutput":985}},"bytes":75922},"dist/chunk-HN3UFHP7.js":{"imports":[{"path":"dist/chunk-2ITWLRYF.js","kind":"import-statement"},{"path":"dist/chunk-K44QF3MV.js","kind":"import-statement"},{"path":"aws-amplify/storage","kind":"import-statement","external":true},{"path":"aws-amplify/api","kind":"import-statement","external":true},{"path":"ampless","kind":"import-statement","external":true},{"path":"ampless/media","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"react-image-crop","kind":"import-statement","external":true},{"path":"react-image-crop/dist/ReactCrop.css","kind":"import-statement","external":true},{"path":"ampless/media","kind":"import-statement","external":true},{"path":"@ampless/runtime/ui","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"exports":["ImageUploadDialog","createMediaRow","getAdminCmsConfig","getMediaProcessingDefaults","sanitizeName","setAdminCmsConfigClient","uploadProcessedImage"],"inputs":{"src/lib/upload.ts":{"bytesInOutput":2048},"src/components/image-upload-dialog.tsx":{"bytesInOutput":12823},"src/lib/admin-config-client.ts":{"bytesInOutput":223}},"bytes":15465},"dist/chunk-PCPXAEBG.js":{"imports":[],"exports":["getAdminEditorExtensions","getAdminTiptapNodeHtml","getAdminTiptapNodeMarkdown","installAdminEditorExtensions","installAdminTiptapNodeHtml","installAdminTiptapNodeMarkdown"],"inputs":{"src/editor/admin-editor-extensions.ts":{"bytesInOutput":607},"src/editor/admin-node-markdown.ts":{"bytesInOutput":565},"src/editor/admin-node-html.ts":{"bytesInOutput":558}},"bytes":2035},"dist/chunk-2ITWLRYF.js":{"imports":[],"exports":["createMedia","publicMediaUrl","setAdminMediaContext"],"inputs":{"src/lib/media.ts":{"bytesInOutput":1326}},"bytes":1415},"dist/components/login-view.js":{"imports":[{"path":"dist/chunk-GGHN2RKQ.js","kind":"import-statement"},{"path":"dist/chunk-K44QF3MV.js","kind":"import-statement"},{"path":"dist/chunk-OFPNBZKP.js","kind":"import-statement"}],"exports":["LoginPage"],"entryPoint":"src/components/login-view.tsx","inputs":{},"bytes":152},"dist/chunk-GGHN2RKQ.js":{"imports":[{"path":"dist/chunk-K44QF3MV.js","kind":"import-statement"},{"path":"react","kind":"import-statement","external":true},{"path":"next/navigation","kind":"import-statement","external":true},{"path":"aws-amplify/auth","kind":"import-statement","external":true},{"path":"@ampless/runtime/ui","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"exports":["LoginPage"],"inputs":{"src/components/login-view.tsx":{"bytesInOutput":6967}},"bytes":7072},"dist/components/mcp-tokens-view.js":{"imports":[{"path":"dist/chunk-W4VHP2JW.js","kind":"import-statement"},{"path":"dist/chunk-C7G5AQ3L.js","kind":"import-statement"},{"path":"dist/chunk-K44QF3MV.js","kind":"import-statement"},{"path":"dist/chunk-OFPNBZKP.js","kind":"import-statement"}],"exports":["McpTokensView"],"entryPoint":"src/components/mcp-tokens-view.tsx","inputs":{},"bytes":191},"dist/chunk-W4VHP2JW.js":{"imports":[{"path":"dist/chunk-C7G5AQ3L.js","kind":"import-statement"},{"path":"dist/chunk-K44QF3MV.js","kind":"import-statement"},{"path":"react","kind":"import-statement","external":true},{"path":"@ampless/runtime/ui","kind":"import-statement","external":true},{"path":"crypto","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"exports":["McpTokensView"],"inputs":{"src/components/mcp-tokens-view.tsx":{"bytesInOutput":12281},"src/lib/mcp-token-format.ts":{"bytesInOutput":459},"src/lib/mcp-token-storage.ts":{"bytesInOutput":575}},"bytes":13591},"dist/chunk-C7G5AQ3L.js":{"imports":[],"exports":["getMcpTokenStore","setMcpTokenStore"],"inputs":{"src/lib/mcp-token-store.ts":{"bytesInOutput":297}},"bytes":379},"dist/chunk-K44QF3MV.js":{"imports":[{"path":"dist/chunk-OFPNBZKP.js","kind":"import-statement"},{"path":"react","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"exports":["I18nProvider","useLocale","useT"],"inputs":{"src/components/i18n-provider.tsx":{"bytesInOutput":785}},"bytes":922},"dist/chunk-OFPNBZKP.js":{"imports":[],"exports":["getDictionary","resolveLocale","translate"],"inputs":{"src/locales/en.json":{"bytesInOutput":14279},"src/locales/ja.json":{"bytesInOutput":28212},"src/lib/i18n.ts":{"bytesInOutput":1146}},"bytes":43763}}}
|
package/dist/pages/index.js
CHANGED
|
@@ -3,13 +3,13 @@ import {
|
|
|
3
3
|
} from "../chunk-MKWYNK4J.js";
|
|
4
4
|
import {
|
|
5
5
|
NewPostPage
|
|
6
|
-
} from "../chunk-
|
|
6
|
+
} from "../chunk-YU5MPQXB.js";
|
|
7
7
|
import {
|
|
8
8
|
PluginSettingsForm
|
|
9
9
|
} from "../chunk-SMI7Y77B.js";
|
|
10
10
|
import {
|
|
11
11
|
PostsList
|
|
12
|
-
} from "../chunk-
|
|
12
|
+
} from "../chunk-J6R356H3.js";
|
|
13
13
|
import {
|
|
14
14
|
UsersListView
|
|
15
15
|
} from "../chunk-7NQERXNY.js";
|
|
@@ -18,16 +18,16 @@ import {
|
|
|
18
18
|
} from "../chunk-CFIOUXVE.js";
|
|
19
19
|
import {
|
|
20
20
|
EditPostPage
|
|
21
|
-
} from "../chunk-
|
|
21
|
+
} from "../chunk-V6JNTCPS.js";
|
|
22
22
|
import {
|
|
23
23
|
AdminProviders,
|
|
24
24
|
Sidebar,
|
|
25
25
|
SiteSettingsForm,
|
|
26
26
|
ThemeSettingsForm
|
|
27
|
-
} from "../chunk-
|
|
27
|
+
} from "../chunk-WXIYV2PO.js";
|
|
28
28
|
import "../chunk-SQ6LFPXH.js";
|
|
29
29
|
import "../chunk-D72XF3Q3.js";
|
|
30
|
-
import "../chunk-
|
|
30
|
+
import "../chunk-BRTC5O3E.js";
|
|
31
31
|
import "../chunk-HN3UFHP7.js";
|
|
32
32
|
import "../chunk-PCPXAEBG.js";
|
|
33
33
|
import "../chunk-2ITWLRYF.js";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ampless/admin",
|
|
3
|
-
"version": "1.0.0-alpha.
|
|
3
|
+
"version": "1.0.0-alpha.84",
|
|
4
4
|
"description": "Admin UI for ampless: post editor, media manager, site/theme settings",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -66,9 +66,9 @@
|
|
|
66
66
|
"lucide-react": "^1.16.0",
|
|
67
67
|
"react-image-crop": "^11.0.10",
|
|
68
68
|
"tailwind-merge": "^3.6.0",
|
|
69
|
-
"@ampless/mcp-server": "1.0.0-alpha.
|
|
70
|
-
"@ampless/runtime": "1.0.0-alpha.
|
|
71
|
-
"ampless": "1.0.0-alpha.
|
|
69
|
+
"@ampless/mcp-server": "1.0.0-alpha.56",
|
|
70
|
+
"@ampless/runtime": "1.0.0-alpha.59",
|
|
71
|
+
"ampless": "1.0.0-alpha.50"
|
|
72
72
|
},
|
|
73
73
|
"peerDependencies": {
|
|
74
74
|
"@aws-amplify/adapter-nextjs": "^1",
|