@doubao-dev/cli 0.0.25 → 0.0.27

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 (110) hide show
  1. package/dist/2168.js +60 -0
  2. package/dist/{4091.js → 2611.js} +14 -14
  3. package/dist/275.js +25 -0
  4. package/dist/2932.js +1 -1
  5. package/dist/318.js +1 -1
  6. package/dist/3768.js +1 -0
  7. package/dist/3974.js +10 -10
  8. package/dist/4594.js +7 -0
  9. package/dist/4931.js +2 -2
  10. package/dist/{react.js → 6831.js} +1 -1
  11. package/dist/7410.js +1 -1
  12. package/dist/@byted-doubao-apps/create.js +1 -1
  13. package/dist/@byted-doubao-apps/login.js +1 -1
  14. package/dist/@byted-doubao-apps/login~1.js +1 -1
  15. package/dist/@byted-doubao-apps/template-empty/package.json +3 -3
  16. package/dist/@byted-doubao-apps/template-starter/package.json +3 -3
  17. package/dist/@byted-hdt/cli.js +1 -1
  18. package/dist/@inquirer/select.js +1 -1
  19. package/dist/agentic-service.js +1 -0
  20. package/dist/app.js +1 -1
  21. package/dist/assets/web-sdk-debugger/index.html +1 -1
  22. package/dist/assets/web-sdk-debugger/static/css/index.cc3b255797.css +1 -0
  23. package/dist/assets/web-sdk-debugger/static/js/index.1448a806d8.js +26 -0
  24. package/dist/assets/web-sdk-debugger/wsd/doubao-apps-api.template.js +0 -0
  25. package/dist/assets/web-sdk-debugger/wsd/doubao-apps-framework.template.js +0 -0
  26. package/dist/browser.js +1 -1
  27. package/dist/check.js +1 -0
  28. package/dist/dbx.js +2 -2
  29. package/dist/demo-server.js +3 -3
  30. package/dist/demo.js +2 -0
  31. package/dist/dev-config.js +2 -2
  32. package/dist/dev-service-client.js +1 -25
  33. package/dist/dev-shell.js +1 -1
  34. package/dist/dev.js +10 -10
  35. package/dist/gen-explore.js +1 -1
  36. package/dist/gen-trajectory.js +1 -1
  37. package/dist/get.js +1 -1
  38. package/dist/init.js +4 -4
  39. package/dist/ink.js +3 -3
  40. package/dist/json-file.js +1 -1
  41. package/dist/login.js +1 -1
  42. package/dist/main.js +1 -1
  43. package/dist/manifest-mcp-config.js +1 -1
  44. package/dist/ora.js +1 -1
  45. package/dist/portal.js +1 -1
  46. package/dist/project-layout.js +1 -1
  47. package/dist/prompt.js +7 -7
  48. package/dist/prompts.js +1 -1
  49. package/dist/report.js +1 -1
  50. package/dist/run-registry.js +1 -1
  51. package/dist/run.js +122 -122
  52. package/dist/sandbox.js +1 -1
  53. package/dist/scan.js +1 -1
  54. package/dist/sdk.js +20 -20
  55. package/dist/sdk~1.js +20 -20
  56. package/dist/server.js +4 -4
  57. package/dist/simulator-client.js +1 -1
  58. package/dist/skill.js +1 -1
  59. package/dist/skills.js +1 -1
  60. package/dist/skills~2.js +2 -2
  61. package/dist/status.js +2 -2
  62. package/dist/status~1.js +1 -1
  63. package/dist/stop.js +1 -1
  64. package/dist/templates/README.md +1 -1
  65. package/dist/update.js +1 -1
  66. package/dist/upgrade.js +1 -1
  67. package/dist/upload.js +6 -6
  68. package/dist/workspace.js +1 -1
  69. package/dist/yaml.js +2 -2
  70. package/package.json +2 -2
  71. package/skills/dbx-eval/SKILL.md +2 -2
  72. package/skills/doubao-agentic-service-development/SKILL.md +8 -8
  73. package/skills/doubao-agentic-service-development/references/auth.md +2 -2
  74. package/skills/doubao-agentic-service-development/references/business-template-debug.md +3 -3
  75. package/skills/doubao-agentic-service-development/references/dev-debug.md +2 -2
  76. package/skills/doubao-agentic-service-development/references/frontend/doubao-agentic-service-api/01-/345/237/272/347/241/200.md +175 -15
  77. package/skills/doubao-agentic-service-development/references/frontend/doubao-agentic-service-api/02-/347/263/273/347/273/237.md +3 -3
  78. package/skills/doubao-agentic-service-development/references/frontend/doubao-agentic-service-api/03-/350/207/252/345/256/232/344/271/211/351/200/232/344/277/241.md +1 -1
  79. package/skills/doubao-agentic-service-development/references/frontend/doubao-agentic-service-api/04-/345/256/232/344/275/215.md +1 -1
  80. package/skills/doubao-agentic-service-development/references/frontend/doubao-agentic-service-api/08-/344/272/244/344/272/222.md +221 -7
  81. package/skills/doubao-agentic-service-development/references/frontend/doubao-agentic-service-api/10-/347/275/221/347/273/234.md +20 -20
  82. package/skills/doubao-agentic-service-development/references/frontend/doubao-agentic-service-api/11-/345/252/222/344/275/223.md +2 -2
  83. package/skills/doubao-agentic-service-development/references/frontend/doubao-agentic-service-api/12-/344/270/232/345/212/241/350/203/275/345/212/233.md +3 -4
  84. package/skills/doubao-agentic-service-development/references/frontend/doubao-agentic-service-api/16-/350/223/235/347/211/231.md +3 -3
  85. package/skills/doubao-agentic-service-development/references/frontend/doubao-agentic-service-api/25-/346/227/240/351/232/234/347/242/215.md +1 -1
  86. package/skills/doubao-agentic-service-development/references/frontend/doubao-agentic-service-api/26-/345/237/272/347/241/200/344/277/241/346/201/257.md +3 -3
  87. package/skills/doubao-agentic-service-development/references/frontend/doubao-agentic-service-api/28-/345/211/252/350/264/264/346/235/277.md +2 -2
  88. package/skills/doubao-agentic-service-development/references/frontend/doubao-agentic-service-api/32-/346/211/253/347/240/201.md +1 -1
  89. package/skills/doubao-agentic-service-development/references/frontend/doubao-agentic-service-api/33-/345/261/217/345/271/225.md +1 -1
  90. package/skills/doubao-agentic-service-development/references/frontend/doubao-agentic-service-api/34-/351/234/207/345/212/250.md +2 -2
  91. package/skills/doubao-agentic-service-development/references/frontend/doubao-agentic-service-api/common-errors.md +1 -1
  92. package/skills/doubao-agentic-service-development/references/frontend/doubao-agentic-service-api/groups.md +3 -3
  93. package/skills/doubao-agentic-service-development/references/frontend/doubao-agentic-service-api/quick-reference.md +7 -3
  94. package/skills/doubao-agentic-service-development/references/frontend-dev.md +3 -3
  95. package/skills/doubao-agentic-service-development/references/generate-skill.md +1 -1
  96. package/skills/doubao-agentic-service-development/references/local-debug/simulator-eval.md +26 -22
  97. package/skills/doubao-agentic-service-development/references/manifest-guide.md +3 -3
  98. package/skills/doubao-agentic-service-development/references/mcp-protocol.md +1 -1
  99. package/skills/doubao-agentic-service-development/references/overview.md +2 -3
  100. package/skills/doubao-agentic-service-development/references/service-notice.md +1 -3
  101. package/skills/doubao-agentic-service-development/references/task-management.md +1 -3
  102. package/dist/1664.js +0 -66
  103. package/dist/assets/web-sdk-debugger/static/css/index.3fba1d83fd.css +0 -1
  104. package/dist/assets/web-sdk-debugger/static/js/index.c19e6628b4.js +0 -26
  105. package/dist/dbx-demo.js +0 -2
  106. package/dist/eval.js +0 -1
  107. package/dist/validate.js +0 -1
  108. /package/dist/{4091.js.LICENSE.txt → 2611.js.LICENSE.txt} +0 -0
  109. /package/dist/{dev-service-client.js.LICENSE.txt → 275.js.LICENSE.txt} +0 -0
  110. /package/dist/{react.js.LICENSE.txt → 6831.js.LICENSE.txt} +0 -0
