@dads-framework/access 0.0.0-stage → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (208) hide show
  1. package/LICENSE.md +21 -0
  2. package/README.md +98 -2
  3. package/dist/access.tsbuildinfo +1 -0
  4. package/dist/core/access-model.d.ts +30 -0
  5. package/dist/core/access-model.d.ts.map +1 -0
  6. package/dist/core/access-model.js +27 -0
  7. package/dist/core/access-model.js.map +1 -0
  8. package/dist/core/catalog-only.d.ts +42 -0
  9. package/dist/core/catalog-only.d.ts.map +1 -0
  10. package/dist/core/catalog-only.js +29 -0
  11. package/dist/core/catalog-only.js.map +1 -0
  12. package/dist/core/combinators.d.ts +25 -0
  13. package/dist/core/combinators.d.ts.map +1 -0
  14. package/dist/core/combinators.js +61 -0
  15. package/dist/core/combinators.js.map +1 -0
  16. package/dist/core/compare-access-ir.d.ts +9 -0
  17. package/dist/core/compare-access-ir.d.ts.map +1 -0
  18. package/dist/core/compare-access-ir.js +170 -0
  19. package/dist/core/compare-access-ir.js.map +1 -0
  20. package/dist/core/conformance.d.ts +21 -0
  21. package/dist/core/conformance.d.ts.map +1 -0
  22. package/dist/core/conformance.js +87 -0
  23. package/dist/core/conformance.js.map +1 -0
  24. package/dist/core/emit-ir.d.ts +8 -0
  25. package/dist/core/emit-ir.d.ts.map +1 -0
  26. package/dist/core/emit-ir.js +103 -0
  27. package/dist/core/emit-ir.js.map +1 -0
  28. package/dist/core/emit-zed.d.ts +9 -0
  29. package/dist/core/emit-zed.d.ts.map +1 -0
  30. package/dist/core/emit-zed.js +76 -0
  31. package/dist/core/emit-zed.js.map +1 -0
  32. package/dist/core/entity-handle.d.ts +39 -0
  33. package/dist/core/entity-handle.d.ts.map +1 -0
  34. package/dist/core/entity-handle.js +15 -0
  35. package/dist/core/entity-handle.js.map +1 -0
  36. package/dist/core/entity-kinds.d.ts +24 -0
  37. package/dist/core/entity-kinds.d.ts.map +1 -0
  38. package/dist/core/entity-kinds.js +30 -0
  39. package/dist/core/entity-kinds.js.map +1 -0
  40. package/dist/core/generated-header.d.ts +4 -0
  41. package/dist/core/generated-header.d.ts.map +1 -0
  42. package/dist/core/generated-header.js +6 -0
  43. package/dist/core/generated-header.js.map +1 -0
  44. package/dist/core/grantable.d.ts +62 -0
  45. package/dist/core/grantable.d.ts.map +1 -0
  46. package/dist/core/grantable.js +31 -0
  47. package/dist/core/grantable.js.map +1 -0
  48. package/dist/core/holders.d.ts +26 -0
  49. package/dist/core/holders.d.ts.map +1 -0
  50. package/dist/core/holders.js +38 -0
  51. package/dist/core/holders.js.map +1 -0
  52. package/dist/core/ir.d.ts +51 -0
  53. package/dist/core/ir.d.ts.map +1 -0
  54. package/dist/core/ir.js +2 -0
  55. package/dist/core/ir.js.map +1 -0
  56. package/dist/core/lifecycle.d.ts +10 -0
  57. package/dist/core/lifecycle.d.ts.map +1 -0
  58. package/dist/core/lifecycle.js +4 -0
  59. package/dist/core/lifecycle.js.map +1 -0
  60. package/dist/core/model.d.ts +43 -0
  61. package/dist/core/model.d.ts.map +1 -0
  62. package/dist/core/model.js +100 -0
  63. package/dist/core/model.js.map +1 -0
  64. package/dist/core/parse-zed.d.ts +8 -0
  65. package/dist/core/parse-zed.d.ts.map +1 -0
  66. package/dist/core/parse-zed.js +197 -0
  67. package/dist/core/parse-zed.js.map +1 -0
  68. package/dist/core/refs.d.ts +43 -0
  69. package/dist/core/refs.d.ts.map +1 -0
  70. package/dist/core/refs.js +28 -0
  71. package/dist/core/refs.js.map +1 -0
  72. package/dist/core/scope-binding-check.d.ts +11 -0
  73. package/dist/core/scope-binding-check.d.ts.map +1 -0
  74. package/dist/core/scope-binding-check.js +51 -0
  75. package/dist/core/scope-binding-check.js.map +1 -0
  76. package/dist/core/scope-bindings.d.ts +47 -0
  77. package/dist/core/scope-bindings.d.ts.map +1 -0
  78. package/dist/core/scope-bindings.js +8 -0
  79. package/dist/core/scope-bindings.js.map +1 -0
  80. package/dist/core/scope-plan-read.d.ts +9 -0
  81. package/dist/core/scope-plan-read.d.ts.map +1 -0
  82. package/dist/core/scope-plan-read.js +44 -0
  83. package/dist/core/scope-plan-read.js.map +1 -0
  84. package/dist/core/scope-plan-simplify.d.ts +5 -0
  85. package/dist/core/scope-plan-simplify.d.ts.map +1 -0
  86. package/dist/core/scope-plan-simplify.js +71 -0
  87. package/dist/core/scope-plan-simplify.js.map +1 -0
  88. package/dist/core/scope-plan.d.ts +77 -0
  89. package/dist/core/scope-plan.d.ts.map +1 -0
  90. package/dist/core/scope-plan.js +190 -0
  91. package/dist/core/scope-plan.js.map +1 -0
  92. package/dist/core/visible-record-exceptions.d.ts +21 -0
  93. package/dist/core/visible-record-exceptions.d.ts.map +1 -0
  94. package/dist/core/visible-record-exceptions.js +27 -0
  95. package/dist/core/visible-record-exceptions.js.map +1 -0
  96. package/dist/core/world.d.ts +44 -0
  97. package/dist/core/world.d.ts.map +1 -0
  98. package/dist/core/world.js +60 -0
  99. package/dist/core/world.js.map +1 -0
  100. package/dist/core/write-artifacts.d.ts +15 -0
  101. package/dist/core/write-artifacts.d.ts.map +1 -0
  102. package/dist/core/write-artifacts.js +53 -0
  103. package/dist/core/write-artifacts.js.map +1 -0
  104. package/dist/core/zod-enums.d.ts +3 -0
  105. package/dist/core/zod-enums.d.ts.map +1 -0
  106. package/dist/core/zod-enums.js +9 -0
  107. package/dist/core/zod-enums.js.map +1 -0
  108. package/dist/index.d.ts +40 -0
  109. package/dist/index.d.ts.map +1 -0
  110. package/dist/index.js +24 -0
  111. package/dist/index.js.map +1 -0
  112. package/dist/runtime/access-changes.d.ts +92 -0
  113. package/dist/runtime/access-changes.d.ts.map +1 -0
  114. package/dist/runtime/access-changes.js +57 -0
  115. package/dist/runtime/access-changes.js.map +1 -0
  116. package/dist/runtime/answer-once-authorization.d.ts +40 -0
  117. package/dist/runtime/answer-once-authorization.d.ts.map +1 -0
  118. package/dist/runtime/answer-once-authorization.js +172 -0
  119. package/dist/runtime/answer-once-authorization.js.map +1 -0
  120. package/dist/runtime/apply-access-changes-after-commit.d.ts +39 -0
  121. package/dist/runtime/apply-access-changes-after-commit.d.ts.map +1 -0
  122. package/dist/runtime/apply-access-changes-after-commit.js +37 -0
  123. package/dist/runtime/apply-access-changes-after-commit.js.map +1 -0
  124. package/dist/runtime/authorization-consistency-cookie.d.ts +9 -0
  125. package/dist/runtime/authorization-consistency-cookie.d.ts.map +1 -0
  126. package/dist/runtime/authorization-consistency-cookie.js +46 -0
  127. package/dist/runtime/authorization-consistency-cookie.js.map +1 -0
  128. package/dist/runtime/authorization-consistency.d.ts +6 -0
  129. package/dist/runtime/authorization-consistency.d.ts.map +1 -0
  130. package/dist/runtime/authorization-consistency.js +23 -0
  131. package/dist/runtime/authorization-consistency.js.map +1 -0
  132. package/dist/runtime/authorization.d.ts +137 -0
  133. package/dist/runtime/authorization.d.ts.map +1 -0
  134. package/dist/runtime/authorization.js +35 -0
  135. package/dist/runtime/authorization.js.map +1 -0
  136. package/dist/runtime/fake-authorization.d.ts +39 -0
  137. package/dist/runtime/fake-authorization.d.ts.map +1 -0
  138. package/dist/runtime/fake-authorization.js +147 -0
  139. package/dist/runtime/fake-authorization.js.map +1 -0
  140. package/dist/runtime/index.d.ts +13 -0
  141. package/dist/runtime/index.d.ts.map +1 -0
  142. package/dist/runtime/index.js +12 -0
  143. package/dist/runtime/index.js.map +1 -0
  144. package/dist/runtime/owner-lock.d.ts +36 -0
  145. package/dist/runtime/owner-lock.d.ts.map +1 -0
  146. package/dist/runtime/owner-lock.js +102 -0
  147. package/dist/runtime/owner-lock.js.map +1 -0
  148. package/dist/runtime/present-token.d.ts +2 -0
  149. package/dist/runtime/present-token.d.ts.map +1 -0
  150. package/dist/runtime/present-token.js +4 -0
  151. package/dist/runtime/present-token.js.map +1 -0
  152. package/dist/runtime/question-identity.d.ts +5 -0
  153. package/dist/runtime/question-identity.d.ts.map +1 -0
  154. package/dist/runtime/question-identity.js +16 -0
  155. package/dist/runtime/question-identity.js.map +1 -0
  156. package/dist/runtime/recording-authorization.d.ts +39 -0
  157. package/dist/runtime/recording-authorization.d.ts.map +1 -0
  158. package/dist/runtime/recording-authorization.js +56 -0
  159. package/dist/runtime/recording-authorization.js.map +1 -0
  160. package/dist/runtime/relationship-page.d.ts +12 -0
  161. package/dist/runtime/relationship-page.d.ts.map +1 -0
  162. package/dist/runtime/relationship-page.js +2 -0
  163. package/dist/runtime/relationship-page.js.map +1 -0
  164. package/dist/runtime/request-subject.d.ts +49 -0
  165. package/dist/runtime/request-subject.d.ts.map +1 -0
  166. package/dist/runtime/request-subject.js +8 -0
  167. package/dist/runtime/request-subject.js.map +1 -0
  168. package/dist/runtime/resolve-read-consistency.d.ts +15 -0
  169. package/dist/runtime/resolve-read-consistency.d.ts.map +1 -0
  170. package/dist/runtime/resolve-read-consistency.js +13 -0
  171. package/dist/runtime/resolve-read-consistency.js.map +1 -0
  172. package/dist/runtime/route-access.d.ts +66 -0
  173. package/dist/runtime/route-access.d.ts.map +1 -0
  174. package/dist/runtime/route-access.js +35 -0
  175. package/dist/runtime/route-access.js.map +1 -0
  176. package/dist/runtime/scope-answer.d.ts +47 -0
  177. package/dist/runtime/scope-answer.d.ts.map +1 -0
  178. package/dist/runtime/scope-answer.js +84 -0
  179. package/dist/runtime/scope-answer.js.map +1 -0
  180. package/dist/runtime/testing.d.ts +4 -0
  181. package/dist/runtime/testing.d.ts.map +1 -0
  182. package/dist/runtime/testing.js +4 -0
  183. package/dist/runtime/testing.js.map +1 -0
  184. package/dist/schema/apply-desired-schema.d.ts +20 -0
  185. package/dist/schema/apply-desired-schema.d.ts.map +1 -0
  186. package/dist/schema/apply-desired-schema.js +115 -0
  187. package/dist/schema/apply-desired-schema.js.map +1 -0
  188. package/dist/schema/authorization-schema-store.d.ts +13 -0
  189. package/dist/schema/authorization-schema-store.d.ts.map +1 -0
  190. package/dist/schema/authorization-schema-store.js +3 -0
  191. package/dist/schema/authorization-schema-store.js.map +1 -0
  192. package/dist/schema/index.d.ts +6 -0
  193. package/dist/schema/index.d.ts.map +1 -0
  194. package/dist/schema/index.js +6 -0
  195. package/dist/schema/index.js.map +1 -0
  196. package/dist/schema/logic/parse-write-schema-blocker.d.ts +16 -0
  197. package/dist/schema/logic/parse-write-schema-blocker.d.ts.map +1 -0
  198. package/dist/schema/logic/parse-write-schema-blocker.js +42 -0
  199. package/dist/schema/logic/parse-write-schema-blocker.js.map +1 -0
  200. package/dist/schema/logic/parse-zed-schema-surface.d.ts +11 -0
  201. package/dist/schema/logic/parse-zed-schema-surface.d.ts.map +1 -0
  202. package/dist/schema/logic/parse-zed-schema-surface.js +54 -0
  203. package/dist/schema/logic/parse-zed-schema-surface.js.map +1 -0
  204. package/dist/schema/logic/plan-schema-contraction.d.ts +9 -0
  205. package/dist/schema/logic/plan-schema-contraction.d.ts.map +1 -0
  206. package/dist/schema/logic/plan-schema-contraction.js +21 -0
  207. package/dist/schema/logic/plan-schema-contraction.js.map +1 -0
  208. package/package.json +50 -4
