@picked/client 0.0.1-dev.1794460939512 → 0.0.1-dev.1794524488993

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 (333) hide show
  1. package/dist/.tsbuildinfo +1 -1
  2. package/dist/{api-DpESrsVW.js → api-BPgIOr9M.js} +1 -1
  3. package/dist/{api-CwgMIHfV.cjs → api-CPcoVcOk.cjs} +1 -1
  4. package/dist/cjs/client.d.ts +161 -0
  5. package/dist/cjs/client.d.ts.map +1 -0
  6. package/dist/cjs/data-source/api.d.ts +60 -0
  7. package/dist/cjs/data-source/api.d.ts.map +1 -0
  8. package/dist/cjs/data-source/preview-unavailable.d.ts +21 -0
  9. package/dist/cjs/data-source/preview-unavailable.d.ts.map +1 -0
  10. package/dist/cjs/data-source/provider.d.ts +108 -0
  11. package/dist/cjs/data-source/provider.d.ts.map +1 -0
  12. package/dist/cjs/data-source/registry.d.ts +26 -0
  13. package/dist/cjs/data-source/registry.d.ts.map +1 -0
  14. package/dist/cjs/data-source/request-observer.d.ts +75 -0
  15. package/dist/cjs/data-source/request-observer.d.ts.map +1 -0
  16. package/dist/cjs/data-source/virtual-data.d.ts +19 -0
  17. package/dist/cjs/data-source/virtual-data.d.ts.map +1 -0
  18. package/dist/cjs/entities/action/action.d.ts +156 -0
  19. package/dist/cjs/entities/action/action.d.ts.map +1 -0
  20. package/dist/cjs/entities/component/component.d.ts +91 -0
  21. package/dist/cjs/entities/component/component.d.ts.map +1 -0
  22. package/dist/cjs/entities/component/lazyComponent.d.ts +11 -0
  23. package/dist/cjs/entities/component/lazyComponent.d.ts.map +1 -0
  24. package/dist/cjs/entities/condition/condition.d.ts +29 -0
  25. package/dist/cjs/entities/condition/condition.d.ts.map +1 -0
  26. package/dist/cjs/entities/content/content.d.ts +53 -0
  27. package/dist/cjs/entities/content/content.d.ts.map +1 -0
  28. package/dist/cjs/entities/content/reference.d.ts +101 -0
  29. package/dist/cjs/entities/content/reference.d.ts.map +1 -0
  30. package/dist/cjs/entities/experience/experience.d.ts +228 -0
  31. package/dist/cjs/entities/experience/experience.d.ts.map +1 -0
  32. package/dist/cjs/entities/experience-instance/action-result.d.ts +69 -0
  33. package/dist/cjs/entities/experience-instance/action-result.d.ts.map +1 -0
  34. package/dist/cjs/entities/experience-instance/experience-instance.d.ts +112 -0
  35. package/dist/cjs/entities/experience-instance/experience-instance.d.ts.map +1 -0
  36. package/dist/cjs/entities/feature/feature.d.ts +158 -0
  37. package/dist/cjs/entities/feature/feature.d.ts.map +1 -0
  38. package/dist/cjs/entities/field/field.d.ts +135 -0
  39. package/dist/cjs/entities/field/field.d.ts.map +1 -0
  40. package/dist/cjs/entities/field/policies.d.ts +35 -0
  41. package/dist/cjs/entities/field/policies.d.ts.map +1 -0
  42. package/dist/cjs/entities/framework/framework.d.ts +45 -0
  43. package/dist/cjs/entities/framework/framework.d.ts.map +1 -0
  44. package/dist/cjs/entities/history/history.d.ts +25 -0
  45. package/dist/cjs/entities/history/history.d.ts.map +1 -0
  46. package/dist/cjs/entities/plugin/plugin.d.ts +50 -0
  47. package/dist/cjs/entities/plugin/plugin.d.ts.map +1 -0
  48. package/dist/cjs/entities/predicate/predicate.d.ts +48 -0
  49. package/dist/cjs/entities/predicate/predicate.d.ts.map +1 -0
  50. package/dist/cjs/entities/response/response-validation.d.ts +75 -0
  51. package/dist/cjs/entities/response/response-validation.d.ts.map +1 -0
  52. package/dist/cjs/entities/response/response.d.ts +69 -0
  53. package/dist/cjs/entities/response/response.d.ts.map +1 -0
  54. package/dist/cjs/entities/session/session.d.ts +55 -0
  55. package/dist/cjs/entities/session/session.d.ts.map +1 -0
  56. package/dist/cjs/entities/step/step.d.ts +56 -0
  57. package/dist/cjs/entities/step/step.d.ts.map +1 -0
  58. package/dist/cjs/entities/workspace/workspace.d.ts +37 -0
  59. package/dist/cjs/entities/workspace/workspace.d.ts.map +1 -0
  60. package/dist/cjs/exports.d.ts +34 -0
  61. package/dist/cjs/exports.d.ts.map +1 -0
  62. package/dist/cjs/form/build-responses.d.ts +18 -0
  63. package/dist/cjs/form/build-responses.d.ts.map +1 -0
  64. package/dist/cjs/form/create-field-evaluator.d.ts +28 -0
  65. package/dist/cjs/form/create-field-evaluator.d.ts.map +1 -0
  66. package/dist/cjs/form/create-field-validation.d.ts +60 -0
  67. package/dist/cjs/form/create-field-validation.d.ts.map +1 -0
  68. package/dist/cjs/form/create-form.d.ts +155 -0
  69. package/dist/cjs/form/create-form.d.ts.map +1 -0
  70. package/dist/cjs/form/create-submit-pipeline.d.ts +116 -0
  71. package/dist/cjs/form/create-submit-pipeline.d.ts.map +1 -0
  72. package/dist/cjs/form/get-step-fields.d.ts +19 -0
  73. package/dist/cjs/form/get-step-fields.d.ts.map +1 -0
  74. package/dist/cjs/form/index.d.ts +11 -0
  75. package/dist/cjs/form/index.d.ts.map +1 -0
  76. package/dist/cjs/index.d.ts +27 -0
  77. package/dist/cjs/index.d.ts.map +1 -0
  78. package/dist/cjs/index.js +2 -2
  79. package/dist/cjs/lifecycle/condition-selection.d.ts +146 -0
  80. package/dist/cjs/lifecycle/condition-selection.d.ts.map +1 -0
  81. package/dist/cjs/lifecycle/lifecycle.d.ts +48 -0
  82. package/dist/cjs/lifecycle/lifecycle.d.ts.map +1 -0
  83. package/dist/cjs/lifecycle/rules-logic.d.ts +25 -0
  84. package/dist/cjs/lifecycle/rules-logic.d.ts.map +1 -0
  85. package/dist/cjs/lifecycle/state-snapshot.d.ts +38 -0
  86. package/dist/cjs/lifecycle/state-snapshot.d.ts.map +1 -0
  87. package/dist/cjs/logic-engine.d.ts +38 -0
  88. package/dist/cjs/logic-engine.d.ts.map +1 -0
  89. package/dist/cjs/package.json +3 -0
  90. package/dist/cjs/picked.d.ts +468 -0
  91. package/dist/cjs/picked.d.ts.map +1 -0
  92. package/dist/cjs/plugins/create-experience/create-experience.d.ts +221 -0
  93. package/dist/cjs/plugins/create-experience/create-experience.d.ts.map +1 -0
  94. package/dist/cjs/plugins/create-experience/index.d.ts +6 -0
  95. package/dist/cjs/plugins/create-experience/index.d.ts.map +1 -0
  96. package/dist/cjs/plugins/create-experience/plugin.d.ts +9 -0
  97. package/dist/cjs/plugins/create-experience/plugin.d.ts.map +1 -0
  98. package/dist/cjs/plugins/create-experience/serialization.d.ts +6 -0
  99. package/dist/cjs/plugins/create-experience/serialization.d.ts.map +1 -0
  100. package/dist/cjs/plugins/dom-observer/index.d.ts +3 -0
  101. package/dist/cjs/plugins/dom-observer/index.d.ts.map +1 -0
  102. package/dist/cjs/plugins/dom-observer/plugin.d.ts +50 -0
  103. package/dist/cjs/plugins/dom-observer/plugin.d.ts.map +1 -0
  104. package/dist/cjs/plugins/dynamic-experiences/hash.d.ts +105 -0
  105. package/dist/cjs/plugins/dynamic-experiences/hash.d.ts.map +1 -0
  106. package/dist/cjs/plugins/dynamic-experiences/index.d.ts +8 -0
  107. package/dist/cjs/plugins/dynamic-experiences/index.d.ts.map +1 -0
  108. package/dist/cjs/plugins/dynamic-experiences/index.js +1 -1
  109. package/dist/cjs/plugins/dynamic-experiences/plugin.d.ts +53 -0
  110. package/dist/cjs/plugins/dynamic-experiences/plugin.d.ts.map +1 -0
  111. package/dist/cjs/plugins/dynamic-experiences/types.d.ts +48 -0
  112. package/dist/cjs/plugins/dynamic-experiences/types.d.ts.map +1 -0
  113. package/dist/cjs/plugins/experience-browser-storage/index.d.ts +2 -0
  114. package/dist/cjs/plugins/experience-browser-storage/index.d.ts.map +1 -0
  115. package/dist/cjs/plugins/experience-browser-storage/plugin.d.ts +7 -0
  116. package/dist/cjs/plugins/experience-browser-storage/plugin.d.ts.map +1 -0
  117. package/dist/cjs/plugins/history-browser-storage/index.d.ts +2 -0
  118. package/dist/cjs/plugins/history-browser-storage/index.d.ts.map +1 -0
  119. package/dist/cjs/plugins/history-browser-storage/plugin.d.ts +7 -0
  120. package/dist/cjs/plugins/history-browser-storage/plugin.d.ts.map +1 -0
  121. package/dist/cjs/plugins/responses-browser-storage/index.d.ts +2 -0
  122. package/dist/cjs/plugins/responses-browser-storage/index.d.ts.map +1 -0
  123. package/dist/cjs/plugins/responses-browser-storage/plugin.d.ts +18 -0
  124. package/dist/cjs/plugins/responses-browser-storage/plugin.d.ts.map +1 -0
  125. package/dist/cjs/plugins/responses-indexeddb/index.d.ts +2 -0
  126. package/dist/cjs/plugins/responses-indexeddb/index.d.ts.map +1 -0
  127. package/dist/cjs/plugins/responses-indexeddb/plugin.d.ts +3 -0
  128. package/dist/cjs/plugins/responses-indexeddb/plugin.d.ts.map +1 -0
  129. package/dist/cjs/plugins/single-page-app/index.d.ts +3 -0
  130. package/dist/cjs/plugins/single-page-app/index.d.ts.map +1 -0
  131. package/dist/cjs/plugins/single-page-app/plugin.d.ts +32 -0
  132. package/dist/cjs/plugins/single-page-app/plugin.d.ts.map +1 -0
  133. package/dist/cjs/plugins/telemetry/emit.d.ts +18 -0
  134. package/dist/cjs/plugins/telemetry/emit.d.ts.map +1 -0
  135. package/dist/cjs/plugins/telemetry/index.d.ts +4 -0
  136. package/dist/cjs/plugins/telemetry/index.d.ts.map +1 -0
  137. package/dist/cjs/plugins/telemetry/plugin-summary.d.ts +10 -0
  138. package/dist/cjs/plugins/telemetry/plugin-summary.d.ts.map +1 -0
  139. package/dist/cjs/plugins/telemetry/plugin.d.ts +47 -0
  140. package/dist/cjs/plugins/telemetry/plugin.d.ts.map +1 -0
  141. package/dist/cjs/plugins/web-components/index.d.ts +2 -0
  142. package/dist/cjs/plugins/web-components/index.d.ts.map +1 -0
  143. package/dist/cjs/plugins/web-components/plugin.d.ts +4 -0
  144. package/dist/cjs/plugins/web-components/plugin.d.ts.map +1 -0
  145. package/dist/cjs/plugins/window-object/index.d.ts +2 -0
  146. package/dist/cjs/plugins/window-object/index.d.ts.map +1 -0
  147. package/dist/cjs/plugins/window-object/plugin.d.ts +9 -0
  148. package/dist/cjs/plugins/window-object/plugin.d.ts.map +1 -0
  149. package/dist/cjs/preview/index.d.ts +18 -0
  150. package/dist/cjs/preview/index.d.ts.map +1 -0
  151. package/dist/cjs/preview-bridge/index.d.ts +14 -0
  152. package/dist/cjs/preview-bridge/index.d.ts.map +1 -0
  153. package/dist/cjs/preview-channel.d.ts +16 -0
  154. package/dist/cjs/preview-channel.d.ts.map +1 -0
  155. package/dist/cjs/preview-receiver/apply-ops.d.ts +32 -0
  156. package/dist/cjs/preview-receiver/apply-ops.d.ts.map +1 -0
  157. package/dist/cjs/preview-receiver/index.d.ts +32 -0
  158. package/dist/cjs/preview-receiver/index.d.ts.map +1 -0
  159. package/dist/cjs/preview-receiver/protocol.d.ts +69 -0
  160. package/dist/cjs/preview-receiver/protocol.d.ts.map +1 -0
  161. package/dist/cjs/schema-registry.d.ts +240 -0
  162. package/dist/cjs/schema-registry.d.ts.map +1 -0
  163. package/dist/cjs/server/hydrate.d.ts +21 -0
  164. package/dist/cjs/server/hydrate.d.ts.map +1 -0
  165. package/dist/cjs/server/index.d.ts +28 -0
  166. package/dist/cjs/server/index.d.ts.map +1 -0
  167. package/dist/cjs/server/index.js +1 -1
  168. package/dist/cjs/server/serialize.d.ts +89 -0
  169. package/dist/cjs/server/serialize.d.ts.map +1 -0
  170. package/dist/cjs/storage.d.ts +6 -0
  171. package/dist/cjs/storage.d.ts.map +1 -0
  172. package/dist/cjs/typed-content.d.ts +30 -0
  173. package/dist/cjs/typed-content.d.ts.map +1 -0
  174. package/dist/cjs/utils/api-url.d.ts +2 -0
  175. package/dist/cjs/utils/api-url.d.ts.map +1 -0
  176. package/dist/cjs/utils/client-telemetry.d.ts +25 -0
  177. package/dist/cjs/utils/client-telemetry.d.ts.map +1 -0
  178. package/dist/cjs/utils/content-path.d.ts +37 -0
  179. package/dist/cjs/utils/content-path.d.ts.map +1 -0
  180. package/dist/cjs/utils/devtools-experience.d.ts +4 -0
  181. package/dist/cjs/utils/devtools-experience.d.ts.map +1 -0
  182. package/dist/cjs/utils/dom.d.ts +20 -0
  183. package/dist/cjs/utils/dom.d.ts.map +1 -0
  184. package/dist/cjs/utils/events.d.ts +129 -0
  185. package/dist/cjs/utils/events.d.ts.map +1 -0
  186. package/dist/cjs/utils/global-obj.d.ts +10 -0
  187. package/dist/cjs/utils/global-obj.d.ts.map +1 -0
  188. package/dist/cjs/utils/html-asset-value.d.ts +20 -0
  189. package/dist/cjs/utils/html-asset-value.d.ts.map +1 -0
  190. package/dist/cjs/utils/id.d.ts +11 -0
  191. package/dist/cjs/utils/id.d.ts.map +1 -0
  192. package/dist/cjs/utils/indexed-db.d.ts +12 -0
  193. package/dist/cjs/utils/indexed-db.d.ts.map +1 -0
  194. package/dist/cjs/utils/inert-script-report.d.ts +40 -0
  195. package/dist/cjs/utils/inert-script-report.d.ts.map +1 -0
  196. package/dist/cjs/utils/logger.d.ts +3 -0
  197. package/dist/cjs/utils/logger.d.ts.map +1 -0
  198. package/dist/cjs/utils/node-tree/get-next-node-from-action.d.ts +25 -0
  199. package/dist/cjs/utils/node-tree/get-next-node-from-action.d.ts.map +1 -0
  200. package/dist/cjs/utils/node-tree/get-next-node-from-condition.d.ts +17 -0
  201. package/dist/cjs/utils/node-tree/get-next-node-from-condition.d.ts.map +1 -0
  202. package/dist/cjs/utils/node-tree/get-next-node.d.ts +3 -0
  203. package/dist/cjs/utils/node-tree/get-next-node.d.ts.map +1 -0
  204. package/dist/cjs/utils/node-tree/get-origin-node.d.ts +3 -0
  205. package/dist/cjs/utils/node-tree/get-origin-node.d.ts.map +1 -0
  206. package/dist/cjs/utils/node-tree/min-max-steps-to-leaf.d.ts +21 -0
  207. package/dist/cjs/utils/node-tree/min-max-steps-to-leaf.d.ts.map +1 -0
  208. package/dist/cjs/utils/node-tree/min-max-steps-to-origin.d.ts +23 -0
  209. package/dist/cjs/utils/node-tree/min-max-steps-to-origin.d.ts.map +1 -0
  210. package/dist/cjs/utils/node-tree/next-reachable-step-nodes.d.ts +37 -0
  211. package/dist/cjs/utils/node-tree/next-reachable-step-nodes.d.ts.map +1 -0
  212. package/dist/cjs/utils/node-tree/node-adjacency.d.ts +50 -0
  213. package/dist/cjs/utils/node-tree/node-adjacency.d.ts.map +1 -0
  214. package/dist/cjs/utils/node-tree/node-tree-index.d.ts +57 -0
  215. package/dist/cjs/utils/node-tree/node-tree-index.d.ts.map +1 -0
  216. package/dist/cjs/utils/nodes.d.ts +7 -0
  217. package/dist/cjs/utils/nodes.d.ts.map +1 -0
  218. package/dist/cjs/utils/object.d.ts +49 -0
  219. package/dist/cjs/utils/object.d.ts.map +1 -0
  220. package/dist/cjs/utils/picked-config.d.ts +39 -0
  221. package/dist/cjs/utils/picked-config.d.ts.map +1 -0
  222. package/dist/cjs/utils/preview-session.d.ts +12 -0
  223. package/dist/cjs/utils/preview-session.d.ts.map +1 -0
  224. package/dist/cjs/utils/rehydrate-scripts.d.ts +50 -0
  225. package/dist/cjs/utils/rehydrate-scripts.d.ts.map +1 -0
  226. package/dist/cjs/utils/render-string.d.ts +24 -0
  227. package/dist/cjs/utils/render-string.d.ts.map +1 -0
  228. package/dist/cjs/utils/rules-logic.d.ts +36 -0
  229. package/dist/cjs/utils/rules-logic.d.ts.map +1 -0
  230. package/dist/cjs/utils/search-params.d.ts +26 -0
  231. package/dist/cjs/utils/search-params.d.ts.map +1 -0
  232. package/dist/cjs/utils/storage.d.ts +385 -0
  233. package/dist/cjs/utils/storage.d.ts.map +1 -0
  234. package/dist/cjs/utils/supports.d.ts +97 -0
  235. package/dist/cjs/utils/supports.d.ts.map +1 -0
  236. package/dist/cjs/utils/user-timing.d.ts +21 -0
  237. package/dist/cjs/utils/user-timing.d.ts.map +1 -0
  238. package/dist/cjs/utils/version.d.ts +2 -0
  239. package/dist/cjs/utils/version.d.ts.map +1 -0
  240. package/dist/esm/index.js +2 -2
  241. package/dist/esm/plugins/dynamic-experiences/index.js +2 -2
  242. package/dist/esm/server/index.js +2 -2
  243. package/dist/{plugin-UA4qhlvs.cjs → plugin-C-4rIh44.cjs} +1 -1
  244. package/dist/{plugin-C7lY7wA0.js → plugin-C9tjxmv9.js} +2 -2
  245. package/dist/{preview-unavailable-D5JVXP6H.js → preview-unavailable-7lhCKSQG.js} +1 -1
  246. package/dist/{preview-unavailable-DcA7cGAO.cjs → preview-unavailable-CG-i-Ish.cjs} +1 -1
  247. package/dist/{provider-ZrjYdXty.cjs → provider-BA1KvzJM.cjs} +1 -1
  248. package/dist/{provider-B3lHhG5v.js → provider-CAsL7WcN.js} +1 -1
  249. package/dist/types/client.d.ts +7 -7
  250. package/dist/types/data-source/provider.d.ts +3 -3
  251. package/dist/types/data-source/registry.d.ts +1 -1
  252. package/dist/types/data-source/virtual-data.d.ts +1 -1
  253. package/dist/types/entities/action/action.d.ts +3 -3
  254. package/dist/types/entities/component/component.d.ts +4 -4
  255. package/dist/types/entities/condition/condition.d.ts +1 -1
  256. package/dist/types/entities/content/reference.d.ts +1 -1
  257. package/dist/types/entities/experience/experience.d.ts +7 -7
  258. package/dist/types/entities/experience-instance/action-result.d.ts +1 -1
  259. package/dist/types/entities/experience-instance/experience-instance.d.ts +6 -6
  260. package/dist/types/entities/feature/feature.d.ts +2 -2
  261. package/dist/types/entities/field/field.d.ts +2 -2
  262. package/dist/types/entities/framework/framework.d.ts +3 -3
  263. package/dist/types/entities/history/history.d.ts +1 -1
  264. package/dist/types/entities/plugin/plugin.d.ts +1 -1
  265. package/dist/types/entities/predicate/predicate.d.ts +2 -2
  266. package/dist/types/entities/response/response-validation.d.ts +2 -2
  267. package/dist/types/entities/response/response.d.ts +5 -5
  268. package/dist/types/entities/step/step.d.ts +1 -1
  269. package/dist/types/exports.d.ts +20 -20
  270. package/dist/types/form/build-responses.d.ts +1 -1
  271. package/dist/types/form/create-field-evaluator.d.ts +2 -2
  272. package/dist/types/form/create-field-validation.d.ts +3 -3
  273. package/dist/types/form/create-form.d.ts +5 -5
  274. package/dist/types/form/create-submit-pipeline.d.ts +6 -6
  275. package/dist/types/form/get-step-fields.d.ts +3 -3
  276. package/dist/types/form/index.d.ts +9 -9
  277. package/dist/types/index.d.ts +25 -25
  278. package/dist/types/lifecycle/condition-selection.d.ts +3 -3
  279. package/dist/types/lifecycle/lifecycle.d.ts +2 -2
  280. package/dist/types/lifecycle/rules-logic.d.ts +2 -2
  281. package/dist/types/lifecycle/state-snapshot.d.ts +2 -2
  282. package/dist/types/picked.d.ts +74 -74
  283. package/dist/types/plugins/create-experience/create-experience.d.ts +8 -8
  284. package/dist/types/plugins/create-experience/index.d.ts +4 -4
  285. package/dist/types/plugins/create-experience/plugin.d.ts +2 -2
  286. package/dist/types/plugins/dom-observer/index.d.ts +1 -1
  287. package/dist/types/plugins/dom-observer/plugin.d.ts +1 -1
  288. package/dist/types/plugins/dynamic-experiences/index.d.ts +3 -3
  289. package/dist/types/plugins/dynamic-experiences/plugin.d.ts +3 -3
  290. package/dist/types/plugins/experience-browser-storage/index.d.ts +1 -1
  291. package/dist/types/plugins/experience-browser-storage/plugin.d.ts +1 -1
  292. package/dist/types/plugins/history-browser-storage/index.d.ts +1 -1
  293. package/dist/types/plugins/history-browser-storage/plugin.d.ts +1 -1
  294. package/dist/types/plugins/responses-browser-storage/index.d.ts +1 -1
  295. package/dist/types/plugins/responses-browser-storage/plugin.d.ts +1 -1
  296. package/dist/types/plugins/responses-indexeddb/index.d.ts +1 -1
  297. package/dist/types/plugins/responses-indexeddb/plugin.d.ts +1 -1
  298. package/dist/types/plugins/single-page-app/index.d.ts +2 -2
  299. package/dist/types/plugins/single-page-app/plugin.d.ts +1 -1
  300. package/dist/types/plugins/telemetry/index.d.ts +2 -2
  301. package/dist/types/plugins/telemetry/plugin.d.ts +1 -1
  302. package/dist/types/plugins/web-components/index.d.ts +1 -1
  303. package/dist/types/plugins/web-components/plugin.d.ts +1 -1
  304. package/dist/types/plugins/window-object/index.d.ts +1 -1
  305. package/dist/types/plugins/window-object/plugin.d.ts +2 -2
  306. package/dist/types/preview/index.d.ts +6 -6
  307. package/dist/types/preview-channel.d.ts +1 -1
  308. package/dist/types/preview-receiver/index.d.ts +1 -1
  309. package/dist/types/preview-receiver/protocol.d.ts +1 -1
  310. package/dist/types/schema-registry.d.ts +2 -2
  311. package/dist/types/server/hydrate.d.ts +2 -2
  312. package/dist/types/server/index.d.ts +9 -9
  313. package/dist/types/server/serialize.d.ts +1 -1
  314. package/dist/types/storage.d.ts +1 -1
  315. package/dist/types/typed-content.d.ts +2 -2
  316. package/dist/types/utils/client-telemetry.d.ts +1 -1
  317. package/dist/types/utils/dom.d.ts +1 -1
  318. package/dist/types/utils/events.d.ts +5 -5
  319. package/dist/types/utils/global-obj.d.ts +1 -1
  320. package/dist/types/utils/node-tree/get-next-node-from-action.d.ts +1 -1
  321. package/dist/types/utils/node-tree/get-next-node-from-condition.d.ts +1 -1
  322. package/dist/types/utils/node-tree/get-next-node.d.ts +1 -1
  323. package/dist/types/utils/node-tree/get-origin-node.d.ts +1 -1
  324. package/dist/types/utils/node-tree/min-max-steps-to-leaf.d.ts +2 -2
  325. package/dist/types/utils/node-tree/min-max-steps-to-origin.d.ts +2 -2
  326. package/dist/types/utils/node-tree/next-reachable-step-nodes.d.ts +2 -2
  327. package/dist/types/utils/node-tree/node-adjacency.d.ts +1 -1
  328. package/dist/types/utils/node-tree/node-tree-index.d.ts +2 -2
  329. package/dist/types/utils/nodes.d.ts +1 -1
  330. package/dist/types/utils/picked-config.d.ts +1 -1
  331. package/dist/types/utils/rules-logic.d.ts +2 -2
  332. package/dist/types/utils/storage.d.ts +1 -1
  333. package/package.json +141 -56
