@swagger-api/apidom-ast 0.93.0 → 0.95.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +12 -0
- package/cjs/Error.cjs +2 -0
- package/cjs/Literal.cjs +1 -0
- package/cjs/Node.cjs +3 -0
- package/cjs/Position.cjs +5 -0
- package/cjs/index.cjs +9 -1
- package/cjs/json/nodes/JsonValue.cjs +1 -0
- package/cjs/yaml/anchors-aliases/ReferenceManager.cjs +28 -0
- package/cjs/yaml/errors/YamlError.cjs +7 -0
- package/cjs/yaml/errors/YamlReferenceError.cjs +8 -0
- package/cjs/yaml/errors/YamlSchemaError.cjs +3 -2
- package/cjs/yaml/errors/YamlTagError.cjs +6 -0
- package/cjs/yaml/nodes/YamlAlias.cjs +1 -0
- package/cjs/yaml/nodes/YamlAnchor.cjs +1 -0
- package/cjs/yaml/nodes/YamlComment.cjs +1 -0
- package/cjs/yaml/nodes/YamlDirective.cjs +2 -0
- package/cjs/yaml/nodes/YamlKeyValuePair.cjs +1 -0
- package/cjs/yaml/nodes/YamlNode.cjs +4 -0
- package/cjs/yaml/nodes/YamlScalar.cjs +1 -0
- package/cjs/yaml/nodes/YamlTag.cjs +2 -0
- package/cjs/yaml/nodes/predicates.cjs +3 -1
- package/cjs/yaml/schemas/canonical-format.cjs +2 -2
- package/cjs/yaml/schemas/failsafe/index.cjs +2 -0
- package/dist/apidom-ast.browser.js +1164 -1065
- package/dist/apidom-ast.browser.min.js +1 -1
- package/es/Error.mjs +2 -0
- package/es/Literal.mjs +1 -0
- package/es/Node.mjs +3 -0
- package/es/Position.mjs +5 -0
- package/es/index.mjs +4 -1
- package/es/json/nodes/JsonValue.mjs +1 -0
- package/es/yaml/anchors-aliases/ReferenceManager.mjs +24 -0
- package/es/yaml/errors/YamlError.mjs +3 -0
- package/es/yaml/errors/YamlReferenceError.mjs +3 -0
- package/es/yaml/errors/YamlSchemaError.mjs +2 -2
- package/es/yaml/errors/YamlTagError.mjs +6 -0
- package/es/yaml/nodes/YamlAlias.mjs +1 -0
- package/es/yaml/nodes/YamlAnchor.mjs +1 -0
- package/es/yaml/nodes/YamlComment.mjs +1 -0
- package/es/yaml/nodes/YamlDirective.mjs +2 -0
- package/es/yaml/nodes/YamlKeyValuePair.mjs +1 -0
- package/es/yaml/nodes/YamlNode.mjs +4 -0
- package/es/yaml/nodes/YamlScalar.mjs +1 -0
- package/es/yaml/nodes/YamlTag.mjs +2 -0
- package/es/yaml/nodes/predicates.mjs +1 -0
- package/es/yaml/schemas/canonical-format.mjs +2 -2
- package/es/yaml/schemas/failsafe/index.mjs +2 -0
- package/package.json +3 -3
- package/types/dist.d.ts +15 -2
@@ -1 +1 @@
|
|
1
|
-
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.apidomAST=e():t.apidomAST=e()}(self,(()=>(()=>{var t={2396:(t,e)=>{"use strict";var r;Object.defineProperty(e,"__esModule",{value:!0}),e.errorMessages=e.ErrorType=void 0,function(t){t.MalformedUnicode="MALFORMED_UNICODE",t.MalformedHexadecimal="MALFORMED_HEXADECIMAL",t.CodePointLimit="CODE_POINT_LIMIT",t.OctalDeprecation="OCTAL_DEPRECATION",t.EndOfString="END_OF_STRING"}(r=e.ErrorType||(e.ErrorType={})),e.errorMessages=new Map([[r.MalformedUnicode,"malformed Unicode character escape sequence"],[r.MalformedHexadecimal,"malformed hexadecimal character escape sequence"],[r.CodePointLimit,"Unicode codepoint must not be greater than 0x10FFFF in escape sequence"],[r.OctalDeprecation,'"0"-prefixed octal literals and octal escape sequences are deprecated; for octal literals use the "0o" prefix instead'],[r.EndOfString,"malformed escape sequence at end of string"]])},2770:(t,e,r)=>{"use strict";e.S6=void 0;const n=r(2396);function o(t,e,r){const o=function(t){return t.match(/[^a-f0-9]/i)?NaN:parseInt(t,16)}(t);if(Number.isNaN(o)||void 0!==r&&r!==t.length)throw new SyntaxError(n.errorMessages.get(e));return o}function i(t,e){const r=o(t,n.ErrorType.MalformedUnicode,4);if(void 0!==e){const t=o(e,n.ErrorType.MalformedUnicode,4);return String.fromCharCode(r,t)}return String.fromCharCode(r)}const s=new Map([["b","\b"],["f","\f"],["n","\n"],["r","\r"],["t","\t"],["v","\v"],["0","\0"]]);const c=/\\(?:(\\)|x([\s\S]{0,2})|u(\{[^}]*\}?)|u([\s\S]{4})\\u([^{][\s\S]{0,3})|u([\s\S]{0,4})|([0-3]?[0-7]{1,2})|([\s\S])|$)/g;function a(t,e=!1){return t.replace(c,(function(t,r,c,a,u,l,f,p,y){if(void 0!==r)return"\\";if(void 0!==c)return function(t){const e=o(t,n.ErrorType.MalformedHexadecimal,2);return String.fromCharCode(e)}(c);if(void 0!==a)return function(t){if("{"!==(e=t).charAt(0)||"}"!==e.charAt(e.length-1))throw new SyntaxError(n.errorMessages.get(n.ErrorType.MalformedUnicode));var e;const r=o(t.slice(1,-1),n.ErrorType.MalformedUnicode);try{return String.fromCodePoint(r)}catch(t){throw t instanceof RangeError?new SyntaxError(n.errorMessages.get(n.ErrorType.CodePointLimit)):t}}(a);if(void 0!==u)return i(u,l);if(void 0!==f)return i(f);if("0"===p)return"\0";if(void 0!==p)return function(t,e=!1){if(e)throw new SyntaxError(n.errorMessages.get(n.ErrorType.OctalDeprecation));const r=parseInt(t,8);return String.fromCharCode(r)}(p,!e);if(void 0!==y)return g=y,s.get(g)||g;var g;throw new SyntaxError(n.errorMessages.get(n.ErrorType.EndOfString))}))}e.S6=a},1427:(t,e,r)=>{t.exports=r(1125)},1681:(t,e,r)=>{"use strict";var n=r(7497);t.exports=n},3258:(t,e,r)=>{"use strict";r(2777),r(733),r(1835),r(6449),r(9383);var n=r(8422);t.exports=n.AggregateError},1125:(t,e,r)=>{"use strict";t.exports=r(3985)},3985:(t,e,r)=>{"use strict";r(3584);var n=r(1681);t.exports=n},5375:(t,e,r)=>{"use strict";var n=r(8563),o=r(5787),i=TypeError;t.exports=function(t){if(n(t))return t;throw new i(o(t)+" is not a function")}},692:(t,e,r)=>{"use strict";var n=r(8563),o=String,i=TypeError;t.exports=function(t){if("object"==typeof t||n(t))return t;throw new i("Can't set "+o(t)+" as a prototype")}},7171:t=>{"use strict";t.exports=function(){}},457:(t,e,r)=>{"use strict";var n=r(8257),o=String,i=TypeError;t.exports=function(t){if(n(t))return t;throw new i(o(t)+" is not an object")}},3346:(t,e,r)=>{"use strict";var n=r(4312),o=r(1940),i=r(8960),s=function(t){return function(e,r,s){var c,a=n(e),u=i(a),l=o(s,u);if(t&&r!=r){for(;u>l;)if((c=a[l++])!=c)return!0}else for(;u>l;l++)if((t||l in a)&&a[l]===r)return t||l||0;return!t&&-1}};t.exports={includes:s(!0),indexOf:s(!1)}},88:(t,e,r)=>{"use strict";var n=r(8814),o=n({}.toString),i=n("".slice);t.exports=function(t){return i(o(t),8,-1)}},2327:(t,e,r)=>{"use strict";var n=r(6694),o=r(8563),i=r(88),s=r(379)("toStringTag"),c=Object,a="Arguments"===i(function(){return arguments}());t.exports=n?i:function(t){var e,r,n;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(r=function(t,e){try{return t[e]}catch(t){}}(e=c(t),s))?r:a?i(e):"Object"===(n=i(e))&&o(e.callee)?"Arguments":n}},1318:(t,e,r)=>{"use strict";var n=r(3941),o=r(5956),i=r(3335),s=r(4376);t.exports=function(t,e,r){for(var c=o(e),a=s.f,u=i.f,l=0;l<c.length;l++){var f=c[l];n(t,f)||r&&n(r,f)||a(t,f,u(e,f))}}},8536:(t,e,r)=>{"use strict";var n=r(2998);t.exports=!n((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}))},9497:t=>{"use strict";t.exports=function(t,e){return{value:t,done:e}}},1370:(t,e,r)=>{"use strict";var n=r(1815),o=r(4376),i=r(7971);t.exports=n?function(t,e,r){return o.f(t,e,i(1,r))}:function(t,e,r){return t[e]=r,t}},7971:t=>{"use strict";t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},4500:(t,e,r)=>{"use strict";var n=r(1370);t.exports=function(t,e,r,o){return o&&o.enumerable?t[e]=r:n(t,e,r),t}},8194:(t,e,r)=>{"use strict";var n=r(8426),o=Object.defineProperty;t.exports=function(t,e){try{o(n,t,{value:e,configurable:!0,writable:!0})}catch(r){n[t]=e}return e}},1815:(t,e,r)=>{"use strict";var n=r(2998);t.exports=!n((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]}))},5361:t=>{"use strict";var e="object"==typeof document&&document.all,r=void 0===e&&void 0!==e;t.exports={all:e,IS_HTMLDDA:r}},6327:(t,e,r)=>{"use strict";var n=r(8426),o=r(8257),i=n.document,s=o(i)&&o(i.createElement);t.exports=function(t){return s?i.createElement(t):{}}},8987:t=>{"use strict";t.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},9954:t=>{"use strict";t.exports="undefined"!=typeof navigator&&String(navigator.userAgent)||""},5057:(t,e,r)=>{"use strict";var n,o,i=r(8426),s=r(9954),c=i.process,a=i.Deno,u=c&&c.versions||a&&a.version,l=u&&u.v8;l&&(o=(n=l.split("."))[0]>0&&n[0]<4?1:+(n[0]+n[1])),!o&&s&&(!(n=s.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=s.match(/Chrome\/(\d+)/))&&(o=+n[1]),t.exports=o},8573:t=>{"use strict";t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},4456:(t,e,r)=>{"use strict";var n=r(8814),o=Error,i=n("".replace),s=String(new o("zxcasd").stack),c=/\n\s*at [^:]*:[^\n]*/,a=c.test(s);t.exports=function(t,e){if(a&&"string"==typeof t&&!o.prepareStackTrace)for(;e--;)t=i(t,c,"");return t}},4151:(t,e,r)=>{"use strict";var n=r(1370),o=r(4456),i=r(5111),s=Error.captureStackTrace;t.exports=function(t,e,r,c){i&&(s?s(t,e):n(t,"stack",o(r,c)))}},5111:(t,e,r)=>{"use strict";var n=r(2998),o=r(7971);t.exports=!n((function(){var t=new Error("a");return!("stack"in t)||(Object.defineProperty(t,"stack",o(1,7)),7!==t.stack)}))},9011:(t,e,r)=>{"use strict";var n=r(8426),o=r(4877),i=r(9730),s=r(8563),c=r(3335).f,a=r(8722),u=r(8422),l=r(1207),f=r(1370),p=r(3941),y=function(t){var e=function(r,n,i){if(this instanceof e){switch(arguments.length){case 0:return new t;case 1:return new t(r);case 2:return new t(r,n)}return new t(r,n,i)}return o(t,this,arguments)};return e.prototype=t.prototype,e};t.exports=function(t,e){var r,o,g,h,d,v,m,b,x,S=t.target,w=t.global,O=t.stat,j=t.proto,E=w?n:O?n[S]:(n[S]||{}).prototype,A=w?u:u[S]||f(u,S,{})[S],T=A.prototype;for(h in e)o=!(r=a(w?h:S+(O?".":"#")+h,t.forced))&&E&&p(E,h),v=A[h],o&&(m=t.dontCallGetSet?(x=c(E,h))&&x.value:E[h]),d=o&&m?m:e[h],o&&typeof v==typeof d||(b=t.bind&&o?l(d,n):t.wrap&&o?y(d):j&&s(d)?i(d):d,(t.sham||d&&d.sham||v&&v.sham)&&f(b,"sham",!0),f(A,h,b),j&&(p(u,g=S+"Prototype")||f(u,g,{}),f(u[g],h,d),t.real&&T&&(r||!T[h])&&f(T,h,d)))}},2998:t=>{"use strict";t.exports=function(t){try{return!!t()}catch(t){return!0}}},4877:(t,e,r)=>{"use strict";var n=r(5083),o=Function.prototype,i=o.apply,s=o.call;t.exports="object"==typeof Reflect&&Reflect.apply||(n?s.bind(i):function(){return s.apply(i,arguments)})},1207:(t,e,r)=>{"use strict";var n=r(9730),o=r(5375),i=r(5083),s=n(n.bind);t.exports=function(t,e){return o(t),void 0===e?t:i?s(t,e):function(){return t.apply(e,arguments)}}},5083:(t,e,r)=>{"use strict";var n=r(2998);t.exports=!n((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")}))},200:(t,e,r)=>{"use strict";var n=r(5083),o=Function.prototype.call;t.exports=n?o.bind(o):function(){return o.apply(o,arguments)}},5339:(t,e,r)=>{"use strict";var n=r(1815),o=r(3941),i=Function.prototype,s=n&&Object.getOwnPropertyDescriptor,c=o(i,"name"),a=c&&"something"===function(){}.name,u=c&&(!n||n&&s(i,"name").configurable);t.exports={EXISTS:c,PROPER:a,CONFIGURABLE:u}},2799:(t,e,r)=>{"use strict";var n=r(8814),o=r(5375);t.exports=function(t,e,r){try{return n(o(Object.getOwnPropertyDescriptor(t,e)[r]))}catch(t){}}},9730:(t,e,r)=>{"use strict";var n=r(88),o=r(8814);t.exports=function(t){if("Function"===n(t))return o(t)}},8814:(t,e,r)=>{"use strict";var n=r(5083),o=Function.prototype,i=o.call,s=n&&o.bind.bind(i,i);t.exports=n?s:function(t){return function(){return i.apply(t,arguments)}}},6589:(t,e,r)=>{"use strict";var n=r(8422),o=r(8426),i=r(8563),s=function(t){return i(t)?t:void 0};t.exports=function(t,e){return arguments.length<2?s(n[t])||s(o[t]):n[t]&&n[t][e]||o[t]&&o[t][e]}},2630:(t,e,r)=>{"use strict";var n=r(2327),o=r(2833),i=r(5157),s=r(2444),c=r(379)("iterator");t.exports=function(t){if(!i(t))return o(t,c)||o(t,"@@iterator")||s[n(t)]}},1291:(t,e,r)=>{"use strict";var n=r(200),o=r(5375),i=r(457),s=r(5787),c=r(2630),a=TypeError;t.exports=function(t,e){var r=arguments.length<2?c(t):e;if(o(r))return i(n(r,t));throw new a(s(t)+" is not iterable")}},2833:(t,e,r)=>{"use strict";var n=r(5375),o=r(5157);t.exports=function(t,e){var r=t[e];return o(r)?void 0:n(r)}},8426:function(t,e,r){"use strict";var n=function(t){return t&&t.Math===Math&&t};t.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof r.g&&r.g)||n("object"==typeof this&&this)||function(){return this}()||Function("return this")()},3941:(t,e,r)=>{"use strict";var n=r(8814),o=r(8389),i=n({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,e){return i(o(t),e)}},3006:t=>{"use strict";t.exports={}},4812:(t,e,r)=>{"use strict";var n=r(6589);t.exports=n("document","documentElement")},4632:(t,e,r)=>{"use strict";var n=r(1815),o=r(2998),i=r(6327);t.exports=!n&&!o((function(){return 7!==Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},6541:(t,e,r)=>{"use strict";var n=r(8814),o=r(2998),i=r(88),s=Object,c=n("".split);t.exports=o((function(){return!s("z").propertyIsEnumerable(0)}))?function(t){return"String"===i(t)?c(t,""):s(t)}:s},9330:(t,e,r)=>{"use strict";var n=r(8563),o=r(8257),i=r(8597);t.exports=function(t,e,r){var s,c;return i&&n(s=e.constructor)&&s!==r&&o(c=s.prototype)&&c!==r.prototype&&i(t,c),t}},1609:(t,e,r)=>{"use strict";var n=r(8257),o=r(1370);t.exports=function(t,e){n(e)&&"cause"in e&&o(t,"cause",e.cause)}},8551:(t,e,r)=>{"use strict";var n,o,i,s=r(8268),c=r(8426),a=r(8257),u=r(1370),l=r(3941),f=r(6028),p=r(5430),y=r(3006),g="Object already initialized",h=c.TypeError,d=c.WeakMap;if(s||f.state){var v=f.state||(f.state=new d);v.get=v.get,v.has=v.has,v.set=v.set,n=function(t,e){if(v.has(t))throw new h(g);return e.facade=t,v.set(t,e),e},o=function(t){return v.get(t)||{}},i=function(t){return v.has(t)}}else{var m=p("state");y[m]=!0,n=function(t,e){if(l(t,m))throw new h(g);return e.facade=t,u(t,m,e),e},o=function(t){return l(t,m)?t[m]:{}},i=function(t){return l(t,m)}}t.exports={set:n,get:o,has:i,enforce:function(t){return i(t)?o(t):n(t,{})},getterFor:function(t){return function(e){var r;if(!a(e)||(r=o(e)).type!==t)throw new h("Incompatible receiver, "+t+" required");return r}}}},2576:(t,e,r)=>{"use strict";var n=r(379),o=r(2444),i=n("iterator"),s=Array.prototype;t.exports=function(t){return void 0!==t&&(o.Array===t||s[i]===t)}},8563:(t,e,r)=>{"use strict";var n=r(5361),o=n.all;t.exports=n.IS_HTMLDDA?function(t){return"function"==typeof t||t===o}:function(t){return"function"==typeof t}},8722:(t,e,r)=>{"use strict";var n=r(2998),o=r(8563),i=/#|\.prototype\./,s=function(t,e){var r=a[c(t)];return r===l||r!==u&&(o(e)?n(e):!!e)},c=s.normalize=function(t){return String(t).replace(i,".").toLowerCase()},a=s.data={},u=s.NATIVE="N",l=s.POLYFILL="P";t.exports=s},5157:t=>{"use strict";t.exports=function(t){return null==t}},8257:(t,e,r)=>{"use strict";var n=r(8563),o=r(5361),i=o.all;t.exports=o.IS_HTMLDDA?function(t){return"object"==typeof t?null!==t:n(t)||t===i}:function(t){return"object"==typeof t?null!==t:n(t)}},7736:t=>{"use strict";t.exports=!0},6753:(t,e,r)=>{"use strict";var n=r(6589),o=r(8563),i=r(7367),s=r(9378),c=Object;t.exports=s?function(t){return"symbol"==typeof t}:function(t){var e=n("Symbol");return o(e)&&i(e.prototype,c(t))}},3490:(t,e,r)=>{"use strict";var n=r(1207),o=r(200),i=r(457),s=r(5787),c=r(2576),a=r(8960),u=r(7367),l=r(1291),f=r(2630),p=r(6889),y=TypeError,g=function(t,e){this.stopped=t,this.result=e},h=g.prototype;t.exports=function(t,e,r){var d,v,m,b,x,S,w,O=r&&r.that,j=!(!r||!r.AS_ENTRIES),E=!(!r||!r.IS_RECORD),A=!(!r||!r.IS_ITERATOR),T=!(!r||!r.INTERRUPTED),k=n(e,O),P=function(t){return d&&p(d,"normal",t),new g(!0,t)},N=function(t){return j?(i(t),T?k(t[0],t[1],P):k(t[0],t[1])):T?k(t,P):k(t)};if(E)d=t.iterator;else if(A)d=t;else{if(!(v=f(t)))throw new y(s(t)+" is not iterable");if(c(v)){for(m=0,b=a(t);b>m;m++)if((x=N(t[m]))&&u(h,x))return x;return new g(!1)}d=l(t,v)}for(S=E?t.next:d.next;!(w=o(S,d)).done;){try{x=N(w.value)}catch(t){p(d,"throw",t)}if("object"==typeof x&&x&&u(h,x))return x}return new g(!1)}},6889:(t,e,r)=>{"use strict";var n=r(200),o=r(457),i=r(2833);t.exports=function(t,e,r){var s,c;o(t);try{if(!(s=i(t,"return"))){if("throw"===e)throw r;return r}s=n(s,t)}catch(t){c=!0,s=t}if("throw"===e)throw r;if(c)throw s;return o(s),r}},7323:(t,e,r)=>{"use strict";var n=r(374).IteratorPrototype,o=r(1504),i=r(7971),s=r(9468),c=r(2444),a=function(){return this};t.exports=function(t,e,r,u){var l=e+" Iterator";return t.prototype=o(n,{next:i(+!u,r)}),s(t,l,!1,!0),c[l]=a,t}},5994:(t,e,r)=>{"use strict";var n=r(9011),o=r(200),i=r(7736),s=r(5339),c=r(8563),a=r(7323),u=r(9814),l=r(8597),f=r(9468),p=r(1370),y=r(4500),g=r(379),h=r(2444),d=r(374),v=s.PROPER,m=s.CONFIGURABLE,b=d.IteratorPrototype,x=d.BUGGY_SAFARI_ITERATORS,S=g("iterator"),w="keys",O="values",j="entries",E=function(){return this};t.exports=function(t,e,r,s,g,d,A){a(r,e,s);var T,k,P,N=function(t){if(t===g&&L)return L;if(!x&&t&&t in F)return F[t];switch(t){case w:case O:case j:return function(){return new r(this,t)}}return function(){return new r(this)}},M=e+" Iterator",C=!1,F=t.prototype,I=F[S]||F["@@iterator"]||g&&F[g],L=!x&&I||N(g),R="Array"===e&&F.entries||I;if(R&&(T=u(R.call(new t)))!==Object.prototype&&T.next&&(i||u(T)===b||(l?l(T,b):c(T[S])||y(T,S,E)),f(T,M,!0,!0),i&&(h[M]=E)),v&&g===O&&I&&I.name!==O&&(!i&&m?p(F,"name",O):(C=!0,L=function(){return o(I,this)})),g)if(k={values:N(O),keys:d?L:N(w),entries:N(j)},A)for(P in k)(x||C||!(P in F))&&y(F,P,k[P]);else n({target:e,proto:!0,forced:x||C},k);return i&&!A||F[S]===L||y(F,S,L,{name:g}),h[e]=L,k}},374:(t,e,r)=>{"use strict";var n,o,i,s=r(2998),c=r(8563),a=r(8257),u=r(1504),l=r(9814),f=r(4500),p=r(379),y=r(7736),g=p("iterator"),h=!1;[].keys&&("next"in(i=[].keys())?(o=l(l(i)))!==Object.prototype&&(n=o):h=!0),!a(n)||s((function(){var t={};return n[g].call(t)!==t}))?n={}:y&&(n=u(n)),c(n[g])||f(n,g,(function(){return this})),t.exports={IteratorPrototype:n,BUGGY_SAFARI_ITERATORS:h}},2444:t=>{"use strict";t.exports={}},8960:(t,e,r)=>{"use strict";var n=r(9261);t.exports=function(t){return n(t.length)}},5703:t=>{"use strict";var e=Math.ceil,r=Math.floor;t.exports=Math.trunc||function(t){var n=+t;return(n>0?r:e)(n)}},5517:(t,e,r)=>{"use strict";var n=r(4809);t.exports=function(t,e){return void 0===t?arguments.length<2?"":e:n(t)}},1504:(t,e,r)=>{"use strict";var n,o=r(457),i=r(8253),s=r(8573),c=r(3006),a=r(4812),u=r(6327),l=r(5430),f="prototype",p="script",y=l("IE_PROTO"),g=function(){},h=function(t){return"<"+p+">"+t+"</"+p+">"},d=function(t){t.write(h("")),t.close();var e=t.parentWindow.Object;return t=null,e},v=function(){try{n=new ActiveXObject("htmlfile")}catch(t){}var t,e,r;v="undefined"!=typeof document?document.domain&&n?d(n):(e=u("iframe"),r="java"+p+":",e.style.display="none",a.appendChild(e),e.src=String(r),(t=e.contentWindow.document).open(),t.write(h("document.F=Object")),t.close(),t.F):d(n);for(var o=s.length;o--;)delete v[f][s[o]];return v()};c[y]=!0,t.exports=Object.create||function(t,e){var r;return null!==t?(g[f]=o(t),r=new g,g[f]=null,r[y]=t):r=v(),void 0===e?r:i.f(r,e)}},8253:(t,e,r)=>{"use strict";var n=r(1815),o=r(4210),i=r(4376),s=r(457),c=r(4312),a=r(4230);e.f=n&&!o?Object.defineProperties:function(t,e){s(t);for(var r,n=c(e),o=a(e),u=o.length,l=0;u>l;)i.f(t,r=o[l++],n[r]);return t}},4376:(t,e,r)=>{"use strict";var n=r(1815),o=r(4632),i=r(4210),s=r(457),c=r(9722),a=TypeError,u=Object.defineProperty,l=Object.getOwnPropertyDescriptor,f="enumerable",p="configurable",y="writable";e.f=n?i?function(t,e,r){if(s(t),e=c(e),s(r),"function"==typeof t&&"prototype"===e&&"value"in r&&y in r&&!r[y]){var n=l(t,e);n&&n[y]&&(t[e]=r.value,r={configurable:p in r?r[p]:n[p],enumerable:f in r?r[f]:n[f],writable:!1})}return u(t,e,r)}:u:function(t,e,r){if(s(t),e=c(e),s(r),o)try{return u(t,e,r)}catch(t){}if("get"in r||"set"in r)throw new a("Accessors not supported");return"value"in r&&(t[e]=r.value),t}},3335:(t,e,r)=>{"use strict";var n=r(1815),o=r(200),i=r(2886),s=r(7971),c=r(4312),a=r(9722),u=r(3941),l=r(4632),f=Object.getOwnPropertyDescriptor;e.f=n?f:function(t,e){if(t=c(t),e=a(e),l)try{return f(t,e)}catch(t){}if(u(t,e))return s(!o(i.f,t,e),t[e])}},4243:(t,e,r)=>{"use strict";var n=r(4062),o=r(8573).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return n(t,o)}},2306:(t,e)=>{"use strict";e.f=Object.getOwnPropertySymbols},9814:(t,e,r)=>{"use strict";var n=r(3941),o=r(8563),i=r(8389),s=r(5430),c=r(8536),a=s("IE_PROTO"),u=Object,l=u.prototype;t.exports=c?u.getPrototypeOf:function(t){var e=i(t);if(n(e,a))return e[a];var r=e.constructor;return o(r)&&e instanceof r?r.prototype:e instanceof u?l:null}},7367:(t,e,r)=>{"use strict";var n=r(8814);t.exports=n({}.isPrototypeOf)},4062:(t,e,r)=>{"use strict";var n=r(8814),o=r(3941),i=r(4312),s=r(3346).indexOf,c=r(3006),a=n([].push);t.exports=function(t,e){var r,n=i(t),u=0,l=[];for(r in n)!o(c,r)&&o(n,r)&&a(l,r);for(;e.length>u;)o(n,r=e[u++])&&(~s(l,r)||a(l,r));return l}},4230:(t,e,r)=>{"use strict";var n=r(4062),o=r(8573);t.exports=Object.keys||function(t){return n(t,o)}},2886:(t,e)=>{"use strict";var r={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor,o=n&&!r.call({1:2},1);e.f=o?function(t){var e=n(this,t);return!!e&&e.enumerable}:r},8597:(t,e,r)=>{"use strict";var n=r(2799),o=r(457),i=r(692);t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,r={};try{(t=n(Object.prototype,"__proto__","set"))(r,[]),e=r instanceof Array}catch(t){}return function(r,n){return o(r),i(n),e?t(r,n):r.__proto__=n,r}}():void 0)},3024:(t,e,r)=>{"use strict";var n=r(6694),o=r(2327);t.exports=n?{}.toString:function(){return"[object "+o(this)+"]"}},2483:(t,e,r)=>{"use strict";var n=r(200),o=r(8563),i=r(8257),s=TypeError;t.exports=function(t,e){var r,c;if("string"===e&&o(r=t.toString)&&!i(c=n(r,t)))return c;if(o(r=t.valueOf)&&!i(c=n(r,t)))return c;if("string"!==e&&o(r=t.toString)&&!i(c=n(r,t)))return c;throw new s("Can't convert object to primitive value")}},5956:(t,e,r)=>{"use strict";var n=r(6589),o=r(8814),i=r(4243),s=r(2306),c=r(457),a=o([].concat);t.exports=n("Reflect","ownKeys")||function(t){var e=i.f(c(t)),r=s.f;return r?a(e,r(t)):e}},8422:t=>{"use strict";t.exports={}},3142:(t,e,r)=>{"use strict";var n=r(4376).f;t.exports=function(t,e,r){r in t||n(t,r,{configurable:!0,get:function(){return e[r]},set:function(t){e[r]=t}})}},8280:(t,e,r)=>{"use strict";var n=r(5157),o=TypeError;t.exports=function(t){if(n(t))throw new o("Can't call method on "+t);return t}},9468:(t,e,r)=>{"use strict";var n=r(6694),o=r(4376).f,i=r(1370),s=r(3941),c=r(3024),a=r(379)("toStringTag");t.exports=function(t,e,r,u){if(t){var l=r?t:t.prototype;s(l,a)||o(l,a,{configurable:!0,value:e}),u&&!n&&i(l,"toString",c)}}},5430:(t,e,r)=>{"use strict";var n=r(3771),o=r(9216),i=n("keys");t.exports=function(t){return i[t]||(i[t]=o(t))}},6028:(t,e,r)=>{"use strict";var n=r(8426),o=r(8194),i="__core-js_shared__",s=n[i]||o(i,{});t.exports=s},3771:(t,e,r)=>{"use strict";var n=r(7736),o=r(6028);(t.exports=function(t,e){return o[t]||(o[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.33.3",mode:n?"pure":"global",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.33.3/LICENSE",source:"https://github.com/zloirock/core-js"})},7415:(t,e,r)=>{"use strict";var n=r(8814),o=r(1061),i=r(4809),s=r(8280),c=n("".charAt),a=n("".charCodeAt),u=n("".slice),l=function(t){return function(e,r){var n,l,f=i(s(e)),p=o(r),y=f.length;return p<0||p>=y?t?"":void 0:(n=a(f,p))<55296||n>56319||p+1===y||(l=a(f,p+1))<56320||l>57343?t?c(f,p):n:t?u(f,p,p+2):l-56320+(n-55296<<10)+65536}};t.exports={codeAt:l(!1),charAt:l(!0)}},3772:(t,e,r)=>{"use strict";var n=r(5057),o=r(2998),i=r(8426).String;t.exports=!!Object.getOwnPropertySymbols&&!o((function(){var t=Symbol("symbol detection");return!i(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&n&&n<41}))},1940:(t,e,r)=>{"use strict";var n=r(1061),o=Math.max,i=Math.min;t.exports=function(t,e){var r=n(t);return r<0?o(r+e,0):i(r,e)}},4312:(t,e,r)=>{"use strict";var n=r(6541),o=r(8280);t.exports=function(t){return n(o(t))}},1061:(t,e,r)=>{"use strict";var n=r(5703);t.exports=function(t){var e=+t;return e!=e||0===e?0:n(e)}},9261:(t,e,r)=>{"use strict";var n=r(1061),o=Math.min;t.exports=function(t){return t>0?o(n(t),9007199254740991):0}},8389:(t,e,r)=>{"use strict";var n=r(8280),o=Object;t.exports=function(t){return o(n(t))}},6561:(t,e,r)=>{"use strict";var n=r(200),o=r(8257),i=r(6753),s=r(2833),c=r(2483),a=r(379),u=TypeError,l=a("toPrimitive");t.exports=function(t,e){if(!o(t)||i(t))return t;var r,a=s(t,l);if(a){if(void 0===e&&(e="default"),r=n(a,t,e),!o(r)||i(r))return r;throw new u("Can't convert object to primitive value")}return void 0===e&&(e="number"),c(t,e)}},9722:(t,e,r)=>{"use strict";var n=r(6561),o=r(6753);t.exports=function(t){var e=n(t,"string");return o(e)?e:e+""}},6694:(t,e,r)=>{"use strict";var n={};n[r(379)("toStringTag")]="z",t.exports="[object z]"===String(n)},4809:(t,e,r)=>{"use strict";var n=r(2327),o=String;t.exports=function(t){if("Symbol"===n(t))throw new TypeError("Cannot convert a Symbol value to a string");return o(t)}},5787:t=>{"use strict";var e=String;t.exports=function(t){try{return e(t)}catch(t){return"Object"}}},9216:(t,e,r)=>{"use strict";var n=r(8814),o=0,i=Math.random(),s=n(1..toString);t.exports=function(t){return"Symbol("+(void 0===t?"":t)+")_"+s(++o+i,36)}},9378:(t,e,r)=>{"use strict";var n=r(3772);t.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},4210:(t,e,r)=>{"use strict";var n=r(1815),o=r(2998);t.exports=n&&o((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},8268:(t,e,r)=>{"use strict";var n=r(8426),o=r(8563),i=n.WeakMap;t.exports=o(i)&&/native code/.test(String(i))},379:(t,e,r)=>{"use strict";var n=r(8426),o=r(3771),i=r(3941),s=r(9216),c=r(3772),a=r(9378),u=n.Symbol,l=o("wks"),f=a?u.for||u:u&&u.withoutSetter||s;t.exports=function(t){return i(l,t)||(l[t]=c&&i(u,t)?u[t]:f("Symbol."+t)),l[t]}},9791:(t,e,r)=>{"use strict";var n=r(6589),o=r(3941),i=r(1370),s=r(7367),c=r(8597),a=r(1318),u=r(3142),l=r(9330),f=r(5517),p=r(1609),y=r(4151),g=r(1815),h=r(7736);t.exports=function(t,e,r,d){var v="stackTraceLimit",m=d?2:1,b=t.split("."),x=b[b.length-1],S=n.apply(null,b);if(S){var w=S.prototype;if(!h&&o(w,"cause")&&delete w.cause,!r)return S;var O=n("Error"),j=e((function(t,e){var r=f(d?e:t,void 0),n=d?new S(t):new S;return void 0!==r&&i(n,"message",r),y(n,j,n.stack,2),this&&s(w,this)&&l(n,this,j),arguments.length>m&&p(n,arguments[m]),n}));if(j.prototype=w,"Error"!==x?c?c(j,O):a(j,O,{name:!0}):g&&v in S&&(u(j,S,v),u(j,S,"prepareStackTrace")),a(j,S),!h)try{w.name!==x&&i(w,"name",x),w.constructor=j}catch(t){}return j}}},1835:(t,e,r)=>{"use strict";var n=r(9011),o=r(6589),i=r(4877),s=r(2998),c=r(9791),a="AggregateError",u=o(a),l=!s((function(){return 1!==u([1]).errors[0]}))&&s((function(){return 7!==u([1],a,{cause:7}).cause}));n({global:!0,constructor:!0,arity:2,forced:l},{AggregateError:c(a,(function(t){return function(e,r){return i(t,this,arguments)}}),l,!0)})},1320:(t,e,r)=>{"use strict";var n=r(9011),o=r(7367),i=r(9814),s=r(8597),c=r(1318),a=r(1504),u=r(1370),l=r(7971),f=r(1609),p=r(4151),y=r(3490),g=r(5517),h=r(379)("toStringTag"),d=Error,v=[].push,m=function(t,e){var r,n=o(b,this);s?r=s(new d,n?i(this):b):(r=n?this:a(b),u(r,h,"Error")),void 0!==e&&u(r,"message",g(e)),p(r,m,r.stack,1),arguments.length>2&&f(r,arguments[2]);var c=[];return y(t,v,{that:c}),u(r,"errors",c),r};s?s(m,d):c(m,d,{name:!0});var b=m.prototype=a(d.prototype,{constructor:l(1,m),message:l(1,""),name:l(1,"AggregateError")});n({global:!0,constructor:!0,arity:2},{AggregateError:m})},733:(t,e,r)=>{"use strict";r(1320)},6449:(t,e,r)=>{"use strict";var n=r(4312),o=r(7171),i=r(2444),s=r(8551),c=r(4376).f,a=r(5994),u=r(9497),l=r(7736),f=r(1815),p="Array Iterator",y=s.set,g=s.getterFor(p);t.exports=a(Array,"Array",(function(t,e){y(this,{type:p,target:n(t),index:0,kind:e})}),(function(){var t=g(this),e=t.target,r=t.index++;if(!e||r>=e.length)return t.target=void 0,u(void 0,!0);switch(t.kind){case"keys":return u(r,!1);case"values":return u(e[r],!1)}return u([r,e[r]],!1)}),"values");var h=i.Arguments=i.Array;if(o("keys"),o("values"),o("entries"),!l&&f&&"values"!==h.name)try{c(h,"name",{value:"values"})}catch(t){}},2777:(t,e,r)=>{"use strict";var n=r(9011),o=r(8426),i=r(4877),s=r(9791),c="WebAssembly",a=o[c],u=7!==new Error("e",{cause:7}).cause,l=function(t,e){var r={};r[t]=s(t,e,u),n({global:!0,constructor:!0,arity:1,forced:u},r)},f=function(t,e){if(a&&a[t]){var r={};r[t]=s(c+"."+t,e,u),n({target:c,stat:!0,constructor:!0,arity:1,forced:u},r)}};l("Error",(function(t){return function(e){return i(t,this,arguments)}})),l("EvalError",(function(t){return function(e){return i(t,this,arguments)}})),l("RangeError",(function(t){return function(e){return i(t,this,arguments)}})),l("ReferenceError",(function(t){return function(e){return i(t,this,arguments)}})),l("SyntaxError",(function(t){return function(e){return i(t,this,arguments)}})),l("TypeError",(function(t){return function(e){return i(t,this,arguments)}})),l("URIError",(function(t){return function(e){return i(t,this,arguments)}})),f("CompileError",(function(t){return function(e){return i(t,this,arguments)}})),f("LinkError",(function(t){return function(e){return i(t,this,arguments)}})),f("RuntimeError",(function(t){return function(e){return i(t,this,arguments)}}))},9383:(t,e,r)=>{"use strict";var n=r(7415).charAt,o=r(4809),i=r(8551),s=r(5994),c=r(9497),a="String Iterator",u=i.set,l=i.getterFor(a);s(String,"String",(function(t){u(this,{type:a,string:o(t),index:0})}),(function(){var t,e=l(this),r=e.string,o=e.index;return o>=r.length?c(void 0,!0):(t=n(r,o),e.index+=t.length,c(t,!1))}))},3584:(t,e,r)=>{"use strict";r(733)},6128:(t,e,r)=>{"use strict";r(6449);var n=r(8987),o=r(8426),i=r(2327),s=r(1370),c=r(2444),a=r(379)("toStringTag");for(var u in n){var l=o[u],f=l&&l.prototype;f&&i(f)!==a&&s(f,a,u),c[u]=c.Array}},7497:(t,e,r)=>{"use strict";r(3584);var n=r(3258);r(6128),t.exports=n}},e={};function r(n){var o=e[n];if(void 0!==o)return o.exports;var i=e[n]={exports:{}};return t[n].call(i.exports,i,i.exports,r),i.exports}r.d=(t,e)=>{for(var n in e)r.o(e,n)&&!r.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),r.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),r.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var n={};return(()=>{"use strict";r.r(n),r.d(n,{BREAK:()=>gn,Error:()=>fn,JsonArray:()=>N,JsonDocument:()=>l,JsonEscapeSequence:()=>L,JsonFalse:()=>_,JsonKey:()=>F,JsonNode:()=>e,JsonNull:()=>U,JsonNumber:()=>R,JsonObject:()=>k,JsonProperty:()=>P,JsonString:()=>C,JsonStringContent:()=>I,JsonTrue:()=>D,JsonValue:()=>M,Literal:()=>cn,ParseResult:()=>pn,Point:()=>an,Position:()=>ln,YamlAlias:()=>q,YamlAnchor:()=>ht,YamlCollection:()=>G,YamlComment:()=>J,YamlDirective:()=>B,YamlDocument:()=>H,YamlFailsafeSchema:()=>tn,YamlJsonSchema:()=>sn,YamlKeyValuePair:()=>it,YamlMapping:()=>ct,YamlNode:()=>Y,YamlNodeKind:()=>yt,YamlScalar:()=>at,YamlSchemaError:()=>Tt,YamlSequence:()=>lt,YamlStream:()=>pt,YamlStyle:()=>dt,YamlStyleGroup:()=>vt,YamlTag:()=>gt,YamlTagError:()=>kt,cloneNode:()=>vn,getNodeType:()=>hn,getVisitFn:()=>yn,isJsonArray:()=>w,isJsonDocument:()=>d,isJsonEscapeSequence:()=>E,isJsonFalse:()=>m,isJsonKey:()=>T,isJsonNull:()=>x,isJsonNumber:()=>S,isJsonObject:()=>O,isJsonProperty:()=>A,isJsonString:()=>v,isJsonStringContent:()=>j,isJsonTrue:()=>b,isLiteral:()=>p,isNode:()=>dn,isParseResult:()=>h,isPoint:()=>g,isPosition:()=>y,isYamlAlias:()=>rt,isYamlDirective:()=>nt,isYamlDocument:()=>W,isYamlKeyValuePair:()=>Z,isYamlMapping:()=>Q,isYamlScalar:()=>et,isYamlSequence:()=>X,isYamlStream:()=>K,isYamlTag:()=>tt,mergeAllVisitors:()=>mn,visit:()=>bn});const t=class{static type="node";type="node";constructor({children:t=[],position:e,isMissing:r=!1}={}){this.type=this.constructor.type,this.isMissing=r,this.children=t,this.position=e}clone(){const t=Object.create(Object.getPrototypeOf(this));return Object.getOwnPropertyNames(this).forEach((e=>{const r=Object.getOwnPropertyDescriptor(this,e);Object.defineProperty(t,e,r)})),t}};const e=class extends t{};function o(t){return null!=t&&"object"==typeof t&&!0===t["@@functional/placeholder"]}function i(t){return function e(r){return 0===arguments.length||o(r)?e:t.apply(this,arguments)}}function s(t){return function e(r,n){switch(arguments.length){case 0:return e;case 1:return o(r)?e:i((function(e){return t(r,e)}));default:return o(r)&&o(n)?e:o(r)?i((function(e){return t(e,n)})):o(n)?i((function(e){return t(r,e)})):t(r,n)}}}function c(t){return"[object String]"===Object.prototype.toString.call(t)}const a=s((function(t,e){var r=t<0?e.length+t:t;return c(e)?e.charAt(r):e[r]}));const u=a(0);const l=class extends e{static type="document";get child(){return u(this.children)}},f=(t,e)=>null!=e&&"object"==typeof e&&"type"in e&&e.type===t,p=t=>f("literal",t),y=t=>f("position",t),g=t=>f("point",t),h=t=>f("parseResult",t),d=t=>f("document",t),v=t=>f("string",t),m=t=>f("false",t),b=t=>f("true",t),x=t=>f("null",t),S=t=>f("number",t),w=t=>f("array",t),O=t=>f("object",t),j=t=>f("stringContent",t),E=t=>f("escapeSequence",t),A=t=>f("property",t),T=t=>f("key",t);const k=class extends e{static type="object";get properties(){return this.children.filter(A)}};const P=class extends e{static type="property";get key(){return this.children.find(T)}get value(){return this.children.find((t=>m(t)||b(t)||x(t)||S(t)||v(t)||w(t)||O(t)))}};const N=class extends e{static type="array";get items(){return this.children.filter((t=>m(t)||b(t)||x(t)||S(t)||v(t)||w(t)||O))}};const M=class extends e{static type="value";constructor({value:t,...e}){super({...e}),this.value=t}};const C=class extends e{static type="string";get value(){if(1===this.children.length){return this.children[0].value}return this.children.filter((t=>j(t)||E(t))).reduce(((t,e)=>t+e.value),"")}};const F=class extends C{static type="key"};const I=class extends M{static type="stringContent"};const L=class extends M{static type="escapeSequence"};const R=class extends M{static type="number"};const D=class extends M{static type="true"};const _=class extends M{static type="false"};const U=class extends M{static type="null"};const q=class extends t{static type="alias";constructor({content:t,...e}){super({...e}),this.content=t}};const Y=class extends t{constructor({anchor:t,tag:e,style:r,styleGroup:n,...o}){super({...o}),this.anchor=t,this.tag=e,this.style=r,this.styleGroup=n}};const G=class extends Y{};const J=class extends t{static type="comment";constructor({content:t,...e}){super({...e}),this.content=t}};function $(t,e){return Object.prototype.hasOwnProperty.call(e,t)}const V="function"==typeof Object.assign?Object.assign:function(t){if(null==t)throw new TypeError("Cannot convert undefined or null to object");for(var e=Object(t),r=1,n=arguments.length;r<n;){var o=arguments[r];if(null!=o)for(var i in o)$(i,o)&&(e[i]=o[i]);r+=1}return e};const z=s((function(t,e){return V({},t,e)}));const B=class extends t{static type="directive";constructor({name:t,parameters:e,...r}){super({...r}),this.name=t,this.parameters=z({version:void 0,handle:void 0,prefix:void 0},e)}};const H=class extends t{static type="document"},K=t=>f("stream",t),W=t=>f("document",t),Q=t=>f("mapping",t),X=t=>f("sequence",t),Z=t=>f("keyValuePair",t),tt=t=>f("tag",t),et=t=>f("scalar",t),rt=t=>f("alias",t),nt=t=>f("directive",t);class ot extends t{static type="keyValuePair";constructor({styleGroup:t,...e}){super({...e}),this.styleGroup=t}}Object.defineProperties(ot.prototype,{key:{get(){return this.children.filter((t=>et(t)||Q(t)||X(t)))[0]},enumerable:!0},value:{get(){const{key:t,children:e}=this;return e.filter((e=>(e=>e!==t)(e)&&(t=>et(t)||Q(t)||X(t)||rt(t))(e)))[0]},enumerable:!0}});const it=ot;class st extends G{static type="mapping"}Object.defineProperty(st.prototype,"content",{get(){return Array.isArray(this.children)?this.children.filter(Z):[]},enumerable:!0});const ct=st;const at=class extends Y{static type="scalar";constructor({content:t,...e}){super({...e}),this.content=t}};class ut extends G{static type="sequence"}Object.defineProperty(ut.prototype,"content",{get(){const{children:t}=this;return Array.isArray(t)?t.filter((t=>X(t)||Q(t)||et(t)||rt(t))):[]},enumerable:!0});const lt=ut;class ft extends t{static type="stream"}Object.defineProperty(ft.prototype,"content",{get(){return Array.isArray(this.children)?this.children.filter((t=>W(t)||(t=>f("comment",t))(t))):[]},enumerable:!0});const pt=ft;let yt=function(t){return t.Scalar="Scalar",t.Sequence="Sequence",t.Mapping="Mapping",t}({});const gt=class extends t{static type="tag";constructor({explicitName:t,kind:e,...r}){super({...r}),this.explicitName=t,this.kind=e}};const ht=class extends t{static type="anchor";constructor({name:t,...e}){super({...e}),this.name=t}};let dt=function(t){return t.Plain="Plain",t.SingleQuoted="SingleQuoted",t.DoubleQuoted="DoubleQuoted",t.Literal="Literal",t.Folded="Folded",t.Explicit="Explicit",t.SinglePair="SinglePair",t.NextLine="NextLine",t.InLine="InLine",t}({}),vt=function(t){return t.Flow="Flow",t.Block="Block",t}({});const mt=i((function(t){return null===t?"Null":void 0===t?"Undefined":Object.prototype.toString.call(t).slice(8,-1)}));function bt(t,e,r){if(r||(r=new xt),function(t){var e=typeof t;return null==t||"object"!=e&&"function"!=e}(t))return t;var n,o=function(n){var o=r.get(t);if(o)return o;for(var i in r.set(t,n),t)Object.prototype.hasOwnProperty.call(t,i)&&(n[i]=e?bt(t[i],!0,r):t[i]);return n};switch(mt(t)){case"Object":return o(Object.create(Object.getPrototypeOf(t)));case"Array":return o([]);case"Date":return new Date(t.valueOf());case"RegExp":return n=t,new RegExp(n.source,n.flags?n.flags:(n.global?"g":"")+(n.ignoreCase?"i":"")+(n.multiline?"m":"")+(n.sticky?"y":"")+(n.unicode?"u":"")+(n.dotAll?"s":""));case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"BigInt64Array":case"BigUint64Array":return t.slice();default:return t}}var xt=function(){function t(){this.map={},this.length=0}return t.prototype.set=function(t,e){const r=this.hash(t);let n=this.map[r];n||(this.map[r]=n=[]),n.push([t,e]),this.length+=1},t.prototype.hash=function(t){let e=[];for(var r in t)e.push(Object.prototype.toString.call(t[r]));return e.join()},t.prototype.get=function(t){if(this.length<=180){for(const e in this.map){const r=this.map[e];for(let e=0;e<r.length;e+=1){const n=r[e];if(n[0]===t)return n[1]}}return}const e=this.hash(t),r=this.map[e];if(r)for(let e=0;e<r.length;e+=1){const n=r[e];if(n[0]===t)return n[1]}},t}();const St=i((function(t){return null!=t&&"function"==typeof t.clone?t.clone():bt(t,!0)}));var wt=r(1427);const Ot=class extends wt{constructor(t,e,r){if(super(t,e,r),this.name=this.constructor.name,"string"==typeof e&&(this.message=e),"function"==typeof Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error(e).stack,null!=r&&"object"==typeof r&&Object.hasOwn(r,"cause")&&!("cause"in this)){const{cause:t}=r;this.cause=t,t instanceof Error&&"stack"in t&&(this.stack=`${this.stack}\nCAUSE: ${t.stack}`)}}};class jt extends Error{static[Symbol.hasInstance](t){return super[Symbol.hasInstance](t)||Function.prototype[Symbol.hasInstance].call(Ot,t)}constructor(t,e){if(super(t,e),this.name=this.constructor.name,"string"==typeof t&&(this.message=t),"function"==typeof Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error(t).stack,null!=e&&"object"==typeof e&&Object.hasOwn(e,"cause")&&!("cause"in this)){const{cause:t}=e;this.cause=t,t instanceof Error&&"stack"in t&&(this.stack=`${this.stack}\nCAUSE: ${t.stack}`)}}}const Et=jt;const At=class extends Et{constructor(t,e){if(super(t,e),null!=e&&"object"==typeof e){const{cause:t,...r}=e;Object.assign(this,r)}}};const Tt=class extends At{};const kt=class extends Tt{constructor(t,e){super(t,e),void 0!==e&&(this.specificTagName=e.specificTagName,this.explicitTagName=e.explicitTagName,this.tagKind=e.tagKind,this.tagPosition=e.tagPosition,this.nodeCanonicalContent=e.nodeCanonicalContent,this.node=e.node)}};const Pt=class{static uri="";tag="";constructor(){this.tag=this.constructor.uri}test(t){return!0}resolve(t){return t}};const Nt=class extends Pt{static uri="tag:yaml.org,2002:map";test(t){return t.tag.kind===yt.Mapping}};const Mt=class extends Pt{static uri="tag:yaml.org,2002:seq";test(t){return t.tag.kind===yt.Sequence}};const Ct=class extends Pt{static uri="tag:yaml.org,2002:str"};function Ft(t){return function e(r,n,c){switch(arguments.length){case 0:return e;case 1:return o(r)?e:s((function(e,n){return t(r,e,n)}));case 2:return o(r)&&o(n)?e:o(r)?s((function(e,r){return t(e,n,r)})):o(n)?s((function(e,n){return t(r,e,n)})):i((function(e){return t(r,n,e)}));default:return o(r)&&o(n)&&o(c)?e:o(r)&&o(n)?s((function(e,r){return t(e,r,c)})):o(r)&&o(c)?s((function(e,r){return t(e,n,r)})):o(n)&&o(c)?s((function(e,n){return t(r,e,n)})):o(r)?i((function(e){return t(e,n,c)})):o(n)?i((function(e){return t(r,e,c)})):o(c)?i((function(e){return t(r,n,e)})):t(r,n,c)}}}const It=s((function(t,e){return null==e||e!=e?t:e})),Lt=Number.isInteger||function(t){return t<<0===t};const Rt=s((function(t,e){return t.map((function(t){for(var r,n=e,o=0;o<t.length;){if(null==n)return;r=t[o],n=Lt(r)?a(r,n):n[r],o+=1}return n}))}));const Dt=s((function(t,e){return Rt([t],e)[0]}));const _t=Ft((function(t,e,r){return It(t,Dt(e,r))}));function Ut(t,e){switch(t){case 0:return function(){return e.apply(this,arguments)};case 1:return function(t){return e.apply(this,arguments)};case 2:return function(t,r){return e.apply(this,arguments)};case 3:return function(t,r,n){return e.apply(this,arguments)};case 4:return function(t,r,n,o){return e.apply(this,arguments)};case 5:return function(t,r,n,o,i){return e.apply(this,arguments)};case 6:return function(t,r,n,o,i,s){return e.apply(this,arguments)};case 7:return function(t,r,n,o,i,s,c){return e.apply(this,arguments)};case 8:return function(t,r,n,o,i,s,c,a){return e.apply(this,arguments)};case 9:return function(t,r,n,o,i,s,c,a,u){return e.apply(this,arguments)};case 10:return function(t,r,n,o,i,s,c,a,u,l){return e.apply(this,arguments)};default:throw new Error("First argument to _arity must be a non-negative integer no greater than ten")}}function qt(t,e,r){return function(){for(var n=[],i=0,s=t,c=0,a=!1;c<e.length||i<arguments.length;){var u;c<e.length&&(!o(e[c])||i>=arguments.length)?u=e[c]:(u=arguments[i],i+=1),n[c]=u,o(u)?a=!0:s-=1,c+=1}return!a&&s<=0?r.apply(this,n):Ut(Math.max(0,s),qt(t,n,r))}}const Yt=s((function(t,e){return 1===t?i(e):Ut(t,qt(t,[],e))}));const Gt=i((function(t){return Yt(t.length,t)}));function Jt(t,e){return function(){return e.call(this,t.apply(this,arguments))}}const $t=Array.isArray||function(t){return null!=t&&t.length>=0&&"[object Array]"===Object.prototype.toString.call(t)};const Vt=i((function(t){return!!$t(t)||!!t&&("object"==typeof t&&(!c(t)&&(0===t.length||t.length>0&&(t.hasOwnProperty(0)&&t.hasOwnProperty(t.length-1)))))}));var zt="undefined"!=typeof Symbol?Symbol.iterator:"@@iterator";function Bt(t,e,r){return function(n,o,i){if(Vt(i))return t(n,o,i);if(null==i)return o;if("function"==typeof i["fantasy-land/reduce"])return e(n,o,i,"fantasy-land/reduce");if(null!=i[zt])return r(n,o,i[zt]());if("function"==typeof i.next)return r(n,o,i);if("function"==typeof i.reduce)return e(n,o,i,"reduce");throw new TypeError("reduce: list must be array or iterable")}}function Ht(t,e,r){for(var n=0,o=r.length;n<o;){if((e=t["@@transducer/step"](e,r[n]))&&e["@@transducer/reduced"]){e=e["@@transducer/value"];break}n+=1}return t["@@transducer/result"](e)}const Kt=s((function(t,e){return Ut(t.length,(function(){return t.apply(e,arguments)}))}));function Wt(t,e,r){for(var n=r.next();!n.done;){if((e=t["@@transducer/step"](e,n.value))&&e["@@transducer/reduced"]){e=e["@@transducer/value"];break}n=r.next()}return t["@@transducer/result"](e)}function Qt(t,e,r,n){return t["@@transducer/result"](r[n](Kt(t["@@transducer/step"],t),e))}const Xt=Bt(Ht,Qt,Wt);var Zt=function(){function t(t){this.f=t}return t.prototype["@@transducer/init"]=function(){throw new Error("init not implemented on XWrap")},t.prototype["@@transducer/result"]=function(t){return t},t.prototype["@@transducer/step"]=function(t,e){return this.f(t,e)},t}();function te(t){return new Zt(t)}const ee=Ft((function(t,e,r){return Xt("function"==typeof t?te(t):t,e,r)}));function re(t,e){return function(){var r=arguments.length;if(0===r)return e();var n=arguments[r-1];return $t(n)||"function"!=typeof n[t]?e.apply(this,arguments):n[t].apply(n,Array.prototype.slice.call(arguments,0,r-1))}}const ne=Ft(re("slice",(function(t,e,r){return Array.prototype.slice.call(r,t,e)})));const oe=i(re("tail",ne(1,1/0)));function ie(){if(0===arguments.length)throw new Error("pipe requires at least one argument");return Ut(arguments[0].length,ee(Jt,arguments[0],oe(arguments)))}var se="\t\n\v\f\r \u2028\u2029\ufeff";const ce=i("function"==typeof String.prototype.trim&&!se.trim()&&"".trim()?function(t){return t.trim()}:function(t){var e=new RegExp("^["+se+"]["+se+"]*"),r=new RegExp("["+se+"]["+se+"]*$");return t.replace(e,"").replace(r,"")});function ae(t){var e=Object.prototype.toString.call(t);return"[object Function]"===e||"[object AsyncFunction]"===e||"[object GeneratorFunction]"===e||"[object AsyncGeneratorFunction]"===e}function ue(t){for(var e,r=[];!(e=t.next()).done;)r.push(e.value);return r}function le(t,e,r){for(var n=0,o=r.length;n<o;){if(t(e,r[n]))return!0;n+=1}return!1}const fe="function"==typeof Object.is?Object.is:function(t,e){return t===e?0!==t||1/t==1/e:t!=t&&e!=e};var pe=Object.prototype.toString;const ye=function(){return"[object Arguments]"===pe.call(arguments)?function(t){return"[object Arguments]"===pe.call(t)}:function(t){return $("callee",t)}}();var ge=!{toString:null}.propertyIsEnumerable("toString"),he=["constructor","valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],de=function(){return arguments.propertyIsEnumerable("length")}(),ve=function(t,e){for(var r=0;r<t.length;){if(t[r]===e)return!0;r+=1}return!1},me="function"!=typeof Object.keys||de?i((function(t){if(Object(t)!==t)return[];var e,r,n=[],o=de&&ye(t);for(e in t)!$(e,t)||o&&"length"===e||(n[n.length]=e);if(ge)for(r=he.length-1;r>=0;)$(e=he[r],t)&&!ve(n,e)&&(n[n.length]=e),r-=1;return n})):i((function(t){return Object(t)!==t?[]:Object.keys(t)}));const be=me;function xe(t,e,r,n){var o=ue(t);function i(t,e){return Se(t,e,r.slice(),n.slice())}return!le((function(t,e){return!le(i,e,t)}),ue(e),o)}function Se(t,e,r,n){if(fe(t,e))return!0;var o,i,s=mt(t);if(s!==mt(e))return!1;if("function"==typeof t["fantasy-land/equals"]||"function"==typeof e["fantasy-land/equals"])return"function"==typeof t["fantasy-land/equals"]&&t["fantasy-land/equals"](e)&&"function"==typeof e["fantasy-land/equals"]&&e["fantasy-land/equals"](t);if("function"==typeof t.equals||"function"==typeof e.equals)return"function"==typeof t.equals&&t.equals(e)&&"function"==typeof e.equals&&e.equals(t);switch(s){case"Arguments":case"Array":case"Object":if("function"==typeof t.constructor&&"Promise"===(o=t.constructor,null==(i=String(o).match(/^function (\w*)/))?"":i[1]))return t===e;break;case"Boolean":case"Number":case"String":if(typeof t!=typeof e||!fe(t.valueOf(),e.valueOf()))return!1;break;case"Date":if(!fe(t.valueOf(),e.valueOf()))return!1;break;case"Error":return t.name===e.name&&t.message===e.message;case"RegExp":if(t.source!==e.source||t.global!==e.global||t.ignoreCase!==e.ignoreCase||t.multiline!==e.multiline||t.sticky!==e.sticky||t.unicode!==e.unicode)return!1}for(var c=r.length-1;c>=0;){if(r[c]===t)return n[c]===e;c-=1}switch(s){case"Map":return t.size===e.size&&xe(t.entries(),e.entries(),r.concat([t]),n.concat([e]));case"Set":return t.size===e.size&&xe(t.values(),e.values(),r.concat([t]),n.concat([e]));case"Arguments":case"Array":case"Object":case"Boolean":case"Number":case"String":case"Date":case"Error":case"RegExp":case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"ArrayBuffer":break;default:return!1}var a=be(t);if(a.length!==be(e).length)return!1;var u=r.concat([t]),l=n.concat([e]);for(c=a.length-1;c>=0;){var f=a[c];if(!$(f,e)||!Se(e[f],t[f],u,l))return!1;c-=1}return!0}const we=s((function(t,e){return Se(t,e,[],[])}));function Oe(t,e){return function(t,e,r){var n,o;if("function"==typeof t.indexOf)switch(typeof e){case"number":if(0===e){for(n=1/e;r<t.length;){if(0===(o=t[r])&&1/o===n)return r;r+=1}return-1}if(e!=e){for(;r<t.length;){if("number"==typeof(o=t[r])&&o!=o)return r;r+=1}return-1}return t.indexOf(e,r);case"string":case"boolean":case"function":case"undefined":return t.indexOf(e,r);case"object":if(null===e)return t.indexOf(e,r)}for(;r<t.length;){if(we(t[r],e))return r;r+=1}return-1}(e,t,0)>=0}function je(t,e){for(var r=0,n=e.length,o=Array(n);r<n;)o[r]=t(e[r]),r+=1;return o}function Ee(t){return'"'+t.replace(/\\/g,"\\\\").replace(/[\b]/g,"\\b").replace(/\f/g,"\\f").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\t/g,"\\t").replace(/\v/g,"\\v").replace(/\0/g,"\\0").replace(/"/g,'\\"')+'"'}var Ae=function(t){return(t<10?"0":"")+t};const Te="function"==typeof Date.prototype.toISOString?function(t){return t.toISOString()}:function(t){return t.getUTCFullYear()+"-"+Ae(t.getUTCMonth()+1)+"-"+Ae(t.getUTCDate())+"T"+Ae(t.getUTCHours())+":"+Ae(t.getUTCMinutes())+":"+Ae(t.getUTCSeconds())+"."+(t.getUTCMilliseconds()/1e3).toFixed(3).slice(2,5)+"Z"};function ke(t,e,r){for(var n=0,o=r.length;n<o;)e=t(e,r[n]),n+=1;return e}function Pe(t,e,r){return function(){if(0===arguments.length)return r();var n=arguments[arguments.length-1];if(!$t(n)){for(var o=0;o<t.length;){if("function"==typeof n[t[o]])return n[t[o]].apply(n,Array.prototype.slice.call(arguments,0,-1));o+=1}if(function(t){return null!=t&&"function"==typeof t["@@transducer/step"]}(n))return e.apply(null,Array.prototype.slice.call(arguments,0,-1))(n)}return r.apply(this,arguments)}}const Ne=function(){return this.xf["@@transducer/init"]()},Me=function(t){return this.xf["@@transducer/result"](t)};var Ce=function(){function t(t,e){this.xf=e,this.f=t}return t.prototype["@@transducer/init"]=Ne,t.prototype["@@transducer/result"]=Me,t.prototype["@@transducer/step"]=function(t,e){return this.f(e)?this.xf["@@transducer/step"](t,e):t},t}();function Fe(t){return function(e){return new Ce(t,e)}}const Ie=s(Pe(["fantasy-land/filter","filter"],Fe,(function(t,e){return r=e,"[object Object]"===Object.prototype.toString.call(r)?ke((function(r,n){return t(e[n])&&(r[n]=e[n]),r}),{},be(e)):function(t,e){for(var r=0,n=e.length,o=[];r<n;)t(e[r])&&(o[o.length]=e[r]),r+=1;return o}(t,e);var r})));const Le=s((function(t,e){return Ie((r=t,function(){return!r.apply(this,arguments)}),e);var r}));function Re(t,e){var r=function(r){var n=e.concat([t]);return Oe(r,n)?"<Circular>":Re(r,n)},n=function(t,e){return je((function(e){return Ee(e)+": "+r(t[e])}),e.slice().sort())};switch(Object.prototype.toString.call(t)){case"[object Arguments]":return"(function() { return arguments; }("+je(r,t).join(", ")+"))";case"[object Array]":return"["+je(r,t).concat(n(t,Le((function(t){return/^\d+$/.test(t)}),be(t)))).join(", ")+"]";case"[object Boolean]":return"object"==typeof t?"new Boolean("+r(t.valueOf())+")":t.toString();case"[object Date]":return"new Date("+(isNaN(t.valueOf())?r(NaN):Ee(Te(t)))+")";case"[object Map]":return"new Map("+r(Array.from(t))+")";case"[object Null]":return"null";case"[object Number]":return"object"==typeof t?"new Number("+r(t.valueOf())+")":1/t==-1/0?"-0":t.toString(10);case"[object Set]":return"new Set("+r(Array.from(t).sort())+")";case"[object String]":return"object"==typeof t?"new String("+r(t.valueOf())+")":Ee(t);case"[object Undefined]":return"undefined";default:if("function"==typeof t.toString){var o=t.toString();if("[object Object]"!==o)return o}return"{"+n(t,be(t)).join(", ")+"}"}}const De=i((function(t){return Re(t,[])}));const _e=s((function(t,e){return Yt(t+1,(function(){var r=arguments[t];if(null!=r&&ae(r[e]))return r[e].apply(r,Array.prototype.slice.call(arguments,0,t));throw new TypeError(De(r)+' does not have a method named "'+e+'"')}))}));const Ue=_e(1,"split");var qe=function(){function t(t,e){this.xf=e,this.f=t}return t.prototype["@@transducer/init"]=Ne,t.prototype["@@transducer/result"]=Me,t.prototype["@@transducer/step"]=function(t,e){return this.xf["@@transducer/step"](t,this.f(e))},t}();const Ye=s(Pe(["fantasy-land/map","map"],(function(t){return function(e){return new qe(t,e)}}),(function(t,e){switch(Object.prototype.toString.call(e)){case"[object Function]":return Yt(e.length,(function(){return t.call(this,e.apply(this,arguments))}));case"[object Object]":return ke((function(r,n){return r[n]=t(e[n]),r}),{},be(e));default:return je(t,e)}})));const Ge=_e(1,"join");const Je=i((function(t){return c(t)?t.split("").reverse().join(""):Array.prototype.slice.call(t,0).reverse()}));function $e(){if(0===arguments.length)throw new Error("compose requires at least one argument");return ie.apply(this,Je(arguments))}const Ve=Yt(4,(function(t,e,r,n){return Xt(t("function"==typeof e?te(e):e),r,n)}));const ze=s((function(t,e){if($t(t)){if($t(e))return t.concat(e);throw new TypeError(De(e)+" is not an array")}if(c(t)){if(c(e))return t+e;throw new TypeError(De(e)+" is not a string")}if(null!=t&&ae(t["fantasy-land/concat"]))return t["fantasy-land/concat"](e);if(null!=t&&ae(t.concat))return t.concat(e);throw new TypeError(De(t)+' does not have a method named "concat" or "fantasy-land/concat"')}));const Be=we("");const He=s((function(t,e){if(t===e)return e;function r(t,e){if(t>e!=e>t)return e>t?e:t}var n=r(t,e);if(void 0!==n)return n;var o=r(typeof t,typeof e);if(void 0!==o)return o===typeof t?t:e;var i=De(t),s=r(i,De(e));return void 0!==s&&s===i?t:e}));const Ke=s((function(t,e){if(null!=e)return Lt(t)?a(t,e):e[t]}));const We=s((function(t,e){return Ye(Ke(t),e)}));const Qe=i((function(t){return Yt(ee(He,0,We("length",t)),(function(){for(var e=0,r=t.length;e<r;){if(t[e].apply(this,arguments))return!0;e+=1}return!1}))}));var Xe=function(t,e){switch(arguments.length){case 0:return Xe;case 1:return function e(r){return 0===arguments.length?e:fe(t,r)};default:return fe(t,e)}};const Ze=Xe;const tr=Yt(1,ie(mt,Ze("GeneratorFunction")));const er=Yt(1,ie(mt,Ze("AsyncFunction")));const rr=Qe([ie(mt,Ze("Function")),tr,er]);const nr=s((function(t,e){return t&&e}));function or(t,e,r){for(var n=r.next();!n.done;)e=t(e,n.value),n=r.next();return e}function ir(t,e,r,n){return r[n](t,e)}const sr=Bt(ke,ir,or);const cr=s((function(t,e){return"function"==typeof e["fantasy-land/ap"]?e["fantasy-land/ap"](t):"function"==typeof t.ap?t.ap(e):"function"==typeof t?function(r){return t(r)(e(r))}:sr((function(t,r){return function(t,e){var r;e=e||[];var n=(t=t||[]).length,o=e.length,i=[];for(r=0;r<n;)i[i.length]=t[r],r+=1;for(r=0;r<o;)i[i.length]=e[r],r+=1;return i}(t,Ye(r,e))}),[],t)}));const ar=s((function(t,e){var r=Yt(t,e);return Yt(t,(function(){return ke(cr,Ye(r,arguments[0]),Array.prototype.slice.call(arguments,1))}))}));const ur=i((function(t){return ar(t.length,t)}));const lr=s((function(t,e){return ae(t)?function(){return t.apply(this,arguments)&&e.apply(this,arguments)}:ur(nr)(t,e)}));const fr=s((function(t,e){return Yt(ee(He,0,We("length",e)),(function(){var r=arguments,n=this;return t.apply(n,je((function(t){return t.apply(n,r)}),e))}))}));function pr(t){return t}const yr=i(pr);const gr=Yt(1,ie(mt,Ze("Number")));var hr=lr(gr,isFinite);var dr=Yt(1,hr);const vr=rr(Number.isFinite)?Yt(1,Kt(Number.isFinite,Number)):dr;var mr=lr(vr,fr(we,[Math.floor,yr]));var br=Yt(1,mr);const xr=rr(Number.isInteger)?Yt(1,Kt(Number.isInteger,Number)):br;const Sr=i((function(t){return Yt(t.length,(function(e,r){var n=Array.prototype.slice.call(arguments,0);return n[0]=r,n[1]=e,t.apply(this,n)}))}));const wr=ur(i((function(t){return!t})))(vr);const Or=Yt(1,lr(gr,s((function(t,e){return t>e}))(0)));var jr=Gt((function(t,e){var r=Number(e);if(r!==e&&(r=0),Or(r))throw new RangeError("repeat count must be non-negative");if(wr(r))throw new RangeError("repeat count must be less than infinity");if(r=Math.floor(r),0===t.length||0===r)return"";if(t.length*r>=1<<28)throw new RangeError("repeat count must not overflow maximum string size");var n=t.length*r;r=Math.floor(Math.log(r)/Math.log(2));for(var o=t;r;)o+=t,r-=1;return o+=o.substring(0,n-o.length)})),Er=Sr(_e(1,"repeat"));const Ar=rr(String.prototype.repeat)?Er:jr;var Tr=i((function(t){return function(){return t}}))(void 0);const kr=we(Tr());const Pr=Ft((function(t,e,r){return r.replace(t,e)}));var Nr=Pr(/[\s\uFEFF\xA0]+$/,""),Mr=_e(0,"trimEnd");const Cr=rr(String.prototype.trimEnd)?Mr:Nr;var Fr=Pr(/^[\s\uFEFF\xA0]+/,""),Ir=_e(0,"trimStart");const Lr=rr(String.prototype.trimStart)?Ir:Fr;var Rr=function(){function t(t,e){this.xf=e,this.f=t}return t.prototype["@@transducer/init"]=Ne,t.prototype["@@transducer/result"]=Me,t.prototype["@@transducer/step"]=function(t,e){if(this.f){if(this.f(e))return t;this.f=null}return this.xf["@@transducer/step"](t,e)},t}();function Dr(t){return function(e){return new Rr(t,e)}}const _r=s(Pe(["dropWhile"],Dr,(function(t,e){for(var r=0,n=e.length;r<n&&t(e[r]);)r+=1;return ne(r,1/0,e)})));const Ur=Sr(s(Oe));const qr=Gt((function(t,e){return ie(Ue(""),_r(Ur(t)),Ge(""))(e)}));const Yr=Sr(ze);var Gr=r(2770);const Jr=/^(?<style>[|>])(?<chomping>[+-]?)(?<indentation>[0-9]*)\s/,$r=t=>{const e=(t=>{const e=t.match(Jr),r=_t("",["groups","indentation"],e);return Be(r)?void 0:parseInt(r,10)})(t);if(xr(e))return Ar(" ",e);const r=_t("",[1],t.split("\n")),n=_t(0,["groups","indentation","length"],r.match(/^(?<indentation>[ ]*)/));return Ar(" ",n)},Vr=t=>{const e=t.match(Jr),r=_t("",["groups","chomping"],e);return Be(r)?void 0:r},zr=(t,e)=>kr(t)?`${Cr(e)}\n`:"-"===t?Cr(e):e,Br=t=>t.replace(/\r\n/g,"\n"),Hr=t=>t.replace(/(\n)?\n([^\n]+)/g,((t,e,r)=>e?t:` ${r.trimStart()}`)).replace(/[\n]{2}/g,"\n"),Kr=Gt(((t,e)=>e.replace(new RegExp(`^${t}`),"").replace(new RegExp(`${t}$`),""))),Wr=ie(Br,ce,Hr,Ue("\n"),Ye(Lr),Ge("\n")),Qr=ie(Br,ce,Kr("'"),Hr,Ue("\n"),Ye(Lr),Ge("\n")),Xr=ie(Br,ce,Kr('"'),(t=>t.replace(/\\\n\s*/g,"")),Hr,Gr.S6,Ue("\n"),Ye(Lr),Ge("\n"));const Zr=class{static test(t){return t.tag.kind===yt.Scalar&&"string"==typeof t.content}static canonicalFormat(t){let e=t.content;const r=t.clone();return t.style===dt.Plain?e=Wr(t.content):t.style===dt.SingleQuoted?e=Qr(t.content):t.style===dt.DoubleQuoted?e=Xr(t.content):t.style===dt.Literal?e=(t=>{const e=$r(t),r=Vr(t),n=Br(t),o=oe(n.split("\n")),i=$e(Ye(qr(e)),Ye(Yr("\n"))),s=Ve(i,ze,"",o);return zr(r,s)})(t.content):t.style===dt.Folded&&(e=(t=>{const e=$r(t),r=Vr(t),n=Br(t),o=oe(n.split("\n")),i=$e(Ye(qr(e)),Ye(Yr("\n"))),s=Ve(i,ze,"",o),c=Hr(s);return zr(r,c)})(t.content)),r.content=e,r}static resolve(t){return t}};const tn=class{constructor(){this.tags=[],this.tagDirectives=[],this.registerTag(new Nt),this.registerTag(new Mt),this.registerTag(new Ct)}toSpecificTagName(t){let e=t.tag.explicitName;return"!"===t.tag.explicitName?t.tag.kind===yt.Scalar?e=Ct.uri:t.tag.kind===yt.Sequence?e=Mt.uri:t.tag.kind===yt.Mapping&&(e=Nt.uri):t.tag.explicitName.startsWith("!<")?e=t.tag.explicitName.replace(/^!</,"").replace(/>$/,""):t.tag.explicitName.startsWith("!!")&&(e=`tag:yaml.org,2002:${t.tag.explicitName.replace(/^!!/,"")}`),e}registerTagDirective(t){this.tagDirectives.push({handle:t.parameters.handle,prefix:t.parameters.prefix})}registerTag(t,e=!1){return e?this.tags.unshift(t):this.tags.push(t),this}overrideTag(t){return this.tags=this.tags.filter((e=>e.tag===t.tag)),this.tags.push(t),this}resolve(t){const e=this.toSpecificTagName(t);if("?"===e)return t;let r=t;Zr.test(t)&&(r=Zr.canonicalFormat(t));const n=this.tags.find((t=>t?.tag===e));if(void 0===n)throw new kt(`Tag "${e}" was not recognized.`,{specificTagName:e,explicitTagName:t.tag.explicitName,tagKind:t.tag.kind,tagPosition:St(t.tag.position),node:t.clone()});if(!n.test(r))throw new kt(`Node couldn't be resolved against the tag "${e}"`,{specificTagName:e,explicitTagName:t.tag.explicitName,tagKind:t.tag.kind,tagPosition:St(t.tag.position),nodeCanonicalContent:r.content,node:t.clone()});return n.resolve(r)}};const en=class extends Pt{static uri="tag:yaml.org,2002:bool";test(t){return/^(true|false)$/.test(t.content)}resolve(t){const e="true"===t.content,r=t.clone();return r.content=e,r}};const rn=class extends Pt{static uri="tag:yaml.org,2002:float";test(t){return/^-?(0|[1-9][0-9]*)(\.[0-9]*)?([eE][-+]?[0-9]+)?$/.test(t.content)}resolve(t){const e=parseFloat(t.content),r=t.clone();return r.content=e,r}};const nn=class extends Pt{static uri="tag:yaml.org,2002:int";test(t){return/^-?(0|[1-9][0-9]*)$/.test(t.content)}resolve(t){const e=parseInt(t.content,10),r=t.clone();return r.content=e,r}};const on=class extends Pt{static uri="tag:yaml.org,2002:null";test(t){return/^null$/.test(t.content)}resolve(t){const e=t.clone();return e.content=null,e}};const sn=class extends tn{constructor(){super(),this.registerTag(new en,!0),this.registerTag(new rn,!0),this.registerTag(new nn,!0),this.registerTag(new on,!0)}toSpecificTagName(t){let e=super.toSpecificTagName(t);if("?"===e)if(t.tag.vkind===yt.Sequence)e=Mt.uri;else if(t.tag.kind===yt.Mapping)e=Nt.uri;else if(t.tag.kind===yt.Scalar){const r=this.tags.find((e=>e.test(t)));e=r?.tag||"?"}return e}};const cn=class extends t{static type="literal";constructor({value:t,...e}={}){super({...e}),this.value=t}};class an{static type="point";type=an.type;constructor({row:t,column:e,char:r}){this.row=t,this.column=e,this.char=r}}class un{static type="position";type=un.type;constructor({start:t,end:e}){this.start=t,this.end=e}}const ln=un;const fn=class extends t{static type="error";constructor({value:t,isUnexpected:e=!1,...r}={}){super({...r}),this.value=t,this.isUnexpected=e}};const pn=class extends t{static type="parseResult";get rootNode(){return u(this.children)}},yn=(t,e,r)=>{const n=t[e];if(null!=n){if(!r&&"function"==typeof n)return n;const t=r?n.leave:n.enter;if("function"==typeof t)return t}else{const n=r?t.leave:t.enter;if(null!=n){if("function"==typeof n)return n;const t=n[e];if("function"==typeof t)return t}}return null},gn={},hn=t=>t?.type,dn=t=>"string"==typeof hn(t),vn=t=>Object.create(Object.getPrototypeOf(t),Object.getOwnPropertyDescriptors(t)),mn=(t,{visitFnGetter:e=yn,nodeTypeGetter:r=hn,breakSymbol:n=gn,deleteNodeSymbol:o=null,skipVisitingNodeSymbol:i=!1,exposeEdits:s=!1}={})=>{const c=Symbol("skip"),a=new Array(t.length).fill(c);return{enter(u,...l){let f=u,p=!1;for(let y=0;y<t.length;y+=1)if(a[y]===c){const c=e(t[y],r(f),!1);if("function"==typeof c){const e=c.call(t[y],f,...l);if(e===i)a[y]=u;else if(e===n)a[y]=n;else{if(e===o)return e;if(void 0!==e){if(!s)return e;f=e,p=!0}}}}return p?f:void 0},leave(o,...s){for(let u=0;u<t.length;u+=1)if(a[u]===c){const c=e(t[u],r(o),!0);if("function"==typeof c){const e=c.call(t[u],o,...s);if(e===n)a[u]=n;else if(void 0!==e&&e!==i)return e}}else a[u]===o&&(a[u]=c)}}},bn=(t,e,{keyMap:r=null,state:n={},breakSymbol:o=gn,deleteNodeSymbol:i=null,skipVisitingNodeSymbol:s=!1,visitFnGetter:c=yn,nodeTypeGetter:a=hn,nodePredicate:u=dn,nodeCloneFn:l=vn,detectCycles:f=!0}={})=>{const p=r||{};let y,g,h=Array.isArray(t),d=[t],v=-1,m=[],b=t;const x=[],S=[];do{v+=1;const t=v===d.length;let r;const w=t&&0!==m.length;if(t){if(r=0===S.length?void 0:x.pop(),b=g,g=S.pop(),w)if(h){b=b.slice();let t=0;for(const[e,r]of m){const n=e-t;r===i?(b.splice(n,1),t+=1):b[n]=r}}else{b=l(b);for(const[t,e]of m)b[t]=e}v=y.index,d=y.keys,m=y.edits,h=y.inArray,y=y.prev}else if(g!==i&&void 0!==g){if(r=h?v:d[v],b=g[r],b===i||void 0===b)continue;x.push(r)}let O;if(!Array.isArray(b)){if(!u(b))throw new At(`Invalid AST Node: ${String(b)}`,{node:b});if(f&&S.includes(b)){x.pop();continue}const i=c(e,a(b),t);if(i){for(const[t,r]of Object.entries(n))e[t]=r;O=i.call(e,b,r,g,x,S)}if(O===o)break;if(O===s){if(!t){x.pop();continue}}else if(void 0!==O&&(m.push([r,O]),!t)){if(!u(O)){x.pop();continue}b=O}}void 0===O&&w&&m.push([r,b]),t||(y={inArray:h,index:v,keys:d,edits:m,prev:y},h=Array.isArray(b),d=h?b:p[a(b)]??[],v=-1,m=[],g!==i&&void 0!==g&&S.push(g),g=b)}while(void 0!==y);return 0!==m.length?m[m.length-1][1]:t};bn[Symbol.for("nodejs.util.promisify.custom")]=async(t,e,{keyMap:r=null,state:n={},breakSymbol:o=gn,deleteNodeSymbol:i=null,skipVisitingNodeSymbol:s=!1,visitFnGetter:c=yn,nodeTypeGetter:a=hn,nodePredicate:u=dn,nodeCloneFn:l=vn,detectCycles:f=!0}={})=>{const p=r||{};let y,g,h=Array.isArray(t),d=[t],v=-1,m=[],b=t;const x=[],S=[];do{v+=1;const t=v===d.length;let r;const w=t&&0!==m.length;if(t){if(r=0===S.length?void 0:x.pop(),b=g,g=S.pop(),w)if(h){b=b.slice();let t=0;for(const[e,r]of m){const n=e-t;r===i?(b.splice(n,1),t+=1):b[n]=r}}else{b=l(b);for(const[t,e]of m)b[t]=e}v=y.index,d=y.keys,m=y.edits,h=y.inArray,y=y.prev}else if(g!==i&&void 0!==g){if(r=h?v:d[v],b=g[r],b===i||void 0===b)continue;x.push(r)}let O;if(!Array.isArray(b)){if(!u(b))throw new At(`Invalid AST Node: ${String(b)}`,{node:b});if(f&&S.includes(b)){x.pop();continue}const i=c(e,a(b),t);if(i){for(const[t,r]of Object.entries(n))e[t]=r;O=await i.call(e,b,r,g,x,S)}if(O===o)break;if(O===s){if(!t){x.pop();continue}}else if(void 0!==O&&(m.push([r,O]),!t)){if(!u(O)){x.pop();continue}b=O}}void 0===O&&w&&m.push([r,b]),t||(y={inArray:h,index:v,keys:d,edits:m,prev:y},h=Array.isArray(b),d=h?b:p[a(b)]??[],v=-1,m=[],g!==i&&void 0!==g&&S.push(g),g=b)}while(void 0!==y);return 0!==m.length?m[m.length-1][1]:t}})(),n})()));
|
1
|
+
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.apidomAST=e():t.apidomAST=e()}(self,(()=>(()=>{var t={4160:(t,e)=>{"use strict";var r;Object.defineProperty(e,"__esModule",{value:!0}),e.errorMessages=e.ErrorType=void 0,function(t){t.MalformedUnicode="MALFORMED_UNICODE",t.MalformedHexadecimal="MALFORMED_HEXADECIMAL",t.CodePointLimit="CODE_POINT_LIMIT",t.OctalDeprecation="OCTAL_DEPRECATION",t.EndOfString="END_OF_STRING"}(r=e.ErrorType||(e.ErrorType={})),e.errorMessages=new Map([[r.MalformedUnicode,"malformed Unicode character escape sequence"],[r.MalformedHexadecimal,"malformed hexadecimal character escape sequence"],[r.CodePointLimit,"Unicode codepoint must not be greater than 0x10FFFF in escape sequence"],[r.OctalDeprecation,'"0"-prefixed octal literals and octal escape sequences are deprecated; for octal literals use the "0o" prefix instead'],[r.EndOfString,"malformed escape sequence at end of string"]])},8640:(t,e,r)=>{"use strict";e.Go=void 0;const n=r(4160);function o(t,e,r){const o=function(t){return t.match(/[^a-f0-9]/i)?NaN:parseInt(t,16)}(t);if(Number.isNaN(o)||void 0!==r&&r!==t.length)throw new SyntaxError(n.errorMessages.get(e));return o}function i(t,e){const r=o(t,n.ErrorType.MalformedUnicode,4);if(void 0!==e){const t=o(e,n.ErrorType.MalformedUnicode,4);return String.fromCharCode(r,t)}return String.fromCharCode(r)}const s=new Map([["b","\b"],["f","\f"],["n","\n"],["r","\r"],["t","\t"],["v","\v"],["0","\0"]]);const c=/\\(?:(\\)|x([\s\S]{0,2})|u(\{[^}]*\}?)|u([\s\S]{4})\\u([^{][\s\S]{0,3})|u([\s\S]{0,4})|([0-3]?[0-7]{1,2})|([\s\S])|$)/g;function a(t,e=!1){return t.replace(c,(function(t,r,c,a,u,l,f,p,y){if(void 0!==r)return"\\";if(void 0!==c)return function(t){const e=o(t,n.ErrorType.MalformedHexadecimal,2);return String.fromCharCode(e)}(c);if(void 0!==a)return function(t){if("{"!==(e=t).charAt(0)||"}"!==e.charAt(e.length-1))throw new SyntaxError(n.errorMessages.get(n.ErrorType.MalformedUnicode));var e;const r=o(t.slice(1,-1),n.ErrorType.MalformedUnicode);try{return String.fromCodePoint(r)}catch(t){throw t instanceof RangeError?new SyntaxError(n.errorMessages.get(n.ErrorType.CodePointLimit)):t}}(a);if(void 0!==u)return i(u,l);if(void 0!==f)return i(f);if("0"===p)return"\0";if(void 0!==p)return function(t,e=!1){if(e)throw new SyntaxError(n.errorMessages.get(n.ErrorType.OctalDeprecation));const r=parseInt(t,8);return String.fromCharCode(r)}(p,!e);if(void 0!==y)return h=y,s.get(h)||h;var h;throw new SyntaxError(n.errorMessages.get(n.ErrorType.EndOfString))}))}e.Go=a},1204:(t,e,r)=>{t.exports=r(5616)},2772:(t,e,r)=>{"use strict";var n=r(7828);t.exports=n},7984:(t,e,r)=>{"use strict";r(4420),r(8436),r(5936),r(340),r(4176);var n=r(9832);t.exports=n.AggregateError},5616:(t,e,r)=>{"use strict";t.exports=r(9888)},9888:(t,e,r)=>{"use strict";r(2796);var n=r(2772);t.exports=n},28:(t,e,r)=>{"use strict";var n=r(8536),o=r(8944),i=TypeError;t.exports=function(t){if(n(t))return t;throw new i(o(t)+" is not a function")}},1459:(t,e,r)=>{"use strict";var n=r(7432),o=String,i=TypeError;t.exports=function(t){if(n(t))return t;throw new i("Can't set "+o(t)+" as a prototype")}},1472:t=>{"use strict";t.exports=function(){}},2032:(t,e,r)=>{"use strict";var n=r(8608),o=String,i=TypeError;t.exports=function(t){if(n(t))return t;throw new i(o(t)+" is not an object")}},7464:(t,e,r)=>{"use strict";var n=r(445),o=r(4180),i=r(5316),s=function(t){return function(e,r,s){var c,a=n(e),u=i(a),l=o(s,u);if(t&&r!=r){for(;u>l;)if((c=a[l++])!=c)return!0}else for(;u>l;l++)if((t||l in a)&&a[l]===r)return t||l||0;return!t&&-1}};t.exports={includes:s(!0),indexOf:s(!1)}},7936:(t,e,r)=>{"use strict";var n=r(9252),o=n({}.toString),i=n("".slice);t.exports=function(t){return i(o(t),8,-1)}},636:(t,e,r)=>{"use strict";var n=r(6744),o=r(8536),i=r(7936),s=r(3336)("toStringTag"),c=Object,a="Arguments"===i(function(){return arguments}());t.exports=n?i:function(t){var e,r,n;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(r=function(t,e){try{return t[e]}catch(t){}}(e=c(t),s))?r:a?i(e):"Object"===(n=i(e))&&o(e.callee)?"Arguments":n}},1100:(t,e,r)=>{"use strict";var n=r(4664),o=r(7876),i=r(1008),s=r(2280);t.exports=function(t,e,r){for(var c=o(e),a=s.f,u=i.f,l=0;l<c.length;l++){var f=c[l];n(t,f)||r&&n(r,f)||a(t,f,u(e,f))}}},2480:(t,e,r)=>{"use strict";var n=r(2064);t.exports=!n((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}))},3848:t=>{"use strict";t.exports=function(t,e){return{value:t,done:e}}},896:(t,e,r)=>{"use strict";var n=r(9172),o=r(2280),i=r(8981);t.exports=n?function(t,e,r){return o.f(t,e,i(1,r))}:function(t,e,r){return t[e]=r,t}},8981:t=>{"use strict";t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},5424:(t,e,r)=>{"use strict";var n=r(896);t.exports=function(t,e,r,o){return o&&o.enumerable?t[e]=r:n(t,e,r),t}},4408:(t,e,r)=>{"use strict";var n=r(5216),o=Object.defineProperty;t.exports=function(t,e){try{o(n,t,{value:e,configurable:!0,writable:!0})}catch(r){n[t]=e}return e}},9172:(t,e,r)=>{"use strict";var n=r(2064);t.exports=!n((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]}))},1940:(t,e,r)=>{"use strict";var n=r(5216),o=r(8608),i=n.document,s=o(i)&&o(i.createElement);t.exports=function(t){return s?i.createElement(t):{}}},472:t=>{"use strict";t.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},2276:t=>{"use strict";t.exports="undefined"!=typeof navigator&&String(navigator.userAgent)||""},3896:(t,e,r)=>{"use strict";var n,o,i=r(5216),s=r(2276),c=i.process,a=i.Deno,u=c&&c.versions||a&&a.version,l=u&&u.v8;l&&(o=(n=l.split("."))[0]>0&&n[0]<4?1:+(n[0]+n[1])),!o&&s&&(!(n=s.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=s.match(/Chrome\/(\d+)/))&&(o=+n[1]),t.exports=o},3620:t=>{"use strict";t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},9492:(t,e,r)=>{"use strict";var n=r(9252),o=Error,i=n("".replace),s=String(new o("zxcasd").stack),c=/\n\s*at [^:]*:[^\n]*/,a=c.test(s);t.exports=function(t,e){if(a&&"string"==typeof t&&!o.prepareStackTrace)for(;e--;)t=i(t,c,"");return t}},9035:(t,e,r)=>{"use strict";var n=r(896),o=r(9492),i=r(1376),s=Error.captureStackTrace;t.exports=function(t,e,r,c){i&&(s?s(t,e):n(t,"stack",o(r,c)))}},1376:(t,e,r)=>{"use strict";var n=r(2064),o=r(8981);t.exports=!n((function(){var t=new Error("a");return!("stack"in t)||(Object.defineProperty(t,"stack",o(1,7)),7!==t.stack)}))},3952:(t,e,r)=>{"use strict";var n=r(5216),o=r(9867),i=r(1248),s=r(8536),c=r(1008).f,a=r(6155),u=r(9832),l=r(1884),f=r(896),p=r(4664),y=function(t){var e=function(r,n,i){if(this instanceof e){switch(arguments.length){case 0:return new t;case 1:return new t(r);case 2:return new t(r,n)}return new t(r,n,i)}return o(t,this,arguments)};return e.prototype=t.prototype,e};t.exports=function(t,e){var r,o,h,g,d,v,m,b,x,S=t.target,w=t.global,O=t.stat,j=t.proto,E=w?n:O?n[S]:n[S]&&n[S].prototype,A=w?u:u[S]||f(u,S,{})[S],T=A.prototype;for(g in e)o=!(r=a(w?g:S+(O?".":"#")+g,t.forced))&&E&&p(E,g),v=A[g],o&&(m=t.dontCallGetSet?(x=c(E,g))&&x.value:E[g]),d=o&&m?m:e[g],(r||j||typeof v!=typeof d)&&(b=t.bind&&o?l(d,n):t.wrap&&o?y(d):j&&s(d)?i(d):d,(t.sham||d&&d.sham||v&&v.sham)&&f(b,"sham",!0),f(A,g,b),j&&(p(u,h=S+"Prototype")||f(u,h,{}),f(u[h],g,d),t.real&&T&&(r||!T[g])&&f(T,g,d)))}},2064:t=>{"use strict";t.exports=function(t){try{return!!t()}catch(t){return!0}}},9867:(t,e,r)=>{"use strict";var n=r(5200),o=Function.prototype,i=o.apply,s=o.call;t.exports="object"==typeof Reflect&&Reflect.apply||(n?s.bind(i):function(){return s.apply(i,arguments)})},1884:(t,e,r)=>{"use strict";var n=r(1248),o=r(28),i=r(5200),s=n(n.bind);t.exports=function(t,e){return o(t),void 0===e?t:i?s(t,e):function(){return t.apply(e,arguments)}}},5200:(t,e,r)=>{"use strict";var n=r(2064);t.exports=!n((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")}))},4580:(t,e,r)=>{"use strict";var n=r(5200),o=Function.prototype.call;t.exports=n?o.bind(o):function(){return o.apply(o,arguments)}},3564:(t,e,r)=>{"use strict";var n=r(9172),o=r(4664),i=Function.prototype,s=n&&Object.getOwnPropertyDescriptor,c=o(i,"name"),a=c&&"something"===function(){}.name,u=c&&(!n||n&&s(i,"name").configurable);t.exports={EXISTS:c,PROPER:a,CONFIGURABLE:u}},7864:(t,e,r)=>{"use strict";var n=r(9252),o=r(28);t.exports=function(t,e,r){try{return n(o(Object.getOwnPropertyDescriptor(t,e)[r]))}catch(t){}}},1248:(t,e,r)=>{"use strict";var n=r(7936),o=r(9252);t.exports=function(t){if("Function"===n(t))return o(t)}},9252:(t,e,r)=>{"use strict";var n=r(5200),o=Function.prototype,i=o.call,s=n&&o.bind.bind(i,i);t.exports=n?s:function(t){return function(){return i.apply(t,arguments)}}},3464:(t,e,r)=>{"use strict";var n=r(9832),o=r(5216),i=r(8536),s=function(t){return i(t)?t:void 0};t.exports=function(t,e){return arguments.length<2?s(n[t])||s(o[t]):n[t]&&n[t][e]||o[t]&&o[t][e]}},68:(t,e,r)=>{"use strict";var n=r(636),o=r(1636),i=r(9511),s=r(7256),c=r(3336)("iterator");t.exports=function(t){if(!i(t))return o(t,c)||o(t,"@@iterator")||s[n(t)]}},4656:(t,e,r)=>{"use strict";var n=r(4580),o=r(28),i=r(2032),s=r(8944),c=r(68),a=TypeError;t.exports=function(t,e){var r=arguments.length<2?c(t):e;if(o(r))return i(n(r,t));throw new a(s(t)+" is not iterable")}},1636:(t,e,r)=>{"use strict";var n=r(28),o=r(9511);t.exports=function(t,e){var r=t[e];return o(r)?void 0:n(r)}},5216:function(t,e,r){"use strict";var n=function(t){return t&&t.Math===Math&&t};t.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof r.g&&r.g)||n("object"==typeof this&&this)||function(){return this}()||Function("return this")()},4664:(t,e,r)=>{"use strict";var n=r(9252),o=r(2819),i=n({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,e){return i(o(t),e)}},3328:t=>{"use strict";t.exports={}},7896:(t,e,r)=>{"use strict";var n=r(3464);t.exports=n("document","documentElement")},124:(t,e,r)=>{"use strict";var n=r(9172),o=r(2064),i=r(1940);t.exports=!n&&!o((function(){return 7!==Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},2899:(t,e,r)=>{"use strict";var n=r(9252),o=r(2064),i=r(7936),s=Object,c=n("".split);t.exports=o((function(){return!s("z").propertyIsEnumerable(0)}))?function(t){return"String"===i(t)?c(t,""):s(t)}:s},1664:(t,e,r)=>{"use strict";var n=r(8536),o=r(8608),i=r(2288);t.exports=function(t,e,r){var s,c;return i&&n(s=e.constructor)&&s!==r&&o(c=s.prototype)&&c!==r.prototype&&i(t,c),t}},9055:(t,e,r)=>{"use strict";var n=r(8608),o=r(896);t.exports=function(t,e){n(e)&&"cause"in e&&o(t,"cause",e.cause)}},2344:(t,e,r)=>{"use strict";var n,o,i,s=r(3184),c=r(5216),a=r(8608),u=r(896),l=r(4664),f=r(9284),p=r(924),y=r(3328),h="Object already initialized",g=c.TypeError,d=c.WeakMap;if(s||f.state){var v=f.state||(f.state=new d);v.get=v.get,v.has=v.has,v.set=v.set,n=function(t,e){if(v.has(t))throw new g(h);return e.facade=t,v.set(t,e),e},o=function(t){return v.get(t)||{}},i=function(t){return v.has(t)}}else{var m=p("state");y[m]=!0,n=function(t,e){if(l(t,m))throw new g(h);return e.facade=t,u(t,m,e),e},o=function(t){return l(t,m)?t[m]:{}},i=function(t){return l(t,m)}}t.exports={set:n,get:o,has:i,enforce:function(t){return i(t)?o(t):n(t,{})},getterFor:function(t){return function(e){var r;if(!a(e)||(r=o(e)).type!==t)throw new g("Incompatible receiver, "+t+" required");return r}}}},4992:(t,e,r)=>{"use strict";var n=r(3336),o=r(7256),i=n("iterator"),s=Array.prototype;t.exports=function(t){return void 0!==t&&(o.Array===t||s[i]===t)}},8536:t=>{"use strict";var e="object"==typeof document&&document.all;t.exports=void 0===e&&void 0!==e?function(t){return"function"==typeof t||t===e}:function(t){return"function"==typeof t}},6155:(t,e,r)=>{"use strict";var n=r(2064),o=r(8536),i=/#|\.prototype\./,s=function(t,e){var r=a[c(t)];return r===l||r!==u&&(o(e)?n(e):!!e)},c=s.normalize=function(t){return String(t).replace(i,".").toLowerCase()},a=s.data={},u=s.NATIVE="N",l=s.POLYFILL="P";t.exports=s},9511:t=>{"use strict";t.exports=function(t){return null==t}},8608:(t,e,r)=>{"use strict";var n=r(8536);t.exports=function(t){return"object"==typeof t?null!==t:n(t)}},7432:(t,e,r)=>{"use strict";var n=r(8608);t.exports=function(t){return n(t)||null===t}},1016:t=>{"use strict";t.exports=!0},5376:(t,e,r)=>{"use strict";var n=r(3464),o=r(8536),i=r(2360),s=r(6416),c=Object;t.exports=s?function(t){return"symbol"==typeof t}:function(t){var e=n("Symbol");return o(e)&&i(e.prototype,c(t))}},5799:(t,e,r)=>{"use strict";var n=r(1884),o=r(4580),i=r(2032),s=r(8944),c=r(4992),a=r(5316),u=r(2360),l=r(4656),f=r(68),p=r(5872),y=TypeError,h=function(t,e){this.stopped=t,this.result=e},g=h.prototype;t.exports=function(t,e,r){var d,v,m,b,x,S,w,O=r&&r.that,j=!(!r||!r.AS_ENTRIES),E=!(!r||!r.IS_RECORD),A=!(!r||!r.IS_ITERATOR),T=!(!r||!r.INTERRUPTED),k=n(e,O),P=function(t){return d&&p(d,"normal",t),new h(!0,t)},N=function(t){return j?(i(t),T?k(t[0],t[1],P):k(t[0],t[1])):T?k(t,P):k(t)};if(E)d=t.iterator;else if(A)d=t;else{if(!(v=f(t)))throw new y(s(t)+" is not iterable");if(c(v)){for(m=0,b=a(t);b>m;m++)if((x=N(t[m]))&&u(g,x))return x;return new h(!1)}d=l(t,v)}for(S=E?t.next:d.next;!(w=o(S,d)).done;){try{x=N(w.value)}catch(t){p(d,"throw",t)}if("object"==typeof x&&x&&u(g,x))return x}return new h(!1)}},5872:(t,e,r)=>{"use strict";var n=r(4580),o=r(2032),i=r(1636);t.exports=function(t,e,r){var s,c;o(t);try{if(!(s=i(t,"return"))){if("throw"===e)throw r;return r}s=n(s,t)}catch(t){c=!0,s=t}if("throw"===e)throw r;if(c)throw s;return o(s),r}},9976:(t,e,r)=>{"use strict";var n=r(2224).IteratorPrototype,o=r(4488),i=r(8981),s=r(5836),c=r(7256),a=function(){return this};t.exports=function(t,e,r,u){var l=e+" Iterator";return t.prototype=o(n,{next:i(+!u,r)}),s(t,l,!1,!0),c[l]=a,t}},536:(t,e,r)=>{"use strict";var n=r(3952),o=r(4580),i=r(1016),s=r(3564),c=r(8536),a=r(9976),u=r(7800),l=r(2288),f=r(5836),p=r(896),y=r(5424),h=r(3336),g=r(7256),d=r(2224),v=s.PROPER,m=s.CONFIGURABLE,b=d.IteratorPrototype,x=d.BUGGY_SAFARI_ITERATORS,S=h("iterator"),w="keys",O="values",j="entries",E=function(){return this};t.exports=function(t,e,r,s,h,d,A){a(r,e,s);var T,k,P,N=function(t){if(t===h&&L)return L;if(!x&&t&&t in F)return F[t];switch(t){case w:case O:case j:return function(){return new r(this,t)}}return function(){return new r(this)}},M=e+" Iterator",C=!1,F=t.prototype,I=F[S]||F["@@iterator"]||h&&F[h],L=!x&&I||N(h),R="Array"===e&&F.entries||I;if(R&&(T=u(R.call(new t)))!==Object.prototype&&T.next&&(i||u(T)===b||(l?l(T,b):c(T[S])||y(T,S,E)),f(T,M,!0,!0),i&&(g[M]=E)),v&&h===O&&I&&I.name!==O&&(!i&&m?p(F,"name",O):(C=!0,L=function(){return o(I,this)})),h)if(k={values:N(O),keys:d?L:N(w),entries:N(j)},A)for(P in k)(x||C||!(P in F))&&y(F,P,k[P]);else n({target:e,proto:!0,forced:x||C},k);return i&&!A||F[S]===L||y(F,S,L,{name:h}),g[e]=L,k}},2224:(t,e,r)=>{"use strict";var n,o,i,s=r(2064),c=r(8536),a=r(8608),u=r(4488),l=r(7800),f=r(5424),p=r(3336),y=r(1016),h=p("iterator"),g=!1;[].keys&&("next"in(i=[].keys())?(o=l(l(i)))!==Object.prototype&&(n=o):g=!0),!a(n)||s((function(){var t={};return n[h].call(t)!==t}))?n={}:y&&(n=u(n)),c(n[h])||f(n,h,(function(){return this})),t.exports={IteratorPrototype:n,BUGGY_SAFARI_ITERATORS:g}},7256:t=>{"use strict";t.exports={}},5316:(t,e,r)=>{"use strict";var n=r(4596);t.exports=function(t){return n(t.length)}},24:t=>{"use strict";var e=Math.ceil,r=Math.floor;t.exports=Math.trunc||function(t){var n=+t;return(n>0?r:e)(n)}},3080:(t,e,r)=>{"use strict";var n=r(9352);t.exports=function(t,e){return void 0===t?arguments.length<2?"":e:n(t)}},4488:(t,e,r)=>{"use strict";var n,o=r(2032),i=r(6452),s=r(3620),c=r(3328),a=r(7896),u=r(1940),l=r(924),f="prototype",p="script",y=l("IE_PROTO"),h=function(){},g=function(t){return"<"+p+">"+t+"</"+p+">"},d=function(t){t.write(g("")),t.close();var e=t.parentWindow.Object;return t=null,e},v=function(){try{n=new ActiveXObject("htmlfile")}catch(t){}var t,e,r;v="undefined"!=typeof document?document.domain&&n?d(n):(e=u("iframe"),r="java"+p+":",e.style.display="none",a.appendChild(e),e.src=String(r),(t=e.contentWindow.document).open(),t.write(g("document.F=Object")),t.close(),t.F):d(n);for(var o=s.length;o--;)delete v[f][s[o]];return v()};c[y]=!0,t.exports=Object.create||function(t,e){var r;return null!==t?(h[f]=o(t),r=new h,h[f]=null,r[y]=t):r=v(),void 0===e?r:i.f(r,e)}},6452:(t,e,r)=>{"use strict";var n=r(9172),o=r(3109),i=r(2280),s=r(2032),c=r(445),a=r(9547);e.f=n&&!o?Object.defineProperties:function(t,e){s(t);for(var r,n=c(e),o=a(e),u=o.length,l=0;u>l;)i.f(t,r=o[l++],n[r]);return t}},2280:(t,e,r)=>{"use strict";var n=r(9172),o=r(124),i=r(3109),s=r(2032),c=r(2319),a=TypeError,u=Object.defineProperty,l=Object.getOwnPropertyDescriptor,f="enumerable",p="configurable",y="writable";e.f=n?i?function(t,e,r){if(s(t),e=c(e),s(r),"function"==typeof t&&"prototype"===e&&"value"in r&&y in r&&!r[y]){var n=l(t,e);n&&n[y]&&(t[e]=r.value,r={configurable:p in r?r[p]:n[p],enumerable:f in r?r[f]:n[f],writable:!1})}return u(t,e,r)}:u:function(t,e,r){if(s(t),e=c(e),s(r),o)try{return u(t,e,r)}catch(t){}if("get"in r||"set"in r)throw new a("Accessors not supported");return"value"in r&&(t[e]=r.value),t}},1008:(t,e,r)=>{"use strict";var n=r(9172),o=r(4580),i=r(6500),s=r(8981),c=r(445),a=r(2319),u=r(4664),l=r(124),f=Object.getOwnPropertyDescriptor;e.f=n?f:function(t,e){if(t=c(t),e=a(e),l)try{return f(t,e)}catch(t){}if(u(t,e))return s(!o(i.f,t,e),t[e])}},1600:(t,e,r)=>{"use strict";var n=r(2884),o=r(3620).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return n(t,o)}},4060:(t,e)=>{"use strict";e.f=Object.getOwnPropertySymbols},7800:(t,e,r)=>{"use strict";var n=r(4664),o=r(8536),i=r(2819),s=r(924),c=r(2480),a=s("IE_PROTO"),u=Object,l=u.prototype;t.exports=c?u.getPrototypeOf:function(t){var e=i(t);if(n(e,a))return e[a];var r=e.constructor;return o(r)&&e instanceof r?r.prototype:e instanceof u?l:null}},2360:(t,e,r)=>{"use strict";var n=r(9252);t.exports=n({}.isPrototypeOf)},2884:(t,e,r)=>{"use strict";var n=r(9252),o=r(4664),i=r(445),s=r(7464).indexOf,c=r(3328),a=n([].push);t.exports=function(t,e){var r,n=i(t),u=0,l=[];for(r in n)!o(c,r)&&o(n,r)&&a(l,r);for(;e.length>u;)o(n,r=e[u++])&&(~s(l,r)||a(l,r));return l}},9547:(t,e,r)=>{"use strict";var n=r(2884),o=r(3620);t.exports=Object.keys||function(t){return n(t,o)}},6500:(t,e)=>{"use strict";var r={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor,o=n&&!r.call({1:2},1);e.f=o?function(t){var e=n(this,t);return!!e&&e.enumerable}:r},2288:(t,e,r)=>{"use strict";var n=r(7864),o=r(2032),i=r(1459);t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,r={};try{(t=n(Object.prototype,"__proto__","set"))(r,[]),e=r instanceof Array}catch(t){}return function(r,n){return o(r),i(n),e?t(r,n):r.__proto__=n,r}}():void 0)},1616:(t,e,r)=>{"use strict";var n=r(6744),o=r(636);t.exports=n?{}.toString:function(){return"[object "+o(this)+"]"}},416:(t,e,r)=>{"use strict";var n=r(4580),o=r(8536),i=r(8608),s=TypeError;t.exports=function(t,e){var r,c;if("string"===e&&o(r=t.toString)&&!i(c=n(r,t)))return c;if(o(r=t.valueOf)&&!i(c=n(r,t)))return c;if("string"!==e&&o(r=t.toString)&&!i(c=n(r,t)))return c;throw new s("Can't convert object to primitive value")}},7876:(t,e,r)=>{"use strict";var n=r(3464),o=r(9252),i=r(1600),s=r(4060),c=r(2032),a=o([].concat);t.exports=n("Reflect","ownKeys")||function(t){var e=i.f(c(t)),r=s.f;return r?a(e,r(t)):e}},9832:t=>{"use strict";t.exports={}},9360:(t,e,r)=>{"use strict";var n=r(2280).f;t.exports=function(t,e,r){r in t||n(t,r,{configurable:!0,get:function(){return e[r]},set:function(t){e[r]=t}})}},9952:(t,e,r)=>{"use strict";var n=r(9511),o=TypeError;t.exports=function(t){if(n(t))throw new o("Can't call method on "+t);return t}},5836:(t,e,r)=>{"use strict";var n=r(6744),o=r(2280).f,i=r(896),s=r(4664),c=r(1616),a=r(3336)("toStringTag");t.exports=function(t,e,r,u){var l=r?t:t&&t.prototype;l&&(s(l,a)||o(l,a,{configurable:!0,value:e}),u&&!n&&i(l,"toString",c))}},924:(t,e,r)=>{"use strict";var n=r(8852),o=r(6696),i=n("keys");t.exports=function(t){return i[t]||(i[t]=o(t))}},9284:(t,e,r)=>{"use strict";var n=r(5216),o=r(4408),i="__core-js_shared__",s=n[i]||o(i,{});t.exports=s},8852:(t,e,r)=>{"use strict";var n=r(1016),o=r(9284);(t.exports=function(t,e){return o[t]||(o[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.35.1",mode:n?"pure":"global",copyright:"© 2014-2024 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.35.1/LICENSE",source:"https://github.com/zloirock/core-js"})},6392:(t,e,r)=>{"use strict";var n=r(9252),o=r(5016),i=r(9352),s=r(9952),c=n("".charAt),a=n("".charCodeAt),u=n("".slice),l=function(t){return function(e,r){var n,l,f=i(s(e)),p=o(r),y=f.length;return p<0||p>=y?t?"":void 0:(n=a(f,p))<55296||n>56319||p+1===y||(l=a(f,p+1))<56320||l>57343?t?c(f,p):n:t?u(f,p,p+2):l-56320+(n-55296<<10)+65536}};t.exports={codeAt:l(!1),charAt:l(!0)}},5235:(t,e,r)=>{"use strict";var n=r(3896),o=r(2064),i=r(5216).String;t.exports=!!Object.getOwnPropertySymbols&&!o((function(){var t=Symbol("symbol detection");return!i(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&n&&n<41}))},4180:(t,e,r)=>{"use strict";var n=r(5016),o=Math.max,i=Math.min;t.exports=function(t,e){var r=n(t);return r<0?o(r+e,0):i(r,e)}},445:(t,e,r)=>{"use strict";var n=r(2899),o=r(9952);t.exports=function(t){return n(o(t))}},5016:(t,e,r)=>{"use strict";var n=r(24);t.exports=function(t){var e=+t;return e!=e||0===e?0:n(e)}},4596:(t,e,r)=>{"use strict";var n=r(5016),o=Math.min;t.exports=function(t){var e=n(t);return e>0?o(e,9007199254740991):0}},2819:(t,e,r)=>{"use strict";var n=r(9952),o=Object;t.exports=function(t){return o(n(t))}},3504:(t,e,r)=>{"use strict";var n=r(4580),o=r(8608),i=r(5376),s=r(1636),c=r(416),a=r(3336),u=TypeError,l=a("toPrimitive");t.exports=function(t,e){if(!o(t)||i(t))return t;var r,a=s(t,l);if(a){if(void 0===e&&(e="default"),r=n(a,t,e),!o(r)||i(r))return r;throw new u("Can't convert object to primitive value")}return void 0===e&&(e="number"),c(t,e)}},2319:(t,e,r)=>{"use strict";var n=r(3504),o=r(5376);t.exports=function(t){var e=n(t,"string");return o(e)?e:e+""}},6744:(t,e,r)=>{"use strict";var n={};n[r(3336)("toStringTag")]="z",t.exports="[object z]"===String(n)},9352:(t,e,r)=>{"use strict";var n=r(636),o=String;t.exports=function(t){if("Symbol"===n(t))throw new TypeError("Cannot convert a Symbol value to a string");return o(t)}},8944:t=>{"use strict";var e=String;t.exports=function(t){try{return e(t)}catch(t){return"Object"}}},6696:(t,e,r)=>{"use strict";var n=r(9252),o=0,i=Math.random(),s=n(1..toString);t.exports=function(t){return"Symbol("+(void 0===t?"":t)+")_"+s(++o+i,36)}},6416:(t,e,r)=>{"use strict";var n=r(5235);t.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},3109:(t,e,r)=>{"use strict";var n=r(9172),o=r(2064);t.exports=n&&o((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},3184:(t,e,r)=>{"use strict";var n=r(5216),o=r(8536),i=n.WeakMap;t.exports=o(i)&&/native code/.test(String(i))},3336:(t,e,r)=>{"use strict";var n=r(5216),o=r(8852),i=r(4664),s=r(6696),c=r(5235),a=r(6416),u=n.Symbol,l=o("wks"),f=a?u.for||u:u&&u.withoutSetter||s;t.exports=function(t){return i(l,t)||(l[t]=c&&i(u,t)?u[t]:f("Symbol."+t)),l[t]}},5960:(t,e,r)=>{"use strict";var n=r(3464),o=r(4664),i=r(896),s=r(2360),c=r(2288),a=r(1100),u=r(9360),l=r(1664),f=r(3080),p=r(9055),y=r(9035),h=r(9172),g=r(1016);t.exports=function(t,e,r,d){var v="stackTraceLimit",m=d?2:1,b=t.split("."),x=b[b.length-1],S=n.apply(null,b);if(S){var w=S.prototype;if(!g&&o(w,"cause")&&delete w.cause,!r)return S;var O=n("Error"),j=e((function(t,e){var r=f(d?e:t,void 0),n=d?new S(t):new S;return void 0!==r&&i(n,"message",r),y(n,j,n.stack,2),this&&s(w,this)&&l(n,this,j),arguments.length>m&&p(n,arguments[m]),n}));if(j.prototype=w,"Error"!==x?c?c(j,O):a(j,O,{name:!0}):h&&v in S&&(u(j,S,v),u(j,S,"prepareStackTrace")),a(j,S),!g)try{w.name!==x&&i(w,"name",x),w.constructor=j}catch(t){}return j}}},5936:(t,e,r)=>{"use strict";var n=r(3952),o=r(3464),i=r(9867),s=r(2064),c=r(5960),a="AggregateError",u=o(a),l=!s((function(){return 1!==u([1]).errors[0]}))&&s((function(){return 7!==u([1],a,{cause:7}).cause}));n({global:!0,constructor:!0,arity:2,forced:l},{AggregateError:c(a,(function(t){return function(e,r){return i(t,this,arguments)}}),l,!0)})},9232:(t,e,r)=>{"use strict";var n=r(3952),o=r(2360),i=r(7800),s=r(2288),c=r(1100),a=r(4488),u=r(896),l=r(8981),f=r(9055),p=r(9035),y=r(5799),h=r(3080),g=r(3336)("toStringTag"),d=Error,v=[].push,m=function(t,e){var r,n=o(b,this);s?r=s(new d,n?i(this):b):(r=n?this:a(b),u(r,g,"Error")),void 0!==e&&u(r,"message",h(e)),p(r,m,r.stack,1),arguments.length>2&&f(r,arguments[2]);var c=[];return y(t,v,{that:c}),u(r,"errors",c),r};s?s(m,d):c(m,d,{name:!0});var b=m.prototype=a(d.prototype,{constructor:l(1,m),message:l(1,""),name:l(1,"AggregateError")});n({global:!0,constructor:!0,arity:2},{AggregateError:m})},8436:(t,e,r)=>{"use strict";r(9232)},340:(t,e,r)=>{"use strict";var n=r(445),o=r(1472),i=r(7256),s=r(2344),c=r(2280).f,a=r(536),u=r(3848),l=r(1016),f=r(9172),p="Array Iterator",y=s.set,h=s.getterFor(p);t.exports=a(Array,"Array",(function(t,e){y(this,{type:p,target:n(t),index:0,kind:e})}),(function(){var t=h(this),e=t.target,r=t.index++;if(!e||r>=e.length)return t.target=void 0,u(void 0,!0);switch(t.kind){case"keys":return u(r,!1);case"values":return u(e[r],!1)}return u([r,e[r]],!1)}),"values");var g=i.Arguments=i.Array;if(o("keys"),o("values"),o("entries"),!l&&f&&"values"!==g.name)try{c(g,"name",{value:"values"})}catch(t){}},4420:(t,e,r)=>{"use strict";var n=r(3952),o=r(5216),i=r(9867),s=r(5960),c="WebAssembly",a=o[c],u=7!==new Error("e",{cause:7}).cause,l=function(t,e){var r={};r[t]=s(t,e,u),n({global:!0,constructor:!0,arity:1,forced:u},r)},f=function(t,e){if(a&&a[t]){var r={};r[t]=s(c+"."+t,e,u),n({target:c,stat:!0,constructor:!0,arity:1,forced:u},r)}};l("Error",(function(t){return function(e){return i(t,this,arguments)}})),l("EvalError",(function(t){return function(e){return i(t,this,arguments)}})),l("RangeError",(function(t){return function(e){return i(t,this,arguments)}})),l("ReferenceError",(function(t){return function(e){return i(t,this,arguments)}})),l("SyntaxError",(function(t){return function(e){return i(t,this,arguments)}})),l("TypeError",(function(t){return function(e){return i(t,this,arguments)}})),l("URIError",(function(t){return function(e){return i(t,this,arguments)}})),f("CompileError",(function(t){return function(e){return i(t,this,arguments)}})),f("LinkError",(function(t){return function(e){return i(t,this,arguments)}})),f("RuntimeError",(function(t){return function(e){return i(t,this,arguments)}}))},4176:(t,e,r)=>{"use strict";var n=r(6392).charAt,o=r(9352),i=r(2344),s=r(536),c=r(3848),a="String Iterator",u=i.set,l=i.getterFor(a);s(String,"String",(function(t){u(this,{type:a,string:o(t),index:0})}),(function(){var t,e=l(this),r=e.string,o=e.index;return o>=r.length?c(void 0,!0):(t=n(r,o),e.index+=t.length,c(t,!1))}))},2796:(t,e,r)=>{"use strict";r(8436)},3624:(t,e,r)=>{"use strict";r(340);var n=r(472),o=r(5216),i=r(5836),s=r(7256);for(var c in n)i(o[c],c),s[c]=s.Array},7828:(t,e,r)=>{"use strict";r(2796);var n=r(7984);r(3624),t.exports=n}},e={};function r(n){var o=e[n];if(void 0!==o)return o.exports;var i=e[n]={exports:{}};return t[n].call(i.exports,i,i.exports,r),i.exports}r.d=(t,e)=>{for(var n in e)r.o(e,n)&&!r.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),r.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),r.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var n={};return(()=>{"use strict";r.r(n),r.d(n,{BREAK:()=>bn,Error:()=>dn,JsonArray:()=>N,JsonDocument:()=>l,JsonEscapeSequence:()=>L,JsonFalse:()=>Y,JsonKey:()=>F,JsonNode:()=>e,JsonNull:()=>U,JsonNumber:()=>R,JsonObject:()=>k,JsonProperty:()=>P,JsonString:()=>C,JsonStringContent:()=>I,JsonTrue:()=>D,JsonValue:()=>M,Literal:()=>pn,ParseResult:()=>vn,Point:()=>yn,Position:()=>gn,YamlAlias:()=>_,YamlAnchor:()=>vt,YamlCollection:()=>G,YamlComment:()=>J,YamlDirective:()=>B,YamlDocument:()=>K,YamlError:()=>Pt,YamlFailsafeSchema:()=>nn,YamlJsonSchema:()=>un,YamlKeyValuePair:()=>ct,YamlMapping:()=>ut,YamlNode:()=>q,YamlNodeKind:()=>gt,YamlReferenceError:()=>ln,YamlReferenceManager:()=>fn,YamlScalar:()=>lt,YamlSchemaError:()=>Nt,YamlSequence:()=>pt,YamlStream:()=>ht,YamlStyle:()=>mt,YamlStyleGroup:()=>bt,YamlTag:()=>dt,YamlTagError:()=>Mt,cloneNode:()=>wn,getNodeType:()=>xn,getVisitFn:()=>mn,isJsonArray:()=>w,isJsonDocument:()=>d,isJsonEscapeSequence:()=>E,isJsonFalse:()=>m,isJsonKey:()=>T,isJsonNull:()=>x,isJsonNumber:()=>S,isJsonObject:()=>O,isJsonProperty:()=>A,isJsonString:()=>v,isJsonStringContent:()=>j,isJsonTrue:()=>b,isLiteral:()=>p,isNode:()=>Sn,isParseResult:()=>g,isPoint:()=>h,isPosition:()=>y,isYamlAlias:()=>nt,isYamlAnchor:()=>et,isYamlComment:()=>it,isYamlDirective:()=>ot,isYamlDocument:()=>W,isYamlKeyValuePair:()=>Z,isYamlMapping:()=>Q,isYamlScalar:()=>rt,isYamlSequence:()=>X,isYamlStream:()=>H,isYamlTag:()=>tt,mergeAllVisitors:()=>On,visit:()=>jn});const t=class{static type="node";type="node";isMissing;children;position;constructor({children:t=[],position:e,isMissing:r=!1}={}){this.type=this.constructor.type,this.isMissing=r,this.children=t,this.position=e}clone(){const t=Object.create(Object.getPrototypeOf(this));return Object.getOwnPropertyNames(this).forEach((e=>{const r=Object.getOwnPropertyDescriptor(this,e);Object.defineProperty(t,e,r)})),t}};const e=class extends t{};function o(t){return null!=t&&"object"==typeof t&&!0===t["@@functional/placeholder"]}function i(t){return function e(r){return 0===arguments.length||o(r)?e:t.apply(this,arguments)}}function s(t){return function e(r,n){switch(arguments.length){case 0:return e;case 1:return o(r)?e:i((function(e){return t(r,e)}));default:return o(r)&&o(n)?e:o(r)?i((function(e){return t(e,n)})):o(n)?i((function(e){return t(r,e)})):t(r,n)}}}function c(t){return"[object String]"===Object.prototype.toString.call(t)}const a=s((function(t,e){var r=t<0?e.length+t:t;return c(e)?e.charAt(r):e[r]}));const u=a(0);const l=class extends e{static type="document";get child(){return u(this.children)}},f=(t,e)=>null!=e&&"object"==typeof e&&"type"in e&&e.type===t,p=t=>f("literal",t),y=t=>f("position",t),h=t=>f("point",t),g=t=>f("parseResult",t),d=t=>f("document",t),v=t=>f("string",t),m=t=>f("false",t),b=t=>f("true",t),x=t=>f("null",t),S=t=>f("number",t),w=t=>f("array",t),O=t=>f("object",t),j=t=>f("stringContent",t),E=t=>f("escapeSequence",t),A=t=>f("property",t),T=t=>f("key",t);const k=class extends e{static type="object";get properties(){return this.children.filter(A)}};const P=class extends e{static type="property";get key(){return this.children.find(T)}get value(){return this.children.find((t=>m(t)||b(t)||x(t)||S(t)||v(t)||w(t)||O(t)))}};const N=class extends e{static type="array";get items(){return this.children.filter((t=>m(t)||b(t)||x(t)||S(t)||v(t)||w(t)||O))}};const M=class extends e{static type="value";value;constructor({value:t,...e}){super({...e}),this.value=t}};const C=class extends e{static type="string";get value(){if(1===this.children.length){return this.children[0].value}return this.children.filter((t=>j(t)||E(t))).reduce(((t,e)=>t+e.value),"")}};const F=class extends C{static type="key"};const I=class extends M{static type="stringContent"};const L=class extends M{static type="escapeSequence"};const R=class extends M{static type="number"};const D=class extends M{static type="true"};const Y=class extends M{static type="false"};const U=class extends M{static type="null"};const _=class extends t{static type="alias";content;constructor({content:t,...e}){super({...e}),this.content=t}};const q=class extends t{anchor;tag;style;styleGroup;constructor({anchor:t,tag:e,style:r,styleGroup:n,...o}){super({...o}),this.anchor=t,this.tag=e,this.style=r,this.styleGroup=n}};const G=class extends q{};const J=class extends t{static type="comment";content;constructor({content:t,...e}){super({...e}),this.content=t}};function $(t,e){return Object.prototype.hasOwnProperty.call(e,t)}const V="function"==typeof Object.assign?Object.assign:function(t){if(null==t)throw new TypeError("Cannot convert undefined or null to object");for(var e=Object(t),r=1,n=arguments.length;r<n;){var o=arguments[r];if(null!=o)for(var i in o)$(i,o)&&(e[i]=o[i]);r+=1}return e};const z=s((function(t,e){return V({},t,e)}));const B=class extends t{static type="directive";name;parameters;constructor({name:t,parameters:e,...r}){super({...r}),this.name=t,this.parameters=z({version:void 0,handle:void 0,prefix:void 0},e)}};const K=class extends t{static type="document"},H=t=>f("stream",t),W=t=>f("document",t),Q=t=>f("mapping",t),X=t=>f("sequence",t),Z=t=>f("keyValuePair",t),tt=t=>f("tag",t),et=t=>f("anchor",t),rt=t=>f("scalar",t),nt=t=>f("alias",t),ot=t=>f("directive",t),it=t=>f("comment",t);class st extends t{static type="keyValuePair";styleGroup;constructor({styleGroup:t,...e}){super({...e}),this.styleGroup=t}}Object.defineProperties(st.prototype,{key:{get(){return this.children.filter((t=>rt(t)||Q(t)||X(t)))[0]},enumerable:!0},value:{get(){const{key:t,children:e}=this;return e.filter((e=>(e=>e!==t)(e)&&(t=>rt(t)||Q(t)||X(t)||nt(t))(e)))[0]},enumerable:!0}});const ct=st;class at extends G{static type="mapping"}Object.defineProperty(at.prototype,"content",{get(){return Array.isArray(this.children)?this.children.filter(Z):[]},enumerable:!0});const ut=at;const lt=class extends q{static type="scalar";content;constructor({content:t,...e}){super({...e}),this.content=t}};class ft extends G{static type="sequence"}Object.defineProperty(ft.prototype,"content",{get(){const{children:t}=this;return Array.isArray(t)?t.filter((t=>X(t)||Q(t)||rt(t)||nt(t))):[]},enumerable:!0});const pt=ft;class yt extends t{static type="stream"}Object.defineProperty(yt.prototype,"content",{get(){return Array.isArray(this.children)?this.children.filter((t=>W(t)||it(t))):[]},enumerable:!0});const ht=yt;let gt=function(t){return t.Scalar="Scalar",t.Sequence="Sequence",t.Mapping="Mapping",t}({});const dt=class extends t{static type="tag";explicitName;kind;constructor({explicitName:t,kind:e,...r}){super({...r}),this.explicitName=t,this.kind=e}};const vt=class extends t{static type="anchor";name;constructor({name:t,...e}){super({...e}),this.name=t}};let mt=function(t){return t.Plain="Plain",t.SingleQuoted="SingleQuoted",t.DoubleQuoted="DoubleQuoted",t.Literal="Literal",t.Folded="Folded",t.Explicit="Explicit",t.SinglePair="SinglePair",t.NextLine="NextLine",t.InLine="InLine",t}({}),bt=function(t){return t.Flow="Flow",t.Block="Block",t}({});const xt=i((function(t){return null===t?"Null":void 0===t?"Undefined":Object.prototype.toString.call(t).slice(8,-1)}));function St(t,e,r){if(r||(r=new wt),function(t){var e=typeof t;return null==t||"object"!=e&&"function"!=e}(t))return t;var n,o=function(n){var o=r.get(t);if(o)return o;for(var i in r.set(t,n),t)Object.prototype.hasOwnProperty.call(t,i)&&(n[i]=e?St(t[i],!0,r):t[i]);return n};switch(xt(t)){case"Object":return o(Object.create(Object.getPrototypeOf(t)));case"Array":return o([]);case"Date":return new Date(t.valueOf());case"RegExp":return n=t,new RegExp(n.source,n.flags?n.flags:(n.global?"g":"")+(n.ignoreCase?"i":"")+(n.multiline?"m":"")+(n.sticky?"y":"")+(n.unicode?"u":"")+(n.dotAll?"s":""));case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"BigInt64Array":case"BigUint64Array":return t.slice();default:return t}}var wt=function(){function t(){this.map={},this.length=0}return t.prototype.set=function(t,e){const r=this.hash(t);let n=this.map[r];n||(this.map[r]=n=[]),n.push([t,e]),this.length+=1},t.prototype.hash=function(t){let e=[];for(var r in t)e.push(Object.prototype.toString.call(t[r]));return e.join()},t.prototype.get=function(t){if(this.length<=180){for(const e in this.map){const r=this.map[e];for(let e=0;e<r.length;e+=1){const n=r[e];if(n[0]===t)return n[1]}}return}const e=this.hash(t),r=this.map[e];if(r)for(let e=0;e<r.length;e+=1){const n=r[e];if(n[0]===t)return n[1]}},t}();const Ot=i((function(t){return null!=t&&"function"==typeof t.clone?t.clone():St(t,!0)}));var jt=r(1204);const Et=class extends jt{constructor(t,e,r){if(super(t,e,r),this.name=this.constructor.name,"string"==typeof e&&(this.message=e),"function"==typeof Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error(e).stack,null!=r&&"object"==typeof r&&Object.hasOwn(r,"cause")&&!("cause"in this)){const{cause:t}=r;this.cause=t,t instanceof Error&&"stack"in t&&(this.stack=`${this.stack}\nCAUSE: ${t.stack}`)}}};class At extends Error{static[Symbol.hasInstance](t){return super[Symbol.hasInstance](t)||Function.prototype[Symbol.hasInstance].call(Et,t)}constructor(t,e){if(super(t,e),this.name=this.constructor.name,"string"==typeof t&&(this.message=t),"function"==typeof Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error(t).stack,null!=e&&"object"==typeof e&&Object.hasOwn(e,"cause")&&!("cause"in this)){const{cause:t}=e;this.cause=t,t instanceof Error&&"stack"in t&&(this.stack=`${this.stack}\nCAUSE: ${t.stack}`)}}}const Tt=At;const kt=class extends Tt{constructor(t,e){if(super(t,e),null!=e&&"object"==typeof e){const{cause:t,...r}=e;Object.assign(this,r)}}};const Pt=class extends kt{};const Nt=class extends Pt{};const Mt=class extends Nt{specificTagName;explicitTagName;tagKind;tagPosition;nodeCanonicalContent;node;constructor(t,e){super(t,e),void 0!==e&&(this.specificTagName=e.specificTagName,this.explicitTagName=e.explicitTagName,this.tagKind=e.tagKind,this.tagPosition=e.tagPosition,this.nodeCanonicalContent=e.nodeCanonicalContent,this.node=e.node)}};const Ct=class{static uri="";tag="";constructor(){this.tag=this.constructor.uri}test(t){return!0}resolve(t){return t}};const Ft=class extends Ct{static uri="tag:yaml.org,2002:map";test(t){return t.tag.kind===gt.Mapping}};const It=class extends Ct{static uri="tag:yaml.org,2002:seq";test(t){return t.tag.kind===gt.Sequence}};const Lt=class extends Ct{static uri="tag:yaml.org,2002:str"};function Rt(t){return function e(r,n,c){switch(arguments.length){case 0:return e;case 1:return o(r)?e:s((function(e,n){return t(r,e,n)}));case 2:return o(r)&&o(n)?e:o(r)?s((function(e,r){return t(e,n,r)})):o(n)?s((function(e,n){return t(r,e,n)})):i((function(e){return t(r,n,e)}));default:return o(r)&&o(n)&&o(c)?e:o(r)&&o(n)?s((function(e,r){return t(e,r,c)})):o(r)&&o(c)?s((function(e,r){return t(e,n,r)})):o(n)&&o(c)?s((function(e,n){return t(r,e,n)})):o(r)?i((function(e){return t(e,n,c)})):o(n)?i((function(e){return t(r,e,c)})):o(c)?i((function(e){return t(r,n,e)})):t(r,n,c)}}}const Dt=s((function(t,e){return null==e||e!=e?t:e})),Yt=Number.isInteger||function(t){return t<<0===t};const Ut=s((function(t,e){return t.map((function(t){for(var r,n=e,o=0;o<t.length;){if(null==n)return;r=t[o],n=Yt(r)?a(r,n):n[r],o+=1}return n}))}));const _t=s((function(t,e){return Ut([t],e)[0]}));const qt=Rt((function(t,e,r){return Dt(t,_t(e,r))}));function Gt(t,e){switch(t){case 0:return function(){return e.apply(this,arguments)};case 1:return function(t){return e.apply(this,arguments)};case 2:return function(t,r){return e.apply(this,arguments)};case 3:return function(t,r,n){return e.apply(this,arguments)};case 4:return function(t,r,n,o){return e.apply(this,arguments)};case 5:return function(t,r,n,o,i){return e.apply(this,arguments)};case 6:return function(t,r,n,o,i,s){return e.apply(this,arguments)};case 7:return function(t,r,n,o,i,s,c){return e.apply(this,arguments)};case 8:return function(t,r,n,o,i,s,c,a){return e.apply(this,arguments)};case 9:return function(t,r,n,o,i,s,c,a,u){return e.apply(this,arguments)};case 10:return function(t,r,n,o,i,s,c,a,u,l){return e.apply(this,arguments)};default:throw new Error("First argument to _arity must be a non-negative integer no greater than ten")}}function Jt(t,e,r){return function(){for(var n=[],i=0,s=t,c=0,a=!1;c<e.length||i<arguments.length;){var u;c<e.length&&(!o(e[c])||i>=arguments.length)?u=e[c]:(u=arguments[i],i+=1),n[c]=u,o(u)?a=!0:s-=1,c+=1}return!a&&s<=0?r.apply(this,n):Gt(Math.max(0,s),Jt(t,n,r))}}const $t=s((function(t,e){return 1===t?i(e):Gt(t,Jt(t,[],e))}));const Vt=i((function(t){return $t(t.length,t)}));function zt(t,e){return function(){return e.call(this,t.apply(this,arguments))}}const Bt=Array.isArray||function(t){return null!=t&&t.length>=0&&"[object Array]"===Object.prototype.toString.call(t)};const Kt=i((function(t){return!!Bt(t)||!!t&&("object"==typeof t&&(!c(t)&&(0===t.length||t.length>0&&(t.hasOwnProperty(0)&&t.hasOwnProperty(t.length-1)))))}));var Ht="undefined"!=typeof Symbol?Symbol.iterator:"@@iterator";function Wt(t,e,r){return function(n,o,i){if(Kt(i))return t(n,o,i);if(null==i)return o;if("function"==typeof i["fantasy-land/reduce"])return e(n,o,i,"fantasy-land/reduce");if(null!=i[Ht])return r(n,o,i[Ht]());if("function"==typeof i.next)return r(n,o,i);if("function"==typeof i.reduce)return e(n,o,i,"reduce");throw new TypeError("reduce: list must be array or iterable")}}function Qt(t,e,r){for(var n=0,o=r.length;n<o;){if((e=t["@@transducer/step"](e,r[n]))&&e["@@transducer/reduced"]){e=e["@@transducer/value"];break}n+=1}return t["@@transducer/result"](e)}const Xt=s((function(t,e){return Gt(t.length,(function(){return t.apply(e,arguments)}))}));function Zt(t,e,r){for(var n=r.next();!n.done;){if((e=t["@@transducer/step"](e,n.value))&&e["@@transducer/reduced"]){e=e["@@transducer/value"];break}n=r.next()}return t["@@transducer/result"](e)}function te(t,e,r,n){return t["@@transducer/result"](r[n](Xt(t["@@transducer/step"],t),e))}const ee=Wt(Qt,te,Zt);var re=function(){function t(t){this.f=t}return t.prototype["@@transducer/init"]=function(){throw new Error("init not implemented on XWrap")},t.prototype["@@transducer/result"]=function(t){return t},t.prototype["@@transducer/step"]=function(t,e){return this.f(t,e)},t}();function ne(t){return new re(t)}const oe=Rt((function(t,e,r){return ee("function"==typeof t?ne(t):t,e,r)}));function ie(t,e){return function(){var r=arguments.length;if(0===r)return e();var n=arguments[r-1];return Bt(n)||"function"!=typeof n[t]?e.apply(this,arguments):n[t].apply(n,Array.prototype.slice.call(arguments,0,r-1))}}const se=Rt(ie("slice",(function(t,e,r){return Array.prototype.slice.call(r,t,e)})));const ce=i(ie("tail",se(1,1/0)));function ae(){if(0===arguments.length)throw new Error("pipe requires at least one argument");return Gt(arguments[0].length,oe(zt,arguments[0],ce(arguments)))}var ue="\t\n\v\f\r \u2028\u2029\ufeff";const le=i("function"==typeof String.prototype.trim&&!ue.trim()&&"".trim()?function(t){return t.trim()}:function(t){var e=new RegExp("^["+ue+"]["+ue+"]*"),r=new RegExp("["+ue+"]["+ue+"]*$");return t.replace(e,"").replace(r,"")});function fe(t){var e=Object.prototype.toString.call(t);return"[object Function]"===e||"[object AsyncFunction]"===e||"[object GeneratorFunction]"===e||"[object AsyncGeneratorFunction]"===e}function pe(t){for(var e,r=[];!(e=t.next()).done;)r.push(e.value);return r}function ye(t,e,r){for(var n=0,o=r.length;n<o;){if(t(e,r[n]))return!0;n+=1}return!1}const he="function"==typeof Object.is?Object.is:function(t,e){return t===e?0!==t||1/t==1/e:t!=t&&e!=e};var ge=Object.prototype.toString;const de=function(){return"[object Arguments]"===ge.call(arguments)?function(t){return"[object Arguments]"===ge.call(t)}:function(t){return $("callee",t)}}();var ve=!{toString:null}.propertyIsEnumerable("toString"),me=["constructor","valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],be=function(){return arguments.propertyIsEnumerable("length")}(),xe=function(t,e){for(var r=0;r<t.length;){if(t[r]===e)return!0;r+=1}return!1},Se="function"!=typeof Object.keys||be?i((function(t){if(Object(t)!==t)return[];var e,r,n=[],o=be&&de(t);for(e in t)!$(e,t)||o&&"length"===e||(n[n.length]=e);if(ve)for(r=me.length-1;r>=0;)$(e=me[r],t)&&!xe(n,e)&&(n[n.length]=e),r-=1;return n})):i((function(t){return Object(t)!==t?[]:Object.keys(t)}));const we=Se;function Oe(t,e,r,n){var o=pe(t);function i(t,e){return je(t,e,r.slice(),n.slice())}return!ye((function(t,e){return!ye(i,e,t)}),pe(e),o)}function je(t,e,r,n){if(he(t,e))return!0;var o,i,s=xt(t);if(s!==xt(e))return!1;if("function"==typeof t["fantasy-land/equals"]||"function"==typeof e["fantasy-land/equals"])return"function"==typeof t["fantasy-land/equals"]&&t["fantasy-land/equals"](e)&&"function"==typeof e["fantasy-land/equals"]&&e["fantasy-land/equals"](t);if("function"==typeof t.equals||"function"==typeof e.equals)return"function"==typeof t.equals&&t.equals(e)&&"function"==typeof e.equals&&e.equals(t);switch(s){case"Arguments":case"Array":case"Object":if("function"==typeof t.constructor&&"Promise"===(o=t.constructor,null==(i=String(o).match(/^function (\w*)/))?"":i[1]))return t===e;break;case"Boolean":case"Number":case"String":if(typeof t!=typeof e||!he(t.valueOf(),e.valueOf()))return!1;break;case"Date":if(!he(t.valueOf(),e.valueOf()))return!1;break;case"Error":return t.name===e.name&&t.message===e.message;case"RegExp":if(t.source!==e.source||t.global!==e.global||t.ignoreCase!==e.ignoreCase||t.multiline!==e.multiline||t.sticky!==e.sticky||t.unicode!==e.unicode)return!1}for(var c=r.length-1;c>=0;){if(r[c]===t)return n[c]===e;c-=1}switch(s){case"Map":return t.size===e.size&&Oe(t.entries(),e.entries(),r.concat([t]),n.concat([e]));case"Set":return t.size===e.size&&Oe(t.values(),e.values(),r.concat([t]),n.concat([e]));case"Arguments":case"Array":case"Object":case"Boolean":case"Number":case"String":case"Date":case"Error":case"RegExp":case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"ArrayBuffer":break;default:return!1}var a=we(t);if(a.length!==we(e).length)return!1;var u=r.concat([t]),l=n.concat([e]);for(c=a.length-1;c>=0;){var f=a[c];if(!$(f,e)||!je(e[f],t[f],u,l))return!1;c-=1}return!0}const Ee=s((function(t,e){return je(t,e,[],[])}));function Ae(t,e){return function(t,e,r){var n,o;if("function"==typeof t.indexOf)switch(typeof e){case"number":if(0===e){for(n=1/e;r<t.length;){if(0===(o=t[r])&&1/o===n)return r;r+=1}return-1}if(e!=e){for(;r<t.length;){if("number"==typeof(o=t[r])&&o!=o)return r;r+=1}return-1}return t.indexOf(e,r);case"string":case"boolean":case"function":case"undefined":return t.indexOf(e,r);case"object":if(null===e)return t.indexOf(e,r)}for(;r<t.length;){if(Ee(t[r],e))return r;r+=1}return-1}(e,t,0)>=0}function Te(t,e){for(var r=0,n=e.length,o=Array(n);r<n;)o[r]=t(e[r]),r+=1;return o}function ke(t){return'"'+t.replace(/\\/g,"\\\\").replace(/[\b]/g,"\\b").replace(/\f/g,"\\f").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\t/g,"\\t").replace(/\v/g,"\\v").replace(/\0/g,"\\0").replace(/"/g,'\\"')+'"'}var Pe=function(t){return(t<10?"0":"")+t};const Ne="function"==typeof Date.prototype.toISOString?function(t){return t.toISOString()}:function(t){return t.getUTCFullYear()+"-"+Pe(t.getUTCMonth()+1)+"-"+Pe(t.getUTCDate())+"T"+Pe(t.getUTCHours())+":"+Pe(t.getUTCMinutes())+":"+Pe(t.getUTCSeconds())+"."+(t.getUTCMilliseconds()/1e3).toFixed(3).slice(2,5)+"Z"};function Me(t,e,r){for(var n=0,o=r.length;n<o;)e=t(e,r[n]),n+=1;return e}function Ce(t,e,r){return function(){if(0===arguments.length)return r();var n=arguments[arguments.length-1];if(!Bt(n)){for(var o=0;o<t.length;){if("function"==typeof n[t[o]])return n[t[o]].apply(n,Array.prototype.slice.call(arguments,0,-1));o+=1}if(function(t){return null!=t&&"function"==typeof t["@@transducer/step"]}(n))return e.apply(null,Array.prototype.slice.call(arguments,0,-1))(n)}return r.apply(this,arguments)}}const Fe=function(){return this.xf["@@transducer/init"]()},Ie=function(t){return this.xf["@@transducer/result"](t)};var Le=function(){function t(t,e){this.xf=e,this.f=t}return t.prototype["@@transducer/init"]=Fe,t.prototype["@@transducer/result"]=Ie,t.prototype["@@transducer/step"]=function(t,e){return this.f(e)?this.xf["@@transducer/step"](t,e):t},t}();function Re(t){return function(e){return new Le(t,e)}}const De=s(Ce(["fantasy-land/filter","filter"],Re,(function(t,e){return r=e,"[object Object]"===Object.prototype.toString.call(r)?Me((function(r,n){return t(e[n])&&(r[n]=e[n]),r}),{},we(e)):function(t,e){for(var r=0,n=e.length,o=[];r<n;)t(e[r])&&(o[o.length]=e[r]),r+=1;return o}(t,e);var r})));const Ye=s((function(t,e){return De((r=t,function(){return!r.apply(this,arguments)}),e);var r}));function Ue(t,e){var r=function(r){var n=e.concat([t]);return Ae(r,n)?"<Circular>":Ue(r,n)},n=function(t,e){return Te((function(e){return ke(e)+": "+r(t[e])}),e.slice().sort())};switch(Object.prototype.toString.call(t)){case"[object Arguments]":return"(function() { return arguments; }("+Te(r,t).join(", ")+"))";case"[object Array]":return"["+Te(r,t).concat(n(t,Ye((function(t){return/^\d+$/.test(t)}),we(t)))).join(", ")+"]";case"[object Boolean]":return"object"==typeof t?"new Boolean("+r(t.valueOf())+")":t.toString();case"[object Date]":return"new Date("+(isNaN(t.valueOf())?r(NaN):ke(Ne(t)))+")";case"[object Map]":return"new Map("+r(Array.from(t))+")";case"[object Null]":return"null";case"[object Number]":return"object"==typeof t?"new Number("+r(t.valueOf())+")":1/t==-1/0?"-0":t.toString(10);case"[object Set]":return"new Set("+r(Array.from(t).sort())+")";case"[object String]":return"object"==typeof t?"new String("+r(t.valueOf())+")":ke(t);case"[object Undefined]":return"undefined";default:if("function"==typeof t.toString){var o=t.toString();if("[object Object]"!==o)return o}return"{"+n(t,we(t)).join(", ")+"}"}}const _e=i((function(t){return Ue(t,[])}));const qe=s((function(t,e){return $t(t+1,(function(){var r=arguments[t];if(null!=r&&fe(r[e]))return r[e].apply(r,Array.prototype.slice.call(arguments,0,t));throw new TypeError(_e(r)+' does not have a method named "'+e+'"')}))}));const Ge=qe(1,"split");var Je=function(){function t(t,e){this.xf=e,this.f=t}return t.prototype["@@transducer/init"]=Fe,t.prototype["@@transducer/result"]=Ie,t.prototype["@@transducer/step"]=function(t,e){return this.xf["@@transducer/step"](t,this.f(e))},t}();const $e=s(Ce(["fantasy-land/map","map"],(function(t){return function(e){return new Je(t,e)}}),(function(t,e){switch(Object.prototype.toString.call(e)){case"[object Function]":return $t(e.length,(function(){return t.call(this,e.apply(this,arguments))}));case"[object Object]":return Me((function(r,n){return r[n]=t(e[n]),r}),{},we(e));default:return Te(t,e)}})));const Ve=qe(1,"join");const ze=i((function(t){return c(t)?t.split("").reverse().join(""):Array.prototype.slice.call(t,0).reverse()}));function Be(){if(0===arguments.length)throw new Error("compose requires at least one argument");return ae.apply(this,ze(arguments))}const Ke=$t(4,(function(t,e,r,n){return ee(t("function"==typeof e?ne(e):e),r,n)}));const He=s((function(t,e){if(Bt(t)){if(Bt(e))return t.concat(e);throw new TypeError(_e(e)+" is not an array")}if(c(t)){if(c(e))return t+e;throw new TypeError(_e(e)+" is not a string")}if(null!=t&&fe(t["fantasy-land/concat"]))return t["fantasy-land/concat"](e);if(null!=t&&fe(t.concat))return t.concat(e);throw new TypeError(_e(t)+' does not have a method named "concat" or "fantasy-land/concat"')}));const We=Ee("");const Qe=s((function(t,e){if(t===e)return e;function r(t,e){if(t>e!=e>t)return e>t?e:t}var n=r(t,e);if(void 0!==n)return n;var o=r(typeof t,typeof e);if(void 0!==o)return o===typeof t?t:e;var i=_e(t),s=r(i,_e(e));return void 0!==s&&s===i?t:e}));const Xe=s((function(t,e){if(null!=e)return Yt(t)?a(t,e):e[t]}));const Ze=s((function(t,e){return $e(Xe(t),e)}));const tr=i((function(t){return $t(oe(Qe,0,Ze("length",t)),(function(){for(var e=0,r=t.length;e<r;){if(t[e].apply(this,arguments))return!0;e+=1}return!1}))}));var er=function(t,e){switch(arguments.length){case 0:return er;case 1:return function e(r){return 0===arguments.length?e:he(t,r)};default:return he(t,e)}};const rr=er;const nr=$t(1,ae(xt,rr("GeneratorFunction")));const or=$t(1,ae(xt,rr("AsyncFunction")));const ir=tr([ae(xt,rr("Function")),nr,or]);const sr=s((function(t,e){return t&&e}));function cr(t,e,r){for(var n=r.next();!n.done;)e=t(e,n.value),n=r.next();return e}function ar(t,e,r,n){return r[n](t,e)}const ur=Wt(Me,ar,cr);const lr=s((function(t,e){return"function"==typeof e["fantasy-land/ap"]?e["fantasy-land/ap"](t):"function"==typeof t.ap?t.ap(e):"function"==typeof t?function(r){return t(r)(e(r))}:ur((function(t,r){return function(t,e){var r;e=e||[];var n=(t=t||[]).length,o=e.length,i=[];for(r=0;r<n;)i[i.length]=t[r],r+=1;for(r=0;r<o;)i[i.length]=e[r],r+=1;return i}(t,$e(r,e))}),[],t)}));const fr=s((function(t,e){var r=$t(t,e);return $t(t,(function(){return Me(lr,$e(r,arguments[0]),Array.prototype.slice.call(arguments,1))}))}));const pr=i((function(t){return fr(t.length,t)}));const yr=s((function(t,e){return fe(t)?function(){return t.apply(this,arguments)&&e.apply(this,arguments)}:pr(sr)(t,e)}));const hr=s((function(t,e){return $t(oe(Qe,0,Ze("length",e)),(function(){var r=arguments,n=this;return t.apply(n,Te((function(t){return t.apply(n,r)}),e))}))}));function gr(t){return t}const dr=i(gr);const vr=$t(1,ae(xt,rr("Number")));var mr=yr(vr,isFinite);var br=$t(1,mr);const xr=ir(Number.isFinite)?$t(1,Xt(Number.isFinite,Number)):br;var Sr=yr(xr,hr(Ee,[Math.floor,dr]));var wr=$t(1,Sr);const Or=ir(Number.isInteger)?$t(1,Xt(Number.isInteger,Number)):wr;const jr=i((function(t){return $t(t.length,(function(e,r){var n=Array.prototype.slice.call(arguments,0);return n[0]=r,n[1]=e,t.apply(this,n)}))}));const Er=pr(i((function(t){return!t})))(xr);const Ar=$t(1,yr(vr,s((function(t,e){return t>e}))(0)));var Tr=Vt((function(t,e){var r=Number(e);if(r!==e&&(r=0),Ar(r))throw new RangeError("repeat count must be non-negative");if(Er(r))throw new RangeError("repeat count must be less than infinity");if(r=Math.floor(r),0===t.length||0===r)return"";if(t.length*r>=1<<28)throw new RangeError("repeat count must not overflow maximum string size");var n=t.length*r;r=Math.floor(Math.log(r)/Math.log(2));for(var o=t;r;)o+=t,r-=1;return o+=o.substring(0,n-o.length)})),kr=jr(qe(1,"repeat"));const Pr=ir(String.prototype.repeat)?kr:Tr;var Nr=i((function(t){return function(){return t}}))(void 0);const Mr=Ee(Nr());const Cr=Rt((function(t,e,r){return r.replace(t,e)}));var Fr=Cr(/[\s\uFEFF\xA0]+$/,""),Ir=qe(0,"trimEnd");const Lr=ir(String.prototype.trimEnd)?Ir:Fr;var Rr=Cr(/^[\s\uFEFF\xA0]+/,""),Dr=qe(0,"trimStart");const Yr=ir(String.prototype.trimStart)?Dr:Rr;var Ur=function(){function t(t,e){this.xf=e,this.f=t}return t.prototype["@@transducer/init"]=Fe,t.prototype["@@transducer/result"]=Ie,t.prototype["@@transducer/step"]=function(t,e){if(this.f){if(this.f(e))return t;this.f=null}return this.xf["@@transducer/step"](t,e)},t}();function _r(t){return function(e){return new Ur(t,e)}}const qr=s(Ce(["dropWhile"],_r,(function(t,e){for(var r=0,n=e.length;r<n&&t(e[r]);)r+=1;return se(r,1/0,e)})));const Gr=jr(s(Ae));const Jr=Vt((function(t,e){return ae(Ge(""),qr(Gr(t)),Ve(""))(e)}));const $r=jr(He);var Vr=r(8640);const zr=/^(?<style>[|>])(?<chomping>[+-]?)(?<indentation>[0-9]*)\s/,Br=t=>{const e=(t=>{const e=t.match(zr),r=qt("",["groups","indentation"],e);return We(r)?void 0:parseInt(r,10)})(t);if(Or(e))return Pr(" ",e);const r=qt("",[1],t.split("\n")),n=qt(0,["groups","indentation","length"],r.match(/^(?<indentation>[ ]*)/));return Pr(" ",n)},Kr=t=>{const e=t.match(zr),r=qt("",["groups","chomping"],e);return We(r)?void 0:r},Hr=(t,e)=>Mr(t)?`${Lr(e)}\n`:"-"===t?Lr(e):e,Wr=t=>t.replace(/\r\n/g,"\n"),Qr=t=>t.replace(/(\n)?\n([^\n]+)/g,((t,e,r)=>e?t:` ${r.trimStart()}`)).replace(/[\n]{2}/g,"\n"),Xr=Vt(((t,e)=>e.replace(new RegExp(`^${t}`),"").replace(new RegExp(`${t}$`),""))),Zr=ae(Wr,le,Qr,Ge("\n"),$e(Yr),Ve("\n")),tn=ae(Wr,le,Qr,Ge("\n"),$e(Yr),Ve("\n"),Xr("'")),en=ae(Wr,le,(t=>t.replace(/\\\n\s*/g,"")),Qr,Vr.Go,Ge("\n"),$e(Yr),Ve("\n"),Xr('"'));const rn=class{static test(t){return t.tag.kind===gt.Scalar&&"string"==typeof t.content}static canonicalFormat(t){let e=t.content;const r=t.clone();return t.style===mt.Plain?e=Zr(t.content):t.style===mt.SingleQuoted?e=tn(t.content):t.style===mt.DoubleQuoted?e=en(t.content):t.style===mt.Literal?e=(t=>{const e=Br(t),r=Kr(t),n=Wr(t),o=ce(n.split("\n")),i=Be($e(Jr(e)),$e($r("\n"))),s=Ke(i,He,"",o);return Hr(r,s)})(t.content):t.style===mt.Folded&&(e=(t=>{const e=Br(t),r=Kr(t),n=Wr(t),o=ce(n.split("\n")),i=Be($e(Jr(e)),$e($r("\n"))),s=Ke(i,He,"",o),c=Qr(s);return Hr(r,c)})(t.content)),r.content=e,r}static resolve(t){return t}};const nn=class{tags;tagDirectives;constructor(){this.tags=[],this.tagDirectives=[],this.registerTag(new Ft),this.registerTag(new It),this.registerTag(new Lt)}toSpecificTagName(t){let e=t.tag.explicitName;return"!"===t.tag.explicitName?t.tag.kind===gt.Scalar?e=Lt.uri:t.tag.kind===gt.Sequence?e=It.uri:t.tag.kind===gt.Mapping&&(e=Ft.uri):t.tag.explicitName.startsWith("!<")?e=t.tag.explicitName.replace(/^!</,"").replace(/>$/,""):t.tag.explicitName.startsWith("!!")&&(e=`tag:yaml.org,2002:${t.tag.explicitName.replace(/^!!/,"")}`),e}registerTagDirective(t){this.tagDirectives.push({handle:t.parameters.handle,prefix:t.parameters.prefix})}registerTag(t,e=!1){return e?this.tags.unshift(t):this.tags.push(t),this}overrideTag(t){return this.tags=this.tags.filter((e=>e.tag===t.tag)),this.tags.push(t),this}resolve(t){const e=this.toSpecificTagName(t);if("?"===e)return t;let r=t;rn.test(t)&&(r=rn.canonicalFormat(t));const n=this.tags.find((t=>t?.tag===e));if(void 0===n)throw new Mt(`Tag "${e}" was not recognized.`,{specificTagName:e,explicitTagName:t.tag.explicitName,tagKind:t.tag.kind,tagPosition:Ot(t.tag.position),node:t.clone()});if(!n.test(r))throw new Mt(`Node couldn't be resolved against the tag "${e}"`,{specificTagName:e,explicitTagName:t.tag.explicitName,tagKind:t.tag.kind,tagPosition:Ot(t.tag.position),nodeCanonicalContent:r.content,node:t.clone()});return n.resolve(r)}};const on=class extends Ct{static uri="tag:yaml.org,2002:bool";test(t){return/^(true|false)$/.test(t.content)}resolve(t){const e="true"===t.content,r=t.clone();return r.content=e,r}};const sn=class extends Ct{static uri="tag:yaml.org,2002:float";test(t){return/^-?(0|[1-9][0-9]*)(\.[0-9]*)?([eE][-+]?[0-9]+)?$/.test(t.content)}resolve(t){const e=parseFloat(t.content),r=t.clone();return r.content=e,r}};const cn=class extends Ct{static uri="tag:yaml.org,2002:int";test(t){return/^-?(0|[1-9][0-9]*)$/.test(t.content)}resolve(t){const e=parseInt(t.content,10),r=t.clone();return r.content=e,r}};const an=class extends Ct{static uri="tag:yaml.org,2002:null";test(t){return/^null$/.test(t.content)}resolve(t){const e=t.clone();return e.content=null,e}};const un=class extends nn{constructor(){super(),this.registerTag(new on,!0),this.registerTag(new sn,!0),this.registerTag(new cn,!0),this.registerTag(new an,!0)}toSpecificTagName(t){let e=super.toSpecificTagName(t);if("?"===e)if(t.tag.vkind===gt.Sequence)e=It.uri;else if(t.tag.kind===gt.Mapping)e=Ft.uri;else if(t.tag.kind===gt.Scalar){const r=this.tags.find((e=>e.test(t)));e=r?.tag||"?"}return e}};const ln=class extends Pt{};const fn=class{addAnchor(t){if(!et(t.anchor))throw new ln("Expected YAML anchor to be attached the the YAML AST node.",{node:t})}resolveAlias(t){return new lt({content:t.content,style:mt.Plain,styleGroup:bt.Flow})}};const pn=class extends t{static type="literal";value;constructor({value:t,...e}={}){super({...e}),this.value=t}};class yn{static type="point";type=yn.type;row;column;char;constructor({row:t,column:e,char:r}){this.row=t,this.column=e,this.char=r}}class hn{static type="position";type=hn.type;start;end;constructor({start:t,end:e}){this.start=t,this.end=e}}const gn=hn;const dn=class extends t{static type="error";value;isUnexpected;constructor({value:t,isUnexpected:e=!1,...r}={}){super({...r}),this.value=t,this.isUnexpected=e}};const vn=class extends t{static type="parseResult";get rootNode(){return u(this.children)}},mn=(t,e,r)=>{const n=t[e];if(null!=n){if(!r&&"function"==typeof n)return n;const t=r?n.leave:n.enter;if("function"==typeof t)return t}else{const n=r?t.leave:t.enter;if(null!=n){if("function"==typeof n)return n;const t=n[e];if("function"==typeof t)return t}}return null},bn={},xn=t=>t?.type,Sn=t=>"string"==typeof xn(t),wn=t=>Object.create(Object.getPrototypeOf(t),Object.getOwnPropertyDescriptors(t)),On=(t,{visitFnGetter:e=mn,nodeTypeGetter:r=xn,breakSymbol:n=bn,deleteNodeSymbol:o=null,skipVisitingNodeSymbol:i=!1,exposeEdits:s=!1}={})=>{const c=Symbol("skip"),a=new Array(t.length).fill(c);return{enter(u,...l){let f=u,p=!1;for(let y=0;y<t.length;y+=1)if(a[y]===c){const c=e(t[y],r(f),!1);if("function"==typeof c){const e=c.call(t[y],f,...l);if(e===i)a[y]=u;else if(e===n)a[y]=n;else{if(e===o)return e;if(void 0!==e){if(!s)return e;f=e,p=!0}}}}return p?f:void 0},leave(o,...s){for(let u=0;u<t.length;u+=1)if(a[u]===c){const c=e(t[u],r(o),!0);if("function"==typeof c){const e=c.call(t[u],o,...s);if(e===n)a[u]=n;else if(void 0!==e&&e!==i)return e}}else a[u]===o&&(a[u]=c)}}},jn=(t,e,{keyMap:r=null,state:n={},breakSymbol:o=bn,deleteNodeSymbol:i=null,skipVisitingNodeSymbol:s=!1,visitFnGetter:c=mn,nodeTypeGetter:a=xn,nodePredicate:u=Sn,nodeCloneFn:l=wn,detectCycles:f=!0}={})=>{const p=r||{};let y,h,g=Array.isArray(t),d=[t],v=-1,m=[],b=t;const x=[],S=[];do{v+=1;const t=v===d.length;let r;const w=t&&0!==m.length;if(t){if(r=0===S.length?void 0:x.pop(),b=h,h=S.pop(),w)if(g){b=b.slice();let t=0;for(const[e,r]of m){const n=e-t;r===i?(b.splice(n,1),t+=1):b[n]=r}}else{b=l(b);for(const[t,e]of m)b[t]=e}v=y.index,d=y.keys,m=y.edits,g=y.inArray,y=y.prev}else if(h!==i&&void 0!==h){if(r=g?v:d[v],b=h[r],b===i||void 0===b)continue;x.push(r)}let O;if(!Array.isArray(b)){if(!u(b))throw new kt(`Invalid AST Node: ${String(b)}`,{node:b});if(f&&S.includes(b)){x.pop();continue}const i=c(e,a(b),t);if(i){for(const[t,r]of Object.entries(n))e[t]=r;O=i.call(e,b,r,h,x,S)}if(O===o)break;if(O===s){if(!t){x.pop();continue}}else if(void 0!==O&&(m.push([r,O]),!t)){if(!u(O)){x.pop();continue}b=O}}void 0===O&&w&&m.push([r,b]),t||(y={inArray:g,index:v,keys:d,edits:m,prev:y},g=Array.isArray(b),d=g?b:p[a(b)]??[],v=-1,m=[],h!==i&&void 0!==h&&S.push(h),h=b)}while(void 0!==y);return 0!==m.length?m[m.length-1][1]:t};jn[Symbol.for("nodejs.util.promisify.custom")]=async(t,e,{keyMap:r=null,state:n={},breakSymbol:o=bn,deleteNodeSymbol:i=null,skipVisitingNodeSymbol:s=!1,visitFnGetter:c=mn,nodeTypeGetter:a=xn,nodePredicate:u=Sn,nodeCloneFn:l=wn,detectCycles:f=!0}={})=>{const p=r||{};let y,h,g=Array.isArray(t),d=[t],v=-1,m=[],b=t;const x=[],S=[];do{v+=1;const t=v===d.length;let r;const w=t&&0!==m.length;if(t){if(r=0===S.length?void 0:x.pop(),b=h,h=S.pop(),w)if(g){b=b.slice();let t=0;for(const[e,r]of m){const n=e-t;r===i?(b.splice(n,1),t+=1):b[n]=r}}else{b=l(b);for(const[t,e]of m)b[t]=e}v=y.index,d=y.keys,m=y.edits,g=y.inArray,y=y.prev}else if(h!==i&&void 0!==h){if(r=g?v:d[v],b=h[r],b===i||void 0===b)continue;x.push(r)}let O;if(!Array.isArray(b)){if(!u(b))throw new kt(`Invalid AST Node: ${String(b)}`,{node:b});if(f&&S.includes(b)){x.pop();continue}const i=c(e,a(b),t);if(i){for(const[t,r]of Object.entries(n))e[t]=r;O=await i.call(e,b,r,h,x,S)}if(O===o)break;if(O===s){if(!t){x.pop();continue}}else if(void 0!==O&&(m.push([r,O]),!t)){if(!u(O)){x.pop();continue}b=O}}void 0===O&&w&&m.push([r,b]),t||(y={inArray:g,index:v,keys:d,edits:m,prev:y},g=Array.isArray(b),d=g?b:p[a(b)]??[],v=-1,m=[],h!==i&&void 0!==h&&S.push(h),h=b)}while(void 0!==y);return 0!==m.length?m[m.length-1][1]:t}})(),n})()));
|
package/es/Error.mjs
CHANGED
package/es/Literal.mjs
CHANGED
package/es/Node.mjs
CHANGED
package/es/Position.mjs
CHANGED
@@ -3,6 +3,9 @@
|
|
3
3
|
export class Point {
|
4
4
|
static type = 'point';
|
5
5
|
type = Point.type;
|
6
|
+
row;
|
7
|
+
column;
|
8
|
+
char;
|
6
9
|
constructor({
|
7
10
|
row,
|
8
11
|
column,
|
@@ -16,6 +19,8 @@ export class Point {
|
|
16
19
|
class Position {
|
17
20
|
static type = 'position';
|
18
21
|
type = Position.type;
|
22
|
+
start;
|
23
|
+
end;
|
19
24
|
constructor({
|
20
25
|
start,
|
21
26
|
end
|
package/es/index.mjs
CHANGED
@@ -30,7 +30,10 @@ export { default as YamlAnchor } from "./yaml/nodes/YamlAnchor.mjs";
|
|
30
30
|
export { YamlStyle, YamlStyleGroup } from "./yaml/nodes/YamlStyle.mjs";
|
31
31
|
export { default as YamlFailsafeSchema } from "./yaml/schemas/failsafe/index.mjs";
|
32
32
|
export { default as YamlJsonSchema } from "./yaml/schemas/json/index.mjs";
|
33
|
-
export {
|
33
|
+
export { default as YamlReferenceManager } from "./yaml/anchors-aliases/ReferenceManager.mjs";
|
34
|
+
export { isAlias as isYamlAlias, isAnchor as isYamlAnchor, isComment as isYamlComment, isKeyValuePair as isYamlKeyValuePair, isDirective as isYamlDirective, isDocument as isYamlDocument, isMapping as isYamlMapping, isScalar as isYamlScalar, isSequence as isYamlSequence, isStream as isYamlStream, isTag as isYamlTag } from "./yaml/nodes/predicates.mjs";
|
35
|
+
export { default as YamlError } from "./yaml/errors/YamlError.mjs";
|
36
|
+
export { default as YamlReferenceError } from "./yaml/errors/YamlReferenceError.mjs";
|
34
37
|
export { default as YamlSchemaError } from "./yaml/errors/YamlSchemaError.mjs";
|
35
38
|
export { default as YamlTagError } from "./yaml/errors/YamlTagError.mjs";
|
36
39
|
// generic AST related exports
|
@@ -0,0 +1,24 @@
|
|
1
|
+
import YamlScalar from "../nodes/YamlScalar.mjs";
|
2
|
+
import YamlReferenceError from "../errors/YamlReferenceError.mjs";
|
3
|
+
import { isAnchor } from "../nodes/predicates.mjs";
|
4
|
+
import { YamlStyle, YamlStyleGroup } from "../nodes/YamlStyle.mjs";
|
5
|
+
/* eslint-disable class-methods-use-this */
|
6
|
+
class ReferenceManager {
|
7
|
+
addAnchor(node) {
|
8
|
+
if (!isAnchor(node.anchor)) {
|
9
|
+
throw new YamlReferenceError('Expected YAML anchor to be attached the the YAML AST node.', {
|
10
|
+
node
|
11
|
+
});
|
12
|
+
}
|
13
|
+
}
|
14
|
+
resolveAlias(alias) {
|
15
|
+
return new YamlScalar({
|
16
|
+
content: alias.content,
|
17
|
+
style: YamlStyle.Plain,
|
18
|
+
styleGroup: YamlStyleGroup.Flow
|
19
|
+
});
|
20
|
+
}
|
21
|
+
}
|
22
|
+
/* eslint-enable class-methods-use-this */
|
23
|
+
|
24
|
+
export default ReferenceManager;
|
@@ -1,3 +1,3 @@
|
|
1
|
-
import
|
2
|
-
class YamlSchemaError extends
|
1
|
+
import YamlError from "./YamlError.mjs";
|
2
|
+
class YamlSchemaError extends YamlError {}
|
3
3
|
export default YamlSchemaError;
|
@@ -1,5 +1,11 @@
|
|
1
1
|
import YamlSchemaError from "./YamlSchemaError.mjs";
|
2
2
|
class YamlTagError extends YamlSchemaError {
|
3
|
+
specificTagName;
|
4
|
+
explicitTagName;
|
5
|
+
tagKind;
|
6
|
+
tagPosition;
|
7
|
+
nodeCanonicalContent;
|
8
|
+
node;
|
3
9
|
constructor(message, structuredOptions) {
|
4
10
|
super(message, structuredOptions);
|
5
11
|
if (typeof structuredOptions !== 'undefined') {
|
@@ -5,6 +5,7 @@ export const isMapping = node => isNodeType('mapping', node);
|
|
5
5
|
export const isSequence = node => isNodeType('sequence', node);
|
6
6
|
export const isKeyValuePair = node => isNodeType('keyValuePair', node);
|
7
7
|
export const isTag = node => isNodeType('tag', node);
|
8
|
+
export const isAnchor = node => isNodeType('anchor', node);
|
8
9
|
export const isScalar = node => isNodeType('scalar', node);
|
9
10
|
export const isAlias = node => isNodeType('alias', node);
|
10
11
|
export const isDirective = node => isNodeType('directive', node);
|
@@ -82,13 +82,13 @@ export const formatFlowPlain = pipe(normalizeLineBreaks, trim, collapseLineBreak
|
|
82
82
|
* https://yaml.org/spec/1.2/spec.html#id2788097
|
83
83
|
*/
|
84
84
|
|
85
|
-
export const formatFlowSingleQuoted = pipe(normalizeLineBreaks, trim,
|
85
|
+
export const formatFlowSingleQuoted = pipe(normalizeLineBreaks, trim, collapseLineBreakToSpace, split('\n'), map(trimStart), join('\n'), removeQuotes("'"));
|
86
86
|
|
87
87
|
/**
|
88
88
|
* Formats Flow Scalar Double-Quoted style.
|
89
89
|
* https://yaml.org/spec/1.2/spec.html#id2787109
|
90
90
|
*/
|
91
|
-
export const formatFlowDoubleQuoted = pipe(normalizeLineBreaks, trim,
|
91
|
+
export const formatFlowDoubleQuoted = pipe(normalizeLineBreaks, trim, preventLineBreakCollapseToSpace, collapseLineBreakToSpace, unraw, split('\n'), map(trimStart), join('\n'), removeQuotes('"'));
|
92
92
|
|
93
93
|
/**
|
94
94
|
* Formats Block Scalar Literal style.
|
@@ -6,6 +6,8 @@ import GenericSequenceTag from "./GenericSequence.mjs";
|
|
6
6
|
import GenericStringTag from "./GenericString.mjs";
|
7
7
|
import ScalarTag from "../ScalarTag.mjs";
|
8
8
|
class FailsafeSchema {
|
9
|
+
tags;
|
10
|
+
tagDirectives;
|
9
11
|
constructor() {
|
10
12
|
this.tags = [];
|
11
13
|
this.tagDirectives = [];
|