@swagger-api/apidom-ast 0.75.0 → 0.76.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 +6 -0
- package/cjs/index.cjs +5 -1
- package/cjs/traversal/visitor.cjs +3 -2
- package/cjs/yaml/errors/YamlSchemaError.cjs +8 -0
- package/cjs/yaml/errors/YamlTagError.cjs +20 -0
- package/cjs/yaml/schemas/failsafe/index.cjs +15 -2
- package/dist/apidom-ast.browser.js +5825 -1544
- package/dist/apidom-ast.browser.min.js +1 -1
- package/es/index.js +4 -1
- package/es/traversal/visitor.js +4 -2
- package/es/yaml/errors/YamlSchemaError.js +3 -0
- package/es/yaml/errors/YamlTagError.js +20 -0
- package/es/yaml/schemas/failsafe/index.js +15 -2
- package/package.json +3 -2
- package/types/dist.d.ts +21 -1
@@ -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={591:t=>{!function(){"use strict";var e,n,r,o,i,s="properties",c="deepProperties",a="propertyDescriptors",u="staticProperties",l="staticDeepProperties",f="staticPropertyDescriptors",p="configuration",d="deepConfiguration",y="deepProps",g="deepStatics",h="deepConf",m="initializers",v="methods",b="composers",S="compose";function O(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(t):[])}function j(t,e){return Array.prototype.slice.call(arguments,2).reduce(t,e)}var w=j.bind(0,(function(t,e){if(e)for(var n=O(e),r=0;r<n.length;r+=1)Object.defineProperty(t,n[r],Object.getOwnPropertyDescriptor(e,n[r]));return t}));function A(t){return"function"==typeof t}function x(t){return t&&"object"==typeof t||A(t)}function E(t){return t&&"object"==typeof t&&t.__proto__==Object.prototype}var N=j.bind(0,(function t(n,r){if(r===e)return n;if(Array.isArray(r))return(Array.isArray(n)?n:[]).concat(r);if(!E(r))return r;for(var o,i,s=O(r),c=0;c<s.length;)o=s[c++],(i=Object.getOwnPropertyDescriptor(r,o)).hasOwnProperty("value")?i.value!==e&&(n[o]=t(E(n[o])||Array.isArray(r[o])?n[o]:{},r[o])):Object.defineProperty(n,o,i);return n}));function P(){return(n=Array.prototype.concat.apply([],arguments).filter((function(t,e,n){return A(t)&&n.indexOf(t)===e}))).length?n:e}function T(t,e){function r(n,r){x(e[n])&&(x(t[n])||(t[n]={}),(r||w)(t[n],e[n]))}function o(r){(n=P(t[r],e[r]))&&(t[r]=n)}return e&&x(e=e[S]||e)&&(r(v),r(s),r(c,N),r(a),r(u),r(l,N),r(f),r(p),r(d,N),o(m),o(b)),t}function M(){return function(t){return n=function t(n){var r,o,i=t[S]||{},u={__proto__:i[v]},l=i[m],f=Array.prototype.slice.apply(arguments),p=i[c];if(p&&N(u,p),(p=i[s])&&w(u,p),(p=i[a])&&Object.defineProperties(u,p),!l||!l.length)return u;for(n===e&&(n={}),i=0;i<l.length;)A(r=l[i++])&&(u=(o=r.call(u,n,{instance:u,stamp:t,args:f}))===e?u:o);return u},(r=t[l])&&N(n,r),(r=t[u])&&w(n,r),(r=t[f])&&Object.defineProperties(n,r),r=A(n[S])?n[S]:M,w(n[S]=function(){return r.apply(this,arguments)},t),n}(Array.prototype.concat.apply([this],arguments).reduce(T,{}))}function k(t){return A(t)&&A(t[S])}var F={};function D(t,i){return function(){return(o={})[t]=i.apply(e,Array.prototype.concat.apply([{}],arguments)),((n=this)&&n[S]||r).call(n,o)}}F[v]=D(v,w),F[s]=F.props=D(s,w),F[m]=F.init=D(m,P),F[b]=D(b,P),F[c]=F[y]=D(c,N),F[u]=F.statics=D(u,w),F[l]=F[g]=D(l,N),F[p]=F.conf=D(p,w),F[d]=F[h]=D(d,N),F[a]=D(a,w),F[f]=D(f,w),r=F[S]=w((function(){for(var t,O,j=0,A=[],E=arguments,T=this;j<E.length;)x(t=E[j++])&&A.push(k(t)?t:((o={})[v]=(O=t)[v]||e,r=O.props,o[s]=x((n=O[s])||r)?w({},r,n):e,o[m]=P(O.init,O[m]),o[b]=P(O[b]),r=O[y],o[c]=x((n=O[c])||r)?N({},r,n):e,o[a]=O[a],r=O.statics,o[u]=x((n=O[u])||r)?w({},r,n):e,r=O[g],o[l]=x((n=O[l])||r)?N({},r,n):e,n=O[f],o[f]=x((r=O.name&&{name:{value:O.name}})||n)?w({},n,r):e,r=O.conf,o[p]=x((n=O[p])||r)?w({},r,n):e,r=O[h],o[d]=x((n=O[d])||r)?N({},r,n):e,o));if(t=M.apply(T||i,A),T&&A.unshift(T),Array.isArray(E=t[S][b]))for(j=0;j<E.length;)t=k(T=E[j++]({stamp:t,composables:A}))?T:t;return t}),F),F.create=function(){return this.apply(e,arguments)},(o={})[u]=F,i=M(o),r[S]=r.bind(),r.version="4.3.2","object"!=typeof e?t.exports=r:self.stampit=r}()},396:(t,e)=>{"use strict";var n;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"}(n=e.ErrorType||(e.ErrorType={})),e.errorMessages=new Map([[n.MalformedUnicode,"malformed Unicode character escape sequence"],[n.MalformedHexadecimal,"malformed hexadecimal character escape sequence"],[n.CodePointLimit,"Unicode codepoint must not be greater than 0x10FFFF in escape sequence"],[n.OctalDeprecation,'"0"-prefixed octal literals and octal escape sequences are deprecated; for octal literals use the "0o" prefix instead'],[n.EndOfString,"malformed escape sequence at end of string"]])},770:(t,e,n)=>{"use strict";e.S6=void 0;const r=n(396);function o(t,e,n){const o=function(t){return t.match(/[^a-f0-9]/i)?NaN:parseInt(t,16)}(t);if(Number.isNaN(o)||void 0!==n&&n!==t.length)throw new SyntaxError(r.errorMessages.get(e));return o}function i(t,e){const n=o(t,r.ErrorType.MalformedUnicode,4);if(void 0!==e){const t=o(e,r.ErrorType.MalformedUnicode,4);return String.fromCharCode(n,t)}return String.fromCharCode(n)}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,n,c,a,u,l,f,p,d){if(void 0!==n)return"\\";if(void 0!==c)return function(t){const e=o(t,r.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(r.errorMessages.get(r.ErrorType.MalformedUnicode));var e;const n=o(t.slice(1,-1),r.ErrorType.MalformedUnicode);try{return String.fromCodePoint(n)}catch(t){throw t instanceof RangeError?new SyntaxError(r.errorMessages.get(r.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(r.errorMessages.get(r.ErrorType.OctalDeprecation));const n=parseInt(t,8);return String.fromCharCode(n)}(p,!e);if(void 0!==d)return y=d,s.get(y)||y;var y;throw new SyntaxError(r.errorMessages.get(r.ErrorType.EndOfString))}))}e.S6=a}},e={};function n(r){var o=e[r];if(void 0!==o)return o.exports;var i=e[r]={exports:{}};return t[r](i,i.exports,n),i.exports}n.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return n.d(e,{a:e}),e},n.d=(t,e)=>{for(var r in e)n.o(e,r)&&!n.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},n.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),n.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var r={};return(()=>{"use strict";n.r(r),n.d(r,{BREAK:()=>ar,Error:()=>ir,JsonArray:()=>je,JsonDocument:()=>ne,JsonEscapeSequence:()=>Ne,JsonFalse:()=>Me,JsonKey:()=>xe,JsonNode:()=>i,JsonNull:()=>ke,JsonNumber:()=>Pe,JsonObject:()=>Se,JsonProperty:()=>Oe,JsonString:()=>Ae,JsonStringContent:()=>Ee,JsonTrue:()=>Te,JsonValue:()=>we,Literal:()=>nr,ParseResult:()=>sr,Point:()=>rr,Position:()=>or,YamlAlias:()=>Fe,YamlAnchor:()=>on,YamlCollection:()=>Ce,YamlComment:()=>qe,YamlDirective:()=>Je,YamlDocument:()=>Ye,YamlFailsafeSchema:()=>Hn,YamlJsonSchema:()=>er,YamlKeyValuePair:()=>We,YamlMapping:()=>Xe,YamlNode:()=>De,YamlNodeKind:()=>nn,YamlScalar:()=>Ze,YamlSequence:()=>tn,YamlStream:()=>en,YamlStyle:()=>Ie,YamlStyleGroup:()=>Ue,YamlTag:()=>rn,getNodeType:()=>ur,getVisitFn:()=>cr,isJsonArray:()=>ye,isJsonDocument:()=>ae,isJsonEscapeSequence:()=>me,isJsonFalse:()=>le,isJsonKey:()=>be,isJsonNull:()=>pe,isJsonNumber:()=>de,isJsonObject:()=>ge,isJsonProperty:()=>ve,isJsonString:()=>ue,isJsonStringContent:()=>he,isJsonTrue:()=>fe,isLiteral:()=>oe,isNode:()=>lr,isParseResult:()=>ce,isPoint:()=>se,isPosition:()=>ie,isYamlAlias:()=>Ke,isYamlDirective:()=>Qe,isYamlDocument:()=>$e,isYamlKeyValuePair:()=>Ve,isYamlMapping:()=>Le,isYamlScalar:()=>ze,isYamlSequence:()=>Ge,isYamlStream:()=>Re,isYamlTag:()=>Be,mergeAllVisitors:()=>fr,visit:()=>pr});var t=n(591),e=n.n(t);const o=e()({props:{type:null,position:null,children:[]},init({children:t=[],position:e=null,isMissing:n=!1}={},{stamp:r={}}){this.type=r.type,this.isMissing=n,this.children=t,this.position=e},methods:{clone(){const t=Object.create(Object.getPrototypeOf(this));return Object.getOwnPropertyNames(this).forEach((e=>{const n=Object.getOwnPropertyDescriptor(this,e);Object.defineProperty(t,e,n)})),t}}}),i=e()(o),s=Array.isArray||function(t){return null!=t&&t.length>=0&&"[object Array]"===Object.prototype.toString.call(t)};function c(t,e,n){return function(){if(0===arguments.length)return n();var r=arguments[arguments.length-1];if(!s(r)){for(var o=0;o<t.length;){if("function"==typeof r[t[o]])return r[t[o]].apply(r,Array.prototype.slice.call(arguments,0,-1));o+=1}if(function(t){return null!=t&&"function"==typeof t["@@transducer/step"]}(r))return e.apply(null,Array.prototype.slice.call(arguments,0,-1))(r)}return n.apply(this,arguments)}}const a=function(){return this.xf["@@transducer/init"]()},u=function(t){return this.xf["@@transducer/result"](t)};function l(t){return null!=t&&"object"==typeof t&&!0===t["@@functional/placeholder"]}function f(t){return function e(n){return 0===arguments.length||l(n)?e:t.apply(this,arguments)}}function p(t){return function e(n,r){switch(arguments.length){case 0:return e;case 1:return l(n)?e:f((function(e){return t(n,e)}));default:return l(n)&&l(r)?e:l(n)?f((function(e){return t(e,r)})):l(r)?f((function(e){return t(n,e)})):t(n,r)}}}function d(t){for(var e,n=[];!(e=t.next()).done;)n.push(e.value);return n}function y(t,e,n){for(var r=0,o=n.length;r<o;){if(t(e,n[r]))return!0;r+=1}return!1}function g(t,e){return Object.prototype.hasOwnProperty.call(e,t)}const h="function"==typeof Object.is?Object.is:function(t,e){return t===e?0!==t||1/t==1/e:t!=t&&e!=e};var m=Object.prototype.toString;const v=function(){return"[object Arguments]"===m.call(arguments)?function(t){return"[object Arguments]"===m.call(t)}:function(t){return g("callee",t)}}();var b=!{toString:null}.propertyIsEnumerable("toString"),S=["constructor","valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],O=function(){return arguments.propertyIsEnumerable("length")}(),j=function(t,e){for(var n=0;n<t.length;){if(t[n]===e)return!0;n+=1}return!1};const w="function"!=typeof Object.keys||O?f((function(t){if(Object(t)!==t)return[];var e,n,r=[],o=O&&v(t);for(e in t)!g(e,t)||o&&"length"===e||(r[r.length]=e);if(b)for(n=S.length-1;n>=0;)g(e=S[n],t)&&!j(r,e)&&(r[r.length]=e),n-=1;return r})):f((function(t){return Object(t)!==t?[]:Object.keys(t)}));const A=f((function(t){return null===t?"Null":void 0===t?"Undefined":Object.prototype.toString.call(t).slice(8,-1)}));function x(t,e,n,r){var o=d(t);function i(t,e){return E(t,e,n.slice(),r.slice())}return!y((function(t,e){return!y(i,e,t)}),d(e),o)}function E(t,e,n,r){if(h(t,e))return!0;var o,i,s=A(t);if(s!==A(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||!h(t.valueOf(),e.valueOf()))return!1;break;case"Date":if(!h(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=n.length-1;c>=0;){if(n[c]===t)return r[c]===e;c-=1}switch(s){case"Map":return t.size===e.size&&x(t.entries(),e.entries(),n.concat([t]),r.concat([e]));case"Set":return t.size===e.size&&x(t.values(),e.values(),n.concat([t]),r.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=w(t);if(a.length!==w(e).length)return!1;var u=n.concat([t]),l=r.concat([e]);for(c=a.length-1;c>=0;){var f=a[c];if(!g(f,e)||!E(e[f],t[f],u,l))return!1;c-=1}return!0}const N=p((function(t,e){return E(t,e,[],[])}));function P(t,e){return function(t,e,n){var r,o;if("function"==typeof t.indexOf)switch(typeof e){case"number":if(0===e){for(r=1/e;n<t.length;){if(0===(o=t[n])&&1/o===r)return n;n+=1}return-1}if(e!=e){for(;n<t.length;){if("number"==typeof(o=t[n])&&o!=o)return n;n+=1}return-1}return t.indexOf(e,n);case"string":case"boolean":case"function":case"undefined":return t.indexOf(e,n);case"object":if(null===e)return t.indexOf(e,n)}for(;n<t.length;){if(N(t[n],e))return n;n+=1}return-1}(e,t,0)>=0}function T(t,e){for(var n=0,r=e.length,o=Array(r);n<r;)o[n]=t(e[n]),n+=1;return o}function M(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 k=function(t){return(t<10?"0":"")+t};const F="function"==typeof Date.prototype.toISOString?function(t){return t.toISOString()}:function(t){return t.getUTCFullYear()+"-"+k(t.getUTCMonth()+1)+"-"+k(t.getUTCDate())+"T"+k(t.getUTCHours())+":"+k(t.getUTCMinutes())+":"+k(t.getUTCSeconds())+"."+(t.getUTCMilliseconds()/1e3).toFixed(3).slice(2,5)+"Z"};function D(t,e,n){for(var r=0,o=n.length;r<o;)e=t(e,n[r]),r+=1;return e}var C=function(){function t(t,e){this.xf=e,this.f=t}return t.prototype["@@transducer/init"]=a,t.prototype["@@transducer/result"]=u,t.prototype["@@transducer/step"]=function(t,e){return this.f(e)?this.xf["@@transducer/step"](t,e):t},t}();function q(t){return function(e){return new C(t,e)}}const J=p(c(["fantasy-land/filter","filter"],q,(function(t,e){return n=e,"[object Object]"===Object.prototype.toString.call(n)?D((function(n,r){return t(e[r])&&(n[r]=e[r]),n}),{},w(e)):function(t,e){for(var n=0,r=e.length,o=[];n<r;)t(e[n])&&(o[o.length]=e[n]),n+=1;return o}(t,e);var n})));const Y=p((function(t,e){return J((n=t,function(){return!n.apply(this,arguments)}),e);var n}));function I(t,e){var n=function(n){var r=e.concat([t]);return P(n,r)?"<Circular>":I(n,r)},r=function(t,e){return T((function(e){return M(e)+": "+n(t[e])}),e.slice().sort())};switch(Object.prototype.toString.call(t)){case"[object Arguments]":return"(function() { return arguments; }("+T(n,t).join(", ")+"))";case"[object Array]":return"["+T(n,t).concat(r(t,Y((function(t){return/^\d+$/.test(t)}),w(t)))).join(", ")+"]";case"[object Boolean]":return"object"==typeof t?"new Boolean("+n(t.valueOf())+")":t.toString();case"[object Date]":return"new Date("+(isNaN(t.valueOf())?n(NaN):M(F(t)))+")";case"[object Map]":return"new Map("+n(Array.from(t))+")";case"[object Null]":return"null";case"[object Number]":return"object"==typeof t?"new Number("+n(t.valueOf())+")":1/t==-1/0?"-0":t.toString(10);case"[object Set]":return"new Set("+n(Array.from(t).sort())+")";case"[object String]":return"object"==typeof t?"new String("+n(t.valueOf())+")":M(t);case"[object Undefined]":return"undefined";default:if("function"==typeof t.toString){var o=t.toString();if("[object Object]"!==o)return o}return"{"+r(t,w(t)).join(", ")+"}"}}const U=f((function(t){return I(t,[])}));const _=p((function(t,e){if(t===e)return e;function n(t,e){if(t>e!=e>t)return e>t?e:t}var r=n(t,e);if(void 0!==r)return r;var o=n(typeof t,typeof e);if(void 0!==o)return o===typeof t?t:e;var i=U(t),s=n(i,U(e));return void 0!==s&&s===i?t:e}));var R=function(){function t(t,e){this.xf=e,this.f=t}return t.prototype["@@transducer/init"]=a,t.prototype["@@transducer/result"]=u,t.prototype["@@transducer/step"]=function(t,e){return this.xf["@@transducer/step"](t,this.f(e))},t}();const $=function(t){return function(e){return new R(t,e)}};function L(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,n){return e.apply(this,arguments)};case 3:return function(t,n,r){return e.apply(this,arguments)};case 4:return function(t,n,r,o){return e.apply(this,arguments)};case 5:return function(t,n,r,o,i){return e.apply(this,arguments)};case 6:return function(t,n,r,o,i,s){return e.apply(this,arguments)};case 7:return function(t,n,r,o,i,s,c){return e.apply(this,arguments)};case 8:return function(t,n,r,o,i,s,c,a){return e.apply(this,arguments)};case 9:return function(t,n,r,o,i,s,c,a,u){return e.apply(this,arguments)};case 10:return function(t,n,r,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 G(t,e,n){return function(){for(var r=[],o=0,i=t,s=0;s<e.length||o<arguments.length;){var c;s<e.length&&(!l(e[s])||o>=arguments.length)?c=e[s]:(c=arguments[o],o+=1),r[s]=c,l(c)||(i-=1),s+=1}return i<=0?n.apply(this,r):L(i,G(t,r,n))}}const V=p((function(t,e){return 1===t?f(e):L(t,G(t,[],e))}));const B=p(c(["fantasy-land/map","map"],$,(function(t,e){switch(Object.prototype.toString.call(e)){case"[object Function]":return V(e.length,(function(){return t.call(this,e.apply(this,arguments))}));case"[object Object]":return D((function(n,r){return n[r]=t(e[r]),n}),{},w(e));default:return T(t,e)}}))),z=Number.isInteger||function(t){return t<<0===t};function K(t){return"[object String]"===Object.prototype.toString.call(t)}const Q=p((function(t,e){var n=t<0?e.length+t:t;return K(e)?e.charAt(n):e[n]}));const H=p((function(t,e){if(null!=e)return z(t)?Q(t,e):e[t]}));const W=p((function(t,e){return B(H(t),e)}));function X(t){return function e(n,r,o){switch(arguments.length){case 0:return e;case 1:return l(n)?e:p((function(e,r){return t(n,e,r)}));case 2:return l(n)&&l(r)?e:l(n)?p((function(e,n){return t(e,r,n)})):l(r)?p((function(e,r){return t(n,e,r)})):f((function(e){return t(n,r,e)}));default:return l(n)&&l(r)&&l(o)?e:l(n)&&l(r)?p((function(e,n){return t(e,n,o)})):l(n)&&l(o)?p((function(e,n){return t(e,r,n)})):l(r)&&l(o)?p((function(e,r){return t(n,e,r)})):l(n)?f((function(e){return t(e,r,o)})):l(r)?f((function(e){return t(n,e,o)})):l(o)?f((function(e){return t(n,r,e)})):t(n,r,o)}}}const Z=f((function(t){return!!s(t)||!!t&&("object"==typeof t&&(!K(t)&&(0===t.length||t.length>0&&(t.hasOwnProperty(0)&&t.hasOwnProperty(t.length-1)))))}));var tt="undefined"!=typeof Symbol?Symbol.iterator:"@@iterator";function et(t,e,n){return function(r,o,i){if(Z(i))return t(r,o,i);if(null==i)return o;if("function"==typeof i["fantasy-land/reduce"])return e(r,o,i,"fantasy-land/reduce");if(null!=i[tt])return n(r,o,i[tt]());if("function"==typeof i.next)return n(r,o,i);if("function"==typeof i.reduce)return e(r,o,i,"reduce");throw new TypeError("reduce: list must be array or iterable")}}function nt(t,e,n){for(var r=0,o=n.length;r<o;){if((e=t["@@transducer/step"](e,n[r]))&&e["@@transducer/reduced"]){e=e["@@transducer/value"];break}r+=1}return t["@@transducer/result"](e)}const rt=p((function(t,e){return L(t.length,(function(){return t.apply(e,arguments)}))}));function ot(t,e,n){for(var r=n.next();!r.done;){if((e=t["@@transducer/step"](e,r.value))&&e["@@transducer/reduced"]){e=e["@@transducer/value"];break}r=n.next()}return t["@@transducer/result"](e)}function it(t,e,n,r){return t["@@transducer/result"](n[r](rt(t["@@transducer/step"],t),e))}const st=et(nt,it,ot);var ct=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 at(t){return new ct(t)}const ut=X((function(t,e,n){return st("function"==typeof t?at(t):t,e,n)}));const lt=f((function(t){return function(){return t}}));const ft=f((function(t){return V(ut(_,0,W("length",t)),(function(){for(var e=0,n=t.length;e<n;){if(t[e].apply(this,arguments))return!0;e+=1}return!1}))}));function pt(t,e,n){for(var r=n.next();!r.done;)e=t(e,r.value),r=n.next();return e}function dt(t,e,n,r){return n[r](t,e)}const yt=et(D,dt,pt);const gt=p((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(n){return t(n)(e(n))}:yt((function(t,n){return function(t,e){var n;e=e||[];var r=(t=t||[]).length,o=e.length,i=[];for(n=0;n<r;)i[i.length]=t[n],n+=1;for(n=0;n<o;)i[i.length]=e[n],n+=1;return i}(t,B(n,e))}),[],t)}));function ht(t){var e=Object.prototype.toString.call(t);return"[object Function]"===e||"[object AsyncFunction]"===e||"[object GeneratorFunction]"===e||"[object AsyncGeneratorFunction]"===e}const mt=p((function(t,e){return t&&e}));const vt=p((function(t,e){var n=V(t,e);return V(t,(function(){return D(gt,B(n,arguments[0]),Array.prototype.slice.call(arguments,1))}))}));const bt=f((function(t){return vt(t.length,t)}));const St=p((function(t,e){return ht(t)?function(){return t.apply(this,arguments)&&e.apply(this,arguments)}:bt(mt)(t,e)}));const Ot=bt(f((function(t){return!t})));function jt(t,e){return function(){return e.call(this,t.apply(this,arguments))}}function wt(t,e){return function(){var n=arguments.length;if(0===n)return e();var r=arguments[n-1];return s(r)||"function"!=typeof r[t]?e.apply(this,arguments):r[t].apply(r,Array.prototype.slice.call(arguments,0,n-1))}}const At=X(wt("slice",(function(t,e,n){return Array.prototype.slice.call(n,t,e)})));const xt=f(wt("tail",At(1,1/0)));function Et(){if(0===arguments.length)throw new Error("pipe requires at least one argument");return L(arguments[0].length,ut(jt,arguments[0],xt(arguments)))}const Nt=f((function(t){return K(t)?t.split("").reverse().join(""):Array.prototype.slice.call(t,0).reverse()}));function Pt(){if(0===arguments.length)throw new Error("compose requires at least one argument");return Et.apply(this,Nt(arguments))}const Tt=p((function(t,e){if(s(t)){if(s(e))return t.concat(e);throw new TypeError(U(e)+" is not an array")}if(K(t)){if(K(e))return t+e;throw new TypeError(U(e)+" is not a string")}if(null!=t&&ht(t["fantasy-land/concat"]))return t["fantasy-land/concat"](e);if(null!=t&&ht(t.concat))return t.concat(e);throw new TypeError(U(t)+' does not have a method named "concat" or "fantasy-land/concat"')}));const Mt=p((function(t,e){return V(ut(_,0,W("length",e)),(function(){var n=arguments,r=this;return t.apply(r,T((function(t){return t.apply(r,n)}),e))}))}));const kt=f((function(t){return V(t.length,t)}));var Ft=function(){function t(t,e){this.xf=e,this.f=t}return t.prototype["@@transducer/init"]=a,t.prototype["@@transducer/result"]=u,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 Dt(t){return function(e){return new Ft(t,e)}}const Ct=p(c(["dropWhile"],Dt,(function(t,e){for(var n=0,r=e.length;n<r&&t(e[n]);)n+=1;return At(n,1/0,e)})));const qt=f((function(t){return V(t.length,(function(e,n){var r=Array.prototype.slice.call(arguments,0);return r[0]=n,r[1]=e,t.apply(this,r)}))}));const Jt=p((function(t,e){return t>e}));const Yt=Q(0);var It=function(t,e){switch(arguments.length){case 0:return It;case 1:return function e(n){return 0===arguments.length?e:h(t,n)};default:return h(t,e)}};const Ut=It;function _t(t){return t}const Rt=f(_t);const $t=p(P);const Lt="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),n=1,r=arguments.length;n<r;){var o=arguments[n];if(null!=o)for(var i in o)g(i,o)&&(e[i]=o[i]);n+=1}return e};const Gt=p((function(t,e){return V(t+1,(function(){var n=arguments[t];if(null!=n&&ht(n[e]))return n[e].apply(n,Array.prototype.slice.call(arguments,0,t));throw new TypeError(U(n)+' does not have a method named "'+e+'"')}))}));const Vt=Gt(1,"join");const Bt=p((function(t,e){return t.map((function(t){for(var n,r=e,o=0;o<t.length;){if(null==r)return;n=t[o],r=z(n)?Q(n,r):r[n],o+=1}return r}))}));const zt=p((function(t,e){return Bt([t],e)[0]}));const Kt=p((function(t,e){return Lt({},t,e)}));const Qt=p((function(t,e){return null==e||e!=e?t:e}));const Ht=X((function(t,e,n){return Qt(t,zt(e,n))}));const Wt=X((function(t,e,n){return n.replace(t,e)}));const Xt=Gt(1,"split");const Zt=V(4,(function(t,e,n,r){return st(t("function"==typeof e?at(e):e),n,r)}));var te="\t\n\v\f\r \u2028\u2029\ufeff";const ee=f("function"==typeof String.prototype.trim&&!te.trim()&&"".trim()?function(t){return t.trim()}:function(t){var e=new RegExp("^["+te+"]["+te+"]*"),n=new RegExp("["+te+"]["+te+"]*$");return t.replace(e,"").replace(n,"")});const ne=e()(i,{statics:{type:"document"},methods:{get child(){return Yt(this.children)}}}),re=(t,e)=>e?.type===t,oe=re.bind(void 0,"literal"),ie=re.bind(void 0,"position"),se=re.bind(void 0,"point"),ce=re.bind(void 0,"parseResult"),ae=re.bind(void 0,"document"),ue=re.bind(void 0,"string"),le=re.bind(void 0,"false"),fe=re.bind(void 0,"true"),pe=re.bind(void 0,"null"),de=re.bind(void 0,"number"),ye=re.bind(void 0,"array"),ge=re.bind(void 0,"object"),he=re.bind(void 0,"stringContent"),me=re.bind(void 0,"escapeSequence"),ve=re.bind(void 0,"property"),be=re.bind(void 0,"key"),Se=e()(i,{statics:{type:"object"},methods:{get properties(){return this.children.filter(ve)}}}),Oe=e()(i,{statics:{type:"property"},methods:{get key(){return this.children.find(be)},get value(){return this.children.find((t=>le(t)||fe(t)||pe(t)||de(t)||ue(t)||ye(t)||ge(t)))}}}),je=e()(i,{statics:{type:"array"},methods:{get items(){return this.children.filter((t=>le(t)||fe(t)||pe(t)||de(t)||ue(t)||ye(t)||ge))}}}),we=e()(i,{statics:{type:"value"},props:{value:null},init({value:t=null}={}){this.value=t}}),Ae=e()(i,{statics:{type:"string"},methods:{get value(){return 1===this.children.length?this.children[0].value:this.children.filter((t=>he(t)||me(t))).reduce(((t,e)=>t+e.value),"")}}}),xe=e()(Ae,{statics:{type:"key"}}),Ee=e()(we,{statics:{type:"stringContent"}}),Ne=e()(we,{statics:{type:"escapeSequence"}}),Pe=e()(we,{statics:{type:"number"}}),Te=e()(we,{statics:{type:"true"}}),Me=e()(we,{statics:{type:"false"}}),ke=e()(we,{statics:{type:"null"}}),Fe=e()(o,{statics:{type:"alias"},props:{content:null},init({content:t=null}={}){this.content=t}}),De=e()(o,{props:{anchor:null,tag:null,style:null,styleGroup:null},init({anchor:t=null,tag:e=null,style:n=null,styleGroup:r=null}={}){this.anchor=t,this.tag=e,this.style=n,this.styleGroup=r}}),Ce=e()(De,{}),qe=e()(o,{statics:{type:"comment"},props:{content:null},init({content:t=null}={}){this.content=t}}),Je=e()(o,{statics:{type:"directive"},props:{name:null,parameters:null},init({name:t=null,parameters:e={}}={}){this.name=t,this.parameters=Kt({version:null,handle:null,prefix:null},e)}}),Ye=e()(o,{statics:{type:"document"}});let Ie=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}({}),Ue=function(t){return t.Flow="Flow",t.Block="Block",t}({});const _e=e()({props:{styleGroup:null,style:null}}),Re=re.bind(void 0,"stream"),$e=re.bind(void 0,"document"),Le=re.bind(void 0,"mapping"),Ge=re.bind(void 0,"sequence"),Ve=re.bind(void 0,"keyValuePair"),Be=re.bind(void 0,"tag"),ze=re.bind(void 0,"scalar"),Ke=re.bind(void 0,"alias"),Qe=re.bind(void 0,"directive"),He=re.bind(void 0,"comment"),We=e()(o,_e,{statics:{type:"keyValuePair"},propertyDescriptors:{key:{get(){return this.children.filter((t=>ze(t)||Le(t)||Ge(t)))[0]},enumerable:!0},value:{get(){const{key:t,children:e}=this;return e.filter((e=>(e=>e!==t)(e)&&(t=>ze(t)||Le(t)||Ge(t)||Ke(t))(e)))[0]},enumerable:!0}}}),Xe=e()(Ce,{statics:{type:"mapping"},propertyDescriptors:{content:{get(){return Array.isArray(this.children)?this.children.filter(Ve):[]},enumerable:!0}}}),Ze=e()(De,{statics:{type:"scalar"},props:{content:""},init({content:t}={}){this.content=t}}),tn=e()(Ce,{statics:{type:"sequence"},propertyDescriptors:{content:{get(){const{children:t}=this;return Array.isArray(t)?t.filter((t=>Ge(t)||Le(t)||ze(t)||Ke(t))):[]},enumerable:!0}}}),en=e()(o,{statics:{type:"stream"},propertyDescriptors:{content:{get(){return Array.isArray(this.children)?this.children.filter((t=>$e(t)||He(t))):[]},enumerable:!0}}});let nn=function(t){return t.Scalar="Scalar",t.Sequence="Sequence",t.Mapping="Mapping",t}({});const rn=e()(o,{statics:{type:"tag"},props:{explicitName:"",kind:null},init({explicitName:t,kind:e}={}){this.explicitName=t,this.kind=e}}),on=e()(o,{statics:{type:"anchor"},props:{name:null},init({name:t=null}={}){this.name=t}});const sn=N("");const cn=V(1,Et(A,Ut("GeneratorFunction")));const an=V(1,Et(A,Ut("AsyncFunction")));const un=ft([Et(A,Ut("Function")),cn,an]);const ln=V(1,Et(A,Ut("Number")));var fn=St(ln,isFinite);var pn=V(1,fn);const dn=un(Number.isFinite)?V(1,rt(Number.isFinite,Number)):pn;var yn=St(dn,Mt(N,[Math.floor,Rt]));var gn=V(1,yn);const hn=un(Number.isInteger)?V(1,rt(Number.isInteger,Number)):gn;const mn=Ot(dn);const vn=V(1,St(ln,Jt(0)));const bn=function(t,e){var n=Number(e);if(n!==e&&(n=0),vn(n))throw new RangeError("repeat count must be non-negative");if(mn(n))throw new RangeError("repeat count must be less than infinity");if(n=Math.floor(n),0===t.length||0===n)return"";if(t.length*n>=1<<28)throw new RangeError("repeat count must not overflow maximum string size");var r=t.length*n;n=Math.floor(Math.log(n)/Math.log(2));for(var o=t;n;)o+=t,n-=1;return o+=o.substring(0,r-o.length)};var Sn=kt(bn),On=qt(Gt(1,"repeat"));const jn=un(String.prototype.repeat)?On:Sn;var wn=lt(void 0);const An=N(wn());var xn=Wt(/[\s\uFEFF\xA0]+$/,""),En=Gt(0,"trimEnd");const Nn=un(String.prototype.trimEnd)?En:xn;var Pn=Wt(/^[\s\uFEFF\xA0]+/,""),Tn=Gt(0,"trimStart");const Mn=un(String.prototype.trimStart)?Tn:Pn;const kn=qt($t);const Fn=kt((function(t,e){return Et(Xt(""),Ct(kn(t)),Vt(""))(e)}));const Dn=qt(Tt);var Cn=n(770);const qn=/^(?<style>[|>])(?<chomping>[+-]?)(?<indentation>[0-9]*)\s/,Jn=t=>{const e=(t=>{const e=t.match(qn),n=Ht("",["groups","indentation"],e);return sn(n)?void 0:parseInt(n,10)})(t);if(hn(e))return jn(" ",e);const n=Ht("",[1],t.split("\n")),r=Ht(0,["groups","indentation","length"],n.match(/^(?<indentation>[ ]*)/));return jn(" ",r)},Yn=t=>{const e=t.match(qn),n=Ht("",["groups","chomping"],e);return sn(n)?void 0:n},In=(t,e)=>An(t)?`${Nn(e)}\n`:"-"===t?Nn(e):e,Un=t=>t.replace(/\r\n/g,"\n"),_n=t=>t.replace(/(\n)?\n([^\n]+)/g,((t,e,n)=>e?t:` ${n.trimStart()}`)).replace(/[\n]{2}/g,"\n"),Rn=kt(((t,e)=>e.replace(new RegExp(`^${t}`),"").replace(new RegExp(`${t}$`),""))),$n=Et(Un,ee,_n,Xt("\n"),B(Mn),Vt("\n")),Ln=Et(Un,ee,Rn("'"),_n,Xt("\n"),B(Mn),Vt("\n")),Gn=Et(Un,ee,Rn('"'),(t=>t.replace(/\\\n\s*/g,"")),_n,Cn.S6,Xt("\n"),B(Mn),Vt("\n")),Vn=e()({methods:{test:t=>t.tag.kind===nn.Scalar&&"string"==typeof t.content,canonicalFormat(t){let e=t.content;const n=t.clone();return t.style===Ie.Plain?e=$n(t.content):t.style===Ie.SingleQuoted?e=Ln(t.content):t.style===Ie.DoubleQuoted?e=Gn(t.content):t.style===Ie.Literal?e=(t=>{const e=Jn(t),n=Yn(t),r=Un(t),o=xt(r.split("\n")),i=Pt(B(Fn(e)),B(Dn("\n"))),s=Zt(i,Tt,"",o);return In(n,s)})(t.content):t.style===Ie.Folded&&(e=(t=>{const e=Jn(t),n=Yn(t),r=Un(t),o=xt(r.split("\n")),i=Pt(B(Fn(e)),B(Dn("\n"))),s=Zt(i,Tt,"",o),c=_n(s);return In(n,c)})(t.content)),n.content=e,n},resolve:t=>t}}),Bn=e()(Vn,{props:{tag:""}}),zn=e()(Bn,{statics:{uri:"tag:yaml.org,2002:map"},init(t,{stamp:e}){this.tag=e.uri},methods:{test:t=>t.tag.kind===nn.Mapping,resolve:t=>t}}),Kn=e()(Bn,{statics:{uri:"tag:yaml.org,2002:seq"},init(t,{stamp:e}){this.tag=e.uri},methods:{test:t=>t.tag.kind===nn.Sequence,resolve:t=>t}}),Qn=e()(Bn,{statics:{uri:"tag:yaml.org,2002:str"},init(t,{stamp:e}){this.tag=e.uri},methods:{resolve:t=>t}}),Hn=e()({props:{tags:[],tagDirectives:[]},init(){this.tags=[],this.tagDirectives=[],this.registerTag(zn()),this.registerTag(Kn()),this.registerTag(Qn())},methods:{toSpecificTagName(t){let e=t.tag.explicitName;return"!"===t.tag.explicitName?t.tag.kind===nn.Scalar?e=Qn.uri:t.tag.kind===nn.Sequence?e=Kn.uri:t.tag.kind===nn.Mapping&&(e=zn.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 n=t;t.tag.kind===nn.Scalar&&(n=Vn().canonicalFormat(t));const r=this.tags.find((t=>t?.tag===e));if(void 0===r)throw new Error(`Tag "${e}" couldn't be resolved`);if(!r.test(n))throw new Error(`Node couldn't be resolved against tag "${e}"`);return r.resolve(n)}}}),Wn=e()(Bn,{statics:{uri:"tag:yaml.org,2002:bool"},init(t,{stamp:e}){this.tag=e.uri},methods:{test:t=>/^(true|false)$/.test(t.content),resolve(t){const e="true"===t.content,n=t.clone();return n.content=e,n}}}),Xn=e()(Bn,{statics:{uri:"tag:yaml.org,2002:float"},init(t,{stamp:e}){this.tag=e.uri},methods:{test:t=>/^-?(0|[1-9][0-9]*)(\.[0-9]*)?([eE][-+]?[0-9]+)?$/.test(t.content),resolve(t){const e=parseFloat(t.content),n=t.clone();return n.content=e,n}}}),Zn=e()(Bn,{statics:{uri:"tag:yaml.org,2002:int"},init(t,{stamp:e}){this.tag=e.uri},methods:{test:t=>/^-?(0|[1-9][0-9]*)$/.test(t.content),resolve(t){const e=parseInt(t.content,10),n=t.clone();return n.content=e,n}}}),tr=e()(Bn,{statics:{uri:"tag:yaml.org,2002:null"},init(t,{stamp:e}){this.tag=e.uri},methods:{test:t=>/^null$/.test(t.content),resolve(t){const e=t.clone();return e.content=null,e}}}),er=e()(Hn,{init(){this.registerTag(Wn(),!0),this.registerTag(Xn(),!0),this.registerTag(Zn(),!0),this.registerTag(tr(),!0)},methods:{toSpecificTagName(t){let e=Hn.compose.methods.toSpecificTagName.call(this,t);if("?"===e)if(t.tag.vkind===nn.Sequence)e=Kn.uri;else if(t.tag.kind===nn.Mapping)e=zn.uri;else if(t.tag.kind===nn.Scalar){const n=this.tags.find((e=>e.test(t)));e=n?.tag||"?"}return e}}}),nr=e()(o,{statics:{type:"literal"},props:{value:null},init({value:t=null}={}){this.value=t}}),rr=e()({statics:{type:"point"},props:{type:"point",row:null,column:null,char:null},init({row:t=null,column:e=null,char:n=null}={}){this.row=t,this.column=e,this.char=n}}),or=e()({statics:{type:"position"},props:{type:"position",start:null,end:null},init({start:t=null,end:e=null}={}){this.start=t,this.end=e}}),ir=e()(o,{statics:{type:"error"},props:{value:null,isUnexpected:!1},init({value:t=null,isUnexpected:e=!1}={}){this.value=t,this.isUnexpected=e}}),sr=e()(o,{statics:{type:"parseResult"},methods:{get rootNode(){return Yt(this.children)}}}),cr=(t,e,n)=>{const r=t[e];if(null!=r){if(!n&&"function"==typeof r)return r;const t=n?r.leave:r.enter;if("function"==typeof t)return t}else{const r=n?t.leave:t.enter;if(null!=r){if("function"==typeof r)return r;const t=r[e];if("function"==typeof t)return t}}return null},ar={},ur=t=>t?.type,lr=t=>"string"==typeof ur(t),fr=(t,{visitFnGetter:e=cr,nodeTypeGetter:n=ur}={})=>{const r=new Array(t.length);return{enter(o,...i){for(let s=0;s<t.length;s+=1)if(null==r[s]){const c=e(t[s],n(o),!1);if("function"==typeof c){const e=c.call(t[s],o,...i);if(!1===e)r[s]=o;else if(e===ar)r[s]=ar;else if(void 0!==e)return e}}},leave(o,...i){for(let s=0;s<t.length;s+=1)if(null==r[s]){const c=e(t[s],n(o),!0);if("function"==typeof c){const e=c.call(t[s],o,...i);if(e===ar)r[s]=ar;else if(void 0!==e&&!1!==e)return e}}else r[s]===o&&(r[s]=null)}}},pr=(t,e,{keyMap:n=null,state:r={},breakSymbol:o=ar,deleteNodeSymbol:i=null,skipVisitingNodeSymbol:s=!1,visitFnGetter:c=cr,nodeTypeGetter:a=ur,nodePredicate:u=lr,detectCycles:l=!0}={})=>{const f=n||{};let p,d,y=Array.isArray(t),g=[t],h=-1,m=[];const v=[],b=[];let S=t;do{h+=1;const t=h===g.length;let n,O;const j=t&&0!==m.length;if(t){if(n=0===b.length?void 0:v.pop(),O=d,d=b.pop(),j){O=y?O.slice():Object.create(Object.getPrototypeOf(O),Object.getOwnPropertyDescriptors(O));let t=0;for(let e=0;e<m.length;e+=1){let n=m[e][0];const r=m[e][1];y&&(n-=t),y&&r===i?(O.splice(n,1),t+=1):O[n]=r}}h=p.index,g=p.keys,m=p.edits,y=p.inArray,p=p.prev}else{if(n=d?y?h:g[h]:void 0,O=d?d[n]:S,O===i||void 0===O)continue;d&&v.push(n)}if(b.includes(O))continue;let w;if(!Array.isArray(O)){if(!u(O))throw new Error(`Invalid AST Node: ${JSON.stringify(O)}`);if(l&&b.includes(O)){v.pop();continue}const i=c(e,a(O),t);if(i){for(const[t,n]of Object.entries(r))e[t]=n;if(w=i.call(e,O,n,d,v,b),w===o)break;if(w===s){if(!t){v.pop();continue}}else if(void 0!==w&&(m.push([n,w]),!t)){if(!u(w)){v.pop();continue}O=w}}}void 0===w&&j&&m.push([n,O]),t||(p={inArray:y,index:h,keys:g,edits:m,prev:p},y=Array.isArray(O),g=y?O:f[a(O)]||[],h=-1,m=[],d&&b.push(d),d=O)}while(void 0!==p);return 0!==m.length&&([,S]=m[m.length-1]),S};pr[Symbol.for("nodejs.util.promisify.custom")]=async(t,e,{keyMap:n=null,state:r={},breakSymbol:o=ar,deleteNodeSymbol:i=null,skipVisitingNodeSymbol:s=!1,visitFnGetter:c=cr,nodeTypeGetter:a=ur,nodePredicate:u=lr,detectCycles:l=!0}={})=>{const f=n||{};let p,d,y=Array.isArray(t),g=[t],h=-1,m=[];const v=[],b=[];let S=t;do{h+=1;const t=h===g.length;let n,O;const j=t&&0!==m.length;if(t){if(n=0===b.length?void 0:v.pop(),O=d,d=b.pop(),j){O=y?O.slice():Object.create(Object.getPrototypeOf(O),Object.getOwnPropertyDescriptors(O));let t=0;for(let e=0;e<m.length;e+=1){let n=m[e][0];const r=m[e][1];y&&(n-=t),y&&r===i?(O.splice(n,1),t+=1):O[n]=r}}h=p.index,g=p.keys,m=p.edits,y=p.inArray,p=p.prev}else{if(n=d?y?h:g[h]:void 0,O=d?d[n]:S,O===i||void 0===O)continue;d&&v.push(n)}let w;if(!Array.isArray(O)){if(!u(O))throw new Error(`Invalid AST Node: ${JSON.stringify(O)}`);if(l&&b.includes(O)){v.pop();continue}const i=c(e,a(O),t);if(i){for(const[t,n]of Object.entries(r))e[t]=n;if(w=await i.call(e,O,n,d,v,b),w===o)break;if(w===s){if(!t){v.pop();continue}}else if(void 0!==w&&(m.push([n,w]),!t)){if(!u(w)){v.pop();continue}O=w}}}void 0===w&&j&&m.push([n,O]),t||(p={inArray:y,index:h,keys:g,edits:m,prev:p},y=Array.isArray(O),g=y?O:f[a(O)]||[],h=-1,m=[],d&&b.push(d),d=O)}while(void 0!==p);return 0!==m.length&&([,S]=m[m.length-1]),S}})(),r})()));
|
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={5271:(t,e,r)=>{var n=r(7820);t.exports=n},9821:(t,e,r)=>{var n=r(2285);r(7148),r(9031),r(1875),t.exports=n},8008:(t,e,r)=>{var n=r(8535);t.exports=n},164:(t,e,r)=>{var n=r(6042);t.exports=n},3512:(t,e,r)=>{r(297);var n=r(7545).Object,o=t.exports=function(t,e,r){return n.defineProperty(t,e,r)};n.defineProperty.sham&&(o.sham=!0)},5008:(t,e,r)=>{r(9106),r(6663),r(6187),r(9781),r(492),r(6681),r(9594),r(3665),r(9017),r(1250),r(9786),r(503),r(6565),r(9322),r(3610),r(6886),r(3514),r(8671),r(8556),r(1367);var n=r(7545);t.exports=n.Symbol},994:(t,e,r)=>{r(8939),r(6663),r(5454),r(3665);var n=r(9207);t.exports=n.f("iterator")},290:(t,e,r)=>{r(2432),r(3610);var n=r(9207);t.exports=n.f("toPrimitive")},229:(t,e,r)=>{var n=r(5271);t.exports=n},2185:(t,e,r)=>{var n=r(9821);r(177),r(3346),r(3520),r(6658),r(8658),r(2725),r(1806),r(4212),r(4592),r(6680),t.exports=n},9982:(t,e,r)=>{var n=r(8008);t.exports=n},8241:(t,e,r)=>{var n=r(164);t.exports=n},6235:(t,e,r)=>{var n=r(6447),o=r(9288),i=TypeError;t.exports=function(t){if(n(t))return t;throw i(o(t)+" is not a function")}},7757:(t,e,r)=>{var n=r(6447),o=String,i=TypeError;t.exports=function(t){if("object"==typeof t||n(t))return t;throw i("Can't set "+o(t)+" as a prototype")}},7423:t=>{t.exports=function(){}},1138:(t,e,r)=>{var n=r(5744),o=String,i=TypeError;t.exports=function(t){if(n(t))return t;throw i(o(t)+" is not an object")}},8180:(t,e,r)=>{var n=r(101),o=r(7739),i=r(4104),a=function(t){return function(e,r,a){var c,s=n(e),u=i(s),l=o(a,u);if(t&&r!=r){for(;u>l;)if((c=s[l++])!=c)return!0}else for(;u>l;l++)if((t||l in s)&&s[l]===r)return t||l||0;return!t&&-1}};t.exports={includes:a(!0),indexOf:a(!1)}},454:(t,e,r)=>{var n=r(8043),o=r(4120),i=r(2202),a=r(1795),c=r(4104),s=r(1321),u=o([].push),l=function(t){var e=1==t,r=2==t,o=3==t,l=4==t,f=6==t,p=7==t,y=5==t||f;return function(d,h,g,v){for(var m,b,S=a(d),x=i(S),O=n(h,g),w=c(x),j=0,A=v||s,P=e?A(d,w):r||p?A(d,0):void 0;w>j;j++)if((y||j in x)&&(b=O(m=x[j],j,S),t))if(e)P[j]=b;else if(b)switch(t){case 3:return!0;case 5:return m;case 6:return j;case 2:u(P,m)}else switch(t){case 4:return!1;case 7:u(P,m)}return f?-1:o||l?l:P}};t.exports={forEach:l(0),map:l(1),filter:l(2),some:l(3),every:l(4),find:l(5),findIndex:l(6),filterReject:l(7)}},242:(t,e,r)=>{var n=r(6192),o=r(8182),i=r(4218),a=o("species");t.exports=function(t){return i>=51||!n((function(){var e=[];return(e.constructor={})[a]=function(){return{foo:1}},1!==e[t](Boolean).foo}))}},1923:(t,e,r)=>{var n=r(7739),o=r(4104),i=r(9361),a=Array,c=Math.max;t.exports=function(t,e,r){for(var s=o(t),u=n(e,s),l=n(void 0===r?s:r,s),f=a(c(l-u,0)),p=0;u<l;u++,p++)i(f,p,t[u]);return f.length=p,f}},3096:(t,e,r)=>{var n=r(4120);t.exports=n([].slice)},3712:(t,e,r)=>{var n=r(4770),o=r(2091),i=r(5744),a=r(8182)("species"),c=Array;t.exports=function(t){var e;return n(t)&&(e=t.constructor,(o(e)&&(e===c||n(e.prototype))||i(e)&&null===(e=e[a]))&&(e=void 0)),void 0===e?c:e}},1321:(t,e,r)=>{var n=r(3712);t.exports=function(t,e){return new(n(t))(0===e?0:e)}},9272:(t,e,r)=>{var n=r(4120),o=n({}.toString),i=n("".slice);t.exports=function(t){return i(o(t),8,-1)}},4696:(t,e,r)=>{var n=r(3471),o=r(6447),i=r(9272),a=r(8182)("toStringTag"),c=Object,s="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),a))?r:s?i(e):"Object"==(n=i(e))&&o(e.callee)?"Arguments":n}},4635:(t,e,r)=>{var n=r(6192);t.exports=!n((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}))},7271:t=>{t.exports=function(t,e){return{value:t,done:e}}},8711:(t,e,r)=>{var n=r(69),o=r(2760),i=r(774);t.exports=n?function(t,e,r){return o.f(t,e,i(1,r))}:function(t,e,r){return t[e]=r,t}},774:t=>{t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},9361:(t,e,r)=>{"use strict";var n=r(77),o=r(2760),i=r(774);t.exports=function(t,e,r){var a=n(e);a in t?o.f(t,a,i(0,r)):t[a]=r}},2807:(t,e,r)=>{var n=r(2760);t.exports=function(t,e,r){return n.f(t,e,r)}},9362:(t,e,r)=>{var n=r(8711);t.exports=function(t,e,r,o){return o&&o.enumerable?t[e]=r:n(t,e,r),t}},5098:(t,e,r)=>{var n=r(8576),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}},69:(t,e,r)=>{var n=r(6192);t.exports=!n((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},8382:t=>{var e="object"==typeof document&&document.all,r=void 0===e&&void 0!==e;t.exports={all:e,IS_HTMLDDA:r}},7449:(t,e,r)=>{var n=r(8576),o=r(5744),i=n.document,a=o(i)&&o(i.createElement);t.exports=function(t){return a?i.createElement(t):{}}},9425:t=>{var e=TypeError;t.exports=function(t){if(t>9007199254740991)throw e("Maximum allowed index exceeded");return t}},7365:t=>{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}},8989:t=>{t.exports="undefined"!=typeof navigator&&String(navigator.userAgent)||""},4218:(t,e,r)=>{var n,o,i=r(8576),a=r(8989),c=i.process,s=i.Deno,u=c&&c.versions||s&&s.version,l=u&&u.v8;l&&(o=(n=l.split("."))[0]>0&&n[0]<4?1:+(n[0]+n[1])),!o&&a&&(!(n=a.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=a.match(/Chrome\/(\d+)/))&&(o=+n[1]),t.exports=o},2952:t=>{t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},3085:(t,e,r)=>{"use strict";var n=r(8576),o=r(6298),i=r(4914),a=r(6447),c=r(5141).f,s=r(9245),u=r(7545),l=r(8043),f=r(8711),p=r(4500),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,d,h,g,v,m,b,S,x=t.target,O=t.global,w=t.stat,j=t.proto,A=O?n:w?n[x]:(n[x]||{}).prototype,P=O?u:u[x]||f(u,x,{})[x],T=P.prototype;for(h in e)o=!(r=s(O?h:x+(w?".":"#")+h,t.forced))&&A&&p(A,h),v=P[h],o&&(m=t.dontCallGetSet?(S=c(A,h))&&S.value:A[h]),g=o&&m?m:e[h],o&&typeof v==typeof g||(b=t.bind&&o?l(g,n):t.wrap&&o?y(g):j&&a(g)?i(g):g,(t.sham||g&&g.sham||v&&v.sham)&&f(b,"sham",!0),f(P,h,b),j&&(p(u,d=x+"Prototype")||f(u,d,{}),f(u[d],h,g),t.real&&T&&(r||!T[h])&&f(T,h,g)))}},6192:t=>{t.exports=function(t){try{return!!t()}catch(t){return!0}}},6298:(t,e,r)=>{var n=r(2784),o=Function.prototype,i=o.apply,a=o.call;t.exports="object"==typeof Reflect&&Reflect.apply||(n?a.bind(i):function(){return a.apply(i,arguments)})},8043:(t,e,r)=>{var n=r(4914),o=r(6235),i=r(2784),a=n(n.bind);t.exports=function(t,e){return o(t),void 0===e?t:i?a(t,e):function(){return t.apply(e,arguments)}}},2784:(t,e,r)=>{var n=r(6192);t.exports=!n((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")}))},8922:(t,e,r)=>{var n=r(2784),o=Function.prototype.call;t.exports=n?o.bind(o):function(){return o.apply(o,arguments)}},2282:(t,e,r)=>{var n=r(69),o=r(4500),i=Function.prototype,a=n&&Object.getOwnPropertyDescriptor,c=o(i,"name"),s=c&&"something"===function(){}.name,u=c&&(!n||n&&a(i,"name").configurable);t.exports={EXISTS:c,PROPER:s,CONFIGURABLE:u}},6419:(t,e,r)=>{var n=r(4120),o=r(6235);t.exports=function(t,e,r){try{return n(o(Object.getOwnPropertyDescriptor(t,e)[r]))}catch(t){}}},4914:(t,e,r)=>{var n=r(9272),o=r(4120);t.exports=function(t){if("Function"===n(t))return o(t)}},4120:(t,e,r)=>{var n=r(2784),o=Function.prototype,i=o.call,a=n&&o.bind.bind(i,i);t.exports=n?a:function(t){return function(){return i.apply(t,arguments)}}},150:(t,e,r)=>{var n=r(7545),o=r(8576),i=r(6447),a=function(t){return i(t)?t:void 0};t.exports=function(t,e){return arguments.length<2?a(n[t])||a(o[t]):n[t]&&n[t][e]||o[t]&&o[t][e]}},9202:(t,e,r)=>{var n=r(4120),o=r(4770),i=r(6447),a=r(9272),c=r(4845),s=n([].push);t.exports=function(t){if(i(t))return t;if(o(t)){for(var e=t.length,r=[],n=0;n<e;n++){var u=t[n];"string"==typeof u?s(r,u):"number"!=typeof u&&"Number"!=a(u)&&"String"!=a(u)||s(r,c(u))}var l=r.length,f=!0;return function(t,e){if(f)return f=!1,e;if(o(this))return e;for(var n=0;n<l;n++)if(r[n]===t)return e}}}},5037:(t,e,r)=>{var n=r(6235),o=r(5646);t.exports=function(t,e){var r=t[e];return o(r)?void 0:n(r)}},8576:function(t,e,r){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)||function(){return this}()||this||Function("return this")()},4500:(t,e,r)=>{var n=r(4120),o=r(1795),i=n({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,e){return i(o(t),e)}},4535:t=>{t.exports={}},7403:(t,e,r)=>{var n=r(150);t.exports=n("document","documentElement")},188:(t,e,r)=>{var n=r(69),o=r(6192),i=r(7449);t.exports=!n&&!o((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},2202:(t,e,r)=>{var n=r(4120),o=r(6192),i=r(9272),a=Object,c=n("".split);t.exports=o((function(){return!a("z").propertyIsEnumerable(0)}))?function(t){return"String"==i(t)?c(t,""):a(t)}:a},9516:(t,e,r)=>{var n=r(4120),o=r(6447),i=r(6434),a=n(Function.toString);o(i.inspectSource)||(i.inspectSource=function(t){return a(t)}),t.exports=i.inspectSource},3326:(t,e,r)=>{var n,o,i,a=r(5278),c=r(8576),s=r(5744),u=r(8711),l=r(4500),f=r(6434),p=r(9766),y=r(4535),d="Object already initialized",h=c.TypeError,g=c.WeakMap;if(a||f.state){var v=f.state||(f.state=new g);v.get=v.get,v.has=v.has,v.set=v.set,n=function(t,e){if(v.has(t))throw h(d);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 h(d);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(!s(e)||(r=o(e)).type!==t)throw h("Incompatible receiver, "+t+" required");return r}}}},4770:(t,e,r)=>{var n=r(9272);t.exports=Array.isArray||function(t){return"Array"==n(t)}},6447:(t,e,r)=>{var n=r(8382),o=n.all;t.exports=n.IS_HTMLDDA?function(t){return"function"==typeof t||t===o}:function(t){return"function"==typeof t}},2091:(t,e,r)=>{var n=r(4120),o=r(6192),i=r(6447),a=r(4696),c=r(150),s=r(9516),u=function(){},l=[],f=c("Reflect","construct"),p=/^\s*(?:class|function)\b/,y=n(p.exec),d=!p.exec(u),h=function(t){if(!i(t))return!1;try{return f(u,l,t),!0}catch(t){return!1}},g=function(t){if(!i(t))return!1;switch(a(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return d||!!y(p,s(t))}catch(t){return!0}};g.sham=!0,t.exports=!f||o((function(){var t;return h(h.call)||!h(Object)||!h((function(){t=!0}))||t}))?g:h},9245:(t,e,r)=>{var n=r(6192),o=r(6447),i=/#|\.prototype\./,a=function(t,e){var r=s[c(t)];return r==l||r!=u&&(o(e)?n(e):!!e)},c=a.normalize=function(t){return String(t).replace(i,".").toLowerCase()},s=a.data={},u=a.NATIVE="N",l=a.POLYFILL="P";t.exports=a},5646:t=>{t.exports=function(t){return null==t}},5744:(t,e,r)=>{var n=r(6447),o=r(8382),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)}},5546:t=>{t.exports=!0},3236:(t,e,r)=>{var n=r(150),o=r(6447),i=r(8902),a=r(615),c=Object;t.exports=a?function(t){return"symbol"==typeof t}:function(t){var e=n("Symbol");return o(e)&&i(e.prototype,c(t))}},5695:(t,e,r)=>{"use strict";var n=r(4413).IteratorPrototype,o=r(2853),i=r(774),a=r(1284),c=r(7771),s=function(){return this};t.exports=function(t,e,r,u){var l=e+" Iterator";return t.prototype=o(n,{next:i(+!u,r)}),a(t,l,!1,!0),c[l]=s,t}},5297:(t,e,r)=>{"use strict";var n=r(3085),o=r(8922),i=r(5546),a=r(2282),c=r(6447),s=r(5695),u=r(9341),l=r(4469),f=r(1284),p=r(8711),y=r(9362),d=r(8182),h=r(7771),g=r(4413),v=a.PROPER,m=a.CONFIGURABLE,b=g.IteratorPrototype,S=g.BUGGY_SAFARI_ITERATORS,x=d("iterator"),O="keys",w="values",j="entries",A=function(){return this};t.exports=function(t,e,r,a,d,g,P){s(r,e,a);var T,E,N,k=function(t){if(t===d&&I)return I;if(!S&&t in C)return C[t];switch(t){case O:case w:case j:return function(){return new r(this,t)}}return function(){return new r(this)}},F=e+" Iterator",M=!1,C=t.prototype,D=C[x]||C["@@iterator"]||d&&C[d],I=!S&&D||k(d),L="Array"==e&&C.entries||D;if(L&&(T=u(L.call(new t)))!==Object.prototype&&T.next&&(i||u(T)===b||(l?l(T,b):c(T[x])||y(T,x,A)),f(T,F,!0,!0),i&&(h[F]=A)),v&&d==w&&D&&D.name!==w&&(!i&&m?p(C,"name",w):(M=!0,I=function(){return o(D,this)})),d)if(E={values:k(w),keys:g?I:k(O),entries:k(j)},P)for(N in E)(S||M||!(N in C))&&y(C,N,E[N]);else n({target:e,proto:!0,forced:S||M},E);return i&&!P||C[x]===I||y(C,x,I,{name:d}),h[e]=I,E}},4413:(t,e,r)=>{"use strict";var n,o,i,a=r(6192),c=r(6447),s=r(5744),u=r(2853),l=r(9341),f=r(9362),p=r(8182),y=r(5546),d=p("iterator"),h=!1;[].keys&&("next"in(i=[].keys())?(o=l(l(i)))!==Object.prototype&&(n=o):h=!0),!s(n)||a((function(){var t={};return n[d].call(t)!==t}))?n={}:y&&(n=u(n)),c(n[d])||f(n,d,(function(){return this})),t.exports={IteratorPrototype:n,BUGGY_SAFARI_ITERATORS:h}},7771:t=>{t.exports={}},4104:(t,e,r)=>{var n=r(8445);t.exports=function(t){return n(t.length)}},7679:t=>{var e=Math.ceil,r=Math.floor;t.exports=Math.trunc||function(t){var n=+t;return(n>0?r:e)(n)}},2853:(t,e,r)=>{var n,o=r(1138),i=r(1187),a=r(2952),c=r(4535),s=r(7403),u=r(7449),l=r(9766),f="prototype",p="script",y=l("IE_PROTO"),d=function(){},h=function(t){return"<"+p+">"+t+"</"+p+">"},g=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?g(n):(e=u("iframe"),r="java"+p+":",e.style.display="none",s.appendChild(e),e.src=String(r),(t=e.contentWindow.document).open(),t.write(h("document.F=Object")),t.close(),t.F):g(n);for(var o=a.length;o--;)delete v[f][a[o]];return v()};c[y]=!0,t.exports=Object.create||function(t,e){var r;return null!==t?(d[f]=o(t),r=new d,d[f]=null,r[y]=t):r=v(),void 0===e?r:i.f(r,e)}},1187:(t,e,r)=>{var n=r(69),o=r(9600),i=r(2760),a=r(1138),c=r(101),s=r(7653);e.f=n&&!o?Object.defineProperties:function(t,e){a(t);for(var r,n=c(e),o=s(e),u=o.length,l=0;u>l;)i.f(t,r=o[l++],n[r]);return t}},2760:(t,e,r)=>{var n=r(69),o=r(188),i=r(9600),a=r(1138),c=r(77),s=TypeError,u=Object.defineProperty,l=Object.getOwnPropertyDescriptor,f="enumerable",p="configurable",y="writable";e.f=n?i?function(t,e,r){if(a(t),e=c(e),a(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(a(t),e=c(e),a(r),o)try{return u(t,e,r)}catch(t){}if("get"in r||"set"in r)throw s("Accessors not supported");return"value"in r&&(t[e]=r.value),t}},5141:(t,e,r)=>{var n=r(69),o=r(8922),i=r(6007),a=r(774),c=r(101),s=r(77),u=r(4500),l=r(188),f=Object.getOwnPropertyDescriptor;e.f=n?f:function(t,e){if(t=c(t),e=s(e),l)try{return f(t,e)}catch(t){}if(u(t,e))return a(!o(i.f,t,e),t[e])}},4052:(t,e,r)=>{var n=r(9272),o=r(101),i=r(2092).f,a=r(1923),c="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];t.exports.f=function(t){return c&&"Window"==n(t)?function(t){try{return i(t)}catch(t){return a(c)}}(t):i(o(t))}},2092:(t,e,r)=>{var n=r(7934),o=r(2952).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return n(t,o)}},4750:(t,e)=>{e.f=Object.getOwnPropertySymbols},9341:(t,e,r)=>{var n=r(4500),o=r(6447),i=r(1795),a=r(9766),c=r(4635),s=a("IE_PROTO"),u=Object,l=u.prototype;t.exports=c?u.getPrototypeOf:function(t){var e=i(t);if(n(e,s))return e[s];var r=e.constructor;return o(r)&&e instanceof r?r.prototype:e instanceof u?l:null}},8902:(t,e,r)=>{var n=r(4120);t.exports=n({}.isPrototypeOf)},7934:(t,e,r)=>{var n=r(4120),o=r(4500),i=r(101),a=r(8180).indexOf,c=r(4535),s=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)&&s(l,r);for(;e.length>u;)o(n,r=e[u++])&&(~a(l,r)||s(l,r));return l}},7653:(t,e,r)=>{var n=r(7934),o=r(2952);t.exports=Object.keys||function(t){return n(t,o)}},6007:(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},4469:(t,e,r)=>{var n=r(6419),o=r(1138),i=r(7757);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)},158:(t,e,r)=>{"use strict";var n=r(3471),o=r(4696);t.exports=n?{}.toString:function(){return"[object "+o(this)+"]"}},380:(t,e,r)=>{var n=r(8922),o=r(6447),i=r(5744),a=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 a("Can't convert object to primitive value")}},7545:t=>{t.exports={}},3209:(t,e,r)=>{var n=r(5646),o=TypeError;t.exports=function(t){if(n(t))throw o("Can't call method on "+t);return t}},1284:(t,e,r)=>{var n=r(3471),o=r(2760).f,i=r(8711),a=r(4500),c=r(158),s=r(8182)("toStringTag");t.exports=function(t,e,r,u){if(t){var l=r?t:t.prototype;a(l,s)||o(l,s,{configurable:!0,value:e}),u&&!n&&i(l,"toString",c)}}},9766:(t,e,r)=>{var n=r(8717),o=r(2759),i=n("keys");t.exports=function(t){return i[t]||(i[t]=o(t))}},6434:(t,e,r)=>{var n=r(8576),o=r(5098),i="__core-js_shared__",a=n[i]||o(i,{});t.exports=a},8717:(t,e,r)=>{var n=r(5546),o=r(6434);(t.exports=function(t,e){return o[t]||(o[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.31.1",mode:n?"pure":"global",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.31.1/LICENSE",source:"https://github.com/zloirock/core-js"})},863:(t,e,r)=>{var n=r(4120),o=r(1941),i=r(4845),a=r(3209),c=n("".charAt),s=n("".charCodeAt),u=n("".slice),l=function(t){return function(e,r){var n,l,f=i(a(e)),p=o(r),y=f.length;return p<0||p>=y?t?"":void 0:(n=s(f,p))<55296||n>56319||p+1===y||(l=s(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)}},6770:(t,e,r)=>{var n=r(4218),o=r(6192),i=r(8576).String;t.exports=!!Object.getOwnPropertySymbols&&!o((function(){var t=Symbol();return!i(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&n&&n<41}))},3407:(t,e,r)=>{var n=r(8922),o=r(150),i=r(8182),a=r(9362);t.exports=function(){var t=o("Symbol"),e=t&&t.prototype,r=e&&e.valueOf,c=i("toPrimitive");e&&!e[c]&&a(e,c,(function(t){return n(r,this)}),{arity:1})}},8743:(t,e,r)=>{var n=r(150),o=r(4120),i=n("Symbol"),a=i.keyFor,c=o(i.prototype.valueOf);t.exports=i.isRegisteredSymbol||function(t){try{return void 0!==a(c(t))}catch(t){return!1}}},5128:(t,e,r)=>{for(var n=r(8717),o=r(150),i=r(4120),a=r(3236),c=r(8182),s=o("Symbol"),u=s.isWellKnownSymbol,l=o("Object","getOwnPropertyNames"),f=i(s.prototype.valueOf),p=n("wks"),y=0,d=l(s),h=d.length;y<h;y++)try{var g=d[y];a(s[g])&&c(g)}catch(t){}t.exports=function(t){if(u&&u(t))return!0;try{for(var e=f(t),r=0,n=l(p),o=n.length;r<o;r++)if(p[n[r]]==e)return!0}catch(t){}return!1}},31:(t,e,r)=>{var n=r(6770);t.exports=n&&!!Symbol.for&&!!Symbol.keyFor},7739:(t,e,r)=>{var n=r(1941),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)}},101:(t,e,r)=>{var n=r(2202),o=r(3209);t.exports=function(t){return n(o(t))}},1941:(t,e,r)=>{var n=r(7679);t.exports=function(t){var e=+t;return e!=e||0===e?0:n(e)}},8445:(t,e,r)=>{var n=r(1941),o=Math.min;t.exports=function(t){return t>0?o(n(t),9007199254740991):0}},1795:(t,e,r)=>{var n=r(3209),o=Object;t.exports=function(t){return o(n(t))}},7888:(t,e,r)=>{var n=r(8922),o=r(5744),i=r(3236),a=r(5037),c=r(380),s=r(8182),u=TypeError,l=s("toPrimitive");t.exports=function(t,e){if(!o(t)||i(t))return t;var r,s=a(t,l);if(s){if(void 0===e&&(e="default"),r=n(s,t,e),!o(r)||i(r))return r;throw u("Can't convert object to primitive value")}return void 0===e&&(e="number"),c(t,e)}},77:(t,e,r)=>{var n=r(7888),o=r(3236);t.exports=function(t){var e=n(t,"string");return o(e)?e:e+""}},3471:(t,e,r)=>{var n={};n[r(8182)("toStringTag")]="z",t.exports="[object z]"===String(n)},4845:(t,e,r)=>{var n=r(4696),o=String;t.exports=function(t){if("Symbol"===n(t))throw TypeError("Cannot convert a Symbol value to a string");return o(t)}},9288:t=>{var e=String;t.exports=function(t){try{return e(t)}catch(t){return"Object"}}},2759:(t,e,r)=>{var n=r(4120),o=0,i=Math.random(),a=n(1..toString);t.exports=function(t){return"Symbol("+(void 0===t?"":t)+")_"+a(++o+i,36)}},615:(t,e,r)=>{var n=r(6770);t.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},9600:(t,e,r)=>{var n=r(69),o=r(6192);t.exports=n&&o((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},5278:(t,e,r)=>{var n=r(8576),o=r(6447),i=n.WeakMap;t.exports=o(i)&&/native code/.test(String(i))},8332:(t,e,r)=>{var n=r(7545),o=r(4500),i=r(9207),a=r(2760).f;t.exports=function(t){var e=n.Symbol||(n.Symbol={});o(e,t)||a(e,t,{value:i.f(t)})}},9207:(t,e,r)=>{var n=r(8182);e.f=n},8182:(t,e,r)=>{var n=r(8576),o=r(8717),i=r(4500),a=r(2759),c=r(6770),s=r(615),u=n.Symbol,l=o("wks"),f=s?u.for||u:u&&u.withoutSetter||a;t.exports=function(t){return i(l,t)||(l[t]=c&&i(u,t)?u[t]:f("Symbol."+t)),l[t]}},9106:(t,e,r)=>{"use strict";var n=r(3085),o=r(6192),i=r(4770),a=r(5744),c=r(1795),s=r(4104),u=r(9425),l=r(9361),f=r(1321),p=r(242),y=r(8182),d=r(4218),h=y("isConcatSpreadable"),g=d>=51||!o((function(){var t=[];return t[h]=!1,t.concat()[0]!==t})),v=function(t){if(!a(t))return!1;var e=t[h];return void 0!==e?!!e:i(t)};n({target:"Array",proto:!0,arity:1,forced:!g||!p("concat")},{concat:function(t){var e,r,n,o,i,a=c(this),p=f(a,0),y=0;for(e=-1,n=arguments.length;e<n;e++)if(v(i=-1===e?a:arguments[e]))for(o=s(i),u(y+o),r=0;r<o;r++,y++)r in i&&l(p,y,i[r]);else u(y+1),l(p,y++,i);return p.length=y,p}})},8939:(t,e,r)=>{"use strict";var n=r(101),o=r(7423),i=r(7771),a=r(3326),c=r(2760).f,s=r(5297),u=r(7271),l=r(5546),f=r(69),p="Array Iterator",y=a.set,d=a.getterFor(p);t.exports=s(Array,"Array",(function(t,e){y(this,{type:p,target:n(t),index:0,kind:e})}),(function(){var t=d(this),e=t.target,r=t.kind,n=t.index++;return!e||n>=e.length?(t.target=void 0,u(void 0,!0)):u("keys"==r?n:"values"==r?e[n]:[n,e[n]],!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){}},2432:()=>{},9704:(t,e,r)=>{var n=r(3085),o=r(150),i=r(6298),a=r(8922),c=r(4120),s=r(6192),u=r(6447),l=r(3236),f=r(3096),p=r(9202),y=r(6770),d=String,h=o("JSON","stringify"),g=c(/./.exec),v=c("".charAt),m=c("".charCodeAt),b=c("".replace),S=c(1..toString),x=/[\uD800-\uDFFF]/g,O=/^[\uD800-\uDBFF]$/,w=/^[\uDC00-\uDFFF]$/,j=!y||s((function(){var t=o("Symbol")();return"[null]"!=h([t])||"{}"!=h({a:t})||"{}"!=h(Object(t))})),A=s((function(){return'"\\udf06\\ud834"'!==h("\udf06\ud834")||'"\\udead"'!==h("\udead")})),P=function(t,e){var r=f(arguments),n=p(e);if(u(n)||void 0!==t&&!l(t))return r[1]=function(t,e){if(u(n)&&(e=a(n,this,d(t),e)),!l(e))return e},i(h,null,r)},T=function(t,e,r){var n=v(r,e-1),o=v(r,e+1);return g(O,t)&&!g(w,o)||g(w,t)&&!g(O,n)?"\\u"+S(m(t,0),16):t};h&&n({target:"JSON",stat:!0,arity:3,forced:j||A},{stringify:function(t,e,r){var n=f(arguments),o=i(j?P:h,null,n);return A&&"string"==typeof o?b(o,x,T):o}})},8671:(t,e,r)=>{var n=r(8576);r(1284)(n.JSON,"JSON",!0)},8556:()=>{},297:(t,e,r)=>{var n=r(3085),o=r(69),i=r(2760).f;n({target:"Object",stat:!0,forced:Object.defineProperty!==i,sham:!o},{defineProperty:i})},7895:(t,e,r)=>{var n=r(3085),o=r(6770),i=r(6192),a=r(4750),c=r(1795);n({target:"Object",stat:!0,forced:!o||i((function(){a.f(1)}))},{getOwnPropertySymbols:function(t){var e=a.f;return e?e(c(t)):[]}})},6663:()=>{},1367:()=>{},5454:(t,e,r)=>{"use strict";var n=r(863).charAt,o=r(4845),i=r(3326),a=r(5297),c=r(7271),s="String Iterator",u=i.set,l=i.getterFor(s);a(String,"String",(function(t){u(this,{type:s,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))}))},9781:(t,e,r)=>{r(8332)("asyncIterator")},9351:(t,e,r)=>{"use strict";var n=r(3085),o=r(8576),i=r(8922),a=r(4120),c=r(5546),s=r(69),u=r(6770),l=r(6192),f=r(4500),p=r(8902),y=r(1138),d=r(101),h=r(77),g=r(4845),v=r(774),m=r(2853),b=r(7653),S=r(2092),x=r(4052),O=r(4750),w=r(5141),j=r(2760),A=r(1187),P=r(6007),T=r(9362),E=r(2807),N=r(8717),k=r(9766),F=r(4535),M=r(2759),C=r(8182),D=r(9207),I=r(8332),L=r(3407),_=r(1284),R=r(3326),U=r(454).forEach,q=k("hidden"),J="Symbol",Y="prototype",G=R.set,$=R.getterFor(J),B=Object[Y],V=o.Symbol,K=V&&V[Y],z=o.TypeError,W=o.QObject,H=w.f,Q=j.f,X=x.f,Z=P.f,tt=a([].push),et=N("symbols"),rt=N("op-symbols"),nt=N("wks"),ot=!W||!W[Y]||!W[Y].findChild,it=s&&l((function(){return 7!=m(Q({},"a",{get:function(){return Q(this,"a",{value:7}).a}})).a}))?function(t,e,r){var n=H(B,e);n&&delete B[e],Q(t,e,r),n&&t!==B&&Q(B,e,n)}:Q,at=function(t,e){var r=et[t]=m(K);return G(r,{type:J,tag:t,description:e}),s||(r.description=e),r},ct=function(t,e,r){t===B&&ct(rt,e,r),y(t);var n=h(e);return y(r),f(et,n)?(r.enumerable?(f(t,q)&&t[q][n]&&(t[q][n]=!1),r=m(r,{enumerable:v(0,!1)})):(f(t,q)||Q(t,q,v(1,{})),t[q][n]=!0),it(t,n,r)):Q(t,n,r)},st=function(t,e){y(t);var r=d(e),n=b(r).concat(pt(r));return U(n,(function(e){s&&!i(ut,r,e)||ct(t,e,r[e])})),t},ut=function(t){var e=h(t),r=i(Z,this,e);return!(this===B&&f(et,e)&&!f(rt,e))&&(!(r||!f(this,e)||!f(et,e)||f(this,q)&&this[q][e])||r)},lt=function(t,e){var r=d(t),n=h(e);if(r!==B||!f(et,n)||f(rt,n)){var o=H(r,n);return!o||!f(et,n)||f(r,q)&&r[q][n]||(o.enumerable=!0),o}},ft=function(t){var e=X(d(t)),r=[];return U(e,(function(t){f(et,t)||f(F,t)||tt(r,t)})),r},pt=function(t){var e=t===B,r=X(e?rt:d(t)),n=[];return U(r,(function(t){!f(et,t)||e&&!f(B,t)||tt(n,et[t])})),n};u||(T(K=(V=function(){if(p(K,this))throw z("Symbol is not a constructor");var t=arguments.length&&void 0!==arguments[0]?g(arguments[0]):void 0,e=M(t),r=function(t){this===B&&i(r,rt,t),f(this,q)&&f(this[q],e)&&(this[q][e]=!1),it(this,e,v(1,t))};return s&&ot&&it(B,e,{configurable:!0,set:r}),at(e,t)})[Y],"toString",(function(){return $(this).tag})),T(V,"withoutSetter",(function(t){return at(M(t),t)})),P.f=ut,j.f=ct,A.f=st,w.f=lt,S.f=x.f=ft,O.f=pt,D.f=function(t){return at(C(t),t)},s&&(E(K,"description",{configurable:!0,get:function(){return $(this).description}}),c||T(B,"propertyIsEnumerable",ut,{unsafe:!0}))),n({global:!0,constructor:!0,wrap:!0,forced:!u,sham:!u},{Symbol:V}),U(b(nt),(function(t){I(t)})),n({target:J,stat:!0,forced:!u},{useSetter:function(){ot=!0},useSimple:function(){ot=!1}}),n({target:"Object",stat:!0,forced:!u,sham:!s},{create:function(t,e){return void 0===e?m(t):st(m(t),e)},defineProperty:ct,defineProperties:st,getOwnPropertyDescriptor:lt}),n({target:"Object",stat:!0,forced:!u},{getOwnPropertyNames:ft}),L(),_(V,J),F[q]=!0},492:()=>{},9148:(t,e,r)=>{var n=r(3085),o=r(150),i=r(4500),a=r(4845),c=r(8717),s=r(31),u=c("string-to-symbol-registry"),l=c("symbol-to-string-registry");n({target:"Symbol",stat:!0,forced:!s},{for:function(t){var e=a(t);if(i(u,e))return u[e];var r=o("Symbol")(e);return u[e]=r,l[r]=e,r}})},6681:(t,e,r)=>{r(8332)("hasInstance")},9594:(t,e,r)=>{r(8332)("isConcatSpreadable")},3665:(t,e,r)=>{r(8332)("iterator")},6187:(t,e,r)=>{r(9351),r(9148),r(5991),r(9704),r(7895)},5991:(t,e,r)=>{var n=r(3085),o=r(4500),i=r(3236),a=r(9288),c=r(8717),s=r(31),u=c("symbol-to-string-registry");n({target:"Symbol",stat:!0,forced:!s},{keyFor:function(t){if(!i(t))throw TypeError(a(t)+" is not a symbol");if(o(u,t))return u[t]}})},1250:(t,e,r)=>{r(8332)("matchAll")},9017:(t,e,r)=>{r(8332)("match")},9786:(t,e,r)=>{r(8332)("replace")},503:(t,e,r)=>{r(8332)("search")},6565:(t,e,r)=>{r(8332)("species")},9322:(t,e,r)=>{r(8332)("split")},3610:(t,e,r)=>{var n=r(8332),o=r(3407);n("toPrimitive"),o()},6886:(t,e,r)=>{var n=r(150),o=r(8332),i=r(1284);o("toStringTag"),i(n("Symbol"),"Symbol")},3514:(t,e,r)=>{r(8332)("unscopables")},7148:(t,e,r)=>{var n=r(8182),o=r(2760).f,i=n("metadata"),a=Function.prototype;void 0===a[i]&&o(a,i,{value:null})},177:(t,e,r)=>{r(8332)("asyncDispose")},9031:(t,e,r)=>{r(8332)("dispose")},3346:(t,e,r)=>{r(3085)({target:"Symbol",stat:!0},{isRegisteredSymbol:r(8743)})},2725:(t,e,r)=>{r(3085)({target:"Symbol",stat:!0,name:"isRegisteredSymbol"},{isRegistered:r(8743)})},3520:(t,e,r)=>{r(3085)({target:"Symbol",stat:!0,forced:!0},{isWellKnownSymbol:r(5128)})},1806:(t,e,r)=>{r(3085)({target:"Symbol",stat:!0,name:"isWellKnownSymbol",forced:!0},{isWellKnown:r(5128)})},6658:(t,e,r)=>{r(8332)("matcher")},4212:(t,e,r)=>{r(8332)("metadataKey")},1875:(t,e,r)=>{r(8332)("metadata")},8658:(t,e,r)=>{r(8332)("observable")},4592:(t,e,r)=>{r(8332)("patternMatch")},6680:(t,e,r)=>{r(8332)("replaceAll")},162:(t,e,r)=>{r(8939);var n=r(7365),o=r(8576),i=r(4696),a=r(8711),c=r(7771),s=r(8182)("toStringTag");for(var u in n){var l=o[u],f=l&&l.prototype;f&&i(f)!==s&&a(f,s,u),c[u]=c.Array}},7820:(t,e,r)=>{var n=r(3512);t.exports=n},2285:(t,e,r)=>{var n=r(5008);r(162),t.exports=n},8535:(t,e,r)=>{var n=r(994);r(162),t.exports=n},6042:(t,e,r)=>{var n=r(290);t.exports=n},6591:t=>{!function(){"use strict";var e,r,n,o,i,a="properties",c="deepProperties",s="propertyDescriptors",u="staticProperties",l="staticDeepProperties",f="staticPropertyDescriptors",p="configuration",y="deepConfiguration",d="deepProps",h="deepStatics",g="deepConf",v="initializers",m="methods",b="composers",S="compose";function x(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(t):[])}function O(t,e){return Array.prototype.slice.call(arguments,2).reduce(t,e)}var w=O.bind(0,(function(t,e){if(e)for(var r=x(e),n=0;n<r.length;n+=1)Object.defineProperty(t,r[n],Object.getOwnPropertyDescriptor(e,r[n]));return t}));function j(t){return"function"==typeof t}function A(t){return t&&"object"==typeof t||j(t)}function P(t){return t&&"object"==typeof t&&t.__proto__==Object.prototype}var T=O.bind(0,(function t(r,n){if(n===e)return r;if(Array.isArray(n))return(Array.isArray(r)?r:[]).concat(n);if(!P(n))return n;for(var o,i,a=x(n),c=0;c<a.length;)o=a[c++],(i=Object.getOwnPropertyDescriptor(n,o)).hasOwnProperty("value")?i.value!==e&&(r[o]=t(P(r[o])||Array.isArray(n[o])?r[o]:{},n[o])):Object.defineProperty(r,o,i);return r}));function E(){return(r=Array.prototype.concat.apply([],arguments).filter((function(t,e,r){return j(t)&&r.indexOf(t)===e}))).length?r:e}function N(t,e){function n(r,n){A(e[r])&&(A(t[r])||(t[r]={}),(n||w)(t[r],e[r]))}function o(n){(r=E(t[n],e[n]))&&(t[n]=r)}return e&&A(e=e[S]||e)&&(n(m),n(a),n(c,T),n(s),n(u),n(l,T),n(f),n(p),n(y,T),o(v),o(b)),t}function k(){return function(t){return r=function t(r){var n,o,i=t[S]||{},u={__proto__:i[m]},l=i[v],f=Array.prototype.slice.apply(arguments),p=i[c];if(p&&T(u,p),(p=i[a])&&w(u,p),(p=i[s])&&Object.defineProperties(u,p),!l||!l.length)return u;for(r===e&&(r={}),i=0;i<l.length;)j(n=l[i++])&&(u=(o=n.call(u,r,{instance:u,stamp:t,args:f}))===e?u:o);return u},(n=t[l])&&T(r,n),(n=t[u])&&w(r,n),(n=t[f])&&Object.defineProperties(r,n),n=j(r[S])?r[S]:k,w(r[S]=function(){return n.apply(this,arguments)},t),r}(Array.prototype.concat.apply([this],arguments).reduce(N,{}))}function F(t){return j(t)&&j(t[S])}var M={};function C(t,i){return function(){return(o={})[t]=i.apply(e,Array.prototype.concat.apply([{}],arguments)),((r=this)&&r[S]||n).call(r,o)}}M[m]=C(m,w),M[a]=M.props=C(a,w),M[v]=M.init=C(v,E),M[b]=C(b,E),M[c]=M[d]=C(c,T),M[u]=M.statics=C(u,w),M[l]=M[h]=C(l,T),M[p]=M.conf=C(p,w),M[y]=M[g]=C(y,T),M[s]=C(s,w),M[f]=C(f,w),n=M[S]=w((function(){for(var t,x,O=0,j=[],P=arguments,N=this;O<P.length;)A(t=P[O++])&&j.push(F(t)?t:((o={})[m]=(x=t)[m]||e,n=x.props,o[a]=A((r=x[a])||n)?w({},n,r):e,o[v]=E(x.init,x[v]),o[b]=E(x[b]),n=x[d],o[c]=A((r=x[c])||n)?T({},n,r):e,o[s]=x[s],n=x.statics,o[u]=A((r=x[u])||n)?w({},n,r):e,n=x[h],o[l]=A((r=x[l])||n)?T({},n,r):e,r=x[f],o[f]=A((n=x.name&&{name:{value:x.name}})||r)?w({},r,n):e,n=x.conf,o[p]=A((r=x[p])||n)?w({},n,r):e,n=x[g],o[y]=A((r=x[y])||n)?T({},n,r):e,o));if(t=k.apply(N||i,j),N&&j.unshift(N),Array.isArray(P=t[S][b]))for(O=0;O<P.length;)t=F(N=P[O++]({stamp:t,composables:j}))?N:t;return t}),M),M.create=function(){return this.apply(e,arguments)},(o={})[u]=M,i=k(o),n[S]=n.bind(),n.version="4.3.2","object"!=typeof e?t.exports=n:self.stampit=n}()},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 a=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 s(t,e=!1){return t.replace(c,(function(t,r,c,s,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!==s)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}}(s);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 d=y,a.get(d)||d;var d;throw new SyntaxError(n.errorMessages.get(n.ErrorType.EndOfString))}))}e.S6=s}},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.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return r.d(e,{a:e}),e},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:()=>Ln,Error:()=>Cn,JsonArray:()=>Ne,JsonDocument:()=>ue,JsonEscapeSequence:()=>De,JsonFalse:()=>_e,JsonKey:()=>Me,JsonNode:()=>i,JsonNull:()=>Re,JsonNumber:()=>Ie,JsonObject:()=>Te,JsonProperty:()=>Ee,JsonString:()=>Fe,JsonStringContent:()=>Ce,JsonTrue:()=>Le,JsonValue:()=>ke,Literal:()=>kn,ParseResult:()=>Dn,Point:()=>Fn,Position:()=>Mn,YamlAlias:()=>Ue,YamlAnchor:()=>fr,YamlCollection:()=>Je,YamlComment:()=>Ye,YamlDirective:()=>Ge,YamlDocument:()=>$e,YamlFailsafeSchema:()=>jn,YamlJsonSchema:()=>Nn,YamlKeyValuePair:()=>or,YamlMapping:()=>ir,YamlNode:()=>qe,YamlNodeKind:()=>ur,YamlScalar:()=>ar,YamlSchemaError:()=>Dr,YamlSequence:()=>cr,YamlStream:()=>sr,YamlStyle:()=>Be,YamlStyleGroup:()=>Ve,YamlTag:()=>lr,YamlTagError:()=>Ir,getNodeType:()=>_n,getVisitFn:()=>In,isJsonArray:()=>xe,isJsonDocument:()=>he,isJsonEscapeSequence:()=>je,isJsonFalse:()=>ve,isJsonKey:()=>Pe,isJsonNull:()=>be,isJsonNumber:()=>Se,isJsonObject:()=>Oe,isJsonProperty:()=>Ae,isJsonString:()=>ge,isJsonStringContent:()=>we,isJsonTrue:()=>me,isLiteral:()=>fe,isNode:()=>Rn,isParseResult:()=>de,isPoint:()=>ye,isPosition:()=>pe,isYamlAlias:()=>er,isYamlDirective:()=>rr,isYamlDocument:()=>We,isYamlKeyValuePair:()=>Xe,isYamlMapping:()=>He,isYamlScalar:()=>tr,isYamlSequence:()=>Qe,isYamlStream:()=>ze,isYamlTag:()=>Ze,mergeAllVisitors:()=>Un,visit:()=>qn});var t=r(6591),e=r.n(t);const o=e()({props:{type:null,position:null,children:[]},init({children:t=[],position:e=null,isMissing:r=!1}={},{stamp:n={}}){this.type=n.type,this.isMissing=r,this.children=t,this.position=e},methods:{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}}}),i=e()(o),a=Array.isArray||function(t){return null!=t&&t.length>=0&&"[object Array]"===Object.prototype.toString.call(t)};function c(t,e,r){return function(){if(0===arguments.length)return r();var n=arguments[arguments.length-1];if(!a(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 s=function(){return this.xf["@@transducer/init"]()},u=function(t){return this.xf["@@transducer/result"](t)};function l(t){return null!=t&&"object"==typeof t&&!0===t["@@functional/placeholder"]}function f(t){return function e(r){return 0===arguments.length||l(r)?e:t.apply(this,arguments)}}function p(t){return function e(r,n){switch(arguments.length){case 0:return e;case 1:return l(r)?e:f((function(e){return t(r,e)}));default:return l(r)&&l(n)?e:l(r)?f((function(e){return t(e,n)})):l(n)?f((function(e){return t(r,e)})):t(r,n)}}}function y(t){for(var e,r=[];!(e=t.next()).done;)r.push(e.value);return r}function d(t,e,r){for(var n=0,o=r.length;n<o;){if(t(e,r[n]))return!0;n+=1}return!1}function h(t,e){return Object.prototype.hasOwnProperty.call(e,t)}const g="function"==typeof Object.is?Object.is:function(t,e){return t===e?0!==t||1/t==1/e:t!=t&&e!=e};var v=Object.prototype.toString;const m=function(){return"[object Arguments]"===v.call(arguments)?function(t){return"[object Arguments]"===v.call(t)}:function(t){return h("callee",t)}}();var b=!{toString:null}.propertyIsEnumerable("toString"),S=["constructor","valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],x=function(){return arguments.propertyIsEnumerable("length")}(),O=function(t,e){for(var r=0;r<t.length;){if(t[r]===e)return!0;r+=1}return!1};const w="function"!=typeof Object.keys||x?f((function(t){if(Object(t)!==t)return[];var e,r,n=[],o=x&&m(t);for(e in t)!h(e,t)||o&&"length"===e||(n[n.length]=e);if(b)for(r=S.length-1;r>=0;)h(e=S[r],t)&&!O(n,e)&&(n[n.length]=e),r-=1;return n})):f((function(t){return Object(t)!==t?[]:Object.keys(t)}));const j=f((function(t){return null===t?"Null":void 0===t?"Undefined":Object.prototype.toString.call(t).slice(8,-1)}));function A(t,e,r,n){var o=y(t);function i(t,e){return P(t,e,r.slice(),n.slice())}return!d((function(t,e){return!d(i,e,t)}),y(e),o)}function P(t,e,r,n){if(g(t,e))return!0;var o,i,a=j(t);if(a!==j(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(a){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||!g(t.valueOf(),e.valueOf()))return!1;break;case"Date":if(!g(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(a){case"Map":return t.size===e.size&&A(t.entries(),e.entries(),r.concat([t]),n.concat([e]));case"Set":return t.size===e.size&&A(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 s=w(t);if(s.length!==w(e).length)return!1;var u=r.concat([t]),l=n.concat([e]);for(c=s.length-1;c>=0;){var f=s[c];if(!h(f,e)||!P(e[f],t[f],u,l))return!1;c-=1}return!0}const T=p((function(t,e){return P(t,e,[],[])}));function E(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(T(t[r],e))return r;r+=1}return-1}(e,t,0)>=0}function N(t,e){for(var r=0,n=e.length,o=Array(n);r<n;)o[r]=t(e[r]),r+=1;return o}function k(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 F=function(t){return(t<10?"0":"")+t};const M="function"==typeof Date.prototype.toISOString?function(t){return t.toISOString()}:function(t){return t.getUTCFullYear()+"-"+F(t.getUTCMonth()+1)+"-"+F(t.getUTCDate())+"T"+F(t.getUTCHours())+":"+F(t.getUTCMinutes())+":"+F(t.getUTCSeconds())+"."+(t.getUTCMilliseconds()/1e3).toFixed(3).slice(2,5)+"Z"};function C(t,e,r){for(var n=0,o=r.length;n<o;)e=t(e,r[n]),n+=1;return e}var D=function(){function t(t,e){this.xf=e,this.f=t}return t.prototype["@@transducer/init"]=s,t.prototype["@@transducer/result"]=u,t.prototype["@@transducer/step"]=function(t,e){return this.f(e)?this.xf["@@transducer/step"](t,e):t},t}();function I(t){return function(e){return new D(t,e)}}const L=p(c(["fantasy-land/filter","filter"],I,(function(t,e){return r=e,"[object Object]"===Object.prototype.toString.call(r)?C((function(r,n){return t(e[n])&&(r[n]=e[n]),r}),{},w(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 _=p((function(t,e){return L((r=t,function(){return!r.apply(this,arguments)}),e);var r}));function R(t,e){var r=function(r){var n=e.concat([t]);return E(r,n)?"<Circular>":R(r,n)},n=function(t,e){return N((function(e){return k(e)+": "+r(t[e])}),e.slice().sort())};switch(Object.prototype.toString.call(t)){case"[object Arguments]":return"(function() { return arguments; }("+N(r,t).join(", ")+"))";case"[object Array]":return"["+N(r,t).concat(n(t,_((function(t){return/^\d+$/.test(t)}),w(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):k(M(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())+")":k(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,w(t)).join(", ")+"}"}}const U=f((function(t){return R(t,[])}));const q=p((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=U(t),a=r(i,U(e));return void 0!==a&&a===i?t:e}));var J=function(){function t(t,e){this.xf=e,this.f=t}return t.prototype["@@transducer/init"]=s,t.prototype["@@transducer/result"]=u,t.prototype["@@transducer/step"]=function(t,e){return this.xf["@@transducer/step"](t,this.f(e))},t}();const Y=function(t){return function(e){return new J(t,e)}};function G(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,a){return e.apply(this,arguments)};case 7:return function(t,r,n,o,i,a,c){return e.apply(this,arguments)};case 8:return function(t,r,n,o,i,a,c,s){return e.apply(this,arguments)};case 9:return function(t,r,n,o,i,a,c,s,u){return e.apply(this,arguments)};case 10:return function(t,r,n,o,i,a,c,s,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 $(t,e,r){return function(){for(var n=[],o=0,i=t,a=0;a<e.length||o<arguments.length;){var c;a<e.length&&(!l(e[a])||o>=arguments.length)?c=e[a]:(c=arguments[o],o+=1),n[a]=c,l(c)||(i-=1),a+=1}return i<=0?r.apply(this,n):G(i,$(t,n,r))}}const B=p((function(t,e){return 1===t?f(e):G(t,$(t,[],e))}));const V=p(c(["fantasy-land/map","map"],Y,(function(t,e){switch(Object.prototype.toString.call(e)){case"[object Function]":return B(e.length,(function(){return t.call(this,e.apply(this,arguments))}));case"[object Object]":return C((function(r,n){return r[n]=t(e[n]),r}),{},w(e));default:return N(t,e)}}))),K=Number.isInteger||function(t){return t<<0===t};function z(t){return"[object String]"===Object.prototype.toString.call(t)}const W=p((function(t,e){var r=t<0?e.length+t:t;return z(e)?e.charAt(r):e[r]}));const H=p((function(t,e){if(null!=e)return K(t)?W(t,e):e[t]}));const Q=p((function(t,e){return V(H(t),e)}));function X(t){return function e(r,n,o){switch(arguments.length){case 0:return e;case 1:return l(r)?e:p((function(e,n){return t(r,e,n)}));case 2:return l(r)&&l(n)?e:l(r)?p((function(e,r){return t(e,n,r)})):l(n)?p((function(e,n){return t(r,e,n)})):f((function(e){return t(r,n,e)}));default:return l(r)&&l(n)&&l(o)?e:l(r)&&l(n)?p((function(e,r){return t(e,r,o)})):l(r)&&l(o)?p((function(e,r){return t(e,n,r)})):l(n)&&l(o)?p((function(e,n){return t(r,e,n)})):l(r)?f((function(e){return t(e,n,o)})):l(n)?f((function(e){return t(r,e,o)})):l(o)?f((function(e){return t(r,n,e)})):t(r,n,o)}}}const Z=f((function(t){return!!a(t)||!!t&&("object"==typeof t&&(!z(t)&&(0===t.length||t.length>0&&(t.hasOwnProperty(0)&&t.hasOwnProperty(t.length-1)))))}));var tt="undefined"!=typeof Symbol?Symbol.iterator:"@@iterator";function et(t,e,r){return function(n,o,i){if(Z(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[tt])return r(n,o,i[tt]());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 rt(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 nt=p((function(t,e){return G(t.length,(function(){return t.apply(e,arguments)}))}));function ot(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 it(t,e,r,n){return t["@@transducer/result"](r[n](nt(t["@@transducer/step"],t),e))}const at=et(rt,it,ot);var ct=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 st(t){return new ct(t)}const ut=X((function(t,e,r){return at("function"==typeof t?st(t):t,e,r)}));const lt=f((function(t){return function(){return t}}));const ft=f((function(t){return B(ut(q,0,Q("length",t)),(function(){for(var e=0,r=t.length;e<r;){if(t[e].apply(this,arguments))return!0;e+=1}return!1}))}));function pt(t,e,r){for(var n=r.next();!n.done;)e=t(e,n.value),n=r.next();return e}function yt(t,e,r,n){return r[n](t,e)}const dt=et(C,yt,pt);const ht=p((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))}:dt((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,V(r,e))}),[],t)}));function gt(t){var e=Object.prototype.toString.call(t);return"[object Function]"===e||"[object AsyncFunction]"===e||"[object GeneratorFunction]"===e||"[object AsyncGeneratorFunction]"===e}const vt=p((function(t,e){return t&&e}));const mt=p((function(t,e){var r=B(t,e);return B(t,(function(){return C(ht,V(r,arguments[0]),Array.prototype.slice.call(arguments,1))}))}));const bt=f((function(t){return mt(t.length,t)}));const St=p((function(t,e){return gt(t)?function(){return t.apply(this,arguments)&&e.apply(this,arguments)}:bt(vt)(t,e)}));function xt(t,e,r){if(r||(r=new Ot),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?xt(t[i],!0,r):t[i]);return n};switch(j(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 Ot=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 wt=f((function(t){return null!=t&&"function"==typeof t.clone?t.clone():xt(t,!0)}));const jt=bt(f((function(t){return!t})));function At(t,e){return function(){return e.call(this,t.apply(this,arguments))}}function Pt(t,e){return function(){var r=arguments.length;if(0===r)return e();var n=arguments[r-1];return a(n)||"function"!=typeof n[t]?e.apply(this,arguments):n[t].apply(n,Array.prototype.slice.call(arguments,0,r-1))}}const Tt=X(Pt("slice",(function(t,e,r){return Array.prototype.slice.call(r,t,e)})));const Et=f(Pt("tail",Tt(1,1/0)));function Nt(){if(0===arguments.length)throw new Error("pipe requires at least one argument");return G(arguments[0].length,ut(At,arguments[0],Et(arguments)))}const kt=f((function(t){return z(t)?t.split("").reverse().join(""):Array.prototype.slice.call(t,0).reverse()}));function Ft(){if(0===arguments.length)throw new Error("compose requires at least one argument");return Nt.apply(this,kt(arguments))}const Mt=p((function(t,e){if(a(t)){if(a(e))return t.concat(e);throw new TypeError(U(e)+" is not an array")}if(z(t)){if(z(e))return t+e;throw new TypeError(U(e)+" is not a string")}if(null!=t&>(t["fantasy-land/concat"]))return t["fantasy-land/concat"](e);if(null!=t&>(t.concat))return t.concat(e);throw new TypeError(U(t)+' does not have a method named "concat" or "fantasy-land/concat"')}));const Ct=p((function(t,e){return B(ut(q,0,Q("length",e)),(function(){var r=arguments,n=this;return t.apply(n,N((function(t){return t.apply(n,r)}),e))}))}));const Dt=f((function(t){return B(t.length,t)}));var It=function(){function t(t,e){this.xf=e,this.f=t}return t.prototype["@@transducer/init"]=s,t.prototype["@@transducer/result"]=u,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 Lt(t){return function(e){return new It(t,e)}}const _t=p(c(["dropWhile"],Lt,(function(t,e){for(var r=0,n=e.length;r<n&&t(e[r]);)r+=1;return Tt(r,1/0,e)})));const Rt=f((function(t){return B(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 Ut=p((function(t,e){return t>e}));const qt=f((function(t){return null==t}));const Jt=p((function(t,e){return!qt(e)&&t in e}));const Yt=W(0);var Gt=function(t,e){switch(arguments.length){case 0:return Gt;case 1:return function e(r){return 0===arguments.length?e:g(t,r)};default:return g(t,e)}};const $t=Gt;function Bt(t){return t}const Vt=f(Bt);const Kt=p(E);const zt="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)h(i,o)&&(e[i]=o[i]);r+=1}return e};const Wt=p((function(t,e){return B(t+1,(function(){var r=arguments[t];if(null!=r&>(r[e]))return r[e].apply(r,Array.prototype.slice.call(arguments,0,t));throw new TypeError(U(r)+' does not have a method named "'+e+'"')}))}));const Ht=Wt(1,"join");const Qt=p((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=K(r)?W(r,n):n[r],o+=1}return n}))}));const Xt=p((function(t,e){return Qt([t],e)[0]}));const Zt=p((function(t,e){return zt({},t,e)}));const te=p((function(t,e){for(var r={},n={},o=0,i=t.length;o<i;)n[t[o]]=1,o+=1;for(var a in e)n.hasOwnProperty(a)||(r[a]=e[a]);return r}));const ee=p((function(t,e){return null==e||e!=e?t:e}));const re=X((function(t,e,r){return ee(t,Xt(e,r))}));const ne=X((function(t,e,r){return t(Xt(e,r))}));const oe=X((function(t,e,r){return r.replace(t,e)}));const ie=Wt(1,"split");const ae=B(4,(function(t,e,r,n){return at(t("function"==typeof e?st(e):e),r,n)}));var ce="\t\n\v\f\r \u2028\u2029\ufeff";const se=f("function"==typeof String.prototype.trim&&!ce.trim()&&"".trim()?function(t){return t.trim()}:function(t){var e=new RegExp("^["+ce+"]["+ce+"]*"),r=new RegExp("["+ce+"]["+ce+"]*$");return t.replace(e,"").replace(r,"")});const ue=e()(i,{statics:{type:"document"},methods:{get child(){return Yt(this.children)}}}),le=(t,e)=>e?.type===t,fe=le.bind(void 0,"literal"),pe=le.bind(void 0,"position"),ye=le.bind(void 0,"point"),de=le.bind(void 0,"parseResult"),he=le.bind(void 0,"document"),ge=le.bind(void 0,"string"),ve=le.bind(void 0,"false"),me=le.bind(void 0,"true"),be=le.bind(void 0,"null"),Se=le.bind(void 0,"number"),xe=le.bind(void 0,"array"),Oe=le.bind(void 0,"object"),we=le.bind(void 0,"stringContent"),je=le.bind(void 0,"escapeSequence"),Ae=le.bind(void 0,"property"),Pe=le.bind(void 0,"key"),Te=e()(i,{statics:{type:"object"},methods:{get properties(){return this.children.filter(Ae)}}}),Ee=e()(i,{statics:{type:"property"},methods:{get key(){return this.children.find(Pe)},get value(){return this.children.find((t=>ve(t)||me(t)||be(t)||Se(t)||ge(t)||xe(t)||Oe(t)))}}}),Ne=e()(i,{statics:{type:"array"},methods:{get items(){return this.children.filter((t=>ve(t)||me(t)||be(t)||Se(t)||ge(t)||xe(t)||Oe))}}}),ke=e()(i,{statics:{type:"value"},props:{value:null},init({value:t=null}={}){this.value=t}}),Fe=e()(i,{statics:{type:"string"},methods:{get value(){return 1===this.children.length?this.children[0].value:this.children.filter((t=>we(t)||je(t))).reduce(((t,e)=>t+e.value),"")}}}),Me=e()(Fe,{statics:{type:"key"}}),Ce=e()(ke,{statics:{type:"stringContent"}}),De=e()(ke,{statics:{type:"escapeSequence"}}),Ie=e()(ke,{statics:{type:"number"}}),Le=e()(ke,{statics:{type:"true"}}),_e=e()(ke,{statics:{type:"false"}}),Re=e()(ke,{statics:{type:"null"}}),Ue=e()(o,{statics:{type:"alias"},props:{content:null},init({content:t=null}={}){this.content=t}}),qe=e()(o,{props:{anchor:null,tag:null,style:null,styleGroup:null},init({anchor:t=null,tag:e=null,style:r=null,styleGroup:n=null}={}){this.anchor=t,this.tag=e,this.style=r,this.styleGroup=n}}),Je=e()(qe,{}),Ye=e()(o,{statics:{type:"comment"},props:{content:null},init({content:t=null}={}){this.content=t}}),Ge=e()(o,{statics:{type:"directive"},props:{name:null,parameters:null},init({name:t=null,parameters:e={}}={}){this.name=t,this.parameters=Zt({version:null,handle:null,prefix:null},e)}}),$e=e()(o,{statics:{type:"document"}});let Be=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}({}),Ve=function(t){return t.Flow="Flow",t.Block="Block",t}({});const Ke=e()({props:{styleGroup:null,style:null}}),ze=le.bind(void 0,"stream"),We=le.bind(void 0,"document"),He=le.bind(void 0,"mapping"),Qe=le.bind(void 0,"sequence"),Xe=le.bind(void 0,"keyValuePair"),Ze=le.bind(void 0,"tag"),tr=le.bind(void 0,"scalar"),er=le.bind(void 0,"alias"),rr=le.bind(void 0,"directive"),nr=le.bind(void 0,"comment"),or=e()(o,Ke,{statics:{type:"keyValuePair"},propertyDescriptors:{key:{get(){return this.children.filter((t=>tr(t)||He(t)||Qe(t)))[0]},enumerable:!0},value:{get(){const{key:t,children:e}=this;return e.filter((e=>(e=>e!==t)(e)&&(t=>tr(t)||He(t)||Qe(t)||er(t))(e)))[0]},enumerable:!0}}}),ir=e()(Je,{statics:{type:"mapping"},propertyDescriptors:{content:{get(){return Array.isArray(this.children)?this.children.filter(Xe):[]},enumerable:!0}}}),ar=e()(qe,{statics:{type:"scalar"},props:{content:""},init({content:t}={}){this.content=t}}),cr=e()(Je,{statics:{type:"sequence"},propertyDescriptors:{content:{get(){const{children:t}=this;return Array.isArray(t)?t.filter((t=>Qe(t)||He(t)||tr(t)||er(t))):[]},enumerable:!0}}}),sr=e()(o,{statics:{type:"stream"},propertyDescriptors:{content:{get(){return Array.isArray(this.children)?this.children.filter((t=>We(t)||nr(t))):[]},enumerable:!0}}});let ur=function(t){return t.Scalar="Scalar",t.Sequence="Sequence",t.Mapping="Mapping",t}({});const lr=e()(o,{statics:{type:"tag"},props:{explicitName:"",kind:null},init({explicitName:t,kind:e}={}){this.explicitName=t,this.kind=e}}),fr=e()(o,{statics:{type:"anchor"},props:{name:null},init({name:t=null}={}){this.name=t}});var pr=r(229),yr=r(2185),dr=r(9982);function hr(t){return hr="function"==typeof yr&&"symbol"==typeof dr?function(t){return typeof t}:function(t){return t&&"function"==typeof yr&&t.constructor===yr&&t!==yr.prototype?"symbol":typeof t},hr(t)}var gr=r(8241);function vr(t){var e=function(t,e){if("object"!==hr(t)||null===t)return t;var r=t[gr];if(void 0!==r){var n=r.call(t,e||"default");if("object"!==hr(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===hr(e)?e:String(e)}function mr(t,e,r){return(e=vr(e))in t?pr(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}const br=T(null);var Sr=jt(br);function xr(t){return xr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},xr(t)}const Or=B(1,St(Sr,(function(t){return"object"===xr(t)})));const wr=B(1,Nt(j,$t("GeneratorFunction")));const jr=B(1,Nt(j,$t("AsyncFunction")));const Ar=ft([Nt(j,$t("Function")),wr,jr]);var Pr=Nt(j,$t("Object")),Tr=ne(St(Ar,Nt(U,T(U(Object)))),["constructor"]);const Er=B(1,(function(t){if(!Or(t)||!Pr(t))return!1;var e=Object.getPrototypeOf(t);return!!br(e)||Tr(e)}));class Nr extends AggregateError{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,Er(r)&&Jt("cause",r)&&!Jt("cause",this)){const{cause:t}=r;this.cause=t,t instanceof Error&&Jt("stack",t)&&(this.stack=`${this.stack}\nCAUSE: ${null==t?void 0:t.stack}`)}}}const kr=Nr;class Fr extends Error{static[Symbol.hasInstance](t){return Function.prototype[Symbol.hasInstance].call(Fr,t)||Function.prototype[Symbol.hasInstance].call(kr,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,Er(e)&&Jt("cause",e)&&!Jt("cause",this)){const{cause:t}=e;this.cause=t,t instanceof Error&&Jt("stack",t)&&(this.stack=`${this.stack}\nCAUSE: ${null==t?void 0:t.stack}`)}}}const Mr=Fr;const Cr=class extends Mr{constructor(t,e){super(t,e),void 0!==e&&Object.assign(this,te(["cause"],e))}};const Dr=class extends Cr{};const Ir=class extends Dr{constructor(t,e){super(t,e),mr(this,"specificTagName",void 0),mr(this,"explicitTagName",void 0),mr(this,"tagKind",void 0),mr(this,"tagPosition",void 0),mr(this,"nodeCanonicalContent",void 0),void 0!==e&&(this.specificTagName=e.specificTagName,this.explicitTagName=e.explicitTagName,this.tagKind=e.tagKind,this.tagPosition=e.tagPosition,this.nodeCanonicalContent=e.nodeCanonicalContent)}};const Lr=T("");const _r=B(1,Nt(j,$t("Number")));var Rr=St(_r,isFinite);var Ur=B(1,Rr);const qr=Ar(Number.isFinite)?B(1,nt(Number.isFinite,Number)):Ur;var Jr=St(qr,Ct(T,[Math.floor,Vt]));var Yr=B(1,Jr);const Gr=Ar(Number.isInteger)?B(1,nt(Number.isInteger,Number)):Yr;const $r=jt(qr);const Br=B(1,St(_r,Ut(0)));const Vr=function(t,e){var r=Number(e);if(r!==e&&(r=0),Br(r))throw new RangeError("repeat count must be non-negative");if($r(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)};var Kr=Dt(Vr),zr=Rt(Wt(1,"repeat"));const Wr=Ar(String.prototype.repeat)?zr:Kr;var Hr=lt(void 0);const Qr=T(Hr());var Xr=oe(/[\s\uFEFF\xA0]+$/,""),Zr=Wt(0,"trimEnd");const tn=Ar(String.prototype.trimEnd)?Zr:Xr;var en=oe(/^[\s\uFEFF\xA0]+/,""),rn=Wt(0,"trimStart");const nn=Ar(String.prototype.trimStart)?rn:en;const on=Rt(Kt);const an=Dt((function(t,e){return Nt(ie(""),_t(on(t)),Ht(""))(e)}));const cn=Rt(Mt);var sn=r(2770);const un=/^(?<style>[|>])(?<chomping>[+-]?)(?<indentation>[0-9]*)\s/,ln=t=>{const e=(t=>{const e=t.match(un),r=re("",["groups","indentation"],e);return Lr(r)?void 0:parseInt(r,10)})(t);if(Gr(e))return Wr(" ",e);const r=re("",[1],t.split("\n")),n=re(0,["groups","indentation","length"],r.match(/^(?<indentation>[ ]*)/));return Wr(" ",n)},fn=t=>{const e=t.match(un),r=re("",["groups","chomping"],e);return Lr(r)?void 0:r},pn=(t,e)=>Qr(t)?`${tn(e)}\n`:"-"===t?tn(e):e,yn=t=>t.replace(/\r\n/g,"\n"),dn=t=>t.replace(/(\n)?\n([^\n]+)/g,((t,e,r)=>e?t:` ${r.trimStart()}`)).replace(/[\n]{2}/g,"\n"),hn=Dt(((t,e)=>e.replace(new RegExp(`^${t}`),"").replace(new RegExp(`${t}$`),""))),gn=Nt(yn,se,dn,ie("\n"),V(nn),Ht("\n")),vn=Nt(yn,se,hn("'"),dn,ie("\n"),V(nn),Ht("\n")),mn=Nt(yn,se,hn('"'),(t=>t.replace(/\\\n\s*/g,"")),dn,sn.S6,ie("\n"),V(nn),Ht("\n")),bn=e()({methods:{test:t=>t.tag.kind===ur.Scalar&&"string"==typeof t.content,canonicalFormat(t){let e=t.content;const r=t.clone();return t.style===Be.Plain?e=gn(t.content):t.style===Be.SingleQuoted?e=vn(t.content):t.style===Be.DoubleQuoted?e=mn(t.content):t.style===Be.Literal?e=(t=>{const e=ln(t),r=fn(t),n=yn(t),o=Et(n.split("\n")),i=Ft(V(an(e)),V(cn("\n"))),a=ae(i,Mt,"",o);return pn(r,a)})(t.content):t.style===Be.Folded&&(e=(t=>{const e=ln(t),r=fn(t),n=yn(t),o=Et(n.split("\n")),i=Ft(V(an(e)),V(cn("\n"))),a=ae(i,Mt,"",o),c=dn(a);return pn(r,c)})(t.content)),r.content=e,r},resolve:t=>t}}),Sn=e()(bn,{props:{tag:""}}),xn=e()(Sn,{statics:{uri:"tag:yaml.org,2002:map"},init(t,{stamp:e}){this.tag=e.uri},methods:{test:t=>t.tag.kind===ur.Mapping,resolve:t=>t}}),On=e()(Sn,{statics:{uri:"tag:yaml.org,2002:seq"},init(t,{stamp:e}){this.tag=e.uri},methods:{test:t=>t.tag.kind===ur.Sequence,resolve:t=>t}}),wn=e()(Sn,{statics:{uri:"tag:yaml.org,2002:str"},init(t,{stamp:e}){this.tag=e.uri},methods:{resolve:t=>t}}),jn=e()({props:{tags:[],tagDirectives:[]},init(){this.tags=[],this.tagDirectives=[],this.registerTag(xn()),this.registerTag(On()),this.registerTag(wn())},methods:{toSpecificTagName(t){let e=t.tag.explicitName;return"!"===t.tag.explicitName?t.tag.kind===ur.Scalar?e=wn.uri:t.tag.kind===ur.Sequence?e=On.uri:t.tag.kind===ur.Mapping&&(e=xn.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;t.tag.kind===ur.Scalar&&(r=bn().canonicalFormat(t));const n=this.tags.find((t=>t?.tag===e));if(void 0===n)throw new Ir(`Tag "${e}" was not recognized.`,{specificTagName:e,explicitTagName:t.tag.explicitName,tagKind:t.tag.kind,tagPosition:wt(t.tag.position)});if(!n.test(r))throw new Ir(`Node couldn't be resolved against the tag "${e}"`,{specificTagName:e,explicitTagName:t.tag.explicitName,tagKind:t.tag.kind,tagPosition:wt(t.tag.position),nodeCanonicalContent:r.content});return n.resolve(r)}}}),An=e()(Sn,{statics:{uri:"tag:yaml.org,2002:bool"},init(t,{stamp:e}){this.tag=e.uri},methods:{test:t=>/^(true|false)$/.test(t.content),resolve(t){const e="true"===t.content,r=t.clone();return r.content=e,r}}}),Pn=e()(Sn,{statics:{uri:"tag:yaml.org,2002:float"},init(t,{stamp:e}){this.tag=e.uri},methods:{test:t=>/^-?(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}}}),Tn=e()(Sn,{statics:{uri:"tag:yaml.org,2002:int"},init(t,{stamp:e}){this.tag=e.uri},methods:{test:t=>/^-?(0|[1-9][0-9]*)$/.test(t.content),resolve(t){const e=parseInt(t.content,10),r=t.clone();return r.content=e,r}}}),En=e()(Sn,{statics:{uri:"tag:yaml.org,2002:null"},init(t,{stamp:e}){this.tag=e.uri},methods:{test:t=>/^null$/.test(t.content),resolve(t){const e=t.clone();return e.content=null,e}}}),Nn=e()(jn,{init(){this.registerTag(An(),!0),this.registerTag(Pn(),!0),this.registerTag(Tn(),!0),this.registerTag(En(),!0)},methods:{toSpecificTagName(t){let e=jn.compose.methods.toSpecificTagName.call(this,t);if("?"===e)if(t.tag.vkind===ur.Sequence)e=On.uri;else if(t.tag.kind===ur.Mapping)e=xn.uri;else if(t.tag.kind===ur.Scalar){const r=this.tags.find((e=>e.test(t)));e=r?.tag||"?"}return e}}}),kn=e()(o,{statics:{type:"literal"},props:{value:null},init({value:t=null}={}){this.value=t}}),Fn=e()({statics:{type:"point"},props:{type:"point",row:null,column:null,char:null},init({row:t=null,column:e=null,char:r=null}={}){this.row=t,this.column=e,this.char=r}}),Mn=e()({statics:{type:"position"},props:{type:"position",start:null,end:null},init({start:t=null,end:e=null}={}){this.start=t,this.end=e}}),Cn=e()(o,{statics:{type:"error"},props:{value:null,isUnexpected:!1},init({value:t=null,isUnexpected:e=!1}={}){this.value=t,this.isUnexpected=e}}),Dn=e()(o,{statics:{type:"parseResult"},methods:{get rootNode(){return Yt(this.children)}}}),In=(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},Ln={},_n=t=>t?.type,Rn=t=>"string"==typeof _n(t),Un=(t,{visitFnGetter:e=In,nodeTypeGetter:r=_n}={})=>{const n=new Array(t.length);return{enter(o,...i){for(let a=0;a<t.length;a+=1)if(null==n[a]){const c=e(t[a],r(o),!1);if("function"==typeof c){const e=c.call(t[a],o,...i);if(!1===e)n[a]=o;else if(e===Ln)n[a]=Ln;else if(void 0!==e)return e}}},leave(o,...i){for(let a=0;a<t.length;a+=1)if(null==n[a]){const c=e(t[a],r(o),!0);if("function"==typeof c){const e=c.call(t[a],o,...i);if(e===Ln)n[a]=Ln;else if(void 0!==e&&!1!==e)return e}}else n[a]===o&&(n[a]=null)}}},qn=(t,e,{keyMap:r=null,state:n={},breakSymbol:o=Ln,deleteNodeSymbol:i=null,skipVisitingNodeSymbol:a=!1,visitFnGetter:c=In,nodeTypeGetter:s=_n,nodePredicate:u=Rn,detectCycles:l=!0}={})=>{const f=r||{};let p,y,d=Array.isArray(t),h=[t],g=-1,v=[];const m=[],b=[];let S=t;do{g+=1;const t=g===h.length;let r,x;const O=t&&0!==v.length;if(t){if(r=0===b.length?void 0:m.pop(),x=y,y=b.pop(),O){x=d?x.slice():Object.create(Object.getPrototypeOf(x),Object.getOwnPropertyDescriptors(x));let t=0;for(let e=0;e<v.length;e+=1){let r=v[e][0];const n=v[e][1];d&&(r-=t),d&&n===i?(x.splice(r,1),t+=1):x[r]=n}}g=p.index,h=p.keys,v=p.edits,d=p.inArray,p=p.prev}else{if(r=y?d?g:h[g]:void 0,x=y?y[r]:S,x===i||void 0===x)continue;y&&m.push(r)}if(b.includes(x))continue;let w;if(!Array.isArray(x)){if(!u(x))throw new Mr(`Invalid AST Node: ${JSON.stringify(x)}`);if(l&&b.includes(x)){m.pop();continue}const i=c(e,s(x),t);if(i){for(const[t,r]of Object.entries(n))e[t]=r;if(w=i.call(e,x,r,y,m,b),w===o)break;if(w===a){if(!t){m.pop();continue}}else if(void 0!==w&&(v.push([r,w]),!t)){if(!u(w)){m.pop();continue}x=w}}}void 0===w&&O&&v.push([r,x]),t||(p={inArray:d,index:g,keys:h,edits:v,prev:p},d=Array.isArray(x),h=d?x:f[s(x)]||[],g=-1,v=[],y&&b.push(y),y=x)}while(void 0!==p);return 0!==v.length&&([,S]=v[v.length-1]),S};qn[Symbol.for("nodejs.util.promisify.custom")]=async(t,e,{keyMap:r=null,state:n={},breakSymbol:o=Ln,deleteNodeSymbol:i=null,skipVisitingNodeSymbol:a=!1,visitFnGetter:c=In,nodeTypeGetter:s=_n,nodePredicate:u=Rn,detectCycles:l=!0}={})=>{const f=r||{};let p,y,d=Array.isArray(t),h=[t],g=-1,v=[];const m=[],b=[];let S=t;do{g+=1;const t=g===h.length;let r,x;const O=t&&0!==v.length;if(t){if(r=0===b.length?void 0:m.pop(),x=y,y=b.pop(),O){x=d?x.slice():Object.create(Object.getPrototypeOf(x),Object.getOwnPropertyDescriptors(x));let t=0;for(let e=0;e<v.length;e+=1){let r=v[e][0];const n=v[e][1];d&&(r-=t),d&&n===i?(x.splice(r,1),t+=1):x[r]=n}}g=p.index,h=p.keys,v=p.edits,d=p.inArray,p=p.prev}else{if(r=y?d?g:h[g]:void 0,x=y?y[r]:S,x===i||void 0===x)continue;y&&m.push(r)}let w;if(!Array.isArray(x)){if(!u(x))throw new Mr(`Invalid AST Node: ${JSON.stringify(x)}`);if(l&&b.includes(x)){m.pop();continue}const i=c(e,s(x),t);if(i){for(const[t,r]of Object.entries(n))e[t]=r;if(w=await i.call(e,x,r,y,m,b),w===o)break;if(w===a){if(!t){m.pop();continue}}else if(void 0!==w&&(v.push([r,w]),!t)){if(!u(w)){m.pop();continue}x=w}}}void 0===w&&O&&v.push([r,x]),t||(p={inArray:d,index:g,keys:h,edits:v,prev:p},d=Array.isArray(x),h=d?x:f[s(x)]||[],g=-1,v=[],y&&b.push(y),y=x)}while(void 0!==p);return 0!==v.length&&([,S]=v[v.length-1]),S}})(),n})()));
|
package/es/index.js
CHANGED
@@ -30,7 +30,10 @@ export { default as YamlAnchor } from "./yaml/nodes/YamlAnchor.js";
|
|
30
30
|
export { YamlStyle, YamlStyleGroup } from "./yaml/nodes/YamlStyle.js";
|
31
31
|
export { default as YamlFailsafeSchema } from "./yaml/schemas/failsafe/index.js";
|
32
32
|
export { default as YamlJsonSchema } from "./yaml/schemas/json/index.js";
|
33
|
-
export { isAlias as isYamlAlias, 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.js";
|
33
|
+
export { isAlias as isYamlAlias, 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.js";
|
34
|
+
export { default as YamlSchemaError } from "./yaml/errors/YamlSchemaError.js";
|
35
|
+
export { default as YamlTagError } from "./yaml/errors/YamlTagError.js";
|
36
|
+
// generic AST related exports
|
34
37
|
export { default as Literal } from "./Literal.js";
|
35
38
|
export { Point, default as Position } from "./Position.js";
|
36
39
|
export { default as Error } from "./Error.js";
|
package/es/traversal/visitor.js
CHANGED
@@ -1,3 +1,5 @@
|
|
1
|
+
import { ApiDOMError } from '@swagger-api/apidom-error';
|
2
|
+
|
1
3
|
/**
|
2
4
|
* SPDX-FileCopyrightText: Copyright (c) GraphQL Contributors
|
3
5
|
*
|
@@ -266,7 +268,7 @@ visitor, {
|
|
266
268
|
let result;
|
267
269
|
if (!Array.isArray(node)) {
|
268
270
|
if (!nodePredicate(node)) {
|
269
|
-
throw new
|
271
|
+
throw new ApiDOMError(`Invalid AST Node: ${JSON.stringify(node)}`);
|
270
272
|
}
|
271
273
|
// cycle detected; skipping over a sub-tree to avoid recursion
|
272
274
|
if (detectCycles && ancestors.includes(node)) {
|
@@ -415,7 +417,7 @@ visitor, {
|
|
415
417
|
let result;
|
416
418
|
if (!Array.isArray(node)) {
|
417
419
|
if (!nodePredicate(node)) {
|
418
|
-
throw new
|
420
|
+
throw new ApiDOMError(`Invalid AST Node: ${JSON.stringify(node)}`);
|
419
421
|
}
|
420
422
|
// cycle detected; skipping over a sub-tree to avoid recursion
|
421
423
|
if (detectCycles && ancestors.includes(node)) {
|
@@ -0,0 +1,20 @@
|
|
1
|
+
import _defineProperty from "@babel/runtime-corejs3/helpers/esm/defineProperty";
|
2
|
+
import YamlSchemaError from "./YamlSchemaError.js";
|
3
|
+
class YamlTagError extends YamlSchemaError {
|
4
|
+
constructor(message, structuredOptions) {
|
5
|
+
super(message, structuredOptions);
|
6
|
+
_defineProperty(this, "specificTagName", void 0);
|
7
|
+
_defineProperty(this, "explicitTagName", void 0);
|
8
|
+
_defineProperty(this, "tagKind", void 0);
|
9
|
+
_defineProperty(this, "tagPosition", void 0);
|
10
|
+
_defineProperty(this, "nodeCanonicalContent", void 0);
|
11
|
+
if (typeof structuredOptions !== 'undefined') {
|
12
|
+
this.specificTagName = structuredOptions.specificTagName;
|
13
|
+
this.explicitTagName = structuredOptions.explicitTagName;
|
14
|
+
this.tagKind = structuredOptions.tagKind;
|
15
|
+
this.tagPosition = structuredOptions.tagPosition;
|
16
|
+
this.nodeCanonicalContent = structuredOptions.nodeCanonicalContent;
|
17
|
+
}
|
18
|
+
}
|
19
|
+
}
|
20
|
+
export default YamlTagError;
|
@@ -1,4 +1,6 @@
|
|
1
|
+
import { clone } from 'ramda';
|
1
2
|
import stampit from 'stampit';
|
3
|
+
import YamlTagError from "../../errors/YamlTagError.js";
|
2
4
|
import { YamlNodeKind } from "../../nodes/YamlTag.js";
|
3
5
|
import GenericMapping from "./GenericMapping.js";
|
4
6
|
import GenericSequence from "./GenericSequence.js";
|
@@ -76,12 +78,23 @@ const FailsafeSchema = stampit({
|
|
76
78
|
|
77
79
|
// mechanism for resolving node (tag implementation) not found
|
78
80
|
if (typeof tag === 'undefined') {
|
79
|
-
throw new
|
81
|
+
throw new YamlTagError(`Tag "${specificTagName}" was not recognized.`, {
|
82
|
+
specificTagName,
|
83
|
+
explicitTagName: node.tag.explicitName,
|
84
|
+
tagKind: node.tag.kind,
|
85
|
+
tagPosition: clone(node.tag.position)
|
86
|
+
});
|
80
87
|
}
|
81
88
|
|
82
89
|
// node content is not compatible with resolving mechanism (tag implementation)
|
83
90
|
if (!tag.test(canonicalNode)) {
|
84
|
-
throw new
|
91
|
+
throw new YamlTagError(`Node couldn't be resolved against the tag "${specificTagName}"`, {
|
92
|
+
specificTagName,
|
93
|
+
explicitTagName: node.tag.explicitName,
|
94
|
+
tagKind: node.tag.kind,
|
95
|
+
tagPosition: clone(node.tag.position),
|
96
|
+
nodeCanonicalContent: canonicalNode.content
|
97
|
+
});
|
85
98
|
}
|
86
99
|
return tag.resolve(canonicalNode);
|
87
100
|
}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@swagger-api/apidom-ast",
|
3
|
-
"version": "0.
|
3
|
+
"version": "0.76.0",
|
4
4
|
"description": "Tools necessary for parsing stage of ApiDOM, specifically for syntactic analysis.",
|
5
5
|
"publishConfig": {
|
6
6
|
"access": "public",
|
@@ -42,6 +42,7 @@
|
|
42
42
|
"homepage": "https://github.com/swagger-api/apidom#readme",
|
43
43
|
"dependencies": {
|
44
44
|
"@babel/runtime-corejs3": "^7.20.7",
|
45
|
+
"@swagger-api/apidom-error": "^0.76.0",
|
45
46
|
"@types/ramda": "~0.29.3",
|
46
47
|
"ramda": "~0.29.0",
|
47
48
|
"ramda-adjunct": "^4.1.1",
|
@@ -58,5 +59,5 @@
|
|
58
59
|
"README.md",
|
59
60
|
"CHANGELOG.md"
|
60
61
|
],
|
61
|
-
"gitHead": "
|
62
|
+
"gitHead": "ce497d1083df34162b9cf2047d6cbd8843af3314"
|
62
63
|
}
|
package/types/dist.d.ts
CHANGED
@@ -1,4 +1,5 @@
|
|
1
1
|
import stampit from 'stampit';
|
2
|
+
import { ApiDOMStructuredError, ApiDOMErrorOptions } from '@swagger-api/apidom-error';
|
2
3
|
|
3
4
|
interface Point {
|
4
5
|
type: 'point';
|
@@ -213,6 +214,25 @@ declare const isScalar: (node: any) => boolean;
|
|
213
214
|
declare const isAlias: (node: any) => boolean;
|
214
215
|
declare const isDirective: (node: any) => boolean;
|
215
216
|
|
217
|
+
declare class YamlSchemaError extends ApiDOMStructuredError {
|
218
|
+
}
|
219
|
+
|
220
|
+
interface YamlTagErrorOptions extends ApiDOMErrorOptions {
|
221
|
+
readonly specificTagName: string;
|
222
|
+
readonly explicitTagName: string;
|
223
|
+
readonly tagKind: string;
|
224
|
+
readonly tagPosition?: Position;
|
225
|
+
readonly nodeCanonicalContent?: string;
|
226
|
+
}
|
227
|
+
declare class YamlTagError extends YamlSchemaError {
|
228
|
+
readonly specificTagName: string;
|
229
|
+
readonly explicitTagName: string;
|
230
|
+
readonly tagKind: string;
|
231
|
+
readonly tagPosition?: Position;
|
232
|
+
readonly nodeCanonicalContent?: string;
|
233
|
+
constructor(message?: string, structuredOptions?: YamlTagErrorOptions);
|
234
|
+
}
|
235
|
+
|
216
236
|
interface Literal extends Node$1 {
|
217
237
|
type: 'literal';
|
218
238
|
value: unknown;
|
@@ -359,4 +379,4 @@ declare const visit: (root: any, visitor: any, { keyMap, state, breakSymbol, del
|
|
359
379
|
detectCycles?: boolean | undefined;
|
360
380
|
}) => any;
|
361
381
|
|
362
|
-
export { BREAK, Error, JsonArray, JsonDocument, JsonEscapeSequence, JsonFalse, JsonKey, JsonNode, JsonNull, JsonNumber, JsonObject, JsonProperty, JsonString, JsonStringContent, JsonTrue, JsonValue, Literal, ParseResult, Point, Position, YamlAlias, YamlAnchor, YamlCollection, YamlComment, YamlDirective, YamlDocument, FailsafeSchema as YamlFailsafeSchema, JsonSchema as YamlJsonSchema, YamlKeyValuePair, YamlMapping, YamlNode, YamlNodeKind, YamlScalar, YamlSequence, YamlStream, YamlStyle, YamlStyleGroup, YamlTag, getNodeType, getVisitFn, isArray as isJsonArray, isDocument$1 as isJsonDocument, isEscapeSequence as isJsonEscapeSequence, isFalse as isJsonFalse, isKey as isJsonKey, isNull as isJsonNull, isNumber as isJsonNumber, isObject as isJsonObject, isProperty as isJsonProperty, isString as isJsonString, isStringContent as isJsonStringContent, isTrue as isJsonTrue, isLiteral, isNode, isParseResult, isPoint, isPosition, isAlias as isYamlAlias, isDirective as isYamlDirective, isDocument as isYamlDocument, isKeyValuePair as isYamlKeyValuePair, isMapping as isYamlMapping, isScalar as isYamlScalar, isSequence as isYamlSequence, isStream as isYamlStream, isTag as isYamlTag, mergeAll as mergeAllVisitors, visit };
|
382
|
+
export { BREAK, Error, JsonArray, JsonDocument, JsonEscapeSequence, JsonFalse, JsonKey, JsonNode, JsonNull, JsonNumber, JsonObject, JsonProperty, JsonString, JsonStringContent, JsonTrue, JsonValue, Literal, ParseResult, Point, Position, YamlAlias, YamlAnchor, YamlCollection, YamlComment, YamlDirective, YamlDocument, FailsafeSchema as YamlFailsafeSchema, JsonSchema as YamlJsonSchema, YamlKeyValuePair, YamlMapping, YamlNode, YamlNodeKind, YamlScalar, YamlSchemaError, YamlSequence, YamlStream, YamlStyle, YamlStyleGroup, YamlTag, YamlTagError, YamlTagErrorOptions, getNodeType, getVisitFn, isArray as isJsonArray, isDocument$1 as isJsonDocument, isEscapeSequence as isJsonEscapeSequence, isFalse as isJsonFalse, isKey as isJsonKey, isNull as isJsonNull, isNumber as isJsonNumber, isObject as isJsonObject, isProperty as isJsonProperty, isString as isJsonString, isStringContent as isJsonStringContent, isTrue as isJsonTrue, isLiteral, isNode, isParseResult, isPoint, isPosition, isAlias as isYamlAlias, isDirective as isYamlDirective, isDocument as isYamlDocument, isKeyValuePair as isYamlKeyValuePair, isMapping as isYamlMapping, isScalar as isYamlScalar, isSequence as isYamlSequence, isStream as isYamlStream, isTag as isYamlTag, mergeAll as mergeAllVisitors, visit };
|