@semiont/frontend 0.2.36 → 0.2.39

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 (180) hide show
  1. package/package.json +1 -1
  2. package/standalone/apps/frontend/.next/BUILD_ID +1 -1
  3. package/standalone/apps/frontend/.next/app-build-manifest.json +122 -122
  4. package/standalone/apps/frontend/.next/app-path-routes-manifest.json +8 -8
  5. package/standalone/apps/frontend/.next/build-manifest.json +6 -6
  6. package/standalone/apps/frontend/.next/prerender-manifest.json +3 -3
  7. package/standalone/apps/frontend/.next/required-server-files.json +4 -4
  8. package/standalone/apps/frontend/.next/server/app/[locale]/about/page.js +35 -35
  9. package/standalone/apps/frontend/.next/server/app/[locale]/about/page.js.nft.json +1 -1
  10. package/standalone/apps/frontend/.next/server/app/[locale]/about/page_client-reference-manifest.js +1 -1
  11. package/standalone/apps/frontend/.next/server/app/[locale]/admin/devops/page.js +49 -49
  12. package/standalone/apps/frontend/.next/server/app/[locale]/admin/devops/page.js.nft.json +1 -1
  13. package/standalone/apps/frontend/.next/server/app/[locale]/admin/devops/page_client-reference-manifest.js +1 -1
  14. package/standalone/apps/frontend/.next/server/app/[locale]/admin/page.js +69 -69
  15. package/standalone/apps/frontend/.next/server/app/[locale]/admin/page.js.nft.json +1 -1
  16. package/standalone/apps/frontend/.next/server/app/[locale]/admin/page_client-reference-manifest.js +1 -1
  17. package/standalone/apps/frontend/.next/server/app/[locale]/admin/security/page.js +158 -158
  18. package/standalone/apps/frontend/.next/server/app/[locale]/admin/security/page.js.nft.json +1 -1
  19. package/standalone/apps/frontend/.next/server/app/[locale]/admin/security/page_client-reference-manifest.js +1 -1
  20. package/standalone/apps/frontend/.next/server/app/[locale]/admin/users/page.js +121 -121
  21. package/standalone/apps/frontend/.next/server/app/[locale]/admin/users/page.js.nft.json +1 -1
  22. package/standalone/apps/frontend/.next/server/app/[locale]/admin/users/page_client-reference-manifest.js +1 -1
  23. package/standalone/apps/frontend/.next/server/app/[locale]/auth/error/page.js +440 -440
  24. package/standalone/apps/frontend/.next/server/app/[locale]/auth/error/page.js.nft.json +1 -1
  25. package/standalone/apps/frontend/.next/server/app/[locale]/auth/error/page_client-reference-manifest.js +1 -1
  26. package/standalone/apps/frontend/.next/server/app/[locale]/auth/mcp-setup/route.js +62 -62
  27. package/standalone/apps/frontend/.next/server/app/[locale]/auth/mcp-setup/route.js.nft.json +1 -1
  28. package/standalone/apps/frontend/.next/server/app/[locale]/auth/mcp-setup/route_client-reference-manifest.js +1 -1
  29. package/standalone/apps/frontend/.next/server/app/[locale]/auth/signin/page.js +25 -25
  30. package/standalone/apps/frontend/.next/server/app/[locale]/auth/signin/page.js.nft.json +1 -1
  31. package/standalone/apps/frontend/.next/server/app/[locale]/auth/signin/page_client-reference-manifest.js +1 -1
  32. package/standalone/apps/frontend/.next/server/app/[locale]/auth/signup/page.js +270 -270
  33. package/standalone/apps/frontend/.next/server/app/[locale]/auth/signup/page.js.nft.json +1 -1
  34. package/standalone/apps/frontend/.next/server/app/[locale]/auth/signup/page_client-reference-manifest.js +1 -1
  35. package/standalone/apps/frontend/.next/server/app/[locale]/auth/welcome/page.js +250 -250
  36. package/standalone/apps/frontend/.next/server/app/[locale]/auth/welcome/page.js.nft.json +1 -1
  37. package/standalone/apps/frontend/.next/server/app/[locale]/auth/welcome/page_client-reference-manifest.js +1 -1
  38. package/standalone/apps/frontend/.next/server/app/[locale]/know/compose/page.js +46 -46
  39. package/standalone/apps/frontend/.next/server/app/[locale]/know/compose/page.js.nft.json +1 -1
  40. package/standalone/apps/frontend/.next/server/app/[locale]/know/compose/page_client-reference-manifest.js +1 -1
  41. package/standalone/apps/frontend/.next/server/app/[locale]/know/discover/page.js +18 -18
  42. package/standalone/apps/frontend/.next/server/app/[locale]/know/discover/page.js.nft.json +1 -1
  43. package/standalone/apps/frontend/.next/server/app/[locale]/know/discover/page_client-reference-manifest.js +1 -1
  44. package/standalone/apps/frontend/.next/server/app/[locale]/know/page.js +135 -135
  45. package/standalone/apps/frontend/.next/server/app/[locale]/know/page.js.nft.json +1 -1
  46. package/standalone/apps/frontend/.next/server/app/[locale]/know/page_client-reference-manifest.js +1 -1
  47. package/standalone/apps/frontend/.next/server/app/[locale]/know/resource/[id]/page.js +1454 -1454
  48. package/standalone/apps/frontend/.next/server/app/[locale]/know/resource/[id]/page.js.nft.json +1 -1
  49. package/standalone/apps/frontend/.next/server/app/[locale]/know/resource/[id]/page_client-reference-manifest.js +1 -1
  50. package/standalone/apps/frontend/.next/server/app/[locale]/moderate/entity-tags/page.js +1440 -1440
  51. package/standalone/apps/frontend/.next/server/app/[locale]/moderate/entity-tags/page.js.nft.json +1 -1
  52. package/standalone/apps/frontend/.next/server/app/[locale]/moderate/entity-tags/page_client-reference-manifest.js +1 -1
  53. package/standalone/apps/frontend/.next/server/app/[locale]/moderate/page.js +632 -632
  54. package/standalone/apps/frontend/.next/server/app/[locale]/moderate/page.js.nft.json +1 -1
  55. package/standalone/apps/frontend/.next/server/app/[locale]/moderate/page_client-reference-manifest.js +1 -1
  56. package/standalone/apps/frontend/.next/server/app/[locale]/moderate/recent/page.js +79 -79
  57. package/standalone/apps/frontend/.next/server/app/[locale]/moderate/recent/page.js.nft.json +1 -1
  58. package/standalone/apps/frontend/.next/server/app/[locale]/moderate/recent/page_client-reference-manifest.js +1 -1
  59. package/standalone/apps/frontend/.next/server/app/[locale]/moderate/tag-schemas/page.js +1613 -1613
  60. package/standalone/apps/frontend/.next/server/app/[locale]/moderate/tag-schemas/page.js.nft.json +1 -1
  61. package/standalone/apps/frontend/.next/server/app/[locale]/moderate/tag-schemas/page_client-reference-manifest.js +1 -1
  62. package/standalone/apps/frontend/.next/server/app/[locale]/page.js +262 -262
  63. package/standalone/apps/frontend/.next/server/app/[locale]/page.js.nft.json +1 -1
  64. package/standalone/apps/frontend/.next/server/app/[locale]/page_client-reference-manifest.js +1 -1
  65. package/standalone/apps/frontend/.next/server/app/[locale]/privacy/page.js +125 -125
  66. package/standalone/apps/frontend/.next/server/app/[locale]/privacy/page.js.nft.json +1 -1
  67. package/standalone/apps/frontend/.next/server/app/[locale]/privacy/page_client-reference-manifest.js +1 -1
  68. package/standalone/apps/frontend/.next/server/app/[locale]/terms/page.js +604 -604
  69. package/standalone/apps/frontend/.next/server/app/[locale]/terms/page.js.nft.json +1 -1
  70. package/standalone/apps/frontend/.next/server/app/[locale]/terms/page_client-reference-manifest.js +1 -1
  71. package/standalone/apps/frontend/.next/server/app/_not-found/page.js +358 -358
  72. package/standalone/apps/frontend/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
  73. package/standalone/apps/frontend/.next/server/app/_not-found.html +1 -1
  74. package/standalone/apps/frontend/.next/server/app/_not-found.rsc +3 -3
  75. package/standalone/apps/frontend/.next/server/app/api/auth/[...nextauth]/route.js +113 -113
  76. package/standalone/apps/frontend/.next/server/app/api/auth/[...nextauth]/route.js.nft.json +1 -1
  77. package/standalone/apps/frontend/.next/server/app/api/auth/[...nextauth]/route_client-reference-manifest.js +1 -1
  78. package/standalone/apps/frontend/.next/server/app/api/cookies/consent/route.js +64 -64
  79. package/standalone/apps/frontend/.next/server/app/api/cookies/consent/route.js.nft.json +1 -1
  80. package/standalone/apps/frontend/.next/server/app/api/cookies/consent/route_client-reference-manifest.js +1 -1
  81. package/standalone/apps/frontend/.next/server/app/api/cookies/export/route.js +42 -42
  82. package/standalone/apps/frontend/.next/server/app/api/cookies/export/route.js.nft.json +1 -1
  83. package/standalone/apps/frontend/.next/server/app/api/cookies/export/route_client-reference-manifest.js +1 -1
  84. package/standalone/apps/frontend/.next/server/app/api/resources/[id]/route.js +111 -111
  85. package/standalone/apps/frontend/.next/server/app/api/resources/[id]/route.js.nft.json +1 -1
  86. package/standalone/apps/frontend/.next/server/app/api/resources/[id]/route_client-reference-manifest.js +1 -1
  87. package/standalone/apps/frontend/.next/server/app-paths-manifest.json +8 -8
  88. package/standalone/apps/frontend/.next/server/chunks/1037.js +4 -4
  89. package/standalone/apps/frontend/.next/server/chunks/1854.js +55 -55
  90. package/standalone/apps/frontend/.next/server/chunks/1940.js +388 -388
  91. package/standalone/apps/frontend/.next/server/chunks/{5137.js → 5015.js} +20 -20
  92. package/standalone/apps/frontend/.next/server/chunks/{4331.js → 5919.js} +12 -12
  93. package/standalone/apps/frontend/.next/server/chunks/7912.js +195 -195
  94. package/standalone/apps/frontend/.next/server/chunks/{255.js → 8387.js} +127 -127
  95. package/standalone/apps/frontend/.next/server/middleware-build-manifest.js +1 -1
  96. package/standalone/apps/frontend/.next/server/middleware-manifest.json +5 -5
  97. package/standalone/apps/frontend/.next/server/next-font-manifest.js +1 -1
  98. package/standalone/apps/frontend/.next/server/next-font-manifest.json +1 -1
  99. package/standalone/apps/frontend/.next/server/pages/404.html +1 -1
  100. package/standalone/apps/frontend/.next/server/pages/500.html +1 -1
  101. package/standalone/apps/frontend/.next/server/server-reference-manifest.json +1 -1
  102. package/standalone/apps/frontend/.next/server/src/middleware.js +10636 -10636
  103. package/standalone/apps/frontend/.next/static/chunks/app/[locale]/about/page-28023b5ae5e22ad9.js +1 -0
  104. package/standalone/apps/frontend/.next/static/chunks/app/[locale]/admin/devops/{page-a9093490466b2b37.js → page-da9614b9f1606d7b.js} +1 -1
  105. package/standalone/apps/frontend/.next/static/chunks/app/[locale]/admin/{layout-5af3f431ec0b3338.js → layout-62ef934e6bcc18b1.js} +1 -1
  106. package/standalone/apps/frontend/.next/static/chunks/app/[locale]/admin/page-fc5e1da86912c64f.js +1 -0
  107. package/standalone/apps/frontend/.next/static/chunks/app/[locale]/admin/security/page-8031d11e8dccef6c.js +1 -0
  108. package/standalone/apps/frontend/.next/static/chunks/app/[locale]/admin/users/{page-1952f839f1e5aec3.js → page-a978206777229291.js} +1 -1
  109. package/standalone/apps/frontend/.next/static/chunks/app/[locale]/auth/error/{page-c72ec26a8cc98e35.js → page-4e5ee1553c6d8ebe.js} +1 -1
  110. package/standalone/apps/frontend/.next/static/chunks/app/[locale]/auth/mcp-setup/route-e1d196e7f8d38edd.js +1 -0
  111. package/standalone/apps/frontend/.next/static/chunks/app/[locale]/auth/signin/{page-180f998c19826597.js → page-c878d25b0ae5069c.js} +1 -1
  112. package/standalone/apps/frontend/.next/static/chunks/app/[locale]/auth/signup/{page-f1ccc995126a89a8.js → page-1292f2664ce93b63.js} +1 -1
  113. package/standalone/apps/frontend/.next/static/chunks/app/[locale]/auth/welcome/{page-f57e39b176753cc4.js → page-7e79cf1f705618db.js} +1 -1
  114. package/standalone/apps/frontend/.next/static/chunks/app/[locale]/know/compose/{page-9b4223dae15c8d0c.js → page-7c16ece328eb4a91.js} +1 -1
  115. package/standalone/apps/frontend/.next/static/chunks/app/[locale]/know/discover/{page-926f8f5f5569695e.js → page-f9d0032f45241437.js} +1 -1
  116. package/standalone/apps/frontend/.next/static/chunks/app/[locale]/know/{layout-5ab3b200e60ffd91.js → layout-83fe577a1460d915.js} +1 -1
  117. package/standalone/apps/frontend/.next/static/chunks/app/[locale]/know/{page-55d3c0928a59e55f.js → page-5349aaee3976e1bb.js} +1 -1
  118. package/standalone/apps/frontend/.next/static/chunks/app/[locale]/know/resource/[id]/page-4cb67f9bf8be8f1a.js +1 -0
  119. package/standalone/apps/frontend/.next/static/chunks/app/[locale]/{layout-a298c8dc1488a191.js → layout-2f6c82f89ff0fb38.js} +1 -1
  120. package/standalone/apps/frontend/.next/static/chunks/app/[locale]/moderate/entity-tags/page-f76e2312764ebe0c.js +1 -0
  121. package/standalone/apps/frontend/.next/static/chunks/app/[locale]/moderate/{layout-fceb080211969ed7.js → layout-63abc0b7153c03d3.js} +1 -1
  122. package/standalone/apps/frontend/.next/static/chunks/app/[locale]/moderate/{page-3d971aeb0ca1324a.js → page-7bc1b2215ffcdde0.js} +1 -1
  123. package/standalone/apps/frontend/.next/static/chunks/app/[locale]/moderate/recent/{page-3a7a7a375c4338f5.js → page-a00695b21e364495.js} +1 -1
  124. package/standalone/apps/frontend/.next/static/chunks/app/[locale]/moderate/tag-schemas/{page-47f0c2c1cfb3e969.js → page-874ddff1c67dd96a.js} +1 -1
  125. package/standalone/apps/frontend/.next/static/chunks/app/[locale]/{not-found-cd4d3962209aaa67.js → not-found-9338290efe925a85.js} +1 -1
  126. package/standalone/apps/frontend/.next/static/chunks/app/[locale]/{page-e6857bdeef2ade5e.js → page-46fad01f54cffcaf.js} +1 -1
  127. package/standalone/apps/frontend/.next/static/chunks/app/[locale]/privacy/{page-2018e48e55ecea79.js → page-7034c8af05b702cd.js} +1 -1
  128. package/standalone/apps/frontend/.next/static/chunks/app/[locale]/terms/{page-87dc1af32b067913.js → page-fbfecd018ce6acdd.js} +1 -1
  129. package/standalone/apps/frontend/.next/static/chunks/app/api/auth/[...nextauth]/route-24502971e8577474.js +1 -0
  130. package/standalone/apps/frontend/.next/static/chunks/app/api/cookies/consent/route-680f8e085df19751.js +1 -0
  131. package/standalone/apps/frontend/.next/static/chunks/app/api/cookies/export/route-5c5bd56c39187fd1.js +1 -0
  132. package/standalone/apps/frontend/.next/static/chunks/app/api/resources/[id]/{route-41d8347af9354a15.js → route-e5f4f3f1353c7a86.js} +1 -1
  133. package/standalone/apps/frontend/.next/static/chunks/app/{error-092a0e51a706052b.js → error-4ec2f52abc66bc6c.js} +1 -1
  134. package/standalone/apps/frontend/.next/static/chunks/app/global-error-c894441824fc03d1.js +1 -0
  135. package/standalone/apps/frontend/.next/static/chunks/{common-cafbbd01b1c3775d.js → common-d8e3aad4ef182cd5.js} +1 -1
  136. package/standalone/apps/frontend/.next/static/chunks/main-app-4616290e0bdaf4ae.js +1 -0
  137. package/standalone/apps/frontend/package.json +3 -3
  138. package/standalone/apps/frontend/server.js +1 -1
  139. package/standalone/node_modules/@img/{sharp-libvips-darwin-arm64/lib/libvips-cpp.8.17.3.dylib → sharp-libvips-linux-x64/lib/libvips-cpp.so.8.17.3} +0 -0
  140. package/standalone/node_modules/@img/{sharp-libvips-darwin-arm64 → sharp-libvips-linux-x64}/package.json +11 -5
  141. package/standalone/node_modules/@img/sharp-libvips-linuxmusl-x64/lib/index.js +1 -0
  142. package/standalone/node_modules/@img/sharp-libvips-linuxmusl-x64/lib/libvips-cpp.so.8.17.3 +0 -0
  143. package/standalone/node_modules/@img/sharp-libvips-linuxmusl-x64/package.json +42 -0
  144. package/standalone/node_modules/@img/sharp-libvips-linuxmusl-x64/versions.json +30 -0
  145. package/standalone/node_modules/@img/sharp-linux-x64/lib/sharp-linux-x64.node +0 -0
  146. package/standalone/node_modules/@img/{sharp-darwin-arm64 → sharp-linux-x64}/package.json +13 -7
  147. package/standalone/node_modules/@img/sharp-linuxmusl-x64/LICENSE +191 -0
  148. package/standalone/node_modules/@img/sharp-linuxmusl-x64/lib/sharp-linuxmusl-x64.node +0 -0
  149. package/standalone/node_modules/@img/sharp-linuxmusl-x64/package.json +46 -0
  150. package/standalone/package.json +4 -2
  151. package/standalone/packages/core/package.json +1 -1
  152. package/standalone/apps/frontend/.next/static/chunks/app/[locale]/about/page-d8aed1a2b6034adb.js +0 -1
  153. package/standalone/apps/frontend/.next/static/chunks/app/[locale]/admin/page-b8a11ecf0fc92f87.js +0 -1
  154. package/standalone/apps/frontend/.next/static/chunks/app/[locale]/admin/security/page-d36785d6e4d45d3a.js +0 -1
  155. package/standalone/apps/frontend/.next/static/chunks/app/[locale]/auth/mcp-setup/route-d3c1c9e26edf790a.js +0 -1
  156. package/standalone/apps/frontend/.next/static/chunks/app/[locale]/know/resource/[id]/page-0de67bf833ae4a3f.js +0 -1
  157. package/standalone/apps/frontend/.next/static/chunks/app/[locale]/moderate/entity-tags/page-a245859e2ddd4e05.js +0 -1
  158. package/standalone/apps/frontend/.next/static/chunks/app/api/auth/[...nextauth]/route-7469fd42a9044d71.js +0 -1
  159. package/standalone/apps/frontend/.next/static/chunks/app/api/cookies/consent/route-b6458d3daaa96918.js +0 -1
  160. package/standalone/apps/frontend/.next/static/chunks/app/api/cookies/export/route-78e35b60a682d097.js +0 -1
  161. package/standalone/apps/frontend/.next/static/chunks/app/global-error-6d117072fb9faa75.js +0 -1
  162. package/standalone/apps/frontend/.next/static/chunks/main-app-49c62e2894aa25dd.js +0 -1
  163. package/standalone/apps/frontend/public/android-chrome-192x192.png +0 -0
  164. package/standalone/apps/frontend/public/android-chrome-512x512.png +0 -0
  165. package/standalone/apps/frontend/public/apple-touch-icon.png +0 -0
  166. package/standalone/apps/frontend/public/favicon-128x128.png +0 -0
  167. package/standalone/apps/frontend/public/favicon-16x16.png +0 -0
  168. package/standalone/apps/frontend/public/favicon-32x32.png +0 -0
  169. package/standalone/apps/frontend/public/favicon-48x48.png +0 -0
  170. package/standalone/apps/frontend/public/favicon-64x64.png +0 -0
  171. package/standalone/apps/frontend/public/favicon-96x96.png +0 -0
  172. package/standalone/apps/frontend/public/favicon.ico +0 -0
  173. package/standalone/apps/frontend/public/favicon.svg +0 -47
  174. package/standalone/apps/frontend/public/site.webmanifest +0 -19
  175. package/standalone/node_modules/@img/sharp-darwin-arm64/lib/sharp-darwin-arm64.node +0 -0
  176. /package/standalone/apps/frontend/.next/static/{OpFkYY-cw7w7h5hHBfiKG → guJTVgKDvrNJVGaUPYdEy}/_buildManifest.js +0 -0
  177. /package/standalone/apps/frontend/.next/static/{OpFkYY-cw7w7h5hHBfiKG → guJTVgKDvrNJVGaUPYdEy}/_ssgManifest.js +0 -0
  178. /package/standalone/node_modules/@img/{sharp-libvips-darwin-arm64 → sharp-libvips-linux-x64}/lib/index.js +0 -0
  179. /package/standalone/node_modules/@img/{sharp-libvips-darwin-arm64 → sharp-libvips-linux-x64}/versions.json +0 -0
  180. /package/standalone/node_modules/@img/{sharp-darwin-arm64 → sharp-linux-x64}/LICENSE +0 -0