package/dist/yaml.js CHANGED
@@ -1,4 +1,4 @@
1
- import"node:module";import{__webpack_require__ as e}from"./rslib-runtime.js";import"./1664.js";import"./180.js";e.add({"../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/compose/compose-collection.js"(e,t,s){var n=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/identity.js"),o=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/Scalar.js"),i=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/YAMLMap.js"),l=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/YAMLSeq.js"),a=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/compose/resolve-block-map.js"),r=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/compose/resolve-block-seq.js"),d=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/compose/resolve-flow-collection.js");function m(e,t,s,n,o,i){let l="block-map"===s.type?a.resolveBlockMap(e,t,s,n,i):"block-seq"===s.type?r.resolveBlockSeq(e,t,s,n,i):d.resolveFlowCollection(e,t,s,n,i),m=l.constructor;return"!"===o||o===m.tagName?l.tag=m.tagName:o&&(l.tag=o),l}t.composeCollection=function(e,t,s,a,r){let d=a.tag,c=d?t.directives.tagName(d.source,e=>r(d,"TAG_RESOLVE_FAILED",e)):null;if("block-seq"===s.type){let{anchor:e,newlineAfterProp:t}=a,s=e&&d?e.offset>d.offset?e:d:e??d;s&&(!t||t.offset<s.offset)&&r(s,"MISSING_CHAR","Missing newline after block sequence props")}let u="block-map"===s.type?"map":"block-seq"===s.type?"seq":"{"===s.start.source?"map":"seq";if(!d||!c||"!"===c||c===i.YAMLMap.tagName&&"map"===u||c===l.YAMLSeq.tagName&&"seq"===u)return m(e,t,s,r,c);let p=t.schema.tags.find(e=>e.tag===c&&e.collection===u);if(!p){let n=t.schema.knownTags[c];if(n?.collection!==u)return n?r(d,"BAD_COLLECTION_TYPE",`${n.tag} used for ${u} collection, but expects ${n.collection??"scalar"}`,!0):r(d,"TAG_RESOLVE_FAILED",`Unresolved tag: ${c}`,!0),m(e,t,s,r,c);t.schema.tags.push(Object.assign({},n,{default:!1})),p=n}let f=m(e,t,s,r,c,p),h=p.resolve?.(f,e=>r(d,"TAG_RESOLVE_FAILED",e),t.options)??f,y=n.isNode(h)?h:new o.Scalar(h);return y.range=f.range,y.tag=c,p?.format&&(y.format=p.format),y}},"../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/compose/compose-doc.js"(e,t,s){var n=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/doc/Document.js"),o=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/compose/compose-node.js"),i=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/compose/resolve-end.js"),l=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/compose/resolve-props.js");t.composeDoc=function(e,t,{offset:s,start:a,value:r,end:d},m){let c=Object.assign({_directives:t},e),u=new n.Document(void 0,c),p={atKey:!1,atRoot:!0,directives:u.directives,options:u.options,schema:u.schema},f=l.resolveProps(a,{indicator:"doc-start",next:r??d?.[0],offset:s,onError:m,parentIndent:0,startOnNewline:!0});f.found&&(u.directives.docStart=!0,r&&("block-map"===r.type||"block-seq"===r.type)&&!f.hasNewline&&m(f.end,"MISSING_CHAR","Block collection cannot start on same line with directives-end marker")),u.contents=r?o.composeNode(p,r,f,m):o.composeEmptyNode(p,f.end,a,null,f,m);let h=u.contents.range[2],y=i.resolveEnd(d,h,!1,m);return y.comment&&(u.comment=y.comment),u.range=[s,h,y.offset],u}},"../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/compose/compose-node.js"(e,t,s){var n=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/Alias.js"),o=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/identity.js"),i=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/compose/compose-collection.js"),l=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/compose/compose-scalar.js"),a=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/compose/resolve-end.js"),r=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/compose/util-empty-scalar-position.js");let d={composeNode:m,composeEmptyNode:c};function m(e,t,s,r){let m,u=e.atKey,{spaceBefore:p,comment:f,anchor:h,tag:y}=s,g=!0;switch(t.type){case"alias":m=function({options:e},{offset:t,source:s,end:o},i){let l=new n.Alias(s.substring(1));""===l.source&&i(t,"BAD_ALIAS","Alias cannot be an empty string"),l.source.endsWith(":")&&i(t+s.length-1,"BAD_ALIAS","Alias ending in : is ambiguous",!0);let r=t+s.length,d=a.resolveEnd(o,r,e.strict,i);return l.range=[t,r,d.offset],d.comment&&(l.comment=d.comment),l}(e,t,r),(h||y)&&r(t,"ALIAS_PROPS","An alias node must not specify any properties");break;case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":case"block-scalar":m=l.composeScalar(e,t,y,r),h&&(m.anchor=h.source.substring(1));break;case"block-map":case"block-seq":case"flow-collection":try{m=i.composeCollection(d,e,t,s,r),h&&(m.anchor=h.source.substring(1))}catch(e){r(t,"RESOURCE_EXHAUSTION",e instanceof Error?e.message:String(e))}break;default:{let e="error"===t.type?t.message:`Unsupported token (type: ${t.type})`;r(t,"UNEXPECTED_TOKEN",e),g=!1}}return m??(m=c(e,t.offset,void 0,null,s,r)),h&&""===m.anchor&&r(h,"BAD_ALIAS","Anchor cannot be an empty string"),u&&e.options.stringKeys&&(!o.isScalar(m)||"string"!=typeof m.value||m.tag&&"tag:yaml.org,2002:str"!==m.tag)&&r(y??t,"NON_STRING_KEY","With stringKeys, all keys must be strings"),p&&(m.spaceBefore=!0),f&&("scalar"===t.type&&""===t.source?m.comment=f:m.commentBefore=f),e.options.keepSourceTokens&&g&&(m.srcToken=t),m}function c(e,t,s,n,{spaceBefore:o,comment:i,anchor:a,tag:d,end:m},u){let p={type:"scalar",offset:r.emptyScalarPosition(t,s,n),indent:-1,source:""},f=l.composeScalar(e,p,d,u);return a&&(f.anchor=a.source.substring(1),""===f.anchor&&u(a,"BAD_ALIAS","Anchor cannot be an empty string")),o&&(f.spaceBefore=!0),i&&(f.comment=i,f.range[2]=m),f}t.composeEmptyNode=c,t.composeNode=m},"../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/compose/compose-scalar.js"(e,t,s){var n=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/identity.js"),o=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/Scalar.js"),i=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/compose/resolve-block-scalar.js"),l=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/compose/resolve-flow-scalar.js");t.composeScalar=function(e,t,s,a){let r,d,{value:m,type:c,comment:u,range:p}="block-scalar"===t.type?i.resolveBlockScalar(e,t,a):l.resolveFlowScalar(t,e.options.strict,a),f=s?e.directives.tagName(s.source,e=>a(s,"TAG_RESOLVE_FAILED",e)):null;r=e.options.stringKeys&&e.atKey?e.schema[n.SCALAR]:f?function(e,t,s,o,i){if("!"===s)return e[n.SCALAR];let l=[];for(let t of e.tags)if(!t.collection&&t.tag===s)if(!t.default||!t.test)return t;else l.push(t);for(let e of l)if(e.test?.test(t))return e;let a=e.knownTags[s];return a&&!a.collection?(e.tags.push(Object.assign({},a,{default:!1,test:void 0})),a):(i(o,"TAG_RESOLVE_FAILED",`Unresolved tag: ${s}`,"tag:yaml.org,2002:str"!==s),e[n.SCALAR])}(e.schema,m,f,s,a):"scalar"===t.type?function({atKey:e,directives:t,schema:s},o,i,l){let a=s.tags.find(t=>(!0===t.default||e&&"key"===t.default)&&t.test?.test(o))||s[n.SCALAR];if(s.compat){let e=s.compat.find(e=>e.default&&e.test?.test(o))??s[n.SCALAR];if(a.tag!==e.tag){let s=t.tagString(a.tag),n=t.tagString(e.tag);l(i,"TAG_RESOLVE_FAILED",`Value may be parsed as either ${s} or ${n}`,!0)}}return a}(e,m,t,a):e.schema[n.SCALAR];try{let i=r.resolve(m,e=>a(s??t,"TAG_RESOLVE_FAILED",e),e.options);d=n.isScalar(i)?i:new o.Scalar(i)}catch(e){a(s??t,"TAG_RESOLVE_FAILED",e instanceof Error?e.message:String(e)),d=new o.Scalar(m)}return d.range=p,d.source=m,c&&(d.type=c),f&&(d.tag=f),r.format&&(d.format=r.format),u&&(d.comment=u),d}},"../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/compose/composer.js"(e,t,s){var n=s("process"),o=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/doc/directives.js"),i=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/doc/Document.js"),l=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/errors.js"),a=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/identity.js"),r=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/compose/compose-doc.js"),d=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/compose/resolve-end.js");function m(e){if("number"==typeof e)return[e,e+1];if(Array.isArray(e))return 2===e.length?e:[e[0],e[1]];let{offset:t,source:s}=e;return[t,t+("string"==typeof s?s.length:1)]}function c(e){let t="",s=!1,n=!1;for(let o=0;o<e.length;++o){let i=e[o];switch(i[0]){case"#":t+=(""===t?"":n?"\n\n":"\n")+(i.substring(1)||" "),s=!0,n=!1;break;case"%":e[o+1]?.[0]!=="#"&&(o+=1),s=!1;break;default:s||(n=!0),s=!1}}return{comment:t,afterEmptyLine:n}}t.Composer=class{constructor(e={}){this.doc=null,this.atDirectives=!1,this.prelude=[],this.errors=[],this.warnings=[],this.onError=(e,t,s,n)=>{let o=m(e);n?this.warnings.push(new l.YAMLWarning(o,t,s)):this.errors.push(new l.YAMLParseError(o,t,s))},this.directives=new o.Directives({version:e.version||"1.2"}),this.options=e}decorate(e,t){let{comment:s,afterEmptyLine:n}=c(this.prelude);if(s){let o=e.contents;if(t)e.comment=e.comment?`${e.comment}
1
+ import"node:module";import{__webpack_require__ as e}from"./rslib-runtime.js";import"./3768.js";import"./180.js";e.add({"../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/compose/compose-collection.js"(e,t,s){var n=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/identity.js"),o=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/Scalar.js"),i=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/YAMLMap.js"),l=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/YAMLSeq.js"),a=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/compose/resolve-block-map.js"),r=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/compose/resolve-block-seq.js"),d=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/compose/resolve-flow-collection.js");function m(e,t,s,n,o,i){let l="block-map"===s.type?a.resolveBlockMap(e,t,s,n,i):"block-seq"===s.type?r.resolveBlockSeq(e,t,s,n,i):d.resolveFlowCollection(e,t,s,n,i),m=l.constructor;return"!"===o||o===m.tagName?l.tag=m.tagName:o&&(l.tag=o),l}t.composeCollection=function(e,t,s,a,r){let d=a.tag,c=d?t.directives.tagName(d.source,e=>r(d,"TAG_RESOLVE_FAILED",e)):null;if("block-seq"===s.type){let{anchor:e,newlineAfterProp:t}=a,s=e&&d?e.offset>d.offset?e:d:e??d;s&&(!t||t.offset<s.offset)&&r(s,"MISSING_CHAR","Missing newline after block sequence props")}let u="block-map"===s.type?"map":"block-seq"===s.type?"seq":"{"===s.start.source?"map":"seq";if(!d||!c||"!"===c||c===i.YAMLMap.tagName&&"map"===u||c===l.YAMLSeq.tagName&&"seq"===u)return m(e,t,s,r,c);let p=t.schema.tags.find(e=>e.tag===c&&e.collection===u);if(!p){let n=t.schema.knownTags[c];if(n?.collection!==u)return n?r(d,"BAD_COLLECTION_TYPE",`${n.tag} used for ${u} collection, but expects ${n.collection??"scalar"}`,!0):r(d,"TAG_RESOLVE_FAILED",`Unresolved tag: ${c}`,!0),m(e,t,s,r,c);t.schema.tags.push(Object.assign({},n,{default:!1})),p=n}let f=m(e,t,s,r,c,p),h=p.resolve?.(f,e=>r(d,"TAG_RESOLVE_FAILED",e),t.options)??f,y=n.isNode(h)?h:new o.Scalar(h);return y.range=f.range,y.tag=c,p?.format&&(y.format=p.format),y}},"../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/compose/compose-doc.js"(e,t,s){var n=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/doc/Document.js"),o=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/compose/compose-node.js"),i=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/compose/resolve-end.js"),l=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/compose/resolve-props.js");t.composeDoc=function(e,t,{offset:s,start:a,value:r,end:d},m){let c=Object.assign({_directives:t},e),u=new n.Document(void 0,c),p={atKey:!1,atRoot:!0,directives:u.directives,options:u.options,schema:u.schema},f=l.resolveProps(a,{indicator:"doc-start",next:r??d?.[0],offset:s,onError:m,parentIndent:0,startOnNewline:!0});f.found&&(u.directives.docStart=!0,r&&("block-map"===r.type||"block-seq"===r.type)&&!f.hasNewline&&m(f.end,"MISSING_CHAR","Block collection cannot start on same line with directives-end marker")),u.contents=r?o.composeNode(p,r,f,m):o.composeEmptyNode(p,f.end,a,null,f,m);let h=u.contents.range[2],y=i.resolveEnd(d,h,!1,m);return y.comment&&(u.comment=y.comment),u.range=[s,h,y.offset],u}},"../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/compose/compose-node.js"(e,t,s){var n=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/Alias.js"),o=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/identity.js"),i=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/compose/compose-collection.js"),l=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/compose/compose-scalar.js"),a=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/compose/resolve-end.js"),r=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/compose/util-empty-scalar-position.js");let d={composeNode:m,composeEmptyNode:c};function m(e,t,s,r){let m,u=e.atKey,{spaceBefore:p,comment:f,anchor:h,tag:y}=s,g=!0;switch(t.type){case"alias":m=function({options:e},{offset:t,source:s,end:o},i){let l=new n.Alias(s.substring(1));""===l.source&&i(t,"BAD_ALIAS","Alias cannot be an empty string"),l.source.endsWith(":")&&i(t+s.length-1,"BAD_ALIAS","Alias ending in : is ambiguous",!0);let r=t+s.length,d=a.resolveEnd(o,r,e.strict,i);return l.range=[t,r,d.offset],d.comment&&(l.comment=d.comment),l}(e,t,r),(h||y)&&r(t,"ALIAS_PROPS","An alias node must not specify any properties");break;case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":case"block-scalar":m=l.composeScalar(e,t,y,r),h&&(m.anchor=h.source.substring(1));break;case"block-map":case"block-seq":case"flow-collection":try{m=i.composeCollection(d,e,t,s,r),h&&(m.anchor=h.source.substring(1))}catch(e){r(t,"RESOURCE_EXHAUSTION",e instanceof Error?e.message:String(e))}break;default:{let e="error"===t.type?t.message:`Unsupported token (type: ${t.type})`;r(t,"UNEXPECTED_TOKEN",e),g=!1}}return m??(m=c(e,t.offset,void 0,null,s,r)),h&&""===m.anchor&&r(h,"BAD_ALIAS","Anchor cannot be an empty string"),u&&e.options.stringKeys&&(!o.isScalar(m)||"string"!=typeof m.value||m.tag&&"tag:yaml.org,2002:str"!==m.tag)&&r(y??t,"NON_STRING_KEY","With stringKeys, all keys must be strings"),p&&(m.spaceBefore=!0),f&&("scalar"===t.type&&""===t.source?m.comment=f:m.commentBefore=f),e.options.keepSourceTokens&&g&&(m.srcToken=t),m}function c(e,t,s,n,{spaceBefore:o,comment:i,anchor:a,tag:d,end:m},u){let p={type:"scalar",offset:r.emptyScalarPosition(t,s,n),indent:-1,source:""},f=l.composeScalar(e,p,d,u);return a&&(f.anchor=a.source.substring(1),""===f.anchor&&u(a,"BAD_ALIAS","Anchor cannot be an empty string")),o&&(f.spaceBefore=!0),i&&(f.comment=i,f.range[2]=m),f}t.composeEmptyNode=c,t.composeNode=m},"../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/compose/compose-scalar.js"(e,t,s){var n=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/identity.js"),o=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/Scalar.js"),i=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/compose/resolve-block-scalar.js"),l=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/compose/resolve-flow-scalar.js");t.composeScalar=function(e,t,s,a){let r,d,{value:m,type:c,comment:u,range:p}="block-scalar"===t.type?i.resolveBlockScalar(e,t,a):l.resolveFlowScalar(t,e.options.strict,a),f=s?e.directives.tagName(s.source,e=>a(s,"TAG_RESOLVE_FAILED",e)):null;r=e.options.stringKeys&&e.atKey?e.schema[n.SCALAR]:f?function(e,t,s,o,i){if("!"===s)return e[n.SCALAR];let l=[];for(let t of e.tags)if(!t.collection&&t.tag===s)if(!t.default||!t.test)return t;else l.push(t);for(let e of l)if(e.test?.test(t))return e;let a=e.knownTags[s];return a&&!a.collection?(e.tags.push(Object.assign({},a,{default:!1,test:void 0})),a):(i(o,"TAG_RESOLVE_FAILED",`Unresolved tag: ${s}`,"tag:yaml.org,2002:str"!==s),e[n.SCALAR])}(e.schema,m,f,s,a):"scalar"===t.type?function({atKey:e,directives:t,schema:s},o,i,l){let a=s.tags.find(t=>(!0===t.default||e&&"key"===t.default)&&t.test?.test(o))||s[n.SCALAR];if(s.compat){let e=s.compat.find(e=>e.default&&e.test?.test(o))??s[n.SCALAR];if(a.tag!==e.tag){let s=t.tagString(a.tag),n=t.tagString(e.tag);l(i,"TAG_RESOLVE_FAILED",`Value may be parsed as either ${s} or ${n}`,!0)}}return a}(e,m,t,a):e.schema[n.SCALAR];try{let i=r.resolve(m,e=>a(s??t,"TAG_RESOLVE_FAILED",e),e.options);d=n.isScalar(i)?i:new o.Scalar(i)}catch(e){a(s??t,"TAG_RESOLVE_FAILED",e instanceof Error?e.message:String(e)),d=new o.Scalar(m)}return d.range=p,d.source=m,c&&(d.type=c),f&&(d.tag=f),r.format&&(d.format=r.format),u&&(d.comment=u),d}},"../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/compose/composer.js"(e,t,s){var n=s("process"),o=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/doc/directives.js"),i=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/doc/Document.js"),l=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/errors.js"),a=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/identity.js"),r=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/compose/compose-doc.js"),d=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/compose/resolve-end.js");function m(e){if("number"==typeof e)return[e,e+1];if(Array.isArray(e))return 2===e.length?e:[e[0],e[1]];let{offset:t,source:s}=e;return[t,t+("string"==typeof s?s.length:1)]}function c(e){let t="",s=!1,n=!1;for(let o=0;o<e.length;++o){let i=e[o];switch(i[0]){case"#":t+=(""===t?"":n?"\n\n":"\n")+(i.substring(1)||" "),s=!0,n=!1;break;case"%":e[o+1]?.[0]!=="#"&&(o+=1),s=!1;break;default:s||(n=!0),s=!1}}return{comment:t,afterEmptyLine:n}}t.Composer=class{constructor(e={}){this.doc=null,this.atDirectives=!1,this.prelude=[],this.errors=[],this.warnings=[],this.onError=(e,t,s,n)=>{let o=m(e);n?this.warnings.push(new l.YAMLWarning(o,t,s)):this.errors.push(new l.YAMLParseError(o,t,s))},this.directives=new o.Directives({version:e.version||"1.2"}),this.options=e}decorate(e,t){let{comment:s,afterEmptyLine:n}=c(this.prelude);if(s){let o=e.contents;if(t)e.comment=e.comment?`${e.comment}
2
2
  ${s}`:s;else if(n||e.directives.docStart||!o)e.commentBefore=s;else if(a.isCollection(o)&&!o.flow&&o.items.length>0){let e=o.items[0];a.isPair(e)&&(e=e.key);let t=e.commentBefore;e.commentBefore=t?`${s}
3
3
  ${t}`:s}else{let e=o.commentBefore;o.commentBefore=e?`${s}
4
4
  ${e}`:s}}if(t){for(let t=0;t<this.errors.length;++t)e.errors.push(this.errors[t]);for(let t=0;t<this.warnings.length;++t)e.warnings.push(this.warnings[t])}else e.errors=this.errors,e.warnings=this.warnings;this.prelude=[],this.errors=[],this.warnings=[]}streamInfo(){return{comment:c(this.prelude).comment,directives:this.directives,errors:this.errors,warnings:this.warnings}}*compose(e,t=!1,s=-1){for(let t of e)yield*this.next(t);yield*this.end(t,s)}*next(e){switch(n.env.LOG_STREAM&&console.dir(e,{depth:null}),e.type){case"directive":this.directives.add(e.source,(t,s,n)=>{let o=m(e);o[0]+=t,this.onError(o,"BAD_DIRECTIVE",s,n)}),this.prelude.push(e.source),this.atDirectives=!0;break;case"document":{let t=r.composeDoc(this.options,this.directives,e,this.onError);this.atDirectives&&!t.directives.docStart&&this.onError(e,"MISSING_CHAR","Missing directives-end/doc-start indicator line"),this.decorate(t,!1),this.doc&&(yield this.doc),this.doc=t,this.atDirectives=!1;break}case"byte-order-mark":case"space":break;case"comment":case"newline":this.prelude.push(e.source);break;case"error":{let t=e.source?`${e.message}: ${JSON.stringify(e.source)}`:e.message,s=new l.YAMLParseError(m(e),"UNEXPECTED_TOKEN",t);this.atDirectives||!this.doc?this.errors.push(s):this.doc.errors.push(s);break}case"doc-end":{if(!this.doc){this.errors.push(new l.YAMLParseError(m(e),"UNEXPECTED_TOKEN","Unexpected doc-end without preceding document"));break}this.doc.directives.docEnd=!0;let t=d.resolveEnd(e.end,e.offset+e.source.length,this.doc.options.strict,this.onError);if(this.decorate(this.doc,!0),t.comment){let e=this.doc.comment;this.doc.comment=e?`${e}
@@ -6,7 +6,7 @@ ${t.comment}`:t.comment}this.doc.range[2]=t.offset;break}default:this.errors.pus
6
6
 
7
7
  ${l}
8
8
  ${a}
9
- `}}},"../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/index.js"(e,t,s){var n=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/compose/composer.js"),o=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/doc/Document.js"),i=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/Schema.js"),l=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/errors.js"),a=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/Alias.js"),r=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/identity.js"),d=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/Pair.js"),m=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/Scalar.js"),c=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/YAMLMap.js"),u=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/YAMLSeq.js");s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/parse/cst.js");var p=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/parse/lexer.js"),f=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/parse/line-counter.js"),h=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/parse/parser.js"),y=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/public-api.js"),g=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/visit.js");n.Composer,o.Document,i.Schema,l.YAMLError,l.YAMLParseError,l.YAMLWarning,a.Alias,r.isAlias,r.isCollection,r.isDocument,r.isMap,r.isNode,r.isPair,r.isScalar,r.isSeq,d.Pair,m.Scalar,c.YAMLMap,u.YAMLSeq,p.Lexer,f.LineCounter,h.Parser,t.qg=y.parse,y.parseAllDocuments,y.parseDocument,t.As=y.stringify,g.visit,g.visitAsync},"../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/log.js"(e,t,s){var n=s("process");t.debug=function(e,...t){"debug"===e&&console.log(...t)},t.warn=function(e,t){("debug"===e||"warn"===e)&&("function"==typeof n.emitWarning?n.emitWarning(t):console.warn(t))}},"../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/Alias.js"(e,t,s){var n=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/doc/anchors.js"),o=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/visit.js"),i=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/identity.js"),l=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/Node.js"),a=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/toJS.js");class r extends l.NodeBase{constructor(e){super(i.ALIAS),this.source=e,Object.defineProperty(this,"tag",{set(){throw Error("Alias nodes cannot have tags")}})}resolve(e,t){let s,n;if(t?.maxAliasCount===0)throw ReferenceError("Alias resolution is disabled");for(let l of(t?.aliasResolveCache?s=t.aliasResolveCache:(s=[],o.visit(e,{Node:(e,t)=>{(i.isAlias(t)||i.hasAnchor(t))&&s.push(t)}}),t&&(t.aliasResolveCache=s)),s)){if(l===this)break;l.anchor===this.source&&(n=l)}return n}toJSON(e,t){if(!t)return{source:this.source};let{anchors:s,doc:n,maxAliasCount:o}=t,l=this.resolve(n,t);if(!l)throw ReferenceError(`Unresolved alias (the anchor must be set before the alias): ${this.source}`);let r=s.get(l);if(r||(a.toJS(l,null,t),r=s.get(l)),r?.res===void 0)throw ReferenceError("This should not happen: Alias anchor was not resolved?");if(o>=0&&(r.count+=1,0===r.aliasCount&&(r.aliasCount=function e(t,s,n){if(i.isAlias(s)){let e=s.resolve(t),o=n&&e&&n.get(e);return o?o.count*o.aliasCount:0}if(i.isCollection(s)){let o=0;for(let i of s.items){let s=e(t,i,n);s>o&&(o=s)}return o}return i.isPair(s)?Math.max(e(t,s.key,n),e(t,s.value,n)):1}(n,l,s)),r.count*r.aliasCount>o))throw ReferenceError("Excessive alias count indicates a resource exhaustion attack");return r.res}toString(e,t,s){let o=`*${this.source}`;if(e){if(n.anchorIsValid(this.source),e.options.verifyAliasOrder&&!e.anchors.has(this.source))throw Error(`Unresolved alias (the anchor must be set before the alias): ${this.source}`);if(e.implicitKey)return`${o} `}return o}}t.Alias=r},"../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/Collection.js"(e,t,s){var n=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/doc/createNode.js"),o=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/identity.js"),i=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/Node.js");function l(e,t,s){let o=s;for(let e=t.length-1;e>=0;--e){let s=t[e];if("number"==typeof s&&Number.isInteger(s)&&s>=0){let e=[];e[s]=o,o=e}else o=new Map([[s,o]])}return n.createNode(o,void 0,{aliasDuplicateObjects:!1,keepUndefined:!1,onAnchor:()=>{throw Error("This should not happen, please report a bug.")},schema:e,sourceObjects:new Map})}let a=e=>null==e||"object"==typeof e&&!!e[Symbol.iterator]().next().done;class r extends i.NodeBase{constructor(e,t){super(e),Object.defineProperty(this,"schema",{value:t,configurable:!0,enumerable:!1,writable:!0})}clone(e){let t=Object.create(Object.getPrototypeOf(this),Object.getOwnPropertyDescriptors(this));return e&&(t.schema=e),t.items=t.items.map(t=>o.isNode(t)||o.isPair(t)?t.clone(e):t),this.range&&(t.range=this.range.slice()),t}addIn(e,t){if(a(e))this.add(t);else{let[s,...n]=e,i=this.get(s,!0);if(o.isCollection(i))i.addIn(n,t);else if(void 0===i&&this.schema)this.set(s,l(this.schema,n,t));else throw Error(`Expected YAML collection at ${s}. Remaining path: ${n}`)}}deleteIn(e){let[t,...s]=e;if(0===s.length)return this.delete(t);let n=this.get(t,!0);if(o.isCollection(n))return n.deleteIn(s);throw Error(`Expected YAML collection at ${t}. Remaining path: ${s}`)}getIn(e,t){let[s,...n]=e,i=this.get(s,!0);return 0===n.length?!t&&o.isScalar(i)?i.value:i:o.isCollection(i)?i.getIn(n,t):void 0}hasAllNullValues(e){return this.items.every(t=>{if(!o.isPair(t))return!1;let s=t.value;return null==s||e&&o.isScalar(s)&&null==s.value&&!s.commentBefore&&!s.comment&&!s.tag})}hasIn(e){let[t,...s]=e;if(0===s.length)return this.has(t);let n=this.get(t,!0);return!!o.isCollection(n)&&n.hasIn(s)}setIn(e,t){let[s,...n]=e;if(0===n.length)this.set(s,t);else{let e=this.get(s,!0);if(o.isCollection(e))e.setIn(n,t);else if(void 0===e&&this.schema)this.set(s,l(this.schema,n,t));else throw Error(`Expected YAML collection at ${s}. Remaining path: ${n}`)}}}t.Collection=r,t.collectionFromPath=l,t.isEmptyPath=a},"../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/Node.js"(e,t,s){var n=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/doc/applyReviver.js"),o=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/identity.js"),i=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/toJS.js");t.NodeBase=class{constructor(e){Object.defineProperty(this,o.NODE_TYPE,{value:e})}clone(){let e=Object.create(Object.getPrototypeOf(this),Object.getOwnPropertyDescriptors(this));return this.range&&(e.range=this.range.slice()),e}toJS(e,{mapAsMap:t,maxAliasCount:s,onAnchor:l,reviver:a}={}){if(!o.isDocument(e))throw TypeError("A document argument is required");let r={anchors:new Map,doc:e,keep:!0,mapAsMap:!0===t,mapKeyWarned:!1,maxAliasCount:"number"==typeof s?s:100},d=i.toJS(this,"",r);if("function"==typeof l)for(let{count:e,res:t}of r.anchors.values())l(t,e);return"function"==typeof a?n.applyReviver(a,{"":d},"",d):d}}},"../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/Pair.js"(e,t,s){var n=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/doc/createNode.js"),o=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/stringify/stringifyPair.js"),i=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/addPairToJSMap.js"),l=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/identity.js");class a{constructor(e,t=null){Object.defineProperty(this,l.NODE_TYPE,{value:l.PAIR}),this.key=e,this.value=t}clone(e){let{key:t,value:s}=this;return l.isNode(t)&&(t=t.clone(e)),l.isNode(s)&&(s=s.clone(e)),new a(t,s)}toJSON(e,t){let s=t?.mapAsMap?new Map:{};return i.addPairToJSMap(t,s,this)}toString(e,t,s){return e?.doc?o.stringifyPair(this,e,t,s):JSON.stringify(this)}}t.Pair=a,t.createPair=function(e,t,s){return new a(n.createNode(e,void 0,s),n.createNode(t,void 0,s))}},"../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/Scalar.js"(e,t,s){var n=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/identity.js"),o=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/Node.js"),i=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/toJS.js");class l extends o.NodeBase{constructor(e){super(n.SCALAR),this.value=e}toJSON(e,t){return t?.keep?this.value:i.toJS(this.value,e,t)}toString(){return String(this.value)}}l.BLOCK_FOLDED="BLOCK_FOLDED",l.BLOCK_LITERAL="BLOCK_LITERAL",l.PLAIN="PLAIN",l.QUOTE_DOUBLE="QUOTE_DOUBLE",l.QUOTE_SINGLE="QUOTE_SINGLE",t.Scalar=l,t.isScalarValue=e=>!e||"function"!=typeof e&&"object"!=typeof e},"../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/YAMLMap.js"(e,t,s){var n=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/stringify/stringifyCollection.js"),o=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/addPairToJSMap.js"),i=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/Collection.js"),l=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/identity.js"),a=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/Pair.js"),r=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/Scalar.js");function d(e,t){let s=l.isScalar(t)?t.value:t;for(let n of e)if(l.isPair(n)&&(n.key===t||n.key===s||l.isScalar(n.key)&&n.key.value===s))return n}class m extends i.Collection{static get tagName(){return"tag:yaml.org,2002:map"}constructor(e){super(l.MAP,e),this.items=[]}static from(e,t,s){let{keepUndefined:n,replacer:o}=s,i=new this(e),l=(e,l)=>{if("function"==typeof o)l=o.call(t,e,l);else if(Array.isArray(o)&&!o.includes(e))return;(void 0!==l||n)&&i.items.push(a.createPair(e,l,s))};if(t instanceof Map)for(let[e,s]of t)l(e,s);else if(t&&"object"==typeof t)for(let e of Object.keys(t))l(e,t[e]);return"function"==typeof e.sortMapEntries&&i.items.sort(e.sortMapEntries),i}add(e,t){let s;s=l.isPair(e)?e:e&&"object"==typeof e&&"key"in e?new a.Pair(e.key,e.value):new a.Pair(e,e?.value);let n=d(this.items,s.key),o=this.schema?.sortMapEntries;if(n){if(!t)throw Error(`Key ${s.key} already set`);l.isScalar(n.value)&&r.isScalarValue(s.value)?n.value.value=s.value:n.value=s.value}else if(o){let e=this.items.findIndex(e=>0>o(s,e));-1===e?this.items.push(s):this.items.splice(e,0,s)}else this.items.push(s)}delete(e){let t=d(this.items,e);return!!t&&this.items.splice(this.items.indexOf(t),1).length>0}get(e,t){let s=d(this.items,e),n=s?.value;return(!t&&l.isScalar(n)?n.value:n)??void 0}has(e){return!!d(this.items,e)}set(e,t){this.add(new a.Pair(e,t),!0)}toJSON(e,t,s){let n=s?new s:t?.mapAsMap?new Map:{};for(let e of(t?.onCreate&&t.onCreate(n),this.items))o.addPairToJSMap(t,n,e);return n}toString(e,t,s){if(!e)return JSON.stringify(this);for(let e of this.items)if(!l.isPair(e))throw Error(`Map items must all be pairs; found ${JSON.stringify(e)} instead`);return!e.allNullValues&&this.hasAllNullValues(!1)&&(e=Object.assign({},e,{allNullValues:!0})),n.stringifyCollection(this,e,{blockItemPrefix:"",flowChars:{start:"{",end:"}"},itemIndent:e.indent||"",onChompKeep:s,onComment:t})}}t.YAMLMap=m,t.findPair=d},"../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/YAMLSeq.js"(e,t,s){var n=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/doc/createNode.js"),o=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/stringify/stringifyCollection.js"),i=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/Collection.js"),l=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/identity.js"),a=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/Scalar.js"),r=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/toJS.js");class d extends i.Collection{static get tagName(){return"tag:yaml.org,2002:seq"}constructor(e){super(l.SEQ,e),this.items=[]}add(e){this.items.push(e)}delete(e){let t=m(e);return"number"==typeof t&&this.items.splice(t,1).length>0}get(e,t){let s=m(e);if("number"!=typeof s)return;let n=this.items[s];return!t&&l.isScalar(n)?n.value:n}has(e){let t=m(e);return"number"==typeof t&&t<this.items.length}set(e,t){let s=m(e);if("number"!=typeof s)throw Error(`Expected a valid index, not ${e}.`);let n=this.items[s];l.isScalar(n)&&a.isScalarValue(t)?n.value=t:this.items[s]=t}toJSON(e,t){let s=[];t?.onCreate&&t.onCreate(s);let n=0;for(let e of this.items)s.push(r.toJS(e,String(n++),t));return s}toString(e,t,s){return e?o.stringifyCollection(this,e,{blockItemPrefix:"- ",flowChars:{start:"[",end:"]"},itemIndent:(e.indent||"")+" ",onChompKeep:s,onComment:t}):JSON.stringify(this)}static from(e,t,s){let{replacer:o}=s,i=new this(e);if(t&&Symbol.iterator in Object(t)){let e=0;for(let l of t){if("function"==typeof o){let s=t instanceof Set?l:String(e++);l=o.call(t,s,l)}i.items.push(n.createNode(l,void 0,s))}}return i}}function m(e){let t=l.isScalar(e)?e.value:e;return t&&"string"==typeof t&&(t=Number(t)),"number"==typeof t&&Number.isInteger(t)&&t>=0?t:null}t.YAMLSeq=d},"../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/addPairToJSMap.js"(e,t,s){var n=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/log.js"),o=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/yaml-1.1/merge.js"),i=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/stringify/stringify.js"),l=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/identity.js"),a=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/toJS.js");t.addPairToJSMap=function(e,t,{key:s,value:r}){if(l.isNode(s)&&s.addToJSMap)s.addToJSMap(e,t,r);else if(o.isMergeKey(e,s))o.addMergeToJSMap(e,t,r);else{let o=a.toJS(s,"",e);if(t instanceof Map)t.set(o,a.toJS(r,o,e));else if(t instanceof Set)t.add(o);else{let d=function(e,t,s){if(null===t)return"";if("object"!=typeof t)return String(t);if(l.isNode(e)&&s?.doc){let t=i.createStringifyContext(s.doc,{});for(let e of(t.anchors=new Set,s.anchors.keys()))t.anchors.add(e.anchor);t.inFlow=!0,t.inStringifyKey=!0;let o=e.toString(t);if(!s.mapKeyWarned){let e=JSON.stringify(o);e.length>40&&(e=e.substring(0,36)+'..."'),n.warn(s.doc.options.logLevel,`Keys with collection values will be stringified due to JS Object restrictions: ${e}. Set mapAsMap: true to use object keys.`),s.mapKeyWarned=!0}return o}return JSON.stringify(t)}(s,o,e),m=a.toJS(r,d,e);d in t?Object.defineProperty(t,d,{value:m,writable:!0,enumerable:!0,configurable:!0}):t[d]=m}}return t}},"../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/identity.js"(e,t){let s=Symbol.for("yaml.alias"),n=Symbol.for("yaml.document"),o=Symbol.for("yaml.map"),i=Symbol.for("yaml.pair"),l=Symbol.for("yaml.scalar"),a=Symbol.for("yaml.seq"),r=Symbol.for("yaml.node.type"),d=e=>!!e&&"object"==typeof e&&e[r]===l;function m(e){if(e&&"object"==typeof e)switch(e[r]){case o:case a:return!0}return!1}t.ALIAS=s,t.DOC=n,t.MAP=o,t.NODE_TYPE=r,t.PAIR=i,t.SCALAR=l,t.SEQ=a,t.hasAnchor=e=>(d(e)||m(e))&&!!e.anchor,t.isAlias=e=>!!e&&"object"==typeof e&&e[r]===s,t.isCollection=m,t.isDocument=e=>!!e&&"object"==typeof e&&e[r]===n,t.isMap=e=>!!e&&"object"==typeof e&&e[r]===o,t.isNode=function(e){if(e&&"object"==typeof e)switch(e[r]){case s:case o:case l:case a:return!0}return!1},t.isPair=e=>!!e&&"object"==typeof e&&e[r]===i,t.isScalar=d,t.isSeq=e=>!!e&&"object"==typeof e&&e[r]===a},"../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/toJS.js"(e,t,s){var n=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/identity.js");t.toJS=function e(t,s,o){if(Array.isArray(t))return t.map((t,s)=>e(t,String(s),o));if(t&&"function"==typeof t.toJSON){if(!o||!n.hasAnchor(t))return t.toJSON(s,o);let e={aliasCount:0,count:1,res:void 0};o.anchors.set(t,e),o.onCreate=t=>{e.res=t,delete o.onCreate};let i=t.toJSON(s,o);return o.onCreate&&o.onCreate(i),i}return"bigint"!=typeof t||o?.keep?t:Number(t)}},"../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/parse/cst-scalar.js"(e,t,s){var n=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/compose/resolve-block-scalar.js"),o=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/compose/resolve-flow-scalar.js"),i=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/errors.js"),l=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/stringify/stringifyString.js");function a(e,t){if(t)for(let s of t)switch(s.type){case"space":case"comment":e.push(s);break;case"newline":return e.push(s),!0}return!1}function r(e,t,s){switch(e.type){case"scalar":case"double-quoted-scalar":case"single-quoted-scalar":e.type=s,e.source=t;break;case"block-scalar":{let n=e.props.slice(1),o=t.length;for(let t of("block-scalar-header"===e.props[0].type&&(o-=e.props[0].source.length),n))t.offset+=o;delete e.props,Object.assign(e,{type:s,source:t,end:n});break}case"block-map":case"block-seq":{let n={type:"newline",offset:e.offset+t.length,indent:e.indent,source:"\n"};delete e.items,Object.assign(e,{type:s,source:t,end:[n]});break}default:{let n="indent"in e?e.indent:-1,o="end"in e&&Array.isArray(e.end)?e.end.filter(e=>"space"===e.type||"comment"===e.type||"newline"===e.type):[];for(let t of Object.keys(e))"type"!==t&&"offset"!==t&&delete e[t];Object.assign(e,{type:s,indent:n,source:t,end:o})}}}t.createScalarToken=function(e,t){let{implicitKey:s=!1,indent:n,inFlow:o=!1,offset:i=-1,type:r="PLAIN"}=t,d=l.stringifyString({type:r,value:e},{implicitKey:s,indent:n>0?" ".repeat(n):"",inFlow:o,options:{blockQuote:!0,lineWidth:-1}}),m=t.end??[{type:"newline",offset:-1,indent:n,source:"\n"}];switch(d[0]){case"|":case">":{let e=d.indexOf("\n"),t=d.substring(0,e),s=d.substring(e+1)+"\n",o=[{type:"block-scalar-header",offset:i,indent:n,source:t}];return a(o,m)||o.push({type:"newline",offset:-1,indent:n,source:"\n"}),{type:"block-scalar",offset:i,indent:n,props:o,source:s}}case'"':return{type:"double-quoted-scalar",offset:i,indent:n,source:d,end:m};case"'":return{type:"single-quoted-scalar",offset:i,indent:n,source:d,end:m};default:return{type:"scalar",offset:i,indent:n,source:d,end:m}}},t.resolveAsScalar=function(e,t=!0,s){if(e){let l=(e,t,n)=>{let o="number"==typeof e?e:Array.isArray(e)?e[0]:e.offset;if(s)s(o,t,n);else throw new i.YAMLParseError([o,o+1],t,n)};switch(e.type){case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":return o.resolveFlowScalar(e,t,l);case"block-scalar":return n.resolveBlockScalar({options:{strict:t}},e,l)}}return null},t.setScalarValue=function(e,t,s={}){let{afterKey:n=!1,implicitKey:o=!1,inFlow:i=!1,type:d}=s,m="indent"in e?e.indent:null;if(n&&"number"==typeof m&&(m+=2),!d)switch(e.type){case"single-quoted-scalar":d="QUOTE_SINGLE";break;case"double-quoted-scalar":d="QUOTE_DOUBLE";break;case"block-scalar":{let t=e.props[0];if("block-scalar-header"!==t.type)throw Error("Invalid block scalar header");d=">"===t.source[0]?"BLOCK_FOLDED":"BLOCK_LITERAL";break}default:d="PLAIN"}let c=l.stringifyString({type:d,value:t},{implicitKey:o||null===m,indent:null!==m&&m>0?" ".repeat(m):"",inFlow:i,options:{blockQuote:!0,lineWidth:-1}});switch(c[0]){case"|":case">":!function(e,t){let s=t.indexOf("\n"),n=t.substring(0,s),o=t.substring(s+1)+"\n";if("block-scalar"===e.type){let t=e.props[0];if("block-scalar-header"!==t.type)throw Error("Invalid block scalar header");t.source=n,e.source=o}else{let{offset:t}=e,s="indent"in e?e.indent:-1,i=[{type:"block-scalar-header",offset:t,indent:s,source:n}];for(let t of(a(i,"end"in e?e.end:void 0)||i.push({type:"newline",offset:-1,indent:s,source:"\n"}),Object.keys(e)))"type"!==t&&"offset"!==t&&delete e[t];Object.assign(e,{type:"block-scalar",indent:s,props:i,source:o})}}(e,c);break;case'"':r(e,c,"double-quoted-scalar");break;case"'":r(e,c,"single-quoted-scalar");break;default:r(e,c,"scalar")}}},"../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/parse/cst-stringify.js"(e,t){function s(e){switch(e.type){case"block-scalar":{let t="";for(let n of e.props)t+=s(n);return t+e.source}case"block-map":case"block-seq":{let t="";for(let s of e.items)t+=n(s);return t}case"flow-collection":{let t=e.start.source;for(let s of e.items)t+=n(s);for(let s of e.end)t+=s.source;return t}case"document":{let t=n(e);if(e.end)for(let s of e.end)t+=s.source;return t}default:{let t=e.source;if("end"in e&&e.end)for(let s of e.end)t+=s.source;return t}}}function n({start:e,key:t,sep:o,value:i}){let l="";for(let t of e)l+=t.source;if(t&&(l+=s(t)),o)for(let e of o)l+=e.source;return i&&(l+=s(i)),l}t.stringify=e=>"type"in e?s(e):n(e)},"../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/parse/cst-visit.js"(e,t){let s=Symbol("break visit"),n=Symbol("skip children"),o=Symbol("remove item");function i(e,t){"type"in e&&"document"===e.type&&(e={start:e.start,value:e.value}),function e(t,n,i){let l=i(n,t);if("symbol"==typeof l)return l;for(let a of["key","value"]){let r=n[a];if(r&&"items"in r){for(let n=0;n<r.items.length;++n){let l=e(Object.freeze(t.concat([[a,n]])),r.items[n],i);if("number"==typeof l)n=l-1;else{if(l===s)return s;l===o&&(r.items.splice(n,1),n-=1)}}"function"==typeof l&&"key"===a&&(l=l(n,t))}}return"function"==typeof l?l(n,t):l}(Object.freeze([]),e,t)}i.BREAK=s,i.SKIP=n,i.REMOVE=o,i.itemAtPath=(e,t)=>{let s=e;for(let[e,n]of t){let t=s?.[e];if(!t||!("items"in t))return;s=t.items[n]}return s},i.parentCollection=(e,t)=>{let s=i.itemAtPath(e,t.slice(0,-1)),n=t[t.length-1][0],o=s?.[n];if(o&&"items"in o)return o;throw Error("Parent collection not found")},t.visit=i},"../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/parse/cst.js"(e,t,s){var n=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/parse/cst-scalar.js"),o=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/parse/cst-stringify.js"),i=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/parse/cst-visit.js");t.createScalarToken=n.createScalarToken,t.resolveAsScalar=n.resolveAsScalar,t.setScalarValue=n.setScalarValue,t.stringify=o.stringify,t.visit=i.visit,t.BOM="\uFEFF",t.DOCUMENT="\x02",t.FLOW_END="\x18",t.SCALAR="\x1f",t.isCollection=e=>!!e&&"items"in e,t.isScalar=e=>!!e&&("scalar"===e.type||"single-quoted-scalar"===e.type||"double-quoted-scalar"===e.type||"block-scalar"===e.type),t.prettyToken=function(e){switch(e){case"\uFEFF":return"<BOM>";case"\x02":return"<DOC>";case"\x18":return"<FLOW_END>";case"\x1f":return"<SCALAR>";default:return JSON.stringify(e)}},t.tokenType=function(e){switch(e){case"\uFEFF":return"byte-order-mark";case"\x02":return"doc-mode";case"\x18":return"flow-error-end";case"\x1f":return"scalar";case"---":return"doc-start";case"...":return"doc-end";case"":case"\n":case"\r\n":return"newline";case"-":return"seq-item-ind";case"?":return"explicit-key-ind";case":":return"map-value-ind";case"{":return"flow-map-start";case"}":return"flow-map-end";case"[":return"flow-seq-start";case"]":return"flow-seq-end";case",":return"comma"}switch(e[0]){case" ":case" ":return"space";case"#":return"comment";case"%":return"directive-line";case"*":return"alias";case"&":return"anchor";case"!":return"tag";case"'":return"single-quoted-scalar";case'"':return"double-quoted-scalar";case"|":case">":return"block-scalar-header"}return null}},"../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/parse/lexer.js"(e,t,s){var n=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/parse/cst.js");function o(e){switch(e){case void 0:case" ":case"\n":case"\r":case" ":return!0;default:return!1}}let i=new Set("0123456789ABCDEFabcdef"),l=new Set("0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-#;/?:@&=+$_.!~*'()"),a=new Set(",[]{}"),r=new Set(" ,[]{}\n\r "),d=e=>!e||r.has(e);t.Lexer=class{constructor(){this.atEnd=!1,this.blockScalarIndent=-1,this.blockScalarKeep=!1,this.buffer="",this.flowKey=!1,this.flowLevel=0,this.indentNext=0,this.indentValue=0,this.lineEndPos=null,this.next=null,this.pos=0}*lex(e,t=!1){if(e){if("string"!=typeof e)throw TypeError("source is not a string");this.buffer=this.buffer?this.buffer+e:e,this.lineEndPos=null}this.atEnd=!t;let s=this.next??"stream";for(;s&&(t||this.hasChars(1));)s=yield*this.parseNext(s)}atLineEnd(){let e=this.pos,t=this.buffer[e];for(;" "===t||" "===t;)t=this.buffer[++e];return!t||"#"===t||"\n"===t||"\r"===t&&"\n"===this.buffer[e+1]}charAt(e){return this.buffer[this.pos+e]}continueScalar(e){let t=this.buffer[e];if(this.indentNext>0){let s=0;for(;" "===t;)t=this.buffer[++s+e];if("\r"===t){let t=this.buffer[s+e+1];if("\n"===t||!t&&!this.atEnd)return e+s+1}return"\n"!==t&&!(s>=this.indentNext)&&(t||this.atEnd)?-1:e+s}if("-"===t||"."===t){let t=this.buffer.substr(e,3);if(("---"===t||"..."===t)&&o(this.buffer[e+3]))return -1}return e}getLine(){let e=this.lineEndPos;return(("number"!=typeof e||-1!==e&&e<this.pos)&&(e=this.buffer.indexOf("\n",this.pos),this.lineEndPos=e),-1===e)?this.atEnd?this.buffer.substring(this.pos):null:("\r"===this.buffer[e-1]&&(e-=1),this.buffer.substring(this.pos,e))}hasChars(e){return this.pos+e<=this.buffer.length}setNext(e){return this.buffer=this.buffer.substring(this.pos),this.pos=0,this.lineEndPos=null,this.next=e,null}peek(e){return this.buffer.substr(this.pos,e)}*parseNext(e){switch(e){case"stream":return yield*this.parseStream();case"line-start":return yield*this.parseLineStart();case"block-start":return yield*this.parseBlockStart();case"doc":return yield*this.parseDocument();case"flow":return yield*this.parseFlowCollection();case"quoted-scalar":return yield*this.parseQuotedScalar();case"block-scalar":return yield*this.parseBlockScalar();case"plain-scalar":return yield*this.parsePlainScalar()}}*parseStream(){let e=this.getLine();if(null===e)return this.setNext("stream");if(e[0]===n.BOM&&(yield*this.pushCount(1),e=e.substring(1)),"%"===e[0]){let t=e.length,s=e.indexOf("#");for(;-1!==s;){let n=e[s-1];if(" "===n||" "===n){t=s-1;break}s=e.indexOf("#",s+1)}for(;;){let s=e[t-1];if(" "===s||" "===s)t-=1;else break}let n=(yield*this.pushCount(t))+(yield*this.pushSpaces(!0));return yield*this.pushCount(e.length-n),this.pushNewline(),"stream"}if(this.atLineEnd()){let t=yield*this.pushSpaces(!0);return yield*this.pushCount(e.length-t),yield*this.pushNewline(),"stream"}return yield n.DOCUMENT,yield*this.parseLineStart()}*parseLineStart(){let e=this.charAt(0);if(!e&&!this.atEnd)return this.setNext("line-start");if("-"===e||"."===e){if(!this.atEnd&&!this.hasChars(4))return this.setNext("line-start");let e=this.peek(3);if(("---"===e||"..."===e)&&o(this.charAt(3)))return yield*this.pushCount(3),this.indentValue=0,this.indentNext=0,"---"===e?"doc":"stream"}return this.indentValue=yield*this.pushSpaces(!1),this.indentNext>this.indentValue&&!o(this.charAt(1))&&(this.indentNext=this.indentValue),yield*this.parseBlockStart()}*parseBlockStart(){let[e,t]=this.peek(2);if(!t&&!this.atEnd)return this.setNext("block-start");if(("-"===e||"?"===e||":"===e)&&o(t)){let e=(yield*this.pushCount(1))+(yield*this.pushSpaces(!0));return this.indentNext=this.indentValue+1,this.indentValue+=e,"block-start"}return"doc"}*parseDocument(){yield*this.pushSpaces(!0);let e=this.getLine();if(null===e)return this.setNext("doc");let t=yield*this.pushIndicators();switch(e[t]){case"#":yield*this.pushCount(e.length-t);case void 0:return yield*this.pushNewline(),yield*this.parseLineStart();case"{":case"[":return yield*this.pushCount(1),this.flowKey=!1,this.flowLevel=1,"flow";case"}":case"]":return yield*this.pushCount(1),"doc";case"*":return yield*this.pushUntil(d),"doc";case'"':case"'":return yield*this.parseQuotedScalar();case"|":case">":return t+=yield*this.parseBlockScalarHeader(),t+=yield*this.pushSpaces(!0),yield*this.pushCount(e.length-t),yield*this.pushNewline(),yield*this.parseBlockScalar();default:return yield*this.parsePlainScalar()}}*parseFlowCollection(){let e,t,s=-1;do(e=yield*this.pushNewline())>0?(t=yield*this.pushSpaces(!1),this.indentValue=s=t):t=0,t+=yield*this.pushSpaces(!0);while(e+t>0);let i=this.getLine();if(null===i)return this.setNext("flow");if((-1!==s&&s<this.indentNext&&"#"!==i[0]||0===s&&(i.startsWith("---")||i.startsWith("..."))&&o(i[3]))&&(s!==this.indentNext-1||1!==this.flowLevel||"]"!==i[0]&&"}"!==i[0]))return this.flowLevel=0,yield n.FLOW_END,yield*this.parseLineStart();let l=0;for(;","===i[l];)l+=yield*this.pushCount(1),l+=yield*this.pushSpaces(!0),this.flowKey=!1;switch(i[l+=yield*this.pushIndicators()]){case void 0:return"flow";case"#":return yield*this.pushCount(i.length-l),"flow";case"{":case"[":return yield*this.pushCount(1),this.flowKey=!1,this.flowLevel+=1,"flow";case"}":case"]":return yield*this.pushCount(1),this.flowKey=!0,this.flowLevel-=1,this.flowLevel?"flow":"doc";case"*":return yield*this.pushUntil(d),"flow";case'"':case"'":return this.flowKey=!0,yield*this.parseQuotedScalar();case":":{let e=this.charAt(1);if(this.flowKey||o(e)||","===e)return this.flowKey=!1,yield*this.pushCount(1),yield*this.pushSpaces(!0),"flow"}default:return this.flowKey=!1,yield*this.parsePlainScalar()}}*parseQuotedScalar(){let e=this.charAt(0),t=this.buffer.indexOf(e,this.pos+1);if("'"===e)for(;-1!==t&&"'"===this.buffer[t+1];)t=this.buffer.indexOf("'",t+2);else for(;-1!==t;){let e=0;for(;"\\"===this.buffer[t-1-e];)e+=1;if(e%2==0)break;t=this.buffer.indexOf('"',t+1)}let s=this.buffer.substring(0,t),n=s.indexOf("\n",this.pos);if(-1!==n){for(;-1!==n;){let e=this.continueScalar(n+1);if(-1===e)break;n=s.indexOf("\n",e)}-1!==n&&(t=n-("\r"===s[n-1]?2:1))}if(-1===t){if(!this.atEnd)return this.setNext("quoted-scalar");t=this.buffer.length}return yield*this.pushToIndex(t+1,!1),this.flowLevel?"flow":"doc"}*parseBlockScalarHeader(){this.blockScalarIndent=-1,this.blockScalarKeep=!1;let e=this.pos;for(;;){let t=this.buffer[++e];if("+"===t)this.blockScalarKeep=!0;else if(t>"0"&&t<="9")this.blockScalarIndent=Number(t)-1;else if("-"!==t)break}return yield*this.pushUntil(e=>o(e)||"#"===e)}*parseBlockScalar(){let e,t=this.pos-1,s=0;e:for(let n=this.pos;e=this.buffer[n];++n)switch(e){case" ":s+=1;break;case"\n":t=n,s=0;break;case"\r":{let e=this.buffer[n+1];if(!e&&!this.atEnd)return this.setNext("block-scalar");if("\n"===e)break}default:break e}if(!e&&!this.atEnd)return this.setNext("block-scalar");if(s>=this.indentNext){-1===this.blockScalarIndent?this.indentNext=s:this.indentNext=this.blockScalarIndent+(0===this.indentNext?1:this.indentNext);do{let e=this.continueScalar(t+1);if(-1===e)break;t=this.buffer.indexOf("\n",e)}while(-1!==t);if(-1===t){if(!this.atEnd)return this.setNext("block-scalar");t=this.buffer.length}}let o=t+1;for(e=this.buffer[o];" "===e;)e=this.buffer[++o];if(" "===e){for(;" "===e||" "===e||"\r"===e||"\n"===e;)e=this.buffer[++o];t=o-1}else if(!this.blockScalarKeep)for(;;){let e=t-1,n=this.buffer[e];"\r"===n&&(n=this.buffer[--e]);let o=e;for(;" "===n;)n=this.buffer[--e];if("\n"===n&&e>=this.pos&&e+1+s>o)t=e;else break}return yield n.SCALAR,yield*this.pushToIndex(t+1,!0),yield*this.parseLineStart()}*parsePlainScalar(){let e,t=this.flowLevel>0,s=this.pos-1,i=this.pos-1;for(;e=this.buffer[++i];)if(":"===e){let e=this.buffer[i+1];if(o(e)||t&&a.has(e))break;s=i}else if(o(e)){let n=this.buffer[i+1];if("\r"===e&&("\n"===n?(i+=1,e="\n",n=this.buffer[i+1]):s=i),"#"===n||t&&a.has(n))break;if("\n"===e){let e=this.continueScalar(i+1);if(-1===e)break;i=Math.max(i,e-2)}}else{if(t&&a.has(e))break;s=i}return e||this.atEnd?(yield n.SCALAR,yield*this.pushToIndex(s+1,!0),t?"flow":"doc"):this.setNext("plain-scalar")}*pushCount(e){return e>0?(yield this.buffer.substr(this.pos,e),this.pos+=e,e):0}*pushToIndex(e,t){let s=this.buffer.slice(this.pos,e);return s?(yield s,this.pos+=s.length,s.length):(t&&(yield""),0)}*pushIndicators(){let e=0;for(;;){switch(this.charAt(0)){case"!":e+=yield*this.pushTag(),e+=yield*this.pushSpaces(!0);continue;case"&":e+=yield*this.pushUntil(d),e+=yield*this.pushSpaces(!0);continue;case"-":case"?":case":":{let t=this.flowLevel>0,s=this.charAt(1);if(o(s)||t&&a.has(s)){t?this.flowKey&&(this.flowKey=!1):this.indentNext=this.indentValue+1,e+=yield*this.pushCount(1),e+=yield*this.pushSpaces(!0);continue}}}break}return e}*pushTag(){if("<"===this.charAt(1)){let e=this.pos+2,t=this.buffer[e];for(;!o(t)&&">"!==t;)t=this.buffer[++e];return yield*this.pushToIndex(">"===t?e+1:e,!1)}{let e=this.pos+1,t=this.buffer[e];for(;t;)if(l.has(t))t=this.buffer[++e];else if("%"===t&&i.has(this.buffer[e+1])&&i.has(this.buffer[e+2]))t=this.buffer[e+=3];else break;return yield*this.pushToIndex(e,!1)}}*pushNewline(){let e=this.buffer[this.pos];return"\n"===e?yield*this.pushCount(1):"\r"===e&&"\n"===this.charAt(1)?yield*this.pushCount(2):0}*pushSpaces(e){let t,s=this.pos-1;do t=this.buffer[++s];while(" "===t||e&&" "===t);let n=s-this.pos;return n>0&&(yield this.buffer.substr(this.pos,n),this.pos=s),n}*pushUntil(e){let t=this.pos,s=this.buffer[t];for(;!e(s);)s=this.buffer[++t];return yield*this.pushToIndex(t,!1)}}},"../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/parse/line-counter.js"(e,t){t.LineCounter=class{constructor(){this.lineStarts=[],this.addNewLine=e=>this.lineStarts.push(e),this.linePos=e=>{let t=0,s=this.lineStarts.length;for(;t<s;){let n=t+s>>1;this.lineStarts[n]<e?t=n+1:s=n}if(this.lineStarts[t]===e)return{line:t+1,col:1};if(0===t)return{line:0,col:e};let n=this.lineStarts[t-1];return{line:t,col:e-n+1}}}}},"../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/parse/parser.js"(e,t,s){var n=s("process"),o=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/parse/cst.js"),i=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/parse/lexer.js");function l(e,t){for(let s=0;s<e.length;++s)if(e[s].type===t)return!0;return!1}function a(e){for(let t=0;t<e.length;++t)switch(e[t].type){case"space":case"comment":case"newline":break;default:return t}return -1}function r(e){switch(e?.type){case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":case"flow-collection":return!0;default:return!1}}function d(e){switch(e.type){case"document":return e.start;case"block-map":{let t=e.items[e.items.length-1];return t.sep??t.start}case"block-seq":return e.items[e.items.length-1].start;default:return[]}}function m(e){if(0===e.length)return[];let t=e.length;e:for(;--t>=0;)switch(e[t].type){case"doc-start":case"explicit-key-ind":case"map-value-ind":case"seq-item-ind":case"newline":break e}for(;e[++t]?.type==="space";);return e.splice(t,e.length)}function c(e,t){if(t.length<1e5)Array.prototype.push.apply(e,t);else for(let s=0;s<t.length;++s)e.push(t[s])}function u(e){if("flow-seq-start"===e.start.type)for(let t of e.items)!t.sep||t.value||l(t.start,"explicit-key-ind")||l(t.sep,"map-value-ind")||(t.key&&(t.value=t.key),delete t.key,r(t.value)?t.value.end?c(t.value.end,t.sep):t.value.end=t.sep:c(t.start,t.sep),delete t.sep)}t.Parser=class{constructor(e){this.atNewLine=!0,this.atScalar=!1,this.indent=0,this.offset=0,this.onKeyLine=!1,this.stack=[],this.source="",this.type="",this.lexer=new i.Lexer,this.onNewLine=e}*parse(e,t=!1){for(let s of(this.onNewLine&&0===this.offset&&this.onNewLine(0),this.lexer.lex(e,t)))yield*this.next(s);t||(yield*this.end())}*next(e){if(this.source=e,n.env.LOG_TOKENS&&console.log("|",o.prettyToken(e)),this.atScalar){this.atScalar=!1,yield*this.step(),this.offset+=e.length;return}let t=o.tokenType(e);if(t)if("scalar"===t)this.atNewLine=!1,this.atScalar=!0,this.type="scalar";else{switch(this.type=t,yield*this.step(),t){case"newline":this.atNewLine=!0,this.indent=0,this.onNewLine&&this.onNewLine(this.offset+e.length);break;case"space":this.atNewLine&&" "===e[0]&&(this.indent+=e.length);break;case"explicit-key-ind":case"map-value-ind":case"seq-item-ind":this.atNewLine&&(this.indent+=e.length);break;case"doc-mode":case"flow-error-end":return;default:this.atNewLine=!1}this.offset+=e.length}else{let t=`Not a YAML token: ${e}`;yield*this.pop({type:"error",offset:this.offset,message:t,source:e}),this.offset+=e.length}}*end(){for(;this.stack.length>0;)yield*this.pop()}get sourceToken(){return{type:this.type,offset:this.offset,indent:this.indent,source:this.source}}*step(){let e=this.peek(1);if("doc-end"===this.type&&e?.type!=="doc-end"){for(;this.stack.length>0;)yield*this.pop();this.stack.push({type:"doc-end",offset:this.offset,source:this.source});return}if(!e)return yield*this.stream();switch(e.type){case"document":return yield*this.document(e);case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":return yield*this.scalar(e);case"block-scalar":return yield*this.blockScalar(e);case"block-map":return yield*this.blockMap(e);case"block-seq":return yield*this.blockSequence(e);case"flow-collection":return yield*this.flowCollection(e);case"doc-end":return yield*this.documentEnd(e)}yield*this.pop()}peek(e){return this.stack[this.stack.length-e]}*pop(e){let t=e??this.stack.pop();if(t)if(0===this.stack.length)yield t;else{let e=this.peek(1);switch("block-scalar"===t.type?t.indent="indent"in e?e.indent:0:"flow-collection"===t.type&&"document"===e.type&&(t.indent=0),"flow-collection"===t.type&&u(t),e.type){case"document":e.value=t;break;case"block-scalar":e.props.push(t);break;case"block-map":{let s=e.items[e.items.length-1];if(s.value){e.items.push({start:[],key:t,sep:[]}),this.onKeyLine=!0;return}if(s.sep)s.value=t;else{Object.assign(s,{key:t,sep:[]}),this.onKeyLine=!s.explicitKey;return}break}case"block-seq":{let s=e.items[e.items.length-1];s.value?e.items.push({start:[],value:t}):s.value=t;break}case"flow-collection":{let s=e.items[e.items.length-1];!s||s.value?e.items.push({start:[],key:t,sep:[]}):s.sep?s.value=t:Object.assign(s,{key:t,sep:[]});return}default:yield*this.pop(),yield*this.pop(t)}if(("document"===e.type||"block-map"===e.type||"block-seq"===e.type)&&("block-map"===t.type||"block-seq"===t.type)){let s=t.items[t.items.length-1];s&&!s.sep&&!s.value&&s.start.length>0&&-1===a(s.start)&&(0===t.indent||s.start.every(e=>"comment"!==e.type||e.indent<t.indent))&&("document"===e.type?e.end=s.start:e.items.push({start:s.start}),t.items.splice(-1,1))}}else yield{type:"error",offset:this.offset,source:"",message:"Tried to pop an empty stack"}}*stream(){switch(this.type){case"directive-line":yield{type:"directive",offset:this.offset,source:this.source};return;case"byte-order-mark":case"space":case"comment":case"newline":yield this.sourceToken;return;case"doc-mode":case"doc-start":{let e={type:"document",offset:this.offset,start:[]};"doc-start"===this.type&&e.start.push(this.sourceToken),this.stack.push(e);return}}yield{type:"error",offset:this.offset,message:`Unexpected ${this.type} token in YAML stream`,source:this.source}}*document(e){if(e.value)return yield*this.lineEnd(e);switch(this.type){case"doc-start":-1!==a(e.start)?(yield*this.pop(),yield*this.step()):e.start.push(this.sourceToken);return;case"anchor":case"tag":case"space":case"comment":case"newline":e.start.push(this.sourceToken);return}let t=this.startBlockValue(e);t?this.stack.push(t):yield{type:"error",offset:this.offset,message:`Unexpected ${this.type} token in YAML document`,source:this.source}}*scalar(e){if("map-value-ind"===this.type){let t,s=m(d(this.peek(2)));e.end?((t=e.end).push(this.sourceToken),delete e.end):t=[this.sourceToken];let n={type:"block-map",offset:e.offset,indent:e.indent,items:[{start:s,key:e,sep:t}]};this.onKeyLine=!0,this.stack[this.stack.length-1]=n}else yield*this.lineEnd(e)}*blockScalar(e){switch(this.type){case"space":case"comment":case"newline":e.props.push(this.sourceToken);return;case"scalar":if(e.source=this.source,this.atNewLine=!0,this.indent=0,this.onNewLine){let e=this.source.indexOf("\n")+1;for(;0!==e;)this.onNewLine(this.offset+e),e=this.source.indexOf("\n",e)+1}yield*this.pop();break;default:yield*this.pop(),yield*this.step()}}*blockMap(e){let t=e.items[e.items.length-1];switch(this.type){case"newline":if(this.onKeyLine=!1,t.value){let s="end"in t.value?t.value.end:void 0,n=Array.isArray(s)?s[s.length-1]:void 0;n?.type==="comment"?s?.push(this.sourceToken):e.items.push({start:[this.sourceToken]})}else t.sep?t.sep.push(this.sourceToken):t.start.push(this.sourceToken);return;case"space":case"comment":if(t.value)e.items.push({start:[this.sourceToken]});else if(t.sep)t.sep.push(this.sourceToken);else{if(this.atIndentedComment(t.start,e.indent)){let s=e.items[e.items.length-2],n=s?.value?.end;if(Array.isArray(n)){c(n,t.start),n.push(this.sourceToken),e.items.pop();return}}t.start.push(this.sourceToken)}return}if(this.indent>=e.indent){let s=!this.onKeyLine&&this.indent===e.indent,n=s&&(t.sep||t.explicitKey)&&"seq-item-ind"!==this.type,o=[];if(n&&t.sep&&!t.value){let s=[];for(let n=0;n<t.sep.length;++n){let o=t.sep[n];switch(o.type){case"newline":s.push(n);break;case"space":break;case"comment":o.indent>e.indent&&(s.length=0);break;default:s.length=0}}s.length>=2&&(o=t.sep.splice(s[1]))}switch(this.type){case"anchor":case"tag":n||t.value?(o.push(this.sourceToken),e.items.push({start:o}),this.onKeyLine=!0):t.sep?t.sep.push(this.sourceToken):t.start.push(this.sourceToken);return;case"explicit-key-ind":t.sep||t.explicitKey?n||t.value?(o.push(this.sourceToken),e.items.push({start:o,explicitKey:!0})):this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:[this.sourceToken],explicitKey:!0}]}):(t.start.push(this.sourceToken),t.explicitKey=!0),this.onKeyLine=!0;return;case"map-value-ind":if(t.explicitKey)if(t.sep)if(t.value)e.items.push({start:[],key:null,sep:[this.sourceToken]});else if(l(t.sep,"map-value-ind"))this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:o,key:null,sep:[this.sourceToken]}]});else if(r(t.key)&&!l(t.sep,"newline")){let e=m(t.start),s=t.key,n=t.sep;n.push(this.sourceToken),delete t.key,delete t.sep,this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:e,key:s,sep:n}]})}else o.length>0?t.sep=t.sep.concat(o,this.sourceToken):t.sep.push(this.sourceToken);else if(l(t.start,"newline"))Object.assign(t,{key:null,sep:[this.sourceToken]});else{let e=m(t.start);this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:e,key:null,sep:[this.sourceToken]}]})}else t.sep?t.value||n?e.items.push({start:o,key:null,sep:[this.sourceToken]}):l(t.sep,"map-value-ind")?this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:[],key:null,sep:[this.sourceToken]}]}):t.sep.push(this.sourceToken):Object.assign(t,{key:null,sep:[this.sourceToken]});this.onKeyLine=!0;return;case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":{let s=this.flowScalar(this.type);n||t.value?(e.items.push({start:o,key:s,sep:[]}),this.onKeyLine=!0):t.sep?this.stack.push(s):(Object.assign(t,{key:s,sep:[]}),this.onKeyLine=!0);return}default:{let n=this.startBlockValue(e);if(n){if("block-seq"===n.type){if(!t.explicitKey&&t.sep&&!l(t.sep,"newline"))return void(yield*this.pop({type:"error",offset:this.offset,message:"Unexpected block-seq-ind on same line with key",source:this.source}))}else s&&e.items.push({start:o});this.stack.push(n);return}}}}yield*this.pop(),yield*this.step()}*blockSequence(e){let t=e.items[e.items.length-1];switch(this.type){case"newline":if(t.value){let s="end"in t.value?t.value.end:void 0,n=Array.isArray(s)?s[s.length-1]:void 0;n?.type==="comment"?s?.push(this.sourceToken):e.items.push({start:[this.sourceToken]})}else t.start.push(this.sourceToken);return;case"space":case"comment":if(t.value)e.items.push({start:[this.sourceToken]});else{if(this.atIndentedComment(t.start,e.indent)){let s=e.items[e.items.length-2],n=s?.value?.end;if(Array.isArray(n)){c(n,t.start),n.push(this.sourceToken),e.items.pop();return}}t.start.push(this.sourceToken)}return;case"anchor":case"tag":if(t.value||this.indent<=e.indent)break;t.start.push(this.sourceToken);return;case"seq-item-ind":if(this.indent!==e.indent)break;t.value||l(t.start,"seq-item-ind")?e.items.push({start:[this.sourceToken]}):t.start.push(this.sourceToken);return}if(this.indent>e.indent){let t=this.startBlockValue(e);if(t)return void this.stack.push(t)}yield*this.pop(),yield*this.step()}*flowCollection(e){let t=e.items[e.items.length-1];if("flow-error-end"===this.type){let e;do yield*this.pop(),e=this.peek(1);while(e?.type==="flow-collection")}else if(0===e.end.length){switch(this.type){case"comma":case"explicit-key-ind":!t||t.sep?e.items.push({start:[this.sourceToken]}):t.start.push(this.sourceToken);return;case"map-value-ind":!t||t.value?e.items.push({start:[],key:null,sep:[this.sourceToken]}):t.sep?t.sep.push(this.sourceToken):Object.assign(t,{key:null,sep:[this.sourceToken]});return;case"space":case"comment":case"newline":case"anchor":case"tag":!t||t.value?e.items.push({start:[this.sourceToken]}):t.sep?t.sep.push(this.sourceToken):t.start.push(this.sourceToken);return;case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":{let s=this.flowScalar(this.type);!t||t.value?e.items.push({start:[],key:s,sep:[]}):t.sep?this.stack.push(s):Object.assign(t,{key:s,sep:[]});return}case"flow-map-end":case"flow-seq-end":e.end.push(this.sourceToken);return}let s=this.startBlockValue(e);s?this.stack.push(s):(yield*this.pop(),yield*this.step())}else{let t=this.peek(2);if("block-map"!==t.type||("map-value-ind"!==this.type||t.indent!==e.indent)&&("newline"!==this.type||t.items[t.items.length-1].sep))if("map-value-ind"===this.type&&"flow-collection"!==t.type){let s=m(d(t));u(e);let n=e.end.splice(1,e.end.length);n.push(this.sourceToken);let o={type:"block-map",offset:e.offset,indent:e.indent,items:[{start:s,key:e,sep:n}]};this.onKeyLine=!0,this.stack[this.stack.length-1]=o}else yield*this.lineEnd(e);else yield*this.pop(),yield*this.step()}}flowScalar(e){if(this.onNewLine){let e=this.source.indexOf("\n")+1;for(;0!==e;)this.onNewLine(this.offset+e),e=this.source.indexOf("\n",e)+1}return{type:e,offset:this.offset,indent:this.indent,source:this.source}}startBlockValue(e){switch(this.type){case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":return this.flowScalar(this.type);case"block-scalar-header":return{type:"block-scalar",offset:this.offset,indent:this.indent,props:[this.sourceToken],source:""};case"flow-map-start":case"flow-seq-start":return{type:"flow-collection",offset:this.offset,indent:this.indent,start:this.sourceToken,items:[],end:[]};case"seq-item-ind":return{type:"block-seq",offset:this.offset,indent:this.indent,items:[{start:[this.sourceToken]}]};case"explicit-key-ind":{this.onKeyLine=!0;let t=m(d(e));return t.push(this.sourceToken),{type:"block-map",offset:this.offset,indent:this.indent,items:[{start:t,explicitKey:!0}]}}case"map-value-ind":{this.onKeyLine=!0;let t=m(d(e));return{type:"block-map",offset:this.offset,indent:this.indent,items:[{start:t,key:null,sep:[this.sourceToken]}]}}}return null}atIndentedComment(e,t){return"comment"===this.type&&!(this.indent<=t)&&e.every(e=>"newline"===e.type||"space"===e.type)}*documentEnd(e){"doc-mode"!==this.type&&(e.end?e.end.push(this.sourceToken):e.end=[this.sourceToken],"newline"===this.type&&(yield*this.pop()))}*lineEnd(e){switch(this.type){case"comma":case"doc-start":case"doc-end":case"flow-seq-end":case"flow-map-end":case"map-value-ind":yield*this.pop(),yield*this.step();break;case"newline":this.onKeyLine=!1;default:e.end?e.end.push(this.sourceToken):e.end=[this.sourceToken],"newline"===this.type&&(yield*this.pop())}}}},"../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/public-api.js"(e,t,s){var n=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/compose/composer.js"),o=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/doc/Document.js"),i=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/errors.js"),l=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/log.js"),a=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/identity.js"),r=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/parse/line-counter.js"),d=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/parse/parser.js");function m(e){let t=!1!==e.prettyErrors;return{lineCounter:e.lineCounter||t&&new r.LineCounter||null,prettyErrors:t}}function c(e,t={}){let{lineCounter:s,prettyErrors:o}=m(t),l=new d.Parser(s?.addNewLine),a=new n.Composer(t),r=null;for(let t of a.compose(l.parse(e),!0,e.length))if(r){if("silent"!==r.options.logLevel){r.errors.push(new i.YAMLParseError(t.range.slice(0,2),"MULTIPLE_DOCS","Source contains multiple documents; please use YAML.parseAllDocuments()"));break}}else r=t;return o&&s&&(r.errors.forEach(i.prettifyError(e,s)),r.warnings.forEach(i.prettifyError(e,s))),r}t.parse=function(e,t,s){let n;"function"==typeof t?n=t:void 0===s&&t&&"object"==typeof t&&(s=t);let o=c(e,s);if(!o)return null;if(o.warnings.forEach(e=>l.warn(o.options.logLevel,e)),o.errors.length>0)if("silent"!==o.options.logLevel)throw o.errors[0];else o.errors=[];return o.toJS(Object.assign({reviver:n},s))},t.parseAllDocuments=function(e,t={}){let{lineCounter:s,prettyErrors:o}=m(t),l=new d.Parser(s?.addNewLine),a=new n.Composer(t),r=Array.from(a.compose(l.parse(e)));if(o&&s)for(let t of r)t.errors.forEach(i.prettifyError(e,s)),t.warnings.forEach(i.prettifyError(e,s));return r.length>0?r:Object.assign([],{empty:!0},a.streamInfo())},t.parseDocument=c,t.stringify=function(e,t,s){let n=null;if("function"==typeof t||Array.isArray(t)?n=t:void 0===s&&t&&(s=t),"string"==typeof s&&(s=s.length),"number"==typeof s){let e=Math.round(s);s=e<1?void 0:e>8?{indent:8}:{indent:e}}if(void 0===e){let{keepUndefined:e}=s??t??{};if(!e)return}return a.isDocument(e)&&!n?e.toString(s):new o.Document(e,n,s).toString(s)}},"../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/Schema.js"(e,t,s){var n=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/identity.js"),o=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/common/map.js"),i=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/common/seq.js"),l=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/common/string.js"),a=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/tags.js");let r=(e,t)=>e.key<t.key?-1:+(e.key>t.key);t.Schema=class e{constructor({compat:e,customTags:t,merge:s,resolveKnownTags:d,schema:m,sortMapEntries:c,toStringDefaults:u}){this.compat=Array.isArray(e)?a.getTags(e,"compat"):e?a.getTags(null,e):null,this.name="string"==typeof m&&m||"core",this.knownTags=d?a.coreKnownTags:{},this.tags=a.getTags(t,this.name,s),this.toStringOptions=u??null,Object.defineProperty(this,n.MAP,{value:o.map}),Object.defineProperty(this,n.SCALAR,{value:l.string}),Object.defineProperty(this,n.SEQ,{value:i.seq}),this.sortMapEntries="function"==typeof c?c:!0===c?r:null}clone(){let t=Object.create(e.prototype,Object.getOwnPropertyDescriptors(this));return t.tags=this.tags.slice(),t}}},"../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/common/map.js"(e,t,s){var n=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/identity.js"),o=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/YAMLMap.js");t.map={collection:"map",default:!0,nodeClass:o.YAMLMap,tag:"tag:yaml.org,2002:map",resolve:(e,t)=>(n.isMap(e)||t("Expected a mapping for this tag"),e),createNode:(e,t,s)=>o.YAMLMap.from(e,t,s)}},"../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/common/null.js"(e,t,s){var n=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/Scalar.js");let o={identify:e=>null==e,createNode:()=>new n.Scalar(null),default:!0,tag:"tag:yaml.org,2002:null",test:/^(?:~|[Nn]ull|NULL)?$/,resolve:()=>new n.Scalar(null),stringify:({source:e},t)=>"string"==typeof e&&o.test.test(e)?e:t.options.nullStr};t.nullTag=o},"../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/common/seq.js"(e,t,s){var n=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/identity.js"),o=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/YAMLSeq.js");t.seq={collection:"seq",default:!0,nodeClass:o.YAMLSeq,tag:"tag:yaml.org,2002:seq",resolve:(e,t)=>(n.isSeq(e)||t("Expected a sequence for this tag"),e),createNode:(e,t,s)=>o.YAMLSeq.from(e,t,s)}},"../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/common/string.js"(e,t,s){var n=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/stringify/stringifyString.js");t.string={identify:e=>"string"==typeof e,default:!0,tag:"tag:yaml.org,2002:str",resolve:e=>e,stringify:(e,t,s,o)=>(t=Object.assign({actualString:!0},t),n.stringifyString(e,t,s,o))}},"../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/core/bool.js"(e,t,s){var n=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/Scalar.js");let o={identify:e=>"boolean"==typeof e,default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:[Tt]rue|TRUE|[Ff]alse|FALSE)$/,resolve:e=>new n.Scalar("t"===e[0]||"T"===e[0]),stringify:({source:e,value:t},s)=>e&&o.test.test(e)&&t===("t"===e[0]||"T"===e[0])?e:t?s.options.trueStr:s.options.falseStr};t.boolTag=o},"../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/core/float.js"(e,t,s){var n=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/Scalar.js"),o=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/stringify/stringifyNumber.js");let i={identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",test:/^(?:[-+]?\.(?:inf|Inf|INF)|\.nan|\.NaN|\.NAN)$/,resolve:e=>"nan"===e.slice(-3).toLowerCase()?NaN:"-"===e[0]?-1/0:1/0,stringify:o.stringifyNumber};t.float={identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",test:/^[-+]?(?:\.[0-9]+|[0-9]+\.[0-9]*)$/,resolve(e){let t=new n.Scalar(parseFloat(e)),s=e.indexOf(".");return -1!==s&&"0"===e[e.length-1]&&(t.minFractionDigits=e.length-s-1),t},stringify:o.stringifyNumber},t.floatExp={identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",format:"EXP",test:/^[-+]?(?:\.[0-9]+|[0-9]+(?:\.[0-9]*)?)[eE][-+]?[0-9]+$/,resolve:e=>parseFloat(e),stringify(e){let t=Number(e.value);return isFinite(t)?t.toExponential():o.stringifyNumber(e)}},t.floatNaN=i},"../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/core/int.js"(e,t,s){var n=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/stringify/stringifyNumber.js");let o=e=>"bigint"==typeof e||Number.isInteger(e),i=(e,t,s,{intAsBigInt:n})=>n?BigInt(e):parseInt(e.substring(t),s);function l(e,t,s){let{value:i}=e;return o(i)&&i>=0?s+i.toString(t):n.stringifyNumber(e)}t.int={identify:o,default:!0,tag:"tag:yaml.org,2002:int",test:/^[-+]?[0-9]+$/,resolve:(e,t,s)=>i(e,0,10,s),stringify:n.stringifyNumber},t.intHex={identify:e=>o(e)&&e>=0,default:!0,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^0x[0-9a-fA-F]+$/,resolve:(e,t,s)=>i(e,2,16,s),stringify:e=>l(e,16,"0x")},t.intOct={identify:e=>o(e)&&e>=0,default:!0,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^0o[0-7]+$/,resolve:(e,t,s)=>i(e,2,8,s),stringify:e=>l(e,8,"0o")}},"../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/core/schema.js"(e,t,s){var n=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/common/map.js"),o=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/common/null.js"),i=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/common/seq.js"),l=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/common/string.js"),a=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/core/bool.js"),r=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/core/float.js"),d=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/core/int.js");t.schema=[n.map,i.seq,l.string,o.nullTag,a.boolTag,d.intOct,d.int,d.intHex,r.floatNaN,r.floatExp,r.float]},"../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/json/schema.js"(e,t,s){var n=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/Scalar.js"),o=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/common/map.js"),i=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/common/seq.js");function l(e){return"bigint"==typeof e||Number.isInteger(e)}let a=({value:e})=>JSON.stringify(e),r=[{identify:e=>"string"==typeof e,default:!0,tag:"tag:yaml.org,2002:str",resolve:e=>e,stringify:a},{identify:e=>null==e,createNode:()=>new n.Scalar(null),default:!0,tag:"tag:yaml.org,2002:null",test:/^null$/,resolve:()=>null,stringify:a},{identify:e=>"boolean"==typeof e,default:!0,tag:"tag:yaml.org,2002:bool",test:/^true$|^false$/,resolve:e=>"true"===e,stringify:a},{identify:l,default:!0,tag:"tag:yaml.org,2002:int",test:/^-?(?:0|[1-9][0-9]*)$/,resolve:(e,t,{intAsBigInt:s})=>s?BigInt(e):parseInt(e,10),stringify:({value:e})=>l(e)?e.toString():JSON.stringify(e)},{identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",test:/^-?(?:0|[1-9][0-9]*)(?:\.[0-9]*)?(?:[eE][-+]?[0-9]+)?$/,resolve:e=>parseFloat(e),stringify:a}];t.schema=[o.map,i.seq].concat(r,{default:!0,tag:"",test:/^/,resolve:(e,t)=>(t(`Unresolved plain scalar ${JSON.stringify(e)}`),e)})},"../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/tags.js"(e,t,s){var n=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/common/map.js"),o=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/common/null.js"),i=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/common/seq.js"),l=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/common/string.js"),a=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/core/bool.js"),r=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/core/float.js"),d=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/core/int.js"),m=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/core/schema.js"),c=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/json/schema.js"),u=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/yaml-1.1/binary.js"),p=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/yaml-1.1/merge.js"),f=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/yaml-1.1/omap.js"),h=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/yaml-1.1/pairs.js"),y=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/yaml-1.1/schema.js"),g=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/yaml-1.1/set.js"),_=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/yaml-1.1/timestamp.js");let b=new Map([["core",m.schema],["failsafe",[n.map,i.seq,l.string]],["json",c.schema],["yaml11",y.schema],["yaml-1.1",y.schema]]),S={binary:u.binary,bool:a.boolTag,float:r.float,floatExp:r.floatExp,floatNaN:r.floatNaN,floatTime:_.floatTime,int:d.int,intHex:d.intHex,intOct:d.intOct,intTime:_.intTime,map:n.map,merge:p.merge,null:o.nullTag,omap:f.omap,pairs:h.pairs,seq:i.seq,set:g.set,timestamp:_.timestamp};t.coreKnownTags={"tag:yaml.org,2002:binary":u.binary,"tag:yaml.org,2002:merge":p.merge,"tag:yaml.org,2002:omap":f.omap,"tag:yaml.org,2002:pairs":h.pairs,"tag:yaml.org,2002:set":g.set,"tag:yaml.org,2002:timestamp":_.timestamp},t.getTags=function(e,t,s){let n=b.get(t);if(n&&!e)return s&&!n.includes(p.merge)?n.concat(p.merge):n.slice();let o=n;if(!o)if(Array.isArray(e))o=[];else{let e=Array.from(b.keys()).filter(e=>"yaml11"!==e).map(e=>JSON.stringify(e)).join(", ");throw Error(`Unknown schema "${t}"; use one of ${e} or define customTags array`)}if(Array.isArray(e))for(let t of e)o=o.concat(t);else"function"==typeof e&&(o=e(o.slice()));return s&&(o=o.concat(p.merge)),o.reduce((e,t)=>{let s="string"==typeof t?S[t]:t;if(!s){let e=JSON.stringify(t),s=Object.keys(S).map(e=>JSON.stringify(e)).join(", ");throw Error(`Unknown custom tag ${e}; use one of ${s}`)}return e.includes(s)||e.push(s),e},[])}},"../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/yaml-1.1/binary.js"(e,t,s){var n=s("buffer"),o=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/Scalar.js"),i=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/stringify/stringifyString.js");t.binary={identify:e=>e instanceof Uint8Array,default:!1,tag:"tag:yaml.org,2002:binary",resolve(e,t){if("function"==typeof n.Buffer)return n.Buffer.from(e,"base64");if("function"!=typeof atob)return t("This environment does not support reading binary tags; either Buffer or atob is required"),e;{let t=atob(e.replace(/[\n\r]/g,"")),s=new Uint8Array(t.length);for(let e=0;e<t.length;++e)s[e]=t.charCodeAt(e);return s}},stringify({comment:e,type:t,value:s},l,a,r){let d;if(!s)return"";if("function"==typeof n.Buffer)d=s instanceof n.Buffer?s.toString("base64"):n.Buffer.from(s.buffer).toString("base64");else if("function"==typeof btoa){let e="";for(let t=0;t<s.length;++t)e+=String.fromCharCode(s[t]);d=btoa(e)}else throw Error("This environment does not support writing binary tags; either Buffer or btoa is required");if(t??(t=o.Scalar.BLOCK_LITERAL),t!==o.Scalar.QUOTE_DOUBLE){let e=Math.max(l.options.lineWidth-l.indent.length,l.options.minContentWidth),s=Math.ceil(d.length/e),n=Array(s);for(let t=0,o=0;t<s;++t,o+=e)n[t]=d.substr(o,e);d=n.join(t===o.Scalar.BLOCK_LITERAL?"\n":" ")}return i.stringifyString({comment:e,type:t,value:d},l,a,r)}}},"../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/yaml-1.1/bool.js"(e,t,s){var n=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/Scalar.js");function o({value:e,source:t},s){let n=e?i:l;return t&&n.test.test(t)?t:e?s.options.trueStr:s.options.falseStr}let i={identify:e=>!0===e,default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:Y|y|[Yy]es|YES|[Tt]rue|TRUE|[Oo]n|ON)$/,resolve:()=>new n.Scalar(!0),stringify:o},l={identify:e=>!1===e,default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:N|n|[Nn]o|NO|[Ff]alse|FALSE|[Oo]ff|OFF)$/,resolve:()=>new n.Scalar(!1),stringify:o};t.falseTag=l,t.trueTag=i},"../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/yaml-1.1/float.js"(e,t,s){var n=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/Scalar.js"),o=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/stringify/stringifyNumber.js");let i={identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",test:/^(?:[-+]?\.(?:inf|Inf|INF)|\.nan|\.NaN|\.NAN)$/,resolve:e=>"nan"===e.slice(-3).toLowerCase()?NaN:"-"===e[0]?-1/0:1/0,stringify:o.stringifyNumber};t.float={identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",test:/^[-+]?(?:[0-9][0-9_]*)?\.[0-9_]*$/,resolve(e){let t=new n.Scalar(parseFloat(e.replace(/_/g,""))),s=e.indexOf(".");if(-1!==s){let n=e.substring(s+1).replace(/_/g,"");"0"===n[n.length-1]&&(t.minFractionDigits=n.length)}return t},stringify:o.stringifyNumber},t.floatExp={identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",format:"EXP",test:/^[-+]?(?:[0-9][0-9_]*)?(?:\.[0-9_]*)?[eE][-+]?[0-9]+$/,resolve:e=>parseFloat(e.replace(/_/g,"")),stringify(e){let t=Number(e.value);return isFinite(t)?t.toExponential():o.stringifyNumber(e)}},t.floatNaN=i},"../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/yaml-1.1/int.js"(e,t,s){var n=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/stringify/stringifyNumber.js");let o=e=>"bigint"==typeof e||Number.isInteger(e);function i(e,t,s,{intAsBigInt:n}){let o=e[0];if(("-"===o||"+"===o)&&(t+=1),e=e.substring(t).replace(/_/g,""),n){switch(s){case 2:e=`0b${e}`;break;case 8:e=`0o${e}`;break;case 16:e=`0x${e}`}let t=BigInt(e);return"-"===o?BigInt(-1)*t:t}let l=parseInt(e,s);return"-"===o?-1*l:l}function l(e,t,s){let{value:i}=e;if(o(i)){let e=i.toString(t);return i<0?"-"+s+e.substr(1):s+e}return n.stringifyNumber(e)}t.int={identify:o,default:!0,tag:"tag:yaml.org,2002:int",test:/^[-+]?[0-9][0-9_]*$/,resolve:(e,t,s)=>i(e,0,10,s),stringify:n.stringifyNumber},t.intBin={identify:o,default:!0,tag:"tag:yaml.org,2002:int",format:"BIN",test:/^[-+]?0b[0-1_]+$/,resolve:(e,t,s)=>i(e,2,2,s),stringify:e=>l(e,2,"0b")},t.intHex={identify:o,default:!0,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^[-+]?0x[0-9a-fA-F_]+$/,resolve:(e,t,s)=>i(e,2,16,s),stringify:e=>l(e,16,"0x")},t.intOct={identify:o,default:!0,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^[-+]?0[0-7_]+$/,resolve:(e,t,s)=>i(e,1,8,s),stringify:e=>l(e,8,"0")}},"../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/yaml-1.1/merge.js"(e,t,s){var n=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/identity.js"),o=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/Scalar.js");let i={identify:e=>"<<"===e||"symbol"==typeof e&&"<<"===e.description,default:"key",tag:"tag:yaml.org,2002:merge",test:/^<<$/,resolve:()=>Object.assign(new o.Scalar(Symbol("<<")),{addToJSMap:l}),stringify:()=>"<<"};function l(e,t,s){let o=r(e,s);if(n.isSeq(o))for(let s of o.items)a(e,t,s);else if(Array.isArray(o))for(let s of o)a(e,t,s);else a(e,t,o)}function a(e,t,s){let o=r(e,s);if(!n.isMap(o))throw Error("Merge sources must be maps or map aliases");for(let[s,n]of o.toJSON(null,e,Map))t instanceof Map?t.has(s)||t.set(s,n):t instanceof Set?t.add(s):Object.prototype.hasOwnProperty.call(t,s)||Object.defineProperty(t,s,{value:n,writable:!0,enumerable:!0,configurable:!0});return t}function r(e,t){return e&&n.isAlias(t)?t.resolve(e.doc,e):t}t.addMergeToJSMap=l,t.isMergeKey=(e,t)=>(i.identify(t)||n.isScalar(t)&&(!t.type||t.type===o.Scalar.PLAIN)&&i.identify(t.value))&&e?.doc.schema.tags.some(e=>e.tag===i.tag&&e.default),t.merge=i},"../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/yaml-1.1/omap.js"(e,t,s){var n=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/identity.js"),o=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/toJS.js"),i=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/YAMLMap.js"),l=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/YAMLSeq.js"),a=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/yaml-1.1/pairs.js");class r extends l.YAMLSeq{constructor(){super(),this.add=i.YAMLMap.prototype.add.bind(this),this.delete=i.YAMLMap.prototype.delete.bind(this),this.get=i.YAMLMap.prototype.get.bind(this),this.has=i.YAMLMap.prototype.has.bind(this),this.set=i.YAMLMap.prototype.set.bind(this),this.tag=r.tag}toJSON(e,t){if(!t)return super.toJSON(e);let s=new Map;for(let e of(t?.onCreate&&t.onCreate(s),this.items)){let i,l;if(n.isPair(e)?(i=o.toJS(e.key,"",t),l=o.toJS(e.value,i,t)):i=o.toJS(e,"",t),s.has(i))throw Error("Ordered maps must not include duplicate keys");s.set(i,l)}return s}static from(e,t,s){let n=a.createPairs(e,t,s),o=new this;return o.items=n.items,o}}r.tag="tag:yaml.org,2002:omap",t.YAMLOMap=r,t.omap={collection:"seq",identify:e=>e instanceof Map,nodeClass:r,default:!1,tag:"tag:yaml.org,2002:omap",resolve(e,t){let s=a.resolvePairs(e,t),o=[];for(let{key:e}of s.items)n.isScalar(e)&&(o.includes(e.value)?t(`Ordered maps must not include duplicate keys: ${e.value}`):o.push(e.value));return Object.assign(new r,s)},createNode:(e,t,s)=>r.from(e,t,s)}},"../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/yaml-1.1/pairs.js"(e,t,s){var n=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/identity.js"),o=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/Pair.js"),i=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/Scalar.js"),l=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/YAMLSeq.js");function a(e,t){if(n.isSeq(e))for(let s=0;s<e.items.length;++s){let l=e.items[s];if(!n.isPair(l)){if(n.isMap(l)){l.items.length>1&&t("Each pair must have its own sequence indicator");let e=l.items[0]||new o.Pair(new i.Scalar(null));if(l.commentBefore&&(e.key.commentBefore=e.key.commentBefore?`${l.commentBefore}
9
+ `}}},"../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/index.js"(e,t,s){var n=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/compose/composer.js"),o=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/doc/Document.js"),i=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/Schema.js"),l=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/errors.js"),a=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/Alias.js"),r=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/identity.js"),d=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/Pair.js"),m=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/Scalar.js"),c=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/YAMLMap.js"),u=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/YAMLSeq.js");s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/parse/cst.js");var p=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/parse/lexer.js"),f=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/parse/line-counter.js"),h=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/parse/parser.js"),y=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/public-api.js"),g=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/visit.js");n.Composer,o.Document,i.Schema,l.YAMLError,l.YAMLParseError,l.YAMLWarning,a.Alias,r.isAlias,r.isCollection,r.isDocument,r.isMap,r.isNode,r.isPair,r.isScalar,r.isSeq,d.Pair,m.Scalar,c.YAMLMap,u.YAMLSeq,p.Lexer,f.LineCounter,h.Parser,t.qg=y.parse,y.parseAllDocuments,t.Tp=y.parseDocument,t.As=y.stringify,g.visit,g.visitAsync},"../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/log.js"(e,t,s){var n=s("process");t.debug=function(e,...t){"debug"===e&&console.log(...t)},t.warn=function(e,t){("debug"===e||"warn"===e)&&("function"==typeof n.emitWarning?n.emitWarning(t):console.warn(t))}},"../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/Alias.js"(e,t,s){var n=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/doc/anchors.js"),o=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/visit.js"),i=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/identity.js"),l=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/Node.js"),a=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/toJS.js");class r extends l.NodeBase{constructor(e){super(i.ALIAS),this.source=e,Object.defineProperty(this,"tag",{set(){throw Error("Alias nodes cannot have tags")}})}resolve(e,t){let s,n;if(t?.maxAliasCount===0)throw ReferenceError("Alias resolution is disabled");for(let l of(t?.aliasResolveCache?s=t.aliasResolveCache:(s=[],o.visit(e,{Node:(e,t)=>{(i.isAlias(t)||i.hasAnchor(t))&&s.push(t)}}),t&&(t.aliasResolveCache=s)),s)){if(l===this)break;l.anchor===this.source&&(n=l)}return n}toJSON(e,t){if(!t)return{source:this.source};let{anchors:s,doc:n,maxAliasCount:o}=t,l=this.resolve(n,t);if(!l)throw ReferenceError(`Unresolved alias (the anchor must be set before the alias): ${this.source}`);let r=s.get(l);if(r||(a.toJS(l,null,t),r=s.get(l)),r?.res===void 0)throw ReferenceError("This should not happen: Alias anchor was not resolved?");if(o>=0&&(r.count+=1,0===r.aliasCount&&(r.aliasCount=function e(t,s,n){if(i.isAlias(s)){let e=s.resolve(t),o=n&&e&&n.get(e);return o?o.count*o.aliasCount:0}if(i.isCollection(s)){let o=0;for(let i of s.items){let s=e(t,i,n);s>o&&(o=s)}return o}return i.isPair(s)?Math.max(e(t,s.key,n),e(t,s.value,n)):1}(n,l,s)),r.count*r.aliasCount>o))throw ReferenceError("Excessive alias count indicates a resource exhaustion attack");return r.res}toString(e,t,s){let o=`*${this.source}`;if(e){if(n.anchorIsValid(this.source),e.options.verifyAliasOrder&&!e.anchors.has(this.source))throw Error(`Unresolved alias (the anchor must be set before the alias): ${this.source}`);if(e.implicitKey)return`${o} `}return o}}t.Alias=r},"../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/Collection.js"(e,t,s){var n=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/doc/createNode.js"),o=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/identity.js"),i=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/Node.js");function l(e,t,s){let o=s;for(let e=t.length-1;e>=0;--e){let s=t[e];if("number"==typeof s&&Number.isInteger(s)&&s>=0){let e=[];e[s]=o,o=e}else o=new Map([[s,o]])}return n.createNode(o,void 0,{aliasDuplicateObjects:!1,keepUndefined:!1,onAnchor:()=>{throw Error("This should not happen, please report a bug.")},schema:e,sourceObjects:new Map})}let a=e=>null==e||"object"==typeof e&&!!e[Symbol.iterator]().next().done;class r extends i.NodeBase{constructor(e,t){super(e),Object.defineProperty(this,"schema",{value:t,configurable:!0,enumerable:!1,writable:!0})}clone(e){let t=Object.create(Object.getPrototypeOf(this),Object.getOwnPropertyDescriptors(this));return e&&(t.schema=e),t.items=t.items.map(t=>o.isNode(t)||o.isPair(t)?t.clone(e):t),this.range&&(t.range=this.range.slice()),t}addIn(e,t){if(a(e))this.add(t);else{let[s,...n]=e,i=this.get(s,!0);if(o.isCollection(i))i.addIn(n,t);else if(void 0===i&&this.schema)this.set(s,l(this.schema,n,t));else throw Error(`Expected YAML collection at ${s}. Remaining path: ${n}`)}}deleteIn(e){let[t,...s]=e;if(0===s.length)return this.delete(t);let n=this.get(t,!0);if(o.isCollection(n))return n.deleteIn(s);throw Error(`Expected YAML collection at ${t}. Remaining path: ${s}`)}getIn(e,t){let[s,...n]=e,i=this.get(s,!0);return 0===n.length?!t&&o.isScalar(i)?i.value:i:o.isCollection(i)?i.getIn(n,t):void 0}hasAllNullValues(e){return this.items.every(t=>{if(!o.isPair(t))return!1;let s=t.value;return null==s||e&&o.isScalar(s)&&null==s.value&&!s.commentBefore&&!s.comment&&!s.tag})}hasIn(e){let[t,...s]=e;if(0===s.length)return this.has(t);let n=this.get(t,!0);return!!o.isCollection(n)&&n.hasIn(s)}setIn(e,t){let[s,...n]=e;if(0===n.length)this.set(s,t);else{let e=this.get(s,!0);if(o.isCollection(e))e.setIn(n,t);else if(void 0===e&&this.schema)this.set(s,l(this.schema,n,t));else throw Error(`Expected YAML collection at ${s}. Remaining path: ${n}`)}}}t.Collection=r,t.collectionFromPath=l,t.isEmptyPath=a},"../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/Node.js"(e,t,s){var n=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/doc/applyReviver.js"),o=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/identity.js"),i=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/toJS.js");t.NodeBase=class{constructor(e){Object.defineProperty(this,o.NODE_TYPE,{value:e})}clone(){let e=Object.create(Object.getPrototypeOf(this),Object.getOwnPropertyDescriptors(this));return this.range&&(e.range=this.range.slice()),e}toJS(e,{mapAsMap:t,maxAliasCount:s,onAnchor:l,reviver:a}={}){if(!o.isDocument(e))throw TypeError("A document argument is required");let r={anchors:new Map,doc:e,keep:!0,mapAsMap:!0===t,mapKeyWarned:!1,maxAliasCount:"number"==typeof s?s:100},d=i.toJS(this,"",r);if("function"==typeof l)for(let{count:e,res:t}of r.anchors.values())l(t,e);return"function"==typeof a?n.applyReviver(a,{"":d},"",d):d}}},"../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/Pair.js"(e,t,s){var n=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/doc/createNode.js"),o=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/stringify/stringifyPair.js"),i=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/addPairToJSMap.js"),l=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/identity.js");class a{constructor(e,t=null){Object.defineProperty(this,l.NODE_TYPE,{value:l.PAIR}),this.key=e,this.value=t}clone(e){let{key:t,value:s}=this;return l.isNode(t)&&(t=t.clone(e)),l.isNode(s)&&(s=s.clone(e)),new a(t,s)}toJSON(e,t){let s=t?.mapAsMap?new Map:{};return i.addPairToJSMap(t,s,this)}toString(e,t,s){return e?.doc?o.stringifyPair(this,e,t,s):JSON.stringify(this)}}t.Pair=a,t.createPair=function(e,t,s){return new a(n.createNode(e,void 0,s),n.createNode(t,void 0,s))}},"../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/Scalar.js"(e,t,s){var n=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/identity.js"),o=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/Node.js"),i=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/toJS.js");class l extends o.NodeBase{constructor(e){super(n.SCALAR),this.value=e}toJSON(e,t){return t?.keep?this.value:i.toJS(this.value,e,t)}toString(){return String(this.value)}}l.BLOCK_FOLDED="BLOCK_FOLDED",l.BLOCK_LITERAL="BLOCK_LITERAL",l.PLAIN="PLAIN",l.QUOTE_DOUBLE="QUOTE_DOUBLE",l.QUOTE_SINGLE="QUOTE_SINGLE",t.Scalar=l,t.isScalarValue=e=>!e||"function"!=typeof e&&"object"!=typeof e},"../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/YAMLMap.js"(e,t,s){var n=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/stringify/stringifyCollection.js"),o=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/addPairToJSMap.js"),i=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/Collection.js"),l=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/identity.js"),a=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/Pair.js"),r=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/Scalar.js");function d(e,t){let s=l.isScalar(t)?t.value:t;for(let n of e)if(l.isPair(n)&&(n.key===t||n.key===s||l.isScalar(n.key)&&n.key.value===s))return n}class m extends i.Collection{static get tagName(){return"tag:yaml.org,2002:map"}constructor(e){super(l.MAP,e),this.items=[]}static from(e,t,s){let{keepUndefined:n,replacer:o}=s,i=new this(e),l=(e,l)=>{if("function"==typeof o)l=o.call(t,e,l);else if(Array.isArray(o)&&!o.includes(e))return;(void 0!==l||n)&&i.items.push(a.createPair(e,l,s))};if(t instanceof Map)for(let[e,s]of t)l(e,s);else if(t&&"object"==typeof t)for(let e of Object.keys(t))l(e,t[e]);return"function"==typeof e.sortMapEntries&&i.items.sort(e.sortMapEntries),i}add(e,t){let s;s=l.isPair(e)?e:e&&"object"==typeof e&&"key"in e?new a.Pair(e.key,e.value):new a.Pair(e,e?.value);let n=d(this.items,s.key),o=this.schema?.sortMapEntries;if(n){if(!t)throw Error(`Key ${s.key} already set`);l.isScalar(n.value)&&r.isScalarValue(s.value)?n.value.value=s.value:n.value=s.value}else if(o){let e=this.items.findIndex(e=>0>o(s,e));-1===e?this.items.push(s):this.items.splice(e,0,s)}else this.items.push(s)}delete(e){let t=d(this.items,e);return!!t&&this.items.splice(this.items.indexOf(t),1).length>0}get(e,t){let s=d(this.items,e),n=s?.value;return(!t&&l.isScalar(n)?n.value:n)??void 0}has(e){return!!d(this.items,e)}set(e,t){this.add(new a.Pair(e,t),!0)}toJSON(e,t,s){let n=s?new s:t?.mapAsMap?new Map:{};for(let e of(t?.onCreate&&t.onCreate(n),this.items))o.addPairToJSMap(t,n,e);return n}toString(e,t,s){if(!e)return JSON.stringify(this);for(let e of this.items)if(!l.isPair(e))throw Error(`Map items must all be pairs; found ${JSON.stringify(e)} instead`);return!e.allNullValues&&this.hasAllNullValues(!1)&&(e=Object.assign({},e,{allNullValues:!0})),n.stringifyCollection(this,e,{blockItemPrefix:"",flowChars:{start:"{",end:"}"},itemIndent:e.indent||"",onChompKeep:s,onComment:t})}}t.YAMLMap=m,t.findPair=d},"../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/YAMLSeq.js"(e,t,s){var n=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/doc/createNode.js"),o=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/stringify/stringifyCollection.js"),i=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/Collection.js"),l=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/identity.js"),a=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/Scalar.js"),r=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/toJS.js");class d extends i.Collection{static get tagName(){return"tag:yaml.org,2002:seq"}constructor(e){super(l.SEQ,e),this.items=[]}add(e){this.items.push(e)}delete(e){let t=m(e);return"number"==typeof t&&this.items.splice(t,1).length>0}get(e,t){let s=m(e);if("number"!=typeof s)return;let n=this.items[s];return!t&&l.isScalar(n)?n.value:n}has(e){let t=m(e);return"number"==typeof t&&t<this.items.length}set(e,t){let s=m(e);if("number"!=typeof s)throw Error(`Expected a valid index, not ${e}.`);let n=this.items[s];l.isScalar(n)&&a.isScalarValue(t)?n.value=t:this.items[s]=t}toJSON(e,t){let s=[];t?.onCreate&&t.onCreate(s);let n=0;for(let e of this.items)s.push(r.toJS(e,String(n++),t));return s}toString(e,t,s){return e?o.stringifyCollection(this,e,{blockItemPrefix:"- ",flowChars:{start:"[",end:"]"},itemIndent:(e.indent||"")+" ",onChompKeep:s,onComment:t}):JSON.stringify(this)}static from(e,t,s){let{replacer:o}=s,i=new this(e);if(t&&Symbol.iterator in Object(t)){let e=0;for(let l of t){if("function"==typeof o){let s=t instanceof Set?l:String(e++);l=o.call(t,s,l)}i.items.push(n.createNode(l,void 0,s))}}return i}}function m(e){let t=l.isScalar(e)?e.value:e;return t&&"string"==typeof t&&(t=Number(t)),"number"==typeof t&&Number.isInteger(t)&&t>=0?t:null}t.YAMLSeq=d},"../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/addPairToJSMap.js"(e,t,s){var n=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/log.js"),o=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/yaml-1.1/merge.js"),i=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/stringify/stringify.js"),l=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/identity.js"),a=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/toJS.js");t.addPairToJSMap=function(e,t,{key:s,value:r}){if(l.isNode(s)&&s.addToJSMap)s.addToJSMap(e,t,r);else if(o.isMergeKey(e,s))o.addMergeToJSMap(e,t,r);else{let o=a.toJS(s,"",e);if(t instanceof Map)t.set(o,a.toJS(r,o,e));else if(t instanceof Set)t.add(o);else{let d=function(e,t,s){if(null===t)return"";if("object"!=typeof t)return String(t);if(l.isNode(e)&&s?.doc){let t=i.createStringifyContext(s.doc,{});for(let e of(t.anchors=new Set,s.anchors.keys()))t.anchors.add(e.anchor);t.inFlow=!0,t.inStringifyKey=!0;let o=e.toString(t);if(!s.mapKeyWarned){let e=JSON.stringify(o);e.length>40&&(e=e.substring(0,36)+'..."'),n.warn(s.doc.options.logLevel,`Keys with collection values will be stringified due to JS Object restrictions: ${e}. Set mapAsMap: true to use object keys.`),s.mapKeyWarned=!0}return o}return JSON.stringify(t)}(s,o,e),m=a.toJS(r,d,e);d in t?Object.defineProperty(t,d,{value:m,writable:!0,enumerable:!0,configurable:!0}):t[d]=m}}return t}},"../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/identity.js"(e,t){let s=Symbol.for("yaml.alias"),n=Symbol.for("yaml.document"),o=Symbol.for("yaml.map"),i=Symbol.for("yaml.pair"),l=Symbol.for("yaml.scalar"),a=Symbol.for("yaml.seq"),r=Symbol.for("yaml.node.type"),d=e=>!!e&&"object"==typeof e&&e[r]===l;function m(e){if(e&&"object"==typeof e)switch(e[r]){case o:case a:return!0}return!1}t.ALIAS=s,t.DOC=n,t.MAP=o,t.NODE_TYPE=r,t.PAIR=i,t.SCALAR=l,t.SEQ=a,t.hasAnchor=e=>(d(e)||m(e))&&!!e.anchor,t.isAlias=e=>!!e&&"object"==typeof e&&e[r]===s,t.isCollection=m,t.isDocument=e=>!!e&&"object"==typeof e&&e[r]===n,t.isMap=e=>!!e&&"object"==typeof e&&e[r]===o,t.isNode=function(e){if(e&&"object"==typeof e)switch(e[r]){case s:case o:case l:case a:return!0}return!1},t.isPair=e=>!!e&&"object"==typeof e&&e[r]===i,t.isScalar=d,t.isSeq=e=>!!e&&"object"==typeof e&&e[r]===a},"../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/toJS.js"(e,t,s){var n=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/identity.js");t.toJS=function e(t,s,o){if(Array.isArray(t))return t.map((t,s)=>e(t,String(s),o));if(t&&"function"==typeof t.toJSON){if(!o||!n.hasAnchor(t))return t.toJSON(s,o);let e={aliasCount:0,count:1,res:void 0};o.anchors.set(t,e),o.onCreate=t=>{e.res=t,delete o.onCreate};let i=t.toJSON(s,o);return o.onCreate&&o.onCreate(i),i}return"bigint"!=typeof t||o?.keep?t:Number(t)}},"../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/parse/cst-scalar.js"(e,t,s){var n=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/compose/resolve-block-scalar.js"),o=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/compose/resolve-flow-scalar.js"),i=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/errors.js"),l=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/stringify/stringifyString.js");function a(e,t){if(t)for(let s of t)switch(s.type){case"space":case"comment":e.push(s);break;case"newline":return e.push(s),!0}return!1}function r(e,t,s){switch(e.type){case"scalar":case"double-quoted-scalar":case"single-quoted-scalar":e.type=s,e.source=t;break;case"block-scalar":{let n=e.props.slice(1),o=t.length;for(let t of("block-scalar-header"===e.props[0].type&&(o-=e.props[0].source.length),n))t.offset+=o;delete e.props,Object.assign(e,{type:s,source:t,end:n});break}case"block-map":case"block-seq":{let n={type:"newline",offset:e.offset+t.length,indent:e.indent,source:"\n"};delete e.items,Object.assign(e,{type:s,source:t,end:[n]});break}default:{let n="indent"in e?e.indent:-1,o="end"in e&&Array.isArray(e.end)?e.end.filter(e=>"space"===e.type||"comment"===e.type||"newline"===e.type):[];for(let t of Object.keys(e))"type"!==t&&"offset"!==t&&delete e[t];Object.assign(e,{type:s,indent:n,source:t,end:o})}}}t.createScalarToken=function(e,t){let{implicitKey:s=!1,indent:n,inFlow:o=!1,offset:i=-1,type:r="PLAIN"}=t,d=l.stringifyString({type:r,value:e},{implicitKey:s,indent:n>0?" ".repeat(n):"",inFlow:o,options:{blockQuote:!0,lineWidth:-1}}),m=t.end??[{type:"newline",offset:-1,indent:n,source:"\n"}];switch(d[0]){case"|":case">":{let e=d.indexOf("\n"),t=d.substring(0,e),s=d.substring(e+1)+"\n",o=[{type:"block-scalar-header",offset:i,indent:n,source:t}];return a(o,m)||o.push({type:"newline",offset:-1,indent:n,source:"\n"}),{type:"block-scalar",offset:i,indent:n,props:o,source:s}}case'"':return{type:"double-quoted-scalar",offset:i,indent:n,source:d,end:m};case"'":return{type:"single-quoted-scalar",offset:i,indent:n,source:d,end:m};default:return{type:"scalar",offset:i,indent:n,source:d,end:m}}},t.resolveAsScalar=function(e,t=!0,s){if(e){let l=(e,t,n)=>{let o="number"==typeof e?e:Array.isArray(e)?e[0]:e.offset;if(s)s(o,t,n);else throw new i.YAMLParseError([o,o+1],t,n)};switch(e.type){case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":return o.resolveFlowScalar(e,t,l);case"block-scalar":return n.resolveBlockScalar({options:{strict:t}},e,l)}}return null},t.setScalarValue=function(e,t,s={}){let{afterKey:n=!1,implicitKey:o=!1,inFlow:i=!1,type:d}=s,m="indent"in e?e.indent:null;if(n&&"number"==typeof m&&(m+=2),!d)switch(e.type){case"single-quoted-scalar":d="QUOTE_SINGLE";break;case"double-quoted-scalar":d="QUOTE_DOUBLE";break;case"block-scalar":{let t=e.props[0];if("block-scalar-header"!==t.type)throw Error("Invalid block scalar header");d=">"===t.source[0]?"BLOCK_FOLDED":"BLOCK_LITERAL";break}default:d="PLAIN"}let c=l.stringifyString({type:d,value:t},{implicitKey:o||null===m,indent:null!==m&&m>0?" ".repeat(m):"",inFlow:i,options:{blockQuote:!0,lineWidth:-1}});switch(c[0]){case"|":case">":!function(e,t){let s=t.indexOf("\n"),n=t.substring(0,s),o=t.substring(s+1)+"\n";if("block-scalar"===e.type){let t=e.props[0];if("block-scalar-header"!==t.type)throw Error("Invalid block scalar header");t.source=n,e.source=o}else{let{offset:t}=e,s="indent"in e?e.indent:-1,i=[{type:"block-scalar-header",offset:t,indent:s,source:n}];for(let t of(a(i,"end"in e?e.end:void 0)||i.push({type:"newline",offset:-1,indent:s,source:"\n"}),Object.keys(e)))"type"!==t&&"offset"!==t&&delete e[t];Object.assign(e,{type:"block-scalar",indent:s,props:i,source:o})}}(e,c);break;case'"':r(e,c,"double-quoted-scalar");break;case"'":r(e,c,"single-quoted-scalar");break;default:r(e,c,"scalar")}}},"../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/parse/cst-stringify.js"(e,t){function s(e){switch(e.type){case"block-scalar":{let t="";for(let n of e.props)t+=s(n);return t+e.source}case"block-map":case"block-seq":{let t="";for(let s of e.items)t+=n(s);return t}case"flow-collection":{let t=e.start.source;for(let s of e.items)t+=n(s);for(let s of e.end)t+=s.source;return t}case"document":{let t=n(e);if(e.end)for(let s of e.end)t+=s.source;return t}default:{let t=e.source;if("end"in e&&e.end)for(let s of e.end)t+=s.source;return t}}}function n({start:e,key:t,sep:o,value:i}){let l="";for(let t of e)l+=t.source;if(t&&(l+=s(t)),o)for(let e of o)l+=e.source;return i&&(l+=s(i)),l}t.stringify=e=>"type"in e?s(e):n(e)},"../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/parse/cst-visit.js"(e,t){let s=Symbol("break visit"),n=Symbol("skip children"),o=Symbol("remove item");function i(e,t){"type"in e&&"document"===e.type&&(e={start:e.start,value:e.value}),function e(t,n,i){let l=i(n,t);if("symbol"==typeof l)return l;for(let a of["key","value"]){let r=n[a];if(r&&"items"in r){for(let n=0;n<r.items.length;++n){let l=e(Object.freeze(t.concat([[a,n]])),r.items[n],i);if("number"==typeof l)n=l-1;else{if(l===s)return s;l===o&&(r.items.splice(n,1),n-=1)}}"function"==typeof l&&"key"===a&&(l=l(n,t))}}return"function"==typeof l?l(n,t):l}(Object.freeze([]),e,t)}i.BREAK=s,i.SKIP=n,i.REMOVE=o,i.itemAtPath=(e,t)=>{let s=e;for(let[e,n]of t){let t=s?.[e];if(!t||!("items"in t))return;s=t.items[n]}return s},i.parentCollection=(e,t)=>{let s=i.itemAtPath(e,t.slice(0,-1)),n=t[t.length-1][0],o=s?.[n];if(o&&"items"in o)return o;throw Error("Parent collection not found")},t.visit=i},"../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/parse/cst.js"(e,t,s){var n=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/parse/cst-scalar.js"),o=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/parse/cst-stringify.js"),i=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/parse/cst-visit.js");t.createScalarToken=n.createScalarToken,t.resolveAsScalar=n.resolveAsScalar,t.setScalarValue=n.setScalarValue,t.stringify=o.stringify,t.visit=i.visit,t.BOM="\uFEFF",t.DOCUMENT="\x02",t.FLOW_END="\x18",t.SCALAR="\x1f",t.isCollection=e=>!!e&&"items"in e,t.isScalar=e=>!!e&&("scalar"===e.type||"single-quoted-scalar"===e.type||"double-quoted-scalar"===e.type||"block-scalar"===e.type),t.prettyToken=function(e){switch(e){case"\uFEFF":return"<BOM>";case"\x02":return"<DOC>";case"\x18":return"<FLOW_END>";case"\x1f":return"<SCALAR>";default:return JSON.stringify(e)}},t.tokenType=function(e){switch(e){case"\uFEFF":return"byte-order-mark";case"\x02":return"doc-mode";case"\x18":return"flow-error-end";case"\x1f":return"scalar";case"---":return"doc-start";case"...":return"doc-end";case"":case"\n":case"\r\n":return"newline";case"-":return"seq-item-ind";case"?":return"explicit-key-ind";case":":return"map-value-ind";case"{":return"flow-map-start";case"}":return"flow-map-end";case"[":return"flow-seq-start";case"]":return"flow-seq-end";case",":return"comma"}switch(e[0]){case" ":case" ":return"space";case"#":return"comment";case"%":return"directive-line";case"*":return"alias";case"&":return"anchor";case"!":return"tag";case"'":return"single-quoted-scalar";case'"':return"double-quoted-scalar";case"|":case">":return"block-scalar-header"}return null}},"../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/parse/lexer.js"(e,t,s){var n=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/parse/cst.js");function o(e){switch(e){case void 0:case" ":case"\n":case"\r":case" ":return!0;default:return!1}}let i=new Set("0123456789ABCDEFabcdef"),l=new Set("0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-#;/?:@&=+$_.!~*'()"),a=new Set(",[]{}"),r=new Set(" ,[]{}\n\r "),d=e=>!e||r.has(e);t.Lexer=class{constructor(){this.atEnd=!1,this.blockScalarIndent=-1,this.blockScalarKeep=!1,this.buffer="",this.flowKey=!1,this.flowLevel=0,this.indentNext=0,this.indentValue=0,this.lineEndPos=null,this.next=null,this.pos=0}*lex(e,t=!1){if(e){if("string"!=typeof e)throw TypeError("source is not a string");this.buffer=this.buffer?this.buffer+e:e,this.lineEndPos=null}this.atEnd=!t;let s=this.next??"stream";for(;s&&(t||this.hasChars(1));)s=yield*this.parseNext(s)}atLineEnd(){let e=this.pos,t=this.buffer[e];for(;" "===t||" "===t;)t=this.buffer[++e];return!t||"#"===t||"\n"===t||"\r"===t&&"\n"===this.buffer[e+1]}charAt(e){return this.buffer[this.pos+e]}continueScalar(e){let t=this.buffer[e];if(this.indentNext>0){let s=0;for(;" "===t;)t=this.buffer[++s+e];if("\r"===t){let t=this.buffer[s+e+1];if("\n"===t||!t&&!this.atEnd)return e+s+1}return"\n"!==t&&!(s>=this.indentNext)&&(t||this.atEnd)?-1:e+s}if("-"===t||"."===t){let t=this.buffer.substr(e,3);if(("---"===t||"..."===t)&&o(this.buffer[e+3]))return -1}return e}getLine(){let e=this.lineEndPos;return(("number"!=typeof e||-1!==e&&e<this.pos)&&(e=this.buffer.indexOf("\n",this.pos),this.lineEndPos=e),-1===e)?this.atEnd?this.buffer.substring(this.pos):null:("\r"===this.buffer[e-1]&&(e-=1),this.buffer.substring(this.pos,e))}hasChars(e){return this.pos+e<=this.buffer.length}setNext(e){return this.buffer=this.buffer.substring(this.pos),this.pos=0,this.lineEndPos=null,this.next=e,null}peek(e){return this.buffer.substr(this.pos,e)}*parseNext(e){switch(e){case"stream":return yield*this.parseStream();case"line-start":return yield*this.parseLineStart();case"block-start":return yield*this.parseBlockStart();case"doc":return yield*this.parseDocument();case"flow":return yield*this.parseFlowCollection();case"quoted-scalar":return yield*this.parseQuotedScalar();case"block-scalar":return yield*this.parseBlockScalar();case"plain-scalar":return yield*this.parsePlainScalar()}}*parseStream(){let e=this.getLine();if(null===e)return this.setNext("stream");if(e[0]===n.BOM&&(yield*this.pushCount(1),e=e.substring(1)),"%"===e[0]){let t=e.length,s=e.indexOf("#");for(;-1!==s;){let n=e[s-1];if(" "===n||" "===n){t=s-1;break}s=e.indexOf("#",s+1)}for(;;){let s=e[t-1];if(" "===s||" "===s)t-=1;else break}let n=(yield*this.pushCount(t))+(yield*this.pushSpaces(!0));return yield*this.pushCount(e.length-n),this.pushNewline(),"stream"}if(this.atLineEnd()){let t=yield*this.pushSpaces(!0);return yield*this.pushCount(e.length-t),yield*this.pushNewline(),"stream"}return yield n.DOCUMENT,yield*this.parseLineStart()}*parseLineStart(){let e=this.charAt(0);if(!e&&!this.atEnd)return this.setNext("line-start");if("-"===e||"."===e){if(!this.atEnd&&!this.hasChars(4))return this.setNext("line-start");let e=this.peek(3);if(("---"===e||"..."===e)&&o(this.charAt(3)))return yield*this.pushCount(3),this.indentValue=0,this.indentNext=0,"---"===e?"doc":"stream"}return this.indentValue=yield*this.pushSpaces(!1),this.indentNext>this.indentValue&&!o(this.charAt(1))&&(this.indentNext=this.indentValue),yield*this.parseBlockStart()}*parseBlockStart(){let[e,t]=this.peek(2);if(!t&&!this.atEnd)return this.setNext("block-start");if(("-"===e||"?"===e||":"===e)&&o(t)){let e=(yield*this.pushCount(1))+(yield*this.pushSpaces(!0));return this.indentNext=this.indentValue+1,this.indentValue+=e,"block-start"}return"doc"}*parseDocument(){yield*this.pushSpaces(!0);let e=this.getLine();if(null===e)return this.setNext("doc");let t=yield*this.pushIndicators();switch(e[t]){case"#":yield*this.pushCount(e.length-t);case void 0:return yield*this.pushNewline(),yield*this.parseLineStart();case"{":case"[":return yield*this.pushCount(1),this.flowKey=!1,this.flowLevel=1,"flow";case"}":case"]":return yield*this.pushCount(1),"doc";case"*":return yield*this.pushUntil(d),"doc";case'"':case"'":return yield*this.parseQuotedScalar();case"|":case">":return t+=yield*this.parseBlockScalarHeader(),t+=yield*this.pushSpaces(!0),yield*this.pushCount(e.length-t),yield*this.pushNewline(),yield*this.parseBlockScalar();default:return yield*this.parsePlainScalar()}}*parseFlowCollection(){let e,t,s=-1;do(e=yield*this.pushNewline())>0?(t=yield*this.pushSpaces(!1),this.indentValue=s=t):t=0,t+=yield*this.pushSpaces(!0);while(e+t>0);let i=this.getLine();if(null===i)return this.setNext("flow");if((-1!==s&&s<this.indentNext&&"#"!==i[0]||0===s&&(i.startsWith("---")||i.startsWith("..."))&&o(i[3]))&&(s!==this.indentNext-1||1!==this.flowLevel||"]"!==i[0]&&"}"!==i[0]))return this.flowLevel=0,yield n.FLOW_END,yield*this.parseLineStart();let l=0;for(;","===i[l];)l+=yield*this.pushCount(1),l+=yield*this.pushSpaces(!0),this.flowKey=!1;switch(i[l+=yield*this.pushIndicators()]){case void 0:return"flow";case"#":return yield*this.pushCount(i.length-l),"flow";case"{":case"[":return yield*this.pushCount(1),this.flowKey=!1,this.flowLevel+=1,"flow";case"}":case"]":return yield*this.pushCount(1),this.flowKey=!0,this.flowLevel-=1,this.flowLevel?"flow":"doc";case"*":return yield*this.pushUntil(d),"flow";case'"':case"'":return this.flowKey=!0,yield*this.parseQuotedScalar();case":":{let e=this.charAt(1);if(this.flowKey||o(e)||","===e)return this.flowKey=!1,yield*this.pushCount(1),yield*this.pushSpaces(!0),"flow"}default:return this.flowKey=!1,yield*this.parsePlainScalar()}}*parseQuotedScalar(){let e=this.charAt(0),t=this.buffer.indexOf(e,this.pos+1);if("'"===e)for(;-1!==t&&"'"===this.buffer[t+1];)t=this.buffer.indexOf("'",t+2);else for(;-1!==t;){let e=0;for(;"\\"===this.buffer[t-1-e];)e+=1;if(e%2==0)break;t=this.buffer.indexOf('"',t+1)}let s=this.buffer.substring(0,t),n=s.indexOf("\n",this.pos);if(-1!==n){for(;-1!==n;){let e=this.continueScalar(n+1);if(-1===e)break;n=s.indexOf("\n",e)}-1!==n&&(t=n-("\r"===s[n-1]?2:1))}if(-1===t){if(!this.atEnd)return this.setNext("quoted-scalar");t=this.buffer.length}return yield*this.pushToIndex(t+1,!1),this.flowLevel?"flow":"doc"}*parseBlockScalarHeader(){this.blockScalarIndent=-1,this.blockScalarKeep=!1;let e=this.pos;for(;;){let t=this.buffer[++e];if("+"===t)this.blockScalarKeep=!0;else if(t>"0"&&t<="9")this.blockScalarIndent=Number(t)-1;else if("-"!==t)break}return yield*this.pushUntil(e=>o(e)||"#"===e)}*parseBlockScalar(){let e,t=this.pos-1,s=0;e:for(let n=this.pos;e=this.buffer[n];++n)switch(e){case" ":s+=1;break;case"\n":t=n,s=0;break;case"\r":{let e=this.buffer[n+1];if(!e&&!this.atEnd)return this.setNext("block-scalar");if("\n"===e)break}default:break e}if(!e&&!this.atEnd)return this.setNext("block-scalar");if(s>=this.indentNext){-1===this.blockScalarIndent?this.indentNext=s:this.indentNext=this.blockScalarIndent+(0===this.indentNext?1:this.indentNext);do{let e=this.continueScalar(t+1);if(-1===e)break;t=this.buffer.indexOf("\n",e)}while(-1!==t);if(-1===t){if(!this.atEnd)return this.setNext("block-scalar");t=this.buffer.length}}let o=t+1;for(e=this.buffer[o];" "===e;)e=this.buffer[++o];if(" "===e){for(;" "===e||" "===e||"\r"===e||"\n"===e;)e=this.buffer[++o];t=o-1}else if(!this.blockScalarKeep)for(;;){let e=t-1,n=this.buffer[e];"\r"===n&&(n=this.buffer[--e]);let o=e;for(;" "===n;)n=this.buffer[--e];if("\n"===n&&e>=this.pos&&e+1+s>o)t=e;else break}return yield n.SCALAR,yield*this.pushToIndex(t+1,!0),yield*this.parseLineStart()}*parsePlainScalar(){let e,t=this.flowLevel>0,s=this.pos-1,i=this.pos-1;for(;e=this.buffer[++i];)if(":"===e){let e=this.buffer[i+1];if(o(e)||t&&a.has(e))break;s=i}else if(o(e)){let n=this.buffer[i+1];if("\r"===e&&("\n"===n?(i+=1,e="\n",n=this.buffer[i+1]):s=i),"#"===n||t&&a.has(n))break;if("\n"===e){let e=this.continueScalar(i+1);if(-1===e)break;i=Math.max(i,e-2)}}else{if(t&&a.has(e))break;s=i}return e||this.atEnd?(yield n.SCALAR,yield*this.pushToIndex(s+1,!0),t?"flow":"doc"):this.setNext("plain-scalar")}*pushCount(e){return e>0?(yield this.buffer.substr(this.pos,e),this.pos+=e,e):0}*pushToIndex(e,t){let s=this.buffer.slice(this.pos,e);return s?(yield s,this.pos+=s.length,s.length):(t&&(yield""),0)}*pushIndicators(){let e=0;for(;;){switch(this.charAt(0)){case"!":e+=yield*this.pushTag(),e+=yield*this.pushSpaces(!0);continue;case"&":e+=yield*this.pushUntil(d),e+=yield*this.pushSpaces(!0);continue;case"-":case"?":case":":{let t=this.flowLevel>0,s=this.charAt(1);if(o(s)||t&&a.has(s)){t?this.flowKey&&(this.flowKey=!1):this.indentNext=this.indentValue+1,e+=yield*this.pushCount(1),e+=yield*this.pushSpaces(!0);continue}}}break}return e}*pushTag(){if("<"===this.charAt(1)){let e=this.pos+2,t=this.buffer[e];for(;!o(t)&&">"!==t;)t=this.buffer[++e];return yield*this.pushToIndex(">"===t?e+1:e,!1)}{let e=this.pos+1,t=this.buffer[e];for(;t;)if(l.has(t))t=this.buffer[++e];else if("%"===t&&i.has(this.buffer[e+1])&&i.has(this.buffer[e+2]))t=this.buffer[e+=3];else break;return yield*this.pushToIndex(e,!1)}}*pushNewline(){let e=this.buffer[this.pos];return"\n"===e?yield*this.pushCount(1):"\r"===e&&"\n"===this.charAt(1)?yield*this.pushCount(2):0}*pushSpaces(e){let t,s=this.pos-1;do t=this.buffer[++s];while(" "===t||e&&" "===t);let n=s-this.pos;return n>0&&(yield this.buffer.substr(this.pos,n),this.pos=s),n}*pushUntil(e){let t=this.pos,s=this.buffer[t];for(;!e(s);)s=this.buffer[++t];return yield*this.pushToIndex(t,!1)}}},"../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/parse/line-counter.js"(e,t){t.LineCounter=class{constructor(){this.lineStarts=[],this.addNewLine=e=>this.lineStarts.push(e),this.linePos=e=>{let t=0,s=this.lineStarts.length;for(;t<s;){let n=t+s>>1;this.lineStarts[n]<e?t=n+1:s=n}if(this.lineStarts[t]===e)return{line:t+1,col:1};if(0===t)return{line:0,col:e};let n=this.lineStarts[t-1];return{line:t,col:e-n+1}}}}},"../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/parse/parser.js"(e,t,s){var n=s("process"),o=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/parse/cst.js"),i=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/parse/lexer.js");function l(e,t){for(let s=0;s<e.length;++s)if(e[s].type===t)return!0;return!1}function a(e){for(let t=0;t<e.length;++t)switch(e[t].type){case"space":case"comment":case"newline":break;default:return t}return -1}function r(e){switch(e?.type){case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":case"flow-collection":return!0;default:return!1}}function d(e){switch(e.type){case"document":return e.start;case"block-map":{let t=e.items[e.items.length-1];return t.sep??t.start}case"block-seq":return e.items[e.items.length-1].start;default:return[]}}function m(e){if(0===e.length)return[];let t=e.length;e:for(;--t>=0;)switch(e[t].type){case"doc-start":case"explicit-key-ind":case"map-value-ind":case"seq-item-ind":case"newline":break e}for(;e[++t]?.type==="space";);return e.splice(t,e.length)}function c(e,t){if(t.length<1e5)Array.prototype.push.apply(e,t);else for(let s=0;s<t.length;++s)e.push(t[s])}function u(e){if("flow-seq-start"===e.start.type)for(let t of e.items)!t.sep||t.value||l(t.start,"explicit-key-ind")||l(t.sep,"map-value-ind")||(t.key&&(t.value=t.key),delete t.key,r(t.value)?t.value.end?c(t.value.end,t.sep):t.value.end=t.sep:c(t.start,t.sep),delete t.sep)}t.Parser=class{constructor(e){this.atNewLine=!0,this.atScalar=!1,this.indent=0,this.offset=0,this.onKeyLine=!1,this.stack=[],this.source="",this.type="",this.lexer=new i.Lexer,this.onNewLine=e}*parse(e,t=!1){for(let s of(this.onNewLine&&0===this.offset&&this.onNewLine(0),this.lexer.lex(e,t)))yield*this.next(s);t||(yield*this.end())}*next(e){if(this.source=e,n.env.LOG_TOKENS&&console.log("|",o.prettyToken(e)),this.atScalar){this.atScalar=!1,yield*this.step(),this.offset+=e.length;return}let t=o.tokenType(e);if(t)if("scalar"===t)this.atNewLine=!1,this.atScalar=!0,this.type="scalar";else{switch(this.type=t,yield*this.step(),t){case"newline":this.atNewLine=!0,this.indent=0,this.onNewLine&&this.onNewLine(this.offset+e.length);break;case"space":this.atNewLine&&" "===e[0]&&(this.indent+=e.length);break;case"explicit-key-ind":case"map-value-ind":case"seq-item-ind":this.atNewLine&&(this.indent+=e.length);break;case"doc-mode":case"flow-error-end":return;default:this.atNewLine=!1}this.offset+=e.length}else{let t=`Not a YAML token: ${e}`;yield*this.pop({type:"error",offset:this.offset,message:t,source:e}),this.offset+=e.length}}*end(){for(;this.stack.length>0;)yield*this.pop()}get sourceToken(){return{type:this.type,offset:this.offset,indent:this.indent,source:this.source}}*step(){let e=this.peek(1);if("doc-end"===this.type&&e?.type!=="doc-end"){for(;this.stack.length>0;)yield*this.pop();this.stack.push({type:"doc-end",offset:this.offset,source:this.source});return}if(!e)return yield*this.stream();switch(e.type){case"document":return yield*this.document(e);case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":return yield*this.scalar(e);case"block-scalar":return yield*this.blockScalar(e);case"block-map":return yield*this.blockMap(e);case"block-seq":return yield*this.blockSequence(e);case"flow-collection":return yield*this.flowCollection(e);case"doc-end":return yield*this.documentEnd(e)}yield*this.pop()}peek(e){return this.stack[this.stack.length-e]}*pop(e){let t=e??this.stack.pop();if(t)if(0===this.stack.length)yield t;else{let e=this.peek(1);switch("block-scalar"===t.type?t.indent="indent"in e?e.indent:0:"flow-collection"===t.type&&"document"===e.type&&(t.indent=0),"flow-collection"===t.type&&u(t),e.type){case"document":e.value=t;break;case"block-scalar":e.props.push(t);break;case"block-map":{let s=e.items[e.items.length-1];if(s.value){e.items.push({start:[],key:t,sep:[]}),this.onKeyLine=!0;return}if(s.sep)s.value=t;else{Object.assign(s,{key:t,sep:[]}),this.onKeyLine=!s.explicitKey;return}break}case"block-seq":{let s=e.items[e.items.length-1];s.value?e.items.push({start:[],value:t}):s.value=t;break}case"flow-collection":{let s=e.items[e.items.length-1];!s||s.value?e.items.push({start:[],key:t,sep:[]}):s.sep?s.value=t:Object.assign(s,{key:t,sep:[]});return}default:yield*this.pop(),yield*this.pop(t)}if(("document"===e.type||"block-map"===e.type||"block-seq"===e.type)&&("block-map"===t.type||"block-seq"===t.type)){let s=t.items[t.items.length-1];s&&!s.sep&&!s.value&&s.start.length>0&&-1===a(s.start)&&(0===t.indent||s.start.every(e=>"comment"!==e.type||e.indent<t.indent))&&("document"===e.type?e.end=s.start:e.items.push({start:s.start}),t.items.splice(-1,1))}}else yield{type:"error",offset:this.offset,source:"",message:"Tried to pop an empty stack"}}*stream(){switch(this.type){case"directive-line":yield{type:"directive",offset:this.offset,source:this.source};return;case"byte-order-mark":case"space":case"comment":case"newline":yield this.sourceToken;return;case"doc-mode":case"doc-start":{let e={type:"document",offset:this.offset,start:[]};"doc-start"===this.type&&e.start.push(this.sourceToken),this.stack.push(e);return}}yield{type:"error",offset:this.offset,message:`Unexpected ${this.type} token in YAML stream`,source:this.source}}*document(e){if(e.value)return yield*this.lineEnd(e);switch(this.type){case"doc-start":-1!==a(e.start)?(yield*this.pop(),yield*this.step()):e.start.push(this.sourceToken);return;case"anchor":case"tag":case"space":case"comment":case"newline":e.start.push(this.sourceToken);return}let t=this.startBlockValue(e);t?this.stack.push(t):yield{type:"error",offset:this.offset,message:`Unexpected ${this.type} token in YAML document`,source:this.source}}*scalar(e){if("map-value-ind"===this.type){let t,s=m(d(this.peek(2)));e.end?((t=e.end).push(this.sourceToken),delete e.end):t=[this.sourceToken];let n={type:"block-map",offset:e.offset,indent:e.indent,items:[{start:s,key:e,sep:t}]};this.onKeyLine=!0,this.stack[this.stack.length-1]=n}else yield*this.lineEnd(e)}*blockScalar(e){switch(this.type){case"space":case"comment":case"newline":e.props.push(this.sourceToken);return;case"scalar":if(e.source=this.source,this.atNewLine=!0,this.indent=0,this.onNewLine){let e=this.source.indexOf("\n")+1;for(;0!==e;)this.onNewLine(this.offset+e),e=this.source.indexOf("\n",e)+1}yield*this.pop();break;default:yield*this.pop(),yield*this.step()}}*blockMap(e){let t=e.items[e.items.length-1];switch(this.type){case"newline":if(this.onKeyLine=!1,t.value){let s="end"in t.value?t.value.end:void 0,n=Array.isArray(s)?s[s.length-1]:void 0;n?.type==="comment"?s?.push(this.sourceToken):e.items.push({start:[this.sourceToken]})}else t.sep?t.sep.push(this.sourceToken):t.start.push(this.sourceToken);return;case"space":case"comment":if(t.value)e.items.push({start:[this.sourceToken]});else if(t.sep)t.sep.push(this.sourceToken);else{if(this.atIndentedComment(t.start,e.indent)){let s=e.items[e.items.length-2],n=s?.value?.end;if(Array.isArray(n)){c(n,t.start),n.push(this.sourceToken),e.items.pop();return}}t.start.push(this.sourceToken)}return}if(this.indent>=e.indent){let s=!this.onKeyLine&&this.indent===e.indent,n=s&&(t.sep||t.explicitKey)&&"seq-item-ind"!==this.type,o=[];if(n&&t.sep&&!t.value){let s=[];for(let n=0;n<t.sep.length;++n){let o=t.sep[n];switch(o.type){case"newline":s.push(n);break;case"space":break;case"comment":o.indent>e.indent&&(s.length=0);break;default:s.length=0}}s.length>=2&&(o=t.sep.splice(s[1]))}switch(this.type){case"anchor":case"tag":n||t.value?(o.push(this.sourceToken),e.items.push({start:o}),this.onKeyLine=!0):t.sep?t.sep.push(this.sourceToken):t.start.push(this.sourceToken);return;case"explicit-key-ind":t.sep||t.explicitKey?n||t.value?(o.push(this.sourceToken),e.items.push({start:o,explicitKey:!0})):this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:[this.sourceToken],explicitKey:!0}]}):(t.start.push(this.sourceToken),t.explicitKey=!0),this.onKeyLine=!0;return;case"map-value-ind":if(t.explicitKey)if(t.sep)if(t.value)e.items.push({start:[],key:null,sep:[this.sourceToken]});else if(l(t.sep,"map-value-ind"))this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:o,key:null,sep:[this.sourceToken]}]});else if(r(t.key)&&!l(t.sep,"newline")){let e=m(t.start),s=t.key,n=t.sep;n.push(this.sourceToken),delete t.key,delete t.sep,this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:e,key:s,sep:n}]})}else o.length>0?t.sep=t.sep.concat(o,this.sourceToken):t.sep.push(this.sourceToken);else if(l(t.start,"newline"))Object.assign(t,{key:null,sep:[this.sourceToken]});else{let e=m(t.start);this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:e,key:null,sep:[this.sourceToken]}]})}else t.sep?t.value||n?e.items.push({start:o,key:null,sep:[this.sourceToken]}):l(t.sep,"map-value-ind")?this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:[],key:null,sep:[this.sourceToken]}]}):t.sep.push(this.sourceToken):Object.assign(t,{key:null,sep:[this.sourceToken]});this.onKeyLine=!0;return;case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":{let s=this.flowScalar(this.type);n||t.value?(e.items.push({start:o,key:s,sep:[]}),this.onKeyLine=!0):t.sep?this.stack.push(s):(Object.assign(t,{key:s,sep:[]}),this.onKeyLine=!0);return}default:{let n=this.startBlockValue(e);if(n){if("block-seq"===n.type){if(!t.explicitKey&&t.sep&&!l(t.sep,"newline"))return void(yield*this.pop({type:"error",offset:this.offset,message:"Unexpected block-seq-ind on same line with key",source:this.source}))}else s&&e.items.push({start:o});this.stack.push(n);return}}}}yield*this.pop(),yield*this.step()}*blockSequence(e){let t=e.items[e.items.length-1];switch(this.type){case"newline":if(t.value){let s="end"in t.value?t.value.end:void 0,n=Array.isArray(s)?s[s.length-1]:void 0;n?.type==="comment"?s?.push(this.sourceToken):e.items.push({start:[this.sourceToken]})}else t.start.push(this.sourceToken);return;case"space":case"comment":if(t.value)e.items.push({start:[this.sourceToken]});else{if(this.atIndentedComment(t.start,e.indent)){let s=e.items[e.items.length-2],n=s?.value?.end;if(Array.isArray(n)){c(n,t.start),n.push(this.sourceToken),e.items.pop();return}}t.start.push(this.sourceToken)}return;case"anchor":case"tag":if(t.value||this.indent<=e.indent)break;t.start.push(this.sourceToken);return;case"seq-item-ind":if(this.indent!==e.indent)break;t.value||l(t.start,"seq-item-ind")?e.items.push({start:[this.sourceToken]}):t.start.push(this.sourceToken);return}if(this.indent>e.indent){let t=this.startBlockValue(e);if(t)return void this.stack.push(t)}yield*this.pop(),yield*this.step()}*flowCollection(e){let t=e.items[e.items.length-1];if("flow-error-end"===this.type){let e;do yield*this.pop(),e=this.peek(1);while(e?.type==="flow-collection")}else if(0===e.end.length){switch(this.type){case"comma":case"explicit-key-ind":!t||t.sep?e.items.push({start:[this.sourceToken]}):t.start.push(this.sourceToken);return;case"map-value-ind":!t||t.value?e.items.push({start:[],key:null,sep:[this.sourceToken]}):t.sep?t.sep.push(this.sourceToken):Object.assign(t,{key:null,sep:[this.sourceToken]});return;case"space":case"comment":case"newline":case"anchor":case"tag":!t||t.value?e.items.push({start:[this.sourceToken]}):t.sep?t.sep.push(this.sourceToken):t.start.push(this.sourceToken);return;case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":{let s=this.flowScalar(this.type);!t||t.value?e.items.push({start:[],key:s,sep:[]}):t.sep?this.stack.push(s):Object.assign(t,{key:s,sep:[]});return}case"flow-map-end":case"flow-seq-end":e.end.push(this.sourceToken);return}let s=this.startBlockValue(e);s?this.stack.push(s):(yield*this.pop(),yield*this.step())}else{let t=this.peek(2);if("block-map"!==t.type||("map-value-ind"!==this.type||t.indent!==e.indent)&&("newline"!==this.type||t.items[t.items.length-1].sep))if("map-value-ind"===this.type&&"flow-collection"!==t.type){let s=m(d(t));u(e);let n=e.end.splice(1,e.end.length);n.push(this.sourceToken);let o={type:"block-map",offset:e.offset,indent:e.indent,items:[{start:s,key:e,sep:n}]};this.onKeyLine=!0,this.stack[this.stack.length-1]=o}else yield*this.lineEnd(e);else yield*this.pop(),yield*this.step()}}flowScalar(e){if(this.onNewLine){let e=this.source.indexOf("\n")+1;for(;0!==e;)this.onNewLine(this.offset+e),e=this.source.indexOf("\n",e)+1}return{type:e,offset:this.offset,indent:this.indent,source:this.source}}startBlockValue(e){switch(this.type){case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":return this.flowScalar(this.type);case"block-scalar-header":return{type:"block-scalar",offset:this.offset,indent:this.indent,props:[this.sourceToken],source:""};case"flow-map-start":case"flow-seq-start":return{type:"flow-collection",offset:this.offset,indent:this.indent,start:this.sourceToken,items:[],end:[]};case"seq-item-ind":return{type:"block-seq",offset:this.offset,indent:this.indent,items:[{start:[this.sourceToken]}]};case"explicit-key-ind":{this.onKeyLine=!0;let t=m(d(e));return t.push(this.sourceToken),{type:"block-map",offset:this.offset,indent:this.indent,items:[{start:t,explicitKey:!0}]}}case"map-value-ind":{this.onKeyLine=!0;let t=m(d(e));return{type:"block-map",offset:this.offset,indent:this.indent,items:[{start:t,key:null,sep:[this.sourceToken]}]}}}return null}atIndentedComment(e,t){return"comment"===this.type&&!(this.indent<=t)&&e.every(e=>"newline"===e.type||"space"===e.type)}*documentEnd(e){"doc-mode"!==this.type&&(e.end?e.end.push(this.sourceToken):e.end=[this.sourceToken],"newline"===this.type&&(yield*this.pop()))}*lineEnd(e){switch(this.type){case"comma":case"doc-start":case"doc-end":case"flow-seq-end":case"flow-map-end":case"map-value-ind":yield*this.pop(),yield*this.step();break;case"newline":this.onKeyLine=!1;default:e.end?e.end.push(this.sourceToken):e.end=[this.sourceToken],"newline"===this.type&&(yield*this.pop())}}}},"../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/public-api.js"(e,t,s){var n=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/compose/composer.js"),o=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/doc/Document.js"),i=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/errors.js"),l=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/log.js"),a=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/identity.js"),r=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/parse/line-counter.js"),d=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/parse/parser.js");function m(e){let t=!1!==e.prettyErrors;return{lineCounter:e.lineCounter||t&&new r.LineCounter||null,prettyErrors:t}}function c(e,t={}){let{lineCounter:s,prettyErrors:o}=m(t),l=new d.Parser(s?.addNewLine),a=new n.Composer(t),r=null;for(let t of a.compose(l.parse(e),!0,e.length))if(r){if("silent"!==r.options.logLevel){r.errors.push(new i.YAMLParseError(t.range.slice(0,2),"MULTIPLE_DOCS","Source contains multiple documents; please use YAML.parseAllDocuments()"));break}}else r=t;return o&&s&&(r.errors.forEach(i.prettifyError(e,s)),r.warnings.forEach(i.prettifyError(e,s))),r}t.parse=function(e,t,s){let n;"function"==typeof t?n=t:void 0===s&&t&&"object"==typeof t&&(s=t);let o=c(e,s);if(!o)return null;if(o.warnings.forEach(e=>l.warn(o.options.logLevel,e)),o.errors.length>0)if("silent"!==o.options.logLevel)throw o.errors[0];else o.errors=[];return o.toJS(Object.assign({reviver:n},s))},t.parseAllDocuments=function(e,t={}){let{lineCounter:s,prettyErrors:o}=m(t),l=new d.Parser(s?.addNewLine),a=new n.Composer(t),r=Array.from(a.compose(l.parse(e)));if(o&&s)for(let t of r)t.errors.forEach(i.prettifyError(e,s)),t.warnings.forEach(i.prettifyError(e,s));return r.length>0?r:Object.assign([],{empty:!0},a.streamInfo())},t.parseDocument=c,t.stringify=function(e,t,s){let n=null;if("function"==typeof t||Array.isArray(t)?n=t:void 0===s&&t&&(s=t),"string"==typeof s&&(s=s.length),"number"==typeof s){let e=Math.round(s);s=e<1?void 0:e>8?{indent:8}:{indent:e}}if(void 0===e){let{keepUndefined:e}=s??t??{};if(!e)return}return a.isDocument(e)&&!n?e.toString(s):new o.Document(e,n,s).toString(s)}},"../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/Schema.js"(e,t,s){var n=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/identity.js"),o=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/common/map.js"),i=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/common/seq.js"),l=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/common/string.js"),a=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/tags.js");let r=(e,t)=>e.key<t.key?-1:+(e.key>t.key);t.Schema=class e{constructor({compat:e,customTags:t,merge:s,resolveKnownTags:d,schema:m,sortMapEntries:c,toStringDefaults:u}){this.compat=Array.isArray(e)?a.getTags(e,"compat"):e?a.getTags(null,e):null,this.name="string"==typeof m&&m||"core",this.knownTags=d?a.coreKnownTags:{},this.tags=a.getTags(t,this.name,s),this.toStringOptions=u??null,Object.defineProperty(this,n.MAP,{value:o.map}),Object.defineProperty(this,n.SCALAR,{value:l.string}),Object.defineProperty(this,n.SEQ,{value:i.seq}),this.sortMapEntries="function"==typeof c?c:!0===c?r:null}clone(){let t=Object.create(e.prototype,Object.getOwnPropertyDescriptors(this));return t.tags=this.tags.slice(),t}}},"../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/common/map.js"(e,t,s){var n=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/identity.js"),o=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/YAMLMap.js");t.map={collection:"map",default:!0,nodeClass:o.YAMLMap,tag:"tag:yaml.org,2002:map",resolve:(e,t)=>(n.isMap(e)||t("Expected a mapping for this tag"),e),createNode:(e,t,s)=>o.YAMLMap.from(e,t,s)}},"../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/common/null.js"(e,t,s){var n=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/Scalar.js");let o={identify:e=>null==e,createNode:()=>new n.Scalar(null),default:!0,tag:"tag:yaml.org,2002:null",test:/^(?:~|[Nn]ull|NULL)?$/,resolve:()=>new n.Scalar(null),stringify:({source:e},t)=>"string"==typeof e&&o.test.test(e)?e:t.options.nullStr};t.nullTag=o},"../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/common/seq.js"(e,t,s){var n=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/identity.js"),o=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/YAMLSeq.js");t.seq={collection:"seq",default:!0,nodeClass:o.YAMLSeq,tag:"tag:yaml.org,2002:seq",resolve:(e,t)=>(n.isSeq(e)||t("Expected a sequence for this tag"),e),createNode:(e,t,s)=>o.YAMLSeq.from(e,t,s)}},"../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/common/string.js"(e,t,s){var n=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/stringify/stringifyString.js");t.string={identify:e=>"string"==typeof e,default:!0,tag:"tag:yaml.org,2002:str",resolve:e=>e,stringify:(e,t,s,o)=>(t=Object.assign({actualString:!0},t),n.stringifyString(e,t,s,o))}},"../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/core/bool.js"(e,t,s){var n=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/Scalar.js");let o={identify:e=>"boolean"==typeof e,default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:[Tt]rue|TRUE|[Ff]alse|FALSE)$/,resolve:e=>new n.Scalar("t"===e[0]||"T"===e[0]),stringify:({source:e,value:t},s)=>e&&o.test.test(e)&&t===("t"===e[0]||"T"===e[0])?e:t?s.options.trueStr:s.options.falseStr};t.boolTag=o},"../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/core/float.js"(e,t,s){var n=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/Scalar.js"),o=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/stringify/stringifyNumber.js");let i={identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",test:/^(?:[-+]?\.(?:inf|Inf|INF)|\.nan|\.NaN|\.NAN)$/,resolve:e=>"nan"===e.slice(-3).toLowerCase()?NaN:"-"===e[0]?-1/0:1/0,stringify:o.stringifyNumber};t.float={identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",test:/^[-+]?(?:\.[0-9]+|[0-9]+\.[0-9]*)$/,resolve(e){let t=new n.Scalar(parseFloat(e)),s=e.indexOf(".");return -1!==s&&"0"===e[e.length-1]&&(t.minFractionDigits=e.length-s-1),t},stringify:o.stringifyNumber},t.floatExp={identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",format:"EXP",test:/^[-+]?(?:\.[0-9]+|[0-9]+(?:\.[0-9]*)?)[eE][-+]?[0-9]+$/,resolve:e=>parseFloat(e),stringify(e){let t=Number(e.value);return isFinite(t)?t.toExponential():o.stringifyNumber(e)}},t.floatNaN=i},"../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/core/int.js"(e,t,s){var n=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/stringify/stringifyNumber.js");let o=e=>"bigint"==typeof e||Number.isInteger(e),i=(e,t,s,{intAsBigInt:n})=>n?BigInt(e):parseInt(e.substring(t),s);function l(e,t,s){let{value:i}=e;return o(i)&&i>=0?s+i.toString(t):n.stringifyNumber(e)}t.int={identify:o,default:!0,tag:"tag:yaml.org,2002:int",test:/^[-+]?[0-9]+$/,resolve:(e,t,s)=>i(e,0,10,s),stringify:n.stringifyNumber},t.intHex={identify:e=>o(e)&&e>=0,default:!0,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^0x[0-9a-fA-F]+$/,resolve:(e,t,s)=>i(e,2,16,s),stringify:e=>l(e,16,"0x")},t.intOct={identify:e=>o(e)&&e>=0,default:!0,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^0o[0-7]+$/,resolve:(e,t,s)=>i(e,2,8,s),stringify:e=>l(e,8,"0o")}},"../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/core/schema.js"(e,t,s){var n=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/common/map.js"),o=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/common/null.js"),i=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/common/seq.js"),l=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/common/string.js"),a=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/core/bool.js"),r=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/core/float.js"),d=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/core/int.js");t.schema=[n.map,i.seq,l.string,o.nullTag,a.boolTag,d.intOct,d.int,d.intHex,r.floatNaN,r.floatExp,r.float]},"../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/json/schema.js"(e,t,s){var n=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/Scalar.js"),o=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/common/map.js"),i=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/common/seq.js");function l(e){return"bigint"==typeof e||Number.isInteger(e)}let a=({value:e})=>JSON.stringify(e),r=[{identify:e=>"string"==typeof e,default:!0,tag:"tag:yaml.org,2002:str",resolve:e=>e,stringify:a},{identify:e=>null==e,createNode:()=>new n.Scalar(null),default:!0,tag:"tag:yaml.org,2002:null",test:/^null$/,resolve:()=>null,stringify:a},{identify:e=>"boolean"==typeof e,default:!0,tag:"tag:yaml.org,2002:bool",test:/^true$|^false$/,resolve:e=>"true"===e,stringify:a},{identify:l,default:!0,tag:"tag:yaml.org,2002:int",test:/^-?(?:0|[1-9][0-9]*)$/,resolve:(e,t,{intAsBigInt:s})=>s?BigInt(e):parseInt(e,10),stringify:({value:e})=>l(e)?e.toString():JSON.stringify(e)},{identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",test:/^-?(?:0|[1-9][0-9]*)(?:\.[0-9]*)?(?:[eE][-+]?[0-9]+)?$/,resolve:e=>parseFloat(e),stringify:a}];t.schema=[o.map,i.seq].concat(r,{default:!0,tag:"",test:/^/,resolve:(e,t)=>(t(`Unresolved plain scalar ${JSON.stringify(e)}`),e)})},"../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/tags.js"(e,t,s){var n=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/common/map.js"),o=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/common/null.js"),i=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/common/seq.js"),l=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/common/string.js"),a=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/core/bool.js"),r=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/core/float.js"),d=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/core/int.js"),m=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/core/schema.js"),c=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/json/schema.js"),u=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/yaml-1.1/binary.js"),p=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/yaml-1.1/merge.js"),f=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/yaml-1.1/omap.js"),h=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/yaml-1.1/pairs.js"),y=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/yaml-1.1/schema.js"),g=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/yaml-1.1/set.js"),_=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/yaml-1.1/timestamp.js");let b=new Map([["core",m.schema],["failsafe",[n.map,i.seq,l.string]],["json",c.schema],["yaml11",y.schema],["yaml-1.1",y.schema]]),S={binary:u.binary,bool:a.boolTag,float:r.float,floatExp:r.floatExp,floatNaN:r.floatNaN,floatTime:_.floatTime,int:d.int,intHex:d.intHex,intOct:d.intOct,intTime:_.intTime,map:n.map,merge:p.merge,null:o.nullTag,omap:f.omap,pairs:h.pairs,seq:i.seq,set:g.set,timestamp:_.timestamp};t.coreKnownTags={"tag:yaml.org,2002:binary":u.binary,"tag:yaml.org,2002:merge":p.merge,"tag:yaml.org,2002:omap":f.omap,"tag:yaml.org,2002:pairs":h.pairs,"tag:yaml.org,2002:set":g.set,"tag:yaml.org,2002:timestamp":_.timestamp},t.getTags=function(e,t,s){let n=b.get(t);if(n&&!e)return s&&!n.includes(p.merge)?n.concat(p.merge):n.slice();let o=n;if(!o)if(Array.isArray(e))o=[];else{let e=Array.from(b.keys()).filter(e=>"yaml11"!==e).map(e=>JSON.stringify(e)).join(", ");throw Error(`Unknown schema "${t}"; use one of ${e} or define customTags array`)}if(Array.isArray(e))for(let t of e)o=o.concat(t);else"function"==typeof e&&(o=e(o.slice()));return s&&(o=o.concat(p.merge)),o.reduce((e,t)=>{let s="string"==typeof t?S[t]:t;if(!s){let e=JSON.stringify(t),s=Object.keys(S).map(e=>JSON.stringify(e)).join(", ");throw Error(`Unknown custom tag ${e}; use one of ${s}`)}return e.includes(s)||e.push(s),e},[])}},"../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/yaml-1.1/binary.js"(e,t,s){var n=s("buffer"),o=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/Scalar.js"),i=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/stringify/stringifyString.js");t.binary={identify:e=>e instanceof Uint8Array,default:!1,tag:"tag:yaml.org,2002:binary",resolve(e,t){if("function"==typeof n.Buffer)return n.Buffer.from(e,"base64");if("function"!=typeof atob)return t("This environment does not support reading binary tags; either Buffer or atob is required"),e;{let t=atob(e.replace(/[\n\r]/g,"")),s=new Uint8Array(t.length);for(let e=0;e<t.length;++e)s[e]=t.charCodeAt(e);return s}},stringify({comment:e,type:t,value:s},l,a,r){let d;if(!s)return"";if("function"==typeof n.Buffer)d=s instanceof n.Buffer?s.toString("base64"):n.Buffer.from(s.buffer).toString("base64");else if("function"==typeof btoa){let e="";for(let t=0;t<s.length;++t)e+=String.fromCharCode(s[t]);d=btoa(e)}else throw Error("This environment does not support writing binary tags; either Buffer or btoa is required");if(t??(t=o.Scalar.BLOCK_LITERAL),t!==o.Scalar.QUOTE_DOUBLE){let e=Math.max(l.options.lineWidth-l.indent.length,l.options.minContentWidth),s=Math.ceil(d.length/e),n=Array(s);for(let t=0,o=0;t<s;++t,o+=e)n[t]=d.substr(o,e);d=n.join(t===o.Scalar.BLOCK_LITERAL?"\n":" ")}return i.stringifyString({comment:e,type:t,value:d},l,a,r)}}},"../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/yaml-1.1/bool.js"(e,t,s){var n=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/Scalar.js");function o({value:e,source:t},s){let n=e?i:l;return t&&n.test.test(t)?t:e?s.options.trueStr:s.options.falseStr}let i={identify:e=>!0===e,default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:Y|y|[Yy]es|YES|[Tt]rue|TRUE|[Oo]n|ON)$/,resolve:()=>new n.Scalar(!0),stringify:o},l={identify:e=>!1===e,default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:N|n|[Nn]o|NO|[Ff]alse|FALSE|[Oo]ff|OFF)$/,resolve:()=>new n.Scalar(!1),stringify:o};t.falseTag=l,t.trueTag=i},"../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/yaml-1.1/float.js"(e,t,s){var n=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/Scalar.js"),o=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/stringify/stringifyNumber.js");let i={identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",test:/^(?:[-+]?\.(?:inf|Inf|INF)|\.nan|\.NaN|\.NAN)$/,resolve:e=>"nan"===e.slice(-3).toLowerCase()?NaN:"-"===e[0]?-1/0:1/0,stringify:o.stringifyNumber};t.float={identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",test:/^[-+]?(?:[0-9][0-9_]*)?\.[0-9_]*$/,resolve(e){let t=new n.Scalar(parseFloat(e.replace(/_/g,""))),s=e.indexOf(".");if(-1!==s){let n=e.substring(s+1).replace(/_/g,"");"0"===n[n.length-1]&&(t.minFractionDigits=n.length)}return t},stringify:o.stringifyNumber},t.floatExp={identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",format:"EXP",test:/^[-+]?(?:[0-9][0-9_]*)?(?:\.[0-9_]*)?[eE][-+]?[0-9]+$/,resolve:e=>parseFloat(e.replace(/_/g,"")),stringify(e){let t=Number(e.value);return isFinite(t)?t.toExponential():o.stringifyNumber(e)}},t.floatNaN=i},"../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/yaml-1.1/int.js"(e,t,s){var n=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/stringify/stringifyNumber.js");let o=e=>"bigint"==typeof e||Number.isInteger(e);function i(e,t,s,{intAsBigInt:n}){let o=e[0];if(("-"===o||"+"===o)&&(t+=1),e=e.substring(t).replace(/_/g,""),n){switch(s){case 2:e=`0b${e}`;break;case 8:e=`0o${e}`;break;case 16:e=`0x${e}`}let t=BigInt(e);return"-"===o?BigInt(-1)*t:t}let l=parseInt(e,s);return"-"===o?-1*l:l}function l(e,t,s){let{value:i}=e;if(o(i)){let e=i.toString(t);return i<0?"-"+s+e.substr(1):s+e}return n.stringifyNumber(e)}t.int={identify:o,default:!0,tag:"tag:yaml.org,2002:int",test:/^[-+]?[0-9][0-9_]*$/,resolve:(e,t,s)=>i(e,0,10,s),stringify:n.stringifyNumber},t.intBin={identify:o,default:!0,tag:"tag:yaml.org,2002:int",format:"BIN",test:/^[-+]?0b[0-1_]+$/,resolve:(e,t,s)=>i(e,2,2,s),stringify:e=>l(e,2,"0b")},t.intHex={identify:o,default:!0,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^[-+]?0x[0-9a-fA-F_]+$/,resolve:(e,t,s)=>i(e,2,16,s),stringify:e=>l(e,16,"0x")},t.intOct={identify:o,default:!0,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^[-+]?0[0-7_]+$/,resolve:(e,t,s)=>i(e,1,8,s),stringify:e=>l(e,8,"0")}},"../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/yaml-1.1/merge.js"(e,t,s){var n=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/identity.js"),o=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/Scalar.js");let i={identify:e=>"<<"===e||"symbol"==typeof e&&"<<"===e.description,default:"key",tag:"tag:yaml.org,2002:merge",test:/^<<$/,resolve:()=>Object.assign(new o.Scalar(Symbol("<<")),{addToJSMap:l}),stringify:()=>"<<"};function l(e,t,s){let o=r(e,s);if(n.isSeq(o))for(let s of o.items)a(e,t,s);else if(Array.isArray(o))for(let s of o)a(e,t,s);else a(e,t,o)}function a(e,t,s){let o=r(e,s);if(!n.isMap(o))throw Error("Merge sources must be maps or map aliases");for(let[s,n]of o.toJSON(null,e,Map))t instanceof Map?t.has(s)||t.set(s,n):t instanceof Set?t.add(s):Object.prototype.hasOwnProperty.call(t,s)||Object.defineProperty(t,s,{value:n,writable:!0,enumerable:!0,configurable:!0});return t}function r(e,t){return e&&n.isAlias(t)?t.resolve(e.doc,e):t}t.addMergeToJSMap=l,t.isMergeKey=(e,t)=>(i.identify(t)||n.isScalar(t)&&(!t.type||t.type===o.Scalar.PLAIN)&&i.identify(t.value))&&e?.doc.schema.tags.some(e=>e.tag===i.tag&&e.default),t.merge=i},"../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/yaml-1.1/omap.js"(e,t,s){var n=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/identity.js"),o=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/toJS.js"),i=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/YAMLMap.js"),l=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/YAMLSeq.js"),a=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/yaml-1.1/pairs.js");class r extends l.YAMLSeq{constructor(){super(),this.add=i.YAMLMap.prototype.add.bind(this),this.delete=i.YAMLMap.prototype.delete.bind(this),this.get=i.YAMLMap.prototype.get.bind(this),this.has=i.YAMLMap.prototype.has.bind(this),this.set=i.YAMLMap.prototype.set.bind(this),this.tag=r.tag}toJSON(e,t){if(!t)return super.toJSON(e);let s=new Map;for(let e of(t?.onCreate&&t.onCreate(s),this.items)){let i,l;if(n.isPair(e)?(i=o.toJS(e.key,"",t),l=o.toJS(e.value,i,t)):i=o.toJS(e,"",t),s.has(i))throw Error("Ordered maps must not include duplicate keys");s.set(i,l)}return s}static from(e,t,s){let n=a.createPairs(e,t,s),o=new this;return o.items=n.items,o}}r.tag="tag:yaml.org,2002:omap",t.YAMLOMap=r,t.omap={collection:"seq",identify:e=>e instanceof Map,nodeClass:r,default:!1,tag:"tag:yaml.org,2002:omap",resolve(e,t){let s=a.resolvePairs(e,t),o=[];for(let{key:e}of s.items)n.isScalar(e)&&(o.includes(e.value)?t(`Ordered maps must not include duplicate keys: ${e.value}`):o.push(e.value));return Object.assign(new r,s)},createNode:(e,t,s)=>r.from(e,t,s)}},"../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/yaml-1.1/pairs.js"(e,t,s){var n=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/identity.js"),o=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/Pair.js"),i=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/Scalar.js"),l=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/YAMLSeq.js");function a(e,t){if(n.isSeq(e))for(let s=0;s<e.items.length;++s){let l=e.items[s];if(!n.isPair(l)){if(n.isMap(l)){l.items.length>1&&t("Each pair must have its own sequence indicator");let e=l.items[0]||new o.Pair(new i.Scalar(null));if(l.commentBefore&&(e.key.commentBefore=e.key.commentBefore?`${l.commentBefore}
10
10
  ${e.key.commentBefore}`:l.commentBefore),l.comment){let t=e.value??e.key;t.comment=t.comment?`${l.comment}
