holosphere 1.3.0-alpha4 → 1.3.0-alpha5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,9 +1,9 @@
1
1
  /**
2
- * HoloSphere ESM Bundle v1.3.0-alpha4
2
+ * HoloSphere ESM Bundle v1.3.0-alpha5
3
3
  * ES6 Module version with all dependencies bundled
4
4
  *
5
5
  * Usage:
6
- * import HoloSphere from 'https://unpkg.com/holosphere@1.3.0-alpha4/holosphere-bundle.esm.js';
6
+ * import HoloSphere from 'https://unpkg.com/holosphere@1.3.0-alpha5/holosphere-bundle.esm.js';
7
7
  * const hs = new HoloSphere('myapp');
8
8
  */
9
9
  var __create = Object.create;
@@ -42,9 +42,9 @@ var __toESM = (mod2, isNodeMode, target) => (target = mod2 != null ? __create(__
42
42
  mod2
43
43
  ));
44
44
 
45
- // node_modules/gun/gun.js
45
+ // node_modules/.pnpm/gun@0.2020.1241/node_modules/gun/gun.js
46
46
  var require_gun = __commonJS({
47
- "node_modules/gun/gun.js"(exports, module) {
47
+ "node_modules/.pnpm/gun@0.2020.1241/node_modules/gun/gun.js"(exports, module) {
48
48
  (function() {
49
49
  function USE(arg, req) {
50
50
  return req ? __require(arg) : arg.slice ? USE[R(arg)] : function(mod2, path) {
@@ -3132,16 +3132,16 @@ var require_gun = __commonJS({
3132
3132
  }
3133
3133
  });
3134
3134
 
3135
- // node_modules/gun/browser.js
3135
+ // node_modules/.pnpm/gun@0.2020.1241/node_modules/gun/browser.js
3136
3136
  var require_browser = __commonJS({
3137
- "node_modules/gun/browser.js"(exports, module) {
3137
+ "node_modules/.pnpm/gun@0.2020.1241/node_modules/gun/browser.js"(exports, module) {
3138
3138
  module.exports = require_gun();
3139
3139
  }
3140
3140
  });
3141
3141
 
3142
- // node_modules/ajv/dist/compile/codegen/code.js
3142
+ // node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/codegen/code.js
3143
3143
  var require_code = __commonJS({
3144
- "node_modules/ajv/dist/compile/codegen/code.js"(exports) {
3144
+ "node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/codegen/code.js"(exports) {
3145
3145
  "use strict";
3146
3146
  Object.defineProperty(exports, "__esModule", { value: true });
3147
3147
  exports.regexpCode = exports.getEsmExportName = exports.getProperty = exports.safeStringify = exports.stringify = exports.strConcat = exports.addCodeArg = exports.str = exports._ = exports.nil = exports._Code = exports.Name = exports.IDENTIFIER = exports._CodeOrName = void 0;
@@ -3293,9 +3293,9 @@ var require_code = __commonJS({
3293
3293
  }
3294
3294
  });
3295
3295
 
3296
- // node_modules/ajv/dist/compile/codegen/scope.js
3296
+ // node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/codegen/scope.js
3297
3297
  var require_scope = __commonJS({
3298
- "node_modules/ajv/dist/compile/codegen/scope.js"(exports) {
3298
+ "node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/codegen/scope.js"(exports) {
3299
3299
  "use strict";
3300
3300
  Object.defineProperty(exports, "__esModule", { value: true });
3301
3301
  exports.ValueScope = exports.ValueScopeName = exports.Scope = exports.varKinds = exports.UsedValueState = void 0;
@@ -3438,9 +3438,9 @@ var require_scope = __commonJS({
3438
3438
  }
3439
3439
  });
3440
3440
 
3441
- // node_modules/ajv/dist/compile/codegen/index.js
3441
+ // node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/codegen/index.js
3442
3442
  var require_codegen = __commonJS({
3443
- "node_modules/ajv/dist/compile/codegen/index.js"(exports) {
3443
+ "node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/codegen/index.js"(exports) {
3444
3444
  "use strict";
3445
3445
  Object.defineProperty(exports, "__esModule", { value: true });
3446
3446
  exports.or = exports.and = exports.not = exports.CodeGen = exports.operators = exports.varKinds = exports.ValueScopeName = exports.ValueScope = exports.Scope = exports.Name = exports.regexpCode = exports.stringify = exports.getProperty = exports.nil = exports.strConcat = exports.str = exports._ = void 0;
@@ -4158,9 +4158,9 @@ var require_codegen = __commonJS({
4158
4158
  }
4159
4159
  });
4160
4160
 
4161
- // node_modules/ajv/dist/compile/util.js
4161
+ // node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/util.js
4162
4162
  var require_util = __commonJS({
4163
- "node_modules/ajv/dist/compile/util.js"(exports) {
4163
+ "node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/util.js"(exports) {
4164
4164
  "use strict";
4165
4165
  Object.defineProperty(exports, "__esModule", { value: true });
4166
4166
  exports.checkStrictMode = exports.getErrorPath = exports.Type = exports.useFunc = exports.setEvaluated = exports.evaluatedPropsToName = exports.mergeEvaluated = exports.eachItem = exports.unescapeJsonPointer = exports.escapeJsonPointer = exports.escapeFragment = exports.unescapeFragment = exports.schemaRefOrVal = exports.schemaHasRulesButRef = exports.schemaHasRules = exports.checkUnknownRules = exports.alwaysValidSchema = exports.toHash = void 0;
@@ -4325,9 +4325,9 @@ var require_util = __commonJS({
4325
4325
  }
4326
4326
  });
4327
4327
 
4328
- // node_modules/ajv/dist/compile/names.js
4328
+ // node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/names.js
4329
4329
  var require_names = __commonJS({
4330
- "node_modules/ajv/dist/compile/names.js"(exports) {
4330
+ "node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/names.js"(exports) {
4331
4331
  "use strict";
4332
4332
  Object.defineProperty(exports, "__esModule", { value: true });
4333
4333
  var codegen_1 = require_codegen();
@@ -4364,9 +4364,9 @@ var require_names = __commonJS({
4364
4364
  }
4365
4365
  });
4366
4366
 
4367
- // node_modules/ajv/dist/compile/errors.js
4367
+ // node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/errors.js
4368
4368
  var require_errors = __commonJS({
4369
- "node_modules/ajv/dist/compile/errors.js"(exports) {
4369
+ "node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/errors.js"(exports) {
4370
4370
  "use strict";
4371
4371
  Object.defineProperty(exports, "__esModule", { value: true });
4372
4372
  exports.extendErrors = exports.resetErrorsCount = exports.reportExtraError = exports.reportError = exports.keyword$DataError = exports.keywordError = void 0;
@@ -4486,9 +4486,9 @@ var require_errors = __commonJS({
4486
4486
  }
4487
4487
  });
4488
4488
 
4489
- // node_modules/ajv/dist/compile/validate/boolSchema.js
4489
+ // node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/validate/boolSchema.js
4490
4490
  var require_boolSchema = __commonJS({
4491
- "node_modules/ajv/dist/compile/validate/boolSchema.js"(exports) {
4491
+ "node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/validate/boolSchema.js"(exports) {
4492
4492
  "use strict";
4493
4493
  Object.defineProperty(exports, "__esModule", { value: true });
4494
4494
  exports.boolOrEmptySchema = exports.topBoolOrEmptySchema = void 0;
@@ -4537,9 +4537,9 @@ var require_boolSchema = __commonJS({
4537
4537
  }
4538
4538
  });
4539
4539
 
4540
- // node_modules/ajv/dist/compile/rules.js
4540
+ // node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/rules.js
4541
4541
  var require_rules = __commonJS({
4542
- "node_modules/ajv/dist/compile/rules.js"(exports) {
4542
+ "node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/rules.js"(exports) {
4543
4543
  "use strict";
4544
4544
  Object.defineProperty(exports, "__esModule", { value: true });
4545
4545
  exports.getRules = exports.isJSONType = void 0;
@@ -4568,9 +4568,9 @@ var require_rules = __commonJS({
4568
4568
  }
4569
4569
  });
4570
4570
 
4571
- // node_modules/ajv/dist/compile/validate/applicability.js
4571
+ // node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/validate/applicability.js
4572
4572
  var require_applicability = __commonJS({
4573
- "node_modules/ajv/dist/compile/validate/applicability.js"(exports) {
4573
+ "node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/validate/applicability.js"(exports) {
4574
4574
  "use strict";
4575
4575
  Object.defineProperty(exports, "__esModule", { value: true });
4576
4576
  exports.shouldUseRule = exports.shouldUseGroup = exports.schemaHasRulesForType = void 0;
@@ -4591,9 +4591,9 @@ var require_applicability = __commonJS({
4591
4591
  }
4592
4592
  });
4593
4593
 
4594
- // node_modules/ajv/dist/compile/validate/dataType.js
4594
+ // node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/validate/dataType.js
4595
4595
  var require_dataType = __commonJS({
4596
- "node_modules/ajv/dist/compile/validate/dataType.js"(exports) {
4596
+ "node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/validate/dataType.js"(exports) {
4597
4597
  "use strict";
4598
4598
  Object.defineProperty(exports, "__esModule", { value: true });
4599
4599
  exports.reportTypeError = exports.checkDataTypes = exports.checkDataType = exports.coerceAndCheckDataType = exports.getJSONTypes = exports.getSchemaTypes = exports.DataType = void 0;
@@ -4775,9 +4775,9 @@ var require_dataType = __commonJS({
4775
4775
  }
4776
4776
  });
4777
4777
 
4778
- // node_modules/ajv/dist/compile/validate/defaults.js
4778
+ // node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/validate/defaults.js
4779
4779
  var require_defaults = __commonJS({
4780
- "node_modules/ajv/dist/compile/validate/defaults.js"(exports) {
4780
+ "node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/validate/defaults.js"(exports) {
4781
4781
  "use strict";
4782
4782
  Object.defineProperty(exports, "__esModule", { value: true });
4783
4783
  exports.assignDefaults = void 0;
@@ -4812,9 +4812,9 @@ var require_defaults = __commonJS({
4812
4812
  }
4813
4813
  });
4814
4814
 
4815
- // node_modules/ajv/dist/vocabularies/code.js
4815
+ // node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/code.js
4816
4816
  var require_code2 = __commonJS({
4817
- "node_modules/ajv/dist/vocabularies/code.js"(exports) {
4817
+ "node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/code.js"(exports) {
4818
4818
  "use strict";
4819
4819
  Object.defineProperty(exports, "__esModule", { value: true });
4820
4820
  exports.validateUnion = exports.validateArray = exports.usePattern = exports.callValidateCode = exports.schemaProperties = exports.allSchemaProperties = exports.noPropertyInData = exports.propertyInData = exports.isOwnProperty = exports.hasPropFunc = exports.reportMissingProp = exports.checkMissingProp = exports.checkReportMissingProp = void 0;
@@ -4945,9 +4945,9 @@ var require_code2 = __commonJS({
4945
4945
  }
4946
4946
  });
4947
4947
 
4948
- // node_modules/ajv/dist/compile/validate/keyword.js
4948
+ // node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/validate/keyword.js
4949
4949
  var require_keyword = __commonJS({
4950
- "node_modules/ajv/dist/compile/validate/keyword.js"(exports) {
4950
+ "node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/validate/keyword.js"(exports) {
4951
4951
  "use strict";
4952
4952
  Object.defineProperty(exports, "__esModule", { value: true });
4953
4953
  exports.validateKeywordUsage = exports.validSchemaType = exports.funcKeywordCode = exports.macroKeywordCode = void 0;
@@ -5063,9 +5063,9 @@ var require_keyword = __commonJS({
5063
5063
  }
5064
5064
  });
5065
5065
 
5066
- // node_modules/ajv/dist/compile/validate/subschema.js
5066
+ // node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/validate/subschema.js
5067
5067
  var require_subschema = __commonJS({
5068
- "node_modules/ajv/dist/compile/validate/subschema.js"(exports) {
5068
+ "node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/validate/subschema.js"(exports) {
5069
5069
  "use strict";
5070
5070
  Object.defineProperty(exports, "__esModule", { value: true });
5071
5071
  exports.extendSubschemaMode = exports.extendSubschemaData = exports.getSubschema = void 0;
@@ -5146,9 +5146,9 @@ var require_subschema = __commonJS({
5146
5146
  }
5147
5147
  });
5148
5148
 
5149
- // node_modules/fast-deep-equal/index.js
5149
+ // node_modules/.pnpm/fast-deep-equal@3.1.3/node_modules/fast-deep-equal/index.js
5150
5150
  var require_fast_deep_equal = __commonJS({
5151
- "node_modules/fast-deep-equal/index.js"(exports, module) {
5151
+ "node_modules/.pnpm/fast-deep-equal@3.1.3/node_modules/fast-deep-equal/index.js"(exports, module) {
5152
5152
  "use strict";
5153
5153
  module.exports = function equal(a, b) {
5154
5154
  if (a === b) return true;
@@ -5181,9 +5181,9 @@ var require_fast_deep_equal = __commonJS({
5181
5181
  }
5182
5182
  });
5183
5183
 
5184
- // node_modules/json-schema-traverse/index.js
5184
+ // node_modules/.pnpm/json-schema-traverse@1.0.0/node_modules/json-schema-traverse/index.js
5185
5185
  var require_json_schema_traverse = __commonJS({
5186
- "node_modules/json-schema-traverse/index.js"(exports, module) {
5186
+ "node_modules/.pnpm/json-schema-traverse@1.0.0/node_modules/json-schema-traverse/index.js"(exports, module) {
5187
5187
  "use strict";
5188
5188
  var traverse = module.exports = function(schema, opts, cb) {
5189
5189
  if (typeof opts == "function") {
@@ -5269,9 +5269,9 @@ var require_json_schema_traverse = __commonJS({
5269
5269
  }
5270
5270
  });
5271
5271
 
5272
- // node_modules/ajv/dist/compile/resolve.js
5272
+ // node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/resolve.js
5273
5273
  var require_resolve = __commonJS({
5274
- "node_modules/ajv/dist/compile/resolve.js"(exports) {
5274
+ "node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/resolve.js"(exports) {
5275
5275
  "use strict";
5276
5276
  Object.defineProperty(exports, "__esModule", { value: true });
5277
5277
  exports.getSchemaRefs = exports.resolveUrl = exports.normalizeId = exports._getFullPath = exports.getFullPath = exports.inlineRef = void 0;
@@ -5425,9 +5425,9 @@ var require_resolve = __commonJS({
5425
5425
  }
5426
5426
  });
5427
5427
 
5428
- // node_modules/ajv/dist/compile/validate/index.js
5428
+ // node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/validate/index.js
5429
5429
  var require_validate = __commonJS({
5430
- "node_modules/ajv/dist/compile/validate/index.js"(exports) {
5430
+ "node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/validate/index.js"(exports) {
5431
5431
  "use strict";
5432
5432
  Object.defineProperty(exports, "__esModule", { value: true });
5433
5433
  exports.getData = exports.KeywordCxt = exports.validateFunctionCode = void 0;
@@ -5933,9 +5933,9 @@ var require_validate = __commonJS({
5933
5933
  }
5934
5934
  });
5935
5935
 
5936
- // node_modules/ajv/dist/runtime/validation_error.js
5936
+ // node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/runtime/validation_error.js
5937
5937
  var require_validation_error = __commonJS({
5938
- "node_modules/ajv/dist/runtime/validation_error.js"(exports) {
5938
+ "node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/runtime/validation_error.js"(exports) {
5939
5939
  "use strict";
5940
5940
  Object.defineProperty(exports, "__esModule", { value: true });
5941
5941
  var ValidationError = class extends Error {
@@ -5949,9 +5949,9 @@ var require_validation_error = __commonJS({
5949
5949
  }
5950
5950
  });
5951
5951
 
5952
- // node_modules/ajv/dist/compile/ref_error.js
5952
+ // node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/ref_error.js
5953
5953
  var require_ref_error = __commonJS({
5954
- "node_modules/ajv/dist/compile/ref_error.js"(exports) {
5954
+ "node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/ref_error.js"(exports) {
5955
5955
  "use strict";
5956
5956
  Object.defineProperty(exports, "__esModule", { value: true });
5957
5957
  var resolve_1 = require_resolve();
@@ -5966,9 +5966,9 @@ var require_ref_error = __commonJS({
5966
5966
  }
5967
5967
  });
5968
5968
 
5969
- // node_modules/ajv/dist/compile/index.js
5969
+ // node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/index.js
5970
5970
  var require_compile = __commonJS({
5971
- "node_modules/ajv/dist/compile/index.js"(exports) {
5971
+ "node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/index.js"(exports) {
5972
5972
  "use strict";
5973
5973
  Object.defineProperty(exports, "__esModule", { value: true });
5974
5974
  exports.resolveSchema = exports.getCompilingSchema = exports.resolveRef = exports.compileSchema = exports.SchemaEnv = void 0;
@@ -6190,9 +6190,9 @@ var require_compile = __commonJS({
6190
6190
  }
6191
6191
  });
6192
6192
 
6193
- // node_modules/ajv/dist/refs/data.json
6193
+ // node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/refs/data.json
6194
6194
  var require_data = __commonJS({
6195
- "node_modules/ajv/dist/refs/data.json"(exports, module) {
6195
+ "node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/refs/data.json"(exports, module) {
6196
6196
  module.exports = {
6197
6197
  $id: "https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#",
6198
6198
  description: "Meta-schema for $data reference (JSON AnySchema extension proposal)",
@@ -6209,12 +6209,15 @@ var require_data = __commonJS({
6209
6209
  }
6210
6210
  });
6211
6211
 
6212
- // node_modules/fast-uri/lib/utils.js
6212
+ // node_modules/.pnpm/fast-uri@3.1.2/node_modules/fast-uri/lib/utils.js
6213
6213
  var require_utils = __commonJS({
6214
- "node_modules/fast-uri/lib/utils.js"(exports, module) {
6214
+ "node_modules/.pnpm/fast-uri@3.1.2/node_modules/fast-uri/lib/utils.js"(exports, module) {
6215
6215
  "use strict";
6216
6216
  var isUUID = RegExp.prototype.test.bind(/^[\da-f]{8}-[\da-f]{4}-[\da-f]{4}-[\da-f]{4}-[\da-f]{12}$/iu);
6217
6217
  var isIPv4 = RegExp.prototype.test.bind(/^(?:(?:25[0-5]|2[0-4]\d|1\d{2}|[1-9]\d|\d)\.){3}(?:25[0-5]|2[0-4]\d|1\d{2}|[1-9]\d|\d)$/u);
6218
+ var isHexPair = RegExp.prototype.test.bind(/^[\da-f]{2}$/iu);
6219
+ var isUnreserved = RegExp.prototype.test.bind(/^[\da-z\-._~]$/iu);
6220
+ var isPathCharacter = RegExp.prototype.test.bind(/^[\da-z\-._~!$&'()*+,;=:@/]$/iu);
6218
6221
  function stringArrayToHexStripped(input) {
6219
6222
  let acc = "";
6220
6223
  let code = 0;
@@ -6407,27 +6410,77 @@ var require_utils = __commonJS({
6407
6410
  }
6408
6411
  return output.join("");
6409
6412
  }
6410
- function normalizeComponentEncoding(component, esc) {
6411
- const func = esc !== true ? escape : unescape;
6412
- if (component.scheme !== void 0) {
6413
- component.scheme = func(component.scheme);
6414
- }
6415
- if (component.userinfo !== void 0) {
6416
- component.userinfo = func(component.userinfo);
6417
- }
6418
- if (component.host !== void 0) {
6419
- component.host = func(component.host);
6413
+ var HOST_DELIMS = { "@": "%40", "/": "%2F", "?": "%3F", "#": "%23", ":": "%3A" };
6414
+ var HOST_DELIM_RE = /[@/?#:]/g;
6415
+ var HOST_DELIM_NO_COLON_RE = /[@/?#]/g;
6416
+ function reescapeHostDelimiters(host, isIP) {
6417
+ const re = isIP ? HOST_DELIM_NO_COLON_RE : HOST_DELIM_RE;
6418
+ re.lastIndex = 0;
6419
+ return host.replace(re, (ch) => HOST_DELIMS[ch]);
6420
+ }
6421
+ function normalizePercentEncoding(input, decodeUnreserved = false) {
6422
+ if (input.indexOf("%") === -1) {
6423
+ return input;
6420
6424
  }
6421
- if (component.path !== void 0) {
6422
- component.path = func(component.path);
6425
+ let output = "";
6426
+ for (let i = 0; i < input.length; i++) {
6427
+ if (input[i] === "%" && i + 2 < input.length) {
6428
+ const hex = input.slice(i + 1, i + 3);
6429
+ if (isHexPair(hex)) {
6430
+ const normalizedHex = hex.toUpperCase();
6431
+ const decoded = String.fromCharCode(parseInt(normalizedHex, 16));
6432
+ if (decodeUnreserved && isUnreserved(decoded)) {
6433
+ output += decoded;
6434
+ } else {
6435
+ output += "%" + normalizedHex;
6436
+ }
6437
+ i += 2;
6438
+ continue;
6439
+ }
6440
+ }
6441
+ output += input[i];
6423
6442
  }
6424
- if (component.query !== void 0) {
6425
- component.query = func(component.query);
6443
+ return output;
6444
+ }
6445
+ function normalizePathEncoding(input) {
6446
+ let output = "";
6447
+ for (let i = 0; i < input.length; i++) {
6448
+ if (input[i] === "%" && i + 2 < input.length) {
6449
+ const hex = input.slice(i + 1, i + 3);
6450
+ if (isHexPair(hex)) {
6451
+ const normalizedHex = hex.toUpperCase();
6452
+ const decoded = String.fromCharCode(parseInt(normalizedHex, 16));
6453
+ if (decoded !== "." && isUnreserved(decoded)) {
6454
+ output += decoded;
6455
+ } else {
6456
+ output += "%" + normalizedHex;
6457
+ }
6458
+ i += 2;
6459
+ continue;
6460
+ }
6461
+ }
6462
+ if (isPathCharacter(input[i])) {
6463
+ output += input[i];
6464
+ } else {
6465
+ output += escape(input[i]);
6466
+ }
6426
6467
  }
6427
- if (component.fragment !== void 0) {
6428
- component.fragment = func(component.fragment);
6468
+ return output;
6469
+ }
6470
+ function escapePreservingEscapes(input) {
6471
+ let output = "";
6472
+ for (let i = 0; i < input.length; i++) {
6473
+ if (input[i] === "%" && i + 2 < input.length) {
6474
+ const hex = input.slice(i + 1, i + 3);
6475
+ if (isHexPair(hex)) {
6476
+ output += "%" + hex.toUpperCase();
6477
+ i += 2;
6478
+ continue;
6479
+ }
6480
+ }
6481
+ output += escape(input[i]);
6429
6482
  }
6430
- return component;
6483
+ return output;
6431
6484
  }
6432
6485
  function recomposeAuthority(component) {
6433
6486
  const uriTokens = [];
@@ -6442,7 +6495,7 @@ var require_utils = __commonJS({
6442
6495
  if (ipV6res.isIPV6 === true) {
6443
6496
  host = `[${ipV6res.escapedHost}]`;
6444
6497
  } else {
6445
- host = component.host;
6498
+ host = reescapeHostDelimiters(host, false);
6446
6499
  }
6447
6500
  }
6448
6501
  uriTokens.push(host);
@@ -6456,7 +6509,10 @@ var require_utils = __commonJS({
6456
6509
  module.exports = {
6457
6510
  nonSimpleDomain,
6458
6511
  recomposeAuthority,
6459
- normalizeComponentEncoding,
6512
+ reescapeHostDelimiters,
6513
+ normalizePercentEncoding,
6514
+ normalizePathEncoding,
6515
+ escapePreservingEscapes,
6460
6516
  removeDotSegments,
6461
6517
  isIPv4,
6462
6518
  isUUID,
@@ -6466,9 +6522,9 @@ var require_utils = __commonJS({
6466
6522
  }
6467
6523
  });
6468
6524
 
6469
- // node_modules/fast-uri/lib/schemes.js
6525
+ // node_modules/.pnpm/fast-uri@3.1.2/node_modules/fast-uri/lib/schemes.js
6470
6526
  var require_schemes = __commonJS({
6471
- "node_modules/fast-uri/lib/schemes.js"(exports, module) {
6527
+ "node_modules/.pnpm/fast-uri@3.1.2/node_modules/fast-uri/lib/schemes.js"(exports, module) {
6472
6528
  "use strict";
6473
6529
  var { isUUID } = require_utils();
6474
6530
  var URN_REG = /([\da-z][\d\-a-z]{0,31}):((?:[\w!$'()*+,\-.:;=@]|%[\da-f]{2})+)/iu;
@@ -6676,16 +6732,16 @@ var require_schemes = __commonJS({
6676
6732
  }
6677
6733
  });
6678
6734
 
6679
- // node_modules/fast-uri/index.js
6735
+ // node_modules/.pnpm/fast-uri@3.1.2/node_modules/fast-uri/index.js
6680
6736
  var require_fast_uri = __commonJS({
6681
- "node_modules/fast-uri/index.js"(exports, module) {
6737
+ "node_modules/.pnpm/fast-uri@3.1.2/node_modules/fast-uri/index.js"(exports, module) {
6682
6738
  "use strict";
6683
- var { normalizeIPv6, removeDotSegments, recomposeAuthority, normalizeComponentEncoding, isIPv4, nonSimpleDomain } = require_utils();
6739
+ var { normalizeIPv6, removeDotSegments, recomposeAuthority, normalizePercentEncoding, normalizePathEncoding, escapePreservingEscapes, reescapeHostDelimiters, isIPv4, nonSimpleDomain } = require_utils();
6684
6740
  var { SCHEMES, getSchemeHandler } = require_schemes();
6685
6741
  function normalize(uri, options) {
6686
6742
  if (typeof uri === "string") {
6687
6743
  uri = /** @type {T} */
6688
- serialize(parse2(uri, options), options);
6744
+ normalizeString(uri, options);
6689
6745
  } else if (typeof uri === "object") {
6690
6746
  uri = /** @type {T} */
6691
6747
  parse2(serialize(uri, options), options);
@@ -6752,19 +6808,9 @@ var require_fast_uri = __commonJS({
6752
6808
  return target;
6753
6809
  }
6754
6810
  function equal(uriA, uriB, options) {
6755
- if (typeof uriA === "string") {
6756
- uriA = unescape(uriA);
6757
- uriA = serialize(normalizeComponentEncoding(parse2(uriA, options), true), { ...options, skipEscape: true });
6758
- } else if (typeof uriA === "object") {
6759
- uriA = serialize(normalizeComponentEncoding(uriA, true), { ...options, skipEscape: true });
6760
- }
6761
- if (typeof uriB === "string") {
6762
- uriB = unescape(uriB);
6763
- uriB = serialize(normalizeComponentEncoding(parse2(uriB, options), true), { ...options, skipEscape: true });
6764
- } else if (typeof uriB === "object") {
6765
- uriB = serialize(normalizeComponentEncoding(uriB, true), { ...options, skipEscape: true });
6766
- }
6767
- return uriA.toLowerCase() === uriB.toLowerCase();
6811
+ const normalizedA = normalizeComparableURI(uriA, options);
6812
+ const normalizedB = normalizeComparableURI(uriB, options);
6813
+ return normalizedA !== void 0 && normalizedB !== void 0 && normalizedA.toLowerCase() === normalizedB.toLowerCase();
6768
6814
  }
6769
6815
  function serialize(cmpts, opts) {
6770
6816
  const component = {
@@ -6789,12 +6835,12 @@ var require_fast_uri = __commonJS({
6789
6835
  if (schemeHandler && schemeHandler.serialize) schemeHandler.serialize(component, options);
6790
6836
  if (component.path !== void 0) {
6791
6837
  if (!options.skipEscape) {
6792
- component.path = escape(component.path);
6838
+ component.path = escapePreservingEscapes(component.path);
6793
6839
  if (component.scheme !== void 0) {
6794
6840
  component.path = component.path.split("%3A").join(":");
6795
6841
  }
6796
6842
  } else {
6797
- component.path = unescape(component.path);
6843
+ component.path = normalizePercentEncoding(component.path);
6798
6844
  }
6799
6845
  }
6800
6846
  if (options.reference !== "suffix" && component.scheme) {
@@ -6829,7 +6875,16 @@ var require_fast_uri = __commonJS({
6829
6875
  return uriTokens.join("");
6830
6876
  }
6831
6877
  var URI_PARSE = /^(?:([^#/:?]+):)?(?:\/\/((?:([^#/?@]*)@)?(\[[^#/?\]]+\]|[^#/:?]*)(?::(\d*))?))?([^#?]*)(?:\?([^#]*))?(?:#((?:.|[\n\r])*))?/u;
6832
- function parse2(uri, opts) {
6878
+ function getParseError(parsed, matches) {
6879
+ if (matches[2] !== void 0 && parsed.path && parsed.path[0] !== "/") {
6880
+ return 'URI path must start with "/" when authority is present.';
6881
+ }
6882
+ if (typeof parsed.port === "number" && (parsed.port < 0 || parsed.port > 65535)) {
6883
+ return "URI port is malformed.";
6884
+ }
6885
+ return void 0;
6886
+ }
6887
+ function parseWithStatus(uri, opts) {
6833
6888
  const options = Object.assign({}, opts);
6834
6889
  const parsed = {
6835
6890
  scheme: void 0,
@@ -6840,6 +6895,7 @@ var require_fast_uri = __commonJS({
6840
6895
  query: void 0,
6841
6896
  fragment: void 0
6842
6897
  };
6898
+ let malformedAuthorityOrPort = false;
6843
6899
  let isIP = false;
6844
6900
  if (options.reference === "suffix") {
6845
6901
  if (options.scheme) {
@@ -6860,6 +6916,11 @@ var require_fast_uri = __commonJS({
6860
6916
  if (isNaN(parsed.port)) {
6861
6917
  parsed.port = matches[5];
6862
6918
  }
6919
+ const parseError = getParseError(parsed, matches);
6920
+ if (parseError !== void 0) {
6921
+ parsed.error = parsed.error || parseError;
6922
+ malformedAuthorityOrPort = true;
6923
+ }
6863
6924
  if (parsed.host) {
6864
6925
  const ipv4result = isIPv4(parsed.host);
6865
6926
  if (ipv4result === false) {
@@ -6898,14 +6959,18 @@ var require_fast_uri = __commonJS({
6898
6959
  parsed.scheme = unescape(parsed.scheme);
6899
6960
  }
6900
6961
  if (parsed.host !== void 0) {
6901
- parsed.host = unescape(parsed.host);
6962
+ parsed.host = reescapeHostDelimiters(unescape(parsed.host), isIP);
6902
6963
  }
6903
6964
  }
6904
6965
  if (parsed.path) {
6905
- parsed.path = escape(unescape(parsed.path));
6966
+ parsed.path = normalizePathEncoding(parsed.path);
6906
6967
  }
6907
6968
  if (parsed.fragment) {
6908
- parsed.fragment = encodeURI(decodeURIComponent(parsed.fragment));
6969
+ try {
6970
+ parsed.fragment = encodeURI(decodeURIComponent(parsed.fragment));
6971
+ } catch {
6972
+ parsed.error = parsed.error || "URI malformed";
6973
+ }
6909
6974
  }
6910
6975
  }
6911
6976
  if (schemeHandler && schemeHandler.parse) {
@@ -6914,7 +6979,29 @@ var require_fast_uri = __commonJS({
6914
6979
  } else {
6915
6980
  parsed.error = parsed.error || "URI can not be parsed.";
6916
6981
  }
6917
- return parsed;
6982
+ return { parsed, malformedAuthorityOrPort };
6983
+ }
6984
+ function parse2(uri, opts) {
6985
+ return parseWithStatus(uri, opts).parsed;
6986
+ }
6987
+ function normalizeString(uri, opts) {
6988
+ return normalizeStringWithStatus(uri, opts).normalized;
6989
+ }
6990
+ function normalizeStringWithStatus(uri, opts) {
6991
+ const { parsed, malformedAuthorityOrPort } = parseWithStatus(uri, opts);
6992
+ return {
6993
+ normalized: malformedAuthorityOrPort ? uri : serialize(parsed, opts),
6994
+ malformedAuthorityOrPort
6995
+ };
6996
+ }
6997
+ function normalizeComparableURI(uri, opts) {
6998
+ if (typeof uri === "string") {
6999
+ const { normalized, malformedAuthorityOrPort } = normalizeStringWithStatus(uri, opts);
7000
+ return malformedAuthorityOrPort ? void 0 : normalized;
7001
+ }
7002
+ if (typeof uri === "object") {
7003
+ return serialize(uri, opts);
7004
+ }
6918
7005
  }
6919
7006
  var fastUri = {
6920
7007
  SCHEMES,
@@ -6931,9 +7018,9 @@ var require_fast_uri = __commonJS({
6931
7018
  }
6932
7019
  });
6933
7020
 
6934
- // node_modules/ajv/dist/runtime/uri.js
7021
+ // node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/runtime/uri.js
6935
7022
  var require_uri = __commonJS({
6936
- "node_modules/ajv/dist/runtime/uri.js"(exports) {
7023
+ "node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/runtime/uri.js"(exports) {
6937
7024
  "use strict";
6938
7025
  Object.defineProperty(exports, "__esModule", { value: true });
6939
7026
  var uri = require_fast_uri();
@@ -6942,9 +7029,9 @@ var require_uri = __commonJS({
6942
7029
  }
6943
7030
  });
6944
7031
 
6945
- // node_modules/ajv/dist/core.js
7032
+ // node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/core.js
6946
7033
  var require_core = __commonJS({
6947
- "node_modules/ajv/dist/core.js"(exports) {
7034
+ "node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/core.js"(exports) {
6948
7035
  "use strict";
6949
7036
  Object.defineProperty(exports, "__esModule", { value: true });
6950
7037
  exports.CodeGen = exports.Name = exports.nil = exports.stringify = exports.str = exports._ = exports.KeywordCxt = void 0;
@@ -7553,9 +7640,9 @@ var require_core = __commonJS({
7553
7640
  }
7554
7641
  });
7555
7642
 
7556
- // node_modules/ajv/dist/vocabularies/core/id.js
7643
+ // node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/core/id.js
7557
7644
  var require_id = __commonJS({
7558
- "node_modules/ajv/dist/vocabularies/core/id.js"(exports) {
7645
+ "node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/core/id.js"(exports) {
7559
7646
  "use strict";
7560
7647
  Object.defineProperty(exports, "__esModule", { value: true });
7561
7648
  var def = {
@@ -7568,9 +7655,9 @@ var require_id = __commonJS({
7568
7655
  }
7569
7656
  });
7570
7657
 
7571
- // node_modules/ajv/dist/vocabularies/core/ref.js
7658
+ // node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/core/ref.js
7572
7659
  var require_ref = __commonJS({
7573
- "node_modules/ajv/dist/vocabularies/core/ref.js"(exports) {
7660
+ "node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/core/ref.js"(exports) {
7574
7661
  "use strict";
7575
7662
  Object.defineProperty(exports, "__esModule", { value: true });
7576
7663
  exports.callRef = exports.getValidate = void 0;
@@ -7690,9 +7777,9 @@ var require_ref = __commonJS({
7690
7777
  }
7691
7778
  });
7692
7779
 
7693
- // node_modules/ajv/dist/vocabularies/core/index.js
7780
+ // node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/core/index.js
7694
7781
  var require_core2 = __commonJS({
7695
- "node_modules/ajv/dist/vocabularies/core/index.js"(exports) {
7782
+ "node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/core/index.js"(exports) {
7696
7783
  "use strict";
7697
7784
  Object.defineProperty(exports, "__esModule", { value: true });
7698
7785
  var id_1 = require_id();
@@ -7711,9 +7798,9 @@ var require_core2 = __commonJS({
7711
7798
  }
7712
7799
  });
7713
7800
 
7714
- // node_modules/ajv/dist/vocabularies/validation/limitNumber.js
7801
+ // node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/validation/limitNumber.js
7715
7802
  var require_limitNumber = __commonJS({
7716
- "node_modules/ajv/dist/vocabularies/validation/limitNumber.js"(exports) {
7803
+ "node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/validation/limitNumber.js"(exports) {
7717
7804
  "use strict";
7718
7805
  Object.defineProperty(exports, "__esModule", { value: true });
7719
7806
  var codegen_1 = require_codegen();
@@ -7743,9 +7830,9 @@ var require_limitNumber = __commonJS({
7743
7830
  }
7744
7831
  });
7745
7832
 
7746
- // node_modules/ajv/dist/vocabularies/validation/multipleOf.js
7833
+ // node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/validation/multipleOf.js
7747
7834
  var require_multipleOf = __commonJS({
7748
- "node_modules/ajv/dist/vocabularies/validation/multipleOf.js"(exports) {
7835
+ "node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/validation/multipleOf.js"(exports) {
7749
7836
  "use strict";
7750
7837
  Object.defineProperty(exports, "__esModule", { value: true });
7751
7838
  var codegen_1 = require_codegen();
@@ -7771,9 +7858,9 @@ var require_multipleOf = __commonJS({
7771
7858
  }
7772
7859
  });
7773
7860
 
7774
- // node_modules/ajv/dist/runtime/ucs2length.js
7861
+ // node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/runtime/ucs2length.js
7775
7862
  var require_ucs2length = __commonJS({
7776
- "node_modules/ajv/dist/runtime/ucs2length.js"(exports) {
7863
+ "node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/runtime/ucs2length.js"(exports) {
7777
7864
  "use strict";
7778
7865
  Object.defineProperty(exports, "__esModule", { value: true });
7779
7866
  function ucs2length(str) {
@@ -7797,9 +7884,9 @@ var require_ucs2length = __commonJS({
7797
7884
  }
7798
7885
  });
7799
7886
 
7800
- // node_modules/ajv/dist/vocabularies/validation/limitLength.js
7887
+ // node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/validation/limitLength.js
7801
7888
  var require_limitLength = __commonJS({
7802
- "node_modules/ajv/dist/vocabularies/validation/limitLength.js"(exports) {
7889
+ "node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/validation/limitLength.js"(exports) {
7803
7890
  "use strict";
7804
7891
  Object.defineProperty(exports, "__esModule", { value: true });
7805
7892
  var codegen_1 = require_codegen();
@@ -7829,9 +7916,9 @@ var require_limitLength = __commonJS({
7829
7916
  }
7830
7917
  });
7831
7918
 
7832
- // node_modules/ajv/dist/vocabularies/validation/pattern.js
7919
+ // node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/validation/pattern.js
7833
7920
  var require_pattern = __commonJS({
7834
- "node_modules/ajv/dist/vocabularies/validation/pattern.js"(exports) {
7921
+ "node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/validation/pattern.js"(exports) {
7835
7922
  "use strict";
7836
7923
  Object.defineProperty(exports, "__esModule", { value: true });
7837
7924
  var code_1 = require_code2();
@@ -7866,9 +7953,9 @@ var require_pattern = __commonJS({
7866
7953
  }
7867
7954
  });
7868
7955
 
7869
- // node_modules/ajv/dist/vocabularies/validation/limitProperties.js
7956
+ // node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/validation/limitProperties.js
7870
7957
  var require_limitProperties = __commonJS({
7871
- "node_modules/ajv/dist/vocabularies/validation/limitProperties.js"(exports) {
7958
+ "node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/validation/limitProperties.js"(exports) {
7872
7959
  "use strict";
7873
7960
  Object.defineProperty(exports, "__esModule", { value: true });
7874
7961
  var codegen_1 = require_codegen();
@@ -7895,9 +7982,9 @@ var require_limitProperties = __commonJS({
7895
7982
  }
7896
7983
  });
7897
7984
 
7898
- // node_modules/ajv/dist/vocabularies/validation/required.js
7985
+ // node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/validation/required.js
7899
7986
  var require_required = __commonJS({
7900
- "node_modules/ajv/dist/vocabularies/validation/required.js"(exports) {
7987
+ "node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/validation/required.js"(exports) {
7901
7988
  "use strict";
7902
7989
  Object.defineProperty(exports, "__esModule", { value: true });
7903
7990
  var code_1 = require_code2();
@@ -7977,9 +8064,9 @@ var require_required = __commonJS({
7977
8064
  }
7978
8065
  });
7979
8066
 
7980
- // node_modules/ajv/dist/vocabularies/validation/limitItems.js
8067
+ // node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/validation/limitItems.js
7981
8068
  var require_limitItems = __commonJS({
7982
- "node_modules/ajv/dist/vocabularies/validation/limitItems.js"(exports) {
8069
+ "node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/validation/limitItems.js"(exports) {
7983
8070
  "use strict";
7984
8071
  Object.defineProperty(exports, "__esModule", { value: true });
7985
8072
  var codegen_1 = require_codegen();
@@ -8006,9 +8093,9 @@ var require_limitItems = __commonJS({
8006
8093
  }
8007
8094
  });
8008
8095
 
8009
- // node_modules/ajv/dist/runtime/equal.js
8096
+ // node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/runtime/equal.js
8010
8097
  var require_equal = __commonJS({
8011
- "node_modules/ajv/dist/runtime/equal.js"(exports) {
8098
+ "node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/runtime/equal.js"(exports) {
8012
8099
  "use strict";
8013
8100
  Object.defineProperty(exports, "__esModule", { value: true });
8014
8101
  var equal = require_fast_deep_equal();
@@ -8017,9 +8104,9 @@ var require_equal = __commonJS({
8017
8104
  }
8018
8105
  });
8019
8106
 
8020
- // node_modules/ajv/dist/vocabularies/validation/uniqueItems.js
8107
+ // node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/validation/uniqueItems.js
8021
8108
  var require_uniqueItems = __commonJS({
8022
- "node_modules/ajv/dist/vocabularies/validation/uniqueItems.js"(exports) {
8109
+ "node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/validation/uniqueItems.js"(exports) {
8023
8110
  "use strict";
8024
8111
  Object.defineProperty(exports, "__esModule", { value: true });
8025
8112
  var dataType_1 = require_dataType();
@@ -8084,9 +8171,9 @@ var require_uniqueItems = __commonJS({
8084
8171
  }
8085
8172
  });
8086
8173
 
8087
- // node_modules/ajv/dist/vocabularies/validation/const.js
8174
+ // node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/validation/const.js
8088
8175
  var require_const = __commonJS({
8089
- "node_modules/ajv/dist/vocabularies/validation/const.js"(exports) {
8176
+ "node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/validation/const.js"(exports) {
8090
8177
  "use strict";
8091
8178
  Object.defineProperty(exports, "__esModule", { value: true });
8092
8179
  var codegen_1 = require_codegen();
@@ -8113,9 +8200,9 @@ var require_const = __commonJS({
8113
8200
  }
8114
8201
  });
8115
8202
 
8116
- // node_modules/ajv/dist/vocabularies/validation/enum.js
8203
+ // node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/validation/enum.js
8117
8204
  var require_enum = __commonJS({
8118
- "node_modules/ajv/dist/vocabularies/validation/enum.js"(exports) {
8205
+ "node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/validation/enum.js"(exports) {
8119
8206
  "use strict";
8120
8207
  Object.defineProperty(exports, "__esModule", { value: true });
8121
8208
  var codegen_1 = require_codegen();
@@ -8162,9 +8249,9 @@ var require_enum = __commonJS({
8162
8249
  }
8163
8250
  });
8164
8251
 
8165
- // node_modules/ajv/dist/vocabularies/validation/index.js
8252
+ // node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/validation/index.js
8166
8253
  var require_validation = __commonJS({
8167
- "node_modules/ajv/dist/vocabularies/validation/index.js"(exports) {
8254
+ "node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/validation/index.js"(exports) {
8168
8255
  "use strict";
8169
8256
  Object.defineProperty(exports, "__esModule", { value: true });
8170
8257
  var limitNumber_1 = require_limitNumber();
@@ -8200,9 +8287,9 @@ var require_validation = __commonJS({
8200
8287
  }
8201
8288
  });
8202
8289
 
8203
- // node_modules/ajv/dist/vocabularies/applicator/additionalItems.js
8290
+ // node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/additionalItems.js
8204
8291
  var require_additionalItems = __commonJS({
8205
- "node_modules/ajv/dist/vocabularies/applicator/additionalItems.js"(exports) {
8292
+ "node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/additionalItems.js"(exports) {
8206
8293
  "use strict";
8207
8294
  Object.defineProperty(exports, "__esModule", { value: true });
8208
8295
  exports.validateAdditionalItems = void 0;
@@ -8253,9 +8340,9 @@ var require_additionalItems = __commonJS({
8253
8340
  }
8254
8341
  });
8255
8342
 
8256
- // node_modules/ajv/dist/vocabularies/applicator/items.js
8343
+ // node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/items.js
8257
8344
  var require_items = __commonJS({
8258
- "node_modules/ajv/dist/vocabularies/applicator/items.js"(exports) {
8345
+ "node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/items.js"(exports) {
8259
8346
  "use strict";
8260
8347
  Object.defineProperty(exports, "__esModule", { value: true });
8261
8348
  exports.validateTuple = void 0;
@@ -8310,9 +8397,9 @@ var require_items = __commonJS({
8310
8397
  }
8311
8398
  });
8312
8399
 
8313
- // node_modules/ajv/dist/vocabularies/applicator/prefixItems.js
8400
+ // node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/prefixItems.js
8314
8401
  var require_prefixItems = __commonJS({
8315
- "node_modules/ajv/dist/vocabularies/applicator/prefixItems.js"(exports) {
8402
+ "node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/prefixItems.js"(exports) {
8316
8403
  "use strict";
8317
8404
  Object.defineProperty(exports, "__esModule", { value: true });
8318
8405
  var items_1 = require_items();
@@ -8327,9 +8414,9 @@ var require_prefixItems = __commonJS({
8327
8414
  }
8328
8415
  });
8329
8416
 
8330
- // node_modules/ajv/dist/vocabularies/applicator/items2020.js
8417
+ // node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/items2020.js
8331
8418
  var require_items2020 = __commonJS({
8332
- "node_modules/ajv/dist/vocabularies/applicator/items2020.js"(exports) {
8419
+ "node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/items2020.js"(exports) {
8333
8420
  "use strict";
8334
8421
  Object.defineProperty(exports, "__esModule", { value: true });
8335
8422
  var codegen_1 = require_codegen();
@@ -8362,9 +8449,9 @@ var require_items2020 = __commonJS({
8362
8449
  }
8363
8450
  });
8364
8451
 
8365
- // node_modules/ajv/dist/vocabularies/applicator/contains.js
8452
+ // node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/contains.js
8366
8453
  var require_contains = __commonJS({
8367
- "node_modules/ajv/dist/vocabularies/applicator/contains.js"(exports) {
8454
+ "node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/contains.js"(exports) {
8368
8455
  "use strict";
8369
8456
  Object.defineProperty(exports, "__esModule", { value: true });
8370
8457
  var codegen_1 = require_codegen();
@@ -8456,9 +8543,9 @@ var require_contains = __commonJS({
8456
8543
  }
8457
8544
  });
8458
8545
 
8459
- // node_modules/ajv/dist/vocabularies/applicator/dependencies.js
8546
+ // node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/dependencies.js
8460
8547
  var require_dependencies = __commonJS({
8461
- "node_modules/ajv/dist/vocabularies/applicator/dependencies.js"(exports) {
8548
+ "node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/dependencies.js"(exports) {
8462
8549
  "use strict";
8463
8550
  Object.defineProperty(exports, "__esModule", { value: true });
8464
8551
  exports.validateSchemaDeps = exports.validatePropertyDeps = exports.error = void 0;
@@ -8550,9 +8637,9 @@ var require_dependencies = __commonJS({
8550
8637
  }
8551
8638
  });
8552
8639
 
8553
- // node_modules/ajv/dist/vocabularies/applicator/propertyNames.js
8640
+ // node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/propertyNames.js
8554
8641
  var require_propertyNames = __commonJS({
8555
- "node_modules/ajv/dist/vocabularies/applicator/propertyNames.js"(exports) {
8642
+ "node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/propertyNames.js"(exports) {
8556
8643
  "use strict";
8557
8644
  Object.defineProperty(exports, "__esModule", { value: true });
8558
8645
  var codegen_1 = require_codegen();
@@ -8593,9 +8680,9 @@ var require_propertyNames = __commonJS({
8593
8680
  }
8594
8681
  });
8595
8682
 
8596
- // node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js
8683
+ // node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js
8597
8684
  var require_additionalProperties = __commonJS({
8598
- "node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js"(exports) {
8685
+ "node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js"(exports) {
8599
8686
  "use strict";
8600
8687
  Object.defineProperty(exports, "__esModule", { value: true });
8601
8688
  var code_1 = require_code2();
@@ -8699,9 +8786,9 @@ var require_additionalProperties = __commonJS({
8699
8786
  }
8700
8787
  });
8701
8788
 
8702
- // node_modules/ajv/dist/vocabularies/applicator/properties.js
8789
+ // node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/properties.js
8703
8790
  var require_properties = __commonJS({
8704
- "node_modules/ajv/dist/vocabularies/applicator/properties.js"(exports) {
8791
+ "node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/properties.js"(exports) {
8705
8792
  "use strict";
8706
8793
  Object.defineProperty(exports, "__esModule", { value: true });
8707
8794
  var validate_1 = require_validate();
@@ -8757,9 +8844,9 @@ var require_properties = __commonJS({
8757
8844
  }
8758
8845
  });
8759
8846
 
8760
- // node_modules/ajv/dist/vocabularies/applicator/patternProperties.js
8847
+ // node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/patternProperties.js
8761
8848
  var require_patternProperties = __commonJS({
8762
- "node_modules/ajv/dist/vocabularies/applicator/patternProperties.js"(exports) {
8849
+ "node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/patternProperties.js"(exports) {
8763
8850
  "use strict";
8764
8851
  Object.defineProperty(exports, "__esModule", { value: true });
8765
8852
  var code_1 = require_code2();
@@ -8831,9 +8918,9 @@ var require_patternProperties = __commonJS({
8831
8918
  }
8832
8919
  });
8833
8920
 
8834
- // node_modules/ajv/dist/vocabularies/applicator/not.js
8921
+ // node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/not.js
8835
8922
  var require_not = __commonJS({
8836
- "node_modules/ajv/dist/vocabularies/applicator/not.js"(exports) {
8923
+ "node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/not.js"(exports) {
8837
8924
  "use strict";
8838
8925
  Object.defineProperty(exports, "__esModule", { value: true });
8839
8926
  var util_1 = require_util();
@@ -8862,9 +8949,9 @@ var require_not = __commonJS({
8862
8949
  }
8863
8950
  });
8864
8951
 
8865
- // node_modules/ajv/dist/vocabularies/applicator/anyOf.js
8952
+ // node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/anyOf.js
8866
8953
  var require_anyOf = __commonJS({
8867
- "node_modules/ajv/dist/vocabularies/applicator/anyOf.js"(exports) {
8954
+ "node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/anyOf.js"(exports) {
8868
8955
  "use strict";
8869
8956
  Object.defineProperty(exports, "__esModule", { value: true });
8870
8957
  var code_1 = require_code2();
@@ -8879,9 +8966,9 @@ var require_anyOf = __commonJS({
8879
8966
  }
8880
8967
  });
8881
8968
 
8882
- // node_modules/ajv/dist/vocabularies/applicator/oneOf.js
8969
+ // node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/oneOf.js
8883
8970
  var require_oneOf = __commonJS({
8884
- "node_modules/ajv/dist/vocabularies/applicator/oneOf.js"(exports) {
8971
+ "node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/oneOf.js"(exports) {
8885
8972
  "use strict";
8886
8973
  Object.defineProperty(exports, "__esModule", { value: true });
8887
8974
  var codegen_1 = require_codegen();
@@ -8937,9 +9024,9 @@ var require_oneOf = __commonJS({
8937
9024
  }
8938
9025
  });
8939
9026
 
8940
- // node_modules/ajv/dist/vocabularies/applicator/allOf.js
9027
+ // node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/allOf.js
8941
9028
  var require_allOf = __commonJS({
8942
- "node_modules/ajv/dist/vocabularies/applicator/allOf.js"(exports) {
9029
+ "node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/allOf.js"(exports) {
8943
9030
  "use strict";
8944
9031
  Object.defineProperty(exports, "__esModule", { value: true });
8945
9032
  var util_1 = require_util();
@@ -8964,9 +9051,9 @@ var require_allOf = __commonJS({
8964
9051
  }
8965
9052
  });
8966
9053
 
8967
- // node_modules/ajv/dist/vocabularies/applicator/if.js
9054
+ // node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/if.js
8968
9055
  var require_if = __commonJS({
8969
- "node_modules/ajv/dist/vocabularies/applicator/if.js"(exports) {
9056
+ "node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/if.js"(exports) {
8970
9057
  "use strict";
8971
9058
  Object.defineProperty(exports, "__esModule", { value: true });
8972
9059
  var codegen_1 = require_codegen();
@@ -9033,9 +9120,9 @@ var require_if = __commonJS({
9033
9120
  }
9034
9121
  });
9035
9122
 
9036
- // node_modules/ajv/dist/vocabularies/applicator/thenElse.js
9123
+ // node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/thenElse.js
9037
9124
  var require_thenElse = __commonJS({
9038
- "node_modules/ajv/dist/vocabularies/applicator/thenElse.js"(exports) {
9125
+ "node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/thenElse.js"(exports) {
9039
9126
  "use strict";
9040
9127
  Object.defineProperty(exports, "__esModule", { value: true });
9041
9128
  var util_1 = require_util();
@@ -9051,9 +9138,9 @@ var require_thenElse = __commonJS({
9051
9138
  }
9052
9139
  });
9053
9140
 
9054
- // node_modules/ajv/dist/vocabularies/applicator/index.js
9141
+ // node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/index.js
9055
9142
  var require_applicator = __commonJS({
9056
- "node_modules/ajv/dist/vocabularies/applicator/index.js"(exports) {
9143
+ "node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/index.js"(exports) {
9057
9144
  "use strict";
9058
9145
  Object.defineProperty(exports, "__esModule", { value: true });
9059
9146
  var additionalItems_1 = require_additionalItems();
@@ -9099,9 +9186,9 @@ var require_applicator = __commonJS({
9099
9186
  }
9100
9187
  });
9101
9188
 
9102
- // node_modules/ajv/dist/vocabularies/format/format.js
9189
+ // node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/format/format.js
9103
9190
  var require_format = __commonJS({
9104
- "node_modules/ajv/dist/vocabularies/format/format.js"(exports) {
9191
+ "node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/format/format.js"(exports) {
9105
9192
  "use strict";
9106
9193
  Object.defineProperty(exports, "__esModule", { value: true });
9107
9194
  var codegen_1 = require_codegen();
@@ -9189,9 +9276,9 @@ var require_format = __commonJS({
9189
9276
  }
9190
9277
  });
9191
9278
 
9192
- // node_modules/ajv/dist/vocabularies/format/index.js
9279
+ // node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/format/index.js
9193
9280
  var require_format2 = __commonJS({
9194
- "node_modules/ajv/dist/vocabularies/format/index.js"(exports) {
9281
+ "node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/format/index.js"(exports) {
9195
9282
  "use strict";
9196
9283
  Object.defineProperty(exports, "__esModule", { value: true });
9197
9284
  var format_1 = require_format();
@@ -9200,9 +9287,9 @@ var require_format2 = __commonJS({
9200
9287
  }
9201
9288
  });
9202
9289
 
9203
- // node_modules/ajv/dist/vocabularies/metadata.js
9290
+ // node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/metadata.js
9204
9291
  var require_metadata = __commonJS({
9205
- "node_modules/ajv/dist/vocabularies/metadata.js"(exports) {
9292
+ "node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/metadata.js"(exports) {
9206
9293
  "use strict";
9207
9294
  Object.defineProperty(exports, "__esModule", { value: true });
9208
9295
  exports.contentVocabulary = exports.metadataVocabulary = void 0;
@@ -9223,9 +9310,9 @@ var require_metadata = __commonJS({
9223
9310
  }
9224
9311
  });
9225
9312
 
9226
- // node_modules/ajv/dist/vocabularies/draft7.js
9313
+ // node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/draft7.js
9227
9314
  var require_draft7 = __commonJS({
9228
- "node_modules/ajv/dist/vocabularies/draft7.js"(exports) {
9315
+ "node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/draft7.js"(exports) {
9229
9316
  "use strict";
9230
9317
  Object.defineProperty(exports, "__esModule", { value: true });
9231
9318
  var core_1 = require_core2();
@@ -9245,9 +9332,9 @@ var require_draft7 = __commonJS({
9245
9332
  }
9246
9333
  });
9247
9334
 
9248
- // node_modules/ajv/dist/vocabularies/dynamic/dynamicAnchor.js
9335
+ // node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/dynamic/dynamicAnchor.js
9249
9336
  var require_dynamicAnchor = __commonJS({
9250
- "node_modules/ajv/dist/vocabularies/dynamic/dynamicAnchor.js"(exports) {
9337
+ "node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/dynamic/dynamicAnchor.js"(exports) {
9251
9338
  "use strict";
9252
9339
  Object.defineProperty(exports, "__esModule", { value: true });
9253
9340
  exports.dynamicAnchor = void 0;
@@ -9280,9 +9367,9 @@ var require_dynamicAnchor = __commonJS({
9280
9367
  }
9281
9368
  });
9282
9369
 
9283
- // node_modules/ajv/dist/vocabularies/dynamic/dynamicRef.js
9370
+ // node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/dynamic/dynamicRef.js
9284
9371
  var require_dynamicRef = __commonJS({
9285
- "node_modules/ajv/dist/vocabularies/dynamic/dynamicRef.js"(exports) {
9372
+ "node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/dynamic/dynamicRef.js"(exports) {
9286
9373
  "use strict";
9287
9374
  Object.defineProperty(exports, "__esModule", { value: true });
9288
9375
  exports.dynamicRef = void 0;
@@ -9326,9 +9413,9 @@ var require_dynamicRef = __commonJS({
9326
9413
  }
9327
9414
  });
9328
9415
 
9329
- // node_modules/ajv/dist/vocabularies/dynamic/recursiveAnchor.js
9416
+ // node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/dynamic/recursiveAnchor.js
9330
9417
  var require_recursiveAnchor = __commonJS({
9331
- "node_modules/ajv/dist/vocabularies/dynamic/recursiveAnchor.js"(exports) {
9418
+ "node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/dynamic/recursiveAnchor.js"(exports) {
9332
9419
  "use strict";
9333
9420
  Object.defineProperty(exports, "__esModule", { value: true });
9334
9421
  var dynamicAnchor_1 = require_dynamicAnchor();
@@ -9347,9 +9434,9 @@ var require_recursiveAnchor = __commonJS({
9347
9434
  }
9348
9435
  });
9349
9436
 
9350
- // node_modules/ajv/dist/vocabularies/dynamic/recursiveRef.js
9437
+ // node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/dynamic/recursiveRef.js
9351
9438
  var require_recursiveRef = __commonJS({
9352
- "node_modules/ajv/dist/vocabularies/dynamic/recursiveRef.js"(exports) {
9439
+ "node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/dynamic/recursiveRef.js"(exports) {
9353
9440
  "use strict";
9354
9441
  Object.defineProperty(exports, "__esModule", { value: true });
9355
9442
  var dynamicRef_1 = require_dynamicRef();
@@ -9362,9 +9449,9 @@ var require_recursiveRef = __commonJS({
9362
9449
  }
9363
9450
  });
9364
9451
 
9365
- // node_modules/ajv/dist/vocabularies/dynamic/index.js
9452
+ // node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/dynamic/index.js
9366
9453
  var require_dynamic = __commonJS({
9367
- "node_modules/ajv/dist/vocabularies/dynamic/index.js"(exports) {
9454
+ "node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/dynamic/index.js"(exports) {
9368
9455
  "use strict";
9369
9456
  Object.defineProperty(exports, "__esModule", { value: true });
9370
9457
  var dynamicAnchor_1 = require_dynamicAnchor();
@@ -9376,9 +9463,9 @@ var require_dynamic = __commonJS({
9376
9463
  }
9377
9464
  });
9378
9465
 
9379
- // node_modules/ajv/dist/vocabularies/validation/dependentRequired.js
9466
+ // node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/validation/dependentRequired.js
9380
9467
  var require_dependentRequired = __commonJS({
9381
- "node_modules/ajv/dist/vocabularies/validation/dependentRequired.js"(exports) {
9468
+ "node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/validation/dependentRequired.js"(exports) {
9382
9469
  "use strict";
9383
9470
  Object.defineProperty(exports, "__esModule", { value: true });
9384
9471
  var dependencies_1 = require_dependencies();
@@ -9393,9 +9480,9 @@ var require_dependentRequired = __commonJS({
9393
9480
  }
9394
9481
  });
9395
9482
 
9396
- // node_modules/ajv/dist/vocabularies/applicator/dependentSchemas.js
9483
+ // node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/dependentSchemas.js
9397
9484
  var require_dependentSchemas = __commonJS({
9398
- "node_modules/ajv/dist/vocabularies/applicator/dependentSchemas.js"(exports) {
9485
+ "node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/dependentSchemas.js"(exports) {
9399
9486
  "use strict";
9400
9487
  Object.defineProperty(exports, "__esModule", { value: true });
9401
9488
  var dependencies_1 = require_dependencies();
@@ -9409,9 +9496,9 @@ var require_dependentSchemas = __commonJS({
9409
9496
  }
9410
9497
  });
9411
9498
 
9412
- // node_modules/ajv/dist/vocabularies/validation/limitContains.js
9499
+ // node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/validation/limitContains.js
9413
9500
  var require_limitContains = __commonJS({
9414
- "node_modules/ajv/dist/vocabularies/validation/limitContains.js"(exports) {
9501
+ "node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/validation/limitContains.js"(exports) {
9415
9502
  "use strict";
9416
9503
  Object.defineProperty(exports, "__esModule", { value: true });
9417
9504
  var util_1 = require_util();
@@ -9429,9 +9516,9 @@ var require_limitContains = __commonJS({
9429
9516
  }
9430
9517
  });
9431
9518
 
9432
- // node_modules/ajv/dist/vocabularies/next.js
9519
+ // node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/next.js
9433
9520
  var require_next = __commonJS({
9434
- "node_modules/ajv/dist/vocabularies/next.js"(exports) {
9521
+ "node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/next.js"(exports) {
9435
9522
  "use strict";
9436
9523
  Object.defineProperty(exports, "__esModule", { value: true });
9437
9524
  var dependentRequired_1 = require_dependentRequired();
@@ -9442,9 +9529,9 @@ var require_next = __commonJS({
9442
9529
  }
9443
9530
  });
9444
9531
 
9445
- // node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedProperties.js
9532
+ // node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedProperties.js
9446
9533
  var require_unevaluatedProperties = __commonJS({
9447
- "node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedProperties.js"(exports) {
9534
+ "node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedProperties.js"(exports) {
9448
9535
  "use strict";
9449
9536
  Object.defineProperty(exports, "__esModule", { value: true });
9450
9537
  var codegen_1 = require_codegen();
@@ -9508,9 +9595,9 @@ var require_unevaluatedProperties = __commonJS({
9508
9595
  }
9509
9596
  });
9510
9597
 
9511
- // node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedItems.js
9598
+ // node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedItems.js
9512
9599
  var require_unevaluatedItems = __commonJS({
9513
- "node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedItems.js"(exports) {
9600
+ "node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedItems.js"(exports) {
9514
9601
  "use strict";
9515
9602
  Object.defineProperty(exports, "__esModule", { value: true });
9516
9603
  var codegen_1 = require_codegen();
@@ -9552,9 +9639,9 @@ var require_unevaluatedItems = __commonJS({
9552
9639
  }
9553
9640
  });
9554
9641
 
9555
- // node_modules/ajv/dist/vocabularies/unevaluated/index.js
9642
+ // node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/unevaluated/index.js
9556
9643
  var require_unevaluated = __commonJS({
9557
- "node_modules/ajv/dist/vocabularies/unevaluated/index.js"(exports) {
9644
+ "node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/unevaluated/index.js"(exports) {
9558
9645
  "use strict";
9559
9646
  Object.defineProperty(exports, "__esModule", { value: true });
9560
9647
  var unevaluatedProperties_1 = require_unevaluatedProperties();
@@ -9564,9 +9651,9 @@ var require_unevaluated = __commonJS({
9564
9651
  }
9565
9652
  });
9566
9653
 
9567
- // node_modules/ajv/dist/vocabularies/discriminator/types.js
9654
+ // node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/discriminator/types.js
9568
9655
  var require_types = __commonJS({
9569
- "node_modules/ajv/dist/vocabularies/discriminator/types.js"(exports) {
9656
+ "node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/discriminator/types.js"(exports) {
9570
9657
  "use strict";
9571
9658
  Object.defineProperty(exports, "__esModule", { value: true });
9572
9659
  exports.DiscrError = void 0;
@@ -9578,9 +9665,9 @@ var require_types = __commonJS({
9578
9665
  }
9579
9666
  });
9580
9667
 
9581
- // node_modules/ajv/dist/vocabularies/discriminator/index.js
9668
+ // node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/discriminator/index.js
9582
9669
  var require_discriminator = __commonJS({
9583
- "node_modules/ajv/dist/vocabularies/discriminator/index.js"(exports) {
9670
+ "node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/discriminator/index.js"(exports) {
9584
9671
  "use strict";
9585
9672
  Object.defineProperty(exports, "__esModule", { value: true });
9586
9673
  var codegen_1 = require_codegen();
@@ -9683,9 +9770,9 @@ var require_discriminator = __commonJS({
9683
9770
  }
9684
9771
  });
9685
9772
 
9686
- // node_modules/ajv/dist/refs/json-schema-2019-09/schema.json
9773
+ // node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/refs/json-schema-2019-09/schema.json
9687
9774
  var require_schema = __commonJS({
9688
- "node_modules/ajv/dist/refs/json-schema-2019-09/schema.json"(exports, module) {
9775
+ "node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/refs/json-schema-2019-09/schema.json"(exports, module) {
9689
9776
  module.exports = {
9690
9777
  $schema: "https://json-schema.org/draft/2019-09/schema",
9691
9778
  $id: "https://json-schema.org/draft/2019-09/schema",
@@ -9727,9 +9814,9 @@ var require_schema = __commonJS({
9727
9814
  }
9728
9815
  });
9729
9816
 
9730
- // node_modules/ajv/dist/refs/json-schema-2019-09/meta/applicator.json
9817
+ // node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/refs/json-schema-2019-09/meta/applicator.json
9731
9818
  var require_applicator2 = __commonJS({
9732
- "node_modules/ajv/dist/refs/json-schema-2019-09/meta/applicator.json"(exports, module) {
9819
+ "node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/refs/json-schema-2019-09/meta/applicator.json"(exports, module) {
9733
9820
  module.exports = {
9734
9821
  $schema: "https://json-schema.org/draft/2019-09/schema",
9735
9822
  $id: "https://json-schema.org/draft/2019-09/meta/applicator",
@@ -9785,9 +9872,9 @@ var require_applicator2 = __commonJS({
9785
9872
  }
9786
9873
  });
9787
9874
 
9788
- // node_modules/ajv/dist/refs/json-schema-2019-09/meta/content.json
9875
+ // node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/refs/json-schema-2019-09/meta/content.json
9789
9876
  var require_content = __commonJS({
9790
- "node_modules/ajv/dist/refs/json-schema-2019-09/meta/content.json"(exports, module) {
9877
+ "node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/refs/json-schema-2019-09/meta/content.json"(exports, module) {
9791
9878
  module.exports = {
9792
9879
  $schema: "https://json-schema.org/draft/2019-09/schema",
9793
9880
  $id: "https://json-schema.org/draft/2019-09/meta/content",
@@ -9806,9 +9893,9 @@ var require_content = __commonJS({
9806
9893
  }
9807
9894
  });
9808
9895
 
9809
- // node_modules/ajv/dist/refs/json-schema-2019-09/meta/core.json
9896
+ // node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/refs/json-schema-2019-09/meta/core.json
9810
9897
  var require_core3 = __commonJS({
9811
- "node_modules/ajv/dist/refs/json-schema-2019-09/meta/core.json"(exports, module) {
9898
+ "node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/refs/json-schema-2019-09/meta/core.json"(exports, module) {
9812
9899
  module.exports = {
9813
9900
  $schema: "https://json-schema.org/draft/2019-09/schema",
9814
9901
  $id: "https://json-schema.org/draft/2019-09/meta/core",
@@ -9868,9 +9955,9 @@ var require_core3 = __commonJS({
9868
9955
  }
9869
9956
  });
9870
9957
 
9871
- // node_modules/ajv/dist/refs/json-schema-2019-09/meta/format.json
9958
+ // node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/refs/json-schema-2019-09/meta/format.json
9872
9959
  var require_format3 = __commonJS({
9873
- "node_modules/ajv/dist/refs/json-schema-2019-09/meta/format.json"(exports, module) {
9960
+ "node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/refs/json-schema-2019-09/meta/format.json"(exports, module) {
9874
9961
  module.exports = {
9875
9962
  $schema: "https://json-schema.org/draft/2019-09/schema",
9876
9963
  $id: "https://json-schema.org/draft/2019-09/meta/format",
@@ -9887,9 +9974,9 @@ var require_format3 = __commonJS({
9887
9974
  }
9888
9975
  });
9889
9976
 
9890
- // node_modules/ajv/dist/refs/json-schema-2019-09/meta/meta-data.json
9977
+ // node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/refs/json-schema-2019-09/meta/meta-data.json
9891
9978
  var require_meta_data = __commonJS({
9892
- "node_modules/ajv/dist/refs/json-schema-2019-09/meta/meta-data.json"(exports, module) {
9979
+ "node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/refs/json-schema-2019-09/meta/meta-data.json"(exports, module) {
9893
9980
  module.exports = {
9894
9981
  $schema: "https://json-schema.org/draft/2019-09/schema",
9895
9982
  $id: "https://json-schema.org/draft/2019-09/meta/meta-data",
@@ -9928,9 +10015,9 @@ var require_meta_data = __commonJS({
9928
10015
  }
9929
10016
  });
9930
10017
 
9931
- // node_modules/ajv/dist/refs/json-schema-2019-09/meta/validation.json
10018
+ // node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/refs/json-schema-2019-09/meta/validation.json
9932
10019
  var require_validation2 = __commonJS({
9933
- "node_modules/ajv/dist/refs/json-schema-2019-09/meta/validation.json"(exports, module) {
10020
+ "node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/refs/json-schema-2019-09/meta/validation.json"(exports, module) {
9934
10021
  module.exports = {
9935
10022
  $schema: "https://json-schema.org/draft/2019-09/schema",
9936
10023
  $id: "https://json-schema.org/draft/2019-09/meta/validation",
@@ -10023,9 +10110,9 @@ var require_validation2 = __commonJS({
10023
10110
  }
10024
10111
  });
10025
10112
 
10026
- // node_modules/ajv/dist/refs/json-schema-2019-09/index.js
10113
+ // node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/refs/json-schema-2019-09/index.js
10027
10114
  var require_json_schema_2019_09 = __commonJS({
10028
- "node_modules/ajv/dist/refs/json-schema-2019-09/index.js"(exports) {
10115
+ "node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/refs/json-schema-2019-09/index.js"(exports) {
10029
10116
  "use strict";
10030
10117
  Object.defineProperty(exports, "__esModule", { value: true });
10031
10118
  var metaSchema = require_schema();
@@ -10056,9 +10143,9 @@ var require_json_schema_2019_09 = __commonJS({
10056
10143
  }
10057
10144
  });
10058
10145
 
10059
- // node_modules/ajv/dist/2019.js
10146
+ // node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/2019.js
10060
10147
  var require__ = __commonJS({
10061
- "node_modules/ajv/dist/2019.js"(exports, module) {
10148
+ "node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/2019.js"(exports, module) {
10062
10149
  "use strict";
10063
10150
  Object.defineProperty(exports, "__esModule", { value: true });
10064
10151
  exports.MissingRefError = exports.ValidationError = exports.CodeGen = exports.Name = exports.nil = exports.stringify = exports.str = exports._ = exports.KeywordCxt = exports.Ajv2019 = void 0;
@@ -10139,7 +10226,7 @@ var require__ = __commonJS({
10139
10226
  }
10140
10227
  });
10141
10228
 
10142
- // node_modules/h3-js/dist/browser/h3-js.es.js
10229
+ // node_modules/.pnpm/h3-js@4.4.0/node_modules/h3-js/dist/browser/h3-js.es.js
10143
10230
  var libh3 = (function(libh32) {
10144
10231
  libh32 = libh32 || {};
10145
10232
  var Module = typeof libh32 !== "undefined" ? libh32 : {};
@@ -24302,9 +24389,19 @@ async function resolveHologram(holoInstance, hologram, options = {}) {
24302
24389
  }
24303
24390
  );
24304
24391
  if (originalData && !originalData._invalidHologram) {
24305
- return attachHologramMeta(originalData, hologram.soul);
24392
+ const withMeta = attachHologramMeta(originalData, hologram.soul);
24393
+ if (withMeta._hologram?.sourceHolon && typeof holoInstance.getHolonName === "function") {
24394
+ try {
24395
+ const sourceHolonName = await holoInstance.getHolonName(withMeta._hologram.sourceHolon);
24396
+ if (sourceHolonName) {
24397
+ withMeta._hologram = { ...withMeta._hologram, sourceHolonName };
24398
+ }
24399
+ } catch {
24400
+ }
24401
+ }
24402
+ return withMeta;
24306
24403
  } else {
24307
- console.warn(`!!! Original data NOT FOUND for soul: ${hologram.soul}. Removing broken hologram.`);
24404
+ console.warn(`Could not resolve hologram soul: ${hologram.soul} (target not present locally)`);
24308
24405
  return null;
24309
24406
  }
24310
24407
  } else {
@@ -24642,7 +24739,14 @@ async function getFederated(holosphere, holon, lens, options = {}) {
24642
24739
  includeFederated = true,
24643
24740
  resolveReferences = true,
24644
24741
  maxFederatedSpaces = -1,
24645
- timeout = 1e4
24742
+ timeout = 1e4,
24743
+ // When `resolveReferences` is on, source-soul fetches that fail get
24744
+ // replaced with `{ id, _hologram: { isHologram: false, error } }`
24745
+ // error stubs (federation.js around line 654). By default we filter
24746
+ // those out of the response so consumers never render broken-card
24747
+ // placeholders. Set `includeUnresolvedStubs: true` if you actually
24748
+ // want to surface the failure to the user (e.g. an admin/debug view).
24749
+ includeUnresolvedStubs = false
24646
24750
  } = options;
24647
24751
  console.log(`resolveReferences option: ${resolveReferences}`);
24648
24752
  console.log(`Querying specific IDs:`, queryIds ? queryIds.join(", ") : "No (fetching all)");
@@ -24821,9 +24925,13 @@ async function getFederated(holosphere, holon, lens, options = {}) {
24821
24925
  };
24822
24926
  return base;
24823
24927
  });
24824
- return aggregatedData;
24928
+ return includeUnresolvedStubs ? aggregatedData : aggregatedData.filter(isResolved);
24825
24929
  }
24826
- return result;
24930
+ return includeUnresolvedStubs ? result : result.filter(isResolved);
24931
+ }
24932
+ function isResolved(item) {
24933
+ if (!item || typeof item !== "object") return false;
24934
+ return item._hologram?.isHologram !== false;
24827
24935
  }
24828
24936
  async function propagate(holosphere, holon, lens, data, options = {}) {
24829
24937
  if (!holosphere || !holon || !lens || !data) {
@@ -24851,7 +24959,7 @@ async function propagate(holosphere, holon, lens, data, options = {}) {
24851
24959
  try {
24852
24960
  const fedInfo = await getFederation(holosphere, holon, password);
24853
24961
  if (fedInfo && fedInfo.outbound && fedInfo.outbound.length > 0) {
24854
- let spaces = fedInfo.outbound;
24962
+ let spaces = fedInfo.outbound.filter((s) => String(s) !== String(holon));
24855
24963
  if (targetSpaces && Array.isArray(targetSpaces) && targetSpaces.length > 0) {
24856
24964
  spaces = spaces.filter((space) => targetSpaces.includes(space));
24857
24965
  }
@@ -24904,6 +25012,10 @@ async function propagate(holosphere, holon, lens, data, options = {}) {
24904
25012
  }
24905
25013
  };
24906
25014
  }
25015
+ if (String(targetSpace) === String(holon)) {
25016
+ result.skipped++;
25017
+ return true;
25018
+ }
24907
25019
  await holosphere.put(targetSpace, lens, payloadToPut, null, {
24908
25020
  disableHologramRedirection: true,
24909
25021
  autoPropagate: false
@@ -25252,6 +25364,22 @@ function clearSchemaCache(holoInstance, lens = null) {
25252
25364
  }
25253
25365
 
25254
25366
  // content.js
25367
+ var READ_TIMEOUT_MS = 8e3;
25368
+ function onceWithTimeout(node, timeoutMs = READ_TIMEOUT_MS) {
25369
+ return new Promise((resolve) => {
25370
+ let done = false;
25371
+ const finish = (v) => {
25372
+ if (!done) {
25373
+ done = true;
25374
+ resolve(v);
25375
+ }
25376
+ };
25377
+ node.once((data) => finish(data));
25378
+ if (timeoutMs > 0) {
25379
+ setTimeout(() => finish(null), timeoutMs);
25380
+ }
25381
+ });
25382
+ }
25255
25383
  function sanitizeForStorage(value, path = "", seen = /* @__PURE__ */ new WeakSet(), warnings = []) {
25256
25384
  if (value === null) return null;
25257
25385
  const t = typeof value;
@@ -25398,6 +25526,7 @@ async function put(holoInstance, holon, lens, data, password = null, options = {
25398
25526
  }
25399
25527
  if (dataToStore._meta !== void 0) delete dataToStore._meta;
25400
25528
  if (dataToStore._hologram !== void 0) delete dataToStore._hologram;
25529
+ if (!isHologram2 && dataToStore._federation !== void 0) delete dataToStore._federation;
25401
25530
  const payload = JSON.stringify(dataToStore);
25402
25531
  const putCallback = async (ack) => {
25403
25532
  if (ack.err) {
@@ -25545,7 +25674,19 @@ async function get(holoInstance, holon, lens, key, password = null, options = {}
25545
25674
  console.error("get: Missing required parameters");
25546
25675
  return null;
25547
25676
  }
25548
- const { resolveHolograms = true, validationOptions = {}, visited } = options;
25677
+ const {
25678
+ resolveHolograms = true,
25679
+ validationOptions = {},
25680
+ visited,
25681
+ timeout = READ_TIMEOUT_MS,
25682
+ // `_deleted: true` is the soft-tombstone convention used by the bot,
25683
+ // the web dashboard, and the MCP council tools. Pre-this fix the
25684
+ // library was unaware of it and every caller filtered defensively.
25685
+ // Now `get` returns `null` for tombstoned records by default; pass
25686
+ // `includeDeleted: true` to surface them (admin/debug views,
25687
+ // history reconstruction, etc.).
25688
+ includeDeleted = false
25689
+ } = options;
25549
25690
  let schema = null;
25550
25691
  if (holoInstance.strict) {
25551
25692
  schema = await holoInstance.getSchema(lens);
@@ -25581,6 +25722,10 @@ async function get(holoInstance, holon, lens, key, password = null, options = {}
25581
25722
  resolve(null);
25582
25723
  return;
25583
25724
  }
25725
+ if (!includeDeleted && parsed._deleted === true) {
25726
+ resolve(null);
25727
+ return;
25728
+ }
25584
25729
  if (resolveHolograms && holoInstance.isHologram(parsed)) {
25585
25730
  const resolvedValue = await holoInstance.resolveHologram(parsed, {
25586
25731
  followHolograms: resolveHolograms,
@@ -25589,13 +25734,7 @@ async function get(holoInstance, holon, lens, key, password = null, options = {}
25589
25734
  currentDepth: options.currentDepth || 0
25590
25735
  });
25591
25736
  if (resolvedValue === null) {
25592
- console.warn(`Broken hologram detected at ${holon}/${lens}/${key}. Removing it...`);
25593
- try {
25594
- await holoInstance.delete(holon, lens, key, password);
25595
- console.log(`Successfully removed broken hologram from ${holon}/${lens}/${key}`);
25596
- } catch (cleanupError) {
25597
- console.error(`Failed to remove broken hologram at ${holon}/${lens}/${key}:`, cleanupError);
25598
- }
25737
+ console.warn(`Hologram at ${holon}/${lens}/${key} did not resolve (soul=${parsed.soul}); skipping.`);
25599
25738
  resolve(null);
25600
25739
  return;
25601
25740
  }
@@ -25625,17 +25764,23 @@ async function get(holoInstance, holon, lens, key, password = null, options = {}
25625
25764
  }
25626
25765
  };
25627
25766
  const dataPath = password ? user.get("private").get(lens).get(key) : holoInstance.gun.get(holoInstance.appname).get(holon).get(lens).get(key);
25628
- dataPath.once(handleData);
25767
+ onceWithTimeout(dataPath, timeout).then(handleData);
25629
25768
  });
25630
25769
  } catch (error) {
25631
25770
  console.error("Error in get:", error);
25632
25771
  return null;
25633
25772
  }
25634
25773
  }
25635
- async function getAll(holoInstance, holon, lens, password = null) {
25774
+ async function getAll(holoInstance, holon, lens, password = null, options = {}) {
25636
25775
  if (!holon || !lens) {
25637
25776
  throw new Error("getAll: Missing required parameters");
25638
25777
  }
25778
+ const {
25779
+ timeout = READ_TIMEOUT_MS,
25780
+ // See `get` above: `_deleted: true` records are dropped from the
25781
+ // response unless the caller opts in.
25782
+ includeDeleted = false
25783
+ } = options;
25639
25784
  const schema = await holoInstance.getSchema(lens);
25640
25785
  if (!schema && holoInstance.strict) {
25641
25786
  throw new Error("getAll: Schema required in strict mode");
@@ -25687,7 +25832,7 @@ async function getAll(holoInstance, holon, lens, password = null) {
25687
25832
  const output = /* @__PURE__ */ new Map();
25688
25833
  const pendingProcessing = [];
25689
25834
  const dataPath = password ? user.get("private").get(lens) : holoInstance.gun.get(holoInstance.appname).get(holon).get(lens);
25690
- const shallowOnce = () => new Promise((res) => dataPath.once((d) => res(d)));
25835
+ const shallowOnce = () => onceWithTimeout(dataPath, timeout);
25691
25836
  const processShallow = (data) => {
25692
25837
  if (!data) {
25693
25838
  resolve([]);
@@ -25710,6 +25855,7 @@ async function getAll(holoInstance, holon, lens, password = null) {
25710
25855
  try {
25711
25856
  const parsed = await holoInstance.parse(itemData);
25712
25857
  if (!parsed || !parsed.id) return;
25858
+ if (!includeDeleted && parsed._deleted === true) return;
25713
25859
  if (holoInstance.isHologram(parsed)) {
25714
25860
  try {
25715
25861
  const resolved = await holoInstance.resolveHologram(parsed, {
@@ -25718,12 +25864,7 @@ async function getAll(holoInstance, holon, lens, password = null) {
25718
25864
  currentDepth: 0
25719
25865
  });
25720
25866
  if (resolved === null) {
25721
- console.warn(`Broken hologram detected in getAll for key ${key}. Removing it...`);
25722
- try {
25723
- await holoInstance.delete(holon, lens, key, password);
25724
- } catch (cleanupError) {
25725
- console.error(`Failed to remove broken hologram at ${holon}/${lens}/${key}:`, cleanupError);
25726
- }
25867
+ console.warn(`Hologram at ${holon}/${lens}/${key} did not resolve (soul=${parsed.soul}); skipping.`);
25727
25868
  return;
25728
25869
  }
25729
25870
  if (resolved && resolved !== parsed) {
@@ -25759,11 +25900,7 @@ async function getAll(holoInstance, holon, lens, password = null) {
25759
25900
  if (typeof inline !== "object" || inline === null) {
25760
25901
  return processItem(inline, key);
25761
25902
  }
25762
- return new Promise((resolveItem) => {
25763
- dataPath.get(key).once((itemData) => {
25764
- processItem(itemData, key).then(resolveItem, resolveItem);
25765
- });
25766
- });
25903
+ return onceWithTimeout(dataPath.get(key), timeout).then((itemData) => processItem(itemData, key));
25767
25904
  })).then(() => resolve(Array.from(output.values())));
25768
25905
  };
25769
25906
  (async () => {
@@ -26767,7 +26904,7 @@ async function deleteAllGlobal(holoInstance, tableName, password = null) {
26767
26904
  throw error;
26768
26905
  }
26769
26906
  }
26770
- async function subscribeGlobal(holoInstance, tableName, key, callback, options = {}) {
26907
+ function subscribeGlobal(holoInstance, tableName, key, callback, options = {}) {
26771
26908
  const dataPath = holoInstance.gun.get(holoInstance.appname).get(tableName);
26772
26909
  let active = true;
26773
26910
  if (key) {
@@ -27012,7 +27149,7 @@ function getHolonScalespace(holon) {
27012
27149
  }
27013
27150
  return list;
27014
27151
  }
27015
- async function subscribe(holoInstance, holon, lens, callback) {
27152
+ function subscribe(holoInstance, holon, lens, callback) {
27016
27153
  if (!holon || !lens) {
27017
27154
  throw new Error("subscribe: Missing holon or lens parameters:", holon, lens);
27018
27155
  }
@@ -27035,6 +27172,10 @@ async function subscribe(holoInstance, holon, lens, callback) {
27035
27172
  parsed = resolved;
27036
27173
  }
27037
27174
  }
27175
+ if (parsed !== null && (typeof parsed !== "object" || Array.isArray(parsed))) {
27176
+ console.warn(`[holosphere.subscribe] dropping non-object payload at ${holon}/${lens}/${key}:`, typeof parsed);
27177
+ return;
27178
+ }
27038
27179
  if (holoInstance.subscriptions[subscriptionId]) {
27039
27180
  callback(parsed, key);
27040
27181
  }
@@ -27054,7 +27195,7 @@ async function subscribe(holoInstance, holon, lens, callback) {
27054
27195
  // Store the listener too (optional, maybe needed for close?)
27055
27196
  };
27056
27197
  return {
27057
- unsubscribe: async () => {
27198
+ unsubscribe: () => {
27058
27199
  const sub = holoInstance.subscriptions[subscriptionId];
27059
27200
  if (!sub) {
27060
27201
  return;
@@ -27180,10 +27321,10 @@ function userName(holoInstance, holonId) {
27180
27321
  return `${holoInstance.appname}:${holonId}`;
27181
27322
  }
27182
27323
 
27183
- // node_modules/@noble/hashes/esm/crypto.js
27324
+ // node_modules/.pnpm/@noble+hashes@1.8.0/node_modules/@noble/hashes/esm/crypto.js
27184
27325
  var crypto = typeof globalThis === "object" && "crypto" in globalThis ? globalThis.crypto : void 0;
27185
27326
 
27186
- // node_modules/@noble/hashes/esm/utils.js
27327
+ // node_modules/.pnpm/@noble+hashes@1.8.0/node_modules/@noble/hashes/esm/utils.js
27187
27328
  function isBytes(a) {
27188
27329
  return a instanceof Uint8Array || ArrayBuffer.isView(a) && a.constructor.name === "Uint8Array";
27189
27330
  }
@@ -27319,7 +27460,7 @@ function randomBytes(bytesLength = 32) {
27319
27460
  throw new Error("crypto.getRandomValues must be defined");
27320
27461
  }
27321
27462
 
27322
- // node_modules/@noble/hashes/esm/_md.js
27463
+ // node_modules/.pnpm/@noble+hashes@1.8.0/node_modules/@noble/hashes/esm/_md.js
27323
27464
  function setBigUint64(view, byteOffset, value, isLE) {
27324
27465
  if (typeof view.setBigUint64 === "function")
27325
27466
  return view.setBigUint64(byteOffset, value, isLE);
@@ -27439,7 +27580,7 @@ var SHA256_IV = /* @__PURE__ */ Uint32Array.from([
27439
27580
  1541459225
27440
27581
  ]);
27441
27582
 
27442
- // node_modules/@noble/hashes/esm/sha2.js
27583
+ // node_modules/.pnpm/@noble+hashes@1.8.0/node_modules/@noble/hashes/esm/sha2.js
27443
27584
  var SHA256_K = /* @__PURE__ */ Uint32Array.from([
27444
27585
  1116352408,
27445
27586
  1899447441,
@@ -27579,7 +27720,7 @@ var SHA256 = class extends HashMD {
27579
27720
  };
27580
27721
  var sha256 = /* @__PURE__ */ createHasher(() => new SHA256());
27581
27722
 
27582
- // node_modules/@noble/hashes/esm/hmac.js
27723
+ // node_modules/.pnpm/@noble+hashes@1.8.0/node_modules/@noble/hashes/esm/hmac.js
27583
27724
  var HMAC = class extends Hash {
27584
27725
  constructor(hash, _key) {
27585
27726
  super();
@@ -27647,7 +27788,7 @@ var HMAC = class extends Hash {
27647
27788
  var hmac = (hash, key, message) => new HMAC(hash, key).update(message).digest();
27648
27789
  hmac.create = (hash, key) => new HMAC(hash, key);
27649
27790
 
27650
- // node_modules/@noble/curves/esm/utils.js
27791
+ // node_modules/.pnpm/@noble+curves@1.9.7/node_modules/@noble/curves/esm/utils.js
27651
27792
  var _0n = /* @__PURE__ */ BigInt(0);
27652
27793
  var _1n = /* @__PURE__ */ BigInt(1);
27653
27794
  function _abool2(value, title = "") {
@@ -27800,7 +27941,7 @@ function memoized(fn) {
27800
27941
  };
27801
27942
  }
27802
27943
 
27803
- // node_modules/@noble/curves/esm/abstract/modular.js
27944
+ // node_modules/.pnpm/@noble+curves@1.9.7/node_modules/@noble/curves/esm/abstract/modular.js
27804
27945
  var _0n2 = BigInt(0);
27805
27946
  var _1n2 = BigInt(1);
27806
27947
  var _2n = /* @__PURE__ */ BigInt(2);
@@ -28145,7 +28286,7 @@ function mapHashToField(key, fieldOrder, isLE = false) {
28145
28286
  return isLE ? numberToBytesLE(reduced, fieldLen) : numberToBytesBE(reduced, fieldLen);
28146
28287
  }
28147
28288
 
28148
- // node_modules/@noble/curves/esm/abstract/curve.js
28289
+ // node_modules/.pnpm/@noble+curves@1.9.7/node_modules/@noble/curves/esm/abstract/curve.js
28149
28290
  var _0n3 = BigInt(0);
28150
28291
  var _1n3 = BigInt(1);
28151
28292
  function negateCt(condition, item) {
@@ -28423,7 +28564,7 @@ function _createCurveFields(type, CURVE, curveOpts = {}, FpFnLE) {
28423
28564
  return { CURVE, Fp, Fn };
28424
28565
  }
28425
28566
 
28426
- // node_modules/@noble/curves/esm/abstract/weierstrass.js
28567
+ // node_modules/.pnpm/@noble+curves@1.9.7/node_modules/@noble/curves/esm/abstract/weierstrass.js
28427
28568
  var divNearest = (num, den) => (num + (num >= 0 ? den : -den) / _2n2) / den;
28428
28569
  function _splitEndoScalar(k, basis, n) {
28429
28570
  const [[a1, b1], [a2, b2]] = basis;
@@ -29437,13 +29578,13 @@ function weierstrass(c) {
29437
29578
  return _ecdsa_new_output_to_legacy(c, signs);
29438
29579
  }
29439
29580
 
29440
- // node_modules/@noble/curves/esm/_shortw_utils.js
29581
+ // node_modules/.pnpm/@noble+curves@1.9.7/node_modules/@noble/curves/esm/_shortw_utils.js
29441
29582
  function createCurve(curveDef, defHash) {
29442
29583
  const create = (hash) => weierstrass({ ...curveDef, hash });
29443
29584
  return { ...create(defHash), create };
29444
29585
  }
29445
29586
 
29446
- // node_modules/@noble/curves/esm/secp256k1.js
29587
+ // node_modules/.pnpm/@noble+curves@1.9.7/node_modules/@noble/curves/esm/secp256k1.js
29447
29588
  var secp256k1_CURVE = {
29448
29589
  p: BigInt("0xfffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f"),
29449
29590
  n: BigInt("0xfffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141"),
@@ -29486,7 +29627,7 @@ function sqrtMod(y) {
29486
29627
  var Fpk1 = Field(secp256k1_CURVE.p, { sqrt: sqrtMod });
29487
29628
  var secp256k1 = createCurve({ ...secp256k1_CURVE, Fp: Fpk1, lowS: true, endo: secp256k1_ENDO }, sha256);
29488
29629
 
29489
- // node_modules/@scure/base/lib/esm/index.js
29630
+ // node_modules/.pnpm/@scure+base@1.2.6/node_modules/@scure/base/lib/esm/index.js
29490
29631
  function isBytes2(a) {
29491
29632
  return a instanceof Uint8Array || ArrayBuffer.isView(a) && a.constructor.name === "Uint8Array";
29492
29633
  }
@@ -30304,6 +30445,7 @@ var HoloSphere = class {
30304
30445
  this.openai = null;
30305
30446
  this.subscriptions = {};
30306
30447
  this.schemaCache = /* @__PURE__ */ new Map();
30448
+ this._holonNameCache = /* @__PURE__ */ new Map();
30307
30449
  this._allowedAuthors = /* @__PURE__ */ new Set();
30308
30450
  }
30309
30451
  /**
@@ -30357,8 +30499,8 @@ var HoloSphere = class {
30357
30499
  }
30358
30500
  return get(this, holon, lens, key, password, options);
30359
30501
  }
30360
- async getAll(holon, lens, password = null) {
30361
- return getAll(this, holon, lens, password);
30502
+ async getAll(holon, lens, password = null, options = {}) {
30503
+ return getAll(this, holon, lens, password, options);
30362
30504
  }
30363
30505
  async parse(rawData) {
30364
30506
  return parse(this, rawData);
@@ -30410,8 +30552,10 @@ var HoloSphere = class {
30410
30552
  /**
30411
30553
  * Subscribe to real-time changes in a global table.
30412
30554
  * v2-compatible: subscribeGlobal(lens, key, callback, options)
30555
+ *
30556
+ * Returns synchronously — see {@link subscribe}.
30413
30557
  */
30414
- async subscribeGlobal(lens, keyOrCallback, callbackOrOptions, options = {}) {
30558
+ subscribeGlobal(lens, keyOrCallback, callbackOrOptions, options = {}) {
30415
30559
  let key, callback;
30416
30560
  if (typeof keyOrCallback === "function") {
30417
30561
  callback = keyOrCallback;
@@ -30467,12 +30611,50 @@ var HoloSphere = class {
30467
30611
  getHolonScalespace(holon) {
30468
30612
  return getHolonScalespace(holon);
30469
30613
  }
30470
- async subscribe(holon, lens, callback) {
30614
+ /**
30615
+ * Subscribe to real-time changes for a holon/lens.
30616
+ *
30617
+ * Synchronous return: `{ unsubscribe: () => void }`. Callers do not
30618
+ * need to `await` — both `const s = holosphere.subscribe(...)` and
30619
+ * `const s = await holosphere.subscribe(...)` yield the same shape.
30620
+ */
30621
+ subscribe(holon, lens, callback) {
30471
30622
  return subscribe(this, holon, lens, callback);
30472
30623
  }
30473
30624
  notifySubscribers(data) {
30474
30625
  return notifySubscribers(this, data);
30475
30626
  }
30627
+ /**
30628
+ * Resolve a holon's display name from its `settings/<holon>` record.
30629
+ * Cached per-instance so repeated lookups (e.g. one per hologram in a
30630
+ * federated batch) only fetch once. Returns `null` when no name is set.
30631
+ *
30632
+ * Used internally by `resolveHologram` to stamp
30633
+ * `_hologram.sourceHolonName` so every consumer of a resolved hologram
30634
+ * already has the display name without a second round-trip.
30635
+ */
30636
+ async getHolonName(holonId) {
30637
+ if (!holonId) return null;
30638
+ const key = String(holonId);
30639
+ if (this._holonNameCache.has(key)) return this._holonNameCache.get(key);
30640
+ try {
30641
+ const settings = await this.get(key, "settings", key);
30642
+ let name = null;
30643
+ if (settings) {
30644
+ if (Array.isArray(settings)) {
30645
+ const found = settings.find((s) => s && typeof s.name === "string" && s.name.trim() !== "");
30646
+ name = found ? found.name : null;
30647
+ } else if (typeof settings.name === "string" && settings.name.trim() !== "") {
30648
+ name = settings.name;
30649
+ }
30650
+ }
30651
+ this._holonNameCache.set(key, name);
30652
+ return name;
30653
+ } catch {
30654
+ this._holonNameCache.set(key, null);
30655
+ return null;
30656
+ }
30657
+ }
30476
30658
  generateId() {
30477
30659
  return generateId();
30478
30660
  }