@@ -10,14 +10,6 @@ exports.modules = {
10
10
  "use strict";
11
11
  module.exports = require("next/dist/shared/lib/router/utils/app-paths");
12
12
 
13
- /***/ }),
14
-
15
- /***/ 1703:
16
- /***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
17
-
18
- Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 75555));
19
-
20
-
21
13
  /***/ }),
22
14
 
23
15
  /***/ 3295:
@@ -172,14 +164,6 @@ var dist = __webpack_require__(19208);
172
164
  "use strict";
173
165
  module.exports = require("next/dist/compiled/next-server/app-page.runtime.prod.js");
174
166
 
175
- /***/ }),
176
-
177
- /***/ 14516:
178
- /***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
179
-
180
- Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 71230));
181
-
182
-
183
167
  /***/ }),
184
168
 
185
169
  /***/ 18689:
@@ -230,6 +214,14 @@ module.exports = require("next/dist/server/app-render/action-async-storage.exter
230
214
  "use strict";
231
215
  module.exports = require("process");
232
216
 
217
+ /***/ }),
218
+
219
+ /***/ 20400:
220
+ /***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
221
+
222
+ Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 71642));
223
+
224
+
233
225
  /***/ }),
234
226
 
235
227
  /***/ 24768:
@@ -266,652 +258,180 @@ const ForwardRef = /*#__PURE__*/ react__WEBPACK_IMPORTED_MODULE_0__.forwardRef(B
266
258
 
267
259
  /***/ }),
268
260
 
269
- /***/ 26713:
270
- /***/ ((module) => {
271
-
272
- "use strict";
273
- module.exports = require("next/dist/shared/lib/router/utils/is-bot");
274
-
275
- /***/ }),
261
+ /***/ 25479:
262
+ /***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
276
263
 
277
- /***/ 28354:
278
- /***/ ((module) => {
264
+ Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 71230));
279
265
 
280
- "use strict";
281
- module.exports = require("util");
282
266
 
283
267
  /***/ }),
284
268
 
285
- /***/ 29294:
269
+ /***/ 26713:
286
270
  /***/ ((module) => {
287
271
 
288
272
  "use strict";
289
- module.exports = require("next/dist/server/app-render/work-async-storage.external.js");
290
-
291
- /***/ }),
292
-
293
- /***/ 31967:
294
- /***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
295
-
296
- Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 71642));
297
-
273
+ module.exports = require("next/dist/shared/lib/router/utils/is-bot");
298
274
 
299
275
  /***/ }),
300
276
 
301
- /***/ 33873:
277
+ /***/ 28354:
302
278
  /***/ ((module) => {
303
279
 
304
280
  "use strict";
305
- module.exports = require("path");
281
+ module.exports = require("util");
306
282
 
307
283
  /***/ }),
308
284
 
309
- /***/ 39659:
285
+ /***/ 28521:
310
286
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
311
287
 
312
288
  "use strict";
