Socket
Socket
Sign inDemoInstall

@swagger-api/apidom-ast

Package Overview
Dependencies
Maintainers
1
Versions
49
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@swagger-api/apidom-ast - npm Package Compare versions

Comparing version 0.69.0 to 0.69.3

4

CHANGELOG.md

@@ -6,2 +6,6 @@ # Change Log

## [0.69.3](https://github.com/swagger-api/apidom/compare/v0.69.2...v0.69.3) (2023-04-27)
**Note:** Version bump only for package @swagger-api/apidom-ast
# [0.69.0](https://github.com/swagger-api/apidom/compare/v0.68.1...v0.69.0) (2023-02-28)

@@ -8,0 +12,0 @@

2

dist/apidom-ast.browser.min.js
/*! For license information please see apidom-ast.browser.min.js.LICENSE.txt */
!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,i,o,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 i,o,s=O(r),c=0;c<s.length;)i=s[c++],(o=Object.getOwnPropertyDescriptor(r,i)).hasOwnProperty("value")?o.value!==e&&(n[i]=t(E(n[i])||Array.isArray(r[i])?n[i]:{},r[i])):Object.defineProperty(n,i,o);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 i(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),i(m),i(b)),t}function M(){return function(t){return n=function t(n){var r,i,o=t[S]||{},u={__proto__:o[v]},l=o[m],f=Array.prototype.slice.apply(arguments),p=o[c];if(p&&N(u,p),(p=o[s])&&w(u,p),(p=o[a])&&Object.defineProperties(u,p),!l||!l.length)return u;for(n===e&&(n={}),o=0;o<l.length;)A(r=l[o++])&&(u=(i=r.call(u,n,{instance:u,stamp:t,args:f}))===e?u:i);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,o){return function(){return(i={})[t]=o.apply(e,Array.prototype.concat.apply([{}],arguments)),((n=this)&&n[S]||r).call(n,i)}}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:((i={})[v]=(O=t)[v]||e,r=O.props,i[s]=x((n=O[s])||r)?w({},r,n):e,i[m]=P(O.init,O[m]),i[b]=P(O[b]),r=O[y],i[c]=x((n=O[c])||r)?N({},r,n):e,i[a]=O[a],r=O.statics,i[u]=x((n=O[u])||r)?w({},r,n):e,r=O[g],i[l]=x((n=O[l])||r)?N({},r,n):e,n=O[f],i[f]=x((r=O.name&&{name:{value:O.name}})||n)?w({},n,r):e,r=O.conf,i[p]=x((n=O[p])||r)?w({},r,n):e,r=O[h],i[d]=x((n=O[d])||r)?N({},r,n):e,i));if(t=M.apply(T||o,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)},(i={})[u]=F,o=M(i),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}),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";const r=n(396);function i(t,e,n){const i=function(t){return t.match(/[^a-f0-9]/i)?NaN:parseInt(t,16)}(t);if(Number.isNaN(i)||void 0!==n&&n!==t.length)throw new SyntaxError(r.errorMessages.get(e));return i}function o(t,e){const n=i(t,r.ErrorType.MalformedUnicode,4);if(void 0!==e){const t=i(e,r.ErrorType.MalformedUnicode,4);return String.fromCharCode(n,t)}return String.fromCharCode(n)}r.ErrorType,r.errorMessages;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=i(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=i(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 o(u,l);if(void 0!==f)return o(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 i=e[r];if(void 0!==i)return i.exports;var o=e[r]={exports:{}};return t[r](o,o.exports,n),o.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:()=>Zn,Error:()=>Hn,JsonArray:()=>de,JsonDocument:()=>zt,JsonEscapeSequence:()=>ve,JsonFalse:()=>Oe,JsonKey:()=>he,JsonNode:()=>o,JsonNull:()=>je,JsonNumber:()=>be,JsonObject:()=>fe,JsonProperty:()=>pe,JsonString:()=>ge,JsonStringContent:()=>me,JsonTrue:()=>Se,JsonValue:()=>ye,Literal:()=>zn,ParseResult:()=>Wn,Point:()=>Kn,Position:()=>Qn,YamlAlias:()=>we,YamlAnchor:()=>Qe,YamlCollection:()=>xe,YamlComment:()=>Ee,YamlDirective:()=>Ne,YamlDocument:()=>Pe,YamlFailsafeSchema:()=>Rn,YamlJsonSchema:()=>Bn,YamlKeyValuePair:()=>$e,YamlMapping:()=>Le,YamlNode:()=>Ae,YamlNodeKind:()=>ze,YamlScalar:()=>Ge,YamlSequence:()=>Ve,YamlStream:()=>Be,YamlStyle:()=>Te,YamlStyleGroup:()=>Me,YamlTag:()=>Ke,getNodeType:()=>tr,getVisitFn:()=>Xn,isJsonArray:()=>oe,isJsonDocument:()=>Zt,isJsonEscapeSequence:()=>ae,isJsonFalse:()=>ee,isJsonKey:()=>le,isJsonNull:()=>re,isJsonNumber:()=>ie,isJsonObject:()=>se,isJsonProperty:()=>ue,isJsonString:()=>te,isJsonStringContent:()=>ce,isJsonTrue:()=>ne,isLiteral:()=>Qt,isNode:()=>er,isParseResult:()=>Xt,isPoint:()=>Wt,isPosition:()=>Ht,isYamlAlias:()=>Ue,isYamlDirective:()=>_e,isYamlDocument:()=>De,isYamlKeyValuePair:()=>Je,isYamlMapping:()=>Ce,isYamlScalar:()=>Ie,isYamlSequence:()=>qe,isYamlStream:()=>Fe,isYamlTag:()=>Ye,mergeAllVisitors:()=>nr,visit:()=>rr});var t=n(591),e=n.n(t);const i=e()({props:{type:null,position:null,children:[]},init(){let{children:t=[],position:e=null,isMissing:n=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{stamp:r={}}=arguments.length>1?arguments[1]:void 0;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}}}),o=e()(i);function s(t){return null!=t&&"object"==typeof t&&!0===t["@@functional/placeholder"]}function c(t){return function e(n){return 0===arguments.length||s(n)?e:t.apply(this,arguments)}}function a(t){return function e(n,r){switch(arguments.length){case 0:return e;case 1:return s(n)?e:c((function(e){return t(n,e)}));default:return s(n)&&s(r)?e:s(n)?c((function(e){return t(e,r)})):s(r)?c((function(e){return t(n,e)})):t(n,r)}}}const u=Array.isArray||function(t){return null!=t&&t.length>=0&&"[object Array]"===Object.prototype.toString.call(t)};function l(t,e,n){return function(){if(0===arguments.length)return n();var r=arguments[arguments.length-1];if(!u(r)){for(var i=0;i<t.length;){if("function"==typeof r[t[i]])return r[t[i]].apply(r,Array.prototype.slice.call(arguments,0,-1));i+=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 f={init:function(){return this.xf["@@transducer/init"]()},result:function(t){return this.xf["@@transducer/result"](t)}};function p(t,e){for(var n=0,r=e.length,i=Array(r);n<r;)i[n]=t(e[n]),n+=1;return i}function d(t){return"[object String]"===Object.prototype.toString.call(t)}const y=c((function(t){return!!u(t)||!!t&&("object"==typeof t&&(!d(t)&&(0===t.length||t.length>0&&(t.hasOwnProperty(0)&&t.hasOwnProperty(t.length-1)))))}));var g=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 h(t){return new g(t)}function m(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,i){return e.apply(this,arguments)};case 5:return function(t,n,r,i,o){return e.apply(this,arguments)};case 6:return function(t,n,r,i,o,s){return e.apply(this,arguments)};case 7:return function(t,n,r,i,o,s,c){return e.apply(this,arguments)};case 8:return function(t,n,r,i,o,s,c,a){return e.apply(this,arguments)};case 9:return function(t,n,r,i,o,s,c,a,u){return e.apply(this,arguments)};case 10:return function(t,n,r,i,o,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")}}const v=a((function(t,e){return m(t.length,(function(){return t.apply(e,arguments)}))}));function b(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 S(t,e,n,r){return t["@@transducer/result"](n[r](v(t["@@transducer/step"],t),e))}var O="undefined"!=typeof Symbol?Symbol.iterator:"@@iterator";function j(t,e,n){if("function"==typeof t&&(t=h(t)),y(n))return function(t,e,n){for(var r=0,i=n.length;r<i;){if((e=t["@@transducer/step"](e,n[r]))&&e["@@transducer/reduced"]){e=e["@@transducer/value"];break}r+=1}return t["@@transducer/result"](e)}(t,e,n);if("function"==typeof n["fantasy-land/reduce"])return S(t,e,n,"fantasy-land/reduce");if(null!=n[O])return b(t,e,n[O]());if("function"==typeof n.next)return b(t,e,n);if("function"==typeof n.reduce)return S(t,e,n,"reduce");throw new TypeError("reduce: list must be array or iterable")}var w=function(){function t(t,e){this.xf=e,this.f=t}return t.prototype["@@transducer/init"]=f.init,t.prototype["@@transducer/result"]=f.result,t.prototype["@@transducer/step"]=function(t,e){return this.xf["@@transducer/step"](t,this.f(e))},t}();const A=a((function(t,e){return new w(t,e)}));function x(t,e,n){return function(){for(var r=[],i=0,o=t,c=0;c<e.length||i<arguments.length;){var a;c<e.length&&(!s(e[c])||i>=arguments.length)?a=e[c]:(a=arguments[i],i+=1),r[c]=a,s(a)||(o-=1),c+=1}return o<=0?n.apply(this,r):m(o,x(t,r,n))}}const E=a((function(t,e){return 1===t?c(e):m(t,x(t,[],e))}));function N(t,e){return Object.prototype.hasOwnProperty.call(e,t)}var P=Object.prototype.toString;const T=function(){return"[object Arguments]"===P.call(arguments)?function(t){return"[object Arguments]"===P.call(t)}:function(t){return N("callee",t)}}();var M=!{toString:null}.propertyIsEnumerable("toString"),k=["constructor","valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],F=function(){return arguments.propertyIsEnumerable("length")}(),D=function(t,e){for(var n=0;n<t.length;){if(t[n]===e)return!0;n+=1}return!1};const C="function"!=typeof Object.keys||F?c((function(t){if(Object(t)!==t)return[];var e,n,r=[],i=F&&T(t);for(e in t)!N(e,t)||i&&"length"===e||(r[r.length]=e);if(M)for(n=k.length-1;n>=0;)N(e=k[n],t)&&!D(r,e)&&(r[r.length]=e),n-=1;return r})):c((function(t){return Object(t)!==t?[]:Object.keys(t)}));const q=a(l(["fantasy-land/map","map"],A,(function(t,e){switch(Object.prototype.toString.call(e)){case"[object Function]":return E(e.length,(function(){return t.call(this,e.apply(this,arguments))}));case"[object Object]":return j((function(n,r){return n[r]=t(e[r]),n}),{},C(e));default:return p(t,e)}}))),J=Number.isInteger||function(t){return t<<0===t};const Y=a((function(t,e){var n=t<0?e.length+t:t;return d(e)?e.charAt(n):e[n]}));const I=a((function(t,e){if(null!=e)return J(t)?Y(t,e):e[t]}));const U=a((function(t,e){return q(I(t),e)}));function _(t){return function e(n,r,i){switch(arguments.length){case 0:return e;case 1:return s(n)?e:a((function(e,r){return t(n,e,r)}));case 2:return s(n)&&s(r)?e:s(n)?a((function(e,n){return t(e,r,n)})):s(r)?a((function(e,r){return t(n,e,r)})):c((function(e){return t(n,r,e)}));default:return s(n)&&s(r)&&s(i)?e:s(n)&&s(r)?a((function(e,n){return t(e,n,i)})):s(n)&&s(i)?a((function(e,n){return t(e,r,n)})):s(r)&&s(i)?a((function(e,r){return t(n,e,r)})):s(n)?c((function(e){return t(e,r,i)})):s(r)?c((function(e){return t(n,e,i)})):s(i)?c((function(e){return t(n,r,e)})):t(n,r,i)}}}const R=_(j);const $=c((function(t){return function(){return t}}));const L=a((function(t,e){return e>t?e:t}));const G=c((function(t){return E(R(L,0,U("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 V(t,e){var n;e=e||[];var r=(t=t||[]).length,i=e.length,o=[];for(n=0;n<r;)o[o.length]=t[n],n+=1;for(n=0;n<i;)o[o.length]=e[n],n+=1;return o}const B=a((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))}:j((function(t,n){return V(t,q(n,e))}),[],t)}));function z(t){var e=Object.prototype.toString.call(t);return"[object Function]"===e||"[object AsyncFunction]"===e||"[object GeneratorFunction]"===e||"[object AsyncGeneratorFunction]"===e}const K=a((function(t,e){return t&&e}));const Q=a((function(t,e){var n=E(t,e);return E(t,(function(){return j(B,q(n,arguments[0]),Array.prototype.slice.call(arguments,1))}))}));const H=c((function(t){return Q(t.length,t)}));const W=a((function(t,e){return z(t)?function(){return t.apply(this,arguments)&&e.apply(this,arguments)}:H(K)(t,e)}));const X=H(c((function(t){return!t})));function Z(t,e){return function(){return e.call(this,t.apply(this,arguments))}}function tt(t,e){return function(){var n=arguments.length;if(0===n)return e();var r=arguments[n-1];return u(r)||"function"!=typeof r[t]?e.apply(this,arguments):r[t].apply(r,Array.prototype.slice.call(arguments,0,n-1))}}const et=_(tt("slice",(function(t,e,n){return Array.prototype.slice.call(n,t,e)})));const nt=c(tt("tail",et(1,1/0)));function rt(){if(0===arguments.length)throw new Error("pipe requires at least one argument");return m(arguments[0].length,R(Z,arguments[0],nt(arguments)))}const it=c((function(t){return d(t)?t.split("").reverse().join(""):Array.prototype.slice.call(t,0).reverse()}));function ot(){if(0===arguments.length)throw new Error("compose requires at least one argument");return rt.apply(this,it(arguments))}function st(t){for(var e,n=[];!(e=t.next()).done;)n.push(e.value);return n}function ct(t,e,n){for(var r=0,i=n.length;r<i;){if(t(e,n[r]))return!0;r+=1}return!1}const at="function"==typeof Object.is?Object.is:function(t,e){return t===e?0!==t||1/t==1/e:t!=t&&e!=e};const ut=c((function(t){return null===t?"Null":void 0===t?"Undefined":Object.prototype.toString.call(t).slice(8,-1)}));function lt(t,e,n,r){var i=st(t);function o(t,e){return ft(t,e,n.slice(),r.slice())}return!ct((function(t,e){return!ct(o,e,t)}),st(e),i)}function ft(t,e,n,r){if(at(t,e))return!0;var i,o,s=ut(t);if(s!==ut(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"===(i=t.constructor,null==(o=String(i).match(/^function (\w*)/))?"":o[1]))return t===e;break;case"Boolean":case"Number":case"String":if(typeof t!=typeof e||!at(t.valueOf(),e.valueOf()))return!1;break;case"Date":if(!at(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&&lt(t.entries(),e.entries(),n.concat([t]),r.concat([e]));case"Set":return t.size===e.size&&lt(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=C(t);if(a.length!==C(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(!N(f,e)||!ft(e[f],t[f],u,l))return!1;c-=1}return!0}const pt=a((function(t,e){return ft(t,e,[],[])}));function dt(t,e){return function(t,e,n){var r,i;if("function"==typeof t.indexOf)switch(typeof e){case"number":if(0===e){for(r=1/e;n<t.length;){if(0===(i=t[n])&&1/i===r)return n;n+=1}return-1}if(e!=e){for(;n<t.length;){if("number"==typeof(i=t[n])&&i!=i)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(pt(t[n],e))return n;n+=1}return-1}(e,t,0)>=0}function yt(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 gt=function(t){return(t<10?"0":"")+t};const ht="function"==typeof Date.prototype.toISOString?function(t){return t.toISOString()}:function(t){return t.getUTCFullYear()+"-"+gt(t.getUTCMonth()+1)+"-"+gt(t.getUTCDate())+"T"+gt(t.getUTCHours())+":"+gt(t.getUTCMinutes())+":"+gt(t.getUTCSeconds())+"."+(t.getUTCMilliseconds()/1e3).toFixed(3).slice(2,5)+"Z"};var mt=function(){function t(t,e){this.xf=e,this.f=t}return t.prototype["@@transducer/init"]=f.init,t.prototype["@@transducer/result"]=f.result,t.prototype["@@transducer/step"]=function(t,e){return this.f(e)?this.xf["@@transducer/step"](t,e):t},t}();const vt=a(l(["fantasy-land/filter","filter"],a((function(t,e){return new mt(t,e)})),(function(t,e){return n=e,"[object Object]"===Object.prototype.toString.call(n)?j((function(n,r){return t(e[r])&&(n[r]=e[r]),n}),{},C(e)):function(t,e){for(var n=0,r=e.length,i=[];n<r;)t(e[n])&&(i[i.length]=e[n]),n+=1;return i}(t,e);var n})));const bt=a((function(t,e){return vt((n=t,function(){return!n.apply(this,arguments)}),e);var n}));function St(t,e){var n=function(n){var r=e.concat([t]);return dt(n,r)?"<Circular>":St(n,r)},r=function(t,e){return p((function(e){return yt(e)+": "+n(t[e])}),e.slice().sort())};switch(Object.prototype.toString.call(t)){case"[object Arguments]":return"(function() { return arguments; }("+p(n,t).join(", ")+"))";case"[object Array]":return"["+p(n,t).concat(r(t,bt((function(t){return/^\d+$/.test(t)}),C(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):yt(ht(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 String]":return"object"==typeof t?"new String("+n(t.valueOf())+")":yt(t);case"[object Undefined]":return"undefined";default:if("function"==typeof t.toString){var i=t.toString();if("[object Object]"!==i)return i}return"{"+r(t,C(t)).join(", ")+"}"}}const Ot=c((function(t){return St(t,[])}));const jt=a((function(t,e){if(u(t)){if(u(e))return t.concat(e);throw new TypeError(Ot(e)+" is not an array")}if(d(t)){if(d(e))return t+e;throw new TypeError(Ot(e)+" is not a string")}if(null!=t&&z(t["fantasy-land/concat"]))return t["fantasy-land/concat"](e);if(null!=t&&z(t.concat))return t.concat(e);throw new TypeError(Ot(t)+' does not have a method named "concat" or "fantasy-land/concat"')}));const wt=a((function(t,e){return E(R(L,0,U("length",e)),(function(){var n=arguments,r=this;return t.apply(r,p((function(t){return t.apply(r,n)}),e))}))}));const At=c((function(t){return E(t.length,t)}));var xt=function(){function t(t,e){this.xf=e,this.f=t}return t.prototype["@@transducer/init"]=f.init,t.prototype["@@transducer/result"]=f.result,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}();const Et=a(l(["dropWhile"],a((function(t,e){return new xt(t,e)})),(function(t,e){for(var n=0,r=e.length;n<r&&t(e[n]);)n+=1;return et(n,1/0,e)})));const Nt=c((function(t){return E(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 Pt=a((function(t,e){return t>e}));const Tt=Y(0);const Mt=a(at);function kt(t){return t}const Ft=c(kt);const Dt=a(dt);const Ct="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 i=arguments[n];if(null!=i)for(var o in i)N(o,i)&&(e[o]=i[o]);n+=1}return e};const qt=a((function(t,e){return E(t+1,(function(){var n=arguments[t];if(null!=n&&z(n[e]))return n[e].apply(n,Array.prototype.slice.call(arguments,0,t));throw new TypeError(Ot(n)+' does not have a method named "'+e+'"')}))}));const Jt=qt(1,"join");const Yt=a((function(t,e){return t.map((function(t){for(var n,r=e,i=0;i<t.length;){if(null==r)return;n=t[i],r=J(n)?Y(n,r):r[n],i+=1}return r}))}));const It=a((function(t,e){return Yt([t],e)[0]}));const Ut=a((function(t,e){return Ct({},t,e)}));const _t=a((function(t,e){return null==e||e!=e?t:e}));const Rt=_((function(t,e,n){return _t(t,It(e,n))}));const $t=_((function(t,e,n){return n.replace(t,e)}));const Lt=qt(1,"split");const Gt=E(4,(function(t,e,n,r){return j(t("function"==typeof e?h(e):e),n,r)}));var Vt="\t\n\v\f\r                 \u2028\u2029\ufeff";const Bt=c("function"==typeof String.prototype.trim&&!Vt.trim()&&"​".trim()?function(t){return t.trim()}:function(t){var e=new RegExp("^["+Vt+"]["+Vt+"]*"),n=new RegExp("["+Vt+"]["+Vt+"]*$");return t.replace(e,"").replace(n,"")});const zt=e()(o,{statics:{type:"document"},methods:{get child(){return Tt(this.children)}}}),Kt=(t,e)=>e?.type===t,Qt=Kt.bind(void 0,"literal"),Ht=Kt.bind(void 0,"position"),Wt=Kt.bind(void 0,"point"),Xt=Kt.bind(void 0,"parseResult"),Zt=Kt.bind(void 0,"document"),te=Kt.bind(void 0,"string"),ee=Kt.bind(void 0,"false"),ne=Kt.bind(void 0,"true"),re=Kt.bind(void 0,"null"),ie=Kt.bind(void 0,"number"),oe=Kt.bind(void 0,"array"),se=Kt.bind(void 0,"object"),ce=Kt.bind(void 0,"stringContent"),ae=Kt.bind(void 0,"escapeSequence"),ue=Kt.bind(void 0,"property"),le=Kt.bind(void 0,"key"),fe=e()(o,{statics:{type:"object"},methods:{get properties(){return this.children.filter(ue)}}}),pe=e()(o,{statics:{type:"property"},methods:{get key(){return this.children.find(le)},get value(){return this.children.find((t=>ee(t)||ne(t)||re(t)||ie(t)||te(t)||oe(t)||se(t)))}}}),de=e()(o,{statics:{type:"array"},methods:{get items(){return this.children.filter((t=>ee(t)||ne(t)||re(t)||ie(t)||te(t)||oe(t)||se))}}}),ye=e()(o,{statics:{type:"value"},props:{value:null},init(){let{value:t=null}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.value=t}}),ge=e()(o,{statics:{type:"string"},methods:{get value(){return 1===this.children.length?this.children[0].value:this.children.filter((t=>ce(t)||ae(t))).reduce(((t,e)=>t+e.value),"")}}}),he=e()(ge,{statics:{type:"key"}}),me=e()(ye,{statics:{type:"stringContent"}}),ve=e()(ye,{statics:{type:"escapeSequence"}}),be=e()(ye,{statics:{type:"number"}}),Se=e()(ye,{statics:{type:"true"}}),Oe=e()(ye,{statics:{type:"false"}}),je=e()(ye,{statics:{type:"null"}}),we=e()(i,{statics:{type:"alias"},props:{content:null},init(){let{content:t=null}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.content=t}}),Ae=e()(i,{props:{anchor:null,tag:null,style:null,styleGroup:null},init(){let{anchor:t=null,tag:e=null,style:n=null,styleGroup:r=null}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.anchor=t,this.tag=e,this.style=n,this.styleGroup=r}}),xe=e()(Ae,{}),Ee=e()(i,{statics:{type:"comment"},props:{content:null},init(){let{content:t=null}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.content=t}}),Ne=e()(i,{statics:{type:"directive"},props:{name:null,parameters:null},init(){let{name:t=null,parameters:e={}}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.name=t,this.parameters=Ut({version:null,handle:null,prefix:null},e)}}),Pe=e()(i,{statics:{type:"document"}});let Te,Me;!function(t){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"}(Te||(Te={})),function(t){t.Flow="Flow",t.Block="Block"}(Me||(Me={}));const ke=e()({props:{styleGroup:null,style:null}}),Fe=Kt.bind(void 0,"stream"),De=Kt.bind(void 0,"document"),Ce=Kt.bind(void 0,"mapping"),qe=Kt.bind(void 0,"sequence"),Je=Kt.bind(void 0,"keyValuePair"),Ye=Kt.bind(void 0,"tag"),Ie=Kt.bind(void 0,"scalar"),Ue=Kt.bind(void 0,"alias"),_e=Kt.bind(void 0,"directive"),Re=Kt.bind(void 0,"comment"),$e=e()(i,ke,{statics:{type:"keyValuePair"},propertyDescriptors:{key:{get(){return this.children.filter((t=>Ie(t)||Ce(t)||qe(t)))[0]},enumerable:!0},value:{get(){const{key:t,children:e}=this;return e.filter((e=>(e=>e!==t)(e)&&(t=>Ie(t)||Ce(t)||qe(t)||Ue(t))(e)))[0]},enumerable:!0}}}),Le=e()(xe,{statics:{type:"mapping"},propertyDescriptors:{content:{get(){return Array.isArray(this.children)?this.children.filter(Je):[]},enumerable:!0}}}),Ge=e()(Ae,{statics:{type:"scalar"},props:{content:""},init(){let{content:t}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.content=t}}),Ve=e()(xe,{statics:{type:"sequence"},propertyDescriptors:{content:{get(){const{children:t}=this;return Array.isArray(t)?t.filter((t=>qe(t)||Ce(t)||Ie(t)||Ue(t))):[]},enumerable:!0}}}),Be=e()(i,{statics:{type:"stream"},propertyDescriptors:{content:{get(){return Array.isArray(this.children)?this.children.filter((t=>De(t)||Re(t))):[]},enumerable:!0}}});let ze;!function(t){t.Scalar="Scalar",t.Sequence="Sequence",t.Mapping="Mapping"}(ze||(ze={}));const Ke=e()(i,{statics:{type:"tag"},props:{explicitName:"",kind:null},init(){let{explicitName:t,kind:e}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.explicitName=t,this.kind=e}}),Qe=e()(i,{statics:{type:"anchor"},props:{name:null},init(){let{name:t=null}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.name=t}});const He=pt("");const We=E(1,rt(ut,Mt("GeneratorFunction")));const Xe=E(1,rt(ut,Mt("AsyncFunction")));const Ze=G([rt(ut,Mt("Function")),We,Xe]);const tn=E(1,rt(ut,Mt("Number")));var en=W(tn,isFinite);var nn=E(1,en);const rn=Ze(Number.isFinite)?E(1,v(Number.isFinite,Number)):nn;var on=W(rn,wt(pt,[Math.floor,Ft]));var sn=E(1,on);const cn=Ze(Number.isInteger)?E(1,v(Number.isInteger,Number)):sn;const an=X(rn);const un=E(1,W(tn,Pt(0)));const ln=function(t,e){var n=Number(e);if(n!==e&&(n=0),un(n))throw new RangeError("repeat count must be non-negative");if(an(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 i=t;n;)i+=t,n-=1;return i+=i.substring(0,r-i.length)};var fn=At(ln),pn=Nt(qt(1,"repeat"));const dn=Ze(String.prototype.repeat)?pn:fn;var yn=$(void 0);const gn=pt(yn());var hn=$t(/[\s\uFEFF\xA0]+$/,""),mn=qt(0,"trimEnd");const vn=Ze(String.prototype.trimEnd)?mn:hn;var bn=$t(/^[\s\uFEFF\xA0]+/,""),Sn=qt(0,"trimStart");const On=Ze(String.prototype.trimStart)?Sn:bn;const jn=Nt(Dt);const wn=At((function(t,e){return rt(Lt(""),Et(jn(t)),Jt(""))(e)}));const An=Nt(jt);var xn=n(770);const En=/^(?<style>[|>])(?<chomping>[+-]?)(?<indentation>[0-9]*)\s/,Nn=t=>{const e=(t=>{const e=t.match(En),n=Rt("",["groups","indentation"],e);return He(n)?void 0:parseInt(n,10)})(t);if(cn(e))return dn(" ",e);const n=Rt("",[1],t.split("\n")),r=Rt(0,["groups","indentation","length"],n.match(/^(?<indentation>[ ]*)/));return dn(" ",r)},Pn=t=>{const e=t.match(En),n=Rt("",["groups","chomping"],e);return He(n)?void 0:n},Tn=(t,e)=>gn(t)?`${vn(e)}\n`:"-"===t?vn(e):e,Mn=t=>t.replace(/\r\n/g,"\n"),kn=t=>t.replace(/(\n)?\n([^\n]+)/g,((t,e,n)=>e?t:` ${n.trimStart()}`)).replace(/[\n]{2}/g,"\n"),Fn=At(((t,e)=>e.replace(new RegExp(`^${t}`),"").replace(new RegExp(`${t}$`),""))),Dn=rt(Mn,Bt,kn,Lt("\n"),q(On),Jt("\n")),Cn=rt(Mn,Bt,Fn("'"),kn,Lt("\n"),q(On),Jt("\n")),qn=rt(Mn,Bt,Fn('"'),(t=>t.replace(/\\\n\s*/g,"")),kn,xn.S6,Lt("\n"),q(On),Jt("\n")),Jn=e()({methods:{test:t=>t.tag.kind===ze.Scalar&&"string"==typeof t.content,canonicalFormat(t){let e=t.content;const n=t.clone();return t.style===Te.Plain?e=Dn(t.content):t.style===Te.SingleQuoted?e=Cn(t.content):t.style===Te.DoubleQuoted?e=qn(t.content):t.style===Te.Literal?e=(t=>{const e=Nn(t),n=Pn(t),r=Mn(t),i=nt(r.split("\n")),o=ot(q(wn(e)),q(An("\n"))),s=Gt(o,jt,"",i);return Tn(n,s)})(t.content):t.style===Te.Folded&&(e=(t=>{const e=Nn(t),n=Pn(t),r=Mn(t),i=nt(r.split("\n")),o=ot(q(wn(e)),q(An("\n"))),s=Gt(o,jt,"",i),c=kn(s);return Tn(n,c)})(t.content)),n.content=e,n},resolve:t=>t}}),Yn=e()(Jn,{props:{tag:""}}),In=e()(Yn,{statics:{uri:"tag:yaml.org,2002:map"},init(t,e){let{stamp:n}=e;this.tag=n.uri},methods:{test:t=>t.tag.kind===ze.Mapping,resolve:t=>t}}),Un=e()(Yn,{statics:{uri:"tag:yaml.org,2002:seq"},init(t,e){let{stamp:n}=e;this.tag=n.uri},methods:{test:t=>t.tag.kind===ze.Sequence,resolve:t=>t}}),_n=e()(Yn,{statics:{uri:"tag:yaml.org,2002:str"},init(t,e){let{stamp:n}=e;this.tag=n.uri},methods:{resolve:t=>t}}),Rn=e()({props:{tags:[],tagDirectives:[]},init(){this.tags=[],this.tagDirectives=[],this.registerTag(In()),this.registerTag(Un()),this.registerTag(_n())},methods:{toSpecificTagName(t){let e=t.tag.explicitName;return"!"===t.tag.explicitName?t.tag.kind===ze.Scalar?e=_n.uri:t.tag.kind===ze.Sequence?e=Un.uri:t.tag.kind===ze.Mapping&&(e=In.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){return arguments.length>1&&void 0!==arguments[1]&&arguments[1]?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===ze.Scalar&&(n=Jn().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)}}}),$n=e()(Yn,{statics:{uri:"tag:yaml.org,2002:bool"},init(t,e){let{stamp:n}=e;this.tag=n.uri},methods:{test:t=>/^(true|false)$/.test(t.content),resolve(t){const e="true"===t.content,n=t.clone();return n.content=e,n}}}),Ln=e()(Yn,{statics:{uri:"tag:yaml.org,2002:float"},init(t,e){let{stamp:n}=e;this.tag=n.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}}}),Gn=e()(Yn,{statics:{uri:"tag:yaml.org,2002:int"},init(t,e){let{stamp:n}=e;this.tag=n.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}}}),Vn=e()(Yn,{statics:{uri:"tag:yaml.org,2002:null"},init(t,e){let{stamp:n}=e;this.tag=n.uri},methods:{test:t=>/^null$/.test(t.content),resolve(t){const e=t.clone();return e.content=null,e}}}),Bn=e()(Rn,{init(){this.registerTag($n(),!0),this.registerTag(Ln(),!0),this.registerTag(Gn(),!0),this.registerTag(Vn(),!0)},methods:{toSpecificTagName(t){let e=Rn.compose.methods.toSpecificTagName.call(this,t);if("?"===e)if(t.tag.vkind===ze.Sequence)e=Un.uri;else if(t.tag.kind===ze.Mapping)e=In.uri;else if(t.tag.kind===ze.Scalar){const n=this.tags.find((e=>e.test(t)));e=n?.tag||"?"}return e}}}),zn=e()(i,{statics:{type:"literal"},props:{value:null},init(){let{value:t=null}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.value=t}}),Kn=e()({statics:{type:"point"},props:{type:"point",row:null,column:null,char:null},init(){let{row:t=null,column:e=null,char:n=null}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.row=t,this.column=e,this.char=n}}),Qn=e()({statics:{type:"position"},props:{type:"position",start:null,end:null},init(){let{start:t=null,end:e=null}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.start=t,this.end=e}}),Hn=e()(i,{statics:{type:"error"},props:{value:null,isUnexpected:!1},init(){let{value:t=null,isUnexpected:e=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.value=t,this.isUnexpected=e}}),Wn=e()(i,{statics:{type:"parseResult"},methods:{get rootNode(){return Tt(this.children)}}}),Xn=(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},Zn={},tr=t=>t?.type,er=t=>"string"==typeof tr(t),nr=function(t){let{visitFnGetter:e=Xn,nodeTypeGetter:n=tr}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const r=new Array(t.length);return{enter(i){for(var o=arguments.length,s=new Array(o>1?o-1:0),c=1;c<o;c++)s[c-1]=arguments[c];for(let o=0;o<t.length;o+=1)if(null==r[o]){const c=e(t[o],n(i),!1);if("function"==typeof c){const e=c.call(t[o],i,...s);if(!1===e)r[o]=i;else if(e===Zn)r[o]=Zn;else if(void 0!==e)return e}}},leave(i){for(var o=arguments.length,s=new Array(o>1?o-1:0),c=1;c<o;c++)s[c-1]=arguments[c];for(let o=0;o<t.length;o+=1)if(null==r[o]){const c=e(t[o],n(i),!0);if("function"==typeof c){const e=c.call(t[o],i,...s);if(e===Zn)r[o]=Zn;else if(void 0!==e&&!1!==e)return e}}else r[o]===i&&(r[o]=null)}}},rr=function(t,e){let{keyMap:n=null,state:r={},breakSymbol:i=Zn,deleteNodeSymbol:o=null,skipVisitingNodeSymbol:s=!1,visitFnGetter:c=Xn,nodeTypeGetter:a=tr,nodePredicate:u=er,detectCycles:l=!0}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};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===o?(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===o||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 o=c(e,a(O),t);if(o){for(const[t,n]of Object.entries(r))e[t]=n;if(w=o.call(e,O,n,d,v,b),w===i)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};rr[Symbol.for("nodejs.util.promisify.custom")]=async function(t,e){let{keyMap:n=null,state:r={},breakSymbol:i=Zn,deleteNodeSymbol:o=null,skipVisitingNodeSymbol:s=!1,visitFnGetter:c=Xn,nodeTypeGetter:a=tr,nodePredicate:u=er,detectCycles:l=!0}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};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===o?(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===o||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 o=c(e,a(O),t);if(o){for(const[t,n]of Object.entries(r))e[t]=n;if(w=await o.call(e,O,n,d,v,b),w===i)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})()));
!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 w(t,e){return Array.prototype.slice.call(arguments,2).reduce(t,e)}var j=w.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=w.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||j)(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])&&j(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])&&j(n,r),(r=t[f])&&Object.defineProperties(n,r),r=A(n[S])?n[S]:M,j(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,j),F[s]=F.props=D(s,j),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,j),F[l]=F[g]=D(l,N),F[p]=F.conf=D(p,j),F[d]=F[h]=D(d,N),F[a]=D(a,j),F[f]=D(f,j),r=F[S]=j((function(){for(var t,O,w=0,A=[],E=arguments,T=this;w<E.length;)x(t=E[w++])&&A.push(k(t)?t:((o={})[v]=(O=t)[v]||e,r=O.props,o[s]=x((n=O[s])||r)?j({},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)?j({},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)?j({},n,r):e,r=O.conf,o[p]=x((n=O[p])||r)?j({},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(w=0;w<E.length;)t=k(T=E[w++]({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}),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";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)}r.ErrorType,r.errorMessages;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:()=>ur,Error:()=>sr,JsonArray:()=>je,JsonDocument:()=>re,JsonEscapeSequence:()=>Pe,JsonFalse:()=>ke,JsonKey:()=>Ee,JsonNode:()=>i,JsonNull:()=>Fe,JsonNumber:()=>Te,JsonObject:()=>Oe,JsonProperty:()=>we,JsonString:()=>xe,JsonStringContent:()=>Ne,JsonTrue:()=>Me,JsonValue:()=>Ae,Literal:()=>rr,ParseResult:()=>cr,Point:()=>or,Position:()=>ir,YamlAlias:()=>De,YamlAnchor:()=>sn,YamlCollection:()=>qe,YamlComment:()=>Je,YamlDirective:()=>Ye,YamlDocument:()=>Ie,YamlFailsafeSchema:()=>Wn,YamlJsonSchema:()=>nr,YamlKeyValuePair:()=>Xe,YamlMapping:()=>Ze,YamlNode:()=>Ce,YamlNodeKind:()=>rn,YamlScalar:()=>tn,YamlSequence:()=>en,YamlStream:()=>nn,YamlStyle:()=>Ue,YamlStyleGroup:()=>_e,YamlTag:()=>on,getNodeType:()=>lr,getVisitFn:()=>ar,isJsonArray:()=>ge,isJsonDocument:()=>ue,isJsonEscapeSequence:()=>ve,isJsonFalse:()=>fe,isJsonKey:()=>Se,isJsonNull:()=>de,isJsonNumber:()=>ye,isJsonObject:()=>he,isJsonProperty:()=>be,isJsonString:()=>le,isJsonStringContent:()=>me,isJsonTrue:()=>pe,isLiteral:()=>ie,isNode:()=>fr,isParseResult:()=>ae,isPoint:()=>ce,isPosition:()=>se,isYamlAlias:()=>Qe,isYamlDirective:()=>He,isYamlDocument:()=>Le,isYamlKeyValuePair:()=>Be,isYamlMapping:()=>Ge,isYamlScalar:()=>Ke,isYamlSequence:()=>Ve,isYamlStream:()=>$e,isYamlTag:()=>ze,mergeAllVisitors:()=>pr,visit:()=>dr});var t=n(591),e=n.n(t);const o=e()({props:{type:null,position:null,children:[]},init(){let{children:t=[],position:e=null,isMissing:n=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{stamp:r={}}=arguments.length>1?arguments[1]:void 0;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);function s(t){return null!=t&&"object"==typeof t&&!0===t["@@functional/placeholder"]}function c(t){return function e(n){return 0===arguments.length||s(n)?e:t.apply(this,arguments)}}function a(t){return function e(n,r){switch(arguments.length){case 0:return e;case 1:return s(n)?e:c((function(e){return t(n,e)}));default:return s(n)&&s(r)?e:s(n)?c((function(e){return t(e,r)})):s(r)?c((function(e){return t(n,e)})):t(n,r)}}}const u=Array.isArray||function(t){return null!=t&&t.length>=0&&"[object Array]"===Object.prototype.toString.call(t)};function l(t,e,n){return function(){if(0===arguments.length)return n();var r=arguments[arguments.length-1];if(!u(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 f=function(){return this.xf["@@transducer/init"]()},p=function(t){return this.xf["@@transducer/result"](t)};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")}(),w=function(t,e){for(var n=0;n<t.length;){if(t[n]===e)return!0;n+=1}return!1};const j="function"!=typeof Object.keys||O?c((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)&&!w(r,e)&&(r[r.length]=e),n-=1;return r})):c((function(t){return Object(t)!==t?[]:Object.keys(t)}));const A=c((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=j(t);if(a.length!==j(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=a((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"]=f,t.prototype["@@transducer/result"]=p,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=a(l(["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}),{},j(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=a((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)}),j(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,j(t)).join(", ")+"}"}}const U=c((function(t){return I(t,[])}));const _=a((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"]=f,t.prototype["@@transducer/result"]=p,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,c=0;c<e.length||o<arguments.length;){var a;c<e.length&&(!s(e[c])||o>=arguments.length)?a=e[c]:(a=arguments[o],o+=1),r[c]=a,s(a)||(i-=1),c+=1}return i<=0?n.apply(this,r):L(i,G(t,r,n))}}const V=a((function(t,e){return 1===t?c(e):L(t,G(t,[],e))}));const B=a(l(["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}),{},j(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=a((function(t,e){var n=t<0?e.length+t:t;return K(e)?e.charAt(n):e[n]}));const H=a((function(t,e){if(null!=e)return z(t)?Q(t,e):e[t]}));const W=a((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 s(n)?e:a((function(e,r){return t(n,e,r)}));case 2:return s(n)&&s(r)?e:s(n)?a((function(e,n){return t(e,r,n)})):s(r)?a((function(e,r){return t(n,e,r)})):c((function(e){return t(n,r,e)}));default:return s(n)&&s(r)&&s(o)?e:s(n)&&s(r)?a((function(e,n){return t(e,n,o)})):s(n)&&s(o)?a((function(e,n){return t(e,r,n)})):s(r)&&s(o)?a((function(e,r){return t(n,e,r)})):s(n)?c((function(e){return t(e,r,o)})):s(r)?c((function(e){return t(n,e,o)})):s(o)?c((function(e){return t(n,r,e)})):t(n,r,o)}}}const Z=c((function(t){return!!u(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=a((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=c((function(t){return function(){return t}}));const ft=c((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){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}function dt(t,e,n){for(var r=n.next();!r.done;)e=t(e,r.value),r=n.next();return e}function yt(t,e,n,r){return n[r](t,e)}const gt=et(D,yt,dt);const ht=a((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))}:gt((function(t,n){return pt(t,B(n,e))}),[],t)}));function mt(t){var e=Object.prototype.toString.call(t);return"[object Function]"===e||"[object AsyncFunction]"===e||"[object GeneratorFunction]"===e||"[object AsyncGeneratorFunction]"===e}const vt=a((function(t,e){return t&&e}));const bt=a((function(t,e){var n=V(t,e);return V(t,(function(){return D(ht,B(n,arguments[0]),Array.prototype.slice.call(arguments,1))}))}));const St=c((function(t){return bt(t.length,t)}));const Ot=a((function(t,e){return mt(t)?function(){return t.apply(this,arguments)&&e.apply(this,arguments)}:St(vt)(t,e)}));const wt=St(c((function(t){return!t})));function jt(t,e){return function(){return e.call(this,t.apply(this,arguments))}}function At(t,e){return function(){var n=arguments.length;if(0===n)return e();var r=arguments[n-1];return u(r)||"function"!=typeof r[t]?e.apply(this,arguments):r[t].apply(r,Array.prototype.slice.call(arguments,0,n-1))}}const xt=X(At("slice",(function(t,e,n){return Array.prototype.slice.call(n,t,e)})));const Et=c(At("tail",xt(1,1/0)));function Nt(){if(0===arguments.length)throw new Error("pipe requires at least one argument");return L(arguments[0].length,ut(jt,arguments[0],Et(arguments)))}const Pt=c((function(t){return K(t)?t.split("").reverse().join(""):Array.prototype.slice.call(t,0).reverse()}));function Tt(){if(0===arguments.length)throw new Error("compose requires at least one argument");return Nt.apply(this,Pt(arguments))}const Mt=a((function(t,e){if(u(t)){if(u(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&&mt(t["fantasy-land/concat"]))return t["fantasy-land/concat"](e);if(null!=t&&mt(t.concat))return t.concat(e);throw new TypeError(U(t)+' does not have a method named "concat" or "fantasy-land/concat"')}));const kt=a((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 Ft=c((function(t){return V(t.length,t)}));var Dt=function(){function t(t,e){this.xf=e,this.f=t}return t.prototype["@@transducer/init"]=f,t.prototype["@@transducer/result"]=p,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 Ct(t){return function(e){return new Dt(t,e)}}const qt=a(l(["dropWhile"],Ct,(function(t,e){for(var n=0,r=e.length;n<r&&t(e[n]);)n+=1;return xt(n,1/0,e)})));const Jt=c((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 Yt=a((function(t,e){return t>e}));const It=Q(0);var Ut=function(t,e){switch(arguments.length){case 0:return Ut;case 1:return function e(n){return 0===arguments.length?e:h(t,n)};default:return h(t,e)}};const _t=Ut;function Rt(t){return t}const $t=c(Rt);const Lt=a(P);const Gt="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 Vt=a((function(t,e){return V(t+1,(function(){var n=arguments[t];if(null!=n&&mt(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 Bt=Vt(1,"join");const zt=a((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 Kt=a((function(t,e){return zt([t],e)[0]}));const Qt=a((function(t,e){return Gt({},t,e)}));const Ht=a((function(t,e){return null==e||e!=e?t:e}));const Wt=X((function(t,e,n){return Ht(t,Kt(e,n))}));const Xt=X((function(t,e,n){return n.replace(t,e)}));const Zt=Vt(1,"split");const te=V(4,(function(t,e,n,r){return st(t("function"==typeof e?at(e):e),n,r)}));var ee="\t\n\v\f\r                 \u2028\u2029\ufeff";const ne=c("function"==typeof String.prototype.trim&&!ee.trim()&&"​".trim()?function(t){return t.trim()}:function(t){var e=new RegExp("^["+ee+"]["+ee+"]*"),n=new RegExp("["+ee+"]["+ee+"]*$");return t.replace(e,"").replace(n,"")});const re=e()(i,{statics:{type:"document"},methods:{get child(){return It(this.children)}}}),oe=(t,e)=>e?.type===t,ie=oe.bind(void 0,"literal"),se=oe.bind(void 0,"position"),ce=oe.bind(void 0,"point"),ae=oe.bind(void 0,"parseResult"),ue=oe.bind(void 0,"document"),le=oe.bind(void 0,"string"),fe=oe.bind(void 0,"false"),pe=oe.bind(void 0,"true"),de=oe.bind(void 0,"null"),ye=oe.bind(void 0,"number"),ge=oe.bind(void 0,"array"),he=oe.bind(void 0,"object"),me=oe.bind(void 0,"stringContent"),ve=oe.bind(void 0,"escapeSequence"),be=oe.bind(void 0,"property"),Se=oe.bind(void 0,"key"),Oe=e()(i,{statics:{type:"object"},methods:{get properties(){return this.children.filter(be)}}}),we=e()(i,{statics:{type:"property"},methods:{get key(){return this.children.find(Se)},get value(){return this.children.find((t=>fe(t)||pe(t)||de(t)||ye(t)||le(t)||ge(t)||he(t)))}}}),je=e()(i,{statics:{type:"array"},methods:{get items(){return this.children.filter((t=>fe(t)||pe(t)||de(t)||ye(t)||le(t)||ge(t)||he))}}}),Ae=e()(i,{statics:{type:"value"},props:{value:null},init(){let{value:t=null}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.value=t}}),xe=e()(i,{statics:{type:"string"},methods:{get value(){return 1===this.children.length?this.children[0].value:this.children.filter((t=>me(t)||ve(t))).reduce(((t,e)=>t+e.value),"")}}}),Ee=e()(xe,{statics:{type:"key"}}),Ne=e()(Ae,{statics:{type:"stringContent"}}),Pe=e()(Ae,{statics:{type:"escapeSequence"}}),Te=e()(Ae,{statics:{type:"number"}}),Me=e()(Ae,{statics:{type:"true"}}),ke=e()(Ae,{statics:{type:"false"}}),Fe=e()(Ae,{statics:{type:"null"}}),De=e()(o,{statics:{type:"alias"},props:{content:null},init(){let{content:t=null}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.content=t}}),Ce=e()(o,{props:{anchor:null,tag:null,style:null,styleGroup:null},init(){let{anchor:t=null,tag:e=null,style:n=null,styleGroup:r=null}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.anchor=t,this.tag=e,this.style=n,this.styleGroup=r}}),qe=e()(Ce,{}),Je=e()(o,{statics:{type:"comment"},props:{content:null},init(){let{content:t=null}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.content=t}}),Ye=e()(o,{statics:{type:"directive"},props:{name:null,parameters:null},init(){let{name:t=null,parameters:e={}}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.name=t,this.parameters=Qt({version:null,handle:null,prefix:null},e)}}),Ie=e()(o,{statics:{type:"document"}});let Ue=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}({}),_e=function(t){return t.Flow="Flow",t.Block="Block",t}({});const Re=e()({props:{styleGroup:null,style:null}}),$e=oe.bind(void 0,"stream"),Le=oe.bind(void 0,"document"),Ge=oe.bind(void 0,"mapping"),Ve=oe.bind(void 0,"sequence"),Be=oe.bind(void 0,"keyValuePair"),ze=oe.bind(void 0,"tag"),Ke=oe.bind(void 0,"scalar"),Qe=oe.bind(void 0,"alias"),He=oe.bind(void 0,"directive"),We=oe.bind(void 0,"comment"),Xe=e()(o,Re,{statics:{type:"keyValuePair"},propertyDescriptors:{key:{get(){return this.children.filter((t=>Ke(t)||Ge(t)||Ve(t)))[0]},enumerable:!0},value:{get(){const{key:t,children:e}=this;return e.filter((e=>(e=>e!==t)(e)&&(t=>Ke(t)||Ge(t)||Ve(t)||Qe(t))(e)))[0]},enumerable:!0}}}),Ze=e()(qe,{statics:{type:"mapping"},propertyDescriptors:{content:{get(){return Array.isArray(this.children)?this.children.filter(Be):[]},enumerable:!0}}}),tn=e()(Ce,{statics:{type:"scalar"},props:{content:""},init(){let{content:t}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.content=t}}),en=e()(qe,{statics:{type:"sequence"},propertyDescriptors:{content:{get(){const{children:t}=this;return Array.isArray(t)?t.filter((t=>Ve(t)||Ge(t)||Ke(t)||Qe(t))):[]},enumerable:!0}}}),nn=e()(o,{statics:{type:"stream"},propertyDescriptors:{content:{get(){return Array.isArray(this.children)?this.children.filter((t=>Le(t)||We(t))):[]},enumerable:!0}}});let rn=function(t){return t.Scalar="Scalar",t.Sequence="Sequence",t.Mapping="Mapping",t}({});const on=e()(o,{statics:{type:"tag"},props:{explicitName:"",kind:null},init(){let{explicitName:t,kind:e}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.explicitName=t,this.kind=e}}),sn=e()(o,{statics:{type:"anchor"},props:{name:null},init(){let{name:t=null}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.name=t}});const cn=N("");const an=V(1,Nt(A,_t("GeneratorFunction")));const un=V(1,Nt(A,_t("AsyncFunction")));const ln=ft([Nt(A,_t("Function")),an,un]);const fn=V(1,Nt(A,_t("Number")));var pn=Ot(fn,isFinite);var dn=V(1,pn);const yn=ln(Number.isFinite)?V(1,rt(Number.isFinite,Number)):dn;var gn=Ot(yn,kt(N,[Math.floor,$t]));var hn=V(1,gn);const mn=ln(Number.isInteger)?V(1,rt(Number.isInteger,Number)):hn;const vn=wt(yn);const bn=V(1,Ot(fn,Yt(0)));const Sn=function(t,e){var n=Number(e);if(n!==e&&(n=0),bn(n))throw new RangeError("repeat count must be non-negative");if(vn(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 On=Ft(Sn),wn=Jt(Vt(1,"repeat"));const jn=ln(String.prototype.repeat)?wn:On;var An=lt(void 0);const xn=N(An());var En=Xt(/[\s\uFEFF\xA0]+$/,""),Nn=Vt(0,"trimEnd");const Pn=ln(String.prototype.trimEnd)?Nn:En;var Tn=Xt(/^[\s\uFEFF\xA0]+/,""),Mn=Vt(0,"trimStart");const kn=ln(String.prototype.trimStart)?Mn:Tn;const Fn=Jt(Lt);const Dn=Ft((function(t,e){return Nt(Zt(""),qt(Fn(t)),Bt(""))(e)}));const Cn=Jt(Mt);var qn=n(770);const Jn=/^(?<style>[|>])(?<chomping>[+-]?)(?<indentation>[0-9]*)\s/,Yn=t=>{const e=(t=>{const e=t.match(Jn),n=Wt("",["groups","indentation"],e);return cn(n)?void 0:parseInt(n,10)})(t);if(mn(e))return jn(" ",e);const n=Wt("",[1],t.split("\n")),r=Wt(0,["groups","indentation","length"],n.match(/^(?<indentation>[ ]*)/));return jn(" ",r)},In=t=>{const e=t.match(Jn),n=Wt("",["groups","chomping"],e);return cn(n)?void 0:n},Un=(t,e)=>xn(t)?`${Pn(e)}\n`:"-"===t?Pn(e):e,_n=t=>t.replace(/\r\n/g,"\n"),Rn=t=>t.replace(/(\n)?\n([^\n]+)/g,((t,e,n)=>e?t:` ${n.trimStart()}`)).replace(/[\n]{2}/g,"\n"),$n=Ft(((t,e)=>e.replace(new RegExp(`^${t}`),"").replace(new RegExp(`${t}$`),""))),Ln=Nt(_n,ne,Rn,Zt("\n"),B(kn),Bt("\n")),Gn=Nt(_n,ne,$n("'"),Rn,Zt("\n"),B(kn),Bt("\n")),Vn=Nt(_n,ne,$n('"'),(t=>t.replace(/\\\n\s*/g,"")),Rn,qn.S6,Zt("\n"),B(kn),Bt("\n")),Bn=e()({methods:{test:t=>t.tag.kind===rn.Scalar&&"string"==typeof t.content,canonicalFormat(t){let e=t.content;const n=t.clone();return t.style===Ue.Plain?e=Ln(t.content):t.style===Ue.SingleQuoted?e=Gn(t.content):t.style===Ue.DoubleQuoted?e=Vn(t.content):t.style===Ue.Literal?e=(t=>{const e=Yn(t),n=In(t),r=_n(t),o=Et(r.split("\n")),i=Tt(B(Dn(e)),B(Cn("\n"))),s=te(i,Mt,"",o);return Un(n,s)})(t.content):t.style===Ue.Folded&&(e=(t=>{const e=Yn(t),n=In(t),r=_n(t),o=Et(r.split("\n")),i=Tt(B(Dn(e)),B(Cn("\n"))),s=te(i,Mt,"",o),c=Rn(s);return Un(n,c)})(t.content)),n.content=e,n},resolve:t=>t}}),zn=e()(Bn,{props:{tag:""}}),Kn=e()(zn,{statics:{uri:"tag:yaml.org,2002:map"},init(t,e){let{stamp:n}=e;this.tag=n.uri},methods:{test:t=>t.tag.kind===rn.Mapping,resolve:t=>t}}),Qn=e()(zn,{statics:{uri:"tag:yaml.org,2002:seq"},init(t,e){let{stamp:n}=e;this.tag=n.uri},methods:{test:t=>t.tag.kind===rn.Sequence,resolve:t=>t}}),Hn=e()(zn,{statics:{uri:"tag:yaml.org,2002:str"},init(t,e){let{stamp:n}=e;this.tag=n.uri},methods:{resolve:t=>t}}),Wn=e()({props:{tags:[],tagDirectives:[]},init(){this.tags=[],this.tagDirectives=[],this.registerTag(Kn()),this.registerTag(Qn()),this.registerTag(Hn())},methods:{toSpecificTagName(t){let e=t.tag.explicitName;return"!"===t.tag.explicitName?t.tag.kind===rn.Scalar?e=Hn.uri:t.tag.kind===rn.Sequence?e=Qn.uri:t.tag.kind===rn.Mapping&&(e=Kn.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){return arguments.length>1&&void 0!==arguments[1]&&arguments[1]?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===rn.Scalar&&(n=Bn().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)}}}),Xn=e()(zn,{statics:{uri:"tag:yaml.org,2002:bool"},init(t,e){let{stamp:n}=e;this.tag=n.uri},methods:{test:t=>/^(true|false)$/.test(t.content),resolve(t){const e="true"===t.content,n=t.clone();return n.content=e,n}}}),Zn=e()(zn,{statics:{uri:"tag:yaml.org,2002:float"},init(t,e){let{stamp:n}=e;this.tag=n.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}}}),tr=e()(zn,{statics:{uri:"tag:yaml.org,2002:int"},init(t,e){let{stamp:n}=e;this.tag=n.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}}}),er=e()(zn,{statics:{uri:"tag:yaml.org,2002:null"},init(t,e){let{stamp:n}=e;this.tag=n.uri},methods:{test:t=>/^null$/.test(t.content),resolve(t){const e=t.clone();return e.content=null,e}}}),nr=e()(Wn,{init(){this.registerTag(Xn(),!0),this.registerTag(Zn(),!0),this.registerTag(tr(),!0),this.registerTag(er(),!0)},methods:{toSpecificTagName(t){let e=Wn.compose.methods.toSpecificTagName.call(this,t);if("?"===e)if(t.tag.vkind===rn.Sequence)e=Qn.uri;else if(t.tag.kind===rn.Mapping)e=Kn.uri;else if(t.tag.kind===rn.Scalar){const n=this.tags.find((e=>e.test(t)));e=n?.tag||"?"}return e}}}),rr=e()(o,{statics:{type:"literal"},props:{value:null},init(){let{value:t=null}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.value=t}}),or=e()({statics:{type:"point"},props:{type:"point",row:null,column:null,char:null},init(){let{row:t=null,column:e=null,char:n=null}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.row=t,this.column=e,this.char=n}}),ir=e()({statics:{type:"position"},props:{type:"position",start:null,end:null},init(){let{start:t=null,end:e=null}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.start=t,this.end=e}}),sr=e()(o,{statics:{type:"error"},props:{value:null,isUnexpected:!1},init(){let{value:t=null,isUnexpected:e=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.value=t,this.isUnexpected=e}}),cr=e()(o,{statics:{type:"parseResult"},methods:{get rootNode(){return It(this.children)}}}),ar=(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},ur={},lr=t=>t?.type,fr=t=>"string"==typeof lr(t),pr=function(t){let{visitFnGetter:e=ar,nodeTypeGetter:n=lr}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const r=new Array(t.length);return{enter(o){for(var i=arguments.length,s=new Array(i>1?i-1:0),c=1;c<i;c++)s[c-1]=arguments[c];for(let i=0;i<t.length;i+=1)if(null==r[i]){const c=e(t[i],n(o),!1);if("function"==typeof c){const e=c.call(t[i],o,...s);if(!1===e)r[i]=o;else if(e===ur)r[i]=ur;else if(void 0!==e)return e}}},leave(o){for(var i=arguments.length,s=new Array(i>1?i-1:0),c=1;c<i;c++)s[c-1]=arguments[c];for(let i=0;i<t.length;i+=1)if(null==r[i]){const c=e(t[i],n(o),!0);if("function"==typeof c){const e=c.call(t[i],o,...s);if(e===ur)r[i]=ur;else if(void 0!==e&&!1!==e)return e}}else r[i]===o&&(r[i]=null)}}},dr=function(t,e){let{keyMap:n=null,state:r={},breakSymbol:o=ur,deleteNodeSymbol:i=null,skipVisitingNodeSymbol:s=!1,visitFnGetter:c=ar,nodeTypeGetter:a=lr,nodePredicate:u=fr,detectCycles:l=!0}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};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 w=t&&0!==m.length;if(t){if(n=0===b.length?void 0:v.pop(),O=d,d=b.pop(),w){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 j;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(j=i.call(e,O,n,d,v,b),j===o)break;if(j===s){if(!t){v.pop();continue}}else if(void 0!==j&&(m.push([n,j]),!t)){if(!u(j)){v.pop();continue}O=j}}}void 0===j&&w&&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};dr[Symbol.for("nodejs.util.promisify.custom")]=async function(t,e){let{keyMap:n=null,state:r={},breakSymbol:o=ur,deleteNodeSymbol:i=null,skipVisitingNodeSymbol:s=!1,visitFnGetter:c=ar,nodeTypeGetter:a=lr,nodePredicate:u=fr,detectCycles:l=!0}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};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 w=t&&0!==m.length;if(t){if(n=0===b.length?void 0:v.pop(),O=d,d=b.pop(),w){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 j;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(j=await i.call(e,O,n,d,v,b),j===o)break;if(j===s){if(!t){v.pop();continue}}else if(void 0!==j&&(m.push([n,j]),!t)){if(!u(j)){v.pop();continue}O=j}}}void 0===j&&w&&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})()));
import stampit from 'stampit';
export let YamlStyle;
(function (YamlStyle) {
export let YamlStyle = /*#__PURE__*/function (YamlStyle) {
YamlStyle["Plain"] = "Plain";

@@ -13,8 +12,9 @@ YamlStyle["SingleQuoted"] = "SingleQuoted";

YamlStyle["InLine"] = "InLine";
})(YamlStyle || (YamlStyle = {}));
export let YamlStyleGroup;
(function (YamlStyleGroup) {
return YamlStyle;
}({});
export let YamlStyleGroup = /*#__PURE__*/function (YamlStyleGroup) {
YamlStyleGroup["Flow"] = "Flow";
YamlStyleGroup["Block"] = "Block";
})(YamlStyleGroup || (YamlStyleGroup = {}));
return YamlStyleGroup;
}({});
const YamlStyleModel = stampit({

@@ -21,0 +21,0 @@ props: {

import stampit from 'stampit';
import Node from "../../Node.js";
export let YamlNodeKind;
(function (YamlNodeKind) {
export let YamlNodeKind = /*#__PURE__*/function (YamlNodeKind) {
YamlNodeKind["Scalar"] = "Scalar";
YamlNodeKind["Sequence"] = "Sequence";
YamlNodeKind["Mapping"] = "Mapping";
})(YamlNodeKind || (YamlNodeKind = {}));
return YamlNodeKind;
}({});
const YamlTag = stampit(Node, {

@@ -10,0 +10,0 @@ statics: {

{
"name": "@swagger-api/apidom-ast",
"version": "0.69.0",
"version": "0.69.3",
"description": "Tools necessary for parsing stage of ApiDOM, specifically for syntactic analysis.",

@@ -45,5 +45,5 @@ "publishConfig": {

"@babel/runtime-corejs3": "^7.20.7",
"@types/ramda": "=0.28.23",
"ramda": "=0.28.0",
"ramda-adjunct": "=3.4.0",
"@types/ramda": "=0.29.0",
"ramda": "=0.29.0",
"ramda-adjunct": "=4.0.0",
"stampit": "=4.3.2",

@@ -62,3 +62,3 @@ "unraw": "=2.0.1"

],
"gitHead": "88ec22a4e4721fc8a3aeb1942b6da32fa2ef512b"
"gitHead": "282b7885b28b7595534ce65b2c72f752c27cdf88"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc