cogens 0.2.0 → 0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (158) hide show
  1. package/CHANGELOG.md +31 -0
  2. package/README.md +35 -7
  3. package/dist/admin/app.d.ts +21 -0
  4. package/dist/admin/app.d.ts.map +1 -0
  5. package/dist/admin/app.js +702 -0
  6. package/dist/admin/app.js.map +1 -0
  7. package/dist/admin/assets.d.ts +17 -0
  8. package/dist/admin/assets.d.ts.map +1 -0
  9. package/dist/admin/assets.js +51 -0
  10. package/dist/admin/assets.js.map +1 -0
  11. package/dist/admin/fields.d.ts +29 -0
  12. package/dist/admin/fields.d.ts.map +1 -0
  13. package/dist/admin/fields.js +130 -0
  14. package/dist/admin/fields.js.map +1 -0
  15. package/dist/admin/forms.d.ts +18 -0
  16. package/dist/admin/forms.d.ts.map +1 -0
  17. package/dist/admin/forms.js +53 -0
  18. package/dist/admin/forms.js.map +1 -0
  19. package/dist/admin/index.d.ts +15 -0
  20. package/dist/admin/index.d.ts.map +1 -0
  21. package/dist/admin/index.js +13 -0
  22. package/dist/admin/index.js.map +1 -0
  23. package/dist/admin/rules.d.ts +24 -0
  24. package/dist/admin/rules.d.ts.map +1 -0
  25. package/dist/admin/rules.js +51 -0
  26. package/dist/admin/rules.js.map +1 -0
  27. package/dist/admin/types.d.ts +147 -0
  28. package/dist/admin/types.d.ts.map +1 -0
  29. package/dist/admin/types.js +2 -0
  30. package/dist/admin/types.js.map +1 -0
  31. package/dist/admin/views.d.ts +138 -0
  32. package/dist/admin/views.d.ts.map +1 -0
  33. package/dist/admin/views.js +225 -0
  34. package/dist/admin/views.js.map +1 -0
  35. package/dist/auth/handoff.d.ts +27 -0
  36. package/dist/auth/handoff.d.ts.map +1 -0
  37. package/dist/auth/handoff.js +41 -0
  38. package/dist/auth/handoff.js.map +1 -0
  39. package/dist/auth/index.d.ts +10 -0
  40. package/dist/auth/index.d.ts.map +1 -0
  41. package/dist/auth/index.js +10 -0
  42. package/dist/auth/index.js.map +1 -0
  43. package/dist/auth/password.d.ts +48 -0
  44. package/dist/auth/password.d.ts.map +1 -0
  45. package/dist/auth/password.js +154 -0
  46. package/dist/auth/password.js.map +1 -0
  47. package/dist/auth/principal.d.ts +30 -0
  48. package/dist/auth/principal.d.ts.map +1 -0
  49. package/dist/auth/principal.js +30 -0
  50. package/dist/auth/principal.js.map +1 -0
  51. package/dist/auth/session.d.ts +68 -0
  52. package/dist/auth/session.d.ts.map +1 -0
  53. package/dist/auth/session.js +92 -0
  54. package/dist/auth/session.js.map +1 -0
  55. package/dist/core/access/ability.d.ts +24 -0
  56. package/dist/core/access/ability.d.ts.map +1 -0
  57. package/dist/core/access/ability.js +64 -0
  58. package/dist/core/access/ability.js.map +1 -0
  59. package/dist/core/access/can.d.ts +41 -0
  60. package/dist/core/access/can.d.ts.map +1 -0
  61. package/dist/core/access/can.js +38 -0
  62. package/dist/core/access/can.js.map +1 -0
  63. package/dist/core/access/compile.d.ts +12 -0
  64. package/dist/core/access/compile.d.ts.map +1 -0
  65. package/dist/core/access/compile.js +53 -0
  66. package/dist/core/access/compile.js.map +1 -0
  67. package/dist/core/access/permits.d.ts +24 -0
  68. package/dist/core/access/permits.d.ts.map +1 -0
  69. package/dist/core/access/permits.js +29 -0
  70. package/dist/core/access/permits.js.map +1 -0
  71. package/dist/core/access/when.d.ts +6 -0
  72. package/dist/core/access/when.d.ts.map +1 -0
  73. package/dist/core/access/when.js +64 -0
  74. package/dist/core/access/when.js.map +1 -0
  75. package/dist/core/access/where.d.ts +25 -0
  76. package/dist/core/access/where.d.ts.map +1 -0
  77. package/dist/core/access/where.js +81 -0
  78. package/dist/core/access/where.js.map +1 -0
  79. package/dist/core/columns.d.ts +6 -0
  80. package/dist/core/columns.d.ts.map +1 -0
  81. package/dist/core/columns.js +6 -0
  82. package/dist/core/columns.js.map +1 -0
  83. package/dist/core/config/define.d.ts +101 -0
  84. package/dist/core/config/define.d.ts.map +1 -0
  85. package/dist/core/config/define.js +97 -0
  86. package/dist/core/config/define.js.map +1 -0
  87. package/dist/core/config/field.d.ts +87 -0
  88. package/dist/core/config/field.d.ts.map +1 -0
  89. package/dist/core/config/field.js +75 -0
  90. package/dist/core/config/field.js.map +1 -0
  91. package/dist/core/errors.d.ts +66 -0
  92. package/dist/core/errors.d.ts.map +1 -0
  93. package/dist/core/errors.js +94 -0
  94. package/dist/core/errors.js.map +1 -0
  95. package/dist/core/index.d.ts +31 -0
  96. package/dist/core/index.d.ts.map +1 -0
  97. package/dist/core/index.js +20 -0
  98. package/dist/core/index.js.map +1 -0
  99. package/dist/core/media/index.d.ts +36 -0
  100. package/dist/core/media/index.d.ts.map +1 -0
  101. package/dist/core/media/index.js +99 -0
  102. package/dist/core/media/index.js.map +1 -0
  103. package/dist/core/principal.d.ts +28 -0
  104. package/dist/core/principal.d.ts.map +1 -0
  105. package/dist/core/principal.js +25 -0
  106. package/dist/core/principal.js.map +1 -0
  107. package/dist/core/store/assets.d.ts +3 -0
  108. package/dist/core/store/assets.d.ts.map +1 -0
  109. package/dist/core/store/assets.js +3 -0
  110. package/dist/core/store/assets.js.map +1 -0
  111. package/dist/core/store/cms.d.ts +53 -0
  112. package/dist/core/store/cms.d.ts.map +1 -0
  113. package/dist/core/store/cms.js +154 -0
  114. package/dist/core/store/cms.js.map +1 -0
  115. package/dist/core/store/content.d.ts +57 -0
  116. package/dist/core/store/content.d.ts.map +1 -0
  117. package/dist/core/store/content.js +455 -0
  118. package/dist/core/store/content.js.map +1 -0
  119. package/dist/core/store/sql.d.ts +88 -0
  120. package/dist/core/store/sql.d.ts.map +1 -0
  121. package/dist/core/store/sql.js +149 -0
  122. package/dist/core/store/sql.js.map +1 -0
  123. package/dist/core/store/types.d.ts +107 -0
  124. package/dist/core/store/types.d.ts.map +1 -0
  125. package/dist/core/store/types.js +2 -0
  126. package/dist/core/store/types.js.map +1 -0
  127. package/dist/core/testing/index.d.ts +27 -0
  128. package/dist/core/testing/index.d.ts.map +1 -0
  129. package/dist/core/testing/index.js +60 -0
  130. package/dist/core/testing/index.js.map +1 -0
  131. package/dist/migrations-tool/bin.d.ts +3 -0
  132. package/dist/migrations-tool/bin.d.ts.map +1 -0
  133. package/dist/migrations-tool/bin.js +40 -0
  134. package/dist/migrations-tool/bin.js.map +1 -0
  135. package/dist/migrations-tool/index.d.ts +16 -0
  136. package/dist/migrations-tool/index.d.ts.map +1 -0
  137. package/dist/migrations-tool/index.js +24 -0
  138. package/dist/migrations-tool/index.js.map +1 -0
  139. package/dist/testing/db.d.ts +16 -0
  140. package/dist/testing/db.d.ts.map +1 -0
  141. package/dist/testing/db.js +43 -0
  142. package/dist/testing/db.js.map +1 -0
  143. package/dist/testing/index.d.ts +10 -0
  144. package/dist/testing/index.d.ts.map +1 -0
  145. package/dist/testing/index.js +8 -0
  146. package/dist/testing/index.js.map +1 -0
  147. package/package.json +33 -11
  148. package/src/admin/app.ts +181 -36
  149. package/src/admin/fields.ts +5 -2
  150. package/src/admin/index.ts +3 -2
  151. package/src/admin/types.ts +52 -1
  152. package/src/admin/views.ts +99 -21
  153. package/src/core/config/define.ts +1 -1
  154. package/src/core/config/field.ts +19 -2
  155. package/src/core/index.ts +1 -1
  156. package/src/core/store/cms.ts +1 -1
  157. package/src/migrations-tool/bin.ts +34 -0
  158. package/{scripts/print-migration.ts → src/migrations-tool/index.ts} +6 -19