289
+ __webpack_require__.r(__webpack_exports__);
313
290
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
314
- /* harmony export */ Ef3: () => (/* reexport safe */ _Users_pingel_git_repos_github_com_The_AI_Alliance_semiont_packages_react_ui_dist_index_mjs__WEBPACK_IMPORTED_MODULE_0__.LeftSidebar),
315
- /* harmony export */ ffs: () => (/* reexport safe */ _Users_pingel_git_repos_github_com_The_AI_Alliance_semiont_packages_react_ui_dist_index_mjs__WEBPACK_IMPORTED_MODULE_0__.AuthTokenProvider),
316
- /* harmony export */ pqI: () => (/* reexport safe */ _Users_pingel_git_repos_github_com_The_AI_Alliance_semiont_packages_react_ui_dist_index_mjs__WEBPACK_IMPORTED_MODULE_0__.ApiClientProvider),
317
- /* harmony export */ wi6: () => (/* reexport safe */ _Users_pingel_git_repos_github_com_The_AI_Alliance_semiont_packages_react_ui_dist_index_mjs__WEBPACK_IMPORTED_MODULE_0__.Footer)
291
+ /* harmony export */ GlobalError: () => (/* reexport safe */ _home_runner_work_semiont_semiont_apps_frontend_src_app_global_error_tsx__WEBPACK_IMPORTED_MODULE_25__["default"]),
292
+ /* harmony export */ __next_app__: () => (/* binding */ __next_app__),
293
+ /* harmony export */ handler: () => (/* binding */ handler),
294
+ /* harmony export */ pages: () => (/* binding */ pages),
295
+ /* harmony export */ routeModule: () => (/* binding */ routeModule),
296
+ /* harmony export */ tree: () => (/* binding */ tree)
318
297
  /* harmony export */ });
319
- /* harmony import */ var _Users_pingel_git_repos_github_com_The_AI_Alliance_semiont_packages_react_ui_dist_index_mjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(30658);
298
+ /* harmony import */ var next_dist_server_route_modules_app_page_module_compiled__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(73653);
299
+ /* harmony import */ var next_dist_server_route_modules_app_page_module_compiled__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(next_dist_server_route_modules_app_page_module_compiled__WEBPACK_IMPORTED_MODULE_0__);
300
+ /* harmony import */ var next_dist_server_route_kind__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(97714);
301
+ /* harmony import */ var next_dist_server_instrumentation_utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(85250);
302
+ /* harmony import */ var next_dist_server_lib_trace_tracer__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(37587);
303
+ /* harmony import */ var next_dist_server_lib_trace_tracer__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(next_dist_server_lib_trace_tracer__WEBPACK_IMPORTED_MODULE_3__);
304
+ /* harmony import */ var next_dist_server_request_meta__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(22369);
305
+ /* harmony import */ var next_dist_server_request_meta__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(next_dist_server_request_meta__WEBPACK_IMPORTED_MODULE_4__);
306
+ /* harmony import */ var next_dist_server_lib_trace_constants__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(1889);
307
+ /* harmony import */ var next_dist_server_lib_trace_constants__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(next_dist_server_lib_trace_constants__WEBPACK_IMPORTED_MODULE_5__);
308
+ /* harmony import */ var next_dist_server_app_render_interop_default__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(96232);
309
+ /* harmony import */ var next_dist_server_app_render_strip_flight_headers__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(22841);
310
+ /* harmony import */ var next_dist_server_base_http_node__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(46537);
311
+ /* harmony import */ var next_dist_server_base_http_node__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(next_dist_server_base_http_node__WEBPACK_IMPORTED_MODULE_8__);
312
+ /* harmony import */ var next_dist_server_lib_experimental_ppr__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(46027);
313
+ /* harmony import */ var next_dist_server_lib_experimental_ppr__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(next_dist_server_lib_experimental_ppr__WEBPACK_IMPORTED_MODULE_9__);
314
+ /* harmony import */ var next_dist_server_request_fallback_params__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(78559);
315
+ /* harmony import */ var next_dist_server_app_render_encryption_utils__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(75928);
316
+ /* harmony import */ var next_dist_server_app_render_encryption_utils__WEBPACK_IMPORTED_MODULE_11___default = /*#__PURE__*/__webpack_require__.n(next_dist_server_app_render_encryption_utils__WEBPACK_IMPORTED_MODULE_11__);
317
+ /* harmony import */ var next_dist_server_lib_streaming_metadata__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(19374);
318
+ /* harmony import */ var next_dist_server_lib_streaming_metadata__WEBPACK_IMPORTED_MODULE_12___default = /*#__PURE__*/__webpack_require__.n(next_dist_server_lib_streaming_metadata__WEBPACK_IMPORTED_MODULE_12__);
319
+ /* harmony import */ var next_dist_server_app_render_action_utils__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(65971);
320
+ /* harmony import */ var next_dist_server_app_render_action_utils__WEBPACK_IMPORTED_MODULE_13___default = /*#__PURE__*/__webpack_require__.n(next_dist_server_app_render_action_utils__WEBPACK_IMPORTED_MODULE_13__);
321
+ /* harmony import */ var next_dist_shared_lib_router_utils_app_paths__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(261);
322
+ /* harmony import */ var next_dist_shared_lib_router_utils_app_paths__WEBPACK_IMPORTED_MODULE_14___default = /*#__PURE__*/__webpack_require__.n(next_dist_shared_lib_router_utils_app_paths__WEBPACK_IMPORTED_MODULE_14__);
323
+ /* harmony import */ var next_dist_server_lib_server_action_request_meta__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(79898);
324
+ /* harmony import */ var next_dist_server_lib_server_action_request_meta__WEBPACK_IMPORTED_MODULE_15___default = /*#__PURE__*/__webpack_require__.n(next_dist_server_lib_server_action_request_meta__WEBPACK_IMPORTED_MODULE_15__);
325
+ /* harmony import */ var next_dist_client_components_app_router_headers__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(32967);
326
+ /* harmony import */ var next_dist_client_components_app_router_headers__WEBPACK_IMPORTED_MODULE_16___default = /*#__PURE__*/__webpack_require__.n(next_dist_client_components_app_router_headers__WEBPACK_IMPORTED_MODULE_16__);
327
+ /* harmony import */ var next_dist_shared_lib_router_utils_is_bot__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(26713);
328
+ /* harmony import */ var next_dist_shared_lib_router_utils_is_bot__WEBPACK_IMPORTED_MODULE_17___default = /*#__PURE__*/__webpack_require__.n(next_dist_shared_lib_router_utils_is_bot__WEBPACK_IMPORTED_MODULE_17__);
329
+ /* harmony import */ var next_dist_server_response_cache__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(40139);
330
+ /* harmony import */ var next_dist_server_response_cache__WEBPACK_IMPORTED_MODULE_18___default = /*#__PURE__*/__webpack_require__.n(next_dist_server_response_cache__WEBPACK_IMPORTED_MODULE_18__);
331
+ /* harmony import */ var next_dist_lib_fallback__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(14248);
332
+ /* harmony import */ var next_dist_lib_fallback__WEBPACK_IMPORTED_MODULE_19___default = /*#__PURE__*/__webpack_require__.n(next_dist_lib_fallback__WEBPACK_IMPORTED_MODULE_19__);
333
+ /* harmony import */ var next_dist_server_render_result__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(59580);
334
+ /* harmony import */ var next_dist_lib_constants__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(57749);
335
+ /* harmony import */ var next_dist_lib_constants__WEBPACK_IMPORTED_MODULE_21___default = /*#__PURE__*/__webpack_require__.n(next_dist_lib_constants__WEBPACK_IMPORTED_MODULE_21__);
336
+ /* harmony import */ var next_dist_server_stream_utils_encoded_tags__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(53123);
337
+ /* harmony import */ var next_dist_server_send_payload__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(89745);
338
+ /* harmony import */ var next_dist_server_send_payload__WEBPACK_IMPORTED_MODULE_23___default = /*#__PURE__*/__webpack_require__.n(next_dist_server_send_payload__WEBPACK_IMPORTED_MODULE_23__);
339
+ /* harmony import */ var next_dist_shared_lib_no_fallback_error_external__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(86439);
340
+ /* harmony import */ var next_dist_shared_lib_no_fallback_error_external__WEBPACK_IMPORTED_MODULE_24___default = /*#__PURE__*/__webpack_require__.n(next_dist_shared_lib_no_fallback_error_external__WEBPACK_IMPORTED_MODULE_24__);
341
+ /* harmony import */ var _home_runner_work_semiont_semiont_apps_frontend_src_app_global_error_tsx__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(90488);
342
+ /* harmony import */ var next_dist_server_app_render_entry_base__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(18283);
343
+ /* harmony import */ var next_dist_server_app_render_entry_base__WEBPACK_IMPORTED_MODULE_26___default = /*#__PURE__*/__webpack_require__.n(next_dist_server_app_render_entry_base__WEBPACK_IMPORTED_MODULE_26__);
344
+ /* harmony import */ var next_dist_client_components_redirect_status_code__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(39818);
345
+ /* harmony import */ var next_dist_client_components_redirect_status_code__WEBPACK_IMPORTED_MODULE_27___default = /*#__PURE__*/__webpack_require__.n(next_dist_client_components_redirect_status_code__WEBPACK_IMPORTED_MODULE_27__);
346
+ /* harmony reexport (unknown) */ var __WEBPACK_REEXPORT_OBJECT__ = {};
347
+ /* harmony reexport (unknown) */ for(const __WEBPACK_IMPORT_KEY__ in next_dist_server_app_render_entry_base__WEBPACK_IMPORTED_MODULE_26__) if(["default","tree","pages","GlobalError","__next_app__","routeModule","handler"].indexOf(__WEBPACK_IMPORT_KEY__) < 0) __WEBPACK_REEXPORT_OBJECT__[__WEBPACK_IMPORT_KEY__] = () => next_dist_server_app_render_entry_base__WEBPACK_IMPORTED_MODULE_26__[__WEBPACK_IMPORT_KEY__]
348
+ /* harmony reexport (unknown) */ __webpack_require__.d(__webpack_exports__, __WEBPACK_REEXPORT_OBJECT__);
349
+ const module0 = () => Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 47570));
350
+ const module1 = () => Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 26412));
351
+ const module2 = () => Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 90488));
352
+ const module3 = () => Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 33506));
353
+ const module4 = () => Promise.resolve(/* import() eager */).then(__webpack_require__.t.bind(__webpack_require__, 15034, 23));
354
+ const module5 = () => Promise.resolve(/* import() eager */).then(__webpack_require__.t.bind(__webpack_require__, 54693, 23));
355
+ const module6 = () => Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 82778));
356
+ const module7 = () => Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 71743));
357
+ const module8 = () => Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 75555));
358
+ const page9 = () => Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 67256));
320
359
 
321
360
 
322
361
 
323
- /***/ }),
324
362
 
325
- /***/ 41025:
326
- /***/ ((module) => {
327
363
 
328
- "use strict";
329
- module.exports = require("next/dist/server/app-render/dynamic-access-async-storage.external.js");
330
364
 
331
- /***/ }),
332
365
 
333
- /***/ 61780:
334
- /***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
335
366
 
336
- Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 67256));
337
367
 
338
368
 
339
- /***/ }),
340
369
 
341
- /***/ 63033:
342
- /***/ ((module) => {
343
370
 
344
- "use strict";
345
- module.exports = require("next/dist/server/app-render/work-unit-async-storage.external.js");
346
371
 
347
- /***/ }),
348
372
 
349
- /***/ 67256:
350
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
351
373
 
352
- "use strict";
353
- __webpack_require__.r(__webpack_exports__);
354
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
355
- /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
356
- /* harmony export */ });
357
- /* harmony import */ var react_server_dom_webpack_server__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(25459);
358
- /* harmony import */ var react_server_dom_webpack_server__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react_server_dom_webpack_server__WEBPACK_IMPORTED_MODULE_0__);
359
- // This file is generated by the Webpack next-flight-loader.
360
374
 
361
- /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,react_server_dom_webpack_server__WEBPACK_IMPORTED_MODULE_0__.registerClientReference)(
362
- function() { throw new Error("Attempted to call the default export of \"/Users/pingel/git_repos/github.com/The-AI-Alliance/semiont/apps/frontend/src/app/[locale]/moderate/page.tsx\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component."); },
363
- "/Users/pingel/git_repos/github.com/The-AI-Alliance/semiont/apps/frontend/src/app/[locale]/moderate/page.tsx",
364
- "default",
365
- ));
366
375
 
367
376
 
368
- /***/ }),
369
377
 
370
- /***/ 71230:
371
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
372
378
 
373
- "use strict";
374
- __webpack_require__.r(__webpack_exports__);
375
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
376
- /* harmony export */ "default": () => (/* binding */ ModeratePage)
377
- /* harmony export */ });
378
- /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(78157);
379
- /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__);
380
- /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(31768);
381
- /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
382
- /* harmony import */ var next_intl__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(72668);
383
- /* harmony import */ var _i18n_routing__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(1915);
384
- /* __next_internal_client_entry_do_not_use__ default auto */
385
379
 
