@effect-app/vue-components 4.0.0-beta.2 → 4.0.0-beta.3

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 (73) hide show
  1. package/dist/vue-components.es16.js +10 -10
  2. package/dist/vue-components.es17.js +9 -9
  3. package/dist/vue-components.es19.js +1 -1
  4. package/dist/vue-components.es20.js +1 -1
  5. package/dist/vue-components.es21.js +2 -2
  6. package/dist/vue-components.es22.js +2 -2
  7. package/dist/vue-components.es23.js +1 -1
  8. package/dist/vue-components.es25.js +1 -1
  9. package/dist/vue-components.es26.js +2 -2
  10. package/dist/vue-components.es27.js +2 -2
  11. package/dist/vue-components.es28.js +1 -1
  12. package/dist/vue-components.es29.js +1 -1
  13. package/dist/vue-components.es36.js +37 -317
  14. package/dist/vue-components.es37.js +4 -561
  15. package/dist/vue-components.es38.js +77 -21
  16. package/dist/vue-components.es39.js +1 -1
  17. package/dist/vue-components.es40.js +551 -54
  18. package/dist/vue-components.es41.js +41 -4
  19. package/dist/vue-components.es42.js +27 -4
  20. package/dist/vue-components.es43.js +5 -24
  21. package/dist/vue-components.es44.js +36 -71
  22. package/dist/vue-components.es45.js +304 -30
  23. package/dist/vue-components.es46.js +25 -308
  24. package/dist/vue-components.es47.js +4 -99
  25. package/dist/vue-components.es48.js +22 -29
  26. package/dist/vue-components.es49.js +75 -2
  27. package/dist/vue-components.es50.js +99 -2
  28. package/dist/vue-components.es51.js +2 -2
  29. package/dist/vue-components.es52.js +317 -110
  30. package/dist/vue-components.es53.js +66 -0
  31. package/dist/vue-components.es54.js +2 -7
  32. package/dist/vue-components.es55.js +2 -32
  33. package/dist/vue-components.es56.js +113 -0
  34. package/dist/vue-components.es58.js +9 -0
  35. package/dist/vue-components.es59.js +30 -36
  36. package/dist/vue-components.es61.js +191 -40
  37. package/dist/vue-components.es63.js +1 -1
  38. package/dist/vue-components.es64.js +100 -22
  39. package/dist/vue-components.es65.js +82 -5
  40. package/dist/vue-components.es66.js +15 -21
  41. package/dist/vue-components.es67.js +31 -29
  42. package/dist/vue-components.es68.js +2 -22
  43. package/dist/vue-components.es69.js +21 -12
  44. package/dist/vue-components.es7.js +1 -1
  45. package/dist/vue-components.es70.js +12 -5
  46. package/dist/vue-components.es71.js +113 -19
  47. package/dist/vue-components.es72.js +3 -9
  48. package/dist/vue-components.es73.js +2 -31
  49. package/dist/vue-components.es74.js +2 -48
  50. package/dist/vue-components.es75.js +15 -26
  51. package/dist/vue-components.es76.js +70 -101
  52. package/dist/vue-components.es77.js +22 -81
  53. package/dist/vue-components.es78.js +5 -21
  54. package/dist/vue-components.es79.js +21 -12
  55. package/dist/vue-components.es80.js +29 -112
  56. package/dist/vue-components.es81.js +22 -3
  57. package/dist/vue-components.es82.js +12 -32
  58. package/dist/vue-components.es83.js +5 -2
  59. package/dist/vue-components.es84.js +19 -2
  60. package/dist/vue-components.es85.js +9 -16
  61. package/dist/vue-components.es86.js +31 -15
  62. package/dist/vue-components.es87.js +47 -69
  63. package/dist/vue-components.es88.js +26 -8
  64. package/dist/vue-components.es89.js +16 -2
  65. package/dist/vue-components.es90.js +7 -14
  66. package/dist/vue-components.es92.js +1 -1
  67. package/dist/vue-components.es94.js +1 -1
  68. package/dist/vue-components.es96.js +3 -3
  69. package/dist/vue-components.es97.js +1 -1
  70. package/package.json +3 -3
  71. package/dist/vue-components.es57.js +0 -194
  72. package/dist/vue-components.es60.js +0 -85
  73. package/dist/vue-components.es62.js +0 -7