11
11
  ${t.comment}`:l.comment}l=e}e.items[s]=n.isPair(l)?l:new o.Pair(l)}}else t("Expected a sequence for this tag");return e}function r(e,t,s){let{replacer:n}=s,i=new l.YAMLSeq(e);i.tag="tag:yaml.org,2002:pairs";let a=0;if(t&&Symbol.iterator in Object(t))for(let e of t){let l,r;if("function"==typeof n&&(e=n.call(t,String(a++),e)),Array.isArray(e))if(2===e.length)l=e[0],r=e[1];else throw TypeError(`Expected [key, value] tuple: ${e}`);else if(e&&e instanceof Object){let t=Object.keys(e);if(1===t.length)r=e[l=t[0]];else throw TypeError(`Expected tuple with one key, not ${t.length} keys`)}else l=e;i.items.push(o.createPair(l,r,s))}return i}t.createPairs=r,t.pairs={collection:"seq",default:!1,tag:"tag:yaml.org,2002:pairs",resolve:a,createNode:r},t.resolvePairs=a},"../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/yaml-1.1/schema.js"(e,t,s){var n=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/common/map.js"),o=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/common/null.js"),i=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/common/seq.js"),l=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/common/string.js"),a=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/yaml-1.1/binary.js"),r=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/yaml-1.1/bool.js"),d=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/yaml-1.1/float.js"),m=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/yaml-1.1/int.js"),c=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/yaml-1.1/merge.js"),u=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/yaml-1.1/omap.js"),p=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/yaml-1.1/pairs.js"),f=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/yaml-1.1/set.js"),h=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/yaml-1.1/timestamp.js");t.schema=[n.map,i.seq,l.string,o.nullTag,r.trueTag,r.falseTag,m.intBin,m.intOct,m.int,m.intHex,d.floatNaN,d.floatExp,d.float,a.binary,c.merge,u.omap,p.pairs,f.set,h.intTime,h.floatTime,h.timestamp]},"../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/yaml-1.1/set.js"(e,t,s){var n=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/identity.js"),o=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/Pair.js"),i=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/YAMLMap.js");class l extends i.YAMLMap{constructor(e){super(e),this.tag=l.tag}add(e){let t;t=n.isPair(e)?e:e&&"object"==typeof e&&"key"in e&&"value"in e&&null===e.value?new o.Pair(e.key,null):new o.Pair(e,null),i.findPair(this.items,t.key)||this.items.push(t)}get(e,t){let s=i.findPair(this.items,e);return!t&&n.isPair(s)?n.isScalar(s.key)?s.key.value:s.key:s}set(e,t){if("boolean"!=typeof t)throw Error(`Expected boolean value for set(key, value) in a YAML set, not ${typeof t}`);let s=i.findPair(this.items,e);s&&!t?this.items.splice(this.items.indexOf(s),1):!s&&t&&this.items.push(new o.Pair(e))}toJSON(e,t){return super.toJSON(e,t,Set)}toString(e,t,s){if(!e)return JSON.stringify(this);if(this.hasAllNullValues(!0))return super.toString(Object.assign({},e,{allNullValues:!0}),t,s);throw Error("Set items must all have null values")}static from(e,t,s){let{replacer:n}=s,i=new this(e);if(t&&Symbol.iterator in Object(t))for(let e of t)"function"==typeof n&&(e=n.call(t,e,e)),i.items.push(o.createPair(e,null,s));return i}}l.tag="tag:yaml.org,2002:set",t.YAMLSet=l,t.set={collection:"map",identify:e=>e instanceof Set,nodeClass:l,default:!1,tag:"tag:yaml.org,2002:set",createNode:(e,t,s)=>l.from(e,t,s),resolve(e,t){if(n.isMap(e))if(e.hasAllNullValues(!0))return Object.assign(new l,e);else t("Set items must all have null values");else t("Expected a mapping for this tag");return e}}},"../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/yaml-1.1/timestamp.js"(e,t,s){var n=s("../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/stringify/stringifyNumber.js");function o(e,t){let s=e[0],n="-"===s||"+"===s?e.substring(1):e,o=e=>t?BigInt(e):Number(e),i=n.replace(/_/g,"").split(":").reduce((e,t)=>e*o(60)+o(t),o(0));return"-"===s?o(-1)*i:i}function i(e){let{value:t}=e,s=e=>e;if("bigint"==typeof t)s=e=>BigInt(e);else if(isNaN(t)||!isFinite(t))return n.stringifyNumber(e);let o="";t<0&&(o="-",t*=s(-1));let i=s(60),l=[t%i];return t<60?l.unshift(0):(t=(t-l[0])/i,l.unshift(t%i),t>=60&&(t=(t-l[0])/i,l.unshift(t))),o+l.map(e=>String(e).padStart(2,"0")).join(":").replace(/000000\d*$/,"")}let l={identify:e=>e instanceof Date,default:!0,tag:"tag:yaml.org,2002:timestamp",test:RegExp("^([0-9]{4})-([0-9]{1,2})-([0-9]{1,2})(?:(?:t|T|[ \\t]+)([0-9]{1,2}):([0-9]{1,2}):([0-9]{1,2}(\\.[0-9]+)?)(?:[ \\t]*(Z|[-+][012]?[0-9](?::[0-9]{2})?))?)?$"),resolve(e){let t=e.match(l.test);if(!t)throw Error("!!timestamp expects a date, starting with yyyy-mm-dd");let[,s,n,i,a,r,d]=t.map(Number),m=Date.UTC(s,n-1,i,a||0,r||0,d||0,t[7]?Number((t[7]+"00").substr(1,3)):0),c=t[8];if(c&&"Z"!==c){let e=o(c,!1);30>Math.abs(e)&&(e*=60),m-=6e4*e}return new Date(m)},stringify:({value:e})=>e?.toISOString().replace(/(T00:00:00)?\.000Z$/,"")??""};t.floatTime={identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",format:"TIME",test:/^[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+\.[0-9_]*$/,resolve:e=>o(e,!1),stringify:i},t.intTime={identify:e=>"bigint"==typeof e||Number.isInteger(e),default:!0,tag:"tag:yaml.org,2002:int",format:"TIME",test:/^[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+$/,resolve:(e,t,{intAsBigInt:s})=>o(e,s),stringify:i},t.timestamp=l},"../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/stringify/foldFlowLines.js"(e,t){let s="block",n="quoted";function o(e,t,s){let n=t,o=t+1,i=e[o];for(;" "===i||" "===i;)if(t<o+s)i=e[++t];else{do i=e[++t];while(i&&"\n"!==i);n=t,i=e[o=t+1]}return n}t.FOLD_BLOCK=s,t.FOLD_FLOW="flow",t.FOLD_QUOTED=n,t.foldFlowLines=function(e,t,i="flow",{indentAtStart:l,lineWidth:a=80,minContentWidth:r=20,onFold:d,onOverflow:m}={}){let c,u,p;if(!a||a<0)return e;a<r&&(r=0);let f=Math.max(1+r,1+a-t.length);if(e.length<=f)return e;let h=[],y={},g=a-t.length;"number"==typeof l&&(l>a-Math.max(2,r)?h.push(0):g=a-l);let _=!1,b=-1,S=-1,v=-1;for(i===s&&-1!==(b=o(e,b,t.length))&&(g=b+f);p=e[b+=1];){if(i===n&&"\\"===p){switch(S=b,e[b+1]){case"x":b+=3;break;case"u":b+=5;break;case"U":b+=9;break;default:b+=1}v=b}if("\n"===p)i===s&&(b=o(e,b,t.length)),g=b+t.length+f,c=void 0;else{if(" "===p&&u&&" "!==u&&"\n"!==u&&" "!==u){let t=e[b+1];t&&" "!==t&&"\n"!==t&&" "!==t&&(c=b)}if(b>=g)if(c)h.push(c),g=c+f,c=void 0;else if(i===n){for(;" "===u||" "===u;)u=p,p=e[b+=1],_=!0;let t=b>v+1?b-2:S-1;if(y[t])return e;h.push(t),y[t]=!0,g=t+f,c=void 0}else _=!0}u=p}if(_&&m&&m(),0===h.length)return e;d&&d();let k=e.slice(0,h[0]);for(let s=0;s<h.length;++s){let o=h[s],l=h[s+1]||e.length;0===o?k=`