386
380
 
387
381
 
388
- function ModeratePage() {
389
- const t = (0,next_intl__WEBPACK_IMPORTED_MODULE_3__/* .useTranslations */ .c)('Moderation');
390
- const router = (0,_i18n_routing__WEBPACK_IMPORTED_MODULE_2__/* .useRouter */ .rd)();
391
- process.env.__NEXT_PRIVATE_MINIMIZE_MACRO_FALSE && (0,react__WEBPACK_IMPORTED_MODULE_1__.useEffect)(()=>{
392
- // Redirect to Recent Documents as the default page
393
- router.replace('/moderate/recent');
394
- }, [
395
- router
396
- ]);
397
- return /*#__PURE__*/ (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("div", {
398
- className: "flex items-center justify-center py-20",
399
- children: /*#__PURE__*/ (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("p", {
400
- className: "text-gray-600 dark:text-gray-300",
401
- children: t('redirecting')
402
- })
403
- });
404
- }
405
382
 
406
383
 
407
- /***/ }),
384
+ // We inject the tree and pages here so that we can use them in the route
385
+ // module.
386
+ const tree = {
387
+ children: [
388
+ '',
389
+ {
390
+ children: [
391
+ '[locale]',
392
+ {
393
+ children: [
394
+ 'moderate',
395
+ {
396
+ children: ['__PAGE__', {}, {
397
+ page: [page9, "/home/runner/work/semiont/semiont/apps/frontend/src/app/[locale]/moderate/page.tsx"],
398
+
399
+ }]
400
+ },
401
+ {
402
+ 'layout': [module8, "/home/runner/work/semiont/semiont/apps/frontend/src/app/[locale]/moderate/layout.tsx"],
403
+
404
+ }
405
+ ]
406
+ },
407
+ {
408
+ 'layout': [module6, "/home/runner/work/semiont/semiont/apps/frontend/src/app/[locale]/layout.tsx"],
409
+ 'not-found': [module7, "/home/runner/work/semiont/semiont/apps/frontend/src/app/[locale]/not-found.tsx"],
410
+
411
+ }
412
+ ]
413
+ },
414
+ {
415
+ 'layout': [module0, "/home/runner/work/semiont/semiont/apps/frontend/src/app/layout.tsx"],
416
+ 'error': [module1, "/home/runner/work/semiont/semiont/apps/frontend/src/app/error.tsx"],
417
+ 'global-error': [module2, "/home/runner/work/semiont/semiont/apps/frontend/src/app/global-error.tsx"],
418
+ 'not-found': [module3, "/home/runner/work/semiont/semiont/apps/frontend/src/app/not-found.tsx"],
419
+ 'forbidden': [module4, "next/dist/client/components/builtin/forbidden.js"],
420
+ 'unauthorized': [module5, "next/dist/client/components/builtin/unauthorized.js"],
421
+
422
+ }
423
+ ]
424
+ }.children;
425
+ const pages = ["/home/runner/work/semiont/semiont/apps/frontend/src/app/[locale]/moderate/page.tsx"];
408
426
 
409
- /***/ 71642:
410
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
411
427
 
412
- "use strict";
413
- // ESM COMPAT FLAG
414
- __webpack_require__.r(__webpack_exports__);
415
428
 