@@ -1,16 +1,16 @@
1
- import { append as xe } from "./vue-components.es59.js";
2
- import { findError as P } from "./vue-components.es41.js";
1
+ import { append as xe } from "./vue-components.es36.js";
2
+ import { findError as P } from "./vue-components.es37.js";
3
3
  import { fnUntracedEager as le, succeedSome as Se, succeedNone as fe, fail as p, exit as M, succeed as ke } from "./vue-components.es21.js";
4
- import { format as Oe, formatPropertyKey as Te } from "./vue-components.es60.js";
4
+ import { format as Oe, formatPropertyKey as Te } from "./vue-components.es38.js";
5
5
  import { memoize as Q } from "./vue-components.es39.js";
6
- import { effectIsExit as L } from "./vue-components.es37.js";
6
+ import { effectIsExit as L } from "./vue-components.es40.js";
7
7
  import { some as I, none as Ne } from "./vue-components.es23.js";
8
- import { Class as de } from "./vue-components.es61.js";
9
- import { isUnknown as _e, isBoolean as Ae, isNumber as Ee, isString as ve } from "./vue-components.es38.js";
10
- import { isFailure as R } from "./vue-components.es62.js";
11
- import { transform as C, Number as Fe } from "./vue-components.es45.js";
12
- import { make as $e, InvalidType as X, OneOf as je, AnyOf as Ue, Pointer as N, Composite as k, MissingKey as W, UnexpectedKey as Ce, Filter as Ie } from "./vue-components.es46.js";
13
- import { Transformation as Z, numberFromString as he } from "./vue-components.es48.js";
8
+ import { Class as de } from "./vue-components.es41.js";
9
+ import { isUnknown as _e, isBoolean as Ae, isNumber as Ee, isString as ve } from "./vue-components.es42.js";
10
+ import { isFailure as R } from "./vue-components.es43.js";
11
+ import { transform as C, Number as Fe } from "./vue-components.es44.js";
12
+ import { make as $e, InvalidType as X, OneOf as je, AnyOf as Ue, Pointer as N, Composite as k, MissingKey as W, UnexpectedKey as Ce, Filter as Ie } from "./vue-components.es45.js";
13
+ import { Transformation as Z, numberFromString as he } from "./vue-components.es46.js";
14
14
  function w(e) {
15
15
  return (t) => t._tag === e;
16
16
  }
@@ -1,14 +1,14 @@
1
- import { pretty as b } from "./vue-components.es41.js";
1
+ import { pretty as b } from "./vue-components.es37.js";
2
2
  import { mapErrorEager as E, runFork as w, match as U } from "./vue-components.es21.js";
3
- import { isSuccess as v } from "./vue-components.es42.js";
4
- import { make as $ } from "./vue-components.es43.js";
5
- import { MixedScheduler as y } from "./vue-components.es44.js";
3
+ import { isSuccess as v } from "./vue-components.es47.js";
4
+ import { make as $ } from "./vue-components.es48.js";
5
+ import { MixedScheduler as y } from "./vue-components.es49.js";
6
6
  import { makeFilter as F, Arrays as I, Literal as O, union as h, null as T, decodeTo as _, string as A, unknown as L, boolean as N, number as j, undefined as x } from "./vue-components.es16.js";