package/CHANGELOG.md ADDED
@@ -0,0 +1,31 @@
1
+ # Changelog
2
+
3
+ ## 0.3.0
4
+
5
+ - **Changed:** when a type action's id is `publish`, `unpublish` or `delete`, that control's own route (`POST /t/:type/:id/publish`, `/unpublish`, `GET` and `POST /t/:type/:id/delete`) answers 404 for the type, as a control the caller lacks does. Before, the button was hidden but the route still ran the store's operation. A type action with the id `publish` now also hides the Publish button.
6
+ - `sections` on `createAdmin`: the home page in sections, each with a title, a line and its items (type or table ids) in order. An item the caller may not read is skipped, and an empty section is not drawn. Without it the home page is as before. A section naming no type or table is a `ConfigError`.
7
+ - The home page's title is the site's name, not "Content".
8
+ - `typeColumns` (by type id) and `columns` on an external collection: the fields a list shows after the display field. A reference shows the referred entry's name, resolved in one read per referred type for the whole page; a select shows its label; `parent_id` and `owner_id` may be columns. `ownerTable` names the external collection owners are shown through. An external collection may give `getMany` for one read of several rows.
9
+ - An entry's page lists its children of every type whose `parent` is its type and that the caller may read, up to 50, then "and N more" linking to the child list filtered by the new `?parent=` filter.
10
+ - `typeRelated` (by type id) and `related` on an external collection: read-only lists on an entry's or row's page of rows that belong to it, each linked to its page.
11
+ - `field.select` options may be `{ value, label }`. The admin shows and offers the label and stores the value; `FieldMeta.optionLabels` holds the labels. The value is still what the schema checks, so a posted label is refused.
12
+
13
+ ## 0.2.1
14
+
15
+ - The package now ships compiled JavaScript (ES modules) with `.d.ts` declarations, declaration maps and source maps in `dist/`. `exports` point there, so Node 20 or later, Vitest and Node scripts can import it; Node refuses `.ts` files under `node_modules`. Wrangler and Bun are unaffected.
16
+ - `cogens-print-migration` runs under Node (`#!/usr/bin/env node`): `.js` and `.mjs` configs always, `.ts` configs on a Node that strips types. The printer moved from `scripts/print-migration.ts` to `src/migrations-tool/`; the `cogens/migrations-tool` import is unchanged, and `cogens/scripts/print-migration.ts` is gone.
17
+ - `scripts/build-admin-editor.ts` stays Bun-only and stays a shipped `.ts` script.
18
+ - `engines` gains `node >=20`.
19
+
20
+ ## 0.2.0
21
+
22
+ - Renamed from coauthcms to cogens. Publishable: README for a public audience, `LICENSE` and `NOTICE`, `hono` pinned to `~4.12.2`.
23
+ - Editor plugins receive the field's type and name and replace the built-in directive syntax; `createTestDb`; `migrations-tool` and `scripts` exports.
24
+
25
+ ## 0.1.1
26
+
27
+ - Sinfon's directive syntax applies only to notebook fields in the admin.
28
+
29
+ ## 0.1.0
30
+
31
+ - Extracted from Sinfon's `site/packages` (a multi-tenant fork of Koguma): content types, access rules, principals, the server-rendered admin and the session tables.
package/README.md CHANGED
@@ -18,7 +18,7 @@ The package's `dependencies` are those three and no more; a test (`test/boundary
18
18
 