416
- // EXPORTS
417
- __webpack_require__.d(__webpack_exports__, {
418
- "default": () => (/* binding */ ModerateLayout)
419
- });
420
-
421
- // EXTERNAL MODULE: ../../node_modules/next/dist/server/route-modules/app-page/vendored/ssr/react-jsx-runtime.js
422
- var react_jsx_runtime = __webpack_require__(78157);
423
- // EXTERNAL MODULE: ../../node_modules/next/dist/server/route-modules/app-page/vendored/ssr/react.js
424
- var react = __webpack_require__(31768);
425
- // EXTERNAL MODULE: ../../node_modules/next-intl/dist/esm/production/react-client/index.js
426
- var react_client = __webpack_require__(72668);
427
- // EXTERNAL MODULE: ../../node_modules/next-auth/react/index.js
428
- var next_auth_react = __webpack_require__(16422);
429
- // EXTERNAL MODULE: __barrel_optimize__?names=ApiClientProvider,AuthTokenProvider,Footer,LeftSidebar!=!../../packages/react-ui/dist/index.mjs
430
- var dist = __webpack_require__(39659);
431
- // EXTERNAL MODULE: ./src/i18n/routing.ts
432
- var routing = __webpack_require__(1915);
433
- // EXTERNAL MODULE: __barrel_optimize__?names=SimpleNavigation,useEventSubscriptions!=!../../packages/react-ui/dist/index.mjs
434
- var react_ui_dist = __webpack_require__(93346);
435
- ;// ../../node_modules/@heroicons/react/24/outline/esm/ClockIcon.js
436
-
437
- function ClockIcon({ title, titleId, ...props }, svgRef) {
438
- return /*#__PURE__*/ react.createElement("svg", Object.assign({
439
- xmlns: "http://www.w3.org/2000/svg",
440
- fill: "none",
441
- viewBox: "0 0 24 24",
442
- strokeWidth: 1.5,
443
- stroke: "currentColor",
444
- "aria-hidden": "true",
445
- "data-slot": "icon",
446
- ref: svgRef,
447
- "aria-labelledby": titleId
448
- }, props), title ? /*#__PURE__*/ react.createElement("title", {
449
- id: titleId
450
- }, title) : null, /*#__PURE__*/ react.createElement("path", {
451
- strokeLinecap: "round",
452
- strokeLinejoin: "round",
453
- d: "M12 6v6h4.5m4.5 0a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"
454
- }));
455
- }
456
- const ForwardRef = /*#__PURE__*/ react.forwardRef(ClockIcon);
457
- /* harmony default export */ const esm_ClockIcon = (ForwardRef);
458
-
459
- ;// ../../node_modules/@heroicons/react/24/outline/esm/TagIcon.js
460
-
461
- function TagIcon({ title, titleId, ...props }, svgRef) {
462
- return /*#__PURE__*/ react.createElement("svg", Object.assign({
463
- xmlns: "http://www.w3.org/2000/svg",
464
- fill: "none",
465
- viewBox: "0 0 24 24",
466
- strokeWidth: 1.5,
467
- stroke: "currentColor",
468
- "aria-hidden": "true",
469
- "data-slot": "icon",
470
- ref: svgRef,
471
- "aria-labelledby": titleId
472
- }, props), title ? /*#__PURE__*/ react.createElement("title", {
473
- id: titleId
474
- }, title) : null, /*#__PURE__*/ react.createElement("path", {
475
- strokeLinecap: "round",
476
- strokeLinejoin: "round",
477
- d: "M9.568 3H5.25A2.25 2.25 0 0 0 3 5.25v4.318c0 .597.237 1.17.659 1.591l9.581 9.581c.699.699 1.78.872 2.607.33a18.095 18.095 0 0 0 5.223-5.223c.542-.827.369-1.908-.33-2.607L11.16 3.66A2.25 2.25 0 0 0 9.568 3Z"
478
- }), /*#__PURE__*/ react.createElement("path", {
479
- strokeLinecap: "round",
480
- strokeLinejoin: "round",
481
- d: "M6 6h.008v.008H6V6Z"
482
- }));
483
- }
484
- const TagIcon_ForwardRef = /*#__PURE__*/ react.forwardRef(TagIcon);
485
- /* harmony default export */ const esm_TagIcon = (TagIcon_ForwardRef);
486
-
487
- ;// ../../node_modules/@heroicons/react/24/outline/esm/BookOpenIcon.js
488
-
489
- function BookOpenIcon({ title, titleId, ...props }, svgRef) {
490
- return /*#__PURE__*/ react.createElement("svg", Object.assign({
491
- xmlns: "http://www.w3.org/2000/svg",
492
- fill: "none",
493
- viewBox: "0 0 24 24",
494
- strokeWidth: 1.5,
495
- stroke: "currentColor",
496
- "aria-hidden": "true",
497
- "data-slot": "icon",
498
- ref: svgRef,
499
- "aria-labelledby": titleId
500
- }, props), title ? /*#__PURE__*/ react.createElement("title", {
501
- id: titleId
502
- }, title) : null, /*#__PURE__*/ react.createElement("path", {
503
- strokeLinecap: "round",
504
- strokeLinejoin: "round",
505
- d: "M12 6.042A8.967 8.967 0 0 0 6 3.75c-1.052 0-2.062.18-3 .512v14.25A8.987 8.987 0 0 1 6 18c2.305 0 4.408.867 6 2.292m0-14.25a8.966 8.966 0 0 1 6-2.292c1.052 0 2.062.18 3 .512v14.25A8.987 8.987 0 0 0 18 18a8.967 8.967 0 0 0-6 2.292m0-14.25v14.25"
506
- }));
507
- }
508
- const BookOpenIcon_ForwardRef = /*#__PURE__*/ react.forwardRef(BookOpenIcon);
509
- /* harmony default export */ const esm_BookOpenIcon = (BookOpenIcon_ForwardRef);
510
-
511
- // EXTERNAL MODULE: ../../node_modules/@heroicons/react/24/outline/esm/ChevronLeftIcon.js
512
- var ChevronLeftIcon = __webpack_require__(18689);
513
- // EXTERNAL MODULE: ../../node_modules/@heroicons/react/24/outline/esm/Bars3Icon.js
514
- var Bars3Icon = __webpack_require__(24768);
515
- ;// ./src/components/moderation/ModerationNavigation.tsx
516
- /* __next_internal_client_entry_do_not_use__ ModerationNavigation auto */
517
-
518
-
519
-
520
-
521
-
522
-
523
- function ModerationNavigation({ isCollapsed, toggleCollapsed, navigationMenu }) {
524
- const t = (0,react_client/* useTranslations */.c)('Moderation');
525
- const tSidebar = (0,react_client/* useTranslations */.c)('Sidebar');
526
- const pathname = (0,routing/* usePathname */.a8)();
527
- // Handle sidebar toggle events
528
- const handleSidebarToggle = (0,react.useCallback)(()=>{
529
- toggleCollapsed();
530
- }, [
531
- toggleCollapsed
532
- ]);
533
- // Subscribe to sidebar toggle events
534
- (0,react_ui_dist/* useEventSubscriptions */.C$z)({
535
- 'browse:sidebar-toggle': handleSidebarToggle
536
- });
537
- const navigation = [
538
- {
539
- name: t('recentResources'),
540
- href: '/moderate/recent',
541
- icon: esm_ClockIcon,
542
- description: t('recentResourcesDescription')
543
- },
544
- {
545
- name: t('entityTags'),
546
- href: '/moderate/entity-tags',
547
- icon: esm_TagIcon,
548
- description: t('entityTagsDescription')
549
- },
550
- {
551
- name: t('tagSchemas'),
552
- href: '/moderate/tag-schemas',
553
- icon: esm_BookOpenIcon,
554
- description: t('tagSchemasDescription')
555
- }
556
- ];
557
- return /*#__PURE__*/ (0,react_jsx_runtime.jsx)(react_ui_dist/* SimpleNavigation */.TbX, {
558
- title: t('title'),
559
- items: navigation,
560
- currentPath: pathname,
561
- LinkComponent: routing/* Link */.N_,
562
- ...navigationMenu && {
563
- dropdownContent: navigationMenu
564
- },
565
- isCollapsed: isCollapsed,
566
- icons: {
567
- chevronLeft: ChevronLeftIcon/* default */.A,
568
- bars: Bars3Icon/* default */.A
569
- },
570
- collapseSidebarLabel: tSidebar('collapseSidebar'),
571
- expandSidebarLabel: tSidebar('expandSidebar')
572
- });
573
- }
574
-
575
- // EXTERNAL MODULE: ./src/components/CookiePreferences.tsx
576
- var CookiePreferences = __webpack_require__(76159);
577
- // EXTERNAL MODULE: ./src/contexts/KeyboardShortcutsContext.tsx + 3 modules
578
- var KeyboardShortcutsContext = __webpack_require__(99192);
579
- // EXTERNAL MODULE: ./src/lib/routing.ts
580
- var lib_routing = __webpack_require__(32302);
581
- // EXTERNAL MODULE: ./src/hooks/useAuth.ts + 1 modules
582
- var useAuth = __webpack_require__(3919);
583
- ;// ./src/app/[locale]/moderate/layout.tsx
584
- /* __next_internal_client_entry_do_not_use__ default auto */
585
-
586
-
587
-
588
-
589
-
590
-
591
-
592
-
593
-
594
- // Note: Authentication is handled by middleware.ts for all moderate routes
595
- // This ensures centralized security and returns 404 for unauthorized users
596
- function ModerateLayout({ children }) {
597
- const t = (0,react_client/* useTranslations */.c)('Footer');
598
- const tNav = (0,react_client/* useTranslations */.c)('Navigation');
599
- const tHome = (0,react_client/* useTranslations */.c)('Home');
600
- const keyboardContext = (0,react.useContext)(KeyboardShortcutsContext/* KeyboardShortcutsContext */.GZ);
601
- const { isAuthenticated, isAdmin, isModerator } = (0,useAuth/* useAuth */.As)();
602
- const { data: session } = (0,next_auth_react.useSession)();
603
- // Extract auth token from session
604
- const authToken = session?.backendToken || null;
605
- // Middleware has already verified moderator/admin access
606
- return /*#__PURE__*/ (0,react_jsx_runtime.jsx)(dist/* AuthTokenProvider */.ffs, {
607
- token: authToken,
608
- children: /*#__PURE__*/ (0,react_jsx_runtime.jsx)(dist/* ApiClientProvider */.pqI, {
609
- baseUrl: "",
610
- children: /*#__PURE__*/ (0,react_jsx_runtime.jsxs)("div", {
611
- className: "min-h-screen bg-gray-50 dark:bg-gray-900 flex flex-col",
612
- children: [
613
- /*#__PURE__*/ (0,react_jsx_runtime.jsxs)("div", {
614
- className: "flex flex-1",
615
- children: [
616
- /*#__PURE__*/ (0,react_jsx_runtime.jsx)(dist/* LeftSidebar */.Ef3, {
617
- Link: lib_routing/* Link */.N,
618
- routes: lib_routing/* routes */.J,
619
- t: tNav,
620
- tHome: tHome,
621
- brandingLink: "/",
622
- collapsible: true,
623
- storageKey: "moderation-sidebar-collapsed",
624
- isAuthenticated: isAuthenticated,
625
- isAdmin: isAdmin,
626
- isModerator: isModerator,
627
- children: (isCollapsed, toggleCollapsed, navigationMenu)=>/*#__PURE__*/ (0,react_jsx_runtime.jsx)(ModerationNavigation, {
628
- isCollapsed: isCollapsed,
629
- toggleCollapsed: toggleCollapsed,
630
- navigationMenu: navigationMenu
631
- })
632
- }),
633
- /*#__PURE__*/ (0,react_jsx_runtime.jsx)("main", {
634
- className: "flex-1 p-6 flex flex-col",
635
- children: /*#__PURE__*/ (0,react_jsx_runtime.jsx)("div", {
636
- className: "max-w-7xl mx-auto flex-1 flex flex-col w-full",
637
- children: children
638
- })
639
- })
640
- ]
641
- }),
642
- /*#__PURE__*/ (0,react_jsx_runtime.jsx)(dist/* Footer */.wi6, {
643
- Link: lib_routing/* Link */.N,
644
- routes: lib_routing/* routes */.J,
645
- t: t,
646
- CookiePreferences: CookiePreferences/* CookiePreferences */.f,
647
- ...keyboardContext?.openKeyboardHelp && {
648
- onOpenKeyboardHelp: keyboardContext.openKeyboardHelp
649
- }
650
- })
651
- ]
652
- })
653
- })
654
- });
655
- }
656
-
657
-
658
- /***/ }),
659
-
660
- /***/ 72485:
661
- /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
662
-
663
- "use strict";
664
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
665
- /* harmony export */ A: () => (__WEBPACK_DEFAULT_EXPORT__)
666
- /* harmony export */ });
667
- /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(31768);
668
-
669
- function TrashIcon({ title, titleId, ...props }, svgRef) {
670
- return /*#__PURE__*/ react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg", Object.assign({
671
- xmlns: "http://www.w3.org/2000/svg",
672
- fill: "none",
673
- viewBox: "0 0 24 24",
674
- strokeWidth: 1.5,
675
- stroke: "currentColor",
676
- "aria-hidden": "true",
677
- "data-slot": "icon",
678
- ref: svgRef,
679
- "aria-labelledby": titleId
680
- }, props), title ? /*#__PURE__*/ react__WEBPACK_IMPORTED_MODULE_0__.createElement("title", {
681
- id: titleId
682
- }, title) : null, /*#__PURE__*/ react__WEBPACK_IMPORTED_MODULE_0__.createElement("path", {
683
- strokeLinecap: "round",
684
- strokeLinejoin: "round",
685
- d: "m14.74 9-.346 9m-4.788 0L9.26 9m9.968-3.21c.342.052.682.107 1.022.166m-1.022-.165L18.16 19.673a2.25 2.25 0 0 1-2.244 2.077H8.084a2.25 2.25 0 0 1-2.244-2.077L4.772 5.79m14.456 0a48.108 48.108 0 0 0-3.478-.397m-12 .562c.34-.059.68-.114 1.022-.165m0 0a48.11 48.11 0 0 1 3.478-.397m7.5 0v-.916c0-1.18-.91-2.164-2.09-2.201a51.964 51.964 0 0 0-3.32 0c-1.18.037-2.09 1.022-2.09 2.201v.916m7.5 0a48.667 48.667 0 0 0-7.5 0"
686
- }));
687
- }
688
- const ForwardRef = /*#__PURE__*/ react__WEBPACK_IMPORTED_MODULE_0__.forwardRef(TrashIcon);
689
- /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (ForwardRef);
690
-
691
-
692
- /***/ }),
693
-
694
- /***/ 74654:
695
- /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
696
-
697
- "use strict";
698
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
699
- /* harmony export */ A: () => (__WEBPACK_DEFAULT_EXPORT__)
700
- /* harmony export */ });
701
- /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(31768);
702
-
703
- function XMarkIcon({ title, titleId, ...props }, svgRef) {
704
- return /*#__PURE__*/ react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg", Object.assign({
705
- xmlns: "http://www.w3.org/2000/svg",
706
- fill: "none",
707
- viewBox: "0 0 24 24",
708
- strokeWidth: 1.5,
709
- stroke: "currentColor",
710
- "aria-hidden": "true",
711
- "data-slot": "icon",
712
- ref: svgRef,
713
- "aria-labelledby": titleId
714
- }, props), title ? /*#__PURE__*/ react__WEBPACK_IMPORTED_MODULE_0__.createElement("title", {
715
- id: titleId
716
- }, title) : null, /*#__PURE__*/ react__WEBPACK_IMPORTED_MODULE_0__.createElement("path", {
717
- strokeLinecap: "round",
718
- strokeLinejoin: "round",
719
- d: "M6 18 18 6M6 6l12 12"
720
- }));
721
- }
722
- const ForwardRef = /*#__PURE__*/ react__WEBPACK_IMPORTED_MODULE_0__.forwardRef(XMarkIcon);
723
- /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (ForwardRef);
724
-
725
-
726
- /***/ }),
727
-
728
- /***/ 75555:
729
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
730
-
731
- "use strict";
732
- __webpack_require__.r(__webpack_exports__);
733
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
734
- /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
735
- /* harmony export */ });
736
- /* harmony import */ var react_server_dom_webpack_server__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(25459);
737
- /* harmony import */ var react_server_dom_webpack_server__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react_server_dom_webpack_server__WEBPACK_IMPORTED_MODULE_0__);
738
- // This file is generated by the Webpack next-flight-loader.
739
-
740
- /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,react_server_dom_webpack_server__WEBPACK_IMPORTED_MODULE_0__.registerClientReference)(
741
- function() { throw new Error("Attempted to call the default export of \"/Users/pingel/git_repos/github.com/The-AI-Alliance/semiont/apps/frontend/src/app/[locale]/moderate/layout.tsx\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component."); },
742
- "/Users/pingel/git_repos/github.com/The-AI-Alliance/semiont/apps/frontend/src/app/[locale]/moderate/layout.tsx",
743
- "default",
744
- ));
745
-
746
-
747
- /***/ }),
748
-
749
- /***/ 79551:
750
- /***/ ((module) => {
751
-
752
- "use strict";
753
- module.exports = require("url");
754
-
755
- /***/ }),
756
-
757
- /***/ 86439:
758
- /***/ ((module) => {
759
-
760
- "use strict";
761
- module.exports = require("next/dist/shared/lib/no-fallback-error.external");
762
-
763
- /***/ }),
764
-
765
- /***/ 89862:
766
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
767
-
768
- "use strict";
769
- __webpack_require__.r(__webpack_exports__);
770
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
771
- /* harmony export */ GlobalError: () => (/* reexport safe */ _Users_pingel_git_repos_github_com_The_AI_Alliance_semiont_apps_frontend_src_app_global_error_tsx__WEBPACK_IMPORTED_MODULE_25__["default"]),
772
- /* harmony export */ __next_app__: () => (/* binding */ __next_app__),
773
- /* harmony export */ handler: () => (/* binding */ handler),
774
- /* harmony export */ pages: () => (/* binding */ pages),
775
- /* harmony export */ routeModule: () => (/* binding */ routeModule),
776
- /* harmony export */ tree: () => (/* binding */ tree)
777
- /* harmony export */ });
778
- /* harmony import */ var next_dist_server_route_modules_app_page_module_compiled__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(73653);
779
- /* harmony import */ var next_dist_server_route_modules_app_page_module_compiled__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(next_dist_server_route_modules_app_page_module_compiled__WEBPACK_IMPORTED_MODULE_0__);
780
- /* harmony import */ var next_dist_server_route_kind__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(97714);
781
- /* harmony import */ var next_dist_server_instrumentation_utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(85250);
782
- /* harmony import */ var next_dist_server_lib_trace_tracer__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(37587);
783
- /* harmony import */ var next_dist_server_lib_trace_tracer__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(next_dist_server_lib_trace_tracer__WEBPACK_IMPORTED_MODULE_3__);
784
- /* harmony import */ var next_dist_server_request_meta__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(22369);
785
- /* harmony import */ var next_dist_server_request_meta__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(next_dist_server_request_meta__WEBPACK_IMPORTED_MODULE_4__);
786
- /* harmony import */ var next_dist_server_lib_trace_constants__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(1889);
787
- /* harmony import */ var next_dist_server_lib_trace_constants__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(next_dist_server_lib_trace_constants__WEBPACK_IMPORTED_MODULE_5__);
788
- /* harmony import */ var next_dist_server_app_render_interop_default__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(96232);
789
- /* harmony import */ var next_dist_server_app_render_strip_flight_headers__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(22841);
790
- /* harmony import */ var next_dist_server_base_http_node__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(46537);
791
- /* harmony import */ var next_dist_server_base_http_node__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(next_dist_server_base_http_node__WEBPACK_IMPORTED_MODULE_8__);
792
- /* harmony import */ var next_dist_server_lib_experimental_ppr__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(46027);
793
- /* harmony import */ var next_dist_server_lib_experimental_ppr__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(next_dist_server_lib_experimental_ppr__WEBPACK_IMPORTED_MODULE_9__);
794
- /* harmony import */ var next_dist_server_request_fallback_params__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(78559);
795
- /* harmony import */ var next_dist_server_app_render_encryption_utils__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(75928);
796
- /* harmony import */ var next_dist_server_app_render_encryption_utils__WEBPACK_IMPORTED_MODULE_11___default = /*#__PURE__*/__webpack_require__.n(next_dist_server_app_render_encryption_utils__WEBPACK_IMPORTED_MODULE_11__);
797
- /* harmony import */ var next_dist_server_lib_streaming_metadata__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(19374);
798
- /* harmony import */ var next_dist_server_lib_streaming_metadata__WEBPACK_IMPORTED_MODULE_12___default = /*#__PURE__*/__webpack_require__.n(next_dist_server_lib_streaming_metadata__WEBPACK_IMPORTED_MODULE_12__);
799
- /* harmony import */ var next_dist_server_app_render_action_utils__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(65971);
800
- /* harmony import */ var next_dist_server_app_render_action_utils__WEBPACK_IMPORTED_MODULE_13___default = /*#__PURE__*/__webpack_require__.n(next_dist_server_app_render_action_utils__WEBPACK_IMPORTED_MODULE_13__);
801
- /* harmony import */ var next_dist_shared_lib_router_utils_app_paths__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(261);
802
- /* harmony import */ var next_dist_shared_lib_router_utils_app_paths__WEBPACK_IMPORTED_MODULE_14___default = /*#__PURE__*/__webpack_require__.n(next_dist_shared_lib_router_utils_app_paths__WEBPACK_IMPORTED_MODULE_14__);
803
- /* harmony import */ var next_dist_server_lib_server_action_request_meta__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(79898);
804
- /* harmony import */ var next_dist_server_lib_server_action_request_meta__WEBPACK_IMPORTED_MODULE_15___default = /*#__PURE__*/__webpack_require__.n(next_dist_server_lib_server_action_request_meta__WEBPACK_IMPORTED_MODULE_15__);
805
- /* harmony import */ var next_dist_client_components_app_router_headers__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(32967);
806
- /* harmony import */ var next_dist_client_components_app_router_headers__WEBPACK_IMPORTED_MODULE_16___default = /*#__PURE__*/__webpack_require__.n(next_dist_client_components_app_router_headers__WEBPACK_IMPORTED_MODULE_16__);
807
- /* harmony import */ var next_dist_shared_lib_router_utils_is_bot__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(26713);
808
- /* harmony import */ var next_dist_shared_lib_router_utils_is_bot__WEBPACK_IMPORTED_MODULE_17___default = /*#__PURE__*/__webpack_require__.n(next_dist_shared_lib_router_utils_is_bot__WEBPACK_IMPORTED_MODULE_17__);
809
- /* harmony import */ var next_dist_server_response_cache__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(40139);
810
- /* harmony import */ var next_dist_server_response_cache__WEBPACK_IMPORTED_MODULE_18___default = /*#__PURE__*/__webpack_require__.n(next_dist_server_response_cache__WEBPACK_IMPORTED_MODULE_18__);
811
- /* harmony import */ var next_dist_lib_fallback__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(14248);
812
- /* harmony import */ var next_dist_lib_fallback__WEBPACK_IMPORTED_MODULE_19___default = /*#__PURE__*/__webpack_require__.n(next_dist_lib_fallback__WEBPACK_IMPORTED_MODULE_19__);
813
- /* harmony import */ var next_dist_server_render_result__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(59580);
814
- /* harmony import */ var next_dist_lib_constants__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(57749);
815
- /* harmony import */ var next_dist_lib_constants__WEBPACK_IMPORTED_MODULE_21___default = /*#__PURE__*/__webpack_require__.n(next_dist_lib_constants__WEBPACK_IMPORTED_MODULE_21__);
816
- /* harmony import */ var next_dist_server_stream_utils_encoded_tags__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(53123);
817
- /* harmony import */ var next_dist_server_send_payload__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(89745);
818
- /* harmony import */ var next_dist_server_send_payload__WEBPACK_IMPORTED_MODULE_23___default = /*#__PURE__*/__webpack_require__.n(next_dist_server_send_payload__WEBPACK_IMPORTED_MODULE_23__);
819
- /* harmony import */ var next_dist_shared_lib_no_fallback_error_external__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(86439);
820
- /* harmony import */ var next_dist_shared_lib_no_fallback_error_external__WEBPACK_IMPORTED_MODULE_24___default = /*#__PURE__*/__webpack_require__.n(next_dist_shared_lib_no_fallback_error_external__WEBPACK_IMPORTED_MODULE_24__);
821
- /* harmony import */ var _Users_pingel_git_repos_github_com_The_AI_Alliance_semiont_apps_frontend_src_app_global_error_tsx__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(90488);
822
- /* harmony import */ var next_dist_server_app_render_entry_base__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(18283);
823
- /* harmony import */ var next_dist_server_app_render_entry_base__WEBPACK_IMPORTED_MODULE_26___default = /*#__PURE__*/__webpack_require__.n(next_dist_server_app_render_entry_base__WEBPACK_IMPORTED_MODULE_26__);
824
- /* harmony import */ var next_dist_client_components_redirect_status_code__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(39818);
825
- /* harmony import */ var next_dist_client_components_redirect_status_code__WEBPACK_IMPORTED_MODULE_27___default = /*#__PURE__*/__webpack_require__.n(next_dist_client_components_redirect_status_code__WEBPACK_IMPORTED_MODULE_27__);
826
- /* harmony reexport (unknown) */ var __WEBPACK_REEXPORT_OBJECT__ = {};
827
- /* harmony reexport (unknown) */ for(const __WEBPACK_IMPORT_KEY__ in next_dist_server_app_render_entry_base__WEBPACK_IMPORTED_MODULE_26__) if(["default","tree","pages","GlobalError","__next_app__","routeModule","handler"].indexOf(__WEBPACK_IMPORT_KEY__) < 0) __WEBPACK_REEXPORT_OBJECT__[__WEBPACK_IMPORT_KEY__] = () => next_dist_server_app_render_entry_base__WEBPACK_IMPORTED_MODULE_26__[__WEBPACK_IMPORT_KEY__]
828
- /* harmony reexport (unknown) */ __webpack_require__.d(__webpack_exports__, __WEBPACK_REEXPORT_OBJECT__);
829
- const module0 = () => Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 47570));
830
- const module1 = () => Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 26412));
831
- const module2 = () => Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 90488));
832
- const module3 = () => Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 33506));
833
- const module4 = () => Promise.resolve(/* import() eager */).then(__webpack_require__.t.bind(__webpack_require__, 15034, 23));
834
- const module5 = () => Promise.resolve(/* import() eager */).then(__webpack_require__.t.bind(__webpack_require__, 54693, 23));
835
- const module6 = () => Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 82778));
836
- const module7 = () => Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 71743));
837
- const module8 = () => Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 75555));
838
- const page9 = () => Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 67256));
839
-
840
-
841
-
842
-
843
-
844
-
845
-
846
-
847
-
848
-
849
-
850
-
851
-
852
-
853
-
854
-
855
-
856
-
857
-
858
-
859
-
860
-
861
-
862
-
863
-
864
- // We inject the tree and pages here so that we can use them in the route
865
- // module.
866
- const tree = {
867
- children: [
868
- '',
869
- {
870
- children: [
871
- '[locale]',
872
- {
873
- children: [
874
- 'moderate',
875
- {
876
- children: ['__PAGE__', {}, {
877
- page: [page9, "/Users/pingel/git_repos/github.com/The-AI-Alliance/semiont/apps/frontend/src/app/[locale]/moderate/page.tsx"],
878
-
879
- }]
880
- },
881
- {
882
- 'layout': [module8, "/Users/pingel/git_repos/github.com/The-AI-Alliance/semiont/apps/frontend/src/app/[locale]/moderate/layout.tsx"],
883
-
884
- }
885
- ]
886
- },
887
- {
888
- 'layout': [module6, "/Users/pingel/git_repos/github.com/The-AI-Alliance/semiont/apps/frontend/src/app/[locale]/layout.tsx"],
889
- 'not-found': [module7, "/Users/pingel/git_repos/github.com/The-AI-Alliance/semiont/apps/frontend/src/app/[locale]/not-found.tsx"],
890
-
891
- }
892
- ]
893
- },
894
- {
895
- 'layout': [module0, "/Users/pingel/git_repos/github.com/The-AI-Alliance/semiont/apps/frontend/src/app/layout.tsx"],
896
- 'error': [module1, "/Users/pingel/git_repos/github.com/The-AI-Alliance/semiont/apps/frontend/src/app/error.tsx"],
897
- 'global-error': [module2, "/Users/pingel/git_repos/github.com/The-AI-Alliance/semiont/apps/frontend/src/app/global-error.tsx"],
898
- 'not-found': [module3, "/Users/pingel/git_repos/github.com/The-AI-Alliance/semiont/apps/frontend/src/app/not-found.tsx"],
899
- 'forbidden': [module4, "next/dist/client/components/builtin/forbidden.js"],
900
- 'unauthorized': [module5, "next/dist/client/components/builtin/unauthorized.js"],
901
-
902
- }
903
- ]
904
- }.children;
905
- const pages = ["/Users/pingel/git_repos/github.com/The-AI-Alliance/semiont/apps/frontend/src/app/[locale]/moderate/page.tsx"];
906
-
907
-
908
-
909
- const __next_app_require__ = __webpack_require__
910
- const __next_app_load_chunk__ = () => Promise.resolve()
911
- const __next_app__ = {
912
- require: __next_app_require__,
913
- loadChunk: __next_app_load_chunk__
914
- };
429
+ const __next_app_require__ = __webpack_require__
430
+ const __next_app_load_chunk__ = () => Promise.resolve()
431
+ const __next_app__ = {
432
+ require: __next_app_require__,
433
+ loadChunk: __next_app_load_chunk__
434
+ };
915
435
 
