@yext/visual-editor 2.0.0-beta.1 → 2.0.0-beta.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (106) hide show
  1. package/dist/{SectionLibraryVisualEditorProvider-67ng4X9e.js → SectionLibraryVisualEditorProvider-DN65KSX7.js} +35875 -24721
  2. package/dist/SectionLibraryVisualEditorProvider.css +1 -1
  3. package/dist/cli/assets/directory-locator-source/components/sections/directory/Directory.tsx +39 -1
  4. package/dist/cli/assets/directory-locator-source/components/sections/directory/DirectoryWrapper.tsx +13 -5
  5. package/dist/cli/assets/directory-locator-source/sectionLibrarySupport.ts +32 -0
  6. package/dist/cli/yextve.js +322 -218
  7. package/dist/{locatorEntityTypes-s4dmT9l5.d.ts → createYextFieldTransforms-CrIkiJ_X.d.ts} +334 -27
  8. package/dist/index.d.ts +42 -68
  9. package/dist/locales/platform/cs/visual-editor.json +124 -4
  10. package/dist/locales/platform/da/visual-editor.json +110 -4
  11. package/dist/locales/platform/de/visual-editor.json +110 -4
  12. package/dist/locales/platform/en/visual-editor.json +110 -4
  13. package/dist/locales/platform/en-GB/visual-editor.json +110 -4
  14. package/dist/locales/platform/es/visual-editor.json +117 -4
  15. package/dist/locales/platform/et/visual-editor.json +110 -4
  16. package/dist/locales/platform/fi/visual-editor.json +110 -4
  17. package/dist/locales/platform/fr/visual-editor.json +117 -4
  18. package/dist/locales/platform/hr/visual-editor.json +117 -4
  19. package/dist/locales/platform/hu/visual-editor.json +110 -4
  20. package/dist/locales/platform/it/visual-editor.json +117 -4
  21. package/dist/locales/platform/ja/visual-editor.json +110 -4
  22. package/dist/locales/platform/lt/visual-editor.json +124 -4
  23. package/dist/locales/platform/lv/visual-editor.json +114 -4
  24. package/dist/locales/platform/nb/visual-editor.json +110 -4
  25. package/dist/locales/platform/nl/visual-editor.json +110 -4
  26. package/dist/locales/platform/pl/visual-editor.json +124 -4
  27. package/dist/locales/platform/pt/visual-editor.json +117 -4
  28. package/dist/locales/platform/ro/visual-editor.json +117 -4
  29. package/dist/locales/platform/sk/visual-editor.json +124 -4
  30. package/dist/locales/platform/sv/visual-editor.json +110 -4
  31. package/dist/locales/platform/tr/visual-editor.json +109 -3
  32. package/dist/locales/platform/zh/visual-editor.json +110 -4
  33. package/dist/locales/platform/zh-TW/visual-editor.json +110 -4
  34. package/dist/plugin/internal/layoutGeneration/limits.d.ts +28 -0
  35. package/dist/plugin/plugin.js +7025 -2259
  36. package/dist/plugin/types/generationPrompts.d.ts +19 -0
  37. package/dist/plugin/types/generationSettings.d.ts +12 -0
  38. package/dist/plugin/types/sectionLibrary.d.ts +11 -4
  39. package/dist/plugin/vite-plugin/layout-generation/generationLogger.d.ts +5 -0
  40. package/dist/plugin/vite-plugin/layout-generation/generationReports.d.ts +13 -0
  41. package/dist/plugin/vite-plugin/layout-generation/middleware.d.ts +14 -0
  42. package/dist/plugin/vite-plugin/layout-generation/modelProxy.d.ts +9 -0
  43. package/dist/plugin/vite-plugin/layout-generation/prompts.d.ts +17 -0
  44. package/dist/plugin/vite-plugin/layout-generation/settings.d.ts +3 -0
  45. package/dist/plugin/vite-plugin/local-editor/artifacts.d.ts +4 -2
  46. package/dist/plugin/vite-plugin/local-editor/data.d.ts +2 -0
  47. package/dist/plugin/vite-plugin/local-editor/generatedFiles.d.ts +2 -3
  48. package/dist/plugin/vite-plugin/local-editor/server.d.ts +17 -1
  49. package/dist/plugin/vite-plugin/local-editor/types.d.ts +18 -2
  50. package/dist/plugin/vite-plugin/plugin.d.ts +1 -1
  51. package/dist/section-library-support.js +156 -136
  52. package/dist/sectionLibrarySupport.d.ts +425 -4
  53. package/dist/style.css +1 -1
  54. package/dist/visual-editor-6mKs9VUe.js +842 -0
  55. package/dist/visual-editor-BK6fTU7k.js +804 -0
  56. package/dist/visual-editor-BruRrJYN.js +804 -0
  57. package/dist/visual-editor-Bs3wAslG.js +804 -0
  58. package/dist/visual-editor-C9TLeAzP.js +804 -0
  59. package/dist/visual-editor-CHWtMtlu.js +823 -0
  60. package/dist/visual-editor-CcfUKpnd.js +804 -0
  61. package/dist/visual-editor-ClC6hoz3.js +804 -0
  62. package/dist/visual-editor-CtQwadxQ.js +842 -0
  63. package/dist/visual-editor-D7VeTRK_.js +816 -0
  64. package/dist/visual-editor-DTE5kxrA.js +804 -0
  65. package/dist/visual-editor-DjTEbi-1.js +842 -0
  66. package/dist/visual-editor-DkHhrFsX.js +804 -0
  67. package/dist/visual-editor-DtL-Zuv_.js +804 -0
  68. package/dist/visual-editor-Duishbsa.js +842 -0
  69. package/dist/visual-editor-LXMNWXry.js +823 -0
  70. package/dist/visual-editor-QpGupjY5.js +823 -0
  71. package/dist/visual-editor-_TatCCAS.js +804 -0
  72. package/dist/visual-editor-gEaWoNRu.js +804 -0
  73. package/dist/visual-editor-gjpr-NAN.js +804 -0
  74. package/dist/visual-editor-qJW0uCiQ.js +804 -0
  75. package/dist/visual-editor-sOPDMkOR.js +823 -0
  76. package/dist/visual-editor-tPb7n5l8.js +823 -0
  77. package/dist/visual-editor-vomNdlNO.js +804 -0
  78. package/dist/visual-editor-zKhC7_0C.js +823 -0
  79. package/dist/visual-editor.css +1 -1
  80. package/dist/visual-editor.js +14649 -10994
  81. package/package.json +7 -4
  82. package/dist/visual-editor-9bLkRo2X.js +0 -702
  83. package/dist/visual-editor-B5f3AZF6.js +0 -706
  84. package/dist/visual-editor-BGZbJkMp.js +0 -694
  85. package/dist/visual-editor-BPVqHHz5.js +0 -706
  86. package/dist/visual-editor-BPvDMSb8.js +0 -706
  87. package/dist/visual-editor-BTT9n9b6.js +0 -718
  88. package/dist/visual-editor-BXSlgf31.js +0 -694
  89. package/dist/visual-editor-Bez9GftS.js +0 -694
  90. package/dist/visual-editor-Bk5QJccl.js +0 -718
  91. package/dist/visual-editor-BqtG2m0y.js +0 -694
  92. package/dist/visual-editor-C00efXqJ.js +0 -706
  93. package/dist/visual-editor-CZdmgAn0.js +0 -706
  94. package/dist/visual-editor-CcOCcCUQ.js +0 -694
  95. package/dist/visual-editor-D2_8u6ZI.js +0 -694
  96. package/dist/visual-editor-D4vaqoBN.js +0 -694
  97. package/dist/visual-editor-D6n8EP_O.js +0 -694
  98. package/dist/visual-editor-DKG_E7X4.js +0 -694
  99. package/dist/visual-editor-DQq0_rUn.js +0 -706
  100. package/dist/visual-editor-DRXezaoB.js +0 -694
  101. package/dist/visual-editor-DbgFzBNV.js +0 -718
  102. package/dist/visual-editor-DiLdoISr.js +0 -718
  103. package/dist/visual-editor-DnTPMRV4.js +0 -694
  104. package/dist/visual-editor-E0hASBXn.js +0 -694
  105. package/dist/visual-editor-W1OHU94y.js +0 -694
  106. package/dist/visual-editor-bauJ9beX.js +0 -694
@@ -4892,9 +4892,9 @@ var require_prompts3 = __commonJS({
4892
4892
  }
4893
4893
  });
4894
4894
 