19
19
  It is a library you embed in your own Worker. It is not a hosted service, a standalone CMS with its own sign-in for end users, or a React dashboard: you supply the sign-in and say who is calling; the package supplies the store, the access checks and a small server-rendered admin. It was written for [Sinfon](https://sinfon.app), the first host, and is used there.
20
20
 
21
- Status: 0.2.0, pre-1.0. The API may change before 1.0.
21
+ Status: 0.2.1, pre-1.0. The API may change before 1.0.
22
22
 
23
23
  ## Install
24
24
 
@@ -28,13 +28,15 @@ bun add cogens
28
28
  npm install cogens
29
29
  ```
30
30
 
31
- For bundlers that compile TypeScript, such as Wrangler (esbuild) and Bun. The package ships TypeScript source: `exports` point at `.ts` files, so there is no build step and no `dist/`. Node does not run `.ts` files without a loader, so import it from a Worker or another bundled project, not from plain Node. (A host that compiles with plain `tsc` to a Node target would need its own step; Workers hosts do not.)
31
+ It runs in Cloudflare Workers (Wrangler), Node 20 or later (scripts, Vitest, any bundler) and Bun. The package ships compiled ES modules with type declarations in `dist/`, so none of them needs a TypeScript loader. The types name Cloudflare's `D1Database` and `R2Bucket`, so a TypeScript host adds `@cloudflare/workers-types` to its `types`.
32
+
33
+ Two tools are not Node's: `scripts/build-admin-editor.ts` (the admin's editor bundle) uses `Bun.build` and runs under Bun only, and `cogens-print-migration` loads a `.ts` config only under Bun or a Node that strips types (see Migrations).
32
34
 
33
35
  To use an unreleased commit, pin it: `bun add github:vikramrojo/cogens#<commit>`.
34
36
 
35
37
  ## Quick start
36
38
 
37
- Define one owned type and read an entry back as its owner. You need [Bun](https://bun.sh) 1.4 or later.
39
+ Define one owned type and read an entry back as its owner. This walk-through uses [Bun](https://bun.sh) 1.4 or later to run a `.ts` file; the package itself needs only Node 20 or later (or Bun, or Workers).
38
40
 
39
41
  ```sh
40
42
  mkdir hello && cd hello
@@ -121,7 +123,7 @@ contentType({
121
123
  });
122
124
  ```
123
125
 
124
- Field builders: `text`, `longText`, `markdown`, `url`, `email`, `boolean`, `number`, `date`, `select(label, { options })`, `ref(type, label)`, `refs(type, label)`, `files`, `json`. A field may be `.required()`, `.default(v)`, `.min(n)`, `.max(n)` and `.system()` (written only by a grant that lists it). Values are checked with `@cfworker/json-schema`; a bad value is a `ValidationError`.
126
+ Field builders: `text`, `longText`, `markdown`, `url`, `email`, `boolean`, `number`, `date`, `select(label, { options })` (an option is its value, or `{ value, label }`: the admin shows the label and stores the value), `ref(type, label)`, `refs(type, label)`, `files`, `json`. A field may be `.required()`, `.default(v)`, `.min(n)`, `.max(n)` and `.system()` (written only by a grant that lists it). Values are checked with `@cfworker/json-schema`; a bad value is a `ValidationError`.
125
127
 
126
128
  An entry has the type's fields in `data` and these built-in columns: `id`, `owner_id`, `slug`, `status` (`draft` or `published`), `parent_id`, `sort_key`, `parent_status`, `created_at`, `updated_at`. Their names are reserved as field names.
127
129
 
@@ -246,7 +248,26 @@ const host = new Hono().route('/admin', createAdmin({
246
248
 
247
249
  The pages (type list, entry list, entry view and edit, delete confirmation, external collection list and row) are Hono routes rendered with `hono/html`. The admin is an ordinary client of `content.as(principal)` for the principal you resolve, so it can do nothing the type's rules refuse that caller; it offers a button only if `cms.access.rulesFor` says the caller may press it. Writes are forms that POST and redirect with 303, refused unless they come from the admin's own origin (`hono/csrf`), under a content security policy (`hono/secure-headers`).
248
250
 
249
- Options: `externalCollections` (read-only views over your own tables, with `list`, `get`, `actions` and `allow`), `typeActions` (extra buttons on a type's entries; an action with the id `unpublish` or `delete` replaces the page's own), `session` (`{ signIn, signOut, signOutEverywhere }` as functions that answer a `Response`), `unauthorized` (what to answer when there is no principal and no `session`), and `assets`.
251
+ Options: `externalCollections` (read-only views over your own tables, with `list`, `get`, optional `getMany`, `actions`, `columns`, `related` and `allow`), `typeActions` (extra buttons on a type's entries; an action with the id `publish`, `unpublish` or `delete` replaces the page's own, and that control's own route then answers 404 for the type), `sections`, `typeColumns`, `typeRelated`, `ownerTable` (below), `session` (`{ signIn, signOut, signOutEverywhere }` as functions that answer a `Response`), `unauthorized` (what to answer when there is no principal and no `session`), and `assets`.
252
+
253
+ The home page lists every type the caller may read and every table, unless you arrange it in sections. A type or table left out of every section keeps its pages, and references still link to it:
254
+
255
+ ```ts
256
+ createAdmin({
257
+ // ...
258
+ sections: [
259
+ { title: 'Writing', line: 'What authors publish.', items: ['article', 'series'] },
260
+ { title: 'People', line: 'Accounts and their handles.', items: ['accounts'] } // a table
261
+ ],
262
+ typeColumns: { article: ['parent_id', 'visibility', 'owner_id'] }, // after the display field
263
+ typeRelated: {
264
+ article: [{ table: 'revisions', label: 'Revisions', rows: async ({ c, id }) => /* ExternalRow[] or { rows, total } */ }]
265
+ },
266
+ ownerTable: 'accounts' // owner_id shown by the account's name, linked
267
+ });
268
+ ```
269
+
270
+ A list with `columns` (a type's in `typeColumns`, a table's on the collection) shows the display field and those fields: a reference by the referred entry's name (one read per referred type for the page), a select by its label, `parent_id` by the parent's name. An entry's page lists its children of every type whose `parent` is its type and that the caller may read (up to 50, then "and N more" linking to the child list filtered by `?parent=`), and each `related` list the host gives it.
250
271
 
251
272
  Static files the admin links, which your Worker serves (default URLs in `DEFAULT_ASSETS`): Largen's `largen.css` and `largen-theme-dark.css` (the `largen` package; without them the pages are plain HTML), and the markdown editor: `admin-editor.js`, `admin-editor.css` and `admin-editor-dark.css`. The admin's own script and style are served by the admin itself at `<mount>/assets/`. If the editor does not load, a markdown field is a plain textarea.
252
273
 
@@ -337,7 +358,7 @@ const cms = createCms({ config, db: t.db });
337
358
  await t.dispose();
338
359
  ```
339
360
 
340
- `migrationLines(types)` returns the SQL lines `cogens-print-migration` prints for a list of content types, so a test can compare them with your migration file. The scripts also resolve by name: `cogens/scripts/print-migration.ts`.
361
+ `migrationLines(types)` returns the SQL lines `cogens-print-migration` prints for a list of content types, so a test can compare them with your migration file. The editor build script resolves by name: `cogens/scripts/build-admin-editor.ts`.
341
362
 
342
363
  ## Migrations
343
364
 
@@ -350,9 +371,12 @@ SQL files a host applies, in this order (copy them into your Wrangler `migration
350
371
  A rule or `where` may name only the built-in columns and a type's `indexed` fields; an indexed field is a virtual generated column over the entry's JSON (SQLite's `ALTER TABLE ADD COLUMN` allows only virtual ones, and they can be indexed), plus a partial unique index on `(content_type, slug)` for types with `uniqueSlug`. Print them from a config file whose default export is `{ contentTypes }` (what `defineConfig` returns):
351
372
 
352
373
  ```sh
353
- bunx cogens-print-migration site.config.ts
374
+ bunx --bun cogens-print-migration site.config.ts # Bun: any config file, .ts included
375
+ npx cogens-print-migration site.config.mjs # Node: a .js or .mjs config
354
376
  ```
355
377
 
378
+ The command's shebang is `node`, so plain `bunx` also runs it under Node; `bunx --bun` runs it under Bun. Under Node the command imports the config as written. A `.js` or `.mjs` config always works; a `.ts` config works only on a Node that strips types (22.18 or later, and 24), in a project whose `package.json` has `"type": "module"`, and only if its own imports resolve there. Otherwise use `bunx --bun`, or compile the config. The same lines come from `migrationLines(contentTypes)` in `cogens/migrations-tool`.
379
+
356
380
  Put the printed lines in a migration of your own. At startup, on first use, the store compares them with `PRAGMA table_xinfo(entries)` and fails naming the type and field if one is missing.
357
381
 
358
382
  **A database that already has Koguma's `entries` and `assets`** (its own `0001`) must not apply `0001_entries.sql`, whose `CREATE TABLE IF NOT EXISTS` would skip the tables and leave the new columns missing. Apply `migrations/koguma-upgrade.sql` instead, which adds the four columns, `assets.owner_id` and the indexes. A host that already added those columns itself skips both. The auth tables are independent of either. Nothing in these files names any host's tables.
@@ -369,10 +393,14 @@ Put the printed lines in a migration of your own. At startup, on first use, the
369
393
 
370
394
  ```sh
371
395
  bun install
396
+ bun run build # src/ to dist/ (tsc, tsconfig.build.json); the tests import the package by name, so they need it
372
397
  bun test # the package's tests, the example Worker in Miniflare included
398
+ bun run test # build, then test
373
399
  bun run typecheck # src, the example, the scripts
374
400
  ```
375
401
 
402
+ `dist/` is not committed. `npm publish` runs `prepublishOnly` (build, then test), so a published package always has a fresh build.
403
+
376
404
  ## Contributing
377
405
 
378
406
  Issues are welcome: bug reports, questions, and notes on where the access rules or the docs surprised you. Pull requests are welcome by arrangement: open an issue first to agree the change, since the package is small on purpose (see the import boundary above). Run `bun test` and `bun run typecheck` before sending anything.
@@ -0,0 +1,21 @@
1
+ /**
2
+ * createAdmin: the admin's routes as a Hono app for the host to mount where it
3
+ * likes. Every read and write of entries goes through `cms.content.as(principal)`
4
+ * for the principal the host resolved, so the admin can do nothing the type's
5
+ * rules refuse that caller; `cms.access.rulesFor` only decides what to draw.
6
+ *
7
+ * app.route('/admin2', createAdmin({ cms, resolvePrincipal, mount: '/admin2' }))
8
+ *
9
+ * Writes are forms that POST and answer 303. They are refused unless they are
10
+ * form posts from the admin's own origin (hono/csrf, plus a content-type check,
11
+ * since csrf looks only at form content types), and every page carries a content
12
+ * security policy that names the admin's script, the editor and the stylesheets.
13
+ */
14
+ import { Hono } from 'hono';
15
+ import { type HostPrincipal } from '../core/index.ts';
16
+ import type { AdminAssets, AdminOptions } from './types.ts';
17
+ export declare const DEFAULT_ASSETS: AdminAssets;
18
+ export declare function createAdmin<H extends HostPrincipal = never>(options: AdminOptions<H>): Hono<any>;
19
+ /** Mounts the admin on a host app: `mountAdmin(app, '/admin2', options)`. */
20
+ export declare function mountAdmin<H extends HostPrincipal = never>(host: Hono<any>, path: string, options: Omit<AdminOptions<H>, 'mount'>): void;
21
+ //# sourceMappingURL=app.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"app.d.ts","sourceRoot":"","sources":["../../src/admin/app.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AACH,OAAO,EAAE,IAAI,EAAgB,MAAM,MAAM,CAAC;AAI1C,OAAO,EAEyC,KAAK,aAAa,EACjE,MAAM,kBAAkB,CAAC;AAK1B,OAAO,KAAK,EAAe,WAAW,EAAE,YAAY,EAAiD,MAAM,YAAY,CAAC;AAMxH,eAAO,MAAM,cAAc,EAAE,WAM5B,CAAC;AA2BF,wBAAgB,WAAW,CAAC,CAAC,SAAS,aAAa,GAAG,KAAK,EAAE,OAAO,EAAE,YAAY,CAAC,CAAC,CAAC,GAAG,IAAI,CAAC,GAAG,CAAC,CA2qBhG;AAED,6EAA6E;AAC7E,wBAAgB,UAAU,CAAC,CAAC,SAAS,aAAa,GAAG,KAAK,EAAE,IAAI,EAAE,IAAI,CAAC,GAAG,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,IAAI,CAAC,YAAY,CAAC,CAAC,CAAC,EAAE,OAAO,CAAC,GAAG,IAAI,CAExI"}