@sonicjs-cms/core 2.16.0 → 2.17.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 (64) hide show
  1. package/dist/{app-COElO4Rm.d.cts → app-C9esKLmh.d.cts} +3 -0
  2. package/dist/{app-COElO4Rm.d.ts → app-C9esKLmh.d.ts} +3 -0
  3. package/dist/{chunk-Q5VFZUXV.cjs → chunk-4HCUJ3MG.cjs} +34 -6
  4. package/dist/chunk-4HCUJ3MG.cjs.map +1 -0
  5. package/dist/{chunk-MVSCB4E3.js → chunk-6F57Z6SD.js} +3 -3
  6. package/dist/{chunk-MVSCB4E3.js.map → chunk-6F57Z6SD.js.map} +1 -1
  7. package/dist/{chunk-INSDRCG3.js → chunk-FDXNIZ6N.js} +34 -6
  8. package/dist/chunk-FDXNIZ6N.js.map +1 -0
  9. package/dist/{chunk-OCLUXJ7E.cjs → chunk-FSWP4FBW.cjs} +48 -5
  10. package/dist/chunk-FSWP4FBW.cjs.map +1 -0
  11. package/dist/{chunk-6ENX7QSA.cjs → chunk-J5MYHM6Z.cjs} +352 -176
  12. package/dist/chunk-J5MYHM6Z.cjs.map +1 -0
  13. package/dist/{chunk-WLSIUKNM.js → chunk-LZJLWW7E.js} +227 -51
  14. package/dist/chunk-LZJLWW7E.js.map +1 -0
  15. package/dist/{chunk-VFQUULAV.js → chunk-NMJT6BJR.js} +48 -5
  16. package/dist/chunk-NMJT6BJR.js.map +1 -0
  17. package/dist/{chunk-YQW2GCJ3.cjs → chunk-QBLBIAVZ.cjs} +3 -3
  18. package/dist/{chunk-YQW2GCJ3.cjs.map → chunk-QBLBIAVZ.cjs.map} +1 -1
  19. package/dist/{chunk-TBJY2FF7.js → chunk-QFWHAFEO.js} +22 -2
  20. package/dist/chunk-QFWHAFEO.js.map +1 -0
  21. package/dist/{chunk-CZ6BVQZX.cjs → chunk-RE3NVA23.cjs} +155 -17
  22. package/dist/chunk-RE3NVA23.cjs.map +1 -0
  23. package/dist/{chunk-Y5EH32F5.js → chunk-S7K4FRJ2.js} +149 -14
  24. package/dist/chunk-S7K4FRJ2.js.map +1 -0
  25. package/dist/{chunk-NZWFCUDA.cjs → chunk-WAEQXGCX.cjs} +22 -2
  26. package/dist/chunk-WAEQXGCX.cjs.map +1 -0
  27. package/dist/index.cjs +209 -185
  28. package/dist/index.cjs.map +1 -1
  29. package/dist/index.d.cts +1 -1
  30. package/dist/index.d.ts +1 -1
  31. package/dist/index.js +47 -23
  32. package/dist/index.js.map +1 -1
  33. package/dist/middleware.cjs +41 -29
  34. package/dist/middleware.d.cts +38 -4
  35. package/dist/middleware.d.ts +38 -4
  36. package/dist/middleware.js +3 -3
  37. package/dist/migrations-HQI62CAO.js +4 -0
  38. package/dist/{migrations-7HQ7LYAL.js.map → migrations-HQI62CAO.js.map} +1 -1
  39. package/dist/migrations-ZYPYVSXI.cjs +13 -0
  40. package/dist/{migrations-SVQTT7NV.cjs.map → migrations-ZYPYVSXI.cjs.map} +1 -1
  41. package/dist/routes.cjs +29 -29
  42. package/dist/routes.d.cts +1 -1
  43. package/dist/routes.d.ts +1 -1
  44. package/dist/routes.js +6 -6
  45. package/dist/services.cjs +39 -39
  46. package/dist/services.d.cts +12 -0
  47. package/dist/services.d.ts +12 -0
  48. package/dist/services.js +3 -3
  49. package/dist/utils.cjs +11 -11
  50. package/dist/utils.js +1 -1
  51. package/migrations/035_user_profiles_data_column.sql +14 -15
  52. package/package.json +1 -1
  53. package/dist/chunk-6ENX7QSA.cjs.map +0 -1
  54. package/dist/chunk-CZ6BVQZX.cjs.map +0 -1
  55. package/dist/chunk-INSDRCG3.js.map +0 -1
  56. package/dist/chunk-NZWFCUDA.cjs.map +0 -1
  57. package/dist/chunk-OCLUXJ7E.cjs.map +0 -1
  58. package/dist/chunk-Q5VFZUXV.cjs.map +0 -1
  59. package/dist/chunk-TBJY2FF7.js.map +0 -1
  60. package/dist/chunk-VFQUULAV.js.map +0 -1
  61. package/dist/chunk-WLSIUKNM.js.map +0 -1
  62. package/dist/chunk-Y5EH32F5.js.map +0 -1
  63. package/dist/migrations-7HQ7LYAL.js +0 -4
  64. package/dist/migrations-SVQTT7NV.cjs +0 -13
package/dist/index.cjs CHANGED
@@ -1,16 +1,16 @@
1
1
  'use strict';
2
2
 
3
- var chunk6ENX7QSA_cjs = require('./chunk-6ENX7QSA.cjs');
4
- var chunkNZWFCUDA_cjs = require('./chunk-NZWFCUDA.cjs');
5
- var chunkCZ6BVQZX_cjs = require('./chunk-CZ6BVQZX.cjs');
6
- var chunkQ5VFZUXV_cjs = require('./chunk-Q5VFZUXV.cjs');
7
- var chunkOCLUXJ7E_cjs = require('./chunk-OCLUXJ7E.cjs');
3
+ var chunkJ5MYHM6Z_cjs = require('./chunk-J5MYHM6Z.cjs');
4
+ var chunkWAEQXGCX_cjs = require('./chunk-WAEQXGCX.cjs');
5
+ var chunkRE3NVA23_cjs = require('./chunk-RE3NVA23.cjs');
6
+ var chunk4HCUJ3MG_cjs = require('./chunk-4HCUJ3MG.cjs');
7
+ var chunkFSWP4FBW_cjs = require('./chunk-FSWP4FBW.cjs');
8
8
  var chunk4ZSNJDLS_cjs = require('./chunk-4ZSNJDLS.cjs');
9
9
  var chunkOHYBNCVL_cjs = require('./chunk-OHYBNCVL.cjs');
10
10
  var chunkUYJ6TJHX_cjs = require('./chunk-UYJ6TJHX.cjs');
11
11
  var chunkABB34XUS_cjs = require('./chunk-ABB34XUS.cjs');
12
12
  var chunk635JAMSE_cjs = require('./chunk-635JAMSE.cjs');
13
- var chunkYQW2GCJ3_cjs = require('./chunk-YQW2GCJ3.cjs');
13
+ var chunkQBLBIAVZ_cjs = require('./chunk-QBLBIAVZ.cjs');
14
14
  require('./chunk-P3XDZL6Q.cjs');
15
15
  var chunkRCQ2HIQD_cjs = require('./chunk-RCQ2HIQD.cjs');
16
16
  var chunkMNWKYY5E_cjs = require('./chunk-MNWKYY5E.cjs');