4895
- // ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/identity.js
4895
+ // ../../node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/nodes/identity.js
4896
4896
  var require_identity = __commonJS({
4897
- "../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/identity.js"(exports) {
4897
+ "../../node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/nodes/identity.js"(exports) {
4898
4898
  "use strict";
4899
4899
  var ALIAS = /* @__PURE__ */ Symbol.for("yaml.alias");
4900
4900
  var DOC = /* @__PURE__ */ Symbol.for("yaml.document");
@@ -4949,9 +4949,9 @@ var require_identity = __commonJS({
4949
4949
  }
4950
4950
  });
4951
4951
 
4952
- // ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/visit.js
4952
+ // ../../node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/visit.js
4953
4953
  var require_visit = __commonJS({
4954
- "../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/visit.js"(exports) {
4954
+ "../../node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/visit.js"(exports) {
4955
4955
  "use strict";
4956
4956
  var identity = require_identity();
4957
4957
  var BREAK = /* @__PURE__ */ Symbol("break visit");
@@ -5107,9 +5107,9 @@ var require_visit = __commonJS({
5107
5107
  }
5108
5108
  });
5109
5109
 
5110
- // ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/doc/directives.js
5110
+ // ../../node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/doc/directives.js
5111
5111
  var require_directives = __commonJS({
5112
- "../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/doc/directives.js"(exports) {
5112
+ "../../node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/doc/directives.js"(exports) {
5113
5113
  "use strict";
5114
5114
  var identity = require_identity();
5115
5115
  var visit = require_visit();
@@ -5278,9 +5278,9 @@ var require_directives = __commonJS({
5278
5278
  }
5279
5279
  });
5280
5280
 
5281
- // ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/doc/anchors.js
5281
+ // ../../node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/doc/anchors.js
5282
5282
  var require_anchors = __commonJS({
5283
- "../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/doc/anchors.js"(exports) {
5283
+ "../../node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/doc/anchors.js"(exports) {
5284
5284
  "use strict";
5285
5285
  var identity = require_identity();
5286
5286
  var visit = require_visit();
@@ -5348,9 +5348,9 @@ var require_anchors = __commonJS({
5348
5348
  }
5349
5349
  });
5350
5350
 
5351
- // ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/doc/applyReviver.js
5351
+ // ../../node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/doc/applyReviver.js
5352
5352
  var require_applyReviver = __commonJS({
5353
- "../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/doc/applyReviver.js"(exports) {
5353
+ "../../node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/doc/applyReviver.js"(exports) {
5354
5354
  "use strict";
5355
5355
  function applyReviver(reviver, obj, key, val) {
5356
5356
  if (val && typeof val === "object") {
@@ -5398,9 +5398,9 @@ var require_applyReviver = __commonJS({
5398
5398
  }
5399
5399
  });
5400
5400
 
5401
- // ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/toJS.js
5401
+ // ../../node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/nodes/toJS.js
5402
5402
  var require_toJS = __commonJS({
5403
- "../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/toJS.js"(exports) {
5403
+ "../../node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/nodes/toJS.js"(exports) {
5404
5404
  "use strict";
5405
5405
  var identity = require_identity();
5406
5406
  function toJS(value, arg, ctx) {
@@ -5428,9 +5428,9 @@ var require_toJS = __commonJS({
5428
5428
  }
5429
5429
  });
5430
5430
 
5431
- // ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/Node.js
5431
+ // ../../node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/nodes/Node.js
5432
5432
  var require_Node = __commonJS({
5433
- "../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/Node.js"(exports) {
5433
+ "../../node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/nodes/Node.js"(exports) {
5434
5434
  "use strict";
5435
5435
  var applyReviver = require_applyReviver();
5436
5436
  var identity = require_identity();
@@ -5469,9 +5469,9 @@ var require_Node = __commonJS({
5469
5469
  }
5470
5470
  });
5471
5471
 
5472
- // ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/Alias.js
5472
+ // ../../node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/nodes/Alias.js
5473
5473
  var require_Alias = __commonJS({
5474
- "../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/Alias.js"(exports) {
5474
+ "../../node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/nodes/Alias.js"(exports) {
5475
5475
  "use strict";
5476
5476
  var anchors = require_anchors();
5477
5477
  var visit = require_visit();
@@ -5516,36 +5516,38 @@ var require_Alias = __commonJS({
5516
5516
  if (node.anchor === this.source)
5517
5517
  found = node;
5518
5518
  }
5519
+ if (found && ctx) {
5520
+ const { anchors: anchors2, doc: doc2, maxAliasCount } = ctx;
5521
+ let data = anchors2.get(found);
5522
+ if (!data) {
5523
+ toJS.toJS(found, null, ctx);
5524
+ data = anchors2.get(found);
5525
+ }
5526
+ if (data?.res === void 0) {
5527
+ const msg = "This should not happen: Alias anchor was not resolved?";
5528
+ throw new ReferenceError(msg);
5529
+ }
5530
+ if (maxAliasCount >= 0) {
5531
+ data.count += 1;
5532
+ if (data.aliasCount === 0)
5533
+ data.aliasCount = getAliasCount(doc2, found, anchors2);
5534
+ if (data.count * data.aliasCount > maxAliasCount) {
5535
+ const msg = "Excessive alias count indicates a resource exhaustion attack";
5536
+ throw new ReferenceError(msg);
5537
+ }
5538
+ }
5539
+ }
5519
5540
  return found;
5520
5541
  }
5521
5542
  toJSON(_arg, ctx) {
5522
5543
  if (!ctx)
5523
5544
  return { source: this.source };
5524
- const { anchors: anchors2, doc, maxAliasCount } = ctx;
5525
- const source = this.resolve(doc, ctx);
5545
+ const source = this.resolve(ctx.doc, ctx);
5526
5546
  if (!source) {
5527
5547
  const msg = `Unresolved alias (the anchor must be set before the alias): ${this.source}`;
5528
5548
  throw new ReferenceError(msg);
5529
5549
  }
5530
- let data = anchors2.get(source);
5531
- if (!data) {
5532
- toJS.toJS(source, null, ctx);
5533
- data = anchors2.get(source);
5534
- }
5535
- if (data?.res === void 0) {
5536
- const msg = "This should not happen: Alias anchor was not resolved?";
5537
- throw new ReferenceError(msg);
5538
- }
5539
- if (maxAliasCount >= 0) {
5540
- data.count += 1;
5541
- if (data.aliasCount === 0)
5542
- data.aliasCount = getAliasCount(doc, source, anchors2);
5543
- if (data.count * data.aliasCount > maxAliasCount) {
5544
- const msg = "Excessive alias count indicates a resource exhaustion attack";
5545
- throw new ReferenceError(msg);
5546
- }
5547
- }
5548
- return data.res;
5550
+ return ctx.anchors.get(source).res;
5549
5551
  }
5550
5552
  toString(ctx, _onComment, _onChompKeep) {
5551
5553
  const src = `*${this.source}`;
@@ -5585,9 +5587,9 @@ var require_Alias = __commonJS({
5585
5587
  }
5586
5588
  });
5587
5589
 
5588
- // ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/Scalar.js
5590
+ // ../../node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/nodes/Scalar.js
5589
5591
  var require_Scalar = __commonJS({
5590
- "../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/Scalar.js"(exports) {
5592
+ "../../node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/nodes/Scalar.js"(exports) {
5591
5593
  "use strict";
5592
5594
  var identity = require_identity();
5593
5595
  var Node6 = require_Node();
@@ -5615,9 +5617,9 @@ var require_Scalar = __commonJS({
5615
5617
  }
5616
5618
  });
5617
5619
 
5618
- // ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/doc/createNode.js
5620
+ // ../../node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/doc/createNode.js
5619
5621
  var require_createNode = __commonJS({
5620
- "../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/doc/createNode.js"(exports) {
5622
+ "../../node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/doc/createNode.js"(exports) {
5621
5623
  "use strict";
5622
5624
  var Alias = require_Alias();
5623
5625
  var identity = require_identity();
@@ -5690,9 +5692,9 @@ var require_createNode = __commonJS({
5690
5692
  }
5691
5693
  });
5692
5694
 
5693
- // ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/Collection.js
5695
+ // ../../node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/nodes/Collection.js
5694
5696
  var require_Collection = __commonJS({
5695
- "../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/Collection.js"(exports) {
5697
+ "../../node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/nodes/Collection.js"(exports) {
5696
5698
  "use strict";
5697
5699
  var createNode = require_createNode();
5698
5700
  var identity = require_identity();
@@ -5833,9 +5835,9 @@ var require_Collection = __commonJS({
5833
5835
  }
5834
5836
  });
5835
5837
 
5836
- // ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/stringify/stringifyComment.js
5838
+ // ../../node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/stringify/stringifyComment.js
5837
5839
  var require_stringifyComment = __commonJS({
5838
- "../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/stringify/stringifyComment.js"(exports) {
5840
+ "../../node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/stringify/stringifyComment.js"(exports) {
5839
5841
  "use strict";
5840
5842
  var stringifyComment = (str) => str.replace(/^(?!$)(?: $)?/gm, "#");
5841
5843
  function indentComment(comment, indent) {
@@ -5850,9 +5852,9 @@ var require_stringifyComment = __commonJS({
5850
5852
  }
5851
5853
  });
5852
5854
 
5853
- // ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/stringify/foldFlowLines.js
5855
+ // ../../node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/stringify/foldFlowLines.js
5854
5856
  var require_foldFlowLines = __commonJS({
5855
- "../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/stringify/foldFlowLines.js"(exports) {
5857
+ "../../node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/stringify/foldFlowLines.js"(exports) {
5856
5858
  "use strict";
5857
5859
  var FOLD_FLOW = "flow";
5858
5860
  var FOLD_BLOCK = "block";
@@ -5986,9 +5988,9 @@ ${indent}${text.slice(fold + 1, end2)}`;
5986
5988
  }
5987
5989
  });
5988
5990
 
5989
- // ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/stringify/stringifyString.js
5991
+ // ../../node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/stringify/stringifyString.js
5990
5992
  var require_stringifyString = __commonJS({
5991
- "../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/stringify/stringifyString.js"(exports) {
5993
+ "../../node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/stringify/stringifyString.js"(exports) {
5992
5994
  "use strict";
5993
5995
  var Scalar = require_Scalar();
5994
5996
  var foldFlowLines = require_foldFlowLines();
@@ -6269,9 +6271,9 @@ ${indent}`);
6269
6271
  }
6270
6272
  });
6271
6273
 
6272
- // ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/stringify/stringify.js
6274
+ // ../../node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/stringify/stringify.js
6273
6275
  var require_stringify = __commonJS({
6274
- "../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/stringify/stringify.js"(exports) {
6276
+ "../../node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/stringify/stringify.js"(exports) {
6275
6277
  "use strict";
6276
6278
  var anchors = require_anchors();
6277
6279
  var identity = require_identity();
@@ -6393,9 +6395,9 @@ ${ctx.indent}${str}`;
6393
6395
  }
6394
6396
  });
6395
6397
 
6396
- // ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/stringify/stringifyPair.js
6398
+ // ../../node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/stringify/stringifyPair.js
6397
6399
  var require_stringifyPair = __commonJS({
6398
- "../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/stringify/stringifyPair.js"(exports) {
6400
+ "../../node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/stringify/stringifyPair.js"(exports) {
6399
6401
  "use strict";
6400
6402
  var identity = require_identity();
6401
6403
  var Scalar = require_Scalar();
@@ -6526,9 +6528,9 @@ ${ctx.indent}`;
6526
6528
  }
6527
6529
  });
6528
6530
 
6529
- // ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/log.js
6531
+ // ../../node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/log.js
6530
6532
  var require_log = __commonJS({
6531
- "../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/log.js"(exports) {
6533
+ "../../node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/log.js"(exports) {
6532
6534
  "use strict";
6533
6535
  var node_process = __require("process");
6534
6536
  function debug(logLevel, ...messages) {
@@ -6548,9 +6550,9 @@ var require_log = __commonJS({
6548
6550
  }
6549
6551
  });
6550
6552
 
6551
- // ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/yaml-1.1/merge.js
6553
+ // ../../node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/yaml-1.1/merge.js
6552
6554
  var require_merge = __commonJS({
6553
- "../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/yaml-1.1/merge.js"(exports) {
6555
+ "../../node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/yaml-1.1/merge.js"(exports) {
6554
6556
  "use strict";
6555
6557
  var identity = require_identity();
6556
6558
  var Scalar = require_Scalar();
@@ -6608,9 +6610,9 @@ var require_merge = __commonJS({
6608
6610
  }
6609
6611
  });
6610
6612
 
6611
- // ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/addPairToJSMap.js
6613
+ // ../../node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/nodes/addPairToJSMap.js
6612
6614
  var require_addPairToJSMap = __commonJS({
6613
- "../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/addPairToJSMap.js"(exports) {
6615
+ "../../node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/nodes/addPairToJSMap.js"(exports) {
6614
6616
  "use strict";
6615
6617
  var log = require_log();
6616
6618
  var merge = require_merge();
@@ -6672,9 +6674,9 @@ var require_addPairToJSMap = __commonJS({
6672
6674
  }
6673
6675
  });
6674
6676
 
6675
- // ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/Pair.js
6677
+ // ../../node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/nodes/Pair.js
6676
6678
  var require_Pair = __commonJS({
6677
- "../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/Pair.js"(exports) {
6679
+ "../../node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/nodes/Pair.js"(exports) {
6678
6680
  "use strict";
6679
6681
  var createNode = require_createNode();
6680
6682
  var stringifyPair = require_stringifyPair();
@@ -6712,9 +6714,9 @@ var require_Pair = __commonJS({
6712
6714
  }
6713
6715
  });
6714
6716
 
6715
- // ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/stringify/stringifyCollection.js
6717
+ // ../../node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/stringify/stringifyCollection.js
6716
6718
  var require_stringifyCollection = __commonJS({
6717
- "../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/stringify/stringifyCollection.js"(exports) {
6719
+ "../../node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/stringify/stringifyCollection.js"(exports) {
6718
6720
  "use strict";
6719
6721
  var identity = require_identity();
6720
6722
  var stringify2 = require_stringify();
@@ -6863,9 +6865,9 @@ ${indent}${end}`;
6863
6865
  }
6864
6866
  });
6865
6867
 
6866
- // ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/YAMLMap.js
6868
+ // ../../node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/nodes/YAMLMap.js
6867
6869
  var require_YAMLMap = __commonJS({
6868
- "../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/YAMLMap.js"(exports) {
6870
+ "../../node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/nodes/YAMLMap.js"(exports) {
6869
6871
  "use strict";
6870
6872
  var stringifyCollection = require_stringifyCollection();
6871
6873
  var addPairToJSMap = require_addPairToJSMap();
@@ -7007,9 +7009,9 @@ var require_YAMLMap = __commonJS({
7007
7009
  }
7008
7010
  });
7009
7011
 
7010
- // ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/common/map.js
7012
+ // ../../node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/common/map.js
7011
7013
  var require_map = __commonJS({
7012
- "../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/common/map.js"(exports) {
7014
+ "../../node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/common/map.js"(exports) {
7013
7015
  "use strict";
7014
7016
  var identity = require_identity();
7015
7017
  var YAMLMap = require_YAMLMap();
@@ -7029,9 +7031,9 @@ var require_map = __commonJS({
7029
7031
  }
7030
7032
  });
7031
7033
 
7032
- // ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/YAMLSeq.js
7034
+ // ../../node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/nodes/YAMLSeq.js
7033
7035
  var require_YAMLSeq = __commonJS({
7034
- "../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/YAMLSeq.js"(exports) {
7036
+ "../../node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/nodes/YAMLSeq.js"(exports) {
7035
7037
  "use strict";
7036
7038
  var createNode = require_createNode();
7037
7039
  var stringifyCollection = require_stringifyCollection();
@@ -7145,9 +7147,9 @@ var require_YAMLSeq = __commonJS({
7145
7147
  }
7146
7148
  });
7147
7149
 
7148
- // ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/common/seq.js
7150
+ // ../../node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/common/seq.js
7149
7151
  var require_seq = __commonJS({
7150
- "../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/common/seq.js"(exports) {
7152
+ "../../node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/common/seq.js"(exports) {
7151
7153
  "use strict";
7152
7154
  var identity = require_identity();
7153
7155
  var YAMLSeq = require_YAMLSeq();
@@ -7167,9 +7169,9 @@ var require_seq = __commonJS({
7167
7169
  }
7168
7170
  });
7169
7171
 
7170
- // ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/common/string.js
7172
+ // ../../node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/common/string.js
7171
7173
  var require_string = __commonJS({
7172
- "../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/common/string.js"(exports) {
7174
+ "../../node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/common/string.js"(exports) {
7173
7175
  "use strict";
7174
7176
  var stringifyString = require_stringifyString();
7175
7177
  var string = {
@@ -7186,9 +7188,9 @@ var require_string = __commonJS({
7186
7188
  }
7187
7189
  });
7188
7190
 
7189
- // ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/common/null.js
7191
+ // ../../node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/common/null.js
7190
7192
  var require_null = __commonJS({
7191
- "../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/common/null.js"(exports) {
7193
+ "../../node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/common/null.js"(exports) {
7192
7194
  "use strict";
7193
7195
  var Scalar = require_Scalar();
7194
7196
  var nullTag = {
@@ -7204,9 +7206,9 @@ var require_null = __commonJS({
7204
7206
  }
7205
7207
  });
7206
7208
 
7207
- // ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/core/bool.js
7209
+ // ../../node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/core/bool.js
7208
7210
  var require_bool = __commonJS({
7209
- "../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/core/bool.js"(exports) {
7211
+ "../../node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/core/bool.js"(exports) {
7210
7212
  "use strict";
7211
7213
  var Scalar = require_Scalar();
7212
7214
  var boolTag = {
@@ -7228,9 +7230,9 @@ var require_bool = __commonJS({
7228
7230
  }
7229
7231
  });
7230
7232
 
7231
- // ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/stringify/stringifyNumber.js
7233
+ // ../../node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/stringify/stringifyNumber.js
7232
7234
  var require_stringifyNumber = __commonJS({
7233
- "../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/stringify/stringifyNumber.js"(exports) {
7235
+ "../../node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/stringify/stringifyNumber.js"(exports) {
7234
7236
  "use strict";
7235
7237
  function stringifyNumber({ format, minFractionDigits, tag, value }) {
7236
7238
  if (typeof value === "bigint")
@@ -7255,9 +7257,9 @@ var require_stringifyNumber = __commonJS({
7255
7257
  }
7256
7258
  });
7257
7259
 
7258
- // ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/core/float.js
7260
+ // ../../node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/core/float.js
7259
7261
  var require_float = __commonJS({
7260
- "../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/core/float.js"(exports) {
7262
+ "../../node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/core/float.js"(exports) {
7261
7263
  "use strict";
7262
7264
  var Scalar = require_Scalar();
7263
7265
  var stringifyNumber = require_stringifyNumber();
@@ -7301,9 +7303,9 @@ var require_float = __commonJS({
7301
7303
  }
7302
7304
  });
7303
7305
 
7304
- // ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/core/int.js
7306
+ // ../../node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/core/int.js
7305
7307
  var require_int = __commonJS({
7306
- "../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/core/int.js"(exports) {
7308
+ "../../node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/core/int.js"(exports) {
7307
7309
  "use strict";
7308
7310
  var stringifyNumber = require_stringifyNumber();
7309
7311
  var intIdentify = (value) => typeof value === "bigint" || Number.isInteger(value);
@@ -7346,9 +7348,9 @@ var require_int = __commonJS({
7346
7348
  }
7347
7349
  });
7348
7350
 
7349
- // ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/core/schema.js
7351
+ // ../../node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/core/schema.js
7350
7352
  var require_schema = __commonJS({
7351
- "../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/core/schema.js"(exports) {
7353
+ "../../node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/core/schema.js"(exports) {
7352
7354
  "use strict";
7353
7355
  var map = require_map();
7354
7356
  var _null = require_null();
@@ -7374,9 +7376,9 @@ var require_schema = __commonJS({
7374
7376
  }
7375
7377
  });
7376
7378
 
7377
- // ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/json/schema.js
7379
+ // ../../node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/json/schema.js
7378
7380
  var require_schema2 = __commonJS({
7379
- "../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/json/schema.js"(exports) {
7381
+ "../../node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/json/schema.js"(exports) {
7380
7382
  "use strict";
7381
7383
  var Scalar = require_Scalar();
7382
7384
  var map = require_map();
@@ -7441,9 +7443,9 @@ var require_schema2 = __commonJS({
7441
7443
  }
7442
7444
  });
7443
7445
 
7444
- // ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/yaml-1.1/binary.js
7446
+ // ../../node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/yaml-1.1/binary.js
7445
7447
  var require_binary = __commonJS({
7446
- "../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/yaml-1.1/binary.js"(exports) {
7448
+ "../../node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/yaml-1.1/binary.js"(exports) {
7447
7449
  "use strict";
7448
7450
  var node_buffer = __require("buffer");
7449
7451
  var Scalar = require_Scalar();
@@ -7507,9 +7509,9 @@ var require_binary = __commonJS({
7507
7509
  }
7508
7510
  });
7509
7511
 
7510
- // ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/yaml-1.1/pairs.js
7512
+ // ../../node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/yaml-1.1/pairs.js
7511
7513
  var require_pairs = __commonJS({
7512
- "../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/yaml-1.1/pairs.js"(exports) {
7514
+ "../../node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/yaml-1.1/pairs.js"(exports) {
7513
7515
  "use strict";
7514
7516
  var identity = require_identity();
7515
7517
  var Pair = require_Pair();
@@ -7585,9 +7587,9 @@ ${cn.comment}` : item.comment;
7585
7587
  }
7586
7588
  });
7587
7589
 
7588
- // ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/yaml-1.1/omap.js
7590
+ // ../../node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/yaml-1.1/omap.js
7589
7591
  var require_omap = __commonJS({
7590
- "../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/yaml-1.1/omap.js"(exports) {
7592
+ "../../node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/yaml-1.1/omap.js"(exports) {
7591
7593
  "use strict";
7592
7594
  var identity = require_identity();
7593
7595
  var toJS = require_toJS();
@@ -7663,9 +7665,9 @@ var require_omap = __commonJS({
7663
7665
  }
7664
7666
  });
7665
7667
 
7666
- // ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/yaml-1.1/bool.js
7668
+ // ../../node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/yaml-1.1/bool.js
7667
7669
  var require_bool2 = __commonJS({
7668
- "../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/yaml-1.1/bool.js"(exports) {
7670
+ "../../node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/yaml-1.1/bool.js"(exports) {
7669
7671
  "use strict";
7670
7672
  var Scalar = require_Scalar();
7671
7673
  function boolStringify({ value, source }, ctx) {
@@ -7695,9 +7697,9 @@ var require_bool2 = __commonJS({
7695
7697
  }
7696
7698
  });
7697
7699
 
7698
- // ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/yaml-1.1/float.js
7700
+ // ../../node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/yaml-1.1/float.js
7699
7701
  var require_float2 = __commonJS({
7700
- "../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/yaml-1.1/float.js"(exports) {
7702
+ "../../node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/yaml-1.1/float.js"(exports) {
7701
7703
  "use strict";
7702
7704
  var Scalar = require_Scalar();
7703
7705
  var stringifyNumber = require_stringifyNumber();
@@ -7744,9 +7746,9 @@ var require_float2 = __commonJS({
7744
7746
  }
7745
7747
  });
7746
7748
 
7747
- // ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/yaml-1.1/int.js
7749
+ // ../../node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/yaml-1.1/int.js
7748
7750
  var require_int2 = __commonJS({
7749
- "../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/yaml-1.1/int.js"(exports) {
7751
+ "../../node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/yaml-1.1/int.js"(exports) {
7750
7752
  "use strict";
7751
7753
  var stringifyNumber = require_stringifyNumber();
7752
7754
  var intIdentify = (value) => typeof value === "bigint" || Number.isInteger(value);
@@ -7823,9 +7825,9 @@ var require_int2 = __commonJS({
7823
7825
  }
7824
7826
  });
7825
7827
 
7826
- // ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/yaml-1.1/set.js
7828
+ // ../../node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/yaml-1.1/set.js
7827
7829
  var require_set = __commonJS({
7828
- "../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/yaml-1.1/set.js"(exports) {
7830
+ "../../node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/yaml-1.1/set.js"(exports) {
7829
7831
  "use strict";
7830
7832
  var identity = require_identity();
7831
7833
  var Pair = require_Pair();
@@ -7912,9 +7914,9 @@ var require_set = __commonJS({
7912
7914
  }
7913
7915
  });
7914
7916
 
7915
- // ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/yaml-1.1/timestamp.js
7917
+ // ../../node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/yaml-1.1/timestamp.js
7916
7918
  var require_timestamp = __commonJS({
7917
- "../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/yaml-1.1/timestamp.js"(exports) {
7919
+ "../../node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/yaml-1.1/timestamp.js"(exports) {
7918
7920
  "use strict";
7919
7921
  var stringifyNumber = require_stringifyNumber();
7920
7922
  function parseSexagesimal(str, asBigInt) {
@@ -8000,9 +8002,9 @@ var require_timestamp = __commonJS({
8000
8002
  }
8001
8003
  });
8002
8004
 
8003
- // ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/yaml-1.1/schema.js
8005
+ // ../../node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/yaml-1.1/schema.js
8004
8006
  var require_schema3 = __commonJS({
8005
- "../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/yaml-1.1/schema.js"(exports) {
8007
+ "../../node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/yaml-1.1/schema.js"(exports) {
8006
8008
  "use strict";
8007
8009
  var map = require_map();
8008
8010
  var _null = require_null();
@@ -8044,9 +8046,9 @@ var require_schema3 = __commonJS({
8044
8046
  }
8045
8047
  });
8046
8048
 
8047
- // ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/tags.js
8049
+ // ../../node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/tags.js
8048
8050
  var require_tags = __commonJS({
8049
- "../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/tags.js"(exports) {
8051
+ "../../node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/tags.js"(exports) {
8050
8052
  "use strict";
8051
8053
  var map = require_map();
8052
8054
  var _null = require_null();
@@ -8138,9 +8140,9 @@ var require_tags = __commonJS({
8138
8140
  }
8139
8141
  });
8140
8142
 
8141
- // ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/Schema.js
8143
+ // ../../node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/Schema.js
8142
8144
  var require_Schema = __commonJS({
8143
- "../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/Schema.js"(exports) {
8145
+ "../../node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/Schema.js"(exports) {
8144
8146
  "use strict";
8145
8147
  var identity = require_identity();
8146
8148
  var map = require_map();
@@ -8170,9 +8172,9 @@ var require_Schema = __commonJS({
8170
8172
  }
8171
8173
  });
8172
8174
 
8173
- // ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/stringify/stringifyDocument.js
8175
+ // ../../node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/stringify/stringifyDocument.js
8174
8176
  var require_stringifyDocument = __commonJS({
8175
- "../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/stringify/stringifyDocument.js"(exports) {
8177
+ "../../node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/stringify/stringifyDocument.js"(exports) {
8176
8178
  "use strict";
8177
8179
  var identity = require_identity();
8178
8180
  var stringify2 = require_stringify();
@@ -8250,9 +8252,9 @@ var require_stringifyDocument = __commonJS({
8250
8252
  }
8251
8253
  });
8252
8254
 
8253
- // ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/doc/Document.js
8255
+ // ../../node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/doc/Document.js
8254
8256
  var require_Document = __commonJS({
8255
- "../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/doc/Document.js"(exports) {
8257
+ "../../node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/doc/Document.js"(exports) {
8256
8258
  "use strict";
8257
8259
  var Alias = require_Alias();
8258
8260
  var Collection = require_Collection();
@@ -8559,9 +8561,9 @@ var require_Document = __commonJS({
8559
8561
  }
8560
8562
  });
8561
8563
 
8562
- // ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/errors.js
8564
+ // ../../node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/errors.js
8563
8565
  var require_errors = __commonJS({
8564
- "../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/errors.js"(exports) {
8566
+ "../../node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/errors.js"(exports) {
8565
8567
  "use strict";
8566
8568
  var YAMLError = class extends Error {
8567
8569
  constructor(name, pos, code, message) {
@@ -8624,9 +8626,9 @@ ${pointer}
8624
8626
  }
8625
8627
  });
8626
8628
 
8627
- // ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/compose/resolve-props.js
8629
+ // ../../node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/resolve-props.js
8628
8630
  var require_resolve_props = __commonJS({
8629
- "../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/compose/resolve-props.js"(exports) {
8631
+ "../../node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/resolve-props.js"(exports) {
8630
8632
  "use strict";
8631
8633
  function resolveProps(tokens, { flow, indicator, next, offset, onError, parentIndent, startOnNewline }) {
8632
8634
  let spaceBefore = false;
@@ -8758,9 +8760,9 @@ var require_resolve_props = __commonJS({
8758
8760
  }
8759
8761
  });
8760
8762
 
8761
- // ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/compose/util-contains-newline.js
8763
+ // ../../node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/util-contains-newline.js
8762
8764
  var require_util_contains_newline = __commonJS({
8763
- "../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/compose/util-contains-newline.js"(exports) {
8765
+ "../../node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/util-contains-newline.js"(exports) {
8764
8766
  "use strict";
8765
8767
  function containsNewline(key) {
8766
8768
  if (!key)
@@ -8800,9 +8802,9 @@ var require_util_contains_newline = __commonJS({
8800
8802
  }
8801
8803
  });
8802
8804
 
8803
- // ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/compose/util-flow-indent-check.js
8805
+ // ../../node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/util-flow-indent-check.js
8804
8806
  var require_util_flow_indent_check = __commonJS({
8805
- "../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/compose/util-flow-indent-check.js"(exports) {
8807
+ "../../node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/util-flow-indent-check.js"(exports) {
8806
8808
  "use strict";
8807
8809
  var utilContainsNewline = require_util_contains_newline();
8808
8810
  function flowIndentCheck(indent, fc, onError) {
@@ -8818,9 +8820,9 @@ var require_util_flow_indent_check = __commonJS({
8818
8820
  }
8819
8821
  });
8820
8822
 
8821
- // ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/compose/util-map-includes.js
8823
+ // ../../node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/util-map-includes.js
8822
8824
  var require_util_map_includes = __commonJS({
8823
- "../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/compose/util-map-includes.js"(exports) {
8825
+ "../../node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/util-map-includes.js"(exports) {
8824
8826
  "use strict";
8825
8827
  var identity = require_identity();
8826
8828
  function mapIncludes(ctx, items, search) {
@@ -8834,9 +8836,9 @@ var require_util_map_includes = __commonJS({
8834
8836
  }
8835
8837
  });
8836
8838
 
8837
- // ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/compose/resolve-block-map.js
8839
+ // ../../node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/resolve-block-map.js
8838
8840
  var require_resolve_block_map = __commonJS({
8839
- "../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/compose/resolve-block-map.js"(exports) {
8841
+ "../../node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/resolve-block-map.js"(exports) {
8840
8842
  "use strict";
8841
8843
  var Pair = require_Pair();
8842
8844
  var YAMLMap = require_YAMLMap();
@@ -8942,9 +8944,9 @@ var require_resolve_block_map = __commonJS({
8942
8944
  }
8943
8945
  });
8944
8946
 
8945
- // ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/compose/resolve-block-seq.js
8947
+ // ../../node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/resolve-block-seq.js
8946
8948
  var require_resolve_block_seq = __commonJS({
8947
- "../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/compose/resolve-block-seq.js"(exports) {
8949
+ "../../node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/resolve-block-seq.js"(exports) {
8948
8950
  "use strict";
8949
8951
  var YAMLSeq = require_YAMLSeq();
8950
8952
  var resolveProps = require_resolve_props();
@@ -8993,9 +8995,9 @@ var require_resolve_block_seq = __commonJS({
8993
8995
  }
8994
8996
  });
8995
8997
 
8996
- // ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/compose/resolve-end.js
8998
+ // ../../node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/resolve-end.js
8997
8999
  var require_resolve_end = __commonJS({
8998
- "../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/compose/resolve-end.js"(exports) {
9000
+ "../../node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/resolve-end.js"(exports) {
8999
9001
  "use strict";
9000
9002
  function resolveEnd(end, offset, reqSpace, onError) {
9001
9003
  let comment = "";
@@ -9036,9 +9038,9 @@ var require_resolve_end = __commonJS({
9036
9038
  }
9037
9039
  });
9038
9040
 
9039
- // ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/compose/resolve-flow-collection.js
9041
+ // ../../node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/resolve-flow-collection.js
9040
9042
  var require_resolve_flow_collection = __commonJS({
9041
- "../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/compose/resolve-flow-collection.js"(exports) {
9043
+ "../../node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/resolve-flow-collection.js"(exports) {
9042
9044
  "use strict";
9043
9045
  var identity = require_identity();
9044
9046
  var Pair = require_Pair();
@@ -9230,9 +9232,9 @@ var require_resolve_flow_collection = __commonJS({
9230
9232
  }
9231
9233
  });
9232
9234
 
9233
- // ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/compose/compose-collection.js
9235
+ // ../../node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/compose-collection.js
9234
9236
  var require_compose_collection = __commonJS({
9235
- "../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/compose/compose-collection.js"(exports) {
9237
+ "../../node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/compose-collection.js"(exports) {
9236
9238
  "use strict";
9237
9239
  var identity = require_identity();
9238
9240
  var Scalar = require_Scalar();
@@ -9295,9 +9297,9 @@ var require_compose_collection = __commonJS({
9295
9297
  }
9296
9298
  });
9297
9299
 
9298
- // ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/compose/resolve-block-scalar.js
9300
+ // ../../node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/resolve-block-scalar.js
9299
9301
  var require_resolve_block_scalar = __commonJS({
9300
- "../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/compose/resolve-block-scalar.js"(exports) {
9302
+ "../../node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/resolve-block-scalar.js"(exports) {
9301
9303
  "use strict";
9302
9304
  var Scalar = require_Scalar();
9303
9305
  function resolveBlockScalar(ctx, scalar, onError) {
@@ -9478,9 +9480,9 @@ var require_resolve_block_scalar = __commonJS({
9478
9480
  }
9479
9481
  });
9480
9482
 
9481
- // ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/compose/resolve-flow-scalar.js
9483
+ // ../../node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/resolve-flow-scalar.js
9482
9484
  var require_resolve_flow_scalar = __commonJS({
9483
- "../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/compose/resolve-flow-scalar.js"(exports) {
9485
+ "../../node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/resolve-flow-scalar.js"(exports) {
9484
9486
  "use strict";
9485
9487
  var Scalar = require_Scalar();
9486
9488
  var resolveEnd = require_resolve_end();
@@ -9547,37 +9549,38 @@ var require_resolve_flow_scalar = __commonJS({
9547
9549
  }
9548
9550
  if (badChar)
9549
9551
  onError(0, "BAD_SCALAR_START", `Plain value cannot start with ${badChar}`);
9550
- return foldLines(source);
9552
+ return unfoldLines(source);
9551
9553
  }
9552
9554
  function singleQuotedValue(source, onError) {
9553
9555
  if (source[source.length - 1] !== "'" || source.length === 1)
9554
9556
  onError(source.length, "MISSING_CHAR", "Missing closing 'quote");
9555
- return foldLines(source.slice(1, -1)).replace(/''/g, "'");
9557
+ return unfoldLines(source.slice(1, -1)).replace(/''/g, "'");
9556
9558
  }
9557
- function foldLines(source) {
9558
- let first, line;
9559
+ function unfoldLines(source) {
9560
+ const line = /(.*?)\r?\n/sy;
9561
+ let match = line.exec(source);
9562
+ if (!match)
9563
+ return source;
9564
+ let trimEnd, trimBoth;
9559
9565
  try {
9560
- first = new RegExp("(.*?)(?<![ ])[ ]*\r?\n", "sy");
9561
- line = new RegExp("[ ]*(.*?)(?:(?<![ ])[ ]*)?\r?\n", "sy");
9566
+ trimEnd = new RegExp("(?<![ ])[ ]+$");
9567
+ trimBoth = new RegExp("^[ ]+|(?<![ ])[ ]+$", "g");
9562
9568
  } catch {
9563
- first = /(.*?)[ \t]*\r?\n/sy;
9564
- line = /[ \t]*(.*?)[ \t]*\r?\n/sy;
9569
+ trimEnd = /[ \t]+$/;
9570
+ trimBoth = /^[ \t]+|[ \t]+$/g;
9565
9571
  }
9566
- let match = first.exec(source);
9567
- if (!match)
9568
- return source;
9569
- let res = match[1];
9572
+ let res = match[1].replace(trimEnd, "");
9570
9573
  let sep = " ";
9571
- let pos = first.lastIndex;
9572
- line.lastIndex = pos;
9574
+ let pos = line.lastIndex;
9573
9575
  while (match = line.exec(source)) {
9574
- if (match[1] === "") {
9576
+ const lm = match[1].replace(trimBoth, "");
9577
+ if (lm === "") {
9575
9578
  if (sep === "\n")
9576
9579
  res += sep;
9577
9580
  else
9578
9581
  sep = "\n";
9579
9582
  } else {
9580
- res += sep + match[1];
9583
+ res += sep + lm;
9581
9584
  sep = " ";
9582
9585
  }
9583
9586
  pos = line.lastIndex;
@@ -9698,9 +9701,9 @@ var require_resolve_flow_scalar = __commonJS({
9698
9701
  }
9699
9702
  });
9700
9703
 
9701
- // ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/compose/compose-scalar.js
9704
+ // ../../node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/compose-scalar.js
9702
9705
  var require_compose_scalar = __commonJS({
9703
- "../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/compose/compose-scalar.js"(exports) {
9706
+ "../../node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/compose-scalar.js"(exports) {
9704
9707
  "use strict";
9705
9708
  var identity = require_identity();
9706
9709
  var Scalar = require_Scalar();
@@ -9779,9 +9782,9 @@ var require_compose_scalar = __commonJS({
9779
9782
  }
9780
9783
  });
9781
9784
 
9782
- // ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/compose/util-empty-scalar-position.js
9785
+ // ../../node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/util-empty-scalar-position.js
9783
9786
  var require_util_empty_scalar_position = __commonJS({
9784
- "../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/compose/util-empty-scalar-position.js"(exports) {
9787
+ "../../node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/util-empty-scalar-position.js"(exports) {
9785
9788
  "use strict";
9786
9789
  function emptyScalarPosition(offset, before, pos) {
9787
9790
  if (before) {
@@ -9809,9 +9812,9 @@ var require_util_empty_scalar_position = __commonJS({
9809
9812
  }
9810
9813
  });
9811
9814
 
9812
- // ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/compose/compose-node.js
9815
+ // ../../node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/compose-node.js
9813
9816
  var require_compose_node = __commonJS({
9814
- "../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/compose/compose-node.js"(exports) {
9817
+ "../../node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/compose-node.js"(exports) {
9815
9818
  "use strict";
9816
9819
  var Alias = require_Alias();
9817
9820
  var identity = require_identity();
@@ -9915,9 +9918,9 @@ var require_compose_node = __commonJS({
9915
9918
  }
9916
9919
  });
9917
9920
 
9918
- // ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/compose/compose-doc.js
9921
+ // ../../node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/compose-doc.js
9919
9922
  var require_compose_doc = __commonJS({
9920
- "../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/compose/compose-doc.js"(exports) {
9923
+ "../../node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/compose-doc.js"(exports) {
9921
9924
  "use strict";
9922
9925
  var Document = require_Document();
9923
9926
  var composeNode = require_compose_node();
@@ -9958,9 +9961,9 @@ var require_compose_doc = __commonJS({
9958
9961
  }
9959
9962
  });
9960
9963
 
9961
- // ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/compose/composer.js
9964
+ // ../../node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/composer.js
9962
9965
  var require_composer = __commonJS({
9963
- "../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/compose/composer.js"(exports) {
9966
+ "../../node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/composer.js"(exports) {
9964
9967
  "use strict";
9965
9968
  var node_process = __require("process");
9966
9969
  var directives = require_directives();
@@ -10166,9 +10169,9 @@ ${end.comment}` : end.comment;
10166
10169
  }
10167
10170
  });
10168
10171
 
10169
- // ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/parse/cst-scalar.js
10172
+ // ../../node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/parse/cst-scalar.js
10170
10173
  var require_cst_scalar = __commonJS({
10171
- "../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/parse/cst-scalar.js"(exports) {
10174
+ "../../node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/parse/cst-scalar.js"(exports) {
10172
10175
  "use strict";
10173
10176
  var resolveBlockScalar = require_resolve_block_scalar();
10174
10177
  var resolveFlowScalar = require_resolve_flow_scalar();
@@ -10351,9 +10354,9 @@ var require_cst_scalar = __commonJS({
10351
10354
  }
10352
10355
  });
10353
10356
 
10354
- // ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/parse/cst-stringify.js
10357
+ // ../../node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/parse/cst-stringify.js
10355
10358
  var require_cst_stringify = __commonJS({
10356
- "../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/parse/cst-stringify.js"(exports) {
10359
+ "../../node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/parse/cst-stringify.js"(exports) {
10357
10360
  "use strict";
10358
10361
  var stringify2 = (cst) => "type" in cst ? stringifyToken(cst) : stringifyItem(cst);
10359
10362
  function stringifyToken(token) {
@@ -10412,9 +10415,9 @@ var require_cst_stringify = __commonJS({
10412
10415
  }
10413
10416
  });
10414
10417
 
10415
- // ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/parse/cst-visit.js
10418
+ // ../../node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/parse/cst-visit.js
10416
10419
  var require_cst_visit = __commonJS({
10417
- "../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/parse/cst-visit.js"(exports) {
10420
+ "../../node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/parse/cst-visit.js"(exports) {
10418
10421
  "use strict";
10419
10422
  var BREAK = /* @__PURE__ */ Symbol("break visit");
10420
10423
  var SKIP = /* @__PURE__ */ Symbol("skip children");
@@ -10474,9 +10477,9 @@ var require_cst_visit = __commonJS({
10474
10477
  }
10475
10478
  });
10476
10479
 
10477
- // ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/parse/cst.js
10480
+ // ../../node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/parse/cst.js
10478
10481
  var require_cst = __commonJS({
10479
- "../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/parse/cst.js"(exports) {
10482
+ "../../node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/parse/cst.js"(exports) {
10480
10483
  "use strict";
10481
10484
  var cstScalar = require_cst_scalar();
10482
10485
  var cstStringify = require_cst_stringify();
@@ -10576,9 +10579,9 @@ var require_cst = __commonJS({
10576
10579
  }
10577
10580
  });
10578
10581
 
10579
- // ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/parse/lexer.js
10582
+ // ../../node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/parse/lexer.js
10580
10583
  var require_lexer = __commonJS({
10581
- "../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/parse/lexer.js"(exports) {
10584
+ "../../node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/parse/lexer.js"(exports) {
10582
10585
  "use strict";
10583
10586
  var cst = require_cst();
10584
10587
  function isEmpty(ch) {
@@ -11165,9 +11168,9 @@ var require_lexer = __commonJS({
11165
11168
  }
11166
11169
  });
11167
11170
 
11168
- // ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/parse/line-counter.js
11171
+ // ../../node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/parse/line-counter.js
11169
11172
  var require_line_counter = __commonJS({
11170
- "../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/parse/line-counter.js"(exports) {
11173
+ "../../node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/parse/line-counter.js"(exports) {
11171
11174
  "use strict";
11172
11175
  var LineCounter = class {
11173
11176
  constructor() {
@@ -11196,9 +11199,9 @@ var require_line_counter = __commonJS({
11196
11199
  }
11197
11200
  });
11198
11201
 
11199
- // ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/parse/parser.js
11202
+ // ../../node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/parse/parser.js
11200
11203
  var require_parser = __commonJS({
11201
- "../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/parse/parser.js"(exports) {
11204
+ "../../node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/parse/parser.js"(exports) {
11202
11205
  "use strict";
11203
11206
  var node_process = __require("process");
11204
11207
  var cst = require_cst();
@@ -12070,9 +12073,9 @@ var require_parser = __commonJS({
12070
12073
  }
12071
12074
  });
12072
12075
 
12073
- // ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/public-api.js
12076
+ // ../../node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/public-api.js
12074
12077
  var require_public_api = __commonJS({
12075
- "../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/public-api.js"(exports) {
12078
+ "../../node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/public-api.js"(exports) {
12076
12079
  "use strict";
12077
12080
  var composer = require_composer();
12078
12081
  var Document = require_Document();
@@ -12167,9 +12170,9 @@ var require_public_api = __commonJS({
12167
12170
  }
12168
12171
  });
12169
12172
 
12170
- // ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/index.js
12173
+ // ../../node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/index.js
12171
12174
  var require_dist2 = __commonJS({
12172
- "../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/index.js"(exports) {
12175
+ "../../node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/index.js"(exports) {
12173
12176
  "use strict";
12174
12177
  var composer = require_composer();
12175
12178
  var Document = require_Document();
@@ -12228,7 +12231,7 @@ import { fileURLToPath as fileURLToPath3 } from "url";
12228
12231
  var package_default = {
12229
12232
  name: "@yext/visual-editor",
12230
12233
  description: "Component library for Yext Pages Visual Editor",
12231
- version: "2.0.0-beta.1",
12234
+ version: "2.0.0-beta.10",
12232
12235
  author: "sprumo@yext.com",
12233
12236
  repository: {
12234
12237
  type: "git",
@@ -12278,6 +12281,7 @@ var package_default = {
12278
12281
  "build:cli": "tsup --config tsup.config.ts",
12279
12282
  build: "pnpm run build:components && pnpm run build:plugin && pnpm run build:cli",
12280
12283
  test: "pnpm run test:editor && pnpm run test:components",
12284
+ "test:pageGeneration:browser": "vitest run --config vitest.pageGenerationTest.config.ts",
12281
12285
  "test:editor": "vitest run --exclude './src/components/**/*.test.tsx' --browser.enabled false",
12282
12286
  "test:components": "vitest run --dir ./src/components",
12283
12287
  "test:components:local": "./scripts/localScreenshots.sh",
@@ -12300,8 +12304,9 @@ var package_default = {
12300
12304
  "i18n:update": "pnpm run i18n:extract:platform && pnpm run i18n:extract:page && pnpm run i18n:translate:platform && pnpm run i18n:propagate:page && pnpm run i18n:lint"
12301
12305
  },
12302
12306
  dependencies: {
12307
+ "@json-render/core": "^0.21.0",
12303
12308
  "@mapbox/maki": "^8.2.0",
12304
- "@puckeditor/core": "0.22.2",
12309
+ "@puckeditor/core": "0.24.0",
12305
12310
  "@radix-ui/react-accordion": "^1.2.3",
12306
12311
  "@radix-ui/react-alert-dialog": "^1.1.1",
12307
12312
  "@radix-ui/react-dialog": "^1.1.13",
@@ -12321,7 +12326,7 @@ var package_default = {
12321
12326
  dompurify: "^3.2.3",
12322
12327
  "fs-extra": "^11.2.0",
12323
12328
  geolib: "^3.3.4",
12324
- handlebars: "^4.7.9",
12329
+ handlebars: "^4.7.10",
12325
12330
  "i18next-cli": "^1.73.2",
12326
12331
  "lucide-react": "^0.414.0",
12327
12332
  "lz-string": "1.5.0",
@@ -12337,7 +12342,8 @@ var package_default = {
12337
12342
  "ts-morph": "22.0.0",
12338
12343
  tsx: "^4.22.4",
12339
12344
  typescript: "^5.5.4",
12340
- uuid: "11.0.3"
12345
+ uuid: "11.0.3",
12346
+ zod: "^4.6.7"
12341
12347
  },
12342
12348
  engines: {
12343
12349
  node: "^20.6.0 || ^22 || ^24"
@@ -12411,7 +12417,7 @@ import { Project } from "ts-morph";
12411
12417
  // src/internal/sectionLibraryValidation/stages/api/libraryMetadata.ts
12412
12418
  import path from "path";
12413
12419
  import fs from "fs-extra";
12414
- var safeIdPattern = /^[A-Za-z0-9_-]{1,64}$/;
12420
+ var safeIdPattern = /^[a-z][a-z0-9-]{0,61}[a-z0-9](?![\s\S])/;
12415
12421
  var descriptionMaxLength = 1024;
12416
12422
  var validateLibraryMetadata = (rootDir) => {
12417
12423
  const filePath = path.join(rootDir, "src", "library", "library.json");
@@ -12467,11 +12473,14 @@ var validateLibraryMetadata = (rootDir) => {
12467
12473
  libraryMetadataValues.set("description", description);
12468
12474
  }
12469
12475
  const id = libraryMetadataValues.get("id");
12470
- if (id && !safeIdPattern.test(id)) {
12471
- addIssue(
12472
- "field/id/safe",
12473
- "id must be at most 64 characters and may contain only letters, numbers, underscores, and hyphens."
12474
- );
12476
+ if (id) {
12477
+ const unprefixedId = id.startsWith("yext_") ? id.slice(5) : id;
12478
+ if (id.length > 63 || !safeIdPattern.test(unprefixedId)) {
12479
+ addIssue(
12480
+ "field/id/safe",
12481
+ "id must be 2\u201363 characters, contain only lowercase letters, numbers, and hyphens, start with a lowercase letter, and end with a letter or number."
12482
+ );
12483
+ }
12475
12484
  }
12476
12485
  if (issues.length > 0) {
12477
12486
  return { issues };
@@ -13176,6 +13185,7 @@ var purposes = ["LOCATION", "CITATION"];
13176
13185
 
13177
13186
  // src/cli/commands/internal/convertTemplatesToSectionLibrary.ts
13178
13187
  var SAFE_ID = /^[A-Za-z0-9][A-Za-z0-9_-]*$/;
13188
+ var ID_REQUIREMENTS = "must start with a letter or number and contain only letters, numbers, underscores, and hyphens";
13179
13189
  var VERTICALS = new Set(verticals);
13180
13190
  var PURPOSES = new Set(purposes);
13181
13191
  var REQUIRED_BASE_SECTIONS = /* @__PURE__ */ new Set(["Directory", "Locator"]);
@@ -13282,24 +13292,28 @@ var readLegacyTemplates = (rootDirectory) => {
13282
13292
  if (templateDirectories.length === 0) {
13283
13293
  throw new Error(`No legacy templates found in ${registryDirectory}`);
13284
13294
  }
13285
- const normalizedTemplateIds = /* @__PURE__ */ new Set();
13295
+ const normalizedTemplateIds = /* @__PURE__ */ new Map();
13286
13296
  return templateDirectories.map((templateDirectory) => {
13287
13297
  if (!SAFE_ID.test(templateDirectory)) {
13288
- throw new Error(`Template ID is not valid: ${templateDirectory}`);
13298
+ throw new Error(
13299
+ `Template ID is not valid: ${path3.join(registryDirectory, templateDirectory)}. Template IDs ${ID_REQUIREMENTS}.`
13300
+ );
13289
13301
  }
13290
13302
  const templateId = removeYextPrefix(templateDirectory);
13291
13303
  if (!SAFE_ID.test(templateId)) {
13292
- throw new Error(`Template ID is not valid: ${templateDirectory}`);
13304
+ throw new Error(
13305
+ `Template ID is not valid: ${path3.join(registryDirectory, templateDirectory)}. After removing the yext prefix, ${JSON.stringify(templateId)} ${ID_REQUIREMENTS}.`
13306
+ );
13293
13307
  }
13294
13308
  if (normalizedTemplateIds.has(templateId)) {
13295
13309
  throw new Error(
13296
- `Template IDs collide after removing the yext- prefix: ${templateId}`
13310
+ `Template IDs collide after removing the yext prefix: ${path3.join(registryDirectory, normalizedTemplateIds.get(templateId))} and ${path3.join(registryDirectory, templateDirectory)} both normalize to ${JSON.stringify(templateId)}.`
13297
13311
  );
13298
13312
  }
13299
- normalizedTemplateIds.add(templateId);
13313
+ normalizedTemplateIds.set(templateId, templateDirectory);
13300
13314
  if (RESERVED_LAYOUT_IDS.has(templateId)) {
13301
13315
  throw new Error(
13302
- `Template ID is reserved for a generated template alias: ${templateId}`
13316
+ `Template ID is reserved for a generated template alias: ${path3.join(registryDirectory, templateDirectory)} normalizes to ${JSON.stringify(templateId)}. Reserved IDs: ${Array.from(RESERVED_LAYOUT_IDS).join(", ")}. Rename the template directory.`
13303
13317
  );
13304
13318
  }
13305
13319
  return readLegacyTemplate(
@@ -13589,8 +13603,37 @@ var readBaseLibrary = (libraryDirectory) => {
13589
13603
  metadataPath,
13590
13604
  `layout metadata for ${entry.name}`
13591
13605
  );
13592
- if (!isRecord(metadata) || !["ENTITY", "DIRECTORY", "LOCATOR"].includes(metadata.pageSetType) || typeof metadata.id !== "string" || metadata.id !== entry.name || !SAFE_ID.test(metadata.id)) {
13593
- throw new Error(`Base layout metadata is not valid: ${metadataPath}`);
13606
+ const issues = [];
13607
+ if (!isRecord(metadata)) {
13608
+ issues.push("metadata must be a JSON object.");
13609
+ } else {
13610
+ if (!["ENTITY", "DIRECTORY", "LOCATOR"].includes(metadata.pageSetType)) {
13611
+ issues.push(
13612
+ `pageSetType must be ENTITY, DIRECTORY, or LOCATOR; received ${JSON.stringify(metadata.pageSetType)}.`
13613
+ );
13614
+ }
13615
+ if (typeof metadata.id !== "string") {
13616
+ issues.push(
13617
+ `id must be a string; received ${JSON.stringify(metadata.id)}.`
13618
+ );
13619
+ } else {
13620
+ if (metadata.id !== entry.name) {
13621
+ issues.push(
13622
+ `id must match directory name ${JSON.stringify(entry.name)}; received ${JSON.stringify(metadata.id)}.`
13623
+ );
13624
+ }
13625
+ if (!SAFE_ID.test(metadata.id)) {
13626
+ issues.push(
13627
+ `id ${ID_REQUIREMENTS}; received ${JSON.stringify(metadata.id)}.`
13628
+ );
13629
+ }
13630
+ }
13631
+ }
13632
+ if (issues.length > 0) {
13633
+ throw new Error(
13634
+ `Base layout metadata is not valid: ${metadataPath}
13635
+ ${issues.map((issue) => ` - ${issue}`).join("\n")}`
13636
+ );
13594
13637
  }
13595
13638
  const defaultLayoutPath = path3.join(directory, "defaultLayout.json");
13596
13639
  const defaultLayout = readJson(
@@ -13659,11 +13702,12 @@ var buildConversion = (templates, baseLibrary) => {
13659
13702
  const componentIds = new Set(components.keys());
13660
13703
  const directoryLayoutId = `${firstTemplate.templateId}-directory`;
13661
13704
  const locatorLayoutId = `${firstTemplate.templateId}-locator`;
13662
- if (templates.some(
13705
+ const conflictingTemplate = templates.find(
13663
13706
  (template) => template.templateId === directoryLayoutId || template.templateId === locatorLayoutId
13664
- )) {
13707
+ );
13708
+ if (conflictingTemplate) {
13665
13709
  throw new Error(
13666
- "A legacy template ID conflicts with the generated Directory or Locator layout ID"
13710
+ `Legacy template ${conflictingTemplate.directory} conflicts with generated layout ID ${JSON.stringify(conflictingTemplate.templateId)} from ${firstTemplate.directory}. Rename the conflicting template directory.`
13667
13711
  );
13668
13712
  }
13669
13713
  for (const template of templates) {
@@ -13742,19 +13786,43 @@ var readMetadataList = (value, allowedValues, sourcePath, property) => {
13742
13786
  if (value === void 0) {
13743
13787
  return [];
13744
13788
  }
13745
- if (!Array.isArray(value) || value.some(
13789
+ if (!Array.isArray(value)) {
13790
+ throw new Error(
13791
+ `${sourcePath} ${property} must be an array of supported strings; received ${JSON.stringify(value)}. Allowed values: ${Array.from(allowedValues).join(", ")}.`
13792
+ );
13793
+ }
13794
+ const invalidValues = value.filter(
13746
13795
  (item) => typeof item !== "string" || !allowedValues.has(item)
13747
- )) {
13796
+ );
13797
+ if (invalidValues.length > 0) {
13748
13798
  throw new Error(
13749
- `${sourcePath} ${property} must contain supported string values`
13799
+ `${sourcePath} ${property} contains unsupported values: ${invalidValues.map((item) => JSON.stringify(item)).join(", ")}. Allowed values: ${Array.from(allowedValues).join(", ")}.`
13750
13800
  );
13751
13801
  }
13752
13802
  return value;
13753
13803
  };
13754
13804
  function validateDefaultLayout(defaultLayout, sourcePath, description) {
13755
- if (!isRecord(defaultLayout) || !isRecord(defaultLayout.root) || !isRecord(defaultLayout.zones) || !Array.isArray(defaultLayout.content)) {
13805
+ const issues = [];
13806
+ if (!isRecord(defaultLayout)) {
13807
+ issues.push("default layout must be a JSON object.");
13808
+ } else {
13809
+ for (const field of ["root", "zones"]) {
13810
+ if (!isRecord(defaultLayout[field])) {
13811
+ issues.push(
13812
+ `${field} must be a JSON object; received ${JSON.stringify(defaultLayout[field])}.`
13813
+ );
13814
+ }
13815
+ }
13816
+ if (!Array.isArray(defaultLayout.content)) {
13817
+ issues.push(
13818
+ `content must be an array; received ${JSON.stringify(defaultLayout.content)}.`
13819
+ );
13820
+ }
13821
+ }
13822
+ if (issues.length > 0) {
13756
13823
  throw new Error(
13757
- `${description} default layout is not valid: ${sourcePath}`
13824
+ `${description} default layout is not valid: ${sourcePath}
13825
+ ${issues.map((issue) => ` - ${issue}`).join("\n")}`
13758
13826
  );
13759
13827
  }
13760
13828
  }
@@ -14409,12 +14477,15 @@ import { execFileSync as execFileSync2 } from "child_process";
14409
14477
 
14410
14478
  // src/cli/commands/internal/deploy/logging.ts
14411
14479
  import ora from "ora";
14412
- function logApiCall(text, method, url, verbose = false) {
14480
+ function logApiCall(text, method, url, verbose = false, expectedStatusMessages = {}) {
14413
14481
  const spinner = text.length > 0 ? ora(text).start() : void 0;
14414
14482
  const finishVerboseLog = verbose ? verboseLogApiCall(method, url) : void 0;
14415
14483
  return (res) => {
14416
14484
  if (spinner) {
14417
- if (res?.ok) {
14485
+ const expectedMessage = res && expectedStatusMessages[res.status];
14486
+ if (expectedMessage) {
14487
+ spinner.info(expectedMessage);
14488
+ } else if (res?.ok) {
14418
14489
  spinner.succeed(`${text} ${color("done", true)}`);
14419
14490
  } else {
14420
14491
  spinner.fail(`${text} ${color("error", false)}`);
@@ -14459,7 +14530,7 @@ function color(text, success) {
14459
14530
 
14460
14531
  // src/cli/commands/internal/deploy/api.ts
14461
14532
  var API_PATH_PREFIX = "/v2/";
14462
- async function yextApiRequest(logAction, method, path16, config, verbose = false, data) {
14533
+ async function yextApiRequest(logAction, method, path16, config, verbose = false, data, expectedStatusMessages = {}) {
14463
14534
  const url = new URL(`${API_PATH_PREFIX}${path16}`, config.apiHost);
14464
14535
  url.searchParams.set("v", "20260819");
14465
14536
  url.searchParams.set("api_key", config.apiKey);
@@ -14470,7 +14541,13 @@ async function yextApiRequest(logAction, method, path16, config, verbose = false
14470
14541
  });
14471
14542
  requestInit.body = JSON.stringify(data);
14472
14543
  }
14473
- const finishLog = logApiCall(logAction, method, url, verbose);
14544
+ const finishLog = logApiCall(
14545
+ logAction,
14546
+ method,
14547
+ url,
14548
+ verbose,
14549
+ expectedStatusMessages
14550
+ );
14474
14551
  try {
14475
14552
  const response = await fetch(url, new Request(url, requestInit));
14476
14553
  const responseJson = JSON.parse(
@@ -14550,6 +14627,13 @@ async function createSectionLibraryRevision(config, libraryId, data, verbose) {
14550
14627
  data
14551
14628
  );
14552
14629
  if (!result.ok) {
14630
+ if (result.errors[0]?.message.includes(
14631
+ "cannot create revision for built-in section library"
14632
+ )) {
14633
+ throw new Error(
14634
+ 'Cannot create a revision for a built-in section library. Check the "id" field in src/library/library.json. To deploy your own library, remove the reserved "yext_" prefix and retry.'
14635
+ );
14636
+ }
14553
14637
  throw sectionLibraryApiError(
14554
14638
  result.errors,
14555
14639
  "Failed to upload current commit as a Section Library Revision"
@@ -14606,7 +14690,9 @@ async function getSectionLibrary(config, libraryId, verbose) {
14606
14690
  "GET",
14607
14691
  `accounts/me/sectionLibraries/${encodeURIComponent(libraryId)}`,
14608
14692
  config,
14609
- verbose
14693
+ verbose,
14694
+ void 0,
14695
+ { 404: "Section library not found" }
14610
14696
  );
14611
14697
  if (!result.ok && result.status !== 404) {
14612
14698
  throw sectionLibraryApiError(
@@ -14620,7 +14706,7 @@ async function getSectionLibraryRevision(config, revisionName, verbose, omitLog
14620
14706
  const result = await yextApiRequest(
14621
14707
  omitLog ? "" : "Fetching Section Library Revision...",
14622
14708
  "GET",
14623
- revisionName,
14709
+ revisionName.replace(/^accounts\/\d+\//, "accounts/me/"),
14624
14710
  config,
14625
14711
  verbose
14626
14712
  );
@@ -14777,11 +14863,16 @@ import ora2 from "ora";
14777
14863
  var BUILD_SUCCESS_STATUS = "STATUS_BUILD_SUCCEEDED";
14778
14864
  var BUILD_PROCESSING_STATUS = "STATUS_BUILD_PROCESSING";
14779
14865
  var REVISION_POLLING_TEXT = "Waiting for Section Library Revision build...";
14780
- async function pollRevision(config, revisionName, verbose) {
14866
+ async function pollRevision(config, revisionName, verbose, isInteractive) {
14867
+ const pollingIntervalMs = isInteractive ? 1e4 : 3e4;
14781
14868
  let lastStatus = BUILD_PROCESSING_STATUS;
14782
14869
  let revision;
14783
14870
  const startedAt = Date.now();
14784
14871
  const spinner = ora2(REVISION_POLLING_TEXT).start();
14872
+ const spinnerTimer = setInterval(() => {
14873
+ const elapsedSeconds = Math.floor((Date.now() - startedAt) / 1e3);
14874
+ spinner.text = `${REVISION_POLLING_TEXT} ${formatElapsed(elapsedSeconds)} elapsed (expected build time: 5-10 minutes)`;
14875
+ }, 1e3);
14785
14876
  try {
14786
14877
  while (lastStatus === BUILD_PROCESSING_STATUS) {
14787
14878
  revision = await getSectionLibraryRevision(
@@ -14791,13 +14882,15 @@ async function pollRevision(config, revisionName, verbose) {
14791
14882
  true
14792
14883
  );
14793
14884
  lastStatus = revision.status;
14794
- const elapsedSeconds = Math.floor((Date.now() - startedAt) / 1e3);
14795
- spinner.text = `${REVISION_POLLING_TEXT} ${formatElapsed(elapsedSeconds)} elapsed (expected build time: 5-10 minutes)`;
14796
- await new Promise((resolve) => setTimeout(resolve, 1e3));
14885
+ if (lastStatus === BUILD_PROCESSING_STATUS) {
14886
+ await new Promise((resolve) => setTimeout(resolve, pollingIntervalMs));
14887
+ }
14797
14888
  }
14798
14889
  } catch (error) {
14799
14890
  spinner.fail("Section Library Revision build failed.");
14800
14891
  throw error;
14892
+ } finally {
14893
+ clearInterval(spinnerTimer);
14801
14894
  }
14802
14895
  if (revision?.status === BUILD_SUCCESS_STATUS) {
14803
14896
  const elapsedSeconds = Math.floor((Date.now() - startedAt) / 1e3);
@@ -14870,7 +14963,7 @@ var deployCmd = defineYextVECommand({
14870
14963
  throw new Error("No Section Library revision was created.");
14871
14964
  }
14872
14965
  if (revision) {
14873
- await pollRevision(config, revision.name, verbose);
14966
+ await pollRevision(config, revision.name, verbose, isInteractive);
14874
14967
  }
14875
14968
  return 0;
14876
14969
  } catch (error) {
@@ -16515,6 +16608,17 @@ var readLayout = (layoutDirectory, addIssue) => {
16515
16608
  } else {
16516
16609
  throw new Error("must set a supported pageSetType");
16517
16610
  }
16611
+ const defaultGenerationSectionIds = metadataValue.defaultGenerationSectionIds;
16612
+ if (defaultGenerationSectionIds !== void 0) {
16613
+ if (!Array.isArray(defaultGenerationSectionIds) || defaultGenerationSectionIds.some(
16614
+ (sectionId) => typeof sectionId !== "string" || !sectionId.trim()
16615
+ )) {
16616
+ throw new Error(
16617
+ "defaultGenerationSectionIds must be an array of non-empty section IDs."
16618
+ );
16619
+ }
16620
+ metadata.defaultGenerationSectionIds = defaultGenerationSectionIds;
16621
+ }
16518
16622
  if (!safeSectionLibraryIdPattern.test(metadata.id)) {
16519
16623
  throw new Error(`Layout ID is not valid: ${metadata.id}`);
16520
16624
  }