@swagger-api/apidom-parser-adapter-openapi-json-3-0 0.87.0 → 0.89.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.
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.apidomParserAdapterOpenApiJson3_0=t():e.apidomParserAdapterOpenApiJson3_0=t()}(self,(()=>(()=>{var e={9515:(e,t,n)=>{var r=n(8761)(n(7772),"DataView");e.exports=r},9612:(e,t,n)=>{var r=n(2118),s=n(6909),i=n(8138),o=n(4174),a=n(7942);function c(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}c.prototype.clear=r,c.prototype.delete=s,c.prototype.get=i,c.prototype.has=o,c.prototype.set=a,e.exports=c},235:(e,t,n)=>{var r=n(3945),s=n(1846),i=n(8028),o=n(2344),a=n(4769);function c(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}c.prototype.clear=r,c.prototype.delete=s,c.prototype.get=i,c.prototype.has=o,c.prototype.set=a,e.exports=c},326:(e,t,n)=>{var r=n(8761)(n(7772),"Map");e.exports=r},6738:(e,t,n)=>{var r=n(2411),s=n(6417),i=n(6928),o=n(9493),a=n(4150);function c(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}c.prototype.clear=r,c.prototype.delete=s,c.prototype.get=i,c.prototype.has=o,c.prototype.set=a,e.exports=c},2760:(e,t,n)=>{var r=n(8761)(n(7772),"Promise");e.exports=r},2143:(e,t,n)=>{var r=n(8761)(n(7772),"Set");e.exports=r},5386:(e,t,n)=>{var r=n(6738),s=n(2842),i=n(2482);function o(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new r;++t<n;)this.add(e[t])}o.prototype.add=o.prototype.push=s,o.prototype.has=i,e.exports=o},6571:(e,t,n)=>{var r=n(235),s=n(5243),i=n(2858),o=n(4417),a=n(8605),c=n(1418);function u(e){var t=this.__data__=new r(e);this.size=t.size}u.prototype.clear=s,u.prototype.delete=i,u.prototype.get=o,u.prototype.has=a,u.prototype.set=c,e.exports=u},857:(e,t,n)=>{var r=n(7772).Symbol;e.exports=r},9162:(e,t,n)=>{var r=n(7772).Uint8Array;e.exports=r},3215:(e,t,n)=>{var r=n(8761)(n(7772),"WeakMap");e.exports=r},7552:e=>{e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length,s=0,i=[];++n<r;){var o=e[n];t(o,n,e)&&(i[s++]=o)}return i}},1634:(e,t,n)=>{var r=n(6473),s=n(9631),i=n(6152),o=n(3226),a=n(9045),c=n(7598),u=Object.prototype.hasOwnProperty;e.exports=function(e,t){var n=i(e),l=!n&&s(e),p=!n&&!l&&o(e),h=!n&&!l&&!p&&c(e),m=n||l||p||h,f=m?r(e.length,String):[],d=f.length;for(var _ in e)!t&&!u.call(e,_)||m&&("length"==_||p&&("offset"==_||"parent"==_)||h&&("buffer"==_||"byteLength"==_||"byteOffset"==_)||a(_,d))||f.push(_);return f}},5067:e=>{e.exports=function(e,t){for(var n=-1,r=t.length,s=e.length;++n<r;)e[s+n]=t[n];return e}},7064:e=>{e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}},2218:(e,t,n)=>{var r=n(1225);e.exports=function(e,t){for(var n=e.length;n--;)if(r(e[n][0],t))return n;return-1}},1897:(e,t,n)=>{var r=n(5067),s=n(6152);e.exports=function(e,t,n){var i=t(e);return s(e)?i:r(i,n(e))}},3366:(e,t,n)=>{var r=n(857),s=n(2107),i=n(7157),o=r?r.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":o&&o in Object(e)?s(e):i(e)}},5183:(e,t,n)=>{var r=n(3366),s=n(5125);e.exports=function(e){return s(e)&&"[object Arguments]"==r(e)}},8746:(e,t,n)=>{var r=n(1952),s=n(5125);e.exports=function e(t,n,i,o,a){return t===n||(null==t||null==n||!s(t)&&!s(n)?t!=t&&n!=n:r(t,n,i,o,e,a))}},1952:(e,t,n)=>{var r=n(6571),s=n(4871),i=n(1491),o=n(7416),a=n(940),c=n(6152),u=n(3226),l=n(7598),p="[object Arguments]",h="[object Array]",m="[object Object]",f=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,d,_,y){var g=c(e),b=c(t),v=g?h:a(e),w=b?h:a(t),E=(v=v==p?m:v)==m,x=(w=w==p?m:w)==m,j=v==w;if(j&&u(e)){if(!u(t))return!1;g=!0,E=!1}if(j&&!E)return y||(y=new r),g||l(e)?s(e,t,n,d,_,y):i(e,t,v,n,d,_,y);if(!(1&n)){var S=E&&f.call(e,"__wrapped__"),O=x&&f.call(t,"__wrapped__");if(S||O){var P=S?e.value():e,A=O?t.value():t;return y||(y=new r),_(P,A,n,d,y)}}return!!j&&(y||(y=new r),o(e,t,n,d,_,y))}},6840:(e,t,n)=>{var r=n(1049),s=n(7394),i=n(9259),o=n(7035),a=/^\[object .+?Constructor\]$/,c=Function.prototype,u=Object.prototype,l=c.toString,p=u.hasOwnProperty,h=RegExp("^"+l.call(p).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!i(e)||s(e))&&(r(e)?h:a).test(o(e))}},5522:(e,t,n)=>{var r=n(3366),s=n(1158),i=n(5125),o={};o["[object Float32Array]"]=o["[object Float64Array]"]=o["[object Int8Array]"]=o["[object Int16Array]"]=o["[object Int32Array]"]=o["[object Uint8Array]"]=o["[object Uint8ClampedArray]"]=o["[object Uint16Array]"]=o["[object Uint32Array]"]=!0,o["[object Arguments]"]=o["[object Array]"]=o["[object ArrayBuffer]"]=o["[object Boolean]"]=o["[object DataView]"]=o["[object Date]"]=o["[object Error]"]=o["[object Function]"]=o["[object Map]"]=o["[object Number]"]=o["[object Object]"]=o["[object RegExp]"]=o["[object Set]"]=o["[object String]"]=o["[object WeakMap]"]=!1,e.exports=function(e){return i(e)&&s(e.length)&&!!o[r(e)]}},6411:(e,t,n)=>{var r=n(6001),s=n(4248),i=Object.prototype.hasOwnProperty;e.exports=function(e){if(!r(e))return s(e);var t=[];for(var n in Object(e))i.call(e,n)&&"constructor"!=n&&t.push(n);return t}},6473:e=>{e.exports=function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}},7826:e=>{e.exports=function(e){return function(t){return e(t)}}},9950:e=>{e.exports=function(e,t){return e.has(t)}},4019:(e,t,n)=>{var r=n(7772)["__core-js_shared__"];e.exports=r},4871:(e,t,n)=>{var r=n(5386),s=n(7064),i=n(9950);e.exports=function(e,t,n,o,a,c){var u=1&n,l=e.length,p=t.length;if(l!=p&&!(u&&p>l))return!1;var h=c.get(e),m=c.get(t);if(h&&m)return h==t&&m==e;var f=-1,d=!0,_=2&n?new r:void 0;for(c.set(e,t),c.set(t,e);++f<l;){var y=e[f],g=t[f];if(o)var b=u?o(g,y,f,t,e,c):o(y,g,f,e,t,c);if(void 0!==b){if(b)continue;d=!1;break}if(_){if(!s(t,(function(e,t){if(!i(_,t)&&(y===e||a(y,e,n,o,c)))return _.push(t)}))){d=!1;break}}else if(y!==g&&!a(y,g,n,o,c)){d=!1;break}}return c.delete(e),c.delete(t),d}},1491:(e,t,n)=>{var r=n(857),s=n(9162),i=n(1225),o=n(4871),a=n(5179),c=n(4207),u=r?r.prototype:void 0,l=u?u.valueOf:void 0;e.exports=function(e,t,n,r,u,p,h){switch(n){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=t.byteLength||!p(new s(e),new s(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return i(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var m=a;case"[object Set]":var f=1&r;if(m||(m=c),e.size!=t.size&&!f)return!1;var d=h.get(e);if(d)return d==t;r|=2,h.set(e,t);var _=o(m(e),m(t),r,u,p,h);return h.delete(e),_;case"[object Symbol]":if(l)return l.call(e)==l.call(t)}return!1}},7416:(e,t,n)=>{var r=n(3483),s=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,i,o,a){var c=1&n,u=r(e),l=u.length;if(l!=r(t).length&&!c)return!1;for(var p=l;p--;){var h=u[p];if(!(c?h in t:s.call(t,h)))return!1}var m=a.get(e),f=a.get(t);if(m&&f)return m==t&&f==e;var d=!0;a.set(e,t),a.set(t,e);for(var _=c;++p<l;){var y=e[h=u[p]],g=t[h];if(i)var b=c?i(g,y,h,t,e,a):i(y,g,h,e,t,a);if(!(void 0===b?y===g||o(y,g,n,i,a):b)){d=!1;break}_||(_="constructor"==h)}if(d&&!_){var v=e.constructor,w=t.constructor;v==w||!("constructor"in e)||!("constructor"in t)||"function"==typeof v&&v instanceof v&&"function"==typeof w&&w instanceof w||(d=!1)}return a.delete(e),a.delete(t),d}},1242:(e,t,n)=>{var r="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g;e.exports=r},3483:(e,t,n)=>{var r=n(1897),s=n(633),i=n(249);e.exports=function(e){return r(e,i,s)}},7937:(e,t,n)=>{var r=n(8304);e.exports=function(e,t){var n=e.__data__;return r(t)?n["string"==typeof t?"string":"hash"]:n.map}},8761:(e,t,n)=>{var r=n(6840),s=n(8109);e.exports=function(e,t){var n=s(e,t);return r(n)?n:void 0}},2107:(e,t,n)=>{var r=n(857),s=Object.prototype,i=s.hasOwnProperty,o=s.toString,a=r?r.toStringTag:void 0;e.exports=function(e){var t=i.call(e,a),n=e[a];try{e[a]=void 0;var r=!0}catch(e){}var s=o.call(e);return r&&(t?e[a]=n:delete e[a]),s}},633:(e,t,n)=>{var r=n(7552),s=n(981),i=Object.prototype.propertyIsEnumerable,o=Object.getOwnPropertySymbols,a=o?function(e){return null==e?[]:(e=Object(e),r(o(e),(function(t){return i.call(e,t)})))}:s;e.exports=a},940:(e,t,n)=>{var r=n(9515),s=n(326),i=n(2760),o=n(2143),a=n(3215),c=n(3366),u=n(7035),l="[object Map]",p="[object Promise]",h="[object Set]",m="[object WeakMap]",f="[object DataView]",d=u(r),_=u(s),y=u(i),g=u(o),b=u(a),v=c;(r&&v(new r(new ArrayBuffer(1)))!=f||s&&v(new s)!=l||i&&v(i.resolve())!=p||o&&v(new o)!=h||a&&v(new a)!=m)&&(v=function(e){var t=c(e),n="[object Object]"==t?e.constructor:void 0,r=n?u(n):"";if(r)switch(r){case d:return f;case _:return l;case y:return p;case g:return h;case b:return m}return t}),e.exports=v},8109:e=>{e.exports=function(e,t){return null==e?void 0:e[t]}},2118:(e,t,n)=>{var r=n(9191);e.exports=function(){this.__data__=r?r(null):{},this.size=0}},6909:e=>{e.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}},8138:(e,t,n)=>{var r=n(9191),s=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;if(r){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return s.call(t,e)?t[e]:void 0}},4174:(e,t,n)=>{var r=n(9191),s=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return r?void 0!==t[e]:s.call(t,e)}},7942:(e,t,n)=>{var r=n(9191);e.exports=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=r&&void 0===t?"__lodash_hash_undefined__":t,this}},9045:e=>{var t=/^(?:0|[1-9]\d*)$/;e.exports=function(e,n){var r=typeof e;return!!(n=null==n?9007199254740991:n)&&("number"==r||"symbol"!=r&&t.test(e))&&e>-1&&e%1==0&&e<n}},8304:e=>{e.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},7394:(e,t,n)=>{var r,s=n(4019),i=(r=/[^.]+$/.exec(s&&s.keys&&s.keys.IE_PROTO||""))?"Symbol(src)_1."+r:"";e.exports=function(e){return!!i&&i in e}},6001:e=>{var t=Object.prototype;e.exports=function(e){var n=e&&e.constructor;return e===("function"==typeof n&&n.prototype||t)}},3945:e=>{e.exports=function(){this.__data__=[],this.size=0}},1846:(e,t,n)=>{var r=n(2218),s=Array.prototype.splice;e.exports=function(e){var t=this.__data__,n=r(t,e);return!(n<0)&&(n==t.length-1?t.pop():s.call(t,n,1),--this.size,!0)}},8028:(e,t,n)=>{var r=n(2218);e.exports=function(e){var t=this.__data__,n=r(t,e);return n<0?void 0:t[n][1]}},2344:(e,t,n)=>{var r=n(2218);e.exports=function(e){return r(this.__data__,e)>-1}},4769:(e,t,n)=>{var r=n(2218);e.exports=function(e,t){var n=this.__data__,s=r(n,e);return s<0?(++this.size,n.push([e,t])):n[s][1]=t,this}},2411:(e,t,n)=>{var r=n(9612),s=n(235),i=n(326);e.exports=function(){this.size=0,this.__data__={hash:new r,map:new(i||s),string:new r}}},6417:(e,t,n)=>{var r=n(7937);e.exports=function(e){var t=r(this,e).delete(e);return this.size-=t?1:0,t}},6928:(e,t,n)=>{var r=n(7937);e.exports=function(e){return r(this,e).get(e)}},9493:(e,t,n)=>{var r=n(7937);e.exports=function(e){return r(this,e).has(e)}},4150:(e,t,n)=>{var r=n(7937);e.exports=function(e,t){var n=r(this,e),s=n.size;return n.set(e,t),this.size+=n.size==s?0:1,this}},5179:e=>{e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}},9191:(e,t,n)=>{var r=n(8761)(Object,"create");e.exports=r},4248:(e,t,n)=>{var r=n(241)(Object.keys,Object);e.exports=r},4146:(e,t,n)=>{e=n.nmd(e);var r=n(1242),s=t&&!t.nodeType&&t,i=s&&e&&!e.nodeType&&e,o=i&&i.exports===s&&r.process,a=function(){try{var e=i&&i.require&&i.require("util").types;return e||o&&o.binding&&o.binding("util")}catch(e){}}();e.exports=a},7157:e=>{var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},241:e=>{e.exports=function(e,t){return function(n){return e(t(n))}}},7772:(e,t,n)=>{var r=n(1242),s="object"==typeof self&&self&&self.Object===Object&&self,i=r||s||Function("return this")();e.exports=i},2842:e=>{e.exports=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this}},2482:e=>{e.exports=function(e){return this.__data__.has(e)}},4207:e=>{e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}},5243:(e,t,n)=>{var r=n(235);e.exports=function(){this.__data__=new r,this.size=0}},2858:e=>{e.exports=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}},4417:e=>{e.exports=function(e){return this.__data__.get(e)}},8605:e=>{e.exports=function(e){return this.__data__.has(e)}},1418:(e,t,n)=>{var r=n(235),s=n(326),i=n(6738);e.exports=function(e,t){var n=this.__data__;if(n instanceof r){var o=n.__data__;if(!s||o.length<199)return o.push([e,t]),this.size=++n.size,this;n=this.__data__=new i(o)}return n.set(e,t),this.size=n.size,this}},7035:e=>{var t=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return t.call(e)}catch(e){}try{return e+""}catch(e){}}return""}},1225:e=>{e.exports=function(e,t){return e===t||e!=e&&t!=t}},9631:(e,t,n)=>{var r=n(5183),s=n(5125),i=Object.prototype,o=i.hasOwnProperty,a=i.propertyIsEnumerable,c=r(function(){return arguments}())?r:function(e){return s(e)&&o.call(e,"callee")&&!a.call(e,"callee")};e.exports=c},6152:e=>{var t=Array.isArray;e.exports=t},7878:(e,t,n)=>{var r=n(1049),s=n(1158);e.exports=function(e){return null!=e&&s(e.length)&&!r(e)}},4335:(e,t,n)=>{var r=n(3366),s=n(5125);e.exports=function(e){return!0===e||!1===e||s(e)&&"[object Boolean]"==r(e)}},3226:(e,t,n)=>{e=n.nmd(e);var r=n(7772),s=n(6330),i=t&&!t.nodeType&&t,o=i&&e&&!e.nodeType&&e,a=o&&o.exports===i?r.Buffer:void 0,c=(a?a.isBuffer:void 0)||s;e.exports=c},8149:(e,t,n)=>{var r=n(8746);e.exports=function(e,t){return r(e,t)}},1049:(e,t,n)=>{var r=n(3366),s=n(9259);e.exports=function(e){if(!s(e))return!1;var t=r(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},1158:e=>{e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},5877:e=>{e.exports=function(e){return null===e}},537:(e,t,n)=>{var r=n(3366),s=n(5125);e.exports=function(e){return"number"==typeof e||s(e)&&"[object Number]"==r(e)}},9259:e=>{e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},5125:e=>{e.exports=function(e){return null!=e&&"object"==typeof e}},5505:(e,t,n)=>{var r=n(3366),s=n(6152),i=n(5125);e.exports=function(e){return"string"==typeof e||!s(e)&&i(e)&&"[object String]"==r(e)}},7598:(e,t,n)=>{var r=n(5522),s=n(7826),i=n(4146),o=i&&i.isTypedArray,a=o?s(o):r;e.exports=a},249:(e,t,n)=>{var r=n(1634),s=n(6411),i=n(7878);e.exports=function(e){return i(e)?r(e):s(e)}},1570:e=>{e.exports=function(e){if("function"!=typeof e)throw new TypeError("Expected a function");return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}},981:e=>{e.exports=function(){return[]}},6330:e=>{e.exports=function(){return!1}},1178:(e,t,n)=>{const r=n(1570);function s(e){return"string"==typeof e?t=>t.element===e:e.constructor&&e.extend?t=>t instanceof e:e}class i{constructor(e){this.elements=e||[]}toValue(){return this.elements.map((e=>e.toValue()))}map(e,t){return this.elements.map(e,t)}flatMap(e,t){return this.map(e,t).reduce(((e,t)=>e.concat(t)),[])}compactMap(e,t){const n=[];return this.forEach((r=>{const s=e.bind(t)(r);s&&n.push(s)})),n}filter(e,t){return e=s(e),new i(this.elements.filter(e,t))}reject(e,t){return e=s(e),new i(this.elements.filter(r(e),t))}find(e,t){return e=s(e),this.elements.find(e,t)}forEach(e,t){this.elements.forEach(e,t)}reduce(e,t){return this.elements.reduce(e,t)}includes(e){return this.elements.some((t=>t.equals(e)))}shift(){return this.elements.shift()}unshift(e){this.elements.unshift(this.refract(e))}push(e){return this.elements.push(this.refract(e)),this}add(e){this.push(e)}get(e){return this.elements[e]}getValue(e){const t=this.elements[e];if(t)return t.toValue()}get length(){return this.elements.length}get isEmpty(){return 0===this.elements.length}get first(){return this.elements[0]}}"undefined"!=typeof Symbol&&(i.prototype[Symbol.iterator]=function(){return this.elements[Symbol.iterator]()}),e.exports=i},3026:e=>{class t{constructor(e,t){this.key=e,this.value=t}clone(){const e=new t;return this.key&&(e.key=this.key.clone()),this.value&&(e.value=this.value.clone()),e}}e.exports=t},5140:(e,t,n)=>{const r=n(5877),s=n(5505),i=n(537),o=n(4335),a=n(9259),c=n(2947),u=n(3756);class l{constructor(e){this.elementMap={},this.elementDetection=[],this.Element=u.Element,this.KeyValuePair=u.KeyValuePair,e&&e.noDefault||this.useDefault(),this._attributeElementKeys=[],this._attributeElementArrayKeys=[]}use(e){return e.namespace&&e.namespace({base:this}),e.load&&e.load({base:this}),this}useDefault(){return this.register("null",u.NullElement).register("string",u.StringElement).register("number",u.NumberElement).register("boolean",u.BooleanElement).register("array",u.ArrayElement).register("object",u.ObjectElement).register("member",u.MemberElement).register("ref",u.RefElement).register("link",u.LinkElement),this.detect(r,u.NullElement,!1).detect(s,u.StringElement,!1).detect(i,u.NumberElement,!1).detect(o,u.BooleanElement,!1).detect(Array.isArray,u.ArrayElement,!1).detect(a,u.ObjectElement,!1),this}register(e,t){return this._elements=void 0,this.elementMap[e]=t,this}unregister(e){return this._elements=void 0,delete this.elementMap[e],this}detect(e,t,n){return void 0===n||n?this.elementDetection.unshift([e,t]):this.elementDetection.push([e,t]),this}toElement(e){if(e instanceof this.Element)return e;let t;for(let n=0;n<this.elementDetection.length;n+=1){const r=this.elementDetection[n][0],s=this.elementDetection[n][1];if(r(e)){t=new s(e);break}}return t}getElementClass(e){const t=this.elementMap[e];return void 0===t?this.Element:t}fromRefract(e){return this.serialiser.deserialise(e)}toRefract(e){return this.serialiser.serialise(e)}get elements(){return void 0===this._elements&&(this._elements={Element:this.Element},Object.keys(this.elementMap).forEach((e=>{const t=e[0].toUpperCase()+e.substr(1);this._elements[t]=this.elementMap[e]}))),this._elements}get serialiser(){return new c(this)}}c.prototype.Namespace=l,e.exports=l},3853:(e,t,n)=>{const r=n(1570),s=n(1178);class i extends s{map(e,t){return this.elements.map((n=>e.bind(t)(n.value,n.key,n)))}filter(e,t){return new i(this.elements.filter((n=>e.bind(t)(n.value,n.key,n))))}reject(e,t){return this.filter(r(e.bind(t)))}forEach(e,t){return this.elements.forEach(((n,r)=>{e.bind(t)(n.value,n.key,n,r)}))}keys(){return this.map(((e,t)=>t.toValue()))}values(){return this.map((e=>e.toValue()))}}e.exports=i},3756:(e,t,n)=>{const r=n(6420),s=n(4152),i=n(9542),o=n(3710),a=n(3312),c=n(1641),u=n(8858),l=n(3860),p=n(5202),h=n(2320),m=n(1178),f=n(3853),d=n(3026);function _(e){if(e instanceof r)return e;if("string"==typeof e)return new i(e);if("number"==typeof e)return new o(e);if("boolean"==typeof e)return new a(e);if(null===e)return new s;if(Array.isArray(e))return new c(e.map(_));if("object"==typeof e){return new l(e)}return e}r.prototype.ObjectElement=l,r.prototype.RefElement=h,r.prototype.MemberElement=u,r.prototype.refract=_,m.prototype.refract=_,e.exports={Element:r,NullElement:s,StringElement:i,NumberElement:o,BooleanElement:a,ArrayElement:c,MemberElement:u,ObjectElement:l,LinkElement:p,RefElement:h,refract:_,ArraySlice:m,ObjectSlice:f,KeyValuePair:d}},5202:(e,t,n)=>{const r=n(6420);e.exports=class extends r{constructor(e,t,n){super(e||[],t,n),this.element="link"}get relation(){return this.attributes.get("relation")}set relation(e){this.attributes.set("relation",e)}get href(){return this.attributes.get("href")}set href(e){this.attributes.set("href",e)}}},2320:(e,t,n)=>{const r=n(6420);e.exports=class extends r{constructor(e,t,n){super(e||[],t,n),this.element="ref",this.path||(this.path="element")}get path(){return this.attributes.get("path")}set path(e){this.attributes.set("path",e)}}},7952:(e,t,n)=>{const r=n(5140),s=n(3756);t.lS=r,t.KeyValuePair=n(3026),t.O4=s.ArraySlice,t.rm=s.ObjectSlice,t.W_=s.Element,t.RP=s.StringElement,t.VL=s.NumberElement,t.hh=s.BooleanElement,t.zr=s.NullElement,t.ON=s.ArrayElement,t.Sb=s.ObjectElement,t.c6=s.MemberElement,t.tK=s.RefElement,t.EA=s.LinkElement,t.Qc=s.refract,n(2947),n(8910)},1641:(e,t,n)=>{const r=n(1570),s=n(6420),i=n(1178);class o extends s{constructor(e,t,n){super(e||[],t,n),this.element="array"}primitive(){return"array"}get(e){return this.content[e]}getValue(e){const t=this.get(e);if(t)return t.toValue()}getIndex(e){return this.content[e]}set(e,t){return this.content[e]=this.refract(t),this}remove(e){const t=this.content.splice(e,1);return t.length?t[0]:null}map(e,t){return this.content.map(e,t)}flatMap(e,t){return this.map(e,t).reduce(((e,t)=>e.concat(t)),[])}compactMap(e,t){const n=[];return this.forEach((r=>{const s=e.bind(t)(r);s&&n.push(s)})),n}filter(e,t){return new i(this.content.filter(e,t))}reject(e,t){return this.filter(r(e),t)}reduce(e,t){let n,r;void 0!==t?(n=0,r=this.refract(t)):(n=1,r="object"===this.primitive()?this.first.value:this.first);for(let t=n;t<this.length;t+=1){const n=this.content[t];r="object"===this.primitive()?this.refract(e(r,n.value,n.key,n,this)):this.refract(e(r,n,t,this))}return r}forEach(e,t){this.content.forEach(((n,r)=>{e.bind(t)(n,this.refract(r))}))}shift(){return this.content.shift()}unshift(e){this.content.unshift(this.refract(e))}push(e){return this.content.push(this.refract(e)),this}add(e){this.push(e)}findElements(e,t){const n=t||{},r=!!n.recursive,s=void 0===n.results?[]:n.results;return this.forEach(((t,n,i)=>{r&&void 0!==t.findElements&&t.findElements(e,{results:s,recursive:r}),e(t,n,i)&&s.push(t)})),s}find(e){return new i(this.findElements(e,{recursive:!0}))}findByElement(e){return this.find((t=>t.element===e))}findByClass(e){return this.find((t=>t.classes.includes(e)))}getById(e){return this.find((t=>t.id.toValue()===e)).first}includes(e){return this.content.some((t=>t.equals(e)))}contains(e){return this.includes(e)}empty(){return new this.constructor([])}"fantasy-land/empty"(){return this.empty()}concat(e){return new this.constructor(this.content.concat(e.content))}"fantasy-land/concat"(e){return this.concat(e)}"fantasy-land/map"(e){return new this.constructor(this.map(e))}"fantasy-land/chain"(e){return this.map((t=>e(t)),this).reduce(((e,t)=>e.concat(t)),this.empty())}"fantasy-land/filter"(e){return new this.constructor(this.content.filter(e))}"fantasy-land/reduce"(e,t){return this.content.reduce(e,t)}get length(){return this.content.length}get isEmpty(){return 0===this.content.length}get first(){return this.getIndex(0)}get second(){return this.getIndex(1)}get last(){return this.getIndex(this.length-1)}}o.empty=function(){return new this},o["fantasy-land/empty"]=o.empty,"undefined"!=typeof Symbol&&(o.prototype[Symbol.iterator]=function(){return this.content[Symbol.iterator]()}),e.exports=o},3312:(e,t,n)=>{const r=n(6420);e.exports=class extends r{constructor(e,t,n){super(e,t,n),this.element="boolean"}primitive(){return"boolean"}}},6420:(e,t,n)=>{const r=n(8149),s=n(3026),i=n(1178);class o{constructor(e,t,n){t&&(this.meta=t),n&&(this.attributes=n),this.content=e}freeze(){Object.isFrozen(this)||(this._meta&&(this.meta.parent=this,this.meta.freeze()),this._attributes&&(this.attributes.parent=this,this.attributes.freeze()),this.children.forEach((e=>{e.parent=this,e.freeze()}),this),this.content&&Array.isArray(this.content)&&Object.freeze(this.content),Object.freeze(this))}primitive(){}clone(){const e=new this.constructor;return e.element=this.element,this.meta.length&&(e._meta=this.meta.clone()),this.attributes.length&&(e._attributes=this.attributes.clone()),this.content?this.content.clone?e.content=this.content.clone():Array.isArray(this.content)?e.content=this.content.map((e=>e.clone())):e.content=this.content:e.content=this.content,e}toValue(){return this.content instanceof o?this.content.toValue():this.content instanceof s?{key:this.content.key.toValue(),value:this.content.value?this.content.value.toValue():void 0}:this.content&&this.content.map?this.content.map((e=>e.toValue()),this):this.content}toRef(e){if(""===this.id.toValue())throw Error("Cannot create reference to an element that does not contain an ID");const t=new this.RefElement(this.id.toValue());return e&&(t.path=e),t}findRecursive(...e){if(arguments.length>1&&!this.isFrozen)throw new Error("Cannot find recursive with multiple element names without first freezing the element. Call `element.freeze()`");const t=e.pop();let n=new i;const r=(e,t)=>(e.push(t),e),o=(e,n)=>{n.element===t&&e.push(n);const i=n.findRecursive(t);return i&&i.reduce(r,e),n.content instanceof s&&(n.content.key&&o(e,n.content.key),n.content.value&&o(e,n.content.value)),e};return this.content&&(this.content.element&&o(n,this.content),Array.isArray(this.content)&&this.content.reduce(o,n)),e.isEmpty||(n=n.filter((t=>{let n=t.parents.map((e=>e.element));for(const t in e){const r=e[t],s=n.indexOf(r);if(-1===s)return!1;n=n.splice(0,s)}return!0}))),n}set(e){return this.content=e,this}equals(e){return r(this.toValue(),e)}getMetaProperty(e,t){if(!this.meta.hasKey(e)){if(this.isFrozen){const e=this.refract(t);return e.freeze(),e}this.meta.set(e,t)}return this.meta.get(e)}setMetaProperty(e,t){this.meta.set(e,t)}get element(){return this._storedElement||"element"}set element(e){this._storedElement=e}get content(){return this._content}set content(e){if(e instanceof o)this._content=e;else if(e instanceof i)this.content=e.elements;else if("string"==typeof e||"number"==typeof e||"boolean"==typeof e||"null"===e||null==e)this._content=e;else if(e instanceof s)this._content=e;else if(Array.isArray(e))this._content=e.map(this.refract);else{if("object"!=typeof e)throw new Error("Cannot set content to given value");this._content=Object.keys(e).map((t=>new this.MemberElement(t,e[t])))}}get meta(){if(!this._meta){if(this.isFrozen){const e=new this.ObjectElement;return e.freeze(),e}this._meta=new this.ObjectElement}return this._meta}set meta(e){e instanceof this.ObjectElement?this._meta=e:this.meta.set(e||{})}get attributes(){if(!this._attributes){if(this.isFrozen){const e=new this.ObjectElement;return e.freeze(),e}this._attributes=new this.ObjectElement}return this._attributes}set attributes(e){e instanceof this.ObjectElement?this._attributes=e:this.attributes.set(e||{})}get id(){return this.getMetaProperty("id","")}set id(e){this.setMetaProperty("id",e)}get classes(){return this.getMetaProperty("classes",[])}set classes(e){this.setMetaProperty("classes",e)}get title(){return this.getMetaProperty("title","")}set title(e){this.setMetaProperty("title",e)}get description(){return this.getMetaProperty("description","")}set description(e){this.setMetaProperty("description",e)}get links(){return this.getMetaProperty("links",[])}set links(e){this.setMetaProperty("links",e)}get isFrozen(){return Object.isFrozen(this)}get parents(){let{parent:e}=this;const t=new i;for(;e;)t.push(e),e=e.parent;return t}get children(){if(Array.isArray(this.content))return new i(this.content);if(this.content instanceof s){const e=new i([this.content.key]);return this.content.value&&e.push(this.content.value),e}return this.content instanceof o?new i([this.content]):new i}get recursiveChildren(){const e=new i;return this.children.forEach((t=>{e.push(t),t.recursiveChildren.forEach((t=>{e.push(t)}))})),e}}e.exports=o},8858:(e,t,n)=>{const r=n(3026),s=n(6420);e.exports=class extends s{constructor(e,t,n,s){super(new r,n,s),this.element="member",this.key=e,this.value=t}get key(){return this.content.key}set key(e){this.content.key=this.refract(e)}get value(){return this.content.value}set value(e){this.content.value=this.refract(e)}}},4152:(e,t,n)=>{const r=n(6420);e.exports=class extends r{constructor(e,t,n){super(e||null,t,n),this.element="null"}primitive(){return"null"}set(){return new Error("Cannot set the value of null")}}},3710:(e,t,n)=>{const r=n(6420);e.exports=class extends r{constructor(e,t,n){super(e,t,n),this.element="number"}primitive(){return"number"}}},3860:(e,t,n)=>{const r=n(1570),s=n(9259),i=n(1641),o=n(8858),a=n(3853);e.exports=class extends i{constructor(e,t,n){super(e||[],t,n),this.element="object"}primitive(){return"object"}toValue(){return this.content.reduce(((e,t)=>(e[t.key.toValue()]=t.value?t.value.toValue():void 0,e)),{})}get(e){const t=this.getMember(e);if(t)return t.value}getMember(e){if(void 0!==e)return this.content.find((t=>t.key.toValue()===e))}remove(e){let t=null;return this.content=this.content.filter((n=>n.key.toValue()!==e||(t=n,!1))),t}getKey(e){const t=this.getMember(e);if(t)return t.key}set(e,t){if(s(e))return Object.keys(e).forEach((t=>{this.set(t,e[t])})),this;const n=e,r=this.getMember(n);return r?r.value=t:this.content.push(new o(n,t)),this}keys(){return this.content.map((e=>e.key.toValue()))}values(){return this.content.map((e=>e.value.toValue()))}hasKey(e){return this.content.some((t=>t.key.equals(e)))}items(){return this.content.map((e=>[e.key.toValue(),e.value.toValue()]))}map(e,t){return this.content.map((n=>e.bind(t)(n.value,n.key,n)))}compactMap(e,t){const n=[];return this.forEach(((r,s,i)=>{const o=e.bind(t)(r,s,i);o&&n.push(o)})),n}filter(e,t){return new a(this.content).filter(e,t)}reject(e,t){return this.filter(r(e),t)}forEach(e,t){return this.content.forEach((n=>e.bind(t)(n.value,n.key,n)))}}},9542:(e,t,n)=>{const r=n(6420);e.exports=class extends r{constructor(e,t,n){super(e,t,n),this.element="string"}primitive(){return"string"}get length(){return this.content.length}}},8910:(e,t,n)=>{const r=n(2947);e.exports=class extends r{serialise(e){if(!(e instanceof this.namespace.elements.Element))throw new TypeError(`Given element \`${e}\` is not an Element instance`);let t;e._attributes&&e.attributes.get("variable")&&(t=e.attributes.get("variable"));const n={element:e.element};e._meta&&e._meta.length>0&&(n.meta=this.serialiseObject(e.meta));const r="enum"===e.element||-1!==e.attributes.keys().indexOf("enumerations");if(r){const t=this.enumSerialiseAttributes(e);t&&(n.attributes=t)}else if(e._attributes&&e._attributes.length>0){let{attributes:r}=e;r.get("metadata")&&(r=r.clone(),r.set("meta",r.get("metadata")),r.remove("metadata")),"member"===e.element&&t&&(r=r.clone(),r.remove("variable")),r.length>0&&(n.attributes=this.serialiseObject(r))}if(r)n.content=this.enumSerialiseContent(e,n);else if(this[`${e.element}SerialiseContent`])n.content=this[`${e.element}SerialiseContent`](e,n);else if(void 0!==e.content){let r;t&&e.content.key?(r=e.content.clone(),r.key.attributes.set("variable",t),r=this.serialiseContent(r)):r=this.serialiseContent(e.content),this.shouldSerialiseContent(e,r)&&(n.content=r)}else this.shouldSerialiseContent(e,e.content)&&e instanceof this.namespace.elements.Array&&(n.content=[]);return n}shouldSerialiseContent(e,t){return"parseResult"===e.element||"httpRequest"===e.element||"httpResponse"===e.element||"category"===e.element||"link"===e.element||void 0!==t&&(!Array.isArray(t)||0!==t.length)}refSerialiseContent(e,t){return delete t.attributes,{href:e.toValue(),path:e.path.toValue()}}sourceMapSerialiseContent(e){return e.toValue()}dataStructureSerialiseContent(e){return[this.serialiseContent(e.content)]}enumSerialiseAttributes(e){const t=e.attributes.clone(),n=t.remove("enumerations")||new this.namespace.elements.Array([]),r=t.get("default");let s=t.get("samples")||new this.namespace.elements.Array([]);if(r&&r.content&&(r.content.attributes&&r.content.attributes.remove("typeAttributes"),t.set("default",new this.namespace.elements.Array([r.content]))),s.forEach((e=>{e.content&&e.content.element&&e.content.attributes.remove("typeAttributes")})),e.content&&0!==n.length&&s.unshift(e.content),s=s.map((e=>e instanceof this.namespace.elements.Array?[e]:new this.namespace.elements.Array([e.content]))),s.length&&t.set("samples",s),t.length>0)return this.serialiseObject(t)}enumSerialiseContent(e){if(e._attributes){const t=e.attributes.get("enumerations");if(t&&t.length>0)return t.content.map((e=>{const t=e.clone();return t.attributes.remove("typeAttributes"),this.serialise(t)}))}if(e.content){const t=e.content.clone();return t.attributes.remove("typeAttributes"),[this.serialise(t)]}return[]}deserialise(e){if("string"==typeof e)return new this.namespace.elements.String(e);if("number"==typeof e)return new this.namespace.elements.Number(e);if("boolean"==typeof e)return new this.namespace.elements.Boolean(e);if(null===e)return new this.namespace.elements.Null;if(Array.isArray(e))return new this.namespace.elements.Array(e.map(this.deserialise,this));const t=this.namespace.getElementClass(e.element),n=new t;n.element!==e.element&&(n.element=e.element),e.meta&&this.deserialiseObject(e.meta,n.meta),e.attributes&&this.deserialiseObject(e.attributes,n.attributes);const r=this.deserialiseContent(e.content);if(void 0===r&&null!==n.content||(n.content=r),"enum"===n.element){n.content&&n.attributes.set("enumerations",n.content);let e=n.attributes.get("samples");if(n.attributes.remove("samples"),e){const r=e;e=new this.namespace.elements.Array,r.forEach((r=>{r.forEach((r=>{const s=new t(r);s.element=n.element,e.push(s)}))}));const s=e.shift();n.content=s?s.content:void 0,n.attributes.set("samples",e)}else n.content=void 0;let r=n.attributes.get("default");if(r&&r.length>0){r=r.get(0);const e=new t(r);e.element=n.element,n.attributes.set("default",e)}}else if("dataStructure"===n.element&&Array.isArray(n.content))[n.content]=n.content;else if("category"===n.element){const e=n.attributes.get("meta");e&&(n.attributes.set("metadata",e),n.attributes.remove("meta"))}else"member"===n.element&&n.key&&n.key._attributes&&n.key._attributes.getValue("variable")&&(n.attributes.set("variable",n.key.attributes.get("variable")),n.key.attributes.remove("variable"));return n}serialiseContent(e){if(e instanceof this.namespace.elements.Element)return this.serialise(e);if(e instanceof this.namespace.KeyValuePair){const t={key:this.serialise(e.key)};return e.value&&(t.value=this.serialise(e.value)),t}return e&&e.map?e.map(this.serialise,this):e}deserialiseContent(e){if(e){if(e.element)return this.deserialise(e);if(e.key){const t=new this.namespace.KeyValuePair(this.deserialise(e.key));return e.value&&(t.value=this.deserialise(e.value)),t}if(e.map)return e.map(this.deserialise,this)}return e}shouldRefract(e){return!!(e._attributes&&e.attributes.keys().length||e._meta&&e.meta.keys().length)||"enum"!==e.element&&(e.element!==e.primitive()||"member"===e.element)}convertKeyToRefract(e,t){return this.shouldRefract(t)?this.serialise(t):"enum"===t.element?this.serialiseEnum(t):"array"===t.element?t.map((t=>this.shouldRefract(t)||"default"===e?this.serialise(t):"array"===t.element||"object"===t.element||"enum"===t.element?t.children.map((e=>this.serialise(e))):t.toValue())):"object"===t.element?(t.content||[]).map(this.serialise,this):t.toValue()}serialiseEnum(e){return e.children.map((e=>this.serialise(e)))}serialiseObject(e){const t={};return e.forEach(((e,n)=>{if(e){const r=n.toValue();t[r]=this.convertKeyToRefract(r,e)}})),t}deserialiseObject(e,t){Object.keys(e).forEach((n=>{t.set(n,this.deserialise(e[n]))}))}}},2947:e=>{e.exports=class{constructor(e){this.namespace=e||new this.Namespace}serialise(e){if(!(e instanceof this.namespace.elements.Element))throw new TypeError(`Given element \`${e}\` is not an Element instance`);const t={element:e.element};e._meta&&e._meta.length>0&&(t.meta=this.serialiseObject(e.meta)),e._attributes&&e._attributes.length>0&&(t.attributes=this.serialiseObject(e.attributes));const n=this.serialiseContent(e.content);return void 0!==n&&(t.content=n),t}deserialise(e){if(!e.element)throw new Error("Given value is not an object containing an element name");const t=new(this.namespace.getElementClass(e.element));t.element!==e.element&&(t.element=e.element),e.meta&&this.deserialiseObject(e.meta,t.meta),e.attributes&&this.deserialiseObject(e.attributes,t.attributes);const n=this.deserialiseContent(e.content);return void 0===n&&null!==t.content||(t.content=n),t}serialiseContent(e){if(e instanceof this.namespace.elements.Element)return this.serialise(e);if(e instanceof this.namespace.KeyValuePair){const t={key:this.serialise(e.key)};return e.value&&(t.value=this.serialise(e.value)),t}if(e&&e.map){if(0===e.length)return;return e.map(this.serialise,this)}return e}deserialiseContent(e){if(e){if(e.element)return this.deserialise(e);if(e.key){const t=new this.namespace.KeyValuePair(this.deserialise(e.key));return e.value&&(t.value=this.deserialise(e.value)),t}if(e.map)return e.map(this.deserialise,this)}return e}serialiseObject(e){const t={};if(e.forEach(((e,n)=>{e&&(t[n.toValue()]=this.serialise(e))})),0!==Object.keys(t).length)return t}deserialiseObject(e,t){Object.keys(e).forEach((n=>{t.set(n,this.deserialise(e[n]))}))}}},6591:e=>{!function(){"use strict";var t,n,r,s,i,o="properties",a="deepProperties",c="propertyDescriptors",u="staticProperties",l="staticDeepProperties",p="staticPropertyDescriptors",h="configuration",m="deepConfiguration",f="deepProps",d="deepStatics",_="deepConf",y="initializers",g="methods",b="composers",v="compose";function w(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e):[])}function E(e,t){return Array.prototype.slice.call(arguments,2).reduce(e,t)}var x=E.bind(0,(function(e,t){if(t)for(var n=w(t),r=0;r<n.length;r+=1)Object.defineProperty(e,n[r],Object.getOwnPropertyDescriptor(t,n[r]));return e}));function j(e){return"function"==typeof e}function S(e){return e&&"object"==typeof e||j(e)}function O(e){return e&&"object"==typeof e&&e.__proto__==Object.prototype}var P=E.bind(0,(function e(n,r){if(r===t)return n;if(Array.isArray(r))return(Array.isArray(n)?n:[]).concat(r);if(!O(r))return r;for(var s,i,o=w(r),a=0;a<o.length;)s=o[a++],(i=Object.getOwnPropertyDescriptor(r,s)).hasOwnProperty("value")?i.value!==t&&(n[s]=e(O(n[s])||Array.isArray(r[s])?n[s]:{},r[s])):Object.defineProperty(n,s,i);return n}));function A(){return(n=Array.prototype.concat.apply([],arguments).filter((function(e,t,n){return j(e)&&n.indexOf(e)===t}))).length?n:t}function k(e,t){function r(n,r){S(t[n])&&(S(e[n])||(e[n]={}),(r||x)(e[n],t[n]))}function s(r){(n=A(e[r],t[r]))&&(e[r]=n)}return t&&S(t=t[v]||t)&&(r(g),r(o),r(a,P),r(c),r(u),r(l,P),r(p),r(h),r(m,P),s(y),s(b)),e}function N(){return function(e){return n=function e(n){var r,s,i=e[v]||{},u={__proto__:i[g]},l=i[y],p=Array.prototype.slice.apply(arguments),h=i[a];if(h&&P(u,h),(h=i[o])&&x(u,h),(h=i[c])&&Object.defineProperties(u,h),!l||!l.length)return u;for(n===t&&(n={}),i=0;i<l.length;)j(r=l[i++])&&(u=(s=r.call(u,n,{instance:u,stamp:e,args:p}))===t?u:s);return u},(r=e[l])&&P(n,r),(r=e[u])&&x(n,r),(r=e[p])&&Object.defineProperties(n,r),r=j(n[v])?n[v]:N,x(n[v]=function(){return r.apply(this,arguments)},e),n}(Array.prototype.concat.apply([this],arguments).reduce(k,{}))}function M(e){return j(e)&&j(e[v])}var R={};function I(e,i){return function(){return(s={})[e]=i.apply(t,Array.prototype.concat.apply([{}],arguments)),((n=this)&&n[v]||r).call(n,s)}}R[g]=I(g,x),R[o]=R.props=I(o,x),R[y]=R.init=I(y,A),R[b]=I(b,A),R[a]=R[f]=I(a,P),R[u]=R.statics=I(u,x),R[l]=R[d]=I(l,P),R[h]=R.conf=I(h,x),R[m]=R[_]=I(m,P),R[c]=I(c,x),R[p]=I(p,x),r=R[v]=x((function(){for(var e,w,E=0,j=[],O=arguments,k=this;E<O.length;)S(e=O[E++])&&j.push(M(e)?e:((s={})[g]=(w=e)[g]||t,r=w.props,s[o]=S((n=w[o])||r)?x({},r,n):t,s[y]=A(w.init,w[y]),s[b]=A(w[b]),r=w[f],s[a]=S((n=w[a])||r)?P({},r,n):t,s[c]=w[c],r=w.statics,s[u]=S((n=w[u])||r)?x({},r,n):t,r=w[d],s[l]=S((n=w[l])||r)?P({},r,n):t,n=w[p],s[p]=S((r=w.name&&{name:{value:w.name}})||n)?x({},n,r):t,r=w.conf,s[h]=S((n=w[h])||r)?x({},r,n):t,r=w[_],s[m]=S((n=w[m])||r)?P({},r,n):t,s));if(e=N.apply(k||i,j),k&&j.unshift(k),Array.isArray(O=e[v][b]))for(E=0;E<O.length;)e=M(k=O[E++]({stamp:e,composables:j}))?k:e;return e}),R),R.create=function(){return this.apply(t,arguments)},(s={})[u]=R,i=N(s),r[v]=r.bind(),r.version="4.3.2","object"!=typeof t?e.exports=r:self.stampit=r}()},9794:(e,t,n)=>{var r=void 0!==r?r:{},s=function(){var t,s="object"==typeof window?{currentScript:window.document.currentScript}:null;class i{constructor(){this.initialize()}initialize(){throw new Error("cannot construct a Parser before calling `init()`")}static init(o){return t||(r=Object.assign({},r,o),t=new Promise((t=>{var o,a={};for(o in r)r.hasOwnProperty(o)&&(a[o]=r[o]);var c,u,l,p,h=[],m="./this.program",f=function(e,t){throw t};l="object"==typeof window,p="function"==typeof importScripts,c="object"==typeof process&&"object"==typeof process.versions&&"string"==typeof process.versions.node,u=!l&&!c&&!p;var d,_,y,g,b,v="";c?(v=p?n(6287).dirname(v)+"/":"//",d=function(e,t){return g||(g=n(5530)),b||(b=n(6287)),e=b.normalize(e),g.readFileSync(e,t?null:"utf8")},y=function(e){var t=d(e,!0);return t.buffer||(t=new Uint8Array(t)),I(t.buffer),t},process.argv.length>1&&(m=process.argv[1].replace(/\\/g,"/")),h=process.argv.slice(2),e.exports=r,f=function(e){process.exit(e)},r.inspect=function(){return"[Emscripten Module object]"}):u?("undefined"!=typeof read&&(d=function(e){return read(e)}),y=function(e){var t;return"function"==typeof readbuffer?new Uint8Array(readbuffer(e)):(I("object"==typeof(t=read(e,"binary"))),t)},"undefined"!=typeof scriptArgs?h=scriptArgs:void 0!==arguments&&(h=arguments),"function"==typeof quit&&(f=function(e){quit(e)}),"undefined"!=typeof print&&("undefined"==typeof console&&(console={}),console.log=print,console.warn=console.error="undefined"!=typeof printErr?printErr:print)):(l||p)&&(p?v=self.location.href:void 0!==s&&s.currentScript&&(v=s.currentScript.src),v=0!==v.indexOf("blob:")?v.substr(0,v.lastIndexOf("/")+1):"",d=function(e){var t=new XMLHttpRequest;return t.open("GET",e,!1),t.send(null),t.responseText},p&&(y=function(e){var t=new XMLHttpRequest;return t.open("GET",e,!1),t.responseType="arraybuffer",t.send(null),new Uint8Array(t.response)}),_=function(e,t,n){var r=new XMLHttpRequest;r.open("GET",e,!0),r.responseType="arraybuffer",r.onload=function(){200==r.status||0==r.status&&r.response?t(r.response):n()},r.onerror=n,r.send(null)}),r.print||console.log.bind(console);var w=r.printErr||console.warn.bind(console);for(o in a)a.hasOwnProperty(o)&&(r[o]=a[o]);a=null,r.arguments&&(h=r.arguments),r.thisProgram&&(m=r.thisProgram),r.quit&&(f=r.quit);var E,x=16,j=[];function S(e,t){if(!E){E=new WeakMap;for(var n=0;n<Z.length;n++){var r=Z.get(n);r&&E.set(r,n)}}if(E.has(e))return E.get(e);var s=function(){if(j.length)return j.pop();try{Z.grow(1)}catch(e){if(!(e instanceof RangeError))throw e;throw"Unable to grow wasm table. Set ALLOW_TABLE_GROWTH."}return Z.length-1}();try{Z.set(s,e)}catch(n){if(!(n instanceof TypeError))throw n;var i=function(e,t){if("function"==typeof WebAssembly.Function){for(var n={i:"i32",j:"i64",f:"f32",d:"f64"},r={parameters:[],results:"v"==t[0]?[]:[n[t[0]]]},s=1;s<t.length;++s)r.parameters.push(n[t[s]]);return new WebAssembly.Function(r,e)}var i=[1,0,1,96],o=t.slice(0,1),a=t.slice(1),c={i:127,j:126,f:125,d:124};for(i.push(a.length),s=0;s<a.length;++s)i.push(c[a[s]]);"v"==o?i.push(0):i=i.concat([1,c[o]]),i[1]=i.length-2;var u=new Uint8Array([0,97,115,109,1,0,0,0].concat(i,[2,7,1,1,101,1,102,0,0,7,5,1,1,102,0,0])),l=new WebAssembly.Module(u);return new WebAssembly.Instance(l,{e:{f:e}}).exports.f}(e,t);Z.set(s,i)}return E.set(e,s),s}var O,P=r.dynamicLibraries||[];r.wasmBinary&&(O=r.wasmBinary);var A,k=r.noExitRuntime||!0;function N(e,t,n,r){switch("*"===(n=n||"i8").charAt(n.length-1)&&(n="i32"),n){case"i1":case"i8":T[e>>0]=t;break;case"i16":$[e>>1]=t;break;case"i32":q[e>>2]=t;break;case"i64":le=[t>>>0,(ue=t,+Math.abs(ue)>=1?ue>0?(0|Math.min(+Math.floor(ue/4294967296),4294967295))>>>0:~~+Math.ceil((ue-+(~~ue>>>0))/4294967296)>>>0:0)],q[e>>2]=le[0],q[e+4>>2]=le[1];break;case"float":L[e>>2]=t;break;case"double":B[e>>3]=t;break;default:ae("invalid type for setValue: "+n)}}function M(e,t,n){switch("*"===(t=t||"i8").charAt(t.length-1)&&(t="i32"),t){case"i1":case"i8":return T[e>>0];case"i16":return $[e>>1];case"i32":case"i64":return q[e>>2];case"float":return L[e>>2];case"double":return B[e>>3];default:ae("invalid type for getValue: "+t)}return null}"object"!=typeof WebAssembly&&ae("no native wasm support detected");var R=!1;function I(e,t){e||ae("Assertion failed: "+t)}var C,T,F,$,q,L,B,D="undefined"!=typeof TextDecoder?new TextDecoder("utf8"):void 0;function V(e,t,n){for(var r=t+n,s=t;e[s]&&!(s>=r);)++s;if(s-t>16&&e.subarray&&D)return D.decode(e.subarray(t,s));for(var i="";t<s;){var o=e[t++];if(128&o){var a=63&e[t++];if(192!=(224&o)){var c=63&e[t++];if((o=224==(240&o)?(15&o)<<12|a<<6|c:(7&o)<<18|a<<12|c<<6|63&e[t++])<65536)i+=String.fromCharCode(o);else{var u=o-65536;i+=String.fromCharCode(55296|u>>10,56320|1023&u)}}else i+=String.fromCharCode((31&o)<<6|a)}else i+=String.fromCharCode(o)}return i}function z(e,t){return e?V(F,e,t):""}function U(e,t,n,r){if(!(r>0))return 0;for(var s=n,i=n+r-1,o=0;o<e.length;++o){var a=e.charCodeAt(o);if(a>=55296&&a<=57343&&(a=65536+((1023&a)<<10)|1023&e.charCodeAt(++o)),a<=127){if(n>=i)break;t[n++]=a}else if(a<=2047){if(n+1>=i)break;t[n++]=192|a>>6,t[n++]=128|63&a}else if(a<=65535){if(n+2>=i)break;t[n++]=224|a>>12,t[n++]=128|a>>6&63,t[n++]=128|63&a}else{if(n+3>=i)break;t[n++]=240|a>>18,t[n++]=128|a>>12&63,t[n++]=128|a>>6&63,t[n++]=128|63&a}}return t[n]=0,n-s}function G(e,t,n){return U(e,F,t,n)}function W(e){for(var t=0,n=0;n<e.length;++n){var r=e.charCodeAt(n);r>=55296&&r<=57343&&(r=65536+((1023&r)<<10)|1023&e.charCodeAt(++n)),r<=127?++t:t+=r<=2047?2:r<=65535?3:4}return t}function J(e){var t=W(e)+1,n=ze(t);return U(e,T,n,t),n}function K(e){C=e,r.HEAP8=T=new Int8Array(e),r.HEAP16=$=new Int16Array(e),r.HEAP32=q=new Int32Array(e),r.HEAPU8=F=new Uint8Array(e),r.HEAPU16=new Uint16Array(e),r.HEAPU32=new Uint32Array(e),r.HEAPF32=L=new Float32Array(e),r.HEAPF64=B=new Float64Array(e)}var H=r.INITIAL_MEMORY||33554432;(A=r.wasmMemory?r.wasmMemory:new WebAssembly.Memory({initial:H/65536,maximum:32768}))&&(C=A.buffer),H=C.byteLength,K(C);var Z=new WebAssembly.Table({initial:17,element:"anyfunc"}),X=[],Y=[],Q=[],ee=[],te=!1,ne=0,re=null,se=null;function ie(e){ne++,r.monitorRunDependencies&&r.monitorRunDependencies(ne)}function oe(e){if(ne--,r.monitorRunDependencies&&r.monitorRunDependencies(ne),0==ne&&(null!==re&&(clearInterval(re),re=null),se)){var t=se;se=null,t()}}function ae(e){throw r.onAbort&&r.onAbort(e),w(e+=""),R=!0,e="abort("+e+"). Build with -s ASSERTIONS=1 for more info.",new WebAssembly.RuntimeError(e)}r.preloadedImages={},r.preloadedAudios={},r.preloadedWasm={};var ce,ue,le;function pe(e){return e.startsWith("data:application/octet-stream;base64,")}function he(e){return e.startsWith("file://")}function me(e){try{if(e==ce&&O)return new Uint8Array(O);if(y)return y(e);throw"both async and sync fetching of the wasm failed"}catch(e){ae(e)}}pe(ce="tree-sitter.wasm")||(ce=function(e){return r.locateFile?r.locateFile(e,v):v+e}(ce));var fe={},de={get:function(e,t){return fe[t]||(fe[t]=new WebAssembly.Global({value:"i32",mutable:!0})),fe[t]}};function _e(e){for(;e.length>0;){var t=e.shift();if("function"!=typeof t){var n=t.func;"number"==typeof n?void 0===t.arg?Z.get(n)():Z.get(n)(t.arg):n(void 0===t.arg?null:t.arg)}else t(r)}}function ye(e){var t=0;function n(){for(var n=0,r=1;;){var s=e[t++];if(n+=(127&s)*r,r*=128,!(128&s))break}return n}if(e instanceof WebAssembly.Module){var r=WebAssembly.Module.customSections(e,"dylink");I(0!=r.length,"need dylink section"),e=new Int8Array(r[0])}else I(1836278016==new Uint32Array(new Uint8Array(e.subarray(0,24)).buffer)[0],"need to see wasm magic number"),I(0===e[8],"need the dylink section to be first"),t=9,n(),I(6===e[t]),I(e[++t]==="d".charCodeAt(0)),I(e[++t]==="y".charCodeAt(0)),I(e[++t]==="l".charCodeAt(0)),I(e[++t]==="i".charCodeAt(0)),I(e[++t]==="n".charCodeAt(0)),I(e[++t]==="k".charCodeAt(0)),t++;var s={};s.memorySize=n(),s.memoryAlign=n(),s.tableSize=n(),s.tableAlign=n();var i=n();s.neededDynlibs=[];for(var o=0;o<i;++o){var a=n(),c=e.subarray(t,t+a);t+=a;var u=V(c,0);s.neededDynlibs.push(u)}return s}var ge=0;function be(){return k||ge>0}function ve(e){return 0==e.indexOf("dynCall_")||["stackAlloc","stackSave","stackRestore"].includes(e)?e:"_"+e}function we(e,t){for(var n in e)if(e.hasOwnProperty(n)){qe.hasOwnProperty(n)||(qe[n]=e[n]);var s=ve(n);r.hasOwnProperty(s)||(r[s]=e[n])}}var Ee={nextHandle:1,loadedLibs:{},loadedLibNames:{}};var xe=5250880;function je(e){return["__cpp_exception","__wasm_apply_data_relocs","__dso_handle","__set_stack_limits"].includes(e)}function Se(e,t){var n={};for(var r in e){var s=e[r];"object"==typeof s&&(s=s.value),"number"==typeof s&&(s+=t),n[r]=s}return function(e){for(var t in e)if(!je(t)){var n=!1,r=e[t];t.startsWith("orig$")&&(t=t.split("$")[1],n=!0),fe[t]||(fe[t]=new WebAssembly.Global({value:"i32",mutable:!0})),(n||0==fe[t].value)&&("function"==typeof r?fe[t].value=S(r):"number"==typeof r?fe[t].value=r:w("unhandled export type for `"+t+"`: "+typeof r))}}(n),n}function Oe(e,t){var n,s;return t&&(n=qe["orig$"+e]),n||(n=qe[e]),n||(n=r[ve(e)]),!n&&e.startsWith("invoke_")&&(s=e.split("_")[1],n=function(){var e=De();try{return function(e,t,n){return e.includes("j")?function(e,t,n){var s=r["dynCall_"+e];return n&&n.length?s.apply(null,[t].concat(n)):s.call(null,t)}(e,t,n):Z.get(t).apply(null,n)}(s,arguments[0],Array.prototype.slice.call(arguments,1))}catch(t){if(Ve(e),t!==t+0&&"longjmp"!==t)throw t;Ue(1,0)}}),n}function Pe(e,t){var n=ye(e);function r(){var r=Math.pow(2,n.memoryAlign);r=Math.max(r,x);var s,i,o,a=(s=function(e){if(te)return Le(e);var t=xe,n=t+e+15&-16;return xe=n,fe.__heap_base.value=n,t}(n.memorySize+r),(i=r)||(i=x),Math.ceil(s/i)*i),c=Z.length;Z.grow(n.tableSize);for(var u=a;u<a+n.memorySize;u++)T[u]=0;for(u=c;u<c+n.tableSize;u++)Z.set(u,null);var l=new Proxy({},{get:function(e,t){switch(t){case"__memory_base":return a;case"__table_base":return c}return t in qe?qe[t]:(t in e||(e[t]=function(){return n||(n=function(e){var t=Oe(e,!1);return t||(t=o[e]),t}(t)),n.apply(null,arguments)}),e[t]);var n}}),p={"GOT.mem":new Proxy({},de),"GOT.func":new Proxy({},de),env:l,wasi_snapshot_preview1:l};function h(e){for(var r=0;r<n.tableSize;r++){var s=Z.get(c+r);s&&E.set(s,c+r)}o=Se(e.exports,a),t.allowUndefined||ke();var i=o.__wasm_call_ctors;return i||(i=o.__post_instantiate),i&&(te?i():Y.push(i)),o}if(t.loadAsync){if(e instanceof WebAssembly.Module){var m=new WebAssembly.Instance(e,p);return Promise.resolve(h(m))}return WebAssembly.instantiate(e,p).then((function(e){return h(e.instance)}))}var f=e instanceof WebAssembly.Module?e:new WebAssembly.Module(e);return h(m=new WebAssembly.Instance(f,p))}return t.loadAsync?n.neededDynlibs.reduce((function(e,n){return e.then((function(){return Ae(n,t)}))}),Promise.resolve()).then((function(){return r()})):(n.neededDynlibs.forEach((function(e){Ae(e,t)})),r())}function Ae(e,t){"__main__"!=e||Ee.loadedLibNames[e]||(Ee.loadedLibs[-1]={refcount:1/0,name:"__main__",module:r.asm,global:!0},Ee.loadedLibNames.__main__=-1),t=t||{global:!0,nodelete:!0};var n,s=Ee.loadedLibNames[e];if(s)return n=Ee.loadedLibs[s],t.global&&!n.global&&(n.global=!0,"loading"!==n.module&&we(n.module)),t.nodelete&&n.refcount!==1/0&&(n.refcount=1/0),n.refcount++,t.loadAsync?Promise.resolve(s):s;function i(e){if(t.fs){var n=t.fs.readFile(e,{encoding:"binary"});return n instanceof Uint8Array||(n=new Uint8Array(n)),t.loadAsync?Promise.resolve(n):n}return t.loadAsync?(r=e,fetch(r,{credentials:"same-origin"}).then((function(e){if(!e.ok)throw"failed to load binary file at '"+r+"'";return e.arrayBuffer()})).then((function(e){return new Uint8Array(e)}))):y(e);var r}function o(){if(void 0!==r.preloadedWasm&&void 0!==r.preloadedWasm[e]){var n=r.preloadedWasm[e];return t.loadAsync?Promise.resolve(n):n}return t.loadAsync?i(e).then((function(e){return Pe(e,t)})):Pe(i(e),t)}function a(e){n.global&&we(e),n.module=e}return s=Ee.nextHandle++,n={refcount:t.nodelete?1/0:1,name:e,module:"loading",global:t.global},Ee.loadedLibNames[e]=s,Ee.loadedLibs[s]=n,t.loadAsync?o().then((function(e){return a(e),s})):(a(o()),s)}function ke(){for(var e in fe)if(0==fe[e].value){var t=Oe(e,!0);"function"==typeof t?fe[e].value=S(t,t.sig):"number"==typeof t?fe[e].value=t:I(!1,"bad export type for `"+e+"`: "+typeof t)}}r.___heap_base=xe;var Ne,Me=new WebAssembly.Global({value:"i32",mutable:!0},5250880);function Re(){ae()}r._abort=Re,Re.sig="v",Ne=c?function(){var e=process.hrtime();return 1e3*e[0]+e[1]/1e6}:"undefined"!=typeof dateNow?dateNow:function(){return performance.now()};function Ie(e,t){var n;if(0===e)n=Date.now();else{if(1!==e&&4!==e)return 28,q[Be()>>2]=28,-1;n=Ne()}return q[t>>2]=n/1e3|0,q[t+4>>2]=n%1e3*1e3*1e3|0,0}function Ce(e){try{return A.grow(e-C.byteLength+65535>>>16),K(A.buffer),1}catch(e){}}function Te(e){Ke(e)}function Fe(e){}Ie.sig="iii",Te.sig="vi",Fe.sig="vi";var $e,qe={__heap_base:xe,__indirect_function_table:Z,__memory_base:1024,__stack_pointer:Me,__table_base:1,abort:Re,clock_gettime:Ie,emscripten_memcpy_big:function(e,t,n){F.copyWithin(e,t,t+n)},emscripten_resize_heap:function(e){var t,n=F.length;if((e>>>=0)>2147483648)return!1;for(var r=1;r<=4;r*=2){var s=n*(1+.2/r);if(s=Math.min(s,e+100663296),Ce(Math.min(2147483648,((t=Math.max(e,s))%65536>0&&(t+=65536-t%65536),t))))return!0}return!1},exit:Te,memory:A,setTempRet0:Fe,tree_sitter_log_callback:function(e,t){if(ut){const n=z(t);ut(n,0!==e)}},tree_sitter_parse_callback:function(e,t,n,r,s){var i=ct(t,{row:n,column:r});"string"==typeof i?(N(s,i.length,"i32"),function(e,t,n){if(void 0===n&&(n=2147483647),n<2)return 0;for(var r=(n-=2)<2*e.length?n/2:e.length,s=0;s<r;++s){var i=e.charCodeAt(s);$[t>>1]=i,t+=2}$[t>>1]=0}(i,e,10240)):N(s,0,"i32")}},Le=(function(){var e={env:qe,wasi_snapshot_preview1:qe,"GOT.mem":new Proxy(qe,de),"GOT.func":new Proxy(qe,de)};function t(e,t){var n=e.exports;n=Se(n,1024),r.asm=n;var s,i=ye(t);i.neededDynlibs&&(P=i.neededDynlibs.concat(P)),we(n),s=r.asm.__wasm_call_ctors,Y.unshift(s),oe()}function n(e){t(e.instance,e.module)}function s(t){return function(){if(!O&&(l||p)){if("function"==typeof fetch&&!he(ce))return fetch(ce,{credentials:"same-origin"}).then((function(e){if(!e.ok)throw"failed to load wasm binary file at '"+ce+"'";return e.arrayBuffer()})).catch((function(){return me(ce)}));if(_)return new Promise((function(e,t){_(ce,(function(t){e(new Uint8Array(t))}),t)}))}return Promise.resolve().then((function(){return me(ce)}))}().then((function(t){return WebAssembly.instantiate(t,e)})).then(t,(function(e){w("failed to asynchronously prepare wasm: "+e),ae(e)}))}if(ie(),r.instantiateWasm)try{return r.instantiateWasm(e,t)}catch(e){return w("Module.instantiateWasm callback failed with error: "+e),!1}O||"function"!=typeof WebAssembly.instantiateStreaming||pe(ce)||he(ce)||"function"!=typeof fetch?s(n):fetch(ce,{credentials:"same-origin"}).then((function(t){return WebAssembly.instantiateStreaming(t,e).then(n,(function(e){return w("wasm streaming compile failed: "+e),w("falling back to ArrayBuffer instantiation"),s(n)}))}))}(),r.___wasm_call_ctors=function(){return(r.___wasm_call_ctors=r.asm.__wasm_call_ctors).apply(null,arguments)},r._malloc=function(){return(Le=r._malloc=r.asm.malloc).apply(null,arguments)}),Be=(r._calloc=function(){return(r._calloc=r.asm.calloc).apply(null,arguments)},r._realloc=function(){return(r._realloc=r.asm.realloc).apply(null,arguments)},r._free=function(){return(r._free=r.asm.free).apply(null,arguments)},r._ts_language_symbol_count=function(){return(r._ts_language_symbol_count=r.asm.ts_language_symbol_count).apply(null,arguments)},r._ts_language_version=function(){return(r._ts_language_version=r.asm.ts_language_version).apply(null,arguments)},r._ts_language_field_count=function(){return(r._ts_language_field_count=r.asm.ts_language_field_count).apply(null,arguments)},r._ts_language_symbol_name=function(){return(r._ts_language_symbol_name=r.asm.ts_language_symbol_name).apply(null,arguments)},r._ts_language_symbol_for_name=function(){return(r._ts_language_symbol_for_name=r.asm.ts_language_symbol_for_name).apply(null,arguments)},r._ts_language_symbol_type=function(){return(r._ts_language_symbol_type=r.asm.ts_language_symbol_type).apply(null,arguments)},r._ts_language_field_name_for_id=function(){return(r._ts_language_field_name_for_id=r.asm.ts_language_field_name_for_id).apply(null,arguments)},r._memcpy=function(){return(r._memcpy=r.asm.memcpy).apply(null,arguments)},r._ts_parser_delete=function(){return(r._ts_parser_delete=r.asm.ts_parser_delete).apply(null,arguments)},r._ts_parser_reset=function(){return(r._ts_parser_reset=r.asm.ts_parser_reset).apply(null,arguments)},r._ts_parser_set_language=function(){return(r._ts_parser_set_language=r.asm.ts_parser_set_language).apply(null,arguments)},r._ts_parser_timeout_micros=function(){return(r._ts_parser_timeout_micros=r.asm.ts_parser_timeout_micros).apply(null,arguments)},r._ts_parser_set_timeout_micros=function(){return(r._ts_parser_set_timeout_micros=r.asm.ts_parser_set_timeout_micros).apply(null,arguments)},r._memmove=function(){return(r._memmove=r.asm.memmove).apply(null,arguments)},r._memcmp=function(){return(r._memcmp=r.asm.memcmp).apply(null,arguments)},r._ts_query_new=function(){return(r._ts_query_new=r.asm.ts_query_new).apply(null,arguments)},r._ts_query_delete=function(){return(r._ts_query_delete=r.asm.ts_query_delete).apply(null,arguments)},r._iswspace=function(){return(r._iswspace=r.asm.iswspace).apply(null,arguments)},r._iswalnum=function(){return(r._iswalnum=r.asm.iswalnum).apply(null,arguments)},r._ts_query_pattern_count=function(){return(r._ts_query_pattern_count=r.asm.ts_query_pattern_count).apply(null,arguments)},r._ts_query_capture_count=function(){return(r._ts_query_capture_count=r.asm.ts_query_capture_count).apply(null,arguments)},r._ts_query_string_count=function(){return(r._ts_query_string_count=r.asm.ts_query_string_count).apply(null,arguments)},r._ts_query_capture_name_for_id=function(){return(r._ts_query_capture_name_for_id=r.asm.ts_query_capture_name_for_id).apply(null,arguments)},r._ts_query_string_value_for_id=function(){return(r._ts_query_string_value_for_id=r.asm.ts_query_string_value_for_id).apply(null,arguments)},r._ts_query_predicates_for_pattern=function(){return(r._ts_query_predicates_for_pattern=r.asm.ts_query_predicates_for_pattern).apply(null,arguments)},r._ts_tree_copy=function(){return(r._ts_tree_copy=r.asm.ts_tree_copy).apply(null,arguments)},r._ts_tree_delete=function(){return(r._ts_tree_delete=r.asm.ts_tree_delete).apply(null,arguments)},r._ts_init=function(){return(r._ts_init=r.asm.ts_init).apply(null,arguments)},r._ts_parser_new_wasm=function(){return(r._ts_parser_new_wasm=r.asm.ts_parser_new_wasm).apply(null,arguments)},r._ts_parser_enable_logger_wasm=function(){return(r._ts_parser_enable_logger_wasm=r.asm.ts_parser_enable_logger_wasm).apply(null,arguments)},r._ts_parser_parse_wasm=function(){return(r._ts_parser_parse_wasm=r.asm.ts_parser_parse_wasm).apply(null,arguments)},r._ts_language_type_is_named_wasm=function(){return(r._ts_language_type_is_named_wasm=r.asm.ts_language_type_is_named_wasm).apply(null,arguments)},r._ts_language_type_is_visible_wasm=function(){return(r._ts_language_type_is_visible_wasm=r.asm.ts_language_type_is_visible_wasm).apply(null,arguments)},r._ts_tree_root_node_wasm=function(){return(r._ts_tree_root_node_wasm=r.asm.ts_tree_root_node_wasm).apply(null,arguments)},r._ts_tree_edit_wasm=function(){return(r._ts_tree_edit_wasm=r.asm.ts_tree_edit_wasm).apply(null,arguments)},r._ts_tree_get_changed_ranges_wasm=function(){return(r._ts_tree_get_changed_ranges_wasm=r.asm.ts_tree_get_changed_ranges_wasm).apply(null,arguments)},r._ts_tree_cursor_new_wasm=function(){return(r._ts_tree_cursor_new_wasm=r.asm.ts_tree_cursor_new_wasm).apply(null,arguments)},r._ts_tree_cursor_delete_wasm=function(){return(r._ts_tree_cursor_delete_wasm=r.asm.ts_tree_cursor_delete_wasm).apply(null,arguments)},r._ts_tree_cursor_reset_wasm=function(){return(r._ts_tree_cursor_reset_wasm=r.asm.ts_tree_cursor_reset_wasm).apply(null,arguments)},r._ts_tree_cursor_goto_first_child_wasm=function(){return(r._ts_tree_cursor_goto_first_child_wasm=r.asm.ts_tree_cursor_goto_first_child_wasm).apply(null,arguments)},r._ts_tree_cursor_goto_next_sibling_wasm=function(){return(r._ts_tree_cursor_goto_next_sibling_wasm=r.asm.ts_tree_cursor_goto_next_sibling_wasm).apply(null,arguments)},r._ts_tree_cursor_goto_parent_wasm=function(){return(r._ts_tree_cursor_goto_parent_wasm=r.asm.ts_tree_cursor_goto_parent_wasm).apply(null,arguments)},r._ts_tree_cursor_current_node_type_id_wasm=function(){return(r._ts_tree_cursor_current_node_type_id_wasm=r.asm.ts_tree_cursor_current_node_type_id_wasm).apply(null,arguments)},r._ts_tree_cursor_current_node_is_named_wasm=function(){return(r._ts_tree_cursor_current_node_is_named_wasm=r.asm.ts_tree_cursor_current_node_is_named_wasm).apply(null,arguments)},r._ts_tree_cursor_current_node_is_missing_wasm=function(){return(r._ts_tree_cursor_current_node_is_missing_wasm=r.asm.ts_tree_cursor_current_node_is_missing_wasm).apply(null,arguments)},r._ts_tree_cursor_current_node_id_wasm=function(){return(r._ts_tree_cursor_current_node_id_wasm=r.asm.ts_tree_cursor_current_node_id_wasm).apply(null,arguments)},r._ts_tree_cursor_start_position_wasm=function(){return(r._ts_tree_cursor_start_position_wasm=r.asm.ts_tree_cursor_start_position_wasm).apply(null,arguments)},r._ts_tree_cursor_end_position_wasm=function(){return(r._ts_tree_cursor_end_position_wasm=r.asm.ts_tree_cursor_end_position_wasm).apply(null,arguments)},r._ts_tree_cursor_start_index_wasm=function(){return(r._ts_tree_cursor_start_index_wasm=r.asm.ts_tree_cursor_start_index_wasm).apply(null,arguments)},r._ts_tree_cursor_end_index_wasm=function(){return(r._ts_tree_cursor_end_index_wasm=r.asm.ts_tree_cursor_end_index_wasm).apply(null,arguments)},r._ts_tree_cursor_current_field_id_wasm=function(){return(r._ts_tree_cursor_current_field_id_wasm=r.asm.ts_tree_cursor_current_field_id_wasm).apply(null,arguments)},r._ts_tree_cursor_current_node_wasm=function(){return(r._ts_tree_cursor_current_node_wasm=r.asm.ts_tree_cursor_current_node_wasm).apply(null,arguments)},r._ts_node_symbol_wasm=function(){return(r._ts_node_symbol_wasm=r.asm.ts_node_symbol_wasm).apply(null,arguments)},r._ts_node_child_count_wasm=function(){return(r._ts_node_child_count_wasm=r.asm.ts_node_child_count_wasm).apply(null,arguments)},r._ts_node_named_child_count_wasm=function(){return(r._ts_node_named_child_count_wasm=r.asm.ts_node_named_child_count_wasm).apply(null,arguments)},r._ts_node_child_wasm=function(){return(r._ts_node_child_wasm=r.asm.ts_node_child_wasm).apply(null,arguments)},r._ts_node_named_child_wasm=function(){return(r._ts_node_named_child_wasm=r.asm.ts_node_named_child_wasm).apply(null,arguments)},r._ts_node_child_by_field_id_wasm=function(){return(r._ts_node_child_by_field_id_wasm=r.asm.ts_node_child_by_field_id_wasm).apply(null,arguments)},r._ts_node_next_sibling_wasm=function(){return(r._ts_node_next_sibling_wasm=r.asm.ts_node_next_sibling_wasm).apply(null,arguments)},r._ts_node_prev_sibling_wasm=function(){return(r._ts_node_prev_sibling_wasm=r.asm.ts_node_prev_sibling_wasm).apply(null,arguments)},r._ts_node_next_named_sibling_wasm=function(){return(r._ts_node_next_named_sibling_wasm=r.asm.ts_node_next_named_sibling_wasm).apply(null,arguments)},r._ts_node_prev_named_sibling_wasm=function(){return(r._ts_node_prev_named_sibling_wasm=r.asm.ts_node_prev_named_sibling_wasm).apply(null,arguments)},r._ts_node_parent_wasm=function(){return(r._ts_node_parent_wasm=r.asm.ts_node_parent_wasm).apply(null,arguments)},r._ts_node_descendant_for_index_wasm=function(){return(r._ts_node_descendant_for_index_wasm=r.asm.ts_node_descendant_for_index_wasm).apply(null,arguments)},r._ts_node_named_descendant_for_index_wasm=function(){return(r._ts_node_named_descendant_for_index_wasm=r.asm.ts_node_named_descendant_for_index_wasm).apply(null,arguments)},r._ts_node_descendant_for_position_wasm=function(){return(r._ts_node_descendant_for_position_wasm=r.asm.ts_node_descendant_for_position_wasm).apply(null,arguments)},r._ts_node_named_descendant_for_position_wasm=function(){return(r._ts_node_named_descendant_for_position_wasm=r.asm.ts_node_named_descendant_for_position_wasm).apply(null,arguments)},r._ts_node_start_point_wasm=function(){return(r._ts_node_start_point_wasm=r.asm.ts_node_start_point_wasm).apply(null,arguments)},r._ts_node_end_point_wasm=function(){return(r._ts_node_end_point_wasm=r.asm.ts_node_end_point_wasm).apply(null,arguments)},r._ts_node_start_index_wasm=function(){return(r._ts_node_start_index_wasm=r.asm.ts_node_start_index_wasm).apply(null,arguments)},r._ts_node_end_index_wasm=function(){return(r._ts_node_end_index_wasm=r.asm.ts_node_end_index_wasm).apply(null,arguments)},r._ts_node_to_string_wasm=function(){return(r._ts_node_to_string_wasm=r.asm.ts_node_to_string_wasm).apply(null,arguments)},r._ts_node_children_wasm=function(){return(r._ts_node_children_wasm=r.asm.ts_node_children_wasm).apply(null,arguments)},r._ts_node_named_children_wasm=function(){return(r._ts_node_named_children_wasm=r.asm.ts_node_named_children_wasm).apply(null,arguments)},r._ts_node_descendants_of_type_wasm=function(){return(r._ts_node_descendants_of_type_wasm=r.asm.ts_node_descendants_of_type_wasm).apply(null,arguments)},r._ts_node_is_named_wasm=function(){return(r._ts_node_is_named_wasm=r.asm.ts_node_is_named_wasm).apply(null,arguments)},r._ts_node_has_changes_wasm=function(){return(r._ts_node_has_changes_wasm=r.asm.ts_node_has_changes_wasm).apply(null,arguments)},r._ts_node_has_error_wasm=function(){return(r._ts_node_has_error_wasm=r.asm.ts_node_has_error_wasm).apply(null,arguments)},r._ts_node_is_missing_wasm=function(){return(r._ts_node_is_missing_wasm=r.asm.ts_node_is_missing_wasm).apply(null,arguments)},r._ts_query_matches_wasm=function(){return(r._ts_query_matches_wasm=r.asm.ts_query_matches_wasm).apply(null,arguments)},r._ts_query_captures_wasm=function(){return(r._ts_query_captures_wasm=r.asm.ts_query_captures_wasm).apply(null,arguments)},r._iswdigit=function(){return(r._iswdigit=r.asm.iswdigit).apply(null,arguments)},r._iswalpha=function(){return(r._iswalpha=r.asm.iswalpha).apply(null,arguments)},r._iswlower=function(){return(r._iswlower=r.asm.iswlower).apply(null,arguments)},r._towupper=function(){return(r._towupper=r.asm.towupper).apply(null,arguments)},r.___errno_location=function(){return(Be=r.___errno_location=r.asm.__errno_location).apply(null,arguments)}),De=(r._memchr=function(){return(r._memchr=r.asm.memchr).apply(null,arguments)},r._strlen=function(){return(r._strlen=r.asm.strlen).apply(null,arguments)},r.stackSave=function(){return(De=r.stackSave=r.asm.stackSave).apply(null,arguments)}),Ve=r.stackRestore=function(){return(Ve=r.stackRestore=r.asm.stackRestore).apply(null,arguments)},ze=r.stackAlloc=function(){return(ze=r.stackAlloc=r.asm.stackAlloc).apply(null,arguments)},Ue=r._setThrew=function(){return(Ue=r._setThrew=r.asm.setThrew).apply(null,arguments)};function Ge(e){this.name="ExitStatus",this.message="Program terminated with exit("+e+")",this.status=e}r.__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev=function(){return(r.__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev=r.asm._ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev).apply(null,arguments)},r.__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE9__grow_byEmmmmmm=function(){return(r.__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE9__grow_byEmmmmmm=r.asm._ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE9__grow_byEmmmmmm).apply(null,arguments)},r.__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcm=function(){return(r.__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcm=r.asm._ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcm).apply(null,arguments)},r.__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE7reserveEm=function(){return(r.__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE7reserveEm=r.asm._ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE7reserveEm).apply(null,arguments)},r.__ZNKSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE4copyEPcmm=function(){return(r.__ZNKSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE4copyEPcmm=r.asm._ZNKSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE4copyEPcmm).apply(null,arguments)},r.__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE9push_backEc=function(){return(r.__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE9push_backEc=r.asm._ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE9push_backEc).apply(null,arguments)},r.__ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED2Ev=function(){return(r.__ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED2Ev=r.asm._ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED2Ev).apply(null,arguments)},r.__ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE9push_backEw=function(){return(r.__ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE9push_backEw=r.asm._ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE9push_backEw).apply(null,arguments)},r.__Znwm=function(){return(r.__Znwm=r.asm._Znwm).apply(null,arguments)},r.__ZdlPv=function(){return(r.__ZdlPv=r.asm._ZdlPv).apply(null,arguments)},r.__ZNKSt3__220__vector_base_commonILb1EE20__throw_length_errorEv=function(){return(r.__ZNKSt3__220__vector_base_commonILb1EE20__throw_length_errorEv=r.asm._ZNKSt3__220__vector_base_commonILb1EE20__throw_length_errorEv).apply(null,arguments)},r._orig$ts_parser_timeout_micros=function(){return(r._orig$ts_parser_timeout_micros=r.asm.orig$ts_parser_timeout_micros).apply(null,arguments)},r._orig$ts_parser_set_timeout_micros=function(){return(r._orig$ts_parser_set_timeout_micros=r.asm.orig$ts_parser_set_timeout_micros).apply(null,arguments)},r.allocate=function(e,t){var n;return n=1==t?ze(e.length):Le(e.length),e.subarray||e.slice?F.set(e,n):F.set(new Uint8Array(e),n),n},se=function e(){$e||Je(),$e||(se=e)};var We=!1;function Je(e){function t(){$e||($e=!0,r.calledRun=!0,R||(te=!0,_e(Y),_e(Q),r.onRuntimeInitialized&&r.onRuntimeInitialized(),He&&function(e){var t=r._main;if(t){var n=(e=e||[]).length+1,s=ze(4*(n+1));q[s>>2]=J(m);for(var i=1;i<n;i++)q[(s>>2)+i]=J(e[i-1]);q[(s>>2)+n]=0;try{Ke(t(n,s),!0)}catch(e){if(e instanceof Ge)return;if("unwind"==e)return;var o=e;e&&"object"==typeof e&&e.stack&&(o=[e,e.stack]),w("exception thrown: "+o),f(1,e)}}}(e),function(){if(r.postRun)for("function"==typeof r.postRun&&(r.postRun=[r.postRun]);r.postRun.length;)e=r.postRun.shift(),ee.unshift(e);var e;_e(ee)}()))}e=e||h,ne>0||!We&&(function(){if(P.length){if(!y)return ie(),void P.reduce((function(e,t){return e.then((function(){return Ae(t,{loadAsync:!0,global:!0,nodelete:!0,allowUndefined:!0})}))}),Promise.resolve()).then((function(){oe(),ke()}));P.forEach((function(e){Ae(e,{global:!0,nodelete:!0,allowUndefined:!0})})),ke()}else ke()}(),We=!0,ne>0)||(function(){if(r.preRun)for("function"==typeof r.preRun&&(r.preRun=[r.preRun]);r.preRun.length;)e=r.preRun.shift(),X.unshift(e);var e;_e(X)}(),ne>0||(r.setStatus?(r.setStatus("Running..."),setTimeout((function(){setTimeout((function(){r.setStatus("")}),1),t()}),1)):t()))}function Ke(e,t){t&&be()&&0===e||(be()||(r.onExit&&r.onExit(e),R=!0),f(e,new Ge(e)))}if(r.run=Je,r.preInit)for("function"==typeof r.preInit&&(r.preInit=[r.preInit]);r.preInit.length>0;)r.preInit.pop()();var He=!0;r.noInitialRun&&(He=!1),Je();const Ze=r,Xe={},Ye=4,Qe=5*Ye,et=2*Ye,tt=2*Ye+2*et,nt={row:0,column:0},rt=/[\w-.]*/g,st=/^_?tree_sitter_\w+/;var it,ot,at,ct,ut;class lt{static init(){at=Ze._ts_init(),it=M(at,"i32"),ot=M(at+Ye,"i32")}initialize(){Ze._ts_parser_new_wasm(),this[0]=M(at,"i32"),this[1]=M(at+Ye,"i32")}delete(){Ze._ts_parser_delete(this[0]),Ze._free(this[1]),this[0]=0,this[1]=0}setLanguage(e){let t;if(e){if(e.constructor!==ft)throw new Error("Argument must be a Language");{t=e[0];const n=Ze._ts_language_version(t);if(n<ot||it<n)throw new Error(`Incompatible language version ${n}. Compatibility range ${ot} through ${it}.`)}}else t=0,e=null;return this.language=e,Ze._ts_parser_set_language(this[0],t),this}getLanguage(){return this.language}parse(e,t,n){if("string"==typeof e)ct=(t,n,r)=>e.slice(t,r);else{if("function"!=typeof e)throw new Error("Argument must be a string or a function");ct=e}this.logCallback?(ut=this.logCallback,Ze._ts_parser_enable_logger_wasm(this[0],1)):(ut=null,Ze._ts_parser_enable_logger_wasm(this[0],0));let r=0,s=0;if(n&&n.includedRanges){r=n.includedRanges.length;let e=s=Ze._calloc(r,tt);for(let t=0;t<r;t++)Ot(e,n.includedRanges[t]),e+=tt}const i=Ze._ts_parser_parse_wasm(this[0],this[1],t?t[0]:0,s,r);if(!i)throw ct=null,ut=null,new Error("Parsing failed");const o=new pt(Xe,i,this.language,ct);return ct=null,ut=null,o}reset(){Ze._ts_parser_reset(this[0])}setTimeoutMicros(e){Ze._ts_parser_set_timeout_micros(this[0],e)}getTimeoutMicros(){return Ze._ts_parser_timeout_micros(this[0])}setLogger(e){if(e){if("function"!=typeof e)throw new Error("Logger callback must be a function")}else e=null;return this.logCallback=e,this}getLogger(){return this.logCallback}}class pt{constructor(e,t,n,r){gt(e),this[0]=t,this.language=n,this.textCallback=r}copy(){const e=Ze._ts_tree_copy(this[0]);return new pt(Xe,e,this.language,this.textCallback)}delete(){Ze._ts_tree_delete(this[0]),this[0]=0}edit(e){!function(e){let t=at;jt(t,e.startPosition),jt(t+=et,e.oldEndPosition),jt(t+=et,e.newEndPosition),N(t+=et,e.startIndex,"i32"),N(t+=Ye,e.oldEndIndex,"i32"),N(t+=Ye,e.newEndIndex,"i32"),t+=Ye}(e),Ze._ts_tree_edit_wasm(this[0])}get rootNode(){return Ze._ts_tree_root_node_wasm(this[0]),wt(this)}getLanguage(){return this.language}walk(){return this.rootNode.walk()}getChangedRanges(e){if(e.constructor!==pt)throw new TypeError("Argument must be a Tree");Ze._ts_tree_get_changed_ranges_wasm(this[0],e[0]);const t=M(at,"i32"),n=M(at+Ye,"i32"),r=new Array(t);if(t>0){let e=n;for(let n=0;n<t;n++)r[n]=Pt(e),e+=tt;Ze._free(n)}return r}}class ht{constructor(e,t){gt(e),this.tree=t}get typeId(){return vt(this),Ze._ts_node_symbol_wasm(this.tree[0])}get type(){return this.tree.language.types[this.typeId]||"ERROR"}get endPosition(){return vt(this),Ze._ts_node_end_point_wasm(this.tree[0]),St(at)}get endIndex(){return vt(this),Ze._ts_node_end_index_wasm(this.tree[0])}get text(){return _t(this.tree,this.startIndex,this.endIndex)}isNamed(){return vt(this),1===Ze._ts_node_is_named_wasm(this.tree[0])}hasError(){return vt(this),1===Ze._ts_node_has_error_wasm(this.tree[0])}hasChanges(){return vt(this),1===Ze._ts_node_has_changes_wasm(this.tree[0])}isMissing(){return vt(this),1===Ze._ts_node_is_missing_wasm(this.tree[0])}equals(e){return this.id===e.id}child(e){return vt(this),Ze._ts_node_child_wasm(this.tree[0],e),wt(this.tree)}namedChild(e){return vt(this),Ze._ts_node_named_child_wasm(this.tree[0],e),wt(this.tree)}childForFieldId(e){return vt(this),Ze._ts_node_child_by_field_id_wasm(this.tree[0],e),wt(this.tree)}childForFieldName(e){const t=this.tree.language.fields.indexOf(e);if(-1!==t)return this.childForFieldId(t)}get childCount(){return vt(this),Ze._ts_node_child_count_wasm(this.tree[0])}get namedChildCount(){return vt(this),Ze._ts_node_named_child_count_wasm(this.tree[0])}get firstChild(){return this.child(0)}get firstNamedChild(){return this.namedChild(0)}get lastChild(){return this.child(this.childCount-1)}get lastNamedChild(){return this.namedChild(this.namedChildCount-1)}get children(){if(!this._children){vt(this),Ze._ts_node_children_wasm(this.tree[0]);const e=M(at,"i32"),t=M(at+Ye,"i32");if(this._children=new Array(e),e>0){let n=t;for(let t=0;t<e;t++)this._children[t]=wt(this.tree,n),n+=Qe;Ze._free(t)}}return this._children}get namedChildren(){if(!this._namedChildren){vt(this),Ze._ts_node_named_children_wasm(this.tree[0]);const e=M(at,"i32"),t=M(at+Ye,"i32");if(this._namedChildren=new Array(e),e>0){let n=t;for(let t=0;t<e;t++)this._namedChildren[t]=wt(this.tree,n),n+=Qe;Ze._free(t)}}return this._namedChildren}descendantsOfType(e,t,n){Array.isArray(e)||(e=[e]),t||(t=nt),n||(n=nt);const r=[],s=this.tree.language.types;for(let t=0,n=s.length;t<n;t++)e.includes(s[t])&&r.push(t);const i=Ze._malloc(Ye*r.length);for(let e=0,t=r.length;e<t;e++)N(i+e*Ye,r[e],"i32");vt(this),Ze._ts_node_descendants_of_type_wasm(this.tree[0],i,r.length,t.row,t.column,n.row,n.column);const o=M(at,"i32"),a=M(at+Ye,"i32"),c=new Array(o);if(o>0){let e=a;for(let t=0;t<o;t++)c[t]=wt(this.tree,e),e+=Qe}return Ze._free(a),Ze._free(i),c}get nextSibling(){return vt(this),Ze._ts_node_next_sibling_wasm(this.tree[0]),wt(this.tree)}get previousSibling(){return vt(this),Ze._ts_node_prev_sibling_wasm(this.tree[0]),wt(this.tree)}get nextNamedSibling(){return vt(this),Ze._ts_node_next_named_sibling_wasm(this.tree[0]),wt(this.tree)}get previousNamedSibling(){return vt(this),Ze._ts_node_prev_named_sibling_wasm(this.tree[0]),wt(this.tree)}get parent(){return vt(this),Ze._ts_node_parent_wasm(this.tree[0]),wt(this.tree)}descendantForIndex(e,t=e){if("number"!=typeof e||"number"!=typeof t)throw new Error("Arguments must be numbers");vt(this);let n=at+Qe;return N(n,e,"i32"),N(n+Ye,t,"i32"),Ze._ts_node_descendant_for_index_wasm(this.tree[0]),wt(this.tree)}namedDescendantForIndex(e,t=e){if("number"!=typeof e||"number"!=typeof t)throw new Error("Arguments must be numbers");vt(this);let n=at+Qe;return N(n,e,"i32"),N(n+Ye,t,"i32"),Ze._ts_node_named_descendant_for_index_wasm(this.tree[0]),wt(this.tree)}descendantForPosition(e,t=e){if(!bt(e)||!bt(t))throw new Error("Arguments must be {row, column} objects");vt(this);let n=at+Qe;return jt(n,e),jt(n+et,t),Ze._ts_node_descendant_for_position_wasm(this.tree[0]),wt(this.tree)}namedDescendantForPosition(e,t=e){if(!bt(e)||!bt(t))throw new Error("Arguments must be {row, column} objects");vt(this);let n=at+Qe;return jt(n,e),jt(n+et,t),Ze._ts_node_named_descendant_for_position_wasm(this.tree[0]),wt(this.tree)}walk(){return vt(this),Ze._ts_tree_cursor_new_wasm(this.tree[0]),new mt(Xe,this.tree)}toString(){vt(this);const e=Ze._ts_node_to_string_wasm(this.tree[0]),t=function(e){for(var t="";;){var n=F[e++>>0];if(!n)return t;t+=String.fromCharCode(n)}}(e);return Ze._free(e),t}}class mt{constructor(e,t){gt(e),this.tree=t,xt(this)}delete(){Et(this),Ze._ts_tree_cursor_delete_wasm(this.tree[0]),this[0]=this[1]=this[2]=0}reset(e){vt(e),Et(this,at+Qe),Ze._ts_tree_cursor_reset_wasm(this.tree[0]),xt(this)}get nodeType(){return this.tree.language.types[this.nodeTypeId]||"ERROR"}get nodeTypeId(){return Et(this),Ze._ts_tree_cursor_current_node_type_id_wasm(this.tree[0])}get nodeId(){return Et(this),Ze._ts_tree_cursor_current_node_id_wasm(this.tree[0])}get nodeIsNamed(){return Et(this),1===Ze._ts_tree_cursor_current_node_is_named_wasm(this.tree[0])}get nodeIsMissing(){return Et(this),1===Ze._ts_tree_cursor_current_node_is_missing_wasm(this.tree[0])}get nodeText(){Et(this);const e=Ze._ts_tree_cursor_start_index_wasm(this.tree[0]),t=Ze._ts_tree_cursor_end_index_wasm(this.tree[0]);return _t(this.tree,e,t)}get startPosition(){return Et(this),Ze._ts_tree_cursor_start_position_wasm(this.tree[0]),St(at)}get endPosition(){return Et(this),Ze._ts_tree_cursor_end_position_wasm(this.tree[0]),St(at)}get startIndex(){return Et(this),Ze._ts_tree_cursor_start_index_wasm(this.tree[0])}get endIndex(){return Et(this),Ze._ts_tree_cursor_end_index_wasm(this.tree[0])}currentNode(){return Et(this),Ze._ts_tree_cursor_current_node_wasm(this.tree[0]),wt(this.tree)}currentFieldId(){return Et(this),Ze._ts_tree_cursor_current_field_id_wasm(this.tree[0])}currentFieldName(){return this.tree.language.fields[this.currentFieldId()]}gotoFirstChild(){Et(this);const e=Ze._ts_tree_cursor_goto_first_child_wasm(this.tree[0]);return xt(this),1===e}gotoNextSibling(){Et(this);const e=Ze._ts_tree_cursor_goto_next_sibling_wasm(this.tree[0]);return xt(this),1===e}gotoParent(){Et(this);const e=Ze._ts_tree_cursor_goto_parent_wasm(this.tree[0]);return xt(this),1===e}}class ft{constructor(e,t){gt(e),this[0]=t,this.types=new Array(Ze._ts_language_symbol_count(this[0]));for(let e=0,t=this.types.length;e<t;e++)Ze._ts_language_symbol_type(this[0],e)<2&&(this.types[e]=z(Ze._ts_language_symbol_name(this[0],e)));this.fields=new Array(Ze._ts_language_field_count(this[0])+1);for(let e=0,t=this.fields.length;e<t;e++){const t=Ze._ts_language_field_name_for_id(this[0],e);this.fields[e]=0!==t?z(t):null}}get version(){return Ze._ts_language_version(this[0])}get fieldCount(){return this.fields.length-1}fieldIdForName(e){const t=this.fields.indexOf(e);return-1!==t?t:null}fieldNameForId(e){return this.fields[e]||null}idForNodeType(e,t){const n=W(e),r=Ze._malloc(n+1);G(e,r,n+1);const s=Ze._ts_language_symbol_for_name(this[0],r,n,t);return Ze._free(r),s||null}get nodeTypeCount(){return Ze._ts_language_symbol_count(this[0])}nodeTypeForId(e){const t=Ze._ts_language_symbol_name(this[0],e);return t?z(t):null}nodeTypeIsNamed(e){return!!Ze._ts_language_type_is_named_wasm(this[0],e)}nodeTypeIsVisible(e){return!!Ze._ts_language_type_is_visible_wasm(this[0],e)}query(e){const t=W(e),n=Ze._malloc(t+1);G(e,n,t+1);const r=Ze._ts_query_new(this[0],n,t,at,at+Ye);if(!r){const t=M(at+Ye,"i32"),r=z(n,M(at,"i32")).length,s=e.substr(r,100).split("\n")[0];let i,o=s.match(rt)[0];switch(t){case 2:i=new RangeError(`Bad node name '${o}'`);break;case 3:i=new RangeError(`Bad field name '${o}'`);break;case 4:i=new RangeError(`Bad capture name @${o}`);break;case 5:i=new TypeError(`Bad pattern structure at offset ${r}: '${s}'...`),o="";break;default:i=new SyntaxError(`Bad syntax at offset ${r}: '${s}'...`),o=""}throw i.index=r,i.length=o.length,Ze._free(n),i}const s=Ze._ts_query_string_count(r),i=Ze._ts_query_capture_count(r),o=Ze._ts_query_pattern_count(r),a=new Array(i),c=new Array(s);for(let e=0;e<i;e++){const t=Ze._ts_query_capture_name_for_id(r,e,at),n=M(at,"i32");a[e]=z(t,n)}for(let e=0;e<s;e++){const t=Ze._ts_query_string_value_for_id(r,e,at),n=M(at,"i32");c[e]=z(t,n)}const u=new Array(o),l=new Array(o),p=new Array(o),h=new Array(o),m=new Array(o);for(let e=0;e<o;e++){const t=Ze._ts_query_predicates_for_pattern(r,e,at),n=M(at,"i32");h[e]=[],m[e]=[];const s=[];let i=t;for(let t=0;t<n;t++){const t=M(i,"i32"),n=M(i+=Ye,"i32");if(i+=Ye,1===t)s.push({type:"capture",name:a[n]});else if(2===t)s.push({type:"string",value:c[n]});else if(s.length>0){if("string"!==s[0].type)throw new Error("Predicates must begin with a literal value");const t=s[0].value;let n=!0;switch(t){case"not-eq?":n=!1;case"eq?":if(3!==s.length)throw new Error("Wrong number of arguments to `#eq?` predicate. Expected 2, got "+(s.length-1));if("capture"!==s[1].type)throw new Error(`First argument of \`#eq?\` predicate must be a capture. Got "${s[1].value}"`);if("capture"===s[2].type){const t=s[1].name,r=s[2].name;m[e].push((function(e){let s,i;for(const n of e)n.name===t&&(s=n.node),n.name===r&&(i=n.node);return void 0===s||void 0===i||s.text===i.text===n}))}else{const t=s[1].name,r=s[2].value;m[e].push((function(e){for(const s of e)if(s.name===t)return s.node.text===r===n;return!0}))}break;case"not-match?":n=!1;case"match?":if(3!==s.length)throw new Error(`Wrong number of arguments to \`#match?\` predicate. Expected 2, got ${s.length-1}.`);if("capture"!==s[1].type)throw new Error(`First argument of \`#match?\` predicate must be a capture. Got "${s[1].value}".`);if("string"!==s[2].type)throw new Error(`Second argument of \`#match?\` predicate must be a string. Got @${s[2].value}.`);const r=s[1].name,i=new RegExp(s[2].value);m[e].push((function(e){for(const t of e)if(t.name===r)return i.test(t.node.text)===n;return!0}));break;case"set!":if(s.length<2||s.length>3)throw new Error(`Wrong number of arguments to \`#set!\` predicate. Expected 1 or 2. Got ${s.length-1}.`);if(s.some((e=>"string"!==e.type)))throw new Error('Arguments to `#set!` predicate must be a strings.".');u[e]||(u[e]={}),u[e][s[1].value]=s[2]?s[2].value:null;break;case"is?":case"is-not?":if(s.length<2||s.length>3)throw new Error(`Wrong number of arguments to \`#${t}\` predicate. Expected 1 or 2. Got ${s.length-1}.`);if(s.some((e=>"string"!==e.type)))throw new Error(`Arguments to \`#${t}\` predicate must be a strings.".`);const o="is?"===t?l:p;o[e]||(o[e]={}),o[e][s[1].value]=s[2]?s[2].value:null;break;default:h[e].push({operator:t,operands:s.slice(1)})}s.length=0}}Object.freeze(u[e]),Object.freeze(l[e]),Object.freeze(p[e])}return Ze._free(n),new dt(Xe,r,a,m,h,Object.freeze(u),Object.freeze(l),Object.freeze(p))}static load(e){let t;if(e instanceof Uint8Array)t=Promise.resolve(e);else{const r=e;if("undefined"!=typeof process&&process.versions&&process.versions.node){const e=n(5530);t=Promise.resolve(e.readFileSync(r))}else t=fetch(r).then((e=>e.arrayBuffer().then((t=>{if(e.ok)return new Uint8Array(t);{const n=new TextDecoder("utf-8").decode(t);throw new Error(`Language.load failed with status ${e.status}.\n\n${n}`)}}))))}const r="function"==typeof loadSideModule?loadSideModule:Pe;return t.then((e=>r(e,{loadAsync:!0}))).then((e=>{const t=Object.keys(e),n=t.find((e=>st.test(e)&&!e.includes("external_scanner_")));n||console.log(`Couldn't find language function in WASM file. Symbols:\n${JSON.stringify(t,null,2)}`);const r=e[n]();return new ft(Xe,r)}))}}class dt{constructor(e,t,n,r,s,i,o,a){gt(e),this[0]=t,this.captureNames=n,this.textPredicates=r,this.predicates=s,this.setProperties=i,this.assertedProperties=o,this.refutedProperties=a,this.exceededMatchLimit=!1}delete(){Ze._ts_query_delete(this[0]),this[0]=0}matches(e,t,n,r){t||(t=nt),n||(n=nt),r||(r={});let s=r.matchLimit;if(void 0===s)s=0;else if("number"!=typeof s)throw new Error("Arguments must be numbers");vt(e),Ze._ts_query_matches_wasm(this[0],e.tree[0],t.row,t.column,n.row,n.column,s);const i=M(at,"i32"),o=M(at+Ye,"i32"),a=M(at+2*Ye,"i32"),c=new Array(i);this.exceededMatchLimit=!!a;let u=0,l=o;for(let t=0;t<i;t++){const n=M(l,"i32"),r=M(l+=Ye,"i32");l+=Ye;const s=new Array(r);if(l=yt(this,e.tree,l,s),this.textPredicates[n].every((e=>e(s)))){c[u++]={pattern:n,captures:s};const e=this.setProperties[n];e&&(c[t].setProperties=e);const r=this.assertedProperties[n];r&&(c[t].assertedProperties=r);const i=this.refutedProperties[n];i&&(c[t].refutedProperties=i)}}return c.length=u,Ze._free(o),c}captures(e,t,n,r){t||(t=nt),n||(n=nt),r||(r={});let s=r.matchLimit;if(void 0===s)s=0;else if("number"!=typeof s)throw new Error("Arguments must be numbers");vt(e),Ze._ts_query_captures_wasm(this[0],e.tree[0],t.row,t.column,n.row,n.column,s);const i=M(at,"i32"),o=M(at+Ye,"i32"),a=M(at+2*Ye,"i32"),c=[];this.exceededMatchLimit=!!a;const u=[];let l=o;for(let t=0;t<i;t++){const t=M(l,"i32"),n=M(l+=Ye,"i32"),r=M(l+=Ye,"i32");if(l+=Ye,u.length=n,l=yt(this,e.tree,l,u),this.textPredicates[t].every((e=>e(u)))){const e=u[r],n=this.setProperties[t];n&&(e.setProperties=n);const s=this.assertedProperties[t];s&&(e.assertedProperties=s);const i=this.refutedProperties[t];i&&(e.refutedProperties=i),c.push(e)}}return Ze._free(o),c}predicatesForPattern(e){return this.predicates[e]}didExceedMatchLimit(){return this.exceededMatchLimit}}function _t(e,t,n){const r=n-t;let s=e.textCallback(t,null,n);for(t+=s.length;t<n;){const r=e.textCallback(t,null,n);if(!(r&&r.length>0))break;t+=r.length,s+=r}return t>n&&(s=s.slice(0,r)),s}function yt(e,t,n,r){for(let s=0,i=r.length;s<i;s++){const i=M(n,"i32"),o=wt(t,n+=Ye);n+=Qe,r[s]={name:e.captureNames[i],node:o}}return n}function gt(e){if(e!==Xe)throw new Error("Illegal constructor")}function bt(e){return e&&"number"==typeof e.row&&"number"==typeof e.column}function vt(e){let t=at;N(t,e.id,"i32"),N(t+=Ye,e.startIndex,"i32"),N(t+=Ye,e.startPosition.row,"i32"),N(t+=Ye,e.startPosition.column,"i32"),N(t+=Ye,e[0],"i32")}function wt(e,t=at){const n=M(t,"i32");if(0===n)return null;const r=M(t+=Ye,"i32"),s=M(t+=Ye,"i32"),i=M(t+=Ye,"i32"),o=M(t+=Ye,"i32"),a=new ht(Xe,e);return a.id=n,a.startIndex=r,a.startPosition={row:s,column:i},a[0]=o,a}function Et(e,t=at){N(t+0*Ye,e[0],"i32"),N(t+1*Ye,e[1],"i32"),N(t+2*Ye,e[2],"i32")}function xt(e){e[0]=M(at+0*Ye,"i32"),e[1]=M(at+1*Ye,"i32"),e[2]=M(at+2*Ye,"i32")}function jt(e,t){N(e,t.row,"i32"),N(e+Ye,t.column,"i32")}function St(e){return{row:M(e,"i32"),column:M(e+Ye,"i32")}}function Ot(e,t){jt(e,t.startPosition),jt(e+=et,t.endPosition),N(e+=et,t.startIndex,"i32"),N(e+=Ye,t.endIndex,"i32"),e+=Ye}function Pt(e){const t={};return t.startPosition=St(e),e+=et,t.endPosition=St(e),e+=et,t.startIndex=M(e,"i32"),e+=Ye,t.endIndex=M(e,"i32"),t}for(const e of Object.getOwnPropertyNames(lt.prototype))Object.defineProperty(i.prototype,e,{value:lt.prototype[e],enumerable:!1,writable:!1});i.Language=ft,r.onRuntimeInitialized=()=>{lt.init(),t()}})))}}return i}();e.exports=s},5530:()=>{},6287:()=>{},1427:(e,t,n)=>{e.exports=n(1125)},1681:(e,t,n)=>{"use strict";var r=n(7497);e.exports=r},3258:(e,t,n)=>{"use strict";n(2777),n(733),n(1835),n(6449),n(9383);var r=n(8422);e.exports=r.AggregateError},1125:(e,t,n)=>{"use strict";e.exports=n(3985)},3985:(e,t,n)=>{"use strict";n(3584);var r=n(1681);e.exports=r},5375:(e,t,n)=>{"use strict";var r=n(8563),s=n(5787),i=TypeError;e.exports=function(e){if(r(e))return e;throw new i(s(e)+" is not a function")}},692:(e,t,n)=>{"use strict";var r=n(8563),s=String,i=TypeError;e.exports=function(e){if("object"==typeof e||r(e))return e;throw new i("Can't set "+s(e)+" as a prototype")}},7171:e=>{"use strict";e.exports=function(){}},457:(e,t,n)=>{"use strict";var r=n(8257),s=String,i=TypeError;e.exports=function(e){if(r(e))return e;throw new i(s(e)+" is not an object")}},3346:(e,t,n)=>{"use strict";var r=n(4312),s=n(1940),i=n(8960),o=function(e){return function(t,n,o){var a,c=r(t),u=i(c),l=s(o,u);if(e&&n!=n){for(;u>l;)if((a=c[l++])!=a)return!0}else for(;u>l;l++)if((e||l in c)&&c[l]===n)return e||l||0;return!e&&-1}};e.exports={includes:o(!0),indexOf:o(!1)}},88:(e,t,n)=>{"use strict";var r=n(8814),s=r({}.toString),i=r("".slice);e.exports=function(e){return i(s(e),8,-1)}},2327:(e,t,n)=>{"use strict";var r=n(6694),s=n(8563),i=n(88),o=n(379)("toStringTag"),a=Object,c="Arguments"===i(function(){return arguments}());e.exports=r?i:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=a(e),o))?n:c?i(t):"Object"===(r=i(t))&&s(t.callee)?"Arguments":r}},1318:(e,t,n)=>{"use strict";var r=n(3941),s=n(5956),i=n(3335),o=n(4376);e.exports=function(e,t,n){for(var a=s(t),c=o.f,u=i.f,l=0;l<a.length;l++){var p=a[l];r(e,p)||n&&r(n,p)||c(e,p,u(t,p))}}},8536:(e,t,n)=>{"use strict";var r=n(2998);e.exports=!r((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},9497:e=>{"use strict";e.exports=function(e,t){return{value:e,done:t}}},1370:(e,t,n)=>{"use strict";var r=n(1815),s=n(4376),i=n(7971);e.exports=r?function(e,t,n){return s.f(e,t,i(1,n))}:function(e,t,n){return e[t]=n,e}},7971:e=>{"use strict";e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},4500:(e,t,n)=>{"use strict";var r=n(1370);e.exports=function(e,t,n,s){return s&&s.enumerable?e[t]=n:r(e,t,n),e}},8194:(e,t,n)=>{"use strict";var r=n(8426),s=Object.defineProperty;e.exports=function(e,t){try{s(r,e,{value:t,configurable:!0,writable:!0})}catch(n){r[e]=t}return t}},1815:(e,t,n)=>{"use strict";var r=n(2998);e.exports=!r((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]}))},5361:e=>{"use strict";var t="object"==typeof document&&document.all,n=void 0===t&&void 0!==t;e.exports={all:t,IS_HTMLDDA:n}},6327:(e,t,n)=>{"use strict";var r=n(8426),s=n(8257),i=r.document,o=s(i)&&s(i.createElement);e.exports=function(e){return o?i.createElement(e):{}}},8987:e=>{"use strict";e.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},9954:e=>{"use strict";e.exports="undefined"!=typeof navigator&&String(navigator.userAgent)||""},5057:(e,t,n)=>{"use strict";var r,s,i=n(8426),o=n(9954),a=i.process,c=i.Deno,u=a&&a.versions||c&&c.version,l=u&&u.v8;l&&(s=(r=l.split("."))[0]>0&&r[0]<4?1:+(r[0]+r[1])),!s&&o&&(!(r=o.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=o.match(/Chrome\/(\d+)/))&&(s=+r[1]),e.exports=s},8573:e=>{"use strict";e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},4456:(e,t,n)=>{"use strict";var r=n(8814),s=Error,i=r("".replace),o=String(new s("zxcasd").stack),a=/\n\s*at [^:]*:[^\n]*/,c=a.test(o);e.exports=function(e,t){if(c&&"string"==typeof e&&!s.prepareStackTrace)for(;t--;)e=i(e,a,"");return e}},4151:(e,t,n)=>{"use strict";var r=n(1370),s=n(4456),i=n(5111),o=Error.captureStackTrace;e.exports=function(e,t,n,a){i&&(o?o(e,t):r(e,"stack",s(n,a)))}},5111:(e,t,n)=>{"use strict";var r=n(2998),s=n(7971);e.exports=!r((function(){var e=new Error("a");return!("stack"in e)||(Object.defineProperty(e,"stack",s(1,7)),7!==e.stack)}))},9011:(e,t,n)=>{"use strict";var r=n(8426),s=n(4877),i=n(9730),o=n(8563),a=n(3335).f,c=n(8722),u=n(8422),l=n(1207),p=n(1370),h=n(3941),m=function(e){var t=function(n,r,i){if(this instanceof t){switch(arguments.length){case 0:return new e;case 1:return new e(n);case 2:return new e(n,r)}return new e(n,r,i)}return s(e,this,arguments)};return t.prototype=e.prototype,t};e.exports=function(e,t){var n,s,f,d,_,y,g,b,v,w=e.target,E=e.global,x=e.stat,j=e.proto,S=E?r:x?r[w]:(r[w]||{}).prototype,O=E?u:u[w]||p(u,w,{})[w],P=O.prototype;for(d in t)s=!(n=c(E?d:w+(x?".":"#")+d,e.forced))&&S&&h(S,d),y=O[d],s&&(g=e.dontCallGetSet?(v=a(S,d))&&v.value:S[d]),_=s&&g?g:t[d],s&&typeof y==typeof _||(b=e.bind&&s?l(_,r):e.wrap&&s?m(_):j&&o(_)?i(_):_,(e.sham||_&&_.sham||y&&y.sham)&&p(b,"sham",!0),p(O,d,b),j&&(h(u,f=w+"Prototype")||p(u,f,{}),p(u[f],d,_),e.real&&P&&(n||!P[d])&&p(P,d,_)))}},2998:e=>{"use strict";e.exports=function(e){try{return!!e()}catch(e){return!0}}},4877:(e,t,n)=>{"use strict";var r=n(5083),s=Function.prototype,i=s.apply,o=s.call;e.exports="object"==typeof Reflect&&Reflect.apply||(r?o.bind(i):function(){return o.apply(i,arguments)})},1207:(e,t,n)=>{"use strict";var r=n(9730),s=n(5375),i=n(5083),o=r(r.bind);e.exports=function(e,t){return s(e),void 0===t?e:i?o(e,t):function(){return e.apply(t,arguments)}}},5083:(e,t,n)=>{"use strict";var r=n(2998);e.exports=!r((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))},200:(e,t,n)=>{"use strict";var r=n(5083),s=Function.prototype.call;e.exports=r?s.bind(s):function(){return s.apply(s,arguments)}},5339:(e,t,n)=>{"use strict";var r=n(1815),s=n(3941),i=Function.prototype,o=r&&Object.getOwnPropertyDescriptor,a=s(i,"name"),c=a&&"something"===function(){}.name,u=a&&(!r||r&&o(i,"name").configurable);e.exports={EXISTS:a,PROPER:c,CONFIGURABLE:u}},2799:(e,t,n)=>{"use strict";var r=n(8814),s=n(5375);e.exports=function(e,t,n){try{return r(s(Object.getOwnPropertyDescriptor(e,t)[n]))}catch(e){}}},9730:(e,t,n)=>{"use strict";var r=n(88),s=n(8814);e.exports=function(e){if("Function"===r(e))return s(e)}},8814:(e,t,n)=>{"use strict";var r=n(5083),s=Function.prototype,i=s.call,o=r&&s.bind.bind(i,i);e.exports=r?o:function(e){return function(){return i.apply(e,arguments)}}},6589:(e,t,n)=>{"use strict";var r=n(8422),s=n(8426),i=n(8563),o=function(e){return i(e)?e:void 0};e.exports=function(e,t){return arguments.length<2?o(r[e])||o(s[e]):r[e]&&r[e][t]||s[e]&&s[e][t]}},2630:(e,t,n)=>{"use strict";var r=n(2327),s=n(2833),i=n(5157),o=n(2444),a=n(379)("iterator");e.exports=function(e){if(!i(e))return s(e,a)||s(e,"@@iterator")||o[r(e)]}},1291:(e,t,n)=>{"use strict";var r=n(200),s=n(5375),i=n(457),o=n(5787),a=n(2630),c=TypeError;e.exports=function(e,t){var n=arguments.length<2?a(e):t;if(s(n))return i(r(n,e));throw new c(o(e)+" is not iterable")}},2833:(e,t,n)=>{"use strict";var r=n(5375),s=n(5157);e.exports=function(e,t){var n=e[t];return s(n)?void 0:r(n)}},8426:function(e,t,n){"use strict";var r=function(e){return e&&e.Math===Math&&e};e.exports=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof n.g&&n.g)||r("object"==typeof this&&this)||function(){return this}()||Function("return this")()},3941:(e,t,n)=>{"use strict";var r=n(8814),s=n(8389),i=r({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return i(s(e),t)}},3006:e=>{"use strict";e.exports={}},4812:(e,t,n)=>{"use strict";var r=n(6589);e.exports=r("document","documentElement")},4632:(e,t,n)=>{"use strict";var r=n(1815),s=n(2998),i=n(6327);e.exports=!r&&!s((function(){return 7!==Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},6541:(e,t,n)=>{"use strict";var r=n(8814),s=n(2998),i=n(88),o=Object,a=r("".split);e.exports=s((function(){return!o("z").propertyIsEnumerable(0)}))?function(e){return"String"===i(e)?a(e,""):o(e)}:o},9330:(e,t,n)=>{"use strict";var r=n(8563),s=n(8257),i=n(8597);e.exports=function(e,t,n){var o,a;return i&&r(o=t.constructor)&&o!==n&&s(a=o.prototype)&&a!==n.prototype&&i(e,a),e}},1609:(e,t,n)=>{"use strict";var r=n(8257),s=n(1370);e.exports=function(e,t){r(t)&&"cause"in t&&s(e,"cause",t.cause)}},8551:(e,t,n)=>{"use strict";var r,s,i,o=n(8268),a=n(8426),c=n(8257),u=n(1370),l=n(3941),p=n(6028),h=n(5430),m=n(3006),f="Object already initialized",d=a.TypeError,_=a.WeakMap;if(o||p.state){var y=p.state||(p.state=new _);y.get=y.get,y.has=y.has,y.set=y.set,r=function(e,t){if(y.has(e))throw new d(f);return t.facade=e,y.set(e,t),t},s=function(e){return y.get(e)||{}},i=function(e){return y.has(e)}}else{var g=h("state");m[g]=!0,r=function(e,t){if(l(e,g))throw new d(f);return t.facade=e,u(e,g,t),t},s=function(e){return l(e,g)?e[g]:{}},i=function(e){return l(e,g)}}e.exports={set:r,get:s,has:i,enforce:function(e){return i(e)?s(e):r(e,{})},getterFor:function(e){return function(t){var n;if(!c(t)||(n=s(t)).type!==e)throw new d("Incompatible receiver, "+e+" required");return n}}}},2576:(e,t,n)=>{"use strict";var r=n(379),s=n(2444),i=r("iterator"),o=Array.prototype;e.exports=function(e){return void 0!==e&&(s.Array===e||o[i]===e)}},8563:(e,t,n)=>{"use strict";var r=n(5361),s=r.all;e.exports=r.IS_HTMLDDA?function(e){return"function"==typeof e||e===s}:function(e){return"function"==typeof e}},8722:(e,t,n)=>{"use strict";var r=n(2998),s=n(8563),i=/#|\.prototype\./,o=function(e,t){var n=c[a(e)];return n===l||n!==u&&(s(t)?r(t):!!t)},a=o.normalize=function(e){return String(e).replace(i,".").toLowerCase()},c=o.data={},u=o.NATIVE="N",l=o.POLYFILL="P";e.exports=o},5157:e=>{"use strict";e.exports=function(e){return null==e}},8257:(e,t,n)=>{"use strict";var r=n(8563),s=n(5361),i=s.all;e.exports=s.IS_HTMLDDA?function(e){return"object"==typeof e?null!==e:r(e)||e===i}:function(e){return"object"==typeof e?null!==e:r(e)}},7736:e=>{"use strict";e.exports=!0},6753:(e,t,n)=>{"use strict";var r=n(6589),s=n(8563),i=n(7367),o=n(9378),a=Object;e.exports=o?function(e){return"symbol"==typeof e}:function(e){var t=r("Symbol");return s(t)&&i(t.prototype,a(e))}},3490:(e,t,n)=>{"use strict";var r=n(1207),s=n(200),i=n(457),o=n(5787),a=n(2576),c=n(8960),u=n(7367),l=n(1291),p=n(2630),h=n(6889),m=TypeError,f=function(e,t){this.stopped=e,this.result=t},d=f.prototype;e.exports=function(e,t,n){var _,y,g,b,v,w,E,x=n&&n.that,j=!(!n||!n.AS_ENTRIES),S=!(!n||!n.IS_RECORD),O=!(!n||!n.IS_ITERATOR),P=!(!n||!n.INTERRUPTED),A=r(t,x),k=function(e){return _&&h(_,"normal",e),new f(!0,e)},N=function(e){return j?(i(e),P?A(e[0],e[1],k):A(e[0],e[1])):P?A(e,k):A(e)};if(S)_=e.iterator;else if(O)_=e;else{if(!(y=p(e)))throw new m(o(e)+" is not iterable");if(a(y)){for(g=0,b=c(e);b>g;g++)if((v=N(e[g]))&&u(d,v))return v;return new f(!1)}_=l(e,y)}for(w=S?e.next:_.next;!(E=s(w,_)).done;){try{v=N(E.value)}catch(e){h(_,"throw",e)}if("object"==typeof v&&v&&u(d,v))return v}return new f(!1)}},6889:(e,t,n)=>{"use strict";var r=n(200),s=n(457),i=n(2833);e.exports=function(e,t,n){var o,a;s(e);try{if(!(o=i(e,"return"))){if("throw"===t)throw n;return n}o=r(o,e)}catch(e){a=!0,o=e}if("throw"===t)throw n;if(a)throw o;return s(o),n}},7323:(e,t,n)=>{"use strict";var r=n(374).IteratorPrototype,s=n(1504),i=n(7971),o=n(9468),a=n(2444),c=function(){return this};e.exports=function(e,t,n,u){var l=t+" Iterator";return e.prototype=s(r,{next:i(+!u,n)}),o(e,l,!1,!0),a[l]=c,e}},5994:(e,t,n)=>{"use strict";var r=n(9011),s=n(200),i=n(7736),o=n(5339),a=n(8563),c=n(7323),u=n(9814),l=n(8597),p=n(9468),h=n(1370),m=n(4500),f=n(379),d=n(2444),_=n(374),y=o.PROPER,g=o.CONFIGURABLE,b=_.IteratorPrototype,v=_.BUGGY_SAFARI_ITERATORS,w=f("iterator"),E="keys",x="values",j="entries",S=function(){return this};e.exports=function(e,t,n,o,f,_,O){c(n,t,o);var P,A,k,N=function(e){if(e===f&&T)return T;if(!v&&e&&e in I)return I[e];switch(e){case E:case x:case j:return function(){return new n(this,e)}}return function(){return new n(this)}},M=t+" Iterator",R=!1,I=e.prototype,C=I[w]||I["@@iterator"]||f&&I[f],T=!v&&C||N(f),F="Array"===t&&I.entries||C;if(F&&(P=u(F.call(new e)))!==Object.prototype&&P.next&&(i||u(P)===b||(l?l(P,b):a(P[w])||m(P,w,S)),p(P,M,!0,!0),i&&(d[M]=S)),y&&f===x&&C&&C.name!==x&&(!i&&g?h(I,"name",x):(R=!0,T=function(){return s(C,this)})),f)if(A={values:N(x),keys:_?T:N(E),entries:N(j)},O)for(k in A)(v||R||!(k in I))&&m(I,k,A[k]);else r({target:t,proto:!0,forced:v||R},A);return i&&!O||I[w]===T||m(I,w,T,{name:f}),d[t]=T,A}},374:(e,t,n)=>{"use strict";var r,s,i,o=n(2998),a=n(8563),c=n(8257),u=n(1504),l=n(9814),p=n(4500),h=n(379),m=n(7736),f=h("iterator"),d=!1;[].keys&&("next"in(i=[].keys())?(s=l(l(i)))!==Object.prototype&&(r=s):d=!0),!c(r)||o((function(){var e={};return r[f].call(e)!==e}))?r={}:m&&(r=u(r)),a(r[f])||p(r,f,(function(){return this})),e.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:d}},2444:e=>{"use strict";e.exports={}},8960:(e,t,n)=>{"use strict";var r=n(9261);e.exports=function(e){return r(e.length)}},5703:e=>{"use strict";var t=Math.ceil,n=Math.floor;e.exports=Math.trunc||function(e){var r=+e;return(r>0?n:t)(r)}},5517:(e,t,n)=>{"use strict";var r=n(4809);e.exports=function(e,t){return void 0===e?arguments.length<2?"":t:r(e)}},1504:(e,t,n)=>{"use strict";var r,s=n(457),i=n(8253),o=n(8573),a=n(3006),c=n(4812),u=n(6327),l=n(5430),p="prototype",h="script",m=l("IE_PROTO"),f=function(){},d=function(e){return"<"+h+">"+e+"</"+h+">"},_=function(e){e.write(d("")),e.close();var t=e.parentWindow.Object;return e=null,t},y=function(){try{r=new ActiveXObject("htmlfile")}catch(e){}var e,t,n;y="undefined"!=typeof document?document.domain&&r?_(r):(t=u("iframe"),n="java"+h+":",t.style.display="none",c.appendChild(t),t.src=String(n),(e=t.contentWindow.document).open(),e.write(d("document.F=Object")),e.close(),e.F):_(r);for(var s=o.length;s--;)delete y[p][o[s]];return y()};a[m]=!0,e.exports=Object.create||function(e,t){var n;return null!==e?(f[p]=s(e),n=new f,f[p]=null,n[m]=e):n=y(),void 0===t?n:i.f(n,t)}},8253:(e,t,n)=>{"use strict";var r=n(1815),s=n(4210),i=n(4376),o=n(457),a=n(4312),c=n(4230);t.f=r&&!s?Object.defineProperties:function(e,t){o(e);for(var n,r=a(t),s=c(t),u=s.length,l=0;u>l;)i.f(e,n=s[l++],r[n]);return e}},4376:(e,t,n)=>{"use strict";var r=n(1815),s=n(4632),i=n(4210),o=n(457),a=n(9722),c=TypeError,u=Object.defineProperty,l=Object.getOwnPropertyDescriptor,p="enumerable",h="configurable",m="writable";t.f=r?i?function(e,t,n){if(o(e),t=a(t),o(n),"function"==typeof e&&"prototype"===t&&"value"in n&&m in n&&!n[m]){var r=l(e,t);r&&r[m]&&(e[t]=n.value,n={configurable:h in n?n[h]:r[h],enumerable:p in n?n[p]:r[p],writable:!1})}return u(e,t,n)}:u:function(e,t,n){if(o(e),t=a(t),o(n),s)try{return u(e,t,n)}catch(e){}if("get"in n||"set"in n)throw new c("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},3335:(e,t,n)=>{"use strict";var r=n(1815),s=n(200),i=n(2886),o=n(7971),a=n(4312),c=n(9722),u=n(3941),l=n(4632),p=Object.getOwnPropertyDescriptor;t.f=r?p:function(e,t){if(e=a(e),t=c(t),l)try{return p(e,t)}catch(e){}if(u(e,t))return o(!s(i.f,e,t),e[t])}},4243:(e,t,n)=>{"use strict";var r=n(4062),s=n(8573).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,s)}},2306:(e,t)=>{"use strict";t.f=Object.getOwnPropertySymbols},9814:(e,t,n)=>{"use strict";var r=n(3941),s=n(8563),i=n(8389),o=n(5430),a=n(8536),c=o("IE_PROTO"),u=Object,l=u.prototype;e.exports=a?u.getPrototypeOf:function(e){var t=i(e);if(r(t,c))return t[c];var n=t.constructor;return s(n)&&t instanceof n?n.prototype:t instanceof u?l:null}},7367:(e,t,n)=>{"use strict";var r=n(8814);e.exports=r({}.isPrototypeOf)},4062:(e,t,n)=>{"use strict";var r=n(8814),s=n(3941),i=n(4312),o=n(3346).indexOf,a=n(3006),c=r([].push);e.exports=function(e,t){var n,r=i(e),u=0,l=[];for(n in r)!s(a,n)&&s(r,n)&&c(l,n);for(;t.length>u;)s(r,n=t[u++])&&(~o(l,n)||c(l,n));return l}},4230:(e,t,n)=>{"use strict";var r=n(4062),s=n(8573);e.exports=Object.keys||function(e){return r(e,s)}},2886:(e,t)=>{"use strict";var n={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,s=r&&!n.call({1:2},1);t.f=s?function(e){var t=r(this,e);return!!t&&t.enumerable}:n},8597:(e,t,n)=>{"use strict";var r=n(2799),s=n(457),i=n(692);e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=r(Object.prototype,"__proto__","set"))(n,[]),t=n instanceof Array}catch(e){}return function(n,r){return s(n),i(r),t?e(n,r):n.__proto__=r,n}}():void 0)},3024:(e,t,n)=>{"use strict";var r=n(6694),s=n(2327);e.exports=r?{}.toString:function(){return"[object "+s(this)+"]"}},2483:(e,t,n)=>{"use strict";var r=n(200),s=n(8563),i=n(8257),o=TypeError;e.exports=function(e,t){var n,a;if("string"===t&&s(n=e.toString)&&!i(a=r(n,e)))return a;if(s(n=e.valueOf)&&!i(a=r(n,e)))return a;if("string"!==t&&s(n=e.toString)&&!i(a=r(n,e)))return a;throw new o("Can't convert object to primitive value")}},5956:(e,t,n)=>{"use strict";var r=n(6589),s=n(8814),i=n(4243),o=n(2306),a=n(457),c=s([].concat);e.exports=r("Reflect","ownKeys")||function(e){var t=i.f(a(e)),n=o.f;return n?c(t,n(e)):t}},8422:e=>{"use strict";e.exports={}},3142:(e,t,n)=>{"use strict";var r=n(4376).f;e.exports=function(e,t,n){n in e||r(e,n,{configurable:!0,get:function(){return t[n]},set:function(e){t[n]=e}})}},8280:(e,t,n)=>{"use strict";var r=n(5157),s=TypeError;e.exports=function(e){if(r(e))throw new s("Can't call method on "+e);return e}},9468:(e,t,n)=>{"use strict";var r=n(6694),s=n(4376).f,i=n(1370),o=n(3941),a=n(3024),c=n(379)("toStringTag");e.exports=function(e,t,n,u){if(e){var l=n?e:e.prototype;o(l,c)||s(l,c,{configurable:!0,value:t}),u&&!r&&i(l,"toString",a)}}},5430:(e,t,n)=>{"use strict";var r=n(3771),s=n(9216),i=r("keys");e.exports=function(e){return i[e]||(i[e]=s(e))}},6028:(e,t,n)=>{"use strict";var r=n(8426),s=n(8194),i="__core-js_shared__",o=r[i]||s(i,{});e.exports=o},3771:(e,t,n)=>{"use strict";var r=n(7736),s=n(6028);(e.exports=function(e,t){return s[e]||(s[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.33.3",mode:r?"pure":"global",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.33.3/LICENSE",source:"https://github.com/zloirock/core-js"})},7415:(e,t,n)=>{"use strict";var r=n(8814),s=n(1061),i=n(4809),o=n(8280),a=r("".charAt),c=r("".charCodeAt),u=r("".slice),l=function(e){return function(t,n){var r,l,p=i(o(t)),h=s(n),m=p.length;return h<0||h>=m?e?"":void 0:(r=c(p,h))<55296||r>56319||h+1===m||(l=c(p,h+1))<56320||l>57343?e?a(p,h):r:e?u(p,h,h+2):l-56320+(r-55296<<10)+65536}};e.exports={codeAt:l(!1),charAt:l(!0)}},3772:(e,t,n)=>{"use strict";var r=n(5057),s=n(2998),i=n(8426).String;e.exports=!!Object.getOwnPropertySymbols&&!s((function(){var e=Symbol("symbol detection");return!i(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&r&&r<41}))},1940:(e,t,n)=>{"use strict";var r=n(1061),s=Math.max,i=Math.min;e.exports=function(e,t){var n=r(e);return n<0?s(n+t,0):i(n,t)}},4312:(e,t,n)=>{"use strict";var r=n(6541),s=n(8280);e.exports=function(e){return r(s(e))}},1061:(e,t,n)=>{"use strict";var r=n(5703);e.exports=function(e){var t=+e;return t!=t||0===t?0:r(t)}},9261:(e,t,n)=>{"use strict";var r=n(1061),s=Math.min;e.exports=function(e){return e>0?s(r(e),9007199254740991):0}},8389:(e,t,n)=>{"use strict";var r=n(8280),s=Object;e.exports=function(e){return s(r(e))}},6561:(e,t,n)=>{"use strict";var r=n(200),s=n(8257),i=n(6753),o=n(2833),a=n(2483),c=n(379),u=TypeError,l=c("toPrimitive");e.exports=function(e,t){if(!s(e)||i(e))return e;var n,c=o(e,l);if(c){if(void 0===t&&(t="default"),n=r(c,e,t),!s(n)||i(n))return n;throw new u("Can't convert object to primitive value")}return void 0===t&&(t="number"),a(e,t)}},9722:(e,t,n)=>{"use strict";var r=n(6561),s=n(6753);e.exports=function(e){var t=r(e,"string");return s(t)?t:t+""}},6694:(e,t,n)=>{"use strict";var r={};r[n(379)("toStringTag")]="z",e.exports="[object z]"===String(r)},4809:(e,t,n)=>{"use strict";var r=n(2327),s=String;e.exports=function(e){if("Symbol"===r(e))throw new TypeError("Cannot convert a Symbol value to a string");return s(e)}},5787:e=>{"use strict";var t=String;e.exports=function(e){try{return t(e)}catch(e){return"Object"}}},9216:(e,t,n)=>{"use strict";var r=n(8814),s=0,i=Math.random(),o=r(1..toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+o(++s+i,36)}},9378:(e,t,n)=>{"use strict";var r=n(3772);e.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},4210:(e,t,n)=>{"use strict";var r=n(1815),s=n(2998);e.exports=r&&s((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},8268:(e,t,n)=>{"use strict";var r=n(8426),s=n(8563),i=r.WeakMap;e.exports=s(i)&&/native code/.test(String(i))},379:(e,t,n)=>{"use strict";var r=n(8426),s=n(3771),i=n(3941),o=n(9216),a=n(3772),c=n(9378),u=r.Symbol,l=s("wks"),p=c?u.for||u:u&&u.withoutSetter||o;e.exports=function(e){return i(l,e)||(l[e]=a&&i(u,e)?u[e]:p("Symbol."+e)),l[e]}},9791:(e,t,n)=>{"use strict";var r=n(6589),s=n(3941),i=n(1370),o=n(7367),a=n(8597),c=n(1318),u=n(3142),l=n(9330),p=n(5517),h=n(1609),m=n(4151),f=n(1815),d=n(7736);e.exports=function(e,t,n,_){var y="stackTraceLimit",g=_?2:1,b=e.split("."),v=b[b.length-1],w=r.apply(null,b);if(w){var E=w.prototype;if(!d&&s(E,"cause")&&delete E.cause,!n)return w;var x=r("Error"),j=t((function(e,t){var n=p(_?t:e,void 0),r=_?new w(e):new w;return void 0!==n&&i(r,"message",n),m(r,j,r.stack,2),this&&o(E,this)&&l(r,this,j),arguments.length>g&&h(r,arguments[g]),r}));if(j.prototype=E,"Error"!==v?a?a(j,x):c(j,x,{name:!0}):f&&y in w&&(u(j,w,y),u(j,w,"prepareStackTrace")),c(j,w),!d)try{E.name!==v&&i(E,"name",v),E.constructor=j}catch(e){}return j}}},1835:(e,t,n)=>{"use strict";var r=n(9011),s=n(6589),i=n(4877),o=n(2998),a=n(9791),c="AggregateError",u=s(c),l=!o((function(){return 1!==u([1]).errors[0]}))&&o((function(){return 7!==u([1],c,{cause:7}).cause}));r({global:!0,constructor:!0,arity:2,forced:l},{AggregateError:a(c,(function(e){return function(t,n){return i(e,this,arguments)}}),l,!0)})},1320:(e,t,n)=>{"use strict";var r=n(9011),s=n(7367),i=n(9814),o=n(8597),a=n(1318),c=n(1504),u=n(1370),l=n(7971),p=n(1609),h=n(4151),m=n(3490),f=n(5517),d=n(379)("toStringTag"),_=Error,y=[].push,g=function(e,t){var n,r=s(b,this);o?n=o(new _,r?i(this):b):(n=r?this:c(b),u(n,d,"Error")),void 0!==t&&u(n,"message",f(t)),h(n,g,n.stack,1),arguments.length>2&&p(n,arguments[2]);var a=[];return m(e,y,{that:a}),u(n,"errors",a),n};o?o(g,_):a(g,_,{name:!0});var b=g.prototype=c(_.prototype,{constructor:l(1,g),message:l(1,""),name:l(1,"AggregateError")});r({global:!0,constructor:!0,arity:2},{AggregateError:g})},733:(e,t,n)=>{"use strict";n(1320)},6449:(e,t,n)=>{"use strict";var r=n(4312),s=n(7171),i=n(2444),o=n(8551),a=n(4376).f,c=n(5994),u=n(9497),l=n(7736),p=n(1815),h="Array Iterator",m=o.set,f=o.getterFor(h);e.exports=c(Array,"Array",(function(e,t){m(this,{type:h,target:r(e),index:0,kind:t})}),(function(){var e=f(this),t=e.target,n=e.index++;if(!t||n>=t.length)return e.target=void 0,u(void 0,!0);switch(e.kind){case"keys":return u(n,!1);case"values":return u(t[n],!1)}return u([n,t[n]],!1)}),"values");var d=i.Arguments=i.Array;if(s("keys"),s("values"),s("entries"),!l&&p&&"values"!==d.name)try{a(d,"name",{value:"values"})}catch(e){}},2777:(e,t,n)=>{"use strict";var r=n(9011),s=n(8426),i=n(4877),o=n(9791),a="WebAssembly",c=s[a],u=7!==new Error("e",{cause:7}).cause,l=function(e,t){var n={};n[e]=o(e,t,u),r({global:!0,constructor:!0,arity:1,forced:u},n)},p=function(e,t){if(c&&c[e]){var n={};n[e]=o(a+"."+e,t,u),r({target:a,stat:!0,constructor:!0,arity:1,forced:u},n)}};l("Error",(function(e){return function(t){return i(e,this,arguments)}})),l("EvalError",(function(e){return function(t){return i(e,this,arguments)}})),l("RangeError",(function(e){return function(t){return i(e,this,arguments)}})),l("ReferenceError",(function(e){return function(t){return i(e,this,arguments)}})),l("SyntaxError",(function(e){return function(t){return i(e,this,arguments)}})),l("TypeError",(function(e){return function(t){return i(e,this,arguments)}})),l("URIError",(function(e){return function(t){return i(e,this,arguments)}})),p("CompileError",(function(e){return function(t){return i(e,this,arguments)}})),p("LinkError",(function(e){return function(t){return i(e,this,arguments)}})),p("RuntimeError",(function(e){return function(t){return i(e,this,arguments)}}))},9383:(e,t,n)=>{"use strict";var r=n(7415).charAt,s=n(4809),i=n(8551),o=n(5994),a=n(9497),c="String Iterator",u=i.set,l=i.getterFor(c);o(String,"String",(function(e){u(this,{type:c,string:s(e),index:0})}),(function(){var e,t=l(this),n=t.string,s=t.index;return s>=n.length?a(void 0,!0):(e=r(n,s),t.index+=e.length,a(e,!1))}))},3584:(e,t,n)=>{"use strict";n(733)},6128:(e,t,n)=>{"use strict";n(6449);var r=n(8987),s=n(8426),i=n(2327),o=n(1370),a=n(2444),c=n(379)("toStringTag");for(var u in r){var l=s[u],p=l&&l.prototype;p&&i(p)!==c&&o(p,c,u),a[u]=a.Array}},7497:(e,t,n)=>{"use strict";n(3584);var r=n(3258);n(6128),e.exports=r}},t={};function n(r){var s=t[r];if(void 0!==s)return s.exports;var i=t[r]={id:r,loaded:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.loaded=!0,i.exports}n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{var e;n.g.importScripts&&(e=n.g.location+"");var t=n.g.document;if(!e&&t&&(t.currentScript&&(e=t.currentScript.src),!e)){var r=t.getElementsByTagName("script");if(r.length)for(var s=r.length-1;s>-1&&!e;)e=r[s--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),n.p=e})();var r={};return(()=>{"use strict";n.r(r),n.d(r,{detect:()=>wh,detectionRegExp:()=>vh,mediaTypes:()=>bh,namespace:()=>xh,parse:()=>Eh});var e={};n.r(e),n.d(e,{hasElementSourceMap:()=>sn,includesClasses:()=>an,includesSymbols:()=>on,isAnnotationElement:()=>Qt,isArrayElement:()=>Ht,isBooleanElement:()=>Jt,isCommentElement:()=>en,isElement:()=>zt,isLinkElement:()=>Xt,isMemberElement:()=>Zt,isNullElement:()=>Wt,isNumberElement:()=>Gt,isObjectElement:()=>Kt,isParseResultElement:()=>tn,isPrimitiveElement:()=>rn,isRefElement:()=>Yt,isSourceMapElement:()=>nn,isStringElement:()=>Ut});var t={};n.r(t),n.d(t,{isJSONReferenceElement:()=>Eo,isJSONSchemaElement:()=>wo,isLinkDescriptionElement:()=>jo,isMediaElement:()=>xo});var s={};n.r(s),n.d(s,{isOpenApi3_0LikeElement:()=>Zo,isOpenApiExtension:()=>ra,isParameterLikeElement:()=>Xo,isReferenceLikeElement:()=>Yo,isRequestBodyLikeElement:()=>Qo,isResponseLikeElement:()=>ea,isServerLikeElement:()=>ta,isTagLikeElement:()=>na});var i={};function o(e){return null!=e&&"object"==typeof e&&!0===e["@@functional/placeholder"]}function a(e){return function t(n){return 0===arguments.length||o(n)?t:e.apply(this,arguments)}}function c(e){return function t(n,r){switch(arguments.length){case 0:return t;case 1:return o(n)?t:a((function(t){return e(n,t)}));default:return o(n)&&o(r)?t:o(n)?a((function(t){return e(t,r)})):o(r)?a((function(t){return e(n,t)})):e(n,r)}}}function u(e){return function t(n,r,s){switch(arguments.length){case 0:return t;case 1:return o(n)?t:c((function(t,r){return e(n,t,r)}));case 2:return o(n)&&o(r)?t:o(n)?c((function(t,n){return e(t,r,n)})):o(r)?c((function(t,r){return e(n,t,r)})):a((function(t){return e(n,r,t)}));default:return o(n)&&o(r)&&o(s)?t:o(n)&&o(r)?c((function(t,n){return e(t,n,s)})):o(n)&&o(s)?c((function(t,n){return e(t,r,n)})):o(r)&&o(s)?c((function(t,r){return e(n,t,r)})):o(n)?a((function(t){return e(t,r,s)})):o(r)?a((function(t){return e(n,t,s)})):o(s)?a((function(t){return e(n,r,t)})):e(n,r,s)}}}n.r(i),n.d(i,{isBooleanJsonSchemaElement:()=>hc,isCallbackElement:()=>Wa,isComponentsElement:()=>Ja,isContactElement:()=>Ka,isExampleElement:()=>Ha,isExternalDocumentationElement:()=>Za,isHeaderElement:()=>Xa,isInfoElement:()=>Ya,isLicenseElement:()=>Qa,isLinkElement:()=>ec,isMediaTypeElement:()=>_c,isOpenApi3_0Element:()=>nc,isOpenapiElement:()=>tc,isOperationElement:()=>rc,isParameterElement:()=>sc,isPathItemElement:()=>ic,isPathsElement:()=>oc,isReferenceElement:()=>ac,isRequestBodyElement:()=>cc,isResponseElement:()=>uc,isResponsesElement:()=>lc,isSchemaElement:()=>pc,isSecurityRequirementElement:()=>mc,isServerElement:()=>fc,isServerVariableElement:()=>dc,isServersElement:()=>yc});const l=c((function(e,t){return null==t||t!=t?e:t})),p=Number.isInteger||function(e){return e<<0===e};function h(e){return"[object String]"===Object.prototype.toString.call(e)}const m=c((function(e,t){var n=e<0?t.length+e:e;return h(t)?t.charAt(n):t[n]}));const f=c((function(e,t){if(null!=t)return p(e)?m(e,t):t[e]}));const d=u((function(e,t,n){return l(e,f(t,n))}));var _=c((function(e,t){for(var n={},r={},s=0,i=e.length;s<i;)r[e[s]]=1,s+=1;for(var o in t)r.hasOwnProperty(o)||(n[o]=t[o]);return n}));const y=_;function g(e,t,n){for(var r=0,s=n.length;r<s;)t=e(t,n[r]),r+=1;return t}const b=Array.isArray||function(e){return null!=e&&e.length>=0&&"[object Array]"===Object.prototype.toString.call(e)};const v=a((function(e){return!!b(e)||!!e&&("object"==typeof e&&(!h(e)&&(0===e.length||e.length>0&&(e.hasOwnProperty(0)&&e.hasOwnProperty(e.length-1)))))}));var w="undefined"!=typeof Symbol?Symbol.iterator:"@@iterator";function E(e,t,n){return function(r,s,i){if(v(i))return e(r,s,i);if(null==i)return s;if("function"==typeof i["fantasy-land/reduce"])return t(r,s,i,"fantasy-land/reduce");if(null!=i[w])return n(r,s,i[w]());if("function"==typeof i.next)return n(r,s,i);if("function"==typeof i.reduce)return t(r,s,i,"reduce");throw new TypeError("reduce: list must be array or iterable")}}function x(e,t,n){for(var r=n.next();!r.done;)t=e(t,r.value),r=n.next();return t}function j(e,t,n,r){return n[r](e,t)}const S=E(g,j,x);function O(e,t,n){return function(){if(0===arguments.length)return n();var r=arguments[arguments.length-1];if(!b(r)){for(var s=0;s<e.length;){if("function"==typeof r[e[s]])return r[e[s]].apply(r,Array.prototype.slice.call(arguments,0,-1));s+=1}if(function(e){return null!=e&&"function"==typeof e["@@transducer/step"]}(r))return t.apply(null,Array.prototype.slice.call(arguments,0,-1))(r)}return n.apply(this,arguments)}}function P(e,t){for(var n=0,r=t.length,s=Array(r);n<r;)s[n]=e(t[n]),n+=1;return s}const A=function(){return this.xf["@@transducer/init"]()},k=function(e){return this.xf["@@transducer/result"](e)};var N=function(){function e(e,t){this.xf=t,this.f=e}return e.prototype["@@transducer/init"]=A,e.prototype["@@transducer/result"]=k,e.prototype["@@transducer/step"]=function(e,t){return this.xf["@@transducer/step"](e,this.f(t))},e}();const M=function(e){return function(t){return new N(e,t)}};function R(e,t){switch(e){case 0:return function(){return t.apply(this,arguments)};case 1:return function(e){return t.apply(this,arguments)};case 2:return function(e,n){return t.apply(this,arguments)};case 3:return function(e,n,r){return t.apply(this,arguments)};case 4:return function(e,n,r,s){return t.apply(this,arguments)};case 5:return function(e,n,r,s,i){return t.apply(this,arguments)};case 6:return function(e,n,r,s,i,o){return t.apply(this,arguments)};case 7:return function(e,n,r,s,i,o,a){return t.apply(this,arguments)};case 8:return function(e,n,r,s,i,o,a,c){return t.apply(this,arguments)};case 9:return function(e,n,r,s,i,o,a,c,u){return t.apply(this,arguments)};case 10:return function(e,n,r,s,i,o,a,c,u,l){return t.apply(this,arguments)};default:throw new Error("First argument to _arity must be a non-negative integer no greater than ten")}}function I(e,t,n){return function(){for(var r=[],s=0,i=e,a=0,c=!1;a<t.length||s<arguments.length;){var u;a<t.length&&(!o(t[a])||s>=arguments.length)?u=t[a]:(u=arguments[s],s+=1),r[a]=u,o(u)?c=!0:i-=1,a+=1}return!c&&i<=0?n.apply(this,r):R(Math.max(0,i),I(e,r,n))}}const C=c((function(e,t){return 1===e?a(t):R(e,I(e,[],t))}));function T(e,t){return Object.prototype.hasOwnProperty.call(t,e)}var F=Object.prototype.toString;const $=function(){return"[object Arguments]"===F.call(arguments)?function(e){return"[object Arguments]"===F.call(e)}:function(e){return T("callee",e)}}();var q=!{toString:null}.propertyIsEnumerable("toString"),L=["constructor","valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],B=function(){return arguments.propertyIsEnumerable("length")}(),D=function(e,t){for(var n=0;n<e.length;){if(e[n]===t)return!0;n+=1}return!1},V="function"!=typeof Object.keys||B?a((function(e){if(Object(e)!==e)return[];var t,n,r=[],s=B&&$(e);for(t in e)!T(t,e)||s&&"length"===t||(r[r.length]=t);if(q)for(n=L.length-1;n>=0;)T(t=L[n],e)&&!D(r,t)&&(r[r.length]=t),n-=1;return r})):a((function(e){return Object(e)!==e?[]:Object.keys(e)}));const z=V;const U=c(O(["fantasy-land/map","map"],M,(function(e,t){switch(Object.prototype.toString.call(t)){case"[object Function]":return C(t.length,(function(){return e.call(this,t.apply(this,arguments))}));case"[object Object]":return g((function(n,r){return n[r]=e(t[r]),n}),{},z(t));default:return P(e,t)}})));const G=c((function(e,t){return"function"==typeof t["fantasy-land/ap"]?t["fantasy-land/ap"](e):"function"==typeof e.ap?e.ap(t):"function"==typeof e?function(n){return e(n)(t(n))}:S((function(e,n){return function(e,t){var n;t=t||[];var r=(e=e||[]).length,s=t.length,i=[];for(n=0;n<r;)i[i.length]=e[n],n+=1;for(n=0;n<s;)i[i.length]=t[n],n+=1;return i}(e,U(n,t))}),[],e)}));const W=c((function(e,t){var n=C(e,t);return C(e,(function(){return g(G,U(n,arguments[0]),Array.prototype.slice.call(arguments,1))}))}));const J=a((function(e){return W(e.length,e)}));const K=J(a((function(e){return!e})));function H(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}function Z(e,t,n){for(var r=0,s=n.length;r<s;){if(e(t,n[r]))return!0;r+=1}return!1}const X="function"==typeof Object.is?Object.is:function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t};const Y=a((function(e){return null===e?"Null":void 0===e?"Undefined":Object.prototype.toString.call(e).slice(8,-1)}));function Q(e,t,n,r){var s=H(e);function i(e,t){return ee(e,t,n.slice(),r.slice())}return!Z((function(e,t){return!Z(i,t,e)}),H(t),s)}function ee(e,t,n,r){if(X(e,t))return!0;var s,i,o=Y(e);if(o!==Y(t))return!1;if("function"==typeof e["fantasy-land/equals"]||"function"==typeof t["fantasy-land/equals"])return"function"==typeof e["fantasy-land/equals"]&&e["fantasy-land/equals"](t)&&"function"==typeof t["fantasy-land/equals"]&&t["fantasy-land/equals"](e);if("function"==typeof e.equals||"function"==typeof t.equals)return"function"==typeof e.equals&&e.equals(t)&&"function"==typeof t.equals&&t.equals(e);switch(o){case"Arguments":case"Array":case"Object":if("function"==typeof e.constructor&&"Promise"===(s=e.constructor,null==(i=String(s).match(/^function (\w*)/))?"":i[1]))return e===t;break;case"Boolean":case"Number":case"String":if(typeof e!=typeof t||!X(e.valueOf(),t.valueOf()))return!1;break;case"Date":if(!X(e.valueOf(),t.valueOf()))return!1;break;case"Error":return e.name===t.name&&e.message===t.message;case"RegExp":if(e.source!==t.source||e.global!==t.global||e.ignoreCase!==t.ignoreCase||e.multiline!==t.multiline||e.sticky!==t.sticky||e.unicode!==t.unicode)return!1}for(var a=n.length-1;a>=0;){if(n[a]===e)return r[a]===t;a-=1}switch(o){case"Map":return e.size===t.size&&Q(e.entries(),t.entries(),n.concat([e]),r.concat([t]));case"Set":return e.size===t.size&&Q(e.values(),t.values(),n.concat([e]),r.concat([t]));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 c=z(e);if(c.length!==z(t).length)return!1;var u=n.concat([e]),l=r.concat([t]);for(a=c.length-1;a>=0;){var p=c[a];if(!T(p,t)||!ee(t[p],e[p],u,l))return!1;a-=1}return!0}const te=c((function(e,t){return ee(e,t,[],[])}));const ne=a((function(e){return function(){return e}}));const re=ne(void 0);const se=te(re());const ie=K(se);var oe=n(7952);function ae(e,t){return function(){return t.call(this,e.apply(this,arguments))}}function ce(e,t,n){for(var r=0,s=n.length;r<s;){if((t=e["@@transducer/step"](t,n[r]))&&t["@@transducer/reduced"]){t=t["@@transducer/value"];break}r+=1}return e["@@transducer/result"](t)}const ue=c((function(e,t){return R(e.length,(function(){return e.apply(t,arguments)}))}));function le(e,t,n){for(var r=n.next();!r.done;){if((t=e["@@transducer/step"](t,r.value))&&t["@@transducer/reduced"]){t=t["@@transducer/value"];break}r=n.next()}return e["@@transducer/result"](t)}function pe(e,t,n,r){return e["@@transducer/result"](n[r](ue(e["@@transducer/step"],e),t))}const he=E(ce,pe,le);var me=function(){function e(e){this.f=e}return e.prototype["@@transducer/init"]=function(){throw new Error("init not implemented on XWrap")},e.prototype["@@transducer/result"]=function(e){return e},e.prototype["@@transducer/step"]=function(e,t){return this.f(e,t)},e}();const fe=u((function(e,t,n){return he("function"==typeof e?new me(e):e,t,n)}));function de(e,t){return function(){var n=arguments.length;if(0===n)return t();var r=arguments[n-1];return b(r)||"function"!=typeof r[e]?t.apply(this,arguments):r[e].apply(r,Array.prototype.slice.call(arguments,0,n-1))}}const _e=u(de("slice",(function(e,t,n){return Array.prototype.slice.call(n,e,t)})));const ye=a(de("tail",_e(1,1/0)));function ge(){if(0===arguments.length)throw new Error("pipe requires at least one argument");return R(arguments[0].length,fe(ae,arguments[0],ye(arguments)))}var be=function(e,t){switch(arguments.length){case 0:return be;case 1:return function t(n){return 0===arguments.length?t:X(e,n)};default:return X(e,t)}};const ve=be;function we(e,t){return function(e,t,n){var r,s;if("function"==typeof e.indexOf)switch(typeof t){case"number":if(0===t){for(r=1/t;n<e.length;){if(0===(s=e[n])&&1/s===r)return n;n+=1}return-1}if(t!=t){for(;n<e.length;){if("number"==typeof(s=e[n])&&s!=s)return n;n+=1}return-1}return e.indexOf(t,n);case"string":case"boolean":case"function":case"undefined":return e.indexOf(t,n);case"object":if(null===t)return e.indexOf(t,n)}for(;n<e.length;){if(te(e[n],t))return n;n+=1}return-1}(t,e,0)>=0}function Ee(e){return'"'+e.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 xe=function(e){return(e<10?"0":"")+e};const je="function"==typeof Date.prototype.toISOString?function(e){return e.toISOString()}:function(e){return e.getUTCFullYear()+"-"+xe(e.getUTCMonth()+1)+"-"+xe(e.getUTCDate())+"T"+xe(e.getUTCHours())+":"+xe(e.getUTCMinutes())+":"+xe(e.getUTCSeconds())+"."+(e.getUTCMilliseconds()/1e3).toFixed(3).slice(2,5)+"Z"};function Se(e){return"[object Object]"===Object.prototype.toString.call(e)}var Oe=function(){function e(e,t){this.xf=t,this.f=e}return e.prototype["@@transducer/init"]=A,e.prototype["@@transducer/result"]=k,e.prototype["@@transducer/step"]=function(e,t){return this.f(t)?this.xf["@@transducer/step"](e,t):e},e}();function Pe(e){return function(t){return new Oe(e,t)}}const Ae=c(O(["fantasy-land/filter","filter"],Pe,(function(e,t){return Se(t)?g((function(n,r){return e(t[r])&&(n[r]=t[r]),n}),{},z(t)):function(e,t){for(var n=0,r=t.length,s=[];n<r;)e(t[n])&&(s[s.length]=t[n]),n+=1;return s}(e,t)})));const ke=c((function(e,t){return Ae((n=e,function(){return!n.apply(this,arguments)}),t);var n}));function Ne(e,t){var n=function(n){var r=t.concat([e]);return we(n,r)?"<Circular>":Ne(n,r)},r=function(e,t){return P((function(t){return Ee(t)+": "+n(e[t])}),t.slice().sort())};switch(Object.prototype.toString.call(e)){case"[object Arguments]":return"(function() { return arguments; }("+P(n,e).join(", ")+"))";case"[object Array]":return"["+P(n,e).concat(r(e,ke((function(e){return/^\d+$/.test(e)}),z(e)))).join(", ")+"]";case"[object Boolean]":return"object"==typeof e?"new Boolean("+n(e.valueOf())+")":e.toString();case"[object Date]":return"new Date("+(isNaN(e.valueOf())?n(NaN):Ee(je(e)))+")";case"[object Map]":return"new Map("+n(Array.from(e))+")";case"[object Null]":return"null";case"[object Number]":return"object"==typeof e?"new Number("+n(e.valueOf())+")":1/e==-1/0?"-0":e.toString(10);case"[object Set]":return"new Set("+n(Array.from(e).sort())+")";case"[object String]":return"object"==typeof e?"new String("+n(e.valueOf())+")":Ee(e);case"[object Undefined]":return"undefined";default:if("function"==typeof e.toString){var s=e.toString();if("[object Object]"!==s)return s}return"{"+r(e,z(e)).join(", ")+"}"}}const Me=a((function(e){return Ne(e,[])}));const Re=c((function(e,t){return e.map((function(e){for(var n,r=t,s=0;s<e.length;){if(null==r)return;n=e[s],r=p(n)?m(n,r):r[n],s+=1}return r}))}));const Ie=c((function(e,t){return Re([e],t)[0]}));const Ce=u((function(e,t,n){return e(Ie(t,n))}));function Te(e){var t=Object.prototype.toString.call(e);return"[object Function]"===t||"[object AsyncFunction]"===t||"[object GeneratorFunction]"===t||"[object AsyncGeneratorFunction]"===t}const Fe=c((function(e,t){return e&&t}));const $e=c((function(e,t){return Te(e)?function(){return e.apply(this,arguments)&&t.apply(this,arguments)}:J(Fe)(e,t)}));const qe=te(null);const Le=K(qe);function Be(e){return Be="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Be(e)}const De=function(e){return"object"===Be(e)};const Ve=C(1,$e(Le,De));const ze=c((function(e,t){if(e===t)return t;function n(e,t){if(e>t!=t>e)return t>e?t:e}var r=n(e,t);if(void 0!==r)return r;var s=n(typeof e,typeof t);if(void 0!==s)return s===typeof e?e:t;var i=Me(e),o=n(i,Me(t));return void 0!==o&&o===i?e:t}));const Ue=c((function(e,t){return U(f(e),t)}));const Ge=a((function(e){return C(fe(ze,0,Ue("length",e)),(function(){for(var t=0,n=e.length;t<n;){if(e[t].apply(this,arguments))return!0;t+=1}return!1}))}));const We=C(1,ge(Y,ve("GeneratorFunction")));const Je=C(1,ge(Y,ve("AsyncFunction")));const Ke=Ge([ge(Y,ve("Function")),We,Je]);var He=ge(Y,ve("Object")),Ze=ge(Me,te(Me(Object))),Xe=Ce($e(Ke,Ze),["constructor"]);const Ye=C(1,(function(e){if(!Ve(e)||!He(e))return!1;var t=Object.getPrototypeOf(e);return!!qe(t)||Xe(t)}));class Qe extends oe.RP{constructor(e,t,n){super(e,t,n),this.element="annotation"}get code(){return this.attributes.get("code")}set code(e){this.attributes.set("code",e)}}const et=Qe;class tt extends oe.RP{constructor(e,t,n){super(e,t,n),this.element="comment"}}const nt=tt;class rt extends oe.ON{constructor(e,t,n){super(e,t,n),this.element="parseResult"}get api(){return this.children.filter((e=>e.classes.contains("api"))).first}get results(){return this.children.filter((e=>e.classes.contains("result")))}get result(){return this.results.first}get annotations(){return this.children.filter((e=>"annotation"===e.element))}get warnings(){return this.children.filter((e=>"annotation"===e.element&&e.classes.contains("warning")))}get errors(){return this.children.filter((e=>"annotation"===e.element&&e.classes.contains("error")))}get isEmpty(){return this.children.reject((e=>"annotation"===e.element)).isEmpty}replaceResult(e){const{result:t}=this;if(se(t))return!1;const n=this.content.findIndex((e=>e===t));return-1!==n&&(this.content[n]=e,!0)}}const st=rt;class it extends oe.ON{constructor(e,t,n){super(e,t,n),this.element="sourceMap"}get positionStart(){return this.children.filter((e=>e.classes.contains("position"))).get(0)}get positionEnd(){return this.children.filter((e=>e.classes.contains("position"))).get(1)}set position(e){if(null===e)return;const t=new oe.ON([e.start.row,e.start.column,e.start.char]),n=new oe.ON([e.end.row,e.end.column,e.end.char]);t.classes.push("position"),n.classes.push("position"),this.push(t).push(n)}}const ot=it;class at extends oe.lS{constructor(){super(),this.register("annotation",et),this.register("comment",nt),this.register("parseResult",st),this.register("sourceMap",ot)}}const ct=new at,ut=e=>{const t=new at;return Ye(e)&&t.use(e),t},lt=ct;const pt=C(1,ge(Y,ve("String"))),ht=n.p+"23aac571c96605dc25219087ad291441.wasm",mt=globalThis.fetch;Ke(mt)&&(globalThis.fetch=(...e)=>pt(e[0])&&e[0].endsWith("tree-sitter.wasm")?mt.apply(globalThis,[ht,ye(e)]):mt.apply(globalThis,e));var ft=n(9794),dt=n(1427);const _t=class extends dt{constructor(e,t,n){if(super(e,t,n),this.name=this.constructor.name,"string"==typeof t&&(this.message=t),"function"==typeof Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error(t).stack,null!=n&&"object"==typeof n&&Object.hasOwn(n,"cause")&&!("cause"in this)){const{cause:e}=n;this.cause=e,e instanceof Error&&"stack"in e&&(this.stack=`${this.stack}\nCAUSE: ${e.stack}`)}}};class yt extends Error{static[Symbol.hasInstance](e){return super[Symbol.hasInstance](e)||Function.prototype[Symbol.hasInstance].call(_t,e)}constructor(e,t){if(super(e,t),this.name=this.constructor.name,"string"==typeof e&&(this.message=e),"function"==typeof Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error(e).stack,null!=t&&"object"==typeof t&&Object.hasOwn(t,"cause")&&!("cause"in this)){const{cause:e}=t;this.cause=e,e instanceof Error&&"stack"in e&&(this.stack=`${this.stack}\nCAUSE: ${e.stack}`)}}}const gt=yt,bt=n.p+"13ee407b2f9bd26c94370902ddeb5bcf.wasm";let vt=null,wt=null;const Et=async e=>{if(null===vt&&null===wt)wt=ft.init().then((()=>ft.Language.load(bt))).then((e=>{const t=new ft;return t.setLanguage(e),t})).finally((()=>{wt=null})),vt=await wt;else if(null===vt&&null!==wt)vt=await wt;else if(null===vt)throw new gt("Error while initializing web-tree-sitter and loading tree-sitter-json grammar.");return vt.parse(e)};const xt=class extends gt{constructor(e,t){if(super(e,t),null!=t&&"object"==typeof t){const{cause:e,...n}=t;Object.assign(this,n)}}},jt=(e,t,n)=>{const r=e[t];if(null!=r){if(!n&&"function"==typeof r)return r;const e=n?r.leave:r.enter;if("function"==typeof e)return e}else{const r=n?e.leave:e.enter;if(null!=r){if("function"==typeof r)return r;const e=r[t];if("function"==typeof e)return e}}return null},St={},Ot=e=>null==e?void 0:e.type,Pt=e=>"string"==typeof Ot(e),At=e=>Object.create(Object.getPrototypeOf(e),Object.getOwnPropertyDescriptors(e)),kt=(e,t,{keyMap:n=null,state:r={},breakSymbol:s=St,deleteNodeSymbol:i=null,skipVisitingNodeSymbol:o=!1,visitFnGetter:a=jt,nodeTypeGetter:c=Ot,nodePredicate:u=Pt,nodeCloneFn:l=At,detectCycles:p=!0}={})=>{const h=n||{};let m,f,d=Array.isArray(e),_=[e],y=-1,g=[],b=e;const v=[],w=[];do{y+=1;const e=y===_.length;let n;const x=e&&0!==g.length;if(e){if(n=0===w.length?void 0:v.pop(),b=f,f=w.pop(),x)if(d){b=b.slice();let e=0;for(const[t,n]of g){const r=t-e;n===i?(b.splice(r,1),e+=1):b[r]=n}}else{b=l(b);for(const[e,t]of g)b[e]=t}y=m.index,_=m.keys,g=m.edits,d=m.inArray,m=m.prev}else if(f!==i&&void 0!==f){if(n=d?y:_[y],b=f[n],b===i||void 0===b)continue;v.push(n)}let j;if(!Array.isArray(b)){if(!u(b))throw new xt(`Invalid AST Node: ${String(b)}`,{node:b});if(p&&w.includes(b)){v.pop();continue}const i=a(t,c(b),e);if(i){for(const[e,n]of Object.entries(r))t[e]=n;j=i.call(t,b,n,f,v,w)}if(j===s)break;if(j===o){if(!e){v.pop();continue}}else if(void 0!==j&&(g.push([n,j]),!e)){if(!u(j)){v.pop();continue}b=j}}var E;if(void 0===j&&x&&g.push([n,b]),!e)m={inArray:d,index:y,keys:_,edits:g,prev:m},d=Array.isArray(b),_=d?b:null!==(E=h[c(b)])&&void 0!==E?E:[],y=-1,g=[],f!==i&&void 0!==f&&w.push(f),f=b}while(void 0!==m);return 0!==g.length?g[g.length-1][1]:e};kt[Symbol.for("nodejs.util.promisify.custom")]=async(e,t,{keyMap:n=null,state:r={},breakSymbol:s=St,deleteNodeSymbol:i=null,skipVisitingNodeSymbol:o=!1,visitFnGetter:a=jt,nodeTypeGetter:c=Ot,nodePredicate:u=Pt,nodeCloneFn:l=At,detectCycles:p=!0}={})=>{const h=n||{};let m,f,d=Array.isArray(e),_=[e],y=-1,g=[],b=e;const v=[],w=[];do{y+=1;const e=y===_.length;let n;const x=e&&0!==g.length;if(e){if(n=0===w.length?void 0:v.pop(),b=f,f=w.pop(),x)if(d){b=b.slice();let e=0;for(const[t,n]of g){const r=t-e;n===i?(b.splice(r,1),e+=1):b[r]=n}}else{b=l(b);for(const[e,t]of g)b[e]=t}y=m.index,_=m.keys,g=m.edits,d=m.inArray,m=m.prev}else if(f!==i&&void 0!==f){if(n=d?y:_[y],b=f[n],b===i||void 0===b)continue;v.push(n)}let j;if(!Array.isArray(b)){if(!u(b))throw new xt(`Invalid AST Node: ${String(b)}`,{node:b});if(p&&w.includes(b)){v.pop();continue}const i=a(t,c(b),e);if(i){for(const[e,n]of Object.entries(r))t[e]=n;j=await i.call(t,b,n,f,v,w)}if(j===s)break;if(j===o){if(!e){v.pop();continue}}else if(void 0!==j&&(g.push([n,j]),!e)){if(!u(j)){v.pop();continue}b=j}}var E;if(void 0===j&&x&&g.push([n,b]),!e)m={inArray:d,index:y,keys:_,edits:g,prev:m},d=Array.isArray(b),_=d?b:null!==(E=h[c(b)])&&void 0!==E?E:[],y=-1,g=[],f!==i&&void 0!==f&&w.push(f),f=b}while(void 0!==m);return 0!==g.length?g[g.length-1][1]:e};var Nt=n(6591);const Mt=function(){return!1};function Rt(e){return e&&e["@@transducer/reduced"]?e:{"@@transducer/value":e,"@@transducer/reduced":!0}}var It=function(){function e(e,t){this.xf=t,this.f=e,this.all=!0}return e.prototype["@@transducer/init"]=A,e.prototype["@@transducer/result"]=function(e){return this.all&&(e=this.xf["@@transducer/step"](e,!0)),this.xf["@@transducer/result"](e)},e.prototype["@@transducer/step"]=function(e,t){return this.f(t)||(this.all=!1,e=Rt(this.xf["@@transducer/step"](e,!1))),e},e}();function Ct(e){return function(t){return new It(e,t)}}const Tt=c(O(["all"],Ct,(function(e,t){for(var n=0;n<t.length;){if(!e(t[n]))return!1;n+=1}return!0})));const Ft=a((function(e){return C(e.length,(function(t,n){var r=Array.prototype.slice.call(arguments,0);return r[0]=n,r[1]=t,e.apply(this,r)}))}))(c(we)),$t=(e,t)=>"object"==typeof t&&null!==t&&e in t&&"function"==typeof t[e],qt=e=>"object"==typeof e&&null!=e&&"_storedElement"in e&&"string"==typeof e._storedElement&&"_content"in e,Lt=(e,t)=>"object"==typeof t&&null!==t&&"primitive"in t&&("function"==typeof t.primitive&&t.primitive()===e),Bt=(e,t)=>"object"==typeof t&&null!==t&&"classes"in t&&(Array.isArray(t.classes)||t.classes instanceof oe.ON)&&t.classes.includes(e),Dt=(e,t)=>"object"==typeof t&&null!==t&&"element"in t&&t.element===e,Vt=e=>e({hasMethod:$t,hasBasicElementProps:qt,primitiveEq:Lt,isElementType:Dt,hasClass:Bt}),zt=Vt((({hasBasicElementProps:e,primitiveEq:t})=>n=>n instanceof oe.W_||e(n)&&t(void 0,n))),Ut=Vt((({hasBasicElementProps:e,primitiveEq:t})=>n=>n instanceof oe.RP||e(n)&&t("string",n))),Gt=Vt((({hasBasicElementProps:e,primitiveEq:t})=>n=>n instanceof oe.VL||e(n)&&t("number",n))),Wt=Vt((({hasBasicElementProps:e,primitiveEq:t})=>n=>n instanceof oe.zr||e(n)&&t("null",n))),Jt=Vt((({hasBasicElementProps:e,primitiveEq:t})=>n=>n instanceof oe.hh||e(n)&&t("boolean",n))),Kt=Vt((({hasBasicElementProps:e,primitiveEq:t,hasMethod:n})=>r=>r instanceof oe.Sb||e(r)&&t("object",r)&&n("keys",r)&&n("values",r)&&n("items",r))),Ht=Vt((({hasBasicElementProps:e,primitiveEq:t,hasMethod:n})=>r=>r instanceof oe.ON&&!(r instanceof oe.Sb)||e(r)&&t("array",r)&&n("push",r)&&n("unshift",r)&&n("map",r)&&n("reduce",r))),Zt=Vt((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof oe.c6||e(r)&&t("member",r)&&n(void 0,r))),Xt=Vt((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof oe.EA||e(r)&&t("link",r)&&n(void 0,r))),Yt=Vt((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof oe.tK||e(r)&&t("ref",r)&&n(void 0,r))),Qt=Vt((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof et||e(r)&&t("annotation",r)&&n("array",r))),en=Vt((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof nt||e(r)&&t("comment",r)&&n("string",r))),tn=Vt((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof st||e(r)&&t("parseResult",r)&&n("array",r))),nn=Vt((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof ot||e(r)&&t("sourceMap",r)&&n("array",r))),rn=e=>Dt("object",e)||Dt("array",e)||Dt("boolean",e)||Dt("number",e)||Dt("string",e)||Dt("null",e)||Dt("member",e),sn=e=>nn(e.meta.get("sourceMap")),on=(e,t)=>{if(0===e.length)return!0;const n=t.attributes.get("symbols");return!!Ht(n)&&Tt(Ft(n.toValue()),e)},an=(e,t)=>0===e.length||Tt(Ft(t.classes.toValue()),e);const cn=class extends xt{constructor(e,t){super(e,t),void 0!==t&&(this.value=t.value)}};const un=class extends cn{};const ln=class extends cn{},pn=(e,t={})=>{const{visited:n=new WeakMap}=t,r={...t,visited:n};if(n.has(e))return n.get(e);if(e instanceof oe.KeyValuePair){const{key:t,value:s}=e,i=zt(t)?pn(t,r):t,o=zt(s)?pn(s,r):s,a=new oe.KeyValuePair(i,o);return n.set(e,a),a}if(e instanceof oe.rm){const t=e=>pn(e,r),s=[...e].map(t),i=new oe.rm(s);return n.set(e,i),i}if(e instanceof oe.O4){const t=e=>pn(e,r),s=[...e].map(t),i=new oe.O4(s);return n.set(e,i),i}if(zt(e)){const t=fn(e);if(n.set(e,t),e.content)if(zt(e.content))t.content=pn(e.content,r);else if(e.content instanceof oe.KeyValuePair)t.content=pn(e.content,r);else if(Array.isArray(e.content)){const n=e=>pn(e,r);t.content=e.content.map(n)}else t.content=e.content;else t.content=e.content;return t}throw new un("Value provided to cloneDeep function couldn't be cloned",{value:e})};pn.safe=e=>{try{return pn(e)}catch{return e}};const hn=e=>{const{key:t,value:n}=e;return new oe.KeyValuePair(t,n)},mn=e=>{const t=new e.constructor;if(t.element=e.element,e.meta.length>0&&(t._meta=pn(e.meta)),e.attributes.length>0&&(t._attributes=pn(e.attributes)),zt(e.content)){const n=e.content;t.content=mn(n)}else Array.isArray(e.content)?t.content=[...e.content]:e.content instanceof oe.KeyValuePair?t.content=hn(e.content):t.content=e.content;return t},fn=e=>{if(e instanceof oe.KeyValuePair)return hn(e);if(e instanceof oe.rm)return(e=>{const t=[...e];return new oe.rm(t)})(e);if(e instanceof oe.O4)return(e=>{const t=[...e];return new oe.O4(t)})(e);if(zt(e))return mn(e);throw new ln("Value provided to cloneShallow function couldn't be cloned",{value:e})};fn.safe=e=>{try{return fn(e)}catch{return e}};const dn=e=>Kt(e)?"ObjectElement":Ht(e)?"ArrayElement":Zt(e)?"MemberElement":Ut(e)?"StringElement":Jt(e)?"BooleanElement":Gt(e)?"NumberElement":Wt(e)?"NullElement":Xt(e)?"LinkElement":Yt(e)?"RefElement":void 0,_n=e=>zt(e)?fn(e):At(e),yn=ge(dn,pt),gn={ObjectElement:["content"],ArrayElement:["content"],MemberElement:["key","value"],StringElement:[],BooleanElement:[],NumberElement:[],NullElement:[],RefElement:[],LinkElement:[],Annotation:[],Comment:[],ParseResultElement:["content"],SourceMap:["content"]},bn=(Nt({props:{result:[],predicate:Mt,returnOnTrue:void 0,returnOnFalse:void 0},init({predicate:e=this.predicate,returnOnTrue:t=this.returnOnTrue,returnOnFalse:n=this.returnOnFalse}={}){this.result=[],this.predicate=e,this.returnOnTrue=t,this.returnOnFalse=n},methods:{enter(e){return this.predicate(e)?(this.result.push(e),this.returnOnTrue):this.returnOnFalse}}}),(e,t,{keyMap:n=gn,...r}={})=>kt(e,t,{keyMap:n,nodeTypeGetter:dn,nodePredicate:yn,nodeCloneFn:_n,...r}));bn[Symbol.for("nodejs.util.promisify.custom")]=async(e,t,{keyMap:n=gn,...r}={})=>kt[Symbol.for("nodejs.util.promisify.custom")](e,t,{keyMap:n,nodeTypeGetter:dn,nodePredicate:yn,nodeCloneFn:_n,...r});const vn=u((function(e,t,n){var r,s={};for(r in n=n||{},t=t||{})T(r,t)&&(s[r]=T(r,n)?e(r,t[r],n[r]):t[r]);for(r in n)T(r,n)&&!T(r,s)&&(s[r]=n[r]);return s}));const wn=u((function e(t,n,r){return vn((function(n,r,s){return Se(r)&&Se(s)?e(t,r,s):t(n,r,s)}),n,r)}));const En=c((function(e,t){return wn((function(e,t,n){return n}),e,t)}));const xn=_e(0,-1);const jn=c((function(e,t){return e.apply(this,t)}));const Sn=K(Ke);var On=a((function(e){return null!=e&&"function"==typeof e["fantasy-land/empty"]?e["fantasy-land/empty"]():null!=e&&null!=e.constructor&&"function"==typeof e.constructor["fantasy-land/empty"]?e.constructor["fantasy-land/empty"]():null!=e&&"function"==typeof e.empty?e.empty():null!=e&&null!=e.constructor&&"function"==typeof e.constructor.empty?e.constructor.empty():b(e)?[]:h(e)?"":Se(e)?{}:$(e)?function(){return arguments}():function(e){var t=Object.prototype.toString.call(e);return"[object Uint8ClampedArray]"===t||"[object Int8Array]"===t||"[object Uint8Array]"===t||"[object Int16Array]"===t||"[object Uint16Array]"===t||"[object Int32Array]"===t||"[object Uint32Array]"===t||"[object Float32Array]"===t||"[object Float64Array]"===t||"[object BigInt64Array]"===t||"[object BigUint64Array]"===t}(e)?e.constructor.from(""):void 0}));const Pn=On;const An=a((function(e){return null!=e&&te(e,Pn(e))}));const kn=C(1,Ke(Array.isArray)?Array.isArray:ge(Y,ve("Array")));const Nn=$e(kn,An);const Mn=C(3,(function(e,t,n){var r=Ie(e,n),s=Ie(xn(e),n);if(!Sn(r)&&!Nn(e)){var i=ue(r,s);return jn(i,t)}})),Rn=()=>({predicates:{...e},namespace:lt}),In={toolboxCreator:Rn,visitorOptions:{nodeTypeGetter:dn,exposeEdits:!0}},Cn=(e,t,n={})=>{if(0===t.length)return e;const r=En(In,n),{toolboxCreator:s,visitorOptions:i}=r,o=s(),a=t.map((e=>e(o))),c=((e,{visitFnGetter:t=jt,nodeTypeGetter:n=Ot,breakSymbol:r=St,deleteNodeSymbol:s=null,skipVisitingNodeSymbol:i=!1,exposeEdits:o=!1}={})=>{const a=Symbol("skip"),c=new Array(e.length).fill(a);return{enter(u,...l){let p=u,h=!1;for(let m=0;m<e.length;m+=1)if(c[m]===a){const a=t(e[m],n(p),!1);if("function"==typeof a){const t=a.call(e[m],p,...l);if(t===i)c[m]=u;else if(t===r)c[m]=r;else{if(t===s)return t;if(void 0!==t){if(!o)return t;p=t,h=!0}}}}return h?p:void 0},leave(s,...o){for(let u=0;u<e.length;u+=1)if(c[u]===a){const a=t(e[u],n(s),!0);if("function"==typeof a){const t=a.call(e[u],s,...o);if(t===r)c[u]=r;else if(void 0!==t&&t!==i)return t}}else c[u]===s&&(c[u]=a)}}})(a.map(d({},"visitor")),{...i});a.forEach(Mn(["pre"],[]));const u=bn(e,c,i);return a.forEach(Mn(["post"],[])),u},Tn=(e,{Type:t,plugins:n=[]})=>{const r=new t(e);return Cn(r,n,{toolboxCreator:Rn,visitorOptions:{nodeTypeGetter:dn}})},Fn=e=>(t,n={})=>Tn(t,{...n,Type:e});oe.Sb.refract=Fn(oe.Sb),oe.ON.refract=Fn(oe.ON),oe.RP.refract=Fn(oe.RP),oe.hh.refract=Fn(oe.hh),oe.zr.refract=Fn(oe.zr),oe.VL.refract=Fn(oe.VL),oe.EA.refract=Fn(oe.EA),oe.tK.refract=Fn(oe.tK),et.refract=Fn(et),nt.refract=Fn(nt),st.refract=Fn(st),ot.refract=Fn(ot);const $n=class{hasError=!1;children=[];constructor(e){this.type=e.nodeType,this.startPosition=e.startPosition,this.endPosition=e.endPosition,this.startIndex=e.startIndex,this.endIndex=e.endIndex,this.text=e.nodeText,this.isNamed=e.nodeIsNamed,this.isMissing=e.nodeIsMissing}get keyNode(){if("pair"===this.type)return this.children.find((e=>"key"===e.fieldName))}get valueNode(){if("pair"===this.type)return this.children.find((e=>"value"===e.fieldName))}setFieldName(e){return"function"==typeof e.currentFieldName?this.fieldName=e.currentFieldName():this.fieldName=e.currentFieldName,this}setHasError(e){return"function"==typeof e.currentNode?this.hasError=e.currentNode().hasError():this.hasError=e.currentNode.hasError(),this}pushChildren(...e){this.children.push(...e)}},qn=Nt({props:{sourceMap:!1,annotations:[]},init(){this.annotations=[];const e=(e,t)=>{if(!this.sourceMap)return;const n=new ot,r=(e=>{const t=new oe.ON([e.startPosition.row,e.startPosition.column,e.startIndex]),n=new oe.ON([e.endPosition.row,e.endPosition.column,e.endIndex]);return t.classes.push("position"),n.classes.push("position"),[t,n]})(e);if(null!==r){const[e,t]=r;n.push(e),n.push(t)}n.astNode=e,t.meta.set("sourceMap",n)};this.enter=function(t){if(t instanceof $n&&!t.isNamed&&t.isMissing){const n=t.type||t.text,r=new et(`(Missing ${n})`);r.classes.push("warning"),e(t,r),this.annotations.push(r)}return null},this.document=function(t){const n=new st;return n._content=t.children,e(t,n),n},this.ParseResultElement={leave(e){const t=e.findElements(rn);if(t.length>0){t[0].classes.push("result")}this.annotations.forEach((t=>{e.push(t)})),this.annotations=[]}},this.object=function(t){const n=new oe.Sb;return n._content=t.children,e(t,n),n},this.array=function(t){const n=new oe.ON;return n._content=t.children,e(t,n),n},this.pair=function(t){const n=new oe.c6;return n.content.key=t.keyNode,n.content.value=t.valueNode,e(t,n),t.children.length>3&&t.children.filter((e=>"ERROR"===e.type)).forEach((e=>{this.ERROR(e,t,[],[t])})),n},this.string=function(t){const n=new oe.RP(JSON.parse(t.text));return e(t,n),n},this.number=function(t){const n=new oe.VL(Number(t.text));return e(t,n),n},this.null=function(t){const n=new oe.zr;return e(t,n),n},this.true=function(t){const n=new oe.hh(!0);return e(t,n),n},this.false=function(t){const n=new oe.hh(!1);return e(t,n),n},this.ERROR=function(t,n,r,s){const i=!t.hasError,o=t.text,a=new et(i?`(Unexpected ${o})`:`(Error ${o})`);if(a.classes.push("error"),e(t,a),0===s.length){const e=new st;return e.push(a),e}return this.annotations.push(a),null}}}),Ln=qn;class Bn{constructor(e){this.cursor=e}document(){return new $n(this.cursor)}object(){return new $n(this.cursor).setFieldName(this.cursor)}array(){return new $n(this.cursor).setFieldName(this.cursor)}pair(){return new $n(this.cursor)}string(){return new $n(this.cursor).setFieldName(this.cursor)}number(){return new $n(this.cursor).setFieldName(this.cursor)}null(){return new $n(this.cursor).setFieldName(this.cursor)}true(){return new $n(this.cursor).setFieldName(this.cursor)}false(){return new $n(this.cursor).setFieldName(this.cursor)}ERROR(){return new $n(this.cursor).setHasError(this.cursor)}*[Symbol.iterator](){let e;if(e=this.cursor.nodeType in this?this[this.cursor.nodeType]():new $n(this.cursor),this.cursor.gotoFirstChild()){const[t]=new Bn(this.cursor);for(e.pushChildren(t);this.cursor.gotoNextSibling();){const t=new Bn(this.cursor);e.pushChildren(...t)}this.cursor.gotoParent()}yield e}}const Dn=Bn,Vn={document:["children"],object:["children"],array:["children"],string:["children"],property:["children"],key:["children"],error:["children"],...gn},zn=e=>tn(e)?"ParseResultElement":zt(e)?dn(e):Ot(e),Un=e=>zt(e)||Pt(e),Gn=(e,{sourceMap:t=!1}={})=>{const n=Ln(),r=e.walk(),s=new Dn(r),[i]=Array.from(s);return kt(i,n,{keyMap:Vn,nodeTypeGetter:zn,nodePredicate:Un,state:{sourceMap:t}})},Wn=Nt({statics:{type:"point"},props:{type:"point",row:null,column:null,char:null},init({row:e=null,column:t=null,char:n=null}={}){this.row=e,this.column=t,this.char=n}}),Jn=Nt({statics:{type:"position"},props:{type:"position",start:null,end:null},init({start:e=null,end:t=null}={}){this.start=e,this.end=t}}),Kn=Nt({props:{type:null,position:null,children:[]},init({children:e=[],position:t=null,isMissing:n=!1}={},{stamp:r={}}){this.type=r.type,this.isMissing=n,this.children=e,this.position=t},methods:{clone(){const e=Object.create(Object.getPrototypeOf(this));return Object.getOwnPropertyNames(this).forEach((t=>{const n=Object.getOwnPropertyDescriptor(this,t);Object.defineProperty(e,t,n)})),e}}}),Hn=Nt(Kn,{statics:{type:"literal"},props:{value:null},init({value:e=null}={}){this.value=e}});const Zn=m(0),Xn=Nt(Kn),Yn=Nt(Xn,{statics:{type:"document"},methods:{get child(){return Zn(this.children)}}}),Qn=Nt(Kn,{statics:{type:"parseResult"},methods:{get rootNode(){return Zn(this.children)}}}),er=(e,t)=>(null==t?void 0:t.type)===e,tr=(er.bind(void 0,"literal"),er.bind(void 0,"position"),er.bind(void 0,"point"),er.bind(void 0,"parseResult"),er.bind(void 0,"document"),er.bind(void 0,"string")),nr=er.bind(void 0,"false"),rr=er.bind(void 0,"true"),sr=er.bind(void 0,"null"),ir=er.bind(void 0,"number"),or=er.bind(void 0,"array"),ar=er.bind(void 0,"object"),cr=er.bind(void 0,"stringContent"),ur=er.bind(void 0,"escapeSequence"),lr=er.bind(void 0,"property"),pr=er.bind(void 0,"key"),hr=Nt(Xn,{statics:{type:"object"},methods:{get properties(){return this.children.filter(lr)}}}),mr=Nt(Xn,{statics:{type:"string"},methods:{get value(){return 1===this.children.length?this.children[0].value:this.children.filter((e=>cr(e)||ur(e))).reduce(((e,t)=>e+t.value),"")}}}),fr=Nt(mr,{statics:{type:"key"}}),dr=Nt(Xn,{statics:{type:"property"},methods:{get key(){return this.children.find(pr)},get value(){return this.children.find((e=>nr(e)||rr(e)||sr(e)||ir(e)||tr(e)||or(e)||ar(e)))}}}),_r=Nt(Xn,{statics:{type:"array"},methods:{get items(){return this.children.filter((e=>nr(e)||rr(e)||sr(e)||ir(e)||tr(e)||or(e)||ar))}}}),yr=Nt(Xn,{statics:{type:"value"},props:{value:null},init({value:e=null}={}){this.value=e}}),gr=Nt(yr,{statics:{type:"stringContent"}}),br=Nt(yr,{statics:{type:"number"}}),vr=Nt(yr,{statics:{type:"null"}}),wr=Nt(yr,{statics:{type:"true"}}),Er=Nt(yr,{statics:{type:"false"}}),xr=Nt(Kn,{statics:{type:"error"},props:{value:null,isUnexpected:!1},init({value:e=null,isUnexpected:t=!1}={}){this.value=e,this.isUnexpected=t}}),jr={document:["children"],object:["children"],array:["children"],string:["children"],property:["children"],key:["children"],error:["children"]},Sr=Nt({init(){const e=e=>{const t=Wn({row:e.startPosition.row,column:e.startPosition.column,char:e.startIndex}),n=Wn({row:e.endPosition.row,column:e.endPosition.column,char:e.endIndex});return Jn({start:t,end:n})};this.enter=function(t){if(t instanceof $n&&!t.isNamed){const n=e(t),r=t.type||t.text,{isMissing:s}=t;return Hn({value:r,position:n,isMissing:s})}},this.document={enter(t){const n=e(t);return Yn({children:t.children,position:n,isMissing:t.isMissing})},leave:e=>Qn({children:[e]})},this.object=function(t){const n=e(t);return hr({children:t.children,position:n,isMissing:t.isMissing})},this.pair=function(t){const n=e(t),r=t.children.slice(1),{keyNode:s}=t,i=fr({children:(null==s?void 0:s.children)||[],position:null!=s?e(s):null,isMissing:null!=s&&s.isMissing});return dr({children:[i,...r],position:n,isMissing:t.isMissing})},this.array=function(t){const n=e(t);return _r({children:t.children,position:n,isMissing:t.isMissing})},this.string=function(t){const n=e(t),r=gr({value:JSON.parse(t.text)});return mr({children:[r],position:n,isMissing:t.isMissing})},this.number=function(t){const n=e(t),r=t.text;return br({value:r,position:n,isMissing:t.isMissing})},this.null=function(t){const n=e(t),r=t.text;return vr({value:r,position:n,isMissing:t.isMissing})},this.true=function(t){const n=e(t),r=t.text;return wr({value:r,position:n,isMissing:t.isMissing})},this.false=function(t){const n=e(t),r=t.text;return Er({value:r,position:n,isMissing:t.isMissing})},this.ERROR=function(t,n,r,s){const i=e(t),o=xr({children:t.children,position:i,isUnexpected:!t.hasError,isMissing:t.isMissing,value:t.text});return 0===s.length?Qn({children:[o]}):o}}}),Or=Sr,Pr={[Qn.type]:["children"],[Yn.type]:["children"],[hr.type]:["children"],[dr.type]:["children"],[_r.type]:["children"],[xr.type]:["children"],...gn},Ar=e=>tn(e)?"ParseResultElement":zt(e)?dn(e):Ot(e),kr=e=>zt(e)||Pt(e),Nr=Nt({props:{sourceMap:!1,annotations:[]},init(){this.annotation=[];const e=(e,t)=>{if(!this.sourceMap)return;const n=new ot;n.position=e.position,n.astNode=e,t.meta.set("sourceMap",n)};this.document=function(e){const t=new st;return t._content=e.children,t},this.ParseResultElement={leave(e){const t=e.findElements(rn);if(t.length>0){t[0].classes.push("result")}this.annotations.forEach((t=>{e.push(t)})),this.annotations=[]}},this.object=function(t){const n=new oe.Sb;return n._content=t.children,e(t,n),n},this.property=function(t){const n=new oe.c6;return n.content.key=t.key,n.content.value=t.value,e(t,n),t.children.length>3&&t.children.filter((e=>"error"===e.type)).forEach((e=>{this.error(e,t,[],[t])})),n},this.key=function(t){const n=new oe.RP(t.value);return e(t,n),n},this.array=function(t){const n=new oe.ON;return n._content=t.children,e(t,n),n},this.string=function(t){const n=new oe.RP(t.value);return e(t,n),n},this.number=function(t){const n=new oe.VL(Number(t.value));return e(t,n),n},this.null=function(t){const n=new oe.zr;return e(t,n),n},this.true=function(t){const n=new oe.hh(!0);return e(t,n),n},this.false=function(t){const n=new oe.hh(!1);return e(t,n),n},this.literal=function(t){if(t.isMissing){const n=`(Missing ${t.value})`,r=new et(n);r.classes.push("warning"),e(t,r),this.annotations.push(r)}return null},this.error=function(t,n,r,s){const i=t.isUnexpected?`(Unexpected ${t.value})`:`(Error ${t.value})`,o=new et(i);if(o.classes.push("error"),e(t,o),0===s.length){const e=new st;return e.push(o),e}return this.annotations.push(o),null}}}),Mr=Nr,Rr=(e,{sourceMap:t=!1}={})=>{const n=e.walk(),r=new Dn(n),[s]=Array.from(r),i=Or(),o=Mr(),a=kt(s,i,{keyMap:jr,state:{sourceMap:t}});return kt(a.rootNode,o,{keyMap:Pr,nodeTypeGetter:Ar,nodePredicate:kr,state:{sourceMap:t}})},Ir=(ut(),/(?<true>^\s*true\s*$)|(?<false>^\s*false\s*$)|(?<null>^\s*null\s*$)|(?<number>^\s*\d+\s*$)|(?<object>^\s*{\s*)|(?<array>^\s*\[\s*)|(?<string>^\s*"(((?=\\)\\(["\\/bfnrt]|u[0-9a-fA-F]{4}))|[^"\\\x00-\x1F\x7F])*"\s*$)/);class Cr extends oe.Sb{constructor(e,t,n){super(e,t,n),this.element="callback"}}const Tr=Cr;class Fr extends oe.Sb{constructor(e,t,n){super(e,t,n),this.element="components"}get schemas(){return this.get("schemas")}set schemas(e){this.set("schemas",e)}get responses(){return this.get("responses")}set responses(e){this.set("responses",e)}get parameters(){return this.get("parameters")}set parameters(e){this.set("parameters",e)}get examples(){return this.get("examples")}set examples(e){this.set("examples",e)}get requestBodies(){return this.get("requestBodies")}set requestBodies(e){this.set("requestBodies",e)}get headers(){return this.get("headers")}set headers(e){this.set("headers",e)}get securitySchemes(){return this.get("securitySchemes")}set securitySchemes(e){this.set("securitySchemes",e)}get links(){return this.get("links")}set links(e){this.set("links",e)}get callbacks(){return this.get("callbacks")}set callbacks(e){this.set("callbacks",e)}}const $r=Fr;class qr extends oe.Sb{constructor(e,t,n){super(e,t,n),this.element="contact"}get name(){return this.get("name")}set name(e){this.set("name",e)}get url(){return this.get("url")}set url(e){this.set("url",e)}get email(){return this.get("email")}set email(e){this.set("email",e)}}const Lr=qr;class Br extends oe.Sb{constructor(e,t,n){super(e,t,n),this.element="discriminator"}get propertyName(){return this.get("propertyName")}set propertyName(e){this.set("propertyName",e)}get mapping(){return this.get("mapping")}set mapping(e){this.set("mapping",e)}}const Dr=Br;class Vr extends oe.Sb{constructor(e,t,n){super(e,t,n),this.element="encoding"}get contentType(){return this.get("contentType")}set contentType(e){this.set("contentType",e)}get headers(){return this.get("headers")}set headers(e){this.set("headers",e)}get style(){return this.get("style")}set style(e){this.set("style",e)}get explode(){return this.get("explode")}set explode(e){this.set("explode",e)}get allowedReserved(){return this.get("allowedReserved")}set allowedReserved(e){this.set("allowedReserved",e)}}const zr=Vr;class Ur extends oe.Sb{constructor(e,t,n){super(e,t,n),this.element="example"}get summary(){return this.get("summary")}set summary(e){this.set("summary",e)}get description(){return this.get("description")}set description(e){this.set("description",e)}get value(){return this.get("value")}set value(e){this.set("value",e)}get externalValue(){return this.get("externalValue")}set externalValue(e){this.set("externalValue",e)}}const Gr=Ur;class Wr extends oe.Sb{constructor(e,t,n){super(e,t,n),this.element="externalDocumentation"}get description(){return this.get("description")}set description(e){this.set("description",e)}get url(){return this.get("url")}set url(e){this.set("url",e)}}const Jr=Wr;class Kr extends oe.Sb{constructor(e,t,n){super(e,t,n),this.element="header"}get required(){return this.hasKey("required")?this.get("required"):new oe.hh(!1)}set required(e){this.set("required",e)}get deprecated(){return this.hasKey("deprecated")?this.get("deprecated"):new oe.hh(!1)}set deprecated(e){this.set("deprecated",e)}get allowEmptyValue(){return this.get("allowEmptyValue")}set allowEmptyValue(e){this.set("allowEmptyValue",e)}get style(){return this.get("style")}set style(e){this.set("style",e)}get explode(){return this.get("explode")}set explode(e){this.set("explode",e)}get allowReserved(){return this.get("allowReserved")}set allowReserved(e){this.set("allowReserved",e)}get schema(){return this.get("schema")}set schema(e){this.set("schema",e)}get example(){return this.get("example")}set example(e){this.set("example",e)}get examples(){return this.get("examples")}set examples(e){this.set("examples",e)}get contentProp(){return this.get("content")}set contentProp(e){this.set("content",e)}}Object.defineProperty(Kr.prototype,"description",{get(){return this.get("description")},set(e){this.set("description",e)},enumerable:!0});const Hr=Kr;class Zr extends oe.Sb{constructor(e,t,n){super(e,t,n),this.element="info",this.classes.push("info")}get title(){return this.get("title")}set title(e){this.set("title",e)}get description(){return this.get("description")}set description(e){this.set("description",e)}get termsOfService(){return this.get("termsOfService")}set termsOfService(e){this.set("termsOfService",e)}get contact(){return this.get("contact")}set contact(e){this.set("contact",e)}get license(){return this.get("license")}set license(e){this.set("license",e)}get version(){return this.get("version")}set version(e){this.set("version",e)}}const Xr=Zr;class Yr extends oe.Sb{constructor(e,t,n){super(e,t,n),this.element="license"}get name(){return this.get("name")}set name(e){this.set("name",e)}get url(){return this.get("url")}set url(e){this.set("url",e)}}const Qr=Yr;class es extends oe.Sb{constructor(e,t,n){super(e,t,n),this.element="link"}get operationRef(){return this.get("operationRef")}set operationRef(e){this.set("operationRef",e)}get operationId(){return this.get("operationId")}set operationId(e){this.set("operationId",e)}get operation(){var e,t;return Ut(this.operationRef)?null===(e=this.operationRef)||void 0===e?void 0:e.meta.get("operation"):Ut(this.operationId)?null===(t=this.operationId)||void 0===t?void 0:t.meta.get("operation"):void 0}set operation(e){this.set("operation",e)}get parameters(){return this.get("parameters")}set parameters(e){this.set("parameters",e)}get requestBody(){return this.get("requestBody")}set requestBody(e){this.set("requestBody",e)}get description(){return this.get("description")}set description(e){this.set("description",e)}get server(){return this.get("server")}set server(e){this.set("server",e)}}const ts=es;class ns extends oe.Sb{constructor(e,t,n){super(e,t,n),this.element="mediaType"}get schema(){return this.get("schema")}set schema(e){this.set("schema",e)}get example(){return this.get("example")}set example(e){this.set("example",e)}get examples(){return this.get("examples")}set examples(e){this.set("examples",e)}get encoding(){return this.get("encoding")}set encoding(e){this.set("encoding",e)}}const rs=ns;class ss extends oe.Sb{constructor(e,t,n){super(e,t,n),this.element="oAuthFlow"}get authorizationUrl(){return this.get("authorizationUrl")}set authorizationUrl(e){this.set("authorizationUrl",e)}get tokenUrl(){return this.get("tokenUrl")}set tokenUrl(e){this.set("tokenUrl",e)}get refreshUrl(){return this.get("refreshUrl")}set refreshUrl(e){this.set("refreshUrl",e)}get scopes(){return this.get("scopes")}set scopes(e){this.set("scopes",e)}}const is=ss;class os extends oe.Sb{constructor(e,t,n){super(e,t,n),this.element="oAuthFlows"}get implicit(){return this.get("implicit")}set implicit(e){this.set("implicit",e)}get password(){return this.get("password")}set password(e){this.set("password",e)}get clientCredentials(){return this.get("clientCredentials")}set clientCredentials(e){this.set("clientCredentials",e)}get authorizationCode(){return this.get("authorizationCode")}set authorizationCode(e){this.set("authorizationCode",e)}}const as=os;class cs extends oe.RP{constructor(e,t,n){super(e,t,n),this.element="openapi",this.classes.push("spec-version"),this.classes.push("version")}}const us=cs;class ls extends oe.Sb{constructor(e,t,n){super(e,t,n),this.element="openApi3_0",this.classes.push("api")}get openapi(){return this.get("openapi")}set openapi(e){this.set("openapi",e)}get info(){return this.get("info")}set info(e){this.set("info",e)}get servers(){return this.get("servers")}set servers(e){this.set("servers",e)}get paths(){return this.get("paths")}set paths(e){this.set("paths",e)}get components(){return this.get("components")}set components(e){this.set("components",e)}get security(){return this.get("security")}set security(e){this.set("security",e)}get tags(){return this.get("tags")}set tags(e){this.set("tags",e)}get externalDocs(){return this.get("externalDocs")}set externalDocs(e){this.set("externalDocs",e)}}const ps=ls;class hs extends oe.Sb{constructor(e,t,n){super(e,t,n),this.element="operation"}get tags(){return this.get("tags")}set tags(e){this.set("tags",e)}get summary(){return this.get("summary")}set summary(e){this.set("summary",e)}get description(){return this.get("description")}set description(e){this.set("description",e)}set externalDocs(e){this.set("externalDocs",e)}get externalDocs(){return this.get("externalDocs")}get operationId(){return this.get("operationId")}set operationId(e){this.set("operationId",e)}get parameters(){return this.get("parameters")}set parameters(e){this.set("parameters",e)}get requestBody(){return this.get("requestBody")}set requestBody(e){this.set("requestBody",e)}get responses(){return this.get("responses")}set responses(e){this.set("responses",e)}get callbacks(){return this.get("callbacks")}set callbacks(e){this.set("callbacks",e)}get deprecated(){return this.hasKey("deprecated")?this.get("deprecated"):new oe.hh(!1)}set deprecated(e){this.set("deprecated",e)}get security(){return this.get("security")}set security(e){this.set("security",e)}get servers(){return this.get("severs")}set servers(e){this.set("servers",e)}}const ms=hs;class fs extends oe.Sb{constructor(e,t,n){super(e,t,n),this.element="parameter"}get name(){return this.get("name")}set name(e){this.set("name",e)}get in(){return this.get("in")}set in(e){this.set("in",e)}get required(){return this.hasKey("required")?this.get("required"):new oe.hh(!1)}set required(e){this.set("required",e)}get deprecated(){return this.hasKey("deprecated")?this.get("deprecated"):new oe.hh(!1)}set deprecated(e){this.set("deprecated",e)}get allowEmptyValue(){return this.get("allowEmptyValue")}set allowEmptyValue(e){this.set("allowEmptyValue",e)}get style(){return this.get("style")}set style(e){this.set("style",e)}get explode(){return this.get("explode")}set explode(e){this.set("explode",e)}get allowReserved(){return this.get("allowReserved")}set allowReserved(e){this.set("allowReserved",e)}get schema(){return this.get("schema")}set schema(e){this.set("schema",e)}get example(){return this.get("example")}set example(e){this.set("example",e)}get examples(){return this.get("examples")}set examples(e){this.set("examples",e)}get contentProp(){return this.get("content")}set contentProp(e){this.set("content",e)}}Object.defineProperty(fs.prototype,"description",{get(){return this.get("description")},set(e){this.set("description",e)},enumerable:!0});const ds=fs;class _s extends oe.Sb{constructor(e,t,n){super(e,t,n),this.element="pathItem"}get $ref(){return this.get("$ref")}set $ref(e){this.set("$ref",e)}get summary(){return this.get("summary")}set summary(e){this.set("summary",e)}get description(){return this.get("description")}set description(e){this.set("description",e)}get GET(){return this.get("get")}set GET(e){this.set("GET",e)}get PUT(){return this.get("put")}set PUT(e){this.set("PUT",e)}get POST(){return this.get("post")}set POST(e){this.set("POST",e)}get DELETE(){return this.get("delete")}set DELETE(e){this.set("DELETE",e)}get OPTIONS(){return this.get("options")}set OPTIONS(e){this.set("OPTIONS",e)}get HEAD(){return this.get("head")}set HEAD(e){this.set("HEAD",e)}get PATCH(){return this.get("patch")}set PATCH(e){this.set("PATCH",e)}get TRACE(){return this.get("trace")}set TRACE(e){this.set("TRACE",e)}get servers(){return this.get("servers")}set servers(e){this.set("servers",e)}get parameters(){return this.get("parameters")}set parameters(e){this.set("parameters",e)}}const ys=_s;class gs extends oe.Sb{constructor(e,t,n){super(e,t,n),this.element="paths"}}const bs=gs;class vs extends oe.Sb{constructor(e,t,n){super(e,t,n),this.element="reference",this.classes.push("openapi-reference")}get $ref(){return this.get("$ref")}set $ref(e){this.set("$ref",e)}}const ws=vs;class Es extends oe.Sb{constructor(e,t,n){super(e,t,n),this.element="requestBody"}get description(){return this.get("description")}set description(e){this.set("description",e)}get contentProp(){return this.get("content")}set contentProp(e){this.set("content",e)}get required(){return this.hasKey("required")?this.get("required"):new oe.hh(!1)}set required(e){this.set("required",e)}}const xs=Es;class js extends oe.Sb{constructor(e,t,n){super(e,t,n),this.element="response"}get description(){return this.get("description")}set description(e){this.set("description",e)}get headers(){return this.get("headers")}set headers(e){this.set("headers",e)}get contentProp(){return this.get("content")}set contentProp(e){this.set("content",e)}get links(){return this.get("links")}set links(e){this.set("links",e)}}const Ss=js;class Os extends oe.Sb{constructor(e,t,n){super(e,t,n),this.element="responses"}get default(){return this.get("default")}set default(e){this.set("default",e)}}const Ps=Os;const As=class extends gt{};class ks extends oe.Sb{constructor(e,t,n){super(e,t,n),this.element="JSONSchemaDraft4"}get idProp(){return this.get("id")}set idProp(e){this.set("id",e)}get $schema(){return this.get("$schema")}set $schema(e){this.set("idProp",e)}get multipleOf(){return this.get("multipleOf")}set multipleOf(e){this.set("multipleOf",e)}get maximum(){return this.get("maximum")}set maximum(e){this.set("maximum",e)}get exclusiveMaximum(){return this.get("exclusiveMaximum")}set exclusiveMaximum(e){this.set("exclusiveMaximum",e)}get minimum(){return this.get("minimum")}set minimum(e){this.set("minimum",e)}get exclusiveMinimum(){return this.get("exclusiveMinimum")}set exclusiveMinimum(e){this.set("exclusiveMinimum",e)}get maxLength(){return this.get("maxLength")}set maxLength(e){this.set("maxLength",e)}get minLength(){return this.get("minLength")}set minLength(e){this.set("minLength",e)}get pattern(){return this.get("pattern")}set pattern(e){this.set("pattern",e)}get additionalItems(){return this.get("additionalItems")}set additionalItems(e){this.set("additionalItems",e)}get items(){return this.get("items")}set items(e){this.set("items",e)}get maxItems(){return this.get("maxItems")}set maxItems(e){this.set("maxItems",e)}get minItems(){return this.get("minItems")}set minItems(e){this.set("minItems",e)}get uniqueItems(){return this.get("uniqueItems")}set uniqueItems(e){this.set("uniqueItems",e)}get maxProperties(){return this.get("maxProperties")}set maxProperties(e){this.set("maxProperties",e)}get minProperties(){return this.get("minProperties")}set minProperties(e){this.set("minProperties",e)}get required(){return this.get("required")}set required(e){this.set("required",e)}get properties(){return this.get("properties")}set properties(e){this.set("properties",e)}get additionalProperties(){return this.get("additionalProperties")}set additionalProperties(e){this.set("additionalProperties",e)}get patternProperties(){return this.get("patternProperties")}set patternProperties(e){this.set("patternProperties",e)}get dependencies(){return this.get("dependencies")}set dependencies(e){this.set("dependencies",e)}get enum(){return this.get("enum")}set enum(e){this.set("enum",e)}get type(){return this.get("type")}set type(e){this.set("type",e)}get allOf(){return this.get("allOf")}set allOf(e){this.set("allOf",e)}get anyOf(){return this.get("anyOf")}set anyOf(e){this.set("anyOf",e)}get oneOf(){return this.get("oneOf")}set oneOf(e){this.set("oneOf",e)}get not(){return this.get("not")}set not(e){this.set("not",e)}get definitions(){return this.get("definitions")}set definitions(e){this.set("definitions",e)}get title(){return this.get("title")}set title(e){this.set("title",e)}get description(){return this.get("description")}set description(e){this.set("description",e)}get default(){return this.get("default")}set default(e){this.set("default",e)}get format(){return this.get("format")}set format(e){this.set("format",e)}get base(){return this.get("base")}set base(e){this.set("base",e)}get links(){return this.get("links")}set links(e){this.set("links",e)}get media(){return this.get("media")}set media(e){this.set("media",e)}get readOnly(){return this.get("readOnly")}set readOnly(e){this.set("readOnly",e)}}const Ns=ks;class Ms extends oe.Sb{constructor(e,t,n){super(e,t,n),this.element="JSONReference",this.classes.push("json-reference")}get $ref(){return this.get("$ref")}set $ref(e){this.set("$ref",e)}}const Rs=Ms;class Is extends oe.Sb{constructor(e,t,n){super(e,t,n),this.element="media"}get binaryEncoding(){return this.get("binaryEncoding")}set binaryEncoding(e){this.set("binaryEncoding",e)}get type(){return this.get("type")}set type(e){this.set("type",e)}}const Cs=Is;class Ts extends oe.Sb{constructor(e,t,n){super(e,t,n),this.element="linkDescription"}get href(){return this.get("href")}set href(e){this.set("href",e)}get rel(){return this.get("rel")}set rel(e){this.set("rel",e)}get title(){return this.get("title")}set title(e){this.set("title",e)}get targetSchema(){return this.get("targetSchema")}set targetSchema(e){this.set("targetSchema",e)}get mediaType(){return this.get("mediaType")}set mediaType(e){this.set("mediaType",e)}get method(){return this.get("method")}set method(e){this.set("method",e)}get encType(){return this.get("encType")}set encType(e){this.set("encType",e)}get schema(){return this.get("schema")}set schema(e){this.set("schema",e)}}const Fs=Ts;const $s=c((function(e,t){return g((function(n,r){return n[r]=e(t[r],r,t),n}),{},z(t))}));const qs=a((function(e){return null==e}));const Ls=c((function(e,t){if(0===e.length||qs(t))return!1;for(var n=t,r=0;r<e.length;){if(qs(n)||!T(e[r],n))return!1;n=n[e[r]],r+=1}return!0}));var Bs=c((function(e,t){return Ls([e],t)}));const Ds=Bs;const Vs=u((function(e,t,n){return e(f(t,n))}));const zs=a((function(e){return C(e.length,e)}));const Us=c((function(e,t){return C(e+1,(function(){var n=arguments[e];if(null!=n&&Te(n[t]))return n[t].apply(n,Array.prototype.slice.call(arguments,0,e));throw new TypeError(Me(n)+' does not have a method named "'+t+'"')}))}));const Gs=Us(1,"split");var Ws=function(){function e(e,t){this.xf=t,this.f=e}return e.prototype["@@transducer/init"]=A,e.prototype["@@transducer/result"]=k,e.prototype["@@transducer/step"]=function(e,t){if(this.f){if(this.f(t))return e;this.f=null}return this.xf["@@transducer/step"](e,t)},e}();function Js(e){return function(t){return new Ws(e,t)}}const Ks=c(O(["dropWhile"],Js,(function(e,t){for(var n=0,r=t.length;n<r&&e(t[n]);)n+=1;return _e(n,1/0,t)})));const Hs=Us(1,"join");const Zs=zs((function(e,t){return ge(Gs(""),Ks(Ft(e)),Hs(""))(t)})),Xs=(e,t)=>{const n=l(e,t);return $s((e=>{if(Ye(e)&&Ds("$ref",e)&&Vs(pt,"$ref",e)){const t=Ie(["$ref"],e),r=Zs("#/",t);return Ie(r.split("/"),n)}return Ye(e)?Xs(e,n):e}),e)},Ys=Nt({props:{element:null},methods:{copyMetaAndAttributes(e,t){sn(e)&&t.meta.set("sourceMap",e.meta.get("sourceMap"))}}}),Qs=Nt(Ys,{methods:{enter(e){return this.element=pn(e),St}}});const ei=ne(re());const ti=function(){return!0},ni=e=>"string"==typeof(null==e?void 0:e.type)?e.type:dn(e),ri={EphemeralObject:["content"],EphemeralArray:["content"],...gn},si=(e,t,{keyMap:n=ri,...r}={})=>bn(e,t,{keyMap:n,nodeTypeGetter:ni,nodePredicate:ti,detectCycles:!1,deleteNodeSymbol:Symbol.for("delete-node"),skipVisitingNodeSymbol:Symbol.for("skip-visiting-node"),...r});si[Symbol.for("nodejs.util.promisify.custom")]=async(e,{keyMap:t=ri,...n}={})=>bn[Symbol.for("nodejs.util.promisify.custom")](e,visitor,{keyMap:t,nodeTypeGetter:ni,nodePredicate:ti,detectCycles:!1,deleteNodeSymbol:Symbol.for("delete-node"),skipVisitingNodeSymbol:Symbol.for("skip-visiting-node"),...n});const ii=class{type="EphemeralArray";content=[];reference=void 0;constructor(e){this.content=e,this.reference=[]}toReference(){return this.reference}toArray(){return this.reference.push(...this.content),this.reference}};const oi=class{type="EphemeralObject";content=[];reference=void 0;constructor(e){this.content=e,this.reference={}}toReference(){return this.reference}toObject(){return Object.assign(this.reference,Object.fromEntries(this.content))}},ai=Nt.init((function(){const e=new WeakMap;this.BooleanElement=function(e){return e.toValue()},this.NumberElement=function(e){return e.toValue()},this.StringElement=function(e){return e.toValue()},this.NullElement=function(){return null},this.ObjectElement={enter(t){if(e.has(t))return e.get(t).toReference();const n=new oi(t.content);return e.set(t,n),n}},this.EphemeralObject={leave:e=>e.toObject()},this.MemberElement={enter:e=>[e.key,e.value]},this.ArrayElement={enter(t){if(e.has(t))return e.get(t).toReference();const n=new ii(t.content);return e.set(t,n),n}},this.EphemeralArray={leave:e=>e.toArray()}})),ci=e=>zt(e)?Ut(e)||Gt(e)||Jt(e)||Wt(e)?e.toValue():si(e,ai()):e;const ui=c((function(e,t){for(var n={},r=0;r<e.length;)e[r]in t&&(n[e[r]]=t[e[r]]),r+=1;return n})),li=e=>{if(zt(e))return`${e.element.charAt(0).toUpperCase()+e.element.slice(1)}Element`},pi={JSONSchemaDraft4Element:["content"],JSONReferenceElement:["content"],MediaElement:["content"],LinkDescriptionElement:["content"],...gn},hi=Nt(Ys,{props:{specObj:null,passingOptionsNames:["specObj"]},init({specObj:e=this.specObj}){this.specObj=e},methods:{retrievePassingOptions(){return ui(this.passingOptionsNames,this)},retrieveFixedFields(e){const t=Ie(["visitors",...e,"fixedFields"],this.specObj);return"object"==typeof t&&null!==t?Object.keys(t):[]},retrieveVisitor(e){return Ce(Ke,["visitors",...e],this.specObj)?Ie(["visitors",...e],this.specObj):Ie(["visitors",...e,"$visitor"],this.specObj)},retrieveVisitorInstance(e,t={}){const n=this.retrievePassingOptions();return this.retrieveVisitor(e)({...n,...t})},toRefractedElement(e,t,n={}){const r=this.retrieveVisitorInstance(e,n),s=Object.getPrototypeOf(r);return se(this.fallbackVisitorPrototype)&&(this.fallbackVisitorPrototype=Object.getPrototypeOf(this.retrieveVisitorInstance(["value"]))),this.fallbackVisitorPrototype===s?pn(t):(bn(t,r,{keyMap:pi,nodeTypeGetter:li,...n}),r.element)}}}),mi=Nt(hi,{props:{specPath:ei,ignoredFields:[]},init({specPath:e=this.specPath,ignoredFields:t=this.ignoredFields}={}){this.specPath=e,this.ignoredFields=t},methods:{ObjectElement(e){const t=this.specPath(e),n=this.retrieveFixedFields(t);return e.forEach(((e,r,s)=>{if(Ut(r)&&n.includes(ci(r))&&!this.ignoredFields.includes(ci(r))){const n=this.toRefractedElement([...t,"fixedFields",ci(r)],e),i=new oe.c6(pn(r),n);this.copyMetaAndAttributes(s,i),i.classes.push("fixed-field"),this.element.content.push(i)}else this.ignoredFields.includes(ci(r))||this.element.content.push(pn(s))})),this.copyMetaAndAttributes(e,this.element),St}}}),fi=Nt(mi,Qs,{props:{specPath:ne(["document","objects","JSONSchema"])},init(){this.element=new Ns}}),di=Qs,_i=Qs,yi=Qs,gi=Qs,bi=Qs,vi=Qs,wi=Qs,Ei=Qs,xi=Qs,ji=Qs,Si=Nt({props:{parent:null},init({parent:e=this.parent}){this.parent=e,this.passingOptionsNames=[...this.passingOptionsNames,"parent"]}}),Oi=e=>Kt(e)&&e.hasKey("$ref"),Pi=Nt(hi,Si,Qs,{methods:{ObjectElement(e){const t=Oi(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"];return this.element=this.toRefractedElement(t,e),St},ArrayElement(e){return this.element=new oe.ON,this.element.classes.push("json-schema-items"),e.forEach((e=>{const t=Oi(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"],n=this.toRefractedElement(t,e);this.element.push(n)})),this.copyMetaAndAttributes(e,this.element),St}}}),Ai=Qs,ki=Qs,Ni=Qs,Mi=Qs,Ri=Qs,Ii=Nt(Qs,{methods:{ArrayElement(e){return this.element=pn(e),this.element.classes.push("json-schema-required"),St}}});const Ci=a((function(e){return C(fe(ze,0,Ue("length",e)),(function(){for(var t=0,n=e.length;t<n;){if(!e[t].apply(this,arguments))return!1;t+=1}return!0}))}));const Ti=c((function(e,t){return e||t}));const Fi=K(C(1,$e(Le,c((function(e,t){return Te(e)?function(){return e.apply(this,arguments)||t.apply(this,arguments)}:J(Ti)(e,t)}))(De,Ke))));const $i=K(An);const qi=Ci([pt,Fi,$i]),Li=Nt(hi,{props:{fieldPatternPredicate:Mt,specPath:ei,ignoredFields:[]},init({specPath:e=this.specPath,ignoredFields:t=this.ignoredFields}={}){this.specPath=e,this.ignoredFields=t},methods:{ObjectElement(e){return e.forEach(((e,t,n)=>{if(!this.ignoredFields.includes(ci(t))&&this.fieldPatternPredicate(ci(t))){const r=this.specPath(e),s=this.toRefractedElement(r,e),i=new oe.c6(pn(t),s);this.copyMetaAndAttributes(n,i),i.classes.push("patterned-field"),this.element.content.push(i)}else this.ignoredFields.includes(ci(t))||this.element.content.push(pn(n))})),this.copyMetaAndAttributes(e,this.element),St}}}),Bi=Nt(Li,{props:{fieldPatternPredicate:qi}}),Di=Nt(Bi,Si,Qs,{props:{specPath:e=>Oi(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"]},init(){this.element=new oe.Sb,this.element.classes.push("json-schema-properties")}}),Vi=Nt(Bi,Si,Qs,{props:{specPath:e=>Oi(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"]},init(){this.element=new oe.Sb,this.element.classes.push("json-schema-patternProperties")}}),zi=Nt(Bi,Si,Qs,{props:{specPath:e=>Oi(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"]},init(){this.element=new oe.Sb,this.element.classes.push("json-schema-dependencies")}}),Ui=Nt(Qs,{methods:{ArrayElement(e){return this.element=pn(e),this.element.classes.push("json-schema-enum"),St}}}),Gi=Nt(Qs,{methods:{StringElement(e){return this.element=pn(e),this.element.classes.push("json-schema-type"),St},ArrayElement(e){return this.element=pn(e),this.element.classes.push("json-schema-type"),St}}}),Wi=Nt(hi,Si,Qs,{init(){this.element=new oe.ON,this.element.classes.push("json-schema-allOf")},methods:{ArrayElement(e){return e.forEach((e=>{const t=Oi(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"],n=this.toRefractedElement(t,e);this.element.push(n)})),this.copyMetaAndAttributes(e,this.element),St}}}),Ji=Nt(hi,Si,Qs,{init(){this.element=new oe.ON,this.element.classes.push("json-schema-anyOf")},methods:{ArrayElement(e){return e.forEach((e=>{const t=Oi(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"],n=this.toRefractedElement(t,e);this.element.push(n)})),this.copyMetaAndAttributes(e,this.element),St}}}),Ki=Nt(hi,Si,Qs,{init(){this.element=new oe.ON,this.element.classes.push("json-schema-oneOf")},methods:{ArrayElement(e){return e.forEach((e=>{const t=Oi(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"],n=this.toRefractedElement(t,e);this.element.push(n)})),this.copyMetaAndAttributes(e,this.element),St}}}),Hi=Nt(Bi,Si,Qs,{props:{specPath:e=>Oi(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"]},init(){this.element=new oe.Sb,this.element.classes.push("json-schema-definitions")}}),Zi=Qs,Xi=Qs,Yi=Qs,Qi=Qs,eo=Qs,to=Nt(hi,Si,Qs,{init(){this.element=new oe.ON,this.element.classes.push("json-schema-links")},methods:{ArrayElement(e){return e.forEach((e=>{const t=this.toRefractedElement(["document","objects","LinkDescription"],e);this.element.push(t)})),this.copyMetaAndAttributes(e,this.element),St}}}),no=Qs,ro=Nt(mi,Qs,{props:{specPath:ne(["document","objects","JSONReference"])},init(){this.element=new Rs},methods:{ObjectElement(e){const t=mi.compose.methods.ObjectElement.call(this,e);return Ut(this.element.$ref)&&this.element.classes.push("reference-element"),t}}}),so=Nt(Qs,{methods:{StringElement(e){return this.element=pn(e),this.element.classes.push("reference-value"),St}}});const io=u((function(e,t,n){return C(Math.max(e.length,t.length,n.length),(function(){return e.apply(this,arguments)?t.apply(this,arguments):n.apply(this,arguments)}))}));const oo=a((function(e){return function(t,n){return e(t,n)?-1:e(n,t)?1:0}}));var ao=c((function(e,t){return Array.prototype.slice.call(t,0).sort(e)}));const co=ao;const uo=a(Rt);const lo=K(qs);const po=$e(kn,$i);function ho(e){return function(e){if(Array.isArray(e))return mo(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return mo(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return mo(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function mo(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var fo=ge(co(oo((function(e,t){return e.length>t.length}))),Zn,f("length")),_o=zs((function(e,t,n){var r=n.apply(void 0,ho(e));return lo(r)?uo(r):t}));const yo=io(po,(function(e){var t=fo(e);return C(t,(function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return fe(_o(n),void 0,e)}))}),re),go=Nt(hi,{props:{alternator:[]},methods:{enter(e){const t=this.alternator.map((({predicate:e,specPath:t})=>io(e,ne(t),re))),n=yo(t)(e);return this.element=this.toRefractedElement(n,e),St}}}),bo=Nt(go,{props:{alternator:[{predicate:Oi,specPath:["document","objects","JSONReference"]},{predicate:ti,specPath:["document","objects","JSONSchema"]}]}}),vo={visitors:{value:Qs,JSONSchemaOrJSONReferenceVisitor:bo,document:{objects:{JSONSchema:{$visitor:fi,fixedFields:{id:di,$schema:_i,multipleOf:yi,maximum:gi,exclusiveMaximum:bi,minimum:vi,exclusiveMinimum:wi,maxLength:Ei,minLength:xi,pattern:ji,additionalItems:bo,items:Pi,maxItems:Ai,minItems:ki,uniqueItems:Ni,maxProperties:Mi,minProperties:Ri,required:Ii,properties:Di,additionalProperties:bo,patternProperties:Vi,dependencies:zi,enum:Ui,type:Gi,allOf:Wi,anyOf:Ji,oneOf:Ki,not:bo,definitions:Hi,title:Zi,description:Xi,default:Yi,format:Qi,base:eo,links:to,media:{$ref:"#/visitors/document/objects/Media"},readOnly:no}},JSONReference:{$visitor:ro,fixedFields:{$ref:so}},Media:{$visitor:Nt(mi,Qs,{props:{specPath:ne(["document","objects","Media"])},init(){this.element=new Cs}}),fixedFields:{binaryEncoding:Qs,type:Qs}},LinkDescription:{$visitor:Nt(mi,Qs,{props:{specPath:ne(["document","objects","LinkDescription"])},init(){this.element=new Fs}}),fixedFields:{href:Qs,rel:Qs,title:Qs,targetSchema:bo,mediaType:Qs,method:Qs,encType:Qs,schema:bo}}}}}},wo=Vt((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof Ns||e(r)&&t("JSONSchemaDraft4",r)&&n("object",r))),Eo=Vt((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof Rs||e(r)&&t("JSONReference",r)&&n("object",r))),xo=Vt((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof Cs||e(r)&&t("media",r)&&n("object",r))),jo=Vt((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof Fs||e(r)&&t("linkDescription",r)&&n("object",r))),So={namespace:e=>{const{base:t}=e;return t.register("jSONSchemaDraft4",Ns),t.register("jSONReference",Rs),t.register("media",Cs),t.register("linkDescription",Fs),t}},Oo=()=>{const e=ut(So);return{predicates:{...t,isStringElement:Ut},namespace:e}},Po=(e,{specPath:t=["visitors","document","objects","JSONSchema","$visitor"],plugins:n=[],specificationObj:r=vo}={})=>{const s=(0,oe.Qc)(e),i=Xs(r),o=Mn(t,[],i);return bn(s,o,{state:{specObj:i}}),Cn(o.element,n,{toolboxCreator:Oo,visitorOptions:{keyMap:pi,nodeTypeGetter:li}})},Ao=e=>(t,n={})=>Po(t,{specPath:e,...n});Ns.refract=Ao(["visitors","document","objects","JSONSchema","$visitor"]),Rs.refract=Ao(["visitors","document","objects","JSONReference","$visitor"]),Cs.refract=Ao(["visitors","document","objects","Media","$visitor"]),Fs.refract=Ao(["visitors","document","objects","LinkDescription","$visitor"]);const ko=class extends Ns{constructor(e,t,n){super(e,t,n),this.element="schema",this.classes.push("json-schema-draft-4")}get idProp(){throw new As("idProp getter in Schema class is not not supported.")}set idProp(e){throw new As("idProp setter in Schema class is not not supported.")}get $schema(){throw new As("$schema getter in Schema class is not not supported.")}set $schema(e){throw new As("$schema setter in Schema class is not not supported.")}get additionalItems(){return this.get("additionalItems")}set additionalItems(e){this.set("additionalItems",e)}get items(){return this.get("items")}set items(e){this.set("items",e)}get additionalProperties(){return this.get("additionalProperties")}set additionalProperties(e){this.set("additionalProperties",e)}get patternProperties(){throw new As("patternProperties getter in Schema class is not not supported.")}set patternProperties(e){throw new As("patternProperties setter in Schema class is not not supported.")}get dependencies(){throw new As("dependencies getter in Schema class is not not supported.")}set dependencies(e){throw new As("dependencies setter in Schema class is not not supported.")}get type(){return this.get("type")}set type(e){this.set("type",e)}get not(){return this.get("not")}set not(e){this.set("not",e)}get definitions(){throw new As("definitions getter in Schema class is not not supported.")}set definitions(e){throw new As("definitions setter in Schema class is not not supported.")}get base(){throw new As("base getter in Schema class is not not supported.")}set base(e){throw new As("base setter in Schema class is not not supported.")}get links(){throw new As("links getter in Schema class is not not supported.")}set links(e){throw new As("links setter in Schema class is not not supported.")}get media(){throw new As("media getter in Schema class is not not supported.")}set media(e){throw new As("media setter in Schema class is not not supported.")}get nullable(){return this.get("nullable")}set nullable(e){this.set("nullable",e)}get discriminator(){return this.get("discriminator")}set discriminator(e){this.set("discriminator",e)}get writeOnly(){return this.get("writeOnly")}set writeOnly(e){this.set("writeOnly",e)}get xml(){return this.get("xml")}set xml(e){this.set("xml",e)}get externalDocs(){return this.get("externalDocs")}set externalDocs(e){this.set("externalDocs",e)}get example(){return this.get("example")}set example(e){this.set("example",e)}get deprecated(){return this.get("deprecated")}set deprecated(e){this.set("deprecated",e)}};class No extends oe.Sb{constructor(e,t,n){super(e,t,n),this.element="securityRequirement"}}const Mo=No;class Ro extends oe.Sb{constructor(e,t,n){super(e,t,n),this.element="securityScheme"}get type(){return this.get("type")}set type(e){this.set("type",e)}get description(){return this.get("description")}set description(e){this.set("description",e)}get name(){return this.get("name")}set name(e){this.set("name",e)}get in(){return this.get("in")}set in(e){this.set("in",e)}get scheme(){return this.get("scheme")}set scheme(e){this.set("scheme",e)}get bearerFormat(){return this.get("bearerFormat")}set bearerFormat(e){this.set("bearerFormat",e)}get flows(){return this.get("flows")}set flows(e){this.set("flows",e)}get openIdConnectUrl(){return this.get("openIdConnectUrl")}set openIdConnectUrl(e){this.set("openIdConnectUrl",e)}}const Io=Ro;class Co extends oe.Sb{constructor(e,t,n){super(e,t,n),this.element="server"}get url(){return this.get("url")}set url(e){this.set("url",e)}get description(){return this.get("description")}set description(e){this.set("description",e)}get variables(){return this.get("variables")}set variables(e){this.set("variables",e)}}const To=Co;class Fo extends oe.Sb{constructor(e,t,n){super(e,t,n),this.element="serverVariable"}get enum(){return this.get("enum")}set enum(e){this.set("enum",e)}get default(){return this.get("default")}set default(e){this.set("default",e)}get description(){return this.get("description")}set description(e){this.set("description",e)}}const $o=Fo;class qo extends oe.Sb{constructor(e,t,n){super(e,t,n),this.element="tag"}get name(){return this.get("name")}set name(e){this.set("name",e)}get description(){return this.get("description")}set description(e){this.set("description",e)}get externalDocs(){return this.get("externalDocs")}set externalDocs(e){this.set("externalDocs",e)}}const Lo=qo;class Bo extends oe.Sb{constructor(e,t,n){super(e,t,n),this.element="xml"}get name(){return this.get("name")}set name(e){this.set("name",e)}get namespace(){return this.get("namespace")}set namespace(e){this.set("namespace",e)}get prefix(){return this.get("prefix")}set prefix(e){this.set("prefix",e)}get attribute(){return this.get("attribute")}set attribute(e){this.set("attribute",e)}get wrapped(){return this.get("wrapped")}set wrapped(e){this.set("wrapped",e)}}const Do=Bo,Vo=Nt({props:{element:null},methods:{copyMetaAndAttributes(e,t){sn(e)&&t.meta.set("sourceMap",e.meta.get("sourceMap"))}}}),zo=e=>{if(zt(e))return`${e.element.charAt(0).toUpperCase()+e.element.slice(1)}Element`},Uo={CallbackElement:["content"],ComponentsElement:["content"],ContactElement:["content"],DiscriminatorElement:["content"],Encoding:["content"],Example:["content"],ExternalDocumentationElement:["content"],HeaderElement:["content"],InfoElement:["content"],LicenseElement:["content"],MediaTypeElement:["content"],OAuthFlowElement:["content"],OAuthFlowsElement:["content"],OpenApi3_0Element:["content"],OperationElement:["content"],ParameterElement:["content"],PathItemElement:["content"],PathsElement:["content"],ReferenceElement:["content"],RequestBodyElement:["content"],ResponseElement:["content"],ResponsesElement:["content"],SchemaElement:["content"],SecurityRequirementElement:["content"],SecuritySchemeElement:["content"],ServerElement:["content"],ServerVariableElement:["content"],TagElement:["content"],...gn},Go=Nt(Vo,{props:{passingOptionsNames:["specObj","openApiGenericElement","openApiSemanticElement"],specObj:null,openApiGenericElement:null,openApiSemanticElement:null},init({specObj:e=this.specObj,openApiGenericElement:t=this.openApiGenericElement,openApiSemanticElement:n=this.openApiSemanticElement}){this.specObj=e,this.openApiGenericElement=t,this.openApiSemanticElement=n},methods:{retrievePassingOptions(){return ui(this.passingOptionsNames,this)},retrieveFixedFields(e){const t=Ie(["visitors",...e,"fixedFields"],this.specObj);return"object"==typeof t&&null!==t?Object.keys(t):[]},retrieveVisitor(e){return Ce(Ke,["visitors",...e],this.specObj)?Ie(["visitors",...e],this.specObj):Ie(["visitors",...e,"$visitor"],this.specObj)},retrieveVisitorInstance(e,t={}){const n=this.retrievePassingOptions();return this.retrieveVisitor(e)({...n,...t})},toRefractedElement(e,t,n={}){const r=this.retrieveVisitorInstance(e,n),s=Object.getPrototypeOf(r);return se(this.fallbackVisitorPrototype)&&(this.fallbackVisitorPrototype=Object.getPrototypeOf(this.retrieveVisitorInstance(["value"]))),this.fallbackVisitorPrototype===s?pn(t):(bn(t,r,{keyMap:Uo,nodeTypeGetter:zo,...n}),r.element)}}});var Wo=function(){function e(e,t){this.xf=t,this.n=e,this.i=0}return e.prototype["@@transducer/init"]=A,e.prototype["@@transducer/result"]=k,e.prototype["@@transducer/step"]=function(e,t){this.i+=1;var n=0===this.n?e:this.xf["@@transducer/step"](e,t);return this.n>=0&&this.i>=this.n?Rt(n):n},e}();function Jo(e){return function(t){return new Wo(e,t)}}const Ko=c(O(["take"],Jo,(function(e,t){return _e(0,e<0?1/0:e,t)})));const Ho=c((function(e,t){return te(Ko(e.length,t),e)})),Zo=e=>Kt(e)&&e.hasKey("openapi")&&e.hasKey("info"),Xo=e=>Kt(e)&&e.hasKey("name")&&e.hasKey("in"),Yo=e=>Kt(e)&&e.hasKey("$ref"),Qo=e=>Kt(e)&&e.hasKey("content"),ea=e=>Kt(e)&&e.hasKey("description"),ta=Kt,na=Kt,ra=e=>Ut(e.key)&&Ho("x-",ci(e.key)),sa=Nt(Go,{props:{specPath:ei,ignoredFields:[],canSupportSpecificationExtensions:!0,specificationExtensionPredicate:ra},init({specPath:e=this.specPath,ignoredFields:t=this.ignoredFields,canSupportSpecificationExtensions:n=this.canSupportSpecificationExtensions,specificationExtensionPredicate:r=this.specificationExtensionPredicate}={}){this.specPath=e,this.ignoredFields=t,this.canSupportSpecificationExtensions=n,this.specificationExtensionPredicate=r},methods:{ObjectElement(e){const t=this.specPath(e),n=this.retrieveFixedFields(t);return e.forEach(((e,r,s)=>{if(Ut(r)&&n.includes(ci(r))&&!this.ignoredFields.includes(ci(r))){const n=this.toRefractedElement([...t,"fixedFields",ci(r)],e),i=new oe.c6(pn(r),n);this.copyMetaAndAttributes(s,i),i.classes.push("fixed-field"),this.element.content.push(i)}else if(this.canSupportSpecificationExtensions&&this.specificationExtensionPredicate(s)){const e=this.toRefractedElement(["document","extension"],s);this.element.content.push(e)}else this.ignoredFields.includes(ci(r))||this.element.content.push(pn(s))})),this.copyMetaAndAttributes(e,this.element),St}}}),ia=Nt(Vo,{methods:{enter(e){return this.element=pn(e),St}}}),oa=Nt(sa,ia,{props:{specPath:ne(["document","objects","OpenApi"]),canSupportSpecificationExtensions:!0},init(){this.element=new ps},methods:{ObjectElement(e){return this.unrefractedElement=e,sa.compose.methods.ObjectElement.call(this,e)}}}),aa=Nt(Go,ia,{methods:{StringElement(e){const t=new us(ci(e));return this.copyMetaAndAttributes(e,t),this.element=t,St}}}),ca=Nt(Go,{methods:{MemberElement(e){return this.element=pn(e),this.element.classes.push("specification-extension"),St}}}),ua=Nt(sa,ia,{props:{specPath:ne(["document","objects","Info"]),canSupportSpecificationExtensions:!0},init(){this.element=new Xr}}),la=ia,pa=ia,ha=ia,ma=Nt(ia,{methods:{StringElement(e){return this.element=pn(e),this.element.classes.push("api-version"),this.element.classes.push("version"),St}}}),fa=Nt(sa,ia,{props:{specPath:ne(["document","objects","Contact"]),canSupportSpecificationExtensions:!0},init(){this.element=new Lr}}),da=ia,_a=ia,ya=ia,ga=Nt(sa,ia,{props:{specPath:ne(["document","objects","License"]),canSupportSpecificationExtensions:!0},init(){this.element=new Qr}}),ba=ia,va=ia,wa=Nt(sa,ia,{props:{specPath:ne(["document","objects","Link"]),canSupportSpecificationExtensions:!0},init(){this.element=new ts},methods:{ObjectElement(e){const t=sa.compose.methods.ObjectElement.call(this,e);return(Ut(this.element.operationId)||Ut(this.element.operationRef))&&this.element.classes.push("reference-element"),t}}}),Ea=Nt(ia,{methods:{StringElement(e){return this.element=pn(e),this.element.classes.push("reference-value"),St}}}),xa=Nt(ia,{methods:{StringElement(e){return this.element=pn(e),this.element.classes.push("reference-value"),St}}}),ja=Nt(Go,{props:{fieldPatternPredicate:Mt,specPath:ei,ignoredFields:[],canSupportSpecificationExtensions:!1,specificationExtensionPredicate:ra},init({specPath:e=this.specPath,ignoredFields:t=this.ignoredFields,canSupportSpecificationExtensions:n=this.canSupportSpecificationExtensions,specificationExtensionPredicate:r=this.specificationExtensionPredicate}={}){this.specPath=e,this.ignoredFields=t,this.canSupportSpecificationExtensions=n,this.specificationExtensionPredicate=r},methods:{ObjectElement(e){return e.forEach(((e,t,n)=>{if(this.canSupportSpecificationExtensions&&this.specificationExtensionPredicate(n)){const e=this.toRefractedElement(["document","extension"],n);this.element.content.push(e)}else if(!this.ignoredFields.includes(ci(t))&&this.fieldPatternPredicate(ci(t))){const r=this.specPath(e),s=this.toRefractedElement(r,e),i=new oe.c6(pn(t),s);this.copyMetaAndAttributes(n,i),i.classes.push("patterned-field"),this.element.content.push(i)}else this.ignoredFields.includes(ci(t))||this.element.content.push(pn(n))})),this.copyMetaAndAttributes(e,this.element),St}}}),Sa=Nt(ja,{props:{fieldPatternPredicate:qi}});class Oa extends oe.Sb{static primaryClass="link-parameters";constructor(e,t,n){super(e,t,n),this.classes.push(Oa.primaryClass)}}const Pa=Oa,Aa=Nt(Sa,ia,{props:{specPath:ne(["value"])},init(){this.element=new Pa}}),ka=ia,Na=ia,Ma=Nt(sa,ia,{props:{specPath:ne(["document","objects","Server"]),canSupportSpecificationExtensions:!0},init(){this.element=new To}}),Ra=Nt(ia,{methods:{StringElement(e){return this.element=pn(e),this.element.classes.push("server-url"),St}}}),Ia=ia;class Ca extends oe.ON{static primaryClass="servers";constructor(e,t,n){super(e,t,n),this.classes.push(Ca.primaryClass)}}const Ta=Ca,Fa=Nt(Go,ia,{init(){this.element=new Ta},methods:{ArrayElement(e){return e.forEach((e=>{const t=ta(e)?["document","objects","Server"]:["value"],n=this.toRefractedElement(t,e);this.element.push(n)})),this.copyMetaAndAttributes(e,this.element),St}}}),$a=Nt(sa,ia,{props:{specPath:ne(["document","objects","ServerVariable"]),canSupportSpecificationExtensions:!0},init(){this.element=new $o}}),qa=ia,La=ia,Ba=ia;class Da extends oe.Sb{static primaryClass="server-variables";constructor(e,t,n){super(e,t,n),this.classes.push(Da.primaryClass)}}const Va=Da,za=Nt(Sa,ia,{props:{specPath:ne(["document","objects","ServerVariable"])},init(){this.element=new Va}}),Ua=Nt(sa,ia,{props:{specPath:ne(["document","objects","MediaType"]),canSupportSpecificationExtensions:!0},init(){this.element=new rs}}),Ga=Nt(Go,{props:{alternator:[]},methods:{enter(e){const t=this.alternator.map((({predicate:e,specPath:t})=>io(e,ne(t),re))),n=yo(t)(e);return this.element=this.toRefractedElement(n,e),St}}}),Wa=Vt((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof Tr||e(r)&&t("callback",r)&&n("object",r))),Ja=Vt((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof $r||e(r)&&t("components",r)&&n("object",r))),Ka=Vt((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof Lr||e(r)&&t("contact",r)&&n("object",r))),Ha=Vt((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof Gr||e(r)&&t("example",r)&&n("object",r))),Za=Vt((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof Jr||e(r)&&t("externalDocumentation",r)&&n("object",r))),Xa=Vt((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof Hr||e(r)&&t("header",r)&&n("object",r))),Ya=Vt((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof Xr||e(r)&&t("info",r)&&n("object",r))),Qa=Vt((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof Qr||e(r)&&t("license",r)&&n("object",r))),ec=Vt((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof ts||e(r)&&t("link",r)&&n("object",r))),tc=Vt((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof us||e(r)&&t("openapi",r)&&n("string",r))),nc=Vt((({hasBasicElementProps:e,isElementType:t,primitiveEq:n,hasClass:r})=>s=>s instanceof ps||e(s)&&t("openApi3_0",s)&&n("object",s)&&r("api",s))),rc=Vt((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof ms||e(r)&&t("operation",r)&&n("object",r))),sc=Vt((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof ds||e(r)&&t("parameter",r)&&n("object",r))),ic=Vt((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof ys||e(r)&&t("pathItem",r)&&n("object",r))),oc=Vt((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof bs||e(r)&&t("paths",r)&&n("object",r))),ac=Vt((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof ws||e(r)&&t("reference",r)&&n("object",r))),cc=Vt((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof xs||e(r)&&t("requestBody",r)&&n("object",r))),uc=Vt((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof Ss||e(r)&&t("response",r)&&n("object",r))),lc=Vt((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof Ps||e(r)&&t("responses",r)&&n("object",r))),pc=Vt((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof ko||e(r)&&t("schema",r)&&n("object",r))),hc=e=>Jt(e)&&e.classes.includes("boolean-json-schema"),mc=Vt((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof Mo||e(r)&&t("securityRequirement",r)&&n("object",r))),fc=Vt((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof To||e(r)&&t("server",r)&&n("object",r))),dc=Vt((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof $o||e(r)&&t("serverVariable",r)&&n("object",r))),_c=Vt((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof rs||e(r)&&t("mediaType",r)&&n("object",r))),yc=Vt((({hasBasicElementProps:e,isElementType:t,primitiveEq:n,hasClass:r})=>s=>s instanceof Ta||e(s)&&t("array",s)&&n("array",s)&&r("servers",s))),gc=Nt(Ga,ia,{props:{alternator:[{predicate:Yo,specPath:["document","objects","Reference"]},{predicate:ti,specPath:["document","objects","Schema"]}]},methods:{ObjectElement(e){const t=Ga.compose.methods.enter.call(this,e);return ac(this.element)&&this.element.setMetaProperty("referenced-element","schema"),t}}}),bc=ia,vc=Nt(Sa,ia,{props:{specPath:e=>Yo(e)?["document","objects","Reference"]:["document","objects","Example"],canSupportSpecificationExtensions:!0},init(){this.element=new oe.Sb,this.element.classes.push("examples")},methods:{ObjectElement(e){const t=Sa.compose.methods.ObjectElement.call(this,e);return this.element.filter(ac).forEach((e=>{e.setMetaProperty("referenced-element","example")})),t}}});class wc extends oe.Sb{static primaryClass="media-type-examples";constructor(e,t,n){super(e,t,n),this.classes.push(wc.primaryClass),this.classes.push("examples")}}const Ec=wc,xc=Nt(vc,{init(){this.element=new Ec}});class jc extends oe.Sb{static primaryClass="media-type-encoding";constructor(e,t,n){super(e,t,n),this.classes.push(jc.primaryClass)}}const Sc=jc,Oc=Nt(Sa,ia,{props:{specPath:ne(["document","objects","Encoding"])},init(){this.element=new Sc}}),Pc=Nt(Sa,ia,{props:{specPath:ne(["value"])},init(){this.element=new Mo}});class Ac extends oe.ON{static primaryClass="security";constructor(e,t,n){super(e,t,n),this.classes.push(Ac.primaryClass)}}const kc=Ac,Nc=Nt(Go,ia,{init(){this.element=new kc},methods:{ArrayElement(e){return e.forEach((e=>{if(Kt(e)){const t=this.toRefractedElement(["document","objects","SecurityRequirement"],e);this.element.push(t)}else this.element.push(pn(e))})),this.copyMetaAndAttributes(e,this.element),St}}}),Mc=Nt(sa,ia,{props:{specPath:ne(["document","objects","Components"]),canSupportSpecificationExtensions:!0},init(){this.element=new $r}}),Rc=Nt(sa,ia,{props:{specPath:ne(["document","objects","Tag"]),canSupportSpecificationExtensions:!0},init(){this.element=new Lo}}),Ic=ia,Cc=ia,Tc=Nt(sa,ia,{props:{specPath:ne(["document","objects","Reference"]),canSupportSpecificationExtensions:!1},init(){this.element=new ws},methods:{ObjectElement(e){const t=sa.compose.methods.ObjectElement.call(this,e);return Ut(this.element.$ref)&&this.element.classes.push("reference-element"),t}}}),Fc=Nt(ia,{methods:{StringElement(e){return this.element=pn(e),this.element.classes.push("reference-value"),St}}}),$c=Nt(sa,ia,{props:{specPath:ne(["document","objects","Parameter"]),canSupportSpecificationExtensions:!0},init(){this.element=new ds},methods:{ObjectElement(e){const t=sa.compose.methods.ObjectElement.call(this,e);return Kt(this.element.contentProp)&&this.element.contentProp.filter(_c).forEach(((e,t)=>{e.setMetaProperty("media-type",ci(t))})),t}}}),qc=ia,Lc=ia,Bc=ia,Dc=ia,Vc=ia,zc=ia,Uc=ia,Gc=ia,Wc=ia,Jc=Nt(Ga,ia,{props:{alternator:[{predicate:Yo,specPath:["document","objects","Reference"]},{predicate:ti,specPath:["document","objects","Schema"]}]},methods:{ObjectElement(e){const t=Ga.compose.methods.enter.call(this,e);return ac(this.element)&&this.element.setMetaProperty("referenced-element","schema"),t}}}),Kc=Nt(sa,ia,{props:{specPath:ne(["document","objects","Header"]),canSupportSpecificationExtensions:!0},init(){this.element=new Hr}}),Hc=ia,Zc=ia,Xc=ia,Yc=ia,Qc=ia,eu=ia,tu=ia,nu=Nt(Ga,ia,{props:{alternator:[{predicate:Yo,specPath:["document","objects","Reference"]},{predicate:ti,specPath:["document","objects","Schema"]}]},methods:{ObjectElement(e){const t=Ga.compose.methods.enter.call(this,e);return ac(this.element)&&this.element.setMetaProperty("referenced-element","schema"),t}}}),ru=ia;class su extends oe.Sb{static primaryClass="header-examples";constructor(e,t,n){super(e,t,n),this.classes.push(su.primaryClass),this.classes.push("examples")}}const iu=su,ou=Nt(vc,{init(){this.element=new iu}}),au=Nt(Sa,ia,{props:{specPath:ne(["document","objects","MediaType"])},init(){this.element=new oe.Sb,this.element.classes.push("content")}});class cu extends oe.Sb{static primaryClass="header-content";constructor(e,t,n){super(e,t,n),this.classes.push(cu.primaryClass),this.classes.push("content")}}const uu=cu,lu=Nt(au,{init(){this.element=new uu}}),pu=Nt(sa,ia,{props:{specPath:ne(["document","objects","Schema"]),canSupportSpecificationExtensions:!0},init(){this.element=new ko}}),{allOf:hu}=vo.visitors.document.objects.JSONSchema.fixedFields,mu=Nt(hu,{methods:{ArrayElement(e){const t=hu.compose.methods.ArrayElement.call(this,e);return this.element.filter(ac).forEach((e=>{e.setMetaProperty("referenced-element","schema")})),t}}}),{anyOf:fu}=vo.visitors.document.objects.JSONSchema.fixedFields,du=Nt(fu,{methods:{ArrayElement(e){const t=fu.compose.methods.ArrayElement.call(this,e);return this.element.filter(ac).forEach((e=>{e.setMetaProperty("referenced-element","schema")})),t}}}),{oneOf:_u}=vo.visitors.document.objects.JSONSchema.fixedFields,yu=Nt(_u,{methods:{ArrayElement(e){const t=_u.compose.methods.ArrayElement.call(this,e);return this.element.filter(ac).forEach((e=>{e.setMetaProperty("referenced-element","schema")})),t}}}),{items:gu}=vo.visitors.document.objects.JSONSchema.fixedFields,bu=Nt(gu,{methods:{ObjectElement(e){const t=gu.compose.methods.ObjectElement.call(this,e);return ac(this.element)&&this.element.setMetaProperty("referenced-element","schema"),t},ArrayElement(e){return this.element=pn(e),St}}}),{properties:vu}=vo.visitors.document.objects.JSONSchema.fixedFields,wu=Nt(vu,{methods:{ObjectElement(e){const t=vu.compose.methods.ObjectElement.call(this,e);return this.element.filter(ac).forEach((e=>{e.setMetaProperty("referenced-element","schema")})),t}}}),{type:Eu}=vo.visitors.document.objects.JSONSchema.fixedFields,xu=Nt(Eu,{methods:{ArrayElement(e){return this.element=pn(e),St}}}),ju=ia,Su=ia,Ou=ia,Pu=ia,{JSONSchemaOrJSONReferenceVisitor:Au}=vo.visitors,ku=Nt(Au,{methods:{ObjectElement(e){const t=Au.compose.methods.enter.call(this,e);return ac(this.element)&&this.element.setMetaProperty("referenced-element","schema"),t}}}),Nu=Nt(sa,ia,{props:{specPath:ne(["document","objects","Discriminator"]),canSupportSpecificationExtensions:!1},init(){this.element=new Dr}}),Mu=ia;class Ru extends oe.Sb{static primaryClass="discriminator-mapping";constructor(e,t,n){super(e,t,n),this.classes.push(Ru.primaryClass)}}const Iu=Ru,Cu=Nt(Sa,ia,{props:{specPath:ne(["value"])},init(){this.element=new Iu}}),Tu=Nt(sa,ia,{props:{specPath:ne(["document","objects","XML"]),canSupportSpecificationExtensions:!0},init(){this.element=new Do}}),Fu=ia,$u=ia,qu=ia,Lu=ia,Bu=ia,Du=ia;class Vu extends oe.Sb{static primaryClass="parameter-examples";constructor(e,t,n){super(e,t,n),this.classes.push(Vu.primaryClass),this.classes.push("examples")}}const zu=Vu,Uu=Nt(vc,{init(){this.element=new zu}});class Gu extends oe.Sb{static primaryClass="parameter-content";constructor(e,t,n){super(e,t,n),this.classes.push(Gu.primaryClass),this.classes.push("content")}}const Wu=Gu,Ju=Nt(au,{init(){this.element=new Wu}});class Ku extends oe.Sb{static primaryClass="components-schemas";constructor(e,t,n){super(e,t,n),this.classes.push(Ku.primaryClass)}}const Hu=Ku,Zu=Nt(Sa,ia,{props:{specPath:e=>Yo(e)?["document","objects","Reference"]:["document","objects","Schema"]},init(){this.element=new Hu},methods:{ObjectElement(e){const t=Sa.compose.methods.ObjectElement.call(this,e);return this.element.filter(ac).forEach((e=>{e.setMetaProperty("referenced-element","schema")})),t}}});class Xu extends oe.Sb{static primaryClass="components-responses";constructor(e,t,n){super(e,t,n),this.classes.push(Xu.primaryClass)}}const Yu=Xu,Qu=Nt(Sa,ia,{props:{specPath:e=>Yo(e)?["document","objects","Reference"]:["document","objects","Response"]},init(){this.element=new Yu},methods:{ObjectElement(e){const t=Sa.compose.methods.ObjectElement.call(this,e);return this.element.filter(ac).forEach((e=>{e.setMetaProperty("referenced-element","response")})),this.element.filter(uc).forEach(((e,t)=>{e.setMetaProperty("http-status-code",ci(t))})),t}}});class el extends oe.Sb{static primaryClass="components-parameters";constructor(e,t,n){super(e,t,n),this.classes.push(el.primaryClass),this.classes.push("parameters")}}const tl=el,nl=Nt(Sa,ia,{props:{specPath:e=>Yo(e)?["document","objects","Reference"]:["document","objects","Parameter"]},init(){this.element=new tl},methods:{ObjectElement(e){const t=Sa.compose.methods.ObjectElement.call(this,e);return this.element.filter(ac).forEach((e=>{e.setMetaProperty("referenced-element","parameter")})),t}}});class rl extends oe.Sb{static primaryClass="components-examples";constructor(e,t,n){super(e,t,n),this.classes.push(rl.primaryClass),this.classes.push("examples")}}const sl=rl,il=Nt(Sa,ia,{props:{specPath:e=>Yo(e)?["document","objects","Reference"]:["document","objects","Example"]},init(){this.element=new sl},methods:{ObjectElement(e){const t=Sa.compose.methods.ObjectElement.call(this,e);return this.element.filter(ac).forEach((e=>{e.setMetaProperty("referenced-element","example")})),t}}});class ol extends oe.Sb{static primaryClass="components-request-bodies";constructor(e,t,n){super(e,t,n),this.classes.push(ol.primaryClass)}}const al=ol,cl=Nt(Sa,ia,{props:{specPath:e=>Yo(e)?["document","objects","Reference"]:["document","objects","RequestBody"]},init(){this.element=new al},methods:{ObjectElement(e){const t=Sa.compose.methods.ObjectElement.call(this,e);return this.element.filter(ac).forEach((e=>{e.setMetaProperty("referenced-element","requestBody")})),t}}});class ul extends oe.Sb{static primaryClass="components-headers";constructor(e,t,n){super(e,t,n),this.classes.push(ul.primaryClass)}}const ll=ul,pl=Nt(Sa,ia,{props:{specPath:e=>Yo(e)?["document","objects","Reference"]:["document","objects","Header"]},init(){this.element=new ll},methods:{ObjectElement(e){const t=Sa.compose.methods.ObjectElement.call(this,e);return this.element.filter(ac).forEach((e=>{e.setMetaProperty("referenced-element","header")})),this.element.filter(Xa).forEach(((e,t)=>{e.setMetaProperty("header-name",ci(t))})),t}}});class hl extends oe.Sb{static primaryClass="components-security-schemes";constructor(e,t,n){super(e,t,n),this.classes.push(hl.primaryClass)}}const ml=hl,fl=Nt(Sa,ia,{props:{specPath:e=>Yo(e)?["document","objects","Reference"]:["document","objects","SecurityScheme"]},init(){this.element=new ml},methods:{ObjectElement(e){const t=Sa.compose.methods.ObjectElement.call(this,e);return this.element.filter(ac).forEach((e=>{e.setMetaProperty("referenced-element","securityScheme")})),t}}});class dl extends oe.Sb{static primaryClass="components-links";constructor(e,t,n){super(e,t,n),this.classes.push(dl.primaryClass)}}const _l=dl,yl=Nt(Sa,ia,{props:{specPath:e=>Yo(e)?["document","objects","Reference"]:["document","objects","Link"]},init(){this.element=new _l},methods:{ObjectElement(e){const t=Sa.compose.methods.ObjectElement.call(this,e);return this.element.filter(ac).forEach((e=>{e.setMetaProperty("referenced-element","link")})),t}}});class gl extends oe.Sb{static primaryClass="components-callbacks";constructor(e,t,n){super(e,t,n),this.classes.push(gl.primaryClass)}}const bl=gl,vl=Nt(Sa,ia,{props:{specPath:e=>Yo(e)?["document","objects","Reference"]:["document","objects","Callback"]},init(){this.element=new bl},methods:{ObjectElement(e){const t=Sa.compose.methods.ObjectElement.call(this,e);return this.element.filter(ac).forEach((e=>{e.setMetaProperty("referenced-element","callback")})),t}}}),wl=Nt(sa,ia,{props:{specPath:ne(["document","objects","Example"]),canSupportSpecificationExtensions:!0},init(){this.element=new Gr},methods:{ObjectElement(e){const t=sa.compose.methods.ObjectElement.call(this,e);return Ut(this.element.externalValue)&&this.element.classes.push("reference-element"),t}}}),El=ia,xl=ia,jl=ia,Sl=Nt(ia,{methods:{StringElement(e){return this.element=pn(e),this.element.classes.push("reference-value"),St}}}),Ol=Nt(sa,ia,{props:{specPath:ne(["document","objects","ExternalDocumentation"]),canSupportSpecificationExtensions:!0},init(){this.element=new Jr}}),Pl=ia,Al=ia,kl=Nt(sa,ia,{props:{specPath:ne(["document","objects","Encoding"]),canSupportSpecificationExtensions:!0},init(){this.element=new zr},methods:{ObjectElement(e){const t=sa.compose.methods.ObjectElement.call(this,e);return Kt(this.element.headers)&&this.element.headers.filter(Xa).forEach(((e,t)=>{e.setMetaProperty("header-name",ci(t))})),t}}}),Nl=ia;class Ml extends oe.Sb{static primaryClass="encoding-headers";constructor(e,t,n){super(e,t,n),this.classes.push(Ml.primaryClass)}}const Rl=Ml,Il=Nt(Sa,ia,{props:{specPath:e=>Yo(e)?["document","objects","Reference"]:["document","objects","Header"]},init(){this.element=new Rl},methods:{ObjectElement(e){const t=Sa.compose.methods.ObjectElement.call(this,e);return this.element.filter(ac).forEach((e=>{e.setMetaProperty("referenced-element","header")})),this.element.forEach(((e,t)=>{if(!Xa(e))return;const n=ci(t);e.setMetaProperty("headerName",n)})),t}}}),Cl=ia,Tl=ia,Fl=ia;const $l=c((function(e,t){if(n=e,"[object RegExp]"!==Object.prototype.toString.call(n))throw new TypeError("‘test’ requires a value of type RegExp as its first argument; received "+Me(e));var n;return function(e){return new RegExp(e.source,e.flags?e.flags:(e.global?"g":"")+(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.sticky?"y":"")+(e.unicode?"u":"")+(e.dotAll?"s":""))}(e).test(t)})),ql=Nt(ja,ia,{props:{fieldPatternPredicate:$l(/^\/(?<path>.*)$/),specPath:ne(["document","objects","PathItem"]),canSupportSpecificationExtensions:!0},init(){this.element=new bs},methods:{ObjectElement(e){const t=ja.compose.methods.ObjectElement.call(this,e);return this.element.filter(ic).forEach(((e,t)=>{e.setMetaProperty("path",pn(t))})),t}}}),Ll=Nt(sa,ia,{props:{specPath:ne(["document","objects","RequestBody"])},init(){this.element=new xs},methods:{ObjectElement(e){const t=sa.compose.methods.ObjectElement.call(this,e);return Kt(this.element.contentProp)&&this.element.contentProp.filter(_c).forEach(((e,t)=>{e.setMetaProperty("media-type",ci(t))})),t}}}),Bl=ia;class Dl extends oe.Sb{static primaryClass="request-body-content";constructor(e,t,n){super(e,t,n),this.classes.push(Dl.primaryClass),this.classes.push("content")}}const Vl=Dl,zl=Nt(au,{init(){this.element=new Vl}}),Ul=ia,Gl=Nt(ja,ia,{props:{fieldPatternPredicate:$l(/{(?<expression>.*)}/),specPath:ne(["document","objects","PathItem"]),canSupportSpecificationExtensions:!0},init(){this.element=new Tr},methods:{ObjectElement(e){const t=Sa.compose.methods.ObjectElement.call(this,e);return this.element.filter(ic).forEach(((e,t)=>{e.setMetaProperty("runtime-expression",ci(t))})),t}}}),Wl=Nt(sa,ia,{props:{specPath:ne(["document","objects","Response"])},init(){this.element=new Ss},methods:{ObjectElement(e){const t=sa.compose.methods.ObjectElement.call(this,e);return Kt(this.element.contentProp)&&this.element.contentProp.filter(_c).forEach(((e,t)=>{e.setMetaProperty("media-type",ci(t))})),Kt(this.element.headers)&&this.element.headers.filter(Xa).forEach(((e,t)=>{e.setMetaProperty("header-name",ci(t))})),t}}}),Jl=ia;class Kl extends oe.Sb{static primaryClass="response-headers";constructor(e,t,n){super(e,t,n),this.classes.push(Kl.primaryClass)}}const Hl=Kl,Zl=Nt(Sa,ia,{props:{specPath:e=>Yo(e)?["document","objects","Reference"]:["document","objects","Header"]},init(){this.element=new Hl},methods:{ObjectElement(e){const t=Sa.compose.methods.ObjectElement.call(this,e);return this.element.filter(ac).forEach((e=>{e.setMetaProperty("referenced-element","header")})),this.element.forEach(((e,t)=>{if(!Xa(e))return;const n=ci(t);e.setMetaProperty("header-name",n)})),t}}});class Xl extends oe.Sb{static primaryClass="response-content";constructor(e,t,n){super(e,t,n),this.classes.push(Xl.primaryClass),this.classes.push("content")}}const Yl=Xl,Ql=Nt(au,{init(){this.element=new Yl}});class ep extends oe.Sb{static primaryClass="response-links";constructor(e,t,n){super(e,t,n),this.classes.push(ep.primaryClass)}}const tp=ep,np=Nt(Sa,ia,{props:{specPath:e=>Yo(e)?["document","objects","Reference"]:["document","objects","Link"]},init(){this.element=new tp},methods:{ObjectElement(e){const t=Sa.compose.methods.ObjectElement.call(this,e);return this.element.filter(ac).forEach((e=>{e.setMetaProperty("referenced-element","link")})),t}}});function rp(e){return"[object Number]"===Object.prototype.toString.call(e)}const sp=c((function(e,t){if(!rp(e)||!rp(t))throw new TypeError("Both arguments to range must be numbers");for(var n=[],r=e;r<t;)n.push(r),r+=1;return n}));function ip(e,t,n){var r,s=typeof e;switch(s){case"string":case"number":return 0===e&&1/e==-1/0?!!n._items["-0"]||(t&&(n._items["-0"]=!0),!1):null!==n._nativeSet?t?(r=n._nativeSet.size,n._nativeSet.add(e),n._nativeSet.size===r):n._nativeSet.has(e):s in n._items?e in n._items[s]||(t&&(n._items[s][e]=!0),!1):(t&&(n._items[s]={},n._items[s][e]=!0),!1);case"boolean":if(s in n._items){var i=e?1:0;return!!n._items[s][i]||(t&&(n._items[s][i]=!0),!1)}return t&&(n._items[s]=e?[!1,!0]:[!0,!1]),!1;case"function":return null!==n._nativeSet?t?(r=n._nativeSet.size,n._nativeSet.add(e),n._nativeSet.size===r):n._nativeSet.has(e):s in n._items?!!we(e,n._items[s])||(t&&n._items[s].push(e),!1):(t&&(n._items[s]=[e]),!1);case"undefined":return!!n._items[s]||(t&&(n._items[s]=!0),!1);case"object":if(null===e)return!!n._items.null||(t&&(n._items.null=!0),!1);default:return(s=Object.prototype.toString.call(e))in n._items?!!we(e,n._items[s])||(t&&n._items[s].push(e),!1):(t&&(n._items[s]=[e]),!1)}}const op=function(){function e(){this._nativeSet="function"==typeof Set?new Set:null,this._items={}}return e.prototype.add=function(e){return!ip(e,!0,this)},e.prototype.has=function(e){return ip(e,!1,this)},e}();const ap=c((function(e,t){for(var n=[],r=0,s=e.length,i=t.length,o=new op,a=0;a<i;a+=1)o.add(t[a]);for(;r<s;)o.add(e[r])&&(n[n.length]=e[r]),r+=1;return n})),cp=Nt(sa,ja,{props:{specPathFixedFields:ei,specPathPatternedFields:ei},methods:{ObjectElement(e){const{specPath:t,ignoredFields:n}=this;try{this.specPath=this.specPathFixedFields;const t=this.retrieveFixedFields(this.specPath(e));this.ignoredFields=[...n,...ap(e.keys(),t)],sa.compose.methods.ObjectElement.call(this,e),this.specPath=this.specPathPatternedFields,this.ignoredFields=t,ja.compose.methods.ObjectElement.call(this,e)}catch(e){throw this.specPath=t,e}return St}}}),up=Nt(cp,ia,{props:{specPathFixedFields:ne(["document","objects","Responses"]),specPathPatternedFields:e=>Yo(e)?["document","objects","Reference"]:["document","objects","Response"],fieldPatternPredicate:$l(new RegExp(`^(1XX|2XX|3XX|4XX|5XX|${sp(100,600).join("|")})$`)),canSupportSpecificationExtensions:!0},init(){this.element=new Ps},methods:{ObjectElement(e){const t=cp.compose.methods.ObjectElement.call(this,e);return this.element.filter(ac).forEach((e=>{e.setMetaProperty("referenced-element","response")})),this.element.filter(uc).forEach(((e,t)=>{const n=pn(t);this.fieldPatternPredicate(ci(n))&&e.setMetaProperty("http-status-code",n)})),t}}}),lp=Nt(Ga,ia,{props:{alternator:[{predicate:Yo,specPath:["document","objects","Reference"]},{predicate:ti,specPath:["document","objects","Response"]}]},methods:{ObjectElement(e){const t=Ga.compose.methods.enter.call(this,e);return ac(this.element)?this.element.setMetaProperty("referenced-element","response"):uc(this.element)&&this.element.setMetaProperty("http-status-code","default"),t}}}),pp=Nt(sa,ia,{props:{specPath:ne(["document","objects","Operation"])},init(){this.element=new ms}});class hp extends oe.ON{static primaryClass="operation-tags";constructor(e,t,n){super(e,t,n),this.classes.push(hp.primaryClass)}}const mp=hp,fp=Nt(ia,{init(){this.element=new mp},methods:{ArrayElement(e){return this.element=this.element.concat(pn(e)),St}}}),dp=ia,_p=ia,yp=ia;class gp extends oe.ON{static primaryClass="operation-parameters";constructor(e,t,n){super(e,t,n),this.classes.push(gp.primaryClass),this.classes.push("parameters")}}const bp=gp,vp=Nt(Go,ia,{init(){this.element=new oe.ON,this.element.classes.push("parameters")},methods:{ArrayElement(e){return e.forEach((e=>{const t=Yo(e)?["document","objects","Reference"]:["document","objects","Parameter"],n=this.toRefractedElement(t,e);ac(n)&&n.setMetaProperty("referenced-element","parameter"),this.element.push(n)})),this.copyMetaAndAttributes(e,this.element),St}}}),wp=Nt(vp,{init(){this.element=new bp}}),Ep=Nt(Ga,{props:{alternator:[{predicate:Yo,specPath:["document","objects","Reference"]},{predicate:ti,specPath:["document","objects","RequestBody"]}]},methods:{ObjectElement(e){const t=Ga.compose.methods.enter.call(this,e);return ac(this.element)&&this.element.setMetaProperty("referenced-element","requestBody"),t}}});class xp extends oe.Sb{static primaryClass="operation-callbacks";constructor(e,t,n){super(e,t,n),this.classes.push(xp.primaryClass)}}const jp=xp,Sp=Nt(Sa,ia,{props:{specPath:e=>Yo(e)?["document","objects","Reference"]:["document","objects","Callback"]},init(){this.element=new jp},methods:{ObjectElement(e){const t=Sa.compose.methods.ObjectElement.call(this,e);return this.element.filter(ac).forEach((e=>{e.setMetaProperty("referenced-element","callback")})),t}}}),Op=ia;class Pp extends oe.ON{static primaryClass="operation-security";constructor(e,t,n){super(e,t,n),this.classes.push(Pp.primaryClass),this.classes.push("security")}}const Ap=Pp,kp=Nt(Go,ia,{init(){this.element=new Ap},methods:{ArrayElement(e){return e.forEach((e=>{const t=Kt(e)?["document","objects","SecurityRequirement"]:["value"],n=this.toRefractedElement(t,e);this.element.push(n)})),this.copyMetaAndAttributes(e,this.element),St}}});class Np extends oe.ON{static primaryClass="operation-servers";constructor(e,t,n){super(e,t,n),this.classes.push(Np.primaryClass),this.classes.push("servers")}}const Mp=Np,Rp=Nt(Fa,{init(){this.element=new Mp}}),Ip=Nt(sa,ia,{props:{specPath:ne(["document","objects","PathItem"])},init(){this.element=new ys},methods:{ObjectElement(e){const t=sa.compose.methods.ObjectElement.call(this,e);return this.element.filter(rc).forEach(((e,t)=>{const n=pn(t);n.content=ci(n).toUpperCase(),e.setMetaProperty("http-method",n)})),Ut(this.element.$ref)&&this.element.classes.push("reference-element"),t}}}),Cp=Nt(ia,{methods:{StringElement(e){return this.element=pn(e),this.element.classes.push("reference-value"),St}}}),Tp=ia,Fp=ia;class $p extends oe.ON{static primaryClass="path-item-servers";constructor(e,t,n){super(e,t,n),this.classes.push($p.primaryClass),this.classes.push("servers")}}const qp=$p,Lp=Nt(Fa,{init(){this.element=new qp}});class Bp extends oe.ON{static primaryClass="path-item-parameters";constructor(e,t,n){super(e,t,n),this.classes.push(Bp.primaryClass),this.classes.push("parameters")}}const Dp=Bp,Vp=Nt(vp,{init(){this.element=new Dp}}),zp=Nt(sa,ia,{props:{specPath:ne(["document","objects","SecurityScheme"]),canSupportSpecificationExtensions:!0},init(){this.element=new Io}}),Up=ia,Gp=ia,Wp=ia,Jp=ia,Kp=ia,Hp=ia,Zp=ia,Xp=Nt(sa,ia,{props:{specPath:ne(["document","objects","OAuthFlows"]),canSupportSpecificationExtensions:!0},init(){this.element=new as}}),Yp=Nt(sa,ia,{props:{specPath:ne(["document","objects","OAuthFlow"]),canSupportSpecificationExtensions:!0},init(){this.element=new is}}),Qp=ia,eh=ia,th=ia;class nh extends oe.Sb{static primaryClass="oauth-flow-scopes";constructor(e,t,n){super(e,t,n),this.classes.push(nh.primaryClass)}}const rh=nh,sh=Nt(Sa,ia,{props:{specPath:ne(["value"])},init(){this.element=new rh}});class ih extends oe.ON{static primaryClass="tags";constructor(e,t,n){super(e,t,n),this.classes.push(ih.primaryClass)}}const oh=ih,ah=Nt(Go,ia,{init(){this.element=new oh},methods:{ArrayElement(e){return e.forEach((e=>{const t=na(e)?["document","objects","Tag"]:["value"],n=this.toRefractedElement(t,e);this.element.push(n)})),this.copyMetaAndAttributes(e,this.element),St}}}),{fixedFields:ch}=vo.visitors.document.objects.JSONSchema,uh={visitors:{value:ia,document:{objects:{OpenApi:{$visitor:oa,fixedFields:{openapi:aa,info:{$ref:"#/visitors/document/objects/Info"},servers:Fa,paths:{$ref:"#/visitors/document/objects/Paths"},components:{$ref:"#/visitors/document/objects/Components"},security:Nc,tags:ah,externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"}}},Info:{$visitor:ua,fixedFields:{title:la,description:pa,termsOfService:ha,contact:{$ref:"#/visitors/document/objects/Contact"},license:{$ref:"#/visitors/document/objects/License"},version:ma}},Contact:{$visitor:fa,fixedFields:{name:da,url:_a,email:ya}},License:{$visitor:ga,fixedFields:{name:ba,url:va}},Server:{$visitor:Ma,fixedFields:{url:Ra,description:Ia,variables:za}},ServerVariable:{$visitor:$a,fixedFields:{enum:qa,default:La,description:Ba}},Components:{$visitor:Mc,fixedFields:{schemas:Zu,responses:Qu,parameters:nl,examples:il,requestBodies:cl,headers:pl,securitySchemes:fl,links:yl,callbacks:vl}},Paths:{$visitor:ql},PathItem:{$visitor:Ip,fixedFields:{$ref:Cp,summary:Tp,description:Fp,get:{$ref:"#/visitors/document/objects/Operation"},put:{$ref:"#/visitors/document/objects/Operation"},post:{$ref:"#/visitors/document/objects/Operation"},delete:{$ref:"#/visitors/document/objects/Operation"},options:{$ref:"#/visitors/document/objects/Operation"},head:{$ref:"#/visitors/document/objects/Operation"},patch:{$ref:"#/visitors/document/objects/Operation"},trace:{$ref:"#/visitors/document/objects/Operation"},servers:Lp,parameters:Vp}},Operation:{$visitor:pp,fixedFields:{tags:fp,summary:dp,description:_p,externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"},operationId:yp,parameters:wp,requestBody:Ep,responses:{$ref:"#/visitors/document/objects/Responses"},callbacks:Sp,deprecated:Op,security:kp,servers:Rp}},ExternalDocumentation:{$visitor:Ol,fixedFields:{description:Pl,url:Al}},Parameter:{$visitor:$c,fixedFields:{name:qc,in:Lc,description:Bc,required:Dc,deprecated:Vc,allowEmptyValue:zc,style:Uc,explode:Gc,allowReserved:Wc,schema:Jc,example:Du,examples:Uu,content:Ju}},RequestBody:{$visitor:Ll,fixedFields:{description:Bl,content:zl,required:Ul}},MediaType:{$visitor:Ua,fixedFields:{schema:gc,example:bc,examples:xc,encoding:Oc}},Encoding:{$visitor:kl,fixedFields:{contentType:Nl,headers:Il,style:Cl,explode:Tl,allowReserved:Fl}},Responses:{$visitor:up,fixedFields:{default:lp}},Response:{$visitor:Wl,fixedFields:{description:Jl,headers:Zl,content:Ql,links:np}},Callback:{$visitor:Gl},Example:{$visitor:wl,fixedFields:{summary:El,description:xl,value:jl,externalValue:Sl}},Link:{$visitor:wa,fixedFields:{operationRef:Ea,operationId:xa,parameters:Aa,requestBody:ka,description:Na,server:{$ref:"#/visitors/document/objects/Server"}}},Header:{$visitor:Kc,fixedFields:{description:Hc,required:Zc,deprecated:Xc,allowEmptyValue:Yc,style:Qc,explode:eu,allowReserved:tu,schema:nu,example:ru,examples:ou,content:lu}},Tag:{$visitor:Rc,fixedFields:{name:Ic,description:Cc,externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"}}},Reference:{$visitor:Tc,fixedFields:{$ref:Fc}},JSONSchema:{$ref:"#/visitors/document/objects/Schema"},JSONReference:{$ref:"#/visitors/document/objects/Reference"},Schema:{$visitor:pu,fixedFields:{title:ch.title,multipleOf:ch.multipleOf,maximum:ch.maximum,exclusiveMaximum:ch.exclusiveMaximum,minimum:ch.minimum,exclusiveMinimum:ch.exclusiveMinimum,maxLength:ch.maxLength,minLength:ch.minLength,pattern:ch.pattern,maxItems:ch.maxItems,minItems:ch.minItems,uniqueItems:ch.uniqueItems,maxProperties:ch.maxProperties,minProperties:ch.minProperties,required:ch.required,enum:ch.enum,type:xu,allOf:mu,anyOf:du,oneOf:yu,not:ku,items:bu,properties:wu,additionalProperties:ku,description:ch.description,format:ch.format,default:ch.default,nullable:ju,discriminator:{$ref:"#/visitors/document/objects/Discriminator"},writeOnly:Su,xml:{$ref:"#/visitors/document/objects/XML"},externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"},example:Ou,deprecated:Pu}},Discriminator:{$visitor:Nu,fixedFields:{propertyName:Mu,mapping:Cu}},XML:{$visitor:Tu,fixedFields:{name:Fu,namespace:$u,prefix:qu,attribute:Lu,wrapped:Bu}},SecurityScheme:{$visitor:zp,fixedFields:{type:Up,description:Gp,name:Wp,in:Jp,scheme:Kp,bearerFormat:Hp,flows:{$ref:"#/visitors/document/objects/OAuthFlows"},openIdConnectUrl:Zp}},OAuthFlows:{$visitor:Xp,fixedFields:{implicit:{$ref:"#/visitors/document/objects/OAuthFlow"},password:{$ref:"#/visitors/document/objects/OAuthFlow"},clientCredentials:{$ref:"#/visitors/document/objects/OAuthFlow"},authorizationCode:{$ref:"#/visitors/document/objects/OAuthFlow"}}},OAuthFlow:{$visitor:Yp,fixedFields:{authorizationUrl:Qp,tokenUrl:eh,refreshUrl:th,scopes:sh}},SecurityRequirement:{$visitor:Pc}},extension:{$visitor:ca}}}},lh={namespace:e=>{const{base:t}=e;return t.register("callback",Tr),t.register("components",$r),t.register("contact",Lr),t.register("discriminator",Dr),t.register("encoding",zr),t.register("example",Gr),t.register("externalDocumentation",Jr),t.register("header",Hr),t.register("info",Xr),t.register("license",Qr),t.register("link",ts),t.register("mediaType",rs),t.register("oAuthFlow",is),t.register("oAuthFlows",as),t.register("openapi",us),t.register("openApi3_0",ps),t.register("operation",ms),t.register("parameter",ds),t.register("pathItem",ys),t.register("paths",bs),t.register("reference",ws),t.register("requestBody",xs),t.register("response",Ss),t.register("responses",Ps),t.register("schema",ko),t.register("securityRequirement",Mo),t.register("securityScheme",Io),t.register("server",To),t.register("serverVariable",$o),t.register("tag",Lo),t.register("xml",Do),t}},ph=()=>{const e=ut(lh);return{predicates:{...s,...i,isStringElement:Ut},namespace:e}},hh=(e,{specPath:t=["visitors","document","objects","OpenApi","$visitor"],plugins:n=[]}={})=>{const r=(0,oe.Qc)(e),s=Xs(uh),i=Mn(t,[],s);return bn(r,i,{state:{specObj:s}}),Cn(i.element,n,{toolboxCreator:ph,visitorOptions:{keyMap:Uo,nodeTypeGetter:zo}})},mh=e=>(t,n={})=>hh(t,{specPath:e,...n});Tr.refract=mh(["visitors","document","objects","Callback","$visitor"]),$r.refract=mh(["visitors","document","objects","Components","$visitor"]),Lr.refract=mh(["visitors","document","objects","Contact","$visitor"]),Gr.refract=mh(["visitors","document","objects","Example","$visitor"]),Dr.refract=mh(["visitors","document","objects","Discriminator","$visitor"]),zr.refract=mh(["visitors","document","objects","Encoding","$visitor"]),Jr.refract=mh(["visitors","document","objects","ExternalDocumentation","$visitor"]),Hr.refract=mh(["visitors","document","objects","Header","$visitor"]),Xr.refract=mh(["visitors","document","objects","Info","$visitor"]),Qr.refract=mh(["visitors","document","objects","License","$visitor"]),ts.refract=mh(["visitors","document","objects","Link","$visitor"]),rs.refract=mh(["visitors","document","objects","MediaType","$visitor"]),is.refract=mh(["visitors","document","objects","OAuthFlow","$visitor"]),as.refract=mh(["visitors","document","objects","OAuthFlows","$visitor"]),us.refract=mh(["visitors","document","objects","OpenApi","fixedFields","openapi"]),ps.refract=mh(["visitors","document","objects","OpenApi","$visitor"]),ms.refract=mh(["visitors","document","objects","Operation","$visitor"]),ds.refract=mh(["visitors","document","objects","Parameter","$visitor"]),ys.refract=mh(["visitors","document","objects","PathItem","$visitor"]),bs.refract=mh(["visitors","document","objects","Paths","$visitor"]),ws.refract=mh(["visitors","document","objects","Reference","$visitor"]),xs.refract=mh(["visitors","document","objects","RequestBody","$visitor"]),Ss.refract=mh(["visitors","document","objects","Response","$visitor"]),Ps.refract=mh(["visitors","document","objects","Responses","$visitor"]),ko.refract=mh(["visitors","document","objects","Schema","$visitor"]),Mo.refract=mh(["visitors","document","objects","SecurityRequirement","$visitor"]),Io.refract=mh(["visitors","document","objects","SecurityScheme","$visitor"]),To.refract=mh(["visitors","document","objects","Server","$visitor"]),$o.refract=mh(["visitors","document","objects","ServerVariable","$visitor"]),Lo.refract=mh(["visitors","document","objects","Tag","$visitor"]),Do.refract=mh(["visitors","document","objects","XML","$visitor"]);const fh=m(-1);const dh=class extends As{};const _h=class extends Array{unknownMediaType="application/octet-stream";filterByFormat(){throw new dh("filterByFormat method in MediaTypes class is not yet implemented.")}findBy(){throw new dh("findBy method in MediaTypes class is not yet implemented.")}latest(){throw new dh("latest method in MediaTypes class is not yet implemented.")}};class yh extends _h{filterByFormat(e="generic"){const t="generic"===e?"openapi;version":e;return this.filter((e=>e.includes(t)))}findBy(e="3.0.3",t="generic"){const n="generic"===t?`vnd.oai.openapi;version=${e}`:`vnd.oai.openapi+${t};version=${e}`;return this.find((e=>e.includes(n)))||this.unknownMediaType}latest(e="generic"){return fh(this.filterByFormat(e))}}const gh=new yh("application/vnd.oai.openapi;version=3.0.0","application/vnd.oai.openapi+json;version=3.0.0","application/vnd.oai.openapi+yaml;version=3.0.0","application/vnd.oai.openapi;version=3.0.1","application/vnd.oai.openapi+json;version=3.0.1","application/vnd.oai.openapi+yaml;version=3.0.1","application/vnd.oai.openapi;version=3.0.2","application/vnd.oai.openapi+json;version=3.0.2","application/vnd.oai.openapi+yaml;version=3.0.2","application/vnd.oai.openapi;version=3.0.3","application/vnd.oai.openapi+json;version=3.0.3","application/vnd.oai.openapi+yaml;version=3.0.3"),bh=new yh(...gh.filterByFormat("generic"),...gh.filterByFormat("json")),vh=/"openapi"\s*:\s*"(?<version_json>3\.0\.([0123])(?:-rc[012])?)"/,wh=async e=>vh.test(e)&&await(async e=>{if(!Ir.test(e))return!1;try{return"ERROR"!==(await Et(e)).rootNode.type}catch{return!1}})(e),Eh=async(e,t={})=>{const n=d({},"refractorOpts",t),r=y(["refractorOpts"],t),s=await(async(e,{sourceMap:t=!1,syntacticAnalysis:n="direct"}={})=>{const r=await Et(e);let s;return s="indirect"===n?Rr(r,{sourceMap:t}):Gn(r,{sourceMap:t}),s})(e,r),{result:i}=s;if(ie(i)){const e=ps.refract(i,n);e.classes.push("result"),s.replaceResult(e)}return s},xh=ut(lh)})(),r})()));
|
|
1
|
+
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.apidomParserAdapterOpenApiJson3_0=t():e.apidomParserAdapterOpenApiJson3_0=t()}(self,(()=>(()=>{var e={9515:(e,t,n)=>{var r=n(8761)(n(7772),"DataView");e.exports=r},9612:(e,t,n)=>{var r=n(2118),s=n(6909),i=n(8138),o=n(4174),a=n(7942);function c(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}c.prototype.clear=r,c.prototype.delete=s,c.prototype.get=i,c.prototype.has=o,c.prototype.set=a,e.exports=c},235:(e,t,n)=>{var r=n(3945),s=n(1846),i=n(8028),o=n(2344),a=n(4769);function c(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}c.prototype.clear=r,c.prototype.delete=s,c.prototype.get=i,c.prototype.has=o,c.prototype.set=a,e.exports=c},326:(e,t,n)=>{var r=n(8761)(n(7772),"Map");e.exports=r},6738:(e,t,n)=>{var r=n(2411),s=n(6417),i=n(6928),o=n(9493),a=n(4150);function c(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}c.prototype.clear=r,c.prototype.delete=s,c.prototype.get=i,c.prototype.has=o,c.prototype.set=a,e.exports=c},2760:(e,t,n)=>{var r=n(8761)(n(7772),"Promise");e.exports=r},2143:(e,t,n)=>{var r=n(8761)(n(7772),"Set");e.exports=r},5386:(e,t,n)=>{var r=n(6738),s=n(2842),i=n(2482);function o(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new r;++t<n;)this.add(e[t])}o.prototype.add=o.prototype.push=s,o.prototype.has=i,e.exports=o},6571:(e,t,n)=>{var r=n(235),s=n(5243),i=n(2858),o=n(4417),a=n(8605),c=n(1418);function u(e){var t=this.__data__=new r(e);this.size=t.size}u.prototype.clear=s,u.prototype.delete=i,u.prototype.get=o,u.prototype.has=a,u.prototype.set=c,e.exports=u},857:(e,t,n)=>{var r=n(7772).Symbol;e.exports=r},9162:(e,t,n)=>{var r=n(7772).Uint8Array;e.exports=r},3215:(e,t,n)=>{var r=n(8761)(n(7772),"WeakMap");e.exports=r},7552:e=>{e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length,s=0,i=[];++n<r;){var o=e[n];t(o,n,e)&&(i[s++]=o)}return i}},1634:(e,t,n)=>{var r=n(6473),s=n(9631),i=n(6152),o=n(3226),a=n(9045),c=n(7598),u=Object.prototype.hasOwnProperty;e.exports=function(e,t){var n=i(e),l=!n&&s(e),p=!n&&!l&&o(e),h=!n&&!l&&!p&&c(e),m=n||l||p||h,f=m?r(e.length,String):[],d=f.length;for(var _ in e)!t&&!u.call(e,_)||m&&("length"==_||p&&("offset"==_||"parent"==_)||h&&("buffer"==_||"byteLength"==_||"byteOffset"==_)||a(_,d))||f.push(_);return f}},5067:e=>{e.exports=function(e,t){for(var n=-1,r=t.length,s=e.length;++n<r;)e[s+n]=t[n];return e}},7064:e=>{e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}},2218:(e,t,n)=>{var r=n(1225);e.exports=function(e,t){for(var n=e.length;n--;)if(r(e[n][0],t))return n;return-1}},1897:(e,t,n)=>{var r=n(5067),s=n(6152);e.exports=function(e,t,n){var i=t(e);return s(e)?i:r(i,n(e))}},3366:(e,t,n)=>{var r=n(857),s=n(2107),i=n(7157),o=r?r.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":o&&o in Object(e)?s(e):i(e)}},5183:(e,t,n)=>{var r=n(3366),s=n(5125);e.exports=function(e){return s(e)&&"[object Arguments]"==r(e)}},8746:(e,t,n)=>{var r=n(1952),s=n(5125);e.exports=function e(t,n,i,o,a){return t===n||(null==t||null==n||!s(t)&&!s(n)?t!=t&&n!=n:r(t,n,i,o,e,a))}},1952:(e,t,n)=>{var r=n(6571),s=n(4871),i=n(1491),o=n(7416),a=n(940),c=n(6152),u=n(3226),l=n(7598),p="[object Arguments]",h="[object Array]",m="[object Object]",f=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,d,_,y){var g=c(e),b=c(t),v=g?h:a(e),w=b?h:a(t),E=(v=v==p?m:v)==m,x=(w=w==p?m:w)==m,j=v==w;if(j&&u(e)){if(!u(t))return!1;g=!0,E=!1}if(j&&!E)return y||(y=new r),g||l(e)?s(e,t,n,d,_,y):i(e,t,v,n,d,_,y);if(!(1&n)){var S=E&&f.call(e,"__wrapped__"),O=x&&f.call(t,"__wrapped__");if(S||O){var P=S?e.value():e,A=O?t.value():t;return y||(y=new r),_(P,A,n,d,y)}}return!!j&&(y||(y=new r),o(e,t,n,d,_,y))}},6840:(e,t,n)=>{var r=n(1049),s=n(7394),i=n(9259),o=n(7035),a=/^\[object .+?Constructor\]$/,c=Function.prototype,u=Object.prototype,l=c.toString,p=u.hasOwnProperty,h=RegExp("^"+l.call(p).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!i(e)||s(e))&&(r(e)?h:a).test(o(e))}},5522:(e,t,n)=>{var r=n(3366),s=n(1158),i=n(5125),o={};o["[object Float32Array]"]=o["[object Float64Array]"]=o["[object Int8Array]"]=o["[object Int16Array]"]=o["[object Int32Array]"]=o["[object Uint8Array]"]=o["[object Uint8ClampedArray]"]=o["[object Uint16Array]"]=o["[object Uint32Array]"]=!0,o["[object Arguments]"]=o["[object Array]"]=o["[object ArrayBuffer]"]=o["[object Boolean]"]=o["[object DataView]"]=o["[object Date]"]=o["[object Error]"]=o["[object Function]"]=o["[object Map]"]=o["[object Number]"]=o["[object Object]"]=o["[object RegExp]"]=o["[object Set]"]=o["[object String]"]=o["[object WeakMap]"]=!1,e.exports=function(e){return i(e)&&s(e.length)&&!!o[r(e)]}},6411:(e,t,n)=>{var r=n(6001),s=n(4248),i=Object.prototype.hasOwnProperty;e.exports=function(e){if(!r(e))return s(e);var t=[];for(var n in Object(e))i.call(e,n)&&"constructor"!=n&&t.push(n);return t}},6473:e=>{e.exports=function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}},7826:e=>{e.exports=function(e){return function(t){return e(t)}}},9950:e=>{e.exports=function(e,t){return e.has(t)}},4019:(e,t,n)=>{var r=n(7772)["__core-js_shared__"];e.exports=r},4871:(e,t,n)=>{var r=n(5386),s=n(7064),i=n(9950);e.exports=function(e,t,n,o,a,c){var u=1&n,l=e.length,p=t.length;if(l!=p&&!(u&&p>l))return!1;var h=c.get(e),m=c.get(t);if(h&&m)return h==t&&m==e;var f=-1,d=!0,_=2&n?new r:void 0;for(c.set(e,t),c.set(t,e);++f<l;){var y=e[f],g=t[f];if(o)var b=u?o(g,y,f,t,e,c):o(y,g,f,e,t,c);if(void 0!==b){if(b)continue;d=!1;break}if(_){if(!s(t,(function(e,t){if(!i(_,t)&&(y===e||a(y,e,n,o,c)))return _.push(t)}))){d=!1;break}}else if(y!==g&&!a(y,g,n,o,c)){d=!1;break}}return c.delete(e),c.delete(t),d}},1491:(e,t,n)=>{var r=n(857),s=n(9162),i=n(1225),o=n(4871),a=n(5179),c=n(4207),u=r?r.prototype:void 0,l=u?u.valueOf:void 0;e.exports=function(e,t,n,r,u,p,h){switch(n){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=t.byteLength||!p(new s(e),new s(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return i(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var m=a;case"[object Set]":var f=1&r;if(m||(m=c),e.size!=t.size&&!f)return!1;var d=h.get(e);if(d)return d==t;r|=2,h.set(e,t);var _=o(m(e),m(t),r,u,p,h);return h.delete(e),_;case"[object Symbol]":if(l)return l.call(e)==l.call(t)}return!1}},7416:(e,t,n)=>{var r=n(3483),s=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,i,o,a){var c=1&n,u=r(e),l=u.length;if(l!=r(t).length&&!c)return!1;for(var p=l;p--;){var h=u[p];if(!(c?h in t:s.call(t,h)))return!1}var m=a.get(e),f=a.get(t);if(m&&f)return m==t&&f==e;var d=!0;a.set(e,t),a.set(t,e);for(var _=c;++p<l;){var y=e[h=u[p]],g=t[h];if(i)var b=c?i(g,y,h,t,e,a):i(y,g,h,e,t,a);if(!(void 0===b?y===g||o(y,g,n,i,a):b)){d=!1;break}_||(_="constructor"==h)}if(d&&!_){var v=e.constructor,w=t.constructor;v==w||!("constructor"in e)||!("constructor"in t)||"function"==typeof v&&v instanceof v&&"function"==typeof w&&w instanceof w||(d=!1)}return a.delete(e),a.delete(t),d}},1242:(e,t,n)=>{var r="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g;e.exports=r},3483:(e,t,n)=>{var r=n(1897),s=n(633),i=n(249);e.exports=function(e){return r(e,i,s)}},7937:(e,t,n)=>{var r=n(8304);e.exports=function(e,t){var n=e.__data__;return r(t)?n["string"==typeof t?"string":"hash"]:n.map}},8761:(e,t,n)=>{var r=n(6840),s=n(8109);e.exports=function(e,t){var n=s(e,t);return r(n)?n:void 0}},2107:(e,t,n)=>{var r=n(857),s=Object.prototype,i=s.hasOwnProperty,o=s.toString,a=r?r.toStringTag:void 0;e.exports=function(e){var t=i.call(e,a),n=e[a];try{e[a]=void 0;var r=!0}catch(e){}var s=o.call(e);return r&&(t?e[a]=n:delete e[a]),s}},633:(e,t,n)=>{var r=n(7552),s=n(981),i=Object.prototype.propertyIsEnumerable,o=Object.getOwnPropertySymbols,a=o?function(e){return null==e?[]:(e=Object(e),r(o(e),(function(t){return i.call(e,t)})))}:s;e.exports=a},940:(e,t,n)=>{var r=n(9515),s=n(326),i=n(2760),o=n(2143),a=n(3215),c=n(3366),u=n(7035),l="[object Map]",p="[object Promise]",h="[object Set]",m="[object WeakMap]",f="[object DataView]",d=u(r),_=u(s),y=u(i),g=u(o),b=u(a),v=c;(r&&v(new r(new ArrayBuffer(1)))!=f||s&&v(new s)!=l||i&&v(i.resolve())!=p||o&&v(new o)!=h||a&&v(new a)!=m)&&(v=function(e){var t=c(e),n="[object Object]"==t?e.constructor:void 0,r=n?u(n):"";if(r)switch(r){case d:return f;case _:return l;case y:return p;case g:return h;case b:return m}return t}),e.exports=v},8109:e=>{e.exports=function(e,t){return null==e?void 0:e[t]}},2118:(e,t,n)=>{var r=n(9191);e.exports=function(){this.__data__=r?r(null):{},this.size=0}},6909:e=>{e.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}},8138:(e,t,n)=>{var r=n(9191),s=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;if(r){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return s.call(t,e)?t[e]:void 0}},4174:(e,t,n)=>{var r=n(9191),s=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return r?void 0!==t[e]:s.call(t,e)}},7942:(e,t,n)=>{var r=n(9191);e.exports=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=r&&void 0===t?"__lodash_hash_undefined__":t,this}},9045:e=>{var t=/^(?:0|[1-9]\d*)$/;e.exports=function(e,n){var r=typeof e;return!!(n=null==n?9007199254740991:n)&&("number"==r||"symbol"!=r&&t.test(e))&&e>-1&&e%1==0&&e<n}},8304:e=>{e.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},7394:(e,t,n)=>{var r,s=n(4019),i=(r=/[^.]+$/.exec(s&&s.keys&&s.keys.IE_PROTO||""))?"Symbol(src)_1."+r:"";e.exports=function(e){return!!i&&i in e}},6001:e=>{var t=Object.prototype;e.exports=function(e){var n=e&&e.constructor;return e===("function"==typeof n&&n.prototype||t)}},3945:e=>{e.exports=function(){this.__data__=[],this.size=0}},1846:(e,t,n)=>{var r=n(2218),s=Array.prototype.splice;e.exports=function(e){var t=this.__data__,n=r(t,e);return!(n<0)&&(n==t.length-1?t.pop():s.call(t,n,1),--this.size,!0)}},8028:(e,t,n)=>{var r=n(2218);e.exports=function(e){var t=this.__data__,n=r(t,e);return n<0?void 0:t[n][1]}},2344:(e,t,n)=>{var r=n(2218);e.exports=function(e){return r(this.__data__,e)>-1}},4769:(e,t,n)=>{var r=n(2218);e.exports=function(e,t){var n=this.__data__,s=r(n,e);return s<0?(++this.size,n.push([e,t])):n[s][1]=t,this}},2411:(e,t,n)=>{var r=n(9612),s=n(235),i=n(326);e.exports=function(){this.size=0,this.__data__={hash:new r,map:new(i||s),string:new r}}},6417:(e,t,n)=>{var r=n(7937);e.exports=function(e){var t=r(this,e).delete(e);return this.size-=t?1:0,t}},6928:(e,t,n)=>{var r=n(7937);e.exports=function(e){return r(this,e).get(e)}},9493:(e,t,n)=>{var r=n(7937);e.exports=function(e){return r(this,e).has(e)}},4150:(e,t,n)=>{var r=n(7937);e.exports=function(e,t){var n=r(this,e),s=n.size;return n.set(e,t),this.size+=n.size==s?0:1,this}},5179:e=>{e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}},9191:(e,t,n)=>{var r=n(8761)(Object,"create");e.exports=r},4248:(e,t,n)=>{var r=n(241)(Object.keys,Object);e.exports=r},4146:(e,t,n)=>{e=n.nmd(e);var r=n(1242),s=t&&!t.nodeType&&t,i=s&&e&&!e.nodeType&&e,o=i&&i.exports===s&&r.process,a=function(){try{var e=i&&i.require&&i.require("util").types;return e||o&&o.binding&&o.binding("util")}catch(e){}}();e.exports=a},7157:e=>{var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},241:e=>{e.exports=function(e,t){return function(n){return e(t(n))}}},7772:(e,t,n)=>{var r=n(1242),s="object"==typeof self&&self&&self.Object===Object&&self,i=r||s||Function("return this")();e.exports=i},2842:e=>{e.exports=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this}},2482:e=>{e.exports=function(e){return this.__data__.has(e)}},4207:e=>{e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}},5243:(e,t,n)=>{var r=n(235);e.exports=function(){this.__data__=new r,this.size=0}},2858:e=>{e.exports=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}},4417:e=>{e.exports=function(e){return this.__data__.get(e)}},8605:e=>{e.exports=function(e){return this.__data__.has(e)}},1418:(e,t,n)=>{var r=n(235),s=n(326),i=n(6738);e.exports=function(e,t){var n=this.__data__;if(n instanceof r){var o=n.__data__;if(!s||o.length<199)return o.push([e,t]),this.size=++n.size,this;n=this.__data__=new i(o)}return n.set(e,t),this.size=n.size,this}},7035:e=>{var t=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return t.call(e)}catch(e){}try{return e+""}catch(e){}}return""}},1225:e=>{e.exports=function(e,t){return e===t||e!=e&&t!=t}},9631:(e,t,n)=>{var r=n(5183),s=n(5125),i=Object.prototype,o=i.hasOwnProperty,a=i.propertyIsEnumerable,c=r(function(){return arguments}())?r:function(e){return s(e)&&o.call(e,"callee")&&!a.call(e,"callee")};e.exports=c},6152:e=>{var t=Array.isArray;e.exports=t},7878:(e,t,n)=>{var r=n(1049),s=n(1158);e.exports=function(e){return null!=e&&s(e.length)&&!r(e)}},4335:(e,t,n)=>{var r=n(3366),s=n(5125);e.exports=function(e){return!0===e||!1===e||s(e)&&"[object Boolean]"==r(e)}},3226:(e,t,n)=>{e=n.nmd(e);var r=n(7772),s=n(6330),i=t&&!t.nodeType&&t,o=i&&e&&!e.nodeType&&e,a=o&&o.exports===i?r.Buffer:void 0,c=(a?a.isBuffer:void 0)||s;e.exports=c},8149:(e,t,n)=>{var r=n(8746);e.exports=function(e,t){return r(e,t)}},1049:(e,t,n)=>{var r=n(3366),s=n(9259);e.exports=function(e){if(!s(e))return!1;var t=r(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},1158:e=>{e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},5877:e=>{e.exports=function(e){return null===e}},537:(e,t,n)=>{var r=n(3366),s=n(5125);e.exports=function(e){return"number"==typeof e||s(e)&&"[object Number]"==r(e)}},9259:e=>{e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},5125:e=>{e.exports=function(e){return null!=e&&"object"==typeof e}},5505:(e,t,n)=>{var r=n(3366),s=n(6152),i=n(5125);e.exports=function(e){return"string"==typeof e||!s(e)&&i(e)&&"[object String]"==r(e)}},7598:(e,t,n)=>{var r=n(5522),s=n(7826),i=n(4146),o=i&&i.isTypedArray,a=o?s(o):r;e.exports=a},249:(e,t,n)=>{var r=n(1634),s=n(6411),i=n(7878);e.exports=function(e){return i(e)?r(e):s(e)}},1570:e=>{e.exports=function(e){if("function"!=typeof e)throw new TypeError("Expected a function");return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}},981:e=>{e.exports=function(){return[]}},6330:e=>{e.exports=function(){return!1}},1178:(e,t,n)=>{const r=n(1570);function s(e){return"string"==typeof e?t=>t.element===e:e.constructor&&e.extend?t=>t instanceof e:e}class i{constructor(e){this.elements=e||[]}toValue(){return this.elements.map((e=>e.toValue()))}map(e,t){return this.elements.map(e,t)}flatMap(e,t){return this.map(e,t).reduce(((e,t)=>e.concat(t)),[])}compactMap(e,t){const n=[];return this.forEach((r=>{const s=e.bind(t)(r);s&&n.push(s)})),n}filter(e,t){return e=s(e),new i(this.elements.filter(e,t))}reject(e,t){return e=s(e),new i(this.elements.filter(r(e),t))}find(e,t){return e=s(e),this.elements.find(e,t)}forEach(e,t){this.elements.forEach(e,t)}reduce(e,t){return this.elements.reduce(e,t)}includes(e){return this.elements.some((t=>t.equals(e)))}shift(){return this.elements.shift()}unshift(e){this.elements.unshift(this.refract(e))}push(e){return this.elements.push(this.refract(e)),this}add(e){this.push(e)}get(e){return this.elements[e]}getValue(e){const t=this.elements[e];if(t)return t.toValue()}get length(){return this.elements.length}get isEmpty(){return 0===this.elements.length}get first(){return this.elements[0]}}"undefined"!=typeof Symbol&&(i.prototype[Symbol.iterator]=function(){return this.elements[Symbol.iterator]()}),e.exports=i},3026:e=>{class t{constructor(e,t){this.key=e,this.value=t}clone(){const e=new t;return this.key&&(e.key=this.key.clone()),this.value&&(e.value=this.value.clone()),e}}e.exports=t},5140:(e,t,n)=>{const r=n(5877),s=n(5505),i=n(537),o=n(4335),a=n(9259),c=n(2947),u=n(3756);class l{constructor(e){this.elementMap={},this.elementDetection=[],this.Element=u.Element,this.KeyValuePair=u.KeyValuePair,e&&e.noDefault||this.useDefault(),this._attributeElementKeys=[],this._attributeElementArrayKeys=[]}use(e){return e.namespace&&e.namespace({base:this}),e.load&&e.load({base:this}),this}useDefault(){return this.register("null",u.NullElement).register("string",u.StringElement).register("number",u.NumberElement).register("boolean",u.BooleanElement).register("array",u.ArrayElement).register("object",u.ObjectElement).register("member",u.MemberElement).register("ref",u.RefElement).register("link",u.LinkElement),this.detect(r,u.NullElement,!1).detect(s,u.StringElement,!1).detect(i,u.NumberElement,!1).detect(o,u.BooleanElement,!1).detect(Array.isArray,u.ArrayElement,!1).detect(a,u.ObjectElement,!1),this}register(e,t){return this._elements=void 0,this.elementMap[e]=t,this}unregister(e){return this._elements=void 0,delete this.elementMap[e],this}detect(e,t,n){return void 0===n||n?this.elementDetection.unshift([e,t]):this.elementDetection.push([e,t]),this}toElement(e){if(e instanceof this.Element)return e;let t;for(let n=0;n<this.elementDetection.length;n+=1){const r=this.elementDetection[n][0],s=this.elementDetection[n][1];if(r(e)){t=new s(e);break}}return t}getElementClass(e){const t=this.elementMap[e];return void 0===t?this.Element:t}fromRefract(e){return this.serialiser.deserialise(e)}toRefract(e){return this.serialiser.serialise(e)}get elements(){return void 0===this._elements&&(this._elements={Element:this.Element},Object.keys(this.elementMap).forEach((e=>{const t=e[0].toUpperCase()+e.substr(1);this._elements[t]=this.elementMap[e]}))),this._elements}get serialiser(){return new c(this)}}c.prototype.Namespace=l,e.exports=l},3853:(e,t,n)=>{const r=n(1570),s=n(1178);class i extends s{map(e,t){return this.elements.map((n=>e.bind(t)(n.value,n.key,n)))}filter(e,t){return new i(this.elements.filter((n=>e.bind(t)(n.value,n.key,n))))}reject(e,t){return this.filter(r(e.bind(t)))}forEach(e,t){return this.elements.forEach(((n,r)=>{e.bind(t)(n.value,n.key,n,r)}))}keys(){return this.map(((e,t)=>t.toValue()))}values(){return this.map((e=>e.toValue()))}}e.exports=i},3756:(e,t,n)=>{const r=n(6420),s=n(4152),i=n(9542),o=n(3710),a=n(3312),c=n(1641),u=n(8858),l=n(3860),p=n(5202),h=n(2320),m=n(1178),f=n(3853),d=n(3026);function _(e){if(e instanceof r)return e;if("string"==typeof e)return new i(e);if("number"==typeof e)return new o(e);if("boolean"==typeof e)return new a(e);if(null===e)return new s;if(Array.isArray(e))return new c(e.map(_));if("object"==typeof e){return new l(e)}return e}r.prototype.ObjectElement=l,r.prototype.RefElement=h,r.prototype.MemberElement=u,r.prototype.refract=_,m.prototype.refract=_,e.exports={Element:r,NullElement:s,StringElement:i,NumberElement:o,BooleanElement:a,ArrayElement:c,MemberElement:u,ObjectElement:l,LinkElement:p,RefElement:h,refract:_,ArraySlice:m,ObjectSlice:f,KeyValuePair:d}},5202:(e,t,n)=>{const r=n(6420);e.exports=class extends r{constructor(e,t,n){super(e||[],t,n),this.element="link"}get relation(){return this.attributes.get("relation")}set relation(e){this.attributes.set("relation",e)}get href(){return this.attributes.get("href")}set href(e){this.attributes.set("href",e)}}},2320:(e,t,n)=>{const r=n(6420);e.exports=class extends r{constructor(e,t,n){super(e||[],t,n),this.element="ref",this.path||(this.path="element")}get path(){return this.attributes.get("path")}set path(e){this.attributes.set("path",e)}}},7952:(e,t,n)=>{const r=n(5140),s=n(3756);t.lS=r,t.KeyValuePair=n(3026),t.O4=s.ArraySlice,t.rm=s.ObjectSlice,t.W_=s.Element,t.RP=s.StringElement,t.VL=s.NumberElement,t.hh=s.BooleanElement,t.zr=s.NullElement,t.ON=s.ArrayElement,t.Sb=s.ObjectElement,t.c6=s.MemberElement,t.tK=s.RefElement,t.EA=s.LinkElement,t.Qc=s.refract,n(2947),n(8910)},1641:(e,t,n)=>{const r=n(1570),s=n(6420),i=n(1178);class o extends s{constructor(e,t,n){super(e||[],t,n),this.element="array"}primitive(){return"array"}get(e){return this.content[e]}getValue(e){const t=this.get(e);if(t)return t.toValue()}getIndex(e){return this.content[e]}set(e,t){return this.content[e]=this.refract(t),this}remove(e){const t=this.content.splice(e,1);return t.length?t[0]:null}map(e,t){return this.content.map(e,t)}flatMap(e,t){return this.map(e,t).reduce(((e,t)=>e.concat(t)),[])}compactMap(e,t){const n=[];return this.forEach((r=>{const s=e.bind(t)(r);s&&n.push(s)})),n}filter(e,t){return new i(this.content.filter(e,t))}reject(e,t){return this.filter(r(e),t)}reduce(e,t){let n,r;void 0!==t?(n=0,r=this.refract(t)):(n=1,r="object"===this.primitive()?this.first.value:this.first);for(let t=n;t<this.length;t+=1){const n=this.content[t];r="object"===this.primitive()?this.refract(e(r,n.value,n.key,n,this)):this.refract(e(r,n,t,this))}return r}forEach(e,t){this.content.forEach(((n,r)=>{e.bind(t)(n,this.refract(r))}))}shift(){return this.content.shift()}unshift(e){this.content.unshift(this.refract(e))}push(e){return this.content.push(this.refract(e)),this}add(e){this.push(e)}findElements(e,t){const n=t||{},r=!!n.recursive,s=void 0===n.results?[]:n.results;return this.forEach(((t,n,i)=>{r&&void 0!==t.findElements&&t.findElements(e,{results:s,recursive:r}),e(t,n,i)&&s.push(t)})),s}find(e){return new i(this.findElements(e,{recursive:!0}))}findByElement(e){return this.find((t=>t.element===e))}findByClass(e){return this.find((t=>t.classes.includes(e)))}getById(e){return this.find((t=>t.id.toValue()===e)).first}includes(e){return this.content.some((t=>t.equals(e)))}contains(e){return this.includes(e)}empty(){return new this.constructor([])}"fantasy-land/empty"(){return this.empty()}concat(e){return new this.constructor(this.content.concat(e.content))}"fantasy-land/concat"(e){return this.concat(e)}"fantasy-land/map"(e){return new this.constructor(this.map(e))}"fantasy-land/chain"(e){return this.map((t=>e(t)),this).reduce(((e,t)=>e.concat(t)),this.empty())}"fantasy-land/filter"(e){return new this.constructor(this.content.filter(e))}"fantasy-land/reduce"(e,t){return this.content.reduce(e,t)}get length(){return this.content.length}get isEmpty(){return 0===this.content.length}get first(){return this.getIndex(0)}get second(){return this.getIndex(1)}get last(){return this.getIndex(this.length-1)}}o.empty=function(){return new this},o["fantasy-land/empty"]=o.empty,"undefined"!=typeof Symbol&&(o.prototype[Symbol.iterator]=function(){return this.content[Symbol.iterator]()}),e.exports=o},3312:(e,t,n)=>{const r=n(6420);e.exports=class extends r{constructor(e,t,n){super(e,t,n),this.element="boolean"}primitive(){return"boolean"}}},6420:(e,t,n)=>{const r=n(8149),s=n(3026),i=n(1178);class o{constructor(e,t,n){t&&(this.meta=t),n&&(this.attributes=n),this.content=e}freeze(){Object.isFrozen(this)||(this._meta&&(this.meta.parent=this,this.meta.freeze()),this._attributes&&(this.attributes.parent=this,this.attributes.freeze()),this.children.forEach((e=>{e.parent=this,e.freeze()}),this),this.content&&Array.isArray(this.content)&&Object.freeze(this.content),Object.freeze(this))}primitive(){}clone(){const e=new this.constructor;return e.element=this.element,this.meta.length&&(e._meta=this.meta.clone()),this.attributes.length&&(e._attributes=this.attributes.clone()),this.content?this.content.clone?e.content=this.content.clone():Array.isArray(this.content)?e.content=this.content.map((e=>e.clone())):e.content=this.content:e.content=this.content,e}toValue(){return this.content instanceof o?this.content.toValue():this.content instanceof s?{key:this.content.key.toValue(),value:this.content.value?this.content.value.toValue():void 0}:this.content&&this.content.map?this.content.map((e=>e.toValue()),this):this.content}toRef(e){if(""===this.id.toValue())throw Error("Cannot create reference to an element that does not contain an ID");const t=new this.RefElement(this.id.toValue());return e&&(t.path=e),t}findRecursive(...e){if(arguments.length>1&&!this.isFrozen)throw new Error("Cannot find recursive with multiple element names without first freezing the element. Call `element.freeze()`");const t=e.pop();let n=new i;const r=(e,t)=>(e.push(t),e),o=(e,n)=>{n.element===t&&e.push(n);const i=n.findRecursive(t);return i&&i.reduce(r,e),n.content instanceof s&&(n.content.key&&o(e,n.content.key),n.content.value&&o(e,n.content.value)),e};return this.content&&(this.content.element&&o(n,this.content),Array.isArray(this.content)&&this.content.reduce(o,n)),e.isEmpty||(n=n.filter((t=>{let n=t.parents.map((e=>e.element));for(const t in e){const r=e[t],s=n.indexOf(r);if(-1===s)return!1;n=n.splice(0,s)}return!0}))),n}set(e){return this.content=e,this}equals(e){return r(this.toValue(),e)}getMetaProperty(e,t){if(!this.meta.hasKey(e)){if(this.isFrozen){const e=this.refract(t);return e.freeze(),e}this.meta.set(e,t)}return this.meta.get(e)}setMetaProperty(e,t){this.meta.set(e,t)}get element(){return this._storedElement||"element"}set element(e){this._storedElement=e}get content(){return this._content}set content(e){if(e instanceof o)this._content=e;else if(e instanceof i)this.content=e.elements;else if("string"==typeof e||"number"==typeof e||"boolean"==typeof e||"null"===e||null==e)this._content=e;else if(e instanceof s)this._content=e;else if(Array.isArray(e))this._content=e.map(this.refract);else{if("object"!=typeof e)throw new Error("Cannot set content to given value");this._content=Object.keys(e).map((t=>new this.MemberElement(t,e[t])))}}get meta(){if(!this._meta){if(this.isFrozen){const e=new this.ObjectElement;return e.freeze(),e}this._meta=new this.ObjectElement}return this._meta}set meta(e){e instanceof this.ObjectElement?this._meta=e:this.meta.set(e||{})}get attributes(){if(!this._attributes){if(this.isFrozen){const e=new this.ObjectElement;return e.freeze(),e}this._attributes=new this.ObjectElement}return this._attributes}set attributes(e){e instanceof this.ObjectElement?this._attributes=e:this.attributes.set(e||{})}get id(){return this.getMetaProperty("id","")}set id(e){this.setMetaProperty("id",e)}get classes(){return this.getMetaProperty("classes",[])}set classes(e){this.setMetaProperty("classes",e)}get title(){return this.getMetaProperty("title","")}set title(e){this.setMetaProperty("title",e)}get description(){return this.getMetaProperty("description","")}set description(e){this.setMetaProperty("description",e)}get links(){return this.getMetaProperty("links",[])}set links(e){this.setMetaProperty("links",e)}get isFrozen(){return Object.isFrozen(this)}get parents(){let{parent:e}=this;const t=new i;for(;e;)t.push(e),e=e.parent;return t}get children(){if(Array.isArray(this.content))return new i(this.content);if(this.content instanceof s){const e=new i([this.content.key]);return this.content.value&&e.push(this.content.value),e}return this.content instanceof o?new i([this.content]):new i}get recursiveChildren(){const e=new i;return this.children.forEach((t=>{e.push(t),t.recursiveChildren.forEach((t=>{e.push(t)}))})),e}}e.exports=o},8858:(e,t,n)=>{const r=n(3026),s=n(6420);e.exports=class extends s{constructor(e,t,n,s){super(new r,n,s),this.element="member",this.key=e,this.value=t}get key(){return this.content.key}set key(e){this.content.key=this.refract(e)}get value(){return this.content.value}set value(e){this.content.value=this.refract(e)}}},4152:(e,t,n)=>{const r=n(6420);e.exports=class extends r{constructor(e,t,n){super(e||null,t,n),this.element="null"}primitive(){return"null"}set(){return new Error("Cannot set the value of null")}}},3710:(e,t,n)=>{const r=n(6420);e.exports=class extends r{constructor(e,t,n){super(e,t,n),this.element="number"}primitive(){return"number"}}},3860:(e,t,n)=>{const r=n(1570),s=n(9259),i=n(1641),o=n(8858),a=n(3853);e.exports=class extends i{constructor(e,t,n){super(e||[],t,n),this.element="object"}primitive(){return"object"}toValue(){return this.content.reduce(((e,t)=>(e[t.key.toValue()]=t.value?t.value.toValue():void 0,e)),{})}get(e){const t=this.getMember(e);if(t)return t.value}getMember(e){if(void 0!==e)return this.content.find((t=>t.key.toValue()===e))}remove(e){let t=null;return this.content=this.content.filter((n=>n.key.toValue()!==e||(t=n,!1))),t}getKey(e){const t=this.getMember(e);if(t)return t.key}set(e,t){if(s(e))return Object.keys(e).forEach((t=>{this.set(t,e[t])})),this;const n=e,r=this.getMember(n);return r?r.value=t:this.content.push(new o(n,t)),this}keys(){return this.content.map((e=>e.key.toValue()))}values(){return this.content.map((e=>e.value.toValue()))}hasKey(e){return this.content.some((t=>t.key.equals(e)))}items(){return this.content.map((e=>[e.key.toValue(),e.value.toValue()]))}map(e,t){return this.content.map((n=>e.bind(t)(n.value,n.key,n)))}compactMap(e,t){const n=[];return this.forEach(((r,s,i)=>{const o=e.bind(t)(r,s,i);o&&n.push(o)})),n}filter(e,t){return new a(this.content).filter(e,t)}reject(e,t){return this.filter(r(e),t)}forEach(e,t){return this.content.forEach((n=>e.bind(t)(n.value,n.key,n)))}}},9542:(e,t,n)=>{const r=n(6420);e.exports=class extends r{constructor(e,t,n){super(e,t,n),this.element="string"}primitive(){return"string"}get length(){return this.content.length}}},8910:(e,t,n)=>{const r=n(2947);e.exports=class extends r{serialise(e){if(!(e instanceof this.namespace.elements.Element))throw new TypeError(`Given element \`${e}\` is not an Element instance`);let t;e._attributes&&e.attributes.get("variable")&&(t=e.attributes.get("variable"));const n={element:e.element};e._meta&&e._meta.length>0&&(n.meta=this.serialiseObject(e.meta));const r="enum"===e.element||-1!==e.attributes.keys().indexOf("enumerations");if(r){const t=this.enumSerialiseAttributes(e);t&&(n.attributes=t)}else if(e._attributes&&e._attributes.length>0){let{attributes:r}=e;r.get("metadata")&&(r=r.clone(),r.set("meta",r.get("metadata")),r.remove("metadata")),"member"===e.element&&t&&(r=r.clone(),r.remove("variable")),r.length>0&&(n.attributes=this.serialiseObject(r))}if(r)n.content=this.enumSerialiseContent(e,n);else if(this[`${e.element}SerialiseContent`])n.content=this[`${e.element}SerialiseContent`](e,n);else if(void 0!==e.content){let r;t&&e.content.key?(r=e.content.clone(),r.key.attributes.set("variable",t),r=this.serialiseContent(r)):r=this.serialiseContent(e.content),this.shouldSerialiseContent(e,r)&&(n.content=r)}else this.shouldSerialiseContent(e,e.content)&&e instanceof this.namespace.elements.Array&&(n.content=[]);return n}shouldSerialiseContent(e,t){return"parseResult"===e.element||"httpRequest"===e.element||"httpResponse"===e.element||"category"===e.element||"link"===e.element||void 0!==t&&(!Array.isArray(t)||0!==t.length)}refSerialiseContent(e,t){return delete t.attributes,{href:e.toValue(),path:e.path.toValue()}}sourceMapSerialiseContent(e){return e.toValue()}dataStructureSerialiseContent(e){return[this.serialiseContent(e.content)]}enumSerialiseAttributes(e){const t=e.attributes.clone(),n=t.remove("enumerations")||new this.namespace.elements.Array([]),r=t.get("default");let s=t.get("samples")||new this.namespace.elements.Array([]);if(r&&r.content&&(r.content.attributes&&r.content.attributes.remove("typeAttributes"),t.set("default",new this.namespace.elements.Array([r.content]))),s.forEach((e=>{e.content&&e.content.element&&e.content.attributes.remove("typeAttributes")})),e.content&&0!==n.length&&s.unshift(e.content),s=s.map((e=>e instanceof this.namespace.elements.Array?[e]:new this.namespace.elements.Array([e.content]))),s.length&&t.set("samples",s),t.length>0)return this.serialiseObject(t)}enumSerialiseContent(e){if(e._attributes){const t=e.attributes.get("enumerations");if(t&&t.length>0)return t.content.map((e=>{const t=e.clone();return t.attributes.remove("typeAttributes"),this.serialise(t)}))}if(e.content){const t=e.content.clone();return t.attributes.remove("typeAttributes"),[this.serialise(t)]}return[]}deserialise(e){if("string"==typeof e)return new this.namespace.elements.String(e);if("number"==typeof e)return new this.namespace.elements.Number(e);if("boolean"==typeof e)return new this.namespace.elements.Boolean(e);if(null===e)return new this.namespace.elements.Null;if(Array.isArray(e))return new this.namespace.elements.Array(e.map(this.deserialise,this));const t=this.namespace.getElementClass(e.element),n=new t;n.element!==e.element&&(n.element=e.element),e.meta&&this.deserialiseObject(e.meta,n.meta),e.attributes&&this.deserialiseObject(e.attributes,n.attributes);const r=this.deserialiseContent(e.content);if(void 0===r&&null!==n.content||(n.content=r),"enum"===n.element){n.content&&n.attributes.set("enumerations",n.content);let e=n.attributes.get("samples");if(n.attributes.remove("samples"),e){const r=e;e=new this.namespace.elements.Array,r.forEach((r=>{r.forEach((r=>{const s=new t(r);s.element=n.element,e.push(s)}))}));const s=e.shift();n.content=s?s.content:void 0,n.attributes.set("samples",e)}else n.content=void 0;let r=n.attributes.get("default");if(r&&r.length>0){r=r.get(0);const e=new t(r);e.element=n.element,n.attributes.set("default",e)}}else if("dataStructure"===n.element&&Array.isArray(n.content))[n.content]=n.content;else if("category"===n.element){const e=n.attributes.get("meta");e&&(n.attributes.set("metadata",e),n.attributes.remove("meta"))}else"member"===n.element&&n.key&&n.key._attributes&&n.key._attributes.getValue("variable")&&(n.attributes.set("variable",n.key.attributes.get("variable")),n.key.attributes.remove("variable"));return n}serialiseContent(e){if(e instanceof this.namespace.elements.Element)return this.serialise(e);if(e instanceof this.namespace.KeyValuePair){const t={key:this.serialise(e.key)};return e.value&&(t.value=this.serialise(e.value)),t}return e&&e.map?e.map(this.serialise,this):e}deserialiseContent(e){if(e){if(e.element)return this.deserialise(e);if(e.key){const t=new this.namespace.KeyValuePair(this.deserialise(e.key));return e.value&&(t.value=this.deserialise(e.value)),t}if(e.map)return e.map(this.deserialise,this)}return e}shouldRefract(e){return!!(e._attributes&&e.attributes.keys().length||e._meta&&e.meta.keys().length)||"enum"!==e.element&&(e.element!==e.primitive()||"member"===e.element)}convertKeyToRefract(e,t){return this.shouldRefract(t)?this.serialise(t):"enum"===t.element?this.serialiseEnum(t):"array"===t.element?t.map((t=>this.shouldRefract(t)||"default"===e?this.serialise(t):"array"===t.element||"object"===t.element||"enum"===t.element?t.children.map((e=>this.serialise(e))):t.toValue())):"object"===t.element?(t.content||[]).map(this.serialise,this):t.toValue()}serialiseEnum(e){return e.children.map((e=>this.serialise(e)))}serialiseObject(e){const t={};return e.forEach(((e,n)=>{if(e){const r=n.toValue();t[r]=this.convertKeyToRefract(r,e)}})),t}deserialiseObject(e,t){Object.keys(e).forEach((n=>{t.set(n,this.deserialise(e[n]))}))}}},2947:e=>{e.exports=class{constructor(e){this.namespace=e||new this.Namespace}serialise(e){if(!(e instanceof this.namespace.elements.Element))throw new TypeError(`Given element \`${e}\` is not an Element instance`);const t={element:e.element};e._meta&&e._meta.length>0&&(t.meta=this.serialiseObject(e.meta)),e._attributes&&e._attributes.length>0&&(t.attributes=this.serialiseObject(e.attributes));const n=this.serialiseContent(e.content);return void 0!==n&&(t.content=n),t}deserialise(e){if(!e.element)throw new Error("Given value is not an object containing an element name");const t=new(this.namespace.getElementClass(e.element));t.element!==e.element&&(t.element=e.element),e.meta&&this.deserialiseObject(e.meta,t.meta),e.attributes&&this.deserialiseObject(e.attributes,t.attributes);const n=this.deserialiseContent(e.content);return void 0===n&&null!==t.content||(t.content=n),t}serialiseContent(e){if(e instanceof this.namespace.elements.Element)return this.serialise(e);if(e instanceof this.namespace.KeyValuePair){const t={key:this.serialise(e.key)};return e.value&&(t.value=this.serialise(e.value)),t}if(e&&e.map){if(0===e.length)return;return e.map(this.serialise,this)}return e}deserialiseContent(e){if(e){if(e.element)return this.deserialise(e);if(e.key){const t=new this.namespace.KeyValuePair(this.deserialise(e.key));return e.value&&(t.value=this.deserialise(e.value)),t}if(e.map)return e.map(this.deserialise,this)}return e}serialiseObject(e){const t={};if(e.forEach(((e,n)=>{e&&(t[n.toValue()]=this.serialise(e))})),0!==Object.keys(t).length)return t}deserialiseObject(e,t){Object.keys(e).forEach((n=>{t.set(n,this.deserialise(e[n]))}))}}},6591:e=>{!function(){"use strict";var t,n,r,s,i,o="properties",a="deepProperties",c="propertyDescriptors",u="staticProperties",l="staticDeepProperties",p="staticPropertyDescriptors",h="configuration",m="deepConfiguration",f="deepProps",d="deepStatics",_="deepConf",y="initializers",g="methods",b="composers",v="compose";function w(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e):[])}function E(e,t){return Array.prototype.slice.call(arguments,2).reduce(e,t)}var x=E.bind(0,(function(e,t){if(t)for(var n=w(t),r=0;r<n.length;r+=1)Object.defineProperty(e,n[r],Object.getOwnPropertyDescriptor(t,n[r]));return e}));function j(e){return"function"==typeof e}function S(e){return e&&"object"==typeof e||j(e)}function O(e){return e&&"object"==typeof e&&e.__proto__==Object.prototype}var P=E.bind(0,(function e(n,r){if(r===t)return n;if(Array.isArray(r))return(Array.isArray(n)?n:[]).concat(r);if(!O(r))return r;for(var s,i,o=w(r),a=0;a<o.length;)s=o[a++],(i=Object.getOwnPropertyDescriptor(r,s)).hasOwnProperty("value")?i.value!==t&&(n[s]=e(O(n[s])||Array.isArray(r[s])?n[s]:{},r[s])):Object.defineProperty(n,s,i);return n}));function A(){return(n=Array.prototype.concat.apply([],arguments).filter((function(e,t,n){return j(e)&&n.indexOf(e)===t}))).length?n:t}function k(e,t){function r(n,r){S(t[n])&&(S(e[n])||(e[n]={}),(r||x)(e[n],t[n]))}function s(r){(n=A(e[r],t[r]))&&(e[r]=n)}return t&&S(t=t[v]||t)&&(r(g),r(o),r(a,P),r(c),r(u),r(l,P),r(p),r(h),r(m,P),s(y),s(b)),e}function N(){return function(e){return n=function e(n){var r,s,i=e[v]||{},u={__proto__:i[g]},l=i[y],p=Array.prototype.slice.apply(arguments),h=i[a];if(h&&P(u,h),(h=i[o])&&x(u,h),(h=i[c])&&Object.defineProperties(u,h),!l||!l.length)return u;for(n===t&&(n={}),i=0;i<l.length;)j(r=l[i++])&&(u=(s=r.call(u,n,{instance:u,stamp:e,args:p}))===t?u:s);return u},(r=e[l])&&P(n,r),(r=e[u])&&x(n,r),(r=e[p])&&Object.defineProperties(n,r),r=j(n[v])?n[v]:N,x(n[v]=function(){return r.apply(this,arguments)},e),n}(Array.prototype.concat.apply([this],arguments).reduce(k,{}))}function M(e){return j(e)&&j(e[v])}var R={};function I(e,i){return function(){return(s={})[e]=i.apply(t,Array.prototype.concat.apply([{}],arguments)),((n=this)&&n[v]||r).call(n,s)}}R[g]=I(g,x),R[o]=R.props=I(o,x),R[y]=R.init=I(y,A),R[b]=I(b,A),R[a]=R[f]=I(a,P),R[u]=R.statics=I(u,x),R[l]=R[d]=I(l,P),R[h]=R.conf=I(h,x),R[m]=R[_]=I(m,P),R[c]=I(c,x),R[p]=I(p,x),r=R[v]=x((function(){for(var e,w,E=0,j=[],O=arguments,k=this;E<O.length;)S(e=O[E++])&&j.push(M(e)?e:((s={})[g]=(w=e)[g]||t,r=w.props,s[o]=S((n=w[o])||r)?x({},r,n):t,s[y]=A(w.init,w[y]),s[b]=A(w[b]),r=w[f],s[a]=S((n=w[a])||r)?P({},r,n):t,s[c]=w[c],r=w.statics,s[u]=S((n=w[u])||r)?x({},r,n):t,r=w[d],s[l]=S((n=w[l])||r)?P({},r,n):t,n=w[p],s[p]=S((r=w.name&&{name:{value:w.name}})||n)?x({},n,r):t,r=w.conf,s[h]=S((n=w[h])||r)?x({},r,n):t,r=w[_],s[m]=S((n=w[m])||r)?P({},r,n):t,s));if(e=N.apply(k||i,j),k&&j.unshift(k),Array.isArray(O=e[v][b]))for(E=0;E<O.length;)e=M(k=O[E++]({stamp:e,composables:j}))?k:e;return e}),R),R.create=function(){return this.apply(t,arguments)},(s={})[u]=R,i=N(s),r[v]=r.bind(),r.version="4.3.2","object"!=typeof t?e.exports=r:self.stampit=r}()},9794:(e,t,n)=>{var r=void 0!==r?r:{},s=function(){var t,s="object"==typeof window?{currentScript:window.document.currentScript}:null;class i{constructor(){this.initialize()}initialize(){throw new Error("cannot construct a Parser before calling `init()`")}static init(o){return t||(r=Object.assign({},r,o),t=new Promise((t=>{var o,a={};for(o in r)r.hasOwnProperty(o)&&(a[o]=r[o]);var c,u,l,p,h=[],m="./this.program",f=function(e,t){throw t};l="object"==typeof window,p="function"==typeof importScripts,c="object"==typeof process&&"object"==typeof process.versions&&"string"==typeof process.versions.node,u=!l&&!c&&!p;var d,_,y,g,b,v="";c?(v=p?n(6287).dirname(v)+"/":"//",d=function(e,t){return g||(g=n(5530)),b||(b=n(6287)),e=b.normalize(e),g.readFileSync(e,t?null:"utf8")},y=function(e){var t=d(e,!0);return t.buffer||(t=new Uint8Array(t)),I(t.buffer),t},process.argv.length>1&&(m=process.argv[1].replace(/\\/g,"/")),h=process.argv.slice(2),e.exports=r,f=function(e){process.exit(e)},r.inspect=function(){return"[Emscripten Module object]"}):u?("undefined"!=typeof read&&(d=function(e){return read(e)}),y=function(e){var t;return"function"==typeof readbuffer?new Uint8Array(readbuffer(e)):(I("object"==typeof(t=read(e,"binary"))),t)},"undefined"!=typeof scriptArgs?h=scriptArgs:void 0!==arguments&&(h=arguments),"function"==typeof quit&&(f=function(e){quit(e)}),"undefined"!=typeof print&&("undefined"==typeof console&&(console={}),console.log=print,console.warn=console.error="undefined"!=typeof printErr?printErr:print)):(l||p)&&(p?v=self.location.href:void 0!==s&&s.currentScript&&(v=s.currentScript.src),v=0!==v.indexOf("blob:")?v.substr(0,v.lastIndexOf("/")+1):"",d=function(e){var t=new XMLHttpRequest;return t.open("GET",e,!1),t.send(null),t.responseText},p&&(y=function(e){var t=new XMLHttpRequest;return t.open("GET",e,!1),t.responseType="arraybuffer",t.send(null),new Uint8Array(t.response)}),_=function(e,t,n){var r=new XMLHttpRequest;r.open("GET",e,!0),r.responseType="arraybuffer",r.onload=function(){200==r.status||0==r.status&&r.response?t(r.response):n()},r.onerror=n,r.send(null)}),r.print||console.log.bind(console);var w=r.printErr||console.warn.bind(console);for(o in a)a.hasOwnProperty(o)&&(r[o]=a[o]);a=null,r.arguments&&(h=r.arguments),r.thisProgram&&(m=r.thisProgram),r.quit&&(f=r.quit);var E,x=16,j=[];function S(e,t){if(!E){E=new WeakMap;for(var n=0;n<Z.length;n++){var r=Z.get(n);r&&E.set(r,n)}}if(E.has(e))return E.get(e);var s=function(){if(j.length)return j.pop();try{Z.grow(1)}catch(e){if(!(e instanceof RangeError))throw e;throw"Unable to grow wasm table. Set ALLOW_TABLE_GROWTH."}return Z.length-1}();try{Z.set(s,e)}catch(n){if(!(n instanceof TypeError))throw n;var i=function(e,t){if("function"==typeof WebAssembly.Function){for(var n={i:"i32",j:"i64",f:"f32",d:"f64"},r={parameters:[],results:"v"==t[0]?[]:[n[t[0]]]},s=1;s<t.length;++s)r.parameters.push(n[t[s]]);return new WebAssembly.Function(r,e)}var i=[1,0,1,96],o=t.slice(0,1),a=t.slice(1),c={i:127,j:126,f:125,d:124};for(i.push(a.length),s=0;s<a.length;++s)i.push(c[a[s]]);"v"==o?i.push(0):i=i.concat([1,c[o]]),i[1]=i.length-2;var u=new Uint8Array([0,97,115,109,1,0,0,0].concat(i,[2,7,1,1,101,1,102,0,0,7,5,1,1,102,0,0])),l=new WebAssembly.Module(u);return new WebAssembly.Instance(l,{e:{f:e}}).exports.f}(e,t);Z.set(s,i)}return E.set(e,s),s}var O,P=r.dynamicLibraries||[];r.wasmBinary&&(O=r.wasmBinary);var A,k=r.noExitRuntime||!0;function N(e,t,n,r){switch("*"===(n=n||"i8").charAt(n.length-1)&&(n="i32"),n){case"i1":case"i8":T[e>>0]=t;break;case"i16":$[e>>1]=t;break;case"i32":q[e>>2]=t;break;case"i64":le=[t>>>0,(ue=t,+Math.abs(ue)>=1?ue>0?(0|Math.min(+Math.floor(ue/4294967296),4294967295))>>>0:~~+Math.ceil((ue-+(~~ue>>>0))/4294967296)>>>0:0)],q[e>>2]=le[0],q[e+4>>2]=le[1];break;case"float":L[e>>2]=t;break;case"double":B[e>>3]=t;break;default:ae("invalid type for setValue: "+n)}}function M(e,t,n){switch("*"===(t=t||"i8").charAt(t.length-1)&&(t="i32"),t){case"i1":case"i8":return T[e>>0];case"i16":return $[e>>1];case"i32":case"i64":return q[e>>2];case"float":return L[e>>2];case"double":return B[e>>3];default:ae("invalid type for getValue: "+t)}return null}"object"!=typeof WebAssembly&&ae("no native wasm support detected");var R=!1;function I(e,t){e||ae("Assertion failed: "+t)}var C,T,F,$,q,L,B,D="undefined"!=typeof TextDecoder?new TextDecoder("utf8"):void 0;function V(e,t,n){for(var r=t+n,s=t;e[s]&&!(s>=r);)++s;if(s-t>16&&e.subarray&&D)return D.decode(e.subarray(t,s));for(var i="";t<s;){var o=e[t++];if(128&o){var a=63&e[t++];if(192!=(224&o)){var c=63&e[t++];if((o=224==(240&o)?(15&o)<<12|a<<6|c:(7&o)<<18|a<<12|c<<6|63&e[t++])<65536)i+=String.fromCharCode(o);else{var u=o-65536;i+=String.fromCharCode(55296|u>>10,56320|1023&u)}}else i+=String.fromCharCode((31&o)<<6|a)}else i+=String.fromCharCode(o)}return i}function z(e,t){return e?V(F,e,t):""}function U(e,t,n,r){if(!(r>0))return 0;for(var s=n,i=n+r-1,o=0;o<e.length;++o){var a=e.charCodeAt(o);if(a>=55296&&a<=57343&&(a=65536+((1023&a)<<10)|1023&e.charCodeAt(++o)),a<=127){if(n>=i)break;t[n++]=a}else if(a<=2047){if(n+1>=i)break;t[n++]=192|a>>6,t[n++]=128|63&a}else if(a<=65535){if(n+2>=i)break;t[n++]=224|a>>12,t[n++]=128|a>>6&63,t[n++]=128|63&a}else{if(n+3>=i)break;t[n++]=240|a>>18,t[n++]=128|a>>12&63,t[n++]=128|a>>6&63,t[n++]=128|63&a}}return t[n]=0,n-s}function G(e,t,n){return U(e,F,t,n)}function W(e){for(var t=0,n=0;n<e.length;++n){var r=e.charCodeAt(n);r>=55296&&r<=57343&&(r=65536+((1023&r)<<10)|1023&e.charCodeAt(++n)),r<=127?++t:t+=r<=2047?2:r<=65535?3:4}return t}function J(e){var t=W(e)+1,n=ze(t);return U(e,T,n,t),n}function K(e){C=e,r.HEAP8=T=new Int8Array(e),r.HEAP16=$=new Int16Array(e),r.HEAP32=q=new Int32Array(e),r.HEAPU8=F=new Uint8Array(e),r.HEAPU16=new Uint16Array(e),r.HEAPU32=new Uint32Array(e),r.HEAPF32=L=new Float32Array(e),r.HEAPF64=B=new Float64Array(e)}var H=r.INITIAL_MEMORY||33554432;(A=r.wasmMemory?r.wasmMemory:new WebAssembly.Memory({initial:H/65536,maximum:32768}))&&(C=A.buffer),H=C.byteLength,K(C);var Z=new WebAssembly.Table({initial:17,element:"anyfunc"}),X=[],Y=[],Q=[],ee=[],te=!1,ne=0,re=null,se=null;function ie(e){ne++,r.monitorRunDependencies&&r.monitorRunDependencies(ne)}function oe(e){if(ne--,r.monitorRunDependencies&&r.monitorRunDependencies(ne),0==ne&&(null!==re&&(clearInterval(re),re=null),se)){var t=se;se=null,t()}}function ae(e){throw r.onAbort&&r.onAbort(e),w(e+=""),R=!0,e="abort("+e+"). Build with -s ASSERTIONS=1 for more info.",new WebAssembly.RuntimeError(e)}r.preloadedImages={},r.preloadedAudios={},r.preloadedWasm={};var ce,ue,le;function pe(e){return e.startsWith("data:application/octet-stream;base64,")}function he(e){return e.startsWith("file://")}function me(e){try{if(e==ce&&O)return new Uint8Array(O);if(y)return y(e);throw"both async and sync fetching of the wasm failed"}catch(e){ae(e)}}pe(ce="tree-sitter.wasm")||(ce=function(e){return r.locateFile?r.locateFile(e,v):v+e}(ce));var fe={},de={get:function(e,t){return fe[t]||(fe[t]=new WebAssembly.Global({value:"i32",mutable:!0})),fe[t]}};function _e(e){for(;e.length>0;){var t=e.shift();if("function"!=typeof t){var n=t.func;"number"==typeof n?void 0===t.arg?Z.get(n)():Z.get(n)(t.arg):n(void 0===t.arg?null:t.arg)}else t(r)}}function ye(e){var t=0;function n(){for(var n=0,r=1;;){var s=e[t++];if(n+=(127&s)*r,r*=128,!(128&s))break}return n}if(e instanceof WebAssembly.Module){var r=WebAssembly.Module.customSections(e,"dylink");I(0!=r.length,"need dylink section"),e=new Int8Array(r[0])}else I(1836278016==new Uint32Array(new Uint8Array(e.subarray(0,24)).buffer)[0],"need to see wasm magic number"),I(0===e[8],"need the dylink section to be first"),t=9,n(),I(6===e[t]),I(e[++t]==="d".charCodeAt(0)),I(e[++t]==="y".charCodeAt(0)),I(e[++t]==="l".charCodeAt(0)),I(e[++t]==="i".charCodeAt(0)),I(e[++t]==="n".charCodeAt(0)),I(e[++t]==="k".charCodeAt(0)),t++;var s={};s.memorySize=n(),s.memoryAlign=n(),s.tableSize=n(),s.tableAlign=n();var i=n();s.neededDynlibs=[];for(var o=0;o<i;++o){var a=n(),c=e.subarray(t,t+a);t+=a;var u=V(c,0);s.neededDynlibs.push(u)}return s}var ge=0;function be(){return k||ge>0}function ve(e){return 0==e.indexOf("dynCall_")||["stackAlloc","stackSave","stackRestore"].includes(e)?e:"_"+e}function we(e,t){for(var n in e)if(e.hasOwnProperty(n)){qe.hasOwnProperty(n)||(qe[n]=e[n]);var s=ve(n);r.hasOwnProperty(s)||(r[s]=e[n])}}var Ee={nextHandle:1,loadedLibs:{},loadedLibNames:{}};var xe=5250880;function je(e){return["__cpp_exception","__wasm_apply_data_relocs","__dso_handle","__set_stack_limits"].includes(e)}function Se(e,t){var n={};for(var r in e){var s=e[r];"object"==typeof s&&(s=s.value),"number"==typeof s&&(s+=t),n[r]=s}return function(e){for(var t in e)if(!je(t)){var n=!1,r=e[t];t.startsWith("orig$")&&(t=t.split("$")[1],n=!0),fe[t]||(fe[t]=new WebAssembly.Global({value:"i32",mutable:!0})),(n||0==fe[t].value)&&("function"==typeof r?fe[t].value=S(r):"number"==typeof r?fe[t].value=r:w("unhandled export type for `"+t+"`: "+typeof r))}}(n),n}function Oe(e,t){var n,s;return t&&(n=qe["orig$"+e]),n||(n=qe[e]),n||(n=r[ve(e)]),!n&&e.startsWith("invoke_")&&(s=e.split("_")[1],n=function(){var e=De();try{return function(e,t,n){return e.includes("j")?function(e,t,n){var s=r["dynCall_"+e];return n&&n.length?s.apply(null,[t].concat(n)):s.call(null,t)}(e,t,n):Z.get(t).apply(null,n)}(s,arguments[0],Array.prototype.slice.call(arguments,1))}catch(t){if(Ve(e),t!==t+0&&"longjmp"!==t)throw t;Ue(1,0)}}),n}function Pe(e,t){var n=ye(e);function r(){var r=Math.pow(2,n.memoryAlign);r=Math.max(r,x);var s,i,o,a=(s=function(e){if(te)return Le(e);var t=xe,n=t+e+15&-16;return xe=n,fe.__heap_base.value=n,t}(n.memorySize+r),(i=r)||(i=x),Math.ceil(s/i)*i),c=Z.length;Z.grow(n.tableSize);for(var u=a;u<a+n.memorySize;u++)T[u]=0;for(u=c;u<c+n.tableSize;u++)Z.set(u,null);var l=new Proxy({},{get:function(e,t){switch(t){case"__memory_base":return a;case"__table_base":return c}return t in qe?qe[t]:(t in e||(e[t]=function(){return n||(n=function(e){var t=Oe(e,!1);return t||(t=o[e]),t}(t)),n.apply(null,arguments)}),e[t]);var n}}),p={"GOT.mem":new Proxy({},de),"GOT.func":new Proxy({},de),env:l,wasi_snapshot_preview1:l};function h(e){for(var r=0;r<n.tableSize;r++){var s=Z.get(c+r);s&&E.set(s,c+r)}o=Se(e.exports,a),t.allowUndefined||ke();var i=o.__wasm_call_ctors;return i||(i=o.__post_instantiate),i&&(te?i():Y.push(i)),o}if(t.loadAsync){if(e instanceof WebAssembly.Module){var m=new WebAssembly.Instance(e,p);return Promise.resolve(h(m))}return WebAssembly.instantiate(e,p).then((function(e){return h(e.instance)}))}var f=e instanceof WebAssembly.Module?e:new WebAssembly.Module(e);return h(m=new WebAssembly.Instance(f,p))}return t.loadAsync?n.neededDynlibs.reduce((function(e,n){return e.then((function(){return Ae(n,t)}))}),Promise.resolve()).then((function(){return r()})):(n.neededDynlibs.forEach((function(e){Ae(e,t)})),r())}function Ae(e,t){"__main__"!=e||Ee.loadedLibNames[e]||(Ee.loadedLibs[-1]={refcount:1/0,name:"__main__",module:r.asm,global:!0},Ee.loadedLibNames.__main__=-1),t=t||{global:!0,nodelete:!0};var n,s=Ee.loadedLibNames[e];if(s)return n=Ee.loadedLibs[s],t.global&&!n.global&&(n.global=!0,"loading"!==n.module&&we(n.module)),t.nodelete&&n.refcount!==1/0&&(n.refcount=1/0),n.refcount++,t.loadAsync?Promise.resolve(s):s;function i(e){if(t.fs){var n=t.fs.readFile(e,{encoding:"binary"});return n instanceof Uint8Array||(n=new Uint8Array(n)),t.loadAsync?Promise.resolve(n):n}return t.loadAsync?(r=e,fetch(r,{credentials:"same-origin"}).then((function(e){if(!e.ok)throw"failed to load binary file at '"+r+"'";return e.arrayBuffer()})).then((function(e){return new Uint8Array(e)}))):y(e);var r}function o(){if(void 0!==r.preloadedWasm&&void 0!==r.preloadedWasm[e]){var n=r.preloadedWasm[e];return t.loadAsync?Promise.resolve(n):n}return t.loadAsync?i(e).then((function(e){return Pe(e,t)})):Pe(i(e),t)}function a(e){n.global&&we(e),n.module=e}return s=Ee.nextHandle++,n={refcount:t.nodelete?1/0:1,name:e,module:"loading",global:t.global},Ee.loadedLibNames[e]=s,Ee.loadedLibs[s]=n,t.loadAsync?o().then((function(e){return a(e),s})):(a(o()),s)}function ke(){for(var e in fe)if(0==fe[e].value){var t=Oe(e,!0);"function"==typeof t?fe[e].value=S(t,t.sig):"number"==typeof t?fe[e].value=t:I(!1,"bad export type for `"+e+"`: "+typeof t)}}r.___heap_base=xe;var Ne,Me=new WebAssembly.Global({value:"i32",mutable:!0},5250880);function Re(){ae()}r._abort=Re,Re.sig="v",Ne=c?function(){var e=process.hrtime();return 1e3*e[0]+e[1]/1e6}:"undefined"!=typeof dateNow?dateNow:function(){return performance.now()};function Ie(e,t){var n;if(0===e)n=Date.now();else{if(1!==e&&4!==e)return 28,q[Be()>>2]=28,-1;n=Ne()}return q[t>>2]=n/1e3|0,q[t+4>>2]=n%1e3*1e3*1e3|0,0}function Ce(e){try{return A.grow(e-C.byteLength+65535>>>16),K(A.buffer),1}catch(e){}}function Te(e){Ke(e)}function Fe(e){}Ie.sig="iii",Te.sig="vi",Fe.sig="vi";var $e,qe={__heap_base:xe,__indirect_function_table:Z,__memory_base:1024,__stack_pointer:Me,__table_base:1,abort:Re,clock_gettime:Ie,emscripten_memcpy_big:function(e,t,n){F.copyWithin(e,t,t+n)},emscripten_resize_heap:function(e){var t,n=F.length;if((e>>>=0)>2147483648)return!1;for(var r=1;r<=4;r*=2){var s=n*(1+.2/r);if(s=Math.min(s,e+100663296),Ce(Math.min(2147483648,((t=Math.max(e,s))%65536>0&&(t+=65536-t%65536),t))))return!0}return!1},exit:Te,memory:A,setTempRet0:Fe,tree_sitter_log_callback:function(e,t){if(ut){const n=z(t);ut(n,0!==e)}},tree_sitter_parse_callback:function(e,t,n,r,s){var i=ct(t,{row:n,column:r});"string"==typeof i?(N(s,i.length,"i32"),function(e,t,n){if(void 0===n&&(n=2147483647),n<2)return 0;for(var r=(n-=2)<2*e.length?n/2:e.length,s=0;s<r;++s){var i=e.charCodeAt(s);$[t>>1]=i,t+=2}$[t>>1]=0}(i,e,10240)):N(s,0,"i32")}},Le=(function(){var e={env:qe,wasi_snapshot_preview1:qe,"GOT.mem":new Proxy(qe,de),"GOT.func":new Proxy(qe,de)};function t(e,t){var n=e.exports;n=Se(n,1024),r.asm=n;var s,i=ye(t);i.neededDynlibs&&(P=i.neededDynlibs.concat(P)),we(n),s=r.asm.__wasm_call_ctors,Y.unshift(s),oe()}function n(e){t(e.instance,e.module)}function s(t){return function(){if(!O&&(l||p)){if("function"==typeof fetch&&!he(ce))return fetch(ce,{credentials:"same-origin"}).then((function(e){if(!e.ok)throw"failed to load wasm binary file at '"+ce+"'";return e.arrayBuffer()})).catch((function(){return me(ce)}));if(_)return new Promise((function(e,t){_(ce,(function(t){e(new Uint8Array(t))}),t)}))}return Promise.resolve().then((function(){return me(ce)}))}().then((function(t){return WebAssembly.instantiate(t,e)})).then(t,(function(e){w("failed to asynchronously prepare wasm: "+e),ae(e)}))}if(ie(),r.instantiateWasm)try{return r.instantiateWasm(e,t)}catch(e){return w("Module.instantiateWasm callback failed with error: "+e),!1}O||"function"!=typeof WebAssembly.instantiateStreaming||pe(ce)||he(ce)||"function"!=typeof fetch?s(n):fetch(ce,{credentials:"same-origin"}).then((function(t){return WebAssembly.instantiateStreaming(t,e).then(n,(function(e){return w("wasm streaming compile failed: "+e),w("falling back to ArrayBuffer instantiation"),s(n)}))}))}(),r.___wasm_call_ctors=function(){return(r.___wasm_call_ctors=r.asm.__wasm_call_ctors).apply(null,arguments)},r._malloc=function(){return(Le=r._malloc=r.asm.malloc).apply(null,arguments)}),Be=(r._calloc=function(){return(r._calloc=r.asm.calloc).apply(null,arguments)},r._realloc=function(){return(r._realloc=r.asm.realloc).apply(null,arguments)},r._free=function(){return(r._free=r.asm.free).apply(null,arguments)},r._ts_language_symbol_count=function(){return(r._ts_language_symbol_count=r.asm.ts_language_symbol_count).apply(null,arguments)},r._ts_language_version=function(){return(r._ts_language_version=r.asm.ts_language_version).apply(null,arguments)},r._ts_language_field_count=function(){return(r._ts_language_field_count=r.asm.ts_language_field_count).apply(null,arguments)},r._ts_language_symbol_name=function(){return(r._ts_language_symbol_name=r.asm.ts_language_symbol_name).apply(null,arguments)},r._ts_language_symbol_for_name=function(){return(r._ts_language_symbol_for_name=r.asm.ts_language_symbol_for_name).apply(null,arguments)},r._ts_language_symbol_type=function(){return(r._ts_language_symbol_type=r.asm.ts_language_symbol_type).apply(null,arguments)},r._ts_language_field_name_for_id=function(){return(r._ts_language_field_name_for_id=r.asm.ts_language_field_name_for_id).apply(null,arguments)},r._memcpy=function(){return(r._memcpy=r.asm.memcpy).apply(null,arguments)},r._ts_parser_delete=function(){return(r._ts_parser_delete=r.asm.ts_parser_delete).apply(null,arguments)},r._ts_parser_reset=function(){return(r._ts_parser_reset=r.asm.ts_parser_reset).apply(null,arguments)},r._ts_parser_set_language=function(){return(r._ts_parser_set_language=r.asm.ts_parser_set_language).apply(null,arguments)},r._ts_parser_timeout_micros=function(){return(r._ts_parser_timeout_micros=r.asm.ts_parser_timeout_micros).apply(null,arguments)},r._ts_parser_set_timeout_micros=function(){return(r._ts_parser_set_timeout_micros=r.asm.ts_parser_set_timeout_micros).apply(null,arguments)},r._memmove=function(){return(r._memmove=r.asm.memmove).apply(null,arguments)},r._memcmp=function(){return(r._memcmp=r.asm.memcmp).apply(null,arguments)},r._ts_query_new=function(){return(r._ts_query_new=r.asm.ts_query_new).apply(null,arguments)},r._ts_query_delete=function(){return(r._ts_query_delete=r.asm.ts_query_delete).apply(null,arguments)},r._iswspace=function(){return(r._iswspace=r.asm.iswspace).apply(null,arguments)},r._iswalnum=function(){return(r._iswalnum=r.asm.iswalnum).apply(null,arguments)},r._ts_query_pattern_count=function(){return(r._ts_query_pattern_count=r.asm.ts_query_pattern_count).apply(null,arguments)},r._ts_query_capture_count=function(){return(r._ts_query_capture_count=r.asm.ts_query_capture_count).apply(null,arguments)},r._ts_query_string_count=function(){return(r._ts_query_string_count=r.asm.ts_query_string_count).apply(null,arguments)},r._ts_query_capture_name_for_id=function(){return(r._ts_query_capture_name_for_id=r.asm.ts_query_capture_name_for_id).apply(null,arguments)},r._ts_query_string_value_for_id=function(){return(r._ts_query_string_value_for_id=r.asm.ts_query_string_value_for_id).apply(null,arguments)},r._ts_query_predicates_for_pattern=function(){return(r._ts_query_predicates_for_pattern=r.asm.ts_query_predicates_for_pattern).apply(null,arguments)},r._ts_tree_copy=function(){return(r._ts_tree_copy=r.asm.ts_tree_copy).apply(null,arguments)},r._ts_tree_delete=function(){return(r._ts_tree_delete=r.asm.ts_tree_delete).apply(null,arguments)},r._ts_init=function(){return(r._ts_init=r.asm.ts_init).apply(null,arguments)},r._ts_parser_new_wasm=function(){return(r._ts_parser_new_wasm=r.asm.ts_parser_new_wasm).apply(null,arguments)},r._ts_parser_enable_logger_wasm=function(){return(r._ts_parser_enable_logger_wasm=r.asm.ts_parser_enable_logger_wasm).apply(null,arguments)},r._ts_parser_parse_wasm=function(){return(r._ts_parser_parse_wasm=r.asm.ts_parser_parse_wasm).apply(null,arguments)},r._ts_language_type_is_named_wasm=function(){return(r._ts_language_type_is_named_wasm=r.asm.ts_language_type_is_named_wasm).apply(null,arguments)},r._ts_language_type_is_visible_wasm=function(){return(r._ts_language_type_is_visible_wasm=r.asm.ts_language_type_is_visible_wasm).apply(null,arguments)},r._ts_tree_root_node_wasm=function(){return(r._ts_tree_root_node_wasm=r.asm.ts_tree_root_node_wasm).apply(null,arguments)},r._ts_tree_edit_wasm=function(){return(r._ts_tree_edit_wasm=r.asm.ts_tree_edit_wasm).apply(null,arguments)},r._ts_tree_get_changed_ranges_wasm=function(){return(r._ts_tree_get_changed_ranges_wasm=r.asm.ts_tree_get_changed_ranges_wasm).apply(null,arguments)},r._ts_tree_cursor_new_wasm=function(){return(r._ts_tree_cursor_new_wasm=r.asm.ts_tree_cursor_new_wasm).apply(null,arguments)},r._ts_tree_cursor_delete_wasm=function(){return(r._ts_tree_cursor_delete_wasm=r.asm.ts_tree_cursor_delete_wasm).apply(null,arguments)},r._ts_tree_cursor_reset_wasm=function(){return(r._ts_tree_cursor_reset_wasm=r.asm.ts_tree_cursor_reset_wasm).apply(null,arguments)},r._ts_tree_cursor_goto_first_child_wasm=function(){return(r._ts_tree_cursor_goto_first_child_wasm=r.asm.ts_tree_cursor_goto_first_child_wasm).apply(null,arguments)},r._ts_tree_cursor_goto_next_sibling_wasm=function(){return(r._ts_tree_cursor_goto_next_sibling_wasm=r.asm.ts_tree_cursor_goto_next_sibling_wasm).apply(null,arguments)},r._ts_tree_cursor_goto_parent_wasm=function(){return(r._ts_tree_cursor_goto_parent_wasm=r.asm.ts_tree_cursor_goto_parent_wasm).apply(null,arguments)},r._ts_tree_cursor_current_node_type_id_wasm=function(){return(r._ts_tree_cursor_current_node_type_id_wasm=r.asm.ts_tree_cursor_current_node_type_id_wasm).apply(null,arguments)},r._ts_tree_cursor_current_node_is_named_wasm=function(){return(r._ts_tree_cursor_current_node_is_named_wasm=r.asm.ts_tree_cursor_current_node_is_named_wasm).apply(null,arguments)},r._ts_tree_cursor_current_node_is_missing_wasm=function(){return(r._ts_tree_cursor_current_node_is_missing_wasm=r.asm.ts_tree_cursor_current_node_is_missing_wasm).apply(null,arguments)},r._ts_tree_cursor_current_node_id_wasm=function(){return(r._ts_tree_cursor_current_node_id_wasm=r.asm.ts_tree_cursor_current_node_id_wasm).apply(null,arguments)},r._ts_tree_cursor_start_position_wasm=function(){return(r._ts_tree_cursor_start_position_wasm=r.asm.ts_tree_cursor_start_position_wasm).apply(null,arguments)},r._ts_tree_cursor_end_position_wasm=function(){return(r._ts_tree_cursor_end_position_wasm=r.asm.ts_tree_cursor_end_position_wasm).apply(null,arguments)},r._ts_tree_cursor_start_index_wasm=function(){return(r._ts_tree_cursor_start_index_wasm=r.asm.ts_tree_cursor_start_index_wasm).apply(null,arguments)},r._ts_tree_cursor_end_index_wasm=function(){return(r._ts_tree_cursor_end_index_wasm=r.asm.ts_tree_cursor_end_index_wasm).apply(null,arguments)},r._ts_tree_cursor_current_field_id_wasm=function(){return(r._ts_tree_cursor_current_field_id_wasm=r.asm.ts_tree_cursor_current_field_id_wasm).apply(null,arguments)},r._ts_tree_cursor_current_node_wasm=function(){return(r._ts_tree_cursor_current_node_wasm=r.asm.ts_tree_cursor_current_node_wasm).apply(null,arguments)},r._ts_node_symbol_wasm=function(){return(r._ts_node_symbol_wasm=r.asm.ts_node_symbol_wasm).apply(null,arguments)},r._ts_node_child_count_wasm=function(){return(r._ts_node_child_count_wasm=r.asm.ts_node_child_count_wasm).apply(null,arguments)},r._ts_node_named_child_count_wasm=function(){return(r._ts_node_named_child_count_wasm=r.asm.ts_node_named_child_count_wasm).apply(null,arguments)},r._ts_node_child_wasm=function(){return(r._ts_node_child_wasm=r.asm.ts_node_child_wasm).apply(null,arguments)},r._ts_node_named_child_wasm=function(){return(r._ts_node_named_child_wasm=r.asm.ts_node_named_child_wasm).apply(null,arguments)},r._ts_node_child_by_field_id_wasm=function(){return(r._ts_node_child_by_field_id_wasm=r.asm.ts_node_child_by_field_id_wasm).apply(null,arguments)},r._ts_node_next_sibling_wasm=function(){return(r._ts_node_next_sibling_wasm=r.asm.ts_node_next_sibling_wasm).apply(null,arguments)},r._ts_node_prev_sibling_wasm=function(){return(r._ts_node_prev_sibling_wasm=r.asm.ts_node_prev_sibling_wasm).apply(null,arguments)},r._ts_node_next_named_sibling_wasm=function(){return(r._ts_node_next_named_sibling_wasm=r.asm.ts_node_next_named_sibling_wasm).apply(null,arguments)},r._ts_node_prev_named_sibling_wasm=function(){return(r._ts_node_prev_named_sibling_wasm=r.asm.ts_node_prev_named_sibling_wasm).apply(null,arguments)},r._ts_node_parent_wasm=function(){return(r._ts_node_parent_wasm=r.asm.ts_node_parent_wasm).apply(null,arguments)},r._ts_node_descendant_for_index_wasm=function(){return(r._ts_node_descendant_for_index_wasm=r.asm.ts_node_descendant_for_index_wasm).apply(null,arguments)},r._ts_node_named_descendant_for_index_wasm=function(){return(r._ts_node_named_descendant_for_index_wasm=r.asm.ts_node_named_descendant_for_index_wasm).apply(null,arguments)},r._ts_node_descendant_for_position_wasm=function(){return(r._ts_node_descendant_for_position_wasm=r.asm.ts_node_descendant_for_position_wasm).apply(null,arguments)},r._ts_node_named_descendant_for_position_wasm=function(){return(r._ts_node_named_descendant_for_position_wasm=r.asm.ts_node_named_descendant_for_position_wasm).apply(null,arguments)},r._ts_node_start_point_wasm=function(){return(r._ts_node_start_point_wasm=r.asm.ts_node_start_point_wasm).apply(null,arguments)},r._ts_node_end_point_wasm=function(){return(r._ts_node_end_point_wasm=r.asm.ts_node_end_point_wasm).apply(null,arguments)},r._ts_node_start_index_wasm=function(){return(r._ts_node_start_index_wasm=r.asm.ts_node_start_index_wasm).apply(null,arguments)},r._ts_node_end_index_wasm=function(){return(r._ts_node_end_index_wasm=r.asm.ts_node_end_index_wasm).apply(null,arguments)},r._ts_node_to_string_wasm=function(){return(r._ts_node_to_string_wasm=r.asm.ts_node_to_string_wasm).apply(null,arguments)},r._ts_node_children_wasm=function(){return(r._ts_node_children_wasm=r.asm.ts_node_children_wasm).apply(null,arguments)},r._ts_node_named_children_wasm=function(){return(r._ts_node_named_children_wasm=r.asm.ts_node_named_children_wasm).apply(null,arguments)},r._ts_node_descendants_of_type_wasm=function(){return(r._ts_node_descendants_of_type_wasm=r.asm.ts_node_descendants_of_type_wasm).apply(null,arguments)},r._ts_node_is_named_wasm=function(){return(r._ts_node_is_named_wasm=r.asm.ts_node_is_named_wasm).apply(null,arguments)},r._ts_node_has_changes_wasm=function(){return(r._ts_node_has_changes_wasm=r.asm.ts_node_has_changes_wasm).apply(null,arguments)},r._ts_node_has_error_wasm=function(){return(r._ts_node_has_error_wasm=r.asm.ts_node_has_error_wasm).apply(null,arguments)},r._ts_node_is_missing_wasm=function(){return(r._ts_node_is_missing_wasm=r.asm.ts_node_is_missing_wasm).apply(null,arguments)},r._ts_query_matches_wasm=function(){return(r._ts_query_matches_wasm=r.asm.ts_query_matches_wasm).apply(null,arguments)},r._ts_query_captures_wasm=function(){return(r._ts_query_captures_wasm=r.asm.ts_query_captures_wasm).apply(null,arguments)},r._iswdigit=function(){return(r._iswdigit=r.asm.iswdigit).apply(null,arguments)},r._iswalpha=function(){return(r._iswalpha=r.asm.iswalpha).apply(null,arguments)},r._iswlower=function(){return(r._iswlower=r.asm.iswlower).apply(null,arguments)},r._towupper=function(){return(r._towupper=r.asm.towupper).apply(null,arguments)},r.___errno_location=function(){return(Be=r.___errno_location=r.asm.__errno_location).apply(null,arguments)}),De=(r._memchr=function(){return(r._memchr=r.asm.memchr).apply(null,arguments)},r._strlen=function(){return(r._strlen=r.asm.strlen).apply(null,arguments)},r.stackSave=function(){return(De=r.stackSave=r.asm.stackSave).apply(null,arguments)}),Ve=r.stackRestore=function(){return(Ve=r.stackRestore=r.asm.stackRestore).apply(null,arguments)},ze=r.stackAlloc=function(){return(ze=r.stackAlloc=r.asm.stackAlloc).apply(null,arguments)},Ue=r._setThrew=function(){return(Ue=r._setThrew=r.asm.setThrew).apply(null,arguments)};function Ge(e){this.name="ExitStatus",this.message="Program terminated with exit("+e+")",this.status=e}r.__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev=function(){return(r.__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev=r.asm._ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev).apply(null,arguments)},r.__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE9__grow_byEmmmmmm=function(){return(r.__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE9__grow_byEmmmmmm=r.asm._ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE9__grow_byEmmmmmm).apply(null,arguments)},r.__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcm=function(){return(r.__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcm=r.asm._ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcm).apply(null,arguments)},r.__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE7reserveEm=function(){return(r.__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE7reserveEm=r.asm._ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE7reserveEm).apply(null,arguments)},r.__ZNKSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE4copyEPcmm=function(){return(r.__ZNKSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE4copyEPcmm=r.asm._ZNKSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE4copyEPcmm).apply(null,arguments)},r.__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE9push_backEc=function(){return(r.__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE9push_backEc=r.asm._ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE9push_backEc).apply(null,arguments)},r.__ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED2Ev=function(){return(r.__ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED2Ev=r.asm._ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED2Ev).apply(null,arguments)},r.__ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE9push_backEw=function(){return(r.__ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE9push_backEw=r.asm._ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE9push_backEw).apply(null,arguments)},r.__Znwm=function(){return(r.__Znwm=r.asm._Znwm).apply(null,arguments)},r.__ZdlPv=function(){return(r.__ZdlPv=r.asm._ZdlPv).apply(null,arguments)},r.__ZNKSt3__220__vector_base_commonILb1EE20__throw_length_errorEv=function(){return(r.__ZNKSt3__220__vector_base_commonILb1EE20__throw_length_errorEv=r.asm._ZNKSt3__220__vector_base_commonILb1EE20__throw_length_errorEv).apply(null,arguments)},r._orig$ts_parser_timeout_micros=function(){return(r._orig$ts_parser_timeout_micros=r.asm.orig$ts_parser_timeout_micros).apply(null,arguments)},r._orig$ts_parser_set_timeout_micros=function(){return(r._orig$ts_parser_set_timeout_micros=r.asm.orig$ts_parser_set_timeout_micros).apply(null,arguments)},r.allocate=function(e,t){var n;return n=1==t?ze(e.length):Le(e.length),e.subarray||e.slice?F.set(e,n):F.set(new Uint8Array(e),n),n},se=function e(){$e||Je(),$e||(se=e)};var We=!1;function Je(e){function t(){$e||($e=!0,r.calledRun=!0,R||(te=!0,_e(Y),_e(Q),r.onRuntimeInitialized&&r.onRuntimeInitialized(),He&&function(e){var t=r._main;if(t){var n=(e=e||[]).length+1,s=ze(4*(n+1));q[s>>2]=J(m);for(var i=1;i<n;i++)q[(s>>2)+i]=J(e[i-1]);q[(s>>2)+n]=0;try{Ke(t(n,s),!0)}catch(e){if(e instanceof Ge)return;if("unwind"==e)return;var o=e;e&&"object"==typeof e&&e.stack&&(o=[e,e.stack]),w("exception thrown: "+o),f(1,e)}}}(e),function(){if(r.postRun)for("function"==typeof r.postRun&&(r.postRun=[r.postRun]);r.postRun.length;)e=r.postRun.shift(),ee.unshift(e);var e;_e(ee)}()))}e=e||h,ne>0||!We&&(function(){if(P.length){if(!y)return ie(),void P.reduce((function(e,t){return e.then((function(){return Ae(t,{loadAsync:!0,global:!0,nodelete:!0,allowUndefined:!0})}))}),Promise.resolve()).then((function(){oe(),ke()}));P.forEach((function(e){Ae(e,{global:!0,nodelete:!0,allowUndefined:!0})})),ke()}else ke()}(),We=!0,ne>0)||(function(){if(r.preRun)for("function"==typeof r.preRun&&(r.preRun=[r.preRun]);r.preRun.length;)e=r.preRun.shift(),X.unshift(e);var e;_e(X)}(),ne>0||(r.setStatus?(r.setStatus("Running..."),setTimeout((function(){setTimeout((function(){r.setStatus("")}),1),t()}),1)):t()))}function Ke(e,t){t&&be()&&0===e||(be()||(r.onExit&&r.onExit(e),R=!0),f(e,new Ge(e)))}if(r.run=Je,r.preInit)for("function"==typeof r.preInit&&(r.preInit=[r.preInit]);r.preInit.length>0;)r.preInit.pop()();var He=!0;r.noInitialRun&&(He=!1),Je();const Ze=r,Xe={},Ye=4,Qe=5*Ye,et=2*Ye,tt=2*Ye+2*et,nt={row:0,column:0},rt=/[\w-.]*/g,st=/^_?tree_sitter_\w+/;var it,ot,at,ct,ut;class lt{static init(){at=Ze._ts_init(),it=M(at,"i32"),ot=M(at+Ye,"i32")}initialize(){Ze._ts_parser_new_wasm(),this[0]=M(at,"i32"),this[1]=M(at+Ye,"i32")}delete(){Ze._ts_parser_delete(this[0]),Ze._free(this[1]),this[0]=0,this[1]=0}setLanguage(e){let t;if(e){if(e.constructor!==ft)throw new Error("Argument must be a Language");{t=e[0];const n=Ze._ts_language_version(t);if(n<ot||it<n)throw new Error(`Incompatible language version ${n}. Compatibility range ${ot} through ${it}.`)}}else t=0,e=null;return this.language=e,Ze._ts_parser_set_language(this[0],t),this}getLanguage(){return this.language}parse(e,t,n){if("string"==typeof e)ct=(t,n,r)=>e.slice(t,r);else{if("function"!=typeof e)throw new Error("Argument must be a string or a function");ct=e}this.logCallback?(ut=this.logCallback,Ze._ts_parser_enable_logger_wasm(this[0],1)):(ut=null,Ze._ts_parser_enable_logger_wasm(this[0],0));let r=0,s=0;if(n&&n.includedRanges){r=n.includedRanges.length;let e=s=Ze._calloc(r,tt);for(let t=0;t<r;t++)Ot(e,n.includedRanges[t]),e+=tt}const i=Ze._ts_parser_parse_wasm(this[0],this[1],t?t[0]:0,s,r);if(!i)throw ct=null,ut=null,new Error("Parsing failed");const o=new pt(Xe,i,this.language,ct);return ct=null,ut=null,o}reset(){Ze._ts_parser_reset(this[0])}setTimeoutMicros(e){Ze._ts_parser_set_timeout_micros(this[0],e)}getTimeoutMicros(){return Ze._ts_parser_timeout_micros(this[0])}setLogger(e){if(e){if("function"!=typeof e)throw new Error("Logger callback must be a function")}else e=null;return this.logCallback=e,this}getLogger(){return this.logCallback}}class pt{constructor(e,t,n,r){gt(e),this[0]=t,this.language=n,this.textCallback=r}copy(){const e=Ze._ts_tree_copy(this[0]);return new pt(Xe,e,this.language,this.textCallback)}delete(){Ze._ts_tree_delete(this[0]),this[0]=0}edit(e){!function(e){let t=at;jt(t,e.startPosition),jt(t+=et,e.oldEndPosition),jt(t+=et,e.newEndPosition),N(t+=et,e.startIndex,"i32"),N(t+=Ye,e.oldEndIndex,"i32"),N(t+=Ye,e.newEndIndex,"i32"),t+=Ye}(e),Ze._ts_tree_edit_wasm(this[0])}get rootNode(){return Ze._ts_tree_root_node_wasm(this[0]),wt(this)}getLanguage(){return this.language}walk(){return this.rootNode.walk()}getChangedRanges(e){if(e.constructor!==pt)throw new TypeError("Argument must be a Tree");Ze._ts_tree_get_changed_ranges_wasm(this[0],e[0]);const t=M(at,"i32"),n=M(at+Ye,"i32"),r=new Array(t);if(t>0){let e=n;for(let n=0;n<t;n++)r[n]=Pt(e),e+=tt;Ze._free(n)}return r}}class ht{constructor(e,t){gt(e),this.tree=t}get typeId(){return vt(this),Ze._ts_node_symbol_wasm(this.tree[0])}get type(){return this.tree.language.types[this.typeId]||"ERROR"}get endPosition(){return vt(this),Ze._ts_node_end_point_wasm(this.tree[0]),St(at)}get endIndex(){return vt(this),Ze._ts_node_end_index_wasm(this.tree[0])}get text(){return _t(this.tree,this.startIndex,this.endIndex)}isNamed(){return vt(this),1===Ze._ts_node_is_named_wasm(this.tree[0])}hasError(){return vt(this),1===Ze._ts_node_has_error_wasm(this.tree[0])}hasChanges(){return vt(this),1===Ze._ts_node_has_changes_wasm(this.tree[0])}isMissing(){return vt(this),1===Ze._ts_node_is_missing_wasm(this.tree[0])}equals(e){return this.id===e.id}child(e){return vt(this),Ze._ts_node_child_wasm(this.tree[0],e),wt(this.tree)}namedChild(e){return vt(this),Ze._ts_node_named_child_wasm(this.tree[0],e),wt(this.tree)}childForFieldId(e){return vt(this),Ze._ts_node_child_by_field_id_wasm(this.tree[0],e),wt(this.tree)}childForFieldName(e){const t=this.tree.language.fields.indexOf(e);if(-1!==t)return this.childForFieldId(t)}get childCount(){return vt(this),Ze._ts_node_child_count_wasm(this.tree[0])}get namedChildCount(){return vt(this),Ze._ts_node_named_child_count_wasm(this.tree[0])}get firstChild(){return this.child(0)}get firstNamedChild(){return this.namedChild(0)}get lastChild(){return this.child(this.childCount-1)}get lastNamedChild(){return this.namedChild(this.namedChildCount-1)}get children(){if(!this._children){vt(this),Ze._ts_node_children_wasm(this.tree[0]);const e=M(at,"i32"),t=M(at+Ye,"i32");if(this._children=new Array(e),e>0){let n=t;for(let t=0;t<e;t++)this._children[t]=wt(this.tree,n),n+=Qe;Ze._free(t)}}return this._children}get namedChildren(){if(!this._namedChildren){vt(this),Ze._ts_node_named_children_wasm(this.tree[0]);const e=M(at,"i32"),t=M(at+Ye,"i32");if(this._namedChildren=new Array(e),e>0){let n=t;for(let t=0;t<e;t++)this._namedChildren[t]=wt(this.tree,n),n+=Qe;Ze._free(t)}}return this._namedChildren}descendantsOfType(e,t,n){Array.isArray(e)||(e=[e]),t||(t=nt),n||(n=nt);const r=[],s=this.tree.language.types;for(let t=0,n=s.length;t<n;t++)e.includes(s[t])&&r.push(t);const i=Ze._malloc(Ye*r.length);for(let e=0,t=r.length;e<t;e++)N(i+e*Ye,r[e],"i32");vt(this),Ze._ts_node_descendants_of_type_wasm(this.tree[0],i,r.length,t.row,t.column,n.row,n.column);const o=M(at,"i32"),a=M(at+Ye,"i32"),c=new Array(o);if(o>0){let e=a;for(let t=0;t<o;t++)c[t]=wt(this.tree,e),e+=Qe}return Ze._free(a),Ze._free(i),c}get nextSibling(){return vt(this),Ze._ts_node_next_sibling_wasm(this.tree[0]),wt(this.tree)}get previousSibling(){return vt(this),Ze._ts_node_prev_sibling_wasm(this.tree[0]),wt(this.tree)}get nextNamedSibling(){return vt(this),Ze._ts_node_next_named_sibling_wasm(this.tree[0]),wt(this.tree)}get previousNamedSibling(){return vt(this),Ze._ts_node_prev_named_sibling_wasm(this.tree[0]),wt(this.tree)}get parent(){return vt(this),Ze._ts_node_parent_wasm(this.tree[0]),wt(this.tree)}descendantForIndex(e,t=e){if("number"!=typeof e||"number"!=typeof t)throw new Error("Arguments must be numbers");vt(this);let n=at+Qe;return N(n,e,"i32"),N(n+Ye,t,"i32"),Ze._ts_node_descendant_for_index_wasm(this.tree[0]),wt(this.tree)}namedDescendantForIndex(e,t=e){if("number"!=typeof e||"number"!=typeof t)throw new Error("Arguments must be numbers");vt(this);let n=at+Qe;return N(n,e,"i32"),N(n+Ye,t,"i32"),Ze._ts_node_named_descendant_for_index_wasm(this.tree[0]),wt(this.tree)}descendantForPosition(e,t=e){if(!bt(e)||!bt(t))throw new Error("Arguments must be {row, column} objects");vt(this);let n=at+Qe;return jt(n,e),jt(n+et,t),Ze._ts_node_descendant_for_position_wasm(this.tree[0]),wt(this.tree)}namedDescendantForPosition(e,t=e){if(!bt(e)||!bt(t))throw new Error("Arguments must be {row, column} objects");vt(this);let n=at+Qe;return jt(n,e),jt(n+et,t),Ze._ts_node_named_descendant_for_position_wasm(this.tree[0]),wt(this.tree)}walk(){return vt(this),Ze._ts_tree_cursor_new_wasm(this.tree[0]),new mt(Xe,this.tree)}toString(){vt(this);const e=Ze._ts_node_to_string_wasm(this.tree[0]),t=function(e){for(var t="";;){var n=F[e++>>0];if(!n)return t;t+=String.fromCharCode(n)}}(e);return Ze._free(e),t}}class mt{constructor(e,t){gt(e),this.tree=t,xt(this)}delete(){Et(this),Ze._ts_tree_cursor_delete_wasm(this.tree[0]),this[0]=this[1]=this[2]=0}reset(e){vt(e),Et(this,at+Qe),Ze._ts_tree_cursor_reset_wasm(this.tree[0]),xt(this)}get nodeType(){return this.tree.language.types[this.nodeTypeId]||"ERROR"}get nodeTypeId(){return Et(this),Ze._ts_tree_cursor_current_node_type_id_wasm(this.tree[0])}get nodeId(){return Et(this),Ze._ts_tree_cursor_current_node_id_wasm(this.tree[0])}get nodeIsNamed(){return Et(this),1===Ze._ts_tree_cursor_current_node_is_named_wasm(this.tree[0])}get nodeIsMissing(){return Et(this),1===Ze._ts_tree_cursor_current_node_is_missing_wasm(this.tree[0])}get nodeText(){Et(this);const e=Ze._ts_tree_cursor_start_index_wasm(this.tree[0]),t=Ze._ts_tree_cursor_end_index_wasm(this.tree[0]);return _t(this.tree,e,t)}get startPosition(){return Et(this),Ze._ts_tree_cursor_start_position_wasm(this.tree[0]),St(at)}get endPosition(){return Et(this),Ze._ts_tree_cursor_end_position_wasm(this.tree[0]),St(at)}get startIndex(){return Et(this),Ze._ts_tree_cursor_start_index_wasm(this.tree[0])}get endIndex(){return Et(this),Ze._ts_tree_cursor_end_index_wasm(this.tree[0])}currentNode(){return Et(this),Ze._ts_tree_cursor_current_node_wasm(this.tree[0]),wt(this.tree)}currentFieldId(){return Et(this),Ze._ts_tree_cursor_current_field_id_wasm(this.tree[0])}currentFieldName(){return this.tree.language.fields[this.currentFieldId()]}gotoFirstChild(){Et(this);const e=Ze._ts_tree_cursor_goto_first_child_wasm(this.tree[0]);return xt(this),1===e}gotoNextSibling(){Et(this);const e=Ze._ts_tree_cursor_goto_next_sibling_wasm(this.tree[0]);return xt(this),1===e}gotoParent(){Et(this);const e=Ze._ts_tree_cursor_goto_parent_wasm(this.tree[0]);return xt(this),1===e}}class ft{constructor(e,t){gt(e),this[0]=t,this.types=new Array(Ze._ts_language_symbol_count(this[0]));for(let e=0,t=this.types.length;e<t;e++)Ze._ts_language_symbol_type(this[0],e)<2&&(this.types[e]=z(Ze._ts_language_symbol_name(this[0],e)));this.fields=new Array(Ze._ts_language_field_count(this[0])+1);for(let e=0,t=this.fields.length;e<t;e++){const t=Ze._ts_language_field_name_for_id(this[0],e);this.fields[e]=0!==t?z(t):null}}get version(){return Ze._ts_language_version(this[0])}get fieldCount(){return this.fields.length-1}fieldIdForName(e){const t=this.fields.indexOf(e);return-1!==t?t:null}fieldNameForId(e){return this.fields[e]||null}idForNodeType(e,t){const n=W(e),r=Ze._malloc(n+1);G(e,r,n+1);const s=Ze._ts_language_symbol_for_name(this[0],r,n,t);return Ze._free(r),s||null}get nodeTypeCount(){return Ze._ts_language_symbol_count(this[0])}nodeTypeForId(e){const t=Ze._ts_language_symbol_name(this[0],e);return t?z(t):null}nodeTypeIsNamed(e){return!!Ze._ts_language_type_is_named_wasm(this[0],e)}nodeTypeIsVisible(e){return!!Ze._ts_language_type_is_visible_wasm(this[0],e)}query(e){const t=W(e),n=Ze._malloc(t+1);G(e,n,t+1);const r=Ze._ts_query_new(this[0],n,t,at,at+Ye);if(!r){const t=M(at+Ye,"i32"),r=z(n,M(at,"i32")).length,s=e.substr(r,100).split("\n")[0];let i,o=s.match(rt)[0];switch(t){case 2:i=new RangeError(`Bad node name '${o}'`);break;case 3:i=new RangeError(`Bad field name '${o}'`);break;case 4:i=new RangeError(`Bad capture name @${o}`);break;case 5:i=new TypeError(`Bad pattern structure at offset ${r}: '${s}'...`),o="";break;default:i=new SyntaxError(`Bad syntax at offset ${r}: '${s}'...`),o=""}throw i.index=r,i.length=o.length,Ze._free(n),i}const s=Ze._ts_query_string_count(r),i=Ze._ts_query_capture_count(r),o=Ze._ts_query_pattern_count(r),a=new Array(i),c=new Array(s);for(let e=0;e<i;e++){const t=Ze._ts_query_capture_name_for_id(r,e,at),n=M(at,"i32");a[e]=z(t,n)}for(let e=0;e<s;e++){const t=Ze._ts_query_string_value_for_id(r,e,at),n=M(at,"i32");c[e]=z(t,n)}const u=new Array(o),l=new Array(o),p=new Array(o),h=new Array(o),m=new Array(o);for(let e=0;e<o;e++){const t=Ze._ts_query_predicates_for_pattern(r,e,at),n=M(at,"i32");h[e]=[],m[e]=[];const s=[];let i=t;for(let t=0;t<n;t++){const t=M(i,"i32"),n=M(i+=Ye,"i32");if(i+=Ye,1===t)s.push({type:"capture",name:a[n]});else if(2===t)s.push({type:"string",value:c[n]});else if(s.length>0){if("string"!==s[0].type)throw new Error("Predicates must begin with a literal value");const t=s[0].value;let n=!0;switch(t){case"not-eq?":n=!1;case"eq?":if(3!==s.length)throw new Error("Wrong number of arguments to `#eq?` predicate. Expected 2, got "+(s.length-1));if("capture"!==s[1].type)throw new Error(`First argument of \`#eq?\` predicate must be a capture. Got "${s[1].value}"`);if("capture"===s[2].type){const t=s[1].name,r=s[2].name;m[e].push((function(e){let s,i;for(const n of e)n.name===t&&(s=n.node),n.name===r&&(i=n.node);return void 0===s||void 0===i||s.text===i.text===n}))}else{const t=s[1].name,r=s[2].value;m[e].push((function(e){for(const s of e)if(s.name===t)return s.node.text===r===n;return!0}))}break;case"not-match?":n=!1;case"match?":if(3!==s.length)throw new Error(`Wrong number of arguments to \`#match?\` predicate. Expected 2, got ${s.length-1}.`);if("capture"!==s[1].type)throw new Error(`First argument of \`#match?\` predicate must be a capture. Got "${s[1].value}".`);if("string"!==s[2].type)throw new Error(`Second argument of \`#match?\` predicate must be a string. Got @${s[2].value}.`);const r=s[1].name,i=new RegExp(s[2].value);m[e].push((function(e){for(const t of e)if(t.name===r)return i.test(t.node.text)===n;return!0}));break;case"set!":if(s.length<2||s.length>3)throw new Error(`Wrong number of arguments to \`#set!\` predicate. Expected 1 or 2. Got ${s.length-1}.`);if(s.some((e=>"string"!==e.type)))throw new Error('Arguments to `#set!` predicate must be a strings.".');u[e]||(u[e]={}),u[e][s[1].value]=s[2]?s[2].value:null;break;case"is?":case"is-not?":if(s.length<2||s.length>3)throw new Error(`Wrong number of arguments to \`#${t}\` predicate. Expected 1 or 2. Got ${s.length-1}.`);if(s.some((e=>"string"!==e.type)))throw new Error(`Arguments to \`#${t}\` predicate must be a strings.".`);const o="is?"===t?l:p;o[e]||(o[e]={}),o[e][s[1].value]=s[2]?s[2].value:null;break;default:h[e].push({operator:t,operands:s.slice(1)})}s.length=0}}Object.freeze(u[e]),Object.freeze(l[e]),Object.freeze(p[e])}return Ze._free(n),new dt(Xe,r,a,m,h,Object.freeze(u),Object.freeze(l),Object.freeze(p))}static load(e){let t;if(e instanceof Uint8Array)t=Promise.resolve(e);else{const r=e;if("undefined"!=typeof process&&process.versions&&process.versions.node){const e=n(5530);t=Promise.resolve(e.readFileSync(r))}else t=fetch(r).then((e=>e.arrayBuffer().then((t=>{if(e.ok)return new Uint8Array(t);{const n=new TextDecoder("utf-8").decode(t);throw new Error(`Language.load failed with status ${e.status}.\n\n${n}`)}}))))}const r="function"==typeof loadSideModule?loadSideModule:Pe;return t.then((e=>r(e,{loadAsync:!0}))).then((e=>{const t=Object.keys(e),n=t.find((e=>st.test(e)&&!e.includes("external_scanner_")));n||console.log(`Couldn't find language function in WASM file. Symbols:\n${JSON.stringify(t,null,2)}`);const r=e[n]();return new ft(Xe,r)}))}}class dt{constructor(e,t,n,r,s,i,o,a){gt(e),this[0]=t,this.captureNames=n,this.textPredicates=r,this.predicates=s,this.setProperties=i,this.assertedProperties=o,this.refutedProperties=a,this.exceededMatchLimit=!1}delete(){Ze._ts_query_delete(this[0]),this[0]=0}matches(e,t,n,r){t||(t=nt),n||(n=nt),r||(r={});let s=r.matchLimit;if(void 0===s)s=0;else if("number"!=typeof s)throw new Error("Arguments must be numbers");vt(e),Ze._ts_query_matches_wasm(this[0],e.tree[0],t.row,t.column,n.row,n.column,s);const i=M(at,"i32"),o=M(at+Ye,"i32"),a=M(at+2*Ye,"i32"),c=new Array(i);this.exceededMatchLimit=!!a;let u=0,l=o;for(let t=0;t<i;t++){const n=M(l,"i32"),r=M(l+=Ye,"i32");l+=Ye;const s=new Array(r);if(l=yt(this,e.tree,l,s),this.textPredicates[n].every((e=>e(s)))){c[u++]={pattern:n,captures:s};const e=this.setProperties[n];e&&(c[t].setProperties=e);const r=this.assertedProperties[n];r&&(c[t].assertedProperties=r);const i=this.refutedProperties[n];i&&(c[t].refutedProperties=i)}}return c.length=u,Ze._free(o),c}captures(e,t,n,r){t||(t=nt),n||(n=nt),r||(r={});let s=r.matchLimit;if(void 0===s)s=0;else if("number"!=typeof s)throw new Error("Arguments must be numbers");vt(e),Ze._ts_query_captures_wasm(this[0],e.tree[0],t.row,t.column,n.row,n.column,s);const i=M(at,"i32"),o=M(at+Ye,"i32"),a=M(at+2*Ye,"i32"),c=[];this.exceededMatchLimit=!!a;const u=[];let l=o;for(let t=0;t<i;t++){const t=M(l,"i32"),n=M(l+=Ye,"i32"),r=M(l+=Ye,"i32");if(l+=Ye,u.length=n,l=yt(this,e.tree,l,u),this.textPredicates[t].every((e=>e(u)))){const e=u[r],n=this.setProperties[t];n&&(e.setProperties=n);const s=this.assertedProperties[t];s&&(e.assertedProperties=s);const i=this.refutedProperties[t];i&&(e.refutedProperties=i),c.push(e)}}return Ze._free(o),c}predicatesForPattern(e){return this.predicates[e]}didExceedMatchLimit(){return this.exceededMatchLimit}}function _t(e,t,n){const r=n-t;let s=e.textCallback(t,null,n);for(t+=s.length;t<n;){const r=e.textCallback(t,null,n);if(!(r&&r.length>0))break;t+=r.length,s+=r}return t>n&&(s=s.slice(0,r)),s}function yt(e,t,n,r){for(let s=0,i=r.length;s<i;s++){const i=M(n,"i32"),o=wt(t,n+=Ye);n+=Qe,r[s]={name:e.captureNames[i],node:o}}return n}function gt(e){if(e!==Xe)throw new Error("Illegal constructor")}function bt(e){return e&&"number"==typeof e.row&&"number"==typeof e.column}function vt(e){let t=at;N(t,e.id,"i32"),N(t+=Ye,e.startIndex,"i32"),N(t+=Ye,e.startPosition.row,"i32"),N(t+=Ye,e.startPosition.column,"i32"),N(t+=Ye,e[0],"i32")}function wt(e,t=at){const n=M(t,"i32");if(0===n)return null;const r=M(t+=Ye,"i32"),s=M(t+=Ye,"i32"),i=M(t+=Ye,"i32"),o=M(t+=Ye,"i32"),a=new ht(Xe,e);return a.id=n,a.startIndex=r,a.startPosition={row:s,column:i},a[0]=o,a}function Et(e,t=at){N(t+0*Ye,e[0],"i32"),N(t+1*Ye,e[1],"i32"),N(t+2*Ye,e[2],"i32")}function xt(e){e[0]=M(at+0*Ye,"i32"),e[1]=M(at+1*Ye,"i32"),e[2]=M(at+2*Ye,"i32")}function jt(e,t){N(e,t.row,"i32"),N(e+Ye,t.column,"i32")}function St(e){return{row:M(e,"i32"),column:M(e+Ye,"i32")}}function Ot(e,t){jt(e,t.startPosition),jt(e+=et,t.endPosition),N(e+=et,t.startIndex,"i32"),N(e+=Ye,t.endIndex,"i32"),e+=Ye}function Pt(e){const t={};return t.startPosition=St(e),e+=et,t.endPosition=St(e),e+=et,t.startIndex=M(e,"i32"),e+=Ye,t.endIndex=M(e,"i32"),t}for(const e of Object.getOwnPropertyNames(lt.prototype))Object.defineProperty(i.prototype,e,{value:lt.prototype[e],enumerable:!1,writable:!1});i.Language=ft,r.onRuntimeInitialized=()=>{lt.init(),t()}})))}}return i}();e.exports=s},5530:()=>{},6287:()=>{},1427:(e,t,n)=>{e.exports=n(1125)},1681:(e,t,n)=>{"use strict";var r=n(7497);e.exports=r},3258:(e,t,n)=>{"use strict";n(2777),n(733),n(1835),n(6449),n(9383);var r=n(8422);e.exports=r.AggregateError},1125:(e,t,n)=>{"use strict";e.exports=n(3985)},3985:(e,t,n)=>{"use strict";n(3584);var r=n(1681);e.exports=r},5375:(e,t,n)=>{"use strict";var r=n(8563),s=n(5787),i=TypeError;e.exports=function(e){if(r(e))return e;throw new i(s(e)+" is not a function")}},692:(e,t,n)=>{"use strict";var r=n(8563),s=String,i=TypeError;e.exports=function(e){if("object"==typeof e||r(e))return e;throw new i("Can't set "+s(e)+" as a prototype")}},7171:e=>{"use strict";e.exports=function(){}},457:(e,t,n)=>{"use strict";var r=n(8257),s=String,i=TypeError;e.exports=function(e){if(r(e))return e;throw new i(s(e)+" is not an object")}},3346:(e,t,n)=>{"use strict";var r=n(4312),s=n(1940),i=n(8960),o=function(e){return function(t,n,o){var a,c=r(t),u=i(c),l=s(o,u);if(e&&n!=n){for(;u>l;)if((a=c[l++])!=a)return!0}else for(;u>l;l++)if((e||l in c)&&c[l]===n)return e||l||0;return!e&&-1}};e.exports={includes:o(!0),indexOf:o(!1)}},88:(e,t,n)=>{"use strict";var r=n(8814),s=r({}.toString),i=r("".slice);e.exports=function(e){return i(s(e),8,-1)}},2327:(e,t,n)=>{"use strict";var r=n(6694),s=n(8563),i=n(88),o=n(379)("toStringTag"),a=Object,c="Arguments"===i(function(){return arguments}());e.exports=r?i:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=a(e),o))?n:c?i(t):"Object"===(r=i(t))&&s(t.callee)?"Arguments":r}},1318:(e,t,n)=>{"use strict";var r=n(3941),s=n(5956),i=n(3335),o=n(4376);e.exports=function(e,t,n){for(var a=s(t),c=o.f,u=i.f,l=0;l<a.length;l++){var p=a[l];r(e,p)||n&&r(n,p)||c(e,p,u(t,p))}}},8536:(e,t,n)=>{"use strict";var r=n(2998);e.exports=!r((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},9497:e=>{"use strict";e.exports=function(e,t){return{value:e,done:t}}},1370:(e,t,n)=>{"use strict";var r=n(1815),s=n(4376),i=n(7971);e.exports=r?function(e,t,n){return s.f(e,t,i(1,n))}:function(e,t,n){return e[t]=n,e}},7971:e=>{"use strict";e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},4500:(e,t,n)=>{"use strict";var r=n(1370);e.exports=function(e,t,n,s){return s&&s.enumerable?e[t]=n:r(e,t,n),e}},8194:(e,t,n)=>{"use strict";var r=n(8426),s=Object.defineProperty;e.exports=function(e,t){try{s(r,e,{value:t,configurable:!0,writable:!0})}catch(n){r[e]=t}return t}},1815:(e,t,n)=>{"use strict";var r=n(2998);e.exports=!r((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]}))},5361:e=>{"use strict";var t="object"==typeof document&&document.all,n=void 0===t&&void 0!==t;e.exports={all:t,IS_HTMLDDA:n}},6327:(e,t,n)=>{"use strict";var r=n(8426),s=n(8257),i=r.document,o=s(i)&&s(i.createElement);e.exports=function(e){return o?i.createElement(e):{}}},8987:e=>{"use strict";e.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},9954:e=>{"use strict";e.exports="undefined"!=typeof navigator&&String(navigator.userAgent)||""},5057:(e,t,n)=>{"use strict";var r,s,i=n(8426),o=n(9954),a=i.process,c=i.Deno,u=a&&a.versions||c&&c.version,l=u&&u.v8;l&&(s=(r=l.split("."))[0]>0&&r[0]<4?1:+(r[0]+r[1])),!s&&o&&(!(r=o.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=o.match(/Chrome\/(\d+)/))&&(s=+r[1]),e.exports=s},8573:e=>{"use strict";e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},4456:(e,t,n)=>{"use strict";var r=n(8814),s=Error,i=r("".replace),o=String(new s("zxcasd").stack),a=/\n\s*at [^:]*:[^\n]*/,c=a.test(o);e.exports=function(e,t){if(c&&"string"==typeof e&&!s.prepareStackTrace)for(;t--;)e=i(e,a,"");return e}},4151:(e,t,n)=>{"use strict";var r=n(1370),s=n(4456),i=n(5111),o=Error.captureStackTrace;e.exports=function(e,t,n,a){i&&(o?o(e,t):r(e,"stack",s(n,a)))}},5111:(e,t,n)=>{"use strict";var r=n(2998),s=n(7971);e.exports=!r((function(){var e=new Error("a");return!("stack"in e)||(Object.defineProperty(e,"stack",s(1,7)),7!==e.stack)}))},9011:(e,t,n)=>{"use strict";var r=n(8426),s=n(4877),i=n(9730),o=n(8563),a=n(3335).f,c=n(8722),u=n(8422),l=n(1207),p=n(1370),h=n(3941),m=function(e){var t=function(n,r,i){if(this instanceof t){switch(arguments.length){case 0:return new e;case 1:return new e(n);case 2:return new e(n,r)}return new e(n,r,i)}return s(e,this,arguments)};return t.prototype=e.prototype,t};e.exports=function(e,t){var n,s,f,d,_,y,g,b,v,w=e.target,E=e.global,x=e.stat,j=e.proto,S=E?r:x?r[w]:(r[w]||{}).prototype,O=E?u:u[w]||p(u,w,{})[w],P=O.prototype;for(d in t)s=!(n=c(E?d:w+(x?".":"#")+d,e.forced))&&S&&h(S,d),y=O[d],s&&(g=e.dontCallGetSet?(v=a(S,d))&&v.value:S[d]),_=s&&g?g:t[d],s&&typeof y==typeof _||(b=e.bind&&s?l(_,r):e.wrap&&s?m(_):j&&o(_)?i(_):_,(e.sham||_&&_.sham||y&&y.sham)&&p(b,"sham",!0),p(O,d,b),j&&(h(u,f=w+"Prototype")||p(u,f,{}),p(u[f],d,_),e.real&&P&&(n||!P[d])&&p(P,d,_)))}},2998:e=>{"use strict";e.exports=function(e){try{return!!e()}catch(e){return!0}}},4877:(e,t,n)=>{"use strict";var r=n(5083),s=Function.prototype,i=s.apply,o=s.call;e.exports="object"==typeof Reflect&&Reflect.apply||(r?o.bind(i):function(){return o.apply(i,arguments)})},1207:(e,t,n)=>{"use strict";var r=n(9730),s=n(5375),i=n(5083),o=r(r.bind);e.exports=function(e,t){return s(e),void 0===t?e:i?o(e,t):function(){return e.apply(t,arguments)}}},5083:(e,t,n)=>{"use strict";var r=n(2998);e.exports=!r((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))},200:(e,t,n)=>{"use strict";var r=n(5083),s=Function.prototype.call;e.exports=r?s.bind(s):function(){return s.apply(s,arguments)}},5339:(e,t,n)=>{"use strict";var r=n(1815),s=n(3941),i=Function.prototype,o=r&&Object.getOwnPropertyDescriptor,a=s(i,"name"),c=a&&"something"===function(){}.name,u=a&&(!r||r&&o(i,"name").configurable);e.exports={EXISTS:a,PROPER:c,CONFIGURABLE:u}},2799:(e,t,n)=>{"use strict";var r=n(8814),s=n(5375);e.exports=function(e,t,n){try{return r(s(Object.getOwnPropertyDescriptor(e,t)[n]))}catch(e){}}},9730:(e,t,n)=>{"use strict";var r=n(88),s=n(8814);e.exports=function(e){if("Function"===r(e))return s(e)}},8814:(e,t,n)=>{"use strict";var r=n(5083),s=Function.prototype,i=s.call,o=r&&s.bind.bind(i,i);e.exports=r?o:function(e){return function(){return i.apply(e,arguments)}}},6589:(e,t,n)=>{"use strict";var r=n(8422),s=n(8426),i=n(8563),o=function(e){return i(e)?e:void 0};e.exports=function(e,t){return arguments.length<2?o(r[e])||o(s[e]):r[e]&&r[e][t]||s[e]&&s[e][t]}},2630:(e,t,n)=>{"use strict";var r=n(2327),s=n(2833),i=n(5157),o=n(2444),a=n(379)("iterator");e.exports=function(e){if(!i(e))return s(e,a)||s(e,"@@iterator")||o[r(e)]}},1291:(e,t,n)=>{"use strict";var r=n(200),s=n(5375),i=n(457),o=n(5787),a=n(2630),c=TypeError;e.exports=function(e,t){var n=arguments.length<2?a(e):t;if(s(n))return i(r(n,e));throw new c(o(e)+" is not iterable")}},2833:(e,t,n)=>{"use strict";var r=n(5375),s=n(5157);e.exports=function(e,t){var n=e[t];return s(n)?void 0:r(n)}},8426:function(e,t,n){"use strict";var r=function(e){return e&&e.Math===Math&&e};e.exports=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof n.g&&n.g)||r("object"==typeof this&&this)||function(){return this}()||Function("return this")()},3941:(e,t,n)=>{"use strict";var r=n(8814),s=n(8389),i=r({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return i(s(e),t)}},3006:e=>{"use strict";e.exports={}},4812:(e,t,n)=>{"use strict";var r=n(6589);e.exports=r("document","documentElement")},4632:(e,t,n)=>{"use strict";var r=n(1815),s=n(2998),i=n(6327);e.exports=!r&&!s((function(){return 7!==Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},6541:(e,t,n)=>{"use strict";var r=n(8814),s=n(2998),i=n(88),o=Object,a=r("".split);e.exports=s((function(){return!o("z").propertyIsEnumerable(0)}))?function(e){return"String"===i(e)?a(e,""):o(e)}:o},9330:(e,t,n)=>{"use strict";var r=n(8563),s=n(8257),i=n(8597);e.exports=function(e,t,n){var o,a;return i&&r(o=t.constructor)&&o!==n&&s(a=o.prototype)&&a!==n.prototype&&i(e,a),e}},1609:(e,t,n)=>{"use strict";var r=n(8257),s=n(1370);e.exports=function(e,t){r(t)&&"cause"in t&&s(e,"cause",t.cause)}},8551:(e,t,n)=>{"use strict";var r,s,i,o=n(8268),a=n(8426),c=n(8257),u=n(1370),l=n(3941),p=n(6028),h=n(5430),m=n(3006),f="Object already initialized",d=a.TypeError,_=a.WeakMap;if(o||p.state){var y=p.state||(p.state=new _);y.get=y.get,y.has=y.has,y.set=y.set,r=function(e,t){if(y.has(e))throw new d(f);return t.facade=e,y.set(e,t),t},s=function(e){return y.get(e)||{}},i=function(e){return y.has(e)}}else{var g=h("state");m[g]=!0,r=function(e,t){if(l(e,g))throw new d(f);return t.facade=e,u(e,g,t),t},s=function(e){return l(e,g)?e[g]:{}},i=function(e){return l(e,g)}}e.exports={set:r,get:s,has:i,enforce:function(e){return i(e)?s(e):r(e,{})},getterFor:function(e){return function(t){var n;if(!c(t)||(n=s(t)).type!==e)throw new d("Incompatible receiver, "+e+" required");return n}}}},2576:(e,t,n)=>{"use strict";var r=n(379),s=n(2444),i=r("iterator"),o=Array.prototype;e.exports=function(e){return void 0!==e&&(s.Array===e||o[i]===e)}},8563:(e,t,n)=>{"use strict";var r=n(5361),s=r.all;e.exports=r.IS_HTMLDDA?function(e){return"function"==typeof e||e===s}:function(e){return"function"==typeof e}},8722:(e,t,n)=>{"use strict";var r=n(2998),s=n(8563),i=/#|\.prototype\./,o=function(e,t){var n=c[a(e)];return n===l||n!==u&&(s(t)?r(t):!!t)},a=o.normalize=function(e){return String(e).replace(i,".").toLowerCase()},c=o.data={},u=o.NATIVE="N",l=o.POLYFILL="P";e.exports=o},5157:e=>{"use strict";e.exports=function(e){return null==e}},8257:(e,t,n)=>{"use strict";var r=n(8563),s=n(5361),i=s.all;e.exports=s.IS_HTMLDDA?function(e){return"object"==typeof e?null!==e:r(e)||e===i}:function(e){return"object"==typeof e?null!==e:r(e)}},7736:e=>{"use strict";e.exports=!0},6753:(e,t,n)=>{"use strict";var r=n(6589),s=n(8563),i=n(7367),o=n(9378),a=Object;e.exports=o?function(e){return"symbol"==typeof e}:function(e){var t=r("Symbol");return s(t)&&i(t.prototype,a(e))}},3490:(e,t,n)=>{"use strict";var r=n(1207),s=n(200),i=n(457),o=n(5787),a=n(2576),c=n(8960),u=n(7367),l=n(1291),p=n(2630),h=n(6889),m=TypeError,f=function(e,t){this.stopped=e,this.result=t},d=f.prototype;e.exports=function(e,t,n){var _,y,g,b,v,w,E,x=n&&n.that,j=!(!n||!n.AS_ENTRIES),S=!(!n||!n.IS_RECORD),O=!(!n||!n.IS_ITERATOR),P=!(!n||!n.INTERRUPTED),A=r(t,x),k=function(e){return _&&h(_,"normal",e),new f(!0,e)},N=function(e){return j?(i(e),P?A(e[0],e[1],k):A(e[0],e[1])):P?A(e,k):A(e)};if(S)_=e.iterator;else if(O)_=e;else{if(!(y=p(e)))throw new m(o(e)+" is not iterable");if(a(y)){for(g=0,b=c(e);b>g;g++)if((v=N(e[g]))&&u(d,v))return v;return new f(!1)}_=l(e,y)}for(w=S?e.next:_.next;!(E=s(w,_)).done;){try{v=N(E.value)}catch(e){h(_,"throw",e)}if("object"==typeof v&&v&&u(d,v))return v}return new f(!1)}},6889:(e,t,n)=>{"use strict";var r=n(200),s=n(457),i=n(2833);e.exports=function(e,t,n){var o,a;s(e);try{if(!(o=i(e,"return"))){if("throw"===t)throw n;return n}o=r(o,e)}catch(e){a=!0,o=e}if("throw"===t)throw n;if(a)throw o;return s(o),n}},7323:(e,t,n)=>{"use strict";var r=n(374).IteratorPrototype,s=n(1504),i=n(7971),o=n(9468),a=n(2444),c=function(){return this};e.exports=function(e,t,n,u){var l=t+" Iterator";return e.prototype=s(r,{next:i(+!u,n)}),o(e,l,!1,!0),a[l]=c,e}},5994:(e,t,n)=>{"use strict";var r=n(9011),s=n(200),i=n(7736),o=n(5339),a=n(8563),c=n(7323),u=n(9814),l=n(8597),p=n(9468),h=n(1370),m=n(4500),f=n(379),d=n(2444),_=n(374),y=o.PROPER,g=o.CONFIGURABLE,b=_.IteratorPrototype,v=_.BUGGY_SAFARI_ITERATORS,w=f("iterator"),E="keys",x="values",j="entries",S=function(){return this};e.exports=function(e,t,n,o,f,_,O){c(n,t,o);var P,A,k,N=function(e){if(e===f&&T)return T;if(!v&&e&&e in I)return I[e];switch(e){case E:case x:case j:return function(){return new n(this,e)}}return function(){return new n(this)}},M=t+" Iterator",R=!1,I=e.prototype,C=I[w]||I["@@iterator"]||f&&I[f],T=!v&&C||N(f),F="Array"===t&&I.entries||C;if(F&&(P=u(F.call(new e)))!==Object.prototype&&P.next&&(i||u(P)===b||(l?l(P,b):a(P[w])||m(P,w,S)),p(P,M,!0,!0),i&&(d[M]=S)),y&&f===x&&C&&C.name!==x&&(!i&&g?h(I,"name",x):(R=!0,T=function(){return s(C,this)})),f)if(A={values:N(x),keys:_?T:N(E),entries:N(j)},O)for(k in A)(v||R||!(k in I))&&m(I,k,A[k]);else r({target:t,proto:!0,forced:v||R},A);return i&&!O||I[w]===T||m(I,w,T,{name:f}),d[t]=T,A}},374:(e,t,n)=>{"use strict";var r,s,i,o=n(2998),a=n(8563),c=n(8257),u=n(1504),l=n(9814),p=n(4500),h=n(379),m=n(7736),f=h("iterator"),d=!1;[].keys&&("next"in(i=[].keys())?(s=l(l(i)))!==Object.prototype&&(r=s):d=!0),!c(r)||o((function(){var e={};return r[f].call(e)!==e}))?r={}:m&&(r=u(r)),a(r[f])||p(r,f,(function(){return this})),e.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:d}},2444:e=>{"use strict";e.exports={}},8960:(e,t,n)=>{"use strict";var r=n(9261);e.exports=function(e){return r(e.length)}},5703:e=>{"use strict";var t=Math.ceil,n=Math.floor;e.exports=Math.trunc||function(e){var r=+e;return(r>0?n:t)(r)}},5517:(e,t,n)=>{"use strict";var r=n(4809);e.exports=function(e,t){return void 0===e?arguments.length<2?"":t:r(e)}},1504:(e,t,n)=>{"use strict";var r,s=n(457),i=n(8253),o=n(8573),a=n(3006),c=n(4812),u=n(6327),l=n(5430),p="prototype",h="script",m=l("IE_PROTO"),f=function(){},d=function(e){return"<"+h+">"+e+"</"+h+">"},_=function(e){e.write(d("")),e.close();var t=e.parentWindow.Object;return e=null,t},y=function(){try{r=new ActiveXObject("htmlfile")}catch(e){}var e,t,n;y="undefined"!=typeof document?document.domain&&r?_(r):(t=u("iframe"),n="java"+h+":",t.style.display="none",c.appendChild(t),t.src=String(n),(e=t.contentWindow.document).open(),e.write(d("document.F=Object")),e.close(),e.F):_(r);for(var s=o.length;s--;)delete y[p][o[s]];return y()};a[m]=!0,e.exports=Object.create||function(e,t){var n;return null!==e?(f[p]=s(e),n=new f,f[p]=null,n[m]=e):n=y(),void 0===t?n:i.f(n,t)}},8253:(e,t,n)=>{"use strict";var r=n(1815),s=n(4210),i=n(4376),o=n(457),a=n(4312),c=n(4230);t.f=r&&!s?Object.defineProperties:function(e,t){o(e);for(var n,r=a(t),s=c(t),u=s.length,l=0;u>l;)i.f(e,n=s[l++],r[n]);return e}},4376:(e,t,n)=>{"use strict";var r=n(1815),s=n(4632),i=n(4210),o=n(457),a=n(9722),c=TypeError,u=Object.defineProperty,l=Object.getOwnPropertyDescriptor,p="enumerable",h="configurable",m="writable";t.f=r?i?function(e,t,n){if(o(e),t=a(t),o(n),"function"==typeof e&&"prototype"===t&&"value"in n&&m in n&&!n[m]){var r=l(e,t);r&&r[m]&&(e[t]=n.value,n={configurable:h in n?n[h]:r[h],enumerable:p in n?n[p]:r[p],writable:!1})}return u(e,t,n)}:u:function(e,t,n){if(o(e),t=a(t),o(n),s)try{return u(e,t,n)}catch(e){}if("get"in n||"set"in n)throw new c("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},3335:(e,t,n)=>{"use strict";var r=n(1815),s=n(200),i=n(2886),o=n(7971),a=n(4312),c=n(9722),u=n(3941),l=n(4632),p=Object.getOwnPropertyDescriptor;t.f=r?p:function(e,t){if(e=a(e),t=c(t),l)try{return p(e,t)}catch(e){}if(u(e,t))return o(!s(i.f,e,t),e[t])}},4243:(e,t,n)=>{"use strict";var r=n(4062),s=n(8573).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,s)}},2306:(e,t)=>{"use strict";t.f=Object.getOwnPropertySymbols},9814:(e,t,n)=>{"use strict";var r=n(3941),s=n(8563),i=n(8389),o=n(5430),a=n(8536),c=o("IE_PROTO"),u=Object,l=u.prototype;e.exports=a?u.getPrototypeOf:function(e){var t=i(e);if(r(t,c))return t[c];var n=t.constructor;return s(n)&&t instanceof n?n.prototype:t instanceof u?l:null}},7367:(e,t,n)=>{"use strict";var r=n(8814);e.exports=r({}.isPrototypeOf)},4062:(e,t,n)=>{"use strict";var r=n(8814),s=n(3941),i=n(4312),o=n(3346).indexOf,a=n(3006),c=r([].push);e.exports=function(e,t){var n,r=i(e),u=0,l=[];for(n in r)!s(a,n)&&s(r,n)&&c(l,n);for(;t.length>u;)s(r,n=t[u++])&&(~o(l,n)||c(l,n));return l}},4230:(e,t,n)=>{"use strict";var r=n(4062),s=n(8573);e.exports=Object.keys||function(e){return r(e,s)}},2886:(e,t)=>{"use strict";var n={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,s=r&&!n.call({1:2},1);t.f=s?function(e){var t=r(this,e);return!!t&&t.enumerable}:n},8597:(e,t,n)=>{"use strict";var r=n(2799),s=n(457),i=n(692);e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=r(Object.prototype,"__proto__","set"))(n,[]),t=n instanceof Array}catch(e){}return function(n,r){return s(n),i(r),t?e(n,r):n.__proto__=r,n}}():void 0)},3024:(e,t,n)=>{"use strict";var r=n(6694),s=n(2327);e.exports=r?{}.toString:function(){return"[object "+s(this)+"]"}},2483:(e,t,n)=>{"use strict";var r=n(200),s=n(8563),i=n(8257),o=TypeError;e.exports=function(e,t){var n,a;if("string"===t&&s(n=e.toString)&&!i(a=r(n,e)))return a;if(s(n=e.valueOf)&&!i(a=r(n,e)))return a;if("string"!==t&&s(n=e.toString)&&!i(a=r(n,e)))return a;throw new o("Can't convert object to primitive value")}},5956:(e,t,n)=>{"use strict";var r=n(6589),s=n(8814),i=n(4243),o=n(2306),a=n(457),c=s([].concat);e.exports=r("Reflect","ownKeys")||function(e){var t=i.f(a(e)),n=o.f;return n?c(t,n(e)):t}},8422:e=>{"use strict";e.exports={}},3142:(e,t,n)=>{"use strict";var r=n(4376).f;e.exports=function(e,t,n){n in e||r(e,n,{configurable:!0,get:function(){return t[n]},set:function(e){t[n]=e}})}},8280:(e,t,n)=>{"use strict";var r=n(5157),s=TypeError;e.exports=function(e){if(r(e))throw new s("Can't call method on "+e);return e}},9468:(e,t,n)=>{"use strict";var r=n(6694),s=n(4376).f,i=n(1370),o=n(3941),a=n(3024),c=n(379)("toStringTag");e.exports=function(e,t,n,u){if(e){var l=n?e:e.prototype;o(l,c)||s(l,c,{configurable:!0,value:t}),u&&!r&&i(l,"toString",a)}}},5430:(e,t,n)=>{"use strict";var r=n(3771),s=n(9216),i=r("keys");e.exports=function(e){return i[e]||(i[e]=s(e))}},6028:(e,t,n)=>{"use strict";var r=n(8426),s=n(8194),i="__core-js_shared__",o=r[i]||s(i,{});e.exports=o},3771:(e,t,n)=>{"use strict";var r=n(7736),s=n(6028);(e.exports=function(e,t){return s[e]||(s[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.33.3",mode:r?"pure":"global",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.33.3/LICENSE",source:"https://github.com/zloirock/core-js"})},7415:(e,t,n)=>{"use strict";var r=n(8814),s=n(1061),i=n(4809),o=n(8280),a=r("".charAt),c=r("".charCodeAt),u=r("".slice),l=function(e){return function(t,n){var r,l,p=i(o(t)),h=s(n),m=p.length;return h<0||h>=m?e?"":void 0:(r=c(p,h))<55296||r>56319||h+1===m||(l=c(p,h+1))<56320||l>57343?e?a(p,h):r:e?u(p,h,h+2):l-56320+(r-55296<<10)+65536}};e.exports={codeAt:l(!1),charAt:l(!0)}},3772:(e,t,n)=>{"use strict";var r=n(5057),s=n(2998),i=n(8426).String;e.exports=!!Object.getOwnPropertySymbols&&!s((function(){var e=Symbol("symbol detection");return!i(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&r&&r<41}))},1940:(e,t,n)=>{"use strict";var r=n(1061),s=Math.max,i=Math.min;e.exports=function(e,t){var n=r(e);return n<0?s(n+t,0):i(n,t)}},4312:(e,t,n)=>{"use strict";var r=n(6541),s=n(8280);e.exports=function(e){return r(s(e))}},1061:(e,t,n)=>{"use strict";var r=n(5703);e.exports=function(e){var t=+e;return t!=t||0===t?0:r(t)}},9261:(e,t,n)=>{"use strict";var r=n(1061),s=Math.min;e.exports=function(e){return e>0?s(r(e),9007199254740991):0}},8389:(e,t,n)=>{"use strict";var r=n(8280),s=Object;e.exports=function(e){return s(r(e))}},6561:(e,t,n)=>{"use strict";var r=n(200),s=n(8257),i=n(6753),o=n(2833),a=n(2483),c=n(379),u=TypeError,l=c("toPrimitive");e.exports=function(e,t){if(!s(e)||i(e))return e;var n,c=o(e,l);if(c){if(void 0===t&&(t="default"),n=r(c,e,t),!s(n)||i(n))return n;throw new u("Can't convert object to primitive value")}return void 0===t&&(t="number"),a(e,t)}},9722:(e,t,n)=>{"use strict";var r=n(6561),s=n(6753);e.exports=function(e){var t=r(e,"string");return s(t)?t:t+""}},6694:(e,t,n)=>{"use strict";var r={};r[n(379)("toStringTag")]="z",e.exports="[object z]"===String(r)},4809:(e,t,n)=>{"use strict";var r=n(2327),s=String;e.exports=function(e){if("Symbol"===r(e))throw new TypeError("Cannot convert a Symbol value to a string");return s(e)}},5787:e=>{"use strict";var t=String;e.exports=function(e){try{return t(e)}catch(e){return"Object"}}},9216:(e,t,n)=>{"use strict";var r=n(8814),s=0,i=Math.random(),o=r(1..toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+o(++s+i,36)}},9378:(e,t,n)=>{"use strict";var r=n(3772);e.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},4210:(e,t,n)=>{"use strict";var r=n(1815),s=n(2998);e.exports=r&&s((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},8268:(e,t,n)=>{"use strict";var r=n(8426),s=n(8563),i=r.WeakMap;e.exports=s(i)&&/native code/.test(String(i))},379:(e,t,n)=>{"use strict";var r=n(8426),s=n(3771),i=n(3941),o=n(9216),a=n(3772),c=n(9378),u=r.Symbol,l=s("wks"),p=c?u.for||u:u&&u.withoutSetter||o;e.exports=function(e){return i(l,e)||(l[e]=a&&i(u,e)?u[e]:p("Symbol."+e)),l[e]}},9791:(e,t,n)=>{"use strict";var r=n(6589),s=n(3941),i=n(1370),o=n(7367),a=n(8597),c=n(1318),u=n(3142),l=n(9330),p=n(5517),h=n(1609),m=n(4151),f=n(1815),d=n(7736);e.exports=function(e,t,n,_){var y="stackTraceLimit",g=_?2:1,b=e.split("."),v=b[b.length-1],w=r.apply(null,b);if(w){var E=w.prototype;if(!d&&s(E,"cause")&&delete E.cause,!n)return w;var x=r("Error"),j=t((function(e,t){var n=p(_?t:e,void 0),r=_?new w(e):new w;return void 0!==n&&i(r,"message",n),m(r,j,r.stack,2),this&&o(E,this)&&l(r,this,j),arguments.length>g&&h(r,arguments[g]),r}));if(j.prototype=E,"Error"!==v?a?a(j,x):c(j,x,{name:!0}):f&&y in w&&(u(j,w,y),u(j,w,"prepareStackTrace")),c(j,w),!d)try{E.name!==v&&i(E,"name",v),E.constructor=j}catch(e){}return j}}},1835:(e,t,n)=>{"use strict";var r=n(9011),s=n(6589),i=n(4877),o=n(2998),a=n(9791),c="AggregateError",u=s(c),l=!o((function(){return 1!==u([1]).errors[0]}))&&o((function(){return 7!==u([1],c,{cause:7}).cause}));r({global:!0,constructor:!0,arity:2,forced:l},{AggregateError:a(c,(function(e){return function(t,n){return i(e,this,arguments)}}),l,!0)})},1320:(e,t,n)=>{"use strict";var r=n(9011),s=n(7367),i=n(9814),o=n(8597),a=n(1318),c=n(1504),u=n(1370),l=n(7971),p=n(1609),h=n(4151),m=n(3490),f=n(5517),d=n(379)("toStringTag"),_=Error,y=[].push,g=function(e,t){var n,r=s(b,this);o?n=o(new _,r?i(this):b):(n=r?this:c(b),u(n,d,"Error")),void 0!==t&&u(n,"message",f(t)),h(n,g,n.stack,1),arguments.length>2&&p(n,arguments[2]);var a=[];return m(e,y,{that:a}),u(n,"errors",a),n};o?o(g,_):a(g,_,{name:!0});var b=g.prototype=c(_.prototype,{constructor:l(1,g),message:l(1,""),name:l(1,"AggregateError")});r({global:!0,constructor:!0,arity:2},{AggregateError:g})},733:(e,t,n)=>{"use strict";n(1320)},6449:(e,t,n)=>{"use strict";var r=n(4312),s=n(7171),i=n(2444),o=n(8551),a=n(4376).f,c=n(5994),u=n(9497),l=n(7736),p=n(1815),h="Array Iterator",m=o.set,f=o.getterFor(h);e.exports=c(Array,"Array",(function(e,t){m(this,{type:h,target:r(e),index:0,kind:t})}),(function(){var e=f(this),t=e.target,n=e.index++;if(!t||n>=t.length)return e.target=void 0,u(void 0,!0);switch(e.kind){case"keys":return u(n,!1);case"values":return u(t[n],!1)}return u([n,t[n]],!1)}),"values");var d=i.Arguments=i.Array;if(s("keys"),s("values"),s("entries"),!l&&p&&"values"!==d.name)try{a(d,"name",{value:"values"})}catch(e){}},2777:(e,t,n)=>{"use strict";var r=n(9011),s=n(8426),i=n(4877),o=n(9791),a="WebAssembly",c=s[a],u=7!==new Error("e",{cause:7}).cause,l=function(e,t){var n={};n[e]=o(e,t,u),r({global:!0,constructor:!0,arity:1,forced:u},n)},p=function(e,t){if(c&&c[e]){var n={};n[e]=o(a+"."+e,t,u),r({target:a,stat:!0,constructor:!0,arity:1,forced:u},n)}};l("Error",(function(e){return function(t){return i(e,this,arguments)}})),l("EvalError",(function(e){return function(t){return i(e,this,arguments)}})),l("RangeError",(function(e){return function(t){return i(e,this,arguments)}})),l("ReferenceError",(function(e){return function(t){return i(e,this,arguments)}})),l("SyntaxError",(function(e){return function(t){return i(e,this,arguments)}})),l("TypeError",(function(e){return function(t){return i(e,this,arguments)}})),l("URIError",(function(e){return function(t){return i(e,this,arguments)}})),p("CompileError",(function(e){return function(t){return i(e,this,arguments)}})),p("LinkError",(function(e){return function(t){return i(e,this,arguments)}})),p("RuntimeError",(function(e){return function(t){return i(e,this,arguments)}}))},9383:(e,t,n)=>{"use strict";var r=n(7415).charAt,s=n(4809),i=n(8551),o=n(5994),a=n(9497),c="String Iterator",u=i.set,l=i.getterFor(c);o(String,"String",(function(e){u(this,{type:c,string:s(e),index:0})}),(function(){var e,t=l(this),n=t.string,s=t.index;return s>=n.length?a(void 0,!0):(e=r(n,s),t.index+=e.length,a(e,!1))}))},3584:(e,t,n)=>{"use strict";n(733)},6128:(e,t,n)=>{"use strict";n(6449);var r=n(8987),s=n(8426),i=n(2327),o=n(1370),a=n(2444),c=n(379)("toStringTag");for(var u in r){var l=s[u],p=l&&l.prototype;p&&i(p)!==c&&o(p,c,u),a[u]=a.Array}},7497:(e,t,n)=>{"use strict";n(3584);var r=n(3258);n(6128),e.exports=r}},t={};function n(r){var s=t[r];if(void 0!==s)return s.exports;var i=t[r]={id:r,loaded:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.loaded=!0,i.exports}n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{var e;n.g.importScripts&&(e=n.g.location+"");var t=n.g.document;if(!e&&t&&(t.currentScript&&(e=t.currentScript.src),!e)){var r=t.getElementsByTagName("script");if(r.length)for(var s=r.length-1;s>-1&&!e;)e=r[s--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),n.p=e})();var r={};return(()=>{"use strict";n.r(r),n.d(r,{detect:()=>wh,detectionRegExp:()=>vh,mediaTypes:()=>bh,namespace:()=>xh,parse:()=>Eh});var e={};n.r(e),n.d(e,{hasElementSourceMap:()=>sn,includesClasses:()=>an,includesSymbols:()=>on,isAnnotationElement:()=>Qt,isArrayElement:()=>Ht,isBooleanElement:()=>Jt,isCommentElement:()=>en,isElement:()=>zt,isLinkElement:()=>Xt,isMemberElement:()=>Zt,isNullElement:()=>Wt,isNumberElement:()=>Gt,isObjectElement:()=>Kt,isParseResultElement:()=>tn,isPrimitiveElement:()=>rn,isRefElement:()=>Yt,isSourceMapElement:()=>nn,isStringElement:()=>Ut});var t={};n.r(t),n.d(t,{isJSONReferenceElement:()=>Eo,isJSONSchemaElement:()=>wo,isLinkDescriptionElement:()=>jo,isMediaElement:()=>xo});var s={};n.r(s),n.d(s,{isOpenApi3_0LikeElement:()=>Zo,isOpenApiExtension:()=>ra,isParameterLikeElement:()=>Xo,isReferenceLikeElement:()=>Yo,isRequestBodyLikeElement:()=>Qo,isResponseLikeElement:()=>ea,isServerLikeElement:()=>ta,isTagLikeElement:()=>na});var i={};function o(e){return null!=e&&"object"==typeof e&&!0===e["@@functional/placeholder"]}function a(e){return function t(n){return 0===arguments.length||o(n)?t:e.apply(this,arguments)}}function c(e){return function t(n,r){switch(arguments.length){case 0:return t;case 1:return o(n)?t:a((function(t){return e(n,t)}));default:return o(n)&&o(r)?t:o(n)?a((function(t){return e(t,r)})):o(r)?a((function(t){return e(n,t)})):e(n,r)}}}function u(e){return function t(n,r,s){switch(arguments.length){case 0:return t;case 1:return o(n)?t:c((function(t,r){return e(n,t,r)}));case 2:return o(n)&&o(r)?t:o(n)?c((function(t,n){return e(t,r,n)})):o(r)?c((function(t,r){return e(n,t,r)})):a((function(t){return e(n,r,t)}));default:return o(n)&&o(r)&&o(s)?t:o(n)&&o(r)?c((function(t,n){return e(t,n,s)})):o(n)&&o(s)?c((function(t,n){return e(t,r,n)})):o(r)&&o(s)?c((function(t,r){return e(n,t,r)})):o(n)?a((function(t){return e(t,r,s)})):o(r)?a((function(t){return e(n,t,s)})):o(s)?a((function(t){return e(n,r,t)})):e(n,r,s)}}}n.r(i),n.d(i,{isBooleanJsonSchemaElement:()=>hc,isCallbackElement:()=>Wa,isComponentsElement:()=>Ja,isContactElement:()=>Ka,isExampleElement:()=>Ha,isExternalDocumentationElement:()=>Za,isHeaderElement:()=>Xa,isInfoElement:()=>Ya,isLicenseElement:()=>Qa,isLinkElement:()=>ec,isMediaTypeElement:()=>_c,isOpenApi3_0Element:()=>nc,isOpenapiElement:()=>tc,isOperationElement:()=>rc,isParameterElement:()=>sc,isPathItemElement:()=>ic,isPathsElement:()=>oc,isReferenceElement:()=>ac,isRequestBodyElement:()=>cc,isResponseElement:()=>uc,isResponsesElement:()=>lc,isSchemaElement:()=>pc,isSecurityRequirementElement:()=>mc,isServerElement:()=>fc,isServerVariableElement:()=>dc,isServersElement:()=>yc});const l=c((function(e,t){return null==t||t!=t?e:t})),p=Number.isInteger||function(e){return e<<0===e};function h(e){return"[object String]"===Object.prototype.toString.call(e)}const m=c((function(e,t){var n=e<0?t.length+e:e;return h(t)?t.charAt(n):t[n]}));const f=c((function(e,t){if(null!=t)return p(e)?m(e,t):t[e]}));const d=u((function(e,t,n){return l(e,f(t,n))}));var _=c((function(e,t){for(var n={},r={},s=0,i=e.length;s<i;)r[e[s]]=1,s+=1;for(var o in t)r.hasOwnProperty(o)||(n[o]=t[o]);return n}));const y=_;function g(e,t,n){for(var r=0,s=n.length;r<s;)t=e(t,n[r]),r+=1;return t}const b=Array.isArray||function(e){return null!=e&&e.length>=0&&"[object Array]"===Object.prototype.toString.call(e)};const v=a((function(e){return!!b(e)||!!e&&("object"==typeof e&&(!h(e)&&(0===e.length||e.length>0&&(e.hasOwnProperty(0)&&e.hasOwnProperty(e.length-1)))))}));var w="undefined"!=typeof Symbol?Symbol.iterator:"@@iterator";function E(e,t,n){return function(r,s,i){if(v(i))return e(r,s,i);if(null==i)return s;if("function"==typeof i["fantasy-land/reduce"])return t(r,s,i,"fantasy-land/reduce");if(null!=i[w])return n(r,s,i[w]());if("function"==typeof i.next)return n(r,s,i);if("function"==typeof i.reduce)return t(r,s,i,"reduce");throw new TypeError("reduce: list must be array or iterable")}}function x(e,t,n){for(var r=n.next();!r.done;)t=e(t,r.value),r=n.next();return t}function j(e,t,n,r){return n[r](e,t)}const S=E(g,j,x);function O(e,t,n){return function(){if(0===arguments.length)return n();var r=arguments[arguments.length-1];if(!b(r)){for(var s=0;s<e.length;){if("function"==typeof r[e[s]])return r[e[s]].apply(r,Array.prototype.slice.call(arguments,0,-1));s+=1}if(function(e){return null!=e&&"function"==typeof e["@@transducer/step"]}(r))return t.apply(null,Array.prototype.slice.call(arguments,0,-1))(r)}return n.apply(this,arguments)}}function P(e,t){for(var n=0,r=t.length,s=Array(r);n<r;)s[n]=e(t[n]),n+=1;return s}const A=function(){return this.xf["@@transducer/init"]()},k=function(e){return this.xf["@@transducer/result"](e)};var N=function(){function e(e,t){this.xf=t,this.f=e}return e.prototype["@@transducer/init"]=A,e.prototype["@@transducer/result"]=k,e.prototype["@@transducer/step"]=function(e,t){return this.xf["@@transducer/step"](e,this.f(t))},e}();const M=function(e){return function(t){return new N(e,t)}};function R(e,t){switch(e){case 0:return function(){return t.apply(this,arguments)};case 1:return function(e){return t.apply(this,arguments)};case 2:return function(e,n){return t.apply(this,arguments)};case 3:return function(e,n,r){return t.apply(this,arguments)};case 4:return function(e,n,r,s){return t.apply(this,arguments)};case 5:return function(e,n,r,s,i){return t.apply(this,arguments)};case 6:return function(e,n,r,s,i,o){return t.apply(this,arguments)};case 7:return function(e,n,r,s,i,o,a){return t.apply(this,arguments)};case 8:return function(e,n,r,s,i,o,a,c){return t.apply(this,arguments)};case 9:return function(e,n,r,s,i,o,a,c,u){return t.apply(this,arguments)};case 10:return function(e,n,r,s,i,o,a,c,u,l){return t.apply(this,arguments)};default:throw new Error("First argument to _arity must be a non-negative integer no greater than ten")}}function I(e,t,n){return function(){for(var r=[],s=0,i=e,a=0,c=!1;a<t.length||s<arguments.length;){var u;a<t.length&&(!o(t[a])||s>=arguments.length)?u=t[a]:(u=arguments[s],s+=1),r[a]=u,o(u)?c=!0:i-=1,a+=1}return!c&&i<=0?n.apply(this,r):R(Math.max(0,i),I(e,r,n))}}const C=c((function(e,t){return 1===e?a(t):R(e,I(e,[],t))}));function T(e,t){return Object.prototype.hasOwnProperty.call(t,e)}var F=Object.prototype.toString;const $=function(){return"[object Arguments]"===F.call(arguments)?function(e){return"[object Arguments]"===F.call(e)}:function(e){return T("callee",e)}}();var q=!{toString:null}.propertyIsEnumerable("toString"),L=["constructor","valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],B=function(){return arguments.propertyIsEnumerable("length")}(),D=function(e,t){for(var n=0;n<e.length;){if(e[n]===t)return!0;n+=1}return!1},V="function"!=typeof Object.keys||B?a((function(e){if(Object(e)!==e)return[];var t,n,r=[],s=B&&$(e);for(t in e)!T(t,e)||s&&"length"===t||(r[r.length]=t);if(q)for(n=L.length-1;n>=0;)T(t=L[n],e)&&!D(r,t)&&(r[r.length]=t),n-=1;return r})):a((function(e){return Object(e)!==e?[]:Object.keys(e)}));const z=V;const U=c(O(["fantasy-land/map","map"],M,(function(e,t){switch(Object.prototype.toString.call(t)){case"[object Function]":return C(t.length,(function(){return e.call(this,t.apply(this,arguments))}));case"[object Object]":return g((function(n,r){return n[r]=e(t[r]),n}),{},z(t));default:return P(e,t)}})));const G=c((function(e,t){return"function"==typeof t["fantasy-land/ap"]?t["fantasy-land/ap"](e):"function"==typeof e.ap?e.ap(t):"function"==typeof e?function(n){return e(n)(t(n))}:S((function(e,n){return function(e,t){var n;t=t||[];var r=(e=e||[]).length,s=t.length,i=[];for(n=0;n<r;)i[i.length]=e[n],n+=1;for(n=0;n<s;)i[i.length]=t[n],n+=1;return i}(e,U(n,t))}),[],e)}));const W=c((function(e,t){var n=C(e,t);return C(e,(function(){return g(G,U(n,arguments[0]),Array.prototype.slice.call(arguments,1))}))}));const J=a((function(e){return W(e.length,e)}));const K=J(a((function(e){return!e})));function H(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}function Z(e,t,n){for(var r=0,s=n.length;r<s;){if(e(t,n[r]))return!0;r+=1}return!1}const X="function"==typeof Object.is?Object.is:function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t};const Y=a((function(e){return null===e?"Null":void 0===e?"Undefined":Object.prototype.toString.call(e).slice(8,-1)}));function Q(e,t,n,r){var s=H(e);function i(e,t){return ee(e,t,n.slice(),r.slice())}return!Z((function(e,t){return!Z(i,t,e)}),H(t),s)}function ee(e,t,n,r){if(X(e,t))return!0;var s,i,o=Y(e);if(o!==Y(t))return!1;if("function"==typeof e["fantasy-land/equals"]||"function"==typeof t["fantasy-land/equals"])return"function"==typeof e["fantasy-land/equals"]&&e["fantasy-land/equals"](t)&&"function"==typeof t["fantasy-land/equals"]&&t["fantasy-land/equals"](e);if("function"==typeof e.equals||"function"==typeof t.equals)return"function"==typeof e.equals&&e.equals(t)&&"function"==typeof t.equals&&t.equals(e);switch(o){case"Arguments":case"Array":case"Object":if("function"==typeof e.constructor&&"Promise"===(s=e.constructor,null==(i=String(s).match(/^function (\w*)/))?"":i[1]))return e===t;break;case"Boolean":case"Number":case"String":if(typeof e!=typeof t||!X(e.valueOf(),t.valueOf()))return!1;break;case"Date":if(!X(e.valueOf(),t.valueOf()))return!1;break;case"Error":return e.name===t.name&&e.message===t.message;case"RegExp":if(e.source!==t.source||e.global!==t.global||e.ignoreCase!==t.ignoreCase||e.multiline!==t.multiline||e.sticky!==t.sticky||e.unicode!==t.unicode)return!1}for(var a=n.length-1;a>=0;){if(n[a]===e)return r[a]===t;a-=1}switch(o){case"Map":return e.size===t.size&&Q(e.entries(),t.entries(),n.concat([e]),r.concat([t]));case"Set":return e.size===t.size&&Q(e.values(),t.values(),n.concat([e]),r.concat([t]));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 c=z(e);if(c.length!==z(t).length)return!1;var u=n.concat([e]),l=r.concat([t]);for(a=c.length-1;a>=0;){var p=c[a];if(!T(p,t)||!ee(t[p],e[p],u,l))return!1;a-=1}return!0}const te=c((function(e,t){return ee(e,t,[],[])}));const ne=a((function(e){return function(){return e}}));const re=ne(void 0);const se=te(re());const ie=K(se);var oe=n(7952);function ae(e,t){return function(){return t.call(this,e.apply(this,arguments))}}function ce(e,t,n){for(var r=0,s=n.length;r<s;){if((t=e["@@transducer/step"](t,n[r]))&&t["@@transducer/reduced"]){t=t["@@transducer/value"];break}r+=1}return e["@@transducer/result"](t)}const ue=c((function(e,t){return R(e.length,(function(){return e.apply(t,arguments)}))}));function le(e,t,n){for(var r=n.next();!r.done;){if((t=e["@@transducer/step"](t,r.value))&&t["@@transducer/reduced"]){t=t["@@transducer/value"];break}r=n.next()}return e["@@transducer/result"](t)}function pe(e,t,n,r){return e["@@transducer/result"](n[r](ue(e["@@transducer/step"],e),t))}const he=E(ce,pe,le);var me=function(){function e(e){this.f=e}return e.prototype["@@transducer/init"]=function(){throw new Error("init not implemented on XWrap")},e.prototype["@@transducer/result"]=function(e){return e},e.prototype["@@transducer/step"]=function(e,t){return this.f(e,t)},e}();const fe=u((function(e,t,n){return he("function"==typeof e?new me(e):e,t,n)}));function de(e,t){return function(){var n=arguments.length;if(0===n)return t();var r=arguments[n-1];return b(r)||"function"!=typeof r[e]?t.apply(this,arguments):r[e].apply(r,Array.prototype.slice.call(arguments,0,n-1))}}const _e=u(de("slice",(function(e,t,n){return Array.prototype.slice.call(n,e,t)})));const ye=a(de("tail",_e(1,1/0)));function ge(){if(0===arguments.length)throw new Error("pipe requires at least one argument");return R(arguments[0].length,fe(ae,arguments[0],ye(arguments)))}var be=function(e,t){switch(arguments.length){case 0:return be;case 1:return function t(n){return 0===arguments.length?t:X(e,n)};default:return X(e,t)}};const ve=be;function we(e,t){return function(e,t,n){var r,s;if("function"==typeof e.indexOf)switch(typeof t){case"number":if(0===t){for(r=1/t;n<e.length;){if(0===(s=e[n])&&1/s===r)return n;n+=1}return-1}if(t!=t){for(;n<e.length;){if("number"==typeof(s=e[n])&&s!=s)return n;n+=1}return-1}return e.indexOf(t,n);case"string":case"boolean":case"function":case"undefined":return e.indexOf(t,n);case"object":if(null===t)return e.indexOf(t,n)}for(;n<e.length;){if(te(e[n],t))return n;n+=1}return-1}(t,e,0)>=0}function Ee(e){return'"'+e.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 xe=function(e){return(e<10?"0":"")+e};const je="function"==typeof Date.prototype.toISOString?function(e){return e.toISOString()}:function(e){return e.getUTCFullYear()+"-"+xe(e.getUTCMonth()+1)+"-"+xe(e.getUTCDate())+"T"+xe(e.getUTCHours())+":"+xe(e.getUTCMinutes())+":"+xe(e.getUTCSeconds())+"."+(e.getUTCMilliseconds()/1e3).toFixed(3).slice(2,5)+"Z"};function Se(e){return"[object Object]"===Object.prototype.toString.call(e)}var Oe=function(){function e(e,t){this.xf=t,this.f=e}return e.prototype["@@transducer/init"]=A,e.prototype["@@transducer/result"]=k,e.prototype["@@transducer/step"]=function(e,t){return this.f(t)?this.xf["@@transducer/step"](e,t):e},e}();function Pe(e){return function(t){return new Oe(e,t)}}const Ae=c(O(["fantasy-land/filter","filter"],Pe,(function(e,t){return Se(t)?g((function(n,r){return e(t[r])&&(n[r]=t[r]),n}),{},z(t)):function(e,t){for(var n=0,r=t.length,s=[];n<r;)e(t[n])&&(s[s.length]=t[n]),n+=1;return s}(e,t)})));const ke=c((function(e,t){return Ae((n=e,function(){return!n.apply(this,arguments)}),t);var n}));function Ne(e,t){var n=function(n){var r=t.concat([e]);return we(n,r)?"<Circular>":Ne(n,r)},r=function(e,t){return P((function(t){return Ee(t)+": "+n(e[t])}),t.slice().sort())};switch(Object.prototype.toString.call(e)){case"[object Arguments]":return"(function() { return arguments; }("+P(n,e).join(", ")+"))";case"[object Array]":return"["+P(n,e).concat(r(e,ke((function(e){return/^\d+$/.test(e)}),z(e)))).join(", ")+"]";case"[object Boolean]":return"object"==typeof e?"new Boolean("+n(e.valueOf())+")":e.toString();case"[object Date]":return"new Date("+(isNaN(e.valueOf())?n(NaN):Ee(je(e)))+")";case"[object Map]":return"new Map("+n(Array.from(e))+")";case"[object Null]":return"null";case"[object Number]":return"object"==typeof e?"new Number("+n(e.valueOf())+")":1/e==-1/0?"-0":e.toString(10);case"[object Set]":return"new Set("+n(Array.from(e).sort())+")";case"[object String]":return"object"==typeof e?"new String("+n(e.valueOf())+")":Ee(e);case"[object Undefined]":return"undefined";default:if("function"==typeof e.toString){var s=e.toString();if("[object Object]"!==s)return s}return"{"+r(e,z(e)).join(", ")+"}"}}const Me=a((function(e){return Ne(e,[])}));const Re=c((function(e,t){return e.map((function(e){for(var n,r=t,s=0;s<e.length;){if(null==r)return;n=e[s],r=p(n)?m(n,r):r[n],s+=1}return r}))}));const Ie=c((function(e,t){return Re([e],t)[0]}));const Ce=u((function(e,t,n){return e(Ie(t,n))}));function Te(e){var t=Object.prototype.toString.call(e);return"[object Function]"===t||"[object AsyncFunction]"===t||"[object GeneratorFunction]"===t||"[object AsyncGeneratorFunction]"===t}const Fe=c((function(e,t){return e&&t}));const $e=c((function(e,t){return Te(e)?function(){return e.apply(this,arguments)&&t.apply(this,arguments)}:J(Fe)(e,t)}));const qe=te(null);const Le=K(qe);function Be(e){return Be="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Be(e)}const De=function(e){return"object"===Be(e)};const Ve=C(1,$e(Le,De));const ze=c((function(e,t){if(e===t)return t;function n(e,t){if(e>t!=t>e)return t>e?t:e}var r=n(e,t);if(void 0!==r)return r;var s=n(typeof e,typeof t);if(void 0!==s)return s===typeof e?e:t;var i=Me(e),o=n(i,Me(t));return void 0!==o&&o===i?e:t}));const Ue=c((function(e,t){return U(f(e),t)}));const Ge=a((function(e){return C(fe(ze,0,Ue("length",e)),(function(){for(var t=0,n=e.length;t<n;){if(e[t].apply(this,arguments))return!0;t+=1}return!1}))}));const We=C(1,ge(Y,ve("GeneratorFunction")));const Je=C(1,ge(Y,ve("AsyncFunction")));const Ke=Ge([ge(Y,ve("Function")),We,Je]);var He=ge(Y,ve("Object")),Ze=ge(Me,te(Me(Object))),Xe=Ce($e(Ke,Ze),["constructor"]);const Ye=C(1,(function(e){if(!Ve(e)||!He(e))return!1;var t=Object.getPrototypeOf(e);return!!qe(t)||Xe(t)}));class Qe extends oe.RP{constructor(e,t,n){super(e,t,n),this.element="annotation"}get code(){return this.attributes.get("code")}set code(e){this.attributes.set("code",e)}}const et=Qe;class tt extends oe.RP{constructor(e,t,n){super(e,t,n),this.element="comment"}}const nt=tt;class rt extends oe.ON{constructor(e,t,n){super(e,t,n),this.element="parseResult"}get api(){return this.children.filter((e=>e.classes.contains("api"))).first}get results(){return this.children.filter((e=>e.classes.contains("result")))}get result(){return this.results.first}get annotations(){return this.children.filter((e=>"annotation"===e.element))}get warnings(){return this.children.filter((e=>"annotation"===e.element&&e.classes.contains("warning")))}get errors(){return this.children.filter((e=>"annotation"===e.element&&e.classes.contains("error")))}get isEmpty(){return this.children.reject((e=>"annotation"===e.element)).isEmpty}replaceResult(e){const{result:t}=this;if(se(t))return!1;const n=this.content.findIndex((e=>e===t));return-1!==n&&(this.content[n]=e,!0)}}const st=rt;class it extends oe.ON{constructor(e,t,n){super(e,t,n),this.element="sourceMap"}get positionStart(){return this.children.filter((e=>e.classes.contains("position"))).get(0)}get positionEnd(){return this.children.filter((e=>e.classes.contains("position"))).get(1)}set position(e){if(null===e)return;const t=new oe.ON([e.start.row,e.start.column,e.start.char]),n=new oe.ON([e.end.row,e.end.column,e.end.char]);t.classes.push("position"),n.classes.push("position"),this.push(t).push(n)}}const ot=it;class at extends oe.lS{constructor(){super(),this.register("annotation",et),this.register("comment",nt),this.register("parseResult",st),this.register("sourceMap",ot)}}const ct=new at,ut=e=>{const t=new at;return Ye(e)&&t.use(e),t},lt=ct;const pt=C(1,ge(Y,ve("String"))),ht=n.p+"23aac571c96605dc25219087ad291441.wasm",mt=globalThis.fetch;Ke(mt)&&(globalThis.fetch=(...e)=>pt(e[0])&&e[0].endsWith("tree-sitter.wasm")?mt.apply(globalThis,[ht,ye(e)]):mt.apply(globalThis,e));var ft=n(9794),dt=n(1427);const _t=class extends dt{constructor(e,t,n){if(super(e,t,n),this.name=this.constructor.name,"string"==typeof t&&(this.message=t),"function"==typeof Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error(t).stack,null!=n&&"object"==typeof n&&Object.hasOwn(n,"cause")&&!("cause"in this)){const{cause:e}=n;this.cause=e,e instanceof Error&&"stack"in e&&(this.stack=`${this.stack}\nCAUSE: ${e.stack}`)}}};class yt extends Error{static[Symbol.hasInstance](e){return super[Symbol.hasInstance](e)||Function.prototype[Symbol.hasInstance].call(_t,e)}constructor(e,t){if(super(e,t),this.name=this.constructor.name,"string"==typeof e&&(this.message=e),"function"==typeof Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error(e).stack,null!=t&&"object"==typeof t&&Object.hasOwn(t,"cause")&&!("cause"in this)){const{cause:e}=t;this.cause=e,e instanceof Error&&"stack"in e&&(this.stack=`${this.stack}\nCAUSE: ${e.stack}`)}}}const gt=yt,bt=n.p+"13ee407b2f9bd26c94370902ddeb5bcf.wasm";let vt=null,wt=null;const Et=async e=>{if(null===vt&&null===wt)wt=ft.init().then((()=>ft.Language.load(bt))).then((e=>{const t=new ft;return t.setLanguage(e),t})).finally((()=>{wt=null})),vt=await wt;else if(null===vt&&null!==wt)vt=await wt;else if(null===vt)throw new gt("Error while initializing web-tree-sitter and loading tree-sitter-json grammar.");return vt.parse(e)};const xt=class extends gt{constructor(e,t){if(super(e,t),null!=t&&"object"==typeof t){const{cause:e,...n}=t;Object.assign(this,n)}}},jt=(e,t,n)=>{const r=e[t];if(null!=r){if(!n&&"function"==typeof r)return r;const e=n?r.leave:r.enter;if("function"==typeof e)return e}else{const r=n?e.leave:e.enter;if(null!=r){if("function"==typeof r)return r;const e=r[t];if("function"==typeof e)return e}}return null},St={},Ot=e=>null==e?void 0:e.type,Pt=e=>"string"==typeof Ot(e),At=e=>Object.create(Object.getPrototypeOf(e),Object.getOwnPropertyDescriptors(e)),kt=(e,t,{keyMap:n=null,state:r={},breakSymbol:s=St,deleteNodeSymbol:i=null,skipVisitingNodeSymbol:o=!1,visitFnGetter:a=jt,nodeTypeGetter:c=Ot,nodePredicate:u=Pt,nodeCloneFn:l=At,detectCycles:p=!0}={})=>{const h=n||{};let m,f,d=Array.isArray(e),_=[e],y=-1,g=[],b=e;const v=[],w=[];do{y+=1;const e=y===_.length;let n;const x=e&&0!==g.length;if(e){if(n=0===w.length?void 0:v.pop(),b=f,f=w.pop(),x)if(d){b=b.slice();let e=0;for(const[t,n]of g){const r=t-e;n===i?(b.splice(r,1),e+=1):b[r]=n}}else{b=l(b);for(const[e,t]of g)b[e]=t}y=m.index,_=m.keys,g=m.edits,d=m.inArray,m=m.prev}else if(f!==i&&void 0!==f){if(n=d?y:_[y],b=f[n],b===i||void 0===b)continue;v.push(n)}let j;if(!Array.isArray(b)){if(!u(b))throw new xt(`Invalid AST Node: ${String(b)}`,{node:b});if(p&&w.includes(b)){v.pop();continue}const i=a(t,c(b),e);if(i){for(const[e,n]of Object.entries(r))t[e]=n;j=i.call(t,b,n,f,v,w)}if(j===s)break;if(j===o){if(!e){v.pop();continue}}else if(void 0!==j&&(g.push([n,j]),!e)){if(!u(j)){v.pop();continue}b=j}}var E;if(void 0===j&&x&&g.push([n,b]),!e)m={inArray:d,index:y,keys:_,edits:g,prev:m},d=Array.isArray(b),_=d?b:null!==(E=h[c(b)])&&void 0!==E?E:[],y=-1,g=[],f!==i&&void 0!==f&&w.push(f),f=b}while(void 0!==m);return 0!==g.length?g[g.length-1][1]:e};kt[Symbol.for("nodejs.util.promisify.custom")]=async(e,t,{keyMap:n=null,state:r={},breakSymbol:s=St,deleteNodeSymbol:i=null,skipVisitingNodeSymbol:o=!1,visitFnGetter:a=jt,nodeTypeGetter:c=Ot,nodePredicate:u=Pt,nodeCloneFn:l=At,detectCycles:p=!0}={})=>{const h=n||{};let m,f,d=Array.isArray(e),_=[e],y=-1,g=[],b=e;const v=[],w=[];do{y+=1;const e=y===_.length;let n;const x=e&&0!==g.length;if(e){if(n=0===w.length?void 0:v.pop(),b=f,f=w.pop(),x)if(d){b=b.slice();let e=0;for(const[t,n]of g){const r=t-e;n===i?(b.splice(r,1),e+=1):b[r]=n}}else{b=l(b);for(const[e,t]of g)b[e]=t}y=m.index,_=m.keys,g=m.edits,d=m.inArray,m=m.prev}else if(f!==i&&void 0!==f){if(n=d?y:_[y],b=f[n],b===i||void 0===b)continue;v.push(n)}let j;if(!Array.isArray(b)){if(!u(b))throw new xt(`Invalid AST Node: ${String(b)}`,{node:b});if(p&&w.includes(b)){v.pop();continue}const i=a(t,c(b),e);if(i){for(const[e,n]of Object.entries(r))t[e]=n;j=await i.call(t,b,n,f,v,w)}if(j===s)break;if(j===o){if(!e){v.pop();continue}}else if(void 0!==j&&(g.push([n,j]),!e)){if(!u(j)){v.pop();continue}b=j}}var E;if(void 0===j&&x&&g.push([n,b]),!e)m={inArray:d,index:y,keys:_,edits:g,prev:m},d=Array.isArray(b),_=d?b:null!==(E=h[c(b)])&&void 0!==E?E:[],y=-1,g=[],f!==i&&void 0!==f&&w.push(f),f=b}while(void 0!==m);return 0!==g.length?g[g.length-1][1]:e};var Nt=n(6591);const Mt=function(){return!1};function Rt(e){return e&&e["@@transducer/reduced"]?e:{"@@transducer/value":e,"@@transducer/reduced":!0}}var It=function(){function e(e,t){this.xf=t,this.f=e,this.all=!0}return e.prototype["@@transducer/init"]=A,e.prototype["@@transducer/result"]=function(e){return this.all&&(e=this.xf["@@transducer/step"](e,!0)),this.xf["@@transducer/result"](e)},e.prototype["@@transducer/step"]=function(e,t){return this.f(t)||(this.all=!1,e=Rt(this.xf["@@transducer/step"](e,!1))),e},e}();function Ct(e){return function(t){return new It(e,t)}}const Tt=c(O(["all"],Ct,(function(e,t){for(var n=0;n<t.length;){if(!e(t[n]))return!1;n+=1}return!0})));const Ft=a((function(e){return C(e.length,(function(t,n){var r=Array.prototype.slice.call(arguments,0);return r[0]=n,r[1]=t,e.apply(this,r)}))}))(c(we)),$t=(e,t)=>"object"==typeof t&&null!==t&&e in t&&"function"==typeof t[e],qt=e=>"object"==typeof e&&null!=e&&"_storedElement"in e&&"string"==typeof e._storedElement&&"_content"in e,Lt=(e,t)=>"object"==typeof t&&null!==t&&"primitive"in t&&("function"==typeof t.primitive&&t.primitive()===e),Bt=(e,t)=>"object"==typeof t&&null!==t&&"classes"in t&&(Array.isArray(t.classes)||t.classes instanceof oe.ON)&&t.classes.includes(e),Dt=(e,t)=>"object"==typeof t&&null!==t&&"element"in t&&t.element===e,Vt=e=>e({hasMethod:$t,hasBasicElementProps:qt,primitiveEq:Lt,isElementType:Dt,hasClass:Bt}),zt=Vt((({hasBasicElementProps:e,primitiveEq:t})=>n=>n instanceof oe.W_||e(n)&&t(void 0,n))),Ut=Vt((({hasBasicElementProps:e,primitiveEq:t})=>n=>n instanceof oe.RP||e(n)&&t("string",n))),Gt=Vt((({hasBasicElementProps:e,primitiveEq:t})=>n=>n instanceof oe.VL||e(n)&&t("number",n))),Wt=Vt((({hasBasicElementProps:e,primitiveEq:t})=>n=>n instanceof oe.zr||e(n)&&t("null",n))),Jt=Vt((({hasBasicElementProps:e,primitiveEq:t})=>n=>n instanceof oe.hh||e(n)&&t("boolean",n))),Kt=Vt((({hasBasicElementProps:e,primitiveEq:t,hasMethod:n})=>r=>r instanceof oe.Sb||e(r)&&t("object",r)&&n("keys",r)&&n("values",r)&&n("items",r))),Ht=Vt((({hasBasicElementProps:e,primitiveEq:t,hasMethod:n})=>r=>r instanceof oe.ON&&!(r instanceof oe.Sb)||e(r)&&t("array",r)&&n("push",r)&&n("unshift",r)&&n("map",r)&&n("reduce",r))),Zt=Vt((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof oe.c6||e(r)&&t("member",r)&&n(void 0,r))),Xt=Vt((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof oe.EA||e(r)&&t("link",r)&&n(void 0,r))),Yt=Vt((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof oe.tK||e(r)&&t("ref",r)&&n(void 0,r))),Qt=Vt((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof et||e(r)&&t("annotation",r)&&n("array",r))),en=Vt((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof nt||e(r)&&t("comment",r)&&n("string",r))),tn=Vt((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof st||e(r)&&t("parseResult",r)&&n("array",r))),nn=Vt((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof ot||e(r)&&t("sourceMap",r)&&n("array",r))),rn=e=>Dt("object",e)||Dt("array",e)||Dt("boolean",e)||Dt("number",e)||Dt("string",e)||Dt("null",e)||Dt("member",e),sn=e=>nn(e.meta.get("sourceMap")),on=(e,t)=>{if(0===e.length)return!0;const n=t.attributes.get("symbols");return!!Ht(n)&&Tt(Ft(n.toValue()),e)},an=(e,t)=>0===e.length||Tt(Ft(t.classes.toValue()),e);const cn=class extends xt{constructor(e,t){super(e,t),void 0!==t&&(this.value=t.value)}};const un=class extends cn{};const ln=class extends cn{},pn=(e,t={})=>{const{visited:n=new WeakMap}=t,r={...t,visited:n};if(n.has(e))return n.get(e);if(e instanceof oe.KeyValuePair){const{key:t,value:s}=e,i=zt(t)?pn(t,r):t,o=zt(s)?pn(s,r):s,a=new oe.KeyValuePair(i,o);return n.set(e,a),a}if(e instanceof oe.rm){const t=e=>pn(e,r),s=[...e].map(t),i=new oe.rm(s);return n.set(e,i),i}if(e instanceof oe.O4){const t=e=>pn(e,r),s=[...e].map(t),i=new oe.O4(s);return n.set(e,i),i}if(zt(e)){const t=fn(e);if(n.set(e,t),e.content)if(zt(e.content))t.content=pn(e.content,r);else if(e.content instanceof oe.KeyValuePair)t.content=pn(e.content,r);else if(Array.isArray(e.content)){const n=e=>pn(e,r);t.content=e.content.map(n)}else t.content=e.content;else t.content=e.content;return t}throw new un("Value provided to cloneDeep function couldn't be cloned",{value:e})};pn.safe=e=>{try{return pn(e)}catch{return e}};const hn=e=>{const{key:t,value:n}=e;return new oe.KeyValuePair(t,n)},mn=e=>{const t=new e.constructor;if(t.element=e.element,e.meta.length>0&&(t._meta=pn(e.meta)),e.attributes.length>0&&(t._attributes=pn(e.attributes)),zt(e.content)){const n=e.content;t.content=mn(n)}else Array.isArray(e.content)?t.content=[...e.content]:e.content instanceof oe.KeyValuePair?t.content=hn(e.content):t.content=e.content;return t},fn=e=>{if(e instanceof oe.KeyValuePair)return hn(e);if(e instanceof oe.rm)return(e=>{const t=[...e];return new oe.rm(t)})(e);if(e instanceof oe.O4)return(e=>{const t=[...e];return new oe.O4(t)})(e);if(zt(e))return mn(e);throw new ln("Value provided to cloneShallow function couldn't be cloned",{value:e})};fn.safe=e=>{try{return fn(e)}catch{return e}};const dn=e=>Kt(e)?"ObjectElement":Ht(e)?"ArrayElement":Zt(e)?"MemberElement":Ut(e)?"StringElement":Jt(e)?"BooleanElement":Gt(e)?"NumberElement":Wt(e)?"NullElement":Xt(e)?"LinkElement":Yt(e)?"RefElement":void 0,_n=e=>zt(e)?fn(e):At(e),yn=ge(dn,pt),gn={ObjectElement:["content"],ArrayElement:["content"],MemberElement:["key","value"],StringElement:[],BooleanElement:[],NumberElement:[],NullElement:[],RefElement:[],LinkElement:[],Annotation:[],Comment:[],ParseResultElement:["content"],SourceMap:["content"]},bn=(Nt({props:{result:[],predicate:Mt,returnOnTrue:void 0,returnOnFalse:void 0},init({predicate:e=this.predicate,returnOnTrue:t=this.returnOnTrue,returnOnFalse:n=this.returnOnFalse}={}){this.result=[],this.predicate=e,this.returnOnTrue=t,this.returnOnFalse=n},methods:{enter(e){return this.predicate(e)?(this.result.push(e),this.returnOnTrue):this.returnOnFalse}}}),(e,t,{keyMap:n=gn,...r}={})=>kt(e,t,{keyMap:n,nodeTypeGetter:dn,nodePredicate:yn,nodeCloneFn:_n,...r}));bn[Symbol.for("nodejs.util.promisify.custom")]=async(e,t,{keyMap:n=gn,...r}={})=>kt[Symbol.for("nodejs.util.promisify.custom")](e,t,{keyMap:n,nodeTypeGetter:dn,nodePredicate:yn,nodeCloneFn:_n,...r});const vn=u((function(e,t,n){var r,s={};for(r in n=n||{},t=t||{})T(r,t)&&(s[r]=T(r,n)?e(r,t[r],n[r]):t[r]);for(r in n)T(r,n)&&!T(r,s)&&(s[r]=n[r]);return s}));const wn=u((function e(t,n,r){return vn((function(n,r,s){return Se(r)&&Se(s)?e(t,r,s):t(n,r,s)}),n,r)}));const En=c((function(e,t){return wn((function(e,t,n){return n}),e,t)}));const xn=_e(0,-1);const jn=c((function(e,t){return e.apply(this,t)}));const Sn=K(Ke);var On=a((function(e){return null!=e&&"function"==typeof e["fantasy-land/empty"]?e["fantasy-land/empty"]():null!=e&&null!=e.constructor&&"function"==typeof e.constructor["fantasy-land/empty"]?e.constructor["fantasy-land/empty"]():null!=e&&"function"==typeof e.empty?e.empty():null!=e&&null!=e.constructor&&"function"==typeof e.constructor.empty?e.constructor.empty():b(e)?[]:h(e)?"":Se(e)?{}:$(e)?function(){return arguments}():function(e){var t=Object.prototype.toString.call(e);return"[object Uint8ClampedArray]"===t||"[object Int8Array]"===t||"[object Uint8Array]"===t||"[object Int16Array]"===t||"[object Uint16Array]"===t||"[object Int32Array]"===t||"[object Uint32Array]"===t||"[object Float32Array]"===t||"[object Float64Array]"===t||"[object BigInt64Array]"===t||"[object BigUint64Array]"===t}(e)?e.constructor.from(""):void 0}));const Pn=On;const An=a((function(e){return null!=e&&te(e,Pn(e))}));const kn=C(1,Ke(Array.isArray)?Array.isArray:ge(Y,ve("Array")));const Nn=$e(kn,An);const Mn=C(3,(function(e,t,n){var r=Ie(e,n),s=Ie(xn(e),n);if(!Sn(r)&&!Nn(e)){var i=ue(r,s);return jn(i,t)}})),Rn=()=>({predicates:{...e},namespace:lt}),In={toolboxCreator:Rn,visitorOptions:{nodeTypeGetter:dn,exposeEdits:!0}},Cn=(e,t,n={})=>{if(0===t.length)return e;const r=En(In,n),{toolboxCreator:s,visitorOptions:i}=r,o=s(),a=t.map((e=>e(o))),c=((e,{visitFnGetter:t=jt,nodeTypeGetter:n=Ot,breakSymbol:r=St,deleteNodeSymbol:s=null,skipVisitingNodeSymbol:i=!1,exposeEdits:o=!1}={})=>{const a=Symbol("skip"),c=new Array(e.length).fill(a);return{enter(u,...l){let p=u,h=!1;for(let m=0;m<e.length;m+=1)if(c[m]===a){const a=t(e[m],n(p),!1);if("function"==typeof a){const t=a.call(e[m],p,...l);if(t===i)c[m]=u;else if(t===r)c[m]=r;else{if(t===s)return t;if(void 0!==t){if(!o)return t;p=t,h=!0}}}}return h?p:void 0},leave(s,...o){for(let u=0;u<e.length;u+=1)if(c[u]===a){const a=t(e[u],n(s),!0);if("function"==typeof a){const t=a.call(e[u],s,...o);if(t===r)c[u]=r;else if(void 0!==t&&t!==i)return t}}else c[u]===s&&(c[u]=a)}}})(a.map(d({},"visitor")),{...i});a.forEach(Mn(["pre"],[]));const u=bn(e,c,i);return a.forEach(Mn(["post"],[])),u},Tn=(e,{Type:t,plugins:n=[]})=>{const r=new t(e);return Cn(r,n,{toolboxCreator:Rn,visitorOptions:{nodeTypeGetter:dn}})},Fn=e=>(t,n={})=>Tn(t,{...n,Type:e});oe.Sb.refract=Fn(oe.Sb),oe.ON.refract=Fn(oe.ON),oe.RP.refract=Fn(oe.RP),oe.hh.refract=Fn(oe.hh),oe.zr.refract=Fn(oe.zr),oe.VL.refract=Fn(oe.VL),oe.EA.refract=Fn(oe.EA),oe.tK.refract=Fn(oe.tK),et.refract=Fn(et),nt.refract=Fn(nt),st.refract=Fn(st),ot.refract=Fn(ot);const $n=class{hasError=!1;children=[];constructor(e){this.type=e.nodeType,this.startPosition=e.startPosition,this.endPosition=e.endPosition,this.startIndex=e.startIndex,this.endIndex=e.endIndex,this.text=e.nodeText,this.isNamed=e.nodeIsNamed,this.isMissing=e.nodeIsMissing}get keyNode(){if("pair"===this.type)return this.children.find((e=>"key"===e.fieldName))}get valueNode(){if("pair"===this.type)return this.children.find((e=>"value"===e.fieldName))}setFieldName(e){return"function"==typeof e.currentFieldName?this.fieldName=e.currentFieldName():this.fieldName=e.currentFieldName,this}setHasError(e){return"function"==typeof e.currentNode?this.hasError=e.currentNode().hasError():this.hasError=e.currentNode.hasError(),this}pushChildren(...e){this.children.push(...e)}},qn=Nt({props:{sourceMap:!1,annotations:[]},init(){this.annotations=[];const e=(e,t)=>{if(!this.sourceMap)return;const n=new ot,r=(e=>{const t=new oe.ON([e.startPosition.row,e.startPosition.column,e.startIndex]),n=new oe.ON([e.endPosition.row,e.endPosition.column,e.endIndex]);return t.classes.push("position"),n.classes.push("position"),[t,n]})(e);if(null!==r){const[e,t]=r;n.push(e),n.push(t)}n.astNode=e,t.meta.set("sourceMap",n)};this.enter=function(t){if(t instanceof $n&&!t.isNamed&&t.isMissing){const n=t.type||t.text,r=new et(`(Missing ${n})`);r.classes.push("warning"),e(t,r),this.annotations.push(r)}return null},this.document=function(t){const n=new st;return n._content=t.children,e(t,n),n},this.ParseResultElement={leave(e){const t=e.findElements(rn);if(t.length>0){t[0].classes.push("result")}this.annotations.forEach((t=>{e.push(t)})),this.annotations=[]}},this.object=function(t){const n=new oe.Sb;return n._content=t.children,e(t,n),n},this.array=function(t){const n=new oe.ON;return n._content=t.children,e(t,n),n},this.pair=function(t){const n=new oe.c6;return n.content.key=t.keyNode,n.content.value=t.valueNode,e(t,n),t.children.length>3&&t.children.filter((e=>"ERROR"===e.type)).forEach((e=>{this.ERROR(e,t,[],[t])})),n},this.string=function(t){const n=new oe.RP(JSON.parse(t.text));return e(t,n),n},this.number=function(t){const n=new oe.VL(Number(t.text));return e(t,n),n},this.null=function(t){const n=new oe.zr;return e(t,n),n},this.true=function(t){const n=new oe.hh(!0);return e(t,n),n},this.false=function(t){const n=new oe.hh(!1);return e(t,n),n},this.ERROR=function(t,n,r,s){const i=!t.hasError,o=t.text,a=new et(i?`(Unexpected ${o})`:`(Error ${o})`);if(a.classes.push("error"),e(t,a),0===s.length){const e=new st;return e.push(a),e}return this.annotations.push(a),null}}}),Ln=qn;class Bn{constructor(e){this.cursor=e}document(){return new $n(this.cursor)}object(){return new $n(this.cursor).setFieldName(this.cursor)}array(){return new $n(this.cursor).setFieldName(this.cursor)}pair(){return new $n(this.cursor)}string(){return new $n(this.cursor).setFieldName(this.cursor)}number(){return new $n(this.cursor).setFieldName(this.cursor)}null(){return new $n(this.cursor).setFieldName(this.cursor)}true(){return new $n(this.cursor).setFieldName(this.cursor)}false(){return new $n(this.cursor).setFieldName(this.cursor)}ERROR(){return new $n(this.cursor).setHasError(this.cursor)}*[Symbol.iterator](){let e;if(e=this.cursor.nodeType in this?this[this.cursor.nodeType]():new $n(this.cursor),this.cursor.gotoFirstChild()){const[t]=new Bn(this.cursor);for(e.pushChildren(t);this.cursor.gotoNextSibling();){const t=new Bn(this.cursor);e.pushChildren(...t)}this.cursor.gotoParent()}yield e}}const Dn=Bn,Vn={document:["children"],object:["children"],array:["children"],string:["children"],property:["children"],key:["children"],error:["children"],...gn},zn=e=>tn(e)?"ParseResultElement":zt(e)?dn(e):Ot(e),Un=e=>zt(e)||Pt(e),Gn=(e,{sourceMap:t=!1}={})=>{const n=Ln(),r=e.walk(),s=new Dn(r),[i]=Array.from(s);return kt(i,n,{keyMap:Vn,nodeTypeGetter:zn,nodePredicate:Un,state:{sourceMap:t}})},Wn=Nt({statics:{type:"point"},props:{type:"point",row:null,column:null,char:null},init({row:e=null,column:t=null,char:n=null}={}){this.row=e,this.column=t,this.char=n}}),Jn=Nt({statics:{type:"position"},props:{type:"position",start:null,end:null},init({start:e=null,end:t=null}={}){this.start=e,this.end=t}}),Kn=Nt({props:{type:null,position:null,children:[]},init({children:e=[],position:t=null,isMissing:n=!1}={},{stamp:r={}}){this.type=r.type,this.isMissing=n,this.children=e,this.position=t},methods:{clone(){const e=Object.create(Object.getPrototypeOf(this));return Object.getOwnPropertyNames(this).forEach((t=>{const n=Object.getOwnPropertyDescriptor(this,t);Object.defineProperty(e,t,n)})),e}}}),Hn=Nt(Kn,{statics:{type:"literal"},props:{value:null},init({value:e=null}={}){this.value=e}});const Zn=m(0),Xn=Nt(Kn),Yn=Nt(Xn,{statics:{type:"document"},methods:{get child(){return Zn(this.children)}}}),Qn=Nt(Kn,{statics:{type:"parseResult"},methods:{get rootNode(){return Zn(this.children)}}}),er=(e,t)=>(null==t?void 0:t.type)===e,tr=(er.bind(void 0,"literal"),er.bind(void 0,"position"),er.bind(void 0,"point"),er.bind(void 0,"parseResult"),er.bind(void 0,"document"),er.bind(void 0,"string")),nr=er.bind(void 0,"false"),rr=er.bind(void 0,"true"),sr=er.bind(void 0,"null"),ir=er.bind(void 0,"number"),or=er.bind(void 0,"array"),ar=er.bind(void 0,"object"),cr=er.bind(void 0,"stringContent"),ur=er.bind(void 0,"escapeSequence"),lr=er.bind(void 0,"property"),pr=er.bind(void 0,"key"),hr=Nt(Xn,{statics:{type:"object"},methods:{get properties(){return this.children.filter(lr)}}}),mr=Nt(Xn,{statics:{type:"string"},methods:{get value(){return 1===this.children.length?this.children[0].value:this.children.filter((e=>cr(e)||ur(e))).reduce(((e,t)=>e+t.value),"")}}}),fr=Nt(mr,{statics:{type:"key"}}),dr=Nt(Xn,{statics:{type:"property"},methods:{get key(){return this.children.find(pr)},get value(){return this.children.find((e=>nr(e)||rr(e)||sr(e)||ir(e)||tr(e)||or(e)||ar(e)))}}}),_r=Nt(Xn,{statics:{type:"array"},methods:{get items(){return this.children.filter((e=>nr(e)||rr(e)||sr(e)||ir(e)||tr(e)||or(e)||ar))}}}),yr=Nt(Xn,{statics:{type:"value"},props:{value:null},init({value:e=null}={}){this.value=e}}),gr=Nt(yr,{statics:{type:"stringContent"}}),br=Nt(yr,{statics:{type:"number"}}),vr=Nt(yr,{statics:{type:"null"}}),wr=Nt(yr,{statics:{type:"true"}}),Er=Nt(yr,{statics:{type:"false"}}),xr=Nt(Kn,{statics:{type:"error"},props:{value:null,isUnexpected:!1},init({value:e=null,isUnexpected:t=!1}={}){this.value=e,this.isUnexpected=t}}),jr={document:["children"],object:["children"],array:["children"],string:["children"],property:["children"],key:["children"],error:["children"]},Sr=Nt({init(){const e=e=>{const t=Wn({row:e.startPosition.row,column:e.startPosition.column,char:e.startIndex}),n=Wn({row:e.endPosition.row,column:e.endPosition.column,char:e.endIndex});return Jn({start:t,end:n})};this.enter=function(t){if(t instanceof $n&&!t.isNamed){const n=e(t),r=t.type||t.text,{isMissing:s}=t;return Hn({value:r,position:n,isMissing:s})}},this.document={enter(t){const n=e(t);return Yn({children:t.children,position:n,isMissing:t.isMissing})},leave:e=>Qn({children:[e]})},this.object=function(t){const n=e(t);return hr({children:t.children,position:n,isMissing:t.isMissing})},this.pair=function(t){const n=e(t),r=t.children.slice(1),{keyNode:s}=t,i=fr({children:(null==s?void 0:s.children)||[],position:null!=s?e(s):null,isMissing:null!=s&&s.isMissing});return dr({children:[i,...r],position:n,isMissing:t.isMissing})},this.array=function(t){const n=e(t);return _r({children:t.children,position:n,isMissing:t.isMissing})},this.string=function(t){const n=e(t),r=gr({value:JSON.parse(t.text)});return mr({children:[r],position:n,isMissing:t.isMissing})},this.number=function(t){const n=e(t),r=t.text;return br({value:r,position:n,isMissing:t.isMissing})},this.null=function(t){const n=e(t),r=t.text;return vr({value:r,position:n,isMissing:t.isMissing})},this.true=function(t){const n=e(t),r=t.text;return wr({value:r,position:n,isMissing:t.isMissing})},this.false=function(t){const n=e(t),r=t.text;return Er({value:r,position:n,isMissing:t.isMissing})},this.ERROR=function(t,n,r,s){const i=e(t),o=xr({children:t.children,position:i,isUnexpected:!t.hasError,isMissing:t.isMissing,value:t.text});return 0===s.length?Qn({children:[o]}):o}}}),Or=Sr,Pr={[Qn.type]:["children"],[Yn.type]:["children"],[hr.type]:["children"],[dr.type]:["children"],[_r.type]:["children"],[xr.type]:["children"],...gn},Ar=e=>tn(e)?"ParseResultElement":zt(e)?dn(e):Ot(e),kr=e=>zt(e)||Pt(e),Nr=Nt({props:{sourceMap:!1,annotations:[]},init(){this.annotation=[];const e=(e,t)=>{if(!this.sourceMap)return;const n=new ot;n.position=e.position,n.astNode=e,t.meta.set("sourceMap",n)};this.document=function(e){const t=new st;return t._content=e.children,t},this.ParseResultElement={leave(e){const t=e.findElements(rn);if(t.length>0){t[0].classes.push("result")}this.annotations.forEach((t=>{e.push(t)})),this.annotations=[]}},this.object=function(t){const n=new oe.Sb;return n._content=t.children,e(t,n),n},this.property=function(t){const n=new oe.c6;return n.content.key=t.key,n.content.value=t.value,e(t,n),t.children.length>3&&t.children.filter((e=>"error"===e.type)).forEach((e=>{this.error(e,t,[],[t])})),n},this.key=function(t){const n=new oe.RP(t.value);return e(t,n),n},this.array=function(t){const n=new oe.ON;return n._content=t.children,e(t,n),n},this.string=function(t){const n=new oe.RP(t.value);return e(t,n),n},this.number=function(t){const n=new oe.VL(Number(t.value));return e(t,n),n},this.null=function(t){const n=new oe.zr;return e(t,n),n},this.true=function(t){const n=new oe.hh(!0);return e(t,n),n},this.false=function(t){const n=new oe.hh(!1);return e(t,n),n},this.literal=function(t){if(t.isMissing){const n=`(Missing ${t.value})`,r=new et(n);r.classes.push("warning"),e(t,r),this.annotations.push(r)}return null},this.error=function(t,n,r,s){const i=t.isUnexpected?`(Unexpected ${t.value})`:`(Error ${t.value})`,o=new et(i);if(o.classes.push("error"),e(t,o),0===s.length){const e=new st;return e.push(o),e}return this.annotations.push(o),null}}}),Mr=Nr,Rr=(e,{sourceMap:t=!1}={})=>{const n=e.walk(),r=new Dn(n),[s]=Array.from(r),i=Or(),o=Mr(),a=kt(s,i,{keyMap:jr,state:{sourceMap:t}});return kt(a.rootNode,o,{keyMap:Pr,nodeTypeGetter:Ar,nodePredicate:kr,state:{sourceMap:t}})},Ir=(ut(),/(?<true>^\s*true\s*$)|(?<false>^\s*false\s*$)|(?<null>^\s*null\s*$)|(?<number>^\s*\d+\s*$)|(?<object>^\s*{\s*)|(?<array>^\s*\[\s*)|(?<string>^\s*"(((?=\\)\\(["\\/bfnrt]|u[0-9a-fA-F]{4}))|[^"\\\x00-\x1F\x7F])*"\s*$)/);class Cr extends oe.Sb{constructor(e,t,n){super(e,t,n),this.element="callback"}}const Tr=Cr;class Fr extends oe.Sb{constructor(e,t,n){super(e,t,n),this.element="components"}get schemas(){return this.get("schemas")}set schemas(e){this.set("schemas",e)}get responses(){return this.get("responses")}set responses(e){this.set("responses",e)}get parameters(){return this.get("parameters")}set parameters(e){this.set("parameters",e)}get examples(){return this.get("examples")}set examples(e){this.set("examples",e)}get requestBodies(){return this.get("requestBodies")}set requestBodies(e){this.set("requestBodies",e)}get headers(){return this.get("headers")}set headers(e){this.set("headers",e)}get securitySchemes(){return this.get("securitySchemes")}set securitySchemes(e){this.set("securitySchemes",e)}get links(){return this.get("links")}set links(e){this.set("links",e)}get callbacks(){return this.get("callbacks")}set callbacks(e){this.set("callbacks",e)}}const $r=Fr;class qr extends oe.Sb{constructor(e,t,n){super(e,t,n),this.element="contact"}get name(){return this.get("name")}set name(e){this.set("name",e)}get url(){return this.get("url")}set url(e){this.set("url",e)}get email(){return this.get("email")}set email(e){this.set("email",e)}}const Lr=qr;class Br extends oe.Sb{constructor(e,t,n){super(e,t,n),this.element="discriminator"}get propertyName(){return this.get("propertyName")}set propertyName(e){this.set("propertyName",e)}get mapping(){return this.get("mapping")}set mapping(e){this.set("mapping",e)}}const Dr=Br;class Vr extends oe.Sb{constructor(e,t,n){super(e,t,n),this.element="encoding"}get contentType(){return this.get("contentType")}set contentType(e){this.set("contentType",e)}get headers(){return this.get("headers")}set headers(e){this.set("headers",e)}get style(){return this.get("style")}set style(e){this.set("style",e)}get explode(){return this.get("explode")}set explode(e){this.set("explode",e)}get allowedReserved(){return this.get("allowedReserved")}set allowedReserved(e){this.set("allowedReserved",e)}}const zr=Vr;class Ur extends oe.Sb{constructor(e,t,n){super(e,t,n),this.element="example"}get summary(){return this.get("summary")}set summary(e){this.set("summary",e)}get description(){return this.get("description")}set description(e){this.set("description",e)}get value(){return this.get("value")}set value(e){this.set("value",e)}get externalValue(){return this.get("externalValue")}set externalValue(e){this.set("externalValue",e)}}const Gr=Ur;class Wr extends oe.Sb{constructor(e,t,n){super(e,t,n),this.element="externalDocumentation"}get description(){return this.get("description")}set description(e){this.set("description",e)}get url(){return this.get("url")}set url(e){this.set("url",e)}}const Jr=Wr;class Kr extends oe.Sb{constructor(e,t,n){super(e,t,n),this.element="header"}get required(){return this.hasKey("required")?this.get("required"):new oe.hh(!1)}set required(e){this.set("required",e)}get deprecated(){return this.hasKey("deprecated")?this.get("deprecated"):new oe.hh(!1)}set deprecated(e){this.set("deprecated",e)}get allowEmptyValue(){return this.get("allowEmptyValue")}set allowEmptyValue(e){this.set("allowEmptyValue",e)}get style(){return this.get("style")}set style(e){this.set("style",e)}get explode(){return this.get("explode")}set explode(e){this.set("explode",e)}get allowReserved(){return this.get("allowReserved")}set allowReserved(e){this.set("allowReserved",e)}get schema(){return this.get("schema")}set schema(e){this.set("schema",e)}get example(){return this.get("example")}set example(e){this.set("example",e)}get examples(){return this.get("examples")}set examples(e){this.set("examples",e)}get contentProp(){return this.get("content")}set contentProp(e){this.set("content",e)}}Object.defineProperty(Kr.prototype,"description",{get(){return this.get("description")},set(e){this.set("description",e)},enumerable:!0});const Hr=Kr;class Zr extends oe.Sb{constructor(e,t,n){super(e,t,n),this.element="info",this.classes.push("info")}get title(){return this.get("title")}set title(e){this.set("title",e)}get description(){return this.get("description")}set description(e){this.set("description",e)}get termsOfService(){return this.get("termsOfService")}set termsOfService(e){this.set("termsOfService",e)}get contact(){return this.get("contact")}set contact(e){this.set("contact",e)}get license(){return this.get("license")}set license(e){this.set("license",e)}get version(){return this.get("version")}set version(e){this.set("version",e)}}const Xr=Zr;class Yr extends oe.Sb{constructor(e,t,n){super(e,t,n),this.element="license"}get name(){return this.get("name")}set name(e){this.set("name",e)}get url(){return this.get("url")}set url(e){this.set("url",e)}}const Qr=Yr;class es extends oe.Sb{constructor(e,t,n){super(e,t,n),this.element="link"}get operationRef(){return this.get("operationRef")}set operationRef(e){this.set("operationRef",e)}get operationId(){return this.get("operationId")}set operationId(e){this.set("operationId",e)}get operation(){var e,t;return Ut(this.operationRef)?null===(e=this.operationRef)||void 0===e?void 0:e.meta.get("operation"):Ut(this.operationId)?null===(t=this.operationId)||void 0===t?void 0:t.meta.get("operation"):void 0}set operation(e){this.set("operation",e)}get parameters(){return this.get("parameters")}set parameters(e){this.set("parameters",e)}get requestBody(){return this.get("requestBody")}set requestBody(e){this.set("requestBody",e)}get description(){return this.get("description")}set description(e){this.set("description",e)}get server(){return this.get("server")}set server(e){this.set("server",e)}}const ts=es;class ns extends oe.Sb{constructor(e,t,n){super(e,t,n),this.element="mediaType"}get schema(){return this.get("schema")}set schema(e){this.set("schema",e)}get example(){return this.get("example")}set example(e){this.set("example",e)}get examples(){return this.get("examples")}set examples(e){this.set("examples",e)}get encoding(){return this.get("encoding")}set encoding(e){this.set("encoding",e)}}const rs=ns;class ss extends oe.Sb{constructor(e,t,n){super(e,t,n),this.element="oAuthFlow"}get authorizationUrl(){return this.get("authorizationUrl")}set authorizationUrl(e){this.set("authorizationUrl",e)}get tokenUrl(){return this.get("tokenUrl")}set tokenUrl(e){this.set("tokenUrl",e)}get refreshUrl(){return this.get("refreshUrl")}set refreshUrl(e){this.set("refreshUrl",e)}get scopes(){return this.get("scopes")}set scopes(e){this.set("scopes",e)}}const is=ss;class os extends oe.Sb{constructor(e,t,n){super(e,t,n),this.element="oAuthFlows"}get implicit(){return this.get("implicit")}set implicit(e){this.set("implicit",e)}get password(){return this.get("password")}set password(e){this.set("password",e)}get clientCredentials(){return this.get("clientCredentials")}set clientCredentials(e){this.set("clientCredentials",e)}get authorizationCode(){return this.get("authorizationCode")}set authorizationCode(e){this.set("authorizationCode",e)}}const as=os;class cs extends oe.RP{constructor(e,t,n){super(e,t,n),this.element="openapi",this.classes.push("spec-version"),this.classes.push("version")}}const us=cs;class ls extends oe.Sb{constructor(e,t,n){super(e,t,n),this.element="openApi3_0",this.classes.push("api")}get openapi(){return this.get("openapi")}set openapi(e){this.set("openapi",e)}get info(){return this.get("info")}set info(e){this.set("info",e)}get servers(){return this.get("servers")}set servers(e){this.set("servers",e)}get paths(){return this.get("paths")}set paths(e){this.set("paths",e)}get components(){return this.get("components")}set components(e){this.set("components",e)}get security(){return this.get("security")}set security(e){this.set("security",e)}get tags(){return this.get("tags")}set tags(e){this.set("tags",e)}get externalDocs(){return this.get("externalDocs")}set externalDocs(e){this.set("externalDocs",e)}}const ps=ls;class hs extends oe.Sb{constructor(e,t,n){super(e,t,n),this.element="operation"}get tags(){return this.get("tags")}set tags(e){this.set("tags",e)}get summary(){return this.get("summary")}set summary(e){this.set("summary",e)}get description(){return this.get("description")}set description(e){this.set("description",e)}set externalDocs(e){this.set("externalDocs",e)}get externalDocs(){return this.get("externalDocs")}get operationId(){return this.get("operationId")}set operationId(e){this.set("operationId",e)}get parameters(){return this.get("parameters")}set parameters(e){this.set("parameters",e)}get requestBody(){return this.get("requestBody")}set requestBody(e){this.set("requestBody",e)}get responses(){return this.get("responses")}set responses(e){this.set("responses",e)}get callbacks(){return this.get("callbacks")}set callbacks(e){this.set("callbacks",e)}get deprecated(){return this.hasKey("deprecated")?this.get("deprecated"):new oe.hh(!1)}set deprecated(e){this.set("deprecated",e)}get security(){return this.get("security")}set security(e){this.set("security",e)}get servers(){return this.get("severs")}set servers(e){this.set("servers",e)}}const ms=hs;class fs extends oe.Sb{constructor(e,t,n){super(e,t,n),this.element="parameter"}get name(){return this.get("name")}set name(e){this.set("name",e)}get in(){return this.get("in")}set in(e){this.set("in",e)}get required(){return this.hasKey("required")?this.get("required"):new oe.hh(!1)}set required(e){this.set("required",e)}get deprecated(){return this.hasKey("deprecated")?this.get("deprecated"):new oe.hh(!1)}set deprecated(e){this.set("deprecated",e)}get allowEmptyValue(){return this.get("allowEmptyValue")}set allowEmptyValue(e){this.set("allowEmptyValue",e)}get style(){return this.get("style")}set style(e){this.set("style",e)}get explode(){return this.get("explode")}set explode(e){this.set("explode",e)}get allowReserved(){return this.get("allowReserved")}set allowReserved(e){this.set("allowReserved",e)}get schema(){return this.get("schema")}set schema(e){this.set("schema",e)}get example(){return this.get("example")}set example(e){this.set("example",e)}get examples(){return this.get("examples")}set examples(e){this.set("examples",e)}get contentProp(){return this.get("content")}set contentProp(e){this.set("content",e)}}Object.defineProperty(fs.prototype,"description",{get(){return this.get("description")},set(e){this.set("description",e)},enumerable:!0});const ds=fs;class _s extends oe.Sb{constructor(e,t,n){super(e,t,n),this.element="pathItem"}get $ref(){return this.get("$ref")}set $ref(e){this.set("$ref",e)}get summary(){return this.get("summary")}set summary(e){this.set("summary",e)}get description(){return this.get("description")}set description(e){this.set("description",e)}get GET(){return this.get("get")}set GET(e){this.set("GET",e)}get PUT(){return this.get("put")}set PUT(e){this.set("PUT",e)}get POST(){return this.get("post")}set POST(e){this.set("POST",e)}get DELETE(){return this.get("delete")}set DELETE(e){this.set("DELETE",e)}get OPTIONS(){return this.get("options")}set OPTIONS(e){this.set("OPTIONS",e)}get HEAD(){return this.get("head")}set HEAD(e){this.set("HEAD",e)}get PATCH(){return this.get("patch")}set PATCH(e){this.set("PATCH",e)}get TRACE(){return this.get("trace")}set TRACE(e){this.set("TRACE",e)}get servers(){return this.get("servers")}set servers(e){this.set("servers",e)}get parameters(){return this.get("parameters")}set parameters(e){this.set("parameters",e)}}const ys=_s;class gs extends oe.Sb{constructor(e,t,n){super(e,t,n),this.element="paths"}}const bs=gs;class vs extends oe.Sb{constructor(e,t,n){super(e,t,n),this.element="reference",this.classes.push("openapi-reference")}get $ref(){return this.get("$ref")}set $ref(e){this.set("$ref",e)}}const ws=vs;class Es extends oe.Sb{constructor(e,t,n){super(e,t,n),this.element="requestBody"}get description(){return this.get("description")}set description(e){this.set("description",e)}get contentProp(){return this.get("content")}set contentProp(e){this.set("content",e)}get required(){return this.hasKey("required")?this.get("required"):new oe.hh(!1)}set required(e){this.set("required",e)}}const xs=Es;class js extends oe.Sb{constructor(e,t,n){super(e,t,n),this.element="response"}get description(){return this.get("description")}set description(e){this.set("description",e)}get headers(){return this.get("headers")}set headers(e){this.set("headers",e)}get contentProp(){return this.get("content")}set contentProp(e){this.set("content",e)}get links(){return this.get("links")}set links(e){this.set("links",e)}}const Ss=js;class Os extends oe.Sb{constructor(e,t,n){super(e,t,n),this.element="responses"}get default(){return this.get("default")}set default(e){this.set("default",e)}}const Ps=Os;const As=class extends gt{};class ks extends oe.Sb{constructor(e,t,n){super(e,t,n),this.element="JSONSchemaDraft4"}get idProp(){return this.get("id")}set idProp(e){this.set("id",e)}get $schema(){return this.get("$schema")}set $schema(e){this.set("$schema",e)}get multipleOf(){return this.get("multipleOf")}set multipleOf(e){this.set("multipleOf",e)}get maximum(){return this.get("maximum")}set maximum(e){this.set("maximum",e)}get exclusiveMaximum(){return this.get("exclusiveMaximum")}set exclusiveMaximum(e){this.set("exclusiveMaximum",e)}get minimum(){return this.get("minimum")}set minimum(e){this.set("minimum",e)}get exclusiveMinimum(){return this.get("exclusiveMinimum")}set exclusiveMinimum(e){this.set("exclusiveMinimum",e)}get maxLength(){return this.get("maxLength")}set maxLength(e){this.set("maxLength",e)}get minLength(){return this.get("minLength")}set minLength(e){this.set("minLength",e)}get pattern(){return this.get("pattern")}set pattern(e){this.set("pattern",e)}get additionalItems(){return this.get("additionalItems")}set additionalItems(e){this.set("additionalItems",e)}get items(){return this.get("items")}set items(e){this.set("items",e)}get maxItems(){return this.get("maxItems")}set maxItems(e){this.set("maxItems",e)}get minItems(){return this.get("minItems")}set minItems(e){this.set("minItems",e)}get uniqueItems(){return this.get("uniqueItems")}set uniqueItems(e){this.set("uniqueItems",e)}get maxProperties(){return this.get("maxProperties")}set maxProperties(e){this.set("maxProperties",e)}get minProperties(){return this.get("minProperties")}set minProperties(e){this.set("minProperties",e)}get required(){return this.get("required")}set required(e){this.set("required",e)}get properties(){return this.get("properties")}set properties(e){this.set("properties",e)}get additionalProperties(){return this.get("additionalProperties")}set additionalProperties(e){this.set("additionalProperties",e)}get patternProperties(){return this.get("patternProperties")}set patternProperties(e){this.set("patternProperties",e)}get dependencies(){return this.get("dependencies")}set dependencies(e){this.set("dependencies",e)}get enum(){return this.get("enum")}set enum(e){this.set("enum",e)}get type(){return this.get("type")}set type(e){this.set("type",e)}get allOf(){return this.get("allOf")}set allOf(e){this.set("allOf",e)}get anyOf(){return this.get("anyOf")}set anyOf(e){this.set("anyOf",e)}get oneOf(){return this.get("oneOf")}set oneOf(e){this.set("oneOf",e)}get not(){return this.get("not")}set not(e){this.set("not",e)}get definitions(){return this.get("definitions")}set definitions(e){this.set("definitions",e)}get title(){return this.get("title")}set title(e){this.set("title",e)}get description(){return this.get("description")}set description(e){this.set("description",e)}get default(){return this.get("default")}set default(e){this.set("default",e)}get format(){return this.get("format")}set format(e){this.set("format",e)}get base(){return this.get("base")}set base(e){this.set("base",e)}get links(){return this.get("links")}set links(e){this.set("links",e)}get media(){return this.get("media")}set media(e){this.set("media",e)}get readOnly(){return this.get("readOnly")}set readOnly(e){this.set("readOnly",e)}}const Ns=ks;class Ms extends oe.Sb{constructor(e,t,n){super(e,t,n),this.element="JSONReference",this.classes.push("json-reference")}get $ref(){return this.get("$ref")}set $ref(e){this.set("$ref",e)}}const Rs=Ms;class Is extends oe.Sb{constructor(e,t,n){super(e,t,n),this.element="media"}get binaryEncoding(){return this.get("binaryEncoding")}set binaryEncoding(e){this.set("binaryEncoding",e)}get type(){return this.get("type")}set type(e){this.set("type",e)}}const Cs=Is;class Ts extends oe.Sb{constructor(e,t,n){super(e,t,n),this.element="linkDescription"}get href(){return this.get("href")}set href(e){this.set("href",e)}get rel(){return this.get("rel")}set rel(e){this.set("rel",e)}get title(){return this.get("title")}set title(e){this.set("title",e)}get targetSchema(){return this.get("targetSchema")}set targetSchema(e){this.set("targetSchema",e)}get mediaType(){return this.get("mediaType")}set mediaType(e){this.set("mediaType",e)}get method(){return this.get("method")}set method(e){this.set("method",e)}get encType(){return this.get("encType")}set encType(e){this.set("encType",e)}get schema(){return this.get("schema")}set schema(e){this.set("schema",e)}}const Fs=Ts;const $s=c((function(e,t){return g((function(n,r){return n[r]=e(t[r],r,t),n}),{},z(t))}));const qs=a((function(e){return null==e}));const Ls=c((function(e,t){if(0===e.length||qs(t))return!1;for(var n=t,r=0;r<e.length;){if(qs(n)||!T(e[r],n))return!1;n=n[e[r]],r+=1}return!0}));var Bs=c((function(e,t){return Ls([e],t)}));const Ds=Bs;const Vs=u((function(e,t,n){return e(f(t,n))}));const zs=a((function(e){return C(e.length,e)}));const Us=c((function(e,t){return C(e+1,(function(){var n=arguments[e];if(null!=n&&Te(n[t]))return n[t].apply(n,Array.prototype.slice.call(arguments,0,e));throw new TypeError(Me(n)+' does not have a method named "'+t+'"')}))}));const Gs=Us(1,"split");var Ws=function(){function e(e,t){this.xf=t,this.f=e}return e.prototype["@@transducer/init"]=A,e.prototype["@@transducer/result"]=k,e.prototype["@@transducer/step"]=function(e,t){if(this.f){if(this.f(t))return e;this.f=null}return this.xf["@@transducer/step"](e,t)},e}();function Js(e){return function(t){return new Ws(e,t)}}const Ks=c(O(["dropWhile"],Js,(function(e,t){for(var n=0,r=t.length;n<r&&e(t[n]);)n+=1;return _e(n,1/0,t)})));const Hs=Us(1,"join");const Zs=zs((function(e,t){return ge(Gs(""),Ks(Ft(e)),Hs(""))(t)})),Xs=(e,t)=>{const n=l(e,t);return $s((e=>{if(Ye(e)&&Ds("$ref",e)&&Vs(pt,"$ref",e)){const t=Ie(["$ref"],e),r=Zs("#/",t);return Ie(r.split("/"),n)}return Ye(e)?Xs(e,n):e}),e)},Ys=Nt({props:{element:null},methods:{copyMetaAndAttributes(e,t){sn(e)&&t.meta.set("sourceMap",e.meta.get("sourceMap"))}}}),Qs=Nt(Ys,{methods:{enter(e){return this.element=pn(e),St}}});const ei=ne(re());const ti=function(){return!0},ni=e=>"string"==typeof(null==e?void 0:e.type)?e.type:dn(e),ri={EphemeralObject:["content"],EphemeralArray:["content"],...gn},si=(e,t,{keyMap:n=ri,...r}={})=>bn(e,t,{keyMap:n,nodeTypeGetter:ni,nodePredicate:ti,detectCycles:!1,deleteNodeSymbol:Symbol.for("delete-node"),skipVisitingNodeSymbol:Symbol.for("skip-visiting-node"),...r});si[Symbol.for("nodejs.util.promisify.custom")]=async(e,{keyMap:t=ri,...n}={})=>bn[Symbol.for("nodejs.util.promisify.custom")](e,visitor,{keyMap:t,nodeTypeGetter:ni,nodePredicate:ti,detectCycles:!1,deleteNodeSymbol:Symbol.for("delete-node"),skipVisitingNodeSymbol:Symbol.for("skip-visiting-node"),...n});const ii=class{type="EphemeralArray";content=[];reference=void 0;constructor(e){this.content=e,this.reference=[]}toReference(){return this.reference}toArray(){return this.reference.push(...this.content),this.reference}};const oi=class{type="EphemeralObject";content=[];reference=void 0;constructor(e){this.content=e,this.reference={}}toReference(){return this.reference}toObject(){return Object.assign(this.reference,Object.fromEntries(this.content))}},ai=Nt.init((function(){const e=new WeakMap;this.BooleanElement=function(e){return e.toValue()},this.NumberElement=function(e){return e.toValue()},this.StringElement=function(e){return e.toValue()},this.NullElement=function(){return null},this.ObjectElement={enter(t){if(e.has(t))return e.get(t).toReference();const n=new oi(t.content);return e.set(t,n),n}},this.EphemeralObject={leave:e=>e.toObject()},this.MemberElement={enter:e=>[e.key,e.value]},this.ArrayElement={enter(t){if(e.has(t))return e.get(t).toReference();const n=new ii(t.content);return e.set(t,n),n}},this.EphemeralArray={leave:e=>e.toArray()}})),ci=e=>zt(e)?Ut(e)||Gt(e)||Jt(e)||Wt(e)?e.toValue():si(e,ai()):e;const ui=c((function(e,t){for(var n={},r=0;r<e.length;)e[r]in t&&(n[e[r]]=t[e[r]]),r+=1;return n})),li=e=>{if(zt(e))return`${e.element.charAt(0).toUpperCase()+e.element.slice(1)}Element`},pi={JSONSchemaDraft4Element:["content"],JSONReferenceElement:["content"],MediaElement:["content"],LinkDescriptionElement:["content"],...gn},hi=Nt(Ys,{props:{specObj:null,passingOptionsNames:["specObj"]},init({specObj:e=this.specObj}){this.specObj=e},methods:{retrievePassingOptions(){return ui(this.passingOptionsNames,this)},retrieveFixedFields(e){const t=Ie(["visitors",...e,"fixedFields"],this.specObj);return"object"==typeof t&&null!==t?Object.keys(t):[]},retrieveVisitor(e){return Ce(Ke,["visitors",...e],this.specObj)?Ie(["visitors",...e],this.specObj):Ie(["visitors",...e,"$visitor"],this.specObj)},retrieveVisitorInstance(e,t={}){const n=this.retrievePassingOptions();return this.retrieveVisitor(e)({...n,...t})},toRefractedElement(e,t,n={}){const r=this.retrieveVisitorInstance(e,n),s=Object.getPrototypeOf(r);return se(this.fallbackVisitorPrototype)&&(this.fallbackVisitorPrototype=Object.getPrototypeOf(this.retrieveVisitorInstance(["value"]))),this.fallbackVisitorPrototype===s?pn(t):(bn(t,r,{keyMap:pi,nodeTypeGetter:li,...n}),r.element)}}}),mi=Nt(hi,{props:{specPath:ei,ignoredFields:[]},init({specPath:e=this.specPath,ignoredFields:t=this.ignoredFields}={}){this.specPath=e,this.ignoredFields=t},methods:{ObjectElement(e){const t=this.specPath(e),n=this.retrieveFixedFields(t);return e.forEach(((e,r,s)=>{if(Ut(r)&&n.includes(ci(r))&&!this.ignoredFields.includes(ci(r))){const n=this.toRefractedElement([...t,"fixedFields",ci(r)],e),i=new oe.c6(pn(r),n);this.copyMetaAndAttributes(s,i),i.classes.push("fixed-field"),this.element.content.push(i)}else this.ignoredFields.includes(ci(r))||this.element.content.push(pn(s))})),this.copyMetaAndAttributes(e,this.element),St}}}),fi=Nt(mi,Qs,{props:{specPath:ne(["document","objects","JSONSchema"])},init(){this.element=new Ns}}),di=Qs,_i=Qs,yi=Qs,gi=Qs,bi=Qs,vi=Qs,wi=Qs,Ei=Qs,xi=Qs,ji=Qs,Si=Nt({props:{parent:null},init({parent:e=this.parent}){this.parent=e,this.passingOptionsNames=[...this.passingOptionsNames,"parent"]}}),Oi=e=>Kt(e)&&e.hasKey("$ref"),Pi=Nt(hi,Si,Qs,{methods:{ObjectElement(e){const t=Oi(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"];return this.element=this.toRefractedElement(t,e),St},ArrayElement(e){return this.element=new oe.ON,this.element.classes.push("json-schema-items"),e.forEach((e=>{const t=Oi(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"],n=this.toRefractedElement(t,e);this.element.push(n)})),this.copyMetaAndAttributes(e,this.element),St}}}),Ai=Qs,ki=Qs,Ni=Qs,Mi=Qs,Ri=Qs,Ii=Nt(Qs,{methods:{ArrayElement(e){return this.element=pn(e),this.element.classes.push("json-schema-required"),St}}});const Ci=a((function(e){return C(fe(ze,0,Ue("length",e)),(function(){for(var t=0,n=e.length;t<n;){if(!e[t].apply(this,arguments))return!1;t+=1}return!0}))}));const Ti=c((function(e,t){return e||t}));const Fi=K(C(1,$e(Le,c((function(e,t){return Te(e)?function(){return e.apply(this,arguments)||t.apply(this,arguments)}:J(Ti)(e,t)}))(De,Ke))));const $i=K(An);const qi=Ci([pt,Fi,$i]),Li=Nt(hi,{props:{fieldPatternPredicate:Mt,specPath:ei,ignoredFields:[]},init({specPath:e=this.specPath,ignoredFields:t=this.ignoredFields}={}){this.specPath=e,this.ignoredFields=t},methods:{ObjectElement(e){return e.forEach(((e,t,n)=>{if(!this.ignoredFields.includes(ci(t))&&this.fieldPatternPredicate(ci(t))){const r=this.specPath(e),s=this.toRefractedElement(r,e),i=new oe.c6(pn(t),s);this.copyMetaAndAttributes(n,i),i.classes.push("patterned-field"),this.element.content.push(i)}else this.ignoredFields.includes(ci(t))||this.element.content.push(pn(n))})),this.copyMetaAndAttributes(e,this.element),St}}}),Bi=Nt(Li,{props:{fieldPatternPredicate:qi}}),Di=Nt(Bi,Si,Qs,{props:{specPath:e=>Oi(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"]},init(){this.element=new oe.Sb,this.element.classes.push("json-schema-properties")}}),Vi=Nt(Bi,Si,Qs,{props:{specPath:e=>Oi(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"]},init(){this.element=new oe.Sb,this.element.classes.push("json-schema-patternProperties")}}),zi=Nt(Bi,Si,Qs,{props:{specPath:e=>Oi(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"]},init(){this.element=new oe.Sb,this.element.classes.push("json-schema-dependencies")}}),Ui=Nt(Qs,{methods:{ArrayElement(e){return this.element=pn(e),this.element.classes.push("json-schema-enum"),St}}}),Gi=Nt(Qs,{methods:{StringElement(e){return this.element=pn(e),this.element.classes.push("json-schema-type"),St},ArrayElement(e){return this.element=pn(e),this.element.classes.push("json-schema-type"),St}}}),Wi=Nt(hi,Si,Qs,{init(){this.element=new oe.ON,this.element.classes.push("json-schema-allOf")},methods:{ArrayElement(e){return e.forEach((e=>{const t=Oi(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"],n=this.toRefractedElement(t,e);this.element.push(n)})),this.copyMetaAndAttributes(e,this.element),St}}}),Ji=Nt(hi,Si,Qs,{init(){this.element=new oe.ON,this.element.classes.push("json-schema-anyOf")},methods:{ArrayElement(e){return e.forEach((e=>{const t=Oi(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"],n=this.toRefractedElement(t,e);this.element.push(n)})),this.copyMetaAndAttributes(e,this.element),St}}}),Ki=Nt(hi,Si,Qs,{init(){this.element=new oe.ON,this.element.classes.push("json-schema-oneOf")},methods:{ArrayElement(e){return e.forEach((e=>{const t=Oi(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"],n=this.toRefractedElement(t,e);this.element.push(n)})),this.copyMetaAndAttributes(e,this.element),St}}}),Hi=Nt(Bi,Si,Qs,{props:{specPath:e=>Oi(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"]},init(){this.element=new oe.Sb,this.element.classes.push("json-schema-definitions")}}),Zi=Qs,Xi=Qs,Yi=Qs,Qi=Qs,eo=Qs,to=Nt(hi,Si,Qs,{init(){this.element=new oe.ON,this.element.classes.push("json-schema-links")},methods:{ArrayElement(e){return e.forEach((e=>{const t=this.toRefractedElement(["document","objects","LinkDescription"],e);this.element.push(t)})),this.copyMetaAndAttributes(e,this.element),St}}}),no=Qs,ro=Nt(mi,Qs,{props:{specPath:ne(["document","objects","JSONReference"])},init(){this.element=new Rs},methods:{ObjectElement(e){const t=mi.compose.methods.ObjectElement.call(this,e);return Ut(this.element.$ref)&&this.element.classes.push("reference-element"),t}}}),so=Nt(Qs,{methods:{StringElement(e){return this.element=pn(e),this.element.classes.push("reference-value"),St}}});const io=u((function(e,t,n){return C(Math.max(e.length,t.length,n.length),(function(){return e.apply(this,arguments)?t.apply(this,arguments):n.apply(this,arguments)}))}));const oo=a((function(e){return function(t,n){return e(t,n)?-1:e(n,t)?1:0}}));var ao=c((function(e,t){return Array.prototype.slice.call(t,0).sort(e)}));const co=ao;const uo=a(Rt);const lo=K(qs);const po=$e(kn,$i);function ho(e){return function(e){if(Array.isArray(e))return mo(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return mo(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return mo(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function mo(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var fo=ge(co(oo((function(e,t){return e.length>t.length}))),Zn,f("length")),_o=zs((function(e,t,n){var r=n.apply(void 0,ho(e));return lo(r)?uo(r):t}));const yo=io(po,(function(e){var t=fo(e);return C(t,(function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return fe(_o(n),void 0,e)}))}),re),go=Nt(hi,{props:{alternator:[]},methods:{enter(e){const t=this.alternator.map((({predicate:e,specPath:t})=>io(e,ne(t),re))),n=yo(t)(e);return this.element=this.toRefractedElement(n,e),St}}}),bo=Nt(go,{props:{alternator:[{predicate:Oi,specPath:["document","objects","JSONReference"]},{predicate:ti,specPath:["document","objects","JSONSchema"]}]}}),vo={visitors:{value:Qs,JSONSchemaOrJSONReferenceVisitor:bo,document:{objects:{JSONSchema:{$visitor:fi,fixedFields:{id:di,$schema:_i,multipleOf:yi,maximum:gi,exclusiveMaximum:bi,minimum:vi,exclusiveMinimum:wi,maxLength:Ei,minLength:xi,pattern:ji,additionalItems:bo,items:Pi,maxItems:Ai,minItems:ki,uniqueItems:Ni,maxProperties:Mi,minProperties:Ri,required:Ii,properties:Di,additionalProperties:bo,patternProperties:Vi,dependencies:zi,enum:Ui,type:Gi,allOf:Wi,anyOf:Ji,oneOf:Ki,not:bo,definitions:Hi,title:Zi,description:Xi,default:Yi,format:Qi,base:eo,links:to,media:{$ref:"#/visitors/document/objects/Media"},readOnly:no}},JSONReference:{$visitor:ro,fixedFields:{$ref:so}},Media:{$visitor:Nt(mi,Qs,{props:{specPath:ne(["document","objects","Media"])},init(){this.element=new Cs}}),fixedFields:{binaryEncoding:Qs,type:Qs}},LinkDescription:{$visitor:Nt(mi,Qs,{props:{specPath:ne(["document","objects","LinkDescription"])},init(){this.element=new Fs}}),fixedFields:{href:Qs,rel:Qs,title:Qs,targetSchema:bo,mediaType:Qs,method:Qs,encType:Qs,schema:bo}}}}}},wo=Vt((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof Ns||e(r)&&t("JSONSchemaDraft4",r)&&n("object",r))),Eo=Vt((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof Rs||e(r)&&t("JSONReference",r)&&n("object",r))),xo=Vt((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof Cs||e(r)&&t("media",r)&&n("object",r))),jo=Vt((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof Fs||e(r)&&t("linkDescription",r)&&n("object",r))),So={namespace:e=>{const{base:t}=e;return t.register("jSONSchemaDraft4",Ns),t.register("jSONReference",Rs),t.register("media",Cs),t.register("linkDescription",Fs),t}},Oo=()=>{const e=ut(So);return{predicates:{...t,isStringElement:Ut},namespace:e}},Po=(e,{specPath:t=["visitors","document","objects","JSONSchema","$visitor"],plugins:n=[],specificationObj:r=vo}={})=>{const s=(0,oe.Qc)(e),i=Xs(r),o=Mn(t,[],i);return bn(s,o,{state:{specObj:i}}),Cn(o.element,n,{toolboxCreator:Oo,visitorOptions:{keyMap:pi,nodeTypeGetter:li}})},Ao=e=>(t,n={})=>Po(t,{specPath:e,...n});Ns.refract=Ao(["visitors","document","objects","JSONSchema","$visitor"]),Rs.refract=Ao(["visitors","document","objects","JSONReference","$visitor"]),Cs.refract=Ao(["visitors","document","objects","Media","$visitor"]),Fs.refract=Ao(["visitors","document","objects","LinkDescription","$visitor"]);const ko=class extends Ns{constructor(e,t,n){super(e,t,n),this.element="schema",this.classes.push("json-schema-draft-4")}get idProp(){throw new As("idProp getter in Schema class is not not supported.")}set idProp(e){throw new As("idProp setter in Schema class is not not supported.")}get $schema(){throw new As("$schema getter in Schema class is not not supported.")}set $schema(e){throw new As("$schema setter in Schema class is not not supported.")}get additionalItems(){return this.get("additionalItems")}set additionalItems(e){this.set("additionalItems",e)}get items(){return this.get("items")}set items(e){this.set("items",e)}get additionalProperties(){return this.get("additionalProperties")}set additionalProperties(e){this.set("additionalProperties",e)}get patternProperties(){throw new As("patternProperties getter in Schema class is not not supported.")}set patternProperties(e){throw new As("patternProperties setter in Schema class is not not supported.")}get dependencies(){throw new As("dependencies getter in Schema class is not not supported.")}set dependencies(e){throw new As("dependencies setter in Schema class is not not supported.")}get type(){return this.get("type")}set type(e){this.set("type",e)}get not(){return this.get("not")}set not(e){this.set("not",e)}get definitions(){throw new As("definitions getter in Schema class is not not supported.")}set definitions(e){throw new As("definitions setter in Schema class is not not supported.")}get base(){throw new As("base getter in Schema class is not not supported.")}set base(e){throw new As("base setter in Schema class is not not supported.")}get links(){throw new As("links getter in Schema class is not not supported.")}set links(e){throw new As("links setter in Schema class is not not supported.")}get media(){throw new As("media getter in Schema class is not not supported.")}set media(e){throw new As("media setter in Schema class is not not supported.")}get nullable(){return this.get("nullable")}set nullable(e){this.set("nullable",e)}get discriminator(){return this.get("discriminator")}set discriminator(e){this.set("discriminator",e)}get writeOnly(){return this.get("writeOnly")}set writeOnly(e){this.set("writeOnly",e)}get xml(){return this.get("xml")}set xml(e){this.set("xml",e)}get externalDocs(){return this.get("externalDocs")}set externalDocs(e){this.set("externalDocs",e)}get example(){return this.get("example")}set example(e){this.set("example",e)}get deprecated(){return this.get("deprecated")}set deprecated(e){this.set("deprecated",e)}};class No extends oe.Sb{constructor(e,t,n){super(e,t,n),this.element="securityRequirement"}}const Mo=No;class Ro extends oe.Sb{constructor(e,t,n){super(e,t,n),this.element="securityScheme"}get type(){return this.get("type")}set type(e){this.set("type",e)}get description(){return this.get("description")}set description(e){this.set("description",e)}get name(){return this.get("name")}set name(e){this.set("name",e)}get in(){return this.get("in")}set in(e){this.set("in",e)}get scheme(){return this.get("scheme")}set scheme(e){this.set("scheme",e)}get bearerFormat(){return this.get("bearerFormat")}set bearerFormat(e){this.set("bearerFormat",e)}get flows(){return this.get("flows")}set flows(e){this.set("flows",e)}get openIdConnectUrl(){return this.get("openIdConnectUrl")}set openIdConnectUrl(e){this.set("openIdConnectUrl",e)}}const Io=Ro;class Co extends oe.Sb{constructor(e,t,n){super(e,t,n),this.element="server"}get url(){return this.get("url")}set url(e){this.set("url",e)}get description(){return this.get("description")}set description(e){this.set("description",e)}get variables(){return this.get("variables")}set variables(e){this.set("variables",e)}}const To=Co;class Fo extends oe.Sb{constructor(e,t,n){super(e,t,n),this.element="serverVariable"}get enum(){return this.get("enum")}set enum(e){this.set("enum",e)}get default(){return this.get("default")}set default(e){this.set("default",e)}get description(){return this.get("description")}set description(e){this.set("description",e)}}const $o=Fo;class qo extends oe.Sb{constructor(e,t,n){super(e,t,n),this.element="tag"}get name(){return this.get("name")}set name(e){this.set("name",e)}get description(){return this.get("description")}set description(e){this.set("description",e)}get externalDocs(){return this.get("externalDocs")}set externalDocs(e){this.set("externalDocs",e)}}const Lo=qo;class Bo extends oe.Sb{constructor(e,t,n){super(e,t,n),this.element="xml"}get name(){return this.get("name")}set name(e){this.set("name",e)}get namespace(){return this.get("namespace")}set namespace(e){this.set("namespace",e)}get prefix(){return this.get("prefix")}set prefix(e){this.set("prefix",e)}get attribute(){return this.get("attribute")}set attribute(e){this.set("attribute",e)}get wrapped(){return this.get("wrapped")}set wrapped(e){this.set("wrapped",e)}}const Do=Bo,Vo=Nt({props:{element:null},methods:{copyMetaAndAttributes(e,t){sn(e)&&t.meta.set("sourceMap",e.meta.get("sourceMap"))}}}),zo=e=>{if(zt(e))return`${e.element.charAt(0).toUpperCase()+e.element.slice(1)}Element`},Uo={CallbackElement:["content"],ComponentsElement:["content"],ContactElement:["content"],DiscriminatorElement:["content"],Encoding:["content"],Example:["content"],ExternalDocumentationElement:["content"],HeaderElement:["content"],InfoElement:["content"],LicenseElement:["content"],MediaTypeElement:["content"],OAuthFlowElement:["content"],OAuthFlowsElement:["content"],OpenApi3_0Element:["content"],OperationElement:["content"],ParameterElement:["content"],PathItemElement:["content"],PathsElement:["content"],ReferenceElement:["content"],RequestBodyElement:["content"],ResponseElement:["content"],ResponsesElement:["content"],SchemaElement:["content"],SecurityRequirementElement:["content"],SecuritySchemeElement:["content"],ServerElement:["content"],ServerVariableElement:["content"],TagElement:["content"],...gn},Go=Nt(Vo,{props:{passingOptionsNames:["specObj","openApiGenericElement","openApiSemanticElement"],specObj:null,openApiGenericElement:null,openApiSemanticElement:null},init({specObj:e=this.specObj,openApiGenericElement:t=this.openApiGenericElement,openApiSemanticElement:n=this.openApiSemanticElement}){this.specObj=e,this.openApiGenericElement=t,this.openApiSemanticElement=n},methods:{retrievePassingOptions(){return ui(this.passingOptionsNames,this)},retrieveFixedFields(e){const t=Ie(["visitors",...e,"fixedFields"],this.specObj);return"object"==typeof t&&null!==t?Object.keys(t):[]},retrieveVisitor(e){return Ce(Ke,["visitors",...e],this.specObj)?Ie(["visitors",...e],this.specObj):Ie(["visitors",...e,"$visitor"],this.specObj)},retrieveVisitorInstance(e,t={}){const n=this.retrievePassingOptions();return this.retrieveVisitor(e)({...n,...t})},toRefractedElement(e,t,n={}){const r=this.retrieveVisitorInstance(e,n),s=Object.getPrototypeOf(r);return se(this.fallbackVisitorPrototype)&&(this.fallbackVisitorPrototype=Object.getPrototypeOf(this.retrieveVisitorInstance(["value"]))),this.fallbackVisitorPrototype===s?pn(t):(bn(t,r,{keyMap:Uo,nodeTypeGetter:zo,...n}),r.element)}}});var Wo=function(){function e(e,t){this.xf=t,this.n=e,this.i=0}return e.prototype["@@transducer/init"]=A,e.prototype["@@transducer/result"]=k,e.prototype["@@transducer/step"]=function(e,t){this.i+=1;var n=0===this.n?e:this.xf["@@transducer/step"](e,t);return this.n>=0&&this.i>=this.n?Rt(n):n},e}();function Jo(e){return function(t){return new Wo(e,t)}}const Ko=c(O(["take"],Jo,(function(e,t){return _e(0,e<0?1/0:e,t)})));const Ho=c((function(e,t){return te(Ko(e.length,t),e)})),Zo=e=>Kt(e)&&e.hasKey("openapi")&&e.hasKey("info"),Xo=e=>Kt(e)&&e.hasKey("name")&&e.hasKey("in"),Yo=e=>Kt(e)&&e.hasKey("$ref"),Qo=e=>Kt(e)&&e.hasKey("content"),ea=e=>Kt(e)&&e.hasKey("description"),ta=Kt,na=Kt,ra=e=>Ut(e.key)&&Ho("x-",ci(e.key)),sa=Nt(Go,{props:{specPath:ei,ignoredFields:[],canSupportSpecificationExtensions:!0,specificationExtensionPredicate:ra},init({specPath:e=this.specPath,ignoredFields:t=this.ignoredFields,canSupportSpecificationExtensions:n=this.canSupportSpecificationExtensions,specificationExtensionPredicate:r=this.specificationExtensionPredicate}={}){this.specPath=e,this.ignoredFields=t,this.canSupportSpecificationExtensions=n,this.specificationExtensionPredicate=r},methods:{ObjectElement(e){const t=this.specPath(e),n=this.retrieveFixedFields(t);return e.forEach(((e,r,s)=>{if(Ut(r)&&n.includes(ci(r))&&!this.ignoredFields.includes(ci(r))){const n=this.toRefractedElement([...t,"fixedFields",ci(r)],e),i=new oe.c6(pn(r),n);this.copyMetaAndAttributes(s,i),i.classes.push("fixed-field"),this.element.content.push(i)}else if(this.canSupportSpecificationExtensions&&this.specificationExtensionPredicate(s)){const e=this.toRefractedElement(["document","extension"],s);this.element.content.push(e)}else this.ignoredFields.includes(ci(r))||this.element.content.push(pn(s))})),this.copyMetaAndAttributes(e,this.element),St}}}),ia=Nt(Vo,{methods:{enter(e){return this.element=pn(e),St}}}),oa=Nt(sa,ia,{props:{specPath:ne(["document","objects","OpenApi"]),canSupportSpecificationExtensions:!0},init(){this.element=new ps},methods:{ObjectElement(e){return this.unrefractedElement=e,sa.compose.methods.ObjectElement.call(this,e)}}}),aa=Nt(Go,ia,{methods:{StringElement(e){const t=new us(ci(e));return this.copyMetaAndAttributes(e,t),this.element=t,St}}}),ca=Nt(Go,{methods:{MemberElement(e){return this.element=pn(e),this.element.classes.push("specification-extension"),St}}}),ua=Nt(sa,ia,{props:{specPath:ne(["document","objects","Info"]),canSupportSpecificationExtensions:!0},init(){this.element=new Xr}}),la=ia,pa=ia,ha=ia,ma=Nt(ia,{methods:{StringElement(e){return this.element=pn(e),this.element.classes.push("api-version"),this.element.classes.push("version"),St}}}),fa=Nt(sa,ia,{props:{specPath:ne(["document","objects","Contact"]),canSupportSpecificationExtensions:!0},init(){this.element=new Lr}}),da=ia,_a=ia,ya=ia,ga=Nt(sa,ia,{props:{specPath:ne(["document","objects","License"]),canSupportSpecificationExtensions:!0},init(){this.element=new Qr}}),ba=ia,va=ia,wa=Nt(sa,ia,{props:{specPath:ne(["document","objects","Link"]),canSupportSpecificationExtensions:!0},init(){this.element=new ts},methods:{ObjectElement(e){const t=sa.compose.methods.ObjectElement.call(this,e);return(Ut(this.element.operationId)||Ut(this.element.operationRef))&&this.element.classes.push("reference-element"),t}}}),Ea=Nt(ia,{methods:{StringElement(e){return this.element=pn(e),this.element.classes.push("reference-value"),St}}}),xa=Nt(ia,{methods:{StringElement(e){return this.element=pn(e),this.element.classes.push("reference-value"),St}}}),ja=Nt(Go,{props:{fieldPatternPredicate:Mt,specPath:ei,ignoredFields:[],canSupportSpecificationExtensions:!1,specificationExtensionPredicate:ra},init({specPath:e=this.specPath,ignoredFields:t=this.ignoredFields,canSupportSpecificationExtensions:n=this.canSupportSpecificationExtensions,specificationExtensionPredicate:r=this.specificationExtensionPredicate}={}){this.specPath=e,this.ignoredFields=t,this.canSupportSpecificationExtensions=n,this.specificationExtensionPredicate=r},methods:{ObjectElement(e){return e.forEach(((e,t,n)=>{if(this.canSupportSpecificationExtensions&&this.specificationExtensionPredicate(n)){const e=this.toRefractedElement(["document","extension"],n);this.element.content.push(e)}else if(!this.ignoredFields.includes(ci(t))&&this.fieldPatternPredicate(ci(t))){const r=this.specPath(e),s=this.toRefractedElement(r,e),i=new oe.c6(pn(t),s);this.copyMetaAndAttributes(n,i),i.classes.push("patterned-field"),this.element.content.push(i)}else this.ignoredFields.includes(ci(t))||this.element.content.push(pn(n))})),this.copyMetaAndAttributes(e,this.element),St}}}),Sa=Nt(ja,{props:{fieldPatternPredicate:qi}});class Oa extends oe.Sb{static primaryClass="link-parameters";constructor(e,t,n){super(e,t,n),this.classes.push(Oa.primaryClass)}}const Pa=Oa,Aa=Nt(Sa,ia,{props:{specPath:ne(["value"])},init(){this.element=new Pa}}),ka=ia,Na=ia,Ma=Nt(sa,ia,{props:{specPath:ne(["document","objects","Server"]),canSupportSpecificationExtensions:!0},init(){this.element=new To}}),Ra=Nt(ia,{methods:{StringElement(e){return this.element=pn(e),this.element.classes.push("server-url"),St}}}),Ia=ia;class Ca extends oe.ON{static primaryClass="servers";constructor(e,t,n){super(e,t,n),this.classes.push(Ca.primaryClass)}}const Ta=Ca,Fa=Nt(Go,ia,{init(){this.element=new Ta},methods:{ArrayElement(e){return e.forEach((e=>{const t=ta(e)?["document","objects","Server"]:["value"],n=this.toRefractedElement(t,e);this.element.push(n)})),this.copyMetaAndAttributes(e,this.element),St}}}),$a=Nt(sa,ia,{props:{specPath:ne(["document","objects","ServerVariable"]),canSupportSpecificationExtensions:!0},init(){this.element=new $o}}),qa=ia,La=ia,Ba=ia;class Da extends oe.Sb{static primaryClass="server-variables";constructor(e,t,n){super(e,t,n),this.classes.push(Da.primaryClass)}}const Va=Da,za=Nt(Sa,ia,{props:{specPath:ne(["document","objects","ServerVariable"])},init(){this.element=new Va}}),Ua=Nt(sa,ia,{props:{specPath:ne(["document","objects","MediaType"]),canSupportSpecificationExtensions:!0},init(){this.element=new rs}}),Ga=Nt(Go,{props:{alternator:[]},methods:{enter(e){const t=this.alternator.map((({predicate:e,specPath:t})=>io(e,ne(t),re))),n=yo(t)(e);return this.element=this.toRefractedElement(n,e),St}}}),Wa=Vt((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof Tr||e(r)&&t("callback",r)&&n("object",r))),Ja=Vt((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof $r||e(r)&&t("components",r)&&n("object",r))),Ka=Vt((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof Lr||e(r)&&t("contact",r)&&n("object",r))),Ha=Vt((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof Gr||e(r)&&t("example",r)&&n("object",r))),Za=Vt((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof Jr||e(r)&&t("externalDocumentation",r)&&n("object",r))),Xa=Vt((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof Hr||e(r)&&t("header",r)&&n("object",r))),Ya=Vt((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof Xr||e(r)&&t("info",r)&&n("object",r))),Qa=Vt((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof Qr||e(r)&&t("license",r)&&n("object",r))),ec=Vt((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof ts||e(r)&&t("link",r)&&n("object",r))),tc=Vt((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof us||e(r)&&t("openapi",r)&&n("string",r))),nc=Vt((({hasBasicElementProps:e,isElementType:t,primitiveEq:n,hasClass:r})=>s=>s instanceof ps||e(s)&&t("openApi3_0",s)&&n("object",s)&&r("api",s))),rc=Vt((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof ms||e(r)&&t("operation",r)&&n("object",r))),sc=Vt((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof ds||e(r)&&t("parameter",r)&&n("object",r))),ic=Vt((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof ys||e(r)&&t("pathItem",r)&&n("object",r))),oc=Vt((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof bs||e(r)&&t("paths",r)&&n("object",r))),ac=Vt((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof ws||e(r)&&t("reference",r)&&n("object",r))),cc=Vt((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof xs||e(r)&&t("requestBody",r)&&n("object",r))),uc=Vt((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof Ss||e(r)&&t("response",r)&&n("object",r))),lc=Vt((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof Ps||e(r)&&t("responses",r)&&n("object",r))),pc=Vt((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof ko||e(r)&&t("schema",r)&&n("object",r))),hc=e=>Jt(e)&&e.classes.includes("boolean-json-schema"),mc=Vt((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof Mo||e(r)&&t("securityRequirement",r)&&n("object",r))),fc=Vt((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof To||e(r)&&t("server",r)&&n("object",r))),dc=Vt((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof $o||e(r)&&t("serverVariable",r)&&n("object",r))),_c=Vt((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof rs||e(r)&&t("mediaType",r)&&n("object",r))),yc=Vt((({hasBasicElementProps:e,isElementType:t,primitiveEq:n,hasClass:r})=>s=>s instanceof Ta||e(s)&&t("array",s)&&n("array",s)&&r("servers",s))),gc=Nt(Ga,ia,{props:{alternator:[{predicate:Yo,specPath:["document","objects","Reference"]},{predicate:ti,specPath:["document","objects","Schema"]}]},methods:{ObjectElement(e){const t=Ga.compose.methods.enter.call(this,e);return ac(this.element)&&this.element.setMetaProperty("referenced-element","schema"),t}}}),bc=ia,vc=Nt(Sa,ia,{props:{specPath:e=>Yo(e)?["document","objects","Reference"]:["document","objects","Example"],canSupportSpecificationExtensions:!0},init(){this.element=new oe.Sb,this.element.classes.push("examples")},methods:{ObjectElement(e){const t=Sa.compose.methods.ObjectElement.call(this,e);return this.element.filter(ac).forEach((e=>{e.setMetaProperty("referenced-element","example")})),t}}});class wc extends oe.Sb{static primaryClass="media-type-examples";constructor(e,t,n){super(e,t,n),this.classes.push(wc.primaryClass),this.classes.push("examples")}}const Ec=wc,xc=Nt(vc,{init(){this.element=new Ec}});class jc extends oe.Sb{static primaryClass="media-type-encoding";constructor(e,t,n){super(e,t,n),this.classes.push(jc.primaryClass)}}const Sc=jc,Oc=Nt(Sa,ia,{props:{specPath:ne(["document","objects","Encoding"])},init(){this.element=new Sc}}),Pc=Nt(Sa,ia,{props:{specPath:ne(["value"])},init(){this.element=new Mo}});class Ac extends oe.ON{static primaryClass="security";constructor(e,t,n){super(e,t,n),this.classes.push(Ac.primaryClass)}}const kc=Ac,Nc=Nt(Go,ia,{init(){this.element=new kc},methods:{ArrayElement(e){return e.forEach((e=>{if(Kt(e)){const t=this.toRefractedElement(["document","objects","SecurityRequirement"],e);this.element.push(t)}else this.element.push(pn(e))})),this.copyMetaAndAttributes(e,this.element),St}}}),Mc=Nt(sa,ia,{props:{specPath:ne(["document","objects","Components"]),canSupportSpecificationExtensions:!0},init(){this.element=new $r}}),Rc=Nt(sa,ia,{props:{specPath:ne(["document","objects","Tag"]),canSupportSpecificationExtensions:!0},init(){this.element=new Lo}}),Ic=ia,Cc=ia,Tc=Nt(sa,ia,{props:{specPath:ne(["document","objects","Reference"]),canSupportSpecificationExtensions:!1},init(){this.element=new ws},methods:{ObjectElement(e){const t=sa.compose.methods.ObjectElement.call(this,e);return Ut(this.element.$ref)&&this.element.classes.push("reference-element"),t}}}),Fc=Nt(ia,{methods:{StringElement(e){return this.element=pn(e),this.element.classes.push("reference-value"),St}}}),$c=Nt(sa,ia,{props:{specPath:ne(["document","objects","Parameter"]),canSupportSpecificationExtensions:!0},init(){this.element=new ds},methods:{ObjectElement(e){const t=sa.compose.methods.ObjectElement.call(this,e);return Kt(this.element.contentProp)&&this.element.contentProp.filter(_c).forEach(((e,t)=>{e.setMetaProperty("media-type",ci(t))})),t}}}),qc=ia,Lc=ia,Bc=ia,Dc=ia,Vc=ia,zc=ia,Uc=ia,Gc=ia,Wc=ia,Jc=Nt(Ga,ia,{props:{alternator:[{predicate:Yo,specPath:["document","objects","Reference"]},{predicate:ti,specPath:["document","objects","Schema"]}]},methods:{ObjectElement(e){const t=Ga.compose.methods.enter.call(this,e);return ac(this.element)&&this.element.setMetaProperty("referenced-element","schema"),t}}}),Kc=Nt(sa,ia,{props:{specPath:ne(["document","objects","Header"]),canSupportSpecificationExtensions:!0},init(){this.element=new Hr}}),Hc=ia,Zc=ia,Xc=ia,Yc=ia,Qc=ia,eu=ia,tu=ia,nu=Nt(Ga,ia,{props:{alternator:[{predicate:Yo,specPath:["document","objects","Reference"]},{predicate:ti,specPath:["document","objects","Schema"]}]},methods:{ObjectElement(e){const t=Ga.compose.methods.enter.call(this,e);return ac(this.element)&&this.element.setMetaProperty("referenced-element","schema"),t}}}),ru=ia;class su extends oe.Sb{static primaryClass="header-examples";constructor(e,t,n){super(e,t,n),this.classes.push(su.primaryClass),this.classes.push("examples")}}const iu=su,ou=Nt(vc,{init(){this.element=new iu}}),au=Nt(Sa,ia,{props:{specPath:ne(["document","objects","MediaType"])},init(){this.element=new oe.Sb,this.element.classes.push("content")}});class cu extends oe.Sb{static primaryClass="header-content";constructor(e,t,n){super(e,t,n),this.classes.push(cu.primaryClass),this.classes.push("content")}}const uu=cu,lu=Nt(au,{init(){this.element=new uu}}),pu=Nt(sa,ia,{props:{specPath:ne(["document","objects","Schema"]),canSupportSpecificationExtensions:!0},init(){this.element=new ko}}),{allOf:hu}=vo.visitors.document.objects.JSONSchema.fixedFields,mu=Nt(hu,{methods:{ArrayElement(e){const t=hu.compose.methods.ArrayElement.call(this,e);return this.element.filter(ac).forEach((e=>{e.setMetaProperty("referenced-element","schema")})),t}}}),{anyOf:fu}=vo.visitors.document.objects.JSONSchema.fixedFields,du=Nt(fu,{methods:{ArrayElement(e){const t=fu.compose.methods.ArrayElement.call(this,e);return this.element.filter(ac).forEach((e=>{e.setMetaProperty("referenced-element","schema")})),t}}}),{oneOf:_u}=vo.visitors.document.objects.JSONSchema.fixedFields,yu=Nt(_u,{methods:{ArrayElement(e){const t=_u.compose.methods.ArrayElement.call(this,e);return this.element.filter(ac).forEach((e=>{e.setMetaProperty("referenced-element","schema")})),t}}}),{items:gu}=vo.visitors.document.objects.JSONSchema.fixedFields,bu=Nt(gu,{methods:{ObjectElement(e){const t=gu.compose.methods.ObjectElement.call(this,e);return ac(this.element)&&this.element.setMetaProperty("referenced-element","schema"),t},ArrayElement(e){return this.element=pn(e),St}}}),{properties:vu}=vo.visitors.document.objects.JSONSchema.fixedFields,wu=Nt(vu,{methods:{ObjectElement(e){const t=vu.compose.methods.ObjectElement.call(this,e);return this.element.filter(ac).forEach((e=>{e.setMetaProperty("referenced-element","schema")})),t}}}),{type:Eu}=vo.visitors.document.objects.JSONSchema.fixedFields,xu=Nt(Eu,{methods:{ArrayElement(e){return this.element=pn(e),St}}}),ju=ia,Su=ia,Ou=ia,Pu=ia,{JSONSchemaOrJSONReferenceVisitor:Au}=vo.visitors,ku=Nt(Au,{methods:{ObjectElement(e){const t=Au.compose.methods.enter.call(this,e);return ac(this.element)&&this.element.setMetaProperty("referenced-element","schema"),t}}}),Nu=Nt(sa,ia,{props:{specPath:ne(["document","objects","Discriminator"]),canSupportSpecificationExtensions:!1},init(){this.element=new Dr}}),Mu=ia;class Ru extends oe.Sb{static primaryClass="discriminator-mapping";constructor(e,t,n){super(e,t,n),this.classes.push(Ru.primaryClass)}}const Iu=Ru,Cu=Nt(Sa,ia,{props:{specPath:ne(["value"])},init(){this.element=new Iu}}),Tu=Nt(sa,ia,{props:{specPath:ne(["document","objects","XML"]),canSupportSpecificationExtensions:!0},init(){this.element=new Do}}),Fu=ia,$u=ia,qu=ia,Lu=ia,Bu=ia,Du=ia;class Vu extends oe.Sb{static primaryClass="parameter-examples";constructor(e,t,n){super(e,t,n),this.classes.push(Vu.primaryClass),this.classes.push("examples")}}const zu=Vu,Uu=Nt(vc,{init(){this.element=new zu}});class Gu extends oe.Sb{static primaryClass="parameter-content";constructor(e,t,n){super(e,t,n),this.classes.push(Gu.primaryClass),this.classes.push("content")}}const Wu=Gu,Ju=Nt(au,{init(){this.element=new Wu}});class Ku extends oe.Sb{static primaryClass="components-schemas";constructor(e,t,n){super(e,t,n),this.classes.push(Ku.primaryClass)}}const Hu=Ku,Zu=Nt(Sa,ia,{props:{specPath:e=>Yo(e)?["document","objects","Reference"]:["document","objects","Schema"]},init(){this.element=new Hu},methods:{ObjectElement(e){const t=Sa.compose.methods.ObjectElement.call(this,e);return this.element.filter(ac).forEach((e=>{e.setMetaProperty("referenced-element","schema")})),t}}});class Xu extends oe.Sb{static primaryClass="components-responses";constructor(e,t,n){super(e,t,n),this.classes.push(Xu.primaryClass)}}const Yu=Xu,Qu=Nt(Sa,ia,{props:{specPath:e=>Yo(e)?["document","objects","Reference"]:["document","objects","Response"]},init(){this.element=new Yu},methods:{ObjectElement(e){const t=Sa.compose.methods.ObjectElement.call(this,e);return this.element.filter(ac).forEach((e=>{e.setMetaProperty("referenced-element","response")})),this.element.filter(uc).forEach(((e,t)=>{e.setMetaProperty("http-status-code",ci(t))})),t}}});class el extends oe.Sb{static primaryClass="components-parameters";constructor(e,t,n){super(e,t,n),this.classes.push(el.primaryClass),this.classes.push("parameters")}}const tl=el,nl=Nt(Sa,ia,{props:{specPath:e=>Yo(e)?["document","objects","Reference"]:["document","objects","Parameter"]},init(){this.element=new tl},methods:{ObjectElement(e){const t=Sa.compose.methods.ObjectElement.call(this,e);return this.element.filter(ac).forEach((e=>{e.setMetaProperty("referenced-element","parameter")})),t}}});class rl extends oe.Sb{static primaryClass="components-examples";constructor(e,t,n){super(e,t,n),this.classes.push(rl.primaryClass),this.classes.push("examples")}}const sl=rl,il=Nt(Sa,ia,{props:{specPath:e=>Yo(e)?["document","objects","Reference"]:["document","objects","Example"]},init(){this.element=new sl},methods:{ObjectElement(e){const t=Sa.compose.methods.ObjectElement.call(this,e);return this.element.filter(ac).forEach((e=>{e.setMetaProperty("referenced-element","example")})),t}}});class ol extends oe.Sb{static primaryClass="components-request-bodies";constructor(e,t,n){super(e,t,n),this.classes.push(ol.primaryClass)}}const al=ol,cl=Nt(Sa,ia,{props:{specPath:e=>Yo(e)?["document","objects","Reference"]:["document","objects","RequestBody"]},init(){this.element=new al},methods:{ObjectElement(e){const t=Sa.compose.methods.ObjectElement.call(this,e);return this.element.filter(ac).forEach((e=>{e.setMetaProperty("referenced-element","requestBody")})),t}}});class ul extends oe.Sb{static primaryClass="components-headers";constructor(e,t,n){super(e,t,n),this.classes.push(ul.primaryClass)}}const ll=ul,pl=Nt(Sa,ia,{props:{specPath:e=>Yo(e)?["document","objects","Reference"]:["document","objects","Header"]},init(){this.element=new ll},methods:{ObjectElement(e){const t=Sa.compose.methods.ObjectElement.call(this,e);return this.element.filter(ac).forEach((e=>{e.setMetaProperty("referenced-element","header")})),this.element.filter(Xa).forEach(((e,t)=>{e.setMetaProperty("header-name",ci(t))})),t}}});class hl extends oe.Sb{static primaryClass="components-security-schemes";constructor(e,t,n){super(e,t,n),this.classes.push(hl.primaryClass)}}const ml=hl,fl=Nt(Sa,ia,{props:{specPath:e=>Yo(e)?["document","objects","Reference"]:["document","objects","SecurityScheme"]},init(){this.element=new ml},methods:{ObjectElement(e){const t=Sa.compose.methods.ObjectElement.call(this,e);return this.element.filter(ac).forEach((e=>{e.setMetaProperty("referenced-element","securityScheme")})),t}}});class dl extends oe.Sb{static primaryClass="components-links";constructor(e,t,n){super(e,t,n),this.classes.push(dl.primaryClass)}}const _l=dl,yl=Nt(Sa,ia,{props:{specPath:e=>Yo(e)?["document","objects","Reference"]:["document","objects","Link"]},init(){this.element=new _l},methods:{ObjectElement(e){const t=Sa.compose.methods.ObjectElement.call(this,e);return this.element.filter(ac).forEach((e=>{e.setMetaProperty("referenced-element","link")})),t}}});class gl extends oe.Sb{static primaryClass="components-callbacks";constructor(e,t,n){super(e,t,n),this.classes.push(gl.primaryClass)}}const bl=gl,vl=Nt(Sa,ia,{props:{specPath:e=>Yo(e)?["document","objects","Reference"]:["document","objects","Callback"]},init(){this.element=new bl},methods:{ObjectElement(e){const t=Sa.compose.methods.ObjectElement.call(this,e);return this.element.filter(ac).forEach((e=>{e.setMetaProperty("referenced-element","callback")})),t}}}),wl=Nt(sa,ia,{props:{specPath:ne(["document","objects","Example"]),canSupportSpecificationExtensions:!0},init(){this.element=new Gr},methods:{ObjectElement(e){const t=sa.compose.methods.ObjectElement.call(this,e);return Ut(this.element.externalValue)&&this.element.classes.push("reference-element"),t}}}),El=ia,xl=ia,jl=ia,Sl=Nt(ia,{methods:{StringElement(e){return this.element=pn(e),this.element.classes.push("reference-value"),St}}}),Ol=Nt(sa,ia,{props:{specPath:ne(["document","objects","ExternalDocumentation"]),canSupportSpecificationExtensions:!0},init(){this.element=new Jr}}),Pl=ia,Al=ia,kl=Nt(sa,ia,{props:{specPath:ne(["document","objects","Encoding"]),canSupportSpecificationExtensions:!0},init(){this.element=new zr},methods:{ObjectElement(e){const t=sa.compose.methods.ObjectElement.call(this,e);return Kt(this.element.headers)&&this.element.headers.filter(Xa).forEach(((e,t)=>{e.setMetaProperty("header-name",ci(t))})),t}}}),Nl=ia;class Ml extends oe.Sb{static primaryClass="encoding-headers";constructor(e,t,n){super(e,t,n),this.classes.push(Ml.primaryClass)}}const Rl=Ml,Il=Nt(Sa,ia,{props:{specPath:e=>Yo(e)?["document","objects","Reference"]:["document","objects","Header"]},init(){this.element=new Rl},methods:{ObjectElement(e){const t=Sa.compose.methods.ObjectElement.call(this,e);return this.element.filter(ac).forEach((e=>{e.setMetaProperty("referenced-element","header")})),this.element.forEach(((e,t)=>{if(!Xa(e))return;const n=ci(t);e.setMetaProperty("headerName",n)})),t}}}),Cl=ia,Tl=ia,Fl=ia,$l=Nt(ja,ia,{props:{fieldPatternPredicate:ti,specPath:ne(["document","objects","PathItem"]),canSupportSpecificationExtensions:!0},init(){this.element=new bs},methods:{ObjectElement(e){const t=ja.compose.methods.ObjectElement.call(this,e);return this.element.filter(ic).forEach(((e,t)=>{t.classes.push("openapi-path-template"),t.classes.push("path-template"),e.setMetaProperty("path",pn(t))})),t}}}),ql=Nt(sa,ia,{props:{specPath:ne(["document","objects","RequestBody"])},init(){this.element=new xs},methods:{ObjectElement(e){const t=sa.compose.methods.ObjectElement.call(this,e);return Kt(this.element.contentProp)&&this.element.contentProp.filter(_c).forEach(((e,t)=>{e.setMetaProperty("media-type",ci(t))})),t}}}),Ll=ia;class Bl extends oe.Sb{static primaryClass="request-body-content";constructor(e,t,n){super(e,t,n),this.classes.push(Bl.primaryClass),this.classes.push("content")}}const Dl=Bl,Vl=Nt(au,{init(){this.element=new Dl}}),zl=ia;const Ul=c((function(e,t){if(n=e,"[object RegExp]"!==Object.prototype.toString.call(n))throw new TypeError("‘test’ requires a value of type RegExp as its first argument; received "+Me(e));var n;return function(e){return new RegExp(e.source,e.flags?e.flags:(e.global?"g":"")+(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.sticky?"y":"")+(e.unicode?"u":"")+(e.dotAll?"s":""))}(e).test(t)})),Gl=Nt(ja,ia,{props:{fieldPatternPredicate:Ul(/{(?<expression>.*)}/),specPath:ne(["document","objects","PathItem"]),canSupportSpecificationExtensions:!0},init(){this.element=new Tr},methods:{ObjectElement(e){const t=Sa.compose.methods.ObjectElement.call(this,e);return this.element.filter(ic).forEach(((e,t)=>{e.setMetaProperty("runtime-expression",ci(t))})),t}}}),Wl=Nt(sa,ia,{props:{specPath:ne(["document","objects","Response"])},init(){this.element=new Ss},methods:{ObjectElement(e){const t=sa.compose.methods.ObjectElement.call(this,e);return Kt(this.element.contentProp)&&this.element.contentProp.filter(_c).forEach(((e,t)=>{e.setMetaProperty("media-type",ci(t))})),Kt(this.element.headers)&&this.element.headers.filter(Xa).forEach(((e,t)=>{e.setMetaProperty("header-name",ci(t))})),t}}}),Jl=ia;class Kl extends oe.Sb{static primaryClass="response-headers";constructor(e,t,n){super(e,t,n),this.classes.push(Kl.primaryClass)}}const Hl=Kl,Zl=Nt(Sa,ia,{props:{specPath:e=>Yo(e)?["document","objects","Reference"]:["document","objects","Header"]},init(){this.element=new Hl},methods:{ObjectElement(e){const t=Sa.compose.methods.ObjectElement.call(this,e);return this.element.filter(ac).forEach((e=>{e.setMetaProperty("referenced-element","header")})),this.element.forEach(((e,t)=>{if(!Xa(e))return;const n=ci(t);e.setMetaProperty("header-name",n)})),t}}});class Xl extends oe.Sb{static primaryClass="response-content";constructor(e,t,n){super(e,t,n),this.classes.push(Xl.primaryClass),this.classes.push("content")}}const Yl=Xl,Ql=Nt(au,{init(){this.element=new Yl}});class ep extends oe.Sb{static primaryClass="response-links";constructor(e,t,n){super(e,t,n),this.classes.push(ep.primaryClass)}}const tp=ep,np=Nt(Sa,ia,{props:{specPath:e=>Yo(e)?["document","objects","Reference"]:["document","objects","Link"]},init(){this.element=new tp},methods:{ObjectElement(e){const t=Sa.compose.methods.ObjectElement.call(this,e);return this.element.filter(ac).forEach((e=>{e.setMetaProperty("referenced-element","link")})),t}}});function rp(e){return"[object Number]"===Object.prototype.toString.call(e)}const sp=c((function(e,t){if(!rp(e)||!rp(t))throw new TypeError("Both arguments to range must be numbers");for(var n=[],r=e;r<t;)n.push(r),r+=1;return n}));function ip(e,t,n){var r,s=typeof e;switch(s){case"string":case"number":return 0===e&&1/e==-1/0?!!n._items["-0"]||(t&&(n._items["-0"]=!0),!1):null!==n._nativeSet?t?(r=n._nativeSet.size,n._nativeSet.add(e),n._nativeSet.size===r):n._nativeSet.has(e):s in n._items?e in n._items[s]||(t&&(n._items[s][e]=!0),!1):(t&&(n._items[s]={},n._items[s][e]=!0),!1);case"boolean":if(s in n._items){var i=e?1:0;return!!n._items[s][i]||(t&&(n._items[s][i]=!0),!1)}return t&&(n._items[s]=e?[!1,!0]:[!0,!1]),!1;case"function":return null!==n._nativeSet?t?(r=n._nativeSet.size,n._nativeSet.add(e),n._nativeSet.size===r):n._nativeSet.has(e):s in n._items?!!we(e,n._items[s])||(t&&n._items[s].push(e),!1):(t&&(n._items[s]=[e]),!1);case"undefined":return!!n._items[s]||(t&&(n._items[s]=!0),!1);case"object":if(null===e)return!!n._items.null||(t&&(n._items.null=!0),!1);default:return(s=Object.prototype.toString.call(e))in n._items?!!we(e,n._items[s])||(t&&n._items[s].push(e),!1):(t&&(n._items[s]=[e]),!1)}}const op=function(){function e(){this._nativeSet="function"==typeof Set?new Set:null,this._items={}}return e.prototype.add=function(e){return!ip(e,!0,this)},e.prototype.has=function(e){return ip(e,!1,this)},e}();const ap=c((function(e,t){for(var n=[],r=0,s=e.length,i=t.length,o=new op,a=0;a<i;a+=1)o.add(t[a]);for(;r<s;)o.add(e[r])&&(n[n.length]=e[r]),r+=1;return n})),cp=Nt(sa,ja,{props:{specPathFixedFields:ei,specPathPatternedFields:ei},methods:{ObjectElement(e){const{specPath:t,ignoredFields:n}=this;try{this.specPath=this.specPathFixedFields;const t=this.retrieveFixedFields(this.specPath(e));this.ignoredFields=[...n,...ap(e.keys(),t)],sa.compose.methods.ObjectElement.call(this,e),this.specPath=this.specPathPatternedFields,this.ignoredFields=t,ja.compose.methods.ObjectElement.call(this,e)}catch(e){throw this.specPath=t,e}return St}}}),up=Nt(cp,ia,{props:{specPathFixedFields:ne(["document","objects","Responses"]),specPathPatternedFields:e=>Yo(e)?["document","objects","Reference"]:["document","objects","Response"],fieldPatternPredicate:Ul(new RegExp(`^(1XX|2XX|3XX|4XX|5XX|${sp(100,600).join("|")})$`)),canSupportSpecificationExtensions:!0},init(){this.element=new Ps},methods:{ObjectElement(e){const t=cp.compose.methods.ObjectElement.call(this,e);return this.element.filter(ac).forEach((e=>{e.setMetaProperty("referenced-element","response")})),this.element.filter(uc).forEach(((e,t)=>{const n=pn(t);this.fieldPatternPredicate(ci(n))&&e.setMetaProperty("http-status-code",n)})),t}}}),lp=Nt(Ga,ia,{props:{alternator:[{predicate:Yo,specPath:["document","objects","Reference"]},{predicate:ti,specPath:["document","objects","Response"]}]},methods:{ObjectElement(e){const t=Ga.compose.methods.enter.call(this,e);return ac(this.element)?this.element.setMetaProperty("referenced-element","response"):uc(this.element)&&this.element.setMetaProperty("http-status-code","default"),t}}}),pp=Nt(sa,ia,{props:{specPath:ne(["document","objects","Operation"])},init(){this.element=new ms}});class hp extends oe.ON{static primaryClass="operation-tags";constructor(e,t,n){super(e,t,n),this.classes.push(hp.primaryClass)}}const mp=hp,fp=Nt(ia,{init(){this.element=new mp},methods:{ArrayElement(e){return this.element=this.element.concat(pn(e)),St}}}),dp=ia,_p=ia,yp=ia;class gp extends oe.ON{static primaryClass="operation-parameters";constructor(e,t,n){super(e,t,n),this.classes.push(gp.primaryClass),this.classes.push("parameters")}}const bp=gp,vp=Nt(Go,ia,{init(){this.element=new oe.ON,this.element.classes.push("parameters")},methods:{ArrayElement(e){return e.forEach((e=>{const t=Yo(e)?["document","objects","Reference"]:["document","objects","Parameter"],n=this.toRefractedElement(t,e);ac(n)&&n.setMetaProperty("referenced-element","parameter"),this.element.push(n)})),this.copyMetaAndAttributes(e,this.element),St}}}),wp=Nt(vp,{init(){this.element=new bp}}),Ep=Nt(Ga,{props:{alternator:[{predicate:Yo,specPath:["document","objects","Reference"]},{predicate:ti,specPath:["document","objects","RequestBody"]}]},methods:{ObjectElement(e){const t=Ga.compose.methods.enter.call(this,e);return ac(this.element)&&this.element.setMetaProperty("referenced-element","requestBody"),t}}});class xp extends oe.Sb{static primaryClass="operation-callbacks";constructor(e,t,n){super(e,t,n),this.classes.push(xp.primaryClass)}}const jp=xp,Sp=Nt(Sa,ia,{props:{specPath:e=>Yo(e)?["document","objects","Reference"]:["document","objects","Callback"]},init(){this.element=new jp},methods:{ObjectElement(e){const t=Sa.compose.methods.ObjectElement.call(this,e);return this.element.filter(ac).forEach((e=>{e.setMetaProperty("referenced-element","callback")})),t}}}),Op=ia;class Pp extends oe.ON{static primaryClass="operation-security";constructor(e,t,n){super(e,t,n),this.classes.push(Pp.primaryClass),this.classes.push("security")}}const Ap=Pp,kp=Nt(Go,ia,{init(){this.element=new Ap},methods:{ArrayElement(e){return e.forEach((e=>{const t=Kt(e)?["document","objects","SecurityRequirement"]:["value"],n=this.toRefractedElement(t,e);this.element.push(n)})),this.copyMetaAndAttributes(e,this.element),St}}});class Np extends oe.ON{static primaryClass="operation-servers";constructor(e,t,n){super(e,t,n),this.classes.push(Np.primaryClass),this.classes.push("servers")}}const Mp=Np,Rp=Nt(Fa,{init(){this.element=new Mp}}),Ip=Nt(sa,ia,{props:{specPath:ne(["document","objects","PathItem"])},init(){this.element=new ys},methods:{ObjectElement(e){const t=sa.compose.methods.ObjectElement.call(this,e);return this.element.filter(rc).forEach(((e,t)=>{const n=pn(t);n.content=ci(n).toUpperCase(),e.setMetaProperty("http-method",n)})),Ut(this.element.$ref)&&this.element.classes.push("reference-element"),t}}}),Cp=Nt(ia,{methods:{StringElement(e){return this.element=pn(e),this.element.classes.push("reference-value"),St}}}),Tp=ia,Fp=ia;class $p extends oe.ON{static primaryClass="path-item-servers";constructor(e,t,n){super(e,t,n),this.classes.push($p.primaryClass),this.classes.push("servers")}}const qp=$p,Lp=Nt(Fa,{init(){this.element=new qp}});class Bp extends oe.ON{static primaryClass="path-item-parameters";constructor(e,t,n){super(e,t,n),this.classes.push(Bp.primaryClass),this.classes.push("parameters")}}const Dp=Bp,Vp=Nt(vp,{init(){this.element=new Dp}}),zp=Nt(sa,ia,{props:{specPath:ne(["document","objects","SecurityScheme"]),canSupportSpecificationExtensions:!0},init(){this.element=new Io}}),Up=ia,Gp=ia,Wp=ia,Jp=ia,Kp=ia,Hp=ia,Zp=ia,Xp=Nt(sa,ia,{props:{specPath:ne(["document","objects","OAuthFlows"]),canSupportSpecificationExtensions:!0},init(){this.element=new as}}),Yp=Nt(sa,ia,{props:{specPath:ne(["document","objects","OAuthFlow"]),canSupportSpecificationExtensions:!0},init(){this.element=new is}}),Qp=ia,eh=ia,th=ia;class nh extends oe.Sb{static primaryClass="oauth-flow-scopes";constructor(e,t,n){super(e,t,n),this.classes.push(nh.primaryClass)}}const rh=nh,sh=Nt(Sa,ia,{props:{specPath:ne(["value"])},init(){this.element=new rh}});class ih extends oe.ON{static primaryClass="tags";constructor(e,t,n){super(e,t,n),this.classes.push(ih.primaryClass)}}const oh=ih,ah=Nt(Go,ia,{init(){this.element=new oh},methods:{ArrayElement(e){return e.forEach((e=>{const t=na(e)?["document","objects","Tag"]:["value"],n=this.toRefractedElement(t,e);this.element.push(n)})),this.copyMetaAndAttributes(e,this.element),St}}}),{fixedFields:ch}=vo.visitors.document.objects.JSONSchema,uh={visitors:{value:ia,document:{objects:{OpenApi:{$visitor:oa,fixedFields:{openapi:aa,info:{$ref:"#/visitors/document/objects/Info"},servers:Fa,paths:{$ref:"#/visitors/document/objects/Paths"},components:{$ref:"#/visitors/document/objects/Components"},security:Nc,tags:ah,externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"}}},Info:{$visitor:ua,fixedFields:{title:la,description:pa,termsOfService:ha,contact:{$ref:"#/visitors/document/objects/Contact"},license:{$ref:"#/visitors/document/objects/License"},version:ma}},Contact:{$visitor:fa,fixedFields:{name:da,url:_a,email:ya}},License:{$visitor:ga,fixedFields:{name:ba,url:va}},Server:{$visitor:Ma,fixedFields:{url:Ra,description:Ia,variables:za}},ServerVariable:{$visitor:$a,fixedFields:{enum:qa,default:La,description:Ba}},Components:{$visitor:Mc,fixedFields:{schemas:Zu,responses:Qu,parameters:nl,examples:il,requestBodies:cl,headers:pl,securitySchemes:fl,links:yl,callbacks:vl}},Paths:{$visitor:$l},PathItem:{$visitor:Ip,fixedFields:{$ref:Cp,summary:Tp,description:Fp,get:{$ref:"#/visitors/document/objects/Operation"},put:{$ref:"#/visitors/document/objects/Operation"},post:{$ref:"#/visitors/document/objects/Operation"},delete:{$ref:"#/visitors/document/objects/Operation"},options:{$ref:"#/visitors/document/objects/Operation"},head:{$ref:"#/visitors/document/objects/Operation"},patch:{$ref:"#/visitors/document/objects/Operation"},trace:{$ref:"#/visitors/document/objects/Operation"},servers:Lp,parameters:Vp}},Operation:{$visitor:pp,fixedFields:{tags:fp,summary:dp,description:_p,externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"},operationId:yp,parameters:wp,requestBody:Ep,responses:{$ref:"#/visitors/document/objects/Responses"},callbacks:Sp,deprecated:Op,security:kp,servers:Rp}},ExternalDocumentation:{$visitor:Ol,fixedFields:{description:Pl,url:Al}},Parameter:{$visitor:$c,fixedFields:{name:qc,in:Lc,description:Bc,required:Dc,deprecated:Vc,allowEmptyValue:zc,style:Uc,explode:Gc,allowReserved:Wc,schema:Jc,example:Du,examples:Uu,content:Ju}},RequestBody:{$visitor:ql,fixedFields:{description:Ll,content:Vl,required:zl}},MediaType:{$visitor:Ua,fixedFields:{schema:gc,example:bc,examples:xc,encoding:Oc}},Encoding:{$visitor:kl,fixedFields:{contentType:Nl,headers:Il,style:Cl,explode:Tl,allowReserved:Fl}},Responses:{$visitor:up,fixedFields:{default:lp}},Response:{$visitor:Wl,fixedFields:{description:Jl,headers:Zl,content:Ql,links:np}},Callback:{$visitor:Gl},Example:{$visitor:wl,fixedFields:{summary:El,description:xl,value:jl,externalValue:Sl}},Link:{$visitor:wa,fixedFields:{operationRef:Ea,operationId:xa,parameters:Aa,requestBody:ka,description:Na,server:{$ref:"#/visitors/document/objects/Server"}}},Header:{$visitor:Kc,fixedFields:{description:Hc,required:Zc,deprecated:Xc,allowEmptyValue:Yc,style:Qc,explode:eu,allowReserved:tu,schema:nu,example:ru,examples:ou,content:lu}},Tag:{$visitor:Rc,fixedFields:{name:Ic,description:Cc,externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"}}},Reference:{$visitor:Tc,fixedFields:{$ref:Fc}},JSONSchema:{$ref:"#/visitors/document/objects/Schema"},JSONReference:{$ref:"#/visitors/document/objects/Reference"},Schema:{$visitor:pu,fixedFields:{title:ch.title,multipleOf:ch.multipleOf,maximum:ch.maximum,exclusiveMaximum:ch.exclusiveMaximum,minimum:ch.minimum,exclusiveMinimum:ch.exclusiveMinimum,maxLength:ch.maxLength,minLength:ch.minLength,pattern:ch.pattern,maxItems:ch.maxItems,minItems:ch.minItems,uniqueItems:ch.uniqueItems,maxProperties:ch.maxProperties,minProperties:ch.minProperties,required:ch.required,enum:ch.enum,type:xu,allOf:mu,anyOf:du,oneOf:yu,not:ku,items:bu,properties:wu,additionalProperties:ku,description:ch.description,format:ch.format,default:ch.default,nullable:ju,discriminator:{$ref:"#/visitors/document/objects/Discriminator"},writeOnly:Su,xml:{$ref:"#/visitors/document/objects/XML"},externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"},example:Ou,deprecated:Pu}},Discriminator:{$visitor:Nu,fixedFields:{propertyName:Mu,mapping:Cu}},XML:{$visitor:Tu,fixedFields:{name:Fu,namespace:$u,prefix:qu,attribute:Lu,wrapped:Bu}},SecurityScheme:{$visitor:zp,fixedFields:{type:Up,description:Gp,name:Wp,in:Jp,scheme:Kp,bearerFormat:Hp,flows:{$ref:"#/visitors/document/objects/OAuthFlows"},openIdConnectUrl:Zp}},OAuthFlows:{$visitor:Xp,fixedFields:{implicit:{$ref:"#/visitors/document/objects/OAuthFlow"},password:{$ref:"#/visitors/document/objects/OAuthFlow"},clientCredentials:{$ref:"#/visitors/document/objects/OAuthFlow"},authorizationCode:{$ref:"#/visitors/document/objects/OAuthFlow"}}},OAuthFlow:{$visitor:Yp,fixedFields:{authorizationUrl:Qp,tokenUrl:eh,refreshUrl:th,scopes:sh}},SecurityRequirement:{$visitor:Pc}},extension:{$visitor:ca}}}},lh={namespace:e=>{const{base:t}=e;return t.register("callback",Tr),t.register("components",$r),t.register("contact",Lr),t.register("discriminator",Dr),t.register("encoding",zr),t.register("example",Gr),t.register("externalDocumentation",Jr),t.register("header",Hr),t.register("info",Xr),t.register("license",Qr),t.register("link",ts),t.register("mediaType",rs),t.register("oAuthFlow",is),t.register("oAuthFlows",as),t.register("openapi",us),t.register("openApi3_0",ps),t.register("operation",ms),t.register("parameter",ds),t.register("pathItem",ys),t.register("paths",bs),t.register("reference",ws),t.register("requestBody",xs),t.register("response",Ss),t.register("responses",Ps),t.register("schema",ko),t.register("securityRequirement",Mo),t.register("securityScheme",Io),t.register("server",To),t.register("serverVariable",$o),t.register("tag",Lo),t.register("xml",Do),t}},ph=()=>{const e=ut(lh);return{predicates:{...s,...i,isStringElement:Ut},namespace:e}},hh=(e,{specPath:t=["visitors","document","objects","OpenApi","$visitor"],plugins:n=[]}={})=>{const r=(0,oe.Qc)(e),s=Xs(uh),i=Mn(t,[],s);return bn(r,i,{state:{specObj:s}}),Cn(i.element,n,{toolboxCreator:ph,visitorOptions:{keyMap:Uo,nodeTypeGetter:zo}})},mh=e=>(t,n={})=>hh(t,{specPath:e,...n});Tr.refract=mh(["visitors","document","objects","Callback","$visitor"]),$r.refract=mh(["visitors","document","objects","Components","$visitor"]),Lr.refract=mh(["visitors","document","objects","Contact","$visitor"]),Gr.refract=mh(["visitors","document","objects","Example","$visitor"]),Dr.refract=mh(["visitors","document","objects","Discriminator","$visitor"]),zr.refract=mh(["visitors","document","objects","Encoding","$visitor"]),Jr.refract=mh(["visitors","document","objects","ExternalDocumentation","$visitor"]),Hr.refract=mh(["visitors","document","objects","Header","$visitor"]),Xr.refract=mh(["visitors","document","objects","Info","$visitor"]),Qr.refract=mh(["visitors","document","objects","License","$visitor"]),ts.refract=mh(["visitors","document","objects","Link","$visitor"]),rs.refract=mh(["visitors","document","objects","MediaType","$visitor"]),is.refract=mh(["visitors","document","objects","OAuthFlow","$visitor"]),as.refract=mh(["visitors","document","objects","OAuthFlows","$visitor"]),us.refract=mh(["visitors","document","objects","OpenApi","fixedFields","openapi"]),ps.refract=mh(["visitors","document","objects","OpenApi","$visitor"]),ms.refract=mh(["visitors","document","objects","Operation","$visitor"]),ds.refract=mh(["visitors","document","objects","Parameter","$visitor"]),ys.refract=mh(["visitors","document","objects","PathItem","$visitor"]),bs.refract=mh(["visitors","document","objects","Paths","$visitor"]),ws.refract=mh(["visitors","document","objects","Reference","$visitor"]),xs.refract=mh(["visitors","document","objects","RequestBody","$visitor"]),Ss.refract=mh(["visitors","document","objects","Response","$visitor"]),Ps.refract=mh(["visitors","document","objects","Responses","$visitor"]),ko.refract=mh(["visitors","document","objects","Schema","$visitor"]),Mo.refract=mh(["visitors","document","objects","SecurityRequirement","$visitor"]),Io.refract=mh(["visitors","document","objects","SecurityScheme","$visitor"]),To.refract=mh(["visitors","document","objects","Server","$visitor"]),$o.refract=mh(["visitors","document","objects","ServerVariable","$visitor"]),Lo.refract=mh(["visitors","document","objects","Tag","$visitor"]),Do.refract=mh(["visitors","document","objects","XML","$visitor"]);const fh=m(-1);const dh=class extends As{};const _h=class extends Array{unknownMediaType="application/octet-stream";filterByFormat(){throw new dh("filterByFormat method in MediaTypes class is not yet implemented.")}findBy(){throw new dh("findBy method in MediaTypes class is not yet implemented.")}latest(){throw new dh("latest method in MediaTypes class is not yet implemented.")}};class yh extends _h{filterByFormat(e="generic"){const t="generic"===e?"openapi;version":e;return this.filter((e=>e.includes(t)))}findBy(e="3.0.3",t="generic"){const n="generic"===t?`vnd.oai.openapi;version=${e}`:`vnd.oai.openapi+${t};version=${e}`;return this.find((e=>e.includes(n)))||this.unknownMediaType}latest(e="generic"){return fh(this.filterByFormat(e))}}const gh=new yh("application/vnd.oai.openapi;version=3.0.0","application/vnd.oai.openapi+json;version=3.0.0","application/vnd.oai.openapi+yaml;version=3.0.0","application/vnd.oai.openapi;version=3.0.1","application/vnd.oai.openapi+json;version=3.0.1","application/vnd.oai.openapi+yaml;version=3.0.1","application/vnd.oai.openapi;version=3.0.2","application/vnd.oai.openapi+json;version=3.0.2","application/vnd.oai.openapi+yaml;version=3.0.2","application/vnd.oai.openapi;version=3.0.3","application/vnd.oai.openapi+json;version=3.0.3","application/vnd.oai.openapi+yaml;version=3.0.3"),bh=new yh(...gh.filterByFormat("generic"),...gh.filterByFormat("json")),vh=/"openapi"\s*:\s*"(?<version_json>3\.0\.([0123])(?:-rc[012])?)"/,wh=async e=>vh.test(e)&&await(async e=>{if(!Ir.test(e))return!1;try{return"ERROR"!==(await Et(e)).rootNode.type}catch{return!1}})(e),Eh=async(e,t={})=>{const n=d({},"refractorOpts",t),r=y(["refractorOpts"],t),s=await(async(e,{sourceMap:t=!1,syntacticAnalysis:n="direct"}={})=>{const r=await Et(e);let s;return s="indirect"===n?Rr(r,{sourceMap:t}):Gn(r,{sourceMap:t}),s})(e,r),{result:i}=s;if(ie(i)){const e=ps.refract(i,n);e.classes.push("result"),s.replaceResult(e)}return s},xh=ut(lh)})(),r})()));
|