@@ -0,0 +1 @@
1
+ {"version":3,"file":"registry.d.ts","sourceRoot":"","sources":["../../../src/data-source/registry.ts"],"names":[],"mappings":"AAYA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,sCAAsC,CAAA;AAK7E;;;;;;;;;;;;GAYG;AACH,wBAAgB,oBAAoB,CAAC,MAAM,EAAE,OAAO,GAAG,IAAI,CAQ1D;AAED;;;;;;;;GAQG;AACH,wBAAgB,oBAAoB,IAAI,iBAAiB,GAAG,IAAI,CAE/D"}
@@ -0,0 +1,75 @@
1
+ /**
2
+ * @file The hook the telemetry plugin uses to observe delivery API requests.
3
+ *
4
+ * An observer belongs to the client that registered it and is passed in per
5
+ * request, so two clients on one page observe only their own traffic. The
6
+ * observer hands back a per-request handle, so each completion correlates to
7
+ * its own request through the closure that created it.
8
+ */
9
+ /** Which delivery API endpoint a request is for. */
10
+ export type DeliveryAPIEndpoint = 'project-config' | 'experience-content';
11
+ /** Where a delivery API request failed; mirrors the stages `@picked/delivery-api-client` reports. */
12
+ export type DeliveryAPIFailureStage = 'network' | 'status' | 'parse' | 'shape';
13
+ /** How a delivery API request failed. */
14
+ export interface DeliveryAPIFailure {
15
+ /** The stage the request failed at. */
16
+ stage: DeliveryAPIFailureStage;
17
+ /** The thrown error's name, or the type of a thrown non-error. Absent when nothing was thrown. */
18
+ errorName?: string;
19
+ /** The thrown error's message. Absent when nothing was thrown or the value had none. */
20
+ errorMessage?: string;
21
+ }
22
+ /** A request in flight, from the observer's point of view. */
23
+ export interface ObservedRequest {
24
+ /** Headers to merge into this request, such as `traceparent`. */
25
+ headers?: Record<string, string>;
26
+ /** Called once the request has settled, with the HTTP status when the server answered and the failure when it failed. */
27
+ onSettled?: (ok: boolean, status?: number, failure?: DeliveryAPIFailure) => void;
28
+ }
29
+ /** Receives delivery API requests as they are made. */
30
+ export interface DeliveryAPIRequestObserver {
31
+ /** Called as a request begins; returns headers to add and a completion callback. */
32
+ onRequest: (endpoint: DeliveryAPIEndpoint) => ObservedRequest;
33
+ }
34
+ /** Supplies the observer in force for the next request, or `null` when there is none. */
35
+ export type DeliveryAPIRequestObserverSource = () => DeliveryAPIRequestObserver | null | undefined;
36
+ /**
37
+ * Notifies the observer that a request is starting.
38
+ *
39
+ * @param {DeliveryAPIRequestObserver | null} [observer] - The observer to notify, if any.
40
+ * @param {DeliveryAPIEndpoint} endpoint - Which endpoint is being called.
41
+ * @returns {ObservedRequest} Headers to merge and a completion callback, both possibly absent.
42
+ * @example const observed = beginObservedRequest(observer, 'project-config')
43
+ */
44
+ export declare function beginObservedRequest(observer: DeliveryAPIRequestObserver | null | undefined, endpoint: DeliveryAPIEndpoint): ObservedRequest;
45
+ /**
46
+ * Notifies the observer that a request has settled.
47
+ *
48
+ * @param {ObservedRequest} observed - The handle returned when the request began.
49
+ * @param {boolean} ok - Whether the request produced a usable result.
50
+ * @param {number} [status] - HTTP status the server answered with, when it answered.
51
+ * @param {DeliveryAPIFailure} [failure] - How the request failed, when it did.
52
+ * @returns {void}
53
+ * @example settleObservedRequest(observed, false, undefined, { stage: 'network' })
54
+ */
55
+ export declare function settleObservedRequest(observed: ObservedRequest, ok: boolean, status?: number, failure?: DeliveryAPIFailure): void;
56
+ /**
57
+ * Runs a delivery API fetch with the observer wrapped around it.
58
+ *
59
+ * The observer is read once per request, so one registered after an earlier fetch
60
+ * still applies to this one. Its headers are handed to `run` to travel with the
61
+ * request, and the same handle receives the outcome.
62
+ *
63
+ * `run` reports the HTTP status through the `onResponse` callback it is handed.
64
+ * A fetch that never reached the server leaves the status absent. It reports where it failed
65
+ * through the `onFailure` callback it is handed.
66
+ *
67
+ * @template T - The value the fetch resolves to.
68
+ * @param {DeliveryAPIRequestObserverSource} [source] - Supplies the observer for this request.
69
+ * @param {DeliveryAPIEndpoint} endpoint - Which endpoint is being called.
70
+ * @param {(headers?: Record<string, string>, onResponse?: (status: number) => void, onFailure?: (stage: DeliveryAPIFailureStage, error?: unknown) => void) => Promise<T | null>} run - The fetch to perform.
71
+ * @returns {Promise<T | null>} Whatever the fetch resolved to.
72
+ * @example observeDeliveryAPIRequest(source, 'project-config', (headers, onResponse, onFailure) => fetchProject(url, id, { headers, onResponse, onFailure }))
73
+ */
74
+ export declare function observeDeliveryAPIRequest<T>(source: DeliveryAPIRequestObserverSource | undefined, endpoint: DeliveryAPIEndpoint, run: (headers?: Record<string, string>, onResponse?: (status: number) => void, onFailure?: (stage: DeliveryAPIFailureStage, error?: unknown) => void) => Promise<T | null>): Promise<T | null>;
75
+ //# sourceMappingURL=request-observer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"request-observer.d.ts","sourceRoot":"","sources":["../../../src/data-source/request-observer.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,oDAAoD;AACpD,MAAM,MAAM,mBAAmB,GAAG,gBAAgB,GAAG,oBAAoB,CAAA;AAEzE,qGAAqG;AACrG,MAAM,MAAM,uBAAuB,GAAG,SAAS,GAAG,QAAQ,GAAG,OAAO,GAAG,OAAO,CAAA;AAE9E,yCAAyC;AACzC,MAAM,WAAW,kBAAkB;IACjC,uCAAuC;IACvC,KAAK,EAAE,uBAAuB,CAAA;IAC9B,kGAAkG;IAClG,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,wFAAwF;IACxF,YAAY,CAAC,EAAE,MAAM,CAAA;CACtB;AAED,8DAA8D;AAC9D,MAAM,WAAW,eAAe;IAC9B,iEAAiE;IACjE,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;IAChC,yHAAyH;IACzH,SAAS,CAAC,EAAE,CAAC,EAAE,EAAE,OAAO,EAAE,MAAM,CAAC,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,kBAAkB,KAAK,IAAI,CAAA;CACjF;AAED,uDAAuD;AACvD,MAAM,WAAW,0BAA0B;IACzC,oFAAoF;IACpF,SAAS,EAAE,CAAC,QAAQ,EAAE,mBAAmB,KAAK,eAAe,CAAA;CAC9D;AAED,yFAAyF;AACzF,MAAM,MAAM,gCAAgC,GAAG,MAAM,0BAA0B,GAAG,IAAI,GAAG,SAAS,CAAA;AAElG;;;;;;;GAOG;AACH,wBAAgB,oBAAoB,CAClC,QAAQ,EAAE,0BAA0B,GAAG,IAAI,GAAG,SAAS,EACvD,QAAQ,EAAE,mBAAmB,GAC5B,eAAe,CAOjB;AAED;;;;;;;;;GASG;AACH,wBAAgB,qBAAqB,CACnC,QAAQ,EAAE,eAAe,EACzB,EAAE,EAAE,OAAO,EACX,MAAM,CAAC,EAAE,MAAM,EACf,OAAO,CAAC,EAAE,kBAAkB,GAC3B,IAAI,CAMN;AAmBD;;;;;;;;;;;;;;;;;GAiBG;AACH,wBAAsB,yBAAyB,CAAC,CAAC,EAC/C,MAAM,EAAE,gCAAgC,GAAG,SAAS,EACpD,QAAQ,EAAE,mBAAmB,EAC7B,GAAG,EAAE,CACH,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,EAChC,UAAU,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,EACrC,SAAS,CAAC,EAAE,CAAC,KAAK,EAAE,uBAAuB,EAAE,KAAK,CAAC,EAAE,OAAO,KAAK,IAAI,KAClE,OAAO,CAAC,CAAC,GAAG,IAAI,CAAC,GACrB,OAAO,CAAC,CAAC,GAAG,IAAI,CAAC,CAsBnB"}
@@ -0,0 +1,19 @@
1
+ /**
2
+ * @file The shape guard for the generated `virtual:picked/data` module.
3
+ *
4
+ * Lives apart from the provider and the registry because both validate against it, and a guard
5
+ * shared by two modules that also reference each other would otherwise close an import cycle.
6
+ */
7
+ import type { VirtualPickedData } from '../plugins/dynamic-experiences/types.js';
8
+ /**
9
+ * Runtime type guard that validates the shape of a `virtual:picked/data` module.
10
+ *
11
+ * @param {unknown} value - Candidate module exports.
12
+ * @returns {boolean} Whether `value` matches the {@link VirtualPickedData} shape.
13
+ * @example
14
+ * ```typescript
15
+ * if (isVirtualPickedData(mod)) { useVirtualModule(mod) }
16
+ * ```
17
+ */
18
+ export declare function isVirtualPickedData(value: unknown): value is VirtualPickedData;
19
+ //# sourceMappingURL=virtual-data.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"virtual-data.d.ts","sourceRoot":"","sources":["../../../src/data-source/virtual-data.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,sCAAsC,CAAA;AAE7E;;;;;;;;;GASG;AACH,wBAAgB,mBAAmB,CAAC,KAAK,EAAE,OAAO,GAAG,KAAK,IAAI,iBAAiB,CAU9E"}
@@ -0,0 +1,156 @@
1
+ /** @file Action entity — Effector stores and registry for keyed callable functions. */
2
+ import { type EventCallable, type Store } from 'effector';
3
+ import type { StateSnapshot } from '../../lifecycle/state-snapshot.js';
4
+ import type { Picked } from '../../picked.js';
5
+ import type { ExperienceInstance } from '../experience-instance/experience-instance.js';
6
+ /**
7
+ * Context supplied by the experience-flow runtime when an ActionNode triggers the action.
8
+ * `null` for every other invocation path (see {@link Action}).
9
+ */
10
+ export interface ActionContext {
11
+ /** The experience instance whose ActionNode triggered this action. */
12
+ experience: ExperienceInstance;
13
+ }
14
+ /**
15
+ * What an action receives first: the state snapshot, the call's arguments, and, when the
16
+ * caller set a signal or a timeout, or an ActionNode runs the action, a signal that aborts
17
+ * once the caller stops waiting. An ActionNode stops waiting when the visitor leaves it.
18
+ */
19
+ export type ActionSnapshot = StateSnapshot & {
20
+ args: unknown[];
21
+ signal?: AbortSignal;
22
+ };
23
+ /**
24
+ * A named callable function that receives a state snapshot, action args, and a context, and
25
+ * returns or resolves to its response.
26
+ *
27
+ * `context` is an {@link ActionContext} only when the action is executed as an
28
+ * ActionNode in an experience flow. It is `null` for every other invocation path,
29
+ * including `getEvokableAction` and actions referenced from rule logic (condition
30
+ * rules, `initializeOpenLogic`, launch decisions, feature gates, field
31
+ * validation/visibility). Rule-logic paths evaluate the action against a snapshot
32
+ * only and have no triggering instance.
33
+ *
34
+ * While an ActionNode's action runs, its experience ignores `goToNextStep`, `goToStepById`
35
+ * and `goToStepByKey`, so the action's outcome picks the branch. `goToPreviousStep` moves the
36
+ * visitor back, and the flow then drops the outcome. Open-state events (`open`, `close`,
37
+ * `toggleOpen`, `setOpen`) on `context.experience` take effect at once, and the flow still
38
+ * moves on when the action settles.
39
+ *
40
+ * Whatever the action returns, or resolves to, is its response: `client.actions.run`
41
+ * resolves to it, and a rule reading `actions.<key>` sees it when it is a logic value.
42
+ *
43
+ * When executed as an ActionNode, only a thrown error (or rejected promise) routes to
44
+ * the `onFail` edge. Every resolved value, `false` and `undefined` included, routes to
45
+ * `onSuccess`. An action that maps an API response to the failure branch must therefore
46
+ * throw on the failure case, e.g. `if (!response.ok) throw new Error(...)`.
47
+ */
48
+ export type Action = (snapshot: ActionSnapshot, context: ActionContext | null) => unknown;
49
+ /** How `client.actions.run` runs an action. */
50
+ export interface ActionRunOptions {
51
+ /** The arguments the action receives in its snapshot's `args`. */
52
+ args?: unknown[];
53
+ /** The experience the action runs for, handed to it as its context. */
54
+ experience?: ExperienceInstance;
55
+ /** Stops the run, rejecting with the signal's reason. */
56
+ signal?: AbortSignal;
57
+ /** The longest the run may take before it rejects with a `TimeoutError`. */
58
+ timeoutMs?: number;
59
+ }
60
+ /** Where the latest run a framework binding started stands. */
61
+ export interface ActionRunState {
62
+ status: 'idle' | 'running' | 'succeeded' | 'failed';
63
+ /** The response of the latest run, once it succeeded. */
64
+ response: unknown;
65
+ /** What the latest run threw, once it failed. */
66
+ error: unknown;
67
+ }
68
+ /** How one run a framework binding started ended. */
69
+ export type SettledActionRun = {
70
+ status: 'succeeded';
71
+ response: unknown;
72
+ } | {
73
+ status: 'failed';
74
+ error: unknown;
75
+ };
76
+ /** The state of the latest run a binding started, and `run` to start one. */
77
+ export interface ActionBinding extends ActionRunState {
78
+ /** Runs the action with these arguments, resolving to how the run ended; never rejects. */
79
+ run: (...args: unknown[]) => Promise<SettledActionRun>;
80
+ }
81
+ /** The callable action: calling it runs the action with the arguments it is called with. */
82
+ export type EvokableAction = (...args: unknown[]) => ReturnType<Action>;
83
+ /** The callable action that also carries its binding: calling it runs the action as is. */
84
+ export type ActionHandle = EvokableAction & ActionBinding;
85
+ /** The action index a client holds. */
86
+ export type ActionsStore = ReturnType<typeof createActionIndexFactory>;
87
+ /** One registered action. */
88
+ export interface ActionIndexItem {
89
+ key: string;
90
+ action: Action;
91
+ /** True when the dynamic-experiences plugin registered the action from the project config. */
92
+ published: boolean;
93
+ }
94
+ /** What registering an action takes. */
95
+ export interface ActionRegistration {
96
+ key: string;
97
+ action: Action;
98
+ /** Marks an action registered from the project config; a host's own action omits it. */
99
+ published?: boolean;
100
+ }
101
+ /** The options the per-key stores take. */
102
+ type PerKeyOptions = {
103
+ experience: ExperienceInstance;
104
+ } | undefined;
105
+ /** Gives the store built for a key and experience, building it the first time. */
106
+ type PerKey<T> = ((actionKey: string, options?: PerKeyOptions) => T) & {
107
+ /** Gives the store built for the key and experience, or `undefined` when there is none. */
108
+ find: (actionKey: string, options?: PerKeyOptions) => T | undefined;
109
+ };
110
+ declare const createActionIndexFactory: ({ client }: {
111
+ client: Picked;
112
+ }) => {
113
+ register: EventCallable<ActionRegistration>;
114
+ unregister: EventCallable<string>;
115
+ getByKey: (key: string) => Store<Action | undefined>;
116
+ listStore: Store<ActionIndexItem[]>;
117
+ getEvokableAction: PerKey<Store<EvokableAction>>;
118
+ getActionBinding: PerKey<Store<ActionHandle>>;
119
+ getActionResult: (actionKey: string, options?: {
120
+ experience: ExperienceInstance;
121
+ }) => Store<unknown>;
122
+ refreshActionResult: (actionKey: string, options?: {
123
+ experience: ExperienceInstance;
124
+ }) => void;
125
+ isActionResultQueued: (actionKey: string, options?: {
126
+ experience: ExperienceInstance;
127
+ }) => boolean;
128
+ run: (key: string, options?: ActionRunOptions) => Promise<unknown>;
129
+ isPublished: (key: string) => boolean;
130
+ };
131
+ /**
132
+ * Creates an action index with lifecycle stores and registration logic.
133
+ *
134
+ * @param {object} params - Factory parameters including the client.
135
+ * @returns {ReturnType<typeof createActionIndexFactory>} The action index with register, unregister, getByKey, listStore, the evokable, binding and result stores, refreshActionResult, isActionResultQueued, run and isPublished.
136
+ * @example
137
+ * ```ts
138
+ * const actions = createActionIndex({ client })
139
+ * actions.register('log-event', ({ responses }) => { console.log(responses) })
140
+ * ```
141
+ */
142
+ export declare function createActionIndex<T extends Parameters<typeof createActionIndexFactory>[0]>(params: T): ReturnType<typeof createActionIndexFactory>;
143
+ /**
144
+ * Convenience helper that registers a single action on the given store.
145
+ *
146
+ * @param {string} key - Unique key for the action.
147
+ * @param {Action} action - The action function to register.
148
+ * @param {ActionsStore} actions - The actions store to register into.
149
+ * @example
150
+ * ```ts
151
+ * setupAction('log-event', ({ responses }) => { console.log(responses) }, actionsStore)
152
+ * ```
153
+ */
154
+ export declare const setupAction: (key: string, action: Action, actions: ActionsStore) => void;
155
+ export {};
156
+ //# sourceMappingURL=action.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"action.d.ts","sourceRoot":"","sources":["../../../../src/entities/action/action.ts"],"names":[],"mappings":"AAAA,uFAAuF;AACvF,OAAO,EASL,KAAK,aAAa,EAGlB,KAAK,KAAK,EAEX,MAAM,UAAU,CAAA;AAGjB,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,gCAAgC,CAAA;AACnE,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,cAAc,CAAA;AAC1C,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,4CAA4C,CAAA;AAEpF;;;GAGG;AACH,MAAM,WAAW,aAAa;IAC5B,sEAAsE;IACtE,UAAU,EAAE,kBAAkB,CAAA;CAC/B;AAED;;;;GAIG;AACH,MAAM,MAAM,cAAc,GAAG,aAAa,GAAG;IAAE,IAAI,EAAE,OAAO,EAAE,CAAC;IAAC,MAAM,CAAC,EAAE,WAAW,CAAA;CAAE,CAAA;AAEtF;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,MAAM,MAAM,MAAM,GAAG,CAAC,QAAQ,EAAE,cAAc,EAAE,OAAO,EAAE,aAAa,GAAG,IAAI,KAAK,OAAO,CAAA;AAEzF,+CAA+C;AAC/C,MAAM,WAAW,gBAAgB;IAC/B,kEAAkE;IAClE,IAAI,CAAC,EAAE,OAAO,EAAE,CAAA;IAChB,uEAAuE;IACvE,UAAU,CAAC,EAAE,kBAAkB,CAAA;IAC/B,yDAAyD;IACzD,MAAM,CAAC,EAAE,WAAW,CAAA;IACpB,4EAA4E;IAC5E,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB;AAED,+DAA+D;AAC/D,MAAM,WAAW,cAAc;IAC7B,MAAM,EAAE,MAAM,GAAG,SAAS,GAAG,WAAW,GAAG,QAAQ,CAAA;IACnD,yDAAyD;IACzD,QAAQ,EAAE,OAAO,CAAA;IACjB,iDAAiD;IACjD,KAAK,EAAE,OAAO,CAAA;CACf;AAED,qDAAqD;AACrD,MAAM,MAAM,gBAAgB,GAC1B;IAAE,MAAM,EAAE,WAAW,CAAC;IAAC,QAAQ,EAAE,OAAO,CAAA;CAAE,GAAG;IAAE,MAAM,EAAE,QAAQ,CAAC;IAAC,KAAK,EAAE,OAAO,CAAA;CAAE,CAAA;AAEnF,6EAA6E;AAC7E,MAAM,WAAW,aAAc,SAAQ,cAAc;IACnD,2FAA2F;IAC3F,GAAG,EAAE,CAAC,GAAG,IAAI,EAAE,OAAO,EAAE,KAAK,OAAO,CAAC,gBAAgB,CAAC,CAAA;CACvD;AAED,4FAA4F;AAC5F,MAAM,MAAM,cAAc,GAAG,CAAC,GAAG,IAAI,EAAE,OAAO,EAAE,KAAK,UAAU,CAAC,MAAM,CAAC,CAAA;AAEvE,2FAA2F;AAC3F,MAAM,MAAM,YAAY,GAAG,cAAc,GAAG,aAAa,CAAA;AAEzD,uCAAuC;AACvC,MAAM,MAAM,YAAY,GAAG,UAAU,CAAC,OAAO,wBAAwB,CAAC,CAAA;AAEtE,6BAA6B;AAC7B,MAAM,WAAW,eAAe;IAC9B,GAAG,EAAE,MAAM,CAAA;IACX,MAAM,EAAE,MAAM,CAAA;IACd,8FAA8F;IAC9F,SAAS,EAAE,OAAO,CAAA;CACnB;AAED,wCAAwC;AACxC,MAAM,WAAW,kBAAkB;IACjC,GAAG,EAAE,MAAM,CAAA;IACX,MAAM,EAAE,MAAM,CAAA;IACd,wFAAwF;IACxF,SAAS,CAAC,EAAE,OAAO,CAAA;CACpB;AAyBD,2CAA2C;AAC3C,KAAK,aAAa,GAAG;IAAE,UAAU,EAAE,kBAAkB,CAAA;CAAE,GAAG,SAAS,CAAA;AAEnE,kFAAkF;AAClF,KAAK,MAAM,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,aAAa,KAAK,CAAC,CAAC,GAAG;IACrE,2FAA2F;IAC3F,IAAI,EAAE,CAAC,SAAS,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,aAAa,KAAK,CAAC,GAAG,SAAS,CAAA;CACpE,CAAA;AA2CD,QAAA,MAAM,wBAAwB,eAA8B;IAAE,MAAM,EAAE,MAAM,CAAA;CAAE;;;oBA+DrD,MAAM;;;;iCAmUhB,MAAM,YACP;QAAE,UAAU,EAAE,kBAAkB,CAAA;KAAE,KAC3C,KAAK,CAAC,OAAO,CAAC;qCAmBJ,MAAM,YACP;QAAE,UAAU,EAAE,kBAAkB,CAAA;KAAE,KAC3C,IAAI;sCAoBM,MAAM,YACP;QAAE,UAAU,EAAE,kBAAkB,CAAA;KAAE,KAC3C,OAAO;eA9Nc,MAAM,YAAW,gBAAgB,KAAQ,OAAO,CAAC,OAAO,CAAC;uBA6OvD,MAAM,KAAG,OAAO;CAiB1C,CAAA;AAsBF;;;;;;;;;;GAUG;AACH,wBAAgB,iBAAiB,CAAC,CAAC,SAAS,UAAU,CAAC,OAAO,wBAAwB,CAAC,CAAC,CAAC,CAAC,EACxF,MAAM,EAAE,CAAC,GACR,UAAU,CAAC,OAAO,wBAAwB,CAAC,CAE7C;AAED;;;;;;;;;;GAUG;AACH,eAAO,MAAM,WAAW,QAAS,MAAM,UAAU,MAAM,WAAW,YAAY,KAAG,IAEhF,CAAA"}
@@ -0,0 +1,91 @@
1
+ /** @file Component entity — Effector stores and registry for framework-specific component implementations. */
2
+ import type { EventCallable, Store } from 'effector';
3
+ import type { Picked } from '../../picked.js';
4
+ import type { LazyComponentLoader } from './lazyComponent.js';
5
+ export interface AdaptedComponentStyle {
6
+ sheets?: string[];
7
+ css?: string[];
8
+ }
9
+ export interface LazyAdaptedComponent<F extends string = string, C = unknown> {
10
+ frameworkName: F;
11
+ component: Promise<{
12
+ default: C;
13
+ }> | LazyComponentLoader<C>;
14
+ style?: AdaptedComponentStyle;
15
+ }
16
+ export interface EagerAdaptedComponent<F extends string = string, C = unknown> {
17
+ frameworkName: F;
18
+ component: C;
19
+ style?: AdaptedComponentStyle;
20
+ }
21
+ export type AdaptedComponent<F extends string = string, C = unknown> = LazyAdaptedComponent<F, C> | EagerAdaptedComponent<F, C>;
22
+ export interface AdaptableComponents<C = AdaptedComponent<string>> {
23
+ experience: C;
24
+ }
25
+ export type ComponentIndex = ReturnType<typeof createComponentIndex>;
26
+ export type Component = ReturnType<typeof createComponent>;
27
+ declare const createComponentFactory: ({ client, component, name }: {
28
+ client: Picked;
29
+ name: string;
30
+ component: AdaptedComponent;
31
+ }) => {
32
+ name: string;
33
+ component: AdaptedComponent<string, unknown>;
34
+ frameworkStore: Store<import("../../index.js").Framework | undefined>;
35
+ };
36
+ /**
37
+ * Creates a component with framework-specific metadata and loader.
38
+ *
39
+ * @template T - Factory parameter type.
40
+ * @param params - The client, component name, and adapted component.
41
+ * @returns A component with name, component, and frameworkStore.
42
+ * @example
43
+ * ```ts
44
+ * const component = createComponent({ client, name: 'experience', component: adaptedComp })
45
+ * ```
46
+ */
47
+ export declare function createComponent<T extends Parameters<typeof createComponentFactory>[0]>(params: T): ReturnType<typeof createComponentFactory>;
48
+ declare const createComponentIndexFactory: ({ client }: {
49
+ client: Picked;
50
+ }) => {
51
+ register: EventCallable<{
52
+ name: string;
53
+ component: AdaptedComponent;
54
+ }>;
55
+ getByName: (name: string) => Store<{
56
+ name: string;
57
+ component: AdaptedComponent;
58
+ } | undefined>;
59
+ listStore: Store<{
60
+ name: string;
61
+ component: AdaptedComponent<string, unknown>;
62
+ frameworkStore: Store<import("../../index.js").Framework | undefined>;
63
+ }[]>;
64
+ };
65
+ /**
66
+ * Creates a component index with lifecycle stores and registration logic.
67
+ *
68
+ * @template T - Factory parameter type.
69
+ * @param {T} params - Factory parameters including the client.
70
+ * @returns {ReturnType<typeof createComponentIndexFactory>} The component index with register, getByName, and listStore methods.
71
+ * @example
72
+ * ```ts
73
+ * const components = createComponentIndex({ client })
74
+ * components.register('experience', adaptedComponent)
75
+ * ```
76
+ */
77
+ export declare function createComponentIndex<T extends Parameters<typeof createComponentIndexFactory>[0]>(params: T): ReturnType<typeof createComponentIndexFactory>;
78
+ /**
79
+ * Convenience helper that registers a single component on the given index.
80
+ *
81
+ * @param {string} name - Unique name for the component.
82
+ * @param {AdaptedComponent} component - The adapted component to register.
83
+ * @param {ComponentIndex} components - The component index to register into.
84
+ * @example
85
+ * ```ts
86
+ * setupComponent('experience', adaptedComponent, componentsIndex)
87
+ * ```
88
+ */
89
+ export declare const setupComponent: (name: string, component: AdaptedComponent, components: ComponentIndex) => void;
90
+ export {};
91
+ //# sourceMappingURL=component.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"component.d.ts","sourceRoot":"","sources":["../../../../src/entities/component/component.ts"],"names":[],"mappings":"AAAA,8GAA8G;AAC9G,OAAO,KAAK,EAAE,aAAa,EAAE,KAAK,EAAE,MAAM,UAAU,CAAA;AAIpD,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,cAAc,CAAA;AAC1C,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAA;AAE1D,MAAM,WAAW,qBAAqB;IACpC,MAAM,CAAC,EAAE,MAAM,EAAE,CAAA;IACjB,GAAG,CAAC,EAAE,MAAM,EAAE,CAAA;CACf;AAED,MAAM,WAAW,oBAAoB,CAAC,CAAC,SAAS,MAAM,GAAG,MAAM,EAAE,CAAC,GAAG,OAAO;IAC1E,aAAa,EAAE,CAAC,CAAA;IAChB,SAAS,EAAE,OAAO,CAAC;QAAE,OAAO,EAAE,CAAC,CAAA;KAAE,CAAC,GAAG,mBAAmB,CAAC,CAAC,CAAC,CAAA;IAC3D,KAAK,CAAC,EAAE,qBAAqB,CAAA;CAC9B;AAED,MAAM,WAAW,qBAAqB,CAAC,CAAC,SAAS,MAAM,GAAG,MAAM,EAAE,CAAC,GAAG,OAAO;IAC3E,aAAa,EAAE,CAAC,CAAA;IAChB,SAAS,EAAE,CAAC,CAAA;IACZ,KAAK,CAAC,EAAE,qBAAqB,CAAA;CAC9B;AAED,MAAM,MAAM,gBAAgB,CAAC,CAAC,SAAS,MAAM,GAAG,MAAM,EAAE,CAAC,GAAG,OAAO,IAC/D,oBAAoB,CAAC,CAAC,EAAE,CAAC,CAAC,GAC1B,qBAAqB,CAAC,CAAC,EAAE,CAAC,CAAC,CAAA;AAE/B,MAAM,WAAW,mBAAmB,CAAC,CAAC,GAAG,gBAAgB,CAAC,MAAM,CAAC;IAC/D,UAAU,EAAE,CAAC,CAAA;CACd;AAED,MAAM,MAAM,cAAc,GAAG,UAAU,CAAC,OAAO,oBAAoB,CAAC,CAAA;AACpE,MAAM,MAAM,SAAS,GAAG,UAAU,CAAC,OAAO,eAAe,CAAC,CAAA;AAI1D,QAAA,MAAM,sBAAsB,gCACI;IAAE,MAAM,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,MAAM,CAAC;IAAC,SAAS,EAAE,gBAAgB,CAAA;CAAE;;;;CAS5F,CAAA;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,eAAe,CAAC,CAAC,SAAS,UAAU,CAAC,OAAO,sBAAsB,CAAC,CAAC,CAAC,CAAC,EACpF,MAAM,EAAE,CAAC,GACR,UAAU,CAAC,OAAO,sBAAsB,CAAC,CAE3C;AAED,QAAA,MAAM,2BAA2B,eAA8B;IAAE,MAAM,EAAE,MAAM,CAAA;CAAE;;cAkBzC,MAAM;mBAAa,gBAAgB;;sBAmChD,MAAM,KAAG,KAAK,CACnC;QACE,IAAI,EAAE,MAAM,CAAA;QACZ,SAAS,EAAE,gBAAgB,CAAA;KAC5B,GACD,SAAS,CACZ;;;;;;CASD,CAAA;AAEF;;;;;;;;;;;GAWG;AACH,wBAAgB,oBAAoB,CAAC,CAAC,SAAS,UAAU,CAAC,OAAO,2BAA2B,CAAC,CAAC,CAAC,CAAC,EAC9F,MAAM,EAAE,CAAC,GACR,UAAU,CAAC,OAAO,2BAA2B,CAAC,CAEhD;AAED;;;;;;;;;;GAUG;AACH,eAAO,MAAM,cAAc,SACnB,MAAM,aACD,gBAAgB,cACf,cAAc,KACzB,IAEF,CAAA"}
@@ -0,0 +1,11 @@
1
+ export interface LazyComponentLoader<C = unknown> {
2
+ readonly $$type: 'lazy-component';
3
+ load: () => Promise<{
4
+ default: C;
5
+ }>;
6
+ }
7
+ export declare function lazyComponent<C>(factory: () => Promise<{
8
+ default: C;
9
+ }>): LazyComponentLoader<C>;
10
+ export declare function isLazyLoader(value: unknown): value is LazyComponentLoader;
11
+ //# sourceMappingURL=lazyComponent.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"lazyComponent.d.ts","sourceRoot":"","sources":["../../../../src/entities/component/lazyComponent.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,mBAAmB,CAAC,CAAC,GAAG,OAAO;IAC9C,QAAQ,CAAC,MAAM,EAAE,gBAAgB,CAAA;IACjC,IAAI,EAAE,MAAM,OAAO,CAAC;QAAE,OAAO,EAAE,CAAC,CAAA;KAAE,CAAC,CAAA;CACpC;AAED,wBAAgB,aAAa,CAAC,CAAC,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;IAAE,OAAO,EAAE,CAAC,CAAA;CAAE,CAAC,GAAG,mBAAmB,CAAC,CAAC,CAAC,CAK/F;AAED,wBAAgB,YAAY,CAAC,KAAK,EAAE,OAAO,GAAG,KAAK,IAAI,mBAAmB,CAOzE"}
@@ -0,0 +1,29 @@
1
+ import type { LogicRule } from '../../logic-engine.js';
2
+ export type ConditionsStore = ReturnType<typeof createConditionIndex>;
3
+ export interface Condition {
4
+ id: string;
5
+ key: string;
6
+ name: string;
7
+ logic: LogicRule;
8
+ }
9
+ declare const createConditionIndexFactory: () => {
10
+ register: (condition: Condition) => void;
11
+ getById: (id: Condition['id']) => import("effector").Store<Condition | null>;
12
+ getByKey: (key: Condition['key']) => import("effector").Store<Condition | null>;
13
+ listStore: import("effector").Store<Condition[]>;
14
+ indexStore: import("effector").StoreWritable<{
15
+ [id: string]: Condition;
16
+ }>;
17
+ };
18
+ /**
19
+ * Creates a reactive condition index with registration and derived lookup helpers
20
+ * (by id, by key, and full list).
21
+ *
22
+ * @returns {ConditionsStore} The condition index and its helpers.
23
+ * @example
24
+ * const conditions = createConditionIndex()
25
+ * conditions.register({ id: 'c1', key: 'is-home', name: 'Home', logic: { '==': [1, 1] } })
26
+ */
27
+ export declare function createConditionIndex(): ReturnType<typeof createConditionIndexFactory>;
28
+ export {};
29
+ //# sourceMappingURL=condition.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"condition.d.ts","sourceRoot":"","sources":["../../../../src/entities/condition/condition.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAA;AAEnD,MAAM,MAAM,eAAe,GAAG,UAAU,CAAC,OAAO,oBAAoB,CAAC,CAAA;AAIrE,MAAM,WAAW,SAAS;IACxB,EAAE,EAAE,MAAM,CAAA;IACV,GAAG,EAAE,MAAM,CAAA;IACX,IAAI,EAAE,MAAM,CAAA;IACZ,KAAK,EAAE,SAAS,CAAA;CACjB;AAED,QAAA,MAAM,2BAA2B;0BAqBF,SAAS,KAAG,IAAI;kBAgBxB,SAAS,CAAC,IAAI,CAAC;oBAYb,SAAS,CAAC,KAAK,CAAC;;;;;CAgBvC,CAAA;AAEF;;;;;;;;GAQG;AACH,wBAAgB,oBAAoB,IAAI,UAAU,CAAC,OAAO,2BAA2B,CAAC,CAErF"}
@@ -0,0 +1,53 @@
1
+ /** @file Content entity — Effector stores, types, and lifecycle helpers for CMS content records. */
2
+ import { type Store } from 'effector';
3
+ export interface Content {
4
+ id: string;
5
+ /**
6
+ * The `key` of the Content Model that produced this entry. Optional because
7
+ * non-wire producers may omit it; wire blobs always carry it (or `null`).
8
+ */
9
+ contentModelKey?: string | null;
10
+ data: Record<string, unknown>;
11
+ }
12
+ /**
13
+ * Transforms a content record's `data`, returning the next blob.
14
+ *
15
+ * Applied inside the store's own update so the read-modify-write cannot interleave with another
16
+ * write. Callers that want path-addressed ops build one of these with `applyContentOps` from
17
+ * `@picked/client/preview`, which is code-split away from the main bundle because only the
18
+ * live-preview channel needs it.
19
+ */
20
+ export type ContentDataPatch = (data: Record<string, unknown>) => Record<string, unknown>;
21
+ export type ContentsStore = ReturnType<typeof createContentIndex>;
22
+ declare const createContentIndexFactory: () => {
23
+ register: (content: Content) => void;
24
+ patch: (id: string, apply: ContentDataPatch) => void;
25
+ getById: (id: Content['id']) => Store<Content | null>;
26
+ listStore: Store<Content[]>;
27
+ indexStore: import("effector").StoreWritable<{
28
+ [id: string]: Content;
29
+ }>;
30
+ };
31
+ /**
32
+ * Creates an Effector-based index for registering and retrieving content records.
33
+ *
34
+ * @returns {ContentsStore} A content index with register, getById, and listStore.
35
+ * @example
36
+ * ```typescript
37
+ * const contents = createContentIndex()
38
+ * ```
39
+ */
40
+ export declare function createContentIndex(): ReturnType<typeof createContentIndexFactory>;
41
+ /**
42
+ * Registers a content record with the given index via the helper function.
43
+ *
44
+ * @param {Content} content - The content record to register.
45
+ * @param {ContentsStore} index - The content index to register the record with.
46
+ * @example
47
+ * ```typescript
48
+ * setupContent(content, index)
49
+ * ```
50
+ */
51
+ export declare function setupContent(content: Content, index: ContentsStore): void;
52
+ export {};
53
+ //# sourceMappingURL=content.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"content.d.ts","sourceRoot":"","sources":["../../../../src/entities/content/content.ts"],"names":[],"mappings":"AAAA,oGAAoG;AACpG,OAAO,EAA2B,KAAK,KAAK,EAAE,MAAM,UAAU,CAAA;AAK9D,MAAM,WAAW,OAAO;IACtB,EAAE,EAAE,MAAM,CAAA;IACV;;;OAGG;IACH,eAAe,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAC/B,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;CAC9B;AAED;;;;;;;GAOG;AACH,MAAM,MAAM,gBAAgB,GAAG,CAAC,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,KAAK,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;AAEzF,MAAM,MAAM,aAAa,GAAG,UAAU,CAAC,OAAO,kBAAkB,CAAC,CAAA;AAEjE,QAAA,MAAM,yBAAyB;wBAiCF,OAAO,KAAG,IAAI;gBAkBtB,MAAM,SAAS,gBAAgB,KAAG,IAAI;kBAmBpC,OAAO,CAAC,IAAI,CAAC,KAAG,KAAK,CAAC,OAAO,GAAG,IAAI,CAAC;;;;;CAW1D,CAAA;AAEF;;;;;;;;GAQG;AACH,wBAAgB,kBAAkB,IAAI,UAAU,CAAC,OAAO,yBAAyB,CAAC,CAEjF;AAED;;;;;;;;;GASG;AACH,wBAAgB,YAAY,CAAC,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,aAAa,GAAG,IAAI,CAEzE"}
@@ -0,0 +1,101 @@
1
+ /**
2
+ * @file Reading `reference` field values out of a delivered content blob.
3
+ *
4
+ * A `reference` field arrives as a pointer at another Content record rather than
5
+ * as the record itself. The referenced record travels separately and is
6
+ * registered into the content index under its own id, so resolving a pointer is
7
+ * a registry lookup — see `useReference` (`@picked/react`) and `getReference`
8
+ * (`@picked/svelte`), which is what most consumers should reach for.
9
+ *
10
+ * This module is the framework-agnostic half: readers that turn a raw field
11
+ * value into the id (or ids) to look up, tolerating both a single value and the
12
+ * array a repeatable field delivers, plus the store derivations the framework
13
+ * bindings wrap.
14
+ */
15
+ import { type Store } from 'effector';
16
+ import type { Content, ContentsStore } from './content.js';
17
+ /** A pointer at another Content record, as delivered inside a `reference` field. */
18
+ export interface ContentReference {
19
+ /** Id of the referenced Content record, to look up in the content index. */
20
+ contentEntryId: string;
21
+ /** The `key` of the Content Model the target belongs to, or `null` when unresolved. */
22
+ contentModelKey?: string | null;
23
+ }
24
+ /**
25
+ * Narrows an arbitrary field value to a {@link ContentReference}.
26
+ *
27
+ * A pointer that still carries inline `data` matches: the delivery surface emits
28
+ * inline data alongside the separate record while that format is retired, and
29
+ * both shapes address the same record.
30
+ *
31
+ * @param {unknown} value - The raw value read from a content blob's `data`.
32
+ * @returns {boolean} Whether `value` is a reference pointer.
33
+ * @example
34
+ * ```typescript
35
+ * if (isContentReference(content.author)) { content.author.contentEntryId }
36
+ * ```
37
+ */
38
+ export declare function isContentReference(value: unknown): value is ContentReference;
39
+ /**
40
+ * Reads the referenced Content record id from a single `reference` field value.
41
+ *
42
+ * @param {unknown} value - The raw value read from a content blob's `data`.
43
+ * @returns {string | null} The referenced id, or `null` when the field is unset or not a reference.
44
+ * @example
45
+ * ```typescript
46
+ * const authorId = readReferenceId(content.author)
47
+ * ```
48
+ */
49
+ export declare function readReferenceId(value: unknown): string | null;
50
+ /**
51
+ * Reads every referenced Content record id from a `reference` field, whether it
52
+ * was authored as repeatable or not. Values that are not references are dropped,
53
+ * so the result is always a list of ids that can be looked up.
54
+ *
55
+ * @param {unknown} value - The raw value read from a content blob's `data`.
56
+ * @returns {string[]} The referenced ids, in field order.
57
+ * @example
58
+ * ```typescript
59
+ * const authorIds = readReferenceIds(content.authors)
60
+ * ```
61
+ */
62
+ export declare function readReferenceIds(value: unknown): string[];
63
+ /**
64
+ * Derives a store resolving a single `reference` field value against the content
65
+ * registry.
66
+ *
67
+ * Reads the registry index rather than a per-id store so an unset field, an
68
+ * unregistered target, and a target registered after first paint all flow
69
+ * through one reactive path. The framework bindings (`useReference`,
70
+ * `getReference`) wrap this; call it directly only outside React and Svelte.
71
+ *
72
+ * @param {ContentsStore} contents - The client's content registry.
73
+ * @param {unknown} value - The raw `reference` value, or an Effector store carrying one. A
74
+ * store keeps the lookup live when the field arrives after this call.
75
+ * @returns {Store<Content | null>} The referenced record, or `null` when the field is unset or its target is not registered.
76
+ * @example
77
+ * ```typescript
78
+ * const author = deriveReference(client.contents, content.author)
79
+ * ```
80
+ */
81
+ export declare function deriveReference(contents: ContentsStore, value: unknown): Store<Content | null>;
82
+ /**
83
+ * Derives a store resolving a repeatable `reference` field against the content
84
+ * registry, in field order. A single (non-repeatable) value resolves to a
85
+ * one-element list.
86
+ *
87
+ * The list is dense: a pointer whose target is not registered — deleted, cut off
88
+ * by the reference depth cap, or belonging to another workspace — is skipped
89
+ * rather than held as a hole, so consumers can iterate without a null check.
90
+ *
91
+ * @param {ContentsStore} contents - The client's content registry.
92
+ * @param {unknown} value - The raw `reference` value, or an Effector store carrying one. A
93
+ * store keeps the lookup live when the field arrives after this call.
94
+ * @returns {Store<Content[]>} The referenced records that resolved.
95
+ * @example
96
+ * ```typescript
97
+ * const authors = deriveReferences(client.contents, content.authors)
98
+ * ```
99
+ */
100
+ export declare function deriveReferences(contents: ContentsStore, value: unknown): Store<Content[]>;
101
+ //# sourceMappingURL=reference.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"reference.d.ts","sourceRoot":"","sources":["../../../../src/entities/content/reference.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AACH,OAAO,EAAe,KAAK,KAAK,EAAE,MAAM,UAAU,CAAA;AAClD,OAAO,KAAK,EAAE,OAAO,EAAE,aAAa,EAAE,MAAM,WAAW,CAAA;AAEvD,oFAAoF;AACpF,MAAM,WAAW,gBAAgB;IAC/B,4EAA4E;IAC5E,cAAc,EAAE,MAAM,CAAA;IACtB,uFAAuF;IACvF,eAAe,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;CAChC;AAED;;;;;;;;;;;;;GAaG;AACH,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,OAAO,GAAG,KAAK,IAAI,gBAAgB,CAQ5E;AAED;;;;;;;;;GASG;AACH,wBAAgB,eAAe,CAAC,KAAK,EAAE,OAAO,GAAG,MAAM,GAAG,IAAI,CAE7D;AAED;;;;;;;;;;;GAWG;AACH,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,OAAO,GAAG,MAAM,EAAE,CAUzD;AAiCD;;;;;;;;;;;;;;;;;GAiBG;AACH,wBAAgB,eAAe,CAAC,QAAQ,EAAE,aAAa,EAAE,KAAK,EAAE,OAAO,GAAG,KAAK,CAAC,OAAO,GAAG,IAAI,CAAC,CAS9F;AAED;;;;;;;;;;;;;;;;;GAiBG;AACH,wBAAgB,gBAAgB,CAAC,QAAQ,EAAE,aAAa,EAAE,KAAK,EAAE,OAAO,GAAG,KAAK,CAAC,OAAO,EAAE,CAAC,CAS1F"}