source: node_modules/@swagger-api/apidom-ns-json-schema-draft-4/dist/apidom-ns-json-schema-draft-4.browser.js@ d24f17c

main
Last change on this file since d24f17c was d24f17c, checked in by Aleksandar Panovski <apano77@…>, 15 months ago

Initial commit

  • Property mode set to 100644
File size: 116.3 KB
Line 
1!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.apidomNsJSONSchemaDraft4=t():e.apidomNsJSONSchemaDraft4=t()}(self,(()=>(()=>{var e={9408:(e,t,r)=>{var n=r(2676)(r(9088),"DataView");e.exports=n},9728:(e,t,r)=>{var n=r(7152),s=r(1372),i=r(1084),o=r(3516),c=r(1836);function a(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}a.prototype.clear=n,a.prototype.delete=s,a.prototype.get=i,a.prototype.has=o,a.prototype.set=c,e.exports=a},4920:(e,t,r)=>{var n=r(2444),s=r(8776),i=r(3580),o=r(1776),c=r(4688);function a(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}a.prototype.clear=n,a.prototype.delete=s,a.prototype.get=i,a.prototype.has=o,a.prototype.set=c,e.exports=a},8192:(e,t,r)=>{var n=r(2676)(r(9088),"Map");e.exports=n},9892:(e,t,r)=>{var n=r(4112),s=r(1928),i=r(8976),o=r(9336),c=r(3976);function a(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}a.prototype.clear=n,a.prototype.delete=s,a.prototype.get=i,a.prototype.has=o,a.prototype.set=c,e.exports=a},5092:(e,t,r)=>{var n=r(2676)(r(9088),"Promise");e.exports=n},7968:(e,t,r)=>{var n=r(2676)(r(9088),"Set");e.exports=n},2539:(e,t,r)=>{var n=r(9892),s=r(520),i=r(6240);function o(e){var t=-1,r=null==e?0:e.length;for(this.__data__=new n;++t<r;)this.add(e[t])}o.prototype.add=o.prototype.push=s,o.prototype.has=i,e.exports=o},3288:(e,t,r)=>{var n=r(4920),s=r(816),i=r(4040),o=r(3304),c=r(6696),a=r(2968);function u(e){var t=this.__data__=new n(e);this.size=t.size}u.prototype.clear=s,u.prototype.delete=i,u.prototype.get=o,u.prototype.has=c,u.prototype.set=a,e.exports=u},3972:(e,t,r)=>{var n=r(9088).Symbol;e.exports=n},400:(e,t,r)=>{var n=r(9088).Uint8Array;e.exports=n},1432:(e,t,r)=>{var n=r(2676)(r(9088),"WeakMap");e.exports=n},2856:e=>{e.exports=function(e,t){for(var r=-1,n=null==e?0:e.length,s=0,i=[];++r<n;){var o=e[r];t(o,r,e)&&(i[s++]=o)}return i}},192:(e,t,r)=>{var n=r(9664),s=r(3396),i=r(1648),o=r(9028),c=r(1640),a=r(5692),u=Object.prototype.hasOwnProperty;e.exports=function(e,t){var r=i(e),l=!r&&s(e),f=!r&&!l&&o(e),p=!r&&!l&&!f&&a(e),h=r||l||f||p,m=h?n(e.length,String):[],y=m.length;for(var d in e)!t&&!u.call(e,d)||h&&("length"==d||f&&("offset"==d||"parent"==d)||p&&("buffer"==d||"byteLength"==d||"byteOffset"==d)||c(d,y))||m.push(d);return m}},4972:e=>{e.exports=function(e,t){for(var r=-1,n=t.length,s=e.length;++r<n;)e[s+r]=t[r];return e}},3464:e=>{e.exports=function(e,t){for(var r=-1,n=null==e?0:e.length;++r<n;)if(t(e[r],r,e))return!0;return!1}},1840:(e,t,r)=>{var n=r(4684);e.exports=function(e,t){for(var r=e.length;r--;)if(n(e[r][0],t))return r;return-1}},9476:(e,t,r)=>{var n=r(4972),s=r(1648);e.exports=function(e,t,r){var i=t(e);return s(e)?i:n(i,r(e))}},7596:(e,t,r)=>{var n=r(3972),s=r(712),i=r(2640),o=n?n.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)}},5064:(e,t,r)=>{var n=r(7596),s=r(8152);e.exports=function(e){return s(e)&&"[object Arguments]"==n(e)}},7816:(e,t,r)=>{var n=r(4480),s=r(8152);e.exports=function e(t,r,i,o,c){return t===r||(null==t||null==r||!s(t)&&!s(r)?t!=t&&r!=r:n(t,r,i,o,e,c))}},4480:(e,t,r)=>{var n=r(3288),s=r(7227),i=r(1872),o=r(3980),c=r(2300),a=r(1648),u=r(9028),l=r(5692),f="[object Arguments]",p="[object Array]",h="[object Object]",m=Object.prototype.hasOwnProperty;e.exports=function(e,t,r,y,d,v){var g=a(e),b=a(t),j=g?p:c(e),E=b?p:c(t),x=(j=j==f?h:j)==h,O=(E=E==f?h:E)==h,w=j==E;if(w&&u(e)){if(!u(t))return!1;g=!0,x=!1}if(w&&!x)return v||(v=new n),g||l(e)?s(e,t,r,y,d,v):i(e,t,j,r,y,d,v);if(!(1&r)){var S=x&&m.call(e,"__wrapped__"),A=O&&m.call(t,"__wrapped__");if(S||A){var _=S?e.value():e,k=A?t.value():t;return v||(v=new n),d(_,k,r,y,v)}}return!!w&&(v||(v=new n),o(e,t,r,y,d,v))}},7376:(e,t,r)=>{var n=r(7464),s=r(9008),i=r(636),o=r(4776),c=/^\[object .+?Constructor\]$/,a=Function.prototype,u=Object.prototype,l=a.toString,f=u.hasOwnProperty,p=RegExp("^"+l.call(f).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!i(e)||s(e))&&(n(e)?p:c).test(o(e))}},420:(e,t,r)=>{var n=r(7596),s=r(9912),i=r(8152),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[n(e)]}},2144:(e,t,r)=>{var n=r(4084),s=r(7532),i=Object.prototype.hasOwnProperty;e.exports=function(e){if(!n(e))return s(e);var t=[];for(var r in Object(e))i.call(e,r)&&"constructor"!=r&&t.push(r);return t}},9664:e=>{e.exports=function(e,t){for(var r=-1,n=Array(e);++r<e;)n[r]=t(r);return n}},5792:e=>{e.exports=function(e){return function(t){return e(t)}}},2844:e=>{e.exports=function(e,t){return e.has(t)}},1812:(e,t,r)=>{var n=r(9088)["__core-js_shared__"];e.exports=n},7227:(e,t,r)=>{var n=r(2539),s=r(3464),i=r(2844);e.exports=function(e,t,r,o,c,a){var u=1&r,l=e.length,f=t.length;if(l!=f&&!(u&&f>l))return!1;var p=a.get(e),h=a.get(t);if(p&&h)return p==t&&h==e;var m=-1,y=!0,d=2&r?new n:void 0;for(a.set(e,t),a.set(t,e);++m<l;){var v=e[m],g=t[m];if(o)var b=u?o(g,v,m,t,e,a):o(v,g,m,e,t,a);if(void 0!==b){if(b)continue;y=!1;break}if(d){if(!s(t,(function(e,t){if(!i(d,t)&&(v===e||c(v,e,r,o,a)))return d.push(t)}))){y=!1;break}}else if(v!==g&&!c(v,g,r,o,a)){y=!1;break}}return a.delete(e),a.delete(t),y}},1872:(e,t,r)=>{var n=r(3972),s=r(400),i=r(4684),o=r(7227),c=r(8788),a=r(7280),u=n?n.prototype:void 0,l=u?u.valueOf:void 0;e.exports=function(e,t,r,n,u,f,p){switch(r){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||!f(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 h=c;case"[object Set]":var m=1&n;if(h||(h=a),e.size!=t.size&&!m)return!1;var y=p.get(e);if(y)return y==t;n|=2,p.set(e,t);var d=o(h(e),h(t),n,u,f,p);return p.delete(e),d;case"[object Symbol]":if(l)return l.call(e)==l.call(t)}return!1}},3980:(e,t,r)=>{var n=r(2892),s=Object.prototype.hasOwnProperty;e.exports=function(e,t,r,i,o,c){var a=1&r,u=n(e),l=u.length;if(l!=n(t).length&&!a)return!1;for(var f=l;f--;){var p=u[f];if(!(a?p in t:s.call(t,p)))return!1}var h=c.get(e),m=c.get(t);if(h&&m)return h==t&&m==e;var y=!0;c.set(e,t),c.set(t,e);for(var d=a;++f<l;){var v=e[p=u[f]],g=t[p];if(i)var b=a?i(g,v,p,t,e,c):i(v,g,p,e,t,c);if(!(void 0===b?v===g||o(v,g,r,i,c):b)){y=!1;break}d||(d="constructor"==p)}if(y&&!d){var j=e.constructor,E=t.constructor;j==E||!("constructor"in e)||!("constructor"in t)||"function"==typeof j&&j instanceof j&&"function"==typeof E&&E instanceof E||(y=!1)}return c.delete(e),c.delete(t),y}},7400:(e,t,r)=>{var n="object"==typeof r.g&&r.g&&r.g.Object===Object&&r.g;e.exports=n},2892:(e,t,r)=>{var n=r(9476),s=r(7112),i=r(5200);e.exports=function(e){return n(e,i,s)}},2840:(e,t,r)=>{var n=r(6768);e.exports=function(e,t){var r=e.__data__;return n(t)?r["string"==typeof t?"string":"hash"]:r.map}},2676:(e,t,r)=>{var n=r(7376),s=r(2420);e.exports=function(e,t){var r=s(e,t);return n(r)?r:void 0}},712:(e,t,r)=>{var n=r(3972),s=Object.prototype,i=s.hasOwnProperty,o=s.toString,c=n?n.toStringTag:void 0;e.exports=function(e){var t=i.call(e,c),r=e[c];try{e[c]=void 0;var n=!0}catch(e){}var s=o.call(e);return n&&(t?e[c]=r:delete e[c]),s}},7112:(e,t,r)=>{var n=r(2856),s=r(5992),i=Object.prototype.propertyIsEnumerable,o=Object.getOwnPropertySymbols,c=o?function(e){return null==e?[]:(e=Object(e),n(o(e),(function(t){return i.call(e,t)})))}:s;e.exports=c},2300:(e,t,r)=>{var n=r(9408),s=r(8192),i=r(5092),o=r(7968),c=r(1432),a=r(7596),u=r(4776),l="[object Map]",f="[object Promise]",p="[object Set]",h="[object WeakMap]",m="[object DataView]",y=u(n),d=u(s),v=u(i),g=u(o),b=u(c),j=a;(n&&j(new n(new ArrayBuffer(1)))!=m||s&&j(new s)!=l||i&&j(i.resolve())!=f||o&&j(new o)!=p||c&&j(new c)!=h)&&(j=function(e){var t=a(e),r="[object Object]"==t?e.constructor:void 0,n=r?u(r):"";if(n)switch(n){case y:return m;case d:return l;case v:return f;case g:return p;case b:return h}return t}),e.exports=j},2420:e=>{e.exports=function(e,t){return null==e?void 0:e[t]}},7152:(e,t,r)=>{var n=r(3768);e.exports=function(){this.__data__=n?n(null):{},this.size=0}},1372:e=>{e.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}},1084:(e,t,r)=>{var n=r(3768),s=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;if(n){var r=t[e];return"__lodash_hash_undefined__"===r?void 0:r}return s.call(t,e)?t[e]:void 0}},3516:(e,t,r)=>{var n=r(3768),s=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return n?void 0!==t[e]:s.call(t,e)}},1836:(e,t,r)=>{var n=r(3768);e.exports=function(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=n&&void 0===t?"__lodash_hash_undefined__":t,this}},1640:e=>{var t=/^(?:0|[1-9]\d*)$/;e.exports=function(e,r){var n=typeof e;return!!(r=null==r?9007199254740991:r)&&("number"==n||"symbol"!=n&&t.test(e))&&e>-1&&e%1==0&&e<r}},6768:e=>{e.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},9008:(e,t,r)=>{var n,s=r(1812),i=(n=/[^.]+$/.exec(s&&s.keys&&s.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"";e.exports=function(e){return!!i&&i in e}},4084:e=>{var t=Object.prototype;e.exports=function(e){var r=e&&e.constructor;return e===("function"==typeof r&&r.prototype||t)}},2444:e=>{e.exports=function(){this.__data__=[],this.size=0}},8776:(e,t,r)=>{var n=r(1840),s=Array.prototype.splice;e.exports=function(e){var t=this.__data__,r=n(t,e);return!(r<0)&&(r==t.length-1?t.pop():s.call(t,r,1),--this.size,!0)}},3580:(e,t,r)=>{var n=r(1840);e.exports=function(e){var t=this.__data__,r=n(t,e);return r<0?void 0:t[r][1]}},1776:(e,t,r)=>{var n=r(1840);e.exports=function(e){return n(this.__data__,e)>-1}},4688:(e,t,r)=>{var n=r(1840);e.exports=function(e,t){var r=this.__data__,s=n(r,e);return s<0?(++this.size,r.push([e,t])):r[s][1]=t,this}},4112:(e,t,r)=>{var n=r(9728),s=r(4920),i=r(8192);e.exports=function(){this.size=0,this.__data__={hash:new n,map:new(i||s),string:new n}}},1928:(e,t,r)=>{var n=r(2840);e.exports=function(e){var t=n(this,e).delete(e);return this.size-=t?1:0,t}},8976:(e,t,r)=>{var n=r(2840);e.exports=function(e){return n(this,e).get(e)}},9336:(e,t,r)=>{var n=r(2840);e.exports=function(e){return n(this,e).has(e)}},3976:(e,t,r)=>{var n=r(2840);e.exports=function(e,t){var r=n(this,e),s=r.size;return r.set(e,t),this.size+=r.size==s?0:1,this}},8788:e=>{e.exports=function(e){var t=-1,r=Array(e.size);return e.forEach((function(e,n){r[++t]=[n,e]})),r}},3768:(e,t,r)=>{var n=r(2676)(Object,"create");e.exports=n},7532:(e,t,r)=>{var n=r(8443)(Object.keys,Object);e.exports=n},1548:(e,t,r)=>{e=r.nmd(e);var n=r(7400),s=t&&!t.nodeType&&t,i=s&&e&&!e.nodeType&&e,o=i&&i.exports===s&&n.process,c=function(){try{var e=i&&i.require&&i.require("util").types;return e||o&&o.binding&&o.binding("util")}catch(e){}}();e.exports=c},2640:e=>{var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},8443:e=>{e.exports=function(e,t){return function(r){return e(t(r))}}},9088:(e,t,r)=>{var n=r(7400),s="object"==typeof self&&self&&self.Object===Object&&self,i=n||s||Function("return this")();e.exports=i},520:e=>{e.exports=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this}},6240:e=>{e.exports=function(e){return this.__data__.has(e)}},7280:e=>{e.exports=function(e){var t=-1,r=Array(e.size);return e.forEach((function(e){r[++t]=e})),r}},816:(e,t,r)=>{var n=r(4920);e.exports=function(){this.__data__=new n,this.size=0}},4040:e=>{e.exports=function(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r}},3304:e=>{e.exports=function(e){return this.__data__.get(e)}},6696:e=>{e.exports=function(e){return this.__data__.has(e)}},2968:(e,t,r)=>{var n=r(4920),s=r(8192),i=r(9892);e.exports=function(e,t){var r=this.__data__;if(r instanceof n){var o=r.__data__;if(!s||o.length<199)return o.push([e,t]),this.size=++r.size,this;r=this.__data__=new i(o)}return r.set(e,t),this.size=r.size,this}},4776: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""}},4684:e=>{e.exports=function(e,t){return e===t||e!=e&&t!=t}},3396:(e,t,r)=>{var n=r(5064),s=r(8152),i=Object.prototype,o=i.hasOwnProperty,c=i.propertyIsEnumerable,a=n(function(){return arguments}())?n:function(e){return s(e)&&o.call(e,"callee")&&!c.call(e,"callee")};e.exports=a},1648:e=>{var t=Array.isArray;e.exports=t},2468:(e,t,r)=>{var n=r(7464),s=r(9912);e.exports=function(e){return null!=e&&s(e.length)&&!n(e)}},5904:(e,t,r)=>{var n=r(7596),s=r(8152);e.exports=function(e){return!0===e||!1===e||s(e)&&"[object Boolean]"==n(e)}},9028:(e,t,r)=>{e=r.nmd(e);var n=r(9088),s=r(6388),i=t&&!t.nodeType&&t,o=i&&e&&!e.nodeType&&e,c=o&&o.exports===i?n.Buffer:void 0,a=(c?c.isBuffer:void 0)||s;e.exports=a},4744:(e,t,r)=>{var n=r(7816);e.exports=function(e,t){return n(e,t)}},7464:(e,t,r)=>{var n=r(7596),s=r(636);e.exports=function(e){if(!s(e))return!1;var t=n(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},9912:e=>{e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},9948:e=>{e.exports=function(e){return null===e}},776:(e,t,r)=>{var n=r(7596),s=r(8152);e.exports=function(e){return"number"==typeof e||s(e)&&"[object Number]"==n(e)}},636:e=>{e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},8152:e=>{e.exports=function(e){return null!=e&&"object"==typeof e}},3116:(e,t,r)=>{var n=r(7596),s=r(1648),i=r(8152);e.exports=function(e){return"string"==typeof e||!s(e)&&i(e)&&"[object String]"==n(e)}},5692:(e,t,r)=>{var n=r(420),s=r(5792),i=r(1548),o=i&&i.isTypedArray,c=o?s(o):n;e.exports=c},5200:(e,t,r)=>{var n=r(192),s=r(2144),i=r(2468);e.exports=function(e){return i(e)?n(e):s(e)}},9364: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)}}},5992:e=>{e.exports=function(){return[]}},6388:e=>{e.exports=function(){return!1}},1715:(e,t,r)=>{const n=r(9364);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 r=[];return this.forEach((n=>{const s=e.bind(t)(n);s&&r.push(s)})),r}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(n(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},6984: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},5524:(e,t,r)=>{const n=r(9948),s=r(3116),i=r(776),o=r(5904),c=r(636),a=r(824),u=r(5012);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(n,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(c,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,r){return void 0===r||r?this.elementDetection.unshift([e,t]):this.elementDetection.push([e,t]),this}toElement(e){if(e instanceof this.Element)return e;let t;for(let r=0;r<this.elementDetection.length;r+=1){const n=this.elementDetection[r][0],s=this.elementDetection[r][1];if(n(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 a(this)}}a.prototype.Namespace=l,e.exports=l},6040:(e,t,r)=>{const n=r(9364),s=r(1715);class i extends s{map(e,t){return this.elements.map((r=>e.bind(t)(r.value,r.key,r)))}filter(e,t){return new i(this.elements.filter((r=>e.bind(t)(r.value,r.key,r))))}reject(e,t){return this.filter(n(e.bind(t)))}forEach(e,t){return this.elements.forEach(((r,n)=>{e.bind(t)(r.value,r.key,r,n)}))}keys(){return this.map(((e,t)=>t.toValue()))}values(){return this.map((e=>e.toValue()))}}e.exports=i},5012:(e,t,r)=>{const n=r(3216),s=r(904),i=r(2800),o=r(8640),c=r(1164),a=r(5208),u=r(7416),l=r(1800),f=r(5048),p=r(3392),h=r(1715),m=r(6040),y=r(6984);function d(e){if(e instanceof n)return e;if("string"==typeof e)return new i(e);if("number"==typeof e)return new o(e);if("boolean"==typeof e)return new c(e);if(null===e)return new s;if(Array.isArray(e))return new a(e.map(d));if("object"==typeof e){return new l(e)}return e}n.prototype.ObjectElement=l,n.prototype.RefElement=p,n.prototype.MemberElement=u,n.prototype.refract=d,h.prototype.refract=d,e.exports={Element:n,NullElement:s,StringElement:i,NumberElement:o,BooleanElement:c,ArrayElement:a,MemberElement:u,ObjectElement:l,LinkElement:f,RefElement:p,refract:d,ArraySlice:h,ObjectSlice:m,KeyValuePair:y}},5048:(e,t,r)=>{const n=r(3216);e.exports=class extends n{constructor(e,t,r){super(e||[],t,r),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)}}},3392:(e,t,r)=>{const n=r(3216);e.exports=class extends n{constructor(e,t,r){super(e||[],t,r),this.element="ref",this.path||(this.path="element")}get path(){return this.attributes.get("path")}set path(e){this.attributes.set("path",e)}}},928:(e,t,r)=>{const n=r(5524),s=r(5012);t.MH=n,t.KeyValuePair=r(6984),t.eW=s.ArraySlice,t.wL=s.ObjectSlice,t.gr=s.Element,t.M$=s.StringElement,t.wH=s.NumberElement,t.Ar=s.BooleanElement,t.WM=s.NullElement,t.uQ=s.ArrayElement,t.We=s.ObjectElement,t.u6=s.MemberElement,t.eE=s.RefElement,t.UH=s.LinkElement,t.WG=s.refract,r(824),r(6400)},5208:(e,t,r)=>{const n=r(9364),s=r(3216),i=r(1715);class o extends s{constructor(e,t,r){super(e||[],t,r),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 r=[];return this.forEach((n=>{const s=e.bind(t)(n);s&&r.push(s)})),r}filter(e,t){return new i(this.content.filter(e,t))}reject(e,t){return this.filter(n(e),t)}reduce(e,t){let r,n;void 0!==t?(r=0,n=this.refract(t)):(r=1,n="object"===this.primitive()?this.first.value:this.first);for(let t=r;t<this.length;t+=1){const r=this.content[t];n="object"===this.primitive()?this.refract(e(n,r.value,r.key,r,this)):this.refract(e(n,r,t,this))}return n}forEach(e,t){this.content.forEach(((r,n)=>{e.bind(t)(r,this.refract(n))}))}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 r=t||{},n=!!r.recursive,s=void 0===r.results?[]:r.results;return this.forEach(((t,r,i)=>{n&&void 0!==t.findElements&&t.findElements(e,{results:s,recursive:n}),e(t,r,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},1164:(e,t,r)=>{const n=r(3216);e.exports=class extends n{constructor(e,t,r){super(e,t,r),this.element="boolean"}primitive(){return"boolean"}}},3216:(e,t,r)=>{const n=r(4744),s=r(6984),i=r(1715);class o{constructor(e,t,r){t&&(this.meta=t),r&&(this.attributes=r),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 r=new i;const n=(e,t)=>(e.push(t),e),o=(e,r)=>{r.element===t&&e.push(r);const i=r.findRecursive(t);return i&&i.reduce(n,e),r.content instanceof s&&(r.content.key&&o(e,r.content.key),r.content.value&&o(e,r.content.value)),e};return this.content&&(this.content.element&&o(r,this.content),Array.isArray(this.content)&&this.content.reduce(o,r)),e.isEmpty||(r=r.filter((t=>{let r=t.parents.map((e=>e.element));for(const t in e){const n=e[t],s=r.indexOf(n);if(-1===s)return!1;r=r.splice(0,s)}return!0}))),r}set(e){return this.content=e,this}equals(e){return n(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},7416:(e,t,r)=>{const n=r(6984),s=r(3216);e.exports=class extends s{constructor(e,t,r,s){super(new n,r,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)}}},904:(e,t,r)=>{const n=r(3216);e.exports=class extends n{constructor(e,t,r){super(e||null,t,r),this.element="null"}primitive(){return"null"}set(){return new Error("Cannot set the value of null")}}},8640:(e,t,r)=>{const n=r(3216);e.exports=class extends n{constructor(e,t,r){super(e,t,r),this.element="number"}primitive(){return"number"}}},1800:(e,t,r)=>{const n=r(9364),s=r(636),i=r(5208),o=r(7416),c=r(6040);e.exports=class extends i{constructor(e,t,r){super(e||[],t,r),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((r=>r.key.toValue()!==e||(t=r,!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 r=e,n=this.getMember(r);return n?n.value=t:this.content.push(new o(r,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((r=>e.bind(t)(r.value,r.key,r)))}compactMap(e,t){const r=[];return this.forEach(((n,s,i)=>{const o=e.bind(t)(n,s,i);o&&r.push(o)})),r}filter(e,t){return new c(this.content).filter(e,t)}reject(e,t){return this.filter(n(e),t)}forEach(e,t){return this.content.forEach((r=>e.bind(t)(r.value,r.key,r)))}}},2800:(e,t,r)=>{const n=r(3216);e.exports=class extends n{constructor(e,t,r){super(e,t,r),this.element="string"}primitive(){return"string"}get length(){return this.content.length}}},6400:(e,t,r)=>{const n=r(824);e.exports=class extends n{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 r={element:e.element};e._meta&&e._meta.length>0&&(r.meta=this.serialiseObject(e.meta));const n="enum"===e.element||-1!==e.attributes.keys().indexOf("enumerations");if(n){const t=this.enumSerialiseAttributes(e);t&&(r.attributes=t)}else if(e._attributes&&e._attributes.length>0){let{attributes:n}=e;n.get("metadata")&&(n=n.clone(),n.set("meta",n.get("metadata")),n.remove("metadata")),"member"===e.element&&t&&(n=n.clone(),n.remove("variable")),n.length>0&&(r.attributes=this.serialiseObject(n))}if(n)r.content=this.enumSerialiseContent(e,r);else if(this[`${e.element}SerialiseContent`])r.content=this[`${e.element}SerialiseContent`](e,r);else if(void 0!==e.content){let n;t&&e.content.key?(n=e.content.clone(),n.key.attributes.set("variable",t),n=this.serialiseContent(n)):n=this.serialiseContent(e.content),this.shouldSerialiseContent(e,n)&&(r.content=n)}else this.shouldSerialiseContent(e,e.content)&&e instanceof this.namespace.elements.Array&&(r.content=[]);return r}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(),r=t.remove("enumerations")||new this.namespace.elements.Array([]),n=t.get("default");let s=t.get("samples")||new this.namespace.elements.Array([]);if(n&&n.content&&(n.content.attributes&&n.content.attributes.remove("typeAttributes"),t.set("default",new this.namespace.elements.Array([n.content]))),s.forEach((e=>{e.content&&e.content.element&&e.content.attributes.remove("typeAttributes")})),e.content&&0!==r.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),r=new t;r.element!==e.element&&(r.element=e.element),e.meta&&this.deserialiseObject(e.meta,r.meta),e.attributes&&this.deserialiseObject(e.attributes,r.attributes);const n=this.deserialiseContent(e.content);if(void 0===n&&null!==r.content||(r.content=n),"enum"===r.element){r.content&&r.attributes.set("enumerations",r.content);let e=r.attributes.get("samples");if(r.attributes.remove("samples"),e){const n=e;e=new this.namespace.elements.Array,n.forEach((n=>{n.forEach((n=>{const s=new t(n);s.element=r.element,e.push(s)}))}));const s=e.shift();r.content=s?s.content:void 0,r.attributes.set("samples",e)}else r.content=void 0;let n=r.attributes.get("default");if(n&&n.length>0){n=n.get(0);const e=new t(n);e.element=r.element,r.attributes.set("default",e)}}else if("dataStructure"===r.element&&Array.isArray(r.content))[r.content]=r.content;else if("category"===r.element){const e=r.attributes.get("meta");e&&(r.attributes.set("metadata",e),r.attributes.remove("meta"))}else"member"===r.element&&r.key&&r.key._attributes&&r.key._attributes.getValue("variable")&&(r.attributes.set("variable",r.key.attributes.get("variable")),r.key.attributes.remove("variable"));return r}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,r)=>{if(e){const n=r.toValue();t[n]=this.convertKeyToRefract(n,e)}})),t}deserialiseObject(e,t){Object.keys(e).forEach((r=>{t.set(r,this.deserialise(e[r]))}))}}},824: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 r=this.serialiseContent(e.content);return void 0!==r&&(t.content=r),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 r=this.deserialiseContent(e.content);return void 0===r&&null!==t.content||(t.content=r),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,r)=>{e&&(t[r.toValue()]=this.serialise(e))})),0!==Object.keys(t).length)return t}deserialiseObject(e,t){Object.keys(e).forEach((r=>{t.set(r,this.deserialise(e[r]))}))}}},4248:e=>{!function(){"use strict";var t,r,n,s,i,o="properties",c="deepProperties",a="propertyDescriptors",u="staticProperties",l="staticDeepProperties",f="staticPropertyDescriptors",p="configuration",h="deepConfiguration",m="deepProps",y="deepStatics",d="deepConf",v="initializers",g="methods",b="composers",j="compose";function E(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e):[])}function x(e,t){return Array.prototype.slice.call(arguments,2).reduce(e,t)}var O=x.bind(0,(function(e,t){if(t)for(var r=E(t),n=0;n<r.length;n+=1)Object.defineProperty(e,r[n],Object.getOwnPropertyDescriptor(t,r[n]));return e}));function w(e){return"function"==typeof e}function S(e){return e&&"object"==typeof e||w(e)}function A(e){return e&&"object"==typeof e&&e.__proto__==Object.prototype}var _=x.bind(0,(function e(r,n){if(n===t)return r;if(Array.isArray(n))return(Array.isArray(r)?r:[]).concat(n);if(!A(n))return n;for(var s,i,o=E(n),c=0;c<o.length;)s=o[c++],(i=Object.getOwnPropertyDescriptor(n,s)).hasOwnProperty("value")?i.value!==t&&(r[s]=e(A(r[s])||Array.isArray(n[s])?r[s]:{},n[s])):Object.defineProperty(r,s,i);return r}));function k(){return(r=Array.prototype.concat.apply([],arguments).filter((function(e,t,r){return w(e)&&r.indexOf(e)===t}))).length?r:t}function P(e,t){function n(r,n){S(t[r])&&(S(e[r])||(e[r]={}),(n||O)(e[r],t[r]))}function s(n){(r=k(e[n],t[n]))&&(e[n]=r)}return t&&S(t=t[j]||t)&&(n(g),n(o),n(c,_),n(a),n(u),n(l,_),n(f),n(p),n(h,_),s(v),s(b)),e}function M(){return function(e){return r=function e(r){var n,s,i=e[j]||{},u={__proto__:i[g]},l=i[v],f=Array.prototype.slice.apply(arguments),p=i[c];if(p&&_(u,p),(p=i[o])&&O(u,p),(p=i[a])&&Object.defineProperties(u,p),!l||!l.length)return u;for(r===t&&(r={}),i=0;i<l.length;)w(n=l[i++])&&(u=(s=n.call(u,r,{instance:u,stamp:e,args:f}))===t?u:s);return u},(n=e[l])&&_(r,n),(n=e[u])&&O(r,n),(n=e[f])&&Object.defineProperties(r,n),n=w(r[j])?r[j]:M,O(r[j]=function(){return n.apply(this,arguments)},e),r}(Array.prototype.concat.apply([this],arguments).reduce(P,{}))}function T(e){return w(e)&&w(e[j])}var N={};function R(e,i){return function(){return(s={})[e]=i.apply(t,Array.prototype.concat.apply([{}],arguments)),((r=this)&&r[j]||n).call(r,s)}}N[g]=R(g,O),N[o]=N.props=R(o,O),N[v]=N.init=R(v,k),N[b]=R(b,k),N[c]=N[m]=R(c,_),N[u]=N.statics=R(u,O),N[l]=N[y]=R(l,_),N[p]=N.conf=R(p,O),N[h]=N[d]=R(h,_),N[a]=R(a,O),N[f]=R(f,O),n=N[j]=O((function(){for(var e,E,x=0,w=[],A=arguments,P=this;x<A.length;)S(e=A[x++])&&w.push(T(e)?e:((s={})[g]=(E=e)[g]||t,n=E.props,s[o]=S((r=E[o])||n)?O({},n,r):t,s[v]=k(E.init,E[v]),s[b]=k(E[b]),n=E[m],s[c]=S((r=E[c])||n)?_({},n,r):t,s[a]=E[a],n=E.statics,s[u]=S((r=E[u])||n)?O({},n,r):t,n=E[y],s[l]=S((r=E[l])||n)?_({},n,r):t,r=E[f],s[f]=S((n=E.name&&{name:{value:E.name}})||r)?O({},r,n):t,n=E.conf,s[p]=S((r=E[p])||n)?O({},n,r):t,n=E[d],s[h]=S((r=E[h])||n)?_({},n,r):t,s));if(e=M.apply(P||i,w),P&&w.unshift(P),Array.isArray(A=e[j][b]))for(x=0;x<A.length;)e=T(P=A[x++]({stamp:e,composables:w}))?P:e;return e}),N),N.create=function(){return this.apply(t,arguments)},(s={})[u]=N,i=M(s),n[j]=n.bind(),n.version="4.3.2","object"!=typeof t?e.exports=n:self.stampit=n}()},1204:(e,t,r)=>{e.exports=r(5616)},2772:(e,t,r)=>{"use strict";var n=r(7828);e.exports=n},7984:(e,t,r)=>{"use strict";r(4420),r(8436),r(5936),r(340),r(4176);var n=r(9832);e.exports=n.AggregateError},5616:(e,t,r)=>{"use strict";e.exports=r(9888)},9888:(e,t,r)=>{"use strict";r(2796);var n=r(2772);e.exports=n},28:(e,t,r)=>{"use strict";var n=r(8536),s=r(8944),i=TypeError;e.exports=function(e){if(n(e))return e;throw new i(s(e)+" is not a function")}},1459:(e,t,r)=>{"use strict";var n=r(7432),s=String,i=TypeError;e.exports=function(e){if(n(e))return e;throw new i("Can't set "+s(e)+" as a prototype")}},1472:e=>{"use strict";e.exports=function(){}},2032:(e,t,r)=>{"use strict";var n=r(8608),s=String,i=TypeError;e.exports=function(e){if(n(e))return e;throw new i(s(e)+" is not an object")}},5083:(e,t,r)=>{"use strict";var n=r(445),s=r(4180),i=r(5316),o=function(e){return function(t,r,o){var c,a=n(t),u=i(a),l=s(o,u);if(e&&r!=r){for(;u>l;)if((c=a[l++])!=c)return!0}else for(;u>l;l++)if((e||l in a)&&a[l]===r)return e||l||0;return!e&&-1}};e.exports={includes:o(!0),indexOf:o(!1)}},7936:(e,t,r)=>{"use strict";var n=r(9252),s=n({}.toString),i=n("".slice);e.exports=function(e){return i(s(e),8,-1)}},3016:(e,t,r)=>{"use strict";var n=r(6744),s=r(8536),i=r(7936),o=r(3336)("toStringTag"),c=Object,a="Arguments"===i(function(){return arguments}());e.exports=n?i:function(e){var t,r,n;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(r=function(e,t){try{return e[t]}catch(e){}}(t=c(e),o))?r:a?i(t):"Object"===(n=i(t))&&s(t.callee)?"Arguments":n}},1100:(e,t,r)=>{"use strict";var n=r(4664),s=r(7876),i=r(1008),o=r(2280);e.exports=function(e,t,r){for(var c=s(t),a=o.f,u=i.f,l=0;l<c.length;l++){var f=c[l];n(e,f)||r&&n(r,f)||a(e,f,u(t,f))}}},2480:(e,t,r)=>{"use strict";var n=r(2064);e.exports=!n((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},3848:e=>{"use strict";e.exports=function(e,t){return{value:e,done:t}}},896:(e,t,r)=>{"use strict";var n=r(9172),s=r(2280),i=r(8981);e.exports=n?function(e,t,r){return s.f(e,t,i(1,r))}:function(e,t,r){return e[t]=r,e}},8981:e=>{"use strict";e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},5424:(e,t,r)=>{"use strict";var n=r(896);e.exports=function(e,t,r,s){return s&&s.enumerable?e[t]=r:n(e,t,r),e}},4408:(e,t,r)=>{"use strict";var n=r(5216),s=Object.defineProperty;e.exports=function(e,t){try{s(n,e,{value:t,configurable:!0,writable:!0})}catch(r){n[e]=t}return t}},9172:(e,t,r)=>{"use strict";var n=r(2064);e.exports=!n((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]}))},1940:(e,t,r)=>{"use strict";var n=r(5216),s=r(8608),i=n.document,o=s(i)&&s(i.createElement);e.exports=function(e){return o?i.createElement(e):{}}},472: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}},2276:e=>{"use strict";e.exports="undefined"!=typeof navigator&&String(navigator.userAgent)||""},3896:(e,t,r)=>{"use strict";var n,s,i=r(5216),o=r(2276),c=i.process,a=i.Deno,u=c&&c.versions||a&&a.version,l=u&&u.v8;l&&(s=(n=l.split("."))[0]>0&&n[0]<4?1:+(n[0]+n[1])),!s&&o&&(!(n=o.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=o.match(/Chrome\/(\d+)/))&&(s=+n[1]),e.exports=s},3620:e=>{"use strict";e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},9492:(e,t,r)=>{"use strict";var n=r(9252),s=Error,i=n("".replace),o=String(new s("zxcasd").stack),c=/\n\s*at [^:]*:[^\n]*/,a=c.test(o);e.exports=function(e,t){if(a&&"string"==typeof e&&!s.prepareStackTrace)for(;t--;)e=i(e,c,"");return e}},9035:(e,t,r)=>{"use strict";var n=r(896),s=r(9492),i=r(1376),o=Error.captureStackTrace;e.exports=function(e,t,r,c){i&&(o?o(e,t):n(e,"stack",s(r,c)))}},1376:(e,t,r)=>{"use strict";var n=r(2064),s=r(8981);e.exports=!n((function(){var e=new Error("a");return!("stack"in e)||(Object.defineProperty(e,"stack",s(1,7)),7!==e.stack)}))},3952:(e,t,r)=>{"use strict";var n=r(5216),s=r(9867),i=r(1248),o=r(8536),c=r(1008).f,a=r(6155),u=r(9832),l=r(1884),f=r(896),p=r(4664),h=function(e){var t=function(r,n,i){if(this instanceof t){switch(arguments.length){case 0:return new e;case 1:return new e(r);case 2:return new e(r,n)}return new e(r,n,i)}return s(e,this,arguments)};return t.prototype=e.prototype,t};e.exports=function(e,t){var r,s,m,y,d,v,g,b,j,E=e.target,x=e.global,O=e.stat,w=e.proto,S=x?n:O?n[E]:n[E]&&n[E].prototype,A=x?u:u[E]||f(u,E,{})[E],_=A.prototype;for(y in t)s=!(r=a(x?y:E+(O?".":"#")+y,e.forced))&&S&&p(S,y),v=A[y],s&&(g=e.dontCallGetSet?(j=c(S,y))&&j.value:S[y]),d=s&&g?g:t[y],(r||w||typeof v!=typeof d)&&(b=e.bind&&s?l(d,n):e.wrap&&s?h(d):w&&o(d)?i(d):d,(e.sham||d&&d.sham||v&&v.sham)&&f(b,"sham",!0),f(A,y,b),w&&(p(u,m=E+"Prototype")||f(u,m,{}),f(u[m],y,d),e.real&&_&&(r||!_[y])&&f(_,y,d)))}},2064:e=>{"use strict";e.exports=function(e){try{return!!e()}catch(e){return!0}}},9867:(e,t,r)=>{"use strict";var n=r(2820),s=Function.prototype,i=s.apply,o=s.call;e.exports="object"==typeof Reflect&&Reflect.apply||(n?o.bind(i):function(){return o.apply(i,arguments)})},1884:(e,t,r)=>{"use strict";var n=r(1248),s=r(28),i=r(2820),o=n(n.bind);e.exports=function(e,t){return s(e),void 0===t?e:i?o(e,t):function(){return e.apply(t,arguments)}}},2820:(e,t,r)=>{"use strict";var n=r(2064);e.exports=!n((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))},4580:(e,t,r)=>{"use strict";var n=r(2820),s=Function.prototype.call;e.exports=n?s.bind(s):function(){return s.apply(s,arguments)}},3564:(e,t,r)=>{"use strict";var n=r(9172),s=r(4664),i=Function.prototype,o=n&&Object.getOwnPropertyDescriptor,c=s(i,"name"),a=c&&"something"===function(){}.name,u=c&&(!n||n&&o(i,"name").configurable);e.exports={EXISTS:c,PROPER:a,CONFIGURABLE:u}},7864:(e,t,r)=>{"use strict";var n=r(9252),s=r(28);e.exports=function(e,t,r){try{return n(s(Object.getOwnPropertyDescriptor(e,t)[r]))}catch(e){}}},1248:(e,t,r)=>{"use strict";var n=r(7936),s=r(9252);e.exports=function(e){if("Function"===n(e))return s(e)}},9252:(e,t,r)=>{"use strict";var n=r(2820),s=Function.prototype,i=s.call,o=n&&s.bind.bind(i,i);e.exports=n?o:function(e){return function(){return i.apply(e,arguments)}}},8702:(e,t,r)=>{"use strict";var n=r(9832),s=r(5216),i=r(8536),o=function(e){return i(e)?e:void 0};e.exports=function(e,t){return arguments.length<2?o(n[e])||o(s[e]):n[e]&&n[e][t]||s[e]&&s[e][t]}},68:(e,t,r)=>{"use strict";var n=r(3016),s=r(1636),i=r(9511),o=r(7256),c=r(3336)("iterator");e.exports=function(e){if(!i(e))return s(e,c)||s(e,"@@iterator")||o[n(e)]}},4656:(e,t,r)=>{"use strict";var n=r(4580),s=r(28),i=r(2032),o=r(8944),c=r(68),a=TypeError;e.exports=function(e,t){var r=arguments.length<2?c(e):t;if(s(r))return i(n(r,e));throw new a(o(e)+" is not iterable")}},1636:(e,t,r)=>{"use strict";var n=r(28),s=r(9511);e.exports=function(e,t){var r=e[t];return s(r)?void 0:n(r)}},5216:function(e,t,r){"use strict";var n=function(e){return e&&e.Math===Math&&e};e.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof r.g&&r.g)||n("object"==typeof this&&this)||function(){return this}()||Function("return this")()},4664:(e,t,r)=>{"use strict";var n=r(9252),s=r(2819),i=n({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return i(s(e),t)}},3328:e=>{"use strict";e.exports={}},7896:(e,t,r)=>{"use strict";var n=r(8702);e.exports=n("document","documentElement")},124:(e,t,r)=>{"use strict";var n=r(9172),s=r(2064),i=r(1940);e.exports=!n&&!s((function(){return 7!==Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},2899:(e,t,r)=>{"use strict";var n=r(9252),s=r(2064),i=r(7936),o=Object,c=n("".split);e.exports=s((function(){return!o("z").propertyIsEnumerable(0)}))?function(e){return"String"===i(e)?c(e,""):o(e)}:o},1664:(e,t,r)=>{"use strict";var n=r(8536),s=r(8608),i=r(2288);e.exports=function(e,t,r){var o,c;return i&&n(o=t.constructor)&&o!==r&&s(c=o.prototype)&&c!==r.prototype&&i(e,c),e}},9055:(e,t,r)=>{"use strict";var n=r(8608),s=r(896);e.exports=function(e,t){n(t)&&"cause"in t&&s(e,"cause",t.cause)}},2344:(e,t,r)=>{"use strict";var n,s,i,o=r(3184),c=r(5216),a=r(8608),u=r(896),l=r(4664),f=r(9284),p=r(924),h=r(3328),m="Object already initialized",y=c.TypeError,d=c.WeakMap;if(o||f.state){var v=f.state||(f.state=new d);v.get=v.get,v.has=v.has,v.set=v.set,n=function(e,t){if(v.has(e))throw new y(m);return t.facade=e,v.set(e,t),t},s=function(e){return v.get(e)||{}},i=function(e){return v.has(e)}}else{var g=p("state");h[g]=!0,n=function(e,t){if(l(e,g))throw new y(m);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:n,get:s,has:i,enforce:function(e){return i(e)?s(e):n(e,{})},getterFor:function(e){return function(t){var r;if(!a(t)||(r=s(t)).type!==e)throw new y("Incompatible receiver, "+e+" required");return r}}}},4992:(e,t,r)=>{"use strict";var n=r(3336),s=r(7256),i=n("iterator"),o=Array.prototype;e.exports=function(e){return void 0!==e&&(s.Array===e||o[i]===e)}},8536:e=>{"use strict";var t="object"==typeof document&&document.all;e.exports=void 0===t&&void 0!==t?function(e){return"function"==typeof e||e===t}:function(e){return"function"==typeof e}},6155:(e,t,r)=>{"use strict";var n=r(2064),s=r(8536),i=/#|\.prototype\./,o=function(e,t){var r=a[c(e)];return r===l||r!==u&&(s(t)?n(t):!!t)},c=o.normalize=function(e){return String(e).replace(i,".").toLowerCase()},a=o.data={},u=o.NATIVE="N",l=o.POLYFILL="P";e.exports=o},9511:e=>{"use strict";e.exports=function(e){return null==e}},8608:(e,t,r)=>{"use strict";var n=r(8536);e.exports=function(e){return"object"==typeof e?null!==e:n(e)}},7432:(e,t,r)=>{"use strict";var n=r(8608);e.exports=function(e){return n(e)||null===e}},1016:e=>{"use strict";e.exports=!0},5376:(e,t,r)=>{"use strict";var n=r(8702),s=r(8536),i=r(2360),o=r(6416),c=Object;e.exports=o?function(e){return"symbol"==typeof e}:function(e){var t=n("Symbol");return s(t)&&i(t.prototype,c(e))}},5799:(e,t,r)=>{"use strict";var n=r(1884),s=r(4580),i=r(2032),o=r(8944),c=r(4992),a=r(5316),u=r(2360),l=r(4656),f=r(68),p=r(5872),h=TypeError,m=function(e,t){this.stopped=e,this.result=t},y=m.prototype;e.exports=function(e,t,r){var d,v,g,b,j,E,x,O=r&&r.that,w=!(!r||!r.AS_ENTRIES),S=!(!r||!r.IS_RECORD),A=!(!r||!r.IS_ITERATOR),_=!(!r||!r.INTERRUPTED),k=n(t,O),P=function(e){return d&&p(d,"normal",e),new m(!0,e)},M=function(e){return w?(i(e),_?k(e[0],e[1],P):k(e[0],e[1])):_?k(e,P):k(e)};if(S)d=e.iterator;else if(A)d=e;else{if(!(v=f(e)))throw new h(o(e)+" is not iterable");if(c(v)){for(g=0,b=a(e);b>g;g++)if((j=M(e[g]))&&u(y,j))return j;return new m(!1)}d=l(e,v)}for(E=S?e.next:d.next;!(x=s(E,d)).done;){try{j=M(x.value)}catch(e){p(d,"throw",e)}if("object"==typeof j&&j&&u(y,j))return j}return new m(!1)}},5872:(e,t,r)=>{"use strict";var n=r(4580),s=r(2032),i=r(1636);e.exports=function(e,t,r){var o,c;s(e);try{if(!(o=i(e,"return"))){if("throw"===t)throw r;return r}o=n(o,e)}catch(e){c=!0,o=e}if("throw"===t)throw r;if(c)throw o;return s(o),r}},9976:(e,t,r)=>{"use strict";var n=r(2224).IteratorPrototype,s=r(4488),i=r(8981),o=r(5836),c=r(7256),a=function(){return this};e.exports=function(e,t,r,u){var l=t+" Iterator";return e.prototype=s(n,{next:i(+!u,r)}),o(e,l,!1,!0),c[l]=a,e}},536:(e,t,r)=>{"use strict";var n=r(3952),s=r(4580),i=r(1016),o=r(3564),c=r(8536),a=r(9976),u=r(7800),l=r(2288),f=r(5836),p=r(896),h=r(5424),m=r(3336),y=r(7256),d=r(2224),v=o.PROPER,g=o.CONFIGURABLE,b=d.IteratorPrototype,j=d.BUGGY_SAFARI_ITERATORS,E=m("iterator"),x="keys",O="values",w="entries",S=function(){return this};e.exports=function(e,t,r,o,m,d,A){a(r,t,o);var _,k,P,M=function(e){if(e===m&&V)return V;if(!j&&e&&e in R)return R[e];switch(e){case x:case O:case w:return function(){return new r(this,e)}}return function(){return new r(this)}},T=t+" Iterator",N=!1,R=e.prototype,C=R[E]||R["@@iterator"]||m&&R[m],V=!j&&C||M(m),F="Array"===t&&R.entries||C;if(F&&(_=u(F.call(new e)))!==Object.prototype&&_.next&&(i||u(_)===b||(l?l(_,b):c(_[E])||h(_,E,S)),f(_,T,!0,!0),i&&(y[T]=S)),v&&m===O&&C&&C.name!==O&&(!i&&g?p(R,"name",O):(N=!0,V=function(){return s(C,this)})),m)if(k={values:M(O),keys:d?V:M(x),entries:M(w)},A)for(P in k)(j||N||!(P in R))&&h(R,P,k[P]);else n({target:t,proto:!0,forced:j||N},k);return i&&!A||R[E]===V||h(R,E,V,{name:m}),y[t]=V,k}},2224:(e,t,r)=>{"use strict";var n,s,i,o=r(2064),c=r(8536),a=r(8608),u=r(4488),l=r(7800),f=r(5424),p=r(3336),h=r(1016),m=p("iterator"),y=!1;[].keys&&("next"in(i=[].keys())?(s=l(l(i)))!==Object.prototype&&(n=s):y=!0),!a(n)||o((function(){var e={};return n[m].call(e)!==e}))?n={}:h&&(n=u(n)),c(n[m])||f(n,m,(function(){return this})),e.exports={IteratorPrototype:n,BUGGY_SAFARI_ITERATORS:y}},7256:e=>{"use strict";e.exports={}},5316:(e,t,r)=>{"use strict";var n=r(4596);e.exports=function(e){return n(e.length)}},24:e=>{"use strict";var t=Math.ceil,r=Math.floor;e.exports=Math.trunc||function(e){var n=+e;return(n>0?r:t)(n)}},3080:(e,t,r)=>{"use strict";var n=r(9352);e.exports=function(e,t){return void 0===e?arguments.length<2?"":t:n(e)}},4488:(e,t,r)=>{"use strict";var n,s=r(2032),i=r(6452),o=r(3620),c=r(3328),a=r(7896),u=r(1940),l=r(924),f="prototype",p="script",h=l("IE_PROTO"),m=function(){},y=function(e){return"<"+p+">"+e+"</"+p+">"},d=function(e){e.write(y("")),e.close();var t=e.parentWindow.Object;return e=null,t},v=function(){try{n=new ActiveXObject("htmlfile")}catch(e){}var e,t,r;v="undefined"!=typeof document?document.domain&&n?d(n):(t=u("iframe"),r="java"+p+":",t.style.display="none",a.appendChild(t),t.src=String(r),(e=t.contentWindow.document).open(),e.write(y("document.F=Object")),e.close(),e.F):d(n);for(var s=o.length;s--;)delete v[f][o[s]];return v()};c[h]=!0,e.exports=Object.create||function(e,t){var r;return null!==e?(m[f]=s(e),r=new m,m[f]=null,r[h]=e):r=v(),void 0===t?r:i.f(r,t)}},6452:(e,t,r)=>{"use strict";var n=r(9172),s=r(3109),i=r(2280),o=r(2032),c=r(445),a=r(9547);t.f=n&&!s?Object.defineProperties:function(e,t){o(e);for(var r,n=c(t),s=a(t),u=s.length,l=0;u>l;)i.f(e,r=s[l++],n[r]);return e}},2280:(e,t,r)=>{"use strict";var n=r(9172),s=r(124),i=r(3109),o=r(2032),c=r(2319),a=TypeError,u=Object.defineProperty,l=Object.getOwnPropertyDescriptor,f="enumerable",p="configurable",h="writable";t.f=n?i?function(e,t,r){if(o(e),t=c(t),o(r),"function"==typeof e&&"prototype"===t&&"value"in r&&h in r&&!r[h]){var n=l(e,t);n&&n[h]&&(e[t]=r.value,r={configurable:p in r?r[p]:n[p],enumerable:f in r?r[f]:n[f],writable:!1})}return u(e,t,r)}:u:function(e,t,r){if(o(e),t=c(t),o(r),s)try{return u(e,t,r)}catch(e){}if("get"in r||"set"in r)throw new a("Accessors not supported");return"value"in r&&(e[t]=r.value),e}},1008:(e,t,r)=>{"use strict";var n=r(9172),s=r(4580),i=r(6500),o=r(8981),c=r(445),a=r(2319),u=r(4664),l=r(124),f=Object.getOwnPropertyDescriptor;t.f=n?f:function(e,t){if(e=c(e),t=a(t),l)try{return f(e,t)}catch(e){}if(u(e,t))return o(!s(i.f,e,t),e[t])}},1600:(e,t,r)=>{"use strict";var n=r(2884),s=r(3620).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return n(e,s)}},4060:(e,t)=>{"use strict";t.f=Object.getOwnPropertySymbols},7800:(e,t,r)=>{"use strict";var n=r(4664),s=r(8536),i=r(2819),o=r(924),c=r(2480),a=o("IE_PROTO"),u=Object,l=u.prototype;e.exports=c?u.getPrototypeOf:function(e){var t=i(e);if(n(t,a))return t[a];var r=t.constructor;return s(r)&&t instanceof r?r.prototype:t instanceof u?l:null}},2360:(e,t,r)=>{"use strict";var n=r(9252);e.exports=n({}.isPrototypeOf)},2884:(e,t,r)=>{"use strict";var n=r(9252),s=r(4664),i=r(445),o=r(5083).indexOf,c=r(3328),a=n([].push);e.exports=function(e,t){var r,n=i(e),u=0,l=[];for(r in n)!s(c,r)&&s(n,r)&&a(l,r);for(;t.length>u;)s(n,r=t[u++])&&(~o(l,r)||a(l,r));return l}},9547:(e,t,r)=>{"use strict";var n=r(2884),s=r(3620);e.exports=Object.keys||function(e){return n(e,s)}},6500:(e,t)=>{"use strict";var r={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor,s=n&&!r.call({1:2},1);t.f=s?function(e){var t=n(this,e);return!!t&&t.enumerable}:r},2288:(e,t,r)=>{"use strict";var n=r(7864),s=r(2032),i=r(1459);e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,r={};try{(e=n(Object.prototype,"__proto__","set"))(r,[]),t=r instanceof Array}catch(e){}return function(r,n){return s(r),i(n),t?e(r,n):r.__proto__=n,r}}():void 0)},1616:(e,t,r)=>{"use strict";var n=r(6744),s=r(3016);e.exports=n?{}.toString:function(){return"[object "+s(this)+"]"}},416:(e,t,r)=>{"use strict";var n=r(4580),s=r(8536),i=r(8608),o=TypeError;e.exports=function(e,t){var r,c;if("string"===t&&s(r=e.toString)&&!i(c=n(r,e)))return c;if(s(r=e.valueOf)&&!i(c=n(r,e)))return c;if("string"!==t&&s(r=e.toString)&&!i(c=n(r,e)))return c;throw new o("Can't convert object to primitive value")}},7876:(e,t,r)=>{"use strict";var n=r(8702),s=r(9252),i=r(1600),o=r(4060),c=r(2032),a=s([].concat);e.exports=n("Reflect","ownKeys")||function(e){var t=i.f(c(e)),r=o.f;return r?a(t,r(e)):t}},9832:e=>{"use strict";e.exports={}},9360:(e,t,r)=>{"use strict";var n=r(2280).f;e.exports=function(e,t,r){r in e||n(e,r,{configurable:!0,get:function(){return t[r]},set:function(e){t[r]=e}})}},9952:(e,t,r)=>{"use strict";var n=r(9511),s=TypeError;e.exports=function(e){if(n(e))throw new s("Can't call method on "+e);return e}},5836:(e,t,r)=>{"use strict";var n=r(6744),s=r(2280).f,i=r(896),o=r(4664),c=r(1616),a=r(3336)("toStringTag");e.exports=function(e,t,r,u){var l=r?e:e&&e.prototype;l&&(o(l,a)||s(l,a,{configurable:!0,value:t}),u&&!n&&i(l,"toString",c))}},924:(e,t,r)=>{"use strict";var n=r(8852),s=r(4316),i=n("keys");e.exports=function(e){return i[e]||(i[e]=s(e))}},9284:(e,t,r)=>{"use strict";var n=r(5216),s=r(4408),i="__core-js_shared__",o=n[i]||s(i,{});e.exports=o},8852:(e,t,r)=>{"use strict";var n=r(1016),s=r(9284);(e.exports=function(e,t){return s[e]||(s[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.35.1",mode:n?"pure":"global",copyright:"© 2014-2024 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.35.1/LICENSE",source:"https://github.com/zloirock/core-js"})},6392:(e,t,r)=>{"use strict";var n=r(9252),s=r(5016),i=r(9352),o=r(9952),c=n("".charAt),a=n("".charCodeAt),u=n("".slice),l=function(e){return function(t,r){var n,l,f=i(o(t)),p=s(r),h=f.length;return p<0||p>=h?e?"":void 0:(n=a(f,p))<55296||n>56319||p+1===h||(l=a(f,p+1))<56320||l>57343?e?c(f,p):n:e?u(f,p,p+2):l-56320+(n-55296<<10)+65536}};e.exports={codeAt:l(!1),charAt:l(!0)}},5235:(e,t,r)=>{"use strict";var n=r(3896),s=r(2064),i=r(5216).String;e.exports=!!Object.getOwnPropertySymbols&&!s((function(){var e=Symbol("symbol detection");return!i(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&n&&n<41}))},4180:(e,t,r)=>{"use strict";var n=r(5016),s=Math.max,i=Math.min;e.exports=function(e,t){var r=n(e);return r<0?s(r+t,0):i(r,t)}},445:(e,t,r)=>{"use strict";var n=r(2899),s=r(9952);e.exports=function(e){return n(s(e))}},5016:(e,t,r)=>{"use strict";var n=r(24);e.exports=function(e){var t=+e;return t!=t||0===t?0:n(t)}},4596:(e,t,r)=>{"use strict";var n=r(5016),s=Math.min;e.exports=function(e){var t=n(e);return t>0?s(t,9007199254740991):0}},2819:(e,t,r)=>{"use strict";var n=r(9952),s=Object;e.exports=function(e){return s(n(e))}},3504:(e,t,r)=>{"use strict";var n=r(4580),s=r(8608),i=r(5376),o=r(1636),c=r(416),a=r(3336),u=TypeError,l=a("toPrimitive");e.exports=function(e,t){if(!s(e)||i(e))return e;var r,a=o(e,l);if(a){if(void 0===t&&(t="default"),r=n(a,e,t),!s(r)||i(r))return r;throw new u("Can't convert object to primitive value")}return void 0===t&&(t="number"),c(e,t)}},2319:(e,t,r)=>{"use strict";var n=r(3504),s=r(5376);e.exports=function(e){var t=n(e,"string");return s(t)?t:t+""}},6744:(e,t,r)=>{"use strict";var n={};n[r(3336)("toStringTag")]="z",e.exports="[object z]"===String(n)},9352:(e,t,r)=>{"use strict";var n=r(3016),s=String;e.exports=function(e){if("Symbol"===n(e))throw new TypeError("Cannot convert a Symbol value to a string");return s(e)}},8944:e=>{"use strict";var t=String;e.exports=function(e){try{return t(e)}catch(e){return"Object"}}},4316:(e,t,r)=>{"use strict";var n=r(9252),s=0,i=Math.random(),o=n(1..toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+o(++s+i,36)}},6416:(e,t,r)=>{"use strict";var n=r(5235);e.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},3109:(e,t,r)=>{"use strict";var n=r(9172),s=r(2064);e.exports=n&&s((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},3184:(e,t,r)=>{"use strict";var n=r(5216),s=r(8536),i=n.WeakMap;e.exports=s(i)&&/native code/.test(String(i))},3336:(e,t,r)=>{"use strict";var n=r(5216),s=r(8852),i=r(4664),o=r(4316),c=r(5235),a=r(6416),u=n.Symbol,l=s("wks"),f=a?u.for||u:u&&u.withoutSetter||o;e.exports=function(e){return i(l,e)||(l[e]=c&&i(u,e)?u[e]:f("Symbol."+e)),l[e]}},5960:(e,t,r)=>{"use strict";var n=r(8702),s=r(4664),i=r(896),o=r(2360),c=r(2288),a=r(1100),u=r(9360),l=r(1664),f=r(3080),p=r(9055),h=r(9035),m=r(9172),y=r(1016);e.exports=function(e,t,r,d){var v="stackTraceLimit",g=d?2:1,b=e.split("."),j=b[b.length-1],E=n.apply(null,b);if(E){var x=E.prototype;if(!y&&s(x,"cause")&&delete x.cause,!r)return E;var O=n("Error"),w=t((function(e,t){var r=f(d?t:e,void 0),n=d?new E(e):new E;return void 0!==r&&i(n,"message",r),h(n,w,n.stack,2),this&&o(x,this)&&l(n,this,w),arguments.length>g&&p(n,arguments[g]),n}));if(w.prototype=x,"Error"!==j?c?c(w,O):a(w,O,{name:!0}):m&&v in E&&(u(w,E,v),u(w,E,"prepareStackTrace")),a(w,E),!y)try{x.name!==j&&i(x,"name",j),x.constructor=w}catch(e){}return w}}},5936:(e,t,r)=>{"use strict";var n=r(3952),s=r(8702),i=r(9867),o=r(2064),c=r(5960),a="AggregateError",u=s(a),l=!o((function(){return 1!==u([1]).errors[0]}))&&o((function(){return 7!==u([1],a,{cause:7}).cause}));n({global:!0,constructor:!0,arity:2,forced:l},{AggregateError:c(a,(function(e){return function(t,r){return i(e,this,arguments)}}),l,!0)})},9232:(e,t,r)=>{"use strict";var n=r(3952),s=r(2360),i=r(7800),o=r(2288),c=r(1100),a=r(4488),u=r(896),l=r(8981),f=r(9055),p=r(9035),h=r(5799),m=r(3080),y=r(3336)("toStringTag"),d=Error,v=[].push,g=function(e,t){var r,n=s(b,this);o?r=o(new d,n?i(this):b):(r=n?this:a(b),u(r,y,"Error")),void 0!==t&&u(r,"message",m(t)),p(r,g,r.stack,1),arguments.length>2&&f(r,arguments[2]);var c=[];return h(e,v,{that:c}),u(r,"errors",c),r};o?o(g,d):c(g,d,{name:!0});var b=g.prototype=a(d.prototype,{constructor:l(1,g),message:l(1,""),name:l(1,"AggregateError")});n({global:!0,constructor:!0,arity:2},{AggregateError:g})},8436:(e,t,r)=>{"use strict";r(9232)},340:(e,t,r)=>{"use strict";var n=r(445),s=r(1472),i=r(7256),o=r(2344),c=r(2280).f,a=r(536),u=r(3848),l=r(1016),f=r(9172),p="Array Iterator",h=o.set,m=o.getterFor(p);e.exports=a(Array,"Array",(function(e,t){h(this,{type:p,target:n(e),index:0,kind:t})}),(function(){var e=m(this),t=e.target,r=e.index++;if(!t||r>=t.length)return e.target=void 0,u(void 0,!0);switch(e.kind){case"keys":return u(r,!1);case"values":return u(t[r],!1)}return u([r,t[r]],!1)}),"values");var y=i.Arguments=i.Array;if(s("keys"),s("values"),s("entries"),!l&&f&&"values"!==y.name)try{c(y,"name",{value:"values"})}catch(e){}},4420:(e,t,r)=>{"use strict";var n=r(3952),s=r(5216),i=r(9867),o=r(5960),c="WebAssembly",a=s[c],u=7!==new Error("e",{cause:7}).cause,l=function(e,t){var r={};r[e]=o(e,t,u),n({global:!0,constructor:!0,arity:1,forced:u},r)},f=function(e,t){if(a&&a[e]){var r={};r[e]=o(c+"."+e,t,u),n({target:c,stat:!0,constructor:!0,arity:1,forced:u},r)}};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)}})),f("CompileError",(function(e){return function(t){return i(e,this,arguments)}})),f("LinkError",(function(e){return function(t){return i(e,this,arguments)}})),f("RuntimeError",(function(e){return function(t){return i(e,this,arguments)}}))},4176:(e,t,r)=>{"use strict";var n=r(6392).charAt,s=r(9352),i=r(2344),o=r(536),c=r(3848),a="String Iterator",u=i.set,l=i.getterFor(a);o(String,"String",(function(e){u(this,{type:a,string:s(e),index:0})}),(function(){var e,t=l(this),r=t.string,s=t.index;return s>=r.length?c(void 0,!0):(e=n(r,s),t.index+=e.length,c(e,!1))}))},2796:(e,t,r)=>{"use strict";r(8436)},3624:(e,t,r)=>{"use strict";r(340);var n=r(472),s=r(5216),i=r(5836),o=r(7256);for(var c in n)i(s[c],c),o[c]=o.Array},7828:(e,t,r)=>{"use strict";r(2796);var n=r(7984);r(3624),e.exports=n}},t={};function r(n){var s=t[n];if(void 0!==s)return s.exports;var i=t[n]={id:n,loaded:!1,exports:{}};return e[n].call(i.exports,i,i.exports,r),i.loaded=!0,i.exports}r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.nmd=e=>(e.paths=[],e.children||(e.children=[]),e);var n={};return(()=>{"use strict";r.r(n),r.d(n,{AlternatingVisitor:()=>ws,FallbackVisitor:()=>mn,FixedFieldsVisitor:()=>gn,JSONReferenceElement:()=>Mr,JSONSchemaDraft4MediaTypes:()=>Pe,JSONSchemaElement:()=>kr,LinkDescriptionElement:()=>Cr,MapVisitor:()=>Wn,MediaElement:()=>Nr,ParentSchemaAwareVisitor:()=>Mn,PatternedFieldsVisitor:()=>Un,SpecificationVisitor:()=>vn,createRefractor:()=>Is,default:()=>Vr,getNodeType:()=>Jr,isArrayElement:()=>ce,isBooleanElement:()=>ie,isElement:()=>te,isJSONReferenceElement:()=>Ns,isJSONReferenceLikeElement:()=>Tn,isJSONSchemaElement:()=>Ts,isLinkDescriptionElement:()=>Cs,isLinkElement:()=>ue,isMediaElement:()=>Rs,isMemberElement:()=>ae,isNullElement:()=>se,isNumberElement:()=>ne,isObjectElement:()=>oe,isRefElement:()=>le,isStringElement:()=>re,keyMap:()=>Ur,mediaTypes:()=>Me,refract:()=>Ls,refractorPluginReplaceEmptyElement:()=>Kr,specificationObj:()=>Ms});var e={};r.r(e),r.d(e,{hasElementSourceMap:()=>de,includesClasses:()=>ge,includesSymbols:()=>ve,isAnnotationElement:()=>fe,isArrayElement:()=>ce,isBooleanElement:()=>ie,isCommentElement:()=>pe,isElement:()=>te,isLinkElement:()=>ue,isMemberElement:()=>ae,isNullElement:()=>se,isNumberElement:()=>ne,isObjectElement:()=>oe,isParseResultElement:()=>he,isPrimitiveElement:()=>ye,isRefElement:()=>le,isSourceMapElement:()=>me,isStringElement:()=>re});var t={};r.r(t),r.d(t,{isJSONReferenceElement:()=>Ns,isJSONSchemaElement:()=>Ts,isLinkDescriptionElement:()=>Cs,isMediaElement:()=>Rs});var s=r(928);function i(e){return null!=e&&"object"==typeof e&&!0===e["@@functional/placeholder"]}function o(e){return function t(r){return 0===arguments.length||i(r)?t:e.apply(this,arguments)}}function c(e){return function t(r,n){switch(arguments.length){case 0:return t;case 1:return i(r)?t:o((function(t){return e(r,t)}));default:return i(r)&&i(n)?t:i(r)?o((function(t){return e(t,n)})):i(n)?o((function(t){return e(r,t)})):e(r,n)}}}const a=Array.isArray||function(e){return null!=e&&e.length>=0&&"[object Array]"===Object.prototype.toString.call(e)};function u(e,t,r){return function(){if(0===arguments.length)return r();var n=arguments[arguments.length-1];if(!a(n)){for(var s=0;s<e.length;){if("function"==typeof n[e[s]])return n[e[s]].apply(n,Array.prototype.slice.call(arguments,0,-1));s+=1}if(function(e){return null!=e&&"function"==typeof e["@@transducer/step"]}(n))return t.apply(null,Array.prototype.slice.call(arguments,0,-1))(n)}return r.apply(this,arguments)}}function l(e){return e&&e["@@transducer/reduced"]?e:{"@@transducer/value":e,"@@transducer/reduced":!0}}const f=function(){return this.xf["@@transducer/init"]()},p=function(e){return this.xf["@@transducer/result"](e)};var h=function(){function e(e,t){this.xf=t,this.f=e,this.all=!0}return e.prototype["@@transducer/init"]=f,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=l(this.xf["@@transducer/step"](e,!1))),e},e}();function m(e){return function(t){return new h(e,t)}}const y=c(u(["all"],m,(function(e,t){for(var r=0;r<t.length;){if(!e(t[r]))return!1;r+=1}return!0})));function d(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,r){return t.apply(this,arguments)};case 3:return function(e,r,n){return t.apply(this,arguments)};case 4:return function(e,r,n,s){return t.apply(this,arguments)};case 5:return function(e,r,n,s,i){return t.apply(this,arguments)};case 6:return function(e,r,n,s,i,o){return t.apply(this,arguments)};case 7:return function(e,r,n,s,i,o,c){return t.apply(this,arguments)};case 8:return function(e,r,n,s,i,o,c,a){return t.apply(this,arguments)};case 9:return function(e,r,n,s,i,o,c,a,u){return t.apply(this,arguments)};case 10:return function(e,r,n,s,i,o,c,a,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 v(e,t,r){return function(){for(var n=[],s=0,o=e,c=0,a=!1;c<t.length||s<arguments.length;){var u;c<t.length&&(!i(t[c])||s>=arguments.length)?u=t[c]:(u=arguments[s],s+=1),n[c]=u,i(u)?a=!0:o-=1,c+=1}return!a&&o<=0?r.apply(this,n):d(Math.max(0,o),v(e,n,r))}}const g=c((function(e,t){return 1===e?o(t):d(e,v(e,[],t))}));const b=o((function(e){return g(e.length,(function(t,r){var n=Array.prototype.slice.call(arguments,0);return n[0]=r,n[1]=t,e.apply(this,n)}))}));function j(e){for(var t,r=[];!(t=e.next()).done;)r.push(t.value);return r}function E(e,t,r){for(var n=0,s=r.length;n<s;){if(e(t,r[n]))return!0;n+=1}return!1}function x(e,t){return Object.prototype.hasOwnProperty.call(t,e)}const O="function"==typeof Object.is?Object.is:function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t};var w=Object.prototype.toString;const S=function(){return"[object Arguments]"===w.call(arguments)?function(e){return"[object Arguments]"===w.call(e)}:function(e){return x("callee",e)}}();var A=!{toString:null}.propertyIsEnumerable("toString"),_=["constructor","valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],k=function(){return arguments.propertyIsEnumerable("length")}(),P=function(e,t){for(var r=0;r<e.length;){if(e[r]===t)return!0;r+=1}return!1},M="function"!=typeof Object.keys||k?o((function(e){if(Object(e)!==e)return[];var t,r,n=[],s=k&&S(e);for(t in e)!x(t,e)||s&&"length"===t||(n[n.length]=t);if(A)for(r=_.length-1;r>=0;)x(t=_[r],e)&&!P(n,t)&&(n[n.length]=t),r-=1;return n})):o((function(e){return Object(e)!==e?[]:Object.keys(e)}));const T=M;const N=o((function(e){return null===e?"Null":void 0===e?"Undefined":Object.prototype.toString.call(e).slice(8,-1)}));function R(e,t,r,n){var s=j(e);function i(e,t){return C(e,t,r.slice(),n.slice())}return!E((function(e,t){return!E(i,t,e)}),j(t),s)}function C(e,t,r,n){if(O(e,t))return!0;var s,i,o=N(e);if(o!==N(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||!O(e.valueOf(),t.valueOf()))return!1;break;case"Date":if(!O(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 c=r.length-1;c>=0;){if(r[c]===e)return n[c]===t;c-=1}switch(o){case"Map":return e.size===t.size&&R(e.entries(),t.entries(),r.concat([e]),n.concat([t]));case"Set":return e.size===t.size&&R(e.values(),t.values(),r.concat([e]),n.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 a=T(e);if(a.length!==T(t).length)return!1;var u=r.concat([e]),l=n.concat([t]);for(c=a.length-1;c>=0;){var f=a[c];if(!x(f,t)||!C(t[f],e[f],u,l))return!1;c-=1}return!0}const V=c((function(e,t){return C(e,t,[],[])}));function F(e,t){return function(e,t,r){var n,s;if("function"==typeof e.indexOf)switch(typeof t){case"number":if(0===t){for(n=1/t;r<e.length;){if(0===(s=e[r])&&1/s===n)return r;r+=1}return-1}if(t!=t){for(;r<e.length;){if("number"==typeof(s=e[r])&&s!=s)return r;r+=1}return-1}return e.indexOf(t,r);case"string":case"boolean":case"function":case"undefined":return e.indexOf(t,r);case"object":if(null===t)return e.indexOf(t,r)}for(;r<e.length;){if(V(e[r],t))return r;r+=1}return-1}(t,e,0)>=0}const I=b(c(F));class L extends s.M${constructor(e,t,r){super(e,t,r),this.element="annotation"}get code(){return this.attributes.get("code")}set code(e){this.attributes.set("code",e)}}const D=L;class B extends s.M${constructor(e,t,r){super(e,t,r),this.element="comment"}}const z=B;const q=o((function(e){return function(){return e}}));const $=q(void 0);const J=V($());class U extends s.uQ{constructor(e,t,r){super(e,t,r),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(J(t))return!1;const r=this.content.findIndex((e=>e===t));return-1!==r&&(this.content[r]=e,!0)}}const W=U;class G extends s.uQ{constructor(e,t,r){super(e,t,r),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(void 0===e)return;const t=new s.uQ([e.start.row,e.start.column,e.start.char]),r=new s.uQ([e.end.row,e.end.column,e.end.char]);t.classes.push("position"),r.classes.push("position"),this.push(t).push(r)}}const K=G,Q=(e,t)=>"object"==typeof t&&null!==t&&e in t&&"function"==typeof t[e],H=e=>"object"==typeof e&&null!=e&&"_storedElement"in e&&"string"==typeof e._storedElement&&"_content"in e,Y=(e,t)=>"object"==typeof t&&null!==t&&"primitive"in t&&("function"==typeof t.primitive&&t.primitive()===e),X=(e,t)=>"object"==typeof t&&null!==t&&"classes"in t&&(Array.isArray(t.classes)||t.classes instanceof s.uQ)&&t.classes.includes(e),Z=(e,t)=>"object"==typeof t&&null!==t&&"element"in t&&t.element===e,ee=e=>e({hasMethod:Q,hasBasicElementProps:H,primitiveEq:Y,isElementType:Z,hasClass:X}),te=ee((({hasBasicElementProps:e,primitiveEq:t})=>r=>r instanceof s.gr||e(r)&&t(void 0,r))),re=ee((({hasBasicElementProps:e,primitiveEq:t})=>r=>r instanceof s.M$||e(r)&&t("string",r))),ne=ee((({hasBasicElementProps:e,primitiveEq:t})=>r=>r instanceof s.wH||e(r)&&t("number",r))),se=ee((({hasBasicElementProps:e,primitiveEq:t})=>r=>r instanceof s.WM||e(r)&&t("null",r))),ie=ee((({hasBasicElementProps:e,primitiveEq:t})=>r=>r instanceof s.Ar||e(r)&&t("boolean",r))),oe=ee((({hasBasicElementProps:e,primitiveEq:t,hasMethod:r})=>n=>n instanceof s.We||e(n)&&t("object",n)&&r("keys",n)&&r("values",n)&&r("items",n))),ce=ee((({hasBasicElementProps:e,primitiveEq:t,hasMethod:r})=>n=>n instanceof s.uQ&&!(n instanceof s.We)||e(n)&&t("array",n)&&r("push",n)&&r("unshift",n)&&r("map",n)&&r("reduce",n))),ae=ee((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof s.u6||e(n)&&t("member",n)&&r(void 0,n))),ue=ee((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof s.UH||e(n)&&t("link",n)&&r(void 0,n))),le=ee((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof s.eE||e(n)&&t("ref",n)&&r(void 0,n))),fe=ee((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof D||e(n)&&t("annotation",n)&&r("array",n))),pe=ee((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof z||e(n)&&t("comment",n)&&r("string",n))),he=ee((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof W||e(n)&&t("parseResult",n)&&r("array",n))),me=ee((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof K||e(n)&&t("sourceMap",n)&&r("array",n))),ye=e=>Z("object",e)||Z("array",e)||Z("boolean",e)||Z("number",e)||Z("string",e)||Z("null",e)||Z("member",e),de=e=>me(e.meta.get("sourceMap")),ve=(e,t)=>{if(0===e.length)return!0;const r=t.attributes.get("symbols");return!!ce(r)&&y(I(r.toValue()),e)},ge=(e,t)=>0===e.length||y(I(t.classes.toValue()),e);function be(e){return"[object String]"===Object.prototype.toString.call(e)}const je=c((function(e,t){var r=e<0?t.length+e:e;return be(t)?t.charAt(r):t[r]}));const Ee=je(-1);var xe=r(1204);const Oe=class extends xe{constructor(e,t,r){if(super(e,t,r),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!=r&&"object"==typeof r&&Object.hasOwn(r,"cause")&&!("cause"in this)){const{cause:e}=r;this.cause=e,e instanceof Error&&"stack"in e&&(this.stack=`${this.stack}\nCAUSE: ${e.stack}`)}}};class we extends Error{static[Symbol.hasInstance](e){return super[Symbol.hasInstance](e)||Function.prototype[Symbol.hasInstance].call(Oe,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 Se=we;const Ae=class extends Se{};const _e=class extends Ae{};const ke=class extends Array{unknownMediaType="application/octet-stream";filterByFormat(){throw new _e("filterByFormat method in MediaTypes class is not yet implemented.")}findBy(){throw new _e("findBy method in MediaTypes class is not yet implemented.")}latest(){throw new _e("latest method in MediaTypes class is not yet implemented.")}};class Pe extends ke{filterByFormat(e="generic"){const t="generic"===e?"schema;version":e;return this.filter((e=>e.includes(t)))}findBy(e="draft-04",t="generic"){const r="generic"===t?`schema;version=${e}`:`schema+${t};version=${e}`;return this.find((e=>e.includes(r)))||this.unknownMediaType}latest(e="generic"){return Ee(this.filterByFormat(e))}}const Me=new Pe("application/schema;version=draft-04","application/schema+json;version=draft-04","application/schema+yaml;version=draft-04");function Te(e){return function t(r,n,s){switch(arguments.length){case 0:return t;case 1:return i(r)?t:c((function(t,n){return e(r,t,n)}));case 2:return i(r)&&i(n)?t:i(r)?c((function(t,r){return e(t,n,r)})):i(n)?c((function(t,n){return e(r,t,n)})):o((function(t){return e(r,n,t)}));default:return i(r)&&i(n)&&i(s)?t:i(r)&&i(n)?c((function(t,r){return e(t,r,s)})):i(r)&&i(s)?c((function(t,r){return e(t,n,r)})):i(n)&&i(s)?c((function(t,n){return e(r,t,n)})):i(r)?o((function(t){return e(t,n,s)})):i(n)?o((function(t){return e(r,t,s)})):i(s)?o((function(t){return e(r,n,t)})):e(r,n,s)}}}function Ne(e){return"[object Object]"===Object.prototype.toString.call(e)}const Re=Te((function(e,t,r){var n,s={};for(n in r=r||{},t=t||{})x(n,t)&&(s[n]=x(n,r)?e(n,t[n],r[n]):t[n]);for(n in r)x(n,r)&&!x(n,s)&&(s[n]=r[n]);return s}));const Ce=Te((function e(t,r,n){return Re((function(r,n,s){return Ne(n)&&Ne(s)?e(t,n,s):t(r,n,s)}),r,n)}));const Ve=c((function(e,t){return Ce((function(e,t,r){return r}),e,t)}));const Fe=c((function(e,t){return null==t||t!=t?e:t})),Ie=Number.isInteger||function(e){return e<<0===e};const Le=c((function(e,t){if(null!=t)return Ie(e)?je(e,t):t[e]}));const De=Te((function(e,t,r){return Fe(e,Le(t,r))}));const Be=c((function(e,t){return e.map((function(e){for(var r,n=t,s=0;s<e.length;){if(null==n)return;r=e[s],n=Ie(r)?je(r,n):n[r],s+=1}return n}))}));const ze=c((function(e,t){return Be([e],t)[0]}));function qe(e,t){return function(){var r=arguments.length;if(0===r)return t();var n=arguments[r-1];return a(n)||"function"!=typeof n[e]?t.apply(this,arguments):n[e].apply(n,Array.prototype.slice.call(arguments,0,r-1))}}const $e=Te(qe("slice",(function(e,t,r){return Array.prototype.slice.call(r,e,t)})));const Je=$e(0,-1);const Ue=c((function(e,t){return d(e.length,(function(){return e.apply(t,arguments)}))}));const We=c((function(e,t){return e.apply(this,t)}));function Ge(e,t,r){for(var n=0,s=r.length;n<s;)t=e(t,r[n]),n+=1;return t}const Ke=o((function(e){return!!a(e)||!!e&&("object"==typeof e&&(!be(e)&&(0===e.length||e.length>0&&(e.hasOwnProperty(0)&&e.hasOwnProperty(e.length-1)))))}));var Qe="undefined"!=typeof Symbol?Symbol.iterator:"@@iterator";function He(e,t,r){return function(n,s,i){if(Ke(i))return e(n,s,i);if(null==i)return s;if("function"==typeof i["fantasy-land/reduce"])return t(n,s,i,"fantasy-land/reduce");if(null!=i[Qe])return r(n,s,i[Qe]());if("function"==typeof i.next)return r(n,s,i);if("function"==typeof i.reduce)return t(n,s,i,"reduce");throw new TypeError("reduce: list must be array or iterable")}}function Ye(e,t,r){for(var n=r.next();!n.done;)t=e(t,n.value),n=r.next();return t}function Xe(e,t,r,n){return r[n](e,t)}const Ze=He(Ge,Xe,Ye);function et(e,t){for(var r=0,n=t.length,s=Array(n);r<n;)s[r]=e(t[r]),r+=1;return s}var tt=function(){function e(e,t){this.xf=t,this.f=e}return e.prototype["@@transducer/init"]=f,e.prototype["@@transducer/result"]=p,e.prototype["@@transducer/step"]=function(e,t){return this.xf["@@transducer/step"](e,this.f(t))},e}();const rt=c(u(["fantasy-land/map","map"],(function(e){return function(t){return new tt(e,t)}}),(function(e,t){switch(Object.prototype.toString.call(t)){case"[object Function]":return g(t.length,(function(){return e.call(this,t.apply(this,arguments))}));case"[object Object]":return Ge((function(r,n){return r[n]=e(t[n]),r}),{},T(t));default:return et(e,t)}})));const nt=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(r){return e(r)(t(r))}:Ze((function(e,r){return function(e,t){var r;t=t||[];var n=(e=e||[]).length,s=t.length,i=[];for(r=0;r<n;)i[i.length]=e[r],r+=1;for(r=0;r<s;)i[i.length]=t[r],r+=1;return i}(e,rt(r,t))}),[],e)}));const st=c((function(e,t){var r=g(e,t);return g(e,(function(){return Ge(nt,rt(r,arguments[0]),Array.prototype.slice.call(arguments,1))}))}));const it=o((function(e){return st(e.length,e)}));const ot=it(o((function(e){return!e})));function ct(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 at=function(e){return(e<10?"0":"")+e};const ut="function"==typeof Date.prototype.toISOString?function(e){return e.toISOString()}:function(e){return e.getUTCFullYear()+"-"+at(e.getUTCMonth()+1)+"-"+at(e.getUTCDate())+"T"+at(e.getUTCHours())+":"+at(e.getUTCMinutes())+":"+at(e.getUTCSeconds())+"."+(e.getUTCMilliseconds()/1e3).toFixed(3).slice(2,5)+"Z"};var lt=function(){function e(e,t){this.xf=t,this.f=e}return e.prototype["@@transducer/init"]=f,e.prototype["@@transducer/result"]=p,e.prototype["@@transducer/step"]=function(e,t){return this.f(t)?this.xf["@@transducer/step"](e,t):e},e}();function ft(e){return function(t){return new lt(e,t)}}const pt=c(u(["fantasy-land/filter","filter"],ft,(function(e,t){return Ne(t)?Ge((function(r,n){return e(t[n])&&(r[n]=t[n]),r}),{},T(t)):function(e,t){for(var r=0,n=t.length,s=[];r<n;)e(t[r])&&(s[s.length]=t[r]),r+=1;return s}(e,t)})));const ht=c((function(e,t){return pt((r=e,function(){return!r.apply(this,arguments)}),t);var r}));function mt(e,t){var r=function(r){var n=t.concat([e]);return F(r,n)?"<Circular>":mt(r,n)},n=function(e,t){return et((function(t){return ct(t)+": "+r(e[t])}),t.slice().sort())};switch(Object.prototype.toString.call(e)){case"[object Arguments]":return"(function() { return arguments; }("+et(r,e).join(", ")+"))";case"[object Array]":return"["+et(r,e).concat(n(e,ht((function(e){return/^\d+$/.test(e)}),T(e)))).join(", ")+"]";case"[object Boolean]":return"object"==typeof e?"new Boolean("+r(e.valueOf())+")":e.toString();case"[object Date]":return"new Date("+(isNaN(e.valueOf())?r(NaN):ct(ut(e)))+")";case"[object Map]":return"new Map("+r(Array.from(e))+")";case"[object Null]":return"null";case"[object Number]":return"object"==typeof e?"new Number("+r(e.valueOf())+")":1/e==-1/0?"-0":e.toString(10);case"[object Set]":return"new Set("+r(Array.from(e).sort())+")";case"[object String]":return"object"==typeof e?"new String("+r(e.valueOf())+")":ct(e);case"[object Undefined]":return"undefined";default:if("function"==typeof e.toString){var s=e.toString();if("[object Object]"!==s)return s}return"{"+n(e,T(e)).join(", ")+"}"}}const yt=o((function(e){return mt(e,[])}));const dt=c((function(e,t){if(e===t)return t;function r(e,t){if(e>t!=t>e)return t>e?t:e}var n=r(e,t);if(void 0!==n)return n;var s=r(typeof e,typeof t);if(void 0!==s)return s===typeof e?e:t;var i=yt(e),o=r(i,yt(t));return void 0!==o&&o===i?e:t}));const vt=c((function(e,t){return rt(Le(e),t)}));function gt(e,t,r){for(var n=0,s=r.length;n<s;){if((t=e["@@transducer/step"](t,r[n]))&&t["@@transducer/reduced"]){t=t["@@transducer/value"];break}n+=1}return e["@@transducer/result"](t)}function bt(e,t,r){for(var n=r.next();!n.done;){if((t=e["@@transducer/step"](t,n.value))&&t["@@transducer/reduced"]){t=t["@@transducer/value"];break}n=r.next()}return e["@@transducer/result"](t)}function jt(e,t,r,n){return e["@@transducer/result"](r[n](Ue(e["@@transducer/step"],e),t))}const Et=He(gt,jt,bt);var xt=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 Ot=Te((function(e,t,r){return Et("function"==typeof e?new xt(e):e,t,r)}));const wt=o((function(e){return g(Ot(dt,0,vt("length",e)),(function(){for(var t=0,r=e.length;t<r;){if(e[t].apply(this,arguments))return!0;t+=1}return!1}))}));function St(e,t){return function(){return t.call(this,e.apply(this,arguments))}}const At=o(qe("tail",$e(1,1/0)));function _t(){if(0===arguments.length)throw new Error("pipe requires at least one argument");return d(arguments[0].length,Ot(St,arguments[0],At(arguments)))}var kt=function(e,t){switch(arguments.length){case 0:return kt;case 1:return function t(r){return 0===arguments.length?t:O(e,r)};default:return O(e,t)}};const Pt=kt;const Mt=g(1,_t(N,Pt("GeneratorFunction")));const Tt=g(1,_t(N,Pt("AsyncFunction")));const Nt=wt([_t(N,Pt("Function")),Mt,Tt]);const Rt=ot(Nt);function Ct(e){var t=Object.prototype.toString.call(e);return"[object Function]"===t||"[object AsyncFunction]"===t||"[object GeneratorFunction]"===t||"[object AsyncGeneratorFunction]"===t}const Vt=c((function(e,t){return e&&t}));const Ft=c((function(e,t){return Ct(e)?function(){return e.apply(this,arguments)&&t.apply(this,arguments)}:it(Vt)(e,t)}));var It=o((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():a(e)?[]:be(e)?"":Ne(e)?{}:S(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 Lt=It;const Dt=o((function(e){return null!=e&&V(e,Lt(e))}));const Bt=g(1,Nt(Array.isArray)?Array.isArray:_t(N,Pt("Array")));const zt=Ft(Bt,Dt);const qt=g(3,(function(e,t,r){var n=ze(e,r),s=ze(Je(e),r);if(!Rt(n)&&!zt(e)){var i=Ue(n,s);return We(i,t)}}));const $t=Te((function(e,t,r){return e(ze(t,r))}));const Jt=V(null);const Ut=ot(Jt);function Wt(e){return Wt="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},Wt(e)}const Gt=function(e){return"object"===Wt(e)};const Kt=g(1,Ft(Ut,Gt));var Qt=_t(N,Pt("Object")),Ht=_t(yt,V(yt(Object))),Yt=$t(Ft(Nt,Ht),["constructor"]);const Xt=g(1,(function(e){if(!Kt(e)||!Qt(e))return!1;var t=Object.getPrototypeOf(e);return!!Jt(t)||Yt(t)}));class Zt extends s.MH{constructor(){super(),this.register("annotation",D),this.register("comment",z),this.register("parseResult",W),this.register("sourceMap",K)}}const er=new Zt,tr=er,rr=()=>({predicates:{...e},namespace:tr});const nr=g(1,_t(N,Pt("String")));const sr=class extends Se{constructor(e,t){if(super(e,t),null!=t&&"object"==typeof t){const{cause:e,...r}=t;Object.assign(this,r)}}},ir=(e,t,r)=>{const n=e[t];if(null!=n){if(!r&&"function"==typeof n)return n;const e=r?n.leave:n.enter;if("function"==typeof e)return e}else{const n=r?e.leave:e.enter;if(null!=n){if("function"==typeof n)return n;const e=n[t];if("function"==typeof e)return e}}return null},or={},cr=e=>null==e?void 0:e.type,ar=e=>"string"==typeof cr(e),ur=e=>Object.create(Object.getPrototypeOf(e),Object.getOwnPropertyDescriptors(e)),lr=(e,t,{keyMap:r=null,state:n={},breakSymbol:s=or,deleteNodeSymbol:i=null,skipVisitingNodeSymbol:o=!1,visitFnGetter:c=ir,nodeTypeGetter:a=cr,nodePredicate:u=ar,nodeCloneFn:l=ur,detectCycles:f=!0}={})=>{const p=r||{};let h,m,y=Array.isArray(e),d=[e],v=-1,g=[],b=e;const j=[],E=[];do{v+=1;const e=v===d.length;let r;const O=e&&0!==g.length;if(e){if(r=0===E.length?void 0:j.pop(),b=m,m=E.pop(),O)if(y){b=b.slice();let e=0;for(const[t,r]of g){const n=t-e;r===i?(b.splice(n,1),e+=1):b[n]=r}}else{b=l(b);for(const[e,t]of g)b[e]=t}v=h.index,d=h.keys,g=h.edits,y=h.inArray,h=h.prev}else if(m!==i&&void 0!==m){if(r=y?v:d[v],b=m[r],b===i||void 0===b)continue;j.push(r)}let w;if(!Array.isArray(b)){if(!u(b))throw new sr(`Invalid AST Node: ${String(b)}`,{node:b});if(f&&E.includes(b)){j.pop();continue}const i=c(t,a(b),e);if(i){for(const[e,r]of Object.entries(n))t[e]=r;w=i.call(t,b,r,m,j,E)}if(w===s)break;if(w===o){if(!e){j.pop();continue}}else if(void 0!==w&&(g.push([r,w]),!e)){if(!u(w)){j.pop();continue}b=w}}var x;if(void 0===w&&O&&g.push([r,b]),!e)h={inArray:y,index:v,keys:d,edits:g,prev:h},y=Array.isArray(b),d=y?b:null!==(x=p[a(b)])&&void 0!==x?x:[],v=-1,g=[],m!==i&&void 0!==m&&E.push(m),m=b}while(void 0!==h);return 0!==g.length?g[g.length-1][1]:e};lr[Symbol.for("nodejs.util.promisify.custom")]=async(e,t,{keyMap:r=null,state:n={},breakSymbol:s=or,deleteNodeSymbol:i=null,skipVisitingNodeSymbol:o=!1,visitFnGetter:c=ir,nodeTypeGetter:a=cr,nodePredicate:u=ar,nodeCloneFn:l=ur,detectCycles:f=!0}={})=>{const p=r||{};let h,m,y=Array.isArray(e),d=[e],v=-1,g=[],b=e;const j=[],E=[];do{v+=1;const e=v===d.length;let r;const O=e&&0!==g.length;if(e){if(r=0===E.length?void 0:j.pop(),b=m,m=E.pop(),O)if(y){b=b.slice();let e=0;for(const[t,r]of g){const n=t-e;r===i?(b.splice(n,1),e+=1):b[n]=r}}else{b=l(b);for(const[e,t]of g)b[e]=t}v=h.index,d=h.keys,g=h.edits,y=h.inArray,h=h.prev}else if(m!==i&&void 0!==m){if(r=y?v:d[v],b=m[r],b===i||void 0===b)continue;j.push(r)}let w;if(!Array.isArray(b)){if(!u(b))throw new sr(`Invalid AST Node: ${String(b)}`,{node:b});if(f&&E.includes(b)){j.pop();continue}const i=c(t,a(b),e);if(i){for(const[e,r]of Object.entries(n))t[e]=r;w=await i.call(t,b,r,m,j,E)}if(w===s)break;if(w===o){if(!e){j.pop();continue}}else if(void 0!==w&&(g.push([r,w]),!e)){if(!u(w)){j.pop();continue}b=w}}var x;if(void 0===w&&O&&g.push([r,b]),!e)h={inArray:y,index:v,keys:d,edits:g,prev:h},y=Array.isArray(b),d=y?b:null!==(x=p[a(b)])&&void 0!==x?x:[],v=-1,g=[],m!==i&&void 0!==m&&E.push(m),m=b}while(void 0!==h);return 0!==g.length?g[g.length-1][1]:e};const fr=class extends sr{value;constructor(e,t){super(e,t),void 0!==t&&(this.value=t.value)}};const pr=class extends fr{};const hr=class extends fr{},mr=(e,t={})=>{const{visited:r=new WeakMap}=t,n={...t,visited:r};if(r.has(e))return r.get(e);if(e instanceof s.KeyValuePair){const{key:t,value:i}=e,o=te(t)?mr(t,n):t,c=te(i)?mr(i,n):i,a=new s.KeyValuePair(o,c);return r.set(e,a),a}if(e instanceof s.wL){const t=e=>mr(e,n),i=[...e].map(t),o=new s.wL(i);return r.set(e,o),o}if(e instanceof s.eW){const t=e=>mr(e,n),i=[...e].map(t),o=new s.eW(i);return r.set(e,o),o}if(te(e)){const t=vr(e);if(r.set(e,t),e.content)if(te(e.content))t.content=mr(e.content,n);else if(e.content instanceof s.KeyValuePair)t.content=mr(e.content,n);else if(Array.isArray(e.content)){const r=e=>mr(e,n);t.content=e.content.map(r)}else t.content=e.content;else t.content=e.content;return t}throw new pr("Value provided to cloneDeep function couldn't be cloned",{value:e})};mr.safe=e=>{try{return mr(e)}catch{return e}};const yr=e=>{const{key:t,value:r}=e;return new s.KeyValuePair(t,r)},dr=e=>{const t=new e.constructor;if(t.element=e.element,e.meta.length>0&&(t._meta=mr(e.meta)),e.attributes.length>0&&(t._attributes=mr(e.attributes)),te(e.content)){const r=e.content;t.content=dr(r)}else Array.isArray(e.content)?t.content=[...e.content]:e.content instanceof s.KeyValuePair?t.content=yr(e.content):t.content=e.content;return t},vr=e=>{if(e instanceof s.KeyValuePair)return yr(e);if(e instanceof s.wL)return(e=>{const t=[...e];return new s.wL(t)})(e);if(e instanceof s.eW)return(e=>{const t=[...e];return new s.eW(t)})(e);if(te(e))return dr(e);throw new hr("Value provided to cloneShallow function couldn't be cloned",{value:e})};vr.safe=e=>{try{return vr(e)}catch{return e}};const gr=e=>oe(e)?"ObjectElement":ce(e)?"ArrayElement":ae(e)?"MemberElement":re(e)?"StringElement":ie(e)?"BooleanElement":ne(e)?"NumberElement":se(e)?"NullElement":ue(e)?"LinkElement":le(e)?"RefElement":void 0,br=e=>te(e)?vr(e):ur(e),jr=_t(gr,nr),Er={ObjectElement:["content"],ArrayElement:["content"],MemberElement:["key","value"],StringElement:[],BooleanElement:[],NumberElement:[],NullElement:[],RefElement:[],LinkElement:[],Annotation:[],Comment:[],ParseResultElement:["content"],SourceMap:["content"]};const xr=(e,t,{keyMap:r=Er,...n}={})=>lr(e,t,{keyMap:r,nodeTypeGetter:gr,nodePredicate:jr,nodeCloneFn:br,...n});xr[Symbol.for("nodejs.util.promisify.custom")]=async(e,t,{keyMap:r=Er,...n}={})=>lr[Symbol.for("nodejs.util.promisify.custom")](e,t,{keyMap:r,nodeTypeGetter:gr,nodePredicate:jr,nodeCloneFn:br,...n});const Or={toolboxCreator:rr,visitorOptions:{nodeTypeGetter:gr,exposeEdits:!0}},wr=(e,t,r={})=>{if(0===t.length)return e;const n=Ve(Or,r),{toolboxCreator:s,visitorOptions:i}=n,o=s(),c=t.map((e=>e(o))),a=((e,{visitFnGetter:t=ir,nodeTypeGetter:r=cr,breakSymbol:n=or,deleteNodeSymbol:s=null,skipVisitingNodeSymbol:i=!1,exposeEdits:o=!1}={})=>{const c=Symbol("skip"),a=new Array(e.length).fill(c);return{enter(u,...l){let f=u,p=!1;for(let h=0;h<e.length;h+=1)if(a[h]===c){const c=t(e[h],r(f),!1);if("function"==typeof c){const t=c.call(e[h],f,...l);if(t===i)a[h]=u;else if(t===n)a[h]=n;else{if(t===s)return t;if(void 0!==t){if(!o)return t;f=t,p=!0}}}}return p?f:void 0},leave(s,...o){for(let u=0;u<e.length;u+=1)if(a[u]===c){const c=t(e[u],r(s),!0);if("function"==typeof c){const t=c.call(e[u],s,...o);if(t===n)a[u]=n;else if(void 0!==t&&t!==i)return t}}else a[u]===s&&(a[u]=c)}}})(c.map(De({},"visitor")),{...i});c.forEach(qt(["pre"],[]));const u=xr(e,a,i);return c.forEach(qt(["post"],[])),u},Sr=(e,{Type:t,plugins:r=[]})=>{const n=new t(e);return wr(n,r,{toolboxCreator:rr,visitorOptions:{nodeTypeGetter:gr}})},Ar=e=>(t,r={})=>Sr(t,{...r,Type:e});s.We.refract=Ar(s.We),s.uQ.refract=Ar(s.uQ),s.M$.refract=Ar(s.M$),s.Ar.refract=Ar(s.Ar),s.WM.refract=Ar(s.WM),s.wH.refract=Ar(s.wH),s.UH.refract=Ar(s.UH),s.eE.refract=Ar(s.eE),D.refract=Ar(D),z.refract=Ar(z),W.refract=Ar(W),K.refract=Ar(K);class _r extends s.We{constructor(e,t,r){super(e,t,r),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 kr=_r;class Pr extends s.We{constructor(e,t,r){super(e,t,r),this.element="JSONReference",this.classes.push("json-reference")}get $ref(){return this.get("$ref")}set $ref(e){this.set("$ref",e)}}const Mr=Pr;class Tr extends s.We{constructor(e,t,r){super(e,t,r),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 Nr=Tr;class Rr extends s.We{constructor(e,t,r){super(e,t,r),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 Cr=Rr,Vr={namespace:e=>{const{base:t}=e;return t.register("jSONSchemaDraft4",kr),t.register("jSONReference",Mr),t.register("media",Nr),t.register("linkDescription",Cr),t}};const Fr=function(){return!0},Ir=e=>"string"==typeof(null==e?void 0:e.type)?e.type:gr(e),Lr={EphemeralObject:["content"],EphemeralArray:["content"],...Er},Dr=(e,t,{keyMap:r=Lr,...n}={})=>xr(e,t,{keyMap:r,nodeTypeGetter:Ir,nodePredicate:Fr,detectCycles:!1,deleteNodeSymbol:Symbol.for("delete-node"),skipVisitingNodeSymbol:Symbol.for("skip-visiting-node"),...n});Dr[Symbol.for("nodejs.util.promisify.custom")]=async(e,{keyMap:t=Lr,...r}={})=>xr[Symbol.for("nodejs.util.promisify.custom")](e,visitor,{keyMap:t,nodeTypeGetter:Ir,nodePredicate:Fr,detectCycles:!1,deleteNodeSymbol:Symbol.for("delete-node"),skipVisitingNodeSymbol:Symbol.for("skip-visiting-node"),...r});const Br=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 zr=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))}};class qr{ObjectElement={enter:e=>{if(this.references.has(e))return this.references.get(e).toReference();const t=new zr(e.content);return this.references.set(e,t),t}};EphemeralObject={leave:e=>e.toObject()};MemberElement={enter:e=>[e.key,e.value]};ArrayElement={enter:e=>{if(this.references.has(e))return this.references.get(e).toReference();const t=new Br(e.content);return this.references.set(e,t),t}};EphemeralArray={leave:e=>e.toArray()};references=new WeakMap;BooleanElement(e){return e.toValue()}NumberElement(e){return e.toValue()}StringElement(e){return e.toValue()}NullElement(){return null}}const $r=e=>te(e)?re(e)||ne(e)||ie(e)||se(e)?e.toValue():Dr(e,new qr):e,Jr=e=>{if(te(e))return`${e.element.charAt(0).toUpperCase()+e.element.slice(1)}Element`},Ur={JSONSchemaDraft4Element:["content"],JSONReferenceElement:["content"],MediaElement:["content"],LinkDescriptionElement:["content"],...Er},Wr={JSONSchemaDraft4Element:{additionalItems:(...e)=>new kr(...e),items:(...e)=>new kr(...e),required(...e){const t=new s.uQ(...e);return t.classes.push("json-schema-required"),t},properties(...e){const t=new s.We(...e);return t.classes.push("json-schema-properties"),t},additionalProperties:(...e)=>new kr(...e),patternProperties(...e){const t=new s.We(...e);return t.classes.push("json-schema-patternProperties"),t},dependencies(...e){const t=new s.We(...e);return t.classes.push("json-schema-dependencies"),t},enum(...e){const t=new s.uQ(...e);return t.classes.push("json-schema-enum"),t},allOf(...e){const t=new s.uQ(...e);return t.classes.push("json-schema-allOf"),t},anyOf(...e){const t=new s.uQ(...e);return t.classes.push("json-schema-anyOf"),t},oneOf(...e){const t=new s.uQ(...e);return t.classes.push("json-schema-oneOf"),t},not:(...e)=>new kr(...e),definitions(...e){const t=new s.We(...e);return t.classes.push("json-schema-definitions"),t},links(...e){const t=new s.uQ(...e);return t.classes.push("json-schema-links"),t},media:(...e)=>new Nr(...e)},LinkDescriptionElement:{targetSchema:(...e)=>new kr(...e),schema:(...e)=>new kr(...e)},"json-schema-properties":{"[key: *]":function(...e){return new kr(...e)}},"json-schema-patternProperties":{"[key: *]":function(...e){return new kr(...e)}},"json-schema-dependencies":{"[key: *]":function(...e){return new kr(...e)}},"json-schema-allOf":{"<*>":function(...e){return new kr(...e)}},"json-schema-anyOf":{"<*>":function(...e){return new kr(...e)}},"json-schema-oneOf":{"<*>":function(...e){return new kr(...e)}},"json-schema-definitions":{"[key: *]":function(...e){return new kr(...e)}},"json-schema-links":{"<*>":function(...e){return new Cr(...e)}}},Gr=(e,t)=>{const r=Jr(e),n=Wr[r]||Wr[$r(e.classes.first)];return void 0===n?void 0:Object.prototype.hasOwnProperty.call(n,"[key: *]")?n["[key: *]"]:n[t]},Kr=()=>()=>({visitor:{StringElement(e,t,r,n,s){if(!(e=>re(e)&&ge(["yaml-e-node","yaml-e-scalar"],e))(e))return;const i=[...s,r].filter(te),o=i[i.length-1];let c,a;return ce(o)?(a=e,c=Gr(o,"<*>")):ae(o)&&(a=i[i.length-2],c=Gr(a,$r(o.key))),"function"==typeof c?c.call({context:a},void 0,mr(e.meta),mr(e.attributes)):void 0}}});const Qr=c((function(e,t){return Ge((function(r,n){return r[n]=e(t[n],n,t),r}),{},T(t))}));const Hr=o((function(e){return null==e}));const Yr=c((function(e,t){if(0===e.length||Hr(t))return!1;for(var r=t,n=0;n<e.length;){if(Hr(r)||!x(e[n],r))return!1;r=r[e[n]],n+=1}return!0}));var Xr=c((function(e,t){return Yr([e],t)}));const Zr=Xr;const en=Te((function(e,t,r){return e(Le(t,r))}));const tn=o((function(e){return g(e.length,e)}));const rn=c((function(e,t){return g(e+1,(function(){var r=arguments[e];if(null!=r&&Ct(r[t]))return r[t].apply(r,Array.prototype.slice.call(arguments,0,e));throw new TypeError(yt(r)+' does not have a method named "'+t+'"')}))}));const nn=rn(1,"split");var sn=function(){function e(e,t){this.xf=t,this.f=e}return e.prototype["@@transducer/init"]=f,e.prototype["@@transducer/result"]=p,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 on(e){return function(t){return new sn(e,t)}}const cn=c(u(["dropWhile"],on,(function(e,t){for(var r=0,n=t.length;r<n&&e(t[r]);)r+=1;return $e(r,1/0,t)})));const an=rn(1,"join");const un=tn((function(e,t){return _t(nn(""),cn(I(e)),an(""))(t)})),ln=(e,t)=>{const r=Fe(e,t);return Qr((e=>{if(Xt(e)&&Zr("$ref",e)&&en(nr,"$ref",e)){const t=ze(["$ref"],e),n=un("#/",t);return ze(n.split("/"),r)}return Xt(e)?ln(e,r):e}),e)};var fn=r(4248),pn=r.n(fn);const hn=pn()({props:{element:null},methods:{copyMetaAndAttributes(e,t){de(e)&&t.meta.set("sourceMap",e.meta.get("sourceMap"))}}}),mn=pn()(hn,{methods:{enter(e){return this.element=mr(e),or}}});const yn=q($());const dn=c((function(e,t){for(var r={},n=0;n<e.length;)e[n]in t&&(r[e[n]]=t[e[n]]),n+=1;return r})),vn=pn()(hn,{props:{specObj:null,passingOptionsNames:["specObj"]},init({specObj:e=this.specObj}){this.specObj=e},methods:{retrievePassingOptions(){return dn(this.passingOptionsNames,this)},retrieveFixedFields(e){const t=ze(["visitors",...e,"fixedFields"],this.specObj);return"object"==typeof t&&null!==t?Object.keys(t):[]},retrieveVisitor(e){return $t(Nt,["visitors",...e],this.specObj)?ze(["visitors",...e],this.specObj):ze(["visitors",...e,"$visitor"],this.specObj)},retrieveVisitorInstance(e,t={}){const r=this.retrievePassingOptions();return new(this.retrieveVisitor(e))({...r,...t})},toRefractedElement(e,t,r={}){const n=this.retrieveVisitorInstance(e,r),s=Object.getPrototypeOf(n);return J(this.fallbackVisitorPrototype)&&(this.fallbackVisitorPrototype=Object.getPrototypeOf(this.retrieveVisitorInstance(["value"]))),this.fallbackVisitorPrototype===s?mr(t):(xr(t,n,r),n.element)}}}),gn=pn()(vn,{props:{specPath:yn,ignoredFields:[]},init({specPath:e=this.specPath,ignoredFields:t=this.ignoredFields}={}){this.specPath=e,this.ignoredFields=t},methods:{ObjectElement(e){const t=this.specPath(e),r=this.retrieveFixedFields(t);return e.forEach(((e,n,i)=>{if(re(n)&&r.includes($r(n))&&!this.ignoredFields.includes($r(n))){const r=this.toRefractedElement([...t,"fixedFields",$r(n)],e),o=new s.u6(mr(n),r);this.copyMetaAndAttributes(i,o),o.classes.push("fixed-field"),this.element.content.push(o)}else this.ignoredFields.includes($r(n))||this.element.content.push(mr(i))})),this.copyMetaAndAttributes(e,this.element),or}}}),bn=pn()(gn,mn,{props:{specPath:q(["document","objects","JSONSchema"])},init(){this.element=new kr}}),jn=mn,En=mn,xn=mn,On=mn,wn=mn,Sn=mn,An=mn,_n=mn,kn=mn,Pn=mn,Mn=pn()({props:{parent:null},init({parent:e=this.parent}){this.parent=e,this.passingOptionsNames=[...this.passingOptionsNames,"parent"]}}),Tn=e=>oe(e)&&e.hasKey("$ref"),Nn=pn()(vn,Mn,mn,{methods:{ObjectElement(e){const t=Tn(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"];return this.element=this.toRefractedElement(t,e),or},ArrayElement(e){return this.element=new s.uQ,this.element.classes.push("json-schema-items"),e.forEach((e=>{const t=Tn(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"],r=this.toRefractedElement(t,e);this.element.push(r)})),this.copyMetaAndAttributes(e,this.element),or}}}),Rn=mn,Cn=mn,Vn=mn,Fn=mn,In=mn,Ln=pn()(mn,{methods:{ArrayElement(e){return this.element=mr(e),this.element.classes.push("json-schema-required"),or}}});const Dn=o((function(e){return g(Ot(dt,0,vt("length",e)),(function(){for(var t=0,r=e.length;t<r;){if(!e[t].apply(this,arguments))return!1;t+=1}return!0}))}));const Bn=c((function(e,t){return e||t}));const zn=ot(g(1,Ft(Ut,c((function(e,t){return Ct(e)?function(){return e.apply(this,arguments)||t.apply(this,arguments)}:it(Bn)(e,t)}))(Gt,Nt))));const qn=ot(Dt);const $n=Dn([nr,zn,qn]);const Jn=function(){return!1},Un=pn()(vn,{props:{fieldPatternPredicate:Jn,specPath:yn,ignoredFields:[]},init({specPath:e=this.specPath,ignoredFields:t=this.ignoredFields}={}){this.specPath=e,this.ignoredFields=t},methods:{ObjectElement(e){return e.forEach(((e,t,r)=>{if(!this.ignoredFields.includes($r(t))&&this.fieldPatternPredicate($r(t))){const n=this.specPath(e),i=this.toRefractedElement(n,e),o=new s.u6(mr(t),i);this.copyMetaAndAttributes(r,o),o.classes.push("patterned-field"),this.element.content.push(o)}else this.ignoredFields.includes($r(t))||this.element.content.push(mr(r))})),this.copyMetaAndAttributes(e,this.element),or}}}),Wn=pn()(Un,{props:{fieldPatternPredicate:$n}}),Gn=pn()(Wn,Mn,mn,{props:{specPath:e=>Tn(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"]},init(){this.element=new s.We,this.element.classes.push("json-schema-properties")}}),Kn=pn()(Wn,Mn,mn,{props:{specPath:e=>Tn(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"]},init(){this.element=new s.We,this.element.classes.push("json-schema-patternProperties")}}),Qn=pn()(Wn,Mn,mn,{props:{specPath:e=>Tn(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"]},init(){this.element=new s.We,this.element.classes.push("json-schema-dependencies")}}),Hn=pn()(mn,{methods:{ArrayElement(e){return this.element=mr(e),this.element.classes.push("json-schema-enum"),or}}}),Yn=pn()(mn,{methods:{StringElement(e){return this.element=mr(e),this.element.classes.push("json-schema-type"),or},ArrayElement(e){return this.element=mr(e),this.element.classes.push("json-schema-type"),or}}}),Xn=pn()(vn,Mn,mn,{init(){this.element=new s.uQ,this.element.classes.push("json-schema-allOf")},methods:{ArrayElement(e){return e.forEach((e=>{const t=Tn(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"],r=this.toRefractedElement(t,e);this.element.push(r)})),this.copyMetaAndAttributes(e,this.element),or}}}),Zn=pn()(vn,Mn,mn,{init(){this.element=new s.uQ,this.element.classes.push("json-schema-anyOf")},methods:{ArrayElement(e){return e.forEach((e=>{const t=Tn(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"],r=this.toRefractedElement(t,e);this.element.push(r)})),this.copyMetaAndAttributes(e,this.element),or}}}),es=pn()(vn,Mn,mn,{init(){this.element=new s.uQ,this.element.classes.push("json-schema-oneOf")},methods:{ArrayElement(e){return e.forEach((e=>{const t=Tn(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"],r=this.toRefractedElement(t,e);this.element.push(r)})),this.copyMetaAndAttributes(e,this.element),or}}}),ts=pn()(Wn,Mn,mn,{props:{specPath:e=>Tn(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"]},init(){this.element=new s.We,this.element.classes.push("json-schema-definitions")}}),rs=mn,ns=mn,ss=mn,is=mn,os=mn,cs=pn()(vn,Mn,mn,{init(){this.element=new s.uQ,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),or}}}),as=mn,us=pn()(gn,mn,{props:{specPath:q(["document","objects","JSONReference"])},init(){this.element=new Mr},methods:{ObjectElement(e){const t=gn.compose.methods.ObjectElement.call(this,e);return re(this.element.$ref)&&this.element.classes.push("reference-element"),t}}}),ls=pn()(mn,{methods:{StringElement(e){return this.element=mr(e),this.element.classes.push("reference-value"),or}}});const fs=Te((function(e,t,r){return g(Math.max(e.length,t.length,r.length),(function(){return e.apply(this,arguments)?t.apply(this,arguments):r.apply(this,arguments)}))}));const ps=o((function(e){return function(t,r){return e(t,r)?-1:e(r,t)?1:0}}));var hs=c((function(e,t){return Array.prototype.slice.call(t,0).sort(e)}));const ms=hs;const ys=je(0);const ds=o(l);const vs=ot(Hr);const gs=Ft(Bt,qn);function bs(e){return function(e){if(Array.isArray(e))return js(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 js(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return js(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 js(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var Es=_t(ms(ps((function(e,t){return e.length>t.length}))),ys,Le("length")),xs=tn((function(e,t,r){var n=r.apply(void 0,bs(e));return vs(n)?ds(n):t}));const Os=fs(gs,(function(e){var t=Es(e);return g(t,(function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return Ot(xs(r),void 0,e)}))}),$),ws=pn()(vn,{props:{alternator:[]},methods:{enter(e){const t=this.alternator.map((({predicate:e,specPath:t})=>fs(e,q(t),$))),r=Os(t)(e);return this.element=this.toRefractedElement(r,e),or}}}),Ss=pn()(ws,{props:{alternator:[{predicate:Tn,specPath:["document","objects","JSONReference"]},{predicate:Fr,specPath:["document","objects","JSONSchema"]}]}}),As=pn()(gn,mn,{props:{specPath:q(["document","objects","Media"])},init(){this.element=new Nr}}),_s=mn,ks=mn,Ps=pn()(gn,mn,{props:{specPath:q(["document","objects","LinkDescription"])},init(){this.element=new Cr}}),Ms={visitors:{value:mn,JSONSchemaOrJSONReferenceVisitor:Ss,document:{objects:{JSONSchema:{$visitor:bn,fixedFields:{id:jn,$schema:En,multipleOf:xn,maximum:On,exclusiveMaximum:wn,minimum:Sn,exclusiveMinimum:An,maxLength:_n,minLength:kn,pattern:Pn,additionalItems:Ss,items:Nn,maxItems:Rn,minItems:Cn,uniqueItems:Vn,maxProperties:Fn,minProperties:In,required:Ln,properties:Gn,additionalProperties:Ss,patternProperties:Kn,dependencies:Qn,enum:Hn,type:Yn,allOf:Xn,anyOf:Zn,oneOf:es,not:Ss,definitions:ts,title:rs,description:ns,default:ss,format:is,base:os,links:cs,media:{$ref:"#/visitors/document/objects/Media"},readOnly:as}},JSONReference:{$visitor:us,fixedFields:{$ref:ls}},Media:{$visitor:As,fixedFields:{binaryEncoding:_s,type:ks}},LinkDescription:{$visitor:Ps,fixedFields:{href:mn,rel:mn,title:mn,targetSchema:Ss,mediaType:mn,method:mn,encType:mn,schema:Ss}}}}}},Ts=ee((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof kr||e(n)&&t("JSONSchemaDraft4",n)&&r("object",n))),Ns=ee((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof Mr||e(n)&&t("JSONReference",n)&&r("object",n))),Rs=ee((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof Nr||e(n)&&t("media",n)&&r("object",n))),Cs=ee((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof Cr||e(n)&&t("linkDescription",n)&&r("object",n))),Vs=()=>{const e=(e=>{const t=new Zt;return Xt(e)&&t.use(e),t})(Vr);return{predicates:{...t,isStringElement:re},namespace:e}},Fs=(e,{specPath:t=["visitors","document","objects","JSONSchema","$visitor"],plugins:r=[],specificationObj:n=Ms}={})=>{const i=(0,s.WG)(e),o=ln(n),c=qt(t,[],o);return xr(i,c,{state:{specObj:o}}),wr(c.element,r,{toolboxCreator:Vs,visitorOptions:{keyMap:Ur,nodeTypeGetter:Jr}})},Is=e=>(t,r={})=>Fs(t,{specPath:e,...r}),Ls=Fs})(),n})()));
Note: See TracBrowser for help on using the repository browser.