@deslop/auth 0.1.1287 → 0.1.1290

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.
package/dist/server.js CHANGED
@@ -2174,7 +2174,7 @@ const emptyContext$1 = {
2174
2174
  * @category formatting
2175
2175
  * @since 2.0.0
2176
2176
  */
2177
- function format$2(input, options) {
2177
+ function format$4(input, options) {
2178
2178
  const space = options?.space ?? 0;
2179
2179
  const ancestors = /* @__PURE__ */ new WeakSet();
2180
2180
  const gap = !space ? "" : typeof space === "number" ? " ".repeat(space) : space;
@@ -2338,7 +2338,7 @@ function formatJson(input, options) {
2338
2338
  return JSON.stringify(input, function(key, value) {
2339
2339
  const original = Object.getOwnPropertyDescriptor(sources.get(this) ?? this, key)?.value;
2340
2340
  const redacted = hasProperty(original, symbolRedactable) ? redact$2(original) : redact$2(value);
2341
- if (typeof redacted === "bigint") return format$2(redacted);
2341
+ if (typeof redacted === "bigint") return format$4(redacted);
2342
2342
  if (typeof redacted !== "object" || redacted === null) return redacted;
2343
2343
  const current = redacted instanceof Error && !hasProperty(redacted, "toJSON") ? {
2344
2344
  ...redacted,
@@ -2483,7 +2483,7 @@ const toJson = (input) => {
2483
2483
  const toStringUnknown = (u, whitespace = 2) => {
2484
2484
  if (typeof u === "string") return u;
2485
2485
  try {
2486
- return typeof u === "object" ? formatJson(u, { space: whitespace }) : format$2(u, { space: whitespace });
2486
+ return typeof u === "object" ? formatJson(u, { space: whitespace }) : format$4(u, { space: whitespace });
2487
2487
  } catch {
2488
2488
  return String(u);
2489
2489
  }
@@ -2533,7 +2533,7 @@ const BaseProto = {
2533
2533
  return this.toJSON();
2534
2534
  },
2535
2535
  toString() {
2536
- return format$2(this.toJSON());
2536
+ return format$4(this.toJSON());
2537
2537
  }
2538
2538
  };
2539
2539
  /**
@@ -2605,7 +2605,7 @@ var Class$2 = class {
2605
2605
  * @since 2.0.0
2606
2606
  */
2607
2607
  toString() {
2608
- return format$2(this.toJSON());
2608
+ return format$4(this.toJSON());
2609
2609
  }
2610
2610
  };
2611
2611
  // ../../node_modules/.pnpm/effect@4.1.2/node_modules/effect/dist/internal/stackTraceLimit.js
@@ -2773,7 +2773,7 @@ const PipeInspectableProto = {
2773
2773
  return { ...this };
2774
2774
  },
2775
2775
  toString() {
2776
- return format$2(this.toJSON(), {
2776
+ return format$4(this.toJSON(), {
2777
2777
  ignoreToString: true,
2778
2778
  space: 2
2779
2779
  });
@@ -2825,7 +2825,7 @@ var CauseImpl = class {
2825
2825
  };
2826
2826
  }
2827
2827
  toString() {
2828
- return `Cause(${format$2(this.reasons)})`;
2828
+ return `Cause(${format$4(this.reasons)})`;
2829
2829
  }
2830
2830
  [NodeInspectSymbol]() {
2831
2831
  return this.toJSON();
@@ -2869,7 +2869,7 @@ var ReasonBase = class {
2869
2869
  return pipeArguments(this, arguments);
2870
2870
  }
2871
2871
  toString() {
2872
- return format$2(this);
2872
+ return format$4(this);
2873
2873
  }
2874
2874
  [NodeInspectSymbol]() {
2875
2875
  return this.toString();
@@ -2884,7 +2884,7 @@ var Fail = class extends ReasonBase {
2884
2884
  this.error = error;
2885
2885
  }
2886
2886
  toString() {
2887
- return `Fail(${format$2(this.error)})`;
2887
+ return `Fail(${format$4(this.error)})`;
2888
2888
  }
2889
2889
  toJSON() {
2890
2890
  return {
@@ -2944,7 +2944,7 @@ var Die = class extends ReasonBase {
2944
2944
  this.defect = defect;
2945
2945
  }
2946
2946
  toString() {
2947
- return `Die(${format$2(this.defect)})`;
2947
+ return `Die(${format$4(this.defect)})`;
2948
2948
  }
2949
2949
  toJSON() {
2950
2950
  return {
@@ -3005,7 +3005,7 @@ const makeExit = (options) => {
3005
3005
  },
3006
3006
  ...makePrimitiveProto(options),
3007
3007
  toString() {
3008
- return `${options.op}(${format$2(this[args])})`;
3008
+ return `${options.op}(${format$4(this[args])})`;
3009
3009
  },
3010
3010
  toJSON() {
3011
3011
  return {
@@ -3232,7 +3232,7 @@ const Prototype = (options) => makePrimitiveProto({
3232
3232
  * @category constructors
3233
3233
  * @since 2.0.0
3234
3234
  */
3235
- const make$87 = (isEquivalent) => (self, that) => self === that || isEquivalent(self, that);
3235
+ const make$89 = (isEquivalent) => (self, that) => self === that || isEquivalent(self, that);
3236
3236
  const isStrictEquivalent = (x, y) => x === y;
3237
3237
  /**
3238
3238
  * Creates an equivalence relation that uses strict equality (`===`) to compare values.
@@ -3342,7 +3342,7 @@ const strictEqual = () => isStrictEquivalent;
3342
3342
  * @since 4.0.0
3343
3343
  */
3344
3344
  function Tuple$1(elements) {
3345
- return make$87((self, that) => {
3345
+ return make$89((self, that) => {
3346
3346
  if (self.length !== that.length) return false;
3347
3347
  for (let i = 0; i < self.length; i++) if (!elements[i](self[i], that[i])) return false;
3348
3348
  return true;
@@ -3352,7 +3352,7 @@ function Tuple$1(elements) {
3352
3352
  * @since 4.0.0
3353
3353
  */
3354
3354
  function Array_(item) {
3355
- return make$87((self, that) => {
3355
+ return make$89((self, that) => {
3356
3356
  if (self.length !== that.length) return false;
3357
3357
  for (let i = 0; i < self.length; i++) if (!item(self[i], that[i])) return false;
3358
3358
  return true;
@@ -3362,9 +3362,9 @@ function Array_(item) {
3362
3362
  /**
3363
3363
  * @since 2.0.0
3364
3364
  */
3365
- const TypeId$71 = "~effect/Option";
3365
+ const TypeId$73 = "~effect/Option";
3366
3366
  const CommonProto$1 = {
3367
- [TypeId$71]: { _A: (_) => _ },
3367
+ [TypeId$73]: { _A: (_) => _ },
3368
3368
  ...PipeInspectableProto,
3369
3369
  [Symbol.iterator]() {
3370
3370
  return new SingleShotGen(this);
@@ -3380,7 +3380,7 @@ const SomeProto = /*#__PURE__*/ Object.defineProperty(/*#__PURE__*/ Object.assig
3380
3380
  return combine$2(hash(this._tag))(hash(this.value));
3381
3381
  },
3382
3382
  toString() {
3383
- return `some(${format$2(this.value)})`;
3383
+ return `some(${format$4(this.value)})`;
3384
3384
  },
3385
3385
  toJSON() {
3386
3386
  return {
@@ -3414,7 +3414,7 @@ const NoneProto = /*#__PURE__*/ Object.assign(/*#__PURE__*/ Object.create(Common
3414
3414
  }
3415
3415
  });
3416
3416
  /** @internal */
3417
- const isOption$1 = (input) => hasProperty(input, TypeId$71);
3417
+ const isOption$1 = (input) => hasProperty(input, TypeId$73);
3418
3418
  /** @internal */
3419
3419
  const isNone$1 = (fa) => fa._tag === "None";
3420
3420
  /** @internal */
@@ -3429,9 +3429,9 @@ SomeImpl.prototype = SomeProto;
3429
3429
  /** @internal */
3430
3430
  const some$2 = (value) => new SomeImpl(value);
3431
3431
  // ../../node_modules/.pnpm/effect@4.1.2/node_modules/effect/dist/internal/result.js
3432
- const TypeId$70 = "~effect/Result";
3432
+ const TypeId$72 = "~effect/Result";
3433
3433
  const CommonProto = {
3434
- [TypeId$70]: {
3434
+ [TypeId$72]: {
3435
3435
  /* v8 ignore next 2 */
3436
3436
  _A: (_) => _,
3437
3437
  _E: (_) => _
@@ -3451,7 +3451,7 @@ const SuccessProto = /*#__PURE__*/ Object.assign(/*#__PURE__*/ Object.create(Com
3451
3451
  return combine$2(hash(this._tag))(hash(this.success));
3452
3452
  },
3453
3453
  toString() {
3454
- return `success(${format$2(this.success)})`;
3454
+ return `success(${format$4(this.success)})`;
3455
3455
  },
3456
3456
  toJSON() {
3457
3457
  return {
@@ -3471,7 +3471,7 @@ const FailureProto = /*#__PURE__*/ Object.assign(/*#__PURE__*/ Object.create(Com
3471
3471
  return combine$2(hash(this._tag))(hash(this.failure));
3472
3472
  },
3473
3473
  toString() {
3474
- return `failure(${format$2(this.failure)})`;
3474
+ return `failure(${format$4(this.failure)})`;
3475
3475
  },
3476
3476
  toJSON() {
3477
3477
  return {
@@ -3482,7 +3482,7 @@ const FailureProto = /*#__PURE__*/ Object.assign(/*#__PURE__*/ Object.create(Com
3482
3482
  }
3483
3483
  });
3484
3484
  /** @internal */
3485
- const isResult$1 = (input) => hasProperty(input, TypeId$70);
3485
+ const isResult$1 = (input) => hasProperty(input, TypeId$72);
3486
3486
  /** @internal */
3487
3487
  const isFailure$2 = (result) => result._tag === "Failure";
3488
3488
  /** @internal */
@@ -3555,7 +3555,7 @@ const fromOption$3 = /*#__PURE__*/ dual(2, (self, onNone) => isNone$1(self) ? fa
3555
3555
  * @category constructors
3556
3556
  * @since 2.0.0
3557
3557
  */
3558
- function make$86(compare) {
3558
+ function make$88(compare) {
3559
3559
  return (self, that) => self === that ? 0 : compare(self, that);
3560
3560
  }
3561
3561
  /**
@@ -3586,7 +3586,7 @@ function make$86(compare) {
3586
3586
  * @category instances
3587
3587
  * @since 4.0.0
3588
3588
  */
3589
- const String$10 = /*#__PURE__*/ make$86((self, that) => self < that ? -1 : 1);
3589
+ const String$10 = /*#__PURE__*/ make$88((self, that) => self < that ? -1 : 1);
3590
3590
  /**
3591
3591
  * Order instance for numbers that compares them numerically.
3592
3592
  *
@@ -3619,7 +3619,7 @@ const String$10 = /*#__PURE__*/ make$86((self, that) => self < that ? -1 : 1);
3619
3619
  * @category instances
3620
3620
  * @since 4.0.0
3621
3621
  */
3622
- const Number$6 = /*#__PURE__*/ make$86((self, that) => {
3622
+ const Number$6 = /*#__PURE__*/ make$88((self, that) => {
3623
3623
  if (globalThis.Number.isNaN(self) && globalThis.Number.isNaN(that)) return 0;
3624
3624
  if (globalThis.Number.isNaN(self)) return -1;
3625
3625
  if (globalThis.Number.isNaN(that)) return 1;
@@ -3656,7 +3656,7 @@ const Number$6 = /*#__PURE__*/ make$86((self, that) => {
3656
3656
  * @since 4.0.0
3657
3657
  */
3658
3658
  function flip$1(O) {
3659
- return make$86((self, that) => O(that, self));
3659
+ return make$88((self, that) => O(that, self));
3660
3660
  }
3661
3661
  /**
3662
3662
  * Transforms an `Order` on type `A` into an `Order` on type `B` by providing a function that
@@ -3691,7 +3691,7 @@ function flip$1(O) {
3691
3691
  * @category mapping
3692
3692
  * @since 2.0.0
3693
3693
  */
3694
- const mapInput = /*#__PURE__*/ dual(2, (self, f) => make$86((b1, b2) => self(f(b1), f(b2))));
3694
+ const mapInput = /*#__PURE__*/ dual(2, (self, f) => make$88((b1, b2) => self(f(b1), f(b2))));
3695
3695
  /**
3696
3696
  * Checks whether one value is strictly less than another according to the given order.
3697
3697
  *
@@ -4621,7 +4621,7 @@ const ServiceProto = {
4621
4621
  return self;
4622
4622
  },
4623
4623
  context(self) {
4624
- return make$85(this, self);
4624
+ return make$87(this, self);
4625
4625
  },
4626
4626
  use(f) {
4627
4627
  return withFiber$1((fiber) => f(get$14(fiber.context, this)));
@@ -4632,7 +4632,7 @@ const ServiceProto = {
4632
4632
  };
4633
4633
  const cacheKeys = /*#__PURE__*/ new Set();
4634
4634
  const ReferenceTypeId = "~effect/Context/Reference";
4635
- const TypeId$69 = "~effect/Context";
4635
+ const TypeId$71 = "~effect/Context";
4636
4636
  const FlattenAfterBaseHits = 8;
4637
4637
  const makeImpl$1 = (cacheRoot, base, overlay, depth, maxDepth) => {
4638
4638
  const self = Object.create(Proto$24);
@@ -4731,7 +4731,7 @@ const Proto$24 = {
4731
4731
  return flatten$4(this);
4732
4732
  },
4733
4733
  ...PipeInspectableProto,
4734
- [TypeId$69]: { _Services: (_) => _ },
4734
+ [TypeId$71]: { _Services: (_) => _ },
4735
4735
  toJSON() {
4736
4736
  return {
4737
4737
  _id: "Context",
@@ -4787,7 +4787,7 @@ const hasSameCache = (self, that) => self.cacheRoot === that.cacheRoot;
4787
4787
  * @category guards
4788
4788
  * @since 2.0.0
4789
4789
  */
4790
- const isContext = (u) => hasProperty(u, TypeId$69);
4790
+ const isContext = (u) => hasProperty(u, TypeId$71);
4791
4791
  /**
4792
4792
  * Checks whether the provided argument is a `Reference`.
4793
4793
  *
@@ -4844,7 +4844,7 @@ const emptyContext = /*#__PURE__*/ makeUnsafe$10(/*#__PURE__*/ new Map());
4844
4844
  * @category constructors
4845
4845
  * @since 2.0.0
4846
4846
  */
4847
- const make$85 = (key, service) => makeUnsafe$10(/* @__PURE__ */ new Map([[key.key, service]]));
4847
+ const make$87 = (key, service) => makeUnsafe$10(/* @__PURE__ */ new Map([[key.key, service]]));
4848
4848
  /**
4849
4849
  * Adds a service to a given `Context`.
4850
4850
  *
@@ -5231,7 +5231,7 @@ const omit$2 = (...keys) => (self) => withFlat(self, (map) => {
5231
5231
  */
5232
5232
  const Reference = Service$1;
5233
5233
  // ../../node_modules/.pnpm/effect@4.1.2/node_modules/effect/dist/Duration.js
5234
- const TypeId$68 = "~effect/Duration";
5234
+ const TypeId$70 = "~effect/Duration";
5235
5235
  const bigint0$3 = /*#__PURE__*/ BigInt(0);
5236
5236
  const bigint1$2 = /*#__PURE__*/ BigInt(1);
5237
5237
  const bigint2 = /*#__PURE__*/ BigInt(2);
@@ -5247,7 +5247,7 @@ const bigintNanosPerDay = /*#__PURE__*/ BigInt(864e11);
5247
5247
  const bigintNanosPerWeek = /*#__PURE__*/ BigInt(6048e11);
5248
5248
  const roundTiesAwayFromZero = (input) => BigInt(Math.sign(input) * Math.round(Math.abs(input)));
5249
5249
  const roundMillisToNanos = (millis) => Number.isInteger(millis) ? BigInt(millis) * bigint1e6 : roundTiesAwayFromZero(millis * 1e6);
5250
- const fromNanosNumber = (nanos) => make$84(Number.isFinite(nanos) ? roundTiesAwayFromZero(nanos) : nanos);
5250
+ const fromNanosNumber = (nanos) => make$86(Number.isFinite(nanos) ? roundTiesAwayFromZero(nanos) : nanos);
5251
5251
  const nanosToUnit = (nanos, divisor) => {
5252
5252
  const value = Number(nanos);
5253
5253
  if (Number.isFinite(value)) return value / divisor;
@@ -5270,9 +5270,9 @@ const divideTiesAwayFromZero = (numerator, denominator) => {
5270
5270
  };
5271
5271
  const fromMillisString = (input, scale) => {
5272
5272
  const millis = Number(input) * scale;
5273
- if (!Number.isFinite(millis)) return make$84(millis);
5273
+ if (!Number.isFinite(millis)) return make$86(millis);
5274
5274
  const nanos = parseNanos(input, BigInt(scale) * bigint1e6);
5275
- return make$84(Number.isInteger(millis) && BigInt(millis) * bigint1e6 === nanos ? millis : nanos);
5275
+ return make$86(Number.isInteger(millis) && BigInt(millis) * bigint1e6 === nanos ? millis : nanos);
5276
5276
  };
5277
5277
  const DURATION_REGEXP = /^(-?\d+(?:\.\d+)?)\s+(nanos?|micros?|millis?|seconds?|minutes?|hours?|days?|weeks?)$/;
5278
5278
  /**
@@ -5332,14 +5332,14 @@ const fromInputUnsafe$1 = (input) => {
5332
5332
  }
5333
5333
  case "object": {
5334
5334
  if (input === null) break;
5335
- if (TypeId$68 in input) return input;
5335
+ if (TypeId$70 in input) return input;
5336
5336
  if (Array.isArray(input)) {
5337
5337
  if (input.length !== 2 || !input.every(isNumber$1)) return invalid$4(input);
5338
5338
  if (Number.isNaN(input[0]) || Number.isNaN(input[1])) return zero$2;
5339
5339
  if (input[0] === -Infinity || input[1] === -Infinity) return negativeInfinity;
5340
5340
  if (input[0] === Infinity || input[1] === Infinity) return infinity;
5341
5341
  const nanos = input[0] * 1e9 + input[1];
5342
- return Number.isFinite(nanos) && Number.isInteger(input[0]) && Number.isInteger(input[1]) ? make$84(BigInt(input[0]) * bigint1e9 + BigInt(input[1])) : fromNanosNumber(nanos);
5342
+ return Number.isFinite(nanos) && Number.isInteger(input[0]) && Number.isInteger(input[1]) ? make$86(BigInt(input[0]) * bigint1e9 + BigInt(input[1])) : fromNanosNumber(nanos);
5343
5343
  }
5344
5344
  const obj = input;
5345
5345
  let millis = 0;
@@ -5350,13 +5350,13 @@ const fromInputUnsafe$1 = (input) => {
5350
5350
  if (obj.seconds) millis += obj.seconds * 1e3;
5351
5351
  if (obj.milliseconds) millis += obj.milliseconds;
5352
5352
  if (!obj.microseconds && !obj.nanoseconds) {
5353
- if (!Number.isFinite(millis)) return make$84(millis);
5353
+ if (!Number.isFinite(millis)) return make$86(millis);
5354
5354
  const exact = sumObjectNanos(obj);
5355
- return exact === void 0 || BigInt(millis) * bigint1e6 === exact ? make$84(millis) : make$84(exact);
5355
+ return exact === void 0 || BigInt(millis) * bigint1e6 === exact ? make$86(millis) : make$86(exact);
5356
5356
  }
5357
5357
  const nanos = millis * 1e6 + (obj.microseconds ?? 0) * 1e3 + (obj.nanoseconds ?? 0);
5358
5358
  const exact = Number.isFinite(nanos) ? sumObjectNanos(obj) : void 0;
5359
- return exact === void 0 ? fromNanosNumber(nanos) : make$84(exact);
5359
+ return exact === void 0 ? fromNanosNumber(nanos) : make$86(exact);
5360
5360
  }
5361
5361
  }
5362
5362
  return invalid$4(input);
@@ -5403,7 +5403,7 @@ const zeroDurationValue = {
5403
5403
  const infinityDurationValue = { _tag: "Infinity" };
5404
5404
  const negativeInfinityDurationValue = { _tag: "NegativeInfinity" };
5405
5405
  const DurationProto = {
5406
- [TypeId$68]: TypeId$68,
5406
+ [TypeId$70]: TypeId$70,
5407
5407
  [symbol$3]() {
5408
5408
  switch (this.value._tag) {
5409
5409
  case "Millis": return hash(roundMillisToNanos(this.value.millis));
@@ -5451,7 +5451,7 @@ const DurationProto = {
5451
5451
  return pipeArguments(this, arguments);
5452
5452
  }
5453
5453
  };
5454
- const make$84 = (input) => {
5454
+ const make$86 = (input) => {
5455
5455
  const duration = Object.create(DurationProto);
5456
5456
  if (typeof input === "number") {
5457
5457
  if (isNaN(input) || input === 0 || Object.is(input, -0)) duration.value = zeroDurationValue;
@@ -5487,7 +5487,7 @@ const make$84 = (input) => {
5487
5487
  * @category guards
5488
5488
  * @since 2.0.0
5489
5489
  */
5490
- const isDuration = (u) => hasProperty(u, TypeId$68);
5490
+ const isDuration = (u) => hasProperty(u, TypeId$70);
5491
5491
  /**
5492
5492
  * Checks whether a Duration is finite (not infinite).
5493
5493
  *
@@ -5574,8 +5574,8 @@ const abs = (self) => {
5574
5574
  switch (self.value._tag) {
5575
5575
  case "Infinity":
5576
5576
  case "NegativeInfinity": return infinity;
5577
- case "Millis": return self.value.millis < 0 ? make$84(-self.value.millis) : self;
5578
- case "Nanos": return self.value.nanos < bigint0$3 ? make$84(-self.value.nanos) : self;
5577
+ case "Millis": return self.value.millis < 0 ? make$86(-self.value.millis) : self;
5578
+ case "Nanos": return self.value.nanos < bigint0$3 ? make$86(-self.value.nanos) : self;
5579
5579
  }
5580
5580
  };
5581
5581
  /**
@@ -5593,7 +5593,7 @@ const abs = (self) => {
5593
5593
  * @category constructors
5594
5594
  * @since 2.0.0
5595
5595
  */
5596
- const zero$2 = /*#__PURE__*/ make$84(0);
5596
+ const zero$2 = /*#__PURE__*/ make$86(0);
5597
5597
  /**
5598
5598
  * A Duration representing infinite time.
5599
5599
  *
@@ -5609,7 +5609,7 @@ const zero$2 = /*#__PURE__*/ make$84(0);
5609
5609
  * @category constructors
5610
5610
  * @since 2.0.0
5611
5611
  */
5612
- const infinity = /*#__PURE__*/ make$84(Infinity);
5612
+ const infinity = /*#__PURE__*/ make$86(Infinity);
5613
5613
  /**
5614
5614
  * A Duration representing negative infinite time.
5615
5615
  *
@@ -5625,7 +5625,7 @@ const infinity = /*#__PURE__*/ make$84(Infinity);
5625
5625
  * @category constructors
5626
5626
  * @since 4.0.0
5627
5627
  */
5628
- const negativeInfinity = /*#__PURE__*/ make$84(-Infinity);
5628
+ const negativeInfinity = /*#__PURE__*/ make$86(-Infinity);
5629
5629
  /**
5630
5630
  * Creates a Duration from nanoseconds.
5631
5631
  *
@@ -5641,7 +5641,7 @@ const negativeInfinity = /*#__PURE__*/ make$84(-Infinity);
5641
5641
  * @category constructors
5642
5642
  * @since 2.0.0
5643
5643
  */
5644
- const nanos = (nanos) => make$84(nanos);
5644
+ const nanos = (nanos) => make$86(nanos);
5645
5645
  /**
5646
5646
  * Creates a Duration from milliseconds.
5647
5647
  *
@@ -5657,7 +5657,7 @@ const nanos = (nanos) => make$84(nanos);
5657
5657
  * @category constructors
5658
5658
  * @since 2.0.0
5659
5659
  */
5660
- const millis$1 = (millis) => make$84(millis);
5660
+ const millis$1 = (millis) => make$86(millis);
5661
5661
  /**
5662
5662
  * Creates a Duration from seconds.
5663
5663
  *
@@ -5673,7 +5673,7 @@ const millis$1 = (millis) => make$84(millis);
5673
5673
  * @category constructors
5674
5674
  * @since 2.0.0
5675
5675
  */
5676
- const seconds = (seconds) => make$84(seconds * 1e3);
5676
+ const seconds = (seconds) => make$86(seconds * 1e3);
5677
5677
  /**
5678
5678
  * Creates a Duration from minutes.
5679
5679
  *
@@ -5689,7 +5689,7 @@ const seconds = (seconds) => make$84(seconds * 1e3);
5689
5689
  * @category constructors
5690
5690
  * @since 2.0.0
5691
5691
  */
5692
- const minutes = (minutes) => make$84(minutes * 6e4);
5692
+ const minutes = (minutes) => make$86(minutes * 6e4);
5693
5693
  /**
5694
5694
  * Converts a Duration to milliseconds.
5695
5695
  *
@@ -5878,7 +5878,7 @@ const matchPair = /*#__PURE__*/ dual(3, (self, that, options) => {
5878
5878
  * @category instances
5879
5879
  * @since 2.0.0
5880
5880
  */
5881
- const Order$5 = /*#__PURE__*/ make$86((self, that) => matchPair(self, that, {
5881
+ const Order$5 = /*#__PURE__*/ make$88((self, that) => matchPair(self, that, {
5882
5882
  onMillis: (self, that) => self < that ? -1 : self > that ? 1 : 0,
5883
5883
  onNanos: (self, that) => self < that ? -1 : self > that ? 1 : 0,
5884
5884
  onInfinity: (self, that) => {
@@ -5958,14 +5958,14 @@ const max$1 = /*#__PURE__*/ max$2(Order$5);
5958
5958
  const divideUnsafe = /*#__PURE__*/ dual(2, (self, by) => {
5959
5959
  if (!Number.isFinite(by)) return zero$2;
5960
5960
  return match$7(self, {
5961
- onMillis: (millis) => make$84(millis / by),
5961
+ onMillis: (millis) => make$86(millis / by),
5962
5962
  onNanos: (nanos) => {
5963
5963
  if (Object.is(by, 0) || Object.is(by, -0)) {
5964
5964
  if (nanos === bigint0$3) return zero$2;
5965
5965
  return nanos > bigint0$3 === Object.is(by, 0) ? infinity : negativeInfinity;
5966
5966
  }
5967
5967
  try {
5968
- return make$84(nanos / BigInt(by));
5968
+ return make$86(nanos / BigInt(by));
5969
5969
  } catch {
5970
5970
  return zero$2;
5971
5971
  }
@@ -6000,8 +6000,8 @@ const divideUnsafe = /*#__PURE__*/ dual(2, (self, by) => {
6000
6000
  * @since 2.0.0
6001
6001
  */
6002
6002
  const sum = /*#__PURE__*/ dual(2, (self, that) => matchPair(self, that, {
6003
- onMillis: (self, that) => make$84(self + that),
6004
- onNanos: (self, that) => make$84(self + that),
6003
+ onMillis: (self, that) => make$86(self + that),
6004
+ onNanos: (self, that) => make$86(self + that),
6005
6005
  onInfinity: (self, that) => {
6006
6006
  const s = self.value._tag;
6007
6007
  const t = that.value._tag;
@@ -6111,11 +6111,11 @@ const parts$1 = (self) => {
6111
6111
  * @category converting
6112
6112
  * @since 2.0.0
6113
6113
  */
6114
- const format$1 = (self) => {
6114
+ const format$3 = (self) => {
6115
6115
  if (self.value._tag === "Infinity") return "Infinity";
6116
6116
  if (self.value._tag === "NegativeInfinity") return "-Infinity";
6117
6117
  if (isZero$1(self)) return "0";
6118
- if (isNegative(self)) return "-" + format$1(abs(self));
6118
+ if (isNegative(self)) return "-" + format$3(abs(self));
6119
6119
  const fragments = parts$1(self);
6120
6120
  const pieces = [];
6121
6121
  if (fragments.days !== 0) pieces.push(`${fragments.days}d`);
@@ -8855,7 +8855,7 @@ var ParentSpan = class extends (/*#__PURE__*/ Service$1()(ParentSpanKey, { fiber
8855
8855
  * @category constructors
8856
8856
  * @since 2.0.0
8857
8857
  */
8858
- const make$83 = (options) => options;
8858
+ const make$85 = (options) => options;
8859
8859
  /**
8860
8860
  * Creates an `ExternalSpan` from trace and span identifiers, defaulting
8861
8861
  * `sampled` to `true` and annotations to an empty context when they are not
@@ -9035,7 +9035,7 @@ const Tracer = /*#__PURE__*/ Reference(TracerKey, {
9035
9035
  * @category references
9036
9036
  * @since 4.0.0
9037
9037
  */
9038
- const nativeTracer = /*#__PURE__*/ make$83({ span: (options) => new NativeSpan(options) });
9038
+ const nativeTracer = /*#__PURE__*/ make$85({ span: (options) => new NativeSpan(options) });
9039
9039
  /**
9040
9040
  * Default in-memory `Span` implementation used by the native tracer. It
9041
9041
  * generates span and trace identifiers, stores attributes, events, and links,
@@ -9481,7 +9481,7 @@ var FiberImpl = class {
9481
9481
  interruptUnsafe(fiberId, annotations) {
9482
9482
  if (this._exit) return;
9483
9483
  let cause = causeInterrupt(fiberId);
9484
- if (this.cache.stackFrame) cause = causeAnnotate(cause, make$85(StackTraceKey, this.cache.stackFrame));
9484
+ if (this.cache.stackFrame) cause = causeAnnotate(cause, make$87(StackTraceKey, this.cache.stackFrame));
9485
9485
  if (annotations) cause = causeAnnotate(cause, annotations);
9486
9486
  this._interruptedCause = this._interruptedCause ? causeAddInterrupts(this._interruptedCause, cause) : cause;
9487
9487
  if (this.interruptible) {
@@ -10441,7 +10441,7 @@ const delay$1 = /*#__PURE__*/ dual(2, (self, duration) => andThen$1(sleep$1(dura
10441
10441
  /** @internal */
10442
10442
  const timeoutOrElse$1 = /*#__PURE__*/ dual(2, (self, options) => flatMap$4(timeoutOption$1(self, options.duration), (option) => isNone(option) ? options.orElse() : succeed$9(option.value)));
10443
10443
  /** @internal */
10444
- const timeoutErrorFromDuration = (duration) => new TimeoutError$1(`Operation timed out after '${format$1(duration)}'`);
10444
+ const timeoutErrorFromDuration = (duration) => new TimeoutError$1(`Operation timed out after '${format$3(duration)}'`);
10445
10445
  /** @internal */
10446
10446
  const timeout$2 = /*#__PURE__*/ dual(2, (self, duration) => {
10447
10447
  const decoded = fromInputUnsafe$1(duration);
@@ -11814,7 +11814,7 @@ const hasInterrupts$1 = exitHasInterrupts;
11814
11814
  */
11815
11815
  const asVoidAll = exitAsVoidAll;
11816
11816
  // ../../node_modules/.pnpm/effect@4.1.2/node_modules/effect/dist/Deferred.js
11817
- const TypeId$67 = "~effect/Deferred";
11817
+ const TypeId$69 = "~effect/Deferred";
11818
11818
  /**
11819
11819
  * Checks whether a value is a `Deferred`.
11820
11820
  *
@@ -11827,9 +11827,9 @@ const TypeId$67 = "~effect/Deferred";
11827
11827
  * @category guards
11828
11828
  * @since 4.0.0
11829
11829
  */
11830
- const isDeferred = (u) => hasProperty(u, TypeId$67);
11830
+ const isDeferred = (u) => hasProperty(u, TypeId$69);
11831
11831
  const DeferredProto = {
11832
- [TypeId$67]: {
11832
+ [TypeId$69]: {
11833
11833
  _A: identity,
11834
11834
  _E: identity
11835
11835
  },
@@ -11889,7 +11889,7 @@ const makeUnsafe$9 = () => new DeferredImpl();
11889
11889
  * @category constructors
11890
11890
  * @since 2.0.0
11891
11891
  */
11892
- const make$82 = () => sync$2(() => makeUnsafe$9());
11892
+ const make$84 = () => sync$2(() => makeUnsafe$9());
11893
11893
  const _await = (self) => callback$2((resume) => {
11894
11894
  if (self.effect) return resume(self.effect);
11895
11895
  self.resumes ??= [];
@@ -12535,7 +12535,7 @@ const Scope = scopeTag;
12535
12535
  * @category constructors
12536
12536
  * @since 2.0.0
12537
12537
  */
12538
- const make$81 = scopeMake;
12538
+ const make$83 = scopeMake;
12539
12539
  /**
12540
12540
  * Creates a new `Scope` synchronously without wrapping it in an `Effect`.
12541
12541
  * This is useful when you need a scope immediately but should be used with caution
@@ -12839,7 +12839,7 @@ const closeUnsafe = scopeCloseUnsafe;
12839
12839
  */
12840
12840
  const use$1 = scopeUse;
12841
12841
  // ../../node_modules/.pnpm/effect@4.1.2/node_modules/effect/dist/Layer.js
12842
- const TypeId$66 = "~effect/Layer";
12842
+ const TypeId$68 = "~effect/Layer";
12843
12843
  const MemoMapTypeId = "~effect/Layer/MemoMap";
12844
12844
  const makeMemoMapEntry = (memoMap, layer) => {
12845
12845
  const entry = {
@@ -12861,7 +12861,7 @@ const memoMapObserve = (entry, scope) => {
12861
12861
  return true;
12862
12862
  };
12863
12863
  const LayerProto = {
12864
- [TypeId$66]: {
12864
+ [TypeId$68]: {
12865
12865
  _ROut: identity,
12866
12866
  _E: identity,
12867
12867
  _RIn: identity
@@ -13240,8 +13240,8 @@ const buildWithScope = /*#__PURE__*/ dual(2, (self, scope) => withFiber$1((fiber
13240
13240
  * @since 2.0.0
13241
13241
  */
13242
13242
  const succeed$6 = function() {
13243
- if (arguments.length === 1) return (resource) => succeedContext(make$85(arguments[0], resource));
13244
- return succeedContext(make$85(arguments[0], arguments[1]));
13243
+ if (arguments.length === 1) return (resource) => succeedContext(make$87(arguments[0], resource));
13244
+ return succeedContext(make$87(arguments[0], arguments[1]));
13245
13245
  };
13246
13246
  /**
13247
13247
  * Constructs a layer that provides all services in an already available
@@ -13353,8 +13353,8 @@ const empty$11 = /*#__PURE__*/ succeedContext(/*#__PURE__*/ empty$15());
13353
13353
  * @since 2.0.0
13354
13354
  */
13355
13355
  const sync$1 = function() {
13356
- if (arguments.length === 1) return (evaluate) => syncContext(() => make$85(arguments[0], evaluate()));
13357
- return syncContext(() => make$85(arguments[0], arguments[1]()));
13356
+ if (arguments.length === 1) return (evaluate) => syncContext(() => make$87(arguments[0], evaluate()));
13357
+ return syncContext(() => make$87(arguments[0], arguments[1]()));
13358
13358
  };
13359
13359
  /**
13360
13360
  * Constructs a layer lazily that provides all services in a `Context`.
@@ -13438,7 +13438,7 @@ const effect = function() {
13438
13438
  if (arguments.length === 1) return (effect) => effectImpl(arguments[0], effect);
13439
13439
  return effectImpl(arguments[0], arguments[1]);
13440
13440
  };
13441
- const effectImpl = (service, effect) => effectContext(map$7(effect, (value) => make$85(service, value)));
13441
+ const effectImpl = (service, effect) => effectContext(map$7(effect, (value) => make$87(service, value)));
13442
13442
  /**
13443
13443
  * Constructs a layer from an effect that produces all services in a `Context`.
13444
13444
  *
@@ -15012,11 +15012,11 @@ const currentTimeMillis = currentTimeMillis$1;
15012
15012
  const currentTimeNanos = currentTimeNanos$1;
15013
15013
  // ../../node_modules/.pnpm/effect@4.1.2/node_modules/effect/dist/internal/dateTime.js
15014
15014
  /** @internal */
15015
- const TypeId$65 = "~effect/DateTime";
15015
+ const TypeId$67 = "~effect/DateTime";
15016
15016
  /** @internal */
15017
15017
  const TimeZoneTypeId = "~effect/DateTime/TimeZone";
15018
15018
  const Proto$23 = {
15019
- [TypeId$65]: TypeId$65,
15019
+ [TypeId$67]: TypeId$67,
15020
15020
  pipe() {
15021
15021
  return pipeArguments(this, arguments);
15022
15022
  },
@@ -15143,7 +15143,7 @@ const makeZonedProto = (epochMillis, zone, partsUtc) => {
15143
15143
  return self;
15144
15144
  };
15145
15145
  /** @internal */
15146
- const isDateTime$1 = (u) => hasProperty(u, TypeId$65);
15146
+ const isDateTime$1 = (u) => hasProperty(u, TypeId$67);
15147
15147
  /** @internal */
15148
15148
  const isTimeZone = (u) => hasProperty(u, TimeZoneTypeId);
15149
15149
  /** @internal */
@@ -15208,7 +15208,7 @@ const makeZonedUnsafe$1 = (input, options) => {
15208
15208
  return makeZonedFromAdjusted(self.epochMilliseconds, zone, options?.disambiguation ?? "compatible");
15209
15209
  };
15210
15210
  /** @internal */
15211
- const make$80 = /*#__PURE__*/ liftThrowable(makeUnsafe$7);
15211
+ const make$82 = /*#__PURE__*/ liftThrowable(makeUnsafe$7);
15212
15212
  /** @internal */
15213
15213
  const toUtc$1 = (self) => makeUtc(self.epochMilliseconds);
15214
15214
  const validZoneCache = /*#__PURE__*/ new Map();
@@ -15978,7 +15978,7 @@ const matchEffect$1 = /*#__PURE__*/ dual(2, (self, options) => matchCauseEffect$
15978
15978
  }
15979
15979
  }));
15980
15980
  // ../../node_modules/.pnpm/effect@4.1.2/node_modules/effect/dist/Schedule.js
15981
- const TypeId$64 = "~effect/Schedule";
15981
+ const TypeId$66 = "~effect/Schedule";
15982
15982
  /**
15983
15983
  * Context reference containing metadata for the currently running schedule step.
15984
15984
  *
@@ -16004,7 +16004,7 @@ const CurrentMetadata = /*#__PURE__*/ Reference("effect/Schedule/CurrentMetadata
16004
16004
  elapsedSincePrevious: 0
16005
16005
  }) });
16006
16006
  const ScheduleProto = {
16007
- [TypeId$64]: {
16007
+ [TypeId$66]: {
16008
16008
  _Out: identity,
16009
16009
  _In: identity,
16010
16010
  _Env: identity
@@ -16034,7 +16034,7 @@ const ScheduleProto = {
16034
16034
  * @category guards
16035
16035
  * @since 2.0.0
16036
16036
  */
16037
- const isSchedule = (u) => hasProperty(u, TypeId$64);
16037
+ const isSchedule = (u) => hasProperty(u, TypeId$66);
16038
16038
  /**
16039
16039
  * Creates a Schedule from a step function that returns a Pull.
16040
16040
  *
@@ -16406,14 +16406,14 @@ const buildFromOptions = (options) => {
16406
16406
  return schedule;
16407
16407
  };
16408
16408
  // ../../node_modules/.pnpm/effect@4.1.2/node_modules/effect/dist/MutableHashMap.js
16409
- const TypeId$63 = "~effect/MutableHashMap";
16409
+ const TypeId$65 = "~effect/MutableHashMap";
16410
16410
  const MutableHashMapProto = {
16411
- [TypeId$63]: TypeId$63,
16411
+ [TypeId$65]: TypeId$65,
16412
16412
  [Symbol.iterator]() {
16413
16413
  return this.backing[Symbol.iterator]();
16414
16414
  },
16415
16415
  toString() {
16416
- return `MutableHashMap(${format$2(Array.from(this))})`;
16416
+ return `MutableHashMap(${format$4(Array.from(this))})`;
16417
16417
  },
16418
16418
  toJSON() {
16419
16419
  return {
@@ -16495,7 +16495,7 @@ const empty$10 = () => {
16495
16495
  * @category constructors
16496
16496
  * @since 2.0.0
16497
16497
  */
16498
- const make$79 = (...entries) => fromIterable$4(entries);
16498
+ const make$81 = (...entries) => fromIterable$4(entries);
16499
16499
  /**
16500
16500
  * Creates a MutableHashMap from an iterable collection of key-value pairs.
16501
16501
  *
@@ -21873,13 +21873,13 @@ const concat$4 = (chunks) => {
21873
21873
  * @category instances
21874
21874
  * @since 4.0.6
21875
21875
  */
21876
- const Order$2 = /*#__PURE__*/ make$86((self, that) => {
21876
+ const Order$2 = /*#__PURE__*/ make$88((self, that) => {
21877
21877
  const length = Math.min(self.length, that.length);
21878
21878
  for (let i = 0; i < length; i++) if (self[i] !== that[i]) return self[i] < that[i] ? -1 : 1;
21879
21879
  return self.length < that.length ? -1 : self.length > that.length ? 1 : 0;
21880
21880
  });
21881
21881
  // ../../node_modules/.pnpm/effect@4.1.2/node_modules/effect/dist/net/NetAddress.js
21882
- const TypeId$62 = "~effect/net/NetAddress";
21882
+ const TypeId$64 = "~effect/net/NetAddress";
21883
21883
  const ipv4Value = (self) => self.value;
21884
21884
  const ipv6Words = (self) => self;
21885
21885
  /**
@@ -21897,7 +21897,7 @@ const ipv6Words = (self) => self;
21897
21897
  * @since 4.0.0
21898
21898
  */
21899
21899
  var NetAddressError = class extends (/*#__PURE__*/ TaggedError$1("NetAddressError")) {};
21900
- const isAddress = (u) => hasProperty(u, TypeId$62);
21900
+ const isAddress = (u) => hasProperty(u, TypeId$64);
21901
21901
  /**
21902
21902
  * Returns `true` when a value is an IPv4 address.
21903
21903
  *
@@ -21915,6 +21915,14 @@ const isIpv4Address = (u) => isAddress(u) && u._tag === "Ipv4Address";
21915
21915
  */
21916
21916
  const isIpv6Address = (u) => isAddress(u) && u._tag === "Ipv6Address";
21917
21917
  /**
21918
+ * Returns the bit width of an IP address.
21919
+ *
21920
+ * @stability unstable
21921
+ * @category getters
21922
+ * @since 4.0.0
21923
+ */
21924
+ const width$1 = (address) => isIpv4Address(address) ? 32 : 128;
21925
+ /**
21918
21926
  * Returns `true` when a value is a resolved IPv4 internet address.
21919
21927
  *
21920
21928
  * @stability unstable
@@ -21949,7 +21957,7 @@ const isUnixPathAddress = (u) => isAddress(u) && u._tag === "UnixPathAddress";
21949
21957
  const Ipv4Proto = {
21950
21958
  ...BaseProto,
21951
21959
  _tag: "Ipv4Address",
21952
- [TypeId$62]: TypeId$62,
21960
+ [TypeId$64]: TypeId$64,
21953
21961
  [symbol$2](that) {
21954
21962
  return isIpv4Address(that) && ipv4Value(this) === ipv4Value(that);
21955
21963
  },
@@ -21966,7 +21974,7 @@ const Ipv4Proto = {
21966
21974
  const Ipv6Proto = {
21967
21975
  ...BaseProto,
21968
21976
  _tag: "Ipv6Address",
21969
- [TypeId$62]: TypeId$62,
21977
+ [TypeId$64]: TypeId$64,
21970
21978
  [symbol$2](that) {
21971
21979
  if (!isIpv6Address(that)) return false;
21972
21980
  const self = ipv6Words(this);
@@ -22149,6 +22157,22 @@ const ipv6ToSegments = (self) => {
22149
22157
  ];
22150
22158
  };
22151
22159
  /**
22160
+ * Returns the sixteen numeric octets of an IPv6 address in a fresh array.
22161
+ *
22162
+ * @stability unstable
22163
+ * @category getters
22164
+ * @since 4.0.0
22165
+ */
22166
+ const ipv6ToOctets = (self) => {
22167
+ const { w0, w1, w2, w3 } = ipv6Words(self);
22168
+ return [
22169
+ ...wordToOctets(w0),
22170
+ ...wordToOctets(w1),
22171
+ ...wordToOctets(w2),
22172
+ ...wordToOctets(w3)
22173
+ ];
22174
+ };
22175
+ /**
22152
22176
  * Formats an IP address in canonical numeric form.
22153
22177
  *
22154
22178
  * @stability unstable
@@ -22238,7 +22262,7 @@ const fromIpv4Mapped = (self) => isIpv4Mapped(self) ? some$1(makeIpv4(ipv6Words(
22238
22262
  const InetV4Proto = {
22239
22263
  ...BaseProto,
22240
22264
  _tag: "InetAddressV4",
22241
- [TypeId$62]: TypeId$62,
22265
+ [TypeId$64]: TypeId$64,
22242
22266
  [symbol$2](that) {
22243
22267
  return isInetAddressV4(that) && this.port === that.port && equals$2(this.address, that.address);
22244
22268
  },
@@ -22255,7 +22279,7 @@ const InetV4Proto = {
22255
22279
  const InetV6Proto = {
22256
22280
  ...BaseProto,
22257
22281
  _tag: "InetAddressV6",
22258
- [TypeId$62]: TypeId$62,
22282
+ [TypeId$64]: TypeId$64,
22259
22283
  [symbol$2](that) {
22260
22284
  return isInetAddressV6(that) && this.port === that.port && this.scopeId === that.scopeId && equals$2(this.address, that.address);
22261
22285
  },
@@ -22423,7 +22447,7 @@ const formatUrlUnsafe = (self, scheme = "http") => getOrThrow(formatUrl(self, sc
22423
22447
  const UnixPathProto = {
22424
22448
  ...BaseProto,
22425
22449
  _tag: "UnixPathAddress",
22426
- [TypeId$62]: TypeId$62,
22450
+ [TypeId$64]: TypeId$64,
22427
22451
  [symbol$2](that) {
22428
22452
  return isUnixPathAddress(that) && this.path === that.path;
22429
22453
  },
@@ -22712,7 +22736,7 @@ const binaryUnits = [
22712
22736
  const allUnits = [...decimalUnits, .../*#__PURE__*/ binaryUnits.slice(1)];
22713
22737
  const unitsByName = /*#__PURE__*/ new Map(/*#__PURE__*/ allUnits.flatMap((unit) => unit.names.map((name) => [name, unit])));
22714
22738
  const unitsBySymbol = /*#__PURE__*/ new Map(/*#__PURE__*/ allUnits.map((unit) => [unit.symbol, unit]));
22715
- const make$78 = (value) => value;
22739
+ const make$80 = (value) => value;
22716
22740
  /**
22717
22741
  * The byte size containing zero bytes.
22718
22742
  *
@@ -22720,13 +22744,13 @@ const make$78 = (value) => value;
22720
22744
  * @category constants
22721
22745
  * @since 4.0.0
22722
22746
  */
22723
- const zero$1 = /*#__PURE__*/ make$78(bigint0$1);
22747
+ const zero$1 = /*#__PURE__*/ make$80(bigint0$1);
22724
22748
  const invalid$3 = (message) => {
22725
22749
  throw new Error(`Invalid ByteSize: ${message}`);
22726
22750
  };
22727
22751
  const fromNumber = (input) => {
22728
22752
  if (!Number.isSafeInteger(input) || input < 0) return invalid$3(`expected a non-negative safe integer, received ${input}`);
22729
- return make$78(BigInt(input));
22753
+ return make$80(BigInt(input));
22730
22754
  };
22731
22755
  const maxSafeInteger = /*#__PURE__*/ BigInt(Number.MAX_SAFE_INTEGER);
22732
22756
  const scaleDecimal = (quantity, factor) => {
@@ -22742,14 +22766,14 @@ const scaleDecimal = (quantity, factor) => {
22742
22766
  const fromQuantity = (quantity, unit) => {
22743
22767
  if (typeof quantity === "bigint") {
22744
22768
  if (quantity < bigint0$1) return invalid$3(`expected a non-negative quantity, received ${quantity}`);
22745
- return make$78(quantity * unit.factor);
22769
+ return make$80(quantity * unit.factor);
22746
22770
  }
22747
22771
  if (binaryUnits.includes(unit)) {
22748
22772
  const value = quantity * Number(unit.factor);
22749
- if (Number.isSafeInteger(value) && value >= 0) return make$78(BigInt(value));
22773
+ if (Number.isSafeInteger(value) && value >= 0) return make$80(BigInt(value));
22750
22774
  } else {
22751
22775
  const value = scaleDecimal(String(quantity), unit.factor);
22752
- if (value !== void 0 && value <= maxSafeInteger) return make$78(value);
22776
+ if (value !== void 0 && value <= maxSafeInteger) return make$80(value);
22753
22777
  }
22754
22778
  return invalid$3(`expected an exact non-negative safe-integer byte result, received ${quantity} ${unit.symbol}`);
22755
22779
  };
@@ -22775,7 +22799,7 @@ const fromStringUnsafe = (input) => {
22775
22799
  if (unit === void 0) return invalid$3(`unsupported unit ${JSON.stringify(match[2])}`);
22776
22800
  const value = scaleDecimal(match[1], unit.factor);
22777
22801
  if (value === void 0) return invalid$3(`${JSON.stringify(input)} does not represent an integral number of bytes`);
22778
- return make$78(value);
22802
+ return make$80(value);
22779
22803
  };
22780
22804
  /**
22781
22805
  * Decodes a trusted input into a byte size and throws for invalid input.
@@ -22788,7 +22812,7 @@ const fromInputUnsafe = (input) => {
22788
22812
  switch (typeof input) {
22789
22813
  case "bigint":
22790
22814
  if (input < bigint0$1) return invalid$3(`expected a non-negative bigint, received ${input}`);
22791
- return make$78(input);
22815
+ return make$80(input);
22792
22816
  case "number": return fromNumber(input);
22793
22817
  case "string": return fromStringUnsafe(input);
22794
22818
  }
@@ -23443,7 +23467,7 @@ const isNotLink = (error) => isIgnorable(error) || error.reason._tag === "Unknow
23443
23467
  const DIRECTORY_CONCURRENCY = 16;
23444
23468
  const byName = /*#__PURE__*/ mapInput(String$10, (entry) => entry.name);
23445
23469
  /** @internal */
23446
- const make$77 = (fs) => (pattern, options) => walk(fs, compile$1([pattern], options?.dot ?? false), options);
23470
+ const make$79 = (fs) => (pattern, options) => walk(fs, compile$1([pattern], options?.dot ?? false), options);
23447
23471
  const walk = /*#__PURE__*/ fnUntraced(function* (fs, compiled, options) {
23448
23472
  if (compiled.initial.size === 0) return [];
23449
23473
  const root = options?.root ?? "";
@@ -23557,7 +23581,7 @@ const walk = /*#__PURE__*/ fnUntraced(function* (fs, compiled, options) {
23557
23581
  * @stability unstable
23558
23582
  * @since 4.0.0
23559
23583
  */
23560
- const TypeId$60 = "~effect/PlatformError";
23584
+ const TypeId$62 = "~effect/PlatformError";
23561
23585
  /**
23562
23586
  * Error data for an invalid argument passed to a platform API.
23563
23587
  *
@@ -23670,7 +23694,7 @@ var PlatformError = class extends (/*#__PURE__*/ TaggedError$1("PlatformError"))
23670
23694
  *
23671
23695
  * @since 4.0.0
23672
23696
  */
23673
- [TypeId$60] = TypeId$60;
23697
+ [TypeId$62] = TypeId$62;
23674
23698
  get message() {
23675
23699
  return this.reason.message;
23676
23700
  }
@@ -23702,7 +23726,7 @@ const systemError = (options) => new PlatformError(new SystemError(options));
23702
23726
  */
23703
23727
  const badArgument = (options) => new PlatformError(new BadArgument(options));
23704
23728
  // ../../node_modules/.pnpm/effect@4.1.2/node_modules/effect/dist/Chunk.js
23705
- const TypeId$59 = "~effect/Chunk";
23729
+ const TypeId$61 = "~effect/Chunk";
23706
23730
  function copy$2(src, srcPos, dest, destPos, len) {
23707
23731
  for (let i = srcPos; i < Math.min(src.length, srcPos + len); i++) dest[destPos + i - srcPos] = src[i];
23708
23732
  return dest;
@@ -23730,7 +23754,7 @@ const emptyArray = [];
23730
23754
  * @category instances
23731
23755
  * @since 4.0.0
23732
23756
  */
23733
- const makeEquivalence$1 = (isEquivalent) => make$87((self, that) => {
23757
+ const makeEquivalence$1 = (isEquivalent) => make$89((self, that) => {
23734
23758
  if (self.length !== that.length) return false;
23735
23759
  const as = toReadonlyArray(self);
23736
23760
  const bs = toReadonlyArray(that);
@@ -23739,9 +23763,9 @@ const makeEquivalence$1 = (isEquivalent) => make$87((self, that) => {
23739
23763
  });
23740
23764
  const _equivalence = /*#__PURE__*/ makeEquivalence$1(equals$2);
23741
23765
  const ChunkProto = {
23742
- [TypeId$59]: { _A: (_) => _ },
23766
+ [TypeId$61]: { _A: (_) => _ },
23743
23767
  toString() {
23744
- return `Chunk(${format$2(toReadonlyArray(this))})`;
23768
+ return `Chunk(${format$4(toReadonlyArray(this))})`;
23745
23769
  },
23746
23770
  toJSON() {
23747
23771
  return {
@@ -23825,7 +23849,7 @@ const makeChunk = (backing) => {
23825
23849
  * @category guards
23826
23850
  * @since 2.0.0
23827
23851
  */
23828
- const isChunk = (u) => hasProperty(u, TypeId$59);
23852
+ const isChunk = (u) => hasProperty(u, TypeId$61);
23829
23853
  const _empty = /*#__PURE__*/ makeChunk({ _tag: "IEmpty" });
23830
23854
  const copyToArray = (self, array, initial) => {
23831
23855
  switch (self.backing._tag) {
@@ -23957,11 +23981,11 @@ const makeUnsafe$6 = makeLatchUnsafe;
23957
23981
  * @category constructors
23958
23982
  * @since 4.0.0
23959
23983
  */
23960
- const make$76 = makeLatch;
23984
+ const make$78 = makeLatch;
23961
23985
  // ../../node_modules/.pnpm/effect@4.1.2/node_modules/effect/dist/MutableRef.js
23962
- const TypeId$58 = "~effect/MutableRef";
23986
+ const TypeId$60 = "~effect/MutableRef";
23963
23987
  const MutableRefProto = {
23964
- [TypeId$58]: TypeId$58,
23988
+ [TypeId$60]: TypeId$60,
23965
23989
  ...PipeInspectableProto,
23966
23990
  toJSON() {
23967
23991
  return {
@@ -24003,7 +24027,7 @@ const MutableRefProto = {
24003
24027
  * @category constructors
24004
24028
  * @since 2.0.0
24005
24029
  */
24006
- const make$75 = (value) => {
24030
+ const make$77 = (value) => {
24007
24031
  const ref = Object.create(MutableRefProto);
24008
24032
  ref.current = value;
24009
24033
  return ref;
@@ -24119,7 +24143,7 @@ const Empty$2 = /*#__PURE__*/ Symbol.for("effect/MutableList/Empty");
24119
24143
  * @category constructors
24120
24144
  * @since 2.0.0
24121
24145
  */
24122
- const make$74 = () => ({
24146
+ const make$76 = () => ({
24123
24147
  head: void 0,
24124
24148
  tail: void 0,
24125
24149
  length: 0
@@ -24503,7 +24527,7 @@ const remove$4 = (self, value) => filter$3(self, (v) => v !== value);
24503
24527
  * @stability stable
24504
24528
  * @since 2.0.0
24505
24529
  */
24506
- const TypeId$57 = "~effect/PubSub";
24530
+ const TypeId$59 = "~effect/PubSub";
24507
24531
  const SubscriptionTypeId = "~effect/PubSub/Subscription";
24508
24532
  /**
24509
24533
  * Creates a PubSub with a custom atomic implementation and strategy.
@@ -24534,7 +24558,7 @@ const SubscriptionTypeId = "~effect/PubSub/Subscription";
24534
24558
  * @category constructors
24535
24559
  * @since 4.0.0
24536
24560
  */
24537
- const make$73 = (options) => sync(() => makePubSubUnsafe(options.atomicPubSub(), /* @__PURE__ */ new Map(), makeUnsafe$8(), makeUnsafe$6(false), make$75(false), options.strategy(), make$75(none())));
24561
+ const make$75 = (options) => sync(() => makePubSubUnsafe(options.atomicPubSub(), /* @__PURE__ */ new Map(), makeUnsafe$8(), makeUnsafe$6(false), make$77(false), options.strategy(), make$77(none())));
24538
24562
  /**
24539
24563
  * Creates an unbounded `PubSub`.
24540
24564
  *
@@ -24565,7 +24589,7 @@ const make$73 = (options) => sync(() => makePubSubUnsafe(options.atomicPubSub(),
24565
24589
  * @category constructors
24566
24590
  * @since 2.0.0
24567
24591
  */
24568
- const unbounded = (options) => make$73({
24592
+ const unbounded = (options) => make$75({
24569
24593
  atomicPubSub: () => makeAtomicUnbounded(options),
24570
24594
  strategy: () => new DroppingStrategy()
24571
24595
  });
@@ -24915,7 +24939,7 @@ const removeSubscribers = (subscribers, subscription, pollers) => {
24915
24939
  set.delete(pollers);
24916
24940
  if (set.size === 0) subscribers.delete(subscription);
24917
24941
  };
24918
- const makeSubscriptionUnsafe = (pubsub, subscribers, strategy, ended) => new SubscriptionImpl(pubsub, subscribers, pubsub.subscribe(), make$74(), makeUnsafe$6(false), make$75(false), strategy, pubsub.replayWindow(), ended);
24942
+ const makeSubscriptionUnsafe = (pubsub, subscribers, strategy, ended) => new SubscriptionImpl(pubsub, subscribers, pubsub.subscribe(), make$76(), makeUnsafe$6(false), make$77(false), strategy, pubsub.replayWindow(), ended);
24919
24943
  var UnboundedPubSub = class {
24920
24944
  publisherHead = {
24921
24945
  value: AbsentValue,
@@ -25089,7 +25113,7 @@ var SubscriptionImpl = class {
25089
25113
  }
25090
25114
  };
25091
25115
  var PubSubImpl = class {
25092
- [TypeId$57] = { _A: identity };
25116
+ [TypeId$59] = { _A: identity };
25093
25117
  pubsub;
25094
25118
  subscribers;
25095
25119
  scope;
@@ -25318,7 +25342,7 @@ const emptyReplayWindow = {
25318
25342
  * @stability stable
25319
25343
  * @since 3.8.0
25320
25344
  */
25321
- const TypeId$56 = "~effect/Queue";
25345
+ const TypeId$58 = "~effect/Queue";
25322
25346
  const EnqueueTypeId = "~effect/Queue/Enqueue";
25323
25347
  const DequeueTypeId = "~effect/Queue/Dequeue";
25324
25348
  const variance$1 = {
@@ -25326,7 +25350,7 @@ const variance$1 = {
25326
25350
  _E: identity
25327
25351
  };
25328
25352
  const QueueProto = {
25329
- [TypeId$56]: variance$1,
25353
+ [TypeId$58]: variance$1,
25330
25354
  [EnqueueTypeId]: variance$1,
25331
25355
  [DequeueTypeId]: variance$1,
25332
25356
  ...PipeInspectableProto,
@@ -25381,12 +25405,12 @@ const QueueProto = {
25381
25405
  * @category constructors
25382
25406
  * @since 4.0.0
25383
25407
  */
25384
- const make$72 = (options) => withFiber$1((fiber) => {
25408
+ const make$74 = (options) => withFiber$1((fiber) => {
25385
25409
  const self = Object.create(QueueProto);
25386
25410
  self.dispatcher = fiber.currentDispatcher;
25387
25411
  self.capacity = options?.capacity ?? Number.POSITIVE_INFINITY;
25388
25412
  self.strategy = options?.strategy ?? "suspend";
25389
- self.messages = make$74();
25413
+ self.messages = make$76();
25390
25414
  self.scheduleRunning = false;
25391
25415
  self.state = {
25392
25416
  _tag: "Open",
@@ -25427,7 +25451,7 @@ const make$72 = (options) => withFiber$1((fiber) => {
25427
25451
  * @category constructors
25428
25452
  * @since 2.0.0
25429
25453
  */
25430
- const bounded = (capacity) => make$72({ capacity });
25454
+ const bounded = (capacity) => make$74({ capacity });
25431
25455
  /**
25432
25456
  * Creates a bounded queue with sliding strategy. When the queue reaches capacity,
25433
25457
  * new elements are added and the oldest elements are dropped.
@@ -25464,7 +25488,7 @@ const bounded = (capacity) => make$72({ capacity });
25464
25488
  * @category constructors
25465
25489
  * @since 2.0.0
25466
25490
  */
25467
- const sliding = (capacity) => make$72({
25491
+ const sliding = (capacity) => make$74({
25468
25492
  capacity,
25469
25493
  strategy: "sliding"
25470
25494
  });
@@ -25503,7 +25527,7 @@ const sliding = (capacity) => make$72({
25503
25527
  * @category constructors
25504
25528
  * @since 2.0.0
25505
25529
  */
25506
- const dropping = (capacity) => make$72({
25530
+ const dropping = (capacity) => make$74({
25507
25531
  capacity,
25508
25532
  strategy: "dropping"
25509
25533
  });
@@ -26548,7 +26572,7 @@ var SemaphoreImpl = class {
26548
26572
  * @category constructors
26549
26573
  * @since 4.0.0
26550
26574
  */
26551
- const make$71 = (permits) => sync$2(() => new SemaphoreImpl(permits));
26575
+ const make$73 = (permits) => sync$2(() => new SemaphoreImpl(permits));
26552
26576
  /**
26553
26577
  * Runs an effect with a single permit and releases the permit when the effect
26554
26578
  * completes.
@@ -26607,7 +26631,7 @@ const toPull = (take) => isExit(take) ? isSuccess(take) ? done$1(take.value) : t
26607
26631
  * @category type IDs
26608
26632
  * @since 4.0.0
26609
26633
  */
26610
- const TypeId$55 = "~effect/Channel";
26634
+ const TypeId$57 = "~effect/Channel";
26611
26635
  /**
26612
26636
  * Checks whether a value is a `Channel`.
26613
26637
  *
@@ -26625,9 +26649,9 @@ const TypeId$55 = "~effect/Channel";
26625
26649
  * @category guards
26626
26650
  * @since 3.5.4
26627
26651
  */
26628
- const isChannel = (u) => hasProperty(u, TypeId$55);
26652
+ const isChannel = (u) => hasProperty(u, TypeId$57);
26629
26653
  const ChannelProto = {
26630
- [TypeId$55]: {
26654
+ [TypeId$57]: {
26631
26655
  _Env: identity,
26632
26656
  _InErr: identity,
26633
26657
  _InElem: identity,
@@ -26752,7 +26776,7 @@ const fromTransformBracket = (f) => fromTransform$1(fnUntraced(function* (upstre
26752
26776
  * @since 4.0.0
26753
26777
  */
26754
26778
  const toTransform = (channel) => channel.transform;
26755
- const asyncQueue = (scope, f, options) => make$72({
26779
+ const asyncQueue = (scope, f, options) => make$74({
26756
26780
  capacity: options?.bufferSize,
26757
26781
  strategy: options?.strategy
26758
26782
  }).pipe(tap$1((queue) => addFinalizer$1(scope, shutdown(queue))), tap$1((queue) => provide$3(f(queue), scope).pipe(catchCause$2((cause) => failCause$2(queue, cause)), forkIn(scope, { startImmediately: true }))));
@@ -27311,7 +27335,7 @@ const fromReadableStream$1 = (options) => fromTransform$1((_, scope) => readable
27311
27335
  }));
27312
27336
  const readableStreamToPullUnsafe = (options) => {
27313
27337
  const reader = options.readable.getReader();
27314
- const exit = options.exit ?? make$75(void 0);
27338
+ const exit = options.exit ?? make$77(void 0);
27315
27339
  const pull = suspend$2(() => {
27316
27340
  if (exit.current) return exit.current;
27317
27341
  return matchCauseEffect(tryPromise({
@@ -27856,7 +27880,7 @@ const switchMap$1 = /*#__PURE__*/ dual((args) => isChannel(args[0]), (self, f, o
27856
27880
  const mergeAll = /*#__PURE__*/ dual(2, (channels, { bufferSize = 16, concurrency, switch: switch_ = false }) => fromTransformBracket(fnUntraced(function* (upstream, scope, forkedScope) {
27857
27881
  const concurrencyN = concurrency === "unbounded" ? Number.MAX_SAFE_INTEGER : Math.max(1, concurrency);
27858
27882
  const semaphore = switch_ ? void 0 : makeUnsafe$5(concurrencyN);
27859
- const doneLatch = yield* make$76(true);
27883
+ const doneLatch = yield* make$78(true);
27860
27884
  const fibers = /* @__PURE__ */ new Map();
27861
27885
  const queue = yield* bounded(bufferSize);
27862
27886
  yield* addFinalizer$1(forkedScope, shutdown(queue));
@@ -28554,7 +28578,7 @@ const runFoldEffect$1 = /*#__PURE__*/ dual(3, (self, initial, f) => suspend$2(()
28554
28578
  */
28555
28579
  const toPullScoped = (self, scope) => toTransform(self)(done$1(), scope);
28556
28580
  // ../../node_modules/.pnpm/effect@4.1.2/node_modules/effect/dist/internal/stream.js
28557
- const TypeId$54 = "~effect/Stream";
28581
+ const TypeId$56 = "~effect/Stream";
28558
28582
  const streamVariance = {
28559
28583
  _R: identity,
28560
28584
  _E: identity,
@@ -28564,7 +28588,7 @@ const Stream$2 = function(channel) {
28564
28588
  this.channel = channel;
28565
28589
  };
28566
28590
  Stream$2.prototype = {
28567
- [TypeId$54]: streamVariance,
28591
+ [TypeId$56]: streamVariance,
28568
28592
  pipe() {
28569
28593
  return pipeArguments(this, arguments);
28570
28594
  }
@@ -28572,7 +28596,7 @@ Stream$2.prototype = {
28572
28596
  /** @internal */
28573
28597
  const fromChannel$2 = (channel) => new Stream$2(channel);
28574
28598
  // ../../node_modules/.pnpm/effect@4.1.2/node_modules/effect/dist/Sink.js
28575
- const TypeId$53 = "~effect/Sink";
28599
+ const TypeId$55 = "~effect/Sink";
28576
28600
  const endVoid = /*#__PURE__*/ succeed$5([void 0]);
28577
28601
  const sinkVariance = {
28578
28602
  _A: identity,
@@ -28582,7 +28606,7 @@ const sinkVariance = {
28582
28606
  _R: identity
28583
28607
  };
28584
28608
  const SinkProto = {
28585
- [TypeId$53]: sinkVariance,
28609
+ [TypeId$55]: sinkVariance,
28586
28610
  pipe() {
28587
28611
  return pipeArguments(this, arguments);
28588
28612
  }
@@ -28606,7 +28630,7 @@ const SinkProto = {
28606
28630
  * @category guards
28607
28631
  * @since 4.0.0
28608
28632
  */
28609
- const isSink = (u) => hasProperty(u, TypeId$53);
28633
+ const isSink = (u) => hasProperty(u, TypeId$55);
28610
28634
  /**
28611
28635
  * Creates a sink from a `Channel`.
28612
28636
  *
@@ -28778,9 +28802,9 @@ const unwrap$5 = (effect) => fromChannel$1(unwrap$6(map$5(effect, toChannel$1)))
28778
28802
  * @stability stable
28779
28803
  * @since 3.5.0
28780
28804
  */
28781
- const TypeId$52 = "~effect/RcMap";
28805
+ const TypeId$54 = "~effect/RcMap";
28782
28806
  const makeUnsafe$4 = (options) => ({
28783
- [TypeId$52]: TypeId$52,
28807
+ [TypeId$54]: TypeId$54,
28784
28808
  lookup: options.lookup,
28785
28809
  context: options.context,
28786
28810
  scope: options.scope,
@@ -28847,7 +28871,7 @@ const makeUnsafe$4 = (options) => ({
28847
28871
  * @category constructors
28848
28872
  * @since 3.5.0
28849
28873
  */
28850
- const make$70 = (options) => withFiber((fiber) => {
28874
+ const make$72 = (options) => withFiber((fiber) => {
28851
28875
  const context = fiber.context;
28852
28876
  const scope = get$14(context, Scope);
28853
28877
  const self = makeUnsafe$4({
@@ -28993,7 +29017,7 @@ const release$1 = (self, key, entry) => withFiber((fiber) => {
28993
29017
  return void_$1;
28994
29018
  });
28995
29019
  // ../../node_modules/.pnpm/effect@4.1.2/node_modules/effect/dist/internal/rcRef.js
28996
- const TypeId$51 = "~effect/RcRef";
29020
+ const TypeId$53 = "~effect/RcRef";
28997
29021
  const stateEmpty = { _tag: "Empty" };
28998
29022
  const stateClosed = { _tag: "Closed" };
28999
29023
  const variance = {
@@ -29001,7 +29025,7 @@ const variance = {
29001
29025
  _E: identity
29002
29026
  };
29003
29027
  var RcRefImpl = class {
29004
- [TypeId$51] = variance;
29028
+ [TypeId$53] = variance;
29005
29029
  pipe() {
29006
29030
  return pipeArguments(this, arguments);
29007
29031
  }
@@ -29018,7 +29042,7 @@ var RcRefImpl = class {
29018
29042
  }
29019
29043
  };
29020
29044
  /** @internal */
29021
- const make$69 = (options) => withFiber((fiber) => {
29045
+ const make$71 = (options) => withFiber((fiber) => {
29022
29046
  const context = fiber.context;
29023
29047
  const scope = get$14(context, Scope);
29024
29048
  const ref = new RcRefImpl(options.acquire, context, scope, options.idleTimeToLive !== void 0 ? fromInputUnsafe$1(options.idleTimeToLive) : void 0);
@@ -29157,7 +29181,7 @@ const release = (self, state) => {
29157
29181
  * @category constructors
29158
29182
  * @since 3.5.0
29159
29183
  */
29160
- const make$68 = make$69;
29184
+ const make$70 = make$71;
29161
29185
  /**
29162
29186
  * Gets the value from an `RcRef`, acquiring it first if needed.
29163
29187
  *
@@ -29233,7 +29257,7 @@ const get$8 = get$9;
29233
29257
  * @category type IDs
29234
29258
  * @since 4.0.0
29235
29259
  */
29236
- const TypeId$50 = "~effect/Stream";
29260
+ const TypeId$52 = "~effect/Stream";
29237
29261
  /**
29238
29262
  * Checks whether a value is a Stream.
29239
29263
  *
@@ -29250,7 +29274,7 @@ const TypeId$50 = "~effect/Stream";
29250
29274
  * @category guards
29251
29275
  * @since 4.0.0
29252
29276
  */
29253
- const isStream = (u) => hasProperty(u, TypeId$50);
29277
+ const isStream = (u) => hasProperty(u, TypeId$52);
29254
29278
  /**
29255
29279
  * Creates a stream from a array-emitting `Channel`.
29256
29280
  *
@@ -29467,7 +29491,7 @@ const succeed$3 = (value) => fromChannel(succeed$4(of(value)));
29467
29491
  * @category constructors
29468
29492
  * @since 2.0.0
29469
29493
  */
29470
- const make$67 = (...values) => fromArray(values);
29494
+ const make$69 = (...values) => fromArray(values);
29471
29495
  /**
29472
29496
  * Creates a lazily constructed stream.
29473
29497
  *
@@ -30886,7 +30910,7 @@ const toReadableStreamEffect = /*#__PURE__*/ dual((args) => isStream(args[0]), (
30886
30910
  * @stability unstable
30887
30911
  * @since 4.0.0
30888
30912
  */
30889
- const TypeId$49 = "~effect/FileSystem";
30913
+ const TypeId$51 = "~effect/FileSystem";
30890
30914
  /**
30891
30915
  * Service tag for platform file-system operations.
30892
30916
  *
@@ -30954,10 +30978,10 @@ const FileSystem = /*#__PURE__*/ Service$1("effect/FileSystem");
30954
30978
  * @category constructors
30955
30979
  * @since 4.0.0
30956
30980
  */
30957
- const make$66 = (impl) => FileSystem.of({
30981
+ const make$68 = (impl) => FileSystem.of({
30958
30982
  ...impl,
30959
- [TypeId$49]: TypeId$49,
30960
- glob: make$77(impl),
30983
+ [TypeId$51]: TypeId$51,
30984
+ glob: make$79(impl),
30961
30985
  exists: (path) => pipe(impl.access(path), as(true), catchTag("PlatformError", (e) => e.reason._tag === "NotFound" ? succeed$5(false) : fail$8(e))),
30962
30986
  readFileString: (path, encoding) => flatMap$2(impl.readFile(path), (_) => try_({
30963
30987
  try: () => new TextDecoder(encoding).decode(_),
@@ -31088,7 +31112,7 @@ var WatchBackend = class extends (/*#__PURE__*/ Service$1()("effect/FileSystem/W
31088
31112
  * @category type IDs
31089
31113
  * @since 4.0.0
31090
31114
  */
31091
- const TypeId$48 = "~effect/Path";
31115
+ const TypeId$50 = "~effect/Path";
31092
31116
  /**
31093
31117
  * Service tag for accessing the current `Path` implementation.
31094
31118
  *
@@ -31176,9 +31200,9 @@ const Path$1 = /*#__PURE__*/ Service$1("effect/Path");
31176
31200
  * @category constructors
31177
31201
  * @since 4.0.0
31178
31202
  */
31179
- const make$65 = (impl) => Path$1.of({
31203
+ const make$67 = (impl) => Path$1.of({
31180
31204
  ...impl,
31181
- [TypeId$48]: TypeId$48,
31205
+ [TypeId$50]: TypeId$50,
31182
31206
  resolveWithin(root, input) {
31183
31207
  if (impl.parse(input).root !== "") return none();
31184
31208
  const base = impl.resolve(root);
@@ -31271,7 +31295,7 @@ const fromOptionExit = (option) => option._tag === "None" ? missingExit : succee
31271
31295
  * @stability stable
31272
31296
  * @since 4.0.0
31273
31297
  */
31274
- const TypeId$47 = "~effect/SchemaIssue/Issue";
31298
+ const TypeId$49 = "~effect/SchemaIssue/Issue";
31275
31299
  /**
31276
31300
  * Returns `true` if the given value is an {@link Issue}.
31277
31301
  *
@@ -31302,7 +31326,7 @@ const TypeId$47 = "~effect/SchemaIssue/Issue";
31302
31326
  * @since 4.0.0
31303
31327
  */
31304
31328
  function isIssue(u) {
31305
- return hasProperty(u, TypeId$47) && u[TypeId$47] === TypeId$47;
31329
+ return hasProperty(u, TypeId$49) && u[TypeId$49] === TypeId$49;
31306
31330
  }
31307
31331
  /**
31308
31332
  * Returns `true` when an issue contains an input reported by the schema parser.
@@ -31338,7 +31362,7 @@ function hasInput(issue) {
31338
31362
  return Object.hasOwn(issue, "input");
31339
31363
  }
31340
31364
  var IssueNodeImpl = class {
31341
- [TypeId$47] = TypeId$47;
31365
+ [TypeId$49] = TypeId$49;
31342
31366
  constructor(input, options) {
31343
31367
  if (options?.reportInput === true && input !== missing) this.input = input;
31344
31368
  }
@@ -31683,7 +31707,7 @@ const defaultLeafHook = (issue) => {
31683
31707
  */
31684
31708
  const defaultCheckHook = (issue) => findMessage(issue) ?? findMessage(issue.issue);
31685
31709
  function formatInput(issue) {
31686
- return hasInput(issue) ? format$2(issue.input) : void 0;
31710
+ return hasInput(issue) ? format$4(issue.input) : void 0;
31687
31711
  }
31688
31712
  function findExpected(issue) {
31689
31713
  const expected = issue.annotations?.expected;
@@ -31931,7 +31955,7 @@ const makeZonedUnsafe = makeZonedUnsafe$1;
31931
31955
  * @category constructors
31932
31956
  * @since 3.6.0
31933
31957
  */
31934
- const make$64 = make$80;
31958
+ const make$66 = make$82;
31935
31959
  /**
31936
31960
  * Converts a `DateTime` to a UTC `DateTime`.
31937
31961
  *
@@ -33100,9 +33124,9 @@ function decodeUriComponent() {
33100
33124
  * @stability stable
33101
33125
  * @since 2.0.0
33102
33126
  */
33103
- const TypeId$46 = "~effect/BigDecimal";
33127
+ const TypeId$48 = "~effect/BigDecimal";
33104
33128
  const BigDecimalProto = {
33105
- [TypeId$46]: TypeId$46,
33129
+ [TypeId$48]: TypeId$48,
33106
33130
  [symbol$3]() {
33107
33131
  const normalized = normalize(this);
33108
33132
  return combine$2(string$2(String(normalized.value)), number$2(normalized.scale));
@@ -33111,7 +33135,7 @@ const BigDecimalProto = {
33111
33135
  return isBigDecimal(that) && compare(this, that) === 0;
33112
33136
  },
33113
33137
  toString() {
33114
- return `BigDecimal(${format(this)})`;
33138
+ return `BigDecimal(${format$2(this)})`;
33115
33139
  },
33116
33140
  toJSON() {
33117
33141
  return {
@@ -33150,7 +33174,7 @@ const BigDecimalProto = {
33150
33174
  * @category guards
33151
33175
  * @since 2.0.0
33152
33176
  */
33153
- const isBigDecimal = (u) => hasProperty(u, TypeId$46);
33177
+ const isBigDecimal = (u) => hasProperty(u, TypeId$48);
33154
33178
  /**
33155
33179
  * Creates a `BigDecimal` from a `bigint` value and a safe integer scale.
33156
33180
  *
@@ -33183,7 +33207,7 @@ const isBigDecimal = (u) => hasProperty(u, TypeId$46);
33183
33207
  * @category constructors
33184
33208
  * @since 2.0.0
33185
33209
  */
33186
- const make$63 = (value, scale) => {
33210
+ const make$65 = (value, scale) => {
33187
33211
  if (!Number.isSafeInteger(scale)) throw new RangeError(`Scale must be a safe integer, got ${scale}`);
33188
33212
  const o = Object.create(BigDecimalProto);
33189
33213
  o.value = value;
@@ -33191,7 +33215,7 @@ const make$63 = (value, scale) => {
33191
33215
  return o;
33192
33216
  };
33193
33217
  const makeNormalized = (value, scale) => {
33194
- const o = make$63(value, scale);
33218
+ const o = make$65(value, scale);
33195
33219
  o.normalized = o;
33196
33220
  return o;
33197
33221
  };
@@ -33315,7 +33339,7 @@ const sign$2 = (n) => n.value === bigint0 ? 0 : n.value < bigint0 ? -1 : 1;
33315
33339
  * @category converting
33316
33340
  * @since 2.0.0
33317
33341
  */
33318
- const format = (n) => {
33342
+ const format$2 = (n) => {
33319
33343
  const normalized = normalize(n);
33320
33344
  if (Math.abs(normalized.scale) >= 16) return toExponential(normalized);
33321
33345
  const negative = normalized.value < bigint0;
@@ -33409,7 +33433,7 @@ const Middleware = class extends Class$3 {
33409
33433
  return new Middleware(this.encode, this.decode);
33410
33434
  }
33411
33435
  };
33412
- const TypeId$45 = "~effect/SchemaTransformation/Transformation";
33436
+ const TypeId$47 = "~effect/SchemaTransformation/Transformation";
33413
33437
  /**
33414
33438
  * Constructs a bidirectional schema transformation from its decode and encode getters.
33415
33439
  *
@@ -33418,7 +33442,7 @@ const TypeId$45 = "~effect/SchemaTransformation/Transformation";
33418
33442
  * @since 4.0.0
33419
33443
  */
33420
33444
  const Transformation = class extends Class$3 {
33421
- [TypeId$45] = TypeId$45;
33445
+ [TypeId$47] = TypeId$47;
33422
33446
  _tag = "Transformation";
33423
33447
  decode;
33424
33448
  encode;
@@ -33461,7 +33485,7 @@ const Transformation = class extends Class$3 {
33461
33485
  * @since 4.0.0
33462
33486
  */
33463
33487
  function isTransformation(u) {
33464
- return hasProperty(u, TypeId$45) && u[TypeId$45] === TypeId$45;
33488
+ return hasProperty(u, TypeId$47) && u[TypeId$47] === TypeId$47;
33465
33489
  }
33466
33490
  /**
33467
33491
  * Constructs a `Transformation` from an object with `decode` and `encode`
@@ -33717,9 +33741,9 @@ const decodeJsonError = (input) => {
33717
33741
  const encodeUnknownAsJson = (input) => {
33718
33742
  try {
33719
33743
  const json = formatJson(input);
33720
- return json === void 0 ? format$2(input) : JSON.parse(json);
33744
+ return json === void 0 ? format$4(input) : JSON.parse(json);
33721
33745
  } catch {
33722
- return format$2(input);
33746
+ return format$4(input);
33723
33747
  }
33724
33748
  };
33725
33749
  const encodeJsonError = (input, options, encodeDefect) => {
@@ -34074,9 +34098,9 @@ const Context = class {
34074
34098
  this.annotations = annotations;
34075
34099
  }
34076
34100
  };
34077
- const TypeId$44 = "~effect/Schema";
34101
+ const TypeId$46 = "~effect/Schema";
34078
34102
  var ASTNodeImpl = class {
34079
- [TypeId$44] = TypeId$44;
34103
+ [TypeId$46] = TypeId$46;
34080
34104
  annotations;
34081
34105
  checks;
34082
34106
  encoding;
@@ -34427,7 +34451,7 @@ const Literal$1 = class extends ASTNodeImpl {
34427
34451
  literal;
34428
34452
  constructor(literal, annotations, checks, encoding, context) {
34429
34453
  super(annotations, checks, encoding, context);
34430
- if (typeof literal === "number" && !globalThis.Number.isFinite(literal)) throw new Error(`A numeric literal must be finite, got ${format$2(literal)}`);
34454
+ if (typeof literal === "number" && !globalThis.Number.isFinite(literal)) throw new Error(`A numeric literal must be finite, got ${format$4(literal)}`);
34431
34455
  this.literal = literal;
34432
34456
  }
34433
34457
  /** @internal */
@@ -36312,7 +36336,7 @@ const makeHandle$1 = (params) => Object.setPrototypeOf({ ...params }, HandleProt
36312
36336
  * @category constructors
36313
36337
  * @since 4.0.0
36314
36338
  */
36315
- const make$62 = (spawn) => {
36339
+ const make$64 = (spawn) => {
36316
36340
  const streamString = (command, options) => spawn(command).pipe(map$5((handle) => decodeText$1(options?.includeStderr === true ? handle.all : drainFork(handle.stdout, handle.stderr))), unwrap$4);
36317
36341
  const streamLines = (command, options) => splitLines(streamString(command, options));
36318
36342
  return ChildProcessSpawner.of({
@@ -36356,7 +36380,7 @@ const stringOrRedacted = (val) => typeof val === "string" ? val : value$3(val);
36356
36380
  * @stability stable
36357
36381
  * @since 3.3.0
36358
36382
  */
36359
- const TypeId$43 = "~effect/Redacted";
36383
+ const TypeId$45 = "~effect/Redacted";
36360
36384
  /**
36361
36385
  * Returns `true` if a value is a `Redacted` wrapper.
36362
36386
  *
@@ -36385,7 +36409,7 @@ const TypeId$43 = "~effect/Redacted";
36385
36409
  * @category guards
36386
36410
  * @since 3.3.0
36387
36411
  */
36388
- const isRedacted = (u) => hasProperty(u, TypeId$43);
36412
+ const isRedacted = (u) => hasProperty(u, TypeId$45);
36389
36413
  /**
36390
36414
  * Creates a `Redacted` wrapper for a sensitive value.
36391
36415
  *
@@ -36413,14 +36437,14 @@ const isRedacted = (u) => hasProperty(u, TypeId$43);
36413
36437
  * @category constructors
36414
36438
  * @since 3.3.0
36415
36439
  */
36416
- const make$61 = (value, options) => {
36440
+ const make$63 = (value, options) => {
36417
36441
  const self = Object.create(Proto$22);
36418
36442
  if (options?.label) self.label = options.label;
36419
36443
  redactedRegistry.set(self, value);
36420
36444
  return self;
36421
36445
  };
36422
36446
  const Proto$22 = {
36423
- [TypeId$43]: { _A: (_) => _ },
36447
+ [TypeId$45]: { _A: (_) => _ },
36424
36448
  label: void 0,
36425
36449
  ...PipeInspectableProto,
36426
36450
  toJSON() {
@@ -36488,7 +36512,7 @@ const value$2 = value$3;
36488
36512
  * @category instances
36489
36513
  * @since 4.0.0
36490
36514
  */
36491
- const makeEquivalence = (isEquivalent) => make$87((x, y) => isEquivalent(value$2(x), value$2(y)));
36515
+ const makeEquivalence = (isEquivalent) => make$89((x, y) => isEquivalent(value$2(x), value$2(y)));
36492
36516
  // ../../node_modules/.pnpm/effect@4.1.2/node_modules/effect/dist/process/CommandLine.js
36493
36517
  /**
36494
36518
  * Builds command lines, the single strings that a shell or a Windows program
@@ -36751,7 +36775,7 @@ const parseTemplate$1 = (texts, values) => {
36751
36775
  const endWord = () => {
36752
36776
  if (word.length === 0) return;
36753
36777
  const value = word.map(unwrap$3).join("");
36754
- words.push(word.length === 1 && isRedacted(word[0]) ? word[0] : word.some(isRedacted) ? make$61(value) : value);
36778
+ words.push(word.length === 1 && isRedacted(word[0]) ? word[0] : word.some(isRedacted) ? make$63(value) : value);
36755
36779
  word = [];
36756
36780
  plain = true;
36757
36781
  braceDepth = 0;
@@ -36827,7 +36851,7 @@ const parseTemplate$1 = (texts, values) => {
36827
36851
  * @stability unstable
36828
36852
  * @since 4.0.0
36829
36853
  */
36830
- const TypeId$42 = "~effect/process/ChildProcess";
36854
+ const TypeId$44 = "~effect/process/ChildProcess";
36831
36855
  const Proto$21 = {
36832
36856
  .../*#__PURE__*/ Prototype({
36833
36857
  label: "Command",
@@ -36835,7 +36859,7 @@ const Proto$21 = {
36835
36859
  return getUnsafe$2(fiber.context, ChildProcessSpawner).spawn(this);
36836
36860
  }
36837
36861
  }),
36838
- [TypeId$42]: TypeId$42
36862
+ [TypeId$44]: TypeId$44
36839
36863
  };
36840
36864
  const makeStandardCommand = (command, args, options) => Object.assign(Object.create(Proto$21), {
36841
36865
  _tag: "StandardCommand",
@@ -36894,7 +36918,7 @@ const makeStandardCommand = (command, args, options) => Object.assign(Object.cre
36894
36918
  * @category constructors
36895
36919
  * @since 4.0.0
36896
36920
  */
36897
- const make$60 = function make(...args) {
36921
+ const make$62 = function make(...args) {
36898
36922
  if (isTemplateString(args[0])) {
36899
36923
  const [templates, ...expressions] = args;
36900
36924
  const [command, cmdArgs] = parseTemplate(templates, expressions);
@@ -37215,7 +37239,7 @@ const fromReadableChannel = (options) => fromTransform$1((_, scope) => readableT
37215
37239
  */
37216
37240
  const fromDuplex$1 = (options) => fromTransform$1((upstream, scope) => {
37217
37241
  const duplex = options.evaluate();
37218
- const exit = make$75(void 0);
37242
+ const exit = make$77(void 0);
37219
37243
  const latch = makeUnsafe$6(false);
37220
37244
  return pullIntoWritable({
37221
37245
  pull: upstream,
@@ -37326,7 +37350,7 @@ const readableToPullUnsafe = (options) => {
37326
37350
  const readable = options.readable;
37327
37351
  const chunkSize = options.chunkSize ?? 4096;
37328
37352
  const closeOnDone = options.closeOnDone ?? true;
37329
- const exit = options.exit ?? make$75(void 0);
37353
+ const exit = options.exit ?? make$77(void 0);
37330
37354
  const latch = options.latch ?? makeUnsafe$6(false);
37331
37355
  function onReadable() {
37332
37356
  latch.openUnsafe();
@@ -37789,7 +37813,7 @@ const layer$22 = /*#__PURE__*/ effect(ChildProcessSpawner, /* @__PURE__ */ gen(f
37789
37813
  const stdinConfig = resolveStdinOption(command.options);
37790
37814
  const sourceStream = unwrap$4(succeed$5(getSourceStream(handles[handles.length - 1], options.from)));
37791
37815
  const toOption = options.to ?? "stdin";
37792
- if (toOption === "stdin") handles.push(yield* spawnCommand(make$60(command.command, command.args, {
37816
+ if (toOption === "stdin") handles.push(yield* spawnCommand(make$62(command.command, command.args, {
37793
37817
  ...command.options,
37794
37818
  stdin: {
37795
37819
  ...stdinConfig,
@@ -37809,14 +37833,14 @@ const layer$22 = /*#__PURE__*/ effect(ChildProcessSpawner, /* @__PURE__ */ gen(f
37809
37833
  type: "input",
37810
37834
  stream: sourceStream
37811
37835
  };
37812
- handles.push(yield* spawnCommand(make$60(command.command, command.args, {
37836
+ handles.push(yield* spawnCommand(make$62(command.command, command.args, {
37813
37837
  ...command.options,
37814
37838
  additionalFds: {
37815
37839
  ...existingFds,
37816
37840
  [fdName$1]: fdConfig
37817
37841
  }
37818
37842
  })));
37819
- } else handles.push(yield* spawnCommand(make$60(command.command, command.args, {
37843
+ } else handles.push(yield* spawnCommand(make$62(command.command, command.args, {
37820
37844
  ...command.options,
37821
37845
  stdin: {
37822
37846
  ...stdinConfig,
@@ -37848,7 +37872,7 @@ const layer$22 = /*#__PURE__*/ effect(ChildProcessSpawner, /* @__PURE__ */ gen(f
37848
37872
  }
37849
37873
  }
37850
37874
  });
37851
- return make$62(spawnCommand);
37875
+ return make$64(spawnCommand);
37852
37876
  }));
37853
37877
  /**
37854
37878
  * Flattens a `Command` into an array of `StandardCommand`s along with pipe
@@ -37931,7 +37955,7 @@ const RefProto = {
37931
37955
  */
37932
37956
  const makeUnsafe$2 = (value) => {
37933
37957
  const self = Object.create(RefProto);
37934
- self.ref = make$75(value);
37958
+ self.ref = make$77(value);
37935
37959
  return self;
37936
37960
  };
37937
37961
  /**
@@ -37960,7 +37984,7 @@ const makeUnsafe$2 = (value) => {
37960
37984
  * @category constructors
37961
37985
  * @since 2.0.0
37962
37986
  */
37963
- const make$58 = (value) => sync(() => makeUnsafe$2(value));
37987
+ const make$60 = (value) => sync(() => makeUnsafe$2(value));
37964
37988
  /**
37965
37989
  * Gets the current value of the Ref.
37966
37990
  *
@@ -38129,7 +38153,7 @@ const updateAndGet$1 = /*#__PURE__*/ dual(2, (self, f) => sync(() => self.ref.cu
38129
38153
  * @stability unstable
38130
38154
  * @since 4.0.0
38131
38155
  */
38132
- const TypeId$41 = "~effect/http/Cookies";
38156
+ const TypeId$43 = "~effect/http/Cookies";
38133
38157
  /**
38134
38158
  * Returns `true` when a value is a `Cookies` collection.
38135
38159
  *
@@ -38137,7 +38161,7 @@ const TypeId$41 = "~effect/http/Cookies";
38137
38161
  * @category guards
38138
38162
  * @since 4.0.0
38139
38163
  */
38140
- const isCookies = (u) => hasProperty(u, TypeId$41);
38164
+ const isCookies = (u) => hasProperty(u, TypeId$43);
38141
38165
  const CookieTypeId = "~effect/http/Cookies/Cookie";
38142
38166
  const CookieErrorTypeId = "~effect/http/Cookies/CookieError";
38143
38167
  /**
@@ -38191,7 +38215,7 @@ var CookiesError = class CookiesError extends (/*#__PURE__*/ TaggedError$1("Cook
38191
38215
  }
38192
38216
  };
38193
38217
  const Proto$20 = {
38194
- [TypeId$41]: TypeId$41,
38218
+ [TypeId$43]: TypeId$43,
38195
38219
  ...BaseProto,
38196
38220
  toJSON() {
38197
38221
  return {
@@ -38538,9 +38562,9 @@ const tryDecodeURIComponent = (str) => {
38538
38562
  * @category type IDs
38539
38563
  * @since 4.0.0
38540
38564
  */
38541
- const TypeId$40 = /*#__PURE__*/ Symbol.for("~effect/http/Headers");
38565
+ const TypeId$42 = /*#__PURE__*/ Symbol.for("~effect/http/Headers");
38542
38566
  const Proto$19 = /*#__PURE__*/ Object.defineProperties(/*#__PURE__*/ Object.create(null), {
38543
- [TypeId$40]: { value: TypeId$40 },
38567
+ [TypeId$42]: { value: TypeId$42 },
38544
38568
  [symbolRedactable]: { value(context) {
38545
38569
  return redact$1(this, get$14(context, CurrentRedactedNames$1));
38546
38570
  } },
@@ -38556,7 +38580,7 @@ const Proto$19 = /*#__PURE__*/ Object.defineProperties(/*#__PURE__*/ Object.crea
38556
38580
  toString: { value: BaseProto.toString },
38557
38581
  [NodeInspectSymbol]: { value: BaseProto[NodeInspectSymbol] }
38558
38582
  });
38559
- const make$57 = (input) => Object.assign(Object.create(Proto$19), input);
38583
+ const make$59 = (input) => Object.assign(Object.create(Proto$19), input);
38560
38584
  /**
38561
38585
  * Provides an `Equivalence` instance that compares `Headers` by header names
38562
38586
  * and string values.
@@ -38633,7 +38657,7 @@ const get$6 = /*#__PURE__*/ dual(2, (self, key) => fromUndefinedOr(self[key.toLo
38633
38657
  * @since 4.0.0
38634
38658
  */
38635
38659
  const set$3 = /*#__PURE__*/ dual(3, (self, key, value) => {
38636
- const out = make$57(self);
38660
+ const out = make$59(self);
38637
38661
  out[key.toLowerCase()] = value;
38638
38662
  return out;
38639
38663
  });
@@ -38648,7 +38672,7 @@ const set$3 = /*#__PURE__*/ dual(3, (self, key, value) => {
38648
38672
  * @category combinators
38649
38673
  * @since 4.0.0
38650
38674
  */
38651
- const setAll$1 = /*#__PURE__*/ dual(2, (self, headers) => make$57({
38675
+ const setAll$1 = /*#__PURE__*/ dual(2, (self, headers) => make$59({
38652
38676
  ...self,
38653
38677
  ...fromInput$1(headers)
38654
38678
  }));
@@ -38664,7 +38688,7 @@ const setAll$1 = /*#__PURE__*/ dual(2, (self, headers) => make$57({
38664
38688
  * @since 4.0.0
38665
38689
  */
38666
38690
  const merge = /*#__PURE__*/ dual(2, (self, headers) => {
38667
- const out = make$57(self);
38691
+ const out = make$59(self);
38668
38692
  Object.assign(out, headers);
38669
38693
  return out;
38670
38694
  });
@@ -38680,7 +38704,7 @@ const merge = /*#__PURE__*/ dual(2, (self, headers) => {
38680
38704
  * @since 4.0.0
38681
38705
  */
38682
38706
  const remove$3 = /*#__PURE__*/ dual(2, (self, key) => {
38683
- const out = make$57(self);
38707
+ const out = make$59(self);
38684
38708
  delete out[key.toLowerCase()];
38685
38709
  return out;
38686
38710
  });
@@ -38700,8 +38724,8 @@ const redact$1 = /*#__PURE__*/ dual(2, (self, key) => {
38700
38724
  const modify = (key) => {
38701
38725
  if (typeof key === "string") {
38702
38726
  const k = key.toLowerCase();
38703
- if (k in self) out[k] = make$61(self[k]);
38704
- } else for (const name in self) if (name.search(key) !== -1) out[name] = make$61(self[name]);
38727
+ if (k in self) out[k] = make$63(self[k]);
38728
+ } else for (const name in self) if (name.search(key) !== -1) out[name] = make$63(self[name]);
38705
38729
  };
38706
38730
  if (Array.isArray(key)) for (let i = 0; i < key.length; i++) modify(key[i]);
38707
38731
  else modify(key);
@@ -38943,7 +38967,7 @@ const retryAfterDelay$1 = (self, now) => self._tag === "Duration" ? self.duratio
38943
38967
  * @stability unstable
38944
38968
  * @since 4.0.0
38945
38969
  */
38946
- const TypeId$39 = "~effect/crypto/CryptoError";
38970
+ const TypeId$41 = "~effect/crypto/CryptoError";
38947
38971
  const ReasonTypeId$2 = "~effect/crypto/CryptoError/Reason";
38948
38972
  /**
38949
38973
  * Reason for an argument that the operation rejects before using the key or
@@ -39096,7 +39120,7 @@ var CryptoError = class extends (/*#__PURE__*/ TaggedError$1("CryptoError")) {
39096
39120
  *
39097
39121
  * @since 4.0.0
39098
39122
  */
39099
- [TypeId$39] = TypeId$39;
39123
+ [TypeId$41] = TypeId$41;
39100
39124
  /**
39101
39125
  * The reason's cause, when it has one.
39102
39126
  *
@@ -39962,7 +39986,7 @@ const redactedProto = (typeId, label) => ({
39962
39986
  };
39963
39987
  },
39964
39988
  toString() {
39965
- return format$2(this.toJSON());
39989
+ return format$4(this.toJSON());
39966
39990
  },
39967
39991
  [NodeInspectSymbol]() {
39968
39992
  return this.toJSON();
@@ -39972,7 +39996,7 @@ const redactedProto = (typeId, label) => ({
39972
39996
  * Builds a key. Keys compare by reference: comparing key bytes is not constant
39973
39997
  * time, and structural equality would let secret keys act as `HashMap` keys.
39974
39998
  */
39975
- const make$56 = (proto, algorithm, material) => byReferenceUnsafe(Object.create(proto, {
39999
+ const make$58 = (proto, algorithm, material) => byReferenceUnsafe(Object.create(proto, {
39976
40000
  algorithm: {
39977
40001
  value: algorithm,
39978
40002
  enumerable: true
@@ -39980,7 +40004,7 @@ const make$56 = (proto, algorithm, material) => byReferenceUnsafe(Object.create(
39980
40004
  [MaterialId]: { value: material }
39981
40005
  }));
39982
40006
  /** @internal */
39983
- const makeBytes = (proto, algorithm, bytes) => make$56(proto, algorithm, {
40007
+ const makeBytes = (proto, algorithm, bytes) => make$58(proto, algorithm, {
39984
40008
  _tag: "Bytes",
39985
40009
  bytes
39986
40010
  });
@@ -40043,7 +40067,7 @@ const importedAlgorithm = (algorithm, cryptoKey) => {
40043
40067
  */
40044
40068
  const fromCryptoKey$3 = (module, method, proto, algorithm, cryptoKey, expected) => suspend$2(() => {
40045
40069
  const problem = checkCryptoKey(cryptoKey, expected);
40046
- return problem === void 0 ? succeed$5(make$56(proto, importedAlgorithm(algorithm, cryptoKey), {
40070
+ return problem === void 0 ? succeed$5(make$58(proto, importedAlgorithm(algorithm, cryptoKey), {
40047
40071
  _tag: "CryptoKey",
40048
40072
  cryptoKey
40049
40073
  })) : invalidKey$2(module, method, problem);
@@ -40056,7 +40080,7 @@ const exportRaw = async (subtle, cryptoKey) => new Uint8Array(await subtle.expor
40056
40080
  *
40057
40081
  * @internal
40058
40082
  */
40059
- const toBytes$5 = (module, key, exportKey) => suspend$2(() => {
40083
+ const toBytes$6 = (module, key, exportKey) => suspend$2(() => {
40060
40084
  const stored = material(key);
40061
40085
  if (stored._tag === "Bytes") return succeed$5(copyBytes(stored.bytes));
40062
40086
  if (!stored.cryptoKey.extractable) return notExtractable(module, "toBytes");
@@ -40309,7 +40333,7 @@ const makeUuid = (bytes, randomBytes, format) => {
40309
40333
  * @category constructors
40310
40334
  * @since 4.0.0
40311
40335
  */
40312
- const make$55 = (randomBytes) => {
40336
+ const make$57 = (randomBytes) => {
40313
40337
  const randomBytesChecked = (size) => {
40314
40338
  checkSize(size);
40315
40339
  return randomBytes(size);
@@ -40355,7 +40379,7 @@ const fillRandom = (crypto, size) => {
40355
40379
  * @category layers
40356
40380
  * @since 4.0.0
40357
40381
  */
40358
- const layerWebCrypto$7 = /*#__PURE__*/ effect(SecureRandom, /*#__PURE__*/ WebCrypto.use((crypto) => succeed$5(make$55((size) => fillRandom(crypto, size)))));
40382
+ const layerWebCrypto$7 = /*#__PURE__*/ effect(SecureRandom, /*#__PURE__*/ WebCrypto.use((crypto) => succeed$5(make$57((size) => fillRandom(crypto, size)))));
40359
40383
  /**
40360
40384
  * Synchronously generates `size` cryptographically secure random bytes from
40361
40385
  * `globalThis.crypto`.
@@ -40433,10 +40457,10 @@ var Aead_exports = /* @__PURE__ */ __exportAll({
40433
40457
  key: () => key$3,
40434
40458
  layerWebCrypto: () => layerWebCrypto$6,
40435
40459
  layerWebCryptoWith: () => layerWebCryptoWith$1,
40436
- toBytes: () => toBytes$4,
40460
+ toBytes: () => toBytes$5,
40437
40461
  xchacha20Poly1305: () => xchacha20Poly1305
40438
40462
  });
40439
- const TypeId$38 = "~effect/crypto/Aead/Key";
40463
+ const TypeId$40 = "~effect/crypto/Aead/Key";
40440
40464
  /**
40441
40465
  * AES-128-GCM, with a 16-byte key and a 12-byte nonce.
40442
40466
  *
@@ -40505,7 +40529,7 @@ const xchacha20Poly1305 = {
40505
40529
  nonceLength: 24,
40506
40530
  implementation: /* @__PURE__ */ chachaImplementation(xchacha20Poly1305$1)
40507
40531
  };
40508
- const KeyProto$3 = /*#__PURE__*/ redactedProto(TypeId$38, "Aead.Key");
40532
+ const KeyProto$3 = /*#__PURE__*/ redactedProto(TypeId$40, "Aead.Key");
40509
40533
  /**
40510
40534
  * Checks whether a value is a {@link Key}.
40511
40535
  *
@@ -40513,7 +40537,7 @@ const KeyProto$3 = /*#__PURE__*/ redactedProto(TypeId$38, "Aead.Key");
40513
40537
  * @category guards
40514
40538
  * @since 4.0.0
40515
40539
  */
40516
- const isKey$3 = (u) => hasProperty(u, TypeId$38);
40540
+ const isKey$3 = (u) => hasProperty(u, TypeId$40);
40517
40541
  /**
40518
40542
  * Service that generates keys, encrypts, and decrypts with authentication.
40519
40543
  *
@@ -40702,7 +40726,7 @@ const fromCryptoKey$2 = (algorithm, cryptoKey) => algorithm.implementation !== v
40702
40726
  * @category converting
40703
40727
  * @since 4.0.0
40704
40728
  */
40705
- const toBytes$4 = (key) => toBytes$5("Aead", key, exportRaw);
40729
+ const toBytes$5 = (key) => toBytes$6("Aead", key, exportRaw);
40706
40730
  // ../../node_modules/.pnpm/effect@4.1.2/node_modules/effect/dist/crypto/Cipher.js
40707
40731
  /**
40708
40732
  * Unauthenticated encryption with no integrity: compose with `Mac`.
@@ -40742,9 +40766,9 @@ var Cipher_exports = /* @__PURE__ */ __exportAll({
40742
40766
  isKey: () => isKey$2,
40743
40767
  key: () => key$2,
40744
40768
  layerWebCrypto: () => layerWebCrypto$5,
40745
- toBytes: () => toBytes$3
40769
+ toBytes: () => toBytes$4
40746
40770
  });
40747
- const TypeId$37 = "~effect/crypto/Cipher/Key";
40771
+ const TypeId$39 = "~effect/crypto/Cipher/Key";
40748
40772
  /**
40749
40773
  * AES-128-CTR, with a 16-byte key.
40750
40774
  *
@@ -40803,7 +40827,7 @@ const aes256Cbc = {
40803
40827
  mode: "AES-CBC",
40804
40828
  keyLength: 32
40805
40829
  };
40806
- const KeyProto$2 = /*#__PURE__*/ redactedProto(TypeId$37, "Cipher.Key");
40830
+ const KeyProto$2 = /*#__PURE__*/ redactedProto(TypeId$39, "Cipher.Key");
40807
40831
  /**
40808
40832
  * Checks whether a value is a {@link Key}.
40809
40833
  *
@@ -40811,7 +40835,7 @@ const KeyProto$2 = /*#__PURE__*/ redactedProto(TypeId$37, "Cipher.Key");
40811
40835
  * @category guards
40812
40836
  * @since 4.0.0
40813
40837
  */
40814
- const isKey$2 = (u) => hasProperty(u, TypeId$37);
40838
+ const isKey$2 = (u) => hasProperty(u, TypeId$39);
40815
40839
  /**
40816
40840
  * Service that generates keys, encrypts, and decrypts without
40817
40841
  * authentication.
@@ -40931,7 +40955,7 @@ const fromCryptoKey$1 = (algorithm, cryptoKey) => fromCryptoKey$3("Cipher", "fro
40931
40955
  * @category converting
40932
40956
  * @since 4.0.0
40933
40957
  */
40934
- const toBytes$3 = (key) => toBytes$5("Cipher", key, exportRaw);
40958
+ const toBytes$4 = (key) => toBytes$6("Cipher", key, exportRaw);
40935
40959
  // ../../node_modules/.pnpm/effect@4.1.2/node_modules/effect/dist/crypto/internal/asymmetric.js
40936
40960
  const seedPrefix = (oid) => Uint8Array.of(48, 46, 2, 1, 0, 48, 5, 6, 3, 43, 101, oid, 4, 34, 4, 32);
40937
40961
  /** @internal */
@@ -40997,7 +41021,7 @@ const exportKey = (subtle, cryptoKey, spec, role) => role === "private" ? export
40997
41021
  *
40998
41022
  * @internal
40999
41023
  */
41000
- const toBytes$2 = (family, key) => toBytes$5(family.module, key, (subtle, cryptoKey) => exportKey(subtle, cryptoKey, family.specOf(key.algorithm), family.isPrivateKey(key) ? "private" : "public"));
41024
+ const toBytes$3 = (family, key) => toBytes$6(family.module, key, (subtle, cryptoKey) => exportKey(subtle, cryptoKey, family.specOf(key.algorithm), family.isPrivateKey(key) ? "private" : "public"));
41001
41025
  /**
41002
41026
  * Per-layer caches for imported byte-backed keys.
41003
41027
  *
@@ -41418,9 +41442,9 @@ var Mac_exports = /* @__PURE__ */ __exportAll({
41418
41442
  layerWebCrypto: () => layerWebCrypto$3,
41419
41443
  layerWebCryptoWith: () => layerWebCryptoWith,
41420
41444
  timingSafeEqual: () => timingSafeEqual,
41421
- toBytes: () => toBytes$1
41445
+ toBytes: () => toBytes$2
41422
41446
  });
41423
- const TypeId$36 = "~effect/crypto/Mac/Key";
41447
+ const TypeId$38 = "~effect/crypto/Mac/Key";
41424
41448
  /**
41425
41449
  * HMAC with SHA-1, with a 20-byte tag.
41426
41450
  *
@@ -41470,7 +41494,7 @@ const hmacSha512 = {
41470
41494
  name: "hmacSha512",
41471
41495
  hash: sha512
41472
41496
  };
41473
- const KeyProto$1 = /*#__PURE__*/ redactedProto(TypeId$36, "Mac.Key");
41497
+ const KeyProto$1 = /*#__PURE__*/ redactedProto(TypeId$38, "Mac.Key");
41474
41498
  /**
41475
41499
  * Checks whether a value is a {@link Key}.
41476
41500
  *
@@ -41478,7 +41502,7 @@ const KeyProto$1 = /*#__PURE__*/ redactedProto(TypeId$36, "Mac.Key");
41478
41502
  * @category guards
41479
41503
  * @since 4.0.0
41480
41504
  */
41481
- const isKey$1 = (u) => hasProperty(u, TypeId$36);
41505
+ const isKey$1 = (u) => hasProperty(u, TypeId$38);
41482
41506
  const blockSizes = {
41483
41507
  "MD5": 64,
41484
41508
  "SHA-1": 64,
@@ -41645,7 +41669,7 @@ const fromCryptoKey = (algorithm, cryptoKey) => fromCryptoKey$3("Mac", "fromCryp
41645
41669
  * @category converting
41646
41670
  * @since 4.0.0
41647
41671
  */
41648
- const toBytes$1 = (key) => toBytes$5("Mac", key, exportRaw);
41672
+ const toBytes$2 = (key) => toBytes$6("Mac", key, exportRaw);
41649
41673
  /**
41650
41674
  * Compares two byte arrays in constant time.
41651
41675
  *
@@ -41757,7 +41781,7 @@ const family$1 = {
41757
41781
  /** @internal */
41758
41782
  const secretFamily = (algorithm) => "nonceLength" in algorithm ? Aead_exports : "mode" in algorithm ? Cipher_exports : "_tag" in algorithm ? {
41759
41783
  key,
41760
- toBytes
41784
+ toBytes: toBytes$1
41761
41785
  } : Mac_exports;
41762
41786
  const hmacParams = {
41763
41787
  name: "HMAC",
@@ -41887,7 +41911,7 @@ const key = (algorithm, bytes) => fromBytes("KeyWrap", "key", KeyProto, algorith
41887
41911
  * @category converting
41888
41912
  * @since 4.0.0
41889
41913
  */
41890
- const toBytes = (key) => isKey(key) ? toBytes$5("KeyWrap", key, exportRaw) : toBytes$2(family$1, key);
41914
+ const toBytes$1 = (key) => isKey(key) ? toBytes$6("KeyWrap", key, exportRaw) : toBytes$3(family$1, key);
41891
41915
  // ../../node_modules/.pnpm/effect@4.1.2/node_modules/effect/dist/crypto/Signature.js
41892
41916
  /**
41893
41917
  * Digital signatures: Ed25519, ECDSA on P-256, P-384 and P-521, RSA-PSS, and
@@ -43099,7 +43123,7 @@ var HashMapImpl = class {
43099
43123
  return toJson(this);
43100
43124
  }
43101
43125
  toString() {
43102
- return `HashMap(${format$2(Array.from(this))})`;
43126
+ return `HashMap(${format$4(Array.from(this))})`;
43103
43127
  }
43104
43128
  toJSON() {
43105
43129
  return {
@@ -43442,7 +43466,7 @@ const HashSetProto = {
43442
43466
  return keys(keyMap(this));
43443
43467
  },
43444
43468
  toString() {
43445
- return `HashSet(${format$2(Array.from(this))})`;
43469
+ return `HashSet(${format$4(Array.from(this))})`;
43446
43470
  },
43447
43471
  toJSON() {
43448
43472
  return {
@@ -43608,7 +43632,7 @@ const toPath = (url) => {
43608
43632
  * @stability unstable
43609
43633
  * @since 4.0.0
43610
43634
  */
43611
- const TypeId$35 = "~effect/http/UrlParams";
43635
+ const TypeId$37 = "~effect/http/UrlParams";
43612
43636
  /**
43613
43637
  * Returns `true` when a value is a `UrlParams` instance.
43614
43638
  *
@@ -43616,10 +43640,10 @@ const TypeId$35 = "~effect/http/UrlParams";
43616
43640
  * @category guards
43617
43641
  * @since 4.0.0
43618
43642
  */
43619
- const isUrlParams = (u) => hasProperty(u, TypeId$35);
43643
+ const isUrlParams = (u) => hasProperty(u, TypeId$37);
43620
43644
  const Proto$18 = {
43621
43645
  ...PipeInspectableProto,
43622
- [TypeId$35]: TypeId$35,
43646
+ [TypeId$37]: TypeId$37,
43623
43647
  [Symbol.iterator]() {
43624
43648
  return this.params[Symbol.iterator]();
43625
43649
  },
@@ -43650,7 +43674,7 @@ const Proto$18 = {
43650
43674
  * @category constructors
43651
43675
  * @since 4.0.0
43652
43676
  */
43653
- const make$54 = (params) => {
43677
+ const make$56 = (params) => {
43654
43678
  const self = Object.create(Proto$18);
43655
43679
  self.params = params;
43656
43680
  return self;
@@ -43676,7 +43700,7 @@ const fromInput = (input) => {
43676
43700
  const [keys, value] = parsed[i];
43677
43701
  out.push([`${keys[0]}[${keys.slice(1).join("][")}]`, value]);
43678
43702
  } else out.push(parsed[i]);
43679
- return make$54(out);
43703
+ return make$56(out);
43680
43704
  };
43681
43705
  const fromInputNested = (input) => {
43682
43706
  const entries = typeof input[Symbol.iterator] === "function" ? fromIterable$5(input) : Object.entries(input);
@@ -43702,7 +43726,7 @@ const coerce = (value) => isRedacted(value) ? value : String(value);
43702
43726
  * @category instances
43703
43727
  * @since 4.0.0
43704
43728
  */
43705
- const Equivalence = /*#__PURE__*/ make$87((a, b) => arrayEquivalence(a.params, b.params));
43729
+ const Equivalence = /*#__PURE__*/ make$89((a, b) => arrayEquivalence(a.params, b.params));
43706
43730
  const arrayEquivalence = /*#__PURE__*/ makeEquivalence$2(/*#__PURE__*/ makeEquivalence$4([/*#__PURE__*/ strictEqual(), /*#__PURE__*/ asEquivalence()]));
43707
43731
  /**
43708
43732
  * An empty `UrlParams` value.
@@ -43711,7 +43735,7 @@ const arrayEquivalence = /*#__PURE__*/ makeEquivalence$2(/*#__PURE__*/ makeEquiv
43711
43735
  * @category constructors
43712
43736
  * @since 4.0.0
43713
43737
  */
43714
- const empty$3 = /*#__PURE__*/ make$54([]);
43738
+ const empty$3 = /*#__PURE__*/ make$56([]);
43715
43739
  /**
43716
43740
  * Sets multiple query parameters from input.
43717
43741
  *
@@ -43732,7 +43756,7 @@ const setAll = /*#__PURE__*/ dual(2, (self, input) => {
43732
43756
  if (keys.has(self.params[i][0])) continue;
43733
43757
  params.push(self.params[i]);
43734
43758
  }
43735
- return make$54(params);
43759
+ return make$56(params);
43736
43760
  });
43737
43761
  /**
43738
43762
  * Serializes `UrlParams` to a URL query string without a leading question mark.
@@ -43809,7 +43833,7 @@ const toReadonlyRecord = toRecord;
43809
43833
  */
43810
43834
  const redact = /*#__PURE__*/ dual(2, (self, key) => {
43811
43835
  const patterns = Array.isArray(key) ? key : [key];
43812
- return self.params.map(([name, value]) => [name, typeof value === "string" && isRedactedName(name, patterns) ? make$61(value) : value]);
43836
+ return self.params.map(([name, value]) => [name, typeof value === "string" && isRedactedName(name, patterns) ? make$63(value) : value]);
43813
43837
  });
43814
43838
  /**
43815
43839
  * Checks whether a parameter name matches one of the redaction patterns.
@@ -44188,7 +44212,7 @@ function makeOption(schema) {
44188
44212
  * @category constructors
44189
44213
  * @since 4.0.0
44190
44214
  */
44191
- function make$53(schema) {
44215
+ function make$55(schema) {
44192
44216
  return makeConstructorSync(toType$1(schema.ast));
44193
44217
  }
44194
44218
  /**
@@ -44429,12 +44453,12 @@ const normalCompiler = (ast) => resolve(ast).parser;
44429
44453
  const constructorCompiler = (ast) => resolve(ast).makeEffect;
44430
44454
  // ../../node_modules/.pnpm/effect@4.1.2/node_modules/effect/dist/internal/schema/make.js
44431
44455
  /** @internal */
44432
- const TypeId$34 = "~effect/Schema/Schema";
44456
+ const TypeId$36 = "~effect/Schema/Schema";
44433
44457
  const RebuildOptions = /*#__PURE__*/ Symbol();
44434
44458
  const SchemaProto = {
44435
- [TypeId$34]: TypeId$34,
44459
+ [TypeId$36]: TypeId$36,
44436
44460
  get make() {
44437
- const value = make$53(this);
44461
+ const value = make$55(this);
44438
44462
  Object.defineProperty(this, "make", {
44439
44463
  value,
44440
44464
  enumerable: true
@@ -44470,11 +44494,11 @@ const SchemaProto = {
44470
44494
  return this.rebuild(appendChecks(this.ast, checks));
44471
44495
  },
44472
44496
  rebuild(ast) {
44473
- return make$52(ast, this[RebuildOptions]);
44497
+ return make$54(ast, this[RebuildOptions]);
44474
44498
  }
44475
44499
  };
44476
44500
  /** @internal */
44477
- function make$52(ast, options) {
44501
+ function make$54(ast, options) {
44478
44502
  function Schema() {}
44479
44503
  const self = Object.setPrototypeOf(Schema, SchemaProto);
44480
44504
  if (options && (Object.hasOwn(options, "name") || Object.hasOwn(options, "length") || Object.hasOwn(options, "__proto__"))) Object.defineProperties(self, Object.getOwnPropertyDescriptors({ ...options }));
@@ -44726,7 +44750,7 @@ const PRE_2020_TO_2020_COLLISIONS = [
44726
44750
  // ../../node_modules/.pnpm/effect@4.1.2/node_modules/effect/dist/internal/schema/toCodec.js
44727
44751
  /** @internal */
44728
44752
  function toCodecJson$1(schema) {
44729
- return make$52(toCodecJsonAST(schema.ast), { schema });
44753
+ return make$54(toCodecJsonAST(schema.ast), { schema });
44730
44754
  }
44731
44755
  /** @internal */
44732
44756
  const toCodecJsonAST = /*#__PURE__*/ makeCodecDerivation(toCodecJsonASTStep);
@@ -44770,7 +44794,7 @@ function toCodecJsonASTStep(ast, recur) {
44770
44794
  case "Declaration": {
44771
44795
  const getLink = ast.annotations?.toCodecJson ?? ast.annotations?.toCodec;
44772
44796
  if (!isFunction(getLink)) return replaceEncoding(ast, [unknownToJson]);
44773
- const link = getLink(ast.typeParameters.map((tp) => make$52(toEncoded$1(tp))));
44797
+ const link = getLink(ast.typeParameters.map((tp) => make$54(toEncoded$1(tp))));
44774
44798
  return link === void 0 ? ast : replaceEncoding(ast, [mapLink(link, recur)]);
44775
44799
  }
44776
44800
  case "Unknown": return replaceEncoding(ast, [unknownToJson]);
@@ -44797,7 +44821,7 @@ function toCodecJsonASTStep(ast, recur) {
44797
44821
  }
44798
44822
  /** @internal */
44799
44823
  function toCodecStringTree$1(schema) {
44800
- return make$52(toCodecStringTreeAST(schema.ast), { schema });
44824
+ return make$54(toCodecStringTreeAST(schema.ast), { schema });
44801
44825
  }
44802
44826
  const toStringTreeReorder = /*#__PURE__*/ makeReorder((ast) => {
44803
44827
  switch (ast._tag) {
@@ -44813,7 +44837,7 @@ const toStringTreeReorder = /*#__PURE__*/ makeReorder((ast) => {
44813
44837
  function toCodecStringTreeASTStep(ast, recur, onMissingAnnotation) {
44814
44838
  switch (ast._tag) {
44815
44839
  case "Declaration": {
44816
- const typeParameters = ast.typeParameters.map((tp) => make$52(recur(toEncoded$1(tp))));
44840
+ const typeParameters = ast.typeParameters.map((tp) => make$54(recur(toEncoded$1(tp))));
44817
44841
  const getStringTreeLink = ast.annotations?.toCodecStringTree;
44818
44842
  if (isFunction(getStringTreeLink)) {
44819
44843
  const link = getStringTreeLink(typeParameters);
@@ -45866,8 +45890,186 @@ const SchemaErrorTypeId = "~effect/Schema/SchemaError";
45866
45890
  function isSchemaError$1(u) {
45867
45891
  return hasProperty(u, "~effect/Schema/SchemaError") && u["~effect/Schema/SchemaError"] === "~effect/Schema/SchemaError";
45868
45892
  }
45893
+ // ../../node_modules/.pnpm/effect@4.1.2/node_modules/effect/dist/net/IpInterface.js
45894
+ /**
45895
+ * IPv4 and IPv6 interface addresses that preserve host bits alongside a prefix length.
45896
+ *
45897
+ * @stability unstable
45898
+ * @since 4.0.0
45899
+ */
45900
+ const TypeId$35 = "~effect/net/IpInterface";
45901
+ /**
45902
+ * Returns `true` when a value is an IP interface address.
45903
+ *
45904
+ * @stability unstable
45905
+ * @category guards
45906
+ * @since 4.0.0
45907
+ */
45908
+ const isIpInterface = (u) => hasProperty(u, TypeId$35);
45909
+ const IpInterfaceProto = {
45910
+ ...BaseProto,
45911
+ _tag: "IpInterface",
45912
+ [TypeId$35]: TypeId$35,
45913
+ [symbol$2](that) {
45914
+ return isIpInterface(that) && this.prefixLength === that.prefixLength && equals$2(this.address, that.address);
45915
+ },
45916
+ [symbol$3]() {
45917
+ return combine$2(hash(this.address), number$2(this.prefixLength));
45918
+ },
45919
+ toString() {
45920
+ return format$1(this);
45921
+ },
45922
+ toJSON() {
45923
+ return this.toString();
45924
+ }
45925
+ };
45926
+ const interfaceError = (input, message) => fail$13(new NetAddressError({
45927
+ input,
45928
+ message
45929
+ }));
45930
+ /**
45931
+ * Creates an interface address while preserving all address bits.
45932
+ *
45933
+ * @stability unstable
45934
+ * @category constructors
45935
+ * @since 4.0.0
45936
+ */
45937
+ const make$53 = (address, prefixLength) => {
45938
+ const max = width$1(address);
45939
+ if (!Number.isInteger(prefixLength) || prefixLength < 0 || prefixLength > max) return interfaceError(address, `prefix length must be an integer from 0 through ${max}`);
45940
+ const self = Object.assign(Object.create(IpInterfaceProto), {
45941
+ address,
45942
+ prefixLength
45943
+ });
45944
+ return succeed$10(Object.freeze(self));
45945
+ };
45946
+ const parseAddressWithPrefix = (input, options) => {
45947
+ const slash = input.indexOf("/");
45948
+ if (slash === -1 && options?.prefix !== "required") return succeed$10({
45949
+ address: input,
45950
+ prefixLength: void 0
45951
+ });
45952
+ if (slash <= 0 || slash !== input.lastIndexOf("/") || slash === input.length - 1) return interfaceError(input, "expected an address and prefix length separated by one slash");
45953
+ const prefix = input.slice(slash + 1);
45954
+ if (!/^(0|[1-9][0-9]*)$/.test(prefix)) return interfaceError(input, "prefix length must be an unpadded ASCII decimal integer");
45955
+ return succeed$10({
45956
+ address: input.slice(0, slash),
45957
+ prefixLength: Number(prefix)
45958
+ });
45959
+ };
45960
+ /**
45961
+ * Parses an IP interface address while preserving host bits.
45962
+ *
45963
+ * **Details**
45964
+ *
45965
+ * A missing prefix defaults to the address width. Use `prefix: "required"` to
45966
+ * require one.
45967
+ *
45968
+ * @stability unstable
45969
+ * @category decoding
45970
+ * @since 4.0.0
45971
+ */
45972
+ const fromString$2 = (input, options) => flatMap$6(parseAddressWithPrefix(input, options), (parts) => flatMap$6(ipFromString(parts.address), (address) => make$53(address, parts.prefixLength ?? width$1(address))));
45973
+ /**
45974
+ * Formats an interface address using canonical address text and its decimal prefix length.
45975
+ *
45976
+ * @stability unstable
45977
+ * @category encoding
45978
+ * @since 4.0.0
45979
+ */
45980
+ const format$1 = (self) => `${formatIp(self.address)}/${self.prefixLength}`;
45981
+ // ../../node_modules/.pnpm/effect@4.1.2/node_modules/effect/dist/net/IpNetwork.js
45982
+ /**
45983
+ * Pure, canonical IPv4 and IPv6 network prefixes using CIDR notation.
45984
+ *
45985
+ * @stability unstable
45986
+ * @since 4.0.0
45987
+ */
45988
+ const TypeId$34 = "~effect/net/IpNetwork";
45989
+ /**
45990
+ * Returns `true` when a value is an IPv4 or IPv6 network prefix.
45991
+ *
45992
+ * @stability unstable
45993
+ * @category guards
45994
+ * @since 4.0.0
45995
+ */
45996
+ const isIpNetwork = (u) => hasProperty(u, TypeId$34);
45997
+ const IpNetworkProto = {
45998
+ ...BaseProto,
45999
+ _tag: "IpNetwork",
46000
+ [TypeId$34]: TypeId$34,
46001
+ [symbol$2](that) {
46002
+ return isIpNetwork(that) && this.prefixLength === that.prefixLength && equals$2(this.address, that.address);
46003
+ },
46004
+ [symbol$3]() {
46005
+ return combine$2(hash(this.address), number$2(this.prefixLength));
46006
+ },
46007
+ toString() {
46008
+ return format(this);
46009
+ },
46010
+ toJSON() {
46011
+ return this.toString();
46012
+ }
46013
+ };
46014
+ const fromInterfaceValue = (value) => {
46015
+ const self = Object.assign(Object.create(IpNetworkProto), {
46016
+ address: value.address,
46017
+ prefixLength: value.prefixLength
46018
+ });
46019
+ return Object.freeze(self);
46020
+ };
46021
+ const toBytes = (address) => isIpv4Address(address) ? ipv4ToOctets(address) : ipv6ToOctets(address);
46022
+ const maskBytes = (bytes, prefixLength) => {
46023
+ const wholeBytes = Math.floor(prefixLength / 8);
46024
+ const partialBits = prefixLength % 8;
46025
+ return bytes.map((byte, index) => {
46026
+ if (index < wholeBytes) return byte;
46027
+ if (index === wholeBytes && partialBits !== 0) return byte & (255 << 8 - partialBits & 255);
46028
+ return 0;
46029
+ });
46030
+ };
46031
+ /**
46032
+ * Creates a network prefix when the address has no host bits set.
46033
+ *
46034
+ * **Gotchas**
46035
+ *
46036
+ * Use {@link fromAddress} when a host address should be truncated to its containing network.
46037
+ *
46038
+ * @stability unstable
46039
+ * @category constructors
46040
+ * @since 4.0.0
46041
+ */
46042
+ const make$52 = (address, prefixLength) => {
46043
+ return flatMap$6(make$53(address, prefixLength), (value) => {
46044
+ const bytes = toBytes(address);
46045
+ const masked = maskBytes(bytes, prefixLength);
46046
+ if (bytes.some((byte, index) => byte !== masked[index])) return fail$13(new NetAddressError({
46047
+ input: address,
46048
+ message: "address has non-zero host bits"
46049
+ }));
46050
+ return succeed$10(fromInterfaceValue(value));
46051
+ });
46052
+ };
46053
+ /**
46054
+ * Parses a strict IPv4 or IPv6 network prefix in CIDR notation.
46055
+ *
46056
+ * @stability unstable
46057
+ * @category decoding
46058
+ * @since 4.0.0
46059
+ */
46060
+ const fromString$1 = (input) => {
46061
+ return flatMap$6(fromString$2(input, { prefix: "required" }), (value) => make$52(value.address, value.prefixLength));
46062
+ };
46063
+ /**
46064
+ * Formats a network prefix using canonical address text and its decimal prefix length.
46065
+ *
46066
+ * @stability unstable
46067
+ * @category encoding
46068
+ * @since 4.0.0
46069
+ */
46070
+ const format = (self) => `${formatIp(self.address)}/${self.prefixLength}`;
45869
46071
  // ../../node_modules/.pnpm/effect@4.1.2/node_modules/effect/dist/Schema.js
45870
- const TypeId$33 = TypeId$34;
46072
+ const TypeId$33 = TypeId$36;
45871
46073
  /**
45872
46074
  * Creates a schema for a **parametric** type (a generic container such as
45873
46075
  * `Array<A>`, `Option<A>`, etc.) by accepting a list of type-parameter schemas
@@ -46432,7 +46634,7 @@ const encodeSync = encodeUnknownSync$1;
46432
46634
  * @category constructors
46433
46635
  * @since 3.10.0
46434
46636
  */
46435
- const make$51 = make$52;
46637
+ const make$51 = make$54;
46436
46638
  /**
46437
46639
  * Checks whether a value is a `Schema`.
46438
46640
  *
@@ -47607,7 +47809,7 @@ function isPattern(regExp, annotations) {
47607
47809
  const source = regExp.source;
47608
47810
  const flags = regExp.flags;
47609
47811
  const canExport = /^[dg]*uy?$/.test(flags);
47610
- const runtimeRegExp = flags === "" ? `new globalThis.RegExp(${format$2(source)})` : `new globalThis.RegExp(${format$2(source)}, ${format$2(flags)})`;
47812
+ const runtimeRegExp = flags === "" ? `new globalThis.RegExp(${format$4(source)})` : `new globalThis.RegExp(${format$4(source)}, ${format$4(flags)})`;
47611
47813
  return isPattern$1(regExp, {
47612
47814
  toJsonSchema: () => canExport ? { pattern: flags.endsWith("y") ? `^(?:${source})` : source } : [{}, true],
47613
47815
  toCode: () => ({ runtime: `Schema.isPattern(${runtimeRegExp})` }),
@@ -47632,7 +47834,7 @@ const Finite = /*#__PURE__*/ make$51(finite);
47632
47834
  */
47633
47835
  function makeIsGreaterThanOrEqualTo(options) {
47634
47836
  const gte = isGreaterThanOrEqualTo$2(options.order);
47635
- const formatter = options.formatter ?? format$2;
47837
+ const formatter = options.formatter ?? format$4;
47636
47838
  return (minimum, annotations) => {
47637
47839
  return makeFilter((input) => gte(input, minimum), {
47638
47840
  expected: `a value greater than or equal to ${formatter(minimum)}`,
@@ -47658,7 +47860,7 @@ function makeIsBetween(deriveOptions) {
47658
47860
  const greaterThan = isGreaterThan$1(deriveOptions.order);
47659
47861
  const lessThanOrEqualTo = isLessThanOrEqualTo$1(deriveOptions.order);
47660
47862
  const lessThan = isLessThan$1(deriveOptions.order);
47661
- const formatter = deriveOptions.formatter ?? format$2;
47863
+ const formatter = deriveOptions.formatter ?? format$4;
47662
47864
  return (options, annotations) => {
47663
47865
  const gte = options.exclusiveMinimum ? greaterThan : greaterThanOrEqualTo;
47664
47866
  const lte = options.exclusiveMaximum ? lessThan : lessThanOrEqualTo;
@@ -47677,7 +47879,7 @@ function makeIsBetween(deriveOptions) {
47677
47879
  };
47678
47880
  }
47679
47881
  function encodeNumberPayload(number) {
47680
- if (!globalThis.Number.isFinite(number)) throw new globalThis.RangeError(`Expected a finite number, got ${format$2(number)}`);
47882
+ if (!globalThis.Number.isFinite(number)) throw new globalThis.RangeError(`Expected a finite number, got ${format$4(number)}`);
47681
47883
  return number;
47682
47884
  }
47683
47885
  /**
@@ -47707,7 +47909,7 @@ const isGreaterThanOrEqualTo$1 = /*#__PURE__*/ makeIsGreaterThanOrEqualTo({
47707
47909
  payload: { minimum: encodeNumberPayload(minimum) }
47708
47910
  },
47709
47911
  toJsonSchema: () => ({ minimum }),
47710
- toCode: () => ({ runtime: `Schema.isGreaterThanOrEqualTo(${format$2(minimum)})` })
47912
+ toCode: () => ({ runtime: `Schema.isGreaterThanOrEqualTo(${format$4(minimum)})` })
47711
47913
  })
47712
47914
  });
47713
47915
  /**
@@ -47751,7 +47953,7 @@ const isBetween = /*#__PURE__*/ makeIsBetween({
47751
47953
  [exclusiveMinimum ? "exclusiveMinimum" : "minimum"]: options.minimum,
47752
47954
  [exclusiveMaximum ? "exclusiveMaximum" : "maximum"]: options.maximum
47753
47955
  }),
47754
- toCode: () => ({ runtime: `Schema.isBetween({ minimum: ${format$2(options.minimum)}, maximum: ${format$2(options.maximum)}, exclusiveMinimum: ${format$2(exclusiveMinimum)}, exclusiveMaximum: ${format$2(exclusiveMaximum)} })` })
47956
+ toCode: () => ({ runtime: `Schema.isBetween({ minimum: ${format$4(options.minimum)}, maximum: ${format$4(options.maximum)}, exclusiveMinimum: ${format$4(exclusiveMinimum)}, exclusiveMaximum: ${format$4(exclusiveMaximum)} })` })
47755
47957
  };
47756
47958
  }
47757
47959
  });
@@ -48236,7 +48438,7 @@ function Cause(error, defect) {
48236
48438
  }
48237
48439
  const dateTimeUtcFromString = /*#__PURE__*/ transformEffect({
48238
48440
  decode: (s, options) => {
48239
- return match$8(make$64(s), {
48441
+ return match$8(make$66(s), {
48240
48442
  onNone: () => fail$8(new InvalidValue$1({ expected: "a valid UTC DateTime string" }, s, options)),
48241
48443
  onSome: (result) => succeed$5(toUtc(result))
48242
48444
  });
@@ -48542,7 +48744,7 @@ const RecordFromUrlParams = /*#__PURE__*/ (/* @__PURE__ */ declare(isUrlParams,
48542
48744
  expected: "UrlParams",
48543
48745
  toEquivalence: () => Equivalence,
48544
48746
  toCodec: () => link$1()(ArraySchema(Tuple([String$6, String$6])), transform$2({
48545
- decode: make$54,
48747
+ decode: make$56,
48546
48748
  encode: (self) => self.params.map(([key, value]) => [key, unwrap$1(value)])
48547
48749
  }))
48548
48750
  })).pipe(/*#__PURE__*/ decodeTo(/*#__PURE__*/ Record$1(String$6, /*#__PURE__*/ Union([String$6, /*#__PURE__*/ NonEmptyArray(String$6)])), /*#__PURE__*/ transform$2({
@@ -48582,7 +48784,7 @@ function Redacted$1(value, options) {
48582
48784
  if (isRedacted(input)) {
48583
48785
  const label = decodeLabel !== void 0 ? mapErrorEager(decodeLabel(input.label, poptions), (issue) => new Pointer(["label"], issue)) : void_$1;
48584
48786
  return flatMapEager(label, () => mapBothEager(decodeUnknownEffect$1(value)(value$2(input), poptions), {
48585
- onSuccess: (value) => make$61(value, { label: input.label }),
48787
+ onSuccess: (value) => make$63(value, { label: input.label }),
48586
48788
  onFailure: () => {
48587
48789
  return new Composite(ast, [new Pointer(["value"], new InvalidValue$1(void 0, input, poptions))], input, poptions);
48588
48790
  }
@@ -48595,13 +48797,13 @@ function Redacted$1(value, options) {
48595
48797
  payload: normalizedOptions ?? null
48596
48798
  },
48597
48799
  toCode: ({ typeParameters }) => ({
48598
- runtime: normalizedOptions !== void 0 ? `Schema.Redacted(${typeParameters[0].runtime}, ${format$2(normalizedOptions)})` : `Schema.Redacted(${typeParameters[0].runtime})`,
48800
+ runtime: normalizedOptions !== void 0 ? `Schema.Redacted(${typeParameters[0].runtime}, ${format$4(normalizedOptions)})` : `Schema.Redacted(${typeParameters[0].runtime})`,
48599
48801
  Type: `Redacted.Redacted<${typeParameters[0].Type}>`,
48600
48802
  importDeclarations: [`import * as Redacted from "effect/Redacted"`]
48601
48803
  }),
48602
48804
  expected: "Redacted",
48603
48805
  toCodecJson: ([value]) => link$1()(value, {
48604
- decode: transform$3((e) => make$61(e, { label })),
48806
+ decode: transform$3((e) => make$63(e, { label })),
48605
48807
  encode: disallowJsonEncode ? forbidden((oe) => "Cannot serialize Redacted" + (isSome(oe) && typeof oe.value.label === "string" ? ` with label: "${oe.value.label}"` : "")) : transform$3(value$2)
48606
48808
  }),
48607
48809
  toEquivalence: ([value]) => makeEquivalence(value)
@@ -48623,7 +48825,7 @@ function RedactedFromValue(value, options) {
48623
48825
  label: options?.label,
48624
48826
  disallowJsonEncode: options?.disallowEncode
48625
48827
  }), {
48626
- decode: transform$3((t) => make$61(t, { label: options?.label })),
48828
+ decode: transform$3((t) => make$63(t, { label: options?.label })),
48627
48829
  encode: options?.disallowEncode ? forbidden((oe) => "Cannot encode Redacted" + (isSome(oe) && typeof oe.value.label === "string" ? ` with label: "${oe.value.label}"` : "")) : transform$3(value$2)
48628
48830
  })(value);
48629
48831
  }
@@ -48820,7 +49022,7 @@ function isStruct(schema) {
48820
49022
  const Class = (identifier) => (schema, annotations) => {
48821
49023
  const struct = isStruct(schema) ? schema : Struct(schema);
48822
49024
  return makeClass(Class$1, identifier, struct, annotations, (identifier) => ({ toString() {
48823
- return `${identifier}(${format$2({ ...this })})`;
49025
+ return `${identifier}(${format$4({ ...this })})`;
48824
49026
  } }));
48825
49027
  };
48826
49028
  /**
@@ -49109,7 +49311,7 @@ var Proto$17 = class {
49109
49311
  return this.toJSON();
49110
49312
  }
49111
49313
  toString() {
49112
- return format$2(this, { ignoreToString: true });
49314
+ return format$4(this, { ignoreToString: true });
49113
49315
  }
49114
49316
  };
49115
49317
  /**
@@ -50673,7 +50875,7 @@ const retryTransient = /*#__PURE__*/ dual(2, (self, options) => {
50673
50875
  */
50674
50876
  const timeout = /*#__PURE__*/ dual(2, (self, duration) => {
50675
50877
  const decoded = fromInputUnsafe$1(duration);
50676
- const description = `timed out after ${format$1(decoded)}`;
50878
+ const description = `timed out after ${format$3(decoded)}`;
50677
50879
  return transform$1(self, (effect, request) => timeoutOrElse(effect, {
50678
50880
  duration: decoded,
50679
50881
  orElse: () => fail$8(new HttpClientError({ reason: new TransportError({
@@ -59891,7 +60093,7 @@ function decodeValueUnchecked(layout, r) {
59891
60093
  const value = r.zigzag();
59892
60094
  const scale = r.zigzag();
59893
60095
  if (scale > MAX_SAFE_BIGINT || -scale > MAX_SAFE_BIGINT) invalid$1("safe integer length", void 0, r.options);
59894
- return make$63(value, Number(scale));
60096
+ return make$65(value, Number(scale));
59895
60097
  }
59896
60098
  case "json": {
59897
60099
  const text = r.readUtf8(r.end - r.pos);
@@ -60962,7 +61164,7 @@ const makeNoSerialization = /*#__PURE__*/ fnUntraced(function* (group, options)
60962
61164
  const services = yield* context();
60963
61165
  const scope = get$14(services, Scope);
60964
61166
  const trackFiber = runIn(forkUnsafe(scope, "parallel"));
60965
- const concurrencySemaphore = concurrency === "unbounded" ? void 0 : yield* make$71(concurrency);
61167
+ const concurrencySemaphore = concurrency === "unbounded" ? void 0 : yield* make$73(concurrency);
60966
61168
  const clients = /* @__PURE__ */ new Map();
60967
61169
  let isShutdown = false;
60968
61170
  const shutdownLatch = makeUnsafe$6(false);
@@ -61265,7 +61467,7 @@ const make$32 = /*#__PURE__*/ fnUntraced(function* (group, options) {
61265
61467
  const { codecFor, disconnects, end, run, send, supportsAck, supportsSpanPropagation, supportsTransferables } = yield* Protocol;
61266
61468
  const { encodeDefectUnsafe, encodeUnknownRequestExit } = defectCodecs(codecFor);
61267
61469
  const services = yield* context();
61268
- const scope = yield* make$81();
61470
+ const scope = yield* make$83();
61269
61471
  const server = yield* makeNoSerialization(group, {
61270
61472
  ...options,
61271
61473
  disableClientAcks: !supportsAck,
@@ -61541,7 +61743,7 @@ const makeProtocolWithHttpEffect = /*#__PURE__*/ fnUntraced(function* (options =
61541
61743
  const { encodeDefectUnsafe } = defectCodecs(serialization.codecFor);
61542
61744
  const includesFraming = serialization.includesFraming;
61543
61745
  const isBinary = !serialization.contentType.includes("json");
61544
- const disconnects = yield* make$72();
61746
+ const disconnects = yield* make$74();
61545
61747
  let writeRequest;
61546
61748
  let clientId = 0;
61547
61749
  const clients = /* @__PURE__ */ new Map();
@@ -61554,7 +61756,7 @@ const makeProtocolWithHttpEffect = /*#__PURE__*/ fnUntraced(function* (options =
61554
61756
  const requestHeaders = Object.entries(request.headers);
61555
61757
  const data = yield* orDie$2(isBinary ? map$5(request.arrayBuffer, (buf) => new Uint8Array(buf)) : request.text);
61556
61758
  const id = clientId++;
61557
- const queue = yield* make$72({ capacity: includesFraming && options.streamBufferSize !== "unbounded" ? options.streamBufferSize ?? 16 : void 0 });
61759
+ const queue = yield* make$74({ capacity: includesFraming && options.streamBufferSize !== "unbounded" ? options.streamBufferSize ?? 16 : void 0 });
61558
61760
  const parser = serialization.makeUnsafe();
61559
61761
  const requestIds = [];
61560
61762
  const offer$1 = (data) => typeof data === "string" ? offer(queue, encoder.encode(data)) : offer(queue, data);
@@ -61659,7 +61861,7 @@ const layerProtocolHttp = (options) => {
61659
61861
  const makeSocketProtocol = /*#__PURE__*/ gen(function* () {
61660
61862
  const serialization = yield* RpcSerialization;
61661
61863
  const { encodeDefectUnsafe } = defectCodecs(serialization.codecFor);
61662
- const disconnects = yield* make$72();
61864
+ const disconnects = yield* make$74();
61663
61865
  let clientId = 0;
61664
61866
  const clients = /* @__PURE__ */ new Map();
61665
61867
  const clientIds = /* @__PURE__ */ new Set();
@@ -61839,7 +62041,7 @@ const RpcGroupProto = {
61839
62041
  });
61840
62042
  },
61841
62043
  annotateRpcs(service, value) {
61842
- return this.annotateRpcsMerge(make$85(service, value));
62044
+ return this.annotateRpcsMerge(make$87(service, value));
61843
62045
  },
61844
62046
  annotateMerge(context) {
61845
62047
  return makeProto$1({
@@ -62226,7 +62428,7 @@ function describeUnknown(u, preserveEmptyStrings) {
62226
62428
  if (typeof u === "number" || typeof u === "boolean" || typeof u === "bigint") return makeValue(String(u));
62227
62429
  if (Array.isArray(u)) return makeArray(u.length);
62228
62430
  if (isObject$2(u)) return makeRecord(new Set(Object.keys(u)));
62229
- return makeValue(format$2(u));
62431
+ return makeValue(format$4(u));
62230
62432
  }
62231
62433
  function stringNode(value, preserveEmptyStrings) {
62232
62434
  const normalized = emptyStringAsMissing(value, preserveEmptyStrings);
@@ -67510,7 +67712,7 @@ const writeFile = (path, data, options) => callback$1((resume, signal) => {
67510
67712
  resume(fail$8(handleBadArgument("writeFile")(err)));
67511
67713
  }
67512
67714
  });
67513
- const makeFileSystem = /*#__PURE__*/ map$5(/*#__PURE__*/ serviceOption(WatchBackend), (backend) => make$66({
67715
+ const makeFileSystem = /*#__PURE__*/ map$5(/*#__PURE__*/ serviceOption(WatchBackend), (backend) => make$68({
67514
67716
  access,
67515
67717
  chmod,
67516
67718
  chown,
@@ -68478,7 +68680,7 @@ const fileUrlOps = (windows) => ({
68478
68680
  * @category layers
68479
68681
  * @since 4.0.0
68480
68682
  */
68481
- const layer$12 = /* @__PURE__ */ succeed$6(Path$1)(/*#__PURE__*/ make$65({
68683
+ const layer$12 = /* @__PURE__ */ succeed$6(Path$1)(/*#__PURE__*/ make$67({
68482
68684
  ...Path,
68483
68685
  .../*#__PURE__*/ fileUrlOps(void 0)
68484
68686
  }));
@@ -68631,7 +68833,7 @@ const make$25 = (impl) => Terminal.of({
68631
68833
  const layer$9 = /*#__PURE__*/ effect(Terminal, /*#__PURE__*/ (/* @__PURE__ */ fnUntraced(function* (shouldQuit = defaultShouldQuit) {
68632
68834
  const stdin = process.stdin;
68633
68835
  const stdout = process.stdout;
68634
- const lines = yield* make$72();
68836
+ const lines = yield* make$74();
68635
68837
  let inputEnded = stdin.readableEnded;
68636
68838
  let readlineActive = false;
68637
68839
  const onStdinEnd = () => {
@@ -68640,7 +68842,7 @@ const layer$9 = /*#__PURE__*/ effect(Terminal, /*#__PURE__*/ (/* @__PURE__ */ fn
68640
68842
  };
68641
68843
  stdin.once("end", onStdinEnd);
68642
68844
  yield* addFinalizer(() => sync(() => stdin.off("end", onStdinEnd)));
68643
- const rlRef = yield* make$68({
68845
+ const rlRef = yield* make$70({
68644
68846
  acquire: acquireRelease(sync(() => {
68645
68847
  const rl = readline.createInterface({
68646
68848
  input: stdin,
@@ -68672,7 +68874,7 @@ const layer$9 = /*#__PURE__*/ effect(Terminal, /*#__PURE__*/ (/* @__PURE__ */ fn
68672
68874
  const setRawMode = (enabled) => sync(() => {
68673
68875
  if (stdin.isTTY) stdin.setRawMode(enabled);
68674
68876
  });
68675
- const rawModeRef = yield* make$68({
68877
+ const rawModeRef = yield* make$70({
68676
68878
  acquire: acquireRelease(setRawMode(true), () => setRawMode(false)),
68677
68879
  idleTimeToLive: "10 millis"
68678
68880
  });
@@ -68693,7 +68895,7 @@ const layer$9 = /*#__PURE__*/ effect(Terminal, /*#__PURE__*/ (/* @__PURE__ */ fn
68693
68895
  return queue;
68694
68896
  });
68695
68897
  const readInput = gen(function* () {
68696
- const queue = yield* make$72();
68898
+ const queue = yield* make$74();
68697
68899
  const handleKeypress = (s, k) => {
68698
68900
  const userInput = {
68699
68901
  input: fromUndefinedOr(s),
@@ -69512,7 +69714,7 @@ const TypeId$15 = "~effect/Cache";
69512
69714
  const makeWith = (lookup, options) => contextWith$1((context) => {
69513
69715
  const self = Object.create(Proto$8);
69514
69716
  self.lookup = (key) => updateContext$1(lookup(key), (input) => merge$4(context, input));
69515
- self.map = make$79();
69717
+ self.map = make$81();
69516
69718
  self.capacity = options.capacity;
69517
69719
  self.timeToLive = options.timeToLive ? (exit, key) => fromInputUnsafe$1(options.timeToLive(exit, key)) : defaultTimeToLive;
69518
69720
  return succeed$9(self);
@@ -72199,7 +72401,7 @@ var RateLimitError = class extends (/*#__PURE__*/ Error$1("effect/ai/AiError/Rat
72199
72401
  }
72200
72402
  get message() {
72201
72403
  let msg = "Rate limit exceeded";
72202
- if (this.retryAfter) msg += `. Retry after ${format$1(this.retryAfter)}`;
72404
+ if (this.retryAfter) msg += `. Retry after ${format$3(this.retryAfter)}`;
72203
72405
  return msg;
72204
72406
  }
72205
72407
  };
@@ -73846,7 +74048,7 @@ const FailureOrigin = /*#__PURE__*/ Reference("effect/ai/Toolkit/FailureOrigin",
73846
74048
  * @since 4.1.0
73847
74049
  */
73848
74050
  const PreliminaryBuffer = /*#__PURE__*/ Reference("effect/ai/Toolkit/PreliminaryBuffer", { defaultValue: () => "unbounded" });
73849
- const failureCause = (error, origin) => annotate$2(fail$9(error), make$85(FailureOrigin, origin));
74051
+ const failureCause = (error, origin) => annotate$2(fail$9(error), make$87(FailureOrigin, origin));
73850
74052
  const failureOrigin = (error) => isSchemaError(error) ? "result" : "handler";
73851
74053
  const Proto$4 = {
73852
74054
  .../*#__PURE__*/ Prototype({
@@ -73921,7 +74123,7 @@ const Proto$4 = {
73921
74123
  const decodedParams = decodedParamsResult.success;
73922
74124
  const capacity = yield* PreliminaryBuffer;
73923
74125
  if (capacity !== "unbounded" && !(Number.isInteger(capacity) && capacity > 0)) return yield* die$2(`Tool "${name}": PreliminaryBuffer must be a positive integer, got ${capacity}`);
73924
- const queue = yield* make$72(capacity === "unbounded" ? void 0 : { capacity });
74126
+ const queue = yield* make$74(capacity === "unbounded" ? void 0 : { capacity });
73925
74127
  const context = {
73926
74128
  toolCallId,
73927
74129
  preliminary: (result) => asVoid(offer(queue, {
@@ -73952,7 +74154,7 @@ const Proto$4 = {
73952
74154
  reason: error
73953
74155
  }) : error;
73954
74156
  };
73955
- return fromQueue(queue).pipe(tool.failureMode === "error" ? catchCause((cause) => failCause(map$6(fromReasons(cause.reasons.map((reason) => isFailReason(reason) ? reason.annotate(make$85(FailureOrigin, failureOrigin(reason.error)), { overwrite: true }) : reason)), normalizeError))) : catch_((error) => succeed$3({
74157
+ return fromQueue(queue).pipe(tool.failureMode === "error" ? catchCause((cause) => failCause(map$6(fromReasons(cause.reasons.map((reason) => isFailReason(reason) ? reason.annotate(make$87(FailureOrigin, failureOrigin(reason.error)), { overwrite: true }) : reason)), normalizeError))) : catch_((error) => succeed$3({
73956
74158
  result: normalizeError(error),
73957
74159
  isFailure: true,
73958
74160
  failureOrigin: failureOrigin(error),
@@ -80003,7 +80205,7 @@ const makeHandlers = (core, _lifecycle, context) => {
80003
80205
  const subscriptionMetadata = { "io.modelcontextprotocol/subscriptionId": requestId };
80004
80206
  const resourceSubscriptions = new Set(honored.resourceSubscriptions);
80005
80207
  const pending = yield* dropping(MAX_PENDING_SUBSCRIPTION_NOTIFICATIONS);
80006
- const overflowed = yield* make$82();
80208
+ const overflowed = yield* make$84();
80007
80209
  yield* gen(function* () {
80008
80210
  while (true) {
80009
80211
  const event = yield* take$1(events);
@@ -80520,7 +80722,7 @@ const getMiddleware = (context) => {
80520
80722
  };
80521
80723
  const isMcpError = (error) => hasProperty(error, "code") && typeof error.code === "number" && hasProperty(error, "message") && typeof error.message === "string";
80522
80724
  const HandlerFailure = /*#__PURE__*/ Reference("effect/ai/McpServer/HandlerFailure", { defaultValue: () => false });
80523
- const handlerFailure = /*#__PURE__*/ make$85(HandlerFailure, true);
80725
+ const handlerFailure = /*#__PURE__*/ make$87(HandlerFailure, true);
80524
80726
  const internalError = /*#__PURE__*/ new InternalError({ message: "Internal error" });
80525
80727
  const rejectWith = (error) => fail$8(new RequestRejected({
80526
80728
  code: error.code,
@@ -80626,7 +80828,7 @@ var McpServer = class McpServer extends (/*#__PURE__*/ Service$1()("effect/ai/Mc
80626
80828
  const resources = [];
80627
80829
  const resourceTemplates = [];
80628
80830
  const prompts = [];
80629
- const notificationsQueue = yield* make$72();
80831
+ const notificationsQueue = yield* make$74();
80630
80832
  const globalMiddleware = [];
80631
80833
  const notificationDelivery = {
80632
80834
  consumers: 0,
@@ -80638,7 +80840,7 @@ var McpServer = class McpServer extends (/*#__PURE__*/ Service$1()("effect/ai/Mc
80638
80840
  const dispatcher = (yield* Scheduler).makeDispatcher();
80639
80841
  const notifications = yield* makeNoSerialization$1(BroadcastServerNotificationRpcs, {
80640
80842
  spanPrefix: "McpServer/Notifications",
80641
- onFromClient: (options) => make$82().pipe(flatMap$2((delivered) => withFiber((fiber) => {
80843
+ onFromClient: (options) => make$84().pipe(flatMap$2((delivered) => withFiber((fiber) => {
80642
80844
  const message = options.message;
80643
80845
  if (message._tag !== "Request") return void_$1;
80644
80846
  const notification = toInternalServerNotification(message);
@@ -80702,7 +80904,7 @@ var McpServer = class McpServer extends (/*#__PURE__*/ Service$1()("effect/ai/Mc
80702
80904
  });
80703
80905
  const service = McpServer.of({
80704
80906
  notifications: notifications.client,
80705
- notifyElicitationComplete: ({ clientId, elicitationId }) => withoutSharedConsumer() ? void_$1 : make$82().pipe(flatMap$2((delivered) => offer(notificationsQueue, {
80907
+ notifyElicitationComplete: ({ clientId, elicitationId }) => withoutSharedConsumer() ? void_$1 : make$84().pipe(flatMap$2((delivered) => offer(notificationsQueue, {
80706
80908
  notification: ServerNotification.ElicitationComplete({ elicitationId }),
80707
80909
  targetClientId: clientId,
80708
80910
  delivered
@@ -81002,7 +81204,7 @@ const runWithRuntime = /*#__PURE__*/ fnUntraced(function* (options, runtime, tra
81002
81204
  defaultLogLevel,
81003
81205
  serverInfo: options
81004
81206
  }));
81005
- const clients = yield* make$70({
81207
+ const clients = yield* make$72({
81006
81208
  lookup: fnUntraced(function* (key) {
81007
81209
  const selectedProtocol = runtime.selectProtocol(key.profile.protocolVersion);
81008
81210
  let write;
@@ -81644,7 +81846,7 @@ const registerToolkit = /*#__PURE__*/ fnUntraced(function* (toolkit) {
81644
81846
  isError: false,
81645
81847
  content: []
81646
81848
  })) : successResult(result.encodedResult);
81647
- return result.failureOrigin === "handler" ? map$5(encodeReturnedFailure(result.encodedResult), failureResult) : failCause$3(annotate$2(fail$9(result.result), make$85(FailureOrigin, result.failureOrigin ?? "result")));
81849
+ return result.failureOrigin === "handler" ? map$5(encodeReturnedFailure(result.encodedResult), failureResult) : failCause$3(annotate$2(fail$9(result.result), make$87(FailureOrigin, result.failureOrigin ?? "result")));
81648
81850
  }), catchCause$2(handleCause));
81649
81851
  },
81650
81852
  services
@@ -83268,7 +83470,7 @@ const String$4 = /*#__PURE__*/ makePrimitive("String", (value) => succeed$5(valu
83268
83470
  */
83269
83471
  const Choice = (choices) => {
83270
83472
  const choiceMap = new Map(choices);
83271
- const validChoices = choices.map(([key]) => format$2(key)).join(" | ");
83473
+ const validChoices = choices.map(([key]) => format$4(key)).join(" | ");
83272
83474
  const primitive = makePrimitive("Choice", (value) => {
83273
83475
  if (choiceMap.has(value)) return succeed$5(choiceMap.get(value));
83274
83476
  return fail$8(validChoices);
@@ -83779,7 +83981,7 @@ const map$1 = /*#__PURE__*/ dual(2, (self, f) => flatMap(self, (a) => succeed(f(
83779
83981
  * @category constructors
83780
83982
  * @since 4.0.0
83781
83983
  */
83782
- const Password = (options) => basePrompt(options, "password").pipe(map$1(make$61));
83984
+ const Password = (options) => basePrompt(options, "password").pipe(map$1(make$63));
83783
83985
  /**
83784
83986
  * Runs a prompt by reading terminal input and rendering prompt frames until the
83785
83987
  * prompt submits a value.
@@ -89667,7 +89869,7 @@ const runWith = (command, config) => {
89667
89869
  }
89668
89870
  const services = match$8(logLevel, {
89669
89871
  onNone: () => empty$15(),
89670
- onSome: (level) => make$85(MinimumLogLevel, level)
89872
+ onSome: (level) => make$87(MinimumLogLevel, level)
89671
89873
  });
89672
89874
  yield* provideContext$2(program, services);
89673
89875
  }, catchFilter((error) => isCliError(error) && error._tag === "ShowHelp" ? succeed$10(error) : fail$13(error), (error) => andThen(showHelp(command, error, config.renderErrors !== false), fail$8(error))), catchFilter((error) => {
@@ -89917,8 +90119,8 @@ const make$6 = /*#__PURE__*/ fnUntraced(function* (options) {
89917
90119
  runExportFork(runExport);
89918
90120
  return awaitEmpty(exportFibers);
89919
90121
  }).pipe(ignore$1, interruptible, timeoutOption(options.shutdownTimeout)));
89920
- const armed = yield* make$76(exportsEmpty);
89921
- const wake = yield* make$76();
90122
+ const armed = yield* make$78(exportsEmpty);
90123
+ const wake = yield* make$78();
89922
90124
  const disarmIfEmpty = sync(() => {
89923
90125
  if (exportsEmpty || buffer.length > 0 || !armed.closeUnsafe()) return;
89924
90126
  wake.openUnsafe();
@@ -90064,7 +90266,7 @@ const unknownToAttributeValue = (value) => {
90064
90266
  case "bigint": return BigInt.asIntN(64, value) === value ? { intValue: String(value) } : { stringValue: String(value) };
90065
90267
  case "number": return Number.isInteger(value) && value >= -int64Bound && value < int64Bound ? { intValue: Number.isSafeInteger(value) ? value : String(BigInt(value)) } : { doubleValue: value };
90066
90268
  case "boolean": return { boolValue: value };
90067
- default: return { stringValue: format$2(value) };
90269
+ default: return { stringValue: format$4(value) };
90068
90270
  }
90069
90271
  };
90070
90272
  // ../../node_modules/.pnpm/effect@4.1.2/node_modules/effect/dist/observability/OtlpSerialization.js
@@ -90290,7 +90492,7 @@ const layer = /*#__PURE__*/ flow(/* @__PURE__ */ fnUntraced(function* (options)
90290
90492
  if (!span.sampled) return;
90291
90493
  exporter.push(makeOtlpSpan(span));
90292
90494
  }
90293
- return make$83({
90495
+ return make$85({
90294
90496
  span(options) {
90295
90497
  return new SpanImpl(options, exportFn);
90296
90498
  },
@@ -90534,6 +90736,13 @@ const adminIds = gen(function* () {
90534
90736
  function isAdmin(admins, id) {
90535
90737
  return contains(admins, replace("github:", "")(id));
90536
90738
  }
90739
+ function requireAdmin(admins, user, message) {
90740
+ if (isAdmin(admins, user.id)) return void_$1;
90741
+ return fail$8(AuthError.make({
90742
+ error: "access_denied",
90743
+ message
90744
+ }));
90745
+ }
90537
90746
  function rejected(message) {
90538
90747
  return mapError$2((cause) => {
90539
90748
  if (is$2(AuthError)(cause)) return cause;
@@ -91137,7 +91346,7 @@ const generateKeyPair = /*#__PURE__*/ fnUntraced(function* (options) {
91137
91346
  const privateJwk = yield* exportJwk(pair.privateKey, algorithm, kid);
91138
91347
  return {
91139
91348
  publicKey: publicJwk,
91140
- privateKey: make$61(privateJwk)
91349
+ privateKey: make$63(privateJwk)
91141
91350
  };
91142
91351
  });
91143
91352
  /**
@@ -91202,7 +91411,7 @@ const importPrivate = /*#__PURE__*/ fnUntraced(function* (input, algorithm) {
91202
91411
  * @category encoding
91203
91412
  * @since 4.1.1
91204
91413
  */
91205
- const exportPrivate = (key) => map$5(exportJwk(key.key, key.algorithm, key.kid), (jwk) => make$61(jwk));
91414
+ const exportPrivate = (key) => map$5(exportJwk(key.key, key.algorithm, key.kid), (jwk) => make$63(jwk));
91206
91415
  /**
91207
91416
  * Computes an RFC 7638 JWK thumbprint, encoded as unpadded base64url.
91208
91417
  *
@@ -91517,7 +91726,7 @@ const sign$1 = /*#__PURE__*/ fnUntraced(function* (payload, key, header) {
91517
91726
  let signature;
91518
91727
  if (key._tag === "SecretKey") signature = yield* (yield* Mac).sign(key.key, data).pipe(mapError$2(signFailure));
91519
91728
  else signature = yield* (yield* Signature).sign(key.key, data).pipe(mapError$2(signFailure));
91520
- return make$61(`${signingInput}.${encode$3(signature)}`);
91729
+ return make$63(`${signingInput}.${encode$3(signature)}`);
91521
91730
  });
91522
91731
  /**
91523
91732
  * Verifies a compact JWS with a key. The token's `alg` must be the key's
@@ -91828,7 +92037,7 @@ var Sessions = class Sessions extends Service$1()("@deslop/runtime/auth/sessions
91828
92037
  createdAt,
91829
92038
  expiresAt: now + tokens.expires_in * 1e3,
91830
92039
  lastUsedAt: now,
91831
- refresh: make$61(tokens.refresh_token),
92040
+ refresh: make$63(tokens.refresh_token),
91832
92041
  user: {
91833
92042
  id: claims.sub,
91834
92043
  name: claims.name
@@ -91919,7 +92128,7 @@ const unavailable = text("The authorization service is temporarily unavailable;
91919
92128
  status: 503
91920
92129
  });
91921
92130
  var Auth = class Auth extends Service$1()("@deslop/runtime/auth/service/Auth") {
91922
- static makeContext = (auth) => pipe(make$85(Auth, auth), add$1(RpcAuth, RpcAuth.of((effect, request) => pipe(auth.user(request.headers), flatMap$2((user) => raceFirst(provideService(effect, CurrentUser, user), pipe(delay(auth.user(request.headers), "5 minutes"), retry({ while: (error) => error.error === "temporarily_unavailable" }), forever)))))));
92131
+ static makeContext = (auth) => pipe(make$87(Auth, auth), add$1(RpcAuth, RpcAuth.of((effect, request) => pipe(auth.user(request.headers), flatMap$2((user) => raceFirst(provideService(effect, CurrentUser, user), pipe(delay(auth.user(request.headers), "5 minutes"), retry({ while: (error) => error.error === "temporarily_unavailable" }), forever)))))));
91923
92132
  static layer = unwrap$7(gen(function* () {
91924
92133
  if (yield* localAuth) return succeedContext(Auth.makeContext(Auth.of({
91925
92134
  token: () => fail$8(AuthError.make({ message: "There is no sign-in without --auth" })),
@@ -92078,7 +92287,7 @@ function layerKeyValueStore(directory) {
92078
92287
  const base = yield* KeyValueStore;
92079
92288
  const fs = yield* FileSystem;
92080
92289
  const path = yield* Path$1;
92081
- const writes = yield* make$71(1);
92290
+ const writes = yield* make$73(1);
92082
92291
  return make$20({
92083
92292
  ...omit(base, [
92084
92293
  "set",
@@ -92394,7 +92603,7 @@ function systemdArgument(value) {
92394
92603
  return `"${pipe(value, replaceAll("\\", "\\\\"), replaceAll("\"", "\\\""), replaceAll("%", "%%"), replaceAll("$", "$$$$"), replaceAll("\n", "\\n"), replaceAll("\r", "\\r"))}"`;
92395
92604
  }
92396
92605
  const execute = fnUntraced(function* (command, args) {
92397
- const process = yield* make$60(command, args, {
92606
+ const process = yield* make$62(command, args, {
92398
92607
  stderr: "pipe",
92399
92608
  stdout: "pipe"
92400
92609
  });
@@ -92570,7 +92779,7 @@ function server(app) {
92570
92779
  }))), provide$2(layerNodeHttpServer), provide$2(layerPlatform), launch);
92571
92780
  }
92572
92781
  function output(text) {
92573
- return flatMap$2(Stdio, (stdio) => run$7(make$67(text), stdio.stdout()));
92782
+ return flatMap$2(Stdio, (stdio) => run$7(make$69(text), stdio.stdout()));
92574
92783
  }
92575
92784
  function runApp(app) {
92576
92785
  const program = gen(function* () {
@@ -92823,6 +93032,34 @@ const AdmitParams = Struct({
92823
93032
  allow: Boolean$5,
92824
93033
  id: NonEmptyString
92825
93034
  });
93035
+ map$8([
93036
+ "0.0.0.0/8",
93037
+ "100.64.0.0/10",
93038
+ "192.0.0.0/24",
93039
+ "192.0.2.0/24",
93040
+ "192.31.196.0/24",
93041
+ "192.52.193.0/24",
93042
+ "192.88.99.0/24",
93043
+ "192.175.48.0/24",
93044
+ "198.18.0.0/15",
93045
+ "198.51.100.0/24",
93046
+ "203.0.113.0/24",
93047
+ "240.0.0.0/4",
93048
+ "100::/64",
93049
+ "2001::/23",
93050
+ "2001:db8::/32",
93051
+ "2002::/16",
93052
+ "2620:4f:8000::/48",
93053
+ "3fff::/20",
93054
+ "5f00::/16",
93055
+ "64:ff9b::/96",
93056
+ "64:ff9b:1::/48",
93057
+ "fec0::/10"
93058
+ ], (source) => getOrThrow(fromString$1(source)));
93059
+ function isPrivateAddress(ip) {
93060
+ if (isIpv4Address(ip)) return isPrivate(ip);
93061
+ return isUniqueLocal(ip);
93062
+ }
92826
93063
  // src/services/tokens/lib/utils.ts
92827
93064
  const WORKERS = {
92828
93065
  "77.237.236.132": "dev",
@@ -92883,10 +93120,6 @@ function parsedAddress(address) {
92883
93120
  return ip;
92884
93121
  }));
92885
93122
  }
92886
- function isPrivateOrUniqueLocal(ip) {
92887
- if (isIpv4Address(ip)) return isPrivate(ip);
92888
- return isUniqueLocal(ip);
92889
- }
92890
93123
  function addressGroup(address) {
92891
93124
  return match$8(parsedAddress(address), {
92892
93125
  onNone: () => address,
@@ -92934,7 +93167,7 @@ function browserLabel(origin) {
92934
93167
  }
92935
93168
  function deviceLabel(origin) {
92936
93169
  return pipe(flatMap$7(fromUndefinedOr(origin.address), (address) => {
92937
- if (exists(parsedAddress(address), (ip) => isLinkLocal(ip) || isLoopback(ip) || isPrivateOrUniqueLocal(ip))) return some$1("dev");
93170
+ if (exists(parsedAddress(address), (ip) => isLinkLocal(ip) || isLoopback(ip) || isPrivateAddress(ip))) return some$1("dev");
92938
93171
  return get$13(WORKERS, address);
92939
93172
  }), orElse$3(() => flatMap$7(fromUndefinedOr(origin.userAgent), platform)), getOrElse(() => origin.address ?? "unknown"));
92940
93173
  }
@@ -114731,8 +114964,8 @@ var Passkeys = class Passkeys extends Service$1()("@deslop/auth/services/passkey
114731
114964
  onFalse: () => "mp281x.xyz",
114732
114965
  onTrue: () => new URL(origin).hostname
114733
114966
  });
114734
- const registering = yield* make$58(empty$4());
114735
- const signingIn = yield* make$58(empty$4());
114967
+ const registering = yield* make$60(empty$4());
114968
+ const signingIn = yield* make$60(empty$4());
114736
114969
  const change = fnUntraced(function* (next) {
114737
114970
  yield* updateEffect(state, (current) => tap$1(next(current), (updated) => store.set("passkeys", updated)));
114738
114971
  }, uninterruptible);
@@ -115093,8 +115326,8 @@ var Tokens = class Tokens extends Service$1()("@deslop/auth/services/tokens/serv
115093
115326
  });
115094
115327
  const publicKey = yield* importPublic(publicJwk, "EdDSA");
115095
115328
  const signature = yield* Signature;
115096
- const codes = yield* make$58(empty$4());
115097
- const redeeming = yield* make$71(1);
115329
+ const codes = yield* make$60(empty$4());
115330
+ const redeeming = yield* make$73(1);
115098
115331
  const randomToken = randomTokenOf(yield* SecureRandom);
115099
115332
  const hash = hashOf(yield* Digest);
115100
115333
  const change = fnUntraced(function* (update) {
@@ -115429,12 +115662,9 @@ var People = class People extends Service$1()("@deslop/auth/services/people/serv
115429
115662
  if (local) return developer;
115430
115663
  return yield* allowed(yield* tokens.session(headers));
115431
115664
  });
115432
- const admin = fnUntraced(function* (user) {
115433
- if (!isAdmin(admins, user.id)) return yield* AuthError.make({
115434
- error: "access_denied",
115435
- message: "Only an admin can manage people"
115436
- });
115437
- });
115665
+ function admin(user) {
115666
+ return requireAdmin(admins, user, "Only an admin can manage people");
115667
+ }
115438
115668
  const list = fn("People.list")(function* (user) {
115439
115669
  yield* admin(user);
115440
115670
  return listPeople(yield* get(state), admins);
@@ -115516,7 +115746,7 @@ var People = class People extends Service$1()("@deslop/auth/services/people/serv
115516
115746
  return personOf(admins, removed);
115517
115747
  }, rejected("Cannot remove this account"))
115518
115748
  });
115519
- return pipe(make$85(People, people), add$1(RpcOwner, RpcOwner.of((effect, request) => flatMap$2(sessionOwner(request.headers), (owner) => provideService(effect, CurrentOwner, owner)))));
115749
+ return pipe(make$87(People, people), add$1(RpcOwner, RpcOwner.of((effect, request) => flatMap$2(sessionOwner(request.headers), (owner) => provideService(effect, CurrentOwner, owner)))));
115520
115750
  }));
115521
115751
  };
115522
115752
  const layerIssuerAuth = effectContext(gen(function* () {
@@ -120577,7 +120807,7 @@ var CompiledProcess = class {
120577
120807
  return this.requestTermination(requested).pipe(flatMap$2((accepted) => accepted ? forkDetach(this.settleRequestedTermination()).pipe(asVoid) : void_$1));
120578
120808
  }
120579
120809
  sendAcknowledgedEffect(event) {
120580
- return uninterruptibleMask((restore) => make$82().pipe(flatMap$2((deferred) => this.offerEvent(event, void 0, void 0, deferred).pipe(andThen(restore(_await(deferred)))))));
120810
+ return uninterruptibleMask((restore) => make$84().pipe(flatMap$2((deferred) => this.offerEvent(event, void 0, void 0, deferred).pipe(andThen(restore(_await(deferred)))))));
120581
120811
  }
120582
120812
  offerEvent(event, source, causedBy, deferred) {
120583
120813
  return suspend$2(() => {
@@ -121007,8 +121237,8 @@ const startGenericInternal = fnUntraced(function* (logic, options) {
121007
121237
  let initialMicrosteps;
121008
121238
  const mailbox = makeProcessMailbox();
121009
121239
  const emissions = options.emissions ?? makeEmissionRuntime();
121010
- const termination = yield* make$82();
121011
- const done = yield* make$82();
121240
+ const termination = yield* make$84();
121241
+ const done = yield* make$84();
121012
121242
  const awaitCompletion = _await(done).pipe(exit, asVoid);
121013
121243
  let initializing = true;
121014
121244
  let inFlightMessage;
@@ -121022,7 +121252,7 @@ const startGenericInternal = fnUntraced(function* (logic, options) {
121022
121252
  };
121023
121253
  return offerDirect(message, () => publishInspectedSent(inspector, subject, message));
121024
121254
  });
121025
- const sendAcknowledged = logic.execution?._tag !== "Compiled" ? void 0 : (event) => uninterruptibleMask((restore) => make$82().pipe(flatMap$2((deferred) => {
121255
+ const sendAcknowledged = logic.execution?._tag !== "Compiled" ? void 0 : (event) => uninterruptibleMask((restore) => make$84().pipe(flatMap$2((deferred) => {
121026
121256
  return (inspector === void 0 ? offerDirect({
121027
121257
  [AcknowledgedMessageTypeId]: true,
121028
121258
  event,
@@ -121412,7 +121642,7 @@ fnUntraced(function* (logic, strategy, options) {
121412
121642
  const inspection = yield* make$2(sessionId);
121413
121643
  runtime.inspection = inspection;
121414
121644
  const emissions = makeEmissionRuntime();
121415
- const started = yield* make$82();
121645
+ const started = yield* make$84();
121416
121646
  const internalOptions = options === void 0 ? {
121417
121647
  detached: true,
121418
121648
  emissions,
@@ -122941,7 +123171,7 @@ var SignIns = class SignIns extends Service$1()("@deslop/auth/services/sign-ins/
122941
123171
  const hash = hashOf(yield* Digest);
122942
123172
  const scope$2 = yield* scope;
122943
123173
  const open = yield* make$18(empty$4());
122944
- const answering = yield* make$71(1);
123174
+ const answering = yield* make$73(1);
122945
123175
  function find(code) {
122946
123176
  return map$5(get(open), get$4(typedCode(code)));
122947
123177
  }