12
12
  ${t}${e.slice(0,l)}`:(i===n&&y[o]&&(k+=`${e[o]}\\`),k+=`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@doubao-dev/cli",
3
- "version": "0.0.25",
3
+ "version": "0.0.27",
4
4
  "description": "Doubao Dev CLI",
5
5
  "type": "module",
6
6
  "bin": {
@@ -45,7 +45,7 @@
45
45
  "node-loader": "2.1.0",
46
46
  "rimraf": "5.0.10",
47
47
  "typescript": "6.0.3",
48
- "@byted-doubao-apps/cli": "0.0.25"
48
+ "@byted-doubao-apps/cli": "0.0.27"
49
49
  },
50
50
  "optionalDependencies": {
51
51
  "@doubao-dev/security-tasm": "0.0.22",
@@ -69,8 +69,8 @@ dbx eval skill --project-path <projectPath>
69
69
  - 完全没有初始化痕迹时,复用 `dbx init` 的 Agent 选择安装全部内置 Skills。非交互
70
70
  环境必须用 `--agent <id>` 指定目标(可重复,`universal` 自动包含)。
71
71
 
72
- `--skills-mode link|copy`(默认 `link`)与 `-y, --yes`(覆盖非软链目录前自动备份)
73
- 沿用安装器既有语义。该命令只安装 Skill,不执行认证、脚手架、MCP 或 Git 初始化。
72
+ `-y, --yes` 用于覆盖非软链目录,覆盖前会自动备份。该命令只安装 Skill,不执行认证、
73
+ 脚手架、MCP 或 Git 初始化。
74
74
 
75
75
  ## 新建与续跑
76
76
 
@@ -64,7 +64,7 @@ description: 豆包智能服务全链路开发指南。当用户需要从零开
64
64
 
65
65
  最终回复前检查交付边界;不要只写“已完成”“构建通过”或“未启动 dbx dev”。只要只完成局部前端、只做静态检查/build、缺能力入口、缺 `manifest.yaml` / 运行态 Skill / MCP / 真实 `app_key` / MCP endpoint,或未跑通 `dbx dev` / simulator,就要追加“下一步”。
66
66
 
67
- “下一步”用一两句自然语言说明当前验证范围,并只点名实际缺失或未验证的项;不要照抄完整清单,也不要用“这些”“等”“闭环”“真实应用配置”“项目配置”概括。Page 只有 `app.config.ts` 注册时,要说明当前只是前端 Page;若要从对话触达,还缺 Widget 出卡、`tool_card_binding` 和 Page 跳转。完整智能服务交付需要 `manifest.yaml`、运行态 Skill、MCP、真实 `app_key` 和 MCP endpoint;这些产物或配置就绪后,再把 `dbx app artifacts validate <manifest.yaml路径> --json` 和 `dbx dev --mcp-endpoint <mcp_endpoint>` 写成验证下一步;工具/出卡链路再按需用 `dbx simulator eval` 验证。
67
+ “下一步”用一两句自然语言说明当前验证范围,并只点名实际缺失或未验证的项;不要照抄完整清单,也不要用“这些”“等”“闭环”“真实应用配置”“项目配置”概括。Page 只有 `app.config.ts` 注册时,要说明当前只是前端 Page;若要从对话触达,还缺 Widget 出卡、`tool_card_binding` 和 Page 跳转。完整智能服务交付需要 `manifest.yaml`、运行态 Skill、MCP、真实 `app_key` 和 MCP endpoint;这些产物或配置就绪后,再把 `dbx check --file <manifest.yaml路径> --json` 和 `dbx dev --mcp-endpoint <mcp_endpoint>` 写成验证下一步;工具/出卡链路再按需用 `dbx check` 验证。
68
68
 
69
69
  ## 核心速查手册与代码模板 (Cheat Sheet)
70
70
 
@@ -73,7 +73,7 @@ description: 豆包智能服务全链路开发指南。当用户需要从零开
73
73
  #### 选择正确的调试命令
74
74
 
75
75
  - **`dbx dev`**:需要前台 REPL 或 Web 调试器时使用。默认只启动和使用 Web 调试能力;涉及 App 配置分流、路径、Manifest/Skill 加载、MCP endpoint 或 Web 模拟器排障时,读 [references/local-debug/overview.md](references/local-debug/overview.md)。
76
- - **`dbx simulator eval`**:需要验证 Skill / MCP / Manifest / `card_delta` 的后端链路时使用;它不验证前端视觉效果,具体读 [references/local-debug/simulator-eval.md](references/local-debug/simulator-eval.md)。
76
+ - **`dbx check`**:需要验证 Skill / MCP / Manifest / `card_delta` 的后端链路时使用;它不验证前端视觉效果,具体读 [`dbx check` 指南](references/local-debug/simulator-eval.md)。
77
77
 
78
78
  两者可以串联,但不要互相替代:先确认当前需要的是交互现场,还是后端协议链路。
79
79
 
@@ -108,15 +108,15 @@ dbx dev --mcp-endpoint <mcp_endpoint>
108
108
  默认直接运行 `dbx dev --mcp-endpoint <mcp_endpoint>`;只有默认解析失败时再补 `--manifest`、`--skill`。
109
109
  确实需要传路径参数时,优先使用绝对路径;相对路径会按当前目录解析。
110
110
 
111
- `dbx dev` 启动交互式调试控制台;返回 Web 调试地址时必须保留完整 query。出卡链路不确定时再用 `dbx simulator eval` 排查 MCP / Manifest / Skill / card_delta。
111
+ `dbx dev` 启动交互式调试控制台;返回 Web 调试地址时必须保留完整 query。出卡链路不确定时再用 `dbx check` 排查 MCP / Manifest / Skill / card_delta。
112
112
 
113
113
  `dbx dev` 已运行时,纯前端 Page / Widget / 样式改动不要重启工程;等待热更新后在 REPL 执行 `web` 刷新调试器。业务模板内容变化时先重新校验,再在 Web 调试面板点击“撤回并重建 session”;只刷新页面不会更新已有 Session。Manifest `app_key`、MCP endpoint、PPE 环境或路径等启动边界变化时才重启 `dbx dev`。
114
114
 
115
115
  ### 2. 高频 CLI 命令
116
116
  在开发排查过程中,最常用的 `dbx` 命令如下(执行操作时优先考虑):
117
- - **校验配置**:`dbx app artifacts validate <manifest.yaml路径> --json` (修改 `manifest.yaml` 后必须执行,检查格式是否合法)
118
- - **校验业务模板**:`dbx app artifacts validate <business-templates.yaml路径> --type business-templates --json`(修改业务模板后执行兼容校验;通知模板缺少非空 `brief` 时不得继续调试或上传)
119
- - **后端评测**:`dbx simulator eval` (测试 MCP 协议、验证大模型 Tool Call 与 `card_delta` 数据流)
117
+ - **校验配置**:`dbx check --file <manifest.yaml路径> --json` (修改 `manifest.yaml` 后必须执行,检查格式是否合法)
118
+ - **校验业务模板**:`dbx check --file <business-templates.yaml路径> --json`(修改业务模板后执行兼容校验;通知模板缺少非空 `brief` 时不得继续调试或上传)
119
+ - **后端评测**:`dbx check --query "<当前轮用户问题>"` (测试 MCP 协议、验证大模型 Tool Call 与 `card_delta` 数据流)
120
120
  - **本地 Web 调试**:`dbx dev --mcp-endpoint <mcp_endpoint>` (在 dbx 项目目录启动 REPL,默认只使用 Web 调试器)
121
121
  - **管理内置开发 skills**:`dbx skills sync` 同步内置开发 skills。
122
122
  - **UGC Bot 真机预览**:用户选择上传后扫码预览时,按构建上传流程生成版本,再通过版本详情页二维码和 UGC Bot 调试对话预览
@@ -201,7 +201,7 @@ tools:
201
201
 
202
202
  ### 5. MCP Server 实现规范(必须遵守)
203
203
 
204
- 开发 MCP Server 时,**必须**满足以下协议要求,否则 `dbx simulator eval` 会直接失败:
204
+ 开发 MCP Server 时,**必须**满足以下协议要求,否则 `dbx check` 会直接失败:
205
205
 
206
206
  **1. 必须实现标准 Streamable HTTP 协议:**
207
207
  - 提供 `/mcp` 端点,支持 POST 请求。
@@ -375,7 +375,7 @@ export default defineAppConfig({
375
375
  👉 **[Read `references/frontend/components/overview.md`](references/frontend/components/overview.md)**
376
376
 
377
377
  ### 9. 本地联调与评测
378
- 当卡片无法渲染、大模型未调用 Tool、或者 `dbx simulator eval` 报错时:
378
+ 当卡片无法渲染、大模型未调用 Tool、或者 `dbx check` 报错时:
379
379
  👉 **[Read `references/local-debug/overview.md`](references/local-debug/overview.md)**
380
380
  👉 **[Read `references/local-debug/simulator-eval.md`](references/local-debug/simulator-eval.md)**
381
381