@deslop/coding-standards 0.1.912 → 0.1.1014

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.
@@ -1,4 +1,4 @@
1
- //#region ../../node_modules/.pnpm/effect@4.0.0/node_modules/effect/dist/Pipeable.js
1
+ //#region ../../node_modules/.pnpm/effect@4.0.2/node_modules/effect/dist/Pipeable.js
2
2
  /**
3
3
  * The `Pipeable` module defines the shared interface and implementation helpers
4
4
  * for values that support Effect-style method chaining with `.pipe(...)`.
@@ -9,6 +9,7 @@
9
9
  * to compose transformations, validations, and effectful operations while
10
10
  * keeping the original value as the starting point of the pipeline.
11
11
  *
12
+ * @stability stable
12
13
  * @since 2.0.0
13
14
  */
14
15
  /**
@@ -46,6 +47,7 @@
46
47
  * result // => 21
47
48
  * ```
48
49
  *
50
+ * @stability stable
49
51
  * @category combinators
50
52
  * @since 2.0.0
51
53
  */
@@ -76,6 +78,7 @@ const pipeArguments = (self, args) => {
76
78
  * Use when classes or object prototypes can reuse this value when they need the
77
79
  * standard pipe implementation backed by `pipeArguments`.
78
80
  *
81
+ * @stability stable
79
82
  * @category prototypes
80
83
  * @since 3.15.0
81
84
  */
@@ -91,6 +94,7 @@ const Prototype = { pipe() {
91
94
  * Use when you need to define a class that supports Effect-style method
92
95
  * chaining through `.pipe(...)`.
93
96
  *
97
+ * @stability stable
94
98
  * @category constructors
95
99
  * @since 3.15.0
96
100
  */
@@ -100,7 +104,7 @@ const Class$1 = /*#__PURE__*/ function() {
100
104
  return PipeableBase;
101
105
  }();
102
106
  //#endregion
103
- //#region ../../node_modules/.pnpm/effect@4.0.0/node_modules/effect/dist/Function.js
107
+ //#region ../../node_modules/.pnpm/effect@4.0.2/node_modules/effect/dist/Function.js
104
108
  /**
105
109
  * Creates a function that can be called in data-first style or data-last
106
110
  * (`pipe`-friendly) style.
@@ -161,6 +165,7 @@ const Class$1 = /*#__PURE__*/ function() {
161
165
  * pipe(2, sum(3)) // => 5
162
166
  * ```
163
167
  *
168
+ * @stability stable
164
169
  * @category combinators
165
170
  * @since 2.0.0
166
171
  */
@@ -207,6 +212,7 @@ const dual = function(arity, body) {
207
212
  * identity(5) // => 5
208
213
  * ```
209
214
  *
215
+ * @stability stable
210
216
  * @category combinators
211
217
  * @since 2.0.0
212
218
  */
@@ -230,6 +236,7 @@ const identity = (a) => a;
230
236
  * constNull() // => null
231
237
  * ```
232
238
  *
239
+ * @stability stable
233
240
  * @category constructors
234
241
  * @since 2.0.0
235
242
  */
@@ -249,6 +256,7 @@ const constant = (value) => () => value;
249
256
  * Function.constTrue() // => true
250
257
  * ```
251
258
  *
259
+ * @stability stable
252
260
  * @category constants
253
261
  * @since 2.0.0
254
262
  */
@@ -268,6 +276,7 @@ const constTrue = /*#__PURE__*/ constant(true);
268
276
  * Function.constFalse() // => false
269
277
  * ```
270
278
  *
279
+ * @stability stable
271
280
  * @category constants
272
281
  * @since 2.0.0
273
282
  */
@@ -287,6 +296,7 @@ const constFalse = /*#__PURE__*/ constant(false);
287
296
  * Function.constUndefined() // => undefined
288
297
  * ```
289
298
  *
299
+ * @stability stable
290
300
  * @category constants
291
301
  * @since 2.0.0
292
302
  */
@@ -307,6 +317,7 @@ const constUndefined = /*#__PURE__*/ constant(void 0);
307
317
  * Function.constVoid() // => undefined
308
318
  * ```
309
319
  *
320
+ * @stability stable
310
321
  * @category constants
311
322
  * @since 2.0.0
312
323
  */
@@ -336,6 +347,7 @@ function pipe(a, ...args) {
336
347
  * mutated after its first call, later calls still return the cached result for
337
348
  * that reference.
338
349
  *
350
+ * @stability stable
339
351
  * @category caching
340
352
  * @since 4.0.0
341
353
  */
@@ -371,6 +383,7 @@ function memoize(f) {
371
383
  * different value, this memoization changes that behavior.
372
384
  *
373
385
  * @see {@link memoize} for memoizing functions without an idempotence requirement
386
+ * @stability stable
374
387
  * @category caching
375
388
  * @since 4.0.0
376
389
  */
@@ -386,7 +399,7 @@ function memoizeIdempotent(f) {
386
399
  };
387
400
  }
388
401
  //#endregion
389
- //#region ../../node_modules/.pnpm/effect@4.0.0/node_modules/effect/dist/internal/equal.js
402
+ //#region ../../node_modules/.pnpm/effect@4.0.2/node_modules/effect/dist/internal/equal.js
390
403
  /** @internal */
391
404
  const getAllObjectKeys = (obj) => {
392
405
  const keys = new Set(Reflect.ownKeys(obj));
@@ -407,7 +420,7 @@ const byReferenceInstances = /*#__PURE__*/ new WeakSet();
407
420
  /** @internal */
408
421
  const viewBytes = (view) => new Uint8Array(view.buffer, view.byteOffset, view.byteLength);
409
422
  //#endregion
410
- //#region ../../node_modules/.pnpm/effect@4.0.0/node_modules/effect/dist/internal/hash.js
423
+ //#region ../../node_modules/.pnpm/effect@4.0.2/node_modules/effect/dist/internal/hash.js
411
424
  /**
412
425
  * Back-edge count used to avoid caching entry-point-dependent hashes.
413
426
  *
@@ -419,7 +432,7 @@ const addBackEdge = () => {
419
432
  backEdges++;
420
433
  };
421
434
  //#endregion
422
- //#region ../../node_modules/.pnpm/effect@4.0.0/node_modules/effect/dist/Predicate.js
435
+ //#region ../../node_modules/.pnpm/effect@4.0.2/node_modules/effect/dist/Predicate.js
423
436
  /**
424
437
  * Defines runtime checks for values.
425
438
  *
@@ -429,6 +442,7 @@ const addBackEdge = () => {
429
442
  * property and tag checks, tuple and struct checks, boolean combinators, and
430
443
  * helpers for composing predicates and refinements.
431
444
  *
445
+ * @stability stable
432
446
  * @since 2.0.0
433
447
  */
434
448
  /**
@@ -458,6 +472,7 @@ const addBackEdge = () => {
458
472
  * @see {@link isNumber}
459
473
  * @see {@link isBoolean}
460
474
  * @see {@link Refinement}
475
+ * @stability stable
461
476
  * @category guards
462
477
  * @since 2.0.0
463
478
  */
@@ -490,6 +505,7 @@ function isString(input) {
490
505
  *
491
506
  * @see {@link isBigInt}
492
507
  * @see {@link isString}
508
+ * @stability stable
493
509
  * @category guards
494
510
  * @since 2.0.0
495
511
  */
@@ -522,6 +538,7 @@ function isNumber(input) {
522
538
  *
523
539
  * @see {@link isString}
524
540
  * @see {@link isNumber}
541
+ * @stability stable
525
542
  * @category guards
526
543
  * @since 2.0.0
527
544
  */
@@ -553,6 +570,7 @@ function isBoolean(input) {
553
570
  * ```
554
571
  *
555
572
  * @see {@link isPropertyKey}
573
+ * @stability stable
556
574
  * @category guards
557
575
  * @since 2.0.0
558
576
  */
@@ -587,6 +605,7 @@ function isSymbol(input) {
587
605
  * @see {@link isString}
588
606
  * @see {@link isNumber}
589
607
  * @see {@link isSymbol}
608
+ * @stability stable
590
609
  * @category guards
591
610
  * @since 4.0.0
592
611
  */
@@ -618,6 +637,7 @@ function isPropertyKey(u) {
618
637
  * ```
619
638
  *
620
639
  * @see {@link isObjectKeyword}
640
+ * @stability stable
621
641
  * @category guards
622
642
  * @since 2.0.0
623
643
  */
@@ -648,6 +668,7 @@ function isFunction(input) {
648
668
  *
649
669
  * @see {@link isNotUndefined}
650
670
  * @see {@link isNullish}
671
+ * @stability stable
651
672
  * @category guards
652
673
  * @since 2.0.0
653
674
  */
@@ -677,6 +698,7 @@ function isUndefined(input) {
677
698
  *
678
699
  * @see {@link isUndefined}
679
700
  * @see {@link isNotNullish}
701
+ * @stability stable
680
702
  * @category guards
681
703
  * @since 2.0.0
682
704
  */
@@ -706,6 +728,7 @@ function isNotUndefined(input) {
706
728
  *
707
729
  * @see {@link isNull}
708
730
  * @see {@link isNotNullish}
731
+ * @stability stable
709
732
  * @category guards
710
733
  * @since 2.0.0
711
734
  */
@@ -735,6 +758,7 @@ function isNotNull(input) {
735
758
  * @see {@link isNotNullish}
736
759
  * @see {@link isUndefined}
737
760
  * @see {@link isNull}
761
+ * @stability stable
738
762
  * @category guards
739
763
  * @since 4.0.0
740
764
  */
@@ -765,6 +789,7 @@ function isNullish(input) {
765
789
  * @see {@link isNullish}
766
790
  * @see {@link isNotNull}
767
791
  * @see {@link isNotUndefined}
792
+ * @stability stable
768
793
  * @category guards
769
794
  * @since 4.0.0
770
795
  */
@@ -787,6 +812,7 @@ function isNotNullish(input) {
787
812
  * ```
788
813
  *
789
814
  * @see {@link isNever}
815
+ * @stability stable
790
816
  * @category guards
791
817
  * @since 2.0.0
792
818
  */
@@ -818,6 +844,7 @@ function isUnknown(_) {
818
844
  *
819
845
  * @see {@link isObjectOrArray}
820
846
  * @see {@link isReadonlyObject}
847
+ * @stability stable
821
848
  * @category guards
822
849
  * @since 2.0.0
823
850
  */
@@ -850,6 +877,7 @@ function isObject(input) {
850
877
  * ```
851
878
  *
852
879
  * @see {@link isObject}
880
+ * @stability stable
853
881
  * @category guards
854
882
  * @since 4.0.0
855
883
  */
@@ -879,6 +907,7 @@ function isReadonlyObject(input) {
879
907
  *
880
908
  * @see {@link isObject}
881
909
  * @see {@link isObjectOrArray}
910
+ * @stability stable
882
911
  * @category guards
883
912
  * @since 4.0.0
884
913
  */
@@ -913,6 +942,7 @@ function isObjectKeyword(input) {
913
942
  *
914
943
  * @see {@link isTagged}
915
944
  * @see {@link isObjectKeyword}
945
+ * @stability stable
916
946
  * @category guards
917
947
  * @since 2.0.0
918
948
  */
@@ -940,6 +970,7 @@ const hasProperty = /*#__PURE__*/ dual(2, (self, property) => isObjectKeyword(se
940
970
  * ```
941
971
  *
942
972
  * @see {@link hasProperty}
973
+ * @stability stable
943
974
  * @category guards
944
975
  * @since 2.0.0
945
976
  */
@@ -966,6 +997,7 @@ const isTagged = /*#__PURE__*/ dual(2, (self, tag) => hasProperty(self, "_tag")
966
997
  * ```
967
998
  *
968
999
  * @see {@link isUnknown}
1000
+ * @stability stable
969
1001
  * @category guards
970
1002
  * @since 2.0.0
971
1003
  */
@@ -995,6 +1027,7 @@ function isError(input) {
995
1027
  *
996
1028
  * @see {@link isSet}
997
1029
  * @see {@link isMap}
1030
+ * @stability stable
998
1031
  * @category guards
999
1032
  * @since 2.0.0
1000
1033
  */
@@ -1002,7 +1035,7 @@ function isIterable(input) {
1002
1035
  return hasProperty(input, Symbol.iterator) || isString(input);
1003
1036
  }
1004
1037
  //#endregion
1005
- //#region ../../node_modules/.pnpm/effect@4.0.0/node_modules/effect/dist/Hash.js
1038
+ //#region ../../node_modules/.pnpm/effect@4.0.2/node_modules/effect/dist/Hash.js
1006
1039
  /**
1007
1040
  * Computes Effect hash values and defines the interface for objects that want
1008
1041
  * to provide their own hash implementation. Hashes are small numeric
@@ -1012,6 +1045,7 @@ function isIterable(input) {
1012
1045
  * reference-based hashes, plus functions for combining and optimizing numeric
1013
1046
  * hash values.
1014
1047
  *
1048
+ * @stability stable
1015
1049
  * @since 2.0.0
1016
1050
  */
1017
1051
  /**
@@ -1026,6 +1060,7 @@ function isIterable(input) {
1026
1060
  * @see {@link isHash} for checking whether a value implements `Hash`
1027
1061
  * @see {@link hash} for computing hash values
1028
1062
  *
1063
+ * @stability stable
1029
1064
  * @category symbols
1030
1065
  * @since 2.0.0
1031
1066
  */
@@ -1062,6 +1097,7 @@ const symbol$1 = "~effect/Hash";
1062
1097
  * Hash.hash([1, 2, 3]) === Hash.hash([1, 2, 3]) // => true
1063
1098
  * ```
1064
1099
  *
1100
+ * @stability stable
1065
1101
  * @category hashing
1066
1102
  * @since 2.0.0
1067
1103
  */
@@ -1130,6 +1166,7 @@ const hash = (self) => {
1130
1166
  * typeof Hash.random(obj2) // => "number"
1131
1167
  * ```
1132
1168
  *
1169
+ * @stability stable
1133
1170
  * @category hashing
1134
1171
  * @since 2.0.0
1135
1172
  */
@@ -1171,6 +1208,7 @@ const mix = (h) => {
1171
1208
  * @see {@link hash} for computing hash values from arbitrary inputs
1172
1209
  * @see {@link structureKeys} for hashing selected object fields without manual combination
1173
1210
  *
1211
+ * @stability stable
1174
1212
  * @category hashing
1175
1213
  * @since 2.0.0
1176
1214
  */
@@ -1195,6 +1233,7 @@ const combine = /*#__PURE__*/ dual(2, (self, b) => mix(Math.imul(self, 265443576
1195
1233
  * Hash.optimize(1234567890) // => 160826066
1196
1234
  * ```
1197
1235
  *
1236
+ * @stability stable
1198
1237
  * @category hashing
1199
1238
  * @since 2.0.0
1200
1239
  */
@@ -1224,6 +1263,7 @@ const float64 = /*#__PURE__*/ new DataView(/*#__PURE__*/ new ArrayBuffer(8));
1224
1263
  * Hash.number(100) === Hash.number(100) // => true
1225
1264
  * ```
1226
1265
  *
1266
+ * @stability stable
1227
1267
  * @category hashing
1228
1268
  * @since 2.0.0
1229
1269
  */
@@ -1258,6 +1298,7 @@ const number = (n) => {
1258
1298
  * Hash.string("test") === Hash.string("test") // => true
1259
1299
  * ```
1260
1300
  *
1301
+ * @stability stable
1261
1302
  * @category hashing
1262
1303
  * @since 2.0.0
1263
1304
  */
@@ -1297,6 +1338,7 @@ const string = (str) => {
1297
1338
  * hash1 === hash3 // => true
1298
1339
  * ```
1299
1340
  *
1341
+ * @stability stable
1300
1342
  * @category hashing
1301
1343
  * @since 2.0.0
1302
1344
  */
@@ -1332,6 +1374,7 @@ const structureKeys = (o, keys) => {
1332
1374
  * Hash.structure(obj1) === Hash.structure(obj3) // => true
1333
1375
  * ```
1334
1376
  *
1377
+ * @stability stable
1335
1378
  * @category hashing
1336
1379
  * @since 2.0.0
1337
1380
  */
@@ -1372,6 +1415,7 @@ const unordered = (seed, f) => (iter) => {
1372
1415
  *
1373
1416
  * @see {@link hash} for the general-purpose hash dispatcher
1374
1417
  *
1418
+ * @stability stable
1375
1419
  * @category hashing
1376
1420
  * @since 2.0.0
1377
1421
  */
@@ -1387,7 +1431,7 @@ const randomHashCache = /*#__PURE__*/ new WeakMap();
1387
1431
  const hashCache = /*#__PURE__*/ new WeakMap();
1388
1432
  const visitedObjects = /*#__PURE__*/ new WeakSet();
1389
1433
  //#endregion
1390
- //#region ../../node_modules/.pnpm/effect@4.0.0/node_modules/effect/dist/Equal.js
1434
+ //#region ../../node_modules/.pnpm/effect@4.0.2/node_modules/effect/dist/Equal.js
1391
1435
  /**
1392
1436
  * Defines the unique string identifier for the `Equal` interface.
1393
1437
  *
@@ -1423,6 +1467,7 @@ const visitedObjects = /*#__PURE__*/ new WeakSet();
1423
1467
  *
1424
1468
  * @see {@link Equal} — the interface that uses this symbol
1425
1469
  * @see {@link isEqual} — type guard for `Equal` implementors
1470
+ * @stability stable
1426
1471
  * @category symbols
1427
1472
  * @since 2.0.0
1428
1473
  */
@@ -1510,11 +1555,13 @@ function compareRecords(self, that) {
1510
1555
  }
1511
1556
  function compareHashed(self, that, hashOf, equivalent) {
1512
1557
  const groups = /* @__PURE__ */ new Map();
1558
+ let remaining = 0;
1513
1559
  for (const item of that) {
1514
1560
  const h = hashOf(item);
1515
1561
  const group = groups.get(h);
1516
1562
  if (group) group.push(item);
1517
1563
  else groups.set(h, [item]);
1564
+ remaining++;
1518
1565
  }
1519
1566
  outer: for (const item of self) {
1520
1567
  const group = groups.get(hashOf(item));
@@ -1522,12 +1569,13 @@ function compareHashed(self, that, hashOf, equivalent) {
1522
1569
  for (let i = 0; i < group.length; i++) if (equivalent(item, group[i])) {
1523
1570
  group[i] = group[group.length - 1];
1524
1571
  group.pop();
1572
+ remaining--;
1525
1573
  continue outer;
1526
1574
  }
1527
1575
  }
1528
1576
  return false;
1529
1577
  }
1530
- return true;
1578
+ return remaining === 0;
1531
1579
  }
1532
1580
  const entryHash = (entry) => hash(entry[0]);
1533
1581
  const equalEntries = (self, that) => compareBoth(self[0], that[0]) && compareBoth(self[1], that[1]);
@@ -1568,6 +1616,7 @@ const equalEntries = (self, that) => compareBoth(self[0], that[0]) && compareBot
1568
1616
  *
1569
1617
  * @see {@link Equal} — the interface being checked
1570
1618
  * @see {@link symbol} — the property key that signals `Equal` support
1619
+ * @stability stable
1571
1620
  * @category guards
1572
1621
  * @since 2.0.0
1573
1622
  */
@@ -1595,6 +1644,7 @@ const isEqual = (u) => hasProperty(u, symbol);
1595
1644
  * ```
1596
1645
  *
1597
1646
  * @see {@link equals} — the underlying comparison function
1647
+ * @stability stable
1598
1648
  * @category instances
1599
1649
  * @since 4.0.0
1600
1650
  */
@@ -1637,6 +1687,7 @@ const asEquivalence = () => equals;
1637
1687
  *
1638
1688
  * @see {@link byReference} — safer alternative that creates a proxy
1639
1689
  * @see {@link equals} — the comparison function affected by this opt-out
1690
+ * @stability stable
1640
1691
  * @category unsafe
1641
1692
  * @since 4.0.0
1642
1693
  */
@@ -1645,7 +1696,7 @@ const byReferenceUnsafe = (obj) => {
1645
1696
  return obj;
1646
1697
  };
1647
1698
  //#endregion
1648
- //#region ../../node_modules/.pnpm/effect@4.0.0/node_modules/effect/dist/Redactable.js
1699
+ //#region ../../node_modules/.pnpm/effect@4.0.2/node_modules/effect/dist/Redactable.js
1649
1700
  /**
1650
1701
  * Defines the symbol used to identify objects that implement the {@link Redactable}
1651
1702
  * protocol.
@@ -1679,6 +1730,7 @@ const byReferenceUnsafe = (obj) => {
1679
1730
  *
1680
1731
  * @see {@link Redactable} for the interface this symbol belongs to
1681
1732
  * @see {@link isRedactable} to check whether a value has this symbol
1733
+ * @stability stable
1682
1734
  * @category symbols
1683
1735
  * @since 3.10.0
1684
1736
  */
@@ -1693,6 +1745,7 @@ const symbolRedactable = /*#__PURE__*/ Symbol.for("~effect/Redactable");
1693
1745
  *
1694
1746
  * @see {@link Redactable} for the interface being checked
1695
1747
  * @see {@link redact} to apply redaction if the value is redactable
1748
+ * @stability stable
1696
1749
  * @category guards
1697
1750
  * @since 3.10.0
1698
1751
  */
@@ -1718,6 +1771,7 @@ const isRedactable = (u) => hasProperty(u, symbolRedactable);
1718
1771
  *
1719
1772
  * @see {@link isRedactable} to check before redacting
1720
1773
  * @see {@link getRedacted} for the lower-level variant for known redactables
1774
+ * @stability stable
1721
1775
  * @category destructors
1722
1776
  * @since 3.10.0
1723
1777
  */
@@ -1745,6 +1799,7 @@ function redact(u) {
1745
1799
  *
1746
1800
  * @see {@link redact} for the higher-level variant that handles non-redactable values
1747
1801
  * @see {@link isRedactable} for the type guard to verify before calling this
1802
+ * @stability stable
1748
1803
  * @category destructors
1749
1804
  * @since 4.0.0
1750
1805
  */
@@ -1764,7 +1819,7 @@ const emptyContext = {
1764
1819
  }
1765
1820
  };
1766
1821
  //#endregion
1767
- //#region ../../node_modules/.pnpm/effect@4.0.0/node_modules/effect/dist/Formatter.js
1822
+ //#region ../../node_modules/.pnpm/effect@4.0.2/node_modules/effect/dist/Formatter.js
1768
1823
  /**
1769
1824
  * Formats JavaScript values into readable strings.
1770
1825
  *
@@ -1774,6 +1829,7 @@ const emptyContext = {
1774
1829
  * wraps JSON formatting with redaction and circular-reference handling, and the
1775
1830
  * module also includes helpers for property keys, paths, and dates.
1776
1831
  *
1832
+ * @stability stable
1777
1833
  * @since 4.0.0
1778
1834
  */
1779
1835
  /**
@@ -1836,6 +1892,7 @@ const emptyContext = {
1836
1892
  *
1837
1893
  * @see {@link formatJson}
1838
1894
  * @see {@link Formatter}
1895
+ * @stability stable
1839
1896
  * @category formatting
1840
1897
  * @since 2.0.0
1841
1898
  */
@@ -1993,6 +2050,7 @@ function safeGet(input, key) {
1993
2050
  *
1994
2051
  * @see {@link format}
1995
2052
  * @see {@link Formatter}
2053
+ * @stability stable
1996
2054
  * @category serialization
1997
2055
  * @since 4.0.0
1998
2056
  */
@@ -2012,11 +2070,32 @@ function formatJson(input, options) {
2012
2070
  if (ancestors.includes(redacted)) return;
2013
2071
  ancestors.push(redacted);
2014
2072
  if (current !== redacted) ancestors.push(current);
2015
- return current;
2073
+ if (!hasGetter(current) || isJsonPrimitiveWrapper(current)) return current;
2074
+ const serialized = new Proxy(current, { get(target, key) {
2075
+ const value = Reflect.get(target, key, target);
2076
+ return Object.getOwnPropertyDescriptor(target, key)?.get !== void 0 ? redact(value) : value;
2077
+ } });
2078
+ ancestors.push(serialized);
2079
+ return serialized;
2016
2080
  }, options?.space) ?? "null";
2017
2081
  }
2082
+ function hasGetter(object) {
2083
+ for (const key of Object.getOwnPropertyNames(object)) if (Object.getOwnPropertyDescriptor(object, key)?.get !== void 0) return true;
2084
+ return false;
2085
+ }
2086
+ function isJsonPrimitiveWrapper(object) {
2087
+ for (const valueOf of [
2088
+ Number.prototype.valueOf,
2089
+ Boolean.prototype.valueOf,
2090
+ String.prototype.valueOf
2091
+ ]) try {
2092
+ Reflect.apply(valueOf, object, []);
2093
+ return true;
2094
+ } catch {}
2095
+ return false;
2096
+ }
2018
2097
  //#endregion
2019
- //#region ../../node_modules/.pnpm/effect@4.0.0/node_modules/effect/dist/Inspectable.js
2098
+ //#region ../../node_modules/.pnpm/effect@4.0.2/node_modules/effect/dist/Inspectable.js
2020
2099
  /**
2021
2100
  * Controls how values appear in logs and debugging output.
2022
2101
  *
@@ -2026,6 +2105,7 @@ function formatJson(input, options) {
2026
2105
  * the `Inspectable` interface, safe conversion helpers, and shared prototype or
2027
2106
  * class implementations for custom values.
2028
2107
  *
2108
+ * @stability stable
2029
2109
  * @since 2.0.0
2030
2110
  */
2031
2111
  /**
@@ -2058,6 +2138,7 @@ function formatJson(input, options) {
2058
2138
  * obj[Inspectable.NodeInspectSymbol]() // => "CustomObject(hello)"
2059
2139
  * ```
2060
2140
  *
2141
+ * @stability stable
2061
2142
  * @category symbols
2062
2143
  * @since 2.0.0
2063
2144
  */
@@ -2080,6 +2161,7 @@ const NodeInspectSymbol = /*#__PURE__*/ Symbol.for("nodejs.util.inspect.custom")
2080
2161
  *
2081
2162
  * @see {@link toStringUnknown} for converting unknown values to strings
2082
2163
  *
2164
+ * @stability stable
2083
2165
  * @category converting
2084
2166
  * @since 4.0.0
2085
2167
  */
@@ -2106,6 +2188,7 @@ const toJson = (input) => {
2106
2188
  * provided whitespace setting when possible, and values that cannot be
2107
2189
  * formatted are converted with `String`.
2108
2190
  *
2191
+ * @stability stable
2109
2192
  * @category converting
2110
2193
  * @since 2.0.0
2111
2194
  */
@@ -2150,6 +2233,7 @@ const toStringUnknown = (u, whitespace = 2) => {
2150
2233
  * MyClass.prototype.constructor = MyClass
2151
2234
  * ```
2152
2235
  *
2236
+ * @stability stable
2153
2237
  * @category prototypes
2154
2238
  * @since 2.0.0
2155
2239
  */
@@ -2165,7 +2249,7 @@ const BaseProto = {
2165
2249
  }
2166
2250
  };
2167
2251
  //#endregion
2168
- //#region ../../node_modules/.pnpm/effect@4.0.0/node_modules/effect/dist/internal/stackTraceLimit.js
2252
+ //#region ../../node_modules/.pnpm/effect@4.0.2/node_modules/effect/dist/internal/stackTraceLimit.js
2169
2253
  /**
2170
2254
  * Check if `Error.stackTraceLimit` is writable.
2171
2255
  * Returns `false` if the property is frozen, non-writable, or `Error` is non-extensible.
@@ -2197,7 +2281,7 @@ const setStackTraceLimit = (value) => {
2197
2281
  if (canWriteStackTraceLimit) Error.stackTraceLimit = value;
2198
2282
  };
2199
2283
  //#endregion
2200
- //#region ../../node_modules/.pnpm/effect@4.0.0/node_modules/effect/dist/Utils.js
2284
+ //#region ../../node_modules/.pnpm/effect@4.0.2/node_modules/effect/dist/Utils.js
2201
2285
  /**
2202
2286
  * Yields its wrapped value exactly once, then completes with the value sent
2203
2287
  * back in.
@@ -2229,6 +2313,7 @@ const setStackTraceLimit = (value) => {
2229
2313
  * ```
2230
2314
  *
2231
2315
  * @see {@link Gen} for the type-level signature that relies on `SingleShotGen`
2316
+ * @stability stable
2232
2317
  * @category constructors
2233
2318
  * @since 2.0.0
2234
2319
  */
@@ -2274,7 +2359,7 @@ const pickInternalCall = () => {
2274
2359
  /** @internal */
2275
2360
  const internalCall = /*#__PURE__*/ pickInternalCall();
2276
2361
  //#endregion
2277
- //#region ../../node_modules/.pnpm/effect@4.0.0/node_modules/effect/dist/internal/record.js
2362
+ //#region ../../node_modules/.pnpm/effect@4.0.2/node_modules/effect/dist/internal/record.js
2278
2363
  /** @internal */
2279
2364
  function assignProperty(self, key, value) {
2280
2365
  if (key === "__proto__") Object.defineProperty(self, key, {
@@ -2290,7 +2375,7 @@ function assignProperties(self, source) {
2290
2375
  for (const key of Reflect.ownKeys(source)) if (Object.prototype.propertyIsEnumerable.call(source, key)) assignProperty(self, key, source[key]);
2291
2376
  }
2292
2377
  //#endregion
2293
- //#region ../../node_modules/.pnpm/effect@4.0.0/node_modules/effect/dist/internal/core.js
2378
+ //#region ../../node_modules/.pnpm/effect@4.0.2/node_modules/effect/dist/internal/core.js
2294
2379
  /** @internal */
2295
2380
  const EffectTypeId = `~effect/Effect`;
2296
2381
  /** @internal */
@@ -2448,6 +2533,26 @@ var Fail = class extends ReasonBase {
2448
2533
  };
2449
2534
  /** @internal */
2450
2535
  const causeFromReasons = (reasons) => new CauseImpl(reasons);
2536
+ const dedupeReasons = (self, that) => {
2537
+ const buckets = /* @__PURE__ */ new Map();
2538
+ const out = [];
2539
+ for (const reason of self.concat(that)) {
2540
+ const hash$2 = hash(reason);
2541
+ const bucket = buckets.get(hash$2);
2542
+ if (bucket === void 0) buckets.set(hash$2, [reason]);
2543
+ else if (bucket.some((previous) => equals(previous, reason))) continue;
2544
+ else bucket.push(reason);
2545
+ out.push(reason);
2546
+ }
2547
+ return out;
2548
+ };
2549
+ /** @internal */
2550
+ const causeCombine = /*#__PURE__*/ dual(2, (self, that) => {
2551
+ if (self.reasons.length === 0) return that;
2552
+ else if (that.reasons.length === 0) return self;
2553
+ const newCause = new CauseImpl(dedupeReasons(self.reasons, that.reasons));
2554
+ return equals(self, newCause) ? self : newCause;
2555
+ });
2451
2556
  /** @internal */
2452
2557
  const causeEmpty = /*#__PURE__*/ new CauseImpl([]);
2453
2558
  /** @internal */
@@ -2569,7 +2674,17 @@ const exitFailCause = /*#__PURE__*/ makeExit({
2569
2674
  annotated = true;
2570
2675
  }
2571
2676
  let cont = fiber.getCont(contE);
2572
- while (fiber.interruptible && fiber._interruptedCause && cont) cont = fiber.getCont(contE);
2677
+ const interruptedCause = fiber._interruptedCause;
2678
+ if (interruptedCause && fiber.interruptible) {
2679
+ let skippedHandler = false;
2680
+ while (cont && fiber.interruptible) {
2681
+ skippedHandler ||= identifier in cont;
2682
+ cont = fiber.getCont(contE);
2683
+ }
2684
+ if (skippedHandler) cause = causeFromReasons(cause.reasons.filter((reason) => reason._tag !== "Fail"));
2685
+ cause = causeCombine(cause, interruptedCause);
2686
+ annotated = true;
2687
+ }
2573
2688
  return cont ? cont[contE](cause, fiber, annotated ? void 0 : this) : fiber.yieldWith(annotated ? exitFailCause(cause) : this);
2574
2689
  }
2575
2690
  });
@@ -2652,7 +2767,7 @@ const done = (value) => {
2652
2767
  return exitFail(Done(value));
2653
2768
  };
2654
2769
  //#endregion
2655
- //#region ../../node_modules/.pnpm/effect@4.0.0/node_modules/effect/dist/Equivalence.js
2770
+ //#region ../../node_modules/.pnpm/effect@4.0.2/node_modules/effect/dist/Equivalence.js
2656
2771
  /**
2657
2772
  * Creates a custom equivalence relation with an optimized reference equality check.
2658
2773
  *
@@ -2698,6 +2813,7 @@ const done = (value) => {
2698
2813
  *
2699
2814
  * @see {@link strictEqual}
2700
2815
  * @see {@link mapInput}
2816
+ * @stability stable
2701
2817
  * @category constructors
2702
2818
  * @since 2.0.0
2703
2819
  */
@@ -2747,6 +2863,7 @@ const isStrictEquivalent = (x, y) => x === y;
2747
2863
  *
2748
2864
  * @see {@link make}
2749
2865
  * @see `Equal` for structural equality
2866
+ * @stability stable
2750
2867
  * @category constructors
2751
2868
  * @since 4.0.0
2752
2869
  */
@@ -2805,6 +2922,7 @@ const strictEqual = () => isStrictEquivalent;
2805
2922
  * customTupleEq(["Hello", "World", "Test"], ["HELLO", "WORLD", "TEST"]) // => true
2806
2923
  * ```
2807
2924
  *
2925
+ * @stability stable
2808
2926
  * @category combinators
2809
2927
  * @since 4.0.0
2810
2928
  */
@@ -2826,7 +2944,7 @@ function Array_(item) {
2826
2944
  });
2827
2945
  }
2828
2946
  //#endregion
2829
- //#region ../../node_modules/.pnpm/effect@4.0.0/node_modules/effect/dist/internal/option.js
2947
+ //#region ../../node_modules/.pnpm/effect@4.0.2/node_modules/effect/dist/internal/option.js
2830
2948
  /**
2831
2949
  * @since 2.0.0
2832
2950
  */
@@ -2897,7 +3015,7 @@ SomeImpl.prototype = SomeProto;
2897
3015
  /** @internal */
2898
3016
  const some$2 = (value) => new SomeImpl(value);
2899
3017
  //#endregion
2900
- //#region ../../node_modules/.pnpm/effect@4.0.0/node_modules/effect/dist/internal/result.js
3018
+ //#region ../../node_modules/.pnpm/effect@4.0.2/node_modules/effect/dist/internal/result.js
2901
3019
  const TypeId$1 = "~effect/Result";
2902
3020
  const CommonProto = {
2903
3021
  [TypeId$1]: {
@@ -2973,7 +3091,7 @@ const succeed$1 = (success) => new SuccessImpl(success);
2973
3091
  /** @internal */
2974
3092
  const fromOption$1 = /*#__PURE__*/ dual(2, (self, onNone) => isNone$1(self) ? fail$1(onNone()) : succeed$1(self.value));
2975
3093
  //#endregion
2976
- //#region ../../node_modules/.pnpm/effect@4.0.0/node_modules/effect/dist/Order.js
3094
+ //#region ../../node_modules/.pnpm/effect@4.0.2/node_modules/effect/dist/Order.js
2977
3095
  /**
2978
3096
  * Defines comparison functions for ordered values.
2979
3097
  *
@@ -2984,6 +3102,7 @@ const fromOption$1 = /*#__PURE__*/ dual(2, (self, onNone) => isNone$1(self) ? fa
2984
3102
  * orders, tools for reversing and combining comparisons, tuple and struct
2985
3103
  * helpers, comparison predicates, clamping, and reducer support.
2986
3104
  *
3105
+ * @stability stable
2987
3106
  * @since 2.0.0
2988
3107
  */
2989
3108
  /**
@@ -3018,6 +3137,7 @@ const fromOption$1 = /*#__PURE__*/ dual(2, (self, onNone) => isNone$1(self) ? fa
3018
3137
  *
3019
3138
  * @see {@link mapInput} to transform an order by mapping the input type
3020
3139
  * @see {@link combine} to combine multiple orders
3140
+ * @stability stable
3021
3141
  * @category constructors
3022
3142
  * @since 2.0.0
3023
3143
  */
@@ -3048,6 +3168,7 @@ function make$1(compare) {
3048
3168
  *
3049
3169
  * @see {@link mapInput} to compare objects by a string property
3050
3170
  * @see {@link Struct} to combine with other orders for struct comparison
3171
+ * @stability stable
3051
3172
  * @category instances
3052
3173
  * @since 4.0.0
3053
3174
  */
@@ -3080,6 +3201,7 @@ const String$2 = /*#__PURE__*/ make$1((self, that) => self < that ? -1 : 1);
3080
3201
  *
3081
3202
  * @see {@link mapInput} to compare objects by a number property
3082
3203
  * @see {@link BigInt} for bigint comparisons
3204
+ * @stability stable
3083
3205
  * @category instances
3084
3206
  * @since 4.0.0
3085
3207
  */
@@ -3113,6 +3235,7 @@ const Number$1 = /*#__PURE__*/ make$1((self, that) => {
3113
3235
  *
3114
3236
  * @see {@link Number} for regular number comparisons
3115
3237
  * @see {@link mapInput} to compare objects by a bigint property
3238
+ * @stability stable
3116
3239
  * @category instances
3117
3240
  * @since 4.0.0
3118
3241
  */
@@ -3146,6 +3269,7 @@ const BigInt = /*#__PURE__*/ make$1((self, that) => self < that ? -1 : 1);
3146
3269
  *
3147
3270
  * @see {@link combine} to combine mapped orders for multi-criteria comparison
3148
3271
  * @see {@link Struct} to create orders for structs with multiple fields
3272
+ * @stability stable
3149
3273
  * @category mapping
3150
3274
  * @since 2.0.0
3151
3275
  */
@@ -3177,6 +3301,7 @@ const mapInput = /*#__PURE__*/ dual(2, (self, f) => make$1((b1, b2) => self(f(b1
3177
3301
  * ```
3178
3302
  *
3179
3303
  * @see {@link mapInput} to compare objects by a date property
3304
+ * @stability stable
3180
3305
  * @category instances
3181
3306
  * @since 2.0.0
3182
3307
  */
@@ -3207,6 +3332,7 @@ const Date$1 = /*#__PURE__*/ mapInput(Number$1, (date) => date.getTime());
3207
3332
  *
3208
3333
  * @see {@link isLessThanOrEqualTo} for non-strict less than or equal
3209
3334
  * @see {@link isGreaterThan} for strict greater than
3335
+ * @stability stable
3210
3336
  * @category predicates
3211
3337
  * @since 4.0.0
3212
3338
  */
@@ -3237,6 +3363,7 @@ const isLessThan = (O) => dual(2, (self, that) => O(self, that) === -1);
3237
3363
  *
3238
3364
  * @see {@link isGreaterThanOrEqualTo} for non-strict greater than or equal
3239
3365
  * @see {@link isLessThan} for strict less than
3366
+ * @stability stable
3240
3367
  * @category predicates
3241
3368
  * @since 4.0.0
3242
3369
  */
@@ -3267,6 +3394,7 @@ const isGreaterThan = (O) => dual(2, (self, that) => O(self, that) === 1);
3267
3394
  *
3268
3395
  * @see {@link isLessThan} for strict less than
3269
3396
  * @see {@link isGreaterThan} for strict greater than
3397
+ * @stability stable
3270
3398
  * @category predicates
3271
3399
  * @since 4.0.0
3272
3400
  */
@@ -3298,12 +3426,13 @@ const isLessThanOrEqualTo = (O) => dual(2, (self, that) => O(self, that) !== 1);
3298
3426
  *
3299
3427
  * @see {@link isGreaterThan} for strict greater than
3300
3428
  * @see {@link isLessThanOrEqualTo} for less than or equal
3429
+ * @stability stable
3301
3430
  * @category predicates
3302
3431
  * @since 4.0.0
3303
3432
  */
3304
3433
  const isGreaterThanOrEqualTo = (O) => dual(2, (self, that) => O(self, that) !== -1);
3305
3434
  //#endregion
3306
- //#region ../../node_modules/.pnpm/effect@4.0.0/node_modules/effect/dist/Option.js
3435
+ //#region ../../node_modules/.pnpm/effect@4.0.2/node_modules/effect/dist/Option.js
3307
3436
  /**
3308
3437
  * Creates an `Option` representing the absence of a value.
3309
3438
  *
@@ -3329,6 +3458,7 @@ const isGreaterThanOrEqualTo = (O) => dual(2, (self, that) => O(self, that) !==
3329
3458
  *
3330
3459
  * @see {@link some} for the opposite operation.
3331
3460
  *
3461
+ * @stability stable
3332
3462
  * @category constructors
3333
3463
  * @since 2.0.0
3334
3464
  */
@@ -3358,6 +3488,7 @@ const none = () => none$1;
3358
3488
  *
3359
3489
  * @see {@link none} for the opposite operation.
3360
3490
  *
3491
+ * @stability stable
3361
3492
  * @category constructors
3362
3493
  * @since 2.0.0
3363
3494
  */
@@ -3384,6 +3515,7 @@ const some$1 = some$2;
3384
3515
  *
3385
3516
  * @see {@link isSome} for the opposite check.
3386
3517
  *
3518
+ * @stability stable
3387
3519
  * @category guards
3388
3520
  * @since 2.0.0
3389
3521
  */
@@ -3410,6 +3542,7 @@ const isNone = isNone$1;
3410
3542
  *
3411
3543
  * @see {@link isNone} for the opposite check.
3412
3544
  *
3545
+ * @stability stable
3413
3546
  * @category guards
3414
3547
  * @since 2.0.0
3415
3548
  */
@@ -3441,6 +3574,7 @@ const isSome = isSome$1;
3441
3574
  *
3442
3575
  * @see {@link getOrElse} for unwrapping with a default
3443
3576
  *
3577
+ * @stability stable
3444
3578
  * @category pattern matching
3445
3579
  * @since 2.0.0
3446
3580
  */
@@ -3472,6 +3606,7 @@ const match$3 = /*#__PURE__*/ dual(2, (self, { onNone, onSome }) => isNone(self)
3472
3606
  * @see {@link getOrUndefined} to fall back to `undefined`
3473
3607
  * @see {@link getOrThrow} to throw on `None`
3474
3608
  *
3609
+ * @stability stable
3475
3610
  * @category getters
3476
3611
  * @since 2.0.0
3477
3612
  */
@@ -3502,6 +3637,7 @@ const getOrElse = /*#__PURE__*/ dual(2, (self, onNone) => isNone(self) ? onNone(
3502
3637
  * @see {@link orElseSome} to wrap the fallback value in `Some` automatically
3503
3638
  * @see {@link firstSomeOf} to pick the first `Some` from a collection
3504
3639
  *
3640
+ * @stability stable
3505
3641
  * @category error handling
3506
3642
  * @since 2.0.0
3507
3643
  */
@@ -3533,6 +3669,7 @@ const orElse = /*#__PURE__*/ dual(2, (self, that) => isNone(self) ? that() : sel
3533
3669
  *
3534
3670
  * @see {@link orElse} for a two-option fallback
3535
3671
  *
3672
+ * @stability stable
3536
3673
  * @category error handling
3537
3674
  * @since 2.0.0
3538
3675
  */
@@ -3568,6 +3705,7 @@ const firstSomeOf = (collection) => {
3568
3705
  * @see {@link fromUndefinedOr} to only treat `undefined` as absent
3569
3706
  * @see {@link liftNullishOr} to lift a nullable-returning function
3570
3707
  *
3708
+ * @stability stable
3571
3709
  * @category converting
3572
3710
  * @since 4.0.0
3573
3711
  */
@@ -3599,6 +3737,7 @@ const fromNullishOr = (a) => a == null ? none() : some$1(a);
3599
3737
  * @see {@link fromNullishOr} to treat both `null` and `undefined` as absent
3600
3738
  * @see {@link fromNullOr} to only treat `null` as absent
3601
3739
  *
3740
+ * @stability stable
3602
3741
  * @category converting
3603
3742
  * @since 4.0.0
3604
3743
  */
@@ -3630,6 +3769,7 @@ const fromUndefinedOr = (a) => a === void 0 ? none() : some$1(a);
3630
3769
  * @see {@link fromNullishOr} to treat both `null` and `undefined` as absent
3631
3770
  * @see {@link fromUndefinedOr} to only treat `undefined` as absent
3632
3771
  *
3772
+ * @stability stable
3633
3773
  * @category converting
3634
3774
  * @since 4.0.0
3635
3775
  */
@@ -3659,6 +3799,7 @@ const fromNullOr = (a) => a === null ? none() : some$1(a);
3659
3799
  * @see {@link getOrNull} to return `null` instead
3660
3800
  * @see {@link getOrElse} for a custom fallback
3661
3801
  *
3802
+ * @stability stable
3662
3803
  * @category getters
3663
3804
  * @since 2.0.0
3664
3805
  */
@@ -3688,6 +3829,7 @@ const getOrUndefined = /*#__PURE__*/ getOrElse(constUndefined);
3688
3829
  *
3689
3830
  * @see {@link liftNullishOr} for nullable-returning functions
3690
3831
  *
3832
+ * @stability stable
3691
3833
  * @category converting
3692
3834
  * @since 2.0.0
3693
3835
  */
@@ -3724,6 +3866,7 @@ const liftThrowable = (f) => (...a) => {
3724
3866
  * @see {@link flatMap} when `f` returns an `Option`
3725
3867
  * @see {@link as} to replace the value with a constant
3726
3868
  *
3869
+ * @stability stable
3727
3870
  * @category mapping
3728
3871
  * @since 2.0.0
3729
3872
  */
@@ -3767,6 +3910,7 @@ const map$2 = /*#__PURE__*/ dual(2, (self, f) => isNone(self) ? none() : some$1(
3767
3910
  * @see {@link andThen} for a more flexible variant
3768
3911
  * @see {@link flatten} to unwrap a nested `Option<Option<A>>`
3769
3912
  *
3913
+ * @stability stable
3770
3914
  * @category sequencing
3771
3915
  * @since 2.0.0
3772
3916
  */
@@ -3795,6 +3939,7 @@ const flatMap$1 = /*#__PURE__*/ dual(2, (self, f) => isNone(self) ? none() : f(s
3795
3939
  *
3796
3940
  * @see {@link flatMap} which is `map` + `flatten`
3797
3941
  *
3942
+ * @stability stable
3798
3943
  * @category sequencing
3799
3944
  * @since 2.0.0
3800
3945
  */
@@ -3825,6 +3970,7 @@ const flatten$1 = /*#__PURE__*/ flatMap$1(identity);
3825
3970
  * @see {@link zipWith} to combine with a function instead of a tuple
3826
3971
  * @see {@link all} to combine many `Option`s
3827
3972
  *
3973
+ * @stability stable
3828
3974
  * @category combining
3829
3975
  * @since 2.0.0
3830
3976
  */
@@ -3865,6 +4011,7 @@ const product = /*#__PURE__*/ dual(2, (self, that) => isSome(self) && isSome(tha
3865
4011
  * @see {@link product} for combining exactly two
3866
4012
  * @see {@link productMany} for a homogeneous collection
3867
4013
  *
4014
+ * @stability stable
3868
4015
  * @category combining
3869
4016
  * @since 2.0.0
3870
4017
  */
@@ -3913,6 +4060,7 @@ const all = (input) => {
3913
4060
  * @see {@link product} to combine into a tuple instead
3914
4061
  * @see {@link lift2} to lift a binary function
3915
4062
  *
4063
+ * @stability stable
3916
4064
  * @category zipping
3917
4065
  * @since 2.0.0
3918
4066
  */
@@ -3949,6 +4097,7 @@ const zipWith = /*#__PURE__*/ dual(3, (self, that, f) => map$2(product(self, tha
3949
4097
  * @see {@link filterMap} to transform and filter simultaneously
3950
4098
  * @see {@link exists} to test without filtering
3951
4099
  *
4100
+ * @stability stable
3952
4101
  * @category filtering
3953
4102
  * @since 2.0.0
3954
4103
  */
@@ -3981,6 +4130,7 @@ const filter$1 = /*#__PURE__*/ dual(2, (self, predicate) => isNone(self) ? none(
3981
4130
  *
3982
4131
  * @see {@link contains} for a version using default equality
3983
4132
  *
4133
+ * @stability stable
3984
4134
  * @category predicates
3985
4135
  * @since 2.0.0
3986
4136
  */
@@ -4012,6 +4162,7 @@ const containsWith$1 = (isEquivalent) => dual(2, (self, a) => isNone(self) ? fal
4012
4162
  * @see {@link containsWith} for custom equality
4013
4163
  * @see {@link exists} to test with a predicate
4014
4164
  *
4165
+ * @stability stable
4015
4166
  * @category predicates
4016
4167
  * @since 2.0.0
4017
4168
  */
@@ -4045,19 +4196,20 @@ const contains$1 = /*#__PURE__*/ containsWith$1(/*#__PURE__*/ asEquivalence());
4045
4196
  * @see {@link filter} to keep or discard based on a predicate
4046
4197
  * @see {@link contains} to test for a specific value
4047
4198
  *
4199
+ * @stability stable
4048
4200
  * @category predicates
4049
4201
  * @since 2.0.0
4050
4202
  */
4051
4203
  const exists = /*#__PURE__*/ dual(2, (self, refinement) => isNone(self) ? false : refinement(self.value));
4052
4204
  //#endregion
4053
- //#region ../../node_modules/.pnpm/effect@4.0.0/node_modules/effect/dist/internal/array.js
4205
+ //#region ../../node_modules/.pnpm/effect@4.0.2/node_modules/effect/dist/internal/array.js
4054
4206
  /**
4055
4207
  * @since 2.0.0
4056
4208
  */
4057
4209
  /** @internal */
4058
4210
  const isArrayNonEmpty$1 = (self) => self.length > 0;
4059
4211
  //#endregion
4060
- //#region ../../node_modules/.pnpm/effect@4.0.0/node_modules/effect/dist/internal/count.js
4212
+ //#region ../../node_modules/.pnpm/effect@4.0.2/node_modules/effect/dist/internal/count.js
4061
4213
  /**
4062
4214
  * Normalizes a collection count to a non-negative integer. `NaN` and
4063
4215
  * non-positive values become `0`; positive infinity is preserved.
@@ -4066,7 +4218,7 @@ const isArrayNonEmpty$1 = (self) => self.length > 0;
4066
4218
  */
4067
4219
  const normalize = (n) => n > 0 ? Math.floor(n) : 0;
4068
4220
  //#endregion
4069
- //#region ../../node_modules/.pnpm/effect@4.0.0/node_modules/effect/dist/Result.js
4221
+ //#region ../../node_modules/.pnpm/effect@4.0.2/node_modules/effect/dist/Result.js
4070
4222
  /**
4071
4223
  * Creates a `Result` holding a `Success` value.
4072
4224
  *
@@ -4086,6 +4238,7 @@ const normalize = (n) => n > 0 ? Math.floor(n) : 0;
4086
4238
  * @see {@link fail} to create a Failure
4087
4239
  * @see {@link void_ void} for a pre-built `Success<void>`
4088
4240
  *
4241
+ * @stability stable
4089
4242
  * @category constructors
4090
4243
  * @since 4.0.0
4091
4244
  */
@@ -4112,6 +4265,7 @@ const succeed = succeed$1;
4112
4265
  * @see {@link succeed} to create a Success
4113
4266
  * @see {@link mapError} to transform the error
4114
4267
  *
4268
+ * @stability stable
4115
4269
  * @category constructors
4116
4270
  * @since 4.0.0
4117
4271
  */
@@ -4144,6 +4298,7 @@ const fail = fail$1;
4144
4298
  * @see {@link getFailure} to extract the failure value as an Option
4145
4299
  * @see {@link fromNullishOr} to build a Result from nullable values
4146
4300
  *
4301
+ * @stability stable
4147
4302
  * @category constructors
4148
4303
  * @since 2.0.0
4149
4304
  */
@@ -4175,6 +4330,7 @@ const fromOption = fromOption$1;
4175
4330
  * @see {@link isSuccess} for the opposite check
4176
4331
  * @see {@link isResult} to check if a value is any Result
4177
4332
  *
4333
+ * @stability stable
4178
4334
  * @category guards
4179
4335
  * @since 4.0.0
4180
4336
  */
@@ -4206,6 +4362,7 @@ const isFailure = isFailure$1;
4206
4362
  * @see {@link isFailure} for the opposite check
4207
4363
  * @see {@link isResult} to check if a value is any Result
4208
4364
  *
4365
+ * @stability stable
4209
4366
  * @category guards
4210
4367
  * @since 4.0.0
4211
4368
  */
@@ -4242,6 +4399,7 @@ const isSuccess = isSuccess$1;
4242
4399
  * @see {@link merge} to extract `A | E` without mapping
4243
4400
  * @see {@link getOrElse} to unwrap only the success with a fallback
4244
4401
  *
4402
+ * @stability stable
4245
4403
  * @category pattern matching
4246
4404
  * @since 2.0.0
4247
4405
  */
@@ -4273,6 +4431,7 @@ const match$2 = /*#__PURE__*/ dual(2, (self, { onFailure, onSuccess }) => isFail
4273
4431
  * @see {@link getOrThrowWith} for custom error mapping
4274
4432
  * @see {@link getOrElse} for a non-throwing alternative
4275
4433
  *
4434
+ * @stability stable
4276
4435
  * @category getters
4277
4436
  * @since 2.0.0
4278
4437
  */
@@ -4281,7 +4440,7 @@ const getOrThrow = /*#__PURE__*/ (/* @__PURE__ */ dual(2, (self, onFailure) => {
4281
4440
  throw onFailure(self.failure);
4282
4441
  }))(identity);
4283
4442
  //#endregion
4284
- //#region ../../node_modules/.pnpm/effect@4.0.0/node_modules/effect/dist/Iterable.js
4443
+ //#region ../../node_modules/.pnpm/effect@4.0.2/node_modules/effect/dist/Iterable.js
4285
4444
  /**
4286
4445
  * Returns the first element that satisfies the specified
4287
4446
  * predicate, or `None` if no such element exists.
@@ -4319,6 +4478,7 @@ const getOrThrow = /*#__PURE__*/ (/* @__PURE__ */ dual(2, (self, onFailure) => {
4319
4478
  * findSquareRoot // => Option.some(1)
4320
4479
  * ```
4321
4480
  *
4481
+ * @stability stable
4322
4482
  * @category searching
4323
4483
  * @since 2.0.0
4324
4484
  */
@@ -4334,7 +4494,7 @@ const findFirst$1 = /*#__PURE__*/ dual(2, (self, f) => {
4334
4494
  return none();
4335
4495
  });
4336
4496
  //#endregion
4337
- //#region ../../node_modules/.pnpm/effect@4.0.0/node_modules/effect/dist/Record.js
4497
+ //#region ../../node_modules/.pnpm/effect@4.0.2/node_modules/effect/dist/Record.js
4338
4498
  /**
4339
4499
  * Builds a record from an iterable of key-value pairs.
4340
4500
  *
@@ -4351,6 +4511,7 @@ const findFirst$1 = /*#__PURE__*/ dual(2, (self, f) => {
4351
4511
  * Record.fromEntries([["a", 1], ["b", 2]]) // => { a: 1, b: 2 }
4352
4512
  * ```
4353
4513
  *
4514
+ * @stability stable
4354
4515
  * @category constructors
4355
4516
  * @since 2.0.0
4356
4517
  */
@@ -4367,6 +4528,7 @@ const fromEntries = Object.fromEntries;
4367
4528
  * Record.collect(x, (key, n) => [key, n]) // => [["a", 1], ["b", 2], ["c", 3]]
4368
4529
  * ```
4369
4530
  *
4531
+ * @stability stable
4370
4532
  * @category converting
4371
4533
  * @since 2.0.0
4372
4534
  */
@@ -4387,6 +4549,7 @@ const collect = /*#__PURE__*/ dual(2, (self, f) => {
4387
4549
  * Record.has(Record.empty<string>(), "c") // => false
4388
4550
  * ```
4389
4551
  *
4552
+ * @stability stable
4390
4553
  * @category predicates
4391
4554
  * @since 2.0.0
4392
4555
  */
@@ -4405,6 +4568,7 @@ const has = /*#__PURE__*/ dual(2, (self, key) => Object.hasOwn(self, key));
4405
4568
  * R.get(person, "email") // => Option.none()
4406
4569
  * ```
4407
4570
  *
4571
+ * @stability stable
4408
4572
  * @category getters
4409
4573
  * @since 2.0.0
4410
4574
  */
@@ -4429,6 +4593,7 @@ const get$2 = /*#__PURE__*/ dual(2, (self, key) => Object.hasOwn(self, key) ? so
4429
4593
  * Record.remove({ a: 1, b: 2 }, "a") // => { b: 2 }
4430
4594
  * ```
4431
4595
  *
4596
+ * @stability stable
4432
4597
  * @category mutations
4433
4598
  * @since 2.0.0
4434
4599
  */
@@ -4455,6 +4620,7 @@ const remove = /*#__PURE__*/ dual(2, (self, key) => {
4455
4620
  * Record.map({ a: 3, b: 5 }, g) // => { a: "A-3", b: "B-5" }
4456
4621
  * ```
4457
4622
  *
4623
+ * @stability stable
4458
4624
  * @category mapping
4459
4625
  * @since 2.0.0
4460
4626
  */
@@ -4474,6 +4640,7 @@ const map$1 = /*#__PURE__*/ dual(2, (self, f) => {
4474
4640
  * Record.keys({ a: 1, b: 2, c: 3 }) // => ["a", "b", "c"]
4475
4641
  * ```
4476
4642
  *
4643
+ * @stability stable
4477
4644
  * @category getters
4478
4645
  * @since 2.0.0
4479
4646
  */
@@ -4489,12 +4656,13 @@ const keys = (self) => Object.keys(self);
4489
4656
  * Record.values({ a: 1, b: 2, c: 3 }) // => [1, 2, 3]
4490
4657
  * ```
4491
4658
  *
4659
+ * @stability stable
4492
4660
  * @category getters
4493
4661
  * @since 2.0.0
4494
4662
  */
4495
4663
  const values = (self) => collect(self, (_, a) => a);
4496
4664
  //#endregion
4497
- //#region ../../node_modules/.pnpm/effect@4.0.0/node_modules/effect/dist/Array.js
4665
+ //#region ../../node_modules/.pnpm/effect@4.0.2/node_modules/effect/dist/Array.js
4498
4666
  /**
4499
4667
  * Works with JavaScript arrays, readonly arrays, and non-empty arrays.
4500
4668
  *
@@ -4504,6 +4672,7 @@ const values = (self) => collect(self, (_, a) => a);
4504
4672
  * arrays and preserve non-empty array types when the result is guaranteed to
4505
4673
  * contain values.
4506
4674
  *
4675
+ * @stability stable
4507
4676
  * @since 2.0.0
4508
4677
  */
4509
4678
  /**
@@ -4522,6 +4691,7 @@ const values = (self) => collect(self, (_, a) => a);
4522
4691
  * Array.Array === globalThis.Array // => true
4523
4692
  * ```
4524
4693
  *
4694
+ * @stability stable
4525
4695
  * @category constructors
4526
4696
  * @since 4.0.0
4527
4697
  */
@@ -4550,6 +4720,7 @@ const Array$1 = globalThis.Array;
4550
4720
  * @see {@link ensure} — wrap a single value or return an existing array
4551
4721
  * @see {@link copy} — create a shallow copy of an array
4552
4722
  *
4723
+ * @stability stable
4553
4724
  * @category constructors
4554
4725
  * @since 2.0.0
4555
4726
  */
@@ -4580,6 +4751,7 @@ const fromIterable = (collection) => Array$1.isArray(collection) ? collection :
4580
4751
  * @see {@link of} — always wrap in a single-element array
4581
4752
  * @see {@link fromIterable} — convert any iterable
4582
4753
  *
4754
+ * @stability stable
4583
4755
  * @category constructors
4584
4756
  * @since 3.3.0
4585
4757
  */
@@ -4613,6 +4785,7 @@ const ensure = (self) => Array$1.isArray(self) ? self : [self];
4613
4785
  * @see {@link matchLeft} — destructures into head + tail
4614
4786
  * @see {@link matchRight} — destructures into init + last
4615
4787
  *
4788
+ * @stability stable
4616
4789
  * @category pattern matching
4617
4790
  * @since 2.0.0
4618
4791
  */
@@ -4636,6 +4809,7 @@ const match$1 = /*#__PURE__*/ dual(2, (self, { onEmpty, onNonEmpty }) => isReado
4636
4809
  * @see {@link append} — add to the end
4637
4810
  * @see {@link prependAll} — prepend multiple elements
4638
4811
  *
4812
+ * @stability stable
4639
4813
  * @category combining
4640
4814
  * @since 2.0.0
4641
4815
  */
@@ -4659,6 +4833,7 @@ const prepend = /*#__PURE__*/ dual(2, (self, head) => [head, ...self]);
4659
4833
  * @see {@link prepend} — add to the front
4660
4834
  * @see {@link appendAll} — append multiple elements
4661
4835
  *
4836
+ * @stability stable
4662
4837
  * @category combining
4663
4838
  * @since 2.0.0
4664
4839
  */
@@ -4686,6 +4861,7 @@ const append = /*#__PURE__*/ dual(2, (self, last) => [...self, last]);
4686
4861
  * @see {@link append} — add a single element to the end
4687
4862
  * @see {@link prependAll} — add elements to the front
4688
4863
  *
4864
+ * @stability stable
4689
4865
  * @category combining
4690
4866
  * @since 2.0.0
4691
4867
  */
@@ -4706,6 +4882,7 @@ Array$1.isArray;
4706
4882
  * @see {@link isReadonlyArrayEmpty} — readonly variant
4707
4883
  * @see {@link isArrayNonEmpty} — opposite check
4708
4884
  *
4885
+ * @stability stable
4709
4886
  * @category guards
4710
4887
  * @since 4.0.0
4711
4888
  */
@@ -4725,6 +4902,7 @@ const isArrayEmpty = (self) => self.length === 0;
4725
4902
  * @see {@link isArrayEmpty} — mutable variant
4726
4903
  * @see {@link isReadonlyArrayNonEmpty} — opposite check
4727
4904
  *
4905
+ * @stability stable
4728
4906
  * @category guards
4729
4907
  * @since 4.0.0
4730
4908
  */
@@ -4750,6 +4928,7 @@ const isReadonlyArrayEmpty = isArrayEmpty;
4750
4928
  * @see {@link isReadonlyArrayNonEmpty} — readonly variant
4751
4929
  * @see {@link isArrayEmpty} — opposite check
4752
4930
  *
4931
+ * @stability stable
4753
4932
  * @category guards
4754
4933
  * @since 4.0.0
4755
4934
  */
@@ -4775,6 +4954,7 @@ const isArrayNonEmpty = isArrayNonEmpty$1;
4775
4954
  * @see {@link isArrayNonEmpty} — mutable variant
4776
4955
  * @see {@link isReadonlyArrayEmpty} — opposite check
4777
4956
  *
4957
+ * @stability stable
4778
4958
  * @category guards
4779
4959
  * @since 4.0.0
4780
4960
  */
@@ -4820,6 +5000,7 @@ function isOutOfBounds(i, as) {
4820
5000
  * @see {@link head} for reading the first element as an `Option`
4821
5001
  * @see {@link last} for reading the last element as an `Option`
4822
5002
  *
5003
+ * @stability stable
4823
5004
  * @category getters
4824
5005
  * @since 2.0.0
4825
5006
  */
@@ -4847,6 +5028,7 @@ const get$1 = /*#__PURE__*/ dual(2, (self, index) => {
4847
5028
  * @see {@link headNonEmpty} — direct access when array is known non-empty
4848
5029
  * @see {@link last} — get the last element
4849
5030
  *
5031
+ * @stability stable
4850
5032
  * @category getters
4851
5033
  * @since 2.0.0
4852
5034
  */
@@ -4871,6 +5053,7 @@ const head = /*#__PURE__*/ get$1(0);
4871
5053
  * @see {@link lastNonEmpty} — direct access when array is known non-empty
4872
5054
  * @see {@link head} — get the first element
4873
5055
  *
5056
+ * @stability stable
4874
5057
  * @category getters
4875
5058
  * @since 2.0.0
4876
5059
  */
@@ -4894,6 +5077,7 @@ const last = (self) => isReadonlyArrayNonEmpty(self) ? some$1(lastNonEmpty(self)
4894
5077
  *
4895
5078
  * @see {@link last} — safe version for possibly-empty arrays
4896
5079
  *
5080
+ * @stability stable
4897
5081
  * @category getters
4898
5082
  * @since 2.0.0
4899
5083
  */
@@ -4923,6 +5107,7 @@ const clampCount = (n, length) => Math.min(normalize(n), length);
4923
5107
  * @see {@link takeWhile} for keeping an initial prefix while a predicate holds
4924
5108
  * @see {@link drop} for removing elements from the start
4925
5109
  *
5110
+ * @stability stable
4926
5111
  * @category getters
4927
5112
  * @since 2.0.0
4928
5113
  */
@@ -4952,6 +5137,7 @@ const take = /*#__PURE__*/ dual(2, (self, n) => {
4952
5137
  * @see {@link drop} — remove from the start
4953
5138
  * @see {@link takeRight} — keep from the end
4954
5139
  *
5140
+ * @stability stable
4955
5141
  * @category getters
4956
5142
  * @since 2.0.0
4957
5143
  */
@@ -4979,6 +5165,7 @@ const dropRight = /*#__PURE__*/ dual(2, (self, n) => {
4979
5165
  * @see {@link findLastIndex} — search from the end
4980
5166
  * @see {@link findFirst} — get the element itself
4981
5167
  *
5168
+ * @stability stable
4982
5169
  * @category searching
4983
5170
  * @since 2.0.0
4984
5171
  */
@@ -5017,6 +5204,7 @@ const findFirstIndex = /*#__PURE__*/ dual(2, (self, predicate) => {
5017
5204
  * @see {@link findFirstIndex} — get the index instead
5018
5205
  * @see {@link findFirstWithIndex} — get both element and index
5019
5206
  *
5207
+ * @stability stable
5020
5208
  * @category searching
5021
5209
  * @since 2.0.0
5022
5210
  */
@@ -5045,6 +5233,7 @@ const findFirst = findFirst$1;
5045
5233
  * @see {@link findFirst} — search from the start
5046
5234
  * @see {@link findLastIndex} — get the index instead
5047
5235
  *
5236
+ * @stability stable
5048
5237
  * @category searching
5049
5238
  * @since 2.0.0
5050
5239
  */
@@ -5082,6 +5271,7 @@ const findLast = /*#__PURE__*/ dual(2, (self, f) => {
5082
5271
  * @see {@link sortWith} — sort by a mapping function
5083
5272
  * @see {@link sortBy} — sort by multiple orders
5084
5273
  *
5274
+ * @stability stable
5085
5275
  * @category sorting
5086
5276
  * @since 2.0.0
5087
5277
  */
@@ -5110,6 +5300,7 @@ const sort = /*#__PURE__*/ dual(2, (self, O) => {
5110
5300
  *
5111
5301
  * @see {@link contains} for the `Equal.equivalence()` variant
5112
5302
  *
5303
+ * @stability stable
5113
5304
  * @category predicates
5114
5305
  * @since 2.0.0
5115
5306
  */
@@ -5136,6 +5327,7 @@ const containsWith = (isEquivalent) => dual(2, (self, a) => {
5136
5327
  *
5137
5328
  * @see {@link containsWith} — use custom equality
5138
5329
  *
5330
+ * @stability stable
5139
5331
  * @category predicates
5140
5332
  * @since 2.0.0
5141
5333
  */
@@ -5169,6 +5361,7 @@ const hashBucketsAdd = (buckets, value) => {
5169
5361
  * @see {@link of} — create a single-element array
5170
5362
  * @see {@link make} — create from multiple values
5171
5363
  *
5364
+ * @stability stable
5172
5365
  * @category constructors
5173
5366
  * @since 2.0.0
5174
5367
  */
@@ -5187,6 +5380,7 @@ const empty = () => [];
5187
5380
  * @see {@link make} — create from multiple values
5188
5381
  * @see {@link empty} — create an empty array
5189
5382
  *
5383
+ * @stability stable
5190
5384
  * @category constructors
5191
5385
  * @since 2.0.0
5192
5386
  */
@@ -5213,6 +5407,7 @@ const of = (a) => [a];
5213
5407
  *
5214
5408
  * @see {@link flatMap} — map and flatten
5215
5409
  *
5410
+ * @stability stable
5216
5411
  * @category mapping
5217
5412
  * @since 2.0.0
5218
5413
  */
@@ -5241,6 +5436,7 @@ const map = /*#__PURE__*/ dual(2, (self, f) => self.map(f));
5241
5436
  * @see {@link map} — transform without flattening
5242
5437
  * @see {@link flatten} — flatten without mapping
5243
5438
  *
5439
+ * @stability stable
5244
5440
  * @category sequencing
5245
5441
  * @since 2.0.0
5246
5442
  */
@@ -5271,6 +5467,7 @@ const flatMap = /*#__PURE__*/ dual(2, (self, f) => {
5271
5467
  *
5272
5468
  * @see {@link flatMap} — map then flatten in one step
5273
5469
  *
5470
+ * @stability stable
5274
5471
  * @category sequencing
5275
5472
  * @since 2.0.0
5276
5473
  */
@@ -5294,6 +5491,7 @@ const flatten = /*#__PURE__*/ flatMap(identity);
5294
5491
  * @see {@link fromOption} — convert a single Option
5295
5492
  * @see {@link getSuccesses} — extract successes from Results
5296
5493
  *
5494
+ * @stability stable
5297
5495
  * @category filtering
5298
5496
  * @since 2.0.0
5299
5497
  */
@@ -5325,6 +5523,7 @@ const getSomes = (self) => {
5325
5523
  * @see {@link filter} — keep original elements matching a predicate
5326
5524
  * @see {@link partition} for keeping both successes and failures
5327
5525
  *
5526
+ * @stability stable
5328
5527
  * @category filtering
5329
5528
  * @since 2.0.0
5330
5529
  */
@@ -5361,6 +5560,7 @@ const filterMap = /*#__PURE__*/ dual(2, (self, f) => {
5361
5560
  * @see {@link partition} — split into matching and non-matching
5362
5561
  * @see {@link filterMap} for transforming while filtering
5363
5562
  *
5563
+ * @stability stable
5364
5564
  * @category filtering
5365
5565
  * @since 2.0.0
5366
5566
  */
@@ -5392,6 +5592,7 @@ const filter = /*#__PURE__*/ dual(2, (self, predicate) => {
5392
5592
  * @see {@link reduceRight} — fold from right to left
5393
5593
  * @see {@link scan} — fold keeping intermediate values
5394
5594
  *
5595
+ * @stability stable
5395
5596
  * @category folding
5396
5597
  * @since 2.0.0
5397
5598
  */
@@ -5416,6 +5617,7 @@ const reduce = /*#__PURE__*/ dual(3, (self, b, f) => fromIterable(self).reduce((
5416
5617
  *
5417
5618
  * @see {@link some} — test if any element matches
5418
5619
  *
5620
+ * @stability stable
5419
5621
  * @category guards
5420
5622
  * @since 2.0.0
5421
5623
  */
@@ -5436,6 +5638,7 @@ const every = /*#__PURE__*/ dual(2, (self, refinement) => self.every(refinement)
5436
5638
  * @see {@link every} — test if all elements match
5437
5639
  * @see {@link contains} — test for a specific value
5438
5640
  *
5641
+ * @stability stable
5439
5642
  * @category guards
5440
5643
  * @since 2.0.0
5441
5644
  */
@@ -5457,6 +5660,7 @@ const some = /*#__PURE__*/ dual(2, (self, predicate) => self.some(predicate));
5457
5660
  *
5458
5661
  * @see {@link makeOrder} — create an ordering for arrays
5459
5662
  *
5663
+ * @stability stable
5460
5664
  * @category instances
5461
5665
  * @since 4.0.0
5462
5666
  */
@@ -5481,6 +5685,7 @@ const makeEquivalence = Array_;
5481
5685
  * @see {@link dedupeWith} — use custom equality
5482
5686
  * @see {@link dedupeAdjacent} — only dedupes consecutive elements
5483
5687
  *
5688
+ * @stability stable
5484
5689
  * @category deduplication
5485
5690
  * @since 2.0.0
5486
5691
  */
@@ -5505,6 +5710,7 @@ const dedupe = (self) => {
5505
5710
  *
5506
5711
  * @see {@link intersperse} — insert separator elements without joining
5507
5712
  *
5713
+ * @stability stable
5508
5714
  * @category folding
5509
5715
  * @since 2.0.0
5510
5716
  */
@@ -5576,6 +5782,7 @@ const join = /*#__PURE__*/ dual(2, (self, sep) => fromIterable(self).join(sep));
5576
5782
  * @see {@link TaggedEnum.Constructor} — the returned object type
5577
5783
  * @see {@link TaggedEnum.WithGenerics} — generic enum support
5578
5784
  *
5785
+ * @stability stable
5579
5786
  * @category constructors
5580
5787
  * @since 2.0.0
5581
5788
  */
@@ -5632,6 +5839,7 @@ function taggedMatch() {
5632
5839
  * @see {@link TaggedError} — adds a `_tag` for `Effect.catchTag`
5633
5840
  * @see {@link Class} — non-error data class
5634
5841
  *
5842
+ * @stability stable
5635
5843
  * @category constructors
5636
5844
  * @since 2.0.0
5637
5845
  */
@@ -5678,6 +5886,7 @@ const Error$1 = Error$2;
5678
5886
  * @see {@link Error} — without a `_tag`
5679
5887
  * @see {@link TaggedClass} — tagged class that is not an error
5680
5888
  *
5889
+ * @stability stable
5681
5890
  * @category constructors
5682
5891
  * @since 2.0.0
5683
5892
  */
@@ -5697,6 +5906,7 @@ globalThis.String;
5697
5906
  * String.Order("apple", "apple") // => 0
5698
5907
  * ```
5699
5908
  *
5909
+ * @stability stable
5700
5910
  * @category instances
5701
5911
  * @since 2.0.0
5702
5912
  */
@@ -5713,6 +5923,7 @@ const Order = String$2;
5713
5923
  * String.trimEnd("hello world ") // => "hello world"
5714
5924
  * ```
5715
5925
  *
5926
+ * @stability stable
5716
5927
  * @category transforming
5717
5928
  * @since 2.0.0
5718
5929
  */
@@ -5730,6 +5941,7 @@ const trimEnd = (self) => self.trimEnd();
5730
5941
  * String.split("hello,world", ",") // => ["hello", "world"]
5731
5942
  * ```
5732
5943
  *
5944
+ * @stability stable
5733
5945
  * @category transforming
5734
5946
  * @since 2.0.0
5735
5947
  */
@@ -5750,6 +5962,7 @@ const split = /*#__PURE__*/ dual(2, (self, separator) => {
5750
5962
  * pipe("hello world", String.includes("foo")) // => false
5751
5963
  * ```
5752
5964
  *
5965
+ * @stability stable
5753
5966
  * @category predicates
5754
5967
  * @since 2.0.0
5755
5968
  */
@@ -5766,6 +5979,7 @@ const includes = (searchString, position) => (self) => self.includes(searchStrin
5766
5979
  * pipe("hello world", String.startsWith("world")) // => false
5767
5980
  * ```
5768
5981
  *
5982
+ * @stability stable
5769
5983
  * @category predicates
5770
5984
  * @since 2.0.0
5771
5985
  */
@@ -5787,12 +6001,13 @@ const startsWith = (searchString, position) => (self) => self.startsWith(searchS
5787
6001
  * pipe("hello", String.match(/x/)) // => Option.none()
5788
6002
  * ```
5789
6003
  *
6004
+ * @stability stable
5790
6005
  * @category searching
5791
6006
  * @since 2.0.0
5792
6007
  */
5793
6008
  const match = (regExp) => (self) => fromNullOr(self.match(regExp));
5794
6009
  //#endregion
5795
- //#region ../../node_modules/.pnpm/effect@4.0.0/node_modules/effect/dist/MutableRef.js
6010
+ //#region ../../node_modules/.pnpm/effect@4.0.2/node_modules/effect/dist/MutableRef.js
5796
6011
  const TypeId = "~effect/MutableRef";
5797
6012
  const MutableRefProto = {
5798
6013
  [TypeId]: TypeId,
@@ -5833,6 +6048,7 @@ const MutableRefProto = {
5833
6048
  * MutableRef.get(status) // => "running"
5834
6049
  * ```
5835
6050
  *
6051
+ * @stability stable
5836
6052
  * @category constructors
5837
6053
  * @since 2.0.0
5838
6054
  */
@@ -5874,6 +6090,7 @@ const make = (value) => {
5874
6090
  * value1 === value2 // => true
5875
6091
  * ```
5876
6092
  *
6093
+ * @stability stable
5877
6094
  * @category getters
5878
6095
  * @since 2.0.0
5879
6096
  */
@@ -5925,6 +6142,7 @@ const get = (self) => self.current;
5925
6142
  * MutableRef.get(state) // => "success"
5926
6143
  * ```
5927
6144
  *
6145
+ * @stability stable
5928
6146
  * @category mutations
5929
6147
  * @since 2.0.0
5930
6148
  */
@@ -5984,9 +6202,10 @@ const set = /*#__PURE__*/ dual(2, (self, value) => {
5984
6202
  * MutableRef.get(list) // => [1, 2, 3, 4]
5985
6203
  * ```
5986
6204
  *
6205
+ * @stability stable
5987
6206
  * @category mutations
5988
6207
  * @since 2.0.0
5989
6208
  */
5990
6209
  const update = /*#__PURE__*/ dual(2, (self, f) => set(self, f(get(self))));
5991
6210
  //#endregion
5992
- export { fromOption as $, isNullish as $n, causeFail as $t, getSomes as A, formatPath as An, isGreaterThanOrEqualTo as At, match$1 as B, optimize as Bn, Error$2 as Bt, findFirst as C, setStackTraceLimit as Cn, some$1 as Ct, flatten as D, format as Dn, Number$1 as Dt, flatMap as E, toStringUnknown as En, Date$1 as Et, isReadonlyArrayNonEmpty as F, symbol as Fn, Tuple as Ft, sort as G, hasProperty as Gn, ReasonBase as Gt, prepend as H, string as Hn, Fail as Ht, join as I, array as In, make$2 as It, get$2 as J, isFunction as Jn, Yield as Jt, take as K, isBoolean as Kn, StackTraceKey as Kt, last as L, combine as Ln, strictEqual as Lt, isArrayEmpty as M, currentFiberTypeId as Mn, isLessThanOrEqualTo as Mt, isArrayNonEmpty as N, byReferenceUnsafe as Nn, make$1 as Nt, fromIterable as O, formatDate as On, String$2 as Ot, isCanonicalArrayIndex as P, equals as Pn, mapInput as Pt, fail as Q, isNotUndefined as Qn, causeEmpty as Qt, makeEquivalence as R, hash as Rn, CauseImpl as Rt, filterMap as S, getStackTraceLimit as Sn, orElse as St, findLast as T, NodeInspectSymbol as Tn, BigInt as Tt, reduce as U, structure as Un, InterruptorStackTrace as Ut, of as V, random as Vn, ExitTypeId as Vt, some as W, symbol$1 as Wn, PipeInspectableProto as Wt, remove as X, isNotNull as Xn, causeAnnotate as Xt, map$1 as Y, isIterable as Yn, args as Yt, values as Z, isNotNullish as Zn, causeDie as Zt, dropRight as _, makePrimitive as _n, memoizeIdempotent as _r, isSome as _t, includes as a, done as an, isString as ar, all as at, every as b, assignProperty as bn, Prototype as br, match$3 as bt, startsWith as c, exitFail as cn, isUnknown as cr, filter$1 as ct, TaggedError as d, isCause as dn, constUndefined as dr, flatten$1 as dt, causeFromReasons as en, isNumber as er, getOrThrow as et, taggedEnum as f, isDieReason as fn, constVoid as fr, fromNullishOr as ft, dedupe as g, isInterruptReason as gn, memoize as gr, isNone as gt, contains as h, isFailReason as hn, identity as hr, getOrUndefined as ht, Order as i, contE as in, isReadonlyObject as ir, normalize as it, head as j, formatPropertyKey as jn, isLessThan as jt, get$1 as k, formatJson as kn, isGreaterThan as kt, trimEnd as l, exitFailCause as ln, constFalse as lr, firstSomeOf as lt, appendAll as m, isEffect as mn, dual as mr, getOrElse as mt, make as n, contA as nn, isObjectKeyword as nr, match$2 as nt, match as o, evaluate as on, isTagged as or, contains$1 as ot, append as p, isDone as pn, constant as pr, fromUndefinedOr as pt, fromEntries as q, isError as qn, TaggedError$1 as qt, update as r, contAll as rn, isPropertyKey as rr, succeed as rt, split as s, exitDie as sn, isUndefined as sr, exists as st, get as t, constEmptyAnnotations as tn, isObject as tr, isFailure as tt, Error$1 as u, exitSucceed as un, constTrue as ur, flatMap$1 as ut, empty as v, makePrimitiveProto as vn, pipe as vr, liftThrowable as vt, findFirstIndex as w, BaseProto as wn, zipWith as wt, filter as x, internalCall as xn, pipeArguments as xr, none as xt, ensure as y, withFiber as yn, Class$1 as yr, map$2 as yt, map as z, number as zn, Done as zt };
6211
+ export { fromOption as $, isNotNull as $n, causeDie as $t, getSomes as A, format as An, isGreaterThanOrEqualTo as At, match$1 as B, combine as Bn, Done as Bt, findFirst as C, assignProperty as Cn, Prototype as Cr, some$1 as Ct, flatten as D, BaseProto as Dn, Number$1 as Dt, flatMap as E, setStackTraceLimit as En, Date$1 as Et, isReadonlyArrayNonEmpty as F, currentFiberTypeId as Fn, Tuple as Ft, sort as G, string as Gn, PipeInspectableProto as Gt, prepend as H, number as Hn, ExitTypeId as Ht, join as I, byReferenceUnsafe as In, make$2 as It, get$2 as J, hasProperty as Jn, TaggedError$1 as Jt, take as K, structure as Kn, ReasonBase as Kt, last as L, equals as Ln, strictEqual as Lt, isArrayEmpty as M, formatJson as Mn, isLessThanOrEqualTo as Mt, isArrayNonEmpty as N, formatPath as Nn, make$1 as Nt, fromIterable as O, NodeInspectSymbol as On, String$2 as Ot, isCanonicalArrayIndex as P, formatPropertyKey as Pn, mapInput as Pt, fail as Q, isIterable as Qn, causeCombine as Qt, makeEquivalence as R, symbol as Rn, CauseImpl as Rt, filterMap as S, withFiber as Sn, Class$1 as Sr, orElse as St, findLast as T, getStackTraceLimit as Tn, BigInt as Tt, reduce as U, optimize as Un, Fail as Ut, of as V, hash as Vn, Error$2 as Vt, some as W, random as Wn, InterruptorStackTrace as Wt, remove as X, isError as Xn, args as Xt, map$1 as Y, isBoolean as Yn, Yield as Yt, values as Z, isFunction as Zn, causeAnnotate as Zt, dropRight as _, isExit as _n, dual as _r, isSome as _t, includes as a, contAll as an, isObjectKeyword as ar, all as at, every as b, makePrimitive as bn, memoizeIdempotent as br, match$3 as bt, startsWith as c, evaluate as cn, isString as cr, filter$1 as ct, TaggedError as d, exitFailCause as dn, isUnknown as dr, flatten$1 as dt, causeEmpty as en, isNotNullish as er, getOrThrow as et, taggedEnum as f, exitSucceed as fn, constFalse as fr, fromNullishOr as ft, dedupe as g, isEffect as gn, constant as gr, isNone as gt, contains as h, isDone as hn, constVoid as hr, getOrUndefined as ht, Order as i, contA as in, isObject as ir, normalize as it, head as j, formatDate as jn, isLessThan as jt, get$1 as k, toStringUnknown as kn, isGreaterThan as kt, trimEnd as l, exitDie as ln, isTagged as lr, firstSomeOf as lt, appendAll as m, isDieReason as mn, constUndefined as mr, getOrElse as mt, make as n, causeFromReasons as nn, isNullish as nr, match$2 as nt, match as o, contE as on, isPropertyKey as or, contains$1 as ot, append as p, isCause as pn, constTrue as pr, fromUndefinedOr as pt, fromEntries as q, symbol$1 as qn, StackTraceKey as qt, update as r, constEmptyAnnotations as rn, isNumber as rr, succeed as rt, split as s, done as sn, isReadonlyObject as sr, exists as st, get as t, causeFail as tn, isNotUndefined as tr, isFailure as tt, Error$1 as u, exitFail as un, isUndefined as ur, flatMap$1 as ut, empty as v, isFailReason as vn, identity as vr, liftThrowable as vt, findFirstIndex as w, internalCall as wn, pipeArguments as wr, zipWith as wt, filter as x, makePrimitiveProto as xn, pipe as xr, none as xt, ensure as y, isInterruptReason as yn, memoize as yr, map$2 as yt, map as z, array as zn, Die as zt };