@superblocksteam/cli 2.0.3-next.161 → 2.0.3-next.163

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.
@@ -4293,18 +4293,6 @@ var init_baseToString = __esm({
4293
4293
  }
4294
4294
  });
4295
4295
 
4296
- // ../../../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/identity.js
4297
- function identity(value) {
4298
- return value;
4299
- }
4300
- var identity_default;
4301
- var init_identity = __esm({
4302
- "../../../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/identity.js"() {
4303
- init_cjs_shims();
4304
- identity_default = identity;
4305
- }
4306
- });
4307
-
4308
4296
  // ../../../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_isKey.js
4309
4297
  function isKey(value, object) {
4310
4298
  if (isArray_default(value)) {
@@ -4853,275 +4841,6 @@ var init_baseIsEqual = __esm({
4853
4841
  }
4854
4842
  });
4855
4843
 
4856
- // ../../../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseIsMatch.js
4857
- function baseIsMatch(object, source, matchData, customizer) {
4858
- var index = matchData.length, length = index, noCustomizer = !customizer;
4859
- if (object == null) {
4860
- return !length;
4861
- }
4862
- object = Object(object);
4863
- while (index--) {
4864
- var data = matchData[index];
4865
- if (noCustomizer && data[2] ? data[1] !== object[data[0]] : !(data[0] in object)) {
4866
- return false;
4867
- }
4868
- }
4869
- while (++index < length) {
4870
- data = matchData[index];
4871
- var key = data[0], objValue = object[key], srcValue = data[1];
4872
- if (noCustomizer && data[2]) {
4873
- if (objValue === void 0 && !(key in object)) {
4874
- return false;
4875
- }
4876
- } else {
4877
- var stack = new Stack_default();
4878
- if (customizer) {
4879
- var result = customizer(objValue, srcValue, key, object, source, stack);
4880
- }
4881
- if (!(result === void 0 ? baseIsEqual_default(srcValue, objValue, COMPARE_PARTIAL_FLAG5 | COMPARE_UNORDERED_FLAG3, customizer, stack) : result)) {
4882
- return false;
4883
- }
4884
- }
4885
- }
4886
- return true;
4887
- }
4888
- var COMPARE_PARTIAL_FLAG5, COMPARE_UNORDERED_FLAG3, baseIsMatch_default;
4889
- var init_baseIsMatch = __esm({
4890
- "../../../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseIsMatch.js"() {
4891
- init_cjs_shims();
4892
- init_Stack();
4893
- init_baseIsEqual();
4894
- COMPARE_PARTIAL_FLAG5 = 1;
4895
- COMPARE_UNORDERED_FLAG3 = 2;
4896
- baseIsMatch_default = baseIsMatch;
4897
- }
4898
- });
4899
-
4900
- // ../../../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_isStrictComparable.js
4901
- function isStrictComparable(value) {
4902
- return value === value && !isObject_default(value);
4903
- }
4904
- var isStrictComparable_default;
4905
- var init_isStrictComparable = __esm({
4906
- "../../../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_isStrictComparable.js"() {
4907
- init_cjs_shims();
4908
- init_isObject();
4909
- isStrictComparable_default = isStrictComparable;
4910
- }
4911
- });
4912
-
4913
- // ../../../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getMatchData.js
4914
- function getMatchData(object) {
4915
- var result = keys_default(object), length = result.length;
4916
- while (length--) {
4917
- var key = result[length], value = object[key];
4918
- result[length] = [key, value, isStrictComparable_default(value)];
4919
- }
4920
- return result;
4921
- }
4922
- var getMatchData_default;
4923
- var init_getMatchData = __esm({
4924
- "../../../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getMatchData.js"() {
4925
- init_cjs_shims();
4926
- init_isStrictComparable();
4927
- init_keys();
4928
- getMatchData_default = getMatchData;
4929
- }
4930
- });
4931
-
4932
- // ../../../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_matchesStrictComparable.js
4933
- function matchesStrictComparable(key, srcValue) {
4934
- return function(object) {
4935
- if (object == null) {
4936
- return false;
4937
- }
4938
- return object[key] === srcValue && (srcValue !== void 0 || key in Object(object));
4939
- };
4940
- }
4941
- var matchesStrictComparable_default;
4942
- var init_matchesStrictComparable = __esm({
4943
- "../../../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_matchesStrictComparable.js"() {
4944
- init_cjs_shims();
4945
- matchesStrictComparable_default = matchesStrictComparable;
4946
- }
4947
- });
4948
-
4949
- // ../../../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseMatches.js
4950
- function baseMatches(source) {
4951
- var matchData = getMatchData_default(source);
4952
- if (matchData.length == 1 && matchData[0][2]) {
4953
- return matchesStrictComparable_default(matchData[0][0], matchData[0][1]);
4954
- }
4955
- return function(object) {
4956
- return object === source || baseIsMatch_default(object, source, matchData);
4957
- };
4958
- }
4959
- var baseMatches_default;
4960
- var init_baseMatches = __esm({
4961
- "../../../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseMatches.js"() {
4962
- init_cjs_shims();
4963
- init_baseIsMatch();
4964
- init_getMatchData();
4965
- init_matchesStrictComparable();
4966
- baseMatches_default = baseMatches;
4967
- }
4968
- });
4969
-
4970
- // ../../../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseHasIn.js
4971
- function baseHasIn(object, key) {
4972
- return object != null && key in Object(object);
4973
- }
4974
- var baseHasIn_default;
4975
- var init_baseHasIn = __esm({
4976
- "../../../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseHasIn.js"() {
4977
- init_cjs_shims();
4978
- baseHasIn_default = baseHasIn;
4979
- }
4980
- });
4981
-
4982
- // ../../../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_hasPath.js
4983
- function hasPath(object, path, hasFunc) {
4984
- path = castPath_default(path, object);
4985
- var index = -1, length = path.length, result = false;
4986
- while (++index < length) {
4987
- var key = toKey_default(path[index]);
4988
- if (!(result = object != null && hasFunc(object, key))) {
4989
- break;
4990
- }
4991
- object = object[key];
4992
- }
4993
- if (result || ++index != length) {
4994
- return result;
4995
- }
4996
- length = object == null ? 0 : object.length;
4997
- return !!length && isLength_default(length) && isIndex_default(key, length) && (isArray_default(object) || isArguments_default(object));
4998
- }
4999
- var hasPath_default;
5000
- var init_hasPath = __esm({
5001
- "../../../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_hasPath.js"() {
5002
- init_cjs_shims();
5003
- init_castPath();
5004
- init_isArguments();
5005
- init_isArray();
5006
- init_isIndex();
5007
- init_isLength();
5008
- init_toKey();
5009
- hasPath_default = hasPath;
5010
- }
5011
- });
5012
-
5013
- // ../../../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/hasIn.js
5014
- function hasIn(object, path) {
5015
- return object != null && hasPath_default(object, path, baseHasIn_default);
5016
- }
5017
- var hasIn_default;
5018
- var init_hasIn = __esm({
5019
- "../../../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/hasIn.js"() {
5020
- init_cjs_shims();
5021
- init_baseHasIn();
5022
- init_hasPath();
5023
- hasIn_default = hasIn;
5024
- }
5025
- });
5026
-
5027
- // ../../../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseMatchesProperty.js
5028
- function baseMatchesProperty(path, srcValue) {
5029
- if (isKey_default(path) && isStrictComparable_default(srcValue)) {
5030
- return matchesStrictComparable_default(toKey_default(path), srcValue);
5031
- }
5032
- return function(object) {
5033
- var objValue = get_default(object, path);
5034
- return objValue === void 0 && objValue === srcValue ? hasIn_default(object, path) : baseIsEqual_default(srcValue, objValue, COMPARE_PARTIAL_FLAG6 | COMPARE_UNORDERED_FLAG4);
5035
- };
5036
- }
5037
- var COMPARE_PARTIAL_FLAG6, COMPARE_UNORDERED_FLAG4, baseMatchesProperty_default;
5038
- var init_baseMatchesProperty = __esm({
5039
- "../../../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseMatchesProperty.js"() {
5040
- init_cjs_shims();
5041
- init_baseIsEqual();
5042
- init_get();
5043
- init_hasIn();
5044
- init_isKey();
5045
- init_isStrictComparable();
5046
- init_matchesStrictComparable();
5047
- init_toKey();
5048
- COMPARE_PARTIAL_FLAG6 = 1;
5049
- COMPARE_UNORDERED_FLAG4 = 2;
5050
- baseMatchesProperty_default = baseMatchesProperty;
5051
- }
5052
- });
5053
-
5054
- // ../../../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseProperty.js
5055
- function baseProperty(key) {
5056
- return function(object) {
5057
- return object == null ? void 0 : object[key];
5058
- };
5059
- }
5060
- var baseProperty_default;
5061
- var init_baseProperty = __esm({
5062
- "../../../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseProperty.js"() {
5063
- init_cjs_shims();
5064
- baseProperty_default = baseProperty;
5065
- }
5066
- });
5067
-
5068
- // ../../../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_basePropertyDeep.js
5069
- function basePropertyDeep(path) {
5070
- return function(object) {
5071
- return baseGet_default(object, path);
5072
- };
5073
- }
5074
- var basePropertyDeep_default;
5075
- var init_basePropertyDeep = __esm({
5076
- "../../../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_basePropertyDeep.js"() {
5077
- init_cjs_shims();
5078
- init_baseGet();
5079
- basePropertyDeep_default = basePropertyDeep;
5080
- }
5081
- });
5082
-
5083
- // ../../../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/property.js
5084
- function property(path) {
5085
- return isKey_default(path) ? baseProperty_default(toKey_default(path)) : basePropertyDeep_default(path);
5086
- }
5087
- var property_default;
5088
- var init_property = __esm({
5089
- "../../../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/property.js"() {
5090
- init_cjs_shims();
5091
- init_baseProperty();
5092
- init_basePropertyDeep();
5093
- init_isKey();
5094
- init_toKey();
5095
- property_default = property;
5096
- }
5097
- });
5098
-
5099
- // ../../../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseIteratee.js
5100
- function baseIteratee(value) {
5101
- if (typeof value == "function") {
5102
- return value;
5103
- }
5104
- if (value == null) {
5105
- return identity_default;
5106
- }
5107
- if (typeof value == "object") {
5108
- return isArray_default(value) ? baseMatchesProperty_default(value[0], value[1]) : baseMatches_default(value);
5109
- }
5110
- return property_default(value);
5111
- }
5112
- var baseIteratee_default;
5113
- var init_baseIteratee = __esm({
5114
- "../../../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseIteratee.js"() {
5115
- init_cjs_shims();
5116
- init_baseMatches();
5117
- init_baseMatchesProperty();
5118
- init_identity();
5119
- init_isArray();
5120
- init_property();
5121
- baseIteratee_default = baseIteratee;
5122
- }
5123
- });
5124
-
5125
4844
  // ../../../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isString.js
5126
4845
  function isString(value) {
5127
4846
  return typeof value == "string" || !isArray_default(value) && isObjectLike_default(value) && baseGetTag_default(value) == stringTag5;
@@ -5193,90 +4912,6 @@ var init_isEqual = __esm({
5193
4912
  }
5194
4913
  });
5195
4914
 
5196
- // ../../../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseSet.js
5197
- function baseSet(object, path, value, customizer) {
5198
- if (!isObject_default(object)) {
5199
- return object;
5200
- }
5201
- path = castPath_default(path, object);
5202
- var index = -1, length = path.length, lastIndex = length - 1, nested = object;
5203
- while (nested != null && ++index < length) {
5204
- var key = toKey_default(path[index]), newValue = value;
5205
- if (key === "__proto__" || key === "constructor" || key === "prototype") {
5206
- return object;
5207
- }
5208
- if (index != lastIndex) {
5209
- var objValue = nested[key];
5210
- newValue = customizer ? customizer(objValue, key, nested) : void 0;
5211
- if (newValue === void 0) {
5212
- newValue = isObject_default(objValue) ? objValue : isIndex_default(path[index + 1]) ? [] : {};
5213
- }
5214
- }
5215
- assignValue_default(nested, key, newValue);
5216
- nested = nested[key];
5217
- }
5218
- return object;
5219
- }
5220
- var baseSet_default;
5221
- var init_baseSet = __esm({
5222
- "../../../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseSet.js"() {
5223
- init_cjs_shims();
5224
- init_assignValue();
5225
- init_castPath();
5226
- init_isIndex();
5227
- init_isObject();
5228
- init_toKey();
5229
- baseSet_default = baseSet;
5230
- }
5231
- });
5232
-
5233
- // ../../../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_basePickBy.js
5234
- function basePickBy(object, paths, predicate) {
5235
- var index = -1, length = paths.length, result = {};
5236
- while (++index < length) {
5237
- var path = paths[index], value = baseGet_default(object, path);
5238
- if (predicate(value, path)) {
5239
- baseSet_default(result, castPath_default(path, object), value);
5240
- }
5241
- }
5242
- return result;
5243
- }
5244
- var basePickBy_default;
5245
- var init_basePickBy = __esm({
5246
- "../../../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_basePickBy.js"() {
5247
- init_cjs_shims();
5248
- init_baseGet();
5249
- init_baseSet();
5250
- init_castPath();
5251
- basePickBy_default = basePickBy;
5252
- }
5253
- });
5254
-
5255
- // ../../../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/pickBy.js
5256
- function pickBy(object, predicate) {
5257
- if (object == null) {
5258
- return {};
5259
- }
5260
- var props = arrayMap_default(getAllKeysIn_default(object), function(prop) {
5261
- return [prop];
5262
- });
5263
- predicate = baseIteratee_default(predicate);
5264
- return basePickBy_default(object, props, function(value, path) {
5265
- return predicate(value, path[0]);
5266
- });
5267
- }
5268
- var pickBy_default;
5269
- var init_pickBy = __esm({
5270
- "../../../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/pickBy.js"() {
5271
- init_cjs_shims();
5272
- init_arrayMap();
5273
- init_baseIteratee();
5274
- init_basePickBy();
5275
- init_getAllKeysIn();
5276
- pickBy_default = pickBy;
5277
- }
5278
- });
5279
-
5280
4915
  // ../../../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/lodash.js
5281
4916
  var init_lodash = __esm({
5282
4917
  "../../../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/lodash.js"() {
@@ -5288,7 +4923,6 @@ var init_lodash = __esm({
5288
4923
  init_isEqual();
5289
4924
  init_isObject();
5290
4925
  init_isString();
5291
- init_pickBy();
5292
4926
  }
5293
4927
  });
5294
4928
 
@@ -5355,13 +4989,13 @@ var require_visit = __commonJS({
5355
4989
  "../../../../node_modules/.pnpm/yaml@2.7.1/node_modules/yaml/dist/visit.js"(exports2) {
5356
4990
  "use strict";
5357
4991
  init_cjs_shims();
5358
- var identity2 = require_identity();
4992
+ var identity = require_identity();
5359
4993
  var BREAK = Symbol("break visit");
5360
4994
  var SKIP = Symbol("skip children");
5361
4995
  var REMOVE = Symbol("remove node");
5362
4996
  function visit(node, visitor) {
5363
4997
  const visitor_ = initVisitor(visitor);
5364
- if (identity2.isDocument(node)) {
4998
+ if (identity.isDocument(node)) {
5365
4999
  const cd = visit_(null, node.contents, visitor_, Object.freeze([node]));
5366
5000
  if (cd === REMOVE)
5367
5001
  node.contents = null;
@@ -5373,12 +5007,12 @@ var require_visit = __commonJS({
5373
5007
  visit.REMOVE = REMOVE;
5374
5008
  function visit_(key, node, visitor, path) {
5375
5009
  const ctrl = callVisitor(key, node, visitor, path);
5376
- if (identity2.isNode(ctrl) || identity2.isPair(ctrl)) {
5010
+ if (identity.isNode(ctrl) || identity.isPair(ctrl)) {
5377
5011
  replaceNode(key, path, ctrl);
5378
5012
  return visit_(key, ctrl, visitor, path);
5379
5013
  }
5380
5014
  if (typeof ctrl !== "symbol") {
5381
- if (identity2.isCollection(node)) {
5015
+ if (identity.isCollection(node)) {
5382
5016
  path = Object.freeze(path.concat(node));
5383
5017
  for (let i = 0; i < node.items.length; ++i) {
5384
5018
  const ci = visit_(i, node.items[i], visitor, path);
@@ -5391,7 +5025,7 @@ var require_visit = __commonJS({
5391
5025
  i -= 1;
5392
5026
  }
5393
5027
  }
5394
- } else if (identity2.isPair(node)) {
5028
+ } else if (identity.isPair(node)) {
5395
5029
  path = Object.freeze(path.concat(node));
5396
5030
  const ck = visit_("key", node.key, visitor, path);
5397
5031
  if (ck === BREAK)
@@ -5409,7 +5043,7 @@ var require_visit = __commonJS({
5409
5043
  }
5410
5044
  async function visitAsync(node, visitor) {
5411
5045
  const visitor_ = initVisitor(visitor);
5412
- if (identity2.isDocument(node)) {
5046
+ if (identity.isDocument(node)) {
5413
5047
  const cd = await visitAsync_(null, node.contents, visitor_, Object.freeze([node]));
5414
5048
  if (cd === REMOVE)
5415
5049
  node.contents = null;
@@ -5421,12 +5055,12 @@ var require_visit = __commonJS({
5421
5055
  visitAsync.REMOVE = REMOVE;
5422
5056
  async function visitAsync_(key, node, visitor, path) {
5423
5057
  const ctrl = await callVisitor(key, node, visitor, path);
5424
- if (identity2.isNode(ctrl) || identity2.isPair(ctrl)) {
5058
+ if (identity.isNode(ctrl) || identity.isPair(ctrl)) {
5425
5059
  replaceNode(key, path, ctrl);
5426
5060
  return visitAsync_(key, ctrl, visitor, path);
5427
5061
  }
5428
5062
  if (typeof ctrl !== "symbol") {
5429
- if (identity2.isCollection(node)) {
5063
+ if (identity.isCollection(node)) {
5430
5064
  path = Object.freeze(path.concat(node));
5431
5065
  for (let i = 0; i < node.items.length; ++i) {
5432
5066
  const ci = await visitAsync_(i, node.items[i], visitor, path);
@@ -5439,7 +5073,7 @@ var require_visit = __commonJS({
5439
5073
  i -= 1;
5440
5074
  }
5441
5075
  }
5442
- } else if (identity2.isPair(node)) {
5076
+ } else if (identity.isPair(node)) {
5443
5077
  path = Object.freeze(path.concat(node));
5444
5078
  const ck = await visitAsync_("key", node.key, visitor, path);
5445
5079
  if (ck === BREAK)
@@ -5476,31 +5110,31 @@ var require_visit = __commonJS({
5476
5110
  function callVisitor(key, node, visitor, path) {
5477
5111
  if (typeof visitor === "function")
5478
5112
  return visitor(key, node, path);
5479
- if (identity2.isMap(node))
5113
+ if (identity.isMap(node))
5480
5114
  return visitor.Map?.(key, node, path);
5481
- if (identity2.isSeq(node))
5115
+ if (identity.isSeq(node))
5482
5116
  return visitor.Seq?.(key, node, path);
5483
- if (identity2.isPair(node))
5117
+ if (identity.isPair(node))
5484
5118
  return visitor.Pair?.(key, node, path);
5485
- if (identity2.isScalar(node))
5119
+ if (identity.isScalar(node))
5486
5120
  return visitor.Scalar?.(key, node, path);
5487
- if (identity2.isAlias(node))
5121
+ if (identity.isAlias(node))
5488
5122
  return visitor.Alias?.(key, node, path);
5489
5123
  return void 0;
5490
5124
  }
5491
5125
  function replaceNode(key, path, node) {
5492
5126
  const parent = path[path.length - 1];
5493
- if (identity2.isCollection(parent)) {
5127
+ if (identity.isCollection(parent)) {
5494
5128
  parent.items[key] = node;
5495
- } else if (identity2.isPair(parent)) {
5129
+ } else if (identity.isPair(parent)) {
5496
5130
  if (key === "key")
5497
5131
  parent.key = node;
5498
5132
  else
5499
5133
  parent.value = node;
5500
- } else if (identity2.isDocument(parent)) {
5134
+ } else if (identity.isDocument(parent)) {
5501
5135
  parent.contents = node;
5502
5136
  } else {
5503
- const pt = identity2.isAlias(parent) ? "alias" : "scalar";
5137
+ const pt = identity.isAlias(parent) ? "alias" : "scalar";
5504
5138
  throw new Error(`Cannot replace node with ${pt} parent`);
5505
5139
  }
5506
5140
  }
@@ -5514,7 +5148,7 @@ var require_directives = __commonJS({
5514
5148
  "../../../../node_modules/.pnpm/yaml@2.7.1/node_modules/yaml/dist/doc/directives.js"(exports2) {
5515
5149
  "use strict";
5516
5150
  init_cjs_shims();
5517
- var identity2 = require_identity();
5151
+ var identity = require_identity();
5518
5152
  var visit = require_visit();
5519
5153
  var escapeChars = {
5520
5154
  "!": "%21",
@@ -5657,10 +5291,10 @@ var require_directives = __commonJS({
5657
5291
  const lines = this.yaml.explicit ? [`%YAML ${this.yaml.version || "1.2"}`] : [];
5658
5292
  const tagEntries = Object.entries(this.tags);
5659
5293
  let tagNames;
5660
- if (doc && tagEntries.length > 0 && identity2.isNode(doc.contents)) {
5294
+ if (doc && tagEntries.length > 0 && identity.isNode(doc.contents)) {
5661
5295
  const tags = {};
5662
5296
  visit.visit(doc.contents, (_key, node) => {
5663
- if (identity2.isNode(node) && node.tag)
5297
+ if (identity.isNode(node) && node.tag)
5664
5298
  tags[node.tag] = true;
5665
5299
  });
5666
5300
  tagNames = Object.keys(tags);
@@ -5686,7 +5320,7 @@ var require_anchors = __commonJS({
5686
5320
  "../../../../node_modules/.pnpm/yaml@2.7.1/node_modules/yaml/dist/doc/anchors.js"(exports2) {
5687
5321
  "use strict";
5688
5322
  init_cjs_shims();
5689
- var identity2 = require_identity();
5323
+ var identity = require_identity();
5690
5324
  var visit = require_visit();
5691
5325
  function anchorIsValid(anchor) {
5692
5326
  if (/[\x00-\x19\s,[\]{}]/.test(anchor)) {
@@ -5734,7 +5368,7 @@ var require_anchors = __commonJS({
5734
5368
  setAnchors: () => {
5735
5369
  for (const source of aliasObjects) {
5736
5370
  const ref = sourceObjects.get(source);
5737
- if (typeof ref === "object" && ref.anchor && (identity2.isScalar(ref.node) || identity2.isCollection(ref.node))) {
5371
+ if (typeof ref === "object" && ref.anchor && (identity.isScalar(ref.node) || identity.isCollection(ref.node))) {
5738
5372
  ref.node.anchor = ref.anchor;
5739
5373
  } else {
5740
5374
  const error = new Error("Failed to resolve repeated object (this should not happen)");
@@ -5809,12 +5443,12 @@ var require_toJS = __commonJS({
5809
5443
  "../../../../node_modules/.pnpm/yaml@2.7.1/node_modules/yaml/dist/nodes/toJS.js"(exports2) {
5810
5444
  "use strict";
5811
5445
  init_cjs_shims();
5812
- var identity2 = require_identity();
5446
+ var identity = require_identity();
5813
5447
  function toJS(value, arg, ctx) {
5814
5448
  if (Array.isArray(value))
5815
5449
  return value.map((v, i) => toJS(v, String(i), ctx));
5816
5450
  if (value && typeof value.toJSON === "function") {
5817
- if (!ctx || !identity2.hasAnchor(value))
5451
+ if (!ctx || !identity.hasAnchor(value))
5818
5452
  return value.toJSON(arg, ctx);
5819
5453
  const data = { aliasCount: 0, count: 1, res: void 0 };
5820
5454
  ctx.anchors.set(value, data);
@@ -5841,11 +5475,11 @@ var require_Node = __commonJS({
5841
5475
  "use strict";
5842
5476
  init_cjs_shims();
5843
5477
  var applyReviver = require_applyReviver();
5844
- var identity2 = require_identity();
5478
+ var identity = require_identity();
5845
5479
  var toJS = require_toJS();
5846
5480
  var NodeBase = class {
5847
5481
  constructor(type) {
5848
- Object.defineProperty(this, identity2.NODE_TYPE, { value: type });
5482
+ Object.defineProperty(this, identity.NODE_TYPE, { value: type });
5849
5483
  }
5850
5484
  /** Create a copy of this node. */
5851
5485
  clone() {
@@ -5856,7 +5490,7 @@ var require_Node = __commonJS({
5856
5490
  }
5857
5491
  /** A plain JavaScript representation of this node. */
5858
5492
  toJS(doc, { mapAsMap, maxAliasCount, onAnchor, reviver } = {}) {
5859
- if (!identity2.isDocument(doc))
5493
+ if (!identity.isDocument(doc))
5860
5494
  throw new TypeError("A document argument is required");
5861
5495
  const ctx = {
5862
5496
  anchors: /* @__PURE__ */ new Map(),
@@ -5884,12 +5518,12 @@ var require_Alias = __commonJS({
5884
5518
  init_cjs_shims();
5885
5519
  var anchors = require_anchors();
5886
5520
  var visit = require_visit();
5887
- var identity2 = require_identity();
5521
+ var identity = require_identity();
5888
5522
  var Node = require_Node();
5889
5523
  var toJS = require_toJS();
5890
5524
  var Alias = class extends Node.NodeBase {
5891
5525
  constructor(source) {
5892
- super(identity2.ALIAS);
5526
+ super(identity.ALIAS);
5893
5527
  this.source = source;
5894
5528
  Object.defineProperty(this, "tag", {
5895
5529
  set() {
@@ -5957,11 +5591,11 @@ var require_Alias = __commonJS({
5957
5591
  }
5958
5592
  };
5959
5593
  function getAliasCount(doc, node, anchors2) {
5960
- if (identity2.isAlias(node)) {
5594
+ if (identity.isAlias(node)) {
5961
5595
  const source = node.resolve(doc);
5962
5596
  const anchor = anchors2 && source && anchors2.get(source);
5963
5597
  return anchor ? anchor.count * anchor.aliasCount : 0;
5964
- } else if (identity2.isCollection(node)) {
5598
+ } else if (identity.isCollection(node)) {
5965
5599
  let count = 0;
5966
5600
  for (const item of node.items) {
5967
5601
  const c = getAliasCount(doc, item, anchors2);
@@ -5969,7 +5603,7 @@ var require_Alias = __commonJS({
5969
5603
  count = c;
5970
5604
  }
5971
5605
  return count;
5972
- } else if (identity2.isPair(node)) {
5606
+ } else if (identity.isPair(node)) {
5973
5607
  const kc = getAliasCount(doc, node.key, anchors2);
5974
5608
  const vc = getAliasCount(doc, node.value, anchors2);
5975
5609
  return Math.max(kc, vc);
@@ -5985,13 +5619,13 @@ var require_Scalar = __commonJS({
5985
5619
  "../../../../node_modules/.pnpm/yaml@2.7.1/node_modules/yaml/dist/nodes/Scalar.js"(exports2) {
5986
5620
  "use strict";
5987
5621
  init_cjs_shims();
5988
- var identity2 = require_identity();
5622
+ var identity = require_identity();
5989
5623
  var Node = require_Node();
5990
5624
  var toJS = require_toJS();
5991
5625
  var isScalarValue = (value) => !value || typeof value !== "function" && typeof value !== "object";
5992
5626
  var Scalar = class extends Node.NodeBase {
5993
5627
  constructor(value) {
5994
- super(identity2.SCALAR);
5628
+ super(identity.SCALAR);
5995
5629
  this.value = value;
5996
5630
  }
5997
5631
  toJSON(arg, ctx) {
@@ -6017,7 +5651,7 @@ var require_createNode = __commonJS({
6017
5651
  "use strict";
6018
5652
  init_cjs_shims();
6019
5653
  var Alias = require_Alias();
6020
- var identity2 = require_identity();
5654
+ var identity = require_identity();
6021
5655
  var Scalar = require_Scalar();
6022
5656
  var defaultTagPrefix = "tag:yaml.org,2002:";
6023
5657
  function findTagObject(value, tagName, tags) {
@@ -6031,12 +5665,12 @@ var require_createNode = __commonJS({
6031
5665
  return tags.find((t) => t.identify?.(value) && !t.format);
6032
5666
  }
6033
5667
  function createNode(value, tagName, ctx) {
6034
- if (identity2.isDocument(value))
5668
+ if (identity.isDocument(value))
6035
5669
  value = value.contents;
6036
- if (identity2.isNode(value))
5670
+ if (identity.isNode(value))
6037
5671
  return value;
6038
- if (identity2.isPair(value)) {
6039
- const map = ctx.schema[identity2.MAP].createNode?.(ctx.schema, null, ctx);
5672
+ if (identity.isPair(value)) {
5673
+ const map = ctx.schema[identity.MAP].createNode?.(ctx.schema, null, ctx);
6040
5674
  map.items.push(value);
6041
5675
  return map;
6042
5676
  }
@@ -6069,7 +5703,7 @@ var require_createNode = __commonJS({
6069
5703
  ref.node = node2;
6070
5704
  return node2;
6071
5705
  }
6072
- tagObj = value instanceof Map ? schema[identity2.MAP] : Symbol.iterator in Object(value) ? schema[identity2.SEQ] : schema[identity2.MAP];
5706
+ tagObj = value instanceof Map ? schema[identity.MAP] : Symbol.iterator in Object(value) ? schema[identity.SEQ] : schema[identity.MAP];
6073
5707
  }
6074
5708
  if (onTagObj) {
6075
5709
  onTagObj(tagObj);
@@ -6094,7 +5728,7 @@ var require_Collection = __commonJS({
6094
5728
  "use strict";
6095
5729
  init_cjs_shims();
6096
5730
  var createNode = require_createNode();
6097
- var identity2 = require_identity();
5731
+ var identity = require_identity();
6098
5732
  var Node = require_Node();
6099
5733
  function collectionFromPath(schema, path, value) {
6100
5734
  let v = value;
@@ -6138,7 +5772,7 @@ var require_Collection = __commonJS({
6138
5772
  const copy = Object.create(Object.getPrototypeOf(this), Object.getOwnPropertyDescriptors(this));
6139
5773
  if (schema)
6140
5774
  copy.schema = schema;
6141
- copy.items = copy.items.map((it) => identity2.isNode(it) || identity2.isPair(it) ? it.clone(schema) : it);
5775
+ copy.items = copy.items.map((it) => identity.isNode(it) || identity.isPair(it) ? it.clone(schema) : it);
6142
5776
  if (this.range)
6143
5777
  copy.range = this.range.slice();
6144
5778
  return copy;
@@ -6154,7 +5788,7 @@ var require_Collection = __commonJS({
6154
5788
  else {
6155
5789
  const [key, ...rest] = path;
6156
5790
  const node = this.get(key, true);
6157
- if (identity2.isCollection(node))
5791
+ if (identity.isCollection(node))
6158
5792
  node.addIn(rest, value);
6159
5793
  else if (node === void 0 && this.schema)
6160
5794
  this.set(key, collectionFromPath(this.schema, rest, value));
@@ -6171,7 +5805,7 @@ var require_Collection = __commonJS({
6171
5805
  if (rest.length === 0)
6172
5806
  return this.delete(key);
6173
5807
  const node = this.get(key, true);
6174
- if (identity2.isCollection(node))
5808
+ if (identity.isCollection(node))
6175
5809
  return node.deleteIn(rest);
6176
5810
  else
6177
5811
  throw new Error(`Expected YAML collection at ${key}. Remaining path: ${rest}`);
@@ -6185,16 +5819,16 @@ var require_Collection = __commonJS({
6185
5819
  const [key, ...rest] = path;
6186
5820
  const node = this.get(key, true);
6187
5821
  if (rest.length === 0)
6188
- return !keepScalar && identity2.isScalar(node) ? node.value : node;
5822
+ return !keepScalar && identity.isScalar(node) ? node.value : node;
6189
5823
  else
6190
- return identity2.isCollection(node) ? node.getIn(rest, keepScalar) : void 0;
5824
+ return identity.isCollection(node) ? node.getIn(rest, keepScalar) : void 0;
6191
5825
  }
6192
5826
  hasAllNullValues(allowScalar) {
6193
5827
  return this.items.every((node) => {
6194
- if (!identity2.isPair(node))
5828
+ if (!identity.isPair(node))
6195
5829
  return false;
6196
5830
  const n = node.value;
6197
- return n == null || allowScalar && identity2.isScalar(n) && n.value == null && !n.commentBefore && !n.comment && !n.tag;
5831
+ return n == null || allowScalar && identity.isScalar(n) && n.value == null && !n.commentBefore && !n.comment && !n.tag;
6198
5832
  });
6199
5833
  }
6200
5834
  /**
@@ -6205,7 +5839,7 @@ var require_Collection = __commonJS({
6205
5839
  if (rest.length === 0)
6206
5840
  return this.has(key);
6207
5841
  const node = this.get(key, true);
6208
- return identity2.isCollection(node) ? node.hasIn(rest) : false;
5842
+ return identity.isCollection(node) ? node.hasIn(rest) : false;
6209
5843
  }
6210
5844
  /**
6211
5845
  * Sets a value in this collection. For `!!set`, `value` needs to be a
@@ -6217,7 +5851,7 @@ var require_Collection = __commonJS({
6217
5851
  this.set(key, value);
6218
5852
  } else {
6219
5853
  const node = this.get(key, true);
6220
- if (identity2.isCollection(node))
5854
+ if (identity.isCollection(node))
6221
5855
  node.setIn(rest, value);
6222
5856
  else if (node === void 0 && this.schema)
6223
5857
  this.set(key, collectionFromPath(this.schema, rest, value));
@@ -6677,7 +6311,7 @@ var require_stringify = __commonJS({
6677
6311
  "use strict";
6678
6312
  init_cjs_shims();
6679
6313
  var anchors = require_anchors();
6680
- var identity2 = require_identity();
6314
+ var identity = require_identity();
6681
6315
  var stringifyComment = require_stringifyComment();
6682
6316
  var stringifyString = require_stringifyString();
6683
6317
  function createStringifyContext(doc, options) {
@@ -6729,7 +6363,7 @@ var require_stringify = __commonJS({
6729
6363
  }
6730
6364
  let tagObj = void 0;
6731
6365
  let obj;
6732
- if (identity2.isScalar(item)) {
6366
+ if (identity.isScalar(item)) {
6733
6367
  obj = item.value;
6734
6368
  let match = tags.filter((t) => t.identify?.(obj));
6735
6369
  if (match.length > 1) {
@@ -6752,7 +6386,7 @@ var require_stringify = __commonJS({
6752
6386
  if (!doc.directives)
6753
6387
  return "";
6754
6388
  const props = [];
6755
- const anchor = (identity2.isScalar(node) || identity2.isCollection(node)) && node.anchor;
6389
+ const anchor = (identity.isScalar(node) || identity.isCollection(node)) && node.anchor;
6756
6390
  if (anchor && anchors.anchorIsValid(anchor)) {
6757
6391
  anchors$1.add(anchor);
6758
6392
  props.push(`&${anchor}`);
@@ -6763,9 +6397,9 @@ var require_stringify = __commonJS({
6763
6397
  return props.join(" ");
6764
6398
  }
6765
6399
  function stringify(item, ctx, onComment, onChompKeep) {
6766
- if (identity2.isPair(item))
6400
+ if (identity.isPair(item))
6767
6401
  return item.toString(ctx, onComment, onChompKeep);
6768
- if (identity2.isAlias(item)) {
6402
+ if (identity.isAlias(item)) {
6769
6403
  if (ctx.doc.directives)
6770
6404
  return item.toString(ctx);
6771
6405
  if (ctx.resolvedAliases?.has(item)) {
@@ -6779,16 +6413,16 @@ var require_stringify = __commonJS({
6779
6413
  }
6780
6414
  }
6781
6415
  let tagObj = void 0;
6782
- const node = identity2.isNode(item) ? item : ctx.doc.createNode(item, { onTagObj: (o) => tagObj = o });
6416
+ const node = identity.isNode(item) ? item : ctx.doc.createNode(item, { onTagObj: (o) => tagObj = o });
6783
6417
  if (!tagObj)
6784
6418
  tagObj = getTagObject(ctx.doc.schema.tags, node);
6785
6419
  const props = stringifyProps(node, tagObj, ctx);
6786
6420
  if (props.length > 0)
6787
6421
  ctx.indentAtStart = (ctx.indentAtStart ?? 0) + props.length + 1;
6788
- const str = typeof tagObj.stringify === "function" ? tagObj.stringify(node, ctx, onComment, onChompKeep) : identity2.isScalar(node) ? stringifyString.stringifyString(node, ctx, onComment, onChompKeep) : node.toString(ctx, onComment, onChompKeep);
6422
+ const str = typeof tagObj.stringify === "function" ? tagObj.stringify(node, ctx, onComment, onChompKeep) : identity.isScalar(node) ? stringifyString.stringifyString(node, ctx, onComment, onChompKeep) : node.toString(ctx, onComment, onChompKeep);
6789
6423
  if (!props)
6790
6424
  return str;
6791
- return identity2.isScalar(node) || str[0] === "{" || str[0] === "[" ? `${props} ${str}` : `${props}
6425
+ return identity.isScalar(node) || str[0] === "{" || str[0] === "[" ? `${props} ${str}` : `${props}
6792
6426
  ${ctx.indent}${str}`;
6793
6427
  }
6794
6428
  exports2.createStringifyContext = createStringifyContext;
@@ -6801,23 +6435,23 @@ var require_stringifyPair = __commonJS({
6801
6435
  "../../../../node_modules/.pnpm/yaml@2.7.1/node_modules/yaml/dist/stringify/stringifyPair.js"(exports2) {
6802
6436
  "use strict";
6803
6437
  init_cjs_shims();
6804
- var identity2 = require_identity();
6438
+ var identity = require_identity();
6805
6439
  var Scalar = require_Scalar();
6806
6440
  var stringify = require_stringify();
6807
6441
  var stringifyComment = require_stringifyComment();
6808
6442
  function stringifyPair({ key, value }, ctx, onComment, onChompKeep) {
6809
6443
  const { allNullValues, doc, indent, indentStep, options: { commentString, indentSeq, simpleKeys } } = ctx;
6810
- let keyComment = identity2.isNode(key) && key.comment || null;
6444
+ let keyComment = identity.isNode(key) && key.comment || null;
6811
6445
  if (simpleKeys) {
6812
6446
  if (keyComment) {
6813
6447
  throw new Error("With simple keys, key nodes cannot have comments");
6814
6448
  }
6815
- if (identity2.isCollection(key) || !identity2.isNode(key) && typeof key === "object") {
6449
+ if (identity.isCollection(key) || !identity.isNode(key) && typeof key === "object") {
6816
6450
  const msg = "With simple keys, collection cannot be used as a key value";
6817
6451
  throw new Error(msg);
6818
6452
  }
6819
6453
  }
6820
- let explicitKey = !simpleKeys && (!key || keyComment && value == null && !ctx.inFlow || identity2.isCollection(key) || (identity2.isScalar(key) ? key.type === Scalar.Scalar.BLOCK_FOLDED || key.type === Scalar.Scalar.BLOCK_LITERAL : typeof key === "object"));
6454
+ let explicitKey = !simpleKeys && (!key || keyComment && value == null && !ctx.inFlow || identity.isCollection(key) || (identity.isScalar(key) ? key.type === Scalar.Scalar.BLOCK_FOLDED || key.type === Scalar.Scalar.BLOCK_LITERAL : typeof key === "object"));
6821
6455
  ctx = Object.assign({}, ctx, {
6822
6456
  allNullValues: false,
6823
6457
  implicitKey: !explicitKey && (simpleKeys || !allNullValues),
@@ -6858,7 +6492,7 @@ ${indent}:`;
6858
6492
  str += stringifyComment.lineComment(str, ctx.indent, commentString(keyComment));
6859
6493
  }
6860
6494
  let vsb, vcb, valueComment;
6861
- if (identity2.isNode(value)) {
6495
+ if (identity.isNode(value)) {
6862
6496
  vsb = !!value.spaceBefore;
6863
6497
  vcb = value.commentBefore;
6864
6498
  valueComment = value.comment;
@@ -6870,10 +6504,10 @@ ${indent}:`;
6870
6504
  value = doc.createNode(value);
6871
6505
  }
6872
6506
  ctx.implicitKey = false;
6873
- if (!explicitKey && !keyComment && identity2.isScalar(value))
6507
+ if (!explicitKey && !keyComment && identity.isScalar(value))
6874
6508
  ctx.indentAtStart = str.length + 1;
6875
6509
  chompKeep = false;
6876
- if (!indentSeq && indentStep.length >= 2 && !ctx.inFlow && !explicitKey && identity2.isSeq(value) && !value.flow && !value.tag && !value.anchor) {
6510
+ if (!indentSeq && indentStep.length >= 2 && !ctx.inFlow && !explicitKey && identity.isSeq(value) && !value.flow && !value.tag && !value.anchor) {
6877
6511
  ctx.indent = ctx.indent.substring(2);
6878
6512
  }
6879
6513
  let valueCommentDone = false;
@@ -6893,7 +6527,7 @@ ${stringifyComment.indentComment(cs, ctx.indent)}`;
6893
6527
  ws += `
6894
6528
  ${ctx.indent}`;
6895
6529
  }
6896
- } else if (!explicitKey && identity2.isCollection(value)) {
6530
+ } else if (!explicitKey && identity.isCollection(value)) {
6897
6531
  const vs0 = valueStr[0];
6898
6532
  const nl0 = valueStr.indexOf("\n");
6899
6533
  const hasNewline = nl0 !== -1;
@@ -6958,7 +6592,7 @@ var require_merge = __commonJS({
6958
6592
  "../../../../node_modules/.pnpm/yaml@2.7.1/node_modules/yaml/dist/schema/yaml-1.1/merge.js"(exports2) {
6959
6593
  "use strict";
6960
6594
  init_cjs_shims();
6961
- var identity2 = require_identity();
6595
+ var identity = require_identity();
6962
6596
  var Scalar = require_Scalar();
6963
6597
  var MERGE_KEY = "<<";
6964
6598
  var merge = {
@@ -6971,10 +6605,10 @@ var require_merge = __commonJS({
6971
6605
  }),
6972
6606
  stringify: () => MERGE_KEY
6973
6607
  };
6974
- var isMergeKey = (ctx, key) => (merge.identify(key) || identity2.isScalar(key) && (!key.type || key.type === Scalar.Scalar.PLAIN) && merge.identify(key.value)) && ctx?.doc.schema.tags.some((tag) => tag.tag === merge.tag && tag.default);
6608
+ var isMergeKey = (ctx, key) => (merge.identify(key) || identity.isScalar(key) && (!key.type || key.type === Scalar.Scalar.PLAIN) && merge.identify(key.value)) && ctx?.doc.schema.tags.some((tag) => tag.tag === merge.tag && tag.default);
6975
6609
  function addMergeToJSMap(ctx, map, value) {
6976
- value = ctx && identity2.isAlias(value) ? value.resolve(ctx.doc) : value;
6977
- if (identity2.isSeq(value))
6610
+ value = ctx && identity.isAlias(value) ? value.resolve(ctx.doc) : value;
6611
+ if (identity.isSeq(value))
6978
6612
  for (const it of value.items)
6979
6613
  mergeValue(ctx, map, it);
6980
6614
  else if (Array.isArray(value))
@@ -6984,8 +6618,8 @@ var require_merge = __commonJS({
6984
6618
  mergeValue(ctx, map, value);
6985
6619
  }
6986
6620
  function mergeValue(ctx, map, value) {
6987
- const source = ctx && identity2.isAlias(value) ? value.resolve(ctx.doc) : value;
6988
- if (!identity2.isMap(source))
6621
+ const source = ctx && identity.isAlias(value) ? value.resolve(ctx.doc) : value;
6622
+ if (!identity.isMap(source))
6989
6623
  throw new Error("Merge sources must be maps or map aliases");
6990
6624
  const srcMap = source.toJSON(null, ctx, Map);
6991
6625
  for (const [key, value2] of srcMap) {
@@ -7019,10 +6653,10 @@ var require_addPairToJSMap = __commonJS({
7019
6653
  var log = require_log();
7020
6654
  var merge = require_merge();
7021
6655
  var stringify = require_stringify();
7022
- var identity2 = require_identity();
6656
+ var identity = require_identity();
7023
6657
  var toJS = require_toJS();
7024
6658
  function addPairToJSMap(ctx, map, { key, value }) {
7025
- if (identity2.isNode(key) && key.addToJSMap)
6659
+ if (identity.isNode(key) && key.addToJSMap)
7026
6660
  key.addToJSMap(ctx, map, value);
7027
6661
  else if (merge.isMergeKey(ctx, key))
7028
6662
  merge.addMergeToJSMap(ctx, map, value);
@@ -7053,7 +6687,7 @@ var require_addPairToJSMap = __commonJS({
7053
6687
  return "";
7054
6688
  if (typeof jsKey !== "object")
7055
6689
  return String(jsKey);
7056
- if (identity2.isNode(key) && ctx?.doc) {
6690
+ if (identity.isNode(key) && ctx?.doc) {
7057
6691
  const strCtx = stringify.createStringifyContext(ctx.doc, {});
7058
6692
  strCtx.anchors = /* @__PURE__ */ new Set();
7059
6693
  for (const node of ctx.anchors.keys())
@@ -7084,7 +6718,7 @@ var require_Pair = __commonJS({
7084
6718
  var createNode = require_createNode();
7085
6719
  var stringifyPair = require_stringifyPair();
7086
6720
  var addPairToJSMap = require_addPairToJSMap();
7087
- var identity2 = require_identity();
6721
+ var identity = require_identity();
7088
6722
  function createPair(key, value, ctx) {
7089
6723
  const k = createNode.createNode(key, void 0, ctx);
7090
6724
  const v = createNode.createNode(value, void 0, ctx);
@@ -7092,15 +6726,15 @@ var require_Pair = __commonJS({
7092
6726
  }
7093
6727
  var Pair = class _Pair {
7094
6728
  constructor(key, value = null) {
7095
- Object.defineProperty(this, identity2.NODE_TYPE, { value: identity2.PAIR });
6729
+ Object.defineProperty(this, identity.NODE_TYPE, { value: identity.PAIR });
7096
6730
  this.key = key;
7097
6731
  this.value = value;
7098
6732
  }
7099
6733
  clone(schema) {
7100
6734
  let { key, value } = this;
7101
- if (identity2.isNode(key))
6735
+ if (identity.isNode(key))
7102
6736
  key = key.clone(schema);
7103
- if (identity2.isNode(value))
6737
+ if (identity.isNode(value))
7104
6738
  value = value.clone(schema);
7105
6739
  return new _Pair(key, value);
7106
6740
  }
@@ -7122,7 +6756,7 @@ var require_stringifyCollection = __commonJS({
7122
6756
  "../../../../node_modules/.pnpm/yaml@2.7.1/node_modules/yaml/dist/stringify/stringifyCollection.js"(exports2) {
7123
6757
  "use strict";
7124
6758
  init_cjs_shims();
7125
- var identity2 = require_identity();
6759
+ var identity = require_identity();
7126
6760
  var stringify = require_stringify();
7127
6761
  var stringifyComment = require_stringifyComment();
7128
6762
  function stringifyCollection(collection, ctx, options) {
@@ -7138,14 +6772,14 @@ var require_stringifyCollection = __commonJS({
7138
6772
  for (let i = 0; i < items.length; ++i) {
7139
6773
  const item = items[i];
7140
6774
  let comment2 = null;
7141
- if (identity2.isNode(item)) {
6775
+ if (identity.isNode(item)) {
7142
6776
  if (!chompKeep && item.spaceBefore)
7143
6777
  lines.push("");
7144
6778
  addCommentBefore(ctx, lines, item.commentBefore, chompKeep);
7145
6779
  if (item.comment)
7146
6780
  comment2 = item.comment;
7147
- } else if (identity2.isPair(item)) {
7148
- const ik = identity2.isNode(item.key) ? item.key : null;
6781
+ } else if (identity.isPair(item)) {
6782
+ const ik = identity.isNode(item.key) ? item.key : null;
7149
6783
  if (ik) {
7150
6784
  if (!chompKeep && ik.spaceBefore)
7151
6785
  lines.push("");
@@ -7193,14 +6827,14 @@ ${indent}${line}` : "\n";
7193
6827
  for (let i = 0; i < items.length; ++i) {
7194
6828
  const item = items[i];
7195
6829
  let comment = null;
7196
- if (identity2.isNode(item)) {
6830
+ if (identity.isNode(item)) {
7197
6831
  if (item.spaceBefore)
7198
6832
  lines.push("");
7199
6833
  addCommentBefore(ctx, lines, item.commentBefore, false);
7200
6834
  if (item.comment)
7201
6835
  comment = item.comment;
7202
- } else if (identity2.isPair(item)) {
7203
- const ik = identity2.isNode(item.key) ? item.key : null;
6836
+ } else if (identity.isPair(item)) {
6837
+ const ik = identity.isNode(item.key) ? item.key : null;
7204
6838
  if (ik) {
7205
6839
  if (ik.spaceBefore)
7206
6840
  lines.push("");
@@ -7208,7 +6842,7 @@ ${indent}${line}` : "\n";
7208
6842
  if (ik.comment)
7209
6843
  reqNewline = true;
7210
6844
  }
7211
- const iv = identity2.isNode(item.value) ? item.value : null;
6845
+ const iv = identity.isNode(item.value) ? item.value : null;
7212
6846
  if (iv) {
7213
6847
  if (iv.comment)
7214
6848
  comment = iv.comment;
@@ -7270,16 +6904,16 @@ var require_YAMLMap = __commonJS({
7270
6904
  var stringifyCollection = require_stringifyCollection();
7271
6905
  var addPairToJSMap = require_addPairToJSMap();
7272
6906
  var Collection = require_Collection();
7273
- var identity2 = require_identity();
6907
+ var identity = require_identity();
7274
6908
  var Pair = require_Pair();
7275
6909
  var Scalar = require_Scalar();
7276
6910
  function findPair(items, key) {
7277
- const k = identity2.isScalar(key) ? key.value : key;
6911
+ const k = identity.isScalar(key) ? key.value : key;
7278
6912
  for (const it of items) {
7279
- if (identity2.isPair(it)) {
6913
+ if (identity.isPair(it)) {
7280
6914
  if (it.key === key || it.key === k)
7281
6915
  return it;
7282
- if (identity2.isScalar(it.key) && it.key.value === k)
6916
+ if (identity.isScalar(it.key) && it.key.value === k)
7283
6917
  return it;
7284
6918
  }
7285
6919
  }
@@ -7290,7 +6924,7 @@ var require_YAMLMap = __commonJS({
7290
6924
  return "tag:yaml.org,2002:map";
7291
6925
  }
7292
6926
  constructor(schema) {
7293
- super(identity2.MAP, schema);
6927
+ super(identity.MAP, schema);
7294
6928
  this.items = [];
7295
6929
  }
7296
6930
  /**
@@ -7328,7 +6962,7 @@ var require_YAMLMap = __commonJS({
7328
6962
  */
7329
6963
  add(pair, overwrite) {
7330
6964
  let _pair;
7331
- if (identity2.isPair(pair))
6965
+ if (identity.isPair(pair))
7332
6966
  _pair = pair;
7333
6967
  else if (!pair || typeof pair !== "object" || !("key" in pair)) {
7334
6968
  _pair = new Pair.Pair(pair, pair?.value);
@@ -7339,7 +6973,7 @@ var require_YAMLMap = __commonJS({
7339
6973
  if (prev) {
7340
6974
  if (!overwrite)
7341
6975
  throw new Error(`Key ${_pair.key} already set`);
7342
- if (identity2.isScalar(prev.value) && Scalar.isScalarValue(_pair.value))
6976
+ if (identity.isScalar(prev.value) && Scalar.isScalarValue(_pair.value))
7343
6977
  prev.value.value = _pair.value;
7344
6978
  else
7345
6979
  prev.value = _pair.value;
@@ -7363,7 +6997,7 @@ var require_YAMLMap = __commonJS({
7363
6997
  get(key, keepScalar) {
7364
6998
  const it = findPair(this.items, key);
7365
6999
  const node = it?.value;
7366
- return (!keepScalar && identity2.isScalar(node) ? node.value : node) ?? void 0;
7000
+ return (!keepScalar && identity.isScalar(node) ? node.value : node) ?? void 0;
7367
7001
  }
7368
7002
  has(key) {
7369
7003
  return !!findPair(this.items, key);
@@ -7388,7 +7022,7 @@ var require_YAMLMap = __commonJS({
7388
7022
  if (!ctx)
7389
7023
  return JSON.stringify(this);
7390
7024
  for (const item of this.items) {
7391
- if (!identity2.isPair(item))
7025
+ if (!identity.isPair(item))
7392
7026
  throw new Error(`Map items must all be pairs; found ${JSON.stringify(item)} instead`);
7393
7027
  }
7394
7028
  if (!ctx.allNullValues && this.hasAllNullValues(false))
@@ -7412,7 +7046,7 @@ var require_map = __commonJS({
7412
7046
  "../../../../node_modules/.pnpm/yaml@2.7.1/node_modules/yaml/dist/schema/common/map.js"(exports2) {
7413
7047
  "use strict";
7414
7048
  init_cjs_shims();
7415
- var identity2 = require_identity();
7049
+ var identity = require_identity();
7416
7050
  var YAMLMap = require_YAMLMap();
7417
7051
  var map = {
7418
7052
  collection: "map",
@@ -7420,7 +7054,7 @@ var require_map = __commonJS({
7420
7054
  nodeClass: YAMLMap.YAMLMap,
7421
7055
  tag: "tag:yaml.org,2002:map",
7422
7056
  resolve(map2, onError) {
7423
- if (!identity2.isMap(map2))
7057
+ if (!identity.isMap(map2))
7424
7058
  onError("Expected a mapping for this tag");
7425
7059
  return map2;
7426
7060
  },
@@ -7438,7 +7072,7 @@ var require_YAMLSeq = __commonJS({
7438
7072
  var createNode = require_createNode();
7439
7073
  var stringifyCollection = require_stringifyCollection();
7440
7074
  var Collection = require_Collection();
7441
- var identity2 = require_identity();
7075
+ var identity = require_identity();
7442
7076
  var Scalar = require_Scalar();
7443
7077
  var toJS = require_toJS();
7444
7078
  var YAMLSeq = class extends Collection.Collection {
@@ -7446,7 +7080,7 @@ var require_YAMLSeq = __commonJS({
7446
7080
  return "tag:yaml.org,2002:seq";
7447
7081
  }
7448
7082
  constructor(schema) {
7449
- super(identity2.SEQ, schema);
7083
+ super(identity.SEQ, schema);
7450
7084
  this.items = [];
7451
7085
  }
7452
7086
  add(value) {
@@ -7472,7 +7106,7 @@ var require_YAMLSeq = __commonJS({
7472
7106
  if (typeof idx !== "number")
7473
7107
  return void 0;
7474
7108
  const it = this.items[idx];
7475
- return !keepScalar && identity2.isScalar(it) ? it.value : it;
7109
+ return !keepScalar && identity.isScalar(it) ? it.value : it;
7476
7110
  }
7477
7111
  /**
7478
7112
  * Checks if the collection includes a value with the key `key`.
@@ -7496,7 +7130,7 @@ var require_YAMLSeq = __commonJS({
7496
7130
  if (typeof idx !== "number")
7497
7131
  throw new Error(`Expected a valid index, not ${key}.`);
7498
7132
  const prev = this.items[idx];
7499
- if (identity2.isScalar(prev) && Scalar.isScalarValue(value))
7133
+ if (identity.isScalar(prev) && Scalar.isScalarValue(value))
7500
7134
  prev.value = value;
7501
7135
  else
7502
7136
  this.items[idx] = value;
@@ -7538,7 +7172,7 @@ var require_YAMLSeq = __commonJS({
7538
7172
  }
7539
7173
  };
7540
7174
  function asItemIndex(key) {
7541
- let idx = identity2.isScalar(key) ? key.value : key;
7175
+ let idx = identity.isScalar(key) ? key.value : key;
7542
7176
  if (idx && typeof idx === "string")
7543
7177
  idx = Number(idx);
7544
7178
  return typeof idx === "number" && Number.isInteger(idx) && idx >= 0 ? idx : null;
@@ -7552,7 +7186,7 @@ var require_seq = __commonJS({
7552
7186
  "../../../../node_modules/.pnpm/yaml@2.7.1/node_modules/yaml/dist/schema/common/seq.js"(exports2) {
7553
7187
  "use strict";
7554
7188
  init_cjs_shims();
7555
- var identity2 = require_identity();
7189
+ var identity = require_identity();
7556
7190
  var YAMLSeq = require_YAMLSeq();
7557
7191
  var seq = {
7558
7192
  collection: "seq",
@@ -7560,7 +7194,7 @@ var require_seq = __commonJS({
7560
7194
  nodeClass: YAMLSeq.YAMLSeq,
7561
7195
  tag: "tag:yaml.org,2002:seq",
7562
7196
  resolve(seq2, onError) {
7563
- if (!identity2.isSeq(seq2))
7197
+ if (!identity.isSeq(seq2))
7564
7198
  onError("Expected a sequence for this tag");
7565
7199
  return seq2;
7566
7200
  },
@@ -7925,17 +7559,17 @@ var require_pairs = __commonJS({
7925
7559
  "../../../../node_modules/.pnpm/yaml@2.7.1/node_modules/yaml/dist/schema/yaml-1.1/pairs.js"(exports2) {
7926
7560
  "use strict";
7927
7561
  init_cjs_shims();
7928
- var identity2 = require_identity();
7562
+ var identity = require_identity();
7929
7563
  var Pair = require_Pair();
7930
7564
  var Scalar = require_Scalar();
7931
7565
  var YAMLSeq = require_YAMLSeq();
7932
7566
  function resolvePairs(seq, onError) {
7933
- if (identity2.isSeq(seq)) {
7567
+ if (identity.isSeq(seq)) {
7934
7568
  for (let i = 0; i < seq.items.length; ++i) {
7935
7569
  let item = seq.items[i];
7936
- if (identity2.isPair(item))
7570
+ if (identity.isPair(item))
7937
7571
  continue;
7938
- else if (identity2.isMap(item)) {
7572
+ else if (identity.isMap(item)) {
7939
7573
  if (item.items.length > 1)
7940
7574
  onError("Each pair must have its own sequence indicator");
7941
7575
  const pair = item.items[0] || new Pair.Pair(new Scalar.Scalar(null));
@@ -7949,7 +7583,7 @@ ${cn.comment}` : item.comment;
7949
7583
  }
7950
7584
  item = pair;
7951
7585
  }
7952
- seq.items[i] = identity2.isPair(item) ? item : new Pair.Pair(item);
7586
+ seq.items[i] = identity.isPair(item) ? item : new Pair.Pair(item);
7953
7587
  }
7954
7588
  } else
7955
7589
  onError("Expected a sequence for this tag");
@@ -8004,7 +7638,7 @@ var require_omap = __commonJS({
8004
7638
  "../../../../node_modules/.pnpm/yaml@2.7.1/node_modules/yaml/dist/schema/yaml-1.1/omap.js"(exports2) {
8005
7639
  "use strict";
8006
7640
  init_cjs_shims();
8007
- var identity2 = require_identity();
7641
+ var identity = require_identity();
8008
7642
  var toJS = require_toJS();
8009
7643
  var YAMLMap = require_YAMLMap();
8010
7644
  var YAMLSeq = require_YAMLSeq();
@@ -8031,7 +7665,7 @@ var require_omap = __commonJS({
8031
7665
  ctx.onCreate(map);
8032
7666
  for (const pair of this.items) {
8033
7667
  let key, value;
8034
- if (identity2.isPair(pair)) {
7668
+ if (identity.isPair(pair)) {
8035
7669
  key = toJS.toJS(pair.key, "", ctx);
8036
7670
  value = toJS.toJS(pair.value, key, ctx);
8037
7671
  } else {
@@ -8061,7 +7695,7 @@ var require_omap = __commonJS({
8061
7695
  const pairs$1 = pairs.resolvePairs(seq, onError);
8062
7696
  const seenKeys = [];
8063
7697
  for (const { key } of pairs$1.items) {
8064
- if (identity2.isScalar(key)) {
7698
+ if (identity.isScalar(key)) {
8065
7699
  if (seenKeys.includes(key.value)) {
8066
7700
  onError(`Ordered maps must not include duplicate keys: ${key.value}`);
8067
7701
  } else {
@@ -8246,7 +7880,7 @@ var require_set = __commonJS({
8246
7880
  "../../../../node_modules/.pnpm/yaml@2.7.1/node_modules/yaml/dist/schema/yaml-1.1/set.js"(exports2) {
8247
7881
  "use strict";
8248
7882
  init_cjs_shims();
8249
- var identity2 = require_identity();
7883
+ var identity = require_identity();
8250
7884
  var Pair = require_Pair();
8251
7885
  var YAMLMap = require_YAMLMap();
8252
7886
  var YAMLSet = class _YAMLSet extends YAMLMap.YAMLMap {
@@ -8256,7 +7890,7 @@ var require_set = __commonJS({
8256
7890
  }
8257
7891
  add(key) {
8258
7892
  let pair;
8259
- if (identity2.isPair(key))
7893
+ if (identity.isPair(key))
8260
7894
  pair = key;
8261
7895
  else if (key && typeof key === "object" && "key" in key && "value" in key && key.value === null)
8262
7896
  pair = new Pair.Pair(key.key, null);
@@ -8272,7 +7906,7 @@ var require_set = __commonJS({
8272
7906
  */
8273
7907
  get(key, keepPair) {
8274
7908
  const pair = YAMLMap.findPair(this.items, key);
8275
- return !keepPair && identity2.isPair(pair) ? identity2.isScalar(pair.key) ? pair.key.value : pair.key : pair;
7909
+ return !keepPair && identity.isPair(pair) ? identity.isScalar(pair.key) ? pair.key.value : pair.key : pair;
8276
7910
  }
8277
7911
  set(key, value) {
8278
7912
  if (typeof value !== "boolean")
@@ -8316,7 +7950,7 @@ var require_set = __commonJS({
8316
7950
  tag: "tag:yaml.org,2002:set",
8317
7951
  createNode: (schema, iterable, ctx) => YAMLSet.from(schema, iterable, ctx),
8318
7952
  resolve(map, onError) {
8319
- if (identity2.isMap(map)) {
7953
+ if (identity.isMap(map)) {
8320
7954
  if (map.hasAllNullValues(true))
8321
7955
  return Object.assign(new YAMLSet(), map);
8322
7956
  else
@@ -8565,7 +8199,7 @@ var require_Schema = __commonJS({
8565
8199
  "../../../../node_modules/.pnpm/yaml@2.7.1/node_modules/yaml/dist/schema/Schema.js"(exports2) {
8566
8200
  "use strict";
8567
8201
  init_cjs_shims();
8568
- var identity2 = require_identity();
8202
+ var identity = require_identity();
8569
8203
  var map = require_map();
8570
8204
  var seq = require_seq();
8571
8205
  var string = require_string();
@@ -8578,9 +8212,9 @@ var require_Schema = __commonJS({
8578
8212
  this.knownTags = resolveKnownTags ? tags.coreKnownTags : {};
8579
8213
  this.tags = tags.getTags(customTags, this.name, merge);
8580
8214
  this.toStringOptions = toStringDefaults ?? null;
8581
- Object.defineProperty(this, identity2.MAP, { value: map.map });
8582
- Object.defineProperty(this, identity2.SCALAR, { value: string.string });
8583
- Object.defineProperty(this, identity2.SEQ, { value: seq.seq });
8215
+ Object.defineProperty(this, identity.MAP, { value: map.map });
8216
+ Object.defineProperty(this, identity.SCALAR, { value: string.string });
8217
+ Object.defineProperty(this, identity.SEQ, { value: seq.seq });
8584
8218
  this.sortMapEntries = typeof sortMapEntries === "function" ? sortMapEntries : sortMapEntries === true ? sortMapEntriesByKey : null;
8585
8219
  }
8586
8220
  clone() {
@@ -8598,7 +8232,7 @@ var require_stringifyDocument = __commonJS({
8598
8232
  "../../../../node_modules/.pnpm/yaml@2.7.1/node_modules/yaml/dist/stringify/stringifyDocument.js"(exports2) {
8599
8233
  "use strict";
8600
8234
  init_cjs_shims();
8601
- var identity2 = require_identity();
8235
+ var identity = require_identity();
8602
8236
  var stringify = require_stringify();
8603
8237
  var stringifyComment = require_stringifyComment();
8604
8238
  function stringifyDocument(doc, options) {
@@ -8625,7 +8259,7 @@ var require_stringifyDocument = __commonJS({
8625
8259
  let chompKeep = false;
8626
8260
  let contentComment = null;
8627
8261
  if (doc.contents) {
8628
- if (identity2.isNode(doc.contents)) {
8262
+ if (identity.isNode(doc.contents)) {
8629
8263
  if (doc.contents.spaceBefore && hasDirectives)
8630
8264
  lines.push("");
8631
8265
  if (doc.contents.commentBefore) {
@@ -8681,7 +8315,7 @@ var require_Document = __commonJS({
8681
8315
  init_cjs_shims();
8682
8316
  var Alias = require_Alias();
8683
8317
  var Collection = require_Collection();
8684
- var identity2 = require_identity();
8318
+ var identity = require_identity();
8685
8319
  var Pair = require_Pair();
8686
8320
  var toJS = require_toJS();
8687
8321
  var Schema = require_Schema();
@@ -8696,7 +8330,7 @@ var require_Document = __commonJS({
8696
8330
  this.comment = null;
8697
8331
  this.errors = [];
8698
8332
  this.warnings = [];
8699
- Object.defineProperty(this, identity2.NODE_TYPE, { value: identity2.DOC });
8333
+ Object.defineProperty(this, identity.NODE_TYPE, { value: identity.DOC });
8700
8334
  let _replacer = null;
8701
8335
  if (typeof replacer === "function" || Array.isArray(replacer)) {
8702
8336
  _replacer = replacer;
@@ -8732,7 +8366,7 @@ var require_Document = __commonJS({
8732
8366
  */
8733
8367
  clone() {
8734
8368
  const copy = Object.create(_Document.prototype, {
8735
- [identity2.NODE_TYPE]: { value: identity2.DOC }
8369
+ [identity.NODE_TYPE]: { value: identity.DOC }
8736
8370
  });
8737
8371
  copy.commentBefore = this.commentBefore;
8738
8372
  copy.comment = this.comment;
@@ -8742,7 +8376,7 @@ var require_Document = __commonJS({
8742
8376
  if (this.directives)
8743
8377
  copy.directives = this.directives.clone();
8744
8378
  copy.schema = this.schema.clone();
8745
- copy.contents = identity2.isNode(this.contents) ? this.contents.clone(copy.schema) : this.contents;
8379
+ copy.contents = identity.isNode(this.contents) ? this.contents.clone(copy.schema) : this.contents;
8746
8380
  if (this.range)
8747
8381
  copy.range = this.range.slice();
8748
8382
  return copy;
@@ -8805,7 +8439,7 @@ var require_Document = __commonJS({
8805
8439
  sourceObjects
8806
8440
  };
8807
8441
  const node = createNode.createNode(value, tag, ctx);
8808
- if (flow && identity2.isCollection(node))
8442
+ if (flow && identity.isCollection(node))
8809
8443
  node.flow = true;
8810
8444
  setAnchors();
8811
8445
  return node;
@@ -8845,7 +8479,7 @@ var require_Document = __commonJS({
8845
8479
  * `true` (collections are always returned intact).
8846
8480
  */
8847
8481
  get(key, keepScalar) {
8848
- return identity2.isCollection(this.contents) ? this.contents.get(key, keepScalar) : void 0;
8482
+ return identity.isCollection(this.contents) ? this.contents.get(key, keepScalar) : void 0;
8849
8483
  }
8850
8484
  /**
8851
8485
  * Returns item at `path`, or `undefined` if not found. By default unwraps
@@ -8854,14 +8488,14 @@ var require_Document = __commonJS({
8854
8488
  */
8855
8489
  getIn(path, keepScalar) {
8856
8490
  if (Collection.isEmptyPath(path))
8857
- return !keepScalar && identity2.isScalar(this.contents) ? this.contents.value : this.contents;
8858
- return identity2.isCollection(this.contents) ? this.contents.getIn(path, keepScalar) : void 0;
8491
+ return !keepScalar && identity.isScalar(this.contents) ? this.contents.value : this.contents;
8492
+ return identity.isCollection(this.contents) ? this.contents.getIn(path, keepScalar) : void 0;
8859
8493
  }
8860
8494
  /**
8861
8495
  * Checks if the document includes a value with the key `key`.
8862
8496
  */
8863
8497
  has(key) {
8864
- return identity2.isCollection(this.contents) ? this.contents.has(key) : false;
8498
+ return identity.isCollection(this.contents) ? this.contents.has(key) : false;
8865
8499
  }
8866
8500
  /**
8867
8501
  * Checks if the document includes a value at `path`.
@@ -8869,7 +8503,7 @@ var require_Document = __commonJS({
8869
8503
  hasIn(path) {
8870
8504
  if (Collection.isEmptyPath(path))
8871
8505
  return this.contents !== void 0;
8872
- return identity2.isCollection(this.contents) ? this.contents.hasIn(path) : false;
8506
+ return identity.isCollection(this.contents) ? this.contents.hasIn(path) : false;
8873
8507
  }
8874
8508
  /**
8875
8509
  * Sets a value in this document. For `!!set`, `value` needs to be a
@@ -8976,7 +8610,7 @@ var require_Document = __commonJS({
8976
8610
  }
8977
8611
  };
8978
8612
  function assertCollection(contents) {
8979
- if (identity2.isCollection(contents))
8613
+ if (identity.isCollection(contents))
8980
8614
  return true;
8981
8615
  throw new Error("Expected a YAML collection as document contents");
8982
8616
  }
@@ -9254,12 +8888,12 @@ var require_util_map_includes = __commonJS({
9254
8888
  "../../../../node_modules/.pnpm/yaml@2.7.1/node_modules/yaml/dist/compose/util-map-includes.js"(exports2) {
9255
8889
  "use strict";
9256
8890
  init_cjs_shims();
9257
- var identity2 = require_identity();
8891
+ var identity = require_identity();
9258
8892
  function mapIncludes(ctx, items, search) {
9259
8893
  const { uniqueKeys } = ctx.options;
9260
8894
  if (uniqueKeys === false)
9261
8895
  return false;
9262
- const isEqual2 = typeof uniqueKeys === "function" ? uniqueKeys : (a, b) => a === b || identity2.isScalar(a) && identity2.isScalar(b) && a.value === b.value;
8896
+ const isEqual2 = typeof uniqueKeys === "function" ? uniqueKeys : (a, b) => a === b || identity.isScalar(a) && identity.isScalar(b) && a.value === b.value;
9263
8897
  return items.some((pair) => isEqual2(pair.key, search));
9264
8898
  }
9265
8899
  exports2.mapIncludes = mapIncludes;
@@ -9476,7 +9110,7 @@ var require_resolve_flow_collection = __commonJS({
9476
9110
  "../../../../node_modules/.pnpm/yaml@2.7.1/node_modules/yaml/dist/compose/resolve-flow-collection.js"(exports2) {
9477
9111
  "use strict";
9478
9112
  init_cjs_shims();
9479
- var identity2 = require_identity();
9113
+ var identity = require_identity();
9480
9114
  var Pair = require_Pair();
9481
9115
  var YAMLMap = require_YAMLMap();
9482
9116
  var YAMLSeq = require_YAMLSeq();
@@ -9555,7 +9189,7 @@ var require_resolve_flow_collection = __commonJS({
9555
9189
  }
9556
9190
  if (prevItemComment) {
9557
9191
  let prev = coll.items[coll.items.length - 1];
9558
- if (identity2.isPair(prev))
9192
+ if (identity.isPair(prev))
9559
9193
  prev = prev.value ?? prev.key;
9560
9194
  if (prev.comment)
9561
9195
  prev.comment += "\n" + prevItemComment;
@@ -9671,7 +9305,7 @@ var require_compose_collection = __commonJS({
9671
9305
  "../../../../node_modules/.pnpm/yaml@2.7.1/node_modules/yaml/dist/compose/compose-collection.js"(exports2) {
9672
9306
  "use strict";
9673
9307
  init_cjs_shims();
9674
- var identity2 = require_identity();
9308
+ var identity = require_identity();
9675
9309
  var Scalar = require_Scalar();
9676
9310
  var YAMLMap = require_YAMLMap();
9677
9311
  var YAMLSeq = require_YAMLSeq();
@@ -9721,7 +9355,7 @@ var require_compose_collection = __commonJS({
9721
9355
  }
9722
9356
  const coll = resolveCollection(CN, ctx, token, onError, tagName, tag);
9723
9357
  const res = tag.resolve?.(coll, (msg) => onError(tagToken, "TAG_RESOLVE_FAILED", msg), ctx.options) ?? coll;
9724
- const node = identity2.isNode(res) ? res : new Scalar.Scalar(res);
9358
+ const node = identity.isNode(res) ? res : new Scalar.Scalar(res);
9725
9359
  node.range = coll.range;
9726
9360
  node.tag = tagName;
9727
9361
  if (tag?.format)
@@ -10141,7 +9775,7 @@ var require_compose_scalar = __commonJS({
10141
9775
  "../../../../node_modules/.pnpm/yaml@2.7.1/node_modules/yaml/dist/compose/compose-scalar.js"(exports2) {
10142
9776
  "use strict";
10143
9777
  init_cjs_shims();
10144
- var identity2 = require_identity();
9778
+ var identity = require_identity();
10145
9779
  var Scalar = require_Scalar();
10146
9780
  var resolveBlockScalar = require_resolve_block_scalar();
10147
9781
  var resolveFlowScalar = require_resolve_flow_scalar();
@@ -10150,17 +9784,17 @@ var require_compose_scalar = __commonJS({
10150
9784
  const tagName = tagToken ? ctx.directives.tagName(tagToken.source, (msg) => onError(tagToken, "TAG_RESOLVE_FAILED", msg)) : null;
10151
9785
  let tag;
10152
9786
  if (ctx.options.stringKeys && ctx.atKey) {
10153
- tag = ctx.schema[identity2.SCALAR];
9787
+ tag = ctx.schema[identity.SCALAR];
10154
9788
  } else if (tagName)
10155
9789
  tag = findScalarTagByName(ctx.schema, value, tagName, tagToken, onError);
10156
9790
  else if (token.type === "scalar")
10157
9791
  tag = findScalarTagByTest(ctx, value, token, onError);
10158
9792
  else
10159
- tag = ctx.schema[identity2.SCALAR];
9793
+ tag = ctx.schema[identity.SCALAR];
10160
9794
  let scalar;
10161
9795
  try {
10162
9796
  const res = tag.resolve(value, (msg) => onError(tagToken ?? token, "TAG_RESOLVE_FAILED", msg), ctx.options);
10163
- scalar = identity2.isScalar(res) ? res : new Scalar.Scalar(res);
9797
+ scalar = identity.isScalar(res) ? res : new Scalar.Scalar(res);
10164
9798
  } catch (error) {
10165
9799
  const msg = error instanceof Error ? error.message : String(error);
10166
9800
  onError(tagToken ?? token, "TAG_RESOLVE_FAILED", msg);
@@ -10180,7 +9814,7 @@ var require_compose_scalar = __commonJS({
10180
9814
  }
10181
9815
  function findScalarTagByName(schema, value, tagName, tagToken, onError) {
10182
9816
  if (tagName === "!")
10183
- return schema[identity2.SCALAR];
9817
+ return schema[identity.SCALAR];
10184
9818
  const matchWithTest = [];
10185
9819
  for (const tag of schema.tags) {
10186
9820
  if (!tag.collection && tag.tag === tagName) {
@@ -10199,12 +9833,12 @@ var require_compose_scalar = __commonJS({
10199
9833
  return kt;
10200
9834
  }
10201
9835
  onError(tagToken, "TAG_RESOLVE_FAILED", `Unresolved tag: ${tagName}`, tagName !== "tag:yaml.org,2002:str");
10202
- return schema[identity2.SCALAR];
9836
+ return schema[identity.SCALAR];
10203
9837
  }
10204
9838
  function findScalarTagByTest({ atKey, directives, schema }, value, token, onError) {
10205
- const tag = schema.tags.find((tag2) => (tag2.default === true || atKey && tag2.default === "key") && tag2.test?.test(value)) || schema[identity2.SCALAR];
9839
+ const tag = schema.tags.find((tag2) => (tag2.default === true || atKey && tag2.default === "key") && tag2.test?.test(value)) || schema[identity.SCALAR];
10206
9840
  if (schema.compat) {
10207
- const compat = schema.compat.find((tag2) => tag2.default && tag2.test?.test(value)) ?? schema[identity2.SCALAR];
9841
+ const compat = schema.compat.find((tag2) => tag2.default && tag2.test?.test(value)) ?? schema[identity.SCALAR];
10208
9842
  if (tag.tag !== compat.tag) {
10209
9843
  const ts = directives.tagString(tag.tag);
10210
9844
  const cs = directives.tagString(compat.tag);
@@ -10256,7 +9890,7 @@ var require_compose_node = __commonJS({
10256
9890
  "use strict";
10257
9891
  init_cjs_shims();
10258
9892
  var Alias = require_Alias();
10259
- var identity2 = require_identity();
9893
+ var identity = require_identity();
10260
9894
  var composeCollection = require_compose_collection();
10261
9895
  var composeScalar = require_compose_scalar();
10262
9896
  var resolveEnd = require_resolve_end();
@@ -10297,7 +9931,7 @@ var require_compose_node = __commonJS({
10297
9931
  }
10298
9932
  if (anchor && node.anchor === "")
10299
9933
  onError(anchor, "BAD_ALIAS", "Anchor cannot be an empty string");
10300
- if (atKey && ctx.options.stringKeys && (!identity2.isScalar(node) || typeof node.value !== "string" || node.tag && node.tag !== "tag:yaml.org,2002:str")) {
9934
+ if (atKey && ctx.options.stringKeys && (!identity.isScalar(node) || typeof node.value !== "string" || node.tag && node.tag !== "tag:yaml.org,2002:str")) {
10301
9935
  const msg = "With stringKeys, all keys must be strings";
10302
9936
  onError(tag ?? token, "NON_STRING_KEY", msg);
10303
9937
  }
@@ -10405,7 +10039,7 @@ var require_composer = __commonJS({
10405
10039
  var directives = require_directives();
10406
10040
  var Document = require_Document();
10407
10041
  var errors = require_errors();
10408
- var identity2 = require_identity();
10042
+ var identity = require_identity();
10409
10043
  var composeDoc = require_compose_doc();
10410
10044
  var resolveEnd = require_resolve_end();
10411
10045
  function getErrorPos(src) {
@@ -10467,9 +10101,9 @@ var require_composer = __commonJS({
10467
10101
  ${comment}` : comment;
10468
10102
  } else if (afterEmptyLine || doc.directives.docStart || !dc) {
10469
10103
  doc.commentBefore = comment;
10470
- } else if (identity2.isCollection(dc) && !dc.flow && dc.items.length > 0) {
10104
+ } else if (identity.isCollection(dc) && !dc.flow && dc.items.length > 0) {
10471
10105
  let it = dc.items[0];
10472
- if (identity2.isPair(it))
10106
+ if (identity.isPair(it))
10473
10107
  it = it.key;
10474
10108
  const cb = it.commentBefore;
10475
10109
  it.commentBefore = cb ? `${comment}
@@ -12506,7 +12140,7 @@ var require_public_api = __commonJS({
12506
12140
  var Document = require_Document();
12507
12141
  var errors = require_errors();
12508
12142
  var log = require_log();
12509
- var identity2 = require_identity();
12143
+ var identity = require_identity();
12510
12144
  var lineCounter = require_line_counter();
12511
12145
  var parser = require_parser();
12512
12146
  function parseOptions(options) {
@@ -12584,7 +12218,7 @@ var require_public_api = __commonJS({
12584
12218
  if (!keepUndefined)
12585
12219
  return void 0;
12586
12220
  }
12587
- if (identity2.isDocument(value) && !_replacer)
12221
+ if (identity.isDocument(value) && !_replacer)
12588
12222
  return value.toString(options);
12589
12223
  return new Document.Document(value, _replacer, options).toString(options);
12590
12224
  }
@@ -12605,7 +12239,7 @@ var require_dist = __commonJS({
12605
12239
  var Schema = require_Schema();
12606
12240
  var errors = require_errors();
12607
12241
  var Alias = require_Alias();
12608
- var identity2 = require_identity();
12242
+ var identity = require_identity();
12609
12243
  var Pair = require_Pair();
12610
12244
  var Scalar = require_Scalar();
12611
12245
  var YAMLMap = require_YAMLMap();
@@ -12623,14 +12257,14 @@ var require_dist = __commonJS({
12623
12257
  exports2.YAMLParseError = errors.YAMLParseError;
12624
12258
  exports2.YAMLWarning = errors.YAMLWarning;
12625
12259
  exports2.Alias = Alias.Alias;
12626
- exports2.isAlias = identity2.isAlias;
12627
- exports2.isCollection = identity2.isCollection;
12628
- exports2.isDocument = identity2.isDocument;
12629
- exports2.isMap = identity2.isMap;
12630
- exports2.isNode = identity2.isNode;
12631
- exports2.isPair = identity2.isPair;
12632
- exports2.isScalar = identity2.isScalar;
12633
- exports2.isSeq = identity2.isSeq;
12260
+ exports2.isAlias = identity.isAlias;
12261
+ exports2.isCollection = identity.isCollection;
12262
+ exports2.isDocument = identity.isDocument;
12263
+ exports2.isMap = identity.isMap;
12264
+ exports2.isNode = identity.isNode;
12265
+ exports2.isPair = identity.isPair;
12266
+ exports2.isScalar = identity.isScalar;
12267
+ exports2.isSeq = identity.isSeq;
12634
12268
  exports2.Pair = Pair.Pair;
12635
12269
  exports2.Scalar = Scalar.Scalar;
12636
12270
  exports2.YAMLMap = YAMLMap.YAMLMap;
@@ -12673,7 +12307,6 @@ export {
12673
12307
  isString_default,
12674
12308
  isEmpty_default,
12675
12309
  isEqual_default,
12676
- pickBy_default,
12677
12310
  init_lodash,
12678
12311
  require_dist,
12679
12312
  require_constants