916
436
 
917
437
 
@@ -1052,7 +572,7 @@ async function handler(req, res, ctx) {
1052
572
  ...next_dist_server_app_render_entry_base__WEBPACK_IMPORTED_MODULE_26__,
1053
573
  tree,
1054
574
  pages,
1055
- GlobalError: _Users_pingel_git_repos_github_com_The_AI_Alliance_semiont_apps_frontend_src_app_global_error_tsx__WEBPACK_IMPORTED_MODULE_25__["default"],
575
+ GlobalError: _home_runner_work_semiont_semiont_apps_frontend_src_app_global_error_tsx__WEBPACK_IMPORTED_MODULE_25__["default"],
1056
576
  handler,
1057
577
  routeModule,
1058
578
  __next_app__
@@ -1743,26 +1263,506 @@ async function handler(req, res, ctx) {
1743
1263
  })
1744
1264
  }, routerServerContext);
1745
1265
  }
1746
- // rethrow so that we can handle serving error page
1747
- throw err;
1748
- }
1266
+ // rethrow so that we can handle serving error page
1267
+ throw err;
1268
+ }
1269
+ }
1270
+ // TODO: omit this from production builds, only test builds should include it
1271
+ /**
1272
+ * Creates a readable stream that emits a PPR boundary sentinel.
1273
+ *
1274
+ * @returns A readable stream that emits a PPR boundary sentinel.
1275
+ */ function createPPRBoundarySentinel() {
1276
+ return new ReadableStream({
1277
+ start (controller) {
1278
+ controller.enqueue(new TextEncoder().encode('<!-- PPR_BOUNDARY_SENTINEL -->'));
1279
+ controller.close();
1280
+ }
1281
+ });
1282
+ }
1283
+
1284
+ //# sourceMappingURL=app-page.js.map
1285
+
1286
+
1287
+ /***/ }),
1288
+
1289
+ /***/ 29294:
1290
+ /***/ ((module) => {
1291
+
1292
+ "use strict";
1293
+ module.exports = require("next/dist/server/app-render/work-async-storage.external.js");
1294
+
1295
+ /***/ }),
1296
+
1297
+ /***/ 33873:
1298
+ /***/ ((module) => {
1299
+
1300
+ "use strict";
1301
+ module.exports = require("path");
1302
+
1303
+ /***/ }),
1304
+
1305
+ /***/ 39659:
1306
+ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
1307
+
1308
+ "use strict";
1309
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
1310
+ /* harmony export */ Ef3: () => (/* reexport safe */ _home_runner_work_semiont_semiont_packages_react_ui_dist_index_mjs__WEBPACK_IMPORTED_MODULE_0__.LeftSidebar),
1311
+ /* harmony export */ ffs: () => (/* reexport safe */ _home_runner_work_semiont_semiont_packages_react_ui_dist_index_mjs__WEBPACK_IMPORTED_MODULE_0__.AuthTokenProvider),
1312
+ /* harmony export */ pqI: () => (/* reexport safe */ _home_runner_work_semiont_semiont_packages_react_ui_dist_index_mjs__WEBPACK_IMPORTED_MODULE_0__.ApiClientProvider),
1313
+ /* harmony export */ wi6: () => (/* reexport safe */ _home_runner_work_semiont_semiont_packages_react_ui_dist_index_mjs__WEBPACK_IMPORTED_MODULE_0__.Footer)
1314
+ /* harmony export */ });
1315
+ /* harmony import */ var _home_runner_work_semiont_semiont_packages_react_ui_dist_index_mjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(30658);
1316
+
1317
+
1318
+
1319
+ /***/ }),
1320
+
1321
+ /***/ 41025:
1322
+ /***/ ((module) => {
1323
+
1324
+ "use strict";
1325
+ module.exports = require("next/dist/server/app-render/dynamic-access-async-storage.external.js");
1326
+
1327
+ /***/ }),
1328
+
1329
+ /***/ 42351:
1330
+ /***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
1331
+
1332
+ Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 67256));
1333
+
1334
+
1335
+ /***/ }),
1336
+
1337
+ /***/ 62256:
1338
+ /***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
1339
+
1340
+ Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 75555));
1341
+
1342
+
1343
+ /***/ }),
1344
+
1345
+ /***/ 63033:
1346
+ /***/ ((module) => {
1347
+
1348
+ "use strict";
1349
+ module.exports = require("next/dist/server/app-render/work-unit-async-storage.external.js");
1350
+
1351
+ /***/ }),
1352
+
1353
+ /***/ 67256:
1354
+ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
1355
+
1356
+ "use strict";
1357
+ __webpack_require__.r(__webpack_exports__);
1358
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
1359
+ /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
1360
+ /* harmony export */ });
1361
+ /* harmony import */ var react_server_dom_webpack_server__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(25459);
1362
+ /* harmony import */ var react_server_dom_webpack_server__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react_server_dom_webpack_server__WEBPACK_IMPORTED_MODULE_0__);
1363
+ // This file is generated by the Webpack next-flight-loader.
1364
+
1365
+ /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,react_server_dom_webpack_server__WEBPACK_IMPORTED_MODULE_0__.registerClientReference)(
1366
+ function() { throw new Error("Attempted to call the default export of \"/home/runner/work/semiont/semiont/apps/frontend/src/app/[locale]/moderate/page.tsx\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component."); },
1367
+ "/home/runner/work/semiont/semiont/apps/frontend/src/app/[locale]/moderate/page.tsx",
1368
+ "default",
1369
+ ));
1370
+
1371
+
1372
+ /***/ }),
1373
+
1374
+ /***/ 71230:
1375
+ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
1376
+
1377
+ "use strict";
1378
+ __webpack_require__.r(__webpack_exports__);
1379
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
1380
+ /* harmony export */ "default": () => (/* binding */ ModeratePage)
1381
+ /* harmony export */ });
1382
+ /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(78157);
1383
+ /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__);
1384
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(31768);
1385
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
1386
+ /* harmony import */ var next_intl__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(72668);
1387
+ /* harmony import */ var _i18n_routing__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(1915);
1388
+ /* __next_internal_client_entry_do_not_use__ default auto */
1389
+
1390
+
1391
+
1392
+ function ModeratePage() {
1393
+ const t = (0,next_intl__WEBPACK_IMPORTED_MODULE_3__/* .useTranslations */ .c)('Moderation');
1394
+ const router = (0,_i18n_routing__WEBPACK_IMPORTED_MODULE_2__/* .useRouter */ .rd)();
1395
+ process.env.__NEXT_PRIVATE_MINIMIZE_MACRO_FALSE && (0,react__WEBPACK_IMPORTED_MODULE_1__.useEffect)(()=>{
1396
+ // Redirect to Recent Documents as the default page
1397
+ router.replace('/moderate/recent');
1398
+ }, [
1399
+ router
1400
+ ]);
1401
+ return /*#__PURE__*/ (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("div", {
1402
+ className: "flex items-center justify-center py-20",
1403
+ children: /*#__PURE__*/ (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("p", {
1404
+ className: "text-gray-600 dark:text-gray-300",
1405
+ children: t('redirecting')
1406
+ })
1407
+ });
1408
+ }
1409
+
1410
+
1411
+ /***/ }),
1412
+
1413
+ /***/ 71642:
1414
+ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
1415
+
1416
+ "use strict";
1417
+ // ESM COMPAT FLAG
1418
+ __webpack_require__.r(__webpack_exports__);
1419
+
1420
+ // EXPORTS
1421
+ __webpack_require__.d(__webpack_exports__, {
1422
+ "default": () => (/* binding */ ModerateLayout)
1423
+ });
1424
+
1425
+ // EXTERNAL MODULE: ../../node_modules/next/dist/server/route-modules/app-page/vendored/ssr/react-jsx-runtime.js
1426
+ var react_jsx_runtime = __webpack_require__(78157);
1427
+ // EXTERNAL MODULE: ../../node_modules/next/dist/server/route-modules/app-page/vendored/ssr/react.js
1428
+ var react = __webpack_require__(31768);
1429
+ // EXTERNAL MODULE: ../../node_modules/next-intl/dist/esm/production/react-client/index.js
1430
+ var react_client = __webpack_require__(72668);
1431
+ // EXTERNAL MODULE: ../../node_modules/next-auth/react/index.js
1432
+ var next_auth_react = __webpack_require__(16422);
1433
+ // EXTERNAL MODULE: __barrel_optimize__?names=ApiClientProvider,AuthTokenProvider,Footer,LeftSidebar!=!../../packages/react-ui/dist/index.mjs
1434
+ var dist = __webpack_require__(39659);
1435
+ // EXTERNAL MODULE: ./src/i18n/routing.ts
1436
+ var routing = __webpack_require__(1915);
1437
+ // EXTERNAL MODULE: __barrel_optimize__?names=SimpleNavigation,useEventSubscriptions!=!../../packages/react-ui/dist/index.mjs
1438
+ var react_ui_dist = __webpack_require__(93346);
1439
+ ;// ../../node_modules/@heroicons/react/24/outline/esm/ClockIcon.js
1440
+
1441
+ function ClockIcon({ title, titleId, ...props }, svgRef) {
1442
+ return /*#__PURE__*/ react.createElement("svg", Object.assign({
1443
+ xmlns: "http://www.w3.org/2000/svg",
1444
+ fill: "none",
1445
+ viewBox: "0 0 24 24",
1446
+ strokeWidth: 1.5,
1447
+ stroke: "currentColor",
1448
+ "aria-hidden": "true",
1449
+ "data-slot": "icon",
1450
+ ref: svgRef,
1451
+ "aria-labelledby": titleId
1452
+ }, props), title ? /*#__PURE__*/ react.createElement("title", {
1453
+ id: titleId
1454
+ }, title) : null, /*#__PURE__*/ react.createElement("path", {
1455
+ strokeLinecap: "round",
1456
+ strokeLinejoin: "round",
1457
+ d: "M12 6v6h4.5m4.5 0a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"
1458
+ }));
1459
+ }
1460
+ const ForwardRef = /*#__PURE__*/ react.forwardRef(ClockIcon);
1461
+ /* harmony default export */ const esm_ClockIcon = (ForwardRef);
1462
+
1463
+ ;// ../../node_modules/@heroicons/react/24/outline/esm/TagIcon.js
1464
+
1465
+ function TagIcon({ title, titleId, ...props }, svgRef) {
1466
+ return /*#__PURE__*/ react.createElement("svg", Object.assign({
1467
+ xmlns: "http://www.w3.org/2000/svg",
1468
+ fill: "none",
1469
+ viewBox: "0 0 24 24",
1470
+ strokeWidth: 1.5,
1471
+ stroke: "currentColor",
1472
+ "aria-hidden": "true",
1473
+ "data-slot": "icon",
1474
+ ref: svgRef,
1475
+ "aria-labelledby": titleId
1476
+ }, props), title ? /*#__PURE__*/ react.createElement("title", {
1477
+ id: titleId
1478
+ }, title) : null, /*#__PURE__*/ react.createElement("path", {
1479
+ strokeLinecap: "round",
1480
+ strokeLinejoin: "round",
1481
+ d: "M9.568 3H5.25A2.25 2.25 0 0 0 3 5.25v4.318c0 .597.237 1.17.659 1.591l9.581 9.581c.699.699 1.78.872 2.607.33a18.095 18.095 0 0 0 5.223-5.223c.542-.827.369-1.908-.33-2.607L11.16 3.66A2.25 2.25 0 0 0 9.568 3Z"
1482
+ }), /*#__PURE__*/ react.createElement("path", {
1483
+ strokeLinecap: "round",
1484
+ strokeLinejoin: "round",
1485
+ d: "M6 6h.008v.008H6V6Z"
1486
+ }));
1487
+ }
1488
+ const TagIcon_ForwardRef = /*#__PURE__*/ react.forwardRef(TagIcon);
1489
+ /* harmony default export */ const esm_TagIcon = (TagIcon_ForwardRef);
1490
+
1491
+ ;// ../../node_modules/@heroicons/react/24/outline/esm/BookOpenIcon.js
1492
+
1493
+ function BookOpenIcon({ title, titleId, ...props }, svgRef) {
1494
+ return /*#__PURE__*/ react.createElement("svg", Object.assign({
1495
+ xmlns: "http://www.w3.org/2000/svg",
1496
+ fill: "none",
1497
+ viewBox: "0 0 24 24",
1498
+ strokeWidth: 1.5,
1499
+ stroke: "currentColor",
1500
+ "aria-hidden": "true",
1501
+ "data-slot": "icon",
1502
+ ref: svgRef,
1503
+ "aria-labelledby": titleId
1504
+ }, props), title ? /*#__PURE__*/ react.createElement("title", {
1505
+ id: titleId
1506
+ }, title) : null, /*#__PURE__*/ react.createElement("path", {
1507
+ strokeLinecap: "round",
1508
+ strokeLinejoin: "round",
1509
+ d: "M12 6.042A8.967 8.967 0 0 0 6 3.75c-1.052 0-2.062.18-3 .512v14.25A8.987 8.987 0 0 1 6 18c2.305 0 4.408.867 6 2.292m0-14.25a8.966 8.966 0 0 1 6-2.292c1.052 0 2.062.18 3 .512v14.25A8.987 8.987 0 0 0 18 18a8.967 8.967 0 0 0-6 2.292m0-14.25v14.25"
1510
+ }));
1511
+ }
1512
+ const BookOpenIcon_ForwardRef = /*#__PURE__*/ react.forwardRef(BookOpenIcon);
1513
+ /* harmony default export */ const esm_BookOpenIcon = (BookOpenIcon_ForwardRef);
1514
+
1515
+ // EXTERNAL MODULE: ../../node_modules/@heroicons/react/24/outline/esm/ChevronLeftIcon.js
1516
+ var ChevronLeftIcon = __webpack_require__(18689);
1517
+ // EXTERNAL MODULE: ../../node_modules/@heroicons/react/24/outline/esm/Bars3Icon.js
1518
+ var Bars3Icon = __webpack_require__(24768);
1519
+ ;// ./src/components/moderation/ModerationNavigation.tsx
1520
+ /* __next_internal_client_entry_do_not_use__ ModerationNavigation auto */
1521
+
1522
+
1523
+
1524
+
1525
+
1526
+
1527
+ function ModerationNavigation({ isCollapsed, toggleCollapsed, navigationMenu }) {
1528
+ const t = (0,react_client/* useTranslations */.c)('Moderation');
1529
+ const tSidebar = (0,react_client/* useTranslations */.c)('Sidebar');
1530
+ const pathname = (0,routing/* usePathname */.a8)();
1531
+ // Handle sidebar toggle events
1532
+ const handleSidebarToggle = (0,react.useCallback)(()=>{
1533
+ toggleCollapsed();
1534
+ }, [
1535
+ toggleCollapsed
1536
+ ]);
1537
+ // Subscribe to sidebar toggle events
1538
+ (0,react_ui_dist/* useEventSubscriptions */.C$z)({
1539
+ 'browse:sidebar-toggle': handleSidebarToggle
1540
+ });
1541
+ const navigation = [
1542
+ {
1543
+ name: t('recentResources'),
1544
+ href: '/moderate/recent',
1545
+ icon: esm_ClockIcon,
1546
+ description: t('recentResourcesDescription')
1547
+ },
1548
+ {
1549
+ name: t('entityTags'),
1550
+ href: '/moderate/entity-tags',
1551
+ icon: esm_TagIcon,
1552
+ description: t('entityTagsDescription')
1553
+ },
1554
+ {
1555
+ name: t('tagSchemas'),
1556
+ href: '/moderate/tag-schemas',
1557
+ icon: esm_BookOpenIcon,
1558
+ description: t('tagSchemasDescription')
1559
+ }
1560
+ ];
1561
+ return /*#__PURE__*/ (0,react_jsx_runtime.jsx)(react_ui_dist/* SimpleNavigation */.TbX, {
1562
+ title: t('title'),
1563
+ items: navigation,
1564
+ currentPath: pathname,
1565
+ LinkComponent: routing/* Link */.N_,
1566
+ ...navigationMenu && {
1567
+ dropdownContent: navigationMenu
1568
+ },
1569
+ isCollapsed: isCollapsed,
1570
+ icons: {
1571
+ chevronLeft: ChevronLeftIcon/* default */.A,
1572
+ bars: Bars3Icon/* default */.A
1573
+ },
1574
+ collapseSidebarLabel: tSidebar('collapseSidebar'),
1575
+ expandSidebarLabel: tSidebar('expandSidebar')
1576
+ });
1749
1577
  }