package/LICENSE.md ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Bryton Cooper
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md CHANGED
@@ -1,3 +1,99 @@
1
- # Temporary Holding Version
1
+ # `@dads-framework/access`
2
2
 
3
- This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.
3
+ Define relationship-based permissions in TypeScript. Use the composed model
4
+ to enforce permissions, generate a SpiceDB schema, or build scoped lists.
5
+
6
+ ## Try it
7
+
8
+ In the generated starter, [`libraries/app-runtime/index.ts`](../../apps/kit-workbench/libraries/app-runtime/index.ts)
9
+ defines account and tenant access handles shared by the domains.
10
+ [`assembly/start-app.ts`](../../apps/kit-workbench/assembly/start-app.ts) composes the selected API's declarations into one
11
+ model before opening its services.
12
+
13
+ Use Node.js 22 or later. This example emits schema text locally and needs no
14
+ authorization datastore.
15
+
16
+ ```sh
17
+ npm install @dads-framework/access zod
18
+ npm install -D tsx
19
+ ```
20
+
21
+ Save as `team-schema.mts` and run `npx tsx team-schema.mts`.
22
+
23
+ <!-- dads:check-example -->
24
+
25
+ ```ts
26
+ import {
27
+ access,
28
+ accessModel,
29
+ emitZed,
30
+ entityHandle,
31
+ } from "@dads-framework/access";
32
+ import { z } from "zod";
33
+
34
+ const user = entityHandle({ wireName: "user", idSchema: z.string() });
35
+ const team = entityHandle({
36
+ wireName: "team",
37
+ idSchema: z.string(),
38
+ kind: "scope",
39
+ });
40
+ const teamAccess = access(team, {
41
+ roles: { member: user },
42
+ permissions: (roles) => ({ view: [roles.member] }),
43
+ });
44
+ const userAccess = access(user, { roles: {}, permissions: () => ({}) });
45
+
46
+ const model = accessModel([userAccess, teamAccess]);
47
+ console.log(emitZed(model));
48
+ ```
49
+
50
+ The output includes `permission view = member` on the team definition.
51
+ In a service using this model, test a team member and a user with no member
52
+ relationship. The first should see the team's records. The second should
53
+ receive a denial or an empty scoped list, according to the operation.
54
+
55
+ ## Use it
56
+
57
+ Define handles and permissions in the packages that own them. At application startup, pass their declarations and optional `scopeBindings` to `accessModel`. The model resolves permission expressions after the declaration modules have loaded. Use the same model for schema generation, route registration, and record lookup guards.
58
+
59
+ For permissions that customers may grant, `grantable` takes the app's scope names and direct subject handle. Use `membersOf` to declare an optional group subject. Use `lifecycleTrigger(name)` to name a grant removal event. The application handles the event and removes the grant.
60
+
61
+ ## What it refuses to do
62
+
63
+ Composition rejects duplicate entity names or scope bindings for an omitted definition. A scope plan with an unbound role or cyclic traversal fails to compile.
64
+
65
+ ## Contract
66
+
67
+ `emitAccessIr(model)` returns plain data and `emitZed(model)` produces SpiceDB schema text. `checkAccessConformance(model.definitions)` checks grant metadata and grant requirements. `checkScopeBindings(model)` checks the default `view` permission of each bound record.
68
+
69
+ Permission expressions support relationship traversal, unions, intersections, and exclusions. Contextual conditions and SpiceDB caveats are outside the compiler's supported syntax.
70
+
71
+ ### Checking a committed SpiceDB schema
72
+
73
+ If your project commits generated Zed, compare that artifact with the output of
74
+ its current composed model in your schema-generation test. The artifact writer
75
+ recognizes a Zed file by the exact first line emitted by this kit.
76
+
77
+ ```ts
78
+ expect(readFileSync(schemaPath, "utf8")).toBe(emitZed(model));
79
+ ```
80
+
81
+ Run the test in CI. Doctor's generated-access check covers edits in Git history.
82
+ The test checks the file against the model. Apps that emit directly to SpiceDB
83
+ or run the Postgres adapter need no checked-in Zed file.
84
+
85
+ ### Enforcing access in Node
86
+
87
+ Use `@dads-framework/access/runtime` for the authorization port, route decisions,
88
+ scope answers, and request-local consistency. The runtime entry point keeps
89
+ Node request context separate from the model and emitters. Supply a concrete
90
+ authorization provider when composing a server. The [Postgres adapter](../server/postgres-access/README.md)
91
+ uses the model with relationship facts in the application database. Use its
92
+ protected transaction helper when a permission decision guards a business
93
+ write in that database. Tests can use `@dads-framework/access/testing` for
94
+ in-memory calls and recorded answers.
95
+
96
+ Schema migration runners can use `@dads-framework/access/schema` to plan and
97
+ apply a Zed schema through a supplied store. The authorization package binds
98
+ that work to SpiceDB and supplies the Postgres outbox, catalog queries, and
99
+ optional datastore snapshots.
@@ -0,0 +1 @@
1
+ {"version":"7.0.2","root":[[158,187],[192,212]],"packageJsons":["../../../node_modules/@types/node/package.json","../../../node_modules/buffer/package.json","../../../node_modules/events/package.json","../../../node_modules/process/package.json","../../../node_modules/punycode/package.json","../../../node_modules/string_decoder/package.json","../../../node_modules/undici-types/package.json","../../../node_modules/zod/package.json","../../../node_modules/zod/v4/classic/package.json","../../../node_modules/zod/v4/core/package.json","../../../node_modules/zod/v4/locales/package.json","../package.json","../../server/request-work/package.json"],"missingPackageJsons":["../../../node_modules/@types/assert/package.json","../../../node_modules/@types/assert/strict/package.json","../../../node_modules/@types/async_hooks/package.json","../../../node_modules/@types/child_process/package.json","../../../node_modules/@types/cluster/package.json","../../../node_modules/@types/console/package.json","../../../node_modules/@types/constants/package.json","../../../node_modules/@types/crypto/package.json","../../../node_modules/@types/dgram/package.json","../../../node_modules/@types/diagnostics_channel/package.json","../../../node_modules/@types/dns/package.json","../../../node_modules/@types/dns/promises/package.json","../../../node_modules/@types/domain/package.json","../../../node_modules/@types/events/package.json","../../../node_modules/@types/fs/package.json","../../../node_modules/@types/fs/promises/package.json","../../../node_modules/@types/http/package.json","../../../node_modules/@types/http2/package.json","../../../node_modules/@types/https/package.json","../../../node_modules/@types/inspector/package.json","../../../node_modules/@types/inspector/promises/package.json","../../../node_modules/@types/module/package.json","../../../node_modules/@types/net/package.json","../../../node_modules/@types/node/assert/package.json","../../../node_modules/@types/node/compatibility/package.json","../../../node_modules/@types/node/dns/package.json","../../../node_modules/@types/node/fs/package.json","../../../node_modules/@types/node/readline/package.json","../../../node_modules/@types/node/stream/package.json","../../../node_modules/@types/node/timers/package.json","../../../node_modules/@types/node/web-globals/package.json","../../../node_modules/@types/os/package.json","../../../node_modules/@types/path/package.json","../../../node_modules/@types/path/posix/package.json","../../../node_modules/@types/path/win32/package.json","../../../node_modules/@types/perf_hooks/package.json","../../../node_modules/@types/process/package.json","../../../node_modules/@types/punycode/package.json","../../../node_modules/@types/querystring/package.json","../../../node_modules/@types/readline/package.json","../../../node_modules/@types/readline/promises/package.json","../../../node_modules/@types/repl/package.json","../../../node_modules/@types/stream/consumers/package.json","../../../node_modules/@types/stream/package.json","../../../node_modules/@types/stream/promises/package.json","../../../node_modules/@types/stream/web/package.json","../../../node_modules/@types/string_decoder/package.json","../../../node_modules/@types/timers/package.json","../../../node_modules/@types/timers/promises/package.json","../../../node_modules/@types/tls/package.json","../../../node_modules/@types/trace_events/package.json","../../../node_modules/@types/tty/package.json","../../../node_modules/@types/url/package.json","../../../node_modules/@types/util/package.json","../../../node_modules/@types/util/types/package.json","../../../node_modules/@types/v8/package.json","../../../node_modules/@types/vm/package.json","../../../node_modules/@types/wasi/package.json","../../../node_modules/@types/worker_threads/package.json","../../../node_modules/@types/zlib/package.json","../../../node_modules/assert/package.json","../../../node_modules/assert/strict/package.json","../../../node_modules/async_hooks/package.json","../../../node_modules/child_process/package.json","../../../node_modules/cluster/package.json","../../../node_modules/console/package.json","../../../node_modules/constants/package.json","../../../node_modules/crypto/package.json","../../../node_modules/dgram/package.json","../../../node_modules/diagnostics_channel/package.json","../../../node_modules/dns/package.json","../../../node_modules/dns/promises/package.json","../../../node_modules/domain/package.json","../../../node_modules/fs/package.json","../../../node_modules/fs/promises/package.json","../../../node_modules/http/package.json","../../../node_modules/http2/package.json","../../../node_modules/https/package.json","../../../node_modules/inspector/package.json","../../../node_modules/inspector/promises/package.json","../../../node_modules/module/package.json","../../../node_modules/net/package.json","../../../node_modules/os/package.json","../../../node_modules/path/package.json","../../../node_modules/path/posix/package.json","../../../node_modules/path/win32/package.json","../../../node_modules/perf_hooks/package.json","../../../node_modules/querystring/package.json","../../../node_modules/readline/package.json","../../../node_modules/readline/promises/package.json","../../../node_modules/repl/package.json","../../../node_modules/stream/consumers/package.json","../../../node_modules/stream/package.json","../../../node_modules/stream/promises/package.json","../../../node_modules/stream/web/package.json","../../../node_modules/timers/package.json","../../../node_modules/timers/promises/package.json","../../../node_modules/tls/package.json","../../../node_modules/trace_events/package.json","../../../node_modules/tty/package.json","../../../node_modules/url/package.json","../../../node_modules/util/package.json","../../../node_modules/util/types/package.json","../../../node_modules/v8/package.json","../../../node_modules/vm/package.json","../../../node_modules/wasi/package.json","../../../node_modules/worker_threads/package.json","../../../node_modules/zlib/package.json"],"fileNames":["lib.es5.d.ts","lib.es2015.d.ts","lib.es2016.d.ts","lib.es2017.d.ts","lib.es2018.d.ts","lib.es2019.d.ts","lib.es2020.d.ts","lib.es2021.d.ts","lib.es2022.d.ts","lib.es2023.d.ts","lib.es2015.core.d.ts","lib.es2015.collection.d.ts","lib.es2015.generator.d.ts","lib.es2015.iterable.d.ts","lib.es2015.promise.d.ts","lib.es2015.proxy.d.ts","lib.es2015.reflect.d.ts","lib.es2015.symbol.d.ts","lib.es2015.symbol.wellknown.d.ts","lib.es2016.array.include.d.ts","lib.es2016.intl.d.ts","lib.es2017.arraybuffer.d.ts","lib.es2017.date.d.ts","lib.es2017.object.d.ts","lib.es2017.sharedmemory.d.ts","lib.es2017.string.d.ts","lib.es2017.intl.d.ts","lib.es2017.typedarrays.d.ts","lib.es2018.asyncgenerator.d.ts","lib.es2018.asynciterable.d.ts","lib.es2018.intl.d.ts","lib.es2018.promise.d.ts","lib.es2018.regexp.d.ts","lib.es2019.array.d.ts","lib.es2019.object.d.ts","lib.es2019.string.d.ts","lib.es2019.symbol.d.ts","lib.es2019.intl.d.ts","lib.es2020.bigint.d.ts","lib.es2020.date.d.ts","lib.es2020.promise.d.ts","lib.es2020.sharedmemory.d.ts","lib.es2020.string.d.ts","lib.es2020.symbol.wellknown.d.ts","lib.es2020.intl.d.ts","lib.es2020.number.d.ts","lib.es2021.promise.d.ts","lib.es2021.string.d.ts","lib.es2021.weakref.d.ts","lib.es2021.intl.d.ts","lib.es2022.array.d.ts","lib.es2022.error.d.ts","lib.es2022.intl.d.ts","lib.es2022.object.d.ts","lib.es2022.string.d.ts","lib.es2022.regexp.d.ts","lib.es2023.array.d.ts","lib.es2023.collection.d.ts","lib.es2023.intl.d.ts","lib.es2025.float16.d.ts","lib.esnext.disposable.d.ts","lib.decorators.d.ts","lib.decorators.legacy.d.ts","../../../node_modules/zod/v4/core/json-schema.d.cts","../../../node_modules/zod/v4/core/standard-schema.d.cts","../../../node_modules/zod/v4/core/registries.d.cts","../../../node_modules/zod/v4/core/to-json-schema.d.cts","../../../node_modules/zod/v4/core/util.d.cts","../../../node_modules/zod/v4/core/versions.d.cts","../../../node_modules/zod/v4/core/schemas.d.cts","../../../node_modules/zod/v4/core/checks.d.cts","../../../node_modules/zod/v4/core/errors.d.cts","../../../node_modules/zod/v4/core/core.d.cts","../../../node_modules/zod/v4/core/parse.d.cts","../../../node_modules/zod/v4/core/memoizer.d.cts","../../../node_modules/zod/v4/core/regexes.d.cts","../../../node_modules/zod/v4/locales/ar.d.cts","../../../node_modules/zod/v4/locales/az.d.cts","../../../node_modules/zod/v4/locales/be.d.cts","../../../node_modules/zod/v4/locales/bg.d.cts","../../../node_modules/zod/v4/locales/bn.d.cts","../../../node_modules/zod/v4/locales/ca.d.cts","../../../node_modules/zod/v4/locales/ckb.d.cts","../../../node_modules/zod/v4/locales/cs.d.cts","../../../node_modules/zod/v4/locales/da.d.cts","../../../node_modules/zod/v4/locales/de.d.cts","../../../node_modules/zod/v4/locales/el.d.cts","../../../node_modules/zod/v4/locales/en.d.cts","../../../node_modules/zod/v4/locales/eo.d.cts","../../../node_modules/zod/v4/locales/es.d.cts","../../../node_modules/zod/v4/locales/fa.d.cts","../../../node_modules/zod/v4/locales/fi.d.cts","../../../node_modules/zod/v4/locales/fr.d.cts","../../../node_modules/zod/v4/locales/fr-CA.d.cts","../../../node_modules/zod/v4/locales/gu.d.cts","../../../node_modules/zod/v4/locales/he.d.cts","../../../node_modules/zod/v4/locales/hi.d.cts","../../../node_modules/zod/v4/locales/hr.d.cts","../../../node_modules/zod/v4/locales/hu.d.cts","../../../node_modules/zod/v4/locales/hy.d.cts","../../../node_modules/zod/v4/locales/id.d.cts","../../../node_modules/zod/v4/locales/is.d.cts","../../../node_modules/zod/v4/locales/it.d.cts","../../../node_modules/zod/v4/locales/ja.d.cts","../../../node_modules/zod/v4/locales/ka.d.cts","../../../node_modules/zod/v4/locales/kh.d.cts","../../../node_modules/zod/v4/locales/km.d.cts","../../../node_modules/zod/v4/locales/kn.d.cts","../../../node_modules/zod/v4/locales/ko.d.cts","../../../node_modules/zod/v4/locales/lt.d.cts","../../../node_modules/zod/v4/locales/mk.d.cts","../../../node_modules/zod/v4/locales/ms.d.cts","../../../node_modules/zod/v4/locales/ne.d.cts","../../../node_modules/zod/v4/locales/nl.d.cts","../../../node_modules/zod/v4/locales/nn.d.cts","../../../node_modules/zod/v4/locales/no.d.cts","../../../node_modules/zod/v4/locales/ota.d.cts","../../../node_modules/zod/v4/locales/ps.d.cts","../../../node_modules/zod/v4/locales/pl.d.cts","../../../node_modules/zod/v4/locales/pt.d.cts","../../../node_modules/zod/v4/locales/pt-BR.d.cts","../../../node_modules/zod/v4/locales/ro.d.cts","../../../node_modules/zod/v4/locales/ru.d.cts","../../../node_modules/zod/v4/locales/sk.d.cts","../../../node_modules/zod/v4/locales/sl.d.cts","../../../node_modules/zod/v4/locales/sv.d.cts","../../../node_modules/zod/v4/locales/ta.d.cts","../../../node_modules/zod/v4/locales/th.d.cts","../../../node_modules/zod/v4/locales/tk.d.cts","../../../node_modules/zod/v4/locales/tr.d.cts","../../../node_modules/zod/v4/locales/ua.d.cts","../../../node_modules/zod/v4/locales/uk.d.cts","../../../node_modules/zod/v4/locales/ur.d.cts","../../../node_modules/zod/v4/locales/uz.d.cts","../../../node_modules/zod/v4/locales/vi.d.cts","../../../node_modules/zod/v4/locales/zh-CN.d.cts","../../../node_modules/zod/v4/locales/zh-TW.d.cts","../../../node_modules/zod/v4/locales/yo.d.cts","../../../node_modules/zod/v4/locales/index.d.cts","../../../node_modules/zod/v4/core/doc.d.cts","../../../node_modules/zod/v4/core/compile.d.cts","../../../node_modules/zod/v4/core/api.d.cts","../../../node_modules/zod/v4/core/json-schema-processors.d.cts","../../../node_modules/zod/v4/core/json-schema-generator.d.cts","../../../node_modules/zod/v4/core/index.d.cts","../../../node_modules/zod/v4/classic/errors.d.cts","../../../node_modules/zod/v4/classic/parse.d.cts","../../../node_modules/zod/v4/classic/schemas.d.cts","../../../node_modules/zod/v4/classic/checks.d.cts","../../../node_modules/zod/v4/classic/compat.d.cts","../../../node_modules/zod/v4/classic/from-json-schema.d.cts","../../../node_modules/zod/v4/classic/deep-partial.d.cts","../../../node_modules/zod/v4/classic/in-out.d.cts","../../../node_modules/zod/v4/classic/iso.d.cts","../../../node_modules/zod/v4/classic/coerce.d.cts","../../../node_modules/zod/v4/classic/external.d.cts","../../../node_modules/zod/index.d.cts","../src/core/entity-handle.ts","../src/core/grantable.ts","../src/core/holders.ts","../src/core/refs.ts","../src/core/combinators.ts","../src/core/visible-record-exceptions.ts","../src/core/catalog-only.ts","../src/core/lifecycle.ts","../src/core/zod-enums.ts","../src/core/model.ts","../src/core/scope-bindings.ts","../src/core/access-model.ts","../src/core/conformance.ts","../src/core/ir.ts","../src/core/compare-access-ir.ts","../src/core/emit-ir.ts","../src/core/generated-header.ts","../src/core/emit-zed.ts","../src/core/entity-kinds.ts","../src/core/scope-plan-read.ts","../src/core/scope-plan-simplify.ts","../src/core/scope-plan.ts","../src/core/scope-binding-check.ts","../src/core/parse-zed.ts","../src/core/world.ts","../src/core/write-artifacts.ts","../src/index.ts","../src/runtime/authorization.ts","../src/runtime/owner-lock.ts","../src/runtime/access-changes.ts","../../server/request-work/dist/lib/answer-once.d.ts","../../server/request-work/dist/lib/request-work-tally.d.ts","../../server/request-work/dist/lib/charge-request-work.d.ts","../../server/request-work/dist/index.d.ts","../src/runtime/question-identity.ts","../src/runtime/answer-once-authorization.ts","../src/runtime/apply-access-changes-after-commit.ts","../src/runtime/authorization-consistency-cookie.ts","../src/runtime/present-token.ts","../src/runtime/authorization-consistency.ts","../src/runtime/fake-authorization.ts","../src/runtime/request-subject.ts","../src/runtime/route-access.ts","../src/runtime/scope-answer.ts","../src/runtime/relationship-page.ts","../src/runtime/resolve-read-consistency.ts","../src/runtime/index.ts","../src/runtime/recording-authorization.ts","../src/runtime/testing.ts","../src/schema/authorization-schema-store.ts","../src/schema/logic/parse-write-schema-blocker.ts","../src/schema/logic/parse-zed-schema-surface.ts","../src/schema/logic/plan-schema-contraction.ts","../src/schema/apply-desired-schema.ts","../src/schema/index.ts","../../../node_modules/@types/node/compatibility/iterators.d.ts","../../../node_modules/@types/node/globals.typedarray.d.ts","../../../node_modules/@types/node/buffer.buffer.d.ts","../../../node_modules/@types/node/globals.d.ts","../../../node_modules/@types/node/web-globals/abortcontroller.d.ts","../../../node_modules/@types/node/web-globals/crypto.d.ts","../../../node_modules/@types/node/web-globals/domexception.d.ts","../../../node_modules/@types/node/web-globals/events.d.ts","../../../node_modules/undici-types/utility.d.ts","../../../node_modules/undici-types/header.d.ts","../../../node_modules/undici-types/readable.d.ts","../../../node_modules/undici-types/fetch.d.ts","../../../node_modules/undici-types/formdata.d.ts","../../../node_modules/undici-types/connector.d.ts","../../../node_modules/undici-types/client-stats.d.ts","../../../node_modules/undici-types/client.d.ts","../../../node_modules/undici-types/errors.d.ts","../../../node_modules/undici-types/dispatcher.d.ts","../../../node_modules/undici-types/global-dispatcher.d.ts","../../../node_modules/undici-types/global-origin.d.ts","../../../node_modules/undici-types/pool-stats.d.ts","../../../node_modules/undici-types/pool.d.ts","../../../node_modules/undici-types/handlers.d.ts","../../../node_modules/undici-types/balanced-pool.d.ts","../../../node_modules/undici-types/round-robin-pool.d.ts","../../../node_modules/undici-types/h2c-client.d.ts","../../../node_modules/undici-types/agent.d.ts","../../../node_modules/undici-types/mock-interceptor.d.ts","../../../node_modules/undici-types/mock-call-history.d.ts","../../../node_modules/undici-types/mock-agent.d.ts","../../../node_modules/undici-types/mock-client.d.ts","../../../node_modules/undici-types/mock-pool.d.ts","../../../node_modules/undici-types/snapshot-agent.d.ts","../../../node_modules/undici-types/mock-errors.d.ts","../../../node_modules/undici-types/proxy-agent.d.ts","../../../node_modules/undici-types/env-http-proxy-agent.d.ts","../../../node_modules/undici-types/retry-handler.d.ts","../../../node_modules/undici-types/retry-agent.d.ts","../../../node_modules/undici-types/api.d.ts","../../../node_modules/undici-types/cache-interceptor.d.ts","../../../node_modules/undici-types/interceptors.d.ts","../../../node_modules/undici-types/util.d.ts","../../../node_modules/undici-types/cookies.d.ts","../../../node_modules/undici-types/patch.d.ts","../../../node_modules/undici-types/websocket.d.ts","../../../node_modules/undici-types/eventsource.d.ts","../../../node_modules/undici-types/diagnostics-channel.d.ts","../../../node_modules/undici-types/content-type.d.ts","../../../node_modules/undici-types/cache.d.ts","../../../node_modules/undici-types/index.d.ts","../../../node_modules/@types/node/web-globals/fetch.d.ts","../../../node_modules/@types/node/web-globals/navigator.d.ts","../../../node_modules/@types/node/web-globals/storage.d.ts","../../../node_modules/@types/node/web-globals/streams.d.ts","../../../node_modules/@types/node/assert.d.ts","../../../node_modules/@types/node/assert/strict.d.ts","../../../node_modules/@types/node/async_hooks.d.ts","../../../node_modules/buffer/index.d.ts","../../../node_modules/@types/node/buffer.d.ts","../../../node_modules/@types/node/child_process.d.ts","../../../node_modules/@types/node/cluster.d.ts","../../../node_modules/@types/node/console.d.ts","../../../node_modules/@types/node/constants.d.ts","../../../node_modules/@types/node/crypto.d.ts","../../../node_modules/@types/node/dgram.d.ts","../../../node_modules/@types/node/diagnostics_channel.d.ts","../../../node_modules/@types/node/dns.d.ts","../../../node_modules/@types/node/dns/promises.d.ts","../../../node_modules/@types/node/domain.d.ts","../../../node_modules/@types/node/events.d.ts","../../../node_modules/@types/node/fs.d.ts","../../../node_modules/@types/node/fs/promises.d.ts","../../../node_modules/@types/node/http.d.ts","../../../node_modules/@types/node/http2.d.ts","../../../node_modules/@types/node/https.d.ts","../../../node_modules/@types/node/inspector.d.ts","../../../node_modules/@types/node/inspector.generated.d.ts","../../../node_modules/@types/node/module.d.ts","../../../node_modules/@types/node/net.d.ts","../../../node_modules/@types/node/os.d.ts","../../../node_modules/@types/node/path.d.ts","../../../node_modules/@types/node/perf_hooks.d.ts","../../../node_modules/@types/node/process.d.ts","../../../node_modules/@types/node/punycode.d.ts","../../../node_modules/@types/node/querystring.d.ts","../../../node_modules/@types/node/readline.d.ts","../../../node_modules/@types/node/readline/promises.d.ts","../../../node_modules/@types/node/repl.d.ts","../../../node_modules/@types/node/sea.d.ts","../../../node_modules/@types/node/sqlite.d.ts","../../../node_modules/@types/node/stream.d.ts","../../../node_modules/@types/node/stream/promises.d.ts","../../../node_modules/@types/node/stream/consumers.d.ts","../../../node_modules/@types/node/stream/web.d.ts","../../../node_modules/@types/node/string_decoder.d.ts","../../../node_modules/@types/node/test.d.ts","../../../node_modules/@types/node/timers.d.ts","../../../node_modules/@types/node/timers/promises.d.ts","../../../node_modules/@types/node/tls.d.ts","../../../node_modules/@types/node/trace_events.d.ts","../../../node_modules/@types/node/tty.d.ts","../../../node_modules/@types/node/url.d.ts","../../../node_modules/@types/node/util.d.ts","../../../node_modules/@types/node/v8.d.ts","../../../node_modules/@types/node/vm.d.ts","../../../node_modules/@types/node/wasi.d.ts","../../../node_modules/@types/node/worker_threads.d.ts","../../../node_modules/@types/node/zlib.d.ts","../../../node_modules/@types/node/index.d.ts"],"fileInfos":[{"version":"16934abaab7026ac114da441aabea1a0","affectsGlobalScope":true,"impliedNodeFormat":1},"d4306fb2e47f74835e8674ffac07d76f","e437c5c1302869326c3bb93da85bbbcf","e4324975a566567b21d350615f1fc6ac","333b1b9a2a9ac3b8497dba5c63b5ba50","6cffacd662b6eb5fa7a36aa2ea366bfa","b4c34f9c23304dbef2d23698637ed638","e5cb86a5fc491796ecd1d2dd348d208f","feb6c6fb19cdb246a5d8acb36a6901c7","9443a7f109277ffaa79d893ed2549995",{"version":"926204c28cd3d073865348473ae28d2e","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"f25e42c801b2cb3cf2b39792006a9beb","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"6344b55f26a4e81d9608777dbfb877dd","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"3c0ed28e53d3695b363e256ec1c023fd","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"4c2761daba7f17141c25baa0821ac5da","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"b87656acabd63e69379ff6ffcfe52fc7","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"597469522da047a5af5222cc6989f405","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"1708ea4d34dc37fadadc63ca01127e80","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"55d97a8c6fbf34a30450a7b1e5f7a298","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"0ee05eb59426d33e374226d8dcfa708b","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"e347c14030993906efcfbb88915b6a05","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"b0231263857c9b6a03641acdc9280ceb","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"3b15c4a83b598cacb4067676e6f0abed","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"b417d97b7934cef63b1889abec0bbfbf","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"09a6cf4032ebba60ce22a501e663f881","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"2b056277dd138e8f5650fc04e20eaa8d","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"e22cc07e3f3cc242ba52fa3f8ea1fc58","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"2c45da767a1bfbb220848df1bc4029e4","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"b44c3e0fbaf2130cdcf6ac38b120ffa1","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"b612fb5cf8e5d964b92063a75207632a","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"02705151a5e1551b9162a9ed8ab763f7","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"41025e398be9215d32e4337335da8f0b","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"52684c2b1f353a5538e4f275182a54cd","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"6dedb6a4f90d1df3a6fbe5693e44886c","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"ca3f36fe3562c07e0f0d71c2bebd3f6d","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"409974d6129befbb8226ddd1c6558568","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"4d9cfde2a1ae1b4925f1f9bc10848e5d","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"7e1daecc66dd564144e3bb1a0266b5fd","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"a8e1d9bb35fd0637f2f9fd2b2a54f2ec","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"4f168501772a6543182765bfd5f2fbfe","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"a19c80aad1b2162103496f5ba293a732","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"b69afa63cd5d059851c78adb2856ee09","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"ae2fc5d954e9b0f5feee3d481b953c27","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"1cfd3091a071d8b6feec15277643bafe","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"1da2c1f258970fd3cc91184f69e91a9d","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"a0d87491913d843139e0c993650a3235","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"4ef72aa378127e7b7abba915b0110b1e","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"3ec74c6a7d4463f0254db3a74cf75646","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"84c2bdfa470d075526cce6322d81b0b6","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"0b3844c2b8c73e4e1ab91431411cad11","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"4fc71cf4a15b8d99675a31df77f26e07","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"d1b49564ddaeca3df5b6dbae925d2242","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"6a25be566d60ccfc2d6e8b7bfdeefa83","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"8a20e27646985dfd58c57ca6566553dd","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"9969f02ad3cdcbf4f709405cda44167f","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"9c9be4792a7a4f42c15ae7360bf28779","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"8cf777fe00349b71ee9c4b6f3fe7fd19","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"74f96bc192530c9723f572bfff3d3078","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"1df91c56b25955c56387426f378173c5","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"0219894bfe5042c7e1aa2d22e4a91ed0","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"be41035d7b941482a1e1ae6a5c5dcca5","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"f64453cbf9671f28158677fa5c43967a","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"33f317af5428801f944a478d2c1e38e5","affectsGlobalScope":true,"impliedNodeFormat":1},"46adab8b8b66b08b5e7c0e8fab6a1ca6","a9fe29dcdd4288cacf574947747a4572","daada721cfdc43aa8e7c2e2d14d760de","fce62bb75fce69f155eecbe5b839d136","cb804059c17a9731f7c3fbd45819a562","aaaae3e536a619010e2b5c24f99d40a9","f7302b400d6725eeae709f585f1b2635","77ca1366cc13a1d76e0b685a1e3f3d74","2f9112269cc3c45d1fb3d62f3ccb7097","ffb6ed8d47df8ca98044478684c0af40","cbc1f06fbfe43eb20a752fa368855819","2de5baa83f63307a4dd74d7aa2dd5254","f9882f6632460dc972b924a217a57e5a","ee9981834b9f6f6958887811182849e8","ee9981834b9f6f6958887811182849e8","ee9981834b9f6f6958887811182849e8","ee9981834b9f6f6958887811182849e8","ee9981834b9f6f6958887811182849e8","ee9981834b9f6f6958887811182849e8","ee9981834b9f6f6958887811182849e8","ee9981834b9f6f6958887811182849e8","ee9981834b9f6f6958887811182849e8","ee9981834b9f6f6958887811182849e8","ee9981834b9f6f6958887811182849e8","ee9981834b9f6f6958887811182849e8","ee9981834b9f6f6958887811182849e8","ee9981834b9f6f6958887811182849e8","ee9981834b9f6f6958887811182849e8","ee9981834b9f6f6958887811182849e8","ee9981834b9f6f6958887811182849e8","ee9981834b9f6f6958887811182849e8","ee9981834b9f6f6958887811182849e8","ee9981834b9f6f6958887811182849e8","ee9981834b9f6f6958887811182849e8","ee9981834b9f6f6958887811182849e8","ee9981834b9f6f6958887811182849e8","ee9981834b9f6f6958887811182849e8","ee9981834b9f6f6958887811182849e8","ee9981834b9f6f6958887811182849e8","ee9981834b9f6f6958887811182849e8","ee9981834b9f6f6958887811182849e8","ee9981834b9f6f6958887811182849e8","ee9981834b9f6f6958887811182849e8","ee9981834b9f6f6958887811182849e8","ee9981834b9f6f6958887811182849e8","ee9981834b9f6f6958887811182849e8","ee9981834b9f6f6958887811182849e8","ee9981834b9f6f6958887811182849e8","ee9981834b9f6f6958887811182849e8","ee9981834b9f6f6958887811182849e8","ee9981834b9f6f6958887811182849e8","ee9981834b9f6f6958887811182849e8","ee9981834b9f6f6958887811182849e8","ee9981834b9f6f6958887811182849e8","ee9981834b9f6f6958887811182849e8","ee9981834b9f6f6958887811182849e8","ee9981834b9f6f6958887811182849e8","ee9981834b9f6f6958887811182849e8","ee9981834b9f6f6958887811182849e8","ee9981834b9f6f6958887811182849e8","ee9981834b9f6f6958887811182849e8","ee9981834b9f6f6958887811182849e8","ee9981834b9f6f6958887811182849e8","ee9981834b9f6f6958887811182849e8","ee9981834b9f6f6958887811182849e8","ee9981834b9f6f6958887811182849e8","ee9981834b9f6f6958887811182849e8","ee9981834b9f6f6958887811182849e8","ee9981834b9f6f6958887811182849e8","ee9981834b9f6f6958887811182849e8","ee9981834b9f6f6958887811182849e8","ee9981834b9f6f6958887811182849e8","ee9981834b9f6f6958887811182849e8","ee9981834b9f6f6958887811182849e8","ee9981834b9f6f6958887811182849e8","9befa0bd665bb1f101bfbe2832de8eed","89cf60624d459ce663be118a626d5fdc","a8a04415e2622175a922a6e945b6be22","0217331527a3862617a1d59634d97141","8bdf05c98551836db89f23d60d176f56","0b02ecd3af1ccccee2f5c605903848f8","7454a3a8b97184f2d9432fa08bea4550","5ec4d3086f21642d2aeae2133b49ceeb","8318e3c39365fe3a3cfb375f5c29ab04","f91feeb8339aef524eb30b5fcb77b482","cde3fe3c0bfe6e037b07e7251fb1c3d3","c5a965bdb35a433f7fb044dcb56d485c","96b06af537c71de0a80e9ed880958afd","3008879c54fc6e5b56c202a9d7b09211","1339976f87e671ebf4b5ff1f36594612","0a95994056ab784c17e3331cd56bff1c","a9356de7c324c6f49c15587032b1f65f","d05d24ff3dde67269c1cb9f4be19e559","1904e67dd51f8bf1517f05edbfada0ea",{"version":"645043b3c45f65977e1c77e0c1f580b1","signature":"08bb1e2501464769e05a3ba3fb307d81","impliedNodeFormat":99},{"version":"5d9b96ec085a55f0a1dc2a4d09f1e56d","signature":"fa2a312d62cdca81cc3c7ada3127f639","impliedNodeFormat":99},{"version":"c4ae85b19125c8679bba494c8fc57425","signature":"d22c2d85ebba141beebe39b0b544e5ac","impliedNodeFormat":99},{"version":"76541aab6762f58c1c05e490fdf00e60","signature":"74cd07915d3aa82e949ba1398ebdfaff","impliedNodeFormat":99},{"version":"457daca3250c134a049a2e45d2ecdbf3","signature":"9773903a9f70f12c32eaacc2604007c7","impliedNodeFormat":99},{"version":"082b38669737254f35225e8b690189e0","signature":"a795970a2159133c97e77d5ffc3375e0","impliedNodeFormat":99},{"version":"6d1f7fd4bc7222808cf5c758303a5172","signature":"9e34ed865c62e54772987e4fe697b742","impliedNodeFormat":99},{"version":"98955f5dd81492994160fa4dc571baf6","signature":"44dc696218204261994d65e6d8261cd0","impliedNodeFormat":99},{"version":"b2f3935f4c2e9fbc802e0e4f7d3c6e40","signature":"a9ea9f6be48dfd92d14f55434824e330","impliedNodeFormat":99},{"version":"30e807d0e3aeaf9853a68ea1a5f2e362","signature":"44c493c1b85dc8a9d9cfe3439f310cfe","impliedNodeFormat":99},{"version":"ab41d03233a6b9dbebbb44e11effa8b9","signature":"2b83a431d1122f33ad72837c6edfca8c","impliedNodeFormat":99},{"version":"34ef2fb5579a1c57961c13490e617e6b","signature":"d078a29998cce9e4fe3d1893753ca442","impliedNodeFormat":99},{"version":"ef70402bb1e83c6192e32ac210811da0","signature":"c5c6f0307e786a729ccb0338a5f84b50","impliedNodeFormat":99},{"version":"5603f8356867157798417c37d45be048","signature":"c3a19c4ab1dc469d66f96635a7878789","impliedNodeFormat":99},{"version":"10a213f52de2ca55582beb78380164d5","signature":"665c62f0b041d08b9fe2b82c4146b8e7","impliedNodeFormat":99},{"version":"5137e773d382a687e99d198f7446e0e6","signature":"61de2198a0daa1c0c58256f4d874fbf1","impliedNodeFormat":99},{"version":"8effccff1458cb3adcba3c4268929111","signature":"0cf4267a3b047e67ee5e008909753af6","impliedNodeFormat":99},{"version":"78c5e5d9bdea154f20ff2ba5baf8fdc3","signature":"94a073100c6527005c8f499d0a137950","impliedNodeFormat":99},{"version":"6250dccbf08ca91c15264e7c6a8bc5c5","signature":"bb7cc1db16194b49cef68ac3f7e7b798","impliedNodeFormat":99},{"version":"efd63d9945be8d88eb8708d1a1e1697c","signature":"80e2f4416af900862e5e19f8643c78db","impliedNodeFormat":99},{"version":"e9bf2223b0af11bb21a3f042cfd57de4","signature":"fb37941766f171c4b595cb2c4f144503","impliedNodeFormat":99},{"version":"54b6a86006c9c961317e1b54f512ec3e","signature":"acb010a0da4ddc27faf3334558a06758","impliedNodeFormat":99},{"version":"ac1fad025e9be464561f97fad4bf6c40","signature":"c91452dfbcbce57ad47955e45c7d3850","impliedNodeFormat":99},{"version":"03df9838956cfd76ee35c74294f9878e","signature":"8f370ee78bc876b3f80ef17f37d8f157","impliedNodeFormat":99},{"version":"4d97a25542ce1e37e8f6f327c24aa8c7","signature":"83095ec6cc0dd557fccbda525ef34b35","impliedNodeFormat":99},{"version":"1120b53577b3209ba631087b9d2169d8","signature":"c0f542bc5b150edccb4787e0910e456e","impliedNodeFormat":99},{"version":"bd32cde6d2e4163b62bbf5958fabd783","signature":"3ba562aa431aa126c96893aa81d92fa8","impliedNodeFormat":99},{"version":"1d5ce0f02dfedae3a097e2b1fa99d401","signature":"4e2fe1db4ef444107680878c8f86fd62","impliedNodeFormat":99},{"version":"f7b13483b2e2577939866f798336b0be","signature":"954325d940861d871a5c811119337bd2","impliedNodeFormat":99},{"version":"d112cf40a4af0f29201166466bb4dc9f","signature":"a8f41fa8f58d84eca1b811d953d453c7","impliedNodeFormat":99},{"version":"5a8b511bb55bb3e5601e96994ef908d2","impliedNodeFormat":99},{"version":"82243c0d91a2cb1fc0a70bc1f2259dd4","impliedNodeFormat":99},{"version":"5413d50f2e1cf1b6464eb7ffe9df755d","impliedNodeFormat":99},{"version":"b71dff20a5fc6c23bb0ba97a0e7601d0","impliedNodeFormat":99},{"version":"092fbf20794226ebdc47643bf6670067","signature":"b7e090ede83ad5cd68b840369afd6fb2","impliedNodeFormat":99},{"version":"c5cbe8f10c63dc87773d29087565d970","signature":"57461b85b73bb76115f2d1ab6bfc8356","impliedNodeFormat":99},{"version":"73349897d4c10b7c1057dad830f7954b","signature":"6dc51b6e0186e1413fbb45486b551626","impliedNodeFormat":99},{"version":"98ea8aab31c0a1c0d910f82c19e4d40a","signature":"963edbf18aa1fb62d4768a542ee0e9ba","impliedNodeFormat":99},{"version":"5c84949ddf6999c678f5b6dbb6a14924","signature":"28e50e51277f96115522590cea27c98c","impliedNodeFormat":99},{"version":"f180052ebe792ccd5c9386bc3df2faf0","signature":"41550ee7dda2caff7e7fb4c205f1c347","impliedNodeFormat":99},{"version":"d22dba53607905ec5551189ba4ec341e","signature":"d42735d95c7339b98c3f80d5e05588f0","impliedNodeFormat":99},{"version":"f308e9ea20edbb36d55c788b41458b92","signature":"39102313a4f6d613e420f9df1119fa40","impliedNodeFormat":99},{"version":"57c4dd3c8d288193ecfe3c3ab54258db","signature":"2765ea97f54f537676e9d4b1c998052f","impliedNodeFormat":99},{"version":"7880d1ba19c1bb8f69c7caf10d355bbc","signature":"0a4166b56a715a6a8adc048b729d7c37","impliedNodeFormat":99},{"version":"ff00377ec62f37921a39280ba18527a6","signature":"d410199b6b218332239f6529c6714c6e","impliedNodeFormat":99},{"version":"8c978a201ce3412814b638de4800df4c","signature":"7afff11e1af0fa326200726cefdb4a3e","impliedNodeFormat":99},{"version":"130d9650772eb7a42f616863af48b619","signature":"5c77470c797395be9712ca34ebceae31","impliedNodeFormat":99},{"version":"835580256ccb845457cdf1451fe614c6","signature":"bff0215d77e021973f48092b2f4768ae","impliedNodeFormat":99},{"version":"414568c8e1ed53b39c71c72230aa99e1","impliedNodeFormat":99},{"version":"7d07895d744b510a2038aa478f3cc209","signature":"e83661055218b4e73531648e4bb1de3b","impliedNodeFormat":99},{"version":"d20667ad3525b0b09f622bd3432a2a51","signature":"c178c017dd744da44a1995beadaa362f","impliedNodeFormat":99},{"version":"01445b083edeeaf8f8d92b5443a6a515","signature":"ef9c97fb403573d9089084709c944f5a","impliedNodeFormat":99},{"version":"93a5edf94b6b4561477fea27b8248167","signature":"afc62f3147512418d75b1e8a4cd69f58","impliedNodeFormat":99},{"version":"d9e2365432ff40f91092e4e04b896737","signature":"71606dbd4ca707a5149dd7ca95f68288","impliedNodeFormat":99},{"version":"3d86297cc71fa1a524acf3c2ffe9c68f","signature":"e1d534c8ad91b6ce59ab14364d517e7d","impliedNodeFormat":99},{"version":"2514e9a2749c0fc18d2f478e9e1e641e","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"6ae4c332ecb24e76c1e47c0e21d4663d","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"69ee0752d1e70c56ca160360425752a9","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"bf33440030f0a0fae7d1efd6c293a8d2","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"9af0a7e3ef1c42cd066b9f8d365cc1ba","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"7b772cebc7136c34fc77954aef70519d","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"9eca652586205dc5b07f9ba57b1c8500","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"ec5f75939754ce94652189ec7d0d3058","affectsGlobalScope":true,"impliedNodeFormat":1},"49133c0dfbc32ab95668c3443dea49e5","85c2cf74d24d4069fac4686501a2d7e3","9f970a4ba4bb3ed6326d46b3ddab3f63","f444b82bb192c8ecc7c9a06cba5c1fba","75de66fc4824402123c0d694ccc0a085","db51f206bae5021bd84c7079251e08e9","fcd1a513c1e5802916fa602e8b8e64bc","aedc93367cdc148d7dd56ef6fd5ef308","8e2bc11d0328ba95e490a741c44a215d","d63481078bffe02fbaf6694a35815dc7","705645fe223430c696f47b708d592ca8","28d57c837c94adb42add03d499793cab","8c01a9bbae8449be21b3e018d59a74ac","44d3b7d58481743f4726cf411e667164","679024f8e9f58a112f4badf119c4d612","74d351e4ed233e82c6d74c444c1a6b86","94d8e37d28e92494f484dd9afe8f043c","79db245997e9261ae21e5f3d93e3493b","c3659054228b00c4e2a22d9ebea8b4f0","d7e5f7a0f1f883f28458f684106e7643","c2364011a80b6a9e3cc0e77895bad577","38da5c670190f4a35cbc204ca6c616bf","d95cc0eb29beed58f5ce72db21398f53","ecd53256b1ec7379c73316eaf392a69c","db5a9211b779628398011a5b8f5b8b5d","69c7bb9c3befe9ae37eed0e6a6310fee","1cba93fafccb7b2655f0e75229185e83","094ecadae30f65a82b77343dde77a666","f75df12d75dd783b03a0329b95abdb25","b438b08b2f0ed94a95a75c8990d9021b","f2becd2589591db92ab14e803eb8bdd5","8dec66ce34e6fe771e58a92b7068edc0","30f12c2660896a33bd3c3a126392c80a","0468c0ccd0ec7770b76481b165564d62","188234d616a4f50ed9b14c8f84a39f33","4c116bcf0a47ea8fbf4072f380925fa7","22111ccb71c0e95ff0796144b40eed2b","add85ec26ba695fc99c698dbec065f8c","5bfde23f96fc502b5413d772c35e1abf","b744265d8ad12b7d4d5c5dc35d18d44e","eff32168b8348b822afeed9cbf61afa7","acaa6ef6fcd5ba662929d6036121a616",{"version":"dd1cf1cc3aa21cd78b4869a44d98c6d9","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"292c9398a407b33b1d9c9812b673387a","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"45df94b3c51b898624bacc2bcd6d9eb2","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"7d352f71d1b1bcc12c79dd0e4597537c","affectsGlobalScope":true,"impliedNodeFormat":1},"db11b80743ed5356b81d763a708788e6","39078ea063fcaf72bd3cca7e0d13d017","f81aa09811fa65ac6f354ab0018d3c38","e2f0114efc512fd95bdc12c81d5e8d6a",{"version":"282318b178d190157a4deacb14f3040a","affectsGlobalScope":true,"impliedNodeFormat":1},"aafe512c4216100fd65028f9b2afce83","54c5c3dcfdb5f7cf5fbbccfff6ead3fa",{"version":"dc14f078230582a2f8fb2138bfcf4f85","affectsGlobalScope":true,"impliedNodeFormat":1},"b2b472cd0bf0f8d5f022e00ca1c401f4","370d966b810b687a9e58851208cb3d4c","39b3089f3df8d14e0f2ddac0479872d9","cc7a57e86f908c313649aea8d90377e1","5c271f10d8a9b9a1206bc82a4fe5b84d","fbe31979333ec391d8b59e8f42236e8e","6751c8c175fac6bbe7b935582cdfdca7",{"version":"a3f111d2a29b6cdd04fc4b41aa560c86","affectsGlobalScope":true,"impliedNodeFormat":1},"5f4ac576bcdc670a8489c881b23a2b17","a500e7362abeae2d2f1fefea525dc869","02a1ccf1ef65bfbf65865ac4ce346974","d589d01c82f6793f20d2f5c838462e3d","dbe700f7f1fa52fd220c7ee2c6617ebc","579675a2c3b0f8c532a82ad9cbd5d384","b2e8f93606aeb2dee2a4cc9272c56973",{"version":"a8e5d3e42303570b1114b6cd9ef9f38a","affectsGlobalScope":true,"impliedNodeFormat":1},"0003c8459d069181cc4856724fcf2832","c9053dbbe4fa2853f2d3f73b9a2fee81","4e458316a6083cbd2bba2fd29f674dd5",{"version":"3cccee1f2c106192d18ac4e08119f872","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"057189402e597cd50262b082723f21ff","affectsGlobalScope":true,"impliedNodeFormat":1},"6b26581aa2587701d570206a0db8c9ee","88a29e2aac8082c0910733950159e1ca","10282f14d9c2a5cbf3bcf2b1c8cebeaf","0f80958d77cd6301b43c1d7904e3e4bc","3bdc645524ab0d2f6795d3a008833bd7","deb50b47eb75a5566532a763fa1324fa","6e61cd09c2e15845909de3ed59a00b37","3e4ffe5f2733e0589b2612bd86f6cec3","c8206d568b54e5ea06131963eecd576a","15878f4f50c2e562c0768eb735c2aed5",{"version":"cb8f7733bee3d973c152a75fad9f6da6","affectsGlobalScope":true,"impliedNodeFormat":1},"dd404118e8bd70aff746f7d31e46270b","a0fa4618173795c74b488178ea77f951",{"version":"6b8649a280031d9e86955db721cfad87","affectsGlobalScope":true,"impliedNodeFormat":1},"4bc8f13c472858fb74f77388c0c5d885","75ab229142dad0ca2ff14d02d52f11f9","c72d2516d1e8910caca33c4dff75fcd4","f0231f36cb7117fbe9271ff19ef0f5f4",{"version":"8a642eed2a45ac7028479b6089a04842","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"1e6ddb6b86dc5d86e75ba797d5324346","affectsGlobalScope":true,"impliedNodeFormat":1},"701aef085585b152042aa216b06bb4b8","e9bc5b1de50e48fa9857b64091673883","9268959cff1006c82e6abbd73824db97",{"version":"8f1c048bd5761910f5ea340fe4d792cd","affectsGlobalScope":true,"impliedNodeFormat":1},"6b1f3649b0eabeaca20c778fcc5f270c","eb567c7b5824aab578f75bbccf9f4b05"],"fileIdsList":[[215,268,269,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320],[215,267,269,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320],[215,267,268,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320],[267,268,269,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320],[215,267,268,269,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320],[215,267,268,269,271,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320],[215,267,268,269,271,272,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320],[215,267,268,269,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320],[215,267,268,269,271,272,273,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320],[215,267,268,269,271,272,273,274,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320],[215,267,268,269,271,272,273,274,275,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320],[215,267,268,269,271,272,273,274,275,276,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320],[215,267,268,269,271,272,273,274,275,276,277,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320],[215,267,268,269,271,272,273,274,275,276,277,278,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320],[215,267,268,269,271,272,273,274,275,276,277,278,279,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320],[215,267,268,269,271,272,273,274,275,276,277,278,279,280,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320],[215,267,268,269,271,272,273,274,275,276,277,278,279,280,281,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320],[215,267,268,269,271,272,273,274,275,276,277,278,279,280,281,282,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320],[215,267,268,269,271,272,273,274,275,276,277,278,279,280,281,282,283,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320],[215,262,267,268,269,271,272,273,274,275,276,277,278,279,280,281,282,283,284,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320],[215,267,268,269,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320],[215,267,268,269,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320],[213,214,215,216,217,218,219,220,263,264,265,266,267,268,269,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320],[215,267,268,269,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320],[215,267,268,269,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320],[215,267,268,269,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320],[215,267,268,269,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320],[215,267,268,269,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320],[215,267,268,269,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320],[215,267,268,269,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320],[215,267,268,269,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320],[215,267,268,269,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320],[215,267,268,269,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320],[215,267,268,269,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320],[215,267,268,269,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320],[215,267,268,269,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320],[215,267,268,269,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320],[215,267,268,269,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320],[215,267,268,269,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320],[215,267,268,269,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320],[215,267,268,269,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320],[215,267,268,269,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,307,308,309,310,311,312,313,314,315,316,317,318,319,320],[215,267,268,269,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,308,309,310,311,312,313,314,315,316,317,318,319,320],[215,267,268,269,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,309,310,311,312,313,314,315,316,317,318,319,320],[215,267,268,269,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,310,311,312,313,314,315,316,317,318,319,320],[215,267,268,269,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,311,312,313,314,315,316,317,318,319,320],[215,267,268,269,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,312,313,314,315,316,317,318,319,320],[215,267,268,269,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,313,314,315,316,317,318,319,320],[215,267,268,269,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,314,315,316,317,318,319,320],[215,267,268,269,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,315,316,317,318,319,320],[215,267,268,269,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,316,317,318,319,320],[215,267,268,269,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,317,318,319,320],[215,267,268,269,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,318,319,320],[215,267,268,269,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,319,320],[215,262,267,268,269,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320],[215,262,267,268,269,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,320],[215,267,268,269,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319],[215,227,230,233,234,267,268,269,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320],[215,230,267,268,269,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320],[215,230,234,267,268,269,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320],[215,224,267,268,269,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320],[215,228,267,268,269,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320],[215,226,227,230,267,268,269,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320],[215,267,268,269,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321],[215,224,267,268,269,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321],[215,226,230,267,268,269,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320],[215,221,222,223,225,229,267,268,269,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320],[215,230,239,247,267,268,269,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320],[215,222,228,267,268,269,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320],[215,230,256,257,267,268,269,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320],[215,222,225,230,267,268,269,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321],[215,221,267,268,269,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320],[215,224,225,226,228,229,230,231,232,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,257,258,259,260,261,267,268,269,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320],[215,230,249,252,267,268,269,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320],[215,230,239,240,241,267,268,269,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320],[215,228,230,240,242,267,268,269,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320],[215,229,267,268,269,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320],[215,222,224,230,267,268,269,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320],[215,230,234,240,242,267,268,269,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320],[215,234,267,268,269,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320],[215,228,230,233,267,268,269,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320],[215,222,226,230,239,267,268,269,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320],[215,230,249,267,268,269,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320],[215,242,267,268,269,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320],[215,224,230,256,267,268,269,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321],[156,215,267,268,269,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320],[145,215,267,268,269,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320],[145,148,215,267,268,269,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320],[68,139,143,145,146,147,148,149,150,151,152,153,154,155,215,267,268,269,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320],[64,66,148,215,267,268,269,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320],[145,146,215,267,268,269,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320],[65,71,145,147,215,267,268,269,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320],[66,68,70,71,72,73,215,267,268,269,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320],[68,70,72,73,215,267,268,269,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320],[70,73,215,267,268,269,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320],[68,70,72,215,267,268,269,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320],[65,68,70,71,73,215,267,268,269,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320],[64,66,67,68,69,70,71,72,73,74,75,76,139,140,141,142,143,144,215,267,268,269,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320],[64,66,67,70,215,267,268,269,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320],[66,67,70,215,267,268,269,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320],[70,215,267,268,269,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320],[64,65,67,68,69,71,72,73,215,267,268,269,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320],[64,65,66,70,145,215,267,268,269,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320],[70,71,72,73,215,267,268,269,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320],[72,215,267,268,269,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320],[77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,215,267,268,269,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320],[158,161,163,164,165,167,168,215,267,268,269,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320],[159,215,267,268,269,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320],[161,215,267,268,269,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320],[171,215,267,268,269,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320],[159,169,215,267,268,269,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320],[159,160,161,169,171,215,267,268,269,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320],[169,171,173,174,215,267,268,269,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320],[157,215,267,268,269,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320],[158,169,215,267,268,269,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320],[158,160,215,267,268,269,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320],[158,159,161,215,267,268,269,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320],[158,160,161,164,165,166,169,215,267,268,269,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320],[160,215,267,268,269,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320],[169,179,215,267,268,269,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320],[158,167,215,267,268,269,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320],[179,215,267,268,269,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320],[177,179,215,267,268,269,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320],[158,168,169,171,173,177,178,215,267,268,269,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320],[169,215,267,268,269,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320],[158,160,161,215,267,268,269,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320],[171,174,175,215,267,268,269,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320],[158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,179,180,181,182,183,215,267,268,269,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320],[185,186,215,267,268,269,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320],[185,191,192,215,267,268,269,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320],[187,215,267,268,269,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320],[185,196,215,267,268,269,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320],[185,215,267,268,269,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320],[185,186,187,193,194,195,197,199,200,201,202,203,215,267,268,269,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320],[185,192,215,267,268,269,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320],[196,215,267,268,269,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320],[184,185,215,267,268,269,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320],[186,198,205,215,267,268,269,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320],[185,207,208,209,210,215,267,268,269,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320],[207,208,209,210,211,215,267,268,269,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320],[209,215,267,268,269,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320],[188,189,190,215,267,268,269,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320]],"options":{"composite":true,"declaration":true,"declarationMap":true,"exactOptionalPropertyTypes":true,"module":199,"noFallthroughCasesInSwitch":true,"noImplicitReturns":true,"noPropertyAccessFromIndexSignature":true,"noUncheckedIndexedAccess":true,"noImplicitOverride":true,"outDir":"./","rootDir":"../src","skipLibCheck":true,"strict":true,"sourceMap":true,"target":10,"tsBuildInfoFile":"./access.tsbuildinfo","useUnknownInCatchVariables":true,"verbatimModuleSyntax":true},"referencedMap":[[267,1],[268,2],[269,3],[215,4],[271,5],[272,6],[273,7],[213,8],[274,9],[275,10],[276,11],[277,12],[278,13],[279,14],[280,15],[281,16],[282,17],[283,18],[284,19],[216,8],[214,8],[285,20],[286,21],[287,22],[321,23],[288,24],[289,25],[290,26],[291,27],[292,28],[293,29],[294,30],[295,31],[296,32],[297,33],[298,34],[299,35],[300,36],[301,37],[302,38],[303,39],[305,40],[304,41],[306,42],[307,43],[308,44],[309,45],[310,46],[311,47],[312,48],[313,49],[314,50],[315,51],[316,52],[317,53],[318,54],[217,8],[218,8],[219,8],[220,8],[263,55],[264,8],[265,8],[266,8],[319,56],[320,57],[62,8],[63,8],[12,8],[11,8],[2,8],[13,8],[14,8],[15,8],[16,8],[17,8],[18,8],[19,8],[20,8],[3,8],[21,8],[22,8],[4,8],[23,8],[27,8],[24,8],[25,8],[26,8],[28,8],[29,8],[30,8],[5,8],[31,8],[32,8],[33,8],[34,8],[6,8],[38,8],[35,8],[36,8],[37,8],[39,8],[7,8],[40,8],[45,8],[46,8],[41,8],[42,8],[43,8],[44,8],[8,8],[50,8],[47,8],[48,8],[49,8],[51,8],[9,8],[52,8],[53,8],[54,8],[56,8],[55,8],[57,8],[58,8],[10,8],[59,8],[60,8],[1,8],[61,8],[270,8],[239,58],[251,59],[236,60],[252,8],[261,61],[227,62],[228,63],[226,8],[260,64],[255,65],[259,66],[230,67],[248,68],[229,69],[258,70],[224,71],[225,65],[231,59],[232,8],[238,66],[235,59],[222,72],[262,73],[253,74],[242,75],[241,59],[243,76],[246,77],[240,78],[244,79],[256,64],[233,80],[234,81],[247,82],[223,8],[250,83],[249,59],[237,81],[245,84],[254,8],[221,8],[257,85],[157,86],[149,87],[155,88],[150,88],[152,88],[146,87],[156,89],[151,90],[153,88],[154,88],[147,91],[148,92],[142,93],[71,94],[141,95],[73,96],[140,8],[72,97],[145,98],[144,99],[143,100],[64,8],[75,101],[74,94],[76,8],[66,95],[70,102],[65,8],[67,103],[68,104],[69,8],[77,105],[78,105],[79,105],[80,105],[81,105],[82,105],[83,105],[84,105],[85,105],[86,105],[87,105],[88,105],[89,105],[90,105],[91,105],[92,105],[94,105],[93,105],[95,105],[96,105],[97,105],[98,105],[99,105],[100,105],[101,105],[139,106],[102,105],[103,105],[104,105],[105,105],[106,105],[107,105],[108,105],[109,105],[110,105],[111,105],[112,105],[113,105],[114,105],[115,105],[116,105],[117,105],[119,105],[118,105],[121,105],[120,105],[122,105],[123,105],[124,105],[125,105],[126,105],[127,105],[128,105],[129,105],[130,105],[131,105],[132,105],[133,105],[134,105],[135,105],[138,105],[136,105],[137,105],[169,107],[164,108],[162,109],[172,110],[170,111],[173,112],[175,113],[158,114],[176,115],[174,8],[159,116],[160,117],[171,8],[165,8],[167,118],[181,110],[161,119],[180,120],[168,121],[177,122],[178,123],[179,124],[163,125],[182,126],[183,127],[166,114],[184,128],[187,129],[193,130],[194,131],[195,8],[197,132],[185,8],[198,133],[204,134],[186,8],[196,8],[192,133],[205,135],[202,133],[199,133],[203,136],[200,133],[201,137],[206,138],[211,139],[207,133],[212,140],[208,8],[209,8],[210,141],[191,142],[188,8],[190,8],[189,8]],"latestChangedDtsFile":"./schema/index.d.ts"}
@@ -0,0 +1,30 @@
1
+ import { type VisibleRecordException } from "./visible-record-exceptions.js";
2
+ import type { CatalogOnlyCapability } from "./catalog-only.js";
3
+ import type { EntityHandle } from "./entity-handle.js";
4
+ import type { AccessDefinition } from "./model.js";
5
+ import type { ScopeBindings } from "./scope-bindings.js";
6
+ import type { LifecycleTrigger } from "./lifecycle.js";
7
+ import type { PermissionTerm, PermissionToken, RoleToken } from "./refs.js";
8
+ export type ResolvedGranting = {
9
+ readonly requires: readonly PermissionToken[];
10
+ readonly removedWhen: readonly LifecycleTrigger[];
11
+ };
12
+ export type ResolvedAccessDefinition = {
13
+ readonly entity: EntityHandle;
14
+ readonly roles: Record<string, RoleToken>;
15
+ readonly permissions: Record<string, PermissionToken>;
16
+ readonly expressions: Record<string, readonly PermissionTerm[]>;
17
+ readonly granting: ResolvedGranting | undefined;
18
+ readonly catalogOnly: readonly CatalogOnlyCapability[];
19
+ };
20
+ /**
21
+ * Explicit app composition. Declaration modules contribute definitions and
22
+ * bindings without writing process-wide state.
23
+ */
24
+ export type AccessModel = {
25
+ readonly definitions: readonly ResolvedAccessDefinition[];
26
+ readonly bindings: readonly ScopeBindings[];
27
+ readonly visibleRecordExceptions: readonly VisibleRecordException[];
28
+ };
29
+ export declare function accessModel(declarations: readonly Pick<AccessDefinition<unknown, unknown>, "entity" | "resolve">[], bindings?: readonly ScopeBindings[], visibleRecordExceptions?: readonly VisibleRecordException[]): AccessModel;
30
+ //# sourceMappingURL=access-model.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"access-model.d.ts","sourceRoot":"","sources":["../../src/core/access-model.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,sBAAsB,EAC5B,MAAM,gCAAgC,CAAC;AACxC,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,mBAAmB,CAAC;AAC/D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AACvD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AACnD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AACzD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AACvD,OAAO,KAAK,EAAE,cAAc,EAAE,eAAe,EAAE,SAAS,EAAE,MAAM,WAAW,CAAC;AAE5E,MAAM,MAAM,gBAAgB,GAAG;IAC7B,QAAQ,CAAC,QAAQ,EAAE,SAAS,eAAe,EAAE,CAAC;IAC9C,QAAQ,CAAC,WAAW,EAAE,SAAS,gBAAgB,EAAE,CAAC;CACnD,CAAC;AAEF,MAAM,MAAM,wBAAwB,GAAG;IACrC,QAAQ,CAAC,MAAM,EAAE,YAAY,CAAC;IAC9B,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,CAAC;IAC1C,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC,MAAM,EAAE,eAAe,CAAC,CAAC;IACtD,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC,MAAM,EAAE,SAAS,cAAc,EAAE,CAAC,CAAC;IAChE,QAAQ,CAAC,QAAQ,EAAE,gBAAgB,GAAG,SAAS,CAAC;IAChD,QAAQ,CAAC,WAAW,EAAE,SAAS,qBAAqB,EAAE,CAAC;CACxD,CAAC;AAEF;;;GAGG;AACH,MAAM,MAAM,WAAW,GAAG;IACxB,QAAQ,CAAC,WAAW,EAAE,SAAS,wBAAwB,EAAE,CAAC;IAC1D,QAAQ,CAAC,QAAQ,EAAE,SAAS,aAAa,EAAE,CAAC;IAC5C,QAAQ,CAAC,uBAAuB,EAAE,SAAS,sBAAsB,EAAE,CAAC;CACrE,CAAC;AAEF,wBAAgB,WAAW,CACzB,YAAY,EAAE,SAAS,IAAI,CACzB,gBAAgB,CAAC,OAAO,EAAE,OAAO,CAAC,EAClC,QAAQ,GAAG,SAAS,CACrB,EAAE,EACH,QAAQ,GAAE,SAAS,aAAa,EAAO,EACvC,uBAAuB,GAAE,SAAS,sBAAsB,EAAO,GAC9D,WAAW,CAkBb"}
@@ -0,0 +1,27 @@
1
+ import { allowVisibleOnRecordUntil, } from "./visible-record-exceptions.js";
2
+ export function accessModel(declarations, bindings = [], visibleRecordExceptions = []) {
3
+ const definitions = declarations.map((declaration) => declaration.resolve());
4
+ const wireNames = distinctWireNames(definitions);
5
+ distinctWireNames(bindings);
6
+ for (const binding of bindings) {
7
+ if (!wireNames.has(binding.entity.wireName)) {
8
+ throw new Error(`scope bindings name missing access definition ${binding.entity.wireName}`);
9
+ }
10
+ }
11
+ return {
12
+ definitions,
13
+ bindings: [...bindings],
14
+ visibleRecordExceptions: visibleRecordExceptions.map((entry) => allowVisibleOnRecordUntil(entry.until, entry)),
15
+ };
16
+ }
17
+ function distinctWireNames(entries) {
18
+ const names = new Set();
19
+ for (const { entity } of entries) {
20
+ if (names.has(entity.wireName)) {
21
+ throw new Error(`duplicate access model entry ${entity.wireName}`);
22
+ }
23
+ names.add(entity.wireName);
24
+ }
25
+ return names;
26
+ }
27
+ //# sourceMappingURL=access-model.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"access-model.js","sourceRoot":"","sources":["../../src/core/access-model.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,yBAAyB,GAE1B,MAAM,gCAAgC,CAAC;AAgCxC,MAAM,UAAU,WAAW,CACzB,YAGG,EACH,QAAQ,GAA6B,EAAE,EACvC,uBAAuB,GAAsC,EAAE;IAE/D,MAAM,WAAW,GAAG,YAAY,CAAC,GAAG,CAAC,CAAC,WAAW,EAAE,EAAE,CAAC,WAAW,CAAC,OAAO,EAAE,CAAC,CAAC;IAC7E,MAAM,SAAS,GAAG,iBAAiB,CAAC,WAAW,CAAC,CAAC;IACjD,iBAAiB,CAAC,QAAQ,CAAC,CAAC;IAC5B,KAAK,MAAM,OAAO,IAAI,QAAQ,EAAE,CAAC;QAC/B,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,EAAE,CAAC;YAC5C,MAAM,IAAI,KAAK,CACb,iDAAiD,OAAO,CAAC,MAAM,CAAC,QAAQ,EAAE,CAC3E,CAAC;QACJ,CAAC;IACH,CAAC;IACD,OAAO;QACL,WAAW;QACX,QAAQ,EAAE,CAAC,GAAG,QAAQ,CAAC;QACvB,uBAAuB,EAAE,uBAAuB,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE,CAC7D,yBAAyB,CAAC,KAAK,CAAC,KAAK,EAAE,KAAK,CAAC,CAC9C;KACF,CAAC;AACJ,CAAC;AAED,SAAS,iBAAiB,CACxB,OAAqD;IAErD,MAAM,KAAK,GAAG,IAAI,GAAG,EAAU,CAAC;IAChC,KAAK,MAAM,EAAE,MAAM,EAAE,IAAI,OAAO,EAAE,CAAC;QACjC,IAAI,KAAK,CAAC,GAAG,CAAC,MAAM,CAAC,QAAQ,CAAC,EAAE,CAAC;YAC/B,MAAM,IAAI,KAAK,CAAC,gCAAgC,MAAM,CAAC,QAAQ,EAAE,CAAC,CAAC;QACrE,CAAC;QACD,KAAK,CAAC,GAAG,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC;IAC7B,CAAC;IACD,OAAO,KAAK,CAAC;AACf,CAAC"}
@@ -0,0 +1,42 @@
1
+ import type { GrantableGroup, GrantableLocalizedText, GrantableRisk, GrantableScope, GrantableTargetKind } from "./grantable.js";
2
+ /**
3
+ * Catalog row that is not a SpiceDB grantable role — system-only capabilities
4
+ * that must appear in the generated catalog without adding a relation.
5
+ */
6
+ export type CatalogOnlyCapability = {
7
+ readonly kind: "catalogOnly";
8
+ readonly id: string;
9
+ readonly label: GrantableLocalizedText;
10
+ readonly description: GrantableLocalizedText;
11
+ readonly group: GrantableGroup;
12
+ readonly domainId: string;
13
+ readonly domainLabel: GrantableLocalizedText;
14
+ readonly requires: readonly string[];
15
+ readonly scopes: readonly GrantableScope[];
16
+ readonly customerAssignable: false;
17
+ readonly targetKind: GrantableTargetKind;
18
+ readonly risk: GrantableRisk;
19
+ readonly entityWireName: string;
20
+ readonly roleName: string;
21
+ readonly permission: string;
22
+ };
23
+ /**
24
+ * Declare a system-only catalog capability that must not add a SpiceDB role.
25
+ */
26
+ export declare function catalogOnly(spec: {
27
+ readonly id: string;
28
+ readonly label: GrantableLocalizedText;
29
+ readonly description: GrantableLocalizedText;
30
+ readonly group?: GrantableGroup;
31
+ readonly domainId: string;
32
+ readonly domainLabel: GrantableLocalizedText;
33
+ readonly requires?: readonly string[];
34
+ readonly scopes: readonly GrantableScope[];
35
+ readonly targetKind?: GrantableTargetKind;
36
+ readonly risk?: GrantableRisk;
37
+ readonly entityWireName: string;
38
+ readonly roleName: string;
39
+ readonly permission: string;
40
+ }): CatalogOnlyCapability;
41
+ export declare function isCatalogOnlyCapability(value: unknown): value is CatalogOnlyCapability;
42
+ //# sourceMappingURL=catalog-only.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"catalog-only.d.ts","sourceRoot":"","sources":["../../src/core/catalog-only.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,cAAc,EACd,sBAAsB,EACtB,aAAa,EACb,cAAc,EACd,mBAAmB,EACpB,MAAM,gBAAgB,CAAC;AAExB;;;GAGG;AACH,MAAM,MAAM,qBAAqB,GAAG;IAClC,QAAQ,CAAC,IAAI,EAAE,aAAa,CAAC;IAC7B,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,KAAK,EAAE,sBAAsB,CAAC;IACvC,QAAQ,CAAC,WAAW,EAAE,sBAAsB,CAAC;IAC7C,QAAQ,CAAC,KAAK,EAAE,cAAc,CAAC;IAC/B,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;IAC1B,QAAQ,CAAC,WAAW,EAAE,sBAAsB,CAAC;IAC7C,QAAQ,CAAC,QAAQ,EAAE,SAAS,MAAM,EAAE,CAAC;IACrC,QAAQ,CAAC,MAAM,EAAE,SAAS,cAAc,EAAE,CAAC;IAC3C,QAAQ,CAAC,kBAAkB,EAAE,KAAK,CAAC;IACnC,QAAQ,CAAC,UAAU,EAAE,mBAAmB,CAAC;IACzC,QAAQ,CAAC,IAAI,EAAE,aAAa,CAAC;IAC7B,QAAQ,CAAC,cAAc,EAAE,MAAM,CAAC;IAChC,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;IAC1B,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;CAC7B,CAAC;AAEF;;GAEG;AACH,wBAAgB,WAAW,CAAC,IAAI,EAAE;IAChC,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,KAAK,EAAE,sBAAsB,CAAC;IACvC,QAAQ,CAAC,WAAW,EAAE,sBAAsB,CAAC;IAC7C,QAAQ,CAAC,KAAK,CAAC,EAAE,cAAc,CAAC;IAChC,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;IAC1B,QAAQ,CAAC,WAAW,EAAE,sBAAsB,CAAC;IAC7C,QAAQ,CAAC,QAAQ,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;IACtC,QAAQ,CAAC,MAAM,EAAE,SAAS,cAAc,EAAE,CAAC;IAC3C,QAAQ,CAAC,UAAU,CAAC,EAAE,mBAAmB,CAAC;IAC1C,QAAQ,CAAC,IAAI,CAAC,EAAE,aAAa,CAAC;IAC9B,QAAQ,CAAC,cAAc,EAAE,MAAM,CAAC;IAChC,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;IAC1B,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;CAC7B,GAAG,qBAAqB,CAkBxB;AAED,wBAAgB,uBAAuB,CACrC,KAAK,EAAE,OAAO,GACb,KAAK,IAAI,qBAAqB,CAOhC"}
@@ -0,0 +1,29 @@
1
+ /**
2
+ * Declare a system-only catalog capability that must not add a SpiceDB role.
3
+ */
4
+ export function catalogOnly(spec) {
5
+ return {
6
+ kind: "catalogOnly",
7
+ id: spec.id,
8
+ label: spec.label,
9
+ description: spec.description,
10
+ group: spec.group ?? null,
11
+ domainId: spec.domainId,
12
+ domainLabel: spec.domainLabel,
13
+ requires: spec.requires ?? [],
14
+ scopes: spec.scopes,
15
+ customerAssignable: false,
16
+ targetKind: spec.targetKind ?? "NONE",
17
+ risk: spec.risk ?? "DANGEROUS",
18
+ entityWireName: spec.entityWireName,
19
+ roleName: spec.roleName,
20
+ permission: spec.permission,
21
+ };
22
+ }
23
+ export function isCatalogOnlyCapability(value) {
24
+ return (typeof value === "object" &&
25
+ value !== null &&
26
+ "kind" in value &&
27
+ value.kind === "catalogOnly");
28
+ }
29
+ //# sourceMappingURL=catalog-only.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"catalog-only.js","sourceRoot":"","sources":["../../src/core/catalog-only.ts"],"names":[],"mappings":"AA8BA;;GAEG;AACH,MAAM,UAAU,WAAW,CAAC,IAc3B;IACC,OAAO;QACL,IAAI,EAAE,aAAa;QACnB,EAAE,EAAE,IAAI,CAAC,EAAE;QACX,KAAK,EAAE,IAAI,CAAC,KAAK;QACjB,WAAW,EAAE,IAAI,CAAC,WAAW;QAC7B,KAAK,EAAE,IAAI,CAAC,KAAK,IAAI,IAAI;QACzB,QAAQ,EAAE,IAAI,CAAC,QAAQ;QACvB,WAAW,EAAE,IAAI,CAAC,WAAW;QAC7B,QAAQ,EAAE,IAAI,CAAC,QAAQ,IAAI,EAAE;QAC7B,MAAM,EAAE,IAAI,CAAC,MAAM;QACnB,kBAAkB,EAAE,KAAK;QACzB,UAAU,EAAE,IAAI,CAAC,UAAU,IAAI,MAAM;QACrC,IAAI,EAAE,IAAI,CAAC,IAAI,IAAI,WAAW;QAC9B,cAAc,EAAE,IAAI,CAAC,cAAc;QACnC,QAAQ,EAAE,IAAI,CAAC,QAAQ;QACvB,UAAU,EAAE,IAAI,CAAC,UAAU;KAC5B,CAAC;AACJ,CAAC;AAED,MAAM,UAAU,uBAAuB,CACrC,KAAc;IAEd,OAAO,CACL,OAAO,KAAK,KAAK,QAAQ;QACzB,KAAK,KAAK,IAAI;QACd,MAAM,IAAI,KAAK;QACf,KAAK,CAAC,IAAI,KAAK,aAAa,CAC7B,CAAC;AACJ,CAAC"}
@@ -0,0 +1,25 @@
1
+ import type { BothTerm, ExcludingTerm, GatedTerm, PermissionTerm, PermissionToken, RoleToken, ThroughTerm } from "./refs.js";
2
+ export type PermissionTermInput = PermissionTerm | readonly PermissionTerm[];
3
+ /**
4
+ * Nested OR. A permission's top-level array is already OR; this wraps a
5
+ * list so `gated` / `excluding` / `both` can take a union.
6
+ */
7
+ export declare function asPermissionTerm(value: PermissionTermInput): PermissionTerm;
8
+ /**
9
+ * Arrow: the role's holder must also hold `target` on the related object.
10
+ * `target` may be a permission or a role.
11
+ */
12
+ export declare function through(role: RoleToken, target: PermissionToken | RoleToken): ThroughTerm;
13
+ /**
14
+ * Permission intersection: `term` only when `condition` is also true.
15
+ */
16
+ export declare function gated(term: PermissionTermInput, condition: PermissionTermInput): GatedTerm;
17
+ /**
18
+ * Exclusion: `term` minus `banned`.
19
+ */
20
+ export declare function excluding(term: PermissionTermInput, banned: PermissionTermInput): ExcludingTerm;
21
+ /**
22
+ * General intersection of two terms.
23
+ */
24
+ export declare function both(left: PermissionTermInput, right: PermissionTermInput): BothTerm;
25
+ //# sourceMappingURL=combinators.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"combinators.d.ts","sourceRoot":"","sources":["../../src/core/combinators.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,QAAQ,EACR,aAAa,EACb,SAAS,EACT,cAAc,EACd,eAAe,EACf,SAAS,EACT,WAAW,EACZ,MAAM,WAAW,CAAC;AAEnB,MAAM,MAAM,mBAAmB,GAAG,cAAc,GAAG,SAAS,cAAc,EAAE,CAAC;AAQ7E;;;GAGG;AACH,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,mBAAmB,GAAG,cAAc,CAe3E;AAED;;;GAGG;AACH,wBAAgB,OAAO,CACrB,IAAI,EAAE,SAAS,EACf,MAAM,EAAE,eAAe,GAAG,SAAS,GAClC,WAAW,CAEb;AAED;;GAEG;AACH,wBAAgB,KAAK,CACnB,IAAI,EAAE,mBAAmB,EACzB,SAAS,EAAE,mBAAmB,GAC7B,SAAS,CAMX;AAED;;GAEG;AACH,wBAAgB,SAAS,CACvB,IAAI,EAAE,mBAAmB,EACzB,MAAM,EAAE,mBAAmB,GAC1B,aAAa,CAMf;AAED;;GAEG;AACH,wBAAgB,IAAI,CAClB,IAAI,EAAE,mBAAmB,EACzB,KAAK,EAAE,mBAAmB,GACzB,QAAQ,CAMV"}
@@ -0,0 +1,61 @@
1
+ function isTermList(value) {
2
+ return Array.isArray(value);
3
+ }
4
+ /**
5
+ * Nested OR. A permission's top-level array is already OR; this wraps a
6
+ * list so `gated` / `excluding` / `both` can take a union.
7
+ */
8
+ export function asPermissionTerm(value) {
9
+ if (!isTermList(value)) {
10
+ return value;
11
+ }
12
+ if (value.length === 0) {
13
+ throw new Error("permission term list is empty");
14
+ }
15
+ if (value.length === 1) {
16
+ const only = value[0];
17
+ if (only === undefined) {
18
+ throw new Error("permission term list has a hole");
19
+ }
20
+ return only;
21
+ }
22
+ return { kind: "or", terms: value };
23
+ }
24
+ /**
25
+ * Arrow: the role's holder must also hold `target` on the related object.
26
+ * `target` may be a permission or a role.
27
+ */
28
+ export function through(role, target) {
29
+ return { kind: "through", role, target };
30
+ }
31
+ /**
32
+ * Permission intersection: `term` only when `condition` is also true.
33
+ */
34
+ export function gated(term, condition) {
35
+ return {
36
+ kind: "gated",
37
+ term: asPermissionTerm(term),
38
+ condition: asPermissionTerm(condition),
39
+ };
40
+ }
41
+ /**
42
+ * Exclusion: `term` minus `banned`.
43
+ */
44
+ export function excluding(term, banned) {
45
+ return {
46
+ kind: "excluding",
47
+ term: asPermissionTerm(term),
48
+ banned: asPermissionTerm(banned),
49
+ };
50
+ }
51
+ /**
52
+ * General intersection of two terms.
53
+ */
54
+ export function both(left, right) {
55
+ return {
56
+ kind: "both",
57
+ left: asPermissionTerm(left),
58
+ right: asPermissionTerm(right),
59
+ };
60
+ }
61
+ //# sourceMappingURL=combinators.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"combinators.js","sourceRoot":"","sources":["../../src/core/combinators.ts"],"names":[],"mappings":"AAYA,SAAS,UAAU,CACjB,KAA0B;IAE1B,OAAO,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;AAC9B,CAAC;AAED;;;GAGG;AACH,MAAM,UAAU,gBAAgB,CAAC,KAA0B;IACzD,IAAI,CAAC,UAAU,CAAC,KAAK,CAAC,EAAE,CAAC;QACvB,OAAO,KAAK,CAAC;IACf,CAAC;IACD,IAAI,KAAK,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;QACvB,MAAM,IAAI,KAAK,CAAC,+BAA+B,CAAC,CAAC;IACnD,CAAC;IACD,IAAI,KAAK,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;QACvB,MAAM,IAAI,GAAG,KAAK,CAAC,CAAC,CAAC,CAAC;QACtB,IAAI,IAAI,KAAK,SAAS,EAAE,CAAC;YACvB,MAAM,IAAI,KAAK,CAAC,iCAAiC,CAAC,CAAC;QACrD,CAAC;QACD,OAAO,IAAI,CAAC;IACd,CAAC;IACD,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,KAAK,EAAE,KAAK,EAAE,CAAC;AACtC,CAAC;AAED;;;GAGG;AACH,MAAM,UAAU,OAAO,CACrB,IAAe,EACf,MAAmC;IAEnC,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;AAC3C,CAAC;AAED;;GAEG;AACH,MAAM,UAAU,KAAK,CACnB,IAAyB,EACzB,SAA8B;IAE9B,OAAO;QACL,IAAI,EAAE,OAAO;QACb,IAAI,EAAE,gBAAgB,CAAC,IAAI,CAAC;QAC5B,SAAS,EAAE,gBAAgB,CAAC,SAAS,CAAC;KACvC,CAAC;AACJ,CAAC;AAED;;GAEG;AACH,MAAM,UAAU,SAAS,CACvB,IAAyB,EACzB,MAA2B;IAE3B,OAAO;QACL,IAAI,EAAE,WAAW;QACjB,IAAI,EAAE,gBAAgB,CAAC,IAAI,CAAC;QAC5B,MAAM,EAAE,gBAAgB,CAAC,MAAM,CAAC;KACjC,CAAC;AACJ,CAAC;AAED;;GAEG;AACH,MAAM,UAAU,IAAI,CAClB,IAAyB,EACzB,KAA0B;IAE1B,OAAO;QACL,IAAI,EAAE,MAAM;QACZ,IAAI,EAAE,gBAAgB,CAAC,IAAI,CAAC;QAC5B,KAAK,EAAE,gBAAgB,CAAC,KAAK,CAAC;KAC/B,CAAC;AACJ,CAAC"}
@@ -0,0 +1,9 @@
1
+ import type { AccessIrDefinition } from "./ir.js";
2
+ /**
3
+ * Semantic diff. OR-set order is ignored; exclusion and intersection
4
+ * order are kept. Same-entity permission refs compare equal to roles of
5
+ * the same name (SpiceDB's shared namespace).
6
+ */
7
+ export declare function accessIrDiff(expected: AccessIrDefinition, actual: AccessIrDefinition): readonly string[];
8
+ export declare function accessIrDefinitionsDiff(expected: readonly AccessIrDefinition[], actual: readonly AccessIrDefinition[]): readonly string[];
9
+ //# sourceMappingURL=compare-access-ir.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"compare-access-ir.d.ts","sourceRoot":"","sources":["../../src/core/compare-access-ir.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,kBAAkB,EAKnB,MAAM,SAAS,CAAC;AAwFjB;;;;GAIG;AACH,wBAAgB,YAAY,CAC1B,QAAQ,EAAE,kBAAkB,EAC5B,MAAM,EAAE,kBAAkB,GACzB,SAAS,MAAM,EAAE,CASnB;AAgFD,wBAAgB,uBAAuB,CACrC,QAAQ,EAAE,SAAS,kBAAkB,EAAE,EACvC,MAAM,EAAE,SAAS,kBAAkB,EAAE,GACpC,SAAS,MAAM,EAAE,CAyBnB"}