7
- import { transform as f } from "./vue-components.es45.js";
8
- import { makeFormatterStandardSchemaV1 as C } from "./vue-components.es46.js";
9
- import { decodeUnknownEffect as k } from "./vue-components.es47.js";
10
- import { make as M, passthrough as P } from "./vue-components.es48.js";
11
- import { lambda as V } from "./vue-components.es49.js";
7
+ import { transform as f } from "./vue-components.es44.js";
8
+ import { makeFormatterStandardSchemaV1 as C } from "./vue-components.es45.js";
9
+ import { decodeUnknownEffect as k } from "./vue-components.es50.js";
10
+ import { make as M, passthrough as P } from "./vue-components.es46.js";
11
+ import { lambda as V } from "./vue-components.es51.js";
12
12
  const p = "~effect/Schema/SchemaError";
13
13
  class B {
14
14
  [p] = p;
@@ -1,6 +1,6 @@
1
1
  import { Exit as c } from "effect";
2
2
  import { dual as i } from "./vue-components.es39.js";
3
- import { isFunction as m } from "./vue-components.es38.js";
3
+ import { isFunction as m } from "./vue-components.es42.js";
4
4
  const n = /* @__PURE__ */ Symbol.for("clone-trait"), u = i(2, (o, t) => n in o ? o[n](t) : Object.setPrototypeOf(t, Object.getPrototypeOf(o)));
5
5
  i(2, (o, t) => u(o, { ...o, ...m(t) ? t(o) : t }));
6
6
  const b = (o, t) => new Promise((e, s) => o.addObserver((r) => {
@@ -1,4 +1,4 @@
1
- import { TaggedError as r } from "./vue-components.es36.js";
1
+ import { TaggedError as r } from "./vue-components.es52.js";
2
2
  const g = r;
3
3
  export {
4
4
  g as TaggedError
@@ -1,5 +1,5 @@
1
- import { EffectTypeId as c } from "./vue-components.es36.js";
2
- import { currentSpan as n, mapErrorEager as e, runPromise as r, flatMap as t, fnUntraced as s, option as o, promise as p, runFork as u, match as E, fnUntracedEager as f, runSync as i, runSyncExit as m, flatMapEager as $, fail as d, succeed as g, succeedSome as S, succeedNone as l, exit as y, mapEager as x, catchEager as h } from "./vue-components.es37.js";
1
+ import { EffectTypeId as c } from "./vue-components.es52.js";
2
+ import { currentSpan as n, mapErrorEager as e, runPromise as r, flatMap as t, fnUntraced as s, option as o, promise as p, runFork as u, match as E, fnUntracedEager as f, runSync as i, runSyncExit as m, flatMapEager as $, fail as d, succeed as g, succeedSome as S, succeedNone as l, exit as y, mapEager as x, catchEager as h } from "./vue-components.es40.js";
3
3
  const M = c, F = (a) => typeof a == "object" && a !== null && M in a, N = p, P = g, I = l, T = S, b = d, j = t, q = o, v = y, w = E, z = n, A = u, B = r, C = i, D = m, G = s, H = x, J = e, K = $, L = h, O = f;
4
4
  export {
5
5
  L as catchEager,
@@ -1,5 +1,5 @@
1
- import { FiberTypeId as o } from "./vue-components.es37.js";
2
- import { hasProperty as e } from "./vue-components.es38.js";
1
+ import { FiberTypeId as o } from "./vue-components.es40.js";
2
+ import { hasProperty as e } from "./vue-components.es42.js";
3
3
  const t = (r) => e(r, o);
4
4
  export {
5
5
  t as isFiber
@@ -1,5 +1,5 @@
1
1
  import { dual as n } from "./vue-components.es39.js";
2
- import { some as e, none as m, isNone as i, isSome as t } from "./vue-components.es40.js";
2
+ import { some as e, none as m, isNone as i, isSome as t } from "./vue-components.es53.js";
3
3
  const a = () => m, c = e, r = i, N = t, S = /* @__PURE__ */ n(2, (o, s) => r(o) ? a() : c(s(o.value)));
4
4
  export {
5
5
  r as isNone,
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as d, computed as b, createElementBlock as O, openBlock as j, Fragment as M, renderList as _, renderSlot as E, createVNode as N, unref as F, mergeProps as g } from "vue";
2
2
  import { pipe as h } from "./vue-components.es39.js";
3
- import { mapInput as k, Number as v } from "./vue-components.es88.js";
3
+ import { mapInput as k, Number as v } from "./vue-components.es90.js";
4
4
  const I = /* @__PURE__ */ d({
5
5
  __name: "OmegaAutoGen",
6
6
  props: {
@@ -1,7 +1,7 @@
1
1
  (function(){"use strict";try{if(typeof document<"u"){var a=document.createElement("style");if(a.appendChild(document.createTextNode('.v-enter-from[data-v-4d6b105c],.v-leave-to[data-v-4d6b105c]{max-height:0px;grid-template-rows:0fr;opacity:0}.v-enter-active[data-v-4d6b105c],.v-leave-active[data-v-4d6b105c]{display:grid;transition:all .15s}.v-enter-to[data-v-4d6b105c],.v-leave-from[data-v-4d6b105c]{grid-template-rows:1fr;max-height:50vh;opacity:1}.error-alert[data-v-4d6b105c]{transition-behavior:allow-discrete;display:grid;overflow:hidden;min-height:0}.error-alert>*[data-v-4d6b105c]{min-height:0}.error-list[data-v-4d6b105c]{list-style-position:inside}.error-list [data-v-4d6b105c]::marker{margin:0;padding:0}.error-alert-content[data-v-4d6b105c]{background-color:var(--error-background, #fff5f5);color:var(--error-color, #c92a2a);padding:1em}.error-link[data-v-4d6b105c]{font-weight:700;position:relative;color:var(--error-color, #c92a2a);cursor:pointer}.error-link[data-v-4d6b105c]:after{content:"";position:absolute;left:0;right:0;bottom:0;height:1px;background:rgba(from var(--error-color, #c92a2a) r g b / .5)}.text-h6[data-v-4d6b105c]{font-weight:700;font-size:1.25em}.error-message[data-v-4d6b105c]{font-style:italic}.error-item[data-v-4d6b105c]{margin-bottom:.5em;overflow:hidden}.error-item>div[data-v-4d6b105c]{float:right;width:100%;max-width:calc(100% - 1.5em)}.container[data-v-4d6b105c]{display:flex;gap:1.5em}.container svg[data-v-4d6b105c]{width:3em}.container .single-error[data-v-4d6b105c]{display:inline-block}')),document.head.appendChild(a),window.customElements){const t=window.customElements.define;window.customElements.define=function(d,e){const r=e.prototype.connectedCallback;return e.prototype.connectedCallback=function(){if(r&&r.call(this),this.shadowRoot){const o=document.createElement("style");o.appendChild(document.createTextNode('.v-enter-from[data-v-4d6b105c],.v-leave-to[data-v-4d6b105c]{max-height:0px;grid-template-rows:0fr;opacity:0}.v-enter-active[data-v-4d6b105c],.v-leave-active[data-v-4d6b105c]{display:grid;transition:all .15s}.v-enter-to[data-v-4d6b105c],.v-leave-from[data-v-4d6b105c]{grid-template-rows:1fr;max-height:50vh;opacity:1}.error-alert[data-v-4d6b105c]{transition-behavior:allow-discrete;display:grid;overflow:hidden;min-height:0}.error-alert>*[data-v-4d6b105c]{min-height:0}.error-list[data-v-4d6b105c]{list-style-position:inside}.error-list [data-v-4d6b105c]::marker{margin:0;padding:0}.error-alert-content[data-v-4d6b105c]{background-color:var(--error-background, #fff5f5);color:var(--error-color, #c92a2a);padding:1em}.error-link[data-v-4d6b105c]{font-weight:700;position:relative;color:var(--error-color, #c92a2a);cursor:pointer}.error-link[data-v-4d6b105c]:after{content:"";position:absolute;left:0;right:0;bottom:0;height:1px;background:rgba(from var(--error-color, #c92a2a) r g b / .5)}.text-h6[data-v-4d6b105c]{font-weight:700;font-size:1.25em}.error-message[data-v-4d6b105c]{font-style:italic}.error-item[data-v-4d6b105c]{margin-bottom:.5em;overflow:hidden}.error-item>div[data-v-4d6b105c]{float:right;width:100%;max-width:calc(100% - 1.5em)}.container[data-v-4d6b105c]{display:flex;gap:1.5em}.container svg[data-v-4d6b105c]{width:3em}.container .single-error[data-v-4d6b105c]{display:inline-block}')),this.shadowRoot.appendChild(o)}},t.call(window.customElements,d,e)}}}}catch(t){console.error("vite-plugin-css-injected-by-js",t)}})();
2
- import r from "./vue-components.es52.js";
2
+ import r from "./vue-components.es56.js";
3
3
 
4
- import o from "./vue-components.es54.js";
4
+ import o from "./vue-components.es58.js";
5
5
  const e = /* @__PURE__ */ o(r, [["__scopeId", "data-v-4d6b105c"]]);
6
6
  export {
7
7
  e as default
@@ -1,7 +1,7 @@
1
1
  (function(){"use strict";try{if(typeof document<"u"){var n=document.createElement("style");if(n.appendChild(document.createTextNode("fieldset[data-v-8c9cb27c]{display:contents}fieldset[disabled][data-v-8c9cb27c]>*{pointer-events:none}")),document.head.appendChild(n),window.customElements){const e=window.customElements.define;window.customElements.define=function(o,t){const d=t.prototype.connectedCallback;return t.prototype.connectedCallback=function(){if(d&&d.call(this),this.shadowRoot){const c=document.createElement("style");c.appendChild(document.createTextNode("fieldset[data-v-8c9cb27c]{display:contents}fieldset[disabled][data-v-8c9cb27c]>*{pointer-events:none}")),this.shadowRoot.appendChild(c)}},e.call(window.customElements,o,t)}}}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}})();
2
- import o from "./vue-components.es55.js";
2
+ import o from "./vue-components.es59.js";
3
3
 
4
- import m from "./vue-components.es54.js";
4
+ import m from "./vue-components.es58.js";
5
5
  const a = /* @__PURE__ */ m(o, [["__scopeId", "data-v-8c9cb27c"]]);
6
6
  export {
7
7
  a as default
@@ -1,4 +1,4 @@
1
- import { TraceAPI as r } from "./vue-components.es75.js";
1
+ import { TraceAPI as r } from "./vue-components.es88.js";
2
2
  var t = r.getInstance();
3
3
  export {
4
4
  t as trace
@@ -1,4 +1,4 @@
1
- import { ContextAPI as t } from "./vue-components.es74.js";
1
+ import { ContextAPI as t } from "./vue-components.es87.js";
2
2
  var o = t.getInstance();
3
3
  export {
4
4
  o as context
@@ -1,320 +1,40 @@
1
- import { symbol as d, equals as i } from "./vue-components.es76.js";
2
- import { format as a } from "./vue-components.es60.js";
3
- import { identity as E, dual as R } from "./vue-components.es39.js";
4
- import { symbol as g, array as M, combine as f, string as b, hash as l } from "./vue-components.es77.js";
5
- import { NodeInspectSymbol as O } from "./vue-components.es86.js";
6
- import { pipeArguments as S } from "./vue-components.es61.js";
7
- import { hasProperty as I } from "./vue-components.es38.js";
8
- import { SingleShotGen as T } from "./vue-components.es82.js";
9
- const o = "~effect/Effect", _ = "~effect/Exit", Y = {
10
- _A: E,
11
- _E: E,
12
- _R: E
13
- }, $ = `${o}/identifier`, n = `${o}/args`, h = `${o}/evaluate`, m = `${o}/successCont`, u = `${o}/failureCont`, F = `${o}/ensureCont`, dt = /* @__PURE__ */ Symbol.for("effect/Effect/Yield"), U = {
14
- pipe() {
15
- return S(this, arguments);
16
- },
17
- toJSON() {
18
- return {
19
- ...this
20
- };
21
- },
22
- toString() {
23
- return a(this.toJSON(), {
24
- ignoreToString: !0,
25
- space: 2
26
- });
27
- },
28
- [O]() {
29
- return this.toJSON();
30
- }
31
- }, W = {
32
- [Symbol.iterator]() {
33
- return new T(this);
34
- }
35
- }, z = {
36
- ...W,
37
- pipe() {
38
- return S(this, arguments);
39
- }
40
- }, B = {
41
- [o]: Y,
42
- ...U,
43
- [Symbol.iterator]() {
44
- return new T(this);
45
- },
46
- asEffect() {
47
- return this;
48
- },
49
- toJSON() {
50
- return {
51
- _id: "Effect",
52
- op: this[$],
53
- ...n in this ? {
54
- args: this[n]
55
- } : void 0
56
- };
57
- }
58
- }, q = (t) => I(t, _), p = "~effect/Cause", y = "~effect/Cause/Reason", v = (t) => I(t, p);
59
- class C {
60
- [p];
61
- reasons;
62
- constructor(e) {
63
- this[p] = p, this.reasons = e;
64
- }
65
- pipe() {
66
- return S(this, arguments);
67
- }
68
- toJSON() {
69
- return {
70
- _id: "Cause",
71
- failures: this.reasons.map((e) => e.toJSON())
72
- };
73
- }
74
- toString() {
75
- return `Cause(${a(this.reasons)})`;
76
- }
77
- [O]() {
78
- return this.toJSON();
79
- }
80
- [d](e) {
81
- return v(e) && this.reasons.length === e.reasons.length && this.reasons.every((r, s) => i(r, e.reasons[s]));
82
- }
83
- [g]() {
84
- return M(this.reasons);
85
- }
86
- }
87
- const P = /* @__PURE__ */ new WeakMap();
88
- class J {
89
- [y];
90
- annotations;
91
- _tag;
92
- constructor(e, r, s) {
93
- if (this[y] = y, this._tag = e, r !== N && typeof s == "object" && s !== null && r.size > 0) {
94
- const c = P.get(s);
95
- c && (r = new Map([...c, ...r])), P.set(s, r);
96
- }
97
- this.annotations = r;
98
- }
99
- annotate(e, r) {
100
- if (e.mapUnsafe.size === 0) return this;
101
- const s = new Map(this.annotations);
102
- e.mapUnsafe.forEach((D, x) => {
103
- r?.overwrite !== !0 && s.has(x) || s.set(x, D);
104
- });
105
- const c = Object.assign(Object.create(Object.getPrototypeOf(this)), this);
106
- return c.annotations = s, c;
107
- }
108
- pipe() {
109
- return S(this, arguments);
110
- }
111
- toString() {
112
- return a(this);
113
- }
114
- [O]() {
115
- return this.toString();
116
- }
117
- }
118
- const N = /* @__PURE__ */ new Map();
119
- class G extends J {
120
- error;
121
- constructor(e, r = N) {
122
- super("Fail", r, e), this.error = e;
123
- }
124
- toString() {
125
- return `Fail(${a(this.error)})`;
126
- }
127
- toJSON() {
128
- return {
129
- _tag: "Fail",
130
- error: this.error
131
- };
132
- }
133
- [d](e) {
134
- return Q(e) && i(this.error, e.error) && i(this.annotations, e.annotations);
135
- }
136
- [g]() {
137
- return f(b(this._tag))(f(l(this.error))(l(this.annotations)));
138
- }
139
- }
140
- const K = (t) => new C([new G(t)]);
141
- class V extends J {
142
- defect;
143
- constructor(e, r = N) {
144
- super("Die", r, e), this.defect = e;
145
- }
146
- toString() {
147
- return `Die(${a(this.defect)})`;
148
- }
149
- toJSON() {
150
- return {
151
- _tag: "Die",
152
- defect: this.defect
153
- };
154
- }
155
- [d](e) {
156
- return X(e) && i(this.defect, e.defect) && i(this.annotations, e.annotations);
157
- }
158
- [g]() {
159
- return f(b(this._tag))(f(l(this.defect))(l(this.annotations)));
160
- }
161
- }
162
- const H = (t) => new C([new V(t)]), L = /* @__PURE__ */ R((t) => v(t[0]), (t, e, r) => e.mapUnsafe.size === 0 ? t : new C(t.reasons.map((s) => s.annotate(e, r)))), Q = (t) => t._tag === "Fail", X = (t) => t._tag === "Die", gt = (t) => t._tag === "Interrupt";
163
- function Z(t) {
164
- return st("Effect.evaluate: Not implemented");
165
- }
166
- const A = (t) => ({
167
- ...B,
168
- [$]: t.op,
169
- [h]: t[h] ?? Z,
170
- [m]: t[m],
171
- [u]: t[u],
172
- [F]: t[F]
173
- }), tt = (t) => {
174
- const e = A(t);
175
- return function() {
176
- const r = Object.create(e);
177
- return r[n] = t.single === !1 ? arguments : arguments[0], r;
178
- };
179
- }, j = (t) => {
180
- const e = {
181
- ...A(t),
182
- [_]: _,
183
- _tag: t.op,
184
- get [t.prop]() {
185
- return this[n];
186
- },
187
- toString() {
188
- return `${t.op}(${a(this[n])})`;
189
- },
190
- toJSON() {
191
- return {
192
- _id: "Exit",
193
- _tag: t.op,
194
- [t.prop]: this[n]
195
- };
196
- },
197
- [d](r) {
198
- return q(r) && r._tag === this._tag && i(this[n], r[n]);
199
- },
200
- [g]() {
201
- return f(b(t.op), l(this[n]));
202
- }
203
- };
204
- return function(r) {
205
- const s = Object.create(e);
206
- return s[n] = r, s;
207
- };
208
- }, St = /* @__PURE__ */ j({
209
- op: "Success",
210
- prop: "value",
211
- [h](t) {
212
- const e = t.getCont(m);
213
- return e ? e[m](this[n], t, this) : t.yieldWith(this);
214
- }
215
- }), et = {
216
- key: "effect/Cause/StackTrace"
217
- }, Et = {
218
- key: "effect/Cause/InterruptorStackTrace"
219
- }, w = /* @__PURE__ */ j({
220
- op: "Failure",
221
- prop: "cause",
222
- [h](t) {
223
- let e = this[n], r = !1;
224
- t.currentStackFrame && (e = L(e, {
225
- mapUnsafe: /* @__PURE__ */ new Map([[et.key, t.currentStackFrame]])
226
- }), r = !0);
227
- let s = t.getCont(u);
228
- for (; t.interruptible && t._interruptedCause && s; )
229
- s = t.getCont(u);
230
- return s ? s[u](e, t, r ? void 0 : this) : t.yieldWith(r ? this : w(e));
231
- }
232
- }), rt = (t) => w(K(t)), st = (t) => w(H(t)), yt = /* @__PURE__ */ tt({
233
- op: "WithFiber",
234
- [h](t) {
235
- return this[n](t);
236
- }
237
- }), nt = /* @__PURE__ */ (function() {
238
- class t extends globalThis.Error {
239
- asEffect() {
240
- return rt(this);
241
- }
242
- }
243
- return Object.assign(t.prototype, z), t;
244
- })(), ot = /* @__PURE__ */ (function() {
245
- const t = /* @__PURE__ */ Symbol.for("effect/Data/Error/plainArgs");
246
- return class extends nt {
247
- constructor(r) {
248
- super(r?.message, r?.cause ? {
249
- cause: r.cause
250
- } : void 0), r && (Object.assign(this, r), Object.defineProperty(this, t, {
251
- value: r,
252
- enumerable: !1
253
- }));
254
- }
255
- toJSON() {
256
- return {
257
- ...this[t],
258
- ...this
259
- };
260
- }
261
- };
262
- })(), it = (t) => {
263
- class e extends ot {
264
- _tag = t;
265
- }
266
- return e.prototype.name = t, e;
267
- }, k = "~effect/Cause/NoSuchElementError";
268
- class bt extends (/* @__PURE__ */ it("NoSuchElementError")) {
269
- [k] = k;
270
- constructor(e) {
271
- super({
272
- message: e
273
- });
274
- }
1
+ import { asEquivalence as y } from "./vue-components.es64.js";
2
+ import { dual as s } from "./vue-components.es39.js";
3
+ import { isArrayNonEmpty as p } from "./vue-components.es68.js";
4
+ const c = globalThis.Array, a = (t) => c.isArray(t) ? t : c.from(t), w = /* @__PURE__ */ s(2, (t, n) => [...t, n]), d = /* @__PURE__ */ s(2, (t, n) => a(t).concat(a(n))), x = p, u = p;
5
+ function m(t, n) {
6
+ return t < 0 || t >= n.length;
275
7
  }
8
+ const h = /* @__PURE__ */ s(2, (t, n) => {
9
+ const o = Math.floor(n);
10
+ if (m(o, t))
11
+ throw new Error(`Index out of bounds: ${o}`);
12
+ return t[o];
13
+ }), A = /* @__PURE__ */ h(0), E = (t) => t.slice(1), l = /* @__PURE__ */ s(3, (t, n, o) => {
14
+ const r = a(t), e = a(n);
15
+ return u(r) ? u(e) ? N(o)(d(r, e)) : r : e;
16
+ }), I = /* @__PURE__ */ s(2, (t, n) => l(t, n, y())), N = /* @__PURE__ */ s(2, (t, n) => {
17
+ const o = a(t);
18
+ if (u(o)) {
19
+ const r = [A(o)], e = E(o);
20
+ for (const i of e)
21
+ r.every((f) => !n(i, f)) && r.push(i);
22
+ return r;
23
+ }
24
+ return [];
25
+ });
276
26
  export {
277
- C as CauseImpl,
278
- y as CauseReasonTypeId,
279
- p as CauseTypeId,
280
- V as Die,
281
- B as EffectProto,
282
- o as EffectTypeId,
283
- ot as Error,
284
- _ as ExitTypeId,
285
- G as Fail,
286
- Et as InterruptorStackTrace,
287
- bt as NoSuchElementError,
288
- k as NoSuchElementErrorTypeId,
289
- U as PipeInspectableProto,
290
- J as ReasonBase,
291
- et as StackTraceKey,
292
- it as TaggedError,
293
- dt as Yield,
294
- nt as YieldableError,
295
- z as YieldableErrorProto,
296
- W as YieldableProto,
297
- n as args,
298
- L as causeAnnotate,
299
- H as causeDie,
300
- K as causeFail,
301
- N as constEmptyAnnotations,
302
- m as contA,
303
- F as contAll,
304
- u as contE,
305
- h as evaluate,
306
- st as exitDie,
307
- rt as exitFail,
308
- w as exitFailCause,
309
- St as exitSucceed,
310
- $ as identifier,
311
- v as isCause,
312
- X as isDieReason,
313
- q as isExit,
314
- Q as isFailReason,
315
- gt as isInterruptReason,
316
- j as makeExit,
317
- tt as makePrimitive,
318
- A as makePrimitiveProto,
319
- yt as withFiber
27
+ c as Array,
28
+ w as append,
29
+ d as appendAll,
30
+ N as dedupeWith,
31
+ a as fromIterable,
32
+ h as getUnsafe,
33
+ A as headNonEmpty,
34
+ x as isArrayNonEmpty,
35
+ m as isOutOfBounds,
36
+ u as isReadonlyArrayNonEmpty,
37
+ E as tailNonEmpty,
38
+ I as union,
39
+ l as unionWith
320
40
  };