@@ -560,7 +560,7 @@ function formatCellValue(value) {
560
560
  // src/plugins/core-plugins/database-tools-plugin/admin-routes.ts
561
561
  function createDatabaseToolsAdminRoutes() {
562
562
  const router3 = new hono.Hono();
563
- router3.use("*", chunkCZ6BVQZX_cjs.requireAuth());
563
+ router3.use("*", chunkRE3NVA23_cjs.requireAuth());
564
564
  router3.get("/api/stats", async (c) => {
565
565
  try {
566
566
  const user = c.get("user");
@@ -1777,7 +1777,7 @@ function createOTPLoginPlugin() {
1777
1777
  console.warn("Failed to parse OTP plugin settings, using defaults");
1778
1778
  }
1779
1779
  }
1780
- const settingsService = new chunkNZWFCUDA_cjs.SettingsService(db);
1780
+ const settingsService = new chunkWAEQXGCX_cjs.SettingsService(db);
1781
1781
  const generalSettings = await settingsService.getGeneralSettings();
1782
1782
  const siteName = generalSettings.siteName;
1783
1783
  const canRequest = await otpService.checkRateLimit(normalizedEmail, settings);
@@ -1939,13 +1939,13 @@ function createOTPLoginPlugin() {
1939
1939
  error: "Account is deactivated"
1940
1940
  }, 403);
1941
1941
  }
1942
- const token = await chunkCZ6BVQZX_cjs.AuthManager.generateToken(user.id, user.email, user.role, c.env.JWT_SECRET);
1942
+ const tokenTtl = await chunkRE3NVA23_cjs.getJwtExpirySecondsFromDb(db, c.env);
1943
+ const token = await chunkRE3NVA23_cjs.AuthManager.generateToken(user.id, user.email, user.role, c.env.JWT_SECRET, tokenTtl);
1943
1944
  cookie.setCookie(c, "auth_token", token, {
1944
1945
  httpOnly: true,
1945
1946
  secure: true,
1946
1947
  sameSite: "Strict",
1947
- maxAge: 60 * 60 * 24
1948
- // 24 hours
1948
+ maxAge: tokenTtl
1949
1949
  });
1950
1950
  return c.json({
1951
1951
  success: true,
@@ -2409,13 +2409,15 @@ function createOAuthProvidersPlugin() {
2409
2409
  if (!user || !user.is_active) {
2410
2410
  return c.redirect("/auth/login?error=Account is deactivated");
2411
2411
  }
2412
- const jwt2 = await chunkCZ6BVQZX_cjs.AuthManager.generateToken(
2412
+ const tokenTtl2 = await chunkRE3NVA23_cjs.getJwtExpirySecondsFromDb(c.env.DB, c.env);
2413
+ const jwt2 = await chunkRE3NVA23_cjs.AuthManager.generateToken(
2413
2414
  user.id,
2414
2415
  user.email,
2415
2416
  user.role,
2416
- c.env.JWT_SECRET
2417
+ c.env.JWT_SECRET,
2418
+ tokenTtl2
2417
2419
  );
2418
- chunkCZ6BVQZX_cjs.AuthManager.setAuthCookie(c, jwt2, { sameSite: "Lax" });
2420
+ chunkRE3NVA23_cjs.AuthManager.setAuthCookie(c, jwt2, { sameSite: "Lax", maxAge: tokenTtl2 });
2419
2421
  return c.redirect("/admin");
2420
2422
  }
2421
2423
  const existingUser = await oauthService.findUserByEmail(profile.email);
@@ -2432,13 +2434,15 @@ function createOAuthProvidersPlugin() {
2432
2434
  tokenExpiresAt: tokenExpiresAt ?? void 0,
2433
2435
  profileData: JSON.stringify(profile)
2434
2436
  });
2435
- const jwt2 = await chunkCZ6BVQZX_cjs.AuthManager.generateToken(
2437
+ const tokenTtl2 = await chunkRE3NVA23_cjs.getJwtExpirySecondsFromDb(c.env.DB, c.env);
2438
+ const jwt2 = await chunkRE3NVA23_cjs.AuthManager.generateToken(
2436
2439
  existingUser.id,
2437
2440
  existingUser.email,
2438
2441
  existingUser.role,
2439
- c.env.JWT_SECRET
2442
+ c.env.JWT_SECRET,
2443
+ tokenTtl2
2440
2444
  );
2441
- chunkCZ6BVQZX_cjs.AuthManager.setAuthCookie(c, jwt2, { sameSite: "Lax" });
2445
+ chunkRE3NVA23_cjs.AuthManager.setAuthCookie(c, jwt2, { sameSite: "Lax", maxAge: tokenTtl2 });
2442
2446
  return c.redirect("/admin");
2443
2447
  }
2444
2448
  const newUserId = await oauthService.createUserFromOAuth(profile);
@@ -2451,13 +2455,15 @@ function createOAuthProvidersPlugin() {
2451
2455
  tokenExpiresAt: tokenExpiresAt ?? void 0,
2452
2456
  profileData: JSON.stringify(profile)
2453
2457
  });
2454
- const jwt = await chunkCZ6BVQZX_cjs.AuthManager.generateToken(
2458
+ const tokenTtl = await chunkRE3NVA23_cjs.getJwtExpirySecondsFromDb(c.env.DB, c.env);
2459
+ const jwt = await chunkRE3NVA23_cjs.AuthManager.generateToken(
2455
2460
  newUserId,
2456
2461
  profile.email.toLowerCase(),
2457
2462
  "viewer",
2458
- c.env.JWT_SECRET
2463
+ c.env.JWT_SECRET,
2464
+ tokenTtl
2459
2465
  );
2460
- chunkCZ6BVQZX_cjs.AuthManager.setAuthCookie(c, jwt, { sameSite: "Lax" });
2466
+ chunkRE3NVA23_cjs.AuthManager.setAuthCookie(c, jwt, { sameSite: "Lax", maxAge: tokenTtl });
2461
2467
  return c.redirect("/admin");
2462
2468
  } catch (error) {
2463
2469
  console.error("OAuth callback error:", error);
@@ -4150,7 +4156,7 @@ function renderSettingsPage(data) {
4150
4156
 
4151
4157
  // src/plugins/core-plugins/ai-search-plugin/routes/admin.ts
4152
4158
  var adminRoutes = new hono.Hono();
4153
- adminRoutes.use("*", chunkCZ6BVQZX_cjs.requireAuth());
4159
+ adminRoutes.use("*", chunkRE3NVA23_cjs.requireAuth());
4154
4160
  adminRoutes.get("/", async (c) => {
4155
4161
  try {
4156
4162
  const user = c.get("user");
@@ -4551,13 +4557,15 @@ function createMagicLinkAuthPlugin() {
4551
4557
  SET used = 1, used_at = ?
4552
4558
  WHERE id = ?
4553
4559
  `).bind(Date.now(), magicLink.id).run();
4554
- const jwtToken = await chunkCZ6BVQZX_cjs.AuthManager.generateToken(
4560
+ const tokenTtl = await chunkRE3NVA23_cjs.getJwtExpirySecondsFromDb(c.env.DB, c.env);
4561
+ const jwtToken = await chunkRE3NVA23_cjs.AuthManager.generateToken(
4555
4562
  user.id,
4556
4563
  user.email,
4557
4564
  user.role,
4558
- c.env.JWT_SECRET
4565
+ c.env.JWT_SECRET,
4566
+ tokenTtl
4559
4567
  );
4560
- chunkCZ6BVQZX_cjs.AuthManager.setAuthCookie(c, jwtToken);
4568
+ chunkRE3NVA23_cjs.AuthManager.setAuthCookie(c, jwtToken, { maxAge: tokenTtl });
4561
4569
  await db.prepare(`
4562
4570
  UPDATE users SET last_login_at = ? WHERE id = ?
4563
4571
  `).bind(Date.now(), user.id).run();
@@ -5567,7 +5575,7 @@ function renderSecuritySettingsPage(data) {
5567
5575
 
5568
5576
  // src/plugins/core-plugins/security-audit-plugin/routes/admin.ts
5569
5577
  var adminRoutes2 = new hono.Hono();
5570
- adminRoutes2.use("*", chunkCZ6BVQZX_cjs.requireAuth());
5578
+ adminRoutes2.use("*", chunkRE3NVA23_cjs.requireAuth());
5571
5579
  adminRoutes2.use("*", async (c, next) => {
5572
5580
  const user = c.get("user");
5573
5581
  if (user?.role !== "admin") {
@@ -5577,7 +5585,7 @@ adminRoutes2.use("*", async (c, next) => {
5577
5585
  });
5578
5586
  async function getSettings(db) {
5579
5587
  try {
5580
- const pluginService = new chunkQ5VFZUXV_cjs.PluginService(db);
5588
+ const pluginService = new chunk4HCUJ3MG_cjs.PluginService(db);
5581
5589
  const plugin2 = await pluginService.getPlugin("security-audit");
5582
5590
  if (plugin2?.settings) {
5583
5591
  const settings = typeof plugin2.settings === "string" ? JSON.parse(plugin2.settings) : plugin2.settings;
@@ -5682,7 +5690,7 @@ adminRoutes2.post("/settings", async (c) => {
5682
5690
  autoPurge: body["retention.autoPurge"] === "true"
5683
5691
  }
5684
5692
  };
5685
- const pluginService = new chunkQ5VFZUXV_cjs.PluginService(db);
5693
+ const pluginService = new chunk4HCUJ3MG_cjs.PluginService(db);
5686
5694
  await pluginService.updatePluginSettings("security-audit", settings);
5687
5695
  if (c.req.header("HX-Request")) {
5688
5696
  return c.json({ success: true });
@@ -5843,7 +5851,7 @@ var BruteForceDetector = class {
5843
5851
 
5844
5852
  // src/plugins/core-plugins/security-audit-plugin/routes/api.ts
5845
5853
  var apiRoutes2 = new hono.Hono();
5846
- apiRoutes2.use("*", chunkCZ6BVQZX_cjs.requireAuth());
5854
+ apiRoutes2.use("*", chunkRE3NVA23_cjs.requireAuth());
5847
5855
  apiRoutes2.use("*", async (c, next) => {
5848
5856
  const user = c.get("user");
5849
5857
  if (user?.role !== "admin") {
@@ -5853,7 +5861,7 @@ apiRoutes2.use("*", async (c, next) => {
5853
5861
  });
5854
5862
  async function getSettings2(db) {
5855
5863
  try {
5856
- const pluginService = new chunkQ5VFZUXV_cjs.PluginService(db);
5864
+ const pluginService = new chunk4HCUJ3MG_cjs.PluginService(db);
5857
5865
  const plugin2 = await pluginService.getPlugin("security-audit");
5858
5866
  if (plugin2?.settings) {
5859
5867
  const settings = typeof plugin2.settings === "string" ? JSON.parse(plugin2.settings) : plugin2.settings;
@@ -6001,7 +6009,7 @@ function generateFingerprint(ip, userAgent) {
6001
6009
  }
6002
6010
  async function getPluginSettings(db) {
6003
6011
  try {
6004
- const pluginService = new chunkQ5VFZUXV_cjs.PluginService(db);
6012
+ const pluginService = new chunk4HCUJ3MG_cjs.PluginService(db);
6005
6013
  const plugin2 = await pluginService.getPlugin("security-audit");
6006
6014
  if (plugin2?.settings) {
6007
6015
  const settings = typeof plugin2.settings === "string" ? JSON.parse(plugin2.settings) : plugin2.settings;
@@ -6889,7 +6897,7 @@ function renderEventsPage(data) {
6889
6897
  <tr>
6890
6898
  <th class="px-6 py-3 text-left text-xs font-medium text-zinc-500 dark:text-zinc-400 uppercase tracking-wider">Time</th>
6891
6899
  <th class="px-6 py-3 text-left text-xs font-medium text-zinc-500 dark:text-zinc-400 uppercase tracking-wider">Type</th>
6892
- <th class="px-6 py-3 text-left text-xs font-medium text-zinc-500 dark:text-zinc-400 uppercase tracking-wider">Object</th>
6900
+ <th class="px-6 py-3 text-left text-xs font-medium text-zinc-500 dark:text-zinc-400 uppercase tracking-wider">Object / User</th>
6893
6901
  <th class="px-6 py-3 text-left text-xs font-medium text-zinc-500 dark:text-zinc-400 uppercase tracking-wider">Status</th>
6894
6902
  <th class="px-6 py-3 text-left text-xs font-medium text-zinc-500 dark:text-zinc-400 uppercase tracking-wider">Event ID</th>
6895
6903
  </tr>
@@ -6948,8 +6956,20 @@ function formatTimestamp3(timestamp) {
6948
6956
  second: "2-digit"
6949
6957
  });
6950
6958
  }
6959
+ function extractUserInfo(event) {
6960
+ try {
6961
+ const data = typeof event.data === "string" ? JSON.parse(event.data) : event.data;
6962
+ const userId = data?.metadata?.sonicjs_user_id || data?.sonicjs_user_id;
6963
+ const email = data?.customer_email || data?.customerEmail || data?.receipt_email;
6964
+ return { userId: userId || void 0, email: email || void 0 };
6965
+ } catch {
6966
+ return {};
6967
+ }
6968
+ }
6951
6969
  function renderEventRow(event) {
6952
6970
  const errorTooltip = event.error ? ` title="${event.error.replace(/"/g, "&quot;")}"` : "";
6971
+ const userInfo = extractUserInfo(event);
6972
+ const userLink = userInfo.userId ? `<a href="/admin/users/${userInfo.userId}" class="text-sm text-blue-600 dark:text-blue-400 hover:underline">${userInfo.email || userInfo.userId}</a>` : userInfo.email ? `<span class="text-sm text-zinc-500 dark:text-zinc-400">${userInfo.email}</span>` : "";
6953
6973
  return `
6954
6974
  <tr class="hover:bg-zinc-950/[0.025] dark:hover:bg-white/[0.025]"${errorTooltip}>
6955
6975
  <td class="px-6 py-4 whitespace-nowrap text-sm text-zinc-500 dark:text-zinc-400">
@@ -6961,6 +6981,7 @@ function renderEventRow(event) {
6961
6981
  <td class="px-6 py-4 whitespace-nowrap">
6962
6982
  <div class="text-sm font-mono text-zinc-500 dark:text-zinc-400">${event.objectId || "-"}</div>
6963
6983
  <div class="text-xs text-zinc-400 dark:text-zinc-500">${event.objectType}</div>
6984
+ ${userLink ? `<div class="mt-1">${userLink}</div>` : ""}
6964
6985
  </td>
6965
6986
  <td class="px-6 py-4 whitespace-nowrap">${eventStatusBadge(event.status)}</td>
6966
6987
  <td class="px-6 py-4 whitespace-nowrap text-xs font-mono text-zinc-400 dark:text-zinc-500">${event.stripeEventId}</td>
@@ -6998,7 +7019,7 @@ var DEFAULT_SETTINGS3 = {
6998
7019
 
6999
7020
  // src/plugins/core-plugins/stripe-plugin/routes/admin.ts
7000
7021
  var adminRoutes3 = new hono.Hono();
7001
- adminRoutes3.use("*", chunkCZ6BVQZX_cjs.requireAuth());
7022
+ adminRoutes3.use("*", chunkRE3NVA23_cjs.requireAuth());
7002
7023
  adminRoutes3.use("*", async (c, next) => {
7003
7024
  const user = c.get("user");
7004
7025
  if (user?.role !== "admin") {
@@ -7008,7 +7029,7 @@ adminRoutes3.use("*", async (c, next) => {
7008
7029
  });
7009
7030
  async function getSettings3(db) {
7010
7031
  try {
7011
- const pluginService = new chunkQ5VFZUXV_cjs.PluginService(db);
7032
+ const pluginService = new chunk4HCUJ3MG_cjs.PluginService(db);
7012
7033
  const plugin2 = await pluginService.getPlugin("stripe");
7013
7034
  if (plugin2?.settings) {
7014
7035
  const settings = typeof plugin2.settings === "string" ? JSON.parse(plugin2.settings) : plugin2.settings;
@@ -7330,7 +7351,7 @@ function timingSafeEqual(a, b) {
7330
7351
  var apiRoutes3 = new hono.Hono();
7331
7352
  async function getSettings4(db) {
7332
7353
  try {
7333
- const pluginService = new chunkQ5VFZUXV_cjs.PluginService(db);
7354
+ const pluginService = new chunk4HCUJ3MG_cjs.PluginService(db);
7334
7355
  const plugin2 = await pluginService.getPlugin("stripe");
7335
7356
  if (plugin2?.settings) {
7336
7357
  const settings = typeof plugin2.settings === "string" ? JSON.parse(plugin2.settings) : plugin2.settings;
@@ -7481,7 +7502,7 @@ apiRoutes3.post("/webhook", async (c) => {
7481
7502
  }
7482
7503
  return c.json({ received: true });
7483
7504
  });
7484
- apiRoutes3.post("/create-checkout-session", chunkCZ6BVQZX_cjs.requireAuth(), async (c) => {
7505
+ apiRoutes3.post("/create-checkout-session", chunkRE3NVA23_cjs.requireAuth(), async (c) => {
7485
7506
  const db = c.env.DB;
7486
7507
  const user = c.get("user");
7487
7508
  if (!user) return c.json({ error: "Unauthorized" }, 401);
@@ -7521,7 +7542,7 @@ apiRoutes3.post("/create-checkout-session", chunkCZ6BVQZX_cjs.requireAuth(), asy
7521
7542
  });
7522
7543
  return c.json({ sessionId: session.id, url: session.url });
7523
7544
  });
7524
- apiRoutes3.get("/subscription", chunkCZ6BVQZX_cjs.requireAuth(), async (c) => {
7545
+ apiRoutes3.get("/subscription", chunkRE3NVA23_cjs.requireAuth(), async (c) => {
7525
7546
  const user = c.get("user");
7526
7547
  if (!user) return c.json({ error: "Unauthorized" }, 401);
7527
7548
  const db = c.env.DB;
@@ -7533,7 +7554,7 @@ apiRoutes3.get("/subscription", chunkCZ6BVQZX_cjs.requireAuth(), async (c) => {
7533
7554
  }
7534
7555
  return c.json({ subscription });
7535
7556
  });
7536
- apiRoutes3.get("/subscriptions", chunkCZ6BVQZX_cjs.requireAuth(), async (c) => {
7557
+ apiRoutes3.get("/subscriptions", chunkRE3NVA23_cjs.requireAuth(), async (c) => {
7537
7558
  const user = c.get("user");
7538
7559
  if (user?.role !== "admin") return c.json({ error: "Access denied" }, 403);
7539
7560
  const db = c.env.DB;
@@ -7549,7 +7570,7 @@ apiRoutes3.get("/subscriptions", chunkCZ6BVQZX_cjs.requireAuth(), async (c) => {
7549
7570
  const result = await subscriptionService.list(filters);
7550
7571
  return c.json(result);
7551
7572
  });
7552
- apiRoutes3.get("/stats", chunkCZ6BVQZX_cjs.requireAuth(), async (c) => {
7573
+ apiRoutes3.get("/stats", chunkRE3NVA23_cjs.requireAuth(), async (c) => {
7553
7574
  const user = c.get("user");
7554
7575
  if (user?.role !== "admin") return c.json({ error: "Access denied" }, 403);
7555
7576
  const db = c.env.DB;
@@ -7558,7 +7579,7 @@ apiRoutes3.get("/stats", chunkCZ6BVQZX_cjs.requireAuth(), async (c) => {
7558
7579
  const stats = await subscriptionService.getStats();
7559
7580
  return c.json(stats);
7560
7581
  });
7561
- apiRoutes3.post("/sync-subscriptions", chunkCZ6BVQZX_cjs.requireAuth(), async (c) => {
7582
+ apiRoutes3.post("/sync-subscriptions", chunkRE3NVA23_cjs.requireAuth(), async (c) => {
7562
7583
  const user = c.get("user");
7563
7584
  if (user?.role !== "admin") return c.json({ error: "Access denied" }, 403);
7564
7585
  const db = c.env.DB;
@@ -7606,7 +7627,7 @@ apiRoutes3.post("/sync-subscriptions", chunkCZ6BVQZX_cjs.requireAuth(), async (c
7606
7627
  }, 500);
7607
7628
  }
7608
7629
  });
7609
- apiRoutes3.get("/events", chunkCZ6BVQZX_cjs.requireAuth(), async (c) => {
7630
+ apiRoutes3.get("/events", chunkRE3NVA23_cjs.requireAuth(), async (c) => {
7610
7631
  const user = c.get("user");
7611
7632
  if (user?.role !== "admin") return c.json({ error: "Access denied" }, 403);
7612
7633
  const db = c.env.DB;
@@ -7672,7 +7693,7 @@ function createStripePlugin() {
7672
7693
  var stripePlugin = createStripePlugin();
7673
7694
 
7674
7695
  // src/middleware/plugin-menu.ts
7675
- var REGISTRY_MENU_PLUGINS = Object.values(chunkQ5VFZUXV_cjs.PLUGIN_REGISTRY).filter((p) => p.adminMenu !== null).map((p) => ({
7696
+ var REGISTRY_MENU_PLUGINS = Object.values(chunk4HCUJ3MG_cjs.PLUGIN_REGISTRY).filter((p) => p.adminMenu !== null).map((p) => ({
7676
7697
  codeName: p.codeName,
7677
7698
  label: p.adminMenu.label,
7678
7699
  path: p.adminMenu.path,
@@ -7771,7 +7792,7 @@ var HOOKS2 = {
7771
7792
  USER_LOGIN: "user:login"};
7772
7793
  chunkUYJ6TJHX_cjs.init_admin_layout_catalyst_template();
7773
7794
  var adminRoutes4 = new hono.Hono();
7774
- adminRoutes4.use("*", chunkCZ6BVQZX_cjs.requireAuth());
7795
+ adminRoutes4.use("*", chunkRE3NVA23_cjs.requireAuth());
7775
7796
  adminRoutes4.use("*", async (c, next) => {
7776
7797
  const user = c.get("user");
7777
7798
  if (user?.role !== "admin") {
@@ -9570,7 +9591,7 @@ function renderCacheDashboard(data) {
9570
9591
  </script>
9571
9592
 
9572
9593
  <!-- Confirmation Dialogs -->
9573
- ${chunk6ENX7QSA_cjs.renderConfirmationDialog({
9594
+ ${chunkJ5MYHM6Z_cjs.renderConfirmationDialog({
9574
9595
  id: "clear-all-cache-confirm",
9575
9596
  title: "Clear All Cache",
9576
9597
  message: "Are you sure you want to clear all cache entries? This cannot be undone.",
@@ -9581,7 +9602,7 @@ function renderCacheDashboard(data) {
9581
9602
  onConfirm: "performClearAllCaches()"
9582
9603
  })}
9583
9604
 
9584
- ${chunk6ENX7QSA_cjs.renderConfirmationDialog({
9605
+ ${chunkJ5MYHM6Z_cjs.renderConfirmationDialog({
9585
9606
  id: "clear-namespace-cache-confirm",
9586
9607
  title: "Clear Namespace Cache",
9587
9608
  message: "Clear cache for this namespace?",
@@ -9592,7 +9613,7 @@ function renderCacheDashboard(data) {
9592
9613
  onConfirm: "performClearNamespaceCache()"
9593
9614
  })}
9594
9615
 
9595
- ${chunk6ENX7QSA_cjs.getConfirmationDialogScript()}
9616
+ ${chunkJ5MYHM6Z_cjs.getConfirmationDialogScript()}
9596
9617
  `;
9597
9618
  const layoutData = {
9598
9619
  title: "Cache System",
@@ -10278,14 +10299,14 @@ var faviconSvg = `<?xml version="1.0" encoding="UTF-8" standalone="no"?>
10278
10299
  // src/app.ts
10279
10300
  function createSonicJSApp(config = {}) {
10280
10301
  const app2 = new hono.Hono();
10281
- const appVersion = config.version || chunkYQW2GCJ3_cjs.getCoreVersion();
10302
+ const appVersion = config.version || chunkQBLBIAVZ_cjs.getCoreVersion();
10282
10303
  const appName = config.name || "SonicJS AI";
10283
10304
  app2.use("*", async (c, next) => {
10284
10305
  c.set("appVersion", appVersion);
10285
10306
  await next();
10286
10307
  });
10287
- app2.use("*", chunkCZ6BVQZX_cjs.metricsMiddleware());
10288
- app2.use("*", chunkCZ6BVQZX_cjs.bootstrapMiddleware(config));
10308
+ app2.use("*", chunkRE3NVA23_cjs.metricsMiddleware());
10309
+ app2.use("*", chunkRE3NVA23_cjs.bootstrapMiddleware(config));
10289
10310
  if (config.middleware?.beforeAuth) {
10290
10311
  for (const middleware of config.middleware.beforeAuth) {
10291
10312
  app2.use("*", middleware);
@@ -10294,29 +10315,32 @@ function createSonicJSApp(config = {}) {
10294
10315
  app2.use("*", async (_c, next) => {
10295
10316
  await next();
10296
10317
  });
10297
- app2.use("*", chunkCZ6BVQZX_cjs.securityHeadersMiddleware());
10298
- app2.use("*", chunkCZ6BVQZX_cjs.csrfProtection());
10318
+ app2.use("*", chunkRE3NVA23_cjs.securityHeadersMiddleware());
10319
+ app2.use("*", chunkRE3NVA23_cjs.csrfProtection());
10299
10320
  if (config.middleware?.afterAuth) {
10300
10321
  for (const middleware of config.middleware.afterAuth) {
10301
10322
  app2.use("*", middleware);
10302
10323
  }
10303
10324
  }
10325
+ const adminRoles = config.adminAccessRoles || ["admin"];
10326
+ app2.use("/admin/*", chunkRE3NVA23_cjs.requireAuth());
10327
+ app2.use("/admin/*", chunkRE3NVA23_cjs.requireRole(adminRoles));
10304
10328
  app2.use("/admin/*", pluginMenuMiddleware());
10305
- app2.route("/api", chunk6ENX7QSA_cjs.api_default);
10306
- app2.route("/api/media", chunk6ENX7QSA_cjs.api_media_default);
10307
- app2.route("/api/system", chunk6ENX7QSA_cjs.api_system_default);
10308
- app2.route("/admin/api", chunk6ENX7QSA_cjs.admin_api_default);
10309
- app2.route("/admin/dashboard", chunk6ENX7QSA_cjs.router);
10310
- app2.route("/admin/collections", chunk6ENX7QSA_cjs.adminCollectionsRoutes);
10311
- app2.route("/admin/forms", chunk6ENX7QSA_cjs.adminFormsRoutes);
10312
- app2.route("/admin/settings", chunk6ENX7QSA_cjs.adminSettingsRoutes);
10313
- app2.route("/forms", chunk6ENX7QSA_cjs.public_forms_default);
10314
- app2.route("/api/forms", chunk6ENX7QSA_cjs.public_forms_default);
10315
- app2.route("/admin/api-reference", chunk6ENX7QSA_cjs.router2);
10329
+ app2.route("/api", chunkJ5MYHM6Z_cjs.api_default);
10330
+ app2.route("/api/media", chunkJ5MYHM6Z_cjs.api_media_default);
10331
+ app2.route("/api/system", chunkJ5MYHM6Z_cjs.api_system_default);
10332
+ app2.route("/admin/api", chunkJ5MYHM6Z_cjs.admin_api_default);
10333
+ app2.route("/admin/dashboard", chunkJ5MYHM6Z_cjs.router);
10334
+ app2.route("/admin/collections", chunkJ5MYHM6Z_cjs.adminCollectionsRoutes);
10335
+ app2.route("/admin/forms", chunkJ5MYHM6Z_cjs.adminFormsRoutes);
10336
+ app2.route("/admin/settings", chunkJ5MYHM6Z_cjs.adminSettingsRoutes);
10337
+ app2.route("/forms", chunkJ5MYHM6Z_cjs.public_forms_default);
10338
+ app2.route("/api/forms", chunkJ5MYHM6Z_cjs.public_forms_default);
10339
+ app2.route("/admin/api-reference", chunkJ5MYHM6Z_cjs.router2);
10316
10340
  app2.route("/admin/database-tools", createDatabaseToolsAdminRoutes());
10317
10341
  app2.route("/admin/seed-data", createSeedDataAdminRoutes());
10318
- app2.route("/admin/content", chunk6ENX7QSA_cjs.admin_content_default);
10319
- app2.route("/admin/media", chunk6ENX7QSA_cjs.adminMediaRoutes);
10342
+ app2.route("/admin/content", chunkJ5MYHM6Z_cjs.admin_content_default);
10343
+ app2.route("/admin/media", chunkJ5MYHM6Z_cjs.adminMediaRoutes);
10320
10344
  app2.use("/auth/*", securityAuditMiddleware());
10321
10345
  if (securityAuditPlugin.routes && securityAuditPlugin.routes.length > 0) {
10322
10346
  for (const route of securityAuditPlugin.routes) {
@@ -10334,8 +10358,8 @@ function createSonicJSApp(config = {}) {
10334
10358
  app2.route(route.path, route.handler);
10335
10359
  }
10336
10360
  }
10337
- if (chunk6ENX7QSA_cjs.userProfilesPlugin.routes && chunk6ENX7QSA_cjs.userProfilesPlugin.routes.length > 0) {
10338
- for (const route of chunk6ENX7QSA_cjs.userProfilesPlugin.routes) {
10361
+ if (chunkJ5MYHM6Z_cjs.userProfilesPlugin.routes && chunkJ5MYHM6Z_cjs.userProfilesPlugin.routes.length > 0) {
10362
+ for (const route of chunkJ5MYHM6Z_cjs.userProfilesPlugin.routes) {
10339
10363
  app2.route(route.path, route.handler);
10340
10364
  }
10341
10365
  }
@@ -10355,11 +10379,11 @@ function createSonicJSApp(config = {}) {
10355
10379
  app2.route(route.path, route.handler);
10356
10380
  }
10357
10381
  }
10358
- app2.route("/admin/plugins", chunk6ENX7QSA_cjs.adminPluginRoutes);
10359
- app2.route("/admin/logs", chunk6ENX7QSA_cjs.adminLogsRoutes);
10360
- app2.route("/admin", chunk6ENX7QSA_cjs.userRoutes);
10361
- app2.route("/auth", chunk6ENX7QSA_cjs.auth_default);
10362
- app2.route("/", chunk6ENX7QSA_cjs.test_cleanup_default);
10382
+ app2.route("/admin/plugins", chunkJ5MYHM6Z_cjs.adminPluginRoutes);
10383
+ app2.route("/admin/logs", chunkJ5MYHM6Z_cjs.adminLogsRoutes);
10384
+ app2.route("/admin", chunkJ5MYHM6Z_cjs.userRoutes);
10385
+ app2.route("/auth", chunkJ5MYHM6Z_cjs.auth_default);
10386
+ app2.route("/", chunkJ5MYHM6Z_cjs.test_cleanup_default);
10363
10387
  if (emailPlugin.routes && emailPlugin.routes.length > 0) {
10364
10388
  for (const route of emailPlugin.routes) {
10365
10389
  app2.route(route.path, route.handler);
@@ -10422,7 +10446,7 @@ function createSonicJSApp(config = {}) {
10422
10446
  timestamp: (/* @__PURE__ */ new Date()).toISOString()
10423
10447
  });
10424
10448
  });
10425
- chunkNZWFCUDA_cjs.setAppInstance(app2);
10449
+ chunkWAEQXGCX_cjs.setAppInstance(app2);
10426
10450
  app2.notFound((c) => {
10427
10451
  return c.json({ error: "Not Found", status: 404 }, 404);
10428
10452
  });
@@ -10439,431 +10463,431 @@ function setupCoreRoutes(_app) {
10439
10463
  console.warn("setupCoreRoutes is deprecated. Use createSonicJSApp() instead.");
10440
10464
  }
10441
10465
  function createDb(d1$1) {
10442
- return d1.drizzle(d1$1, { schema: chunkNZWFCUDA_cjs.schema_exports });
10466
+ return d1.drizzle(d1$1, { schema: chunkWAEQXGCX_cjs.schema_exports });
10443
10467
  }
10444
10468
 
10445
10469
  // src/index.ts
10446
- var VERSION = chunkYQW2GCJ3_cjs.package_default.version;
10470
+ var VERSION = chunkQBLBIAVZ_cjs.package_default.version;
10447
10471
 
10448
10472
  Object.defineProperty(exports, "ROUTES_INFO", {
10449
10473
  enumerable: true,
10450
- get: function () { return chunk6ENX7QSA_cjs.ROUTES_INFO; }
10474
+ get: function () { return chunkJ5MYHM6Z_cjs.ROUTES_INFO; }
10451
10475
  });
10452
10476
  Object.defineProperty(exports, "adminApiRoutes", {
10453
10477
  enumerable: true,
10454
- get: function () { return chunk6ENX7QSA_cjs.admin_api_default; }
10478
+ get: function () { return chunkJ5MYHM6Z_cjs.admin_api_default; }
10455
10479
  });
10456
10480
  Object.defineProperty(exports, "adminCheckboxRoutes", {
10457
10481
  enumerable: true,
10458
- get: function () { return chunk6ENX7QSA_cjs.adminCheckboxRoutes; }
10482
+ get: function () { return chunkJ5MYHM6Z_cjs.adminCheckboxRoutes; }
10459
10483
  });
10460
10484
  Object.defineProperty(exports, "adminCodeExamplesRoutes", {
10461
10485
  enumerable: true,
10462
- get: function () { return chunk6ENX7QSA_cjs.admin_code_examples_default; }
10486
+ get: function () { return chunkJ5MYHM6Z_cjs.admin_code_examples_default; }
10463
10487
  });
10464
10488
  Object.defineProperty(exports, "adminCollectionsRoutes", {
10465
10489
  enumerable: true,
10466
- get: function () { return chunk6ENX7QSA_cjs.adminCollectionsRoutes; }
10490
+ get: function () { return chunkJ5MYHM6Z_cjs.adminCollectionsRoutes; }
10467
10491
  });
10468
10492
  Object.defineProperty(exports, "adminContentRoutes", {
10469
10493
  enumerable: true,
10470
- get: function () { return chunk6ENX7QSA_cjs.admin_content_default; }
10494
+ get: function () { return chunkJ5MYHM6Z_cjs.admin_content_default; }
10471
10495
  });
10472
10496
  Object.defineProperty(exports, "adminDashboardRoutes", {
10473
10497
  enumerable: true,
10474
- get: function () { return chunk6ENX7QSA_cjs.router; }
10498
+ get: function () { return chunkJ5MYHM6Z_cjs.router; }
10475
10499
  });
10476
10500
  Object.defineProperty(exports, "adminDesignRoutes", {
10477
10501
  enumerable: true,
10478
- get: function () { return chunk6ENX7QSA_cjs.adminDesignRoutes; }
10502
+ get: function () { return chunkJ5MYHM6Z_cjs.adminDesignRoutes; }
10479
10503
  });
10480
10504
  Object.defineProperty(exports, "adminLogsRoutes", {
10481
10505
  enumerable: true,
10482
- get: function () { return chunk6ENX7QSA_cjs.adminLogsRoutes; }
10506
+ get: function () { return chunkJ5MYHM6Z_cjs.adminLogsRoutes; }
10483
10507
  });
10484
10508
  Object.defineProperty(exports, "adminMediaRoutes", {
10485
10509
  enumerable: true,
10486
- get: function () { return chunk6ENX7QSA_cjs.adminMediaRoutes; }
10510
+ get: function () { return chunkJ5MYHM6Z_cjs.adminMediaRoutes; }
10487
10511
  });
10488
10512
  Object.defineProperty(exports, "adminPluginRoutes", {
10489
10513
  enumerable: true,
10490
- get: function () { return chunk6ENX7QSA_cjs.adminPluginRoutes; }
10514
+ get: function () { return chunkJ5MYHM6Z_cjs.adminPluginRoutes; }
10491
10515
  });
10492
10516
  Object.defineProperty(exports, "adminSettingsRoutes", {
10493
10517
  enumerable: true,
10494
- get: function () { return chunk6ENX7QSA_cjs.adminSettingsRoutes; }
10518
+ get: function () { return chunkJ5MYHM6Z_cjs.adminSettingsRoutes; }
10495
10519
  });
10496
10520
  Object.defineProperty(exports, "adminTestimonialsRoutes", {
10497
10521
  enumerable: true,
10498
- get: function () { return chunk6ENX7QSA_cjs.admin_testimonials_default; }
10522
+ get: function () { return chunkJ5MYHM6Z_cjs.admin_testimonials_default; }
10499
10523
  });
10500
10524
  Object.defineProperty(exports, "adminUsersRoutes", {
10501
10525
  enumerable: true,
10502
- get: function () { return chunk6ENX7QSA_cjs.userRoutes; }
10526
+ get: function () { return chunkJ5MYHM6Z_cjs.userRoutes; }
10503
10527
  });
10504
10528
  Object.defineProperty(exports, "apiContentCrudRoutes", {
10505
10529
  enumerable: true,
10506
- get: function () { return chunk6ENX7QSA_cjs.api_content_crud_default; }
10530
+ get: function () { return chunkJ5MYHM6Z_cjs.api_content_crud_default; }
10507
10531
  });
10508
10532
  Object.defineProperty(exports, "apiMediaRoutes", {
10509
10533
  enumerable: true,
10510
- get: function () { return chunk6ENX7QSA_cjs.api_media_default; }
10534
+ get: function () { return chunkJ5MYHM6Z_cjs.api_media_default; }
10511
10535
  });
10512
10536
  Object.defineProperty(exports, "apiRoutes", {
10513
10537
  enumerable: true,
10514
- get: function () { return chunk6ENX7QSA_cjs.api_default; }
10538
+ get: function () { return chunkJ5MYHM6Z_cjs.api_default; }
10515
10539
  });
10516
10540
  Object.defineProperty(exports, "apiSystemRoutes", {
10517
10541
  enumerable: true,
10518
- get: function () { return chunk6ENX7QSA_cjs.api_system_default; }
10542
+ get: function () { return chunkJ5MYHM6Z_cjs.api_system_default; }
10519
10543
  });
10520
10544
  Object.defineProperty(exports, "authRoutes", {
10521
10545
  enumerable: true,
10522
- get: function () { return chunk6ENX7QSA_cjs.auth_default; }
10546
+ get: function () { return chunkJ5MYHM6Z_cjs.auth_default; }
10523
10547
  });
10524
10548
  Object.defineProperty(exports, "createUserProfilesPlugin", {
10525
10549
  enumerable: true,
10526
- get: function () { return chunk6ENX7QSA_cjs.createUserProfilesPlugin; }
10550
+ get: function () { return chunkJ5MYHM6Z_cjs.createUserProfilesPlugin; }
10527
10551
  });
10528
10552
  Object.defineProperty(exports, "defineUserProfile", {
10529
10553
  enumerable: true,
10530
- get: function () { return chunk6ENX7QSA_cjs.defineUserProfile; }
10554
+ get: function () { return chunkJ5MYHM6Z_cjs.defineUserProfile; }
10531
10555
  });
10532
10556
  Object.defineProperty(exports, "getUserProfileConfig", {
10533
10557
  enumerable: true,
10534
- get: function () { return chunk6ENX7QSA_cjs.getUserProfileConfig; }
10558
+ get: function () { return chunkJ5MYHM6Z_cjs.getUserProfileConfig; }
10535
10559
  });
10536
10560
  Object.defineProperty(exports, "userProfilesPlugin", {
10537
10561
  enumerable: true,
10538
- get: function () { return chunk6ENX7QSA_cjs.userProfilesPlugin; }
10562
+ get: function () { return chunkJ5MYHM6Z_cjs.userProfilesPlugin; }
10539
10563
  });
10540
10564
  Object.defineProperty(exports, "Logger", {
10541
10565
  enumerable: true,
10542
- get: function () { return chunkNZWFCUDA_cjs.Logger; }
10566
+ get: function () { return chunkWAEQXGCX_cjs.Logger; }
10543
10567
  });
10544
10568
  Object.defineProperty(exports, "apiTokens", {
10545
10569
  enumerable: true,
10546
- get: function () { return chunkNZWFCUDA_cjs.apiTokens; }
10570
+ get: function () { return chunkWAEQXGCX_cjs.apiTokens; }
10547
10571
  });
10548
10572
  Object.defineProperty(exports, "collections", {
10549
10573
  enumerable: true,
10550
- get: function () { return chunkNZWFCUDA_cjs.collections; }
10574
+ get: function () { return chunkWAEQXGCX_cjs.collections; }
10551
10575
  });
10552
10576
  Object.defineProperty(exports, "content", {
10553
10577
  enumerable: true,
10554
- get: function () { return chunkNZWFCUDA_cjs.content; }
10578
+ get: function () { return chunkWAEQXGCX_cjs.content; }
10555
10579
  });
10556
10580
  Object.defineProperty(exports, "contentVersions", {
10557
10581
  enumerable: true,
10558
- get: function () { return chunkNZWFCUDA_cjs.contentVersions; }
10582
+ get: function () { return chunkWAEQXGCX_cjs.contentVersions; }
10559
10583
  });
10560
10584
  Object.defineProperty(exports, "getLogger", {
10561
10585
  enumerable: true,
10562
- get: function () { return chunkNZWFCUDA_cjs.getLogger; }
10586
+ get: function () { return chunkWAEQXGCX_cjs.getLogger; }
10563
10587
  });
10564
10588
  Object.defineProperty(exports, "initLogger", {
10565
10589
  enumerable: true,
10566
- get: function () { return chunkNZWFCUDA_cjs.initLogger; }
10590
+ get: function () { return chunkWAEQXGCX_cjs.initLogger; }
10567
10591
  });
10568
10592
  Object.defineProperty(exports, "insertCollectionSchema", {
10569
10593
  enumerable: true,
10570
- get: function () { return chunkNZWFCUDA_cjs.insertCollectionSchema; }
10594
+ get: function () { return chunkWAEQXGCX_cjs.insertCollectionSchema; }
10571
10595
  });
10572
10596
  Object.defineProperty(exports, "insertContentSchema", {
10573
10597
  enumerable: true,
10574
- get: function () { return chunkNZWFCUDA_cjs.insertContentSchema; }
10598
+ get: function () { return chunkWAEQXGCX_cjs.insertContentSchema; }
10575
10599
  });
10576
10600
  Object.defineProperty(exports, "insertLogConfigSchema", {
10577
10601
  enumerable: true,
10578
- get: function () { return chunkNZWFCUDA_cjs.insertLogConfigSchema; }
10602
+ get: function () { return chunkWAEQXGCX_cjs.insertLogConfigSchema; }
10579
10603
  });
10580
10604
  Object.defineProperty(exports, "insertMediaSchema", {
10581
10605
  enumerable: true,
10582
- get: function () { return chunkNZWFCUDA_cjs.insertMediaSchema; }
10606
+ get: function () { return chunkWAEQXGCX_cjs.insertMediaSchema; }
10583
10607
  });
10584
10608
  Object.defineProperty(exports, "insertPluginActivityLogSchema", {
10585
10609
  enumerable: true,
10586
- get: function () { return chunkNZWFCUDA_cjs.insertPluginActivityLogSchema; }
10610
+ get: function () { return chunkWAEQXGCX_cjs.insertPluginActivityLogSchema; }
10587
10611
  });
10588
10612
  Object.defineProperty(exports, "insertPluginAssetSchema", {
10589
10613
  enumerable: true,
10590
- get: function () { return chunkNZWFCUDA_cjs.insertPluginAssetSchema; }
10614
+ get: function () { return chunkWAEQXGCX_cjs.insertPluginAssetSchema; }
10591
10615
  });
10592
10616
  Object.defineProperty(exports, "insertPluginHookSchema", {
10593
10617
  enumerable: true,
10594
- get: function () { return chunkNZWFCUDA_cjs.insertPluginHookSchema; }
10618
+ get: function () { return chunkWAEQXGCX_cjs.insertPluginHookSchema; }
10595
10619
  });
10596
10620
  Object.defineProperty(exports, "insertPluginRouteSchema", {
10597
10621
  enumerable: true,
10598
- get: function () { return chunkNZWFCUDA_cjs.insertPluginRouteSchema; }
10622
+ get: function () { return chunkWAEQXGCX_cjs.insertPluginRouteSchema; }
10599
10623
  });
10600
10624
  Object.defineProperty(exports, "insertPluginSchema", {
10601
10625
  enumerable: true,
10602
- get: function () { return chunkNZWFCUDA_cjs.insertPluginSchema; }
10626
+ get: function () { return chunkWAEQXGCX_cjs.insertPluginSchema; }
10603
10627
  });
10604
10628
  Object.defineProperty(exports, "insertSystemLogSchema", {
10605
10629
  enumerable: true,
10606
- get: function () { return chunkNZWFCUDA_cjs.insertSystemLogSchema; }
10630
+ get: function () { return chunkWAEQXGCX_cjs.insertSystemLogSchema; }
10607
10631
  });
10608
10632
  Object.defineProperty(exports, "insertUserSchema", {
10609
10633
  enumerable: true,
10610
- get: function () { return chunkNZWFCUDA_cjs.insertUserSchema; }
10634
+ get: function () { return chunkWAEQXGCX_cjs.insertUserSchema; }
10611
10635
  });
10612
10636
  Object.defineProperty(exports, "insertWorkflowHistorySchema", {
10613
10637
  enumerable: true,
10614
- get: function () { return chunkNZWFCUDA_cjs.insertWorkflowHistorySchema; }
10638
+ get: function () { return chunkWAEQXGCX_cjs.insertWorkflowHistorySchema; }
10615
10639
  });
10616
10640
  Object.defineProperty(exports, "logConfig", {
10617
10641
  enumerable: true,
10618
- get: function () { return chunkNZWFCUDA_cjs.logConfig; }
10642
+ get: function () { return chunkWAEQXGCX_cjs.logConfig; }
10619
10643
  });
10620
10644
  Object.defineProperty(exports, "media", {
10621
10645
  enumerable: true,
10622
- get: function () { return chunkNZWFCUDA_cjs.media; }
10646
+ get: function () { return chunkWAEQXGCX_cjs.media; }
10623
10647
  });
10624
10648
  Object.defineProperty(exports, "pluginActivityLog", {
10625
10649
  enumerable: true,
10626
- get: function () { return chunkNZWFCUDA_cjs.pluginActivityLog; }
10650
+ get: function () { return chunkWAEQXGCX_cjs.pluginActivityLog; }
10627
10651
  });
10628
10652
  Object.defineProperty(exports, "pluginAssets", {
10629
10653
  enumerable: true,
10630
- get: function () { return chunkNZWFCUDA_cjs.pluginAssets; }
10654
+ get: function () { return chunkWAEQXGCX_cjs.pluginAssets; }
10631
10655
  });
10632
10656
  Object.defineProperty(exports, "pluginHooks", {
10633
10657
  enumerable: true,
10634
- get: function () { return chunkNZWFCUDA_cjs.pluginHooks; }
10658
+ get: function () { return chunkWAEQXGCX_cjs.pluginHooks; }
10635
10659
  });
10636
10660
  Object.defineProperty(exports, "pluginRoutes", {
10637
10661
  enumerable: true,
10638
- get: function () { return chunkNZWFCUDA_cjs.pluginRoutes; }
10662
+ get: function () { return chunkWAEQXGCX_cjs.pluginRoutes; }
10639
10663
  });
10640
10664
  Object.defineProperty(exports, "plugins", {
10641
10665
  enumerable: true,
10642
- get: function () { return chunkNZWFCUDA_cjs.plugins; }
10666
+ get: function () { return chunkWAEQXGCX_cjs.plugins; }
10643
10667
  });
10644
10668
  Object.defineProperty(exports, "selectCollectionSchema", {
10645
10669
  enumerable: true,
10646
- get: function () { return chunkNZWFCUDA_cjs.selectCollectionSchema; }
10670
+ get: function () { return chunkWAEQXGCX_cjs.selectCollectionSchema; }
10647
10671
  });
10648
10672
  Object.defineProperty(exports, "selectContentSchema", {
10649
10673
  enumerable: true,
10650
- get: function () { return chunkNZWFCUDA_cjs.selectContentSchema; }
10674
+ get: function () { return chunkWAEQXGCX_cjs.selectContentSchema; }
10651
10675
  });
10652
10676
  Object.defineProperty(exports, "selectLogConfigSchema", {
10653
10677
  enumerable: true,
10654
- get: function () { return chunkNZWFCUDA_cjs.selectLogConfigSchema; }
10678
+ get: function () { return chunkWAEQXGCX_cjs.selectLogConfigSchema; }
10655
10679
  });
10656
10680
  Object.defineProperty(exports, "selectMediaSchema", {
10657
10681
  enumerable: true,
10658
- get: function () { return chunkNZWFCUDA_cjs.selectMediaSchema; }
10682
+ get: function () { return chunkWAEQXGCX_cjs.selectMediaSchema; }
10659
10683
  });
10660
10684
  Object.defineProperty(exports, "selectPluginActivityLogSchema", {
10661
10685
  enumerable: true,
10662
- get: function () { return chunkNZWFCUDA_cjs.selectPluginActivityLogSchema; }
10686
+ get: function () { return chunkWAEQXGCX_cjs.selectPluginActivityLogSchema; }
10663
10687
  });
10664
10688
  Object.defineProperty(exports, "selectPluginAssetSchema", {
10665
10689
  enumerable: true,
10666
- get: function () { return chunkNZWFCUDA_cjs.selectPluginAssetSchema; }
10690
+ get: function () { return chunkWAEQXGCX_cjs.selectPluginAssetSchema; }
10667
10691
  });
10668
10692
  Object.defineProperty(exports, "selectPluginHookSchema", {
10669
10693
  enumerable: true,
10670
- get: function () { return chunkNZWFCUDA_cjs.selectPluginHookSchema; }
10694
+ get: function () { return chunkWAEQXGCX_cjs.selectPluginHookSchema; }
10671
10695
  });
10672
10696
  Object.defineProperty(exports, "selectPluginRouteSchema", {
10673
10697
  enumerable: true,
10674
- get: function () { return chunkNZWFCUDA_cjs.selectPluginRouteSchema; }
10698
+ get: function () { return chunkWAEQXGCX_cjs.selectPluginRouteSchema; }
10675
10699
  });
10676
10700
  Object.defineProperty(exports, "selectPluginSchema", {
10677
10701
  enumerable: true,
10678
- get: function () { return chunkNZWFCUDA_cjs.selectPluginSchema; }
10702
+ get: function () { return chunkWAEQXGCX_cjs.selectPluginSchema; }
10679
10703
  });
10680
10704
  Object.defineProperty(exports, "selectSystemLogSchema", {
10681
10705
  enumerable: true,
10682
- get: function () { return chunkNZWFCUDA_cjs.selectSystemLogSchema; }
10706
+ get: function () { return chunkWAEQXGCX_cjs.selectSystemLogSchema; }
10683
10707
  });
10684
10708
  Object.defineProperty(exports, "selectUserSchema", {
10685
10709
  enumerable: true,
10686
- get: function () { return chunkNZWFCUDA_cjs.selectUserSchema; }
10710
+ get: function () { return chunkWAEQXGCX_cjs.selectUserSchema; }
10687
10711
  });
10688
10712
  Object.defineProperty(exports, "selectWorkflowHistorySchema", {
10689
10713
  enumerable: true,
10690
- get: function () { return chunkNZWFCUDA_cjs.selectWorkflowHistorySchema; }
10714
+ get: function () { return chunkWAEQXGCX_cjs.selectWorkflowHistorySchema; }
10691
10715
  });
10692
10716
  Object.defineProperty(exports, "systemLogs", {
10693
10717
  enumerable: true,
10694
- get: function () { return chunkNZWFCUDA_cjs.systemLogs; }
10718
+ get: function () { return chunkWAEQXGCX_cjs.systemLogs; }
10695
10719
  });
10696
10720
  Object.defineProperty(exports, "users", {
10697
10721
  enumerable: true,
10698
- get: function () { return chunkNZWFCUDA_cjs.users; }
10722
+ get: function () { return chunkWAEQXGCX_cjs.users; }
10699
10723
  });
10700
10724
  Object.defineProperty(exports, "workflowHistory", {
10701
10725
  enumerable: true,
10702
- get: function () { return chunkNZWFCUDA_cjs.workflowHistory; }
10726
+ get: function () { return chunkWAEQXGCX_cjs.workflowHistory; }
10703
10727
  });
10704
10728
  Object.defineProperty(exports, "AuthManager", {
10705
10729
  enumerable: true,
10706
- get: function () { return chunkCZ6BVQZX_cjs.AuthManager; }
10730
+ get: function () { return chunkRE3NVA23_cjs.AuthManager; }
10707
10731
  });
10708
10732
  Object.defineProperty(exports, "PermissionManager", {
10709
10733
  enumerable: true,
10710
- get: function () { return chunkCZ6BVQZX_cjs.PermissionManager; }
10734
+ get: function () { return chunkRE3NVA23_cjs.PermissionManager; }
10711
10735
  });
10712
10736
  Object.defineProperty(exports, "bootstrapMiddleware", {
10713
10737
  enumerable: true,
10714
- get: function () { return chunkCZ6BVQZX_cjs.bootstrapMiddleware; }
10738
+ get: function () { return chunkRE3NVA23_cjs.bootstrapMiddleware; }
10715
10739
  });
10716
10740
  Object.defineProperty(exports, "cacheHeaders", {
10717
10741
  enumerable: true,
10718
- get: function () { return chunkCZ6BVQZX_cjs.cacheHeaders; }
10742
+ get: function () { return chunkRE3NVA23_cjs.cacheHeaders; }
10719
10743
  });
10720
10744
  Object.defineProperty(exports, "compressionMiddleware", {
10721
10745
  enumerable: true,
10722
- get: function () { return chunkCZ6BVQZX_cjs.compressionMiddleware; }
10746
+ get: function () { return chunkRE3NVA23_cjs.compressionMiddleware; }
10723
10747
  });
10724
10748
  Object.defineProperty(exports, "detailedLoggingMiddleware", {
10725
10749
  enumerable: true,
10726
- get: function () { return chunkCZ6BVQZX_cjs.detailedLoggingMiddleware; }
10750
+ get: function () { return chunkRE3NVA23_cjs.detailedLoggingMiddleware; }
10727
10751
  });
10728
10752
  Object.defineProperty(exports, "getActivePlugins", {
10729
10753
  enumerable: true,
10730
- get: function () { return chunkCZ6BVQZX_cjs.getActivePlugins; }
10754
+ get: function () { return chunkRE3NVA23_cjs.getActivePlugins; }
10731
10755
  });
10732
10756
  Object.defineProperty(exports, "isPluginActive", {
10733
10757
  enumerable: true,
10734
- get: function () { return chunkCZ6BVQZX_cjs.isPluginActive; }
10758
+ get: function () { return chunkRE3NVA23_cjs.isPluginActive; }
10735
10759
  });
10736
10760
  Object.defineProperty(exports, "logActivity", {
10737
10761
  enumerable: true,
10738
- get: function () { return chunkCZ6BVQZX_cjs.logActivity; }
10762
+ get: function () { return chunkRE3NVA23_cjs.logActivity; }
10739
10763
  });
10740
10764
  Object.defineProperty(exports, "loggingMiddleware", {
10741
10765
  enumerable: true,
10742
- get: function () { return chunkCZ6BVQZX_cjs.loggingMiddleware; }
10766
+ get: function () { return chunkRE3NVA23_cjs.loggingMiddleware; }
10743
10767
  });
10744
10768
  Object.defineProperty(exports, "optionalAuth", {
10745
10769
  enumerable: true,
10746
- get: function () { return chunkCZ6BVQZX_cjs.optionalAuth; }
10770
+ get: function () { return chunkRE3NVA23_cjs.optionalAuth; }
10747
10771
  });
10748
10772
  Object.defineProperty(exports, "performanceLoggingMiddleware", {
10749
10773
  enumerable: true,
10750
- get: function () { return chunkCZ6BVQZX_cjs.performanceLoggingMiddleware; }
10774
+ get: function () { return chunkRE3NVA23_cjs.performanceLoggingMiddleware; }
10751
10775
  });
10752
10776
  Object.defineProperty(exports, "requireActivePlugin", {
10753
10777
  enumerable: true,
10754
- get: function () { return chunkCZ6BVQZX_cjs.requireActivePlugin; }
10778
+ get: function () { return chunkRE3NVA23_cjs.requireActivePlugin; }
10755
10779
  });
10756
10780
  Object.defineProperty(exports, "requireActivePlugins", {
10757
10781
  enumerable: true,
10758
- get: function () { return chunkCZ6BVQZX_cjs.requireActivePlugins; }
10782
+ get: function () { return chunkRE3NVA23_cjs.requireActivePlugins; }
10759
10783
  });
10760
10784
  Object.defineProperty(exports, "requireAnyPermission", {
10761
10785
  enumerable: true,
10762
- get: function () { return chunkCZ6BVQZX_cjs.requireAnyPermission; }
10786
+ get: function () { return chunkRE3NVA23_cjs.requireAnyPermission; }
10763
10787
  });
10764
10788
  Object.defineProperty(exports, "requireAuth", {
10765
10789
  enumerable: true,
10766
- get: function () { return chunkCZ6BVQZX_cjs.requireAuth; }
10790
+ get: function () { return chunkRE3NVA23_cjs.requireAuth; }
10767
10791
  });
10768
10792
  Object.defineProperty(exports, "requirePermission", {
10769
10793
  enumerable: true,
10770
- get: function () { return chunkCZ6BVQZX_cjs.requirePermission; }
10794
+ get: function () { return chunkRE3NVA23_cjs.requirePermission; }
10771
10795
  });
10772
10796
  Object.defineProperty(exports, "requireRole", {
10773
10797
  enumerable: true,
10774
- get: function () { return chunkCZ6BVQZX_cjs.requireRole; }
10798
+ get: function () { return chunkRE3NVA23_cjs.requireRole; }
10775
10799
  });
10776
10800
  Object.defineProperty(exports, "securityHeaders", {
10777
10801
  enumerable: true,
10778
- get: function () { return chunkCZ6BVQZX_cjs.securityHeadersMiddleware; }
10802
+ get: function () { return chunkRE3NVA23_cjs.securityHeadersMiddleware; }
10779
10803
  });
10780
10804
  Object.defineProperty(exports, "securityLoggingMiddleware", {
10781
10805
  enumerable: true,
10782
- get: function () { return chunkCZ6BVQZX_cjs.securityLoggingMiddleware; }
10806
+ get: function () { return chunkRE3NVA23_cjs.securityLoggingMiddleware; }
10783
10807
  });
10784
10808
  Object.defineProperty(exports, "PluginBootstrapService", {
10785
10809
  enumerable: true,
10786
- get: function () { return chunkQ5VFZUXV_cjs.PluginBootstrapService; }
10810
+ get: function () { return chunk4HCUJ3MG_cjs.PluginBootstrapService; }
10787
10811
  });
10788
10812
  Object.defineProperty(exports, "PluginServiceClass", {
10789
10813
  enumerable: true,
10790
- get: function () { return chunkQ5VFZUXV_cjs.PluginService; }
10814
+ get: function () { return chunk4HCUJ3MG_cjs.PluginService; }
10791
10815
  });
10792
10816
  Object.defineProperty(exports, "backfillFormSubmissions", {
10793
10817
  enumerable: true,
10794
- get: function () { return chunkQ5VFZUXV_cjs.backfillFormSubmissions; }
10818
+ get: function () { return chunk4HCUJ3MG_cjs.backfillFormSubmissions; }
10795
10819
  });
10796
10820
  Object.defineProperty(exports, "cleanupRemovedCollections", {
10797
10821
  enumerable: true,
10798
- get: function () { return chunkQ5VFZUXV_cjs.cleanupRemovedCollections; }
10822
+ get: function () { return chunk4HCUJ3MG_cjs.cleanupRemovedCollections; }
10799
10823
  });
10800
10824
  Object.defineProperty(exports, "createContentFromSubmission", {
10801
10825
  enumerable: true,
10802
- get: function () { return chunkQ5VFZUXV_cjs.createContentFromSubmission; }
10826
+ get: function () { return chunk4HCUJ3MG_cjs.createContentFromSubmission; }
10803
10827
  });
10804
10828
  Object.defineProperty(exports, "deriveCollectionSchemaFromFormio", {
10805
10829
  enumerable: true,
10806
- get: function () { return chunkQ5VFZUXV_cjs.deriveCollectionSchemaFromFormio; }
10830
+ get: function () { return chunk4HCUJ3MG_cjs.deriveCollectionSchemaFromFormio; }
10807
10831
  });
10808
10832
  Object.defineProperty(exports, "deriveSubmissionTitle", {
10809
10833
  enumerable: true,
10810
- get: function () { return chunkQ5VFZUXV_cjs.deriveSubmissionTitle; }
10834
+ get: function () { return chunk4HCUJ3MG_cjs.deriveSubmissionTitle; }
10811
10835
  });
10812
10836
  Object.defineProperty(exports, "fullCollectionSync", {
10813
10837
  enumerable: true,
10814
- get: function () { return chunkQ5VFZUXV_cjs.fullCollectionSync; }
10838
+ get: function () { return chunk4HCUJ3MG_cjs.fullCollectionSync; }
10815
10839
  });
10816
10840
  Object.defineProperty(exports, "getAvailableCollectionNames", {
10817
10841
  enumerable: true,
10818
- get: function () { return chunkQ5VFZUXV_cjs.getAvailableCollectionNames; }
10842
+ get: function () { return chunk4HCUJ3MG_cjs.getAvailableCollectionNames; }
10819
10843
  });
10820
10844
  Object.defineProperty(exports, "getManagedCollections", {
10821
10845
  enumerable: true,
10822
- get: function () { return chunkQ5VFZUXV_cjs.getManagedCollections; }
10846
+ get: function () { return chunk4HCUJ3MG_cjs.getManagedCollections; }
10823
10847
  });
10824
10848
  Object.defineProperty(exports, "isCollectionManaged", {
10825
10849
  enumerable: true,
10826
- get: function () { return chunkQ5VFZUXV_cjs.isCollectionManaged; }
10850
+ get: function () { return chunk4HCUJ3MG_cjs.isCollectionManaged; }
10827
10851
  });
10828
10852
  Object.defineProperty(exports, "loadCollectionConfig", {
10829
10853
  enumerable: true,
10830
- get: function () { return chunkQ5VFZUXV_cjs.loadCollectionConfig; }
10854
+ get: function () { return chunk4HCUJ3MG_cjs.loadCollectionConfig; }
10831
10855
  });
10832
10856
  Object.defineProperty(exports, "loadCollectionConfigs", {
10833
10857
  enumerable: true,
10834
- get: function () { return chunkQ5VFZUXV_cjs.loadCollectionConfigs; }
10858
+ get: function () { return chunk4HCUJ3MG_cjs.loadCollectionConfigs; }
10835
10859
  });
10836
10860
  Object.defineProperty(exports, "mapFormStatusToContentStatus", {
10837
10861
  enumerable: true,
10838
- get: function () { return chunkQ5VFZUXV_cjs.mapFormStatusToContentStatus; }
10862
+ get: function () { return chunk4HCUJ3MG_cjs.mapFormStatusToContentStatus; }
10839
10863
  });
10840
10864
  Object.defineProperty(exports, "registerCollections", {
10841
10865
  enumerable: true,
10842
- get: function () { return chunkQ5VFZUXV_cjs.registerCollections; }
10866
+ get: function () { return chunk4HCUJ3MG_cjs.registerCollections; }
10843
10867
  });
10844
10868
  Object.defineProperty(exports, "syncAllFormCollections", {
10845
10869
  enumerable: true,
10846
- get: function () { return chunkQ5VFZUXV_cjs.syncAllFormCollections; }
10870
+ get: function () { return chunk4HCUJ3MG_cjs.syncAllFormCollections; }
10847
10871
  });
10848
10872
  Object.defineProperty(exports, "syncCollection", {
10849
10873
  enumerable: true,
10850
- get: function () { return chunkQ5VFZUXV_cjs.syncCollection; }
10874
+ get: function () { return chunk4HCUJ3MG_cjs.syncCollection; }
10851
10875
  });
10852
10876
  Object.defineProperty(exports, "syncCollections", {
10853
10877
  enumerable: true,
10854
- get: function () { return chunkQ5VFZUXV_cjs.syncCollections; }
10878
+ get: function () { return chunk4HCUJ3MG_cjs.syncCollections; }
10855
10879
  });
10856
10880
  Object.defineProperty(exports, "syncFormCollection", {
10857
10881
  enumerable: true,
10858
- get: function () { return chunkQ5VFZUXV_cjs.syncFormCollection; }
10882
+ get: function () { return chunk4HCUJ3MG_cjs.syncFormCollection; }
10859
10883
  });
10860
10884
  Object.defineProperty(exports, "validateCollectionConfig", {
10861
10885
  enumerable: true,
10862
- get: function () { return chunkQ5VFZUXV_cjs.validateCollectionConfig; }
10886
+ get: function () { return chunk4HCUJ3MG_cjs.validateCollectionConfig; }
10863
10887
  });
10864
10888
  Object.defineProperty(exports, "MigrationService", {
10865
10889
  enumerable: true,
10866
- get: function () { return chunkOCLUXJ7E_cjs.MigrationService; }
10890
+ get: function () { return chunkFSWP4FBW_cjs.MigrationService; }
10867
10891
  });
10868
10892
  Object.defineProperty(exports, "renderFilterBar", {
10869
10893
  enumerable: true,
@@ -10931,31 +10955,31 @@ Object.defineProperty(exports, "PluginHelpers", {
10931
10955
  });
10932
10956
  Object.defineProperty(exports, "QueryFilterBuilder", {
10933
10957
  enumerable: true,
10934
- get: function () { return chunkYQW2GCJ3_cjs.QueryFilterBuilder; }
10958
+ get: function () { return chunkQBLBIAVZ_cjs.QueryFilterBuilder; }
10935
10959
  });
10936
10960
  Object.defineProperty(exports, "SONICJS_VERSION", {
10937
10961
  enumerable: true,
10938
- get: function () { return chunkYQW2GCJ3_cjs.SONICJS_VERSION; }
10962
+ get: function () { return chunkQBLBIAVZ_cjs.SONICJS_VERSION; }
10939
10963
  });
10940
10964
  Object.defineProperty(exports, "TemplateRenderer", {
10941
10965
  enumerable: true,
10942
- get: function () { return chunkYQW2GCJ3_cjs.TemplateRenderer; }
10966
+ get: function () { return chunkQBLBIAVZ_cjs.TemplateRenderer; }
10943
10967
  });
10944
10968
  Object.defineProperty(exports, "buildQuery", {
10945
10969
  enumerable: true,
10946
- get: function () { return chunkYQW2GCJ3_cjs.buildQuery; }
10970
+ get: function () { return chunkQBLBIAVZ_cjs.buildQuery; }
10947
10971
  });
10948
10972
  Object.defineProperty(exports, "getCoreVersion", {
10949
10973
  enumerable: true,
10950
- get: function () { return chunkYQW2GCJ3_cjs.getCoreVersion; }
10974
+ get: function () { return chunkQBLBIAVZ_cjs.getCoreVersion; }
10951
10975
  });
10952
10976
  Object.defineProperty(exports, "renderTemplate", {
10953
10977
  enumerable: true,
10954
- get: function () { return chunkYQW2GCJ3_cjs.renderTemplate; }
10978
+ get: function () { return chunkQBLBIAVZ_cjs.renderTemplate; }
10955
10979
  });
10956
10980
  Object.defineProperty(exports, "templateRenderer", {
10957
10981
  enumerable: true,
10958
- get: function () { return chunkYQW2GCJ3_cjs.templateRenderer; }
10982
+ get: function () { return chunkQBLBIAVZ_cjs.templateRenderer; }
10959
10983
  });
10960
10984
  Object.defineProperty(exports, "metricsTracker", {
10961
10985
  enumerable: true,