@lmvz-ds/components 0.16.0 → 0.17.1

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 (248) hide show
  1. package/dist/cjs/{icons-BOM23oli.js → Effect-DdYOHaR4.js} +153 -889
  2. package/dist/cjs/app-globals-V2Kpy_OQ.js +0 -3
  3. package/dist/cjs/aria-loader-BRxRUIyi.js +121 -0
  4. package/dist/cjs/{assets-XY-cBmal.js → assets-OvQ-WUwR.js} +2 -5
  5. package/dist/cjs/component-Csg9MtNK.js +140 -0
  6. package/dist/cjs/element-activation-controller-DC_6T0Rt.js +31 -0
  7. package/dist/cjs/icons-EHBLbidD.js +653 -0
  8. package/dist/cjs/{index-ww_DCXU7.js → index-BBqtydE-.js} +426 -431
  9. package/dist/cjs/index-Bp6Dd2i1.js +94 -0
  10. package/dist/cjs/{index-B1Puzu82.js → index-CH-YLRgg.js} +650 -10
  11. package/dist/cjs/index.cjs.js +12 -13
  12. package/dist/cjs/lmvz-action.cjs.entry.js +2 -5
  13. package/dist/cjs/lmvz-button.cjs.entry.js +73 -0
  14. package/dist/cjs/lmvz-card.cjs.entry.js +3 -6
  15. package/dist/cjs/lmvz-chip.cjs.entry.js +2 -5
  16. package/dist/cjs/lmvz-components.cjs.js +2 -5
  17. package/dist/cjs/lmvz-header_2.cjs.entry.js +153 -0
  18. package/dist/cjs/lmvz-icon.cjs.entry.js +87 -0
  19. package/dist/cjs/lmvz-input.cjs.entry.js +183 -0
  20. package/dist/cjs/lmvz-menuitem.cjs.entry.js +36 -0
  21. package/dist/cjs/lmvz-select.cjs.entry.js +71 -0
  22. package/dist/cjs/loader.cjs.js +2 -5
  23. package/dist/cjs/reactive-controller-host-vy1TIIXv.js +189 -0
  24. package/dist/collection/api/ds.constants.js +0 -1
  25. package/dist/collection/api/index.js +0 -1
  26. package/dist/collection/collection-manifest.json +13 -1
  27. package/dist/collection/components/lmvz-action/lmvz-action.js +1 -2
  28. package/dist/collection/components/lmvz-button/lmvz-button.css +2 -24
  29. package/dist/collection/components/lmvz-button/lmvz-button.js +1 -2
  30. package/dist/collection/components/lmvz-card/lmvz-card.css +2 -24
  31. package/dist/collection/components/lmvz-card/lmvz-card.js +1 -2
  32. package/dist/collection/components/lmvz-chip/lmvz-chip.js +1 -2
  33. package/dist/collection/components/lmvz-header/lmvz-header.js +1 -2
  34. package/dist/collection/components/lmvz-icon/icons.js +0 -1
  35. package/dist/collection/components/lmvz-icon/lmvz-icon.js +1 -2
  36. package/dist/collection/components/lmvz-icon/public.js +0 -1
  37. package/dist/collection/components/lmvz-icon/test/icons.unit.js +0 -1
  38. package/dist/collection/components/lmvz-input/lmvz-input.css +2 -24
  39. package/dist/collection/components/lmvz-input/lmvz-input.js +2 -3
  40. package/dist/collection/components/lmvz-menuitem/lmvz-menuitem.css +2 -24
  41. package/dist/collection/components/lmvz-menuitem/lmvz-menuitem.js +1 -2
  42. package/dist/collection/components/lmvz-select/lmvz-select.css +2 -24
  43. package/dist/collection/components/lmvz-select/lmvz-select.js +1 -2
  44. package/dist/collection/index.js +0 -1
  45. package/dist/collection/integration/header-integration.js +1 -2
  46. package/dist/collection/utils/aria/aria-validation-controller.js +0 -1
  47. package/dist/collection/utils/aria/element-activation-controller.js +0 -1
  48. package/dist/collection/utils/aria/list-keyboard-controller.js +0 -1
  49. package/dist/collection/utils/assets.js +0 -1
  50. package/dist/collection/utils/component.js +0 -1
  51. package/dist/collection/utils/effect.js +0 -1
  52. package/dist/collection/utils/environment.js +0 -1
  53. package/dist/collection/utils/http.js +0 -1
  54. package/dist/collection/utils/http.unit.js +0 -1
  55. package/dist/collection/utils/public.js +0 -1
  56. package/dist/collection/utils/reactive-controller-host.js +0 -1
  57. package/dist/collection/utils/validation/svg.js +0 -1
  58. package/dist/components/index.d.ts +0 -2
  59. package/dist/components/index.js +1 -2
  60. package/dist/components/lmvz-action.js +1 -2
  61. package/dist/components/lmvz-button.js +1 -2
  62. package/dist/components/lmvz-card.js +1 -2
  63. package/dist/components/lmvz-chip.js +1 -2
  64. package/dist/components/lmvz-header.js +1 -2
  65. package/dist/components/lmvz-icon.js +1 -2
  66. package/dist/components/lmvz-input.js +1 -2
  67. package/dist/components/lmvz-menuitem.js +1 -2
  68. package/dist/components/lmvz-select.js +1 -2
  69. package/dist/components/p-BfTCfPZ1.js +2 -3
  70. package/dist/components/p-BsHYIl56.js +1 -2
  71. package/dist/components/p-CKtksB0G.js +1 -0
  72. package/dist/components/p-CN0JX9-m.js +1 -2
  73. package/dist/components/p-CahBdGGN.js +1 -0
  74. package/dist/components/p-DQEkWkMh.js +1 -2
  75. package/dist/components/p-GKEnURpp.js +1 -0
  76. package/dist/components/p-vIq2biqy.js +2 -3
  77. package/dist/esm/{icons-D1lxdRXP.js → Effect-9SROYpxM.js} +91 -854
  78. package/dist/esm/app-globals-DQuL1Twl.js +0 -3
  79. package/dist/esm/aria-loader-JxXwTAe5.js +114 -0
  80. package/dist/esm/{assets-BD98wsl7.js → assets-CNHv_WMG.js} +1 -4
  81. package/dist/esm/component-DIrAQ4IB.js +134 -0
  82. package/dist/esm/element-activation-controller-CN0JX9-m.js +29 -0
  83. package/dist/esm/icons-B255FOe4.js +649 -0
  84. package/dist/esm/{index-DoNkkDv1.js → index-BW1YMEA3.js} +1 -6
  85. package/dist/esm/index-BfTCfPZ1.js +92 -0
  86. package/dist/esm/{index-WeqgWisK.js → index-CQb-mBBB.js} +650 -10
  87. package/dist/esm/index.js +5 -7
  88. package/dist/esm/lmvz-action.entry.js +2 -5
  89. package/dist/esm/lmvz-button.entry.js +71 -0
  90. package/dist/esm/lmvz-card.entry.js +3 -6
  91. package/dist/esm/lmvz-chip.entry.js +2 -5
  92. package/dist/esm/lmvz-components.js +3 -6
  93. package/dist/esm/lmvz-header_2.entry.js +150 -0
  94. package/dist/esm/lmvz-icon.entry.js +85 -0
  95. package/dist/esm/lmvz-input.entry.js +181 -0
  96. package/dist/esm/lmvz-menuitem.entry.js +34 -0
  97. package/dist/esm/lmvz-select.entry.js +69 -0
  98. package/dist/esm/loader.js +3 -6
  99. package/dist/esm/reactive-controller-host-OhKYwMvP.js +186 -0
  100. package/dist/lmvz-components/index.esm.js +1 -2
  101. package/dist/lmvz-components/lmvz-components.esm.js +1 -2
  102. package/dist/lmvz-components/p-150ecfb6.entry.js +1 -0
  103. package/dist/lmvz-components/p-22f67eff.entry.js +1 -0
  104. package/dist/lmvz-components/p-4530f088.entry.js +1 -0
  105. package/dist/lmvz-components/p-47d7ed0e.entry.js +1 -0
  106. package/dist/lmvz-components/p-5c3f1404.entry.js +1 -0
  107. package/dist/lmvz-components/p-8d51e396.entry.js +1 -0
  108. package/dist/lmvz-components/p-9SROYpxM.js +1 -0
  109. package/dist/lmvz-components/p-BfTCfPZ1.js +6 -0
  110. package/dist/lmvz-components/p-Bx29-tJt.js +1 -0
  111. package/dist/lmvz-components/p-CN0JX9-m.js +1 -0
  112. package/dist/lmvz-components/p-CQb-mBBB.js +2 -0
  113. package/dist/lmvz-components/p-Cp76bcGb.js +1 -0
  114. package/dist/lmvz-components/p-Cp7cp10e.js +12 -0
  115. package/dist/lmvz-components/p-DIrAQ4IB.js +1 -0
  116. package/dist/lmvz-components/p-DQuL1Twl.js +1 -2
  117. package/dist/lmvz-components/p-DyO6wO4l.js +1 -0
  118. package/dist/lmvz-components/p-b8926640.entry.js +1 -0
  119. package/dist/lmvz-components/p-b9d1953f.entry.js +1 -0
  120. package/dist/lmvz-components/p-d9c3f542.entry.js +1 -0
  121. package/dist/lmvz-components/p-i2508Ct1.js +1 -0
  122. package/dist/manifest.json +11 -47
  123. package/dist/stencil.config.base.js +0 -1
  124. package/dist/stencil.config.dev.js +0 -1
  125. package/dist/stencil.config.integration.js +0 -1
  126. package/dist/stencil.config.js +0 -1
  127. package/dist/stencil.config.prod.js +0 -1
  128. package/dist/types/components.d.ts +0 -18
  129. package/hydrate/index.js +11 -11
  130. package/hydrate/index.mjs +11 -11
  131. package/package.json +4 -4
  132. package/readme.md +1 -1
  133. package/dist/cjs/app-globals-V2Kpy_OQ.js.map +0 -1
  134. package/dist/cjs/assets-XY-cBmal.js.map +0 -1
  135. package/dist/cjs/header-integration_7.cjs.entry.js +0 -1024
  136. package/dist/cjs/header-integration_7.cjs.entry.js.map +0 -1
  137. package/dist/cjs/icons-BOM23oli.js.map +0 -1
  138. package/dist/cjs/index-B1Puzu82.js.map +0 -1
  139. package/dist/cjs/index-ww_DCXU7.js.map +0 -1
  140. package/dist/cjs/index.cjs.js.map +0 -1
  141. package/dist/cjs/lmvz-action.cjs.entry.js.map +0 -1
  142. package/dist/cjs/lmvz-card.cjs.entry.js.map +0 -1
  143. package/dist/cjs/lmvz-chip.cjs.entry.js.map +0 -1
  144. package/dist/cjs/lmvz-components.cjs.js.map +0 -1
  145. package/dist/cjs/loader.cjs.js.map +0 -1
  146. package/dist/collection/api/ds.constants.js.map +0 -1
  147. package/dist/collection/api/index.js.map +0 -1
  148. package/dist/collection/components/lmvz-action/lmvz-action.js.map +0 -1
  149. package/dist/collection/components/lmvz-button/lmvz-button.js.map +0 -1
  150. package/dist/collection/components/lmvz-card/lmvz-card.js.map +0 -1
  151. package/dist/collection/components/lmvz-chip/lmvz-chip.js.map +0 -1
  152. package/dist/collection/components/lmvz-header/lmvz-header.js.map +0 -1
  153. package/dist/collection/components/lmvz-icon/icons.js.map +0 -1
  154. package/dist/collection/components/lmvz-icon/lmvz-icon.js.map +0 -1
  155. package/dist/collection/components/lmvz-icon/public.js.map +0 -1
  156. package/dist/collection/components/lmvz-icon/test/icons.unit.js.map +0 -1
  157. package/dist/collection/components/lmvz-input/lmvz-input.js.map +0 -1
  158. package/dist/collection/components/lmvz-menuitem/lmvz-menuitem.js.map +0 -1
  159. package/dist/collection/components/lmvz-select/lmvz-select.js.map +0 -1
  160. package/dist/collection/index.js.map +0 -1
  161. package/dist/collection/integration/header-integration.js.map +0 -1
  162. package/dist/collection/utils/aria/aria-validation-controller.js.map +0 -1
  163. package/dist/collection/utils/aria/element-activation-controller.js.map +0 -1
  164. package/dist/collection/utils/aria/list-keyboard-controller.js.map +0 -1
  165. package/dist/collection/utils/assets.js.map +0 -1
  166. package/dist/collection/utils/component.js.map +0 -1
  167. package/dist/collection/utils/effect.js.map +0 -1
  168. package/dist/collection/utils/environment.js.map +0 -1
  169. package/dist/collection/utils/http.js.map +0 -1
  170. package/dist/collection/utils/http.unit.js.map +0 -1
  171. package/dist/collection/utils/public.js.map +0 -1
  172. package/dist/collection/utils/reactive-controller-host.js.map +0 -1
  173. package/dist/collection/utils/validation/svg.js.map +0 -1
  174. package/dist/components/header-integration.d.ts +0 -11
  175. package/dist/components/header-integration.js +0 -2
  176. package/dist/components/header-integration.js.map +0 -1
  177. package/dist/components/index.js.map +0 -1
  178. package/dist/components/lmvz-action.js.map +0 -1
  179. package/dist/components/lmvz-button.js.map +0 -1
  180. package/dist/components/lmvz-card.js.map +0 -1
  181. package/dist/components/lmvz-chip.js.map +0 -1
  182. package/dist/components/lmvz-header.js.map +0 -1
  183. package/dist/components/lmvz-icon.js.map +0 -1
  184. package/dist/components/lmvz-input.js.map +0 -1
  185. package/dist/components/lmvz-menuitem.js.map +0 -1
  186. package/dist/components/lmvz-select.js.map +0 -1
  187. package/dist/components/p-B2g3aN-E.js +0 -2
  188. package/dist/components/p-B2g3aN-E.js.map +0 -1
  189. package/dist/components/p-BXdOuZTp.js +0 -2
  190. package/dist/components/p-BXdOuZTp.js.map +0 -1
  191. package/dist/components/p-BfTCfPZ1.js.map +0 -1
  192. package/dist/components/p-BpCjj39Z.js +0 -2
  193. package/dist/components/p-BpCjj39Z.js.map +0 -1
  194. package/dist/components/p-BsHYIl56.js.map +0 -1
  195. package/dist/components/p-C5rqq3bf.js +0 -2
  196. package/dist/components/p-C5rqq3bf.js.map +0 -1
  197. package/dist/components/p-CI0tffvo.js +0 -2
  198. package/dist/components/p-CI0tffvo.js.map +0 -1
  199. package/dist/components/p-CN0JX9-m.js.map +0 -1
  200. package/dist/components/p-ClmDNIy4.js +0 -2
  201. package/dist/components/p-ClmDNIy4.js.map +0 -1
  202. package/dist/components/p-DQEkWkMh.js.map +0 -1
  203. package/dist/components/p-X5fEFT9T.js +0 -2
  204. package/dist/components/p-X5fEFT9T.js.map +0 -1
  205. package/dist/components/p-vIq2biqy.js.map +0 -1
  206. package/dist/esm/app-globals-DQuL1Twl.js.map +0 -1
  207. package/dist/esm/assets-BD98wsl7.js.map +0 -1
  208. package/dist/esm/header-integration_7.entry.js +0 -1016
  209. package/dist/esm/header-integration_7.entry.js.map +0 -1
  210. package/dist/esm/icons-D1lxdRXP.js.map +0 -1
  211. package/dist/esm/index-DoNkkDv1.js.map +0 -1
  212. package/dist/esm/index-WeqgWisK.js.map +0 -1
  213. package/dist/esm/index.js.map +0 -1
  214. package/dist/esm/lmvz-action.entry.js.map +0 -1
  215. package/dist/esm/lmvz-card.entry.js.map +0 -1
  216. package/dist/esm/lmvz-chip.entry.js.map +0 -1
  217. package/dist/esm/lmvz-components.js.map +0 -1
  218. package/dist/esm/loader.js.map +0 -1
  219. package/dist/lmvz-components/index.esm.js.map +0 -1
  220. package/dist/lmvz-components/lmvz-components.esm.js.map +0 -1
  221. package/dist/lmvz-components/p-33485219.entry.js +0 -2
  222. package/dist/lmvz-components/p-33485219.entry.js.map +0 -1
  223. package/dist/lmvz-components/p-76032c32.entry.js +0 -2
  224. package/dist/lmvz-components/p-76032c32.entry.js.map +0 -1
  225. package/dist/lmvz-components/p-7aeec9a8.entry.js +0 -7
  226. package/dist/lmvz-components/p-7aeec9a8.entry.js.map +0 -1
  227. package/dist/lmvz-components/p-84e0a9dd.entry.js +0 -2
  228. package/dist/lmvz-components/p-84e0a9dd.entry.js.map +0 -1
  229. package/dist/lmvz-components/p-CkJb8WVZ.js +0 -2
  230. package/dist/lmvz-components/p-CkJb8WVZ.js.map +0 -1
  231. package/dist/lmvz-components/p-DQuL1Twl.js.map +0 -1
  232. package/dist/lmvz-components/p-WeqgWisK.js +0 -3
  233. package/dist/lmvz-components/p-WeqgWisK.js.map +0 -1
  234. package/dist/lmvz-components/p-Z9X0_ik0.js +0 -2
  235. package/dist/lmvz-components/p-Z9X0_ik0.js.map +0 -1
  236. package/dist/lmvz-components/p-eP0oxQ44.js +0 -13
  237. package/dist/lmvz-components/p-eP0oxQ44.js.map +0 -1
  238. package/dist/stencil.config.base.js.map +0 -1
  239. package/dist/stencil.config.dev.js.map +0 -1
  240. package/dist/stencil.config.integration.js.map +0 -1
  241. package/dist/stencil.config.js.map +0 -1
  242. package/dist/stencil.config.prod.js.map +0 -1
  243. package/dist/types/integration/header-integration.d.ts +0 -5
  244. /package/dist/types/{Users/patrick.nemenz/workspace/lmvz/lmvz-ds → opt/atlassian/pipelines/agent/build}/packages/components/.stencil/stencil.config.base.d.ts +0 -0
  245. /package/dist/types/{Users/patrick.nemenz/workspace/lmvz/lmvz-ds → opt/atlassian/pipelines/agent/build}/packages/components/.stencil/stencil.config.d.ts +0 -0
  246. /package/dist/types/{Users/patrick.nemenz/workspace/lmvz/lmvz-ds → opt/atlassian/pipelines/agent/build}/packages/components/.stencil/stencil.config.dev.d.ts +0 -0
  247. /package/dist/types/{Users/patrick.nemenz/workspace/lmvz/lmvz-ds → opt/atlassian/pipelines/agent/build}/packages/components/.stencil/stencil.config.integration.d.ts +0 -0
  248. /package/dist/types/{Users/patrick.nemenz/workspace/lmvz/lmvz-ds → opt/atlassian/pipelines/agent/build}/packages/components/.stencil/stencil.config.prod.d.ts +0 -0