1750
- // TODO: omit this from production builds, only test builds should include it
1751
- /**
1752
- * Creates a readable stream that emits a PPR boundary sentinel.
1753
- *
1754
- * @returns A readable stream that emits a PPR boundary sentinel.
1755
- */ function createPPRBoundarySentinel() {
1756
- return new ReadableStream({
1757
- start (controller) {
1758
- controller.enqueue(new TextEncoder().encode('<!-- PPR_BOUNDARY_SENTINEL -->'));
1759
- controller.close();
1760
- }
1578
+
1579
+ // EXTERNAL MODULE: ./src/components/CookiePreferences.tsx
1580
+ var CookiePreferences = __webpack_require__(76159);
1581
+ // EXTERNAL MODULE: ./src/contexts/KeyboardShortcutsContext.tsx + 3 modules
1582
+ var KeyboardShortcutsContext = __webpack_require__(99192);
1583
+ // EXTERNAL MODULE: ./src/lib/routing.ts
1584
+ var lib_routing = __webpack_require__(32302);
1585
+ // EXTERNAL MODULE: ./src/hooks/useAuth.ts + 1 modules
1586
+ var useAuth = __webpack_require__(3919);
1587
+ ;// ./src/app/[locale]/moderate/layout.tsx
1588
+ /* __next_internal_client_entry_do_not_use__ default auto */
1589
+
1590
+
1591
+
1592
+
1593
+
1594
+
1595
+
1596
+
1597
+
1598
+ // Note: Authentication is handled by middleware.ts for all moderate routes
1599
+ // This ensures centralized security and returns 404 for unauthorized users
1600
+ function ModerateLayout({ children }) {
1601
+ const t = (0,react_client/* useTranslations */.c)('Footer');
1602
+ const tNav = (0,react_client/* useTranslations */.c)('Navigation');
1603
+ const tHome = (0,react_client/* useTranslations */.c)('Home');
1604
+ const keyboardContext = (0,react.useContext)(KeyboardShortcutsContext/* KeyboardShortcutsContext */.GZ);
1605
+ const { isAuthenticated, isAdmin, isModerator } = (0,useAuth/* useAuth */.As)();
1606
+ const { data: session } = (0,next_auth_react.useSession)();
1607
+ // Extract auth token from session
1608
+ const authToken = session?.backendToken || null;
1609
+ // Middleware has already verified moderator/admin access
1610
+ return /*#__PURE__*/ (0,react_jsx_runtime.jsx)(dist/* AuthTokenProvider */.ffs, {
1611
+ token: authToken,
1612
+ children: /*#__PURE__*/ (0,react_jsx_runtime.jsx)(dist/* ApiClientProvider */.pqI, {
1613
+ baseUrl: "",
1614
+ children: /*#__PURE__*/ (0,react_jsx_runtime.jsxs)("div", {
1615
+ className: "min-h-screen bg-gray-50 dark:bg-gray-900 flex flex-col",
1616
+ children: [
1617
+ /*#__PURE__*/ (0,react_jsx_runtime.jsxs)("div", {
1618
+ className: "flex flex-1",
1619
+ children: [
1620
+ /*#__PURE__*/ (0,react_jsx_runtime.jsx)(dist/* LeftSidebar */.Ef3, {
1621
+ Link: lib_routing/* Link */.N,
1622
+ routes: lib_routing/* routes */.J,
1623
+ t: tNav,
1624
+ tHome: tHome,
1625
+ brandingLink: "/",
1626
+ collapsible: true,
1627
+ storageKey: "moderation-sidebar-collapsed",
1628
+ isAuthenticated: isAuthenticated,
1629
+ isAdmin: isAdmin,
1630
+ isModerator: isModerator,
1631
+ children: (isCollapsed, toggleCollapsed, navigationMenu)=>/*#__PURE__*/ (0,react_jsx_runtime.jsx)(ModerationNavigation, {
1632
+ isCollapsed: isCollapsed,
1633
+ toggleCollapsed: toggleCollapsed,
1634
+ navigationMenu: navigationMenu
1635
+ })
1636
+ }),
1637
+ /*#__PURE__*/ (0,react_jsx_runtime.jsx)("main", {
1638
+ className: "flex-1 p-6 flex flex-col",
1639
+ children: /*#__PURE__*/ (0,react_jsx_runtime.jsx)("div", {
1640
+ className: "max-w-7xl mx-auto flex-1 flex flex-col w-full",
1641
+ children: children
1642
+ })
1643
+ })
1644
+ ]
1645
+ }),
1646
+ /*#__PURE__*/ (0,react_jsx_runtime.jsx)(dist/* Footer */.wi6, {
1647
+ Link: lib_routing/* Link */.N,
1648
+ routes: lib_routing/* routes */.J,
1649
+ t: t,
1650
+ CookiePreferences: CookiePreferences/* CookiePreferences */.f,
1651
+ ...keyboardContext?.openKeyboardHelp && {
1652
+ onOpenKeyboardHelp: keyboardContext.openKeyboardHelp
1653
+ }
1654
+ })
1655
+ ]
1656
+ })
1657
+ })
1761
1658
  });
1762
1659
  }
1763
1660
 
1764
- //# sourceMappingURL=app-page.js.map
1765
1661
 
1662
+ /***/ }),
1663
+
1664
+ /***/ 72485:
1665
+ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
1666
+
1667
+ "use strict";
1668
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
1669
+ /* harmony export */ A: () => (__WEBPACK_DEFAULT_EXPORT__)
1670
+ /* harmony export */ });
1671
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(31768);
1672
+
1673
+ function TrashIcon({ title, titleId, ...props }, svgRef) {
1674
+ return /*#__PURE__*/ react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg", Object.assign({
1675
+ xmlns: "http://www.w3.org/2000/svg",
1676
+ fill: "none",
1677
+ viewBox: "0 0 24 24",
1678
+ strokeWidth: 1.5,
1679
+ stroke: "currentColor",
1680
+ "aria-hidden": "true",
1681
+ "data-slot": "icon",
1682
+ ref: svgRef,
1683
+ "aria-labelledby": titleId
1684
+ }, props), title ? /*#__PURE__*/ react__WEBPACK_IMPORTED_MODULE_0__.createElement("title", {
1685
+ id: titleId
1686
+ }, title) : null, /*#__PURE__*/ react__WEBPACK_IMPORTED_MODULE_0__.createElement("path", {
1687
+ strokeLinecap: "round",
1688
+ strokeLinejoin: "round",
1689
+ d: "m14.74 9-.346 9m-4.788 0L9.26 9m9.968-3.21c.342.052.682.107 1.022.166m-1.022-.165L18.16 19.673a2.25 2.25 0 0 1-2.244 2.077H8.084a2.25 2.25 0 0 1-2.244-2.077L4.772 5.79m14.456 0a48.108 48.108 0 0 0-3.478-.397m-12 .562c.34-.059.68-.114 1.022-.165m0 0a48.11 48.11 0 0 1 3.478-.397m7.5 0v-.916c0-1.18-.91-2.164-2.09-2.201a51.964 51.964 0 0 0-3.32 0c-1.18.037-2.09 1.022-2.09 2.201v.916m7.5 0a48.667 48.667 0 0 0-7.5 0"
1690
+ }));
1691
+ }
1692
+ const ForwardRef = /*#__PURE__*/ react__WEBPACK_IMPORTED_MODULE_0__.forwardRef(TrashIcon);
1693
+ /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (ForwardRef);
1694
+
1695
+
1696
+ /***/ }),
1697
+
1698
+ /***/ 74654:
1699
+ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
1700
+
1701
+ "use strict";
1702
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
1703
+ /* harmony export */ A: () => (__WEBPACK_DEFAULT_EXPORT__)
1704
+ /* harmony export */ });
1705
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(31768);
1706
+
1707
+ function XMarkIcon({ title, titleId, ...props }, svgRef) {
1708
+ return /*#__PURE__*/ react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg", Object.assign({
1709
+ xmlns: "http://www.w3.org/2000/svg",
1710
+ fill: "none",
1711
+ viewBox: "0 0 24 24",
1712
+ strokeWidth: 1.5,
1713
+ stroke: "currentColor",
1714
+ "aria-hidden": "true",
1715
+ "data-slot": "icon",
1716
+ ref: svgRef,
1717
+ "aria-labelledby": titleId
1718
+ }, props), title ? /*#__PURE__*/ react__WEBPACK_IMPORTED_MODULE_0__.createElement("title", {
1719
+ id: titleId
1720
+ }, title) : null, /*#__PURE__*/ react__WEBPACK_IMPORTED_MODULE_0__.createElement("path", {
1721
+ strokeLinecap: "round",
1722
+ strokeLinejoin: "round",
1723
+ d: "M6 18 18 6M6 6l12 12"
1724
+ }));
1725
+ }
1726
+ const ForwardRef = /*#__PURE__*/ react__WEBPACK_IMPORTED_MODULE_0__.forwardRef(XMarkIcon);
1727
+ /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (ForwardRef);
1728
+
1729
+
1730
+ /***/ }),
1731
+
1732
+ /***/ 75555:
1733
+ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
1734
+
1735
+ "use strict";
1736
+ __webpack_require__.r(__webpack_exports__);
1737
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
1738
+ /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
1739
+ /* harmony export */ });
1740
+ /* harmony import */ var react_server_dom_webpack_server__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(25459);
1741
+ /* harmony import */ var react_server_dom_webpack_server__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react_server_dom_webpack_server__WEBPACK_IMPORTED_MODULE_0__);
1742
+ // This file is generated by the Webpack next-flight-loader.
1743
+
1744
+ /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,react_server_dom_webpack_server__WEBPACK_IMPORTED_MODULE_0__.registerClientReference)(
1745
+ function() { throw new Error("Attempted to call the default export of \"/home/runner/work/semiont/semiont/apps/frontend/src/app/[locale]/moderate/layout.tsx\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component."); },
1746
+ "/home/runner/work/semiont/semiont/apps/frontend/src/app/[locale]/moderate/layout.tsx",
1747
+ "default",
1748
+ ));
1749
+
1750
+
1751
+ /***/ }),
1752
+
1753
+ /***/ 79551:
1754
+ /***/ ((module) => {
1755
+
1756
+ "use strict";
1757
+ module.exports = require("url");
1758
+
1759
+ /***/ }),
1760
+
1761
+ /***/ 86439:
1762
+ /***/ ((module) => {
1763
+
1764
+ "use strict";
1765
+ module.exports = require("next/dist/shared/lib/no-fallback-error.external");
1766
1766
 
1767
1767
  /***/ }),