@@ -0,0 +1,649 @@
1
+ import { g as getOrThrowWith, a as right, b as left, i as identity, d as isRight, e as getRight, m as match, f as decode, h as map, j as all, k as merge, n as sync, o as suspend, p as get, q as succeed, u as none, v as getOrUndefined, w as unsafeMake, x as has, y as set, z as struct, A as flatMap, B as clockWith, C as offer, D as compareAndSet, E as poll, F as EmptyMutableQueue, G as remove, H as set$1, I as size, J as isSome, K as some, L as empty, M as make$2, N as unbounded, O as symbol, P as pipe, Q as cached, R as combine, S as hash, T as symbol$1, U as hasProperty, V as equals, W as asVoid, _ as _await, X as when, Y as succeed$1, Z as toMillis, $ as onInterrupt, a0 as zipRight, a1 as interrupt, a2 as done, a3 as exit, a4 as provideContext, a5 as context, a6 as fiberId, a7 as YieldableError, a8 as gen, a9 as tryPromise, aa as fail, ab as try_, ac as gen$1, ad as infinity, ae as logWarning } from './Effect-9SROYpxM.js';
2
+ import { c as createAssetUrlSafely } from './assets-CNHv_WMG.js';
3
+
4
+ /**
5
+ * This module provides types and utility functions to create and work with branded types,
6
+ * which are TypeScript types with an added type tag to prevent accidental usage of a value in the wrong context.
7
+ *
8
+ * The `refined` and `nominal` functions are both used to create branded types in TypeScript.
9
+ * The main difference between them is that `refined` allows for validation of the data, while `nominal` does not.
10
+ *
11
+ * The `nominal` function is used to create a new branded type that has the same underlying type as the input, but with a different name.
12
+ * This is useful when you want to distinguish between two values of the same type that have different meanings.
13
+ * The `nominal` function does not perform any validation of the input data.
14
+ *
15
+ * On the other hand, the `refined` function is used to create a new branded type that has the same underlying type as the input,
16
+ * but with a different name, and it also allows for validation of the input data.
17
+ * The `refined` function takes a predicate that is used to validate the input data.
18
+ * If the input data fails the validation, a `BrandErrors` is returned, which provides information about the specific validation failure.
19
+ *
20
+ * @since 2.0.0
21
+ */
22
+ /**
23
+ * @since 2.0.0
24
+ * @category symbols
25
+ */
26
+ const RefinedConstructorsTypeId = /*#__PURE__*/Symbol.for("effect/Brand/Refined");
27
+ /**
28
+ * Returns a `BrandErrors` that contains a single `RefinementError`.
29
+ *
30
+ * @since 2.0.0
31
+ * @category constructors
32
+ */
33
+ const error = (message, meta) => [{
34
+ message,
35
+ meta
36
+ }];
37
+ function refined(...args) {
38
+ const either = args.length === 2 ? unbranded => args[0](unbranded) ? right(unbranded) : left(args[1](unbranded)) : unbranded => {
39
+ return match(args[0](unbranded), {
40
+ onNone: () => right(unbranded),
41
+ onSome: left
42
+ });
43
+ };
44
+ return Object.assign(unbranded => getOrThrowWith(either(unbranded), identity), {
45
+ [RefinedConstructorsTypeId]: RefinedConstructorsTypeId,
46
+ option: args => getRight(either(args)),
47
+ either,
48
+ is: args => isRight(either(args))
49
+ });
50
+ }
51
+
52
+ /** @internal */
53
+ const complete = (key, exit, entryStats, timeToLiveMillis) => struct({
54
+ _tag: "Complete",
55
+ key,
56
+ exit,
57
+ entryStats,
58
+ timeToLiveMillis
59
+ });
60
+ /** @internal */
61
+ const pending = (key, deferred) => struct({
62
+ _tag: "Pending",
63
+ key,
64
+ deferred
65
+ });
66
+ /** @internal */
67
+ const refreshing = (deferred, complete) => struct({
68
+ _tag: "Refreshing",
69
+ deferred,
70
+ complete
71
+ });
72
+ /** @internal */
73
+ const MapKeyTypeId = /*#__PURE__*/Symbol.for("effect/Cache/MapKey");
74
+ class MapKeyImpl {
75
+ current;
76
+ [MapKeyTypeId] = MapKeyTypeId;
77
+ previous = undefined;
78
+ next = undefined;
79
+ constructor(current) {
80
+ this.current = current;
81
+ }
82
+ [symbol]() {
83
+ return pipe(hash(this.current), combine(hash(this.previous)), combine(hash(this.next)), cached(this));
84
+ }
85
+ [symbol$1](that) {
86
+ if (this === that) {
87
+ return true;
88
+ }
89
+ return isMapKey(that) && equals(this.current, that.current) && equals(this.previous, that.previous) && equals(this.next, that.next);
90
+ }
91
+ }
92
+ /** @internal */
93
+ const makeMapKey = current => new MapKeyImpl(current);
94
+ /** @internal */
95
+ const isMapKey = u => hasProperty(u, MapKeyTypeId);
96
+ class KeySetImpl {
97
+ head = undefined;
98
+ tail = undefined;
99
+ add(key) {
100
+ if (key !== this.tail) {
101
+ if (this.tail === undefined) {
102
+ this.head = key;
103
+ this.tail = key;
104
+ } else {
105
+ const previous = key.previous;
106
+ const next = key.next;
107
+ if (next !== undefined) {
108
+ key.next = undefined;
109
+ if (previous !== undefined) {
110
+ previous.next = next;
111
+ next.previous = previous;
112
+ } else {
113
+ this.head = next;
114
+ this.head.previous = undefined;
115
+ }
116
+ }
117
+ this.tail.next = key;
118
+ key.previous = this.tail;
119
+ this.tail = key;
120
+ }
121
+ }
122
+ }
123
+ remove() {
124
+ const key = this.head;
125
+ if (key !== undefined) {
126
+ const next = key.next;
127
+ if (next !== undefined) {
128
+ key.next = undefined;
129
+ this.head = next;
130
+ this.head.previous = undefined;
131
+ } else {
132
+ this.head = undefined;
133
+ this.tail = undefined;
134
+ }
135
+ }
136
+ return key;
137
+ }
138
+ }
139
+ /** @internal */
140
+ const makeKeySet = () => new KeySetImpl();
141
+ /**
142
+ * Constructs a new `CacheState` from the specified values.
143
+ *
144
+ * @internal
145
+ */
146
+ const makeCacheState = (map, keys, accesses, updating, hits, misses) => ({
147
+ map,
148
+ keys,
149
+ accesses,
150
+ updating,
151
+ hits,
152
+ misses
153
+ });
154
+ /**
155
+ * Constructs an initial cache state.
156
+ *
157
+ * @internal
158
+ */
159
+ const initialCacheState = () => makeCacheState(empty(), makeKeySet(), unbounded(), make$2(false), 0, 0);
160
+ /** @internal */
161
+ const CacheSymbolKey = "effect/Cache";
162
+ /** @internal */
163
+ const CacheTypeId = /*#__PURE__*/Symbol.for(CacheSymbolKey);
164
+ const cacheVariance = {
165
+ /* c8 ignore next */
166
+ _Key: _ => _,
167
+ /* c8 ignore next */
168
+ _Error: _ => _,
169
+ /* c8 ignore next */
170
+ _Value: _ => _
171
+ };
172
+ /** @internal */
173
+ const ConsumerCacheSymbolKey = "effect/ConsumerCache";
174
+ /** @internal */
175
+ const ConsumerCacheTypeId = /*#__PURE__*/Symbol.for(ConsumerCacheSymbolKey);
176
+ const consumerCacheVariance = {
177
+ /* c8 ignore next */
178
+ _Key: _ => _,
179
+ /* c8 ignore next */
180
+ _Error: _ => _,
181
+ /* c8 ignore next */
182
+ _Value: _ => _
183
+ };
184
+ /** @internal */
185
+ const makeCacheStats = options => options;
186
+ /** @internal */
187
+ const makeEntryStats = loadedMillis => ({
188
+ loadedMillis
189
+ });
190
+ class CacheImpl {
191
+ capacity;
192
+ context;
193
+ fiberId;
194
+ lookup;
195
+ timeToLive;
196
+ [CacheTypeId] = cacheVariance;
197
+ [ConsumerCacheTypeId] = consumerCacheVariance;
198
+ cacheState;
199
+ constructor(capacity, context, fiberId, lookup, timeToLive) {
200
+ this.capacity = capacity;
201
+ this.context = context;
202
+ this.fiberId = fiberId;
203
+ this.lookup = lookup;
204
+ this.timeToLive = timeToLive;
205
+ this.cacheState = initialCacheState();
206
+ }
207
+ get(key) {
208
+ return map(this.getEither(key), merge);
209
+ }
210
+ get cacheStats() {
211
+ return sync(() => makeCacheStats({
212
+ hits: this.cacheState.hits,
213
+ misses: this.cacheState.misses,
214
+ size: size(this.cacheState.map)
215
+ }));
216
+ }
217
+ getOption(key) {
218
+ return suspend(() => match(get(this.cacheState.map, key), {
219
+ onNone: () => {
220
+ const mapKey = makeMapKey(key);
221
+ this.trackAccess(mapKey);
222
+ this.trackMiss();
223
+ return succeed(none());
224
+ },
225
+ onSome: value => this.resolveMapValue(value)
226
+ }));
227
+ }
228
+ getOptionComplete(key) {
229
+ return suspend(() => match(get(this.cacheState.map, key), {
230
+ onNone: () => {
231
+ const mapKey = makeMapKey(key);
232
+ this.trackAccess(mapKey);
233
+ this.trackMiss();
234
+ return succeed(none());
235
+ },
236
+ onSome: value => this.resolveMapValue(value, true)
237
+ }));
238
+ }
239
+ contains(key) {
240
+ return sync(() => has(this.cacheState.map, key));
241
+ }
242
+ entryStats(key) {
243
+ return sync(() => {
244
+ const option = get(this.cacheState.map, key);
245
+ if (isSome(option)) {
246
+ switch (option.value._tag) {
247
+ case "Complete":
248
+ {
249
+ const loaded = option.value.entryStats.loadedMillis;
250
+ return some(makeEntryStats(loaded));
251
+ }
252
+ case "Pending":
253
+ {
254
+ return none();
255
+ }
256
+ case "Refreshing":
257
+ {
258
+ const loaded = option.value.complete.entryStats.loadedMillis;
259
+ return some(makeEntryStats(loaded));
260
+ }
261
+ }
262
+ }
263
+ return none();
264
+ });
265
+ }
266
+ getEither(key) {
267
+ return suspend(() => {
268
+ const k = key;
269
+ let mapKey = undefined;
270
+ let deferred = undefined;
271
+ let value = getOrUndefined(get(this.cacheState.map, k));
272
+ if (value === undefined) {
273
+ deferred = unsafeMake(this.fiberId);
274
+ mapKey = makeMapKey(k);
275
+ if (has(this.cacheState.map, k)) {
276
+ value = getOrUndefined(get(this.cacheState.map, k));
277
+ } else {
278
+ set(this.cacheState.map, k, pending(mapKey, deferred));
279
+ }
280
+ }
281
+ if (value === undefined) {
282
+ this.trackAccess(mapKey);
283
+ this.trackMiss();
284
+ return map(this.lookupValueOf(key, deferred), right);
285
+ } else {
286
+ return flatMap(this.resolveMapValue(value), match({
287
+ onNone: () => this.getEither(key),
288
+ onSome: value => succeed(left(value))
289
+ }));
290
+ }
291
+ });
292
+ }
293
+ invalidate(key) {
294
+ return sync(() => {
295
+ remove(this.cacheState.map, key);
296
+ });
297
+ }
298
+ invalidateWhen(key, when) {
299
+ return sync(() => {
300
+ const value = get(this.cacheState.map, key);
301
+ if (isSome(value) && value.value._tag === "Complete") {
302
+ if (value.value.exit._tag === "Success") {
303
+ if (when(value.value.exit.value)) {
304
+ remove(this.cacheState.map, key);
305
+ }
306
+ }
307
+ }
308
+ });
309
+ }
310
+ get invalidateAll() {
311
+ return sync(() => {
312
+ this.cacheState.map = empty();
313
+ });
314
+ }
315
+ refresh(key) {
316
+ return clockWith(clock => suspend(() => {
317
+ const k = key;
318
+ const deferred = unsafeMake(this.fiberId);
319
+ let value = getOrUndefined(get(this.cacheState.map, k));
320
+ if (value === undefined) {
321
+ if (has(this.cacheState.map, k)) {
322
+ value = getOrUndefined(get(this.cacheState.map, k));
323
+ } else {
324
+ set(this.cacheState.map, k, pending(makeMapKey(k), deferred));
325
+ }
326
+ }
327
+ if (value === undefined) {
328
+ return asVoid(this.lookupValueOf(key, deferred));
329
+ } else {
330
+ switch (value._tag) {
331
+ case "Complete":
332
+ {
333
+ if (this.hasExpired(clock, value.timeToLiveMillis)) {
334
+ const found = getOrUndefined(get(this.cacheState.map, k));
335
+ if (equals(found, value)) {
336
+ remove(this.cacheState.map, k);
337
+ }
338
+ return asVoid(this.get(key));
339
+ }
340
+ // Only trigger the lookup if we're still the current value, `completedResult`
341
+ return pipe(this.lookupValueOf(key, deferred), when(() => {
342
+ const current = getOrUndefined(get(this.cacheState.map, k));
343
+ if (equals(current, value)) {
344
+ const mapValue = refreshing(deferred, value);
345
+ set(this.cacheState.map, k, mapValue);
346
+ return true;
347
+ }
348
+ return false;
349
+ }), asVoid);
350
+ }
351
+ case "Pending":
352
+ {
353
+ return _await(value.deferred);
354
+ }
355
+ case "Refreshing":
356
+ {
357
+ return _await(value.deferred);
358
+ }
359
+ }
360
+ }
361
+ }));
362
+ }
363
+ set(key, value) {
364
+ return clockWith(clock => sync(() => {
365
+ const now = clock.unsafeCurrentTimeMillis();
366
+ const k = key;
367
+ const lookupResult = succeed$1(value);
368
+ const mapValue = complete(makeMapKey(k), lookupResult, makeEntryStats(now), now + toMillis(decode(this.timeToLive(lookupResult))));
369
+ set(this.cacheState.map, k, mapValue);
370
+ }));
371
+ }
372
+ get size() {
373
+ return sync(() => {
374
+ return size(this.cacheState.map);
375
+ });
376
+ }
377
+ get values() {
378
+ return sync(() => {
379
+ const values = [];
380
+ for (const entry of this.cacheState.map) {
381
+ if (entry[1]._tag === "Complete" && entry[1].exit._tag === "Success") {
382
+ values.push(entry[1].exit.value);
383
+ }
384
+ }
385
+ return values;
386
+ });
387
+ }
388
+ get entries() {
389
+ return sync(() => {
390
+ const values = [];
391
+ for (const entry of this.cacheState.map) {
392
+ if (entry[1]._tag === "Complete" && entry[1].exit._tag === "Success") {
393
+ values.push([entry[0], entry[1].exit.value]);
394
+ }
395
+ }
396
+ return values;
397
+ });
398
+ }
399
+ get keys() {
400
+ return sync(() => {
401
+ const keys = [];
402
+ for (const entry of this.cacheState.map) {
403
+ if (entry[1]._tag === "Complete" && entry[1].exit._tag === "Success") {
404
+ keys.push(entry[0]);
405
+ }
406
+ }
407
+ return keys;
408
+ });
409
+ }
410
+ resolveMapValue(value, ignorePending = false) {
411
+ return clockWith(clock => {
412
+ switch (value._tag) {
413
+ case "Complete":
414
+ {
415
+ this.trackAccess(value.key);
416
+ if (this.hasExpired(clock, value.timeToLiveMillis)) {
417
+ remove(this.cacheState.map, value.key.current);
418
+ return succeed(none());
419
+ }
420
+ this.trackHit();
421
+ return map(value.exit, some);
422
+ }
423
+ case "Pending":
424
+ {
425
+ this.trackAccess(value.key);
426
+ this.trackHit();
427
+ if (ignorePending) {
428
+ return succeed(none());
429
+ }
430
+ return map(_await(value.deferred), some);
431
+ }
432
+ case "Refreshing":
433
+ {
434
+ this.trackAccess(value.complete.key);
435
+ this.trackHit();
436
+ if (this.hasExpired(clock, value.complete.timeToLiveMillis)) {
437
+ if (ignorePending) {
438
+ return succeed(none());
439
+ }
440
+ return map(_await(value.deferred), some);
441
+ }
442
+ return map(value.complete.exit, some);
443
+ }
444
+ }
445
+ });
446
+ }
447
+ trackHit() {
448
+ this.cacheState.hits = this.cacheState.hits + 1;
449
+ }
450
+ trackMiss() {
451
+ this.cacheState.misses = this.cacheState.misses + 1;
452
+ }
453
+ trackAccess(key) {
454
+ offer(this.cacheState.accesses, key);
455
+ if (compareAndSet(this.cacheState.updating, false, true)) {
456
+ let loop = true;
457
+ while (loop) {
458
+ const key = poll(this.cacheState.accesses, EmptyMutableQueue);
459
+ if (key === EmptyMutableQueue) {
460
+ loop = false;
461
+ } else {
462
+ this.cacheState.keys.add(key);
463
+ }
464
+ }
465
+ let size$1 = size(this.cacheState.map);
466
+ loop = size$1 > this.capacity;
467
+ while (loop) {
468
+ const key = this.cacheState.keys.remove();
469
+ if (key !== undefined) {
470
+ if (has(this.cacheState.map, key.current)) {
471
+ remove(this.cacheState.map, key.current);
472
+ size$1 = size$1 - 1;
473
+ loop = size$1 > this.capacity;
474
+ }
475
+ } else {
476
+ loop = false;
477
+ }
478
+ }
479
+ set$1(this.cacheState.updating, false);
480
+ }
481
+ }
482
+ hasExpired(clock, timeToLiveMillis) {
483
+ return clock.unsafeCurrentTimeMillis() > timeToLiveMillis;
484
+ }
485
+ lookupValueOf(input, deferred) {
486
+ return clockWith(clock => suspend(() => {
487
+ const key = input;
488
+ return pipe(this.lookup(input), provideContext(this.context), exit, flatMap(exit => {
489
+ const now = clock.unsafeCurrentTimeMillis();
490
+ const stats = makeEntryStats(now);
491
+ const value = complete(makeMapKey(key), exit, stats, now + toMillis(decode(this.timeToLive(exit))));
492
+ set(this.cacheState.map, key, value);
493
+ return zipRight(done(deferred, exit), exit);
494
+ }), onInterrupt(() => zipRight(interrupt(deferred), sync(() => {
495
+ remove(this.cacheState.map, key);
496
+ }))));
497
+ }));
498
+ }
499
+ }
500
+ /** @internal */
501
+ const make$1 = options => {
502
+ const timeToLive = decode(options.timeToLive);
503
+ return makeWith({
504
+ capacity: options.capacity,
505
+ lookup: options.lookup,
506
+ timeToLive: () => timeToLive
507
+ });
508
+ };
509
+ /** @internal */
510
+ const makeWith = options => map(all([context(), fiberId]), ([context, fiberId]) => new CacheImpl(options.capacity, context, fiberId, options.lookup, exit => decode(options.timeToLive(exit))));
511
+
512
+ /**
513
+ * Constructs a new cache with the specified capacity, time to live, and
514
+ * lookup function.
515
+ *
516
+ * @since 2.0.0
517
+ * @category constructors
518
+ */
519
+ const make = make$1;
520
+
521
+ /**
522
+ * Provides a constructor for a Case Class.
523
+ *
524
+ * @since 2.0.0
525
+ * @category constructors
526
+ */
527
+ const Error$1 = /*#__PURE__*/function () {
528
+ const plainArgsSymbol = /*#__PURE__*/Symbol.for("effect/Data/Error/plainArgs");
529
+ const O = {
530
+ BaseEffectError: class extends YieldableError {
531
+ constructor(args) {
532
+ super(args?.message, args?.cause ? {
533
+ cause: args.cause
534
+ } : undefined);
535
+ if (args) {
536
+ Object.assign(this, args);
537
+ // @effect-diagnostics-next-line floatingEffect:off
538
+ Object.defineProperty(this, plainArgsSymbol, {
539
+ value: args,
540
+ enumerable: false
541
+ });
542
+ }
543
+ }
544
+ toJSON() {
545
+ return {
546
+ ...this[plainArgsSymbol],
547
+ ...this
548
+ };
549
+ }
550
+ }
551
+ };
552
+ return O.BaseEffectError;
553
+ }();
554
+ /**
555
+ * @since 2.0.0
556
+ * @category constructors
557
+ */
558
+ const TaggedError = tag => {
559
+ const O = {
560
+ BaseEffectError: class extends Error$1 {
561
+ _tag = tag;
562
+ }
563
+ };
564
+ O.BaseEffectError.prototype.name = tag;
565
+ return O.BaseEffectError;
566
+ };
567
+
568
+ class FetchError extends TaggedError('FetchError') {
569
+ }
570
+ class NotFoundError extends TaggedError('NotFoundError') {
571
+ }
572
+ const httpClient = (input, init) => gen(function* () {
573
+ const response = yield* tryPromise({
574
+ try: () => fetch(input, init),
575
+ catch: error => new FetchError({ cause: error }),
576
+ });
577
+ if (response.status === 404) {
578
+ return yield* fail(new NotFoundError({ url: response.url }));
579
+ }
580
+ return response;
581
+ });
582
+ class ResponseTextError extends TaggedError('ResponseTextError') {
583
+ constructor(error) {
584
+ super(new Error(`Failed to read response text`, { cause: error }));
585
+ }
586
+ }
587
+ const responseAsText = (res) => tryPromise({
588
+ try: () => res.text(),
589
+ catch: error => new ResponseTextError(error),
590
+ });
591
+
592
+ const SVGString = refined(isValidSVG, () => error('SVG data is malformed'));
593
+ class BrandValidationError extends TaggedError('BrandValidationError') {
594
+ constructor(error, type) {
595
+ super(new Error(`Brand validation failed for type ${type}.`, { cause: error }));
596
+ }
597
+ }
598
+ const createValidSVGString = (svg) => try_({
599
+ try: () => SVGString(svg),
600
+ catch: error => new BrandValidationError(error, 'SVGString'),
601
+ });
602
+ function isValidSVG(svg) {
603
+ if (typeof svg !== 'string') {
604
+ return false;
605
+ }
606
+ try {
607
+ const parser = new DOMParser();
608
+ const doc = parser.parseFromString(svg, 'image/svg+xml');
609
+ return doc.documentElement.nodeName === 'svg';
610
+ }
611
+ catch {
612
+ return false;
613
+ }
614
+ }
615
+
616
+ const emptyDefaultSvg = () => SVGString(`<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"></svg>`);
617
+ const createIconCache = () => make({
618
+ capacity: 200,
619
+ timeToLive: infinity,
620
+ lookup: (key) => gen$1(function* () {
621
+ const name = key;
622
+ const assetPath = createAssetUrlSafely(`${name}.svg`, 'icons');
623
+ const res = yield* httpClient(assetPath);
624
+ const responseString = yield* responseAsText(res);
625
+ return yield* createValidSVGString(responseString);
626
+ }),
627
+ });
628
+ let cacheInstance = null;
629
+ function fetchIconSvg(name) {
630
+ const key = name;
631
+ return gen$1(function* () {
632
+ if (!cacheInstance) {
633
+ cacheInstance = yield* createIconCache();
634
+ }
635
+ return yield* cacheInstance.get(key);
636
+ });
637
+ }
638
+ function clearIconCache() {
639
+ return gen$1(function* () {
640
+ if (cacheInstance) {
641
+ yield* cacheInstance.invalidateAll;
642
+ }
643
+ else {
644
+ logWarning('Attempted to clear icon cache before it was initialized');
645
+ }
646
+ });
647
+ }
648
+
649
+ export { clearIconCache as c, emptyDefaultSvg as e, fetchIconSvg as f };
@@ -1,6 +1,4 @@
1
- import { m as make$4, g as modify$1, h as get$1, j as update$1, k as isInterrupted$1, n as fail$2, o as failureOrCause$1, p as flipCauseOption$1, v as interrupt$2, w as map$3, x as die$1, y as isDieType$1, z as interruptors$1, B as isInterruptedOnly$1, C as join$1, D as interruptFiber, _ as _await$1, E as inheritAll$1, F as interruptAsFiber, G as pipe, H as flatMap$2, I as sync$1, J as dual, K as map$4, L as make$5, M as unbounded$2, N as deferredMake, O as Class, P as pipeArguments, Q as suspend$2, R as catchAll, S as interrupt$3, T as get$2, U as none, V as some, W as length, X as uninterruptible, Y as withFiberRuntime, Z as set, $ as asVoid, a0 as whenEffect, a1 as deferredSucceed, a2 as zipRight$1, a3 as forEachConcurrentDiscard, a4 as deferredAwait, a5 as poll, a6 as EmptyMutableQueue, a7 as succeed$1, a8 as fromIterable, a9 as empty, aa as splitAt, ab as isEmpty, ac as deferredUnsafeMake, ad as onInterrupt, ae as offer$2, af as fromIterable$1, ag as pollUpTo, ah as deferredUnsafeDone, ai as prepend, aj as isEmpty$1, ak as filter, al as appendAll, am as append, an as offerAll, ao as deferredInterruptWith, ap as empty$1, aq as bounded$2, ar as capacity, as as void_$1, at as fiberId, au as isFailure, av as hasProperty, aw as isEffect, ax as identity, ay as match$1, az as _void, aA as ignore, aB as zipWith, aC as exit, aD as zipRight$2, aE as sync$2, aF as provide, aG as matchCauseEffect, aH as zipRight$3, aI as flatMap$3, aJ as forkDaemon, aK as interruptible, aL as suspend$3, aM as ensuring$2, aN as uninterruptible$1, aO as map$5, aP as zip$1, aQ as succeed$2, aR as failCause$3, aS as match$2, aT as forEach, s as succeed$3, aU as isSome, aV as all, aW as getOrElse, aX as void_$2, aY as dieMessage, aZ as catchAllCause, a_ as die$2, a$ as map$6, b0 as uninterruptibleMask, b1 as all$1, b2 as fork, b3 as make$6, b4 as sequential, b5 as acquireUseRelease, b6 as forkIn, b7 as isDone, b8 as succeed$4, b9 as size$2, ba as combineAll, bb as _await$2, bc as intoDeferred, bd as zipLeft, be as tapErrorCause, bf as addFinalizer, bg as failCause$4, bh as flatten$2, bi as fiberIdWith, bj as interrupt$4, bk as left, bl as right, bm as failCause$5, bn as fail$3, bo as matchCause, bp as scopedWith$2, bq as unsafeGet, br as constVoid, bs as scope, bt as gen, bu as withFiberRuntime$1, bv as make$7, bw as extend, bx as close, by as raceWith, bz as runtime, bA as tap, bB as addFinalizerExit, bC as makeSemaphore, bD as when, bE as race, bF as as, bG as match$3, bH as repeat, bI as asVoid$1, bJ as equals, bK as zip$2, bL as raceFirst, bM as forever, bN as of$1, bO as fail$4, bP as mapError, bQ as reduce, bR as map$7, bS as match$4, bT as splitWhere, bU as isSuccess, bV as head, bW as filterMap, a as catchAll$1, bX as catchSomeCause, bY as unsafeFromArray, bZ as async, b_ as runFork, r as runPromise } from './icons-D1lxdRXP.js';
2
- import './assets-BD98wsl7.js';
3
- import './index-WeqgWisK.js';
1
+ import { af as make$4, ag as modify$1, ah as get$1, ai as update$1, aj as isInterrupted$1, ak as fail$2, al as failureOrCause$1, am as flipCauseOption$1, an as interrupt$2, ao as map$3, ap as die$1, aq as isDieType$1, ar as interruptors$1, as as isInterruptedOnly$1, at as join$1, au as interruptFiber, av as _await$1, aw as inheritAll$1, ax as interruptAsFiber, P as pipe, A as flatMap$2, n as sync$1, ay as dual, h as map$4, M as make$5, N as unbounded$2, az as deferredMake, aA as Class, aB as pipeArguments, o as suspend$2, aC as catchAll, aD as interrupt$3, aE as get$2, u as none, K as some, aF as length, aG as uninterruptible, aH as withFiberRuntime, H as set, W as asVoid, aI as whenEffect, aJ as deferredSucceed, a0 as zipRight$1, aK as forEachConcurrentDiscard, aL as deferredAwait, E as poll, F as EmptyMutableQueue, q as succeed$1, aM as fromIterable, aN as empty, aO as splitAt, aP as isEmpty, aQ as deferredUnsafeMake, $ as onInterrupt, C as offer$2, aR as fromIterable$1, aS as pollUpTo, aT as deferredUnsafeDone, aU as prepend, aV as isEmpty$1, aW as filter, aX as appendAll, aY as append, aZ as offerAll, a_ as deferredInterruptWith, a$ as empty$1, b0 as bounded$2, b1 as capacity, b2 as void_$1, a6 as fiberId, b3 as isFailure, U as hasProperty, b4 as isEffect, i as identity, b5 as match$1, b6 as _void, b7 as ignore, b8 as zipWith, b9 as exit, ba as zipRight$2, bb as sync$2, bc as provide, bd as matchCauseEffect, be as zipRight$3, bf as flatMap$3, bg as forkDaemon, bh as interruptible, bi as suspend$3, bj as ensuring$2, bk as uninterruptible$1, bl as map$5, bm as zip$1, Y as succeed$2, bn as failCause$3, bo as match$2, bp as forEach, s as succeed$3, J as isSome, bq as all, br as getOrElse, bs as void_$2, bt as dieMessage, bu as catchAllCause, bv as die$2, bw as map$6, bx as uninterruptibleMask, by as all$1, bz as fork, bA as make$6, bB as sequential, bC as acquireUseRelease, bD as forkIn, bE as isDone, bF as succeed$4, bG as size$2, bH as combineAll, _ as _await$2, bI as intoDeferred, bJ as zipLeft, bK as tapErrorCause, bL as addFinalizer, bM as failCause$4, bN as flatten$2, bO as fiberIdWith, bP as interrupt$4, b as left, a as right, bQ as failCause$5, bR as fail$3, bS as matchCause, bT as scopedWith$2, bU as unsafeGet, bV as constVoid, bW as scope, ac as gen, bX as withFiberRuntime$1, bY as make$7, bZ as extend, b_ as close, b$ as raceWith, c0 as runtime, c1 as tap, c2 as addFinalizerExit, c3 as makeSemaphore, c4 as when, c5 as race, c6 as as, m as match$3, c7 as repeat, c8 as asVoid$1, V as equals, c9 as zip$2, ca as raceFirst, cb as forever, cc as of$1, cd as fail$4, ce as mapError, cf as reduce, cg as map$7, ch as match$4, ci as splitWhere, cj as isSuccess, ck as head, cl as filterMap, c as catchAll$1, cm as catchSomeCause, cn as unsafeFromArray, co as async, cp as runFork, r as runPromise } from './Effect-9SROYpxM.js';
4
2
 
5
3
  /**
6
4
  * @since 2.0.0
@@ -35626,6 +35624,3 @@ function enqueueValidation(validationRequest) {
35626
35624
  }
35627
35625
 
35628
35626
  export { enqueueValidation, initializeValidationStream };
35629
- //# sourceMappingURL=index-DoNkkDv1.js.map
35630
-
35631
- //# sourceMappingURL=index-DoNkkDv1.js.map