1768
1768
 
@@ -1771,10 +1771,10 @@ async function handler(req, res, ctx) {
1771
1771
 
1772
1772
  "use strict";
1773
1773
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
1774
- /* harmony export */ C$z: () => (/* reexport safe */ _Users_pingel_git_repos_github_com_The_AI_Alliance_semiont_packages_react_ui_dist_index_mjs__WEBPACK_IMPORTED_MODULE_0__.useEventSubscriptions),
1775
- /* harmony export */ TbX: () => (/* reexport safe */ _Users_pingel_git_repos_github_com_The_AI_Alliance_semiont_packages_react_ui_dist_index_mjs__WEBPACK_IMPORTED_MODULE_0__.SimpleNavigation)
1774
+ /* harmony export */ C$z: () => (/* reexport safe */ _home_runner_work_semiont_semiont_packages_react_ui_dist_index_mjs__WEBPACK_IMPORTED_MODULE_0__.useEventSubscriptions),
1775
+ /* harmony export */ TbX: () => (/* reexport safe */ _home_runner_work_semiont_semiont_packages_react_ui_dist_index_mjs__WEBPACK_IMPORTED_MODULE_0__.SimpleNavigation)
1776
1776
  /* harmony export */ });
1777
- /* harmony import */ var _Users_pingel_git_repos_github_com_The_AI_Alliance_semiont_packages_react_ui_dist_index_mjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(30658);
1777
+ /* harmony import */ var _home_runner_work_semiont_semiont_packages_react_ui_dist_index_mjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(30658);
1778
1778
 
1779
1779
 
1780
1780
 
@@ -1855,7 +1855,7 @@ const ForwardRef = /*#__PURE__*/ react__WEBPACK_IMPORTED_MODULE_0__.forwardRef(S
1855
1855
  var __webpack_require__ = require("../../../webpack-runtime.js");
1856
1856
  __webpack_require__.C(exports);
1857
1857
  var __webpack_exec__ = (moduleId) => (__webpack_require__(__webpack_require__.s = moduleId))
1858
- var __webpack_exports__ = __webpack_require__.X(0, [4725,1854,1940,1037,7912,255,580], () => (__webpack_exec__(89862)));
1858
+ var __webpack_exports__ = __webpack_require__.X(0, [4725,1854,1940,1037,7912,8387,580], () => (__webpack_exec__(28521)));
1859
1859
  module.exports = __webpack_exports__;
1860
1860
 
1861
1861
  })();