@swagger-api/apidom-ns-json-schema-draft-7 0.82.2 → 0.83.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,10 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [0.83.0](https://github.com/swagger-api/apidom/compare/v0.82.2...v0.83.0) (2023-11-07)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @swagger-api/apidom-ns-json-schema-draft-7
|
|
9
|
+
|
|
6
10
|
## [0.82.2](https://github.com/swagger-api/apidom/compare/v0.82.1...v0.82.2) (2023-11-03)
|
|
7
11
|
|
|
8
12
|
### Bug Fixes
|
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.apidomNsJSONSchemaDraft7=t():e.apidomNsJSONSchemaDraft7=t()}(self,(()=>(()=>{var e={42:(e,t,n)=>{"use strict";var r=n(5846);e.exports=r},6791:(e,t,n)=>{"use strict";n(4339),n(4242),n(4016),n(8939),n(5454);var r=n(7545);e.exports=r.AggregateError},6762:(e,t,n)=>{"use strict";e.exports=n(3028)},3028:(e,t,n)=>{"use strict";n(2752);var r=n(42);e.exports=r},6235:(e,t,n)=>{"use strict";var r=n(6447),s=n(9288),i=TypeError;e.exports=function(e){if(r(e))return e;throw new i(s(e)+" is not a function")}},7757:(e,t,n)=>{"use strict";var r=n(6447),s=String,i=TypeError;e.exports=function(e){if("object"==typeof e||r(e))return e;throw new i("Can't set "+s(e)+" as a prototype")}},7423:e=>{"use strict";e.exports=function(){}},1138:(e,t,n)=>{"use strict";var r=n(5744),s=String,i=TypeError;e.exports=function(e){if(r(e))return e;throw new i(s(e)+" is not an object")}},8180:(e,t,n)=>{"use strict";var r=n(101),s=n(7739),i=n(4104),o=function(e){return function(t,n,o){var c,a=r(t),u=i(a),l=s(o,u);if(e&&n!=n){for(;u>l;)if((c=a[l++])!=c)return!0}else for(;u>l;l++)if((e||l in a)&&a[l]===n)return e||l||0;return!e&&-1}};e.exports={includes:o(!0),indexOf:o(!1)}},9272:(e,t,n)=>{"use strict";var r=n(4120),s=r({}.toString),i=r("".slice);e.exports=function(e){return i(s(e),8,-1)}},4696:(e,t,n)=>{"use strict";var r=n(3471),s=n(6447),i=n(9272),o=n(8182)("toStringTag"),c=Object,a="Arguments"===i(function(){return arguments}());e.exports=r?i:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=c(e),o))?n:a?i(t):"Object"===(r=i(t))&&s(t.callee)?"Arguments":r}},7987:(e,t,n)=>{"use strict";var r=n(4500),s=n(3011),i=n(5141),o=n(2454);e.exports=function(e,t,n){for(var c=s(t),a=o.f,u=i.f,l=0;l<c.length;l++){var p=c[l];r(e,p)||n&&r(n,p)||a(e,p,u(t,p))}}},4635:(e,t,n)=>{"use strict";var r=n(6192);e.exports=!r((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},7271:e=>{"use strict";e.exports=function(e,t){return{value:e,done:t}}},8711:(e,t,n)=>{"use strict";var r=n(69),s=n(2454),i=n(774);e.exports=r?function(e,t,n){return s.f(e,t,i(1,n))}:function(e,t,n){return e[t]=n,e}},774:e=>{"use strict";e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},9362:(e,t,n)=>{"use strict";var r=n(8711);e.exports=function(e,t,n,s){return s&&s.enumerable?e[t]=n:r(e,t,n),e}},5098:(e,t,n)=>{"use strict";var r=n(8576),s=Object.defineProperty;e.exports=function(e,t){try{s(r,e,{value:t,configurable:!0,writable:!0})}catch(n){r[e]=t}return t}},69:(e,t,n)=>{"use strict";var r=n(6192);e.exports=!r((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]}))},8382:e=>{"use strict";var t="object"==typeof document&&document.all,n=void 0===t&&void 0!==t;e.exports={all:t,IS_HTMLDDA:n}},7449:(e,t,n)=>{"use strict";var r=n(8576),s=n(5744),i=r.document,o=s(i)&&s(i.createElement);e.exports=function(e){return o?i.createElement(e):{}}},7365: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}},8989:e=>{"use strict";e.exports="undefined"!=typeof navigator&&String(navigator.userAgent)||""},4218:(e,t,n)=>{"use strict";var r,s,i=n(8576),o=n(8989),c=i.process,a=i.Deno,u=c&&c.versions||a&&a.version,l=u&&u.v8;l&&(s=(r=l.split("."))[0]>0&&r[0]<4?1:+(r[0]+r[1])),!s&&o&&(!(r=o.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=o.match(/Chrome\/(\d+)/))&&(s=+r[1]),e.exports=s},2952:e=>{"use strict";e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},4503:(e,t,n)=>{"use strict";var r=n(4120),s=Error,i=r("".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}},8266:(e,t,n)=>{"use strict";var r=n(8711),s=n(4503),i=n(274),o=Error.captureStackTrace;e.exports=function(e,t,n,c){i&&(o?o(e,t):r(e,"stack",s(n,c)))}},274:(e,t,n)=>{"use strict";var r=n(6192),s=n(774);e.exports=!r((function(){var e=new Error("a");return!("stack"in e)||(Object.defineProperty(e,"stack",s(1,7)),7!==e.stack)}))},3085:(e,t,n)=>{"use strict";var r=n(8576),s=n(6298),i=n(4914),o=n(6447),c=n(5141).f,a=n(9245),u=n(7545),l=n(8043),p=n(8711),f=n(4500),h=function(e){var t=function(n,r,i){if(this instanceof t){switch(arguments.length){case 0:return new e;case 1:return new e(n);case 2:return new e(n,r)}return new e(n,r,i)}return s(e,this,arguments)};return t.prototype=e.prototype,t};e.exports=function(e,t){var n,s,m,d,y,v,b,g,O,j=e.target,S=e.global,E=e.stat,x=e.proto,w=S?r:E?r[j]:(r[j]||{}).prototype,A=S?u:u[j]||p(u,j,{})[j],k=A.prototype;for(d in t)s=!(n=a(S?d:j+(E?".":"#")+d,e.forced))&&w&&f(w,d),v=A[d],s&&(b=e.dontCallGetSet?(O=c(w,d))&&O.value:w[d]),y=s&&b?b:t[d],s&&typeof v==typeof y||(g=e.bind&&s?l(y,r):e.wrap&&s?h(y):x&&o(y)?i(y):y,(e.sham||y&&y.sham||v&&v.sham)&&p(g,"sham",!0),p(A,d,g),x&&(f(u,m=j+"Prototype")||p(u,m,{}),p(u[m],d,y),e.real&&k&&(n||!k[d])&&p(k,d,y)))}},6192:e=>{"use strict";e.exports=function(e){try{return!!e()}catch(e){return!0}}},6298:(e,t,n)=>{"use strict";var r=n(2784),s=Function.prototype,i=s.apply,o=s.call;e.exports="object"==typeof Reflect&&Reflect.apply||(r?o.bind(i):function(){return o.apply(i,arguments)})},8043:(e,t,n)=>{"use strict";var r=n(4914),s=n(6235),i=n(2784),o=r(r.bind);e.exports=function(e,t){return s(e),void 0===t?e:i?o(e,t):function(){return e.apply(t,arguments)}}},2784:(e,t,n)=>{"use strict";var r=n(6192);e.exports=!r((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))},8922:(e,t,n)=>{"use strict";var r=n(2784),s=Function.prototype.call;e.exports=r?s.bind(s):function(){return s.apply(s,arguments)}},2282:(e,t,n)=>{"use strict";var r=n(69),s=n(4500),i=Function.prototype,o=r&&Object.getOwnPropertyDescriptor,c=s(i,"name"),a=c&&"something"===function(){}.name,u=c&&(!r||r&&o(i,"name").configurable);e.exports={EXISTS:c,PROPER:a,CONFIGURABLE:u}},6419:(e,t,n)=>{"use strict";var r=n(4120),s=n(6235);e.exports=function(e,t,n){try{return r(s(Object.getOwnPropertyDescriptor(e,t)[n]))}catch(e){}}},4914:(e,t,n)=>{"use strict";var r=n(9272),s=n(4120);e.exports=function(e){if("Function"===r(e))return s(e)}},4120:(e,t,n)=>{"use strict";var r=n(2784),s=Function.prototype,i=s.call,o=r&&s.bind.bind(i,i);e.exports=r?o:function(e){return function(){return i.apply(e,arguments)}}},150:(e,t,n)=>{"use strict";var r=n(7545),s=n(8576),i=n(6447),o=function(e){return i(e)?e:void 0};e.exports=function(e,t){return arguments.length<2?o(r[e])||o(s[e]):r[e]&&r[e][t]||s[e]&&s[e][t]}},8703:(e,t,n)=>{"use strict";var r=n(4696),s=n(5037),i=n(5646),o=n(7771),c=n(8182)("iterator");e.exports=function(e){if(!i(e))return s(e,c)||s(e,"@@iterator")||o[r(e)]}},1669:(e,t,n)=>{"use strict";var r=n(8922),s=n(6235),i=n(1138),o=n(9288),c=n(8703),a=TypeError;e.exports=function(e,t){var n=arguments.length<2?c(e):t;if(s(n))return i(r(n,e));throw new a(o(e)+" is not iterable")}},5037:(e,t,n)=>{"use strict";var r=n(6235),s=n(5646);e.exports=function(e,t){var n=e[t];return s(n)?void 0:r(n)}},8576:function(e,t,n){"use strict";var r=function(e){return e&&e.Math===Math&&e};e.exports=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof n.g&&n.g)||function(){return this}()||this||Function("return this")()},4500:(e,t,n)=>{"use strict";var r=n(4120),s=n(1795),i=r({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return i(s(e),t)}},4535:e=>{"use strict";e.exports={}},7403:(e,t,n)=>{"use strict";var r=n(150);e.exports=r("document","documentElement")},188:(e,t,n)=>{"use strict";var r=n(69),s=n(6192),i=n(7449);e.exports=!r&&!s((function(){return 7!==Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},2202:(e,t,n)=>{"use strict";var r=n(4120),s=n(6192),i=n(9272),o=Object,c=r("".split);e.exports=s((function(){return!o("z").propertyIsEnumerable(0)}))?function(e){return"String"===i(e)?c(e,""):o(e)}:o},2643:(e,t,n)=>{"use strict";var r=n(6447),s=n(5744),i=n(4469);e.exports=function(e,t,n){var o,c;return i&&r(o=t.constructor)&&o!==n&&s(c=o.prototype)&&c!==n.prototype&&i(e,c),e}},273:(e,t,n)=>{"use strict";var r=n(5744),s=n(8711);e.exports=function(e,t){r(t)&&"cause"in t&&s(e,"cause",t.cause)}},3326:(e,t,n)=>{"use strict";var r,s,i,o=n(5278),c=n(8576),a=n(5744),u=n(8711),l=n(4500),p=n(6434),f=n(9766),h=n(4535),m="Object already initialized",d=c.TypeError,y=c.WeakMap;if(o||p.state){var v=p.state||(p.state=new y);v.get=v.get,v.has=v.has,v.set=v.set,r=function(e,t){if(v.has(e))throw new d(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 b=f("state");h[b]=!0,r=function(e,t){if(l(e,b))throw new d(m);return t.facade=e,u(e,b,t),t},s=function(e){return l(e,b)?e[b]:{}},i=function(e){return l(e,b)}}e.exports={set:r,get:s,has:i,enforce:function(e){return i(e)?s(e):r(e,{})},getterFor:function(e){return function(t){var n;if(!a(t)||(n=s(t)).type!==e)throw new d("Incompatible receiver, "+e+" required");return n}}}},6109:(e,t,n)=>{"use strict";var r=n(8182),s=n(7771),i=r("iterator"),o=Array.prototype;e.exports=function(e){return void 0!==e&&(s.Array===e||o[i]===e)}},6447:(e,t,n)=>{"use strict";var r=n(8382),s=r.all;e.exports=r.IS_HTMLDDA?function(e){return"function"==typeof e||e===s}:function(e){return"function"==typeof e}},9245:(e,t,n)=>{"use strict";var r=n(6192),s=n(6447),i=/#|\.prototype\./,o=function(e,t){var n=a[c(e)];return n===l||n!==u&&(s(t)?r(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},5646:e=>{"use strict";e.exports=function(e){return null==e}},5744:(e,t,n)=>{"use strict";var r=n(6447),s=n(8382),i=s.all;e.exports=s.IS_HTMLDDA?function(e){return"object"==typeof e?null!==e:r(e)||e===i}:function(e){return"object"==typeof e?null!==e:r(e)}},5546:e=>{"use strict";e.exports=!0},3236:(e,t,n)=>{"use strict";var r=n(150),s=n(6447),i=n(8902),o=n(615),c=Object;e.exports=o?function(e){return"symbol"==typeof e}:function(e){var t=r("Symbol");return s(t)&&i(t.prototype,c(e))}},3442:(e,t,n)=>{"use strict";var r=n(8043),s=n(8922),i=n(1138),o=n(9288),c=n(6109),a=n(4104),u=n(8902),l=n(1669),p=n(8703),f=n(6639),h=TypeError,m=function(e,t){this.stopped=e,this.result=t},d=m.prototype;e.exports=function(e,t,n){var y,v,b,g,O,j,S,E=n&&n.that,x=!(!n||!n.AS_ENTRIES),w=!(!n||!n.IS_RECORD),A=!(!n||!n.IS_ITERATOR),k=!(!n||!n.INTERRUPTED),P=r(t,E),_=function(e){return y&&f(y,"normal",e),new m(!0,e)},N=function(e){return x?(i(e),k?P(e[0],e[1],_):P(e[0],e[1])):k?P(e,_):P(e)};if(w)y=e.iterator;else if(A)y=e;else{if(!(v=p(e)))throw new h(o(e)+" is not iterable");if(c(v)){for(b=0,g=a(e);g>b;b++)if((O=N(e[b]))&&u(d,O))return O;return new m(!1)}y=l(e,v)}for(j=w?e.next:y.next;!(S=s(j,y)).done;){try{O=N(S.value)}catch(e){f(y,"throw",e)}if("object"==typeof O&&O&&u(d,O))return O}return new m(!1)}},6639:(e,t,n)=>{"use strict";var r=n(8922),s=n(1138),i=n(5037);e.exports=function(e,t,n){var o,c;s(e);try{if(!(o=i(e,"return"))){if("throw"===t)throw n;return n}o=r(o,e)}catch(e){c=!0,o=e}if("throw"===t)throw n;if(c)throw o;return s(o),n}},5695:(e,t,n)=>{"use strict";var r=n(4413).IteratorPrototype,s=n(2853),i=n(774),o=n(1284),c=n(7771),a=function(){return this};e.exports=function(e,t,n,u){var l=t+" Iterator";return e.prototype=s(r,{next:i(+!u,n)}),o(e,l,!1,!0),c[l]=a,e}},5297:(e,t,n)=>{"use strict";var r=n(3085),s=n(8922),i=n(5546),o=n(2282),c=n(6447),a=n(5695),u=n(9341),l=n(4469),p=n(1284),f=n(8711),h=n(9362),m=n(8182),d=n(7771),y=n(4413),v=o.PROPER,b=o.CONFIGURABLE,g=y.IteratorPrototype,O=y.BUGGY_SAFARI_ITERATORS,j=m("iterator"),S="keys",E="values",x="entries",w=function(){return this};e.exports=function(e,t,n,o,m,y,A){a(n,t,o);var k,P,_,N=function(e){if(e===m&&D)return D;if(!O&&e&&e in R)return R[e];switch(e){case S:case E:case x:return function(){return new n(this,e)}}return function(){return new n(this)}},T=t+" Iterator",M=!1,R=e.prototype,F=R[j]||R["@@iterator"]||m&&R[m],D=!O&&F||N(m),L="Array"===t&&R.entries||F;if(L&&(k=u(L.call(new e)))!==Object.prototype&&k.next&&(i||u(k)===g||(l?l(k,g):c(k[j])||h(k,j,w)),p(k,T,!0,!0),i&&(d[T]=w)),v&&m===E&&F&&F.name!==E&&(!i&&b?f(R,"name",E):(M=!0,D=function(){return s(F,this)})),m)if(P={values:N(E),keys:y?D:N(S),entries:N(x)},A)for(_ in P)(O||M||!(_ in R))&&h(R,_,P[_]);else r({target:t,proto:!0,forced:O||M},P);return i&&!A||R[j]===D||h(R,j,D,{name:m}),d[t]=D,P}},4413:(e,t,n)=>{"use strict";var r,s,i,o=n(6192),c=n(6447),a=n(5744),u=n(2853),l=n(9341),p=n(9362),f=n(8182),h=n(5546),m=f("iterator"),d=!1;[].keys&&("next"in(i=[].keys())?(s=l(l(i)))!==Object.prototype&&(r=s):d=!0),!a(r)||o((function(){var e={};return r[m].call(e)!==e}))?r={}:h&&(r=u(r)),c(r[m])||p(r,m,(function(){return this})),e.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:d}},7771:e=>{"use strict";e.exports={}},4104:(e,t,n)=>{"use strict";var r=n(8445);e.exports=function(e){return r(e.length)}},7679:e=>{"use strict";var t=Math.ceil,n=Math.floor;e.exports=Math.trunc||function(e){var r=+e;return(r>0?n:t)(r)}},6016:(e,t,n)=>{"use strict";var r=n(4845);e.exports=function(e,t){return void 0===e?arguments.length<2?"":t:r(e)}},2853:(e,t,n)=>{"use strict";var r,s=n(1138),i=n(1187),o=n(2952),c=n(4535),a=n(7403),u=n(7449),l=n(9766),p="prototype",f="script",h=l("IE_PROTO"),m=function(){},d=function(e){return"<"+f+">"+e+"</"+f+">"},y=function(e){e.write(d("")),e.close();var t=e.parentWindow.Object;return e=null,t},v=function(){try{r=new ActiveXObject("htmlfile")}catch(e){}var e,t,n;v="undefined"!=typeof document?document.domain&&r?y(r):(t=u("iframe"),n="java"+f+":",t.style.display="none",a.appendChild(t),t.src=String(n),(e=t.contentWindow.document).open(),e.write(d("document.F=Object")),e.close(),e.F):y(r);for(var s=o.length;s--;)delete v[p][o[s]];return v()};c[h]=!0,e.exports=Object.create||function(e,t){var n;return null!==e?(m[p]=s(e),n=new m,m[p]=null,n[h]=e):n=v(),void 0===t?n:i.f(n,t)}},1187:(e,t,n)=>{"use strict";var r=n(69),s=n(9600),i=n(2454),o=n(1138),c=n(101),a=n(7653);t.f=r&&!s?Object.defineProperties:function(e,t){o(e);for(var n,r=c(t),s=a(t),u=s.length,l=0;u>l;)i.f(e,n=s[l++],r[n]);return e}},2454:(e,t,n)=>{"use strict";var r=n(69),s=n(188),i=n(9600),o=n(1138),c=n(77),a=TypeError,u=Object.defineProperty,l=Object.getOwnPropertyDescriptor,p="enumerable",f="configurable",h="writable";t.f=r?i?function(e,t,n){if(o(e),t=c(t),o(n),"function"==typeof e&&"prototype"===t&&"value"in n&&h in n&&!n[h]){var r=l(e,t);r&&r[h]&&(e[t]=n.value,n={configurable:f in n?n[f]:r[f],enumerable:p in n?n[p]:r[p],writable:!1})}return u(e,t,n)}:u:function(e,t,n){if(o(e),t=c(t),o(n),s)try{return u(e,t,n)}catch(e){}if("get"in n||"set"in n)throw new a("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},5141:(e,t,n)=>{"use strict";var r=n(69),s=n(8922),i=n(6007),o=n(774),c=n(101),a=n(77),u=n(4500),l=n(188),p=Object.getOwnPropertyDescriptor;t.f=r?p:function(e,t){if(e=c(e),t=a(t),l)try{return p(e,t)}catch(e){}if(u(e,t))return o(!s(i.f,e,t),e[t])}},2092:(e,t,n)=>{"use strict";var r=n(7934),s=n(2952).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,s)}},4750:(e,t)=>{"use strict";t.f=Object.getOwnPropertySymbols},9341:(e,t,n)=>{"use strict";var r=n(4500),s=n(6447),i=n(1795),o=n(9766),c=n(4635),a=o("IE_PROTO"),u=Object,l=u.prototype;e.exports=c?u.getPrototypeOf:function(e){var t=i(e);if(r(t,a))return t[a];var n=t.constructor;return s(n)&&t instanceof n?n.prototype:t instanceof u?l:null}},8902:(e,t,n)=>{"use strict";var r=n(4120);e.exports=r({}.isPrototypeOf)},7934:(e,t,n)=>{"use strict";var r=n(4120),s=n(4500),i=n(101),o=n(8180).indexOf,c=n(4535),a=r([].push);e.exports=function(e,t){var n,r=i(e),u=0,l=[];for(n in r)!s(c,n)&&s(r,n)&&a(l,n);for(;t.length>u;)s(r,n=t[u++])&&(~o(l,n)||a(l,n));return l}},7653:(e,t,n)=>{"use strict";var r=n(7934),s=n(2952);e.exports=Object.keys||function(e){return r(e,s)}},6007:(e,t)=>{"use strict";var n={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,s=r&&!n.call({1:2},1);t.f=s?function(e){var t=r(this,e);return!!t&&t.enumerable}:n},4469:(e,t,n)=>{"use strict";var r=n(6419),s=n(1138),i=n(7757);e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=r(Object.prototype,"__proto__","set"))(n,[]),t=n instanceof Array}catch(e){}return function(n,r){return s(n),i(r),t?e(n,r):n.__proto__=r,n}}():void 0)},158:(e,t,n)=>{"use strict";var r=n(3471),s=n(4696);e.exports=r?{}.toString:function(){return"[object "+s(this)+"]"}},380:(e,t,n)=>{"use strict";var r=n(8922),s=n(6447),i=n(5744),o=TypeError;e.exports=function(e,t){var n,c;if("string"===t&&s(n=e.toString)&&!i(c=r(n,e)))return c;if(s(n=e.valueOf)&&!i(c=r(n,e)))return c;if("string"!==t&&s(n=e.toString)&&!i(c=r(n,e)))return c;throw new o("Can't convert object to primitive value")}},3011:(e,t,n)=>{"use strict";var r=n(150),s=n(4120),i=n(2092),o=n(4750),c=n(1138),a=s([].concat);e.exports=r("Reflect","ownKeys")||function(e){var t=i.f(c(e)),n=o.f;return n?a(t,n(e)):t}},7545:e=>{"use strict";e.exports={}},7656:(e,t,n)=>{"use strict";var r=n(2454).f;e.exports=function(e,t,n){n in e||r(e,n,{configurable:!0,get:function(){return t[n]},set:function(e){t[n]=e}})}},3209:(e,t,n)=>{"use strict";var r=n(5646),s=TypeError;e.exports=function(e){if(r(e))throw new s("Can't call method on "+e);return e}},1284:(e,t,n)=>{"use strict";var r=n(3471),s=n(2454).f,i=n(8711),o=n(4500),c=n(158),a=n(8182)("toStringTag");e.exports=function(e,t,n,u){if(e){var l=n?e:e.prototype;o(l,a)||s(l,a,{configurable:!0,value:t}),u&&!r&&i(l,"toString",c)}}},9766:(e,t,n)=>{"use strict";var r=n(8717),s=n(2759),i=r("keys");e.exports=function(e){return i[e]||(i[e]=s(e))}},6434:(e,t,n)=>{"use strict";var r=n(8576),s=n(5098),i="__core-js_shared__",o=r[i]||s(i,{});e.exports=o},8717:(e,t,n)=>{"use strict";var r=n(5546),s=n(6434);(e.exports=function(e,t){return s[e]||(s[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.33.0",mode:r?"pure":"global",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.33.0/LICENSE",source:"https://github.com/zloirock/core-js"})},863:(e,t,n)=>{"use strict";var r=n(4120),s=n(1941),i=n(4845),o=n(3209),c=r("".charAt),a=r("".charCodeAt),u=r("".slice),l=function(e){return function(t,n){var r,l,p=i(o(t)),f=s(n),h=p.length;return f<0||f>=h?e?"":void 0:(r=a(p,f))<55296||r>56319||f+1===h||(l=a(p,f+1))<56320||l>57343?e?c(p,f):r:e?u(p,f,f+2):l-56320+(r-55296<<10)+65536}};e.exports={codeAt:l(!1),charAt:l(!0)}},6770:(e,t,n)=>{"use strict";var r=n(4218),s=n(6192),i=n(8576).String;e.exports=!!Object.getOwnPropertySymbols&&!s((function(){var e=Symbol("symbol detection");return!i(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&r&&r<41}))},7739:(e,t,n)=>{"use strict";var r=n(1941),s=Math.max,i=Math.min;e.exports=function(e,t){var n=r(e);return n<0?s(n+t,0):i(n,t)}},101:(e,t,n)=>{"use strict";var r=n(2202),s=n(3209);e.exports=function(e){return r(s(e))}},1941:(e,t,n)=>{"use strict";var r=n(7679);e.exports=function(e){var t=+e;return t!=t||0===t?0:r(t)}},8445:(e,t,n)=>{"use strict";var r=n(1941),s=Math.min;e.exports=function(e){return e>0?s(r(e),9007199254740991):0}},1795:(e,t,n)=>{"use strict";var r=n(3209),s=Object;e.exports=function(e){return s(r(e))}},7888:(e,t,n)=>{"use strict";var r=n(8922),s=n(5744),i=n(3236),o=n(5037),c=n(380),a=n(8182),u=TypeError,l=a("toPrimitive");e.exports=function(e,t){if(!s(e)||i(e))return e;var n,a=o(e,l);if(a){if(void 0===t&&(t="default"),n=r(a,e,t),!s(n)||i(n))return n;throw new u("Can't convert object to primitive value")}return void 0===t&&(t="number"),c(e,t)}},77:(e,t,n)=>{"use strict";var r=n(7888),s=n(3236);e.exports=function(e){var t=r(e,"string");return s(t)?t:t+""}},3471:(e,t,n)=>{"use strict";var r={};r[n(8182)("toStringTag")]="z",e.exports="[object z]"===String(r)},4845:(e,t,n)=>{"use strict";var r=n(4696),s=String;e.exports=function(e){if("Symbol"===r(e))throw new TypeError("Cannot convert a Symbol value to a string");return s(e)}},9288:e=>{"use strict";var t=String;e.exports=function(e){try{return t(e)}catch(e){return"Object"}}},2759:(e,t,n)=>{"use strict";var r=n(4120),s=0,i=Math.random(),o=r(1..toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+o(++s+i,36)}},615:(e,t,n)=>{"use strict";var r=n(6770);e.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},9600:(e,t,n)=>{"use strict";var r=n(69),s=n(6192);e.exports=r&&s((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},5278:(e,t,n)=>{"use strict";var r=n(8576),s=n(6447),i=r.WeakMap;e.exports=s(i)&&/native code/.test(String(i))},8182:(e,t,n)=>{"use strict";var r=n(8576),s=n(8717),i=n(4500),o=n(2759),c=n(6770),a=n(615),u=r.Symbol,l=s("wks"),p=a?u.for||u:u&&u.withoutSetter||o;e.exports=function(e){return i(l,e)||(l[e]=c&&i(u,e)?u[e]:p("Symbol."+e)),l[e]}},426:(e,t,n)=>{"use strict";var r=n(150),s=n(4500),i=n(8711),o=n(8902),c=n(4469),a=n(7987),u=n(7656),l=n(2643),p=n(6016),f=n(273),h=n(8266),m=n(69),d=n(5546);e.exports=function(e,t,n,y){var v="stackTraceLimit",b=y?2:1,g=e.split("."),O=g[g.length-1],j=r.apply(null,g);if(j){var S=j.prototype;if(!d&&s(S,"cause")&&delete S.cause,!n)return j;var E=r("Error"),x=t((function(e,t){var n=p(y?t:e,void 0),r=y?new j(e):new j;return void 0!==n&&i(r,"message",n),h(r,x,r.stack,2),this&&o(S,this)&&l(r,this,x),arguments.length>b&&f(r,arguments[b]),r}));if(x.prototype=S,"Error"!==O?c?c(x,E):a(x,E,{name:!0}):m&&v in j&&(u(x,j,v),u(x,j,"prepareStackTrace")),a(x,j),!d)try{S.name!==O&&i(S,"name",O),S.constructor=x}catch(e){}return x}}},4016:(e,t,n)=>{"use strict";var r=n(3085),s=n(150),i=n(6298),o=n(6192),c=n(426),a="AggregateError",u=s(a),l=!o((function(){return 1!==u([1]).errors[0]}))&&o((function(){return 7!==u([1],a,{cause:7}).cause}));r({global:!0,constructor:!0,arity:2,forced:l},{AggregateError:c(a,(function(e){return function(t,n){return i(e,this,arguments)}}),l,!0)})},3820:(e,t,n)=>{"use strict";var r=n(3085),s=n(8902),i=n(9341),o=n(4469),c=n(7987),a=n(2853),u=n(8711),l=n(774),p=n(273),f=n(8266),h=n(3442),m=n(6016),d=n(8182)("toStringTag"),y=Error,v=[].push,b=function(e,t){var n,r=s(g,this);o?n=o(new y,r?i(this):g):(n=r?this:a(g),u(n,d,"Error")),void 0!==t&&u(n,"message",m(t)),f(n,b,n.stack,1),arguments.length>2&&p(n,arguments[2]);var c=[];return h(e,v,{that:c}),u(n,"errors",c),n};o?o(b,y):c(b,y,{name:!0});var g=b.prototype=a(y.prototype,{constructor:l(1,b),message:l(1,""),name:l(1,"AggregateError")});r({global:!0,constructor:!0,arity:2},{AggregateError:b})},4242:(e,t,n)=>{"use strict";n(3820)},8939:(e,t,n)=>{"use strict";var r=n(101),s=n(7423),i=n(7771),o=n(3326),c=n(2454).f,a=n(5297),u=n(7271),l=n(5546),p=n(69),f="Array Iterator",h=o.set,m=o.getterFor(f);e.exports=a(Array,"Array",(function(e,t){h(this,{type:f,target:r(e),index:0,kind:t})}),(function(){var e=m(this),t=e.target,n=e.kind,r=e.index++;if(!t||r>=t.length)return e.target=void 0,u(void 0,!0);switch(n){case"keys":return u(r,!1);case"values":return u(t[r],!1)}return u([r,t[r]],!1)}),"values");var d=i.Arguments=i.Array;if(s("keys"),s("values"),s("entries"),!l&&p&&"values"!==d.name)try{c(d,"name",{value:"values"})}catch(e){}},4339:(e,t,n)=>{"use strict";var r=n(3085),s=n(8576),i=n(6298),o=n(426),c="WebAssembly",a=s[c],u=7!==new Error("e",{cause:7}).cause,l=function(e,t){var n={};n[e]=o(e,t,u),r({global:!0,constructor:!0,arity:1,forced:u},n)},p=function(e,t){if(a&&a[e]){var n={};n[e]=o(c+"."+e,t,u),r({target:c,stat:!0,constructor:!0,arity:1,forced:u},n)}};l("Error",(function(e){return function(t){return i(e,this,arguments)}})),l("EvalError",(function(e){return function(t){return i(e,this,arguments)}})),l("RangeError",(function(e){return function(t){return i(e,this,arguments)}})),l("ReferenceError",(function(e){return function(t){return i(e,this,arguments)}})),l("SyntaxError",(function(e){return function(t){return i(e,this,arguments)}})),l("TypeError",(function(e){return function(t){return i(e,this,arguments)}})),l("URIError",(function(e){return function(t){return i(e,this,arguments)}})),p("CompileError",(function(e){return function(t){return i(e,this,arguments)}})),p("LinkError",(function(e){return function(t){return i(e,this,arguments)}})),p("RuntimeError",(function(e){return function(t){return i(e,this,arguments)}}))},5454:(e,t,n)=>{"use strict";var r=n(863).charAt,s=n(4845),i=n(3326),o=n(5297),c=n(7271),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),n=t.string,s=t.index;return s>=n.length?c(void 0,!0):(e=r(n,s),t.index+=e.length,c(e,!1))}))},2752:(e,t,n)=>{"use strict";n(4242)},162:(e,t,n)=>{"use strict";n(8939);var r=n(7365),s=n(8576),i=n(4696),o=n(8711),c=n(7771),a=n(8182)("toStringTag");for(var u in r){var l=s[u],p=l&&l.prototype;p&&i(p)!==a&&o(p,a,u),c[u]=c.Array}},5846:(e,t,n)=>{"use strict";n(2752);var r=n(6791);n(162),e.exports=r},9515:(e,t,n)=>{var r=n(8761)(n(7772),"DataView");e.exports=r},9612:(e,t,n)=>{var r=n(2118),s=n(6909),i=n(8138),o=n(4174),c=n(7942);function a(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}a.prototype.clear=r,a.prototype.delete=s,a.prototype.get=i,a.prototype.has=o,a.prototype.set=c,e.exports=a},235:(e,t,n)=>{var r=n(3945),s=n(1846),i=n(8028),o=n(2344),c=n(4769);function a(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}a.prototype.clear=r,a.prototype.delete=s,a.prototype.get=i,a.prototype.has=o,a.prototype.set=c,e.exports=a},326:(e,t,n)=>{var r=n(8761)(n(7772),"Map");e.exports=r},6738:(e,t,n)=>{var r=n(2411),s=n(6417),i=n(6928),o=n(9493),c=n(4150);function a(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}a.prototype.clear=r,a.prototype.delete=s,a.prototype.get=i,a.prototype.has=o,a.prototype.set=c,e.exports=a},2760:(e,t,n)=>{var r=n(8761)(n(7772),"Promise");e.exports=r},2143:(e,t,n)=>{var r=n(8761)(n(7772),"Set");e.exports=r},5386:(e,t,n)=>{var r=n(6738),s=n(2842),i=n(2482);function o(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new r;++t<n;)this.add(e[t])}o.prototype.add=o.prototype.push=s,o.prototype.has=i,e.exports=o},6571:(e,t,n)=>{var r=n(235),s=n(5243),i=n(2858),o=n(4417),c=n(8605),a=n(1418);function u(e){var t=this.__data__=new r(e);this.size=t.size}u.prototype.clear=s,u.prototype.delete=i,u.prototype.get=o,u.prototype.has=c,u.prototype.set=a,e.exports=u},857:(e,t,n)=>{var r=n(7772).Symbol;e.exports=r},9162:(e,t,n)=>{var r=n(7772).Uint8Array;e.exports=r},3215:(e,t,n)=>{var r=n(8761)(n(7772),"WeakMap");e.exports=r},7552:e=>{e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length,s=0,i=[];++n<r;){var o=e[n];t(o,n,e)&&(i[s++]=o)}return i}},1634:(e,t,n)=>{var r=n(6473),s=n(9631),i=n(6152),o=n(3226),c=n(9045),a=n(7598),u=Object.prototype.hasOwnProperty;e.exports=function(e,t){var n=i(e),l=!n&&s(e),p=!n&&!l&&o(e),f=!n&&!l&&!p&&a(e),h=n||l||p||f,m=h?r(e.length,String):[],d=m.length;for(var y in e)!t&&!u.call(e,y)||h&&("length"==y||p&&("offset"==y||"parent"==y)||f&&("buffer"==y||"byteLength"==y||"byteOffset"==y)||c(y,d))||m.push(y);return m}},5067:e=>{e.exports=function(e,t){for(var n=-1,r=t.length,s=e.length;++n<r;)e[s+n]=t[n];return e}},7064:e=>{e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}},2218:(e,t,n)=>{var r=n(1225);e.exports=function(e,t){for(var n=e.length;n--;)if(r(e[n][0],t))return n;return-1}},1897:(e,t,n)=>{var r=n(5067),s=n(6152);e.exports=function(e,t,n){var i=t(e);return s(e)?i:r(i,n(e))}},3366:(e,t,n)=>{var r=n(857),s=n(2107),i=n(7157),o=r?r.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":o&&o in Object(e)?s(e):i(e)}},5183:(e,t,n)=>{var r=n(3366),s=n(5125);e.exports=function(e){return s(e)&&"[object Arguments]"==r(e)}},8746:(e,t,n)=>{var r=n(1952),s=n(5125);e.exports=function e(t,n,i,o,c){return t===n||(null==t||null==n||!s(t)&&!s(n)?t!=t&&n!=n:r(t,n,i,o,e,c))}},1952:(e,t,n)=>{var r=n(6571),s=n(4871),i=n(1491),o=n(7416),c=n(940),a=n(6152),u=n(3226),l=n(7598),p="[object Arguments]",f="[object Array]",h="[object Object]",m=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,d,y,v){var b=a(e),g=a(t),O=b?f:c(e),j=g?f:c(t),S=(O=O==p?h:O)==h,E=(j=j==p?h:j)==h,x=O==j;if(x&&u(e)){if(!u(t))return!1;b=!0,S=!1}if(x&&!S)return v||(v=new r),b||l(e)?s(e,t,n,d,y,v):i(e,t,O,n,d,y,v);if(!(1&n)){var w=S&&m.call(e,"__wrapped__"),A=E&&m.call(t,"__wrapped__");if(w||A){var k=w?e.value():e,P=A?t.value():t;return v||(v=new r),y(k,P,n,d,v)}}return!!x&&(v||(v=new r),o(e,t,n,d,y,v))}},6840:(e,t,n)=>{var r=n(1049),s=n(7394),i=n(9259),o=n(7035),c=/^\[object .+?Constructor\]$/,a=Function.prototype,u=Object.prototype,l=a.toString,p=u.hasOwnProperty,f=RegExp("^"+l.call(p).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!i(e)||s(e))&&(r(e)?f:c).test(o(e))}},5522:(e,t,n)=>{var r=n(3366),s=n(1158),i=n(5125),o={};o["[object Float32Array]"]=o["[object Float64Array]"]=o["[object Int8Array]"]=o["[object Int16Array]"]=o["[object Int32Array]"]=o["[object Uint8Array]"]=o["[object Uint8ClampedArray]"]=o["[object Uint16Array]"]=o["[object Uint32Array]"]=!0,o["[object Arguments]"]=o["[object Array]"]=o["[object ArrayBuffer]"]=o["[object Boolean]"]=o["[object DataView]"]=o["[object Date]"]=o["[object Error]"]=o["[object Function]"]=o["[object Map]"]=o["[object Number]"]=o["[object Object]"]=o["[object RegExp]"]=o["[object Set]"]=o["[object String]"]=o["[object WeakMap]"]=!1,e.exports=function(e){return i(e)&&s(e.length)&&!!o[r(e)]}},6411:(e,t,n)=>{var r=n(6001),s=n(4248),i=Object.prototype.hasOwnProperty;e.exports=function(e){if(!r(e))return s(e);var t=[];for(var n in Object(e))i.call(e,n)&&"constructor"!=n&&t.push(n);return t}},6473:e=>{e.exports=function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}},7826:e=>{e.exports=function(e){return function(t){return e(t)}}},9950:e=>{e.exports=function(e,t){return e.has(t)}},4019:(e,t,n)=>{var r=n(7772)["__core-js_shared__"];e.exports=r},4871:(e,t,n)=>{var r=n(5386),s=n(7064),i=n(9950);e.exports=function(e,t,n,o,c,a){var u=1&n,l=e.length,p=t.length;if(l!=p&&!(u&&p>l))return!1;var f=a.get(e),h=a.get(t);if(f&&h)return f==t&&h==e;var m=-1,d=!0,y=2&n?new r:void 0;for(a.set(e,t),a.set(t,e);++m<l;){var v=e[m],b=t[m];if(o)var g=u?o(b,v,m,t,e,a):o(v,b,m,e,t,a);if(void 0!==g){if(g)continue;d=!1;break}if(y){if(!s(t,(function(e,t){if(!i(y,t)&&(v===e||c(v,e,n,o,a)))return y.push(t)}))){d=!1;break}}else if(v!==b&&!c(v,b,n,o,a)){d=!1;break}}return a.delete(e),a.delete(t),d}},1491:(e,t,n)=>{var r=n(857),s=n(9162),i=n(1225),o=n(4871),c=n(5179),a=n(4207),u=r?r.prototype:void 0,l=u?u.valueOf:void 0;e.exports=function(e,t,n,r,u,p,f){switch(n){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=t.byteLength||!p(new s(e),new s(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return i(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var h=c;case"[object Set]":var m=1&r;if(h||(h=a),e.size!=t.size&&!m)return!1;var d=f.get(e);if(d)return d==t;r|=2,f.set(e,t);var y=o(h(e),h(t),r,u,p,f);return f.delete(e),y;case"[object Symbol]":if(l)return l.call(e)==l.call(t)}return!1}},7416:(e,t,n)=>{var r=n(3483),s=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,i,o,c){var a=1&n,u=r(e),l=u.length;if(l!=r(t).length&&!a)return!1;for(var p=l;p--;){var f=u[p];if(!(a?f in t:s.call(t,f)))return!1}var h=c.get(e),m=c.get(t);if(h&&m)return h==t&&m==e;var d=!0;c.set(e,t),c.set(t,e);for(var y=a;++p<l;){var v=e[f=u[p]],b=t[f];if(i)var g=a?i(b,v,f,t,e,c):i(v,b,f,e,t,c);if(!(void 0===g?v===b||o(v,b,n,i,c):g)){d=!1;break}y||(y="constructor"==f)}if(d&&!y){var O=e.constructor,j=t.constructor;O==j||!("constructor"in e)||!("constructor"in t)||"function"==typeof O&&O instanceof O&&"function"==typeof j&&j instanceof j||(d=!1)}return c.delete(e),c.delete(t),d}},1242:(e,t,n)=>{var r="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g;e.exports=r},3483:(e,t,n)=>{var r=n(1897),s=n(633),i=n(249);e.exports=function(e){return r(e,i,s)}},7937:(e,t,n)=>{var r=n(8304);e.exports=function(e,t){var n=e.__data__;return r(t)?n["string"==typeof t?"string":"hash"]:n.map}},8761:(e,t,n)=>{var r=n(6840),s=n(8109);e.exports=function(e,t){var n=s(e,t);return r(n)?n:void 0}},2107:(e,t,n)=>{var r=n(857),s=Object.prototype,i=s.hasOwnProperty,o=s.toString,c=r?r.toStringTag:void 0;e.exports=function(e){var t=i.call(e,c),n=e[c];try{e[c]=void 0;var r=!0}catch(e){}var s=o.call(e);return r&&(t?e[c]=n:delete e[c]),s}},633:(e,t,n)=>{var r=n(7552),s=n(981),i=Object.prototype.propertyIsEnumerable,o=Object.getOwnPropertySymbols,c=o?function(e){return null==e?[]:(e=Object(e),r(o(e),(function(t){return i.call(e,t)})))}:s;e.exports=c},940:(e,t,n)=>{var r=n(9515),s=n(326),i=n(2760),o=n(2143),c=n(3215),a=n(3366),u=n(7035),l="[object Map]",p="[object Promise]",f="[object Set]",h="[object WeakMap]",m="[object DataView]",d=u(r),y=u(s),v=u(i),b=u(o),g=u(c),O=a;(r&&O(new r(new ArrayBuffer(1)))!=m||s&&O(new s)!=l||i&&O(i.resolve())!=p||o&&O(new o)!=f||c&&O(new c)!=h)&&(O=function(e){var t=a(e),n="[object Object]"==t?e.constructor:void 0,r=n?u(n):"";if(r)switch(r){case d:return m;case y:return l;case v:return p;case b:return f;case g:return h}return t}),e.exports=O},8109:e=>{e.exports=function(e,t){return null==e?void 0:e[t]}},2118:(e,t,n)=>{var r=n(9191);e.exports=function(){this.__data__=r?r(null):{},this.size=0}},6909:e=>{e.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}},8138:(e,t,n)=>{var r=n(9191),s=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;if(r){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return s.call(t,e)?t[e]:void 0}},4174:(e,t,n)=>{var r=n(9191),s=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return r?void 0!==t[e]:s.call(t,e)}},7942:(e,t,n)=>{var r=n(9191);e.exports=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=r&&void 0===t?"__lodash_hash_undefined__":t,this}},9045:e=>{var t=/^(?:0|[1-9]\d*)$/;e.exports=function(e,n){var r=typeof e;return!!(n=null==n?9007199254740991:n)&&("number"==r||"symbol"!=r&&t.test(e))&&e>-1&&e%1==0&&e<n}},8304:e=>{e.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},7394:(e,t,n)=>{var r,s=n(4019),i=(r=/[^.]+$/.exec(s&&s.keys&&s.keys.IE_PROTO||""))?"Symbol(src)_1."+r:"";e.exports=function(e){return!!i&&i in e}},6001:e=>{var t=Object.prototype;e.exports=function(e){var n=e&&e.constructor;return e===("function"==typeof n&&n.prototype||t)}},3945:e=>{e.exports=function(){this.__data__=[],this.size=0}},1846:(e,t,n)=>{var r=n(2218),s=Array.prototype.splice;e.exports=function(e){var t=this.__data__,n=r(t,e);return!(n<0)&&(n==t.length-1?t.pop():s.call(t,n,1),--this.size,!0)}},8028:(e,t,n)=>{var r=n(2218);e.exports=function(e){var t=this.__data__,n=r(t,e);return n<0?void 0:t[n][1]}},2344:(e,t,n)=>{var r=n(2218);e.exports=function(e){return r(this.__data__,e)>-1}},4769:(e,t,n)=>{var r=n(2218);e.exports=function(e,t){var n=this.__data__,s=r(n,e);return s<0?(++this.size,n.push([e,t])):n[s][1]=t,this}},2411:(e,t,n)=>{var r=n(9612),s=n(235),i=n(326);e.exports=function(){this.size=0,this.__data__={hash:new r,map:new(i||s),string:new r}}},6417:(e,t,n)=>{var r=n(7937);e.exports=function(e){var t=r(this,e).delete(e);return this.size-=t?1:0,t}},6928:(e,t,n)=>{var r=n(7937);e.exports=function(e){return r(this,e).get(e)}},9493:(e,t,n)=>{var r=n(7937);e.exports=function(e){return r(this,e).has(e)}},4150:(e,t,n)=>{var r=n(7937);e.exports=function(e,t){var n=r(this,e),s=n.size;return n.set(e,t),this.size+=n.size==s?0:1,this}},5179:e=>{e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}},9191:(e,t,n)=>{var r=n(8761)(Object,"create");e.exports=r},4248:(e,t,n)=>{var r=n(241)(Object.keys,Object);e.exports=r},4146:(e,t,n)=>{e=n.nmd(e);var r=n(1242),s=t&&!t.nodeType&&t,i=s&&e&&!e.nodeType&&e,o=i&&i.exports===s&&r.process,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},7157:e=>{var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},241:e=>{e.exports=function(e,t){return function(n){return e(t(n))}}},7772:(e,t,n)=>{var r=n(1242),s="object"==typeof self&&self&&self.Object===Object&&self,i=r||s||Function("return this")();e.exports=i},2842:e=>{e.exports=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this}},2482:e=>{e.exports=function(e){return this.__data__.has(e)}},4207:e=>{e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}},5243:(e,t,n)=>{var r=n(235);e.exports=function(){this.__data__=new r,this.size=0}},2858:e=>{e.exports=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}},4417:e=>{e.exports=function(e){return this.__data__.get(e)}},8605:e=>{e.exports=function(e){return this.__data__.has(e)}},1418:(e,t,n)=>{var r=n(235),s=n(326),i=n(6738);e.exports=function(e,t){var n=this.__data__;if(n instanceof r){var o=n.__data__;if(!s||o.length<199)return o.push([e,t]),this.size=++n.size,this;n=this.__data__=new i(o)}return n.set(e,t),this.size=n.size,this}},7035:e=>{var t=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return t.call(e)}catch(e){}try{return e+""}catch(e){}}return""}},1225:e=>{e.exports=function(e,t){return e===t||e!=e&&t!=t}},9631:(e,t,n)=>{var r=n(5183),s=n(5125),i=Object.prototype,o=i.hasOwnProperty,c=i.propertyIsEnumerable,a=r(function(){return arguments}())?r:function(e){return s(e)&&o.call(e,"callee")&&!c.call(e,"callee")};e.exports=a},6152:e=>{var t=Array.isArray;e.exports=t},7878:(e,t,n)=>{var r=n(1049),s=n(1158);e.exports=function(e){return null!=e&&s(e.length)&&!r(e)}},4335:(e,t,n)=>{var r=n(3366),s=n(5125);e.exports=function(e){return!0===e||!1===e||s(e)&&"[object Boolean]"==r(e)}},3226:(e,t,n)=>{e=n.nmd(e);var r=n(7772),s=n(6330),i=t&&!t.nodeType&&t,o=i&&e&&!e.nodeType&&e,c=o&&o.exports===i?r.Buffer:void 0,a=(c?c.isBuffer:void 0)||s;e.exports=a},8149:(e,t,n)=>{var r=n(8746);e.exports=function(e,t){return r(e,t)}},1049:(e,t,n)=>{var r=n(3366),s=n(9259);e.exports=function(e){if(!s(e))return!1;var t=r(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},1158:e=>{e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},5877:e=>{e.exports=function(e){return null===e}},537:(e,t,n)=>{var r=n(3366),s=n(5125);e.exports=function(e){return"number"==typeof e||s(e)&&"[object Number]"==r(e)}},9259:e=>{e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},5125:e=>{e.exports=function(e){return null!=e&&"object"==typeof e}},5505:(e,t,n)=>{var r=n(3366),s=n(6152),i=n(5125);e.exports=function(e){return"string"==typeof e||!s(e)&&i(e)&&"[object String]"==r(e)}},7598:(e,t,n)=>{var r=n(5522),s=n(7826),i=n(4146),o=i&&i.isTypedArray,c=o?s(o):r;e.exports=c},249:(e,t,n)=>{var r=n(1634),s=n(6411),i=n(7878);e.exports=function(e){return i(e)?r(e):s(e)}},1570:e=>{e.exports=function(e){if("function"!=typeof e)throw new TypeError("Expected a function");return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}},981:e=>{e.exports=function(){return[]}},6330:e=>{e.exports=function(){return!1}},1178:(e,t,n)=>{const r=n(1570);function s(e){return"string"==typeof e?t=>t.element===e:e.constructor&&e.extend?t=>t instanceof e:e}class i{constructor(e){this.elements=e||[]}toValue(){return this.elements.map((e=>e.toValue()))}map(e,t){return this.elements.map(e,t)}flatMap(e,t){return this.map(e,t).reduce(((e,t)=>e.concat(t)),[])}compactMap(e,t){const n=[];return this.forEach((r=>{const s=e.bind(t)(r);s&&n.push(s)})),n}filter(e,t){return e=s(e),new i(this.elements.filter(e,t))}reject(e,t){return e=s(e),new i(this.elements.filter(r(e),t))}find(e,t){return e=s(e),this.elements.find(e,t)}forEach(e,t){this.elements.forEach(e,t)}reduce(e,t){return this.elements.reduce(e,t)}includes(e){return this.elements.some((t=>t.equals(e)))}shift(){return this.elements.shift()}unshift(e){this.elements.unshift(this.refract(e))}push(e){return this.elements.push(this.refract(e)),this}add(e){this.push(e)}get(e){return this.elements[e]}getValue(e){const t=this.elements[e];if(t)return t.toValue()}get length(){return this.elements.length}get isEmpty(){return 0===this.elements.length}get first(){return this.elements[0]}}"undefined"!=typeof Symbol&&(i.prototype[Symbol.iterator]=function(){return this.elements[Symbol.iterator]()}),e.exports=i},3026:e=>{class t{constructor(e,t){this.key=e,this.value=t}clone(){const e=new t;return this.key&&(e.key=this.key.clone()),this.value&&(e.value=this.value.clone()),e}}e.exports=t},5140:(e,t,n)=>{const r=n(5877),s=n(5505),i=n(537),o=n(4335),c=n(9259),a=n(2947),u=n(3756);class l{constructor(e){this.elementMap={},this.elementDetection=[],this.Element=u.Element,this.KeyValuePair=u.KeyValuePair,e&&e.noDefault||this.useDefault(),this._attributeElementKeys=[],this._attributeElementArrayKeys=[]}use(e){return e.namespace&&e.namespace({base:this}),e.load&&e.load({base:this}),this}useDefault(){return this.register("null",u.NullElement).register("string",u.StringElement).register("number",u.NumberElement).register("boolean",u.BooleanElement).register("array",u.ArrayElement).register("object",u.ObjectElement).register("member",u.MemberElement).register("ref",u.RefElement).register("link",u.LinkElement),this.detect(r,u.NullElement,!1).detect(s,u.StringElement,!1).detect(i,u.NumberElement,!1).detect(o,u.BooleanElement,!1).detect(Array.isArray,u.ArrayElement,!1).detect(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,n){return void 0===n||n?this.elementDetection.unshift([e,t]):this.elementDetection.push([e,t]),this}toElement(e){if(e instanceof this.Element)return e;let t;for(let n=0;n<this.elementDetection.length;n+=1){const r=this.elementDetection[n][0],s=this.elementDetection[n][1];if(r(e)){t=new s(e);break}}return t}getElementClass(e){const t=this.elementMap[e];return void 0===t?this.Element:t}fromRefract(e){return this.serialiser.deserialise(e)}toRefract(e){return this.serialiser.serialise(e)}get elements(){return void 0===this._elements&&(this._elements={Element:this.Element},Object.keys(this.elementMap).forEach((e=>{const t=e[0].toUpperCase()+e.substr(1);this._elements[t]=this.elementMap[e]}))),this._elements}get serialiser(){return new a(this)}}a.prototype.Namespace=l,e.exports=l},3853:(e,t,n)=>{const r=n(1570),s=n(1178);class i extends s{map(e,t){return this.elements.map((n=>e.bind(t)(n.value,n.key,n)))}filter(e,t){return new i(this.elements.filter((n=>e.bind(t)(n.value,n.key,n))))}reject(e,t){return this.filter(r(e.bind(t)))}forEach(e,t){return this.elements.forEach(((n,r)=>{e.bind(t)(n.value,n.key,n,r)}))}keys(){return this.map(((e,t)=>t.toValue()))}values(){return this.map((e=>e.toValue()))}}e.exports=i},3756:(e,t,n)=>{const r=n(6420),s=n(4152),i=n(9542),o=n(3710),c=n(3312),a=n(1641),u=n(8858),l=n(3860),p=n(5202),f=n(2320),h=n(1178),m=n(3853),d=n(3026);function y(e){if(e instanceof r)return e;if("string"==typeof e)return new i(e);if("number"==typeof e)return new o(e);if("boolean"==typeof e)return new c(e);if(null===e)return new s;if(Array.isArray(e))return new a(e.map(y));if("object"==typeof e){return new l(e)}return e}r.prototype.ObjectElement=l,r.prototype.RefElement=f,r.prototype.MemberElement=u,r.prototype.refract=y,h.prototype.refract=y,e.exports={Element:r,NullElement:s,StringElement:i,NumberElement:o,BooleanElement:c,ArrayElement:a,MemberElement:u,ObjectElement:l,LinkElement:p,RefElement:f,refract:y,ArraySlice:h,ObjectSlice:m,KeyValuePair:d}},5202:(e,t,n)=>{const r=n(6420);e.exports=class extends r{constructor(e,t,n){super(e||[],t,n),this.element="link"}get relation(){return this.attributes.get("relation")}set relation(e){this.attributes.set("relation",e)}get href(){return this.attributes.get("href")}set href(e){this.attributes.set("href",e)}}},2320:(e,t,n)=>{const r=n(6420);e.exports=class extends r{constructor(e,t,n){super(e||[],t,n),this.element="ref",this.path||(this.path="element")}get path(){return this.attributes.get("path")}set path(e){this.attributes.set("path",e)}}},7952:(e,t,n)=>{const r=n(5140),s=n(3756);t.lS=r,t.KeyValuePair=n(3026),t.O4=s.ArraySlice,t.rm=s.ObjectSlice,t.W_=s.Element,t.RP=s.StringElement,t.VL=s.NumberElement,t.hh=s.BooleanElement,t.zr=s.NullElement,t.ON=s.ArrayElement,t.Sb=s.ObjectElement,t.c6=s.MemberElement,t.tK=s.RefElement,t.EA=s.LinkElement,t.Qc=s.refract,n(2947),n(8910)},1641:(e,t,n)=>{const r=n(1570),s=n(6420),i=n(1178);class o extends s{constructor(e,t,n){super(e||[],t,n),this.element="array"}primitive(){return"array"}get(e){return this.content[e]}getValue(e){const t=this.get(e);if(t)return t.toValue()}getIndex(e){return this.content[e]}set(e,t){return this.content[e]=this.refract(t),this}remove(e){const t=this.content.splice(e,1);return t.length?t[0]:null}map(e,t){return this.content.map(e,t)}flatMap(e,t){return this.map(e,t).reduce(((e,t)=>e.concat(t)),[])}compactMap(e,t){const n=[];return this.forEach((r=>{const s=e.bind(t)(r);s&&n.push(s)})),n}filter(e,t){return new i(this.content.filter(e,t))}reject(e,t){return this.filter(r(e),t)}reduce(e,t){let n,r;void 0!==t?(n=0,r=this.refract(t)):(n=1,r="object"===this.primitive()?this.first.value:this.first);for(let t=n;t<this.length;t+=1){const n=this.content[t];r="object"===this.primitive()?this.refract(e(r,n.value,n.key,n,this)):this.refract(e(r,n,t,this))}return r}forEach(e,t){this.content.forEach(((n,r)=>{e.bind(t)(n,this.refract(r))}))}shift(){return this.content.shift()}unshift(e){this.content.unshift(this.refract(e))}push(e){return this.content.push(this.refract(e)),this}add(e){this.push(e)}findElements(e,t){const n=t||{},r=!!n.recursive,s=void 0===n.results?[]:n.results;return this.forEach(((t,n,i)=>{r&&void 0!==t.findElements&&t.findElements(e,{results:s,recursive:r}),e(t,n,i)&&s.push(t)})),s}find(e){return new i(this.findElements(e,{recursive:!0}))}findByElement(e){return this.find((t=>t.element===e))}findByClass(e){return this.find((t=>t.classes.includes(e)))}getById(e){return this.find((t=>t.id.toValue()===e)).first}includes(e){return this.content.some((t=>t.equals(e)))}contains(e){return this.includes(e)}empty(){return new this.constructor([])}"fantasy-land/empty"(){return this.empty()}concat(e){return new this.constructor(this.content.concat(e.content))}"fantasy-land/concat"(e){return this.concat(e)}"fantasy-land/map"(e){return new this.constructor(this.map(e))}"fantasy-land/chain"(e){return this.map((t=>e(t)),this).reduce(((e,t)=>e.concat(t)),this.empty())}"fantasy-land/filter"(e){return new this.constructor(this.content.filter(e))}"fantasy-land/reduce"(e,t){return this.content.reduce(e,t)}get length(){return this.content.length}get isEmpty(){return 0===this.content.length}get first(){return this.getIndex(0)}get second(){return this.getIndex(1)}get last(){return this.getIndex(this.length-1)}}o.empty=function(){return new this},o["fantasy-land/empty"]=o.empty,"undefined"!=typeof Symbol&&(o.prototype[Symbol.iterator]=function(){return this.content[Symbol.iterator]()}),e.exports=o},3312:(e,t,n)=>{const r=n(6420);e.exports=class extends r{constructor(e,t,n){super(e,t,n),this.element="boolean"}primitive(){return"boolean"}}},6420:(e,t,n)=>{const r=n(8149),s=n(3026),i=n(1178);class o{constructor(e,t,n){t&&(this.meta=t),n&&(this.attributes=n),this.content=e}freeze(){Object.isFrozen(this)||(this._meta&&(this.meta.parent=this,this.meta.freeze()),this._attributes&&(this.attributes.parent=this,this.attributes.freeze()),this.children.forEach((e=>{e.parent=this,e.freeze()}),this),this.content&&Array.isArray(this.content)&&Object.freeze(this.content),Object.freeze(this))}primitive(){}clone(){const e=new this.constructor;return e.element=this.element,this.meta.length&&(e._meta=this.meta.clone()),this.attributes.length&&(e._attributes=this.attributes.clone()),this.content?this.content.clone?e.content=this.content.clone():Array.isArray(this.content)?e.content=this.content.map((e=>e.clone())):e.content=this.content:e.content=this.content,e}toValue(){return this.content instanceof o?this.content.toValue():this.content instanceof s?{key:this.content.key.toValue(),value:this.content.value?this.content.value.toValue():void 0}:this.content&&this.content.map?this.content.map((e=>e.toValue()),this):this.content}toRef(e){if(""===this.id.toValue())throw Error("Cannot create reference to an element that does not contain an ID");const t=new this.RefElement(this.id.toValue());return e&&(t.path=e),t}findRecursive(...e){if(arguments.length>1&&!this.isFrozen)throw new Error("Cannot find recursive with multiple element names without first freezing the element. Call `element.freeze()`");const t=e.pop();let n=new i;const r=(e,t)=>(e.push(t),e),o=(e,n)=>{n.element===t&&e.push(n);const i=n.findRecursive(t);return i&&i.reduce(r,e),n.content instanceof s&&(n.content.key&&o(e,n.content.key),n.content.value&&o(e,n.content.value)),e};return this.content&&(this.content.element&&o(n,this.content),Array.isArray(this.content)&&this.content.reduce(o,n)),e.isEmpty||(n=n.filter((t=>{let n=t.parents.map((e=>e.element));for(const t in e){const r=e[t],s=n.indexOf(r);if(-1===s)return!1;n=n.splice(0,s)}return!0}))),n}set(e){return this.content=e,this}equals(e){return r(this.toValue(),e)}getMetaProperty(e,t){if(!this.meta.hasKey(e)){if(this.isFrozen){const e=this.refract(t);return e.freeze(),e}this.meta.set(e,t)}return this.meta.get(e)}setMetaProperty(e,t){this.meta.set(e,t)}get element(){return this._storedElement||"element"}set element(e){this._storedElement=e}get content(){return this._content}set content(e){if(e instanceof o)this._content=e;else if(e instanceof i)this.content=e.elements;else if("string"==typeof e||"number"==typeof e||"boolean"==typeof e||"null"===e||null==e)this._content=e;else if(e instanceof s)this._content=e;else if(Array.isArray(e))this._content=e.map(this.refract);else{if("object"!=typeof e)throw new Error("Cannot set content to given value");this._content=Object.keys(e).map((t=>new this.MemberElement(t,e[t])))}}get meta(){if(!this._meta){if(this.isFrozen){const e=new this.ObjectElement;return e.freeze(),e}this._meta=new this.ObjectElement}return this._meta}set meta(e){e instanceof this.ObjectElement?this._meta=e:this.meta.set(e||{})}get attributes(){if(!this._attributes){if(this.isFrozen){const e=new this.ObjectElement;return e.freeze(),e}this._attributes=new this.ObjectElement}return this._attributes}set attributes(e){e instanceof this.ObjectElement?this._attributes=e:this.attributes.set(e||{})}get id(){return this.getMetaProperty("id","")}set id(e){this.setMetaProperty("id",e)}get classes(){return this.getMetaProperty("classes",[])}set classes(e){this.setMetaProperty("classes",e)}get title(){return this.getMetaProperty("title","")}set title(e){this.setMetaProperty("title",e)}get description(){return this.getMetaProperty("description","")}set description(e){this.setMetaProperty("description",e)}get links(){return this.getMetaProperty("links",[])}set links(e){this.setMetaProperty("links",e)}get isFrozen(){return Object.isFrozen(this)}get parents(){let{parent:e}=this;const t=new i;for(;e;)t.push(e),e=e.parent;return t}get children(){if(Array.isArray(this.content))return new i(this.content);if(this.content instanceof s){const e=new i([this.content.key]);return this.content.value&&e.push(this.content.value),e}return this.content instanceof o?new i([this.content]):new i}get recursiveChildren(){const e=new i;return this.children.forEach((t=>{e.push(t),t.recursiveChildren.forEach((t=>{e.push(t)}))})),e}}e.exports=o},8858:(e,t,n)=>{const r=n(3026),s=n(6420);e.exports=class extends s{constructor(e,t,n,s){super(new r,n,s),this.element="member",this.key=e,this.value=t}get key(){return this.content.key}set key(e){this.content.key=this.refract(e)}get value(){return this.content.value}set value(e){this.content.value=this.refract(e)}}},4152:(e,t,n)=>{const r=n(6420);e.exports=class extends r{constructor(e,t,n){super(e||null,t,n),this.element="null"}primitive(){return"null"}set(){return new Error("Cannot set the value of null")}}},3710:(e,t,n)=>{const r=n(6420);e.exports=class extends r{constructor(e,t,n){super(e,t,n),this.element="number"}primitive(){return"number"}}},3860:(e,t,n)=>{const r=n(1570),s=n(9259),i=n(1641),o=n(8858),c=n(3853);e.exports=class extends i{constructor(e,t,n){super(e||[],t,n),this.element="object"}primitive(){return"object"}toValue(){return this.content.reduce(((e,t)=>(e[t.key.toValue()]=t.value?t.value.toValue():void 0,e)),{})}get(e){const t=this.getMember(e);if(t)return t.value}getMember(e){if(void 0!==e)return this.content.find((t=>t.key.toValue()===e))}remove(e){let t=null;return this.content=this.content.filter((n=>n.key.toValue()!==e||(t=n,!1))),t}getKey(e){const t=this.getMember(e);if(t)return t.key}set(e,t){if(s(e))return Object.keys(e).forEach((t=>{this.set(t,e[t])})),this;const n=e,r=this.getMember(n);return r?r.value=t:this.content.push(new o(n,t)),this}keys(){return this.content.map((e=>e.key.toValue()))}values(){return this.content.map((e=>e.value.toValue()))}hasKey(e){return this.content.some((t=>t.key.equals(e)))}items(){return this.content.map((e=>[e.key.toValue(),e.value.toValue()]))}map(e,t){return this.content.map((n=>e.bind(t)(n.value,n.key,n)))}compactMap(e,t){const n=[];return this.forEach(((r,s,i)=>{const o=e.bind(t)(r,s,i);o&&n.push(o)})),n}filter(e,t){return new c(this.content).filter(e,t)}reject(e,t){return this.filter(r(e),t)}forEach(e,t){return this.content.forEach((n=>e.bind(t)(n.value,n.key,n)))}}},9542:(e,t,n)=>{const r=n(6420);e.exports=class extends r{constructor(e,t,n){super(e,t,n),this.element="string"}primitive(){return"string"}get length(){return this.content.length}}},8910:(e,t,n)=>{const r=n(2947);e.exports=class extends r{serialise(e){if(!(e instanceof this.namespace.elements.Element))throw new TypeError(`Given element \`${e}\` is not an Element instance`);let t;e._attributes&&e.attributes.get("variable")&&(t=e.attributes.get("variable"));const n={element:e.element};e._meta&&e._meta.length>0&&(n.meta=this.serialiseObject(e.meta));const r="enum"===e.element||-1!==e.attributes.keys().indexOf("enumerations");if(r){const t=this.enumSerialiseAttributes(e);t&&(n.attributes=t)}else if(e._attributes&&e._attributes.length>0){let{attributes:r}=e;r.get("metadata")&&(r=r.clone(),r.set("meta",r.get("metadata")),r.remove("metadata")),"member"===e.element&&t&&(r=r.clone(),r.remove("variable")),r.length>0&&(n.attributes=this.serialiseObject(r))}if(r)n.content=this.enumSerialiseContent(e,n);else if(this[`${e.element}SerialiseContent`])n.content=this[`${e.element}SerialiseContent`](e,n);else if(void 0!==e.content){let r;t&&e.content.key?(r=e.content.clone(),r.key.attributes.set("variable",t),r=this.serialiseContent(r)):r=this.serialiseContent(e.content),this.shouldSerialiseContent(e,r)&&(n.content=r)}else this.shouldSerialiseContent(e,e.content)&&e instanceof this.namespace.elements.Array&&(n.content=[]);return n}shouldSerialiseContent(e,t){return"parseResult"===e.element||"httpRequest"===e.element||"httpResponse"===e.element||"category"===e.element||"link"===e.element||void 0!==t&&(!Array.isArray(t)||0!==t.length)}refSerialiseContent(e,t){return delete t.attributes,{href:e.toValue(),path:e.path.toValue()}}sourceMapSerialiseContent(e){return e.toValue()}dataStructureSerialiseContent(e){return[this.serialiseContent(e.content)]}enumSerialiseAttributes(e){const t=e.attributes.clone(),n=t.remove("enumerations")||new this.namespace.elements.Array([]),r=t.get("default");let s=t.get("samples")||new this.namespace.elements.Array([]);if(r&&r.content&&(r.content.attributes&&r.content.attributes.remove("typeAttributes"),t.set("default",new this.namespace.elements.Array([r.content]))),s.forEach((e=>{e.content&&e.content.element&&e.content.attributes.remove("typeAttributes")})),e.content&&0!==n.length&&s.unshift(e.content),s=s.map((e=>e instanceof this.namespace.elements.Array?[e]:new this.namespace.elements.Array([e.content]))),s.length&&t.set("samples",s),t.length>0)return this.serialiseObject(t)}enumSerialiseContent(e){if(e._attributes){const t=e.attributes.get("enumerations");if(t&&t.length>0)return t.content.map((e=>{const t=e.clone();return t.attributes.remove("typeAttributes"),this.serialise(t)}))}if(e.content){const t=e.content.clone();return t.attributes.remove("typeAttributes"),[this.serialise(t)]}return[]}deserialise(e){if("string"==typeof e)return new this.namespace.elements.String(e);if("number"==typeof e)return new this.namespace.elements.Number(e);if("boolean"==typeof e)return new this.namespace.elements.Boolean(e);if(null===e)return new this.namespace.elements.Null;if(Array.isArray(e))return new this.namespace.elements.Array(e.map(this.deserialise,this));const t=this.namespace.getElementClass(e.element),n=new t;n.element!==e.element&&(n.element=e.element),e.meta&&this.deserialiseObject(e.meta,n.meta),e.attributes&&this.deserialiseObject(e.attributes,n.attributes);const r=this.deserialiseContent(e.content);if(void 0===r&&null!==n.content||(n.content=r),"enum"===n.element){n.content&&n.attributes.set("enumerations",n.content);let e=n.attributes.get("samples");if(n.attributes.remove("samples"),e){const r=e;e=new this.namespace.elements.Array,r.forEach((r=>{r.forEach((r=>{const s=new t(r);s.element=n.element,e.push(s)}))}));const s=e.shift();n.content=s?s.content:void 0,n.attributes.set("samples",e)}else n.content=void 0;let r=n.attributes.get("default");if(r&&r.length>0){r=r.get(0);const e=new t(r);e.element=n.element,n.attributes.set("default",e)}}else if("dataStructure"===n.element&&Array.isArray(n.content))[n.content]=n.content;else if("category"===n.element){const e=n.attributes.get("meta");e&&(n.attributes.set("metadata",e),n.attributes.remove("meta"))}else"member"===n.element&&n.key&&n.key._attributes&&n.key._attributes.getValue("variable")&&(n.attributes.set("variable",n.key.attributes.get("variable")),n.key.attributes.remove("variable"));return n}serialiseContent(e){if(e instanceof this.namespace.elements.Element)return this.serialise(e);if(e instanceof this.namespace.KeyValuePair){const t={key:this.serialise(e.key)};return e.value&&(t.value=this.serialise(e.value)),t}return e&&e.map?e.map(this.serialise,this):e}deserialiseContent(e){if(e){if(e.element)return this.deserialise(e);if(e.key){const t=new this.namespace.KeyValuePair(this.deserialise(e.key));return e.value&&(t.value=this.deserialise(e.value)),t}if(e.map)return e.map(this.deserialise,this)}return e}shouldRefract(e){return!!(e._attributes&&e.attributes.keys().length||e._meta&&e.meta.keys().length)||"enum"!==e.element&&(e.element!==e.primitive()||"member"===e.element)}convertKeyToRefract(e,t){return this.shouldRefract(t)?this.serialise(t):"enum"===t.element?this.serialiseEnum(t):"array"===t.element?t.map((t=>this.shouldRefract(t)||"default"===e?this.serialise(t):"array"===t.element||"object"===t.element||"enum"===t.element?t.children.map((e=>this.serialise(e))):t.toValue())):"object"===t.element?(t.content||[]).map(this.serialise,this):t.toValue()}serialiseEnum(e){return e.children.map((e=>this.serialise(e)))}serialiseObject(e){const t={};return e.forEach(((e,n)=>{if(e){const r=n.toValue();t[r]=this.convertKeyToRefract(r,e)}})),t}deserialiseObject(e,t){Object.keys(e).forEach((n=>{t.set(n,this.deserialise(e[n]))}))}}},2947:e=>{e.exports=class{constructor(e){this.namespace=e||new this.Namespace}serialise(e){if(!(e instanceof this.namespace.elements.Element))throw new TypeError(`Given element \`${e}\` is not an Element instance`);const t={element:e.element};e._meta&&e._meta.length>0&&(t.meta=this.serialiseObject(e.meta)),e._attributes&&e._attributes.length>0&&(t.attributes=this.serialiseObject(e.attributes));const n=this.serialiseContent(e.content);return void 0!==n&&(t.content=n),t}deserialise(e){if(!e.element)throw new Error("Given value is not an object containing an element name");const t=new(this.namespace.getElementClass(e.element));t.element!==e.element&&(t.element=e.element),e.meta&&this.deserialiseObject(e.meta,t.meta),e.attributes&&this.deserialiseObject(e.attributes,t.attributes);const n=this.deserialiseContent(e.content);return void 0===n&&null!==t.content||(t.content=n),t}serialiseContent(e){if(e instanceof this.namespace.elements.Element)return this.serialise(e);if(e instanceof this.namespace.KeyValuePair){const t={key:this.serialise(e.key)};return e.value&&(t.value=this.serialise(e.value)),t}if(e&&e.map){if(0===e.length)return;return e.map(this.serialise,this)}return e}deserialiseContent(e){if(e){if(e.element)return this.deserialise(e);if(e.key){const t=new this.namespace.KeyValuePair(this.deserialise(e.key));return e.value&&(t.value=this.deserialise(e.value)),t}if(e.map)return e.map(this.deserialise,this)}return e}serialiseObject(e){const t={};if(e.forEach(((e,n)=>{e&&(t[n.toValue()]=this.serialise(e))})),0!==Object.keys(t).length)return t}deserialiseObject(e,t){Object.keys(e).forEach((n=>{t.set(n,this.deserialise(e[n]))}))}}},6591:e=>{!function(){"use strict";var t,n,r,s,i,o="properties",c="deepProperties",a="propertyDescriptors",u="staticProperties",l="staticDeepProperties",p="staticPropertyDescriptors",f="configuration",h="deepConfiguration",m="deepProps",d="deepStatics",y="deepConf",v="initializers",b="methods",g="composers",O="compose";function j(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e):[])}function S(e,t){return Array.prototype.slice.call(arguments,2).reduce(e,t)}var E=S.bind(0,(function(e,t){if(t)for(var n=j(t),r=0;r<n.length;r+=1)Object.defineProperty(e,n[r],Object.getOwnPropertyDescriptor(t,n[r]));return e}));function x(e){return"function"==typeof e}function w(e){return e&&"object"==typeof e||x(e)}function A(e){return e&&"object"==typeof e&&e.__proto__==Object.prototype}var k=S.bind(0,(function e(n,r){if(r===t)return n;if(Array.isArray(r))return(Array.isArray(n)?n:[]).concat(r);if(!A(r))return r;for(var s,i,o=j(r),c=0;c<o.length;)s=o[c++],(i=Object.getOwnPropertyDescriptor(r,s)).hasOwnProperty("value")?i.value!==t&&(n[s]=e(A(n[s])||Array.isArray(r[s])?n[s]:{},r[s])):Object.defineProperty(n,s,i);return n}));function P(){return(n=Array.prototype.concat.apply([],arguments).filter((function(e,t,n){return x(e)&&n.indexOf(e)===t}))).length?n:t}function _(e,t){function r(n,r){w(t[n])&&(w(e[n])||(e[n]={}),(r||E)(e[n],t[n]))}function s(r){(n=P(e[r],t[r]))&&(e[r]=n)}return t&&w(t=t[O]||t)&&(r(b),r(o),r(c,k),r(a),r(u),r(l,k),r(p),r(f),r(h,k),s(v),s(g)),e}function N(){return function(e){return n=function e(n){var r,s,i=e[O]||{},u={__proto__:i[b]},l=i[v],p=Array.prototype.slice.apply(arguments),f=i[c];if(f&&k(u,f),(f=i[o])&&E(u,f),(f=i[a])&&Object.defineProperties(u,f),!l||!l.length)return u;for(n===t&&(n={}),i=0;i<l.length;)x(r=l[i++])&&(u=(s=r.call(u,n,{instance:u,stamp:e,args:p}))===t?u:s);return u},(r=e[l])&&k(n,r),(r=e[u])&&E(n,r),(r=e[p])&&Object.defineProperties(n,r),r=x(n[O])?n[O]:N,E(n[O]=function(){return r.apply(this,arguments)},e),n}(Array.prototype.concat.apply([this],arguments).reduce(_,{}))}function T(e){return x(e)&&x(e[O])}var M={};function R(e,i){return function(){return(s={})[e]=i.apply(t,Array.prototype.concat.apply([{}],arguments)),((n=this)&&n[O]||r).call(n,s)}}M[b]=R(b,E),M[o]=M.props=R(o,E),M[v]=M.init=R(v,P),M[g]=R(g,P),M[c]=M[m]=R(c,k),M[u]=M.statics=R(u,E),M[l]=M[d]=R(l,k),M[f]=M.conf=R(f,E),M[h]=M[y]=R(h,k),M[a]=R(a,E),M[p]=R(p,E),r=M[O]=E((function(){for(var e,j,S=0,x=[],A=arguments,_=this;S<A.length;)w(e=A[S++])&&x.push(T(e)?e:((s={})[b]=(j=e)[b]||t,r=j.props,s[o]=w((n=j[o])||r)?E({},r,n):t,s[v]=P(j.init,j[v]),s[g]=P(j[g]),r=j[m],s[c]=w((n=j[c])||r)?k({},r,n):t,s[a]=j[a],r=j.statics,s[u]=w((n=j[u])||r)?E({},r,n):t,r=j[d],s[l]=w((n=j[l])||r)?k({},r,n):t,n=j[p],s[p]=w((r=j.name&&{name:{value:j.name}})||n)?E({},n,r):t,r=j.conf,s[f]=w((n=j[f])||r)?E({},r,n):t,r=j[y],s[h]=w((n=j[h])||r)?k({},r,n):t,s));if(e=N.apply(_||i,x),_&&x.unshift(_),Array.isArray(A=e[O][g]))for(S=0;S<A.length;)e=T(_=A[S++]({stamp:e,composables:x}))?_:e;return e}),M),M.create=function(){return this.apply(t,arguments)},(s={})[u]=M,i=N(s),r[O]=r.bind(),r.version="4.3.2","object"!=typeof t?e.exports=r:self.stampit=r}()},1427:(e,t,n)=>{e.exports=n(6762)}},t={};function n(r){var s=t[r];if(void 0!==s)return s.exports;var i=t[r]={id:r,loaded:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.loaded=!0,i.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.nmd=e=>(e.paths=[],e.children||(e.children=[]),e);var r={};return(()=>{"use strict";n.r(r),n.d(r,{AlternatingVisitor:()=>gs,FallbackVisitor:()=>er,FixedFieldsVisitor:()=>mr,JSONReferenceElement:()=>Rn,JSONSchemaDraft7MediaTypes:()=>Te,JSONSchemaElement:()=>ii,LinkDescriptionElement:()=>oi,MapVisitor:()=>$r,ParentSchemaAwareVisitor:()=>Ar,PatternedFieldsVisitor:()=>Ir,SpecificationVisitor:()=>hr,createRefractor:()=>Mi,default:()=>ci,getNodeType:()=>ai,isArrayElement:()=>ue,isBooleanElement:()=>ce,isElement:()=>re,isJSONReferenceElement:()=>ks,isJSONReferenceLikeElement:()=>kr,isJSONSchemaElement:()=>Pi,isLinkDescriptionElement:()=>_i,isLinkElement:()=>pe,isMemberElement:()=>le,isNullElement:()=>oe,isNumberElement:()=>ie,isObjectElement:()=>ae,isRefElement:()=>fe,isStringElement:()=>se,keyMap:()=>ui,mediaTypes:()=>Me,refract:()=>Ri,refractorPluginReplaceEmptyElement:()=>hi,specificationObj:()=>ki});var e={};n.r(e),n.d(e,{hasElementSourceMap:()=>be,includesClasses:()=>Oe,includesSymbols:()=>ge,isAnnotationElement:()=>he,isArrayElement:()=>ue,isBooleanElement:()=>ce,isCommentElement:()=>me,isElement:()=>re,isLinkElement:()=>pe,isMemberElement:()=>le,isNullElement:()=>oe,isNumberElement:()=>ie,isObjectElement:()=>ae,isParseResultElement:()=>de,isPrimitiveElement:()=>ve,isRefElement:()=>fe,isSourceMapElement:()=>ye,isStringElement:()=>se});var t={};n.r(t),n.d(t,{isJSONReferenceElement:()=>ks,isJSONSchemaElement:()=>As,isLinkDescriptionElement:()=>_s,isMediaElement:()=>Ps});var s={};n.r(s),n.d(s,{isJSONReferenceElement:()=>ks,isJSONSchemaElement:()=>Zs,isLinkDescriptionElement:()=>ei,isMediaElement:()=>Ps});var i={};n.r(i),n.d(i,{isJSONReferenceElement:()=>ks,isJSONSchemaElement:()=>Pi,isLinkDescriptionElement:()=>_i});var o=n(7952);function c(e){return null!=e&&"object"==typeof e&&!0===e["@@functional/placeholder"]}function a(e){return function t(n){return 0===arguments.length||c(n)?t:e.apply(this,arguments)}}function u(e){return function t(n,r){switch(arguments.length){case 0:return t;case 1:return c(n)?t:a((function(t){return e(n,t)}));default:return c(n)&&c(r)?t:c(n)?a((function(t){return e(t,r)})):c(r)?a((function(t){return e(n,t)})):e(n,r)}}}const l=Array.isArray||function(e){return null!=e&&e.length>=0&&"[object Array]"===Object.prototype.toString.call(e)};function p(e,t,n){return function(){if(0===arguments.length)return n();var r=arguments[arguments.length-1];if(!l(r)){for(var s=0;s<e.length;){if("function"==typeof r[e[s]])return r[e[s]].apply(r,Array.prototype.slice.call(arguments,0,-1));s+=1}if(function(e){return null!=e&&"function"==typeof e["@@transducer/step"]}(r))return t.apply(null,Array.prototype.slice.call(arguments,0,-1))(r)}return n.apply(this,arguments)}}function f(e){return e&&e["@@transducer/reduced"]?e:{"@@transducer/value":e,"@@transducer/reduced":!0}}const h=function(){return this.xf["@@transducer/init"]()},m=function(e){return this.xf["@@transducer/result"](e)};var d=function(){function e(e,t){this.xf=t,this.f=e,this.all=!0}return e.prototype["@@transducer/init"]=h,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=f(this.xf["@@transducer/step"](e,!1))),e},e}();function y(e){return function(t){return new d(e,t)}}const v=u(p(["all"],y,(function(e,t){for(var n=0;n<t.length;){if(!e(t[n]))return!1;n+=1}return!0})));function b(e,t){switch(e){case 0:return function(){return t.apply(this,arguments)};case 1:return function(e){return t.apply(this,arguments)};case 2:return function(e,n){return t.apply(this,arguments)};case 3:return function(e,n,r){return t.apply(this,arguments)};case 4:return function(e,n,r,s){return t.apply(this,arguments)};case 5:return function(e,n,r,s,i){return t.apply(this,arguments)};case 6:return function(e,n,r,s,i,o){return t.apply(this,arguments)};case 7:return function(e,n,r,s,i,o,c){return t.apply(this,arguments)};case 8:return function(e,n,r,s,i,o,c,a){return t.apply(this,arguments)};case 9:return function(e,n,r,s,i,o,c,a,u){return t.apply(this,arguments)};case 10:return function(e,n,r,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 g(e,t,n){return function(){for(var r=[],s=0,i=e,o=0,a=!1;o<t.length||s<arguments.length;){var u;o<t.length&&(!c(t[o])||s>=arguments.length)?u=t[o]:(u=arguments[s],s+=1),r[o]=u,c(u)?a=!0:i-=1,o+=1}return!a&&i<=0?n.apply(this,r):b(Math.max(0,i),g(e,r,n))}}const O=u((function(e,t){return 1===e?a(t):b(e,g(e,[],t))}));const j=a((function(e){return O(e.length,(function(t,n){var r=Array.prototype.slice.call(arguments,0);return r[0]=n,r[1]=t,e.apply(this,r)}))}));function S(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}function E(e,t,n){for(var r=0,s=n.length;r<s;){if(e(t,n[r]))return!0;r+=1}return!1}function x(e,t){return Object.prototype.hasOwnProperty.call(t,e)}const w="function"==typeof Object.is?Object.is:function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t};var A=Object.prototype.toString;const k=function(){return"[object Arguments]"===A.call(arguments)?function(e){return"[object Arguments]"===A.call(e)}:function(e){return x("callee",e)}}();var P=!{toString:null}.propertyIsEnumerable("toString"),_=["constructor","valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],N=function(){return arguments.propertyIsEnumerable("length")}(),T=function(e,t){for(var n=0;n<e.length;){if(e[n]===t)return!0;n+=1}return!1},M="function"!=typeof Object.keys||N?a((function(e){if(Object(e)!==e)return[];var t,n,r=[],s=N&&k(e);for(t in e)!x(t,e)||s&&"length"===t||(r[r.length]=t);if(P)for(n=_.length-1;n>=0;)x(t=_[n],e)&&!T(r,t)&&(r[r.length]=t),n-=1;return r})):a((function(e){return Object(e)!==e?[]:Object.keys(e)}));const R=M;const F=a((function(e){return null===e?"Null":void 0===e?"Undefined":Object.prototype.toString.call(e).slice(8,-1)}));function D(e,t,n,r){var s=S(e);function i(e,t){return L(e,t,n.slice(),r.slice())}return!E((function(e,t){return!E(i,t,e)}),S(t),s)}function L(e,t,n,r){if(w(e,t))return!0;var s,i,o=F(e);if(o!==F(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||!w(e.valueOf(),t.valueOf()))return!1;break;case"Date":if(!w(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=n.length-1;c>=0;){if(n[c]===e)return r[c]===t;c-=1}switch(o){case"Map":return e.size===t.size&&D(e.entries(),t.entries(),n.concat([e]),r.concat([t]));case"Set":return e.size===t.size&&D(e.values(),t.values(),n.concat([e]),r.concat([t]));case"Arguments":case"Array":case"Object":case"Boolean":case"Number":case"String":case"Date":case"Error":case"RegExp":case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"ArrayBuffer":break;default:return!1}var a=R(e);if(a.length!==R(t).length)return!1;var u=n.concat([e]),l=r.concat([t]);for(c=a.length-1;c>=0;){var p=a[c];if(!x(p,t)||!L(t[p],e[p],u,l))return!1;c-=1}return!0}const J=u((function(e,t){return L(e,t,[],[])}));function V(e,t){return function(e,t,n){var r,s;if("function"==typeof e.indexOf)switch(typeof t){case"number":if(0===t){for(r=1/t;n<e.length;){if(0===(s=e[n])&&1/s===r)return n;n+=1}return-1}if(t!=t){for(;n<e.length;){if("number"==typeof(s=e[n])&&s!=s)return n;n+=1}return-1}return e.indexOf(t,n);case"string":case"boolean":case"function":case"undefined":return e.indexOf(t,n);case"object":if(null===t)return e.indexOf(t,n)}for(;n<e.length;){if(J(e[n],t))return n;n+=1}return-1}(t,e,0)>=0}const C=j(u(V));class I extends o.RP{constructor(e,t,n){super(e,t,n),this.element="annotation"}get code(){return this.attributes.get("code")}set code(e){this.attributes.set("code",e)}}const $=I;class B extends o.RP{constructor(e,t,n){super(e,t,n),this.element="comment"}}const q=B;const z=a((function(e){return function(){return e}}));const U=z(void 0);const G=J(U());class K extends o.ON{constructor(e,t,n){super(e,t,n),this.element="parseResult"}get api(){return this.children.filter((e=>e.classes.contains("api"))).first}get results(){return this.children.filter((e=>e.classes.contains("result")))}get result(){return this.results.first}get annotations(){return this.children.filter((e=>"annotation"===e.element))}get warnings(){return this.children.filter((e=>"annotation"===e.element&&e.classes.contains("warning")))}get errors(){return this.children.filter((e=>"annotation"===e.element&&e.classes.contains("error")))}get isEmpty(){return this.children.reject((e=>"annotation"===e.element)).isEmpty}replaceResult(e){const{result:t}=this;if(G(t))return!1;const n=this.content.findIndex((e=>e===t));return-1!==n&&(this.content[n]=e,!0)}}const H=K;class W extends o.ON{constructor(e,t,n){super(e,t,n),this.element="sourceMap"}get positionStart(){return this.children.filter((e=>e.classes.contains("position"))).get(0)}get positionEnd(){return this.children.filter((e=>e.classes.contains("position"))).get(1)}set position(e){if(null===e)return;const t=new o.ON([e.start.row,e.start.column,e.start.char]),n=new o.ON([e.end.row,e.end.column,e.end.char]);t.classes.push("position"),n.classes.push("position"),this.push(t).push(n)}}const Q=W,Y=(e,t)=>"object"==typeof t&&null!==t&&e in t&&"function"==typeof t[e],X=e=>"object"==typeof e&&null!=e&&"_storedElement"in e&&"string"==typeof e._storedElement&&"_content"in e,Z=(e,t)=>"object"==typeof t&&null!==t&&"primitive"in t&&("function"==typeof t.primitive&&t.primitive()===e),ee=(e,t)=>"object"==typeof t&&null!==t&&"classes"in t&&(Array.isArray(t.classes)||t.classes instanceof o.ON)&&t.classes.includes(e),te=(e,t)=>"object"==typeof t&&null!==t&&"element"in t&&t.element===e,ne=e=>e({hasMethod:Y,hasBasicElementProps:X,primitiveEq:Z,isElementType:te,hasClass:ee}),re=ne((({hasBasicElementProps:e,primitiveEq:t})=>n=>n instanceof o.W_||e(n)&&t(void 0,n))),se=ne((({hasBasicElementProps:e,primitiveEq:t})=>n=>n instanceof o.RP||e(n)&&t("string",n))),ie=ne((({hasBasicElementProps:e,primitiveEq:t})=>n=>n instanceof o.VL||e(n)&&t("number",n))),oe=ne((({hasBasicElementProps:e,primitiveEq:t})=>n=>n instanceof o.zr||e(n)&&t("null",n))),ce=ne((({hasBasicElementProps:e,primitiveEq:t})=>n=>n instanceof o.hh||e(n)&&t("boolean",n))),ae=ne((({hasBasicElementProps:e,primitiveEq:t,hasMethod:n})=>r=>r instanceof o.Sb||e(r)&&t("object",r)&&n("keys",r)&&n("values",r)&&n("items",r))),ue=ne((({hasBasicElementProps:e,primitiveEq:t,hasMethod:n})=>r=>r instanceof o.ON&&!(r instanceof o.Sb)||e(r)&&t("array",r)&&n("push",r)&&n("unshift",r)&&n("map",r)&&n("reduce",r))),le=ne((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof o.c6||e(r)&&t("member",r)&&n(void 0,r))),pe=ne((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof o.EA||e(r)&&t("link",r)&&n(void 0,r))),fe=ne((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof o.tK||e(r)&&t("ref",r)&&n(void 0,r))),he=ne((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof $||e(r)&&t("annotation",r)&&n("array",r))),me=ne((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof q||e(r)&&t("comment",r)&&n("string",r))),de=ne((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof H||e(r)&&t("parseResult",r)&&n("array",r))),ye=ne((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof Q||e(r)&&t("sourceMap",r)&&n("array",r))),ve=e=>te("object",e)||te("array",e)||te("boolean",e)||te("number",e)||te("string",e)||te("null",e)||te("member",e),be=e=>ye(e.meta.get("sourceMap")),ge=(e,t)=>{if(0===e.length)return!0;const n=t.attributes.get("symbols");return!!ue(n)&&v(C(n.toValue()),e)},Oe=(e,t)=>0===e.length||v(C(t.classes.toValue()),e);function je(e){return"[object String]"===Object.prototype.toString.call(e)}const Se=u((function(e,t){var n=e<0?t.length+e:e;return je(t)?t.charAt(n):t[n]}));const Ee=Se(-1);var xe=n(1427);const we=class extends xe{constructor(e,t,n){if(super(e,t,n),this.name=this.constructor.name,"string"==typeof t&&(this.message=t),"function"==typeof Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error(t).stack,null!=n&&"object"==typeof n&&Object.hasOwn(n,"cause")&&!("cause"in this)){const{cause:e}=n;this.cause=e,e instanceof Error&&"stack"in e&&(this.stack=`${this.stack}\nCAUSE: ${e.stack}`)}}};class Ae extends Error{static[Symbol.hasInstance](e){return super[Symbol.hasInstance](e)||Function.prototype[Symbol.hasInstance].call(we,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 ke=Ae;const Pe=class extends ke{};const _e=class extends Pe{};const Ne=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 Te extends Ne{filterByFormat(e="generic"){const t="generic"===e?"schema;version":e;return this.filter((e=>e.includes(t)))}findBy(e="draft-07",t="generic"){const n="generic"===t?`schema;version=${e}`:`schema+${t};version=${e}`;return this.find((e=>e.includes(n)))||this.unknownMediaType}latest(e="generic"){return Ee(this.filterByFormat(e))}}const Me=new Te("application/schema;version=draft-07","application/schema+json;version=draft-07","application/schema+yaml;version=draft-07");function Re(e){return function t(n,r,s){switch(arguments.length){case 0:return t;case 1:return c(n)?t:u((function(t,r){return e(n,t,r)}));case 2:return c(n)&&c(r)?t:c(n)?u((function(t,n){return e(t,r,n)})):c(r)?u((function(t,r){return e(n,t,r)})):a((function(t){return e(n,r,t)}));default:return c(n)&&c(r)&&c(s)?t:c(n)&&c(r)?u((function(t,n){return e(t,n,s)})):c(n)&&c(s)?u((function(t,n){return e(t,r,n)})):c(r)&&c(s)?u((function(t,r){return e(n,t,r)})):c(n)?a((function(t){return e(t,r,s)})):c(r)?a((function(t){return e(n,t,s)})):c(s)?a((function(t){return e(n,r,t)})):e(n,r,s)}}}const Fe=u((function(e,t){return null==t||t!=t?e:t})),De=Number.isInteger||function(e){return e<<0===e};const Le=u((function(e,t){if(null!=t)return De(e)?Se(e,t):t[e]}));const Je=Re((function(e,t,n){return Fe(e,Le(t,n))}));const Ve=u((function(e,t){return e.map((function(e){for(var n,r=t,s=0;s<e.length;){if(null==r)return;n=e[s],r=De(n)?Se(n,r):r[n],s+=1}return r}))}));const Ce=u((function(e,t){return Ve([e],t)[0]}));function Ie(e,t){return function(){var n=arguments.length;if(0===n)return t();var r=arguments[n-1];return l(r)||"function"!=typeof r[e]?t.apply(this,arguments):r[e].apply(r,Array.prototype.slice.call(arguments,0,n-1))}}const $e=Re(Ie("slice",(function(e,t,n){return Array.prototype.slice.call(n,e,t)})));const Be=$e(0,-1);const qe=u((function(e,t){return b(e.length,(function(){return e.apply(t,arguments)}))}));const ze=u((function(e,t){return e.apply(this,t)}));function Ue(e,t,n){for(var r=0,s=n.length;r<s;)t=e(t,n[r]),r+=1;return t}const Ge=a((function(e){return!!l(e)||!!e&&("object"==typeof e&&(!je(e)&&(0===e.length||e.length>0&&(e.hasOwnProperty(0)&&e.hasOwnProperty(e.length-1)))))}));var Ke="undefined"!=typeof Symbol?Symbol.iterator:"@@iterator";function He(e,t,n){return function(r,s,i){if(Ge(i))return e(r,s,i);if(null==i)return s;if("function"==typeof i["fantasy-land/reduce"])return t(r,s,i,"fantasy-land/reduce");if(null!=i[Ke])return n(r,s,i[Ke]());if("function"==typeof i.next)return n(r,s,i);if("function"==typeof i.reduce)return t(r,s,i,"reduce");throw new TypeError("reduce: list must be array or iterable")}}function We(e,t,n){for(var r=n.next();!r.done;)t=e(t,r.value),r=n.next();return t}function Qe(e,t,n,r){return n[r](e,t)}const Ye=He(Ue,Qe,We);function Xe(e,t){for(var n=0,r=t.length,s=Array(r);n<r;)s[n]=e(t[n]),n+=1;return s}var Ze=function(){function e(e,t){this.xf=t,this.f=e}return e.prototype["@@transducer/init"]=h,e.prototype["@@transducer/result"]=m,e.prototype["@@transducer/step"]=function(e,t){return this.xf["@@transducer/step"](e,this.f(t))},e}();const et=u(p(["fantasy-land/map","map"],(function(e){return function(t){return new Ze(e,t)}}),(function(e,t){switch(Object.prototype.toString.call(t)){case"[object Function]":return O(t.length,(function(){return e.call(this,t.apply(this,arguments))}));case"[object Object]":return Ue((function(n,r){return n[r]=e(t[r]),n}),{},R(t));default:return Xe(e,t)}})));const tt=u((function(e,t){return"function"==typeof t["fantasy-land/ap"]?t["fantasy-land/ap"](e):"function"==typeof e.ap?e.ap(t):"function"==typeof e?function(n){return e(n)(t(n))}:Ye((function(e,n){return function(e,t){var n;t=t||[];var r=(e=e||[]).length,s=t.length,i=[];for(n=0;n<r;)i[i.length]=e[n],n+=1;for(n=0;n<s;)i[i.length]=t[n],n+=1;return i}(e,et(n,t))}),[],e)}));const nt=u((function(e,t){var n=O(e,t);return O(e,(function(){return Ue(tt,et(n,arguments[0]),Array.prototype.slice.call(arguments,1))}))}));const rt=a((function(e){return nt(e.length,e)}));const st=rt(a((function(e){return!e})));function it(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 ot=function(e){return(e<10?"0":"")+e};const ct="function"==typeof Date.prototype.toISOString?function(e){return e.toISOString()}:function(e){return e.getUTCFullYear()+"-"+ot(e.getUTCMonth()+1)+"-"+ot(e.getUTCDate())+"T"+ot(e.getUTCHours())+":"+ot(e.getUTCMinutes())+":"+ot(e.getUTCSeconds())+"."+(e.getUTCMilliseconds()/1e3).toFixed(3).slice(2,5)+"Z"};function at(e){return"[object Object]"===Object.prototype.toString.call(e)}var ut=function(){function e(e,t){this.xf=t,this.f=e}return e.prototype["@@transducer/init"]=h,e.prototype["@@transducer/result"]=m,e.prototype["@@transducer/step"]=function(e,t){return this.f(t)?this.xf["@@transducer/step"](e,t):e},e}();function lt(e){return function(t){return new ut(e,t)}}const pt=u(p(["fantasy-land/filter","filter"],lt,(function(e,t){return at(t)?Ue((function(n,r){return e(t[r])&&(n[r]=t[r]),n}),{},R(t)):function(e,t){for(var n=0,r=t.length,s=[];n<r;)e(t[n])&&(s[s.length]=t[n]),n+=1;return s}(e,t)})));const ft=u((function(e,t){return pt((n=e,function(){return!n.apply(this,arguments)}),t);var n}));function ht(e,t){var n=function(n){var r=t.concat([e]);return V(n,r)?"<Circular>":ht(n,r)},r=function(e,t){return Xe((function(t){return it(t)+": "+n(e[t])}),t.slice().sort())};switch(Object.prototype.toString.call(e)){case"[object Arguments]":return"(function() { return arguments; }("+Xe(n,e).join(", ")+"))";case"[object Array]":return"["+Xe(n,e).concat(r(e,ft((function(e){return/^\d+$/.test(e)}),R(e)))).join(", ")+"]";case"[object Boolean]":return"object"==typeof e?"new Boolean("+n(e.valueOf())+")":e.toString();case"[object Date]":return"new Date("+(isNaN(e.valueOf())?n(NaN):it(ct(e)))+")";case"[object Map]":return"new Map("+n(Array.from(e))+")";case"[object Null]":return"null";case"[object Number]":return"object"==typeof e?"new Number("+n(e.valueOf())+")":1/e==-1/0?"-0":e.toString(10);case"[object Set]":return"new Set("+n(Array.from(e).sort())+")";case"[object String]":return"object"==typeof e?"new String("+n(e.valueOf())+")":it(e);case"[object Undefined]":return"undefined";default:if("function"==typeof e.toString){var s=e.toString();if("[object Object]"!==s)return s}return"{"+r(e,R(e)).join(", ")+"}"}}const mt=a((function(e){return ht(e,[])}));const dt=u((function(e,t){if(e===t)return t;function n(e,t){if(e>t!=t>e)return t>e?t:e}var r=n(e,t);if(void 0!==r)return r;var s=n(typeof e,typeof t);if(void 0!==s)return s===typeof e?e:t;var i=mt(e),o=n(i,mt(t));return void 0!==o&&o===i?e:t}));const yt=u((function(e,t){return et(Le(e),t)}));function vt(e,t,n){for(var r=0,s=n.length;r<s;){if((t=e["@@transducer/step"](t,n[r]))&&t["@@transducer/reduced"]){t=t["@@transducer/value"];break}r+=1}return e["@@transducer/result"](t)}function bt(e,t,n){for(var r=n.next();!r.done;){if((t=e["@@transducer/step"](t,r.value))&&t["@@transducer/reduced"]){t=t["@@transducer/value"];break}r=n.next()}return e["@@transducer/result"](t)}function gt(e,t,n,r){return e["@@transducer/result"](n[r](qe(e["@@transducer/step"],e),t))}const Ot=He(vt,gt,bt);var jt=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 St=Re((function(e,t,n){return Ot("function"==typeof e?new jt(e):e,t,n)}));const Et=a((function(e){return O(St(dt,0,yt("length",e)),(function(){for(var t=0,n=e.length;t<n;){if(e[t].apply(this,arguments))return!0;t+=1}return!1}))}));function xt(e,t){return function(){return t.call(this,e.apply(this,arguments))}}const wt=a(Ie("tail",$e(1,1/0)));function At(){if(0===arguments.length)throw new Error("pipe requires at least one argument");return b(arguments[0].length,St(xt,arguments[0],wt(arguments)))}var kt=function(e,t){switch(arguments.length){case 0:return kt;case 1:return function t(n){return 0===arguments.length?t:w(e,n)};default:return w(e,t)}};const Pt=kt;const _t=O(1,At(F,Pt("GeneratorFunction")));const Nt=O(1,At(F,Pt("AsyncFunction")));const Tt=Et([At(F,Pt("Function")),_t,Nt]);const Mt=st(Tt);function Rt(e){var t=Object.prototype.toString.call(e);return"[object Function]"===t||"[object AsyncFunction]"===t||"[object GeneratorFunction]"===t||"[object AsyncGeneratorFunction]"===t}const Ft=u((function(e,t){return e&&t}));const Dt=u((function(e,t){return Rt(e)?function(){return e.apply(this,arguments)&&t.apply(this,arguments)}:rt(Ft)(e,t)}));var Lt=a((function(e){return null!=e&&"function"==typeof e["fantasy-land/empty"]?e["fantasy-land/empty"]():null!=e&&null!=e.constructor&&"function"==typeof e.constructor["fantasy-land/empty"]?e.constructor["fantasy-land/empty"]():null!=e&&"function"==typeof e.empty?e.empty():null!=e&&null!=e.constructor&&"function"==typeof e.constructor.empty?e.constructor.empty():l(e)?[]:je(e)?"":at(e)?{}:k(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 Jt=Lt;const Vt=a((function(e){return null!=e&&J(e,Jt(e))}));const Ct=O(1,Tt(Array.isArray)?Array.isArray:At(F,Pt("Array")));const It=Dt(Ct,Vt);const $t=O(3,(function(e,t,n){var r=Ce(e,n),s=Ce(Be(e),n);if(!Mt(r)&&!It(e)){var i=qe(r,s);return ze(i,t)}}));const Bt=Re((function(e,t,n){return e(Ce(t,n))}));const qt=J(null);const zt=st(qt);function Ut(e){return Ut="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},Ut(e)}const Gt=function(e){return"object"===Ut(e)};const Kt=O(1,Dt(zt,Gt));var Ht=At(F,Pt("Object")),Wt=At(mt,J(mt(Object))),Qt=Bt(Dt(Tt,Wt),["constructor"]);const Yt=O(1,(function(e){if(!Kt(e)||!Ht(e))return!1;var t=Object.getPrototypeOf(e);return!!qt(t)||Qt(t)}));class Xt extends o.lS{constructor(){super(),this.register("annotation",$),this.register("comment",q),this.register("parseResult",H),this.register("sourceMap",Q)}}const Zt=new Xt,en=e=>{const t=new Xt;return Yt(e)&&t.use(e),t},tn=Zt,nn=()=>({predicates:{...e},namespace:tn});var rn=n(6591),sn=n.n(rn);const on=function(){return!1};const cn=O(1,At(F,Pt("String")));const an=class extends ke{constructor(e,t){if(super(e,t),null!=t&&"object"==typeof t){const{cause:e,...n}=t;Object.assign(this,n)}}},un=(e,t,n)=>{const r=e[t];if(null!=r){if(!n&&"function"==typeof r)return r;const e=n?r.leave:r.enter;if("function"==typeof e)return e}else{const r=n?e.leave:e.enter;if(null!=r){if("function"==typeof r)return r;const e=r[t];if("function"==typeof e)return e}}return null},ln={},pn=e=>null==e?void 0:e.type,fn=e=>"string"==typeof pn(e),hn=e=>Object.create(Object.getPrototypeOf(e),Object.getOwnPropertyDescriptors(e)),mn=(e,t,{keyMap:n=null,state:r={},breakSymbol:s=ln,deleteNodeSymbol:i=null,skipVisitingNodeSymbol:o=!1,visitFnGetter:c=un,nodeTypeGetter:a=pn,nodePredicate:u=fn,nodeCloneFn:l=hn,detectCycles:p=!0}={})=>{const f=n||{};let h,m,d=Array.isArray(e),y=[e],v=-1,b=[],g=e;const O=[],j=[];do{v+=1;const e=v===y.length;let n;const E=e&&0!==b.length;if(e){if(n=0===j.length?void 0:O.pop(),g=m,m=j.pop(),E)if(d){g=g.slice();let e=0;for(const[t,n]of b){const r=t-e;n===i?(g.splice(r,1),e+=1):g[r]=n}}else{g=l(g);for(const[e,t]of b)g[e]=t}v=h.index,y=h.keys,b=h.edits,d=h.inArray,h=h.prev}else if(m!==i&&void 0!==m){if(n=d?v:y[v],g=m[n],g===i||void 0===g)continue;O.push(n)}if(j.includes(g))continue;let x;if(!Array.isArray(g)){if(!u(g))throw new an(`Invalid AST Node: ${String(g)}`,{node:g});if(p&&j.includes(g)){O.pop();continue}const i=c(t,a(g),e);if(i){for(const[e,n]of Object.entries(r))t[e]=n;x=i.call(t,g,n,m,O,j)}if(x===s)break;if(x===o){if(!e){O.pop();continue}}else if(void 0!==x&&(b.push([n,x]),!e)){if(!u(x)){O.pop();continue}g=x}}var S;if(void 0===x&&E&&b.push([n,g]),!e)h={inArray:d,index:v,keys:y,edits:b,prev:h},d=Array.isArray(g),y=d?g:null!==(S=f[a(g)])&&void 0!==S?S:[],v=-1,b=[],m!==i&&void 0!==m&&j.push(m),m=g}while(void 0!==h);return 0!==b.length?b[b.length-1][1]:e};mn[Symbol.for("nodejs.util.promisify.custom")]=async(e,t,{keyMap:n=null,state:r={},breakSymbol:s=ln,deleteNodeSymbol:i=null,skipVisitingNodeSymbol:o=!1,visitFnGetter:c=un,nodeTypeGetter:a=pn,nodePredicate:u=fn,nodeCloneFn:l=hn,detectCycles:p=!0}={})=>{const f=n||{};let h,m,d=Array.isArray(e),y=[e],v=-1,b=[],g=e;const O=[],j=[];do{v+=1;const e=v===y.length;let n;const E=e&&0!==b.length;if(e){if(n=0===j.length?void 0:O.pop(),g=m,m=j.pop(),E)if(d){g=g.slice();let e=0;for(const[t,n]of b){const r=t-e;n===i?(g.splice(r,1),e+=1):g[r]=n}}else{g=l(g);for(const[e,t]of b)g[e]=t}v=h.index,y=h.keys,b=h.edits,d=h.inArray,h=h.prev}else if(m!==i&&void 0!==m){if(n=d?v:y[v],g=m[n],g===i||void 0===g)continue;O.push(n)}let x;if(!Array.isArray(g)){if(!u(g))throw new an(`Invalid AST Node: ${String(g)}`,{node:g});if(p&&j.includes(g)){O.pop();continue}const i=c(t,a(g),e);if(i){for(const[e,n]of Object.entries(r))t[e]=n;x=await i.call(t,g,n,m,O,j)}if(x===s)break;if(x===o){if(!e){O.pop();continue}}else if(void 0!==x&&(b.push([n,x]),!e)){if(!u(x)){O.pop();continue}g=x}}var S;if(void 0===x&&E&&b.push([n,g]),!e)h={inArray:d,index:v,keys:y,edits:b,prev:h},d=Array.isArray(g),y=d?g:null!==(S=f[a(g)])&&void 0!==S?S:[],v=-1,b=[],m!==i&&void 0!==m&&j.push(m),m=g}while(void 0!==h);return 0!==b.length?b[b.length-1][1]:e};const dn=class extends an{constructor(e,t){super(e,t),void 0!==t&&(this.value=t.source)}};const yn=class extends dn{};const vn=class extends dn{},bn=(e,t={})=>{const{visited:n=new WeakMap}=t,r={...t,visited:n};if(n.has(e))return n.get(e);if(e instanceof o.KeyValuePair){const{key:t,value:s}=e,i=re(t)?bn(t,r):t,c=re(s)?bn(s,r):s,a=new o.KeyValuePair(i,c);return n.set(e,a),a}if(e instanceof o.rm){const t=e=>bn(e,r),s=[...e].map(t),i=new o.rm(s);return n.set(e,i),i}if(e instanceof o.O4){const t=e=>bn(e,r),s=[...e].map(t),i=new o.O4(s);return n.set(e,i),i}if(re(e)){const t=jn(e);if(n.set(e,t),e.content)if(re(e.content))t.content=bn(e.content,r);else if(e.content instanceof o.KeyValuePair)t.content=bn(e.content,r);else if(Array.isArray(e.content)){const n=e=>bn(e,r);t.content=e.content.map(n)}else t.content=e.content;else t.content=e.content;return t}throw new yn("Value provided to cloneDeep function couldn't be cloned",{value:e})};bn.safe=e=>{try{return bn(e)}catch{return e}};const gn=e=>{const{key:t,value:n}=e;return new o.KeyValuePair(t,n)},On=e=>{const t=new e.constructor;if(t.element=e.element,e.meta.length>0&&(t._meta=bn(e.meta)),e.attributes.length>0&&(t._attributes=bn(e.attributes)),re(e.content)){const n=e.content;t.content=On(n)}else Array.isArray(e.content)?t.content=[...e.content]:e.content instanceof o.KeyValuePair?t.content=gn(e.content):t.content=e.content;return t},jn=e=>{if(e instanceof o.KeyValuePair)return gn(e);if(e instanceof o.rm)return(e=>{const t=[...e];return new o.rm(t)})(e);if(e instanceof o.O4)return(e=>{const t=[...e];return new o.O4(t)})(e);if(re(e))return On(e);throw new vn("Value provided to cloneShallow function couldn't be cloned",{value:e})};jn.safe=e=>{try{return jn(e)}catch{return e}};const Sn=e=>ae(e)?"ObjectElement":ue(e)?"ArrayElement":le(e)?"MemberElement":se(e)?"StringElement":ce(e)?"BooleanElement":ie(e)?"NumberElement":oe(e)?"NullElement":pe(e)?"LinkElement":fe(e)?"RefElement":void 0,En=e=>re(e)?jn(e):hn(e),xn=At(Sn,cn),wn={ObjectElement:["content"],ArrayElement:["content"],MemberElement:["key","value"],StringElement:[],BooleanElement:[],NumberElement:[],NullElement:[],RefElement:[],LinkElement:[],Annotation:[],Comment:[],ParseResultElement:["content"],SourceMap:["content"]},An=(rn({props:{result:[],predicate:on,returnOnTrue:void 0,returnOnFalse:void 0},init({predicate:e=this.predicate,returnOnTrue:t=this.returnOnTrue,returnOnFalse:n=this.returnOnFalse}={}){this.result=[],this.predicate=e,this.returnOnTrue=t,this.returnOnFalse=n},methods:{enter(e){return this.predicate(e)?(this.result.push(e),this.returnOnTrue):this.returnOnFalse}}}),(e,t,{keyMap:n=wn,...r}={})=>mn(e,t,{keyMap:n,nodeTypeGetter:Sn,nodePredicate:xn,nodeCloneFn:En,...r}));An[Symbol.for("nodejs.util.promisify.custom")]=async(e,t,{keyMap:n=wn,...r}={})=>mn[Symbol.for("nodejs.util.promisify.custom")](e,t,{keyMap:n,nodeTypeGetter:Sn,nodePredicate:xn,nodeCloneFn:En,...r});const kn=(e,t,n={})=>{if(0===t.length)return e;const r=Je(nn,"toolboxCreator",n),s=Je({},"visitorOptions",n),i=Je(Sn,"nodeTypeGetter",s),o=r(),c=t.map((e=>e(o))),a=((e,{visitFnGetter:t=un,nodeTypeGetter:n=pn}={})=>{const r=new Array(e.length).fill(null);return{enter(s,...i){for(let o=0;o<e.length;o+=1)if(null===r[o]){const c=t(e[o],n(s),!1);if("function"==typeof c){const t=c.call(e[o],s,...i);if(!1===t)r[o]=s;else if(t===ln)r[o]=ln;else if(void 0!==t)return t}}},leave(s,...i){for(let o=0;o<e.length;o+=1)if(null===r[o]){const c=t(e[o],n(s),!0);if("function"==typeof c){const t=c.call(e[o],s,...i);if(t===ln)r[o]=ln;else if(void 0!==t&&!1!==t)return t}}else r[o]===s&&(r[o]=null)}}})(c.map(Je({},"visitor")),{nodeTypeGetter:i});c.forEach($t(["pre"],[]));const u=An(e,a,s);return c.forEach($t(["post"],[])),u},Pn=(e,{Type:t,plugins:n=[]})=>{const r=new t(e);return kn(r,n,{toolboxCreator:nn,visitorOptions:{nodeTypeGetter:Sn}})},_n=e=>(t,n={})=>Pn(t,{...n,Type:e});o.Sb.refract=_n(o.Sb),o.ON.refract=_n(o.ON),o.RP.refract=_n(o.RP),o.hh.refract=_n(o.hh),o.zr.refract=_n(o.zr),o.VL.refract=_n(o.VL),o.EA.refract=_n(o.EA),o.tK.refract=_n(o.tK),$.refract=_n($),q.refract=_n(q),H.refract=_n(H),Q.refract=_n(Q);class Nn extends o.Sb{constructor(e,t,n){super(e,t,n),this.element="JSONSchemaDraft4"}get idProp(){return this.get("id")}set idProp(e){this.set("id",e)}get $schema(){return this.get("$schema")}set $schema(e){this.set("idProp",e)}get multipleOf(){return this.get("multipleOf")}set multipleOf(e){this.set("multipleOf",e)}get maximum(){return this.get("maximum")}set maximum(e){this.set("maximum",e)}get exclusiveMaximum(){return this.get("exclusiveMaximum")}set exclusiveMaximum(e){this.set("exclusiveMaximum",e)}get minimum(){return this.get("minimum")}set minimum(e){this.set("minimum",e)}get exclusiveMinimum(){return this.get("exclusiveMinimum")}set exclusiveMinimum(e){this.set("exclusiveMinimum",e)}get maxLength(){return this.get("maxLength")}set maxLength(e){this.set("maxLength",e)}get minLength(){return this.get("minLength")}set minLength(e){this.set("minLength",e)}get pattern(){return this.get("pattern")}set pattern(e){this.set("pattern",e)}get additionalItems(){return this.get("additionalItems")}set additionalItems(e){this.set("additionalItems",e)}get items(){return this.get("items")}set items(e){this.set("items",e)}get maxItems(){return this.get("maxItems")}set maxItems(e){this.set("maxItems",e)}get minItems(){return this.get("minItems")}set minItems(e){this.set("minItems",e)}get uniqueItems(){return this.get("uniqueItems")}set uniqueItems(e){this.set("uniqueItems",e)}get maxProperties(){return this.get("maxProperties")}set maxProperties(e){this.set("maxProperties",e)}get minProperties(){return this.get("minProperties")}set minProperties(e){this.set("minProperties",e)}get required(){return this.get("required")}set required(e){this.set("required",e)}get properties(){return this.get("properties")}set properties(e){this.set("properties",e)}get additionalProperties(){return this.get("additionalProperties")}set additionalProperties(e){this.set("additionalProperties",e)}get patternProperties(){return this.get("patternProperties")}set patternProperties(e){this.set("patternProperties",e)}get dependencies(){return this.get("dependencies")}set dependencies(e){this.set("dependencies",e)}get enum(){return this.get("enum")}set enum(e){this.set("enum",e)}get type(){return this.get("type")}set type(e){this.set("type",e)}get allOf(){return this.get("allOf")}set allOf(e){this.set("allOf",e)}get anyOf(){return this.get("anyOf")}set anyOf(e){this.set("anyOf",e)}get oneOf(){return this.get("oneOf")}set oneOf(e){this.set("oneOf",e)}get not(){return this.get("not")}set not(e){this.set("not",e)}get definitions(){return this.get("definitions")}set definitions(e){this.set("definitions",e)}get title(){return this.get("title")}set title(e){this.set("title",e)}get description(){return this.get("description")}set description(e){this.set("description",e)}get default(){return this.get("default")}set default(e){this.set("default",e)}get format(){return this.get("format")}set format(e){this.set("format",e)}get base(){return this.get("base")}set base(e){this.set("base",e)}get links(){return this.get("links")}set links(e){this.set("links",e)}get media(){return this.get("media")}set media(e){this.set("media",e)}get readOnly(){return this.get("readOnly")}set readOnly(e){this.set("readOnly",e)}}const Tn=Nn;class Mn extends o.Sb{constructor(e,t,n){super(e,t,n),this.element="JSONReference",this.classes.push("json-reference")}get $ref(){return this.get("$ref")}set $ref(e){this.set("$ref",e)}}const Rn=Mn;class Fn extends o.Sb{constructor(e,t,n){super(e,t,n),this.element="media"}get binaryEncoding(){return this.get("binaryEncoding")}set binaryEncoding(e){this.set("binaryEncoding",e)}get type(){return this.get("type")}set type(e){this.set("type",e)}}const Dn=Fn;class Ln extends o.Sb{constructor(e,t,n){super(e,t,n),this.element="linkDescription"}get href(){return this.get("href")}set href(e){this.set("href",e)}get rel(){return this.get("rel")}set rel(e){this.set("rel",e)}get title(){return this.get("title")}set title(e){this.set("title",e)}get targetSchema(){return this.get("targetSchema")}set targetSchema(e){this.set("targetSchema",e)}get mediaType(){return this.get("mediaType")}set mediaType(e){this.set("mediaType",e)}get method(){return this.get("method")}set method(e){this.set("method",e)}get encType(){return this.get("encType")}set encType(e){this.set("encType",e)}get schema(){return this.get("schema")}set schema(e){this.set("schema",e)}}const Jn=Ln;const Vn=u((function(e,t){return Ue((function(n,r){return n[r]=e(t[r],r,t),n}),{},R(t))}));const Cn=a((function(e){return null==e}));const In=u((function(e,t){if(0===e.length||Cn(t))return!1;for(var n=t,r=0;r<e.length;){if(Cn(n)||!x(e[r],n))return!1;n=n[e[r]],r+=1}return!0}));var $n=u((function(e,t){return In([e],t)}));const Bn=$n;const qn=Re((function(e,t,n){return e(Le(t,n))}));const zn=a((function(e){return O(e.length,e)}));const Un=u((function(e,t){return O(e+1,(function(){var n=arguments[e];if(null!=n&&Rt(n[t]))return n[t].apply(n,Array.prototype.slice.call(arguments,0,e));throw new TypeError(mt(n)+' does not have a method named "'+t+'"')}))}));const Gn=Un(1,"split");var Kn=function(){function e(e,t){this.xf=t,this.f=e}return e.prototype["@@transducer/init"]=h,e.prototype["@@transducer/result"]=m,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 Hn(e){return function(t){return new Kn(e,t)}}const Wn=u(p(["dropWhile"],Hn,(function(e,t){for(var n=0,r=t.length;n<r&&e(t[n]);)n+=1;return $e(n,1/0,t)})));const Qn=Un(1,"join");const Yn=zn((function(e,t){return At(Gn(""),Wn(C(e)),Qn(""))(t)})),Xn=(e,t)=>{const n=Fe(e,t);return Vn((e=>{if(Yt(e)&&Bn("$ref",e)&&qn(cn,"$ref",e)){const t=Ce(["$ref"],e),r=Yn("#/",t);return Ce(r.split("/"),n)}return Yt(e)?Xn(e,n):e}),e)},Zn=rn({props:{element:null},methods:{copyMetaAndAttributes(e,t){be(e)&&t.meta.set("sourceMap",e.meta.get("sourceMap"))}}}),er=rn(Zn,{methods:{enter(e){return this.element=bn(e),ln}}});const tr=z(U());const nr=function(){return!0},rr=e=>"string"==typeof(null==e?void 0:e.type)?e.type:Sn(e),sr={EphemeralObject:["content"],EphemeralArray:["content"],...wn},ir=(e,t,{keyMap:n=sr,...r}={})=>An(e,t,{keyMap:n,nodeTypeGetter:rr,nodePredicate:nr,detectCycles:!1,deleteNodeSymbol:Symbol.for("delete-node"),skipVisitingNodeSymbol:Symbol.for("skip-visiting-node"),...r});ir[Symbol.for("nodejs.util.promisify.custom")]=async(e,{keyMap:t=sr,...n}={})=>An[Symbol.for("nodejs.util.promisify.custom")](e,visitor,{keyMap:t,nodeTypeGetter:rr,nodePredicate:nr,detectCycles:!1,deleteNodeSymbol:Symbol.for("delete-node"),skipVisitingNodeSymbol:Symbol.for("skip-visiting-node"),...n});const or=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 cr=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))}},ar=rn.init((function(){const e=new WeakMap;this.BooleanElement=function(e){return e.toValue()},this.NumberElement=function(e){return e.toValue()},this.StringElement=function(e){return e.toValue()},this.NullElement=function(){return null},this.ObjectElement={enter(t){if(e.has(t))return e.get(t).toReference();const n=new cr(t.content);return e.set(t,n),n}},this.EphemeralObject={leave:e=>e.toObject()},this.MemberElement={enter:e=>[e.key,e.value]},this.ArrayElement={enter(t){if(e.has(t))return e.get(t).toReference();const n=new or(t.content);return e.set(t,n),n}},this.EphemeralArray={leave:e=>e.toArray()}})),ur=e=>re(e)?se(e)||ie(e)||ce(e)||oe(e)?e.toValue():ir(e,ar()):e;const lr=u((function(e,t){for(var n={},r=0;r<e.length;)e[r]in t&&(n[e[r]]=t[e[r]]),r+=1;return n})),pr=e=>{if(re(e))return`${e.element.charAt(0).toUpperCase()+e.element.slice(1)}Element`},fr={JSONSchemaDraft4Element:["content"],JSONReferenceElement:["content"],MediaElement:["content"],LinkDescriptionElement:["content"],...wn},hr=rn(Zn,{props:{specObj:null,passingOptionsNames:["specObj"]},init({specObj:e=this.specObj}){this.specObj=e},methods:{retrievePassingOptions(){return lr(this.passingOptionsNames,this)},retrieveFixedFields(e){const t=Ce(["visitors",...e,"fixedFields"],this.specObj);return"object"==typeof t&&null!==t?Object.keys(t):[]},retrieveVisitor(e){return Bt(Tt,["visitors",...e],this.specObj)?Ce(["visitors",...e],this.specObj):Ce(["visitors",...e,"$visitor"],this.specObj)},retrieveVisitorInstance(e,t={}){const n=this.retrievePassingOptions();return this.retrieveVisitor(e)({...n,...t})},toRefractedElement(e,t,n={}){const r=this.retrieveVisitorInstance(e,n),s=Object.getPrototypeOf(r);return G(this.fallbackVisitorPrototype)&&(this.fallbackVisitorPrototype=Object.getPrototypeOf(this.retrieveVisitorInstance(["value"]))),this.fallbackVisitorPrototype===s?bn(t):(An(t,r,{keyMap:fr,nodeTypeGetter:pr,...n}),r.element)}}}),mr=rn(hr,{props:{specPath:tr,ignoredFields:[]},init({specPath:e=this.specPath,ignoredFields:t=this.ignoredFields}={}){this.specPath=e,this.ignoredFields=t},methods:{ObjectElement(e){const t=this.specPath(e),n=this.retrieveFixedFields(t);return e.forEach(((e,r,s)=>{if(se(r)&&n.includes(ur(r))&&!this.ignoredFields.includes(ur(r))){const n=this.toRefractedElement([...t,"fixedFields",ur(r)],e),i=new o.c6(bn(r),n);this.copyMetaAndAttributes(s,i),i.classes.push("fixed-field"),this.element.content.push(i)}else this.ignoredFields.includes(ur(r))||this.element.content.push(bn(s))})),this.copyMetaAndAttributes(e,this.element),ln}}}),dr=rn(mr,er,{props:{specPath:z(["document","objects","JSONSchema"])},init(){this.element=new Tn}}),yr=er,vr=er,br=er,gr=er,Or=er,jr=er,Sr=er,Er=er,xr=er,wr=er,Ar=rn({props:{parent:null},init({parent:e=this.parent}){this.parent=e,this.passingOptionsNames=[...this.passingOptionsNames,"parent"]}}),kr=e=>ae(e)&&e.hasKey("$ref"),Pr=rn(hr,Ar,er,{methods:{ObjectElement(e){const t=kr(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"];return this.element=this.toRefractedElement(t,e),ln},ArrayElement(e){return this.element=new o.ON,this.element.classes.push("json-schema-items"),e.forEach((e=>{const t=kr(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"],n=this.toRefractedElement(t,e);this.element.push(n)})),this.copyMetaAndAttributes(e,this.element),ln}}}),_r=er,Nr=er,Tr=er,Mr=er,Rr=er,Fr=rn(er,{methods:{ArrayElement(e){return this.element=bn(e),this.element.classes.push("json-schema-required"),ln}}});const Dr=a((function(e){return O(St(dt,0,yt("length",e)),(function(){for(var t=0,n=e.length;t<n;){if(!e[t].apply(this,arguments))return!1;t+=1}return!0}))}));const Lr=u((function(e,t){return e||t}));const Jr=st(O(1,Dt(zt,u((function(e,t){return Rt(e)?function(){return e.apply(this,arguments)||t.apply(this,arguments)}:rt(Lr)(e,t)}))(Gt,Tt))));const Vr=st(Vt);const Cr=Dr([cn,Jr,Vr]),Ir=rn(hr,{props:{fieldPatternPredicate:on,specPath:tr,ignoredFields:[]},init({specPath:e=this.specPath,ignoredFields:t=this.ignoredFields}={}){this.specPath=e,this.ignoredFields=t},methods:{ObjectElement(e){return e.forEach(((e,t,n)=>{if(!this.ignoredFields.includes(ur(t))&&this.fieldPatternPredicate(ur(t))){const r=this.specPath(e),s=this.toRefractedElement(r,e),i=new o.c6(bn(t),s);this.copyMetaAndAttributes(n,i),i.classes.push("patterned-field"),this.element.content.push(i)}else this.ignoredFields.includes(ur(t))||this.element.content.push(bn(n))})),this.copyMetaAndAttributes(e,this.element),ln}}}),$r=rn(Ir,{props:{fieldPatternPredicate:Cr}}),Br=rn($r,Ar,er,{props:{specPath:e=>kr(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"]},init(){this.element=new o.Sb,this.element.classes.push("json-schema-properties")}}),qr=rn($r,Ar,er,{props:{specPath:e=>kr(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"]},init(){this.element=new o.Sb,this.element.classes.push("json-schema-patternProperties")}}),zr=rn($r,Ar,er,{props:{specPath:e=>kr(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"]},init(){this.element=new o.Sb,this.element.classes.push("json-schema-dependencies")}}),Ur=rn(er,{methods:{ArrayElement(e){return this.element=bn(e),this.element.classes.push("json-schema-enum"),ln}}}),Gr=rn(er,{methods:{StringElement(e){return this.element=bn(e),this.element.classes.push("json-schema-type"),ln},ArrayElement(e){return this.element=bn(e),this.element.classes.push("json-schema-type"),ln}}}),Kr=rn(hr,Ar,er,{init(){this.element=new o.ON,this.element.classes.push("json-schema-allOf")},methods:{ArrayElement(e){return e.forEach((e=>{const t=kr(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"],n=this.toRefractedElement(t,e);this.element.push(n)})),this.copyMetaAndAttributes(e,this.element),ln}}}),Hr=rn(hr,Ar,er,{init(){this.element=new o.ON,this.element.classes.push("json-schema-anyOf")},methods:{ArrayElement(e){return e.forEach((e=>{const t=kr(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"],n=this.toRefractedElement(t,e);this.element.push(n)})),this.copyMetaAndAttributes(e,this.element),ln}}}),Wr=rn(hr,Ar,er,{init(){this.element=new o.ON,this.element.classes.push("json-schema-oneOf")},methods:{ArrayElement(e){return e.forEach((e=>{const t=kr(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"],n=this.toRefractedElement(t,e);this.element.push(n)})),this.copyMetaAndAttributes(e,this.element),ln}}}),Qr=rn($r,Ar,er,{props:{specPath:e=>kr(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"]},init(){this.element=new o.Sb,this.element.classes.push("json-schema-definitions")}}),Yr=er,Xr=er,Zr=er,es=er,ts=er,ns=rn(hr,Ar,er,{init(){this.element=new o.ON,this.element.classes.push("json-schema-links")},methods:{ArrayElement(e){return e.forEach((e=>{const t=this.toRefractedElement(["document","objects","LinkDescription"],e);this.element.push(t)})),this.copyMetaAndAttributes(e,this.element),ln}}}),rs=er,ss=rn(mr,er,{props:{specPath:z(["document","objects","JSONReference"])},init(){this.element=new Rn},methods:{ObjectElement(e){const t=mr.compose.methods.ObjectElement.call(this,e);return se(this.element.$ref)&&this.element.classes.push("reference-element"),t}}}),is=rn(er,{methods:{StringElement(e){return this.element=bn(e),this.element.classes.push("reference-value"),ln}}});const os=Re((function(e,t,n){return O(Math.max(e.length,t.length,n.length),(function(){return e.apply(this,arguments)?t.apply(this,arguments):n.apply(this,arguments)}))}));const cs=a((function(e){return function(t,n){return e(t,n)?-1:e(n,t)?1:0}}));var as=u((function(e,t){return Array.prototype.slice.call(t,0).sort(e)}));const us=as;const ls=Se(0);const ps=a(f);const fs=st(Cn);const hs=Dt(Ct,Vr);function ms(e){return function(e){if(Array.isArray(e))return ds(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 ds(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return ds(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 ds(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var ys=At(us(cs((function(e,t){return e.length>t.length}))),ls,Le("length")),vs=zn((function(e,t,n){var r=n.apply(void 0,ms(e));return fs(r)?ps(r):t}));const bs=os(hs,(function(e){var t=ys(e);return O(t,(function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return St(vs(n),void 0,e)}))}),U),gs=rn(hr,{props:{alternator:[]},methods:{enter(e){const t=this.alternator.map((({predicate:e,specPath:t})=>os(e,z(t),U))),n=bs(t)(e);return this.element=this.toRefractedElement(n,e),ln}}}),Os=rn(gs,{props:{alternator:[{predicate:kr,specPath:["document","objects","JSONReference"]},{predicate:nr,specPath:["document","objects","JSONSchema"]}]}}),js=rn(mr,er,{props:{specPath:z(["document","objects","Media"])},init(){this.element=new Dn}}),Ss=er,Es=er,xs=rn(mr,er,{props:{specPath:z(["document","objects","LinkDescription"])},init(){this.element=new Jn}}),ws={visitors:{value:er,JSONSchemaOrJSONReferenceVisitor:Os,document:{objects:{JSONSchema:{$visitor:dr,fixedFields:{id:yr,$schema:vr,multipleOf:br,maximum:gr,exclusiveMaximum:Or,minimum:jr,exclusiveMinimum:Sr,maxLength:Er,minLength:xr,pattern:wr,additionalItems:Os,items:Pr,maxItems:_r,minItems:Nr,uniqueItems:Tr,maxProperties:Mr,minProperties:Rr,required:Fr,properties:Br,additionalProperties:Os,patternProperties:qr,dependencies:zr,enum:Ur,type:Gr,allOf:Kr,anyOf:Hr,oneOf:Wr,not:Os,definitions:Qr,title:Yr,description:Xr,default:Zr,format:es,base:ts,links:ns,media:{$ref:"#/visitors/document/objects/Media"},readOnly:rs}},JSONReference:{$visitor:ss,fixedFields:{$ref:is}},Media:{$visitor:js,fixedFields:{binaryEncoding:Ss,type:Es}},LinkDescription:{$visitor:xs,fixedFields:{href:er,rel:er,title:er,targetSchema:Os,mediaType:er,method:er,encType:er,schema:Os}}}}}},As=ne((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof Tn||e(r)&&t("JSONSchemaDraft4",r)&&n("object",r))),ks=ne((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof Rn||e(r)&&t("JSONReference",r)&&n("object",r))),Ps=ne((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof Dn||e(r)&&t("media",r)&&n("object",r))),_s=ne((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof Jn||e(r)&&t("linkDescription",r)&&n("object",r))),Ns={namespace:e=>{const{base:t}=e;return t.register("jSONSchemaDraft4",Tn),t.register("jSONReference",Rn),t.register("media",Dn),t.register("linkDescription",Jn),t}},Ts=()=>{const e=en(Ns);return{predicates:{...t,isStringElement:se},namespace:e}},Ms=(e,{specPath:t=["visitors","document","objects","JSONSchema","$visitor"],plugins:n=[],specificationObj:r=ws}={})=>{const s=(0,o.Qc)(e),i=Xn(r),c=$t(t,[],i);return An(s,c,{state:{specObj:i}}),kn(c.element,n,{toolboxCreator:Ts,visitorOptions:{keyMap:fr,nodeTypeGetter:pr}})},Rs=e=>(t,n={})=>Ms(t,{specPath:e,...n});Tn.refract=Rs(["visitors","document","objects","JSONSchema","$visitor"]),Rn.refract=Rs(["visitors","document","objects","JSONReference","$visitor"]),Dn.refract=Rs(["visitors","document","objects","Media","$visitor"]),Jn.refract=Rs(["visitors","document","objects","LinkDescription","$visitor"]);const Fs=class extends Tn{constructor(e,t,n){super(e,t,n),this.element="JSONSchemaDraft6"}get idProp(){throw new Pe("id keyword from Core vocabulary has been renamed to $id.")}set idProp(e){throw new Pe("id keyword from Core vocabulary has been renamed to $id.")}get $id(){return this.get("$id")}set $id(e){this.set("$id",e)}get exclusiveMaximum(){return this.get("exclusiveMaximum")}set exclusiveMaximum(e){this.set("exclusiveMaximum",e)}get exclusiveMinimum(){return this.get("exclusiveMinimum")}set exclusiveMinimum(e){this.set("exclusiveMinimum",e)}get containsProp(){return this.get("contains")}set containsProp(e){this.set("contains",e)}get items(){return this.get("items")}set items(e){this.set("items",e)}get propertyNames(){return this.get("propertyNames")}set propertyNames(e){this.set("propertyNames",e)}get const(){return this.get("const")}set const(e){this.set("const",e)}get not(){return this.get("not")}set not(e){this.set("not",e)}get examples(){return this.get("examples")}set examples(e){this.set("examples",e)}};const Ds=class extends Jn{get hrefSchema(){return this.get("hrefSchema")}set hrefSchema(e){this.set("hrefSchema",e)}get targetSchema(){return this.get("targetSchema")}set targetSchema(e){this.set("targetSchema",e)}get schema(){throw new Pe("schema keyword from Hyper-Schema vocabulary has been renamed to submissionSchema.")}set schema(e){throw new Pe("schema keyword from Hyper-Schema vocabulary has been renamed to submissionSchema.")}get submissionSchema(){return this.get("submissionSchema")}set submissionSchema(e){this.set("submissionSchema",e)}get method(){throw new Pe("method keyword from Hyper-Schema vocabulary has been removed.")}set method(e){throw new Pe("method keyword from Hyper-Schema vocabulary has been removed.")}get encType(){throw new Pe("encType keyword from Hyper-Schema vocabulary has been renamed to submissionEncType.")}set encType(e){throw new Pe("encType keyword from Hyper-Schema vocabulary has been renamed to submissionEncType.")}get submissionEncType(){return this.get("submissionEncType")}set submissionEncType(e){this.set("submissionEncType",e)}};var Ls=Re((function e(t,n,r){if(0===t.length)return n;var s=t[0];if(t.length>1){var i=!Cn(r)&&x(s,r)&&"object"==typeof r[s]?r[s]:De(t[1])?[]:{};n=e(Array.prototype.slice.call(t,1),n,i)}return function(e,t,n){if(De(e)&&l(n)){var r=[].concat(n);return r[e]=t,r}var s={};for(var i in n)s[i]=n[i];return s[e]=t,s}(s,n,r)}));const Js=Ls;const Vs=Re((function(e,t,n){var r=Array.prototype.slice.call(n,0);return r.splice(e,t),r}));var Cs=Re((function(e,t,n){return Js([e],t,n)}));const Is=Cs;var $s=u((function e(t,n){if(null==n)return n;switch(t.length){case 0:return n;case 1:return function(e,t){if(null==t)return t;if(De(e)&&l(t))return Vs(e,1,t);var n={};for(var r in t)n[r]=t[r];return delete n[e],n}(t[0],n);default:var r=t[0],s=Array.prototype.slice.call(t,1);return null==n[r]?function(e,t){if(De(e)&&l(t))return[].concat(t);var n={};for(var r in t)n[r]=t[r];return n}(r,n):Is(r,e(s,n[r]),n)}}));const Bs=$s,qs=rn(mr,er,{props:{specPath:z(["document","objects","JSONSchema"])},methods:{ObjectElement(e){return this.element=new Fs,mr.compose.methods.ObjectElement.call(this,e)},BooleanElement(e){return this.element=bn(e),this.element.classes.push("boolean-json-schema"),ln}}}),zs=er,Us=rn(hr,Ar,er,{methods:{ObjectElement(e){const t=kr(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"];return this.element=this.toRefractedElement(t,e),ln},ArrayElement(e){return this.element=new o.ON,this.element.classes.push("json-schema-items"),e.forEach((e=>{const t=kr(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"],n=this.toRefractedElement(t,e);this.element.push(n)})),this.copyMetaAndAttributes(e,this.element),ln},BooleanElement(e){return this.element=this.toRefractedElement(["document","objects","JSONSchema"],e),ln}}}),Gs=er,Ks=rn(er,{methods:{ArrayElement(e){return this.element=bn(e),this.element.classes.push("json-schema-examples"),ln}}}),Hs=rn(mr,er,{props:{specPath:z(["document","objects","LinkDescription"])},init(){this.element=new Ds}}),Ws=er,Qs=At(Js(["visitors","document","objects","JSONSchema","$visitor"],qs),Bs(["visitors","document","objects","JSONSchema","fixedFields","id"]),Js(["visitors","document","objects","JSONSchema","fixedFields","$id"],zs),Js(["visitors","document","objects","JSONSchema","fixedFields","contains"],ws.visitors.JSONSchemaOrJSONReferenceVisitor),Js(["visitors","document","objects","JSONSchema","fixedFields","items"],Us),Js(["visitors","document","objects","JSONSchema","fixedFields","propertyNames"],ws.visitors.JSONSchemaOrJSONReferenceVisitor),Js(["visitors","document","objects","JSONSchema","fixedFields","const"],Gs),Js(["visitors","document","objects","JSONSchema","fixedFields","examples"],Ks),Js(["visitors","document","objects","LinkDescription","$visitor"],Hs),Js(["visitors","document","objects","LinkDescription","fixedFields","hrefSchema"],ws.visitors.JSONSchemaOrJSONReferenceVisitor),Bs(["visitors","document","objects","LinkDescription","fixedFields","schema"]),Js(["visitors","document","objects","LinkDescription","fixedFields","submissionSchema"],ws.visitors.JSONSchemaOrJSONReferenceVisitor),Bs(["visitors","document","objects","LinkDescription","fixedFields","method"]),Bs(["visitors","document","objects","LinkDescription","fixedFields","encType"]),Js(["visitors","document","objects","LinkDescription","fixedFields","submissionEncType"],Ws))(ws),Ys=e=>{if(re(e))return`${e.element.charAt(0).toUpperCase()+e.element.slice(1)}Element`},Xs={JSONSchemaDraft6Element:["content"],JSONReferenceElement:["content"],MediaElement:["content"],LinkDescriptionElement:["content"],...wn},Zs=ne((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof Fs||e(r)&&t("JSONSchemaDraft6",r)&&n("object",r))),ei=ne((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof Ds||e(r)&&t("linkDescription",r)&&n("object",r))),ti={namespace:e=>{const{base:t}=e;return t.register("jSONSchemaDraft6",Fs),t.register("jSONReference",Rn),t.register("media",Dn),t.register("linkDescription",Ds),t}},ni=()=>{const e=en(ti);return{predicates:{...s,isStringElement:se},namespace:e}},ri=(e,{specPath:t=["visitors","document","objects","JSONSchema","$visitor"],plugins:n=[],specificationObj:r=Qs}={})=>{const s=(0,o.Qc)(e),i=Xn(r),c=$t(t,[],i);return An(s,c,{state:{specObj:i}}),kn(c.element,n,{toolboxCreator:ni,visitorOptions:{keyMap:Xs,nodeTypeGetter:Ys}})},si=e=>(t,n={})=>ri(t,{specPath:e,...n});Fs.refract=si(["visitors","document","objects","JSONSchema","$visitor"]),Ds.refract=si(["visitors","document","objects","LinkDescription","$visitor"]);const ii=class extends Fs{constructor(e,t,n){super(e,t,n),this.element="JSONSchemaDraft7"}get $comment(){return this.get("$comment")}set $comment(e){this.set("$comment",e)}get if(){return this.get("if")}set if(e){this.set("if",e)}get then(){return this.get("then")}set then(e){this.set("then",e)}get else(){return this.get("else")}set else(e){this.set("else",e)}get contentEncoding(){return this.get("contentEncoding")}set contentEncoding(e){this.set("contentEncoding",e)}get contentMediaType(){return this.get("contentMediaType")}set contentMediaType(e){this.set("contentMediaType",e)}get media(){throw new Pe('media keyword from Hyper-Schema vocabulary has been moved to validation vocabulary as "contentMediaType" / "contentEncoding"')}set media(e){throw new Pe('media keyword from Hyper-Schema vocabulary has been moved to validation vocabulary as "contentMediaType" / "contentEncoding"')}get writeOnly(){return this.get("writeOnly")}set writeOnly(e){this.set("writeOnly",e)}};const oi=class extends Ds{get anchor(){return this.get("anchor")}set anchor(e){this.set("anchor",e)}get anchorPointer(){return this.get("anchorPointer")}set anchorPointer(e){this.set("anchorPointer",e)}get templatePointers(){return this.get("templatePointers")}set templatePointers(e){this.set("templatePointers",e)}get templateRequired(){return this.get("templateRequired")}set templateRequired(e){this.set("templateRequired",e)}get mediaType(){throw new Pe("mediaType keyword from Hyper-Schema vocabulary has been renamed to targetMediaType.")}set mediaType(e){throw new Pe("mediaType keyword from Hyper-Schema vocabulary has been renamed to targetMediaType.")}get targetMediaType(){return this.get("targetMediaType")}set targetMediaType(e){this.set("targetMediaType",e)}get targetHints(){return this.get("targetHints")}set targetHints(e){this.set("targetHints",e)}get description(){return this.get("description")}set description(e){this.set("description",e)}get $comment(){return this.get("$comment")}set $comment(e){this.set("$comment",e)}get submissionEncType(){throw new Pe("submissionEncType keyword from Hyper-Schema vocabulary has been renamed to submissionMediaType.")}set submissionEncType(e){throw new Pe("submissionEncType keyword from Hyper-Schema vocabulary has been renamed to submissionMediaType.")}get submissionMediaType(){return this.get("submissionMediaType")}set submissionMediaType(e){this.set("submissionMediaType",e)}},ci={namespace:e=>{const{base:t}=e;return t.register("jSONSchemaDraft7",ii),t.register("jSONReference",Rn),t.register("linkDescription",oi),t}},ai=e=>{if(re(e))return`${e.element.charAt(0).toUpperCase()+e.element.slice(1)}Element`},ui={JSONSchemaDraft7Element:["content"],JSONReferenceElement:["content"],LinkDescriptionElement:["content"],...wn},li=e=>se(e)&&Oe(["yaml-e-node","yaml-e-scalar"],e),pi={JSONSchemaDraft7Element:{additionalItems:(...e)=>new ii(...e),items:(...e)=>new ii(...e),contains:(...e)=>new ii(...e),required(...e){const t=new o.ON(...e);return t.classes.push("json-schema-required"),t},properties(...e){const t=new o.Sb(...e);return t.classes.push("json-schema-properties"),t},additionalProperties:(...e)=>new ii(...e),patternProperties(...e){const t=new o.Sb(...e);return t.classes.push("json-schema-patternProperties"),t},dependencies(...e){const t=new o.Sb(...e);return t.classes.push("json-schema-dependencies"),t},propertyNames:(...e)=>new ii(...e),enum(...e){const t=new o.ON(...e);return t.classes.push("json-schema-enum"),t},allOf(...e){const t=new o.ON(...e);return t.classes.push("json-schema-allOf"),t},anyOf(...e){const t=new o.ON(...e);return t.classes.push("json-schema-anyOf"),t},oneOf(...e){const t=new o.ON(...e);return t.classes.push("json-schema-oneOf"),t},if:(...e)=>new ii(...e),then:(...e)=>new ii(...e),else:(...e)=>new ii(...e),not:(...e)=>new ii(...e),definitions(...e){const t=new o.Sb(...e);return t.classes.push("json-schema-definitions"),t},examples(...e){const t=new o.ON(...e);return t.classes.push("json-schema-examples"),t},links(...e){const t=new o.ON(...e);return t.classes.push("json-schema-links"),t}},LinkDescriptionElement:{hrefSchema:(...e)=>new ii(...e),targetSchema:(...e)=>new ii(...e),submissionSchema:(...e)=>new ii(...e),templatePointers:(...e)=>new o.Sb(...e),templateRequired:(...e)=>new o.ON(...e),targetHints:(...e)=>new o.Sb(...e)},"json-schema-properties":{"[key: *]":function(...e){return new ii(...e)}},"json-schema-patternProperties":{"[key: *]":function(...e){return new ii(...e)}},"json-schema-dependencies":{"[key: *]":function(...e){return new ii(...e)}},"json-schema-allOf":{"<*>":function(...e){return new ii(...e)}},"json-schema-anyOf":{"<*>":function(...e){return new ii(...e)}},"json-schema-oneOf":{"<*>":function(...e){return new ii(...e)}},"json-schema-definitions":{"[key: *]":function(...e){return new ii(...e)}},"json-schema-links":{"<*>":function(...e){return new oi(...e)}}},fi=(e,t)=>{const n=ai(e),r=pi[n]||pi[ur(e.classes.first)];return void 0===r?void 0:Object.prototype.hasOwnProperty.call(r,"[key: *]")?r["[key: *]"]:r[t]},hi=()=>()=>({visitor:{MemberElement(e,...t){if(!li(e.value))return;const[,,,n]=t,r=n[n.length-1],s=fi(r,ur(e.key));if(void 0===s)return;const i=e.value;return new o.c6(e.key,s.call({context:r},void 0,bn(i.meta),bn(i.attributes)),bn(e.meta),bn(e.attributes))},StringElement(e,...t){if(!li(e))return;const[,,,n]=t,r=n[n.length-1];if(!ue(r))return;const s=fi(r,"<*>");return void 0!==s?s.call({context:e},void 0,bn(e.meta),bn(e.attributes)):void 0}}}),mi=sn()(mr,er,{props:{specPath:z(["document","objects","JSONSchema"])},methods:{ObjectElement(e){return this.element=new ii,mr.compose.methods.ObjectElement.call(this,e)},BooleanElement(e){return this.element=bn(e),this.element.classes.push("boolean-json-schema"),ln}}}),di=er,yi=er,vi=er,bi=er,gi=sn()(mr,er,{props:{specPath:z(["document","objects","LinkDescription"])},init(){this.element=new oi}}),Oi=er,ji=er,Si=er,Ei=er,xi=er,wi=er,Ai=er,ki=At(Js(["visitors","document","objects","JSONSchema","$visitor"],mi),Js(["visitors","document","objects","JSONSchema","fixedFields","$comment"],di),Js(["visitors","document","objects","JSONSchema","fixedFields","if"],Qs.visitors.JSONSchemaOrJSONReferenceVisitor),Js(["visitors","document","objects","JSONSchema","fixedFields","then"],Qs.visitors.JSONSchemaOrJSONReferenceVisitor),Js(["visitors","document","objects","JSONSchema","fixedFields","else"],Qs.visitors.JSONSchemaOrJSONReferenceVisitor),Bs(["visitors","document","objects","JSONSchema","fixedFields","media"]),Js(["visitors","document","objects","JSONSchema","fixedFields","contentEncoding"],yi),Js(["visitors","document","objects","JSONSchema","fixedFields","contentMediaType"],vi),Js(["visitors","document","objects","JSONSchema","fixedFields","writeOnly"],bi),Js(["visitors","document","objects","LinkDescription","$visitor"],gi),Js(["visitors","document","objects","LinkDescription","fixedFields","anchor"],Oi),Js(["visitors","document","objects","LinkDescription","fixedFields","anchorPointer"],ji),Bs(["visitors","document","objects","LinkDescription","fixedFields","mediaType"]),Js(["visitors","document","objects","LinkDescription","fixedFields","targetMediaType"],Si),Js(["visitors","document","objects","LinkDescription","fixedFields","targetHints"],Ei),Js(["visitors","document","objects","LinkDescription","fixedFields","description"],xi),Js(["visitors","document","objects","LinkDescription","fixedFields","$comment"],wi),Bs(["visitors","document","objects","LinkDescription","fixedFields","submissionEncType"]),Js(["visitors","document","objects","LinkDescription","fixedFields","submissionMediaType"],Ai))(Qs),Pi=ne((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof ii||e(r)&&t("JSONSchemaDraft7",r)&&n("object",r))),_i=ne((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof oi||e(r)&&t("linkDescription",r)&&n("object",r))),Ni=()=>{const e=en(ci);return{predicates:{...i,isStringElement:se},namespace:e}},Ti=(e,{specPath:t=["visitors","document","objects","JSONSchema","$visitor"],plugins:n=[],specificationObj:r=ki}={})=>{const s=(0,o.Qc)(e),i=Xn(r),c=$t(t,[],i);return An(s,c,{state:{specObj:i}}),kn(c.element,n,{toolboxCreator:Ni,visitorOptions:{keyMap:ui,nodeTypeGetter:ai}})},Mi=e=>(t,n={})=>Ti(t,{specPath:e,...n}),Ri=Ti})(),r})()));
|
|
1
|
+
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.apidomNsJSONSchemaDraft7=t():e.apidomNsJSONSchemaDraft7=t()}(self,(()=>(()=>{var e={42:(e,t,n)=>{"use strict";var r=n(5846);e.exports=r},6791:(e,t,n)=>{"use strict";n(4339),n(4242),n(4016),n(8939),n(5454);var r=n(7545);e.exports=r.AggregateError},6762:(e,t,n)=>{"use strict";e.exports=n(3028)},3028:(e,t,n)=>{"use strict";n(2752);var r=n(42);e.exports=r},6235:(e,t,n)=>{"use strict";var r=n(6447),s=n(9288),i=TypeError;e.exports=function(e){if(r(e))return e;throw new i(s(e)+" is not a function")}},7757:(e,t,n)=>{"use strict";var r=n(6447),s=String,i=TypeError;e.exports=function(e){if("object"==typeof e||r(e))return e;throw new i("Can't set "+s(e)+" as a prototype")}},7423:e=>{"use strict";e.exports=function(){}},1138:(e,t,n)=>{"use strict";var r=n(5744),s=String,i=TypeError;e.exports=function(e){if(r(e))return e;throw new i(s(e)+" is not an object")}},8180:(e,t,n)=>{"use strict";var r=n(101),s=n(7739),i=n(4104),o=function(e){return function(t,n,o){var c,a=r(t),u=i(a),l=s(o,u);if(e&&n!=n){for(;u>l;)if((c=a[l++])!=c)return!0}else for(;u>l;l++)if((e||l in a)&&a[l]===n)return e||l||0;return!e&&-1}};e.exports={includes:o(!0),indexOf:o(!1)}},9272:(e,t,n)=>{"use strict";var r=n(4120),s=r({}.toString),i=r("".slice);e.exports=function(e){return i(s(e),8,-1)}},4696:(e,t,n)=>{"use strict";var r=n(3471),s=n(6447),i=n(9272),o=n(8182)("toStringTag"),c=Object,a="Arguments"===i(function(){return arguments}());e.exports=r?i:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=c(e),o))?n:a?i(t):"Object"===(r=i(t))&&s(t.callee)?"Arguments":r}},7987:(e,t,n)=>{"use strict";var r=n(4500),s=n(3011),i=n(5141),o=n(2454);e.exports=function(e,t,n){for(var c=s(t),a=o.f,u=i.f,l=0;l<c.length;l++){var p=c[l];r(e,p)||n&&r(n,p)||a(e,p,u(t,p))}}},4635:(e,t,n)=>{"use strict";var r=n(6192);e.exports=!r((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},7271:e=>{"use strict";e.exports=function(e,t){return{value:e,done:t}}},8711:(e,t,n)=>{"use strict";var r=n(69),s=n(2454),i=n(774);e.exports=r?function(e,t,n){return s.f(e,t,i(1,n))}:function(e,t,n){return e[t]=n,e}},774:e=>{"use strict";e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},9362:(e,t,n)=>{"use strict";var r=n(8711);e.exports=function(e,t,n,s){return s&&s.enumerable?e[t]=n:r(e,t,n),e}},5098:(e,t,n)=>{"use strict";var r=n(8576),s=Object.defineProperty;e.exports=function(e,t){try{s(r,e,{value:t,configurable:!0,writable:!0})}catch(n){r[e]=t}return t}},69:(e,t,n)=>{"use strict";var r=n(6192);e.exports=!r((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]}))},8382:e=>{"use strict";var t="object"==typeof document&&document.all,n=void 0===t&&void 0!==t;e.exports={all:t,IS_HTMLDDA:n}},7449:(e,t,n)=>{"use strict";var r=n(8576),s=n(5744),i=r.document,o=s(i)&&s(i.createElement);e.exports=function(e){return o?i.createElement(e):{}}},7365: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}},8989:e=>{"use strict";e.exports="undefined"!=typeof navigator&&String(navigator.userAgent)||""},4218:(e,t,n)=>{"use strict";var r,s,i=n(8576),o=n(8989),c=i.process,a=i.Deno,u=c&&c.versions||a&&a.version,l=u&&u.v8;l&&(s=(r=l.split("."))[0]>0&&r[0]<4?1:+(r[0]+r[1])),!s&&o&&(!(r=o.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=o.match(/Chrome\/(\d+)/))&&(s=+r[1]),e.exports=s},2952:e=>{"use strict";e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},4503:(e,t,n)=>{"use strict";var r=n(4120),s=Error,i=r("".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}},8266:(e,t,n)=>{"use strict";var r=n(8711),s=n(4503),i=n(274),o=Error.captureStackTrace;e.exports=function(e,t,n,c){i&&(o?o(e,t):r(e,"stack",s(n,c)))}},274:(e,t,n)=>{"use strict";var r=n(6192),s=n(774);e.exports=!r((function(){var e=new Error("a");return!("stack"in e)||(Object.defineProperty(e,"stack",s(1,7)),7!==e.stack)}))},3085:(e,t,n)=>{"use strict";var r=n(8576),s=n(6298),i=n(4914),o=n(6447),c=n(5141).f,a=n(9245),u=n(7545),l=n(8043),p=n(8711),f=n(4500),h=function(e){var t=function(n,r,i){if(this instanceof t){switch(arguments.length){case 0:return new e;case 1:return new e(n);case 2:return new e(n,r)}return new e(n,r,i)}return s(e,this,arguments)};return t.prototype=e.prototype,t};e.exports=function(e,t){var n,s,m,d,y,v,b,g,O,j=e.target,S=e.global,E=e.stat,x=e.proto,w=S?r:E?r[j]:(r[j]||{}).prototype,A=S?u:u[j]||p(u,j,{})[j],k=A.prototype;for(d in t)s=!(n=a(S?d:j+(E?".":"#")+d,e.forced))&&w&&f(w,d),v=A[d],s&&(b=e.dontCallGetSet?(O=c(w,d))&&O.value:w[d]),y=s&&b?b:t[d],s&&typeof v==typeof y||(g=e.bind&&s?l(y,r):e.wrap&&s?h(y):x&&o(y)?i(y):y,(e.sham||y&&y.sham||v&&v.sham)&&p(g,"sham",!0),p(A,d,g),x&&(f(u,m=j+"Prototype")||p(u,m,{}),p(u[m],d,y),e.real&&k&&(n||!k[d])&&p(k,d,y)))}},6192:e=>{"use strict";e.exports=function(e){try{return!!e()}catch(e){return!0}}},6298:(e,t,n)=>{"use strict";var r=n(2784),s=Function.prototype,i=s.apply,o=s.call;e.exports="object"==typeof Reflect&&Reflect.apply||(r?o.bind(i):function(){return o.apply(i,arguments)})},8043:(e,t,n)=>{"use strict";var r=n(4914),s=n(6235),i=n(2784),o=r(r.bind);e.exports=function(e,t){return s(e),void 0===t?e:i?o(e,t):function(){return e.apply(t,arguments)}}},2784:(e,t,n)=>{"use strict";var r=n(6192);e.exports=!r((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))},8922:(e,t,n)=>{"use strict";var r=n(2784),s=Function.prototype.call;e.exports=r?s.bind(s):function(){return s.apply(s,arguments)}},2282:(e,t,n)=>{"use strict";var r=n(69),s=n(4500),i=Function.prototype,o=r&&Object.getOwnPropertyDescriptor,c=s(i,"name"),a=c&&"something"===function(){}.name,u=c&&(!r||r&&o(i,"name").configurable);e.exports={EXISTS:c,PROPER:a,CONFIGURABLE:u}},6419:(e,t,n)=>{"use strict";var r=n(4120),s=n(6235);e.exports=function(e,t,n){try{return r(s(Object.getOwnPropertyDescriptor(e,t)[n]))}catch(e){}}},4914:(e,t,n)=>{"use strict";var r=n(9272),s=n(4120);e.exports=function(e){if("Function"===r(e))return s(e)}},4120:(e,t,n)=>{"use strict";var r=n(2784),s=Function.prototype,i=s.call,o=r&&s.bind.bind(i,i);e.exports=r?o:function(e){return function(){return i.apply(e,arguments)}}},150:(e,t,n)=>{"use strict";var r=n(7545),s=n(8576),i=n(6447),o=function(e){return i(e)?e:void 0};e.exports=function(e,t){return arguments.length<2?o(r[e])||o(s[e]):r[e]&&r[e][t]||s[e]&&s[e][t]}},8703:(e,t,n)=>{"use strict";var r=n(4696),s=n(5037),i=n(5646),o=n(7771),c=n(8182)("iterator");e.exports=function(e){if(!i(e))return s(e,c)||s(e,"@@iterator")||o[r(e)]}},1669:(e,t,n)=>{"use strict";var r=n(8922),s=n(6235),i=n(1138),o=n(9288),c=n(8703),a=TypeError;e.exports=function(e,t){var n=arguments.length<2?c(e):t;if(s(n))return i(r(n,e));throw new a(o(e)+" is not iterable")}},5037:(e,t,n)=>{"use strict";var r=n(6235),s=n(5646);e.exports=function(e,t){var n=e[t];return s(n)?void 0:r(n)}},8576:function(e,t,n){"use strict";var r=function(e){return e&&e.Math===Math&&e};e.exports=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof n.g&&n.g)||function(){return this}()||this||Function("return this")()},4500:(e,t,n)=>{"use strict";var r=n(4120),s=n(1795),i=r({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return i(s(e),t)}},4535:e=>{"use strict";e.exports={}},7403:(e,t,n)=>{"use strict";var r=n(150);e.exports=r("document","documentElement")},188:(e,t,n)=>{"use strict";var r=n(69),s=n(6192),i=n(7449);e.exports=!r&&!s((function(){return 7!==Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},2202:(e,t,n)=>{"use strict";var r=n(4120),s=n(6192),i=n(9272),o=Object,c=r("".split);e.exports=s((function(){return!o("z").propertyIsEnumerable(0)}))?function(e){return"String"===i(e)?c(e,""):o(e)}:o},2643:(e,t,n)=>{"use strict";var r=n(6447),s=n(5744),i=n(4469);e.exports=function(e,t,n){var o,c;return i&&r(o=t.constructor)&&o!==n&&s(c=o.prototype)&&c!==n.prototype&&i(e,c),e}},273:(e,t,n)=>{"use strict";var r=n(5744),s=n(8711);e.exports=function(e,t){r(t)&&"cause"in t&&s(e,"cause",t.cause)}},3326:(e,t,n)=>{"use strict";var r,s,i,o=n(5278),c=n(8576),a=n(5744),u=n(8711),l=n(4500),p=n(6434),f=n(9766),h=n(4535),m="Object already initialized",d=c.TypeError,y=c.WeakMap;if(o||p.state){var v=p.state||(p.state=new y);v.get=v.get,v.has=v.has,v.set=v.set,r=function(e,t){if(v.has(e))throw new d(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 b=f("state");h[b]=!0,r=function(e,t){if(l(e,b))throw new d(m);return t.facade=e,u(e,b,t),t},s=function(e){return l(e,b)?e[b]:{}},i=function(e){return l(e,b)}}e.exports={set:r,get:s,has:i,enforce:function(e){return i(e)?s(e):r(e,{})},getterFor:function(e){return function(t){var n;if(!a(t)||(n=s(t)).type!==e)throw new d("Incompatible receiver, "+e+" required");return n}}}},6109:(e,t,n)=>{"use strict";var r=n(8182),s=n(7771),i=r("iterator"),o=Array.prototype;e.exports=function(e){return void 0!==e&&(s.Array===e||o[i]===e)}},6447:(e,t,n)=>{"use strict";var r=n(8382),s=r.all;e.exports=r.IS_HTMLDDA?function(e){return"function"==typeof e||e===s}:function(e){return"function"==typeof e}},9245:(e,t,n)=>{"use strict";var r=n(6192),s=n(6447),i=/#|\.prototype\./,o=function(e,t){var n=a[c(e)];return n===l||n!==u&&(s(t)?r(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},5646:e=>{"use strict";e.exports=function(e){return null==e}},5744:(e,t,n)=>{"use strict";var r=n(6447),s=n(8382),i=s.all;e.exports=s.IS_HTMLDDA?function(e){return"object"==typeof e?null!==e:r(e)||e===i}:function(e){return"object"==typeof e?null!==e:r(e)}},5546:e=>{"use strict";e.exports=!0},3236:(e,t,n)=>{"use strict";var r=n(150),s=n(6447),i=n(8902),o=n(615),c=Object;e.exports=o?function(e){return"symbol"==typeof e}:function(e){var t=r("Symbol");return s(t)&&i(t.prototype,c(e))}},3442:(e,t,n)=>{"use strict";var r=n(8043),s=n(8922),i=n(1138),o=n(9288),c=n(6109),a=n(4104),u=n(8902),l=n(1669),p=n(8703),f=n(6639),h=TypeError,m=function(e,t){this.stopped=e,this.result=t},d=m.prototype;e.exports=function(e,t,n){var y,v,b,g,O,j,S,E=n&&n.that,x=!(!n||!n.AS_ENTRIES),w=!(!n||!n.IS_RECORD),A=!(!n||!n.IS_ITERATOR),k=!(!n||!n.INTERRUPTED),P=r(t,E),_=function(e){return y&&f(y,"normal",e),new m(!0,e)},N=function(e){return x?(i(e),k?P(e[0],e[1],_):P(e[0],e[1])):k?P(e,_):P(e)};if(w)y=e.iterator;else if(A)y=e;else{if(!(v=p(e)))throw new h(o(e)+" is not iterable");if(c(v)){for(b=0,g=a(e);g>b;b++)if((O=N(e[b]))&&u(d,O))return O;return new m(!1)}y=l(e,v)}for(j=w?e.next:y.next;!(S=s(j,y)).done;){try{O=N(S.value)}catch(e){f(y,"throw",e)}if("object"==typeof O&&O&&u(d,O))return O}return new m(!1)}},6639:(e,t,n)=>{"use strict";var r=n(8922),s=n(1138),i=n(5037);e.exports=function(e,t,n){var o,c;s(e);try{if(!(o=i(e,"return"))){if("throw"===t)throw n;return n}o=r(o,e)}catch(e){c=!0,o=e}if("throw"===t)throw n;if(c)throw o;return s(o),n}},5695:(e,t,n)=>{"use strict";var r=n(4413).IteratorPrototype,s=n(2853),i=n(774),o=n(1284),c=n(7771),a=function(){return this};e.exports=function(e,t,n,u){var l=t+" Iterator";return e.prototype=s(r,{next:i(+!u,n)}),o(e,l,!1,!0),c[l]=a,e}},5297:(e,t,n)=>{"use strict";var r=n(3085),s=n(8922),i=n(5546),o=n(2282),c=n(6447),a=n(5695),u=n(9341),l=n(4469),p=n(1284),f=n(8711),h=n(9362),m=n(8182),d=n(7771),y=n(4413),v=o.PROPER,b=o.CONFIGURABLE,g=y.IteratorPrototype,O=y.BUGGY_SAFARI_ITERATORS,j=m("iterator"),S="keys",E="values",x="entries",w=function(){return this};e.exports=function(e,t,n,o,m,y,A){a(n,t,o);var k,P,_,N=function(e){if(e===m&&D)return D;if(!O&&e&&e in R)return R[e];switch(e){case S:case E:case x:return function(){return new n(this,e)}}return function(){return new n(this)}},T=t+" Iterator",M=!1,R=e.prototype,F=R[j]||R["@@iterator"]||m&&R[m],D=!O&&F||N(m),L="Array"===t&&R.entries||F;if(L&&(k=u(L.call(new e)))!==Object.prototype&&k.next&&(i||u(k)===g||(l?l(k,g):c(k[j])||h(k,j,w)),p(k,T,!0,!0),i&&(d[T]=w)),v&&m===E&&F&&F.name!==E&&(!i&&b?f(R,"name",E):(M=!0,D=function(){return s(F,this)})),m)if(P={values:N(E),keys:y?D:N(S),entries:N(x)},A)for(_ in P)(O||M||!(_ in R))&&h(R,_,P[_]);else r({target:t,proto:!0,forced:O||M},P);return i&&!A||R[j]===D||h(R,j,D,{name:m}),d[t]=D,P}},4413:(e,t,n)=>{"use strict";var r,s,i,o=n(6192),c=n(6447),a=n(5744),u=n(2853),l=n(9341),p=n(9362),f=n(8182),h=n(5546),m=f("iterator"),d=!1;[].keys&&("next"in(i=[].keys())?(s=l(l(i)))!==Object.prototype&&(r=s):d=!0),!a(r)||o((function(){var e={};return r[m].call(e)!==e}))?r={}:h&&(r=u(r)),c(r[m])||p(r,m,(function(){return this})),e.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:d}},7771:e=>{"use strict";e.exports={}},4104:(e,t,n)=>{"use strict";var r=n(8445);e.exports=function(e){return r(e.length)}},7679:e=>{"use strict";var t=Math.ceil,n=Math.floor;e.exports=Math.trunc||function(e){var r=+e;return(r>0?n:t)(r)}},6016:(e,t,n)=>{"use strict";var r=n(4845);e.exports=function(e,t){return void 0===e?arguments.length<2?"":t:r(e)}},2853:(e,t,n)=>{"use strict";var r,s=n(1138),i=n(1187),o=n(2952),c=n(4535),a=n(7403),u=n(7449),l=n(9766),p="prototype",f="script",h=l("IE_PROTO"),m=function(){},d=function(e){return"<"+f+">"+e+"</"+f+">"},y=function(e){e.write(d("")),e.close();var t=e.parentWindow.Object;return e=null,t},v=function(){try{r=new ActiveXObject("htmlfile")}catch(e){}var e,t,n;v="undefined"!=typeof document?document.domain&&r?y(r):(t=u("iframe"),n="java"+f+":",t.style.display="none",a.appendChild(t),t.src=String(n),(e=t.contentWindow.document).open(),e.write(d("document.F=Object")),e.close(),e.F):y(r);for(var s=o.length;s--;)delete v[p][o[s]];return v()};c[h]=!0,e.exports=Object.create||function(e,t){var n;return null!==e?(m[p]=s(e),n=new m,m[p]=null,n[h]=e):n=v(),void 0===t?n:i.f(n,t)}},1187:(e,t,n)=>{"use strict";var r=n(69),s=n(9600),i=n(2454),o=n(1138),c=n(101),a=n(7653);t.f=r&&!s?Object.defineProperties:function(e,t){o(e);for(var n,r=c(t),s=a(t),u=s.length,l=0;u>l;)i.f(e,n=s[l++],r[n]);return e}},2454:(e,t,n)=>{"use strict";var r=n(69),s=n(188),i=n(9600),o=n(1138),c=n(77),a=TypeError,u=Object.defineProperty,l=Object.getOwnPropertyDescriptor,p="enumerable",f="configurable",h="writable";t.f=r?i?function(e,t,n){if(o(e),t=c(t),o(n),"function"==typeof e&&"prototype"===t&&"value"in n&&h in n&&!n[h]){var r=l(e,t);r&&r[h]&&(e[t]=n.value,n={configurable:f in n?n[f]:r[f],enumerable:p in n?n[p]:r[p],writable:!1})}return u(e,t,n)}:u:function(e,t,n){if(o(e),t=c(t),o(n),s)try{return u(e,t,n)}catch(e){}if("get"in n||"set"in n)throw new a("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},5141:(e,t,n)=>{"use strict";var r=n(69),s=n(8922),i=n(6007),o=n(774),c=n(101),a=n(77),u=n(4500),l=n(188),p=Object.getOwnPropertyDescriptor;t.f=r?p:function(e,t){if(e=c(e),t=a(t),l)try{return p(e,t)}catch(e){}if(u(e,t))return o(!s(i.f,e,t),e[t])}},2092:(e,t,n)=>{"use strict";var r=n(7934),s=n(2952).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,s)}},4750:(e,t)=>{"use strict";t.f=Object.getOwnPropertySymbols},9341:(e,t,n)=>{"use strict";var r=n(4500),s=n(6447),i=n(1795),o=n(9766),c=n(4635),a=o("IE_PROTO"),u=Object,l=u.prototype;e.exports=c?u.getPrototypeOf:function(e){var t=i(e);if(r(t,a))return t[a];var n=t.constructor;return s(n)&&t instanceof n?n.prototype:t instanceof u?l:null}},8902:(e,t,n)=>{"use strict";var r=n(4120);e.exports=r({}.isPrototypeOf)},7934:(e,t,n)=>{"use strict";var r=n(4120),s=n(4500),i=n(101),o=n(8180).indexOf,c=n(4535),a=r([].push);e.exports=function(e,t){var n,r=i(e),u=0,l=[];for(n in r)!s(c,n)&&s(r,n)&&a(l,n);for(;t.length>u;)s(r,n=t[u++])&&(~o(l,n)||a(l,n));return l}},7653:(e,t,n)=>{"use strict";var r=n(7934),s=n(2952);e.exports=Object.keys||function(e){return r(e,s)}},6007:(e,t)=>{"use strict";var n={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,s=r&&!n.call({1:2},1);t.f=s?function(e){var t=r(this,e);return!!t&&t.enumerable}:n},4469:(e,t,n)=>{"use strict";var r=n(6419),s=n(1138),i=n(7757);e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=r(Object.prototype,"__proto__","set"))(n,[]),t=n instanceof Array}catch(e){}return function(n,r){return s(n),i(r),t?e(n,r):n.__proto__=r,n}}():void 0)},158:(e,t,n)=>{"use strict";var r=n(3471),s=n(4696);e.exports=r?{}.toString:function(){return"[object "+s(this)+"]"}},380:(e,t,n)=>{"use strict";var r=n(8922),s=n(6447),i=n(5744),o=TypeError;e.exports=function(e,t){var n,c;if("string"===t&&s(n=e.toString)&&!i(c=r(n,e)))return c;if(s(n=e.valueOf)&&!i(c=r(n,e)))return c;if("string"!==t&&s(n=e.toString)&&!i(c=r(n,e)))return c;throw new o("Can't convert object to primitive value")}},3011:(e,t,n)=>{"use strict";var r=n(150),s=n(4120),i=n(2092),o=n(4750),c=n(1138),a=s([].concat);e.exports=r("Reflect","ownKeys")||function(e){var t=i.f(c(e)),n=o.f;return n?a(t,n(e)):t}},7545:e=>{"use strict";e.exports={}},7656:(e,t,n)=>{"use strict";var r=n(2454).f;e.exports=function(e,t,n){n in e||r(e,n,{configurable:!0,get:function(){return t[n]},set:function(e){t[n]=e}})}},3209:(e,t,n)=>{"use strict";var r=n(5646),s=TypeError;e.exports=function(e){if(r(e))throw new s("Can't call method on "+e);return e}},1284:(e,t,n)=>{"use strict";var r=n(3471),s=n(2454).f,i=n(8711),o=n(4500),c=n(158),a=n(8182)("toStringTag");e.exports=function(e,t,n,u){if(e){var l=n?e:e.prototype;o(l,a)||s(l,a,{configurable:!0,value:t}),u&&!r&&i(l,"toString",c)}}},9766:(e,t,n)=>{"use strict";var r=n(8717),s=n(2759),i=r("keys");e.exports=function(e){return i[e]||(i[e]=s(e))}},6434:(e,t,n)=>{"use strict";var r=n(8576),s=n(5098),i="__core-js_shared__",o=r[i]||s(i,{});e.exports=o},8717:(e,t,n)=>{"use strict";var r=n(5546),s=n(6434);(e.exports=function(e,t){return s[e]||(s[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.33.0",mode:r?"pure":"global",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.33.0/LICENSE",source:"https://github.com/zloirock/core-js"})},863:(e,t,n)=>{"use strict";var r=n(4120),s=n(1941),i=n(4845),o=n(3209),c=r("".charAt),a=r("".charCodeAt),u=r("".slice),l=function(e){return function(t,n){var r,l,p=i(o(t)),f=s(n),h=p.length;return f<0||f>=h?e?"":void 0:(r=a(p,f))<55296||r>56319||f+1===h||(l=a(p,f+1))<56320||l>57343?e?c(p,f):r:e?u(p,f,f+2):l-56320+(r-55296<<10)+65536}};e.exports={codeAt:l(!1),charAt:l(!0)}},6770:(e,t,n)=>{"use strict";var r=n(4218),s=n(6192),i=n(8576).String;e.exports=!!Object.getOwnPropertySymbols&&!s((function(){var e=Symbol("symbol detection");return!i(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&r&&r<41}))},7739:(e,t,n)=>{"use strict";var r=n(1941),s=Math.max,i=Math.min;e.exports=function(e,t){var n=r(e);return n<0?s(n+t,0):i(n,t)}},101:(e,t,n)=>{"use strict";var r=n(2202),s=n(3209);e.exports=function(e){return r(s(e))}},1941:(e,t,n)=>{"use strict";var r=n(7679);e.exports=function(e){var t=+e;return t!=t||0===t?0:r(t)}},8445:(e,t,n)=>{"use strict";var r=n(1941),s=Math.min;e.exports=function(e){return e>0?s(r(e),9007199254740991):0}},1795:(e,t,n)=>{"use strict";var r=n(3209),s=Object;e.exports=function(e){return s(r(e))}},7888:(e,t,n)=>{"use strict";var r=n(8922),s=n(5744),i=n(3236),o=n(5037),c=n(380),a=n(8182),u=TypeError,l=a("toPrimitive");e.exports=function(e,t){if(!s(e)||i(e))return e;var n,a=o(e,l);if(a){if(void 0===t&&(t="default"),n=r(a,e,t),!s(n)||i(n))return n;throw new u("Can't convert object to primitive value")}return void 0===t&&(t="number"),c(e,t)}},77:(e,t,n)=>{"use strict";var r=n(7888),s=n(3236);e.exports=function(e){var t=r(e,"string");return s(t)?t:t+""}},3471:(e,t,n)=>{"use strict";var r={};r[n(8182)("toStringTag")]="z",e.exports="[object z]"===String(r)},4845:(e,t,n)=>{"use strict";var r=n(4696),s=String;e.exports=function(e){if("Symbol"===r(e))throw new TypeError("Cannot convert a Symbol value to a string");return s(e)}},9288:e=>{"use strict";var t=String;e.exports=function(e){try{return t(e)}catch(e){return"Object"}}},2759:(e,t,n)=>{"use strict";var r=n(4120),s=0,i=Math.random(),o=r(1..toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+o(++s+i,36)}},615:(e,t,n)=>{"use strict";var r=n(6770);e.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},9600:(e,t,n)=>{"use strict";var r=n(69),s=n(6192);e.exports=r&&s((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},5278:(e,t,n)=>{"use strict";var r=n(8576),s=n(6447),i=r.WeakMap;e.exports=s(i)&&/native code/.test(String(i))},8182:(e,t,n)=>{"use strict";var r=n(8576),s=n(8717),i=n(4500),o=n(2759),c=n(6770),a=n(615),u=r.Symbol,l=s("wks"),p=a?u.for||u:u&&u.withoutSetter||o;e.exports=function(e){return i(l,e)||(l[e]=c&&i(u,e)?u[e]:p("Symbol."+e)),l[e]}},426:(e,t,n)=>{"use strict";var r=n(150),s=n(4500),i=n(8711),o=n(8902),c=n(4469),a=n(7987),u=n(7656),l=n(2643),p=n(6016),f=n(273),h=n(8266),m=n(69),d=n(5546);e.exports=function(e,t,n,y){var v="stackTraceLimit",b=y?2:1,g=e.split("."),O=g[g.length-1],j=r.apply(null,g);if(j){var S=j.prototype;if(!d&&s(S,"cause")&&delete S.cause,!n)return j;var E=r("Error"),x=t((function(e,t){var n=p(y?t:e,void 0),r=y?new j(e):new j;return void 0!==n&&i(r,"message",n),h(r,x,r.stack,2),this&&o(S,this)&&l(r,this,x),arguments.length>b&&f(r,arguments[b]),r}));if(x.prototype=S,"Error"!==O?c?c(x,E):a(x,E,{name:!0}):m&&v in j&&(u(x,j,v),u(x,j,"prepareStackTrace")),a(x,j),!d)try{S.name!==O&&i(S,"name",O),S.constructor=x}catch(e){}return x}}},4016:(e,t,n)=>{"use strict";var r=n(3085),s=n(150),i=n(6298),o=n(6192),c=n(426),a="AggregateError",u=s(a),l=!o((function(){return 1!==u([1]).errors[0]}))&&o((function(){return 7!==u([1],a,{cause:7}).cause}));r({global:!0,constructor:!0,arity:2,forced:l},{AggregateError:c(a,(function(e){return function(t,n){return i(e,this,arguments)}}),l,!0)})},3820:(e,t,n)=>{"use strict";var r=n(3085),s=n(8902),i=n(9341),o=n(4469),c=n(7987),a=n(2853),u=n(8711),l=n(774),p=n(273),f=n(8266),h=n(3442),m=n(6016),d=n(8182)("toStringTag"),y=Error,v=[].push,b=function(e,t){var n,r=s(g,this);o?n=o(new y,r?i(this):g):(n=r?this:a(g),u(n,d,"Error")),void 0!==t&&u(n,"message",m(t)),f(n,b,n.stack,1),arguments.length>2&&p(n,arguments[2]);var c=[];return h(e,v,{that:c}),u(n,"errors",c),n};o?o(b,y):c(b,y,{name:!0});var g=b.prototype=a(y.prototype,{constructor:l(1,b),message:l(1,""),name:l(1,"AggregateError")});r({global:!0,constructor:!0,arity:2},{AggregateError:b})},4242:(e,t,n)=>{"use strict";n(3820)},8939:(e,t,n)=>{"use strict";var r=n(101),s=n(7423),i=n(7771),o=n(3326),c=n(2454).f,a=n(5297),u=n(7271),l=n(5546),p=n(69),f="Array Iterator",h=o.set,m=o.getterFor(f);e.exports=a(Array,"Array",(function(e,t){h(this,{type:f,target:r(e),index:0,kind:t})}),(function(){var e=m(this),t=e.target,n=e.kind,r=e.index++;if(!t||r>=t.length)return e.target=void 0,u(void 0,!0);switch(n){case"keys":return u(r,!1);case"values":return u(t[r],!1)}return u([r,t[r]],!1)}),"values");var d=i.Arguments=i.Array;if(s("keys"),s("values"),s("entries"),!l&&p&&"values"!==d.name)try{c(d,"name",{value:"values"})}catch(e){}},4339:(e,t,n)=>{"use strict";var r=n(3085),s=n(8576),i=n(6298),o=n(426),c="WebAssembly",a=s[c],u=7!==new Error("e",{cause:7}).cause,l=function(e,t){var n={};n[e]=o(e,t,u),r({global:!0,constructor:!0,arity:1,forced:u},n)},p=function(e,t){if(a&&a[e]){var n={};n[e]=o(c+"."+e,t,u),r({target:c,stat:!0,constructor:!0,arity:1,forced:u},n)}};l("Error",(function(e){return function(t){return i(e,this,arguments)}})),l("EvalError",(function(e){return function(t){return i(e,this,arguments)}})),l("RangeError",(function(e){return function(t){return i(e,this,arguments)}})),l("ReferenceError",(function(e){return function(t){return i(e,this,arguments)}})),l("SyntaxError",(function(e){return function(t){return i(e,this,arguments)}})),l("TypeError",(function(e){return function(t){return i(e,this,arguments)}})),l("URIError",(function(e){return function(t){return i(e,this,arguments)}})),p("CompileError",(function(e){return function(t){return i(e,this,arguments)}})),p("LinkError",(function(e){return function(t){return i(e,this,arguments)}})),p("RuntimeError",(function(e){return function(t){return i(e,this,arguments)}}))},5454:(e,t,n)=>{"use strict";var r=n(863).charAt,s=n(4845),i=n(3326),o=n(5297),c=n(7271),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),n=t.string,s=t.index;return s>=n.length?c(void 0,!0):(e=r(n,s),t.index+=e.length,c(e,!1))}))},2752:(e,t,n)=>{"use strict";n(4242)},162:(e,t,n)=>{"use strict";n(8939);var r=n(7365),s=n(8576),i=n(4696),o=n(8711),c=n(7771),a=n(8182)("toStringTag");for(var u in r){var l=s[u],p=l&&l.prototype;p&&i(p)!==a&&o(p,a,u),c[u]=c.Array}},5846:(e,t,n)=>{"use strict";n(2752);var r=n(6791);n(162),e.exports=r},9515:(e,t,n)=>{var r=n(8761)(n(7772),"DataView");e.exports=r},9612:(e,t,n)=>{var r=n(2118),s=n(6909),i=n(8138),o=n(4174),c=n(7942);function a(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}a.prototype.clear=r,a.prototype.delete=s,a.prototype.get=i,a.prototype.has=o,a.prototype.set=c,e.exports=a},235:(e,t,n)=>{var r=n(3945),s=n(1846),i=n(8028),o=n(2344),c=n(4769);function a(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}a.prototype.clear=r,a.prototype.delete=s,a.prototype.get=i,a.prototype.has=o,a.prototype.set=c,e.exports=a},326:(e,t,n)=>{var r=n(8761)(n(7772),"Map");e.exports=r},6738:(e,t,n)=>{var r=n(2411),s=n(6417),i=n(6928),o=n(9493),c=n(4150);function a(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}a.prototype.clear=r,a.prototype.delete=s,a.prototype.get=i,a.prototype.has=o,a.prototype.set=c,e.exports=a},2760:(e,t,n)=>{var r=n(8761)(n(7772),"Promise");e.exports=r},2143:(e,t,n)=>{var r=n(8761)(n(7772),"Set");e.exports=r},5386:(e,t,n)=>{var r=n(6738),s=n(2842),i=n(2482);function o(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new r;++t<n;)this.add(e[t])}o.prototype.add=o.prototype.push=s,o.prototype.has=i,e.exports=o},6571:(e,t,n)=>{var r=n(235),s=n(5243),i=n(2858),o=n(4417),c=n(8605),a=n(1418);function u(e){var t=this.__data__=new r(e);this.size=t.size}u.prototype.clear=s,u.prototype.delete=i,u.prototype.get=o,u.prototype.has=c,u.prototype.set=a,e.exports=u},857:(e,t,n)=>{var r=n(7772).Symbol;e.exports=r},9162:(e,t,n)=>{var r=n(7772).Uint8Array;e.exports=r},3215:(e,t,n)=>{var r=n(8761)(n(7772),"WeakMap");e.exports=r},7552:e=>{e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length,s=0,i=[];++n<r;){var o=e[n];t(o,n,e)&&(i[s++]=o)}return i}},1634:(e,t,n)=>{var r=n(6473),s=n(9631),i=n(6152),o=n(3226),c=n(9045),a=n(7598),u=Object.prototype.hasOwnProperty;e.exports=function(e,t){var n=i(e),l=!n&&s(e),p=!n&&!l&&o(e),f=!n&&!l&&!p&&a(e),h=n||l||p||f,m=h?r(e.length,String):[],d=m.length;for(var y in e)!t&&!u.call(e,y)||h&&("length"==y||p&&("offset"==y||"parent"==y)||f&&("buffer"==y||"byteLength"==y||"byteOffset"==y)||c(y,d))||m.push(y);return m}},5067:e=>{e.exports=function(e,t){for(var n=-1,r=t.length,s=e.length;++n<r;)e[s+n]=t[n];return e}},7064:e=>{e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}},2218:(e,t,n)=>{var r=n(1225);e.exports=function(e,t){for(var n=e.length;n--;)if(r(e[n][0],t))return n;return-1}},1897:(e,t,n)=>{var r=n(5067),s=n(6152);e.exports=function(e,t,n){var i=t(e);return s(e)?i:r(i,n(e))}},3366:(e,t,n)=>{var r=n(857),s=n(2107),i=n(7157),o=r?r.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":o&&o in Object(e)?s(e):i(e)}},5183:(e,t,n)=>{var r=n(3366),s=n(5125);e.exports=function(e){return s(e)&&"[object Arguments]"==r(e)}},8746:(e,t,n)=>{var r=n(1952),s=n(5125);e.exports=function e(t,n,i,o,c){return t===n||(null==t||null==n||!s(t)&&!s(n)?t!=t&&n!=n:r(t,n,i,o,e,c))}},1952:(e,t,n)=>{var r=n(6571),s=n(4871),i=n(1491),o=n(7416),c=n(940),a=n(6152),u=n(3226),l=n(7598),p="[object Arguments]",f="[object Array]",h="[object Object]",m=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,d,y,v){var b=a(e),g=a(t),O=b?f:c(e),j=g?f:c(t),S=(O=O==p?h:O)==h,E=(j=j==p?h:j)==h,x=O==j;if(x&&u(e)){if(!u(t))return!1;b=!0,S=!1}if(x&&!S)return v||(v=new r),b||l(e)?s(e,t,n,d,y,v):i(e,t,O,n,d,y,v);if(!(1&n)){var w=S&&m.call(e,"__wrapped__"),A=E&&m.call(t,"__wrapped__");if(w||A){var k=w?e.value():e,P=A?t.value():t;return v||(v=new r),y(k,P,n,d,v)}}return!!x&&(v||(v=new r),o(e,t,n,d,y,v))}},6840:(e,t,n)=>{var r=n(1049),s=n(7394),i=n(9259),o=n(7035),c=/^\[object .+?Constructor\]$/,a=Function.prototype,u=Object.prototype,l=a.toString,p=u.hasOwnProperty,f=RegExp("^"+l.call(p).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!i(e)||s(e))&&(r(e)?f:c).test(o(e))}},5522:(e,t,n)=>{var r=n(3366),s=n(1158),i=n(5125),o={};o["[object Float32Array]"]=o["[object Float64Array]"]=o["[object Int8Array]"]=o["[object Int16Array]"]=o["[object Int32Array]"]=o["[object Uint8Array]"]=o["[object Uint8ClampedArray]"]=o["[object Uint16Array]"]=o["[object Uint32Array]"]=!0,o["[object Arguments]"]=o["[object Array]"]=o["[object ArrayBuffer]"]=o["[object Boolean]"]=o["[object DataView]"]=o["[object Date]"]=o["[object Error]"]=o["[object Function]"]=o["[object Map]"]=o["[object Number]"]=o["[object Object]"]=o["[object RegExp]"]=o["[object Set]"]=o["[object String]"]=o["[object WeakMap]"]=!1,e.exports=function(e){return i(e)&&s(e.length)&&!!o[r(e)]}},6411:(e,t,n)=>{var r=n(6001),s=n(4248),i=Object.prototype.hasOwnProperty;e.exports=function(e){if(!r(e))return s(e);var t=[];for(var n in Object(e))i.call(e,n)&&"constructor"!=n&&t.push(n);return t}},6473:e=>{e.exports=function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}},7826:e=>{e.exports=function(e){return function(t){return e(t)}}},9950:e=>{e.exports=function(e,t){return e.has(t)}},4019:(e,t,n)=>{var r=n(7772)["__core-js_shared__"];e.exports=r},4871:(e,t,n)=>{var r=n(5386),s=n(7064),i=n(9950);e.exports=function(e,t,n,o,c,a){var u=1&n,l=e.length,p=t.length;if(l!=p&&!(u&&p>l))return!1;var f=a.get(e),h=a.get(t);if(f&&h)return f==t&&h==e;var m=-1,d=!0,y=2&n?new r:void 0;for(a.set(e,t),a.set(t,e);++m<l;){var v=e[m],b=t[m];if(o)var g=u?o(b,v,m,t,e,a):o(v,b,m,e,t,a);if(void 0!==g){if(g)continue;d=!1;break}if(y){if(!s(t,(function(e,t){if(!i(y,t)&&(v===e||c(v,e,n,o,a)))return y.push(t)}))){d=!1;break}}else if(v!==b&&!c(v,b,n,o,a)){d=!1;break}}return a.delete(e),a.delete(t),d}},1491:(e,t,n)=>{var r=n(857),s=n(9162),i=n(1225),o=n(4871),c=n(5179),a=n(4207),u=r?r.prototype:void 0,l=u?u.valueOf:void 0;e.exports=function(e,t,n,r,u,p,f){switch(n){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=t.byteLength||!p(new s(e),new s(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return i(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var h=c;case"[object Set]":var m=1&r;if(h||(h=a),e.size!=t.size&&!m)return!1;var d=f.get(e);if(d)return d==t;r|=2,f.set(e,t);var y=o(h(e),h(t),r,u,p,f);return f.delete(e),y;case"[object Symbol]":if(l)return l.call(e)==l.call(t)}return!1}},7416:(e,t,n)=>{var r=n(3483),s=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,i,o,c){var a=1&n,u=r(e),l=u.length;if(l!=r(t).length&&!a)return!1;for(var p=l;p--;){var f=u[p];if(!(a?f in t:s.call(t,f)))return!1}var h=c.get(e),m=c.get(t);if(h&&m)return h==t&&m==e;var d=!0;c.set(e,t),c.set(t,e);for(var y=a;++p<l;){var v=e[f=u[p]],b=t[f];if(i)var g=a?i(b,v,f,t,e,c):i(v,b,f,e,t,c);if(!(void 0===g?v===b||o(v,b,n,i,c):g)){d=!1;break}y||(y="constructor"==f)}if(d&&!y){var O=e.constructor,j=t.constructor;O==j||!("constructor"in e)||!("constructor"in t)||"function"==typeof O&&O instanceof O&&"function"==typeof j&&j instanceof j||(d=!1)}return c.delete(e),c.delete(t),d}},1242:(e,t,n)=>{var r="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g;e.exports=r},3483:(e,t,n)=>{var r=n(1897),s=n(633),i=n(249);e.exports=function(e){return r(e,i,s)}},7937:(e,t,n)=>{var r=n(8304);e.exports=function(e,t){var n=e.__data__;return r(t)?n["string"==typeof t?"string":"hash"]:n.map}},8761:(e,t,n)=>{var r=n(6840),s=n(8109);e.exports=function(e,t){var n=s(e,t);return r(n)?n:void 0}},2107:(e,t,n)=>{var r=n(857),s=Object.prototype,i=s.hasOwnProperty,o=s.toString,c=r?r.toStringTag:void 0;e.exports=function(e){var t=i.call(e,c),n=e[c];try{e[c]=void 0;var r=!0}catch(e){}var s=o.call(e);return r&&(t?e[c]=n:delete e[c]),s}},633:(e,t,n)=>{var r=n(7552),s=n(981),i=Object.prototype.propertyIsEnumerable,o=Object.getOwnPropertySymbols,c=o?function(e){return null==e?[]:(e=Object(e),r(o(e),(function(t){return i.call(e,t)})))}:s;e.exports=c},940:(e,t,n)=>{var r=n(9515),s=n(326),i=n(2760),o=n(2143),c=n(3215),a=n(3366),u=n(7035),l="[object Map]",p="[object Promise]",f="[object Set]",h="[object WeakMap]",m="[object DataView]",d=u(r),y=u(s),v=u(i),b=u(o),g=u(c),O=a;(r&&O(new r(new ArrayBuffer(1)))!=m||s&&O(new s)!=l||i&&O(i.resolve())!=p||o&&O(new o)!=f||c&&O(new c)!=h)&&(O=function(e){var t=a(e),n="[object Object]"==t?e.constructor:void 0,r=n?u(n):"";if(r)switch(r){case d:return m;case y:return l;case v:return p;case b:return f;case g:return h}return t}),e.exports=O},8109:e=>{e.exports=function(e,t){return null==e?void 0:e[t]}},2118:(e,t,n)=>{var r=n(9191);e.exports=function(){this.__data__=r?r(null):{},this.size=0}},6909:e=>{e.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}},8138:(e,t,n)=>{var r=n(9191),s=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;if(r){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return s.call(t,e)?t[e]:void 0}},4174:(e,t,n)=>{var r=n(9191),s=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return r?void 0!==t[e]:s.call(t,e)}},7942:(e,t,n)=>{var r=n(9191);e.exports=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=r&&void 0===t?"__lodash_hash_undefined__":t,this}},9045:e=>{var t=/^(?:0|[1-9]\d*)$/;e.exports=function(e,n){var r=typeof e;return!!(n=null==n?9007199254740991:n)&&("number"==r||"symbol"!=r&&t.test(e))&&e>-1&&e%1==0&&e<n}},8304:e=>{e.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},7394:(e,t,n)=>{var r,s=n(4019),i=(r=/[^.]+$/.exec(s&&s.keys&&s.keys.IE_PROTO||""))?"Symbol(src)_1."+r:"";e.exports=function(e){return!!i&&i in e}},6001:e=>{var t=Object.prototype;e.exports=function(e){var n=e&&e.constructor;return e===("function"==typeof n&&n.prototype||t)}},3945:e=>{e.exports=function(){this.__data__=[],this.size=0}},1846:(e,t,n)=>{var r=n(2218),s=Array.prototype.splice;e.exports=function(e){var t=this.__data__,n=r(t,e);return!(n<0)&&(n==t.length-1?t.pop():s.call(t,n,1),--this.size,!0)}},8028:(e,t,n)=>{var r=n(2218);e.exports=function(e){var t=this.__data__,n=r(t,e);return n<0?void 0:t[n][1]}},2344:(e,t,n)=>{var r=n(2218);e.exports=function(e){return r(this.__data__,e)>-1}},4769:(e,t,n)=>{var r=n(2218);e.exports=function(e,t){var n=this.__data__,s=r(n,e);return s<0?(++this.size,n.push([e,t])):n[s][1]=t,this}},2411:(e,t,n)=>{var r=n(9612),s=n(235),i=n(326);e.exports=function(){this.size=0,this.__data__={hash:new r,map:new(i||s),string:new r}}},6417:(e,t,n)=>{var r=n(7937);e.exports=function(e){var t=r(this,e).delete(e);return this.size-=t?1:0,t}},6928:(e,t,n)=>{var r=n(7937);e.exports=function(e){return r(this,e).get(e)}},9493:(e,t,n)=>{var r=n(7937);e.exports=function(e){return r(this,e).has(e)}},4150:(e,t,n)=>{var r=n(7937);e.exports=function(e,t){var n=r(this,e),s=n.size;return n.set(e,t),this.size+=n.size==s?0:1,this}},5179:e=>{e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}},9191:(e,t,n)=>{var r=n(8761)(Object,"create");e.exports=r},4248:(e,t,n)=>{var r=n(241)(Object.keys,Object);e.exports=r},4146:(e,t,n)=>{e=n.nmd(e);var r=n(1242),s=t&&!t.nodeType&&t,i=s&&e&&!e.nodeType&&e,o=i&&i.exports===s&&r.process,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},7157:e=>{var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},241:e=>{e.exports=function(e,t){return function(n){return e(t(n))}}},7772:(e,t,n)=>{var r=n(1242),s="object"==typeof self&&self&&self.Object===Object&&self,i=r||s||Function("return this")();e.exports=i},2842:e=>{e.exports=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this}},2482:e=>{e.exports=function(e){return this.__data__.has(e)}},4207:e=>{e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}},5243:(e,t,n)=>{var r=n(235);e.exports=function(){this.__data__=new r,this.size=0}},2858:e=>{e.exports=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}},4417:e=>{e.exports=function(e){return this.__data__.get(e)}},8605:e=>{e.exports=function(e){return this.__data__.has(e)}},1418:(e,t,n)=>{var r=n(235),s=n(326),i=n(6738);e.exports=function(e,t){var n=this.__data__;if(n instanceof r){var o=n.__data__;if(!s||o.length<199)return o.push([e,t]),this.size=++n.size,this;n=this.__data__=new i(o)}return n.set(e,t),this.size=n.size,this}},7035:e=>{var t=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return t.call(e)}catch(e){}try{return e+""}catch(e){}}return""}},1225:e=>{e.exports=function(e,t){return e===t||e!=e&&t!=t}},9631:(e,t,n)=>{var r=n(5183),s=n(5125),i=Object.prototype,o=i.hasOwnProperty,c=i.propertyIsEnumerable,a=r(function(){return arguments}())?r:function(e){return s(e)&&o.call(e,"callee")&&!c.call(e,"callee")};e.exports=a},6152:e=>{var t=Array.isArray;e.exports=t},7878:(e,t,n)=>{var r=n(1049),s=n(1158);e.exports=function(e){return null!=e&&s(e.length)&&!r(e)}},4335:(e,t,n)=>{var r=n(3366),s=n(5125);e.exports=function(e){return!0===e||!1===e||s(e)&&"[object Boolean]"==r(e)}},3226:(e,t,n)=>{e=n.nmd(e);var r=n(7772),s=n(6330),i=t&&!t.nodeType&&t,o=i&&e&&!e.nodeType&&e,c=o&&o.exports===i?r.Buffer:void 0,a=(c?c.isBuffer:void 0)||s;e.exports=a},8149:(e,t,n)=>{var r=n(8746);e.exports=function(e,t){return r(e,t)}},1049:(e,t,n)=>{var r=n(3366),s=n(9259);e.exports=function(e){if(!s(e))return!1;var t=r(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},1158:e=>{e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},5877:e=>{e.exports=function(e){return null===e}},537:(e,t,n)=>{var r=n(3366),s=n(5125);e.exports=function(e){return"number"==typeof e||s(e)&&"[object Number]"==r(e)}},9259:e=>{e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},5125:e=>{e.exports=function(e){return null!=e&&"object"==typeof e}},5505:(e,t,n)=>{var r=n(3366),s=n(6152),i=n(5125);e.exports=function(e){return"string"==typeof e||!s(e)&&i(e)&&"[object String]"==r(e)}},7598:(e,t,n)=>{var r=n(5522),s=n(7826),i=n(4146),o=i&&i.isTypedArray,c=o?s(o):r;e.exports=c},249:(e,t,n)=>{var r=n(1634),s=n(6411),i=n(7878);e.exports=function(e){return i(e)?r(e):s(e)}},1570:e=>{e.exports=function(e){if("function"!=typeof e)throw new TypeError("Expected a function");return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}},981:e=>{e.exports=function(){return[]}},6330:e=>{e.exports=function(){return!1}},1178:(e,t,n)=>{const r=n(1570);function s(e){return"string"==typeof e?t=>t.element===e:e.constructor&&e.extend?t=>t instanceof e:e}class i{constructor(e){this.elements=e||[]}toValue(){return this.elements.map((e=>e.toValue()))}map(e,t){return this.elements.map(e,t)}flatMap(e,t){return this.map(e,t).reduce(((e,t)=>e.concat(t)),[])}compactMap(e,t){const n=[];return this.forEach((r=>{const s=e.bind(t)(r);s&&n.push(s)})),n}filter(e,t){return e=s(e),new i(this.elements.filter(e,t))}reject(e,t){return e=s(e),new i(this.elements.filter(r(e),t))}find(e,t){return e=s(e),this.elements.find(e,t)}forEach(e,t){this.elements.forEach(e,t)}reduce(e,t){return this.elements.reduce(e,t)}includes(e){return this.elements.some((t=>t.equals(e)))}shift(){return this.elements.shift()}unshift(e){this.elements.unshift(this.refract(e))}push(e){return this.elements.push(this.refract(e)),this}add(e){this.push(e)}get(e){return this.elements[e]}getValue(e){const t=this.elements[e];if(t)return t.toValue()}get length(){return this.elements.length}get isEmpty(){return 0===this.elements.length}get first(){return this.elements[0]}}"undefined"!=typeof Symbol&&(i.prototype[Symbol.iterator]=function(){return this.elements[Symbol.iterator]()}),e.exports=i},3026:e=>{class t{constructor(e,t){this.key=e,this.value=t}clone(){const e=new t;return this.key&&(e.key=this.key.clone()),this.value&&(e.value=this.value.clone()),e}}e.exports=t},5140:(e,t,n)=>{const r=n(5877),s=n(5505),i=n(537),o=n(4335),c=n(9259),a=n(2947),u=n(3756);class l{constructor(e){this.elementMap={},this.elementDetection=[],this.Element=u.Element,this.KeyValuePair=u.KeyValuePair,e&&e.noDefault||this.useDefault(),this._attributeElementKeys=[],this._attributeElementArrayKeys=[]}use(e){return e.namespace&&e.namespace({base:this}),e.load&&e.load({base:this}),this}useDefault(){return this.register("null",u.NullElement).register("string",u.StringElement).register("number",u.NumberElement).register("boolean",u.BooleanElement).register("array",u.ArrayElement).register("object",u.ObjectElement).register("member",u.MemberElement).register("ref",u.RefElement).register("link",u.LinkElement),this.detect(r,u.NullElement,!1).detect(s,u.StringElement,!1).detect(i,u.NumberElement,!1).detect(o,u.BooleanElement,!1).detect(Array.isArray,u.ArrayElement,!1).detect(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,n){return void 0===n||n?this.elementDetection.unshift([e,t]):this.elementDetection.push([e,t]),this}toElement(e){if(e instanceof this.Element)return e;let t;for(let n=0;n<this.elementDetection.length;n+=1){const r=this.elementDetection[n][0],s=this.elementDetection[n][1];if(r(e)){t=new s(e);break}}return t}getElementClass(e){const t=this.elementMap[e];return void 0===t?this.Element:t}fromRefract(e){return this.serialiser.deserialise(e)}toRefract(e){return this.serialiser.serialise(e)}get elements(){return void 0===this._elements&&(this._elements={Element:this.Element},Object.keys(this.elementMap).forEach((e=>{const t=e[0].toUpperCase()+e.substr(1);this._elements[t]=this.elementMap[e]}))),this._elements}get serialiser(){return new a(this)}}a.prototype.Namespace=l,e.exports=l},3853:(e,t,n)=>{const r=n(1570),s=n(1178);class i extends s{map(e,t){return this.elements.map((n=>e.bind(t)(n.value,n.key,n)))}filter(e,t){return new i(this.elements.filter((n=>e.bind(t)(n.value,n.key,n))))}reject(e,t){return this.filter(r(e.bind(t)))}forEach(e,t){return this.elements.forEach(((n,r)=>{e.bind(t)(n.value,n.key,n,r)}))}keys(){return this.map(((e,t)=>t.toValue()))}values(){return this.map((e=>e.toValue()))}}e.exports=i},3756:(e,t,n)=>{const r=n(6420),s=n(4152),i=n(9542),o=n(3710),c=n(3312),a=n(1641),u=n(8858),l=n(3860),p=n(5202),f=n(2320),h=n(1178),m=n(3853),d=n(3026);function y(e){if(e instanceof r)return e;if("string"==typeof e)return new i(e);if("number"==typeof e)return new o(e);if("boolean"==typeof e)return new c(e);if(null===e)return new s;if(Array.isArray(e))return new a(e.map(y));if("object"==typeof e){return new l(e)}return e}r.prototype.ObjectElement=l,r.prototype.RefElement=f,r.prototype.MemberElement=u,r.prototype.refract=y,h.prototype.refract=y,e.exports={Element:r,NullElement:s,StringElement:i,NumberElement:o,BooleanElement:c,ArrayElement:a,MemberElement:u,ObjectElement:l,LinkElement:p,RefElement:f,refract:y,ArraySlice:h,ObjectSlice:m,KeyValuePair:d}},5202:(e,t,n)=>{const r=n(6420);e.exports=class extends r{constructor(e,t,n){super(e||[],t,n),this.element="link"}get relation(){return this.attributes.get("relation")}set relation(e){this.attributes.set("relation",e)}get href(){return this.attributes.get("href")}set href(e){this.attributes.set("href",e)}}},2320:(e,t,n)=>{const r=n(6420);e.exports=class extends r{constructor(e,t,n){super(e||[],t,n),this.element="ref",this.path||(this.path="element")}get path(){return this.attributes.get("path")}set path(e){this.attributes.set("path",e)}}},7952:(e,t,n)=>{const r=n(5140),s=n(3756);t.lS=r,t.KeyValuePair=n(3026),t.O4=s.ArraySlice,t.rm=s.ObjectSlice,t.W_=s.Element,t.RP=s.StringElement,t.VL=s.NumberElement,t.hh=s.BooleanElement,t.zr=s.NullElement,t.ON=s.ArrayElement,t.Sb=s.ObjectElement,t.c6=s.MemberElement,t.tK=s.RefElement,t.EA=s.LinkElement,t.Qc=s.refract,n(2947),n(8910)},1641:(e,t,n)=>{const r=n(1570),s=n(6420),i=n(1178);class o extends s{constructor(e,t,n){super(e||[],t,n),this.element="array"}primitive(){return"array"}get(e){return this.content[e]}getValue(e){const t=this.get(e);if(t)return t.toValue()}getIndex(e){return this.content[e]}set(e,t){return this.content[e]=this.refract(t),this}remove(e){const t=this.content.splice(e,1);return t.length?t[0]:null}map(e,t){return this.content.map(e,t)}flatMap(e,t){return this.map(e,t).reduce(((e,t)=>e.concat(t)),[])}compactMap(e,t){const n=[];return this.forEach((r=>{const s=e.bind(t)(r);s&&n.push(s)})),n}filter(e,t){return new i(this.content.filter(e,t))}reject(e,t){return this.filter(r(e),t)}reduce(e,t){let n,r;void 0!==t?(n=0,r=this.refract(t)):(n=1,r="object"===this.primitive()?this.first.value:this.first);for(let t=n;t<this.length;t+=1){const n=this.content[t];r="object"===this.primitive()?this.refract(e(r,n.value,n.key,n,this)):this.refract(e(r,n,t,this))}return r}forEach(e,t){this.content.forEach(((n,r)=>{e.bind(t)(n,this.refract(r))}))}shift(){return this.content.shift()}unshift(e){this.content.unshift(this.refract(e))}push(e){return this.content.push(this.refract(e)),this}add(e){this.push(e)}findElements(e,t){const n=t||{},r=!!n.recursive,s=void 0===n.results?[]:n.results;return this.forEach(((t,n,i)=>{r&&void 0!==t.findElements&&t.findElements(e,{results:s,recursive:r}),e(t,n,i)&&s.push(t)})),s}find(e){return new i(this.findElements(e,{recursive:!0}))}findByElement(e){return this.find((t=>t.element===e))}findByClass(e){return this.find((t=>t.classes.includes(e)))}getById(e){return this.find((t=>t.id.toValue()===e)).first}includes(e){return this.content.some((t=>t.equals(e)))}contains(e){return this.includes(e)}empty(){return new this.constructor([])}"fantasy-land/empty"(){return this.empty()}concat(e){return new this.constructor(this.content.concat(e.content))}"fantasy-land/concat"(e){return this.concat(e)}"fantasy-land/map"(e){return new this.constructor(this.map(e))}"fantasy-land/chain"(e){return this.map((t=>e(t)),this).reduce(((e,t)=>e.concat(t)),this.empty())}"fantasy-land/filter"(e){return new this.constructor(this.content.filter(e))}"fantasy-land/reduce"(e,t){return this.content.reduce(e,t)}get length(){return this.content.length}get isEmpty(){return 0===this.content.length}get first(){return this.getIndex(0)}get second(){return this.getIndex(1)}get last(){return this.getIndex(this.length-1)}}o.empty=function(){return new this},o["fantasy-land/empty"]=o.empty,"undefined"!=typeof Symbol&&(o.prototype[Symbol.iterator]=function(){return this.content[Symbol.iterator]()}),e.exports=o},3312:(e,t,n)=>{const r=n(6420);e.exports=class extends r{constructor(e,t,n){super(e,t,n),this.element="boolean"}primitive(){return"boolean"}}},6420:(e,t,n)=>{const r=n(8149),s=n(3026),i=n(1178);class o{constructor(e,t,n){t&&(this.meta=t),n&&(this.attributes=n),this.content=e}freeze(){Object.isFrozen(this)||(this._meta&&(this.meta.parent=this,this.meta.freeze()),this._attributes&&(this.attributes.parent=this,this.attributes.freeze()),this.children.forEach((e=>{e.parent=this,e.freeze()}),this),this.content&&Array.isArray(this.content)&&Object.freeze(this.content),Object.freeze(this))}primitive(){}clone(){const e=new this.constructor;return e.element=this.element,this.meta.length&&(e._meta=this.meta.clone()),this.attributes.length&&(e._attributes=this.attributes.clone()),this.content?this.content.clone?e.content=this.content.clone():Array.isArray(this.content)?e.content=this.content.map((e=>e.clone())):e.content=this.content:e.content=this.content,e}toValue(){return this.content instanceof o?this.content.toValue():this.content instanceof s?{key:this.content.key.toValue(),value:this.content.value?this.content.value.toValue():void 0}:this.content&&this.content.map?this.content.map((e=>e.toValue()),this):this.content}toRef(e){if(""===this.id.toValue())throw Error("Cannot create reference to an element that does not contain an ID");const t=new this.RefElement(this.id.toValue());return e&&(t.path=e),t}findRecursive(...e){if(arguments.length>1&&!this.isFrozen)throw new Error("Cannot find recursive with multiple element names without first freezing the element. Call `element.freeze()`");const t=e.pop();let n=new i;const r=(e,t)=>(e.push(t),e),o=(e,n)=>{n.element===t&&e.push(n);const i=n.findRecursive(t);return i&&i.reduce(r,e),n.content instanceof s&&(n.content.key&&o(e,n.content.key),n.content.value&&o(e,n.content.value)),e};return this.content&&(this.content.element&&o(n,this.content),Array.isArray(this.content)&&this.content.reduce(o,n)),e.isEmpty||(n=n.filter((t=>{let n=t.parents.map((e=>e.element));for(const t in e){const r=e[t],s=n.indexOf(r);if(-1===s)return!1;n=n.splice(0,s)}return!0}))),n}set(e){return this.content=e,this}equals(e){return r(this.toValue(),e)}getMetaProperty(e,t){if(!this.meta.hasKey(e)){if(this.isFrozen){const e=this.refract(t);return e.freeze(),e}this.meta.set(e,t)}return this.meta.get(e)}setMetaProperty(e,t){this.meta.set(e,t)}get element(){return this._storedElement||"element"}set element(e){this._storedElement=e}get content(){return this._content}set content(e){if(e instanceof o)this._content=e;else if(e instanceof i)this.content=e.elements;else if("string"==typeof e||"number"==typeof e||"boolean"==typeof e||"null"===e||null==e)this._content=e;else if(e instanceof s)this._content=e;else if(Array.isArray(e))this._content=e.map(this.refract);else{if("object"!=typeof e)throw new Error("Cannot set content to given value");this._content=Object.keys(e).map((t=>new this.MemberElement(t,e[t])))}}get meta(){if(!this._meta){if(this.isFrozen){const e=new this.ObjectElement;return e.freeze(),e}this._meta=new this.ObjectElement}return this._meta}set meta(e){e instanceof this.ObjectElement?this._meta=e:this.meta.set(e||{})}get attributes(){if(!this._attributes){if(this.isFrozen){const e=new this.ObjectElement;return e.freeze(),e}this._attributes=new this.ObjectElement}return this._attributes}set attributes(e){e instanceof this.ObjectElement?this._attributes=e:this.attributes.set(e||{})}get id(){return this.getMetaProperty("id","")}set id(e){this.setMetaProperty("id",e)}get classes(){return this.getMetaProperty("classes",[])}set classes(e){this.setMetaProperty("classes",e)}get title(){return this.getMetaProperty("title","")}set title(e){this.setMetaProperty("title",e)}get description(){return this.getMetaProperty("description","")}set description(e){this.setMetaProperty("description",e)}get links(){return this.getMetaProperty("links",[])}set links(e){this.setMetaProperty("links",e)}get isFrozen(){return Object.isFrozen(this)}get parents(){let{parent:e}=this;const t=new i;for(;e;)t.push(e),e=e.parent;return t}get children(){if(Array.isArray(this.content))return new i(this.content);if(this.content instanceof s){const e=new i([this.content.key]);return this.content.value&&e.push(this.content.value),e}return this.content instanceof o?new i([this.content]):new i}get recursiveChildren(){const e=new i;return this.children.forEach((t=>{e.push(t),t.recursiveChildren.forEach((t=>{e.push(t)}))})),e}}e.exports=o},8858:(e,t,n)=>{const r=n(3026),s=n(6420);e.exports=class extends s{constructor(e,t,n,s){super(new r,n,s),this.element="member",this.key=e,this.value=t}get key(){return this.content.key}set key(e){this.content.key=this.refract(e)}get value(){return this.content.value}set value(e){this.content.value=this.refract(e)}}},4152:(e,t,n)=>{const r=n(6420);e.exports=class extends r{constructor(e,t,n){super(e||null,t,n),this.element="null"}primitive(){return"null"}set(){return new Error("Cannot set the value of null")}}},3710:(e,t,n)=>{const r=n(6420);e.exports=class extends r{constructor(e,t,n){super(e,t,n),this.element="number"}primitive(){return"number"}}},3860:(e,t,n)=>{const r=n(1570),s=n(9259),i=n(1641),o=n(8858),c=n(3853);e.exports=class extends i{constructor(e,t,n){super(e||[],t,n),this.element="object"}primitive(){return"object"}toValue(){return this.content.reduce(((e,t)=>(e[t.key.toValue()]=t.value?t.value.toValue():void 0,e)),{})}get(e){const t=this.getMember(e);if(t)return t.value}getMember(e){if(void 0!==e)return this.content.find((t=>t.key.toValue()===e))}remove(e){let t=null;return this.content=this.content.filter((n=>n.key.toValue()!==e||(t=n,!1))),t}getKey(e){const t=this.getMember(e);if(t)return t.key}set(e,t){if(s(e))return Object.keys(e).forEach((t=>{this.set(t,e[t])})),this;const n=e,r=this.getMember(n);return r?r.value=t:this.content.push(new o(n,t)),this}keys(){return this.content.map((e=>e.key.toValue()))}values(){return this.content.map((e=>e.value.toValue()))}hasKey(e){return this.content.some((t=>t.key.equals(e)))}items(){return this.content.map((e=>[e.key.toValue(),e.value.toValue()]))}map(e,t){return this.content.map((n=>e.bind(t)(n.value,n.key,n)))}compactMap(e,t){const n=[];return this.forEach(((r,s,i)=>{const o=e.bind(t)(r,s,i);o&&n.push(o)})),n}filter(e,t){return new c(this.content).filter(e,t)}reject(e,t){return this.filter(r(e),t)}forEach(e,t){return this.content.forEach((n=>e.bind(t)(n.value,n.key,n)))}}},9542:(e,t,n)=>{const r=n(6420);e.exports=class extends r{constructor(e,t,n){super(e,t,n),this.element="string"}primitive(){return"string"}get length(){return this.content.length}}},8910:(e,t,n)=>{const r=n(2947);e.exports=class extends r{serialise(e){if(!(e instanceof this.namespace.elements.Element))throw new TypeError(`Given element \`${e}\` is not an Element instance`);let t;e._attributes&&e.attributes.get("variable")&&(t=e.attributes.get("variable"));const n={element:e.element};e._meta&&e._meta.length>0&&(n.meta=this.serialiseObject(e.meta));const r="enum"===e.element||-1!==e.attributes.keys().indexOf("enumerations");if(r){const t=this.enumSerialiseAttributes(e);t&&(n.attributes=t)}else if(e._attributes&&e._attributes.length>0){let{attributes:r}=e;r.get("metadata")&&(r=r.clone(),r.set("meta",r.get("metadata")),r.remove("metadata")),"member"===e.element&&t&&(r=r.clone(),r.remove("variable")),r.length>0&&(n.attributes=this.serialiseObject(r))}if(r)n.content=this.enumSerialiseContent(e,n);else if(this[`${e.element}SerialiseContent`])n.content=this[`${e.element}SerialiseContent`](e,n);else if(void 0!==e.content){let r;t&&e.content.key?(r=e.content.clone(),r.key.attributes.set("variable",t),r=this.serialiseContent(r)):r=this.serialiseContent(e.content),this.shouldSerialiseContent(e,r)&&(n.content=r)}else this.shouldSerialiseContent(e,e.content)&&e instanceof this.namespace.elements.Array&&(n.content=[]);return n}shouldSerialiseContent(e,t){return"parseResult"===e.element||"httpRequest"===e.element||"httpResponse"===e.element||"category"===e.element||"link"===e.element||void 0!==t&&(!Array.isArray(t)||0!==t.length)}refSerialiseContent(e,t){return delete t.attributes,{href:e.toValue(),path:e.path.toValue()}}sourceMapSerialiseContent(e){return e.toValue()}dataStructureSerialiseContent(e){return[this.serialiseContent(e.content)]}enumSerialiseAttributes(e){const t=e.attributes.clone(),n=t.remove("enumerations")||new this.namespace.elements.Array([]),r=t.get("default");let s=t.get("samples")||new this.namespace.elements.Array([]);if(r&&r.content&&(r.content.attributes&&r.content.attributes.remove("typeAttributes"),t.set("default",new this.namespace.elements.Array([r.content]))),s.forEach((e=>{e.content&&e.content.element&&e.content.attributes.remove("typeAttributes")})),e.content&&0!==n.length&&s.unshift(e.content),s=s.map((e=>e instanceof this.namespace.elements.Array?[e]:new this.namespace.elements.Array([e.content]))),s.length&&t.set("samples",s),t.length>0)return this.serialiseObject(t)}enumSerialiseContent(e){if(e._attributes){const t=e.attributes.get("enumerations");if(t&&t.length>0)return t.content.map((e=>{const t=e.clone();return t.attributes.remove("typeAttributes"),this.serialise(t)}))}if(e.content){const t=e.content.clone();return t.attributes.remove("typeAttributes"),[this.serialise(t)]}return[]}deserialise(e){if("string"==typeof e)return new this.namespace.elements.String(e);if("number"==typeof e)return new this.namespace.elements.Number(e);if("boolean"==typeof e)return new this.namespace.elements.Boolean(e);if(null===e)return new this.namespace.elements.Null;if(Array.isArray(e))return new this.namespace.elements.Array(e.map(this.deserialise,this));const t=this.namespace.getElementClass(e.element),n=new t;n.element!==e.element&&(n.element=e.element),e.meta&&this.deserialiseObject(e.meta,n.meta),e.attributes&&this.deserialiseObject(e.attributes,n.attributes);const r=this.deserialiseContent(e.content);if(void 0===r&&null!==n.content||(n.content=r),"enum"===n.element){n.content&&n.attributes.set("enumerations",n.content);let e=n.attributes.get("samples");if(n.attributes.remove("samples"),e){const r=e;e=new this.namespace.elements.Array,r.forEach((r=>{r.forEach((r=>{const s=new t(r);s.element=n.element,e.push(s)}))}));const s=e.shift();n.content=s?s.content:void 0,n.attributes.set("samples",e)}else n.content=void 0;let r=n.attributes.get("default");if(r&&r.length>0){r=r.get(0);const e=new t(r);e.element=n.element,n.attributes.set("default",e)}}else if("dataStructure"===n.element&&Array.isArray(n.content))[n.content]=n.content;else if("category"===n.element){const e=n.attributes.get("meta");e&&(n.attributes.set("metadata",e),n.attributes.remove("meta"))}else"member"===n.element&&n.key&&n.key._attributes&&n.key._attributes.getValue("variable")&&(n.attributes.set("variable",n.key.attributes.get("variable")),n.key.attributes.remove("variable"));return n}serialiseContent(e){if(e instanceof this.namespace.elements.Element)return this.serialise(e);if(e instanceof this.namespace.KeyValuePair){const t={key:this.serialise(e.key)};return e.value&&(t.value=this.serialise(e.value)),t}return e&&e.map?e.map(this.serialise,this):e}deserialiseContent(e){if(e){if(e.element)return this.deserialise(e);if(e.key){const t=new this.namespace.KeyValuePair(this.deserialise(e.key));return e.value&&(t.value=this.deserialise(e.value)),t}if(e.map)return e.map(this.deserialise,this)}return e}shouldRefract(e){return!!(e._attributes&&e.attributes.keys().length||e._meta&&e.meta.keys().length)||"enum"!==e.element&&(e.element!==e.primitive()||"member"===e.element)}convertKeyToRefract(e,t){return this.shouldRefract(t)?this.serialise(t):"enum"===t.element?this.serialiseEnum(t):"array"===t.element?t.map((t=>this.shouldRefract(t)||"default"===e?this.serialise(t):"array"===t.element||"object"===t.element||"enum"===t.element?t.children.map((e=>this.serialise(e))):t.toValue())):"object"===t.element?(t.content||[]).map(this.serialise,this):t.toValue()}serialiseEnum(e){return e.children.map((e=>this.serialise(e)))}serialiseObject(e){const t={};return e.forEach(((e,n)=>{if(e){const r=n.toValue();t[r]=this.convertKeyToRefract(r,e)}})),t}deserialiseObject(e,t){Object.keys(e).forEach((n=>{t.set(n,this.deserialise(e[n]))}))}}},2947:e=>{e.exports=class{constructor(e){this.namespace=e||new this.Namespace}serialise(e){if(!(e instanceof this.namespace.elements.Element))throw new TypeError(`Given element \`${e}\` is not an Element instance`);const t={element:e.element};e._meta&&e._meta.length>0&&(t.meta=this.serialiseObject(e.meta)),e._attributes&&e._attributes.length>0&&(t.attributes=this.serialiseObject(e.attributes));const n=this.serialiseContent(e.content);return void 0!==n&&(t.content=n),t}deserialise(e){if(!e.element)throw new Error("Given value is not an object containing an element name");const t=new(this.namespace.getElementClass(e.element));t.element!==e.element&&(t.element=e.element),e.meta&&this.deserialiseObject(e.meta,t.meta),e.attributes&&this.deserialiseObject(e.attributes,t.attributes);const n=this.deserialiseContent(e.content);return void 0===n&&null!==t.content||(t.content=n),t}serialiseContent(e){if(e instanceof this.namespace.elements.Element)return this.serialise(e);if(e instanceof this.namespace.KeyValuePair){const t={key:this.serialise(e.key)};return e.value&&(t.value=this.serialise(e.value)),t}if(e&&e.map){if(0===e.length)return;return e.map(this.serialise,this)}return e}deserialiseContent(e){if(e){if(e.element)return this.deserialise(e);if(e.key){const t=new this.namespace.KeyValuePair(this.deserialise(e.key));return e.value&&(t.value=this.deserialise(e.value)),t}if(e.map)return e.map(this.deserialise,this)}return e}serialiseObject(e){const t={};if(e.forEach(((e,n)=>{e&&(t[n.toValue()]=this.serialise(e))})),0!==Object.keys(t).length)return t}deserialiseObject(e,t){Object.keys(e).forEach((n=>{t.set(n,this.deserialise(e[n]))}))}}},6591:e=>{!function(){"use strict";var t,n,r,s,i,o="properties",c="deepProperties",a="propertyDescriptors",u="staticProperties",l="staticDeepProperties",p="staticPropertyDescriptors",f="configuration",h="deepConfiguration",m="deepProps",d="deepStatics",y="deepConf",v="initializers",b="methods",g="composers",O="compose";function j(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e):[])}function S(e,t){return Array.prototype.slice.call(arguments,2).reduce(e,t)}var E=S.bind(0,(function(e,t){if(t)for(var n=j(t),r=0;r<n.length;r+=1)Object.defineProperty(e,n[r],Object.getOwnPropertyDescriptor(t,n[r]));return e}));function x(e){return"function"==typeof e}function w(e){return e&&"object"==typeof e||x(e)}function A(e){return e&&"object"==typeof e&&e.__proto__==Object.prototype}var k=S.bind(0,(function e(n,r){if(r===t)return n;if(Array.isArray(r))return(Array.isArray(n)?n:[]).concat(r);if(!A(r))return r;for(var s,i,o=j(r),c=0;c<o.length;)s=o[c++],(i=Object.getOwnPropertyDescriptor(r,s)).hasOwnProperty("value")?i.value!==t&&(n[s]=e(A(n[s])||Array.isArray(r[s])?n[s]:{},r[s])):Object.defineProperty(n,s,i);return n}));function P(){return(n=Array.prototype.concat.apply([],arguments).filter((function(e,t,n){return x(e)&&n.indexOf(e)===t}))).length?n:t}function _(e,t){function r(n,r){w(t[n])&&(w(e[n])||(e[n]={}),(r||E)(e[n],t[n]))}function s(r){(n=P(e[r],t[r]))&&(e[r]=n)}return t&&w(t=t[O]||t)&&(r(b),r(o),r(c,k),r(a),r(u),r(l,k),r(p),r(f),r(h,k),s(v),s(g)),e}function N(){return function(e){return n=function e(n){var r,s,i=e[O]||{},u={__proto__:i[b]},l=i[v],p=Array.prototype.slice.apply(arguments),f=i[c];if(f&&k(u,f),(f=i[o])&&E(u,f),(f=i[a])&&Object.defineProperties(u,f),!l||!l.length)return u;for(n===t&&(n={}),i=0;i<l.length;)x(r=l[i++])&&(u=(s=r.call(u,n,{instance:u,stamp:e,args:p}))===t?u:s);return u},(r=e[l])&&k(n,r),(r=e[u])&&E(n,r),(r=e[p])&&Object.defineProperties(n,r),r=x(n[O])?n[O]:N,E(n[O]=function(){return r.apply(this,arguments)},e),n}(Array.prototype.concat.apply([this],arguments).reduce(_,{}))}function T(e){return x(e)&&x(e[O])}var M={};function R(e,i){return function(){return(s={})[e]=i.apply(t,Array.prototype.concat.apply([{}],arguments)),((n=this)&&n[O]||r).call(n,s)}}M[b]=R(b,E),M[o]=M.props=R(o,E),M[v]=M.init=R(v,P),M[g]=R(g,P),M[c]=M[m]=R(c,k),M[u]=M.statics=R(u,E),M[l]=M[d]=R(l,k),M[f]=M.conf=R(f,E),M[h]=M[y]=R(h,k),M[a]=R(a,E),M[p]=R(p,E),r=M[O]=E((function(){for(var e,j,S=0,x=[],A=arguments,_=this;S<A.length;)w(e=A[S++])&&x.push(T(e)?e:((s={})[b]=(j=e)[b]||t,r=j.props,s[o]=w((n=j[o])||r)?E({},r,n):t,s[v]=P(j.init,j[v]),s[g]=P(j[g]),r=j[m],s[c]=w((n=j[c])||r)?k({},r,n):t,s[a]=j[a],r=j.statics,s[u]=w((n=j[u])||r)?E({},r,n):t,r=j[d],s[l]=w((n=j[l])||r)?k({},r,n):t,n=j[p],s[p]=w((r=j.name&&{name:{value:j.name}})||n)?E({},n,r):t,r=j.conf,s[f]=w((n=j[f])||r)?E({},r,n):t,r=j[y],s[h]=w((n=j[h])||r)?k({},r,n):t,s));if(e=N.apply(_||i,x),_&&x.unshift(_),Array.isArray(A=e[O][g]))for(S=0;S<A.length;)e=T(_=A[S++]({stamp:e,composables:x}))?_:e;return e}),M),M.create=function(){return this.apply(t,arguments)},(s={})[u]=M,i=N(s),r[O]=r.bind(),r.version="4.3.2","object"!=typeof t?e.exports=r:self.stampit=r}()},1427:(e,t,n)=>{e.exports=n(6762)}},t={};function n(r){var s=t[r];if(void 0!==s)return s.exports;var i=t[r]={id:r,loaded:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.loaded=!0,i.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.nmd=e=>(e.paths=[],e.children||(e.children=[]),e);var r={};return(()=>{"use strict";n.r(r),n.d(r,{AlternatingVisitor:()=>gs,FallbackVisitor:()=>er,FixedFieldsVisitor:()=>mr,JSONReferenceElement:()=>Rn,JSONSchemaDraft7MediaTypes:()=>Te,JSONSchemaElement:()=>ii,LinkDescriptionElement:()=>oi,MapVisitor:()=>$r,ParentSchemaAwareVisitor:()=>Ar,PatternedFieldsVisitor:()=>Ir,SpecificationVisitor:()=>hr,createRefractor:()=>Mi,default:()=>ci,getNodeType:()=>ai,isArrayElement:()=>ue,isBooleanElement:()=>ce,isElement:()=>re,isJSONReferenceElement:()=>ks,isJSONReferenceLikeElement:()=>kr,isJSONSchemaElement:()=>Pi,isLinkDescriptionElement:()=>_i,isLinkElement:()=>pe,isMemberElement:()=>le,isNullElement:()=>oe,isNumberElement:()=>ie,isObjectElement:()=>ae,isRefElement:()=>fe,isStringElement:()=>se,keyMap:()=>ui,mediaTypes:()=>Me,refract:()=>Ri,refractorPluginReplaceEmptyElement:()=>hi,specificationObj:()=>ki});var e={};n.r(e),n.d(e,{hasElementSourceMap:()=>be,includesClasses:()=>Oe,includesSymbols:()=>ge,isAnnotationElement:()=>he,isArrayElement:()=>ue,isBooleanElement:()=>ce,isCommentElement:()=>me,isElement:()=>re,isLinkElement:()=>pe,isMemberElement:()=>le,isNullElement:()=>oe,isNumberElement:()=>ie,isObjectElement:()=>ae,isParseResultElement:()=>de,isPrimitiveElement:()=>ve,isRefElement:()=>fe,isSourceMapElement:()=>ye,isStringElement:()=>se});var t={};n.r(t),n.d(t,{isJSONReferenceElement:()=>ks,isJSONSchemaElement:()=>As,isLinkDescriptionElement:()=>_s,isMediaElement:()=>Ps});var s={};n.r(s),n.d(s,{isJSONReferenceElement:()=>ks,isJSONSchemaElement:()=>Zs,isLinkDescriptionElement:()=>ei,isMediaElement:()=>Ps});var i={};n.r(i),n.d(i,{isJSONReferenceElement:()=>ks,isJSONSchemaElement:()=>Pi,isLinkDescriptionElement:()=>_i});var o=n(7952);function c(e){return null!=e&&"object"==typeof e&&!0===e["@@functional/placeholder"]}function a(e){return function t(n){return 0===arguments.length||c(n)?t:e.apply(this,arguments)}}function u(e){return function t(n,r){switch(arguments.length){case 0:return t;case 1:return c(n)?t:a((function(t){return e(n,t)}));default:return c(n)&&c(r)?t:c(n)?a((function(t){return e(t,r)})):c(r)?a((function(t){return e(n,t)})):e(n,r)}}}const l=Array.isArray||function(e){return null!=e&&e.length>=0&&"[object Array]"===Object.prototype.toString.call(e)};function p(e,t,n){return function(){if(0===arguments.length)return n();var r=arguments[arguments.length-1];if(!l(r)){for(var s=0;s<e.length;){if("function"==typeof r[e[s]])return r[e[s]].apply(r,Array.prototype.slice.call(arguments,0,-1));s+=1}if(function(e){return null!=e&&"function"==typeof e["@@transducer/step"]}(r))return t.apply(null,Array.prototype.slice.call(arguments,0,-1))(r)}return n.apply(this,arguments)}}function f(e){return e&&e["@@transducer/reduced"]?e:{"@@transducer/value":e,"@@transducer/reduced":!0}}const h=function(){return this.xf["@@transducer/init"]()},m=function(e){return this.xf["@@transducer/result"](e)};var d=function(){function e(e,t){this.xf=t,this.f=e,this.all=!0}return e.prototype["@@transducer/init"]=h,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=f(this.xf["@@transducer/step"](e,!1))),e},e}();function y(e){return function(t){return new d(e,t)}}const v=u(p(["all"],y,(function(e,t){for(var n=0;n<t.length;){if(!e(t[n]))return!1;n+=1}return!0})));function b(e,t){switch(e){case 0:return function(){return t.apply(this,arguments)};case 1:return function(e){return t.apply(this,arguments)};case 2:return function(e,n){return t.apply(this,arguments)};case 3:return function(e,n,r){return t.apply(this,arguments)};case 4:return function(e,n,r,s){return t.apply(this,arguments)};case 5:return function(e,n,r,s,i){return t.apply(this,arguments)};case 6:return function(e,n,r,s,i,o){return t.apply(this,arguments)};case 7:return function(e,n,r,s,i,o,c){return t.apply(this,arguments)};case 8:return function(e,n,r,s,i,o,c,a){return t.apply(this,arguments)};case 9:return function(e,n,r,s,i,o,c,a,u){return t.apply(this,arguments)};case 10:return function(e,n,r,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 g(e,t,n){return function(){for(var r=[],s=0,i=e,o=0,a=!1;o<t.length||s<arguments.length;){var u;o<t.length&&(!c(t[o])||s>=arguments.length)?u=t[o]:(u=arguments[s],s+=1),r[o]=u,c(u)?a=!0:i-=1,o+=1}return!a&&i<=0?n.apply(this,r):b(Math.max(0,i),g(e,r,n))}}const O=u((function(e,t){return 1===e?a(t):b(e,g(e,[],t))}));const j=a((function(e){return O(e.length,(function(t,n){var r=Array.prototype.slice.call(arguments,0);return r[0]=n,r[1]=t,e.apply(this,r)}))}));function S(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}function E(e,t,n){for(var r=0,s=n.length;r<s;){if(e(t,n[r]))return!0;r+=1}return!1}function x(e,t){return Object.prototype.hasOwnProperty.call(t,e)}const w="function"==typeof Object.is?Object.is:function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t};var A=Object.prototype.toString;const k=function(){return"[object Arguments]"===A.call(arguments)?function(e){return"[object Arguments]"===A.call(e)}:function(e){return x("callee",e)}}();var P=!{toString:null}.propertyIsEnumerable("toString"),_=["constructor","valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],N=function(){return arguments.propertyIsEnumerable("length")}(),T=function(e,t){for(var n=0;n<e.length;){if(e[n]===t)return!0;n+=1}return!1},M="function"!=typeof Object.keys||N?a((function(e){if(Object(e)!==e)return[];var t,n,r=[],s=N&&k(e);for(t in e)!x(t,e)||s&&"length"===t||(r[r.length]=t);if(P)for(n=_.length-1;n>=0;)x(t=_[n],e)&&!T(r,t)&&(r[r.length]=t),n-=1;return r})):a((function(e){return Object(e)!==e?[]:Object.keys(e)}));const R=M;const F=a((function(e){return null===e?"Null":void 0===e?"Undefined":Object.prototype.toString.call(e).slice(8,-1)}));function D(e,t,n,r){var s=S(e);function i(e,t){return L(e,t,n.slice(),r.slice())}return!E((function(e,t){return!E(i,t,e)}),S(t),s)}function L(e,t,n,r){if(w(e,t))return!0;var s,i,o=F(e);if(o!==F(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||!w(e.valueOf(),t.valueOf()))return!1;break;case"Date":if(!w(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=n.length-1;c>=0;){if(n[c]===e)return r[c]===t;c-=1}switch(o){case"Map":return e.size===t.size&&D(e.entries(),t.entries(),n.concat([e]),r.concat([t]));case"Set":return e.size===t.size&&D(e.values(),t.values(),n.concat([e]),r.concat([t]));case"Arguments":case"Array":case"Object":case"Boolean":case"Number":case"String":case"Date":case"Error":case"RegExp":case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"ArrayBuffer":break;default:return!1}var a=R(e);if(a.length!==R(t).length)return!1;var u=n.concat([e]),l=r.concat([t]);for(c=a.length-1;c>=0;){var p=a[c];if(!x(p,t)||!L(t[p],e[p],u,l))return!1;c-=1}return!0}const J=u((function(e,t){return L(e,t,[],[])}));function V(e,t){return function(e,t,n){var r,s;if("function"==typeof e.indexOf)switch(typeof t){case"number":if(0===t){for(r=1/t;n<e.length;){if(0===(s=e[n])&&1/s===r)return n;n+=1}return-1}if(t!=t){for(;n<e.length;){if("number"==typeof(s=e[n])&&s!=s)return n;n+=1}return-1}return e.indexOf(t,n);case"string":case"boolean":case"function":case"undefined":return e.indexOf(t,n);case"object":if(null===t)return e.indexOf(t,n)}for(;n<e.length;){if(J(e[n],t))return n;n+=1}return-1}(t,e,0)>=0}const C=j(u(V));class I extends o.RP{constructor(e,t,n){super(e,t,n),this.element="annotation"}get code(){return this.attributes.get("code")}set code(e){this.attributes.set("code",e)}}const $=I;class B extends o.RP{constructor(e,t,n){super(e,t,n),this.element="comment"}}const q=B;const z=a((function(e){return function(){return e}}));const U=z(void 0);const G=J(U());class K extends o.ON{constructor(e,t,n){super(e,t,n),this.element="parseResult"}get api(){return this.children.filter((e=>e.classes.contains("api"))).first}get results(){return this.children.filter((e=>e.classes.contains("result")))}get result(){return this.results.first}get annotations(){return this.children.filter((e=>"annotation"===e.element))}get warnings(){return this.children.filter((e=>"annotation"===e.element&&e.classes.contains("warning")))}get errors(){return this.children.filter((e=>"annotation"===e.element&&e.classes.contains("error")))}get isEmpty(){return this.children.reject((e=>"annotation"===e.element)).isEmpty}replaceResult(e){const{result:t}=this;if(G(t))return!1;const n=this.content.findIndex((e=>e===t));return-1!==n&&(this.content[n]=e,!0)}}const H=K;class W extends o.ON{constructor(e,t,n){super(e,t,n),this.element="sourceMap"}get positionStart(){return this.children.filter((e=>e.classes.contains("position"))).get(0)}get positionEnd(){return this.children.filter((e=>e.classes.contains("position"))).get(1)}set position(e){if(null===e)return;const t=new o.ON([e.start.row,e.start.column,e.start.char]),n=new o.ON([e.end.row,e.end.column,e.end.char]);t.classes.push("position"),n.classes.push("position"),this.push(t).push(n)}}const Q=W,Y=(e,t)=>"object"==typeof t&&null!==t&&e in t&&"function"==typeof t[e],X=e=>"object"==typeof e&&null!=e&&"_storedElement"in e&&"string"==typeof e._storedElement&&"_content"in e,Z=(e,t)=>"object"==typeof t&&null!==t&&"primitive"in t&&("function"==typeof t.primitive&&t.primitive()===e),ee=(e,t)=>"object"==typeof t&&null!==t&&"classes"in t&&(Array.isArray(t.classes)||t.classes instanceof o.ON)&&t.classes.includes(e),te=(e,t)=>"object"==typeof t&&null!==t&&"element"in t&&t.element===e,ne=e=>e({hasMethod:Y,hasBasicElementProps:X,primitiveEq:Z,isElementType:te,hasClass:ee}),re=ne((({hasBasicElementProps:e,primitiveEq:t})=>n=>n instanceof o.W_||e(n)&&t(void 0,n))),se=ne((({hasBasicElementProps:e,primitiveEq:t})=>n=>n instanceof o.RP||e(n)&&t("string",n))),ie=ne((({hasBasicElementProps:e,primitiveEq:t})=>n=>n instanceof o.VL||e(n)&&t("number",n))),oe=ne((({hasBasicElementProps:e,primitiveEq:t})=>n=>n instanceof o.zr||e(n)&&t("null",n))),ce=ne((({hasBasicElementProps:e,primitiveEq:t})=>n=>n instanceof o.hh||e(n)&&t("boolean",n))),ae=ne((({hasBasicElementProps:e,primitiveEq:t,hasMethod:n})=>r=>r instanceof o.Sb||e(r)&&t("object",r)&&n("keys",r)&&n("values",r)&&n("items",r))),ue=ne((({hasBasicElementProps:e,primitiveEq:t,hasMethod:n})=>r=>r instanceof o.ON&&!(r instanceof o.Sb)||e(r)&&t("array",r)&&n("push",r)&&n("unshift",r)&&n("map",r)&&n("reduce",r))),le=ne((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof o.c6||e(r)&&t("member",r)&&n(void 0,r))),pe=ne((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof o.EA||e(r)&&t("link",r)&&n(void 0,r))),fe=ne((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof o.tK||e(r)&&t("ref",r)&&n(void 0,r))),he=ne((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof $||e(r)&&t("annotation",r)&&n("array",r))),me=ne((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof q||e(r)&&t("comment",r)&&n("string",r))),de=ne((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof H||e(r)&&t("parseResult",r)&&n("array",r))),ye=ne((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof Q||e(r)&&t("sourceMap",r)&&n("array",r))),ve=e=>te("object",e)||te("array",e)||te("boolean",e)||te("number",e)||te("string",e)||te("null",e)||te("member",e),be=e=>ye(e.meta.get("sourceMap")),ge=(e,t)=>{if(0===e.length)return!0;const n=t.attributes.get("symbols");return!!ue(n)&&v(C(n.toValue()),e)},Oe=(e,t)=>0===e.length||v(C(t.classes.toValue()),e);function je(e){return"[object String]"===Object.prototype.toString.call(e)}const Se=u((function(e,t){var n=e<0?t.length+e:e;return je(t)?t.charAt(n):t[n]}));const Ee=Se(-1);var xe=n(1427);const we=class extends xe{constructor(e,t,n){if(super(e,t,n),this.name=this.constructor.name,"string"==typeof t&&(this.message=t),"function"==typeof Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error(t).stack,null!=n&&"object"==typeof n&&Object.hasOwn(n,"cause")&&!("cause"in this)){const{cause:e}=n;this.cause=e,e instanceof Error&&"stack"in e&&(this.stack=`${this.stack}\nCAUSE: ${e.stack}`)}}};class Ae extends Error{static[Symbol.hasInstance](e){return super[Symbol.hasInstance](e)||Function.prototype[Symbol.hasInstance].call(we,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 ke=Ae;const Pe=class extends ke{};const _e=class extends Pe{};const Ne=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 Te extends Ne{filterByFormat(e="generic"){const t="generic"===e?"schema;version":e;return this.filter((e=>e.includes(t)))}findBy(e="draft-07",t="generic"){const n="generic"===t?`schema;version=${e}`:`schema+${t};version=${e}`;return this.find((e=>e.includes(n)))||this.unknownMediaType}latest(e="generic"){return Ee(this.filterByFormat(e))}}const Me=new Te("application/schema;version=draft-07","application/schema+json;version=draft-07","application/schema+yaml;version=draft-07");function Re(e){return function t(n,r,s){switch(arguments.length){case 0:return t;case 1:return c(n)?t:u((function(t,r){return e(n,t,r)}));case 2:return c(n)&&c(r)?t:c(n)?u((function(t,n){return e(t,r,n)})):c(r)?u((function(t,r){return e(n,t,r)})):a((function(t){return e(n,r,t)}));default:return c(n)&&c(r)&&c(s)?t:c(n)&&c(r)?u((function(t,n){return e(t,n,s)})):c(n)&&c(s)?u((function(t,n){return e(t,r,n)})):c(r)&&c(s)?u((function(t,r){return e(n,t,r)})):c(n)?a((function(t){return e(t,r,s)})):c(r)?a((function(t){return e(n,t,s)})):c(s)?a((function(t){return e(n,r,t)})):e(n,r,s)}}}const Fe=u((function(e,t){return null==t||t!=t?e:t})),De=Number.isInteger||function(e){return e<<0===e};const Le=u((function(e,t){if(null!=t)return De(e)?Se(e,t):t[e]}));const Je=Re((function(e,t,n){return Fe(e,Le(t,n))}));const Ve=u((function(e,t){return e.map((function(e){for(var n,r=t,s=0;s<e.length;){if(null==r)return;n=e[s],r=De(n)?Se(n,r):r[n],s+=1}return r}))}));const Ce=u((function(e,t){return Ve([e],t)[0]}));function Ie(e,t){return function(){var n=arguments.length;if(0===n)return t();var r=arguments[n-1];return l(r)||"function"!=typeof r[e]?t.apply(this,arguments):r[e].apply(r,Array.prototype.slice.call(arguments,0,n-1))}}const $e=Re(Ie("slice",(function(e,t,n){return Array.prototype.slice.call(n,e,t)})));const Be=$e(0,-1);const qe=u((function(e,t){return b(e.length,(function(){return e.apply(t,arguments)}))}));const ze=u((function(e,t){return e.apply(this,t)}));function Ue(e,t,n){for(var r=0,s=n.length;r<s;)t=e(t,n[r]),r+=1;return t}const Ge=a((function(e){return!!l(e)||!!e&&("object"==typeof e&&(!je(e)&&(0===e.length||e.length>0&&(e.hasOwnProperty(0)&&e.hasOwnProperty(e.length-1)))))}));var Ke="undefined"!=typeof Symbol?Symbol.iterator:"@@iterator";function He(e,t,n){return function(r,s,i){if(Ge(i))return e(r,s,i);if(null==i)return s;if("function"==typeof i["fantasy-land/reduce"])return t(r,s,i,"fantasy-land/reduce");if(null!=i[Ke])return n(r,s,i[Ke]());if("function"==typeof i.next)return n(r,s,i);if("function"==typeof i.reduce)return t(r,s,i,"reduce");throw new TypeError("reduce: list must be array or iterable")}}function We(e,t,n){for(var r=n.next();!r.done;)t=e(t,r.value),r=n.next();return t}function Qe(e,t,n,r){return n[r](e,t)}const Ye=He(Ue,Qe,We);function Xe(e,t){for(var n=0,r=t.length,s=Array(r);n<r;)s[n]=e(t[n]),n+=1;return s}var Ze=function(){function e(e,t){this.xf=t,this.f=e}return e.prototype["@@transducer/init"]=h,e.prototype["@@transducer/result"]=m,e.prototype["@@transducer/step"]=function(e,t){return this.xf["@@transducer/step"](e,this.f(t))},e}();const et=u(p(["fantasy-land/map","map"],(function(e){return function(t){return new Ze(e,t)}}),(function(e,t){switch(Object.prototype.toString.call(t)){case"[object Function]":return O(t.length,(function(){return e.call(this,t.apply(this,arguments))}));case"[object Object]":return Ue((function(n,r){return n[r]=e(t[r]),n}),{},R(t));default:return Xe(e,t)}})));const tt=u((function(e,t){return"function"==typeof t["fantasy-land/ap"]?t["fantasy-land/ap"](e):"function"==typeof e.ap?e.ap(t):"function"==typeof e?function(n){return e(n)(t(n))}:Ye((function(e,n){return function(e,t){var n;t=t||[];var r=(e=e||[]).length,s=t.length,i=[];for(n=0;n<r;)i[i.length]=e[n],n+=1;for(n=0;n<s;)i[i.length]=t[n],n+=1;return i}(e,et(n,t))}),[],e)}));const nt=u((function(e,t){var n=O(e,t);return O(e,(function(){return Ue(tt,et(n,arguments[0]),Array.prototype.slice.call(arguments,1))}))}));const rt=a((function(e){return nt(e.length,e)}));const st=rt(a((function(e){return!e})));function it(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 ot=function(e){return(e<10?"0":"")+e};const ct="function"==typeof Date.prototype.toISOString?function(e){return e.toISOString()}:function(e){return e.getUTCFullYear()+"-"+ot(e.getUTCMonth()+1)+"-"+ot(e.getUTCDate())+"T"+ot(e.getUTCHours())+":"+ot(e.getUTCMinutes())+":"+ot(e.getUTCSeconds())+"."+(e.getUTCMilliseconds()/1e3).toFixed(3).slice(2,5)+"Z"};function at(e){return"[object Object]"===Object.prototype.toString.call(e)}var ut=function(){function e(e,t){this.xf=t,this.f=e}return e.prototype["@@transducer/init"]=h,e.prototype["@@transducer/result"]=m,e.prototype["@@transducer/step"]=function(e,t){return this.f(t)?this.xf["@@transducer/step"](e,t):e},e}();function lt(e){return function(t){return new ut(e,t)}}const pt=u(p(["fantasy-land/filter","filter"],lt,(function(e,t){return at(t)?Ue((function(n,r){return e(t[r])&&(n[r]=t[r]),n}),{},R(t)):function(e,t){for(var n=0,r=t.length,s=[];n<r;)e(t[n])&&(s[s.length]=t[n]),n+=1;return s}(e,t)})));const ft=u((function(e,t){return pt((n=e,function(){return!n.apply(this,arguments)}),t);var n}));function ht(e,t){var n=function(n){var r=t.concat([e]);return V(n,r)?"<Circular>":ht(n,r)},r=function(e,t){return Xe((function(t){return it(t)+": "+n(e[t])}),t.slice().sort())};switch(Object.prototype.toString.call(e)){case"[object Arguments]":return"(function() { return arguments; }("+Xe(n,e).join(", ")+"))";case"[object Array]":return"["+Xe(n,e).concat(r(e,ft((function(e){return/^\d+$/.test(e)}),R(e)))).join(", ")+"]";case"[object Boolean]":return"object"==typeof e?"new Boolean("+n(e.valueOf())+")":e.toString();case"[object Date]":return"new Date("+(isNaN(e.valueOf())?n(NaN):it(ct(e)))+")";case"[object Map]":return"new Map("+n(Array.from(e))+")";case"[object Null]":return"null";case"[object Number]":return"object"==typeof e?"new Number("+n(e.valueOf())+")":1/e==-1/0?"-0":e.toString(10);case"[object Set]":return"new Set("+n(Array.from(e).sort())+")";case"[object String]":return"object"==typeof e?"new String("+n(e.valueOf())+")":it(e);case"[object Undefined]":return"undefined";default:if("function"==typeof e.toString){var s=e.toString();if("[object Object]"!==s)return s}return"{"+r(e,R(e)).join(", ")+"}"}}const mt=a((function(e){return ht(e,[])}));const dt=u((function(e,t){if(e===t)return t;function n(e,t){if(e>t!=t>e)return t>e?t:e}var r=n(e,t);if(void 0!==r)return r;var s=n(typeof e,typeof t);if(void 0!==s)return s===typeof e?e:t;var i=mt(e),o=n(i,mt(t));return void 0!==o&&o===i?e:t}));const yt=u((function(e,t){return et(Le(e),t)}));function vt(e,t,n){for(var r=0,s=n.length;r<s;){if((t=e["@@transducer/step"](t,n[r]))&&t["@@transducer/reduced"]){t=t["@@transducer/value"];break}r+=1}return e["@@transducer/result"](t)}function bt(e,t,n){for(var r=n.next();!r.done;){if((t=e["@@transducer/step"](t,r.value))&&t["@@transducer/reduced"]){t=t["@@transducer/value"];break}r=n.next()}return e["@@transducer/result"](t)}function gt(e,t,n,r){return e["@@transducer/result"](n[r](qe(e["@@transducer/step"],e),t))}const Ot=He(vt,gt,bt);var jt=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 St=Re((function(e,t,n){return Ot("function"==typeof e?new jt(e):e,t,n)}));const Et=a((function(e){return O(St(dt,0,yt("length",e)),(function(){for(var t=0,n=e.length;t<n;){if(e[t].apply(this,arguments))return!0;t+=1}return!1}))}));function xt(e,t){return function(){return t.call(this,e.apply(this,arguments))}}const wt=a(Ie("tail",$e(1,1/0)));function At(){if(0===arguments.length)throw new Error("pipe requires at least one argument");return b(arguments[0].length,St(xt,arguments[0],wt(arguments)))}var kt=function(e,t){switch(arguments.length){case 0:return kt;case 1:return function t(n){return 0===arguments.length?t:w(e,n)};default:return w(e,t)}};const Pt=kt;const _t=O(1,At(F,Pt("GeneratorFunction")));const Nt=O(1,At(F,Pt("AsyncFunction")));const Tt=Et([At(F,Pt("Function")),_t,Nt]);const Mt=st(Tt);function Rt(e){var t=Object.prototype.toString.call(e);return"[object Function]"===t||"[object AsyncFunction]"===t||"[object GeneratorFunction]"===t||"[object AsyncGeneratorFunction]"===t}const Ft=u((function(e,t){return e&&t}));const Dt=u((function(e,t){return Rt(e)?function(){return e.apply(this,arguments)&&t.apply(this,arguments)}:rt(Ft)(e,t)}));var Lt=a((function(e){return null!=e&&"function"==typeof e["fantasy-land/empty"]?e["fantasy-land/empty"]():null!=e&&null!=e.constructor&&"function"==typeof e.constructor["fantasy-land/empty"]?e.constructor["fantasy-land/empty"]():null!=e&&"function"==typeof e.empty?e.empty():null!=e&&null!=e.constructor&&"function"==typeof e.constructor.empty?e.constructor.empty():l(e)?[]:je(e)?"":at(e)?{}:k(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 Jt=Lt;const Vt=a((function(e){return null!=e&&J(e,Jt(e))}));const Ct=O(1,Tt(Array.isArray)?Array.isArray:At(F,Pt("Array")));const It=Dt(Ct,Vt);const $t=O(3,(function(e,t,n){var r=Ce(e,n),s=Ce(Be(e),n);if(!Mt(r)&&!It(e)){var i=qe(r,s);return ze(i,t)}}));const Bt=Re((function(e,t,n){return e(Ce(t,n))}));const qt=J(null);const zt=st(qt);function Ut(e){return Ut="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},Ut(e)}const Gt=function(e){return"object"===Ut(e)};const Kt=O(1,Dt(zt,Gt));var Ht=At(F,Pt("Object")),Wt=At(mt,J(mt(Object))),Qt=Bt(Dt(Tt,Wt),["constructor"]);const Yt=O(1,(function(e){if(!Kt(e)||!Ht(e))return!1;var t=Object.getPrototypeOf(e);return!!qt(t)||Qt(t)}));class Xt extends o.lS{constructor(){super(),this.register("annotation",$),this.register("comment",q),this.register("parseResult",H),this.register("sourceMap",Q)}}const Zt=new Xt,en=e=>{const t=new Xt;return Yt(e)&&t.use(e),t},tn=Zt,nn=()=>({predicates:{...e},namespace:tn});var rn=n(6591),sn=n.n(rn);const on=function(){return!1};const cn=O(1,At(F,Pt("String")));const an=class extends ke{constructor(e,t){if(super(e,t),null!=t&&"object"==typeof t){const{cause:e,...n}=t;Object.assign(this,n)}}},un=(e,t,n)=>{const r=e[t];if(null!=r){if(!n&&"function"==typeof r)return r;const e=n?r.leave:r.enter;if("function"==typeof e)return e}else{const r=n?e.leave:e.enter;if(null!=r){if("function"==typeof r)return r;const e=r[t];if("function"==typeof e)return e}}return null},ln={},pn=e=>null==e?void 0:e.type,fn=e=>"string"==typeof pn(e),hn=e=>Object.create(Object.getPrototypeOf(e),Object.getOwnPropertyDescriptors(e)),mn=(e,t,{keyMap:n=null,state:r={},breakSymbol:s=ln,deleteNodeSymbol:i=null,skipVisitingNodeSymbol:o=!1,visitFnGetter:c=un,nodeTypeGetter:a=pn,nodePredicate:u=fn,nodeCloneFn:l=hn,detectCycles:p=!0}={})=>{const f=n||{};let h,m,d=Array.isArray(e),y=[e],v=-1,b=[],g=e;const O=[],j=[];do{v+=1;const e=v===y.length;let n;const E=e&&0!==b.length;if(e){if(n=0===j.length?void 0:O.pop(),g=m,m=j.pop(),E)if(d){g=g.slice();let e=0;for(const[t,n]of b){const r=t-e;n===i?(g.splice(r,1),e+=1):g[r]=n}}else{g=l(g);for(const[e,t]of b)g[e]=t}v=h.index,y=h.keys,b=h.edits,d=h.inArray,h=h.prev}else if(m!==i&&void 0!==m){if(n=d?v:y[v],g=m[n],g===i||void 0===g)continue;O.push(n)}if(j.includes(g))continue;let x;if(!Array.isArray(g)){if(!u(g))throw new an(`Invalid AST Node: ${String(g)}`,{node:g});if(p&&j.includes(g)){O.pop();continue}const i=c(t,a(g),e);if(i){for(const[e,n]of Object.entries(r))t[e]=n;x=i.call(t,g,n,m,O,j)}if(x===s)break;if(x===o){if(!e){O.pop();continue}}else if(void 0!==x&&(b.push([n,x]),!e)){if(!u(x)){O.pop();continue}g=x}}var S;if(void 0===x&&E&&b.push([n,g]),!e)h={inArray:d,index:v,keys:y,edits:b,prev:h},d=Array.isArray(g),y=d?g:null!==(S=f[a(g)])&&void 0!==S?S:[],v=-1,b=[],m!==i&&void 0!==m&&j.push(m),m=g}while(void 0!==h);return 0!==b.length?b[b.length-1][1]:e};mn[Symbol.for("nodejs.util.promisify.custom")]=async(e,t,{keyMap:n=null,state:r={},breakSymbol:s=ln,deleteNodeSymbol:i=null,skipVisitingNodeSymbol:o=!1,visitFnGetter:c=un,nodeTypeGetter:a=pn,nodePredicate:u=fn,nodeCloneFn:l=hn,detectCycles:p=!0}={})=>{const f=n||{};let h,m,d=Array.isArray(e),y=[e],v=-1,b=[],g=e;const O=[],j=[];do{v+=1;const e=v===y.length;let n;const E=e&&0!==b.length;if(e){if(n=0===j.length?void 0:O.pop(),g=m,m=j.pop(),E)if(d){g=g.slice();let e=0;for(const[t,n]of b){const r=t-e;n===i?(g.splice(r,1),e+=1):g[r]=n}}else{g=l(g);for(const[e,t]of b)g[e]=t}v=h.index,y=h.keys,b=h.edits,d=h.inArray,h=h.prev}else if(m!==i&&void 0!==m){if(n=d?v:y[v],g=m[n],g===i||void 0===g)continue;O.push(n)}let x;if(!Array.isArray(g)){if(!u(g))throw new an(`Invalid AST Node: ${String(g)}`,{node:g});if(p&&j.includes(g)){O.pop();continue}const i=c(t,a(g),e);if(i){for(const[e,n]of Object.entries(r))t[e]=n;x=await i.call(t,g,n,m,O,j)}if(x===s)break;if(x===o){if(!e){O.pop();continue}}else if(void 0!==x&&(b.push([n,x]),!e)){if(!u(x)){O.pop();continue}g=x}}var S;if(void 0===x&&E&&b.push([n,g]),!e)h={inArray:d,index:v,keys:y,edits:b,prev:h},d=Array.isArray(g),y=d?g:null!==(S=f[a(g)])&&void 0!==S?S:[],v=-1,b=[],m!==i&&void 0!==m&&j.push(m),m=g}while(void 0!==h);return 0!==b.length?b[b.length-1][1]:e};const dn=class extends an{constructor(e,t){super(e,t),void 0!==t&&(this.value=t.value)}};const yn=class extends dn{};const vn=class extends dn{},bn=(e,t={})=>{const{visited:n=new WeakMap}=t,r={...t,visited:n};if(n.has(e))return n.get(e);if(e instanceof o.KeyValuePair){const{key:t,value:s}=e,i=re(t)?bn(t,r):t,c=re(s)?bn(s,r):s,a=new o.KeyValuePair(i,c);return n.set(e,a),a}if(e instanceof o.rm){const t=e=>bn(e,r),s=[...e].map(t),i=new o.rm(s);return n.set(e,i),i}if(e instanceof o.O4){const t=e=>bn(e,r),s=[...e].map(t),i=new o.O4(s);return n.set(e,i),i}if(re(e)){const t=jn(e);if(n.set(e,t),e.content)if(re(e.content))t.content=bn(e.content,r);else if(e.content instanceof o.KeyValuePair)t.content=bn(e.content,r);else if(Array.isArray(e.content)){const n=e=>bn(e,r);t.content=e.content.map(n)}else t.content=e.content;else t.content=e.content;return t}throw new yn("Value provided to cloneDeep function couldn't be cloned",{value:e})};bn.safe=e=>{try{return bn(e)}catch{return e}};const gn=e=>{const{key:t,value:n}=e;return new o.KeyValuePair(t,n)},On=e=>{const t=new e.constructor;if(t.element=e.element,e.meta.length>0&&(t._meta=bn(e.meta)),e.attributes.length>0&&(t._attributes=bn(e.attributes)),re(e.content)){const n=e.content;t.content=On(n)}else Array.isArray(e.content)?t.content=[...e.content]:e.content instanceof o.KeyValuePair?t.content=gn(e.content):t.content=e.content;return t},jn=e=>{if(e instanceof o.KeyValuePair)return gn(e);if(e instanceof o.rm)return(e=>{const t=[...e];return new o.rm(t)})(e);if(e instanceof o.O4)return(e=>{const t=[...e];return new o.O4(t)})(e);if(re(e))return On(e);throw new vn("Value provided to cloneShallow function couldn't be cloned",{value:e})};jn.safe=e=>{try{return jn(e)}catch{return e}};const Sn=e=>ae(e)?"ObjectElement":ue(e)?"ArrayElement":le(e)?"MemberElement":se(e)?"StringElement":ce(e)?"BooleanElement":ie(e)?"NumberElement":oe(e)?"NullElement":pe(e)?"LinkElement":fe(e)?"RefElement":void 0,En=e=>re(e)?jn(e):hn(e),xn=At(Sn,cn),wn={ObjectElement:["content"],ArrayElement:["content"],MemberElement:["key","value"],StringElement:[],BooleanElement:[],NumberElement:[],NullElement:[],RefElement:[],LinkElement:[],Annotation:[],Comment:[],ParseResultElement:["content"],SourceMap:["content"]},An=(rn({props:{result:[],predicate:on,returnOnTrue:void 0,returnOnFalse:void 0},init({predicate:e=this.predicate,returnOnTrue:t=this.returnOnTrue,returnOnFalse:n=this.returnOnFalse}={}){this.result=[],this.predicate=e,this.returnOnTrue=t,this.returnOnFalse=n},methods:{enter(e){return this.predicate(e)?(this.result.push(e),this.returnOnTrue):this.returnOnFalse}}}),(e,t,{keyMap:n=wn,...r}={})=>mn(e,t,{keyMap:n,nodeTypeGetter:Sn,nodePredicate:xn,nodeCloneFn:En,...r}));An[Symbol.for("nodejs.util.promisify.custom")]=async(e,t,{keyMap:n=wn,...r}={})=>mn[Symbol.for("nodejs.util.promisify.custom")](e,t,{keyMap:n,nodeTypeGetter:Sn,nodePredicate:xn,nodeCloneFn:En,...r});const kn=(e,t,n={})=>{if(0===t.length)return e;const r=Je(nn,"toolboxCreator",n),s=Je({},"visitorOptions",n),i=Je(Sn,"nodeTypeGetter",s),o=r(),c=t.map((e=>e(o))),a=((e,{visitFnGetter:t=un,nodeTypeGetter:n=pn}={})=>{const r=new Array(e.length).fill(null);return{enter(s,...i){for(let o=0;o<e.length;o+=1)if(null===r[o]){const c=t(e[o],n(s),!1);if("function"==typeof c){const t=c.call(e[o],s,...i);if(!1===t)r[o]=s;else if(t===ln)r[o]=ln;else if(void 0!==t)return t}}},leave(s,...i){for(let o=0;o<e.length;o+=1)if(null===r[o]){const c=t(e[o],n(s),!0);if("function"==typeof c){const t=c.call(e[o],s,...i);if(t===ln)r[o]=ln;else if(void 0!==t&&!1!==t)return t}}else r[o]===s&&(r[o]=null)}}})(c.map(Je({},"visitor")),{nodeTypeGetter:i});c.forEach($t(["pre"],[]));const u=An(e,a,s);return c.forEach($t(["post"],[])),u},Pn=(e,{Type:t,plugins:n=[]})=>{const r=new t(e);return kn(r,n,{toolboxCreator:nn,visitorOptions:{nodeTypeGetter:Sn}})},_n=e=>(t,n={})=>Pn(t,{...n,Type:e});o.Sb.refract=_n(o.Sb),o.ON.refract=_n(o.ON),o.RP.refract=_n(o.RP),o.hh.refract=_n(o.hh),o.zr.refract=_n(o.zr),o.VL.refract=_n(o.VL),o.EA.refract=_n(o.EA),o.tK.refract=_n(o.tK),$.refract=_n($),q.refract=_n(q),H.refract=_n(H),Q.refract=_n(Q);class Nn extends o.Sb{constructor(e,t,n){super(e,t,n),this.element="JSONSchemaDraft4"}get idProp(){return this.get("id")}set idProp(e){this.set("id",e)}get $schema(){return this.get("$schema")}set $schema(e){this.set("idProp",e)}get multipleOf(){return this.get("multipleOf")}set multipleOf(e){this.set("multipleOf",e)}get maximum(){return this.get("maximum")}set maximum(e){this.set("maximum",e)}get exclusiveMaximum(){return this.get("exclusiveMaximum")}set exclusiveMaximum(e){this.set("exclusiveMaximum",e)}get minimum(){return this.get("minimum")}set minimum(e){this.set("minimum",e)}get exclusiveMinimum(){return this.get("exclusiveMinimum")}set exclusiveMinimum(e){this.set("exclusiveMinimum",e)}get maxLength(){return this.get("maxLength")}set maxLength(e){this.set("maxLength",e)}get minLength(){return this.get("minLength")}set minLength(e){this.set("minLength",e)}get pattern(){return this.get("pattern")}set pattern(e){this.set("pattern",e)}get additionalItems(){return this.get("additionalItems")}set additionalItems(e){this.set("additionalItems",e)}get items(){return this.get("items")}set items(e){this.set("items",e)}get maxItems(){return this.get("maxItems")}set maxItems(e){this.set("maxItems",e)}get minItems(){return this.get("minItems")}set minItems(e){this.set("minItems",e)}get uniqueItems(){return this.get("uniqueItems")}set uniqueItems(e){this.set("uniqueItems",e)}get maxProperties(){return this.get("maxProperties")}set maxProperties(e){this.set("maxProperties",e)}get minProperties(){return this.get("minProperties")}set minProperties(e){this.set("minProperties",e)}get required(){return this.get("required")}set required(e){this.set("required",e)}get properties(){return this.get("properties")}set properties(e){this.set("properties",e)}get additionalProperties(){return this.get("additionalProperties")}set additionalProperties(e){this.set("additionalProperties",e)}get patternProperties(){return this.get("patternProperties")}set patternProperties(e){this.set("patternProperties",e)}get dependencies(){return this.get("dependencies")}set dependencies(e){this.set("dependencies",e)}get enum(){return this.get("enum")}set enum(e){this.set("enum",e)}get type(){return this.get("type")}set type(e){this.set("type",e)}get allOf(){return this.get("allOf")}set allOf(e){this.set("allOf",e)}get anyOf(){return this.get("anyOf")}set anyOf(e){this.set("anyOf",e)}get oneOf(){return this.get("oneOf")}set oneOf(e){this.set("oneOf",e)}get not(){return this.get("not")}set not(e){this.set("not",e)}get definitions(){return this.get("definitions")}set definitions(e){this.set("definitions",e)}get title(){return this.get("title")}set title(e){this.set("title",e)}get description(){return this.get("description")}set description(e){this.set("description",e)}get default(){return this.get("default")}set default(e){this.set("default",e)}get format(){return this.get("format")}set format(e){this.set("format",e)}get base(){return this.get("base")}set base(e){this.set("base",e)}get links(){return this.get("links")}set links(e){this.set("links",e)}get media(){return this.get("media")}set media(e){this.set("media",e)}get readOnly(){return this.get("readOnly")}set readOnly(e){this.set("readOnly",e)}}const Tn=Nn;class Mn extends o.Sb{constructor(e,t,n){super(e,t,n),this.element="JSONReference",this.classes.push("json-reference")}get $ref(){return this.get("$ref")}set $ref(e){this.set("$ref",e)}}const Rn=Mn;class Fn extends o.Sb{constructor(e,t,n){super(e,t,n),this.element="media"}get binaryEncoding(){return this.get("binaryEncoding")}set binaryEncoding(e){this.set("binaryEncoding",e)}get type(){return this.get("type")}set type(e){this.set("type",e)}}const Dn=Fn;class Ln extends o.Sb{constructor(e,t,n){super(e,t,n),this.element="linkDescription"}get href(){return this.get("href")}set href(e){this.set("href",e)}get rel(){return this.get("rel")}set rel(e){this.set("rel",e)}get title(){return this.get("title")}set title(e){this.set("title",e)}get targetSchema(){return this.get("targetSchema")}set targetSchema(e){this.set("targetSchema",e)}get mediaType(){return this.get("mediaType")}set mediaType(e){this.set("mediaType",e)}get method(){return this.get("method")}set method(e){this.set("method",e)}get encType(){return this.get("encType")}set encType(e){this.set("encType",e)}get schema(){return this.get("schema")}set schema(e){this.set("schema",e)}}const Jn=Ln;const Vn=u((function(e,t){return Ue((function(n,r){return n[r]=e(t[r],r,t),n}),{},R(t))}));const Cn=a((function(e){return null==e}));const In=u((function(e,t){if(0===e.length||Cn(t))return!1;for(var n=t,r=0;r<e.length;){if(Cn(n)||!x(e[r],n))return!1;n=n[e[r]],r+=1}return!0}));var $n=u((function(e,t){return In([e],t)}));const Bn=$n;const qn=Re((function(e,t,n){return e(Le(t,n))}));const zn=a((function(e){return O(e.length,e)}));const Un=u((function(e,t){return O(e+1,(function(){var n=arguments[e];if(null!=n&&Rt(n[t]))return n[t].apply(n,Array.prototype.slice.call(arguments,0,e));throw new TypeError(mt(n)+' does not have a method named "'+t+'"')}))}));const Gn=Un(1,"split");var Kn=function(){function e(e,t){this.xf=t,this.f=e}return e.prototype["@@transducer/init"]=h,e.prototype["@@transducer/result"]=m,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 Hn(e){return function(t){return new Kn(e,t)}}const Wn=u(p(["dropWhile"],Hn,(function(e,t){for(var n=0,r=t.length;n<r&&e(t[n]);)n+=1;return $e(n,1/0,t)})));const Qn=Un(1,"join");const Yn=zn((function(e,t){return At(Gn(""),Wn(C(e)),Qn(""))(t)})),Xn=(e,t)=>{const n=Fe(e,t);return Vn((e=>{if(Yt(e)&&Bn("$ref",e)&&qn(cn,"$ref",e)){const t=Ce(["$ref"],e),r=Yn("#/",t);return Ce(r.split("/"),n)}return Yt(e)?Xn(e,n):e}),e)},Zn=rn({props:{element:null},methods:{copyMetaAndAttributes(e,t){be(e)&&t.meta.set("sourceMap",e.meta.get("sourceMap"))}}}),er=rn(Zn,{methods:{enter(e){return this.element=bn(e),ln}}});const tr=z(U());const nr=function(){return!0},rr=e=>"string"==typeof(null==e?void 0:e.type)?e.type:Sn(e),sr={EphemeralObject:["content"],EphemeralArray:["content"],...wn},ir=(e,t,{keyMap:n=sr,...r}={})=>An(e,t,{keyMap:n,nodeTypeGetter:rr,nodePredicate:nr,detectCycles:!1,deleteNodeSymbol:Symbol.for("delete-node"),skipVisitingNodeSymbol:Symbol.for("skip-visiting-node"),...r});ir[Symbol.for("nodejs.util.promisify.custom")]=async(e,{keyMap:t=sr,...n}={})=>An[Symbol.for("nodejs.util.promisify.custom")](e,visitor,{keyMap:t,nodeTypeGetter:rr,nodePredicate:nr,detectCycles:!1,deleteNodeSymbol:Symbol.for("delete-node"),skipVisitingNodeSymbol:Symbol.for("skip-visiting-node"),...n});const or=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 cr=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))}},ar=rn.init((function(){const e=new WeakMap;this.BooleanElement=function(e){return e.toValue()},this.NumberElement=function(e){return e.toValue()},this.StringElement=function(e){return e.toValue()},this.NullElement=function(){return null},this.ObjectElement={enter(t){if(e.has(t))return e.get(t).toReference();const n=new cr(t.content);return e.set(t,n),n}},this.EphemeralObject={leave:e=>e.toObject()},this.MemberElement={enter:e=>[e.key,e.value]},this.ArrayElement={enter(t){if(e.has(t))return e.get(t).toReference();const n=new or(t.content);return e.set(t,n),n}},this.EphemeralArray={leave:e=>e.toArray()}})),ur=e=>re(e)?se(e)||ie(e)||ce(e)||oe(e)?e.toValue():ir(e,ar()):e;const lr=u((function(e,t){for(var n={},r=0;r<e.length;)e[r]in t&&(n[e[r]]=t[e[r]]),r+=1;return n})),pr=e=>{if(re(e))return`${e.element.charAt(0).toUpperCase()+e.element.slice(1)}Element`},fr={JSONSchemaDraft4Element:["content"],JSONReferenceElement:["content"],MediaElement:["content"],LinkDescriptionElement:["content"],...wn},hr=rn(Zn,{props:{specObj:null,passingOptionsNames:["specObj"]},init({specObj:e=this.specObj}){this.specObj=e},methods:{retrievePassingOptions(){return lr(this.passingOptionsNames,this)},retrieveFixedFields(e){const t=Ce(["visitors",...e,"fixedFields"],this.specObj);return"object"==typeof t&&null!==t?Object.keys(t):[]},retrieveVisitor(e){return Bt(Tt,["visitors",...e],this.specObj)?Ce(["visitors",...e],this.specObj):Ce(["visitors",...e,"$visitor"],this.specObj)},retrieveVisitorInstance(e,t={}){const n=this.retrievePassingOptions();return this.retrieveVisitor(e)({...n,...t})},toRefractedElement(e,t,n={}){const r=this.retrieveVisitorInstance(e,n),s=Object.getPrototypeOf(r);return G(this.fallbackVisitorPrototype)&&(this.fallbackVisitorPrototype=Object.getPrototypeOf(this.retrieveVisitorInstance(["value"]))),this.fallbackVisitorPrototype===s?bn(t):(An(t,r,{keyMap:fr,nodeTypeGetter:pr,...n}),r.element)}}}),mr=rn(hr,{props:{specPath:tr,ignoredFields:[]},init({specPath:e=this.specPath,ignoredFields:t=this.ignoredFields}={}){this.specPath=e,this.ignoredFields=t},methods:{ObjectElement(e){const t=this.specPath(e),n=this.retrieveFixedFields(t);return e.forEach(((e,r,s)=>{if(se(r)&&n.includes(ur(r))&&!this.ignoredFields.includes(ur(r))){const n=this.toRefractedElement([...t,"fixedFields",ur(r)],e),i=new o.c6(bn(r),n);this.copyMetaAndAttributes(s,i),i.classes.push("fixed-field"),this.element.content.push(i)}else this.ignoredFields.includes(ur(r))||this.element.content.push(bn(s))})),this.copyMetaAndAttributes(e,this.element),ln}}}),dr=rn(mr,er,{props:{specPath:z(["document","objects","JSONSchema"])},init(){this.element=new Tn}}),yr=er,vr=er,br=er,gr=er,Or=er,jr=er,Sr=er,Er=er,xr=er,wr=er,Ar=rn({props:{parent:null},init({parent:e=this.parent}){this.parent=e,this.passingOptionsNames=[...this.passingOptionsNames,"parent"]}}),kr=e=>ae(e)&&e.hasKey("$ref"),Pr=rn(hr,Ar,er,{methods:{ObjectElement(e){const t=kr(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"];return this.element=this.toRefractedElement(t,e),ln},ArrayElement(e){return this.element=new o.ON,this.element.classes.push("json-schema-items"),e.forEach((e=>{const t=kr(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"],n=this.toRefractedElement(t,e);this.element.push(n)})),this.copyMetaAndAttributes(e,this.element),ln}}}),_r=er,Nr=er,Tr=er,Mr=er,Rr=er,Fr=rn(er,{methods:{ArrayElement(e){return this.element=bn(e),this.element.classes.push("json-schema-required"),ln}}});const Dr=a((function(e){return O(St(dt,0,yt("length",e)),(function(){for(var t=0,n=e.length;t<n;){if(!e[t].apply(this,arguments))return!1;t+=1}return!0}))}));const Lr=u((function(e,t){return e||t}));const Jr=st(O(1,Dt(zt,u((function(e,t){return Rt(e)?function(){return e.apply(this,arguments)||t.apply(this,arguments)}:rt(Lr)(e,t)}))(Gt,Tt))));const Vr=st(Vt);const Cr=Dr([cn,Jr,Vr]),Ir=rn(hr,{props:{fieldPatternPredicate:on,specPath:tr,ignoredFields:[]},init({specPath:e=this.specPath,ignoredFields:t=this.ignoredFields}={}){this.specPath=e,this.ignoredFields=t},methods:{ObjectElement(e){return e.forEach(((e,t,n)=>{if(!this.ignoredFields.includes(ur(t))&&this.fieldPatternPredicate(ur(t))){const r=this.specPath(e),s=this.toRefractedElement(r,e),i=new o.c6(bn(t),s);this.copyMetaAndAttributes(n,i),i.classes.push("patterned-field"),this.element.content.push(i)}else this.ignoredFields.includes(ur(t))||this.element.content.push(bn(n))})),this.copyMetaAndAttributes(e,this.element),ln}}}),$r=rn(Ir,{props:{fieldPatternPredicate:Cr}}),Br=rn($r,Ar,er,{props:{specPath:e=>kr(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"]},init(){this.element=new o.Sb,this.element.classes.push("json-schema-properties")}}),qr=rn($r,Ar,er,{props:{specPath:e=>kr(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"]},init(){this.element=new o.Sb,this.element.classes.push("json-schema-patternProperties")}}),zr=rn($r,Ar,er,{props:{specPath:e=>kr(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"]},init(){this.element=new o.Sb,this.element.classes.push("json-schema-dependencies")}}),Ur=rn(er,{methods:{ArrayElement(e){return this.element=bn(e),this.element.classes.push("json-schema-enum"),ln}}}),Gr=rn(er,{methods:{StringElement(e){return this.element=bn(e),this.element.classes.push("json-schema-type"),ln},ArrayElement(e){return this.element=bn(e),this.element.classes.push("json-schema-type"),ln}}}),Kr=rn(hr,Ar,er,{init(){this.element=new o.ON,this.element.classes.push("json-schema-allOf")},methods:{ArrayElement(e){return e.forEach((e=>{const t=kr(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"],n=this.toRefractedElement(t,e);this.element.push(n)})),this.copyMetaAndAttributes(e,this.element),ln}}}),Hr=rn(hr,Ar,er,{init(){this.element=new o.ON,this.element.classes.push("json-schema-anyOf")},methods:{ArrayElement(e){return e.forEach((e=>{const t=kr(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"],n=this.toRefractedElement(t,e);this.element.push(n)})),this.copyMetaAndAttributes(e,this.element),ln}}}),Wr=rn(hr,Ar,er,{init(){this.element=new o.ON,this.element.classes.push("json-schema-oneOf")},methods:{ArrayElement(e){return e.forEach((e=>{const t=kr(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"],n=this.toRefractedElement(t,e);this.element.push(n)})),this.copyMetaAndAttributes(e,this.element),ln}}}),Qr=rn($r,Ar,er,{props:{specPath:e=>kr(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"]},init(){this.element=new o.Sb,this.element.classes.push("json-schema-definitions")}}),Yr=er,Xr=er,Zr=er,es=er,ts=er,ns=rn(hr,Ar,er,{init(){this.element=new o.ON,this.element.classes.push("json-schema-links")},methods:{ArrayElement(e){return e.forEach((e=>{const t=this.toRefractedElement(["document","objects","LinkDescription"],e);this.element.push(t)})),this.copyMetaAndAttributes(e,this.element),ln}}}),rs=er,ss=rn(mr,er,{props:{specPath:z(["document","objects","JSONReference"])},init(){this.element=new Rn},methods:{ObjectElement(e){const t=mr.compose.methods.ObjectElement.call(this,e);return se(this.element.$ref)&&this.element.classes.push("reference-element"),t}}}),is=rn(er,{methods:{StringElement(e){return this.element=bn(e),this.element.classes.push("reference-value"),ln}}});const os=Re((function(e,t,n){return O(Math.max(e.length,t.length,n.length),(function(){return e.apply(this,arguments)?t.apply(this,arguments):n.apply(this,arguments)}))}));const cs=a((function(e){return function(t,n){return e(t,n)?-1:e(n,t)?1:0}}));var as=u((function(e,t){return Array.prototype.slice.call(t,0).sort(e)}));const us=as;const ls=Se(0);const ps=a(f);const fs=st(Cn);const hs=Dt(Ct,Vr);function ms(e){return function(e){if(Array.isArray(e))return ds(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 ds(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return ds(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 ds(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var ys=At(us(cs((function(e,t){return e.length>t.length}))),ls,Le("length")),vs=zn((function(e,t,n){var r=n.apply(void 0,ms(e));return fs(r)?ps(r):t}));const bs=os(hs,(function(e){var t=ys(e);return O(t,(function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return St(vs(n),void 0,e)}))}),U),gs=rn(hr,{props:{alternator:[]},methods:{enter(e){const t=this.alternator.map((({predicate:e,specPath:t})=>os(e,z(t),U))),n=bs(t)(e);return this.element=this.toRefractedElement(n,e),ln}}}),Os=rn(gs,{props:{alternator:[{predicate:kr,specPath:["document","objects","JSONReference"]},{predicate:nr,specPath:["document","objects","JSONSchema"]}]}}),js=rn(mr,er,{props:{specPath:z(["document","objects","Media"])},init(){this.element=new Dn}}),Ss=er,Es=er,xs=rn(mr,er,{props:{specPath:z(["document","objects","LinkDescription"])},init(){this.element=new Jn}}),ws={visitors:{value:er,JSONSchemaOrJSONReferenceVisitor:Os,document:{objects:{JSONSchema:{$visitor:dr,fixedFields:{id:yr,$schema:vr,multipleOf:br,maximum:gr,exclusiveMaximum:Or,minimum:jr,exclusiveMinimum:Sr,maxLength:Er,minLength:xr,pattern:wr,additionalItems:Os,items:Pr,maxItems:_r,minItems:Nr,uniqueItems:Tr,maxProperties:Mr,minProperties:Rr,required:Fr,properties:Br,additionalProperties:Os,patternProperties:qr,dependencies:zr,enum:Ur,type:Gr,allOf:Kr,anyOf:Hr,oneOf:Wr,not:Os,definitions:Qr,title:Yr,description:Xr,default:Zr,format:es,base:ts,links:ns,media:{$ref:"#/visitors/document/objects/Media"},readOnly:rs}},JSONReference:{$visitor:ss,fixedFields:{$ref:is}},Media:{$visitor:js,fixedFields:{binaryEncoding:Ss,type:Es}},LinkDescription:{$visitor:xs,fixedFields:{href:er,rel:er,title:er,targetSchema:Os,mediaType:er,method:er,encType:er,schema:Os}}}}}},As=ne((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof Tn||e(r)&&t("JSONSchemaDraft4",r)&&n("object",r))),ks=ne((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof Rn||e(r)&&t("JSONReference",r)&&n("object",r))),Ps=ne((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof Dn||e(r)&&t("media",r)&&n("object",r))),_s=ne((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof Jn||e(r)&&t("linkDescription",r)&&n("object",r))),Ns={namespace:e=>{const{base:t}=e;return t.register("jSONSchemaDraft4",Tn),t.register("jSONReference",Rn),t.register("media",Dn),t.register("linkDescription",Jn),t}},Ts=()=>{const e=en(Ns);return{predicates:{...t,isStringElement:se},namespace:e}},Ms=(e,{specPath:t=["visitors","document","objects","JSONSchema","$visitor"],plugins:n=[],specificationObj:r=ws}={})=>{const s=(0,o.Qc)(e),i=Xn(r),c=$t(t,[],i);return An(s,c,{state:{specObj:i}}),kn(c.element,n,{toolboxCreator:Ts,visitorOptions:{keyMap:fr,nodeTypeGetter:pr}})},Rs=e=>(t,n={})=>Ms(t,{specPath:e,...n});Tn.refract=Rs(["visitors","document","objects","JSONSchema","$visitor"]),Rn.refract=Rs(["visitors","document","objects","JSONReference","$visitor"]),Dn.refract=Rs(["visitors","document","objects","Media","$visitor"]),Jn.refract=Rs(["visitors","document","objects","LinkDescription","$visitor"]);const Fs=class extends Tn{constructor(e,t,n){super(e,t,n),this.element="JSONSchemaDraft6"}get idProp(){throw new Pe("id keyword from Core vocabulary has been renamed to $id.")}set idProp(e){throw new Pe("id keyword from Core vocabulary has been renamed to $id.")}get $id(){return this.get("$id")}set $id(e){this.set("$id",e)}get exclusiveMaximum(){return this.get("exclusiveMaximum")}set exclusiveMaximum(e){this.set("exclusiveMaximum",e)}get exclusiveMinimum(){return this.get("exclusiveMinimum")}set exclusiveMinimum(e){this.set("exclusiveMinimum",e)}get containsProp(){return this.get("contains")}set containsProp(e){this.set("contains",e)}get items(){return this.get("items")}set items(e){this.set("items",e)}get propertyNames(){return this.get("propertyNames")}set propertyNames(e){this.set("propertyNames",e)}get const(){return this.get("const")}set const(e){this.set("const",e)}get not(){return this.get("not")}set not(e){this.set("not",e)}get examples(){return this.get("examples")}set examples(e){this.set("examples",e)}};const Ds=class extends Jn{get hrefSchema(){return this.get("hrefSchema")}set hrefSchema(e){this.set("hrefSchema",e)}get targetSchema(){return this.get("targetSchema")}set targetSchema(e){this.set("targetSchema",e)}get schema(){throw new Pe("schema keyword from Hyper-Schema vocabulary has been renamed to submissionSchema.")}set schema(e){throw new Pe("schema keyword from Hyper-Schema vocabulary has been renamed to submissionSchema.")}get submissionSchema(){return this.get("submissionSchema")}set submissionSchema(e){this.set("submissionSchema",e)}get method(){throw new Pe("method keyword from Hyper-Schema vocabulary has been removed.")}set method(e){throw new Pe("method keyword from Hyper-Schema vocabulary has been removed.")}get encType(){throw new Pe("encType keyword from Hyper-Schema vocabulary has been renamed to submissionEncType.")}set encType(e){throw new Pe("encType keyword from Hyper-Schema vocabulary has been renamed to submissionEncType.")}get submissionEncType(){return this.get("submissionEncType")}set submissionEncType(e){this.set("submissionEncType",e)}};var Ls=Re((function e(t,n,r){if(0===t.length)return n;var s=t[0];if(t.length>1){var i=!Cn(r)&&x(s,r)&&"object"==typeof r[s]?r[s]:De(t[1])?[]:{};n=e(Array.prototype.slice.call(t,1),n,i)}return function(e,t,n){if(De(e)&&l(n)){var r=[].concat(n);return r[e]=t,r}var s={};for(var i in n)s[i]=n[i];return s[e]=t,s}(s,n,r)}));const Js=Ls;const Vs=Re((function(e,t,n){var r=Array.prototype.slice.call(n,0);return r.splice(e,t),r}));var Cs=Re((function(e,t,n){return Js([e],t,n)}));const Is=Cs;var $s=u((function e(t,n){if(null==n)return n;switch(t.length){case 0:return n;case 1:return function(e,t){if(null==t)return t;if(De(e)&&l(t))return Vs(e,1,t);var n={};for(var r in t)n[r]=t[r];return delete n[e],n}(t[0],n);default:var r=t[0],s=Array.prototype.slice.call(t,1);return null==n[r]?function(e,t){if(De(e)&&l(t))return[].concat(t);var n={};for(var r in t)n[r]=t[r];return n}(r,n):Is(r,e(s,n[r]),n)}}));const Bs=$s,qs=rn(mr,er,{props:{specPath:z(["document","objects","JSONSchema"])},methods:{ObjectElement(e){return this.element=new Fs,mr.compose.methods.ObjectElement.call(this,e)},BooleanElement(e){return this.element=bn(e),this.element.classes.push("boolean-json-schema"),ln}}}),zs=er,Us=rn(hr,Ar,er,{methods:{ObjectElement(e){const t=kr(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"];return this.element=this.toRefractedElement(t,e),ln},ArrayElement(e){return this.element=new o.ON,this.element.classes.push("json-schema-items"),e.forEach((e=>{const t=kr(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"],n=this.toRefractedElement(t,e);this.element.push(n)})),this.copyMetaAndAttributes(e,this.element),ln},BooleanElement(e){return this.element=this.toRefractedElement(["document","objects","JSONSchema"],e),ln}}}),Gs=er,Ks=rn(er,{methods:{ArrayElement(e){return this.element=bn(e),this.element.classes.push("json-schema-examples"),ln}}}),Hs=rn(mr,er,{props:{specPath:z(["document","objects","LinkDescription"])},init(){this.element=new Ds}}),Ws=er,Qs=At(Js(["visitors","document","objects","JSONSchema","$visitor"],qs),Bs(["visitors","document","objects","JSONSchema","fixedFields","id"]),Js(["visitors","document","objects","JSONSchema","fixedFields","$id"],zs),Js(["visitors","document","objects","JSONSchema","fixedFields","contains"],ws.visitors.JSONSchemaOrJSONReferenceVisitor),Js(["visitors","document","objects","JSONSchema","fixedFields","items"],Us),Js(["visitors","document","objects","JSONSchema","fixedFields","propertyNames"],ws.visitors.JSONSchemaOrJSONReferenceVisitor),Js(["visitors","document","objects","JSONSchema","fixedFields","const"],Gs),Js(["visitors","document","objects","JSONSchema","fixedFields","examples"],Ks),Js(["visitors","document","objects","LinkDescription","$visitor"],Hs),Js(["visitors","document","objects","LinkDescription","fixedFields","hrefSchema"],ws.visitors.JSONSchemaOrJSONReferenceVisitor),Bs(["visitors","document","objects","LinkDescription","fixedFields","schema"]),Js(["visitors","document","objects","LinkDescription","fixedFields","submissionSchema"],ws.visitors.JSONSchemaOrJSONReferenceVisitor),Bs(["visitors","document","objects","LinkDescription","fixedFields","method"]),Bs(["visitors","document","objects","LinkDescription","fixedFields","encType"]),Js(["visitors","document","objects","LinkDescription","fixedFields","submissionEncType"],Ws))(ws),Ys=e=>{if(re(e))return`${e.element.charAt(0).toUpperCase()+e.element.slice(1)}Element`},Xs={JSONSchemaDraft6Element:["content"],JSONReferenceElement:["content"],MediaElement:["content"],LinkDescriptionElement:["content"],...wn},Zs=ne((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof Fs||e(r)&&t("JSONSchemaDraft6",r)&&n("object",r))),ei=ne((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof Ds||e(r)&&t("linkDescription",r)&&n("object",r))),ti={namespace:e=>{const{base:t}=e;return t.register("jSONSchemaDraft6",Fs),t.register("jSONReference",Rn),t.register("media",Dn),t.register("linkDescription",Ds),t}},ni=()=>{const e=en(ti);return{predicates:{...s,isStringElement:se},namespace:e}},ri=(e,{specPath:t=["visitors","document","objects","JSONSchema","$visitor"],plugins:n=[],specificationObj:r=Qs}={})=>{const s=(0,o.Qc)(e),i=Xn(r),c=$t(t,[],i);return An(s,c,{state:{specObj:i}}),kn(c.element,n,{toolboxCreator:ni,visitorOptions:{keyMap:Xs,nodeTypeGetter:Ys}})},si=e=>(t,n={})=>ri(t,{specPath:e,...n});Fs.refract=si(["visitors","document","objects","JSONSchema","$visitor"]),Ds.refract=si(["visitors","document","objects","LinkDescription","$visitor"]);const ii=class extends Fs{constructor(e,t,n){super(e,t,n),this.element="JSONSchemaDraft7"}get $comment(){return this.get("$comment")}set $comment(e){this.set("$comment",e)}get if(){return this.get("if")}set if(e){this.set("if",e)}get then(){return this.get("then")}set then(e){this.set("then",e)}get else(){return this.get("else")}set else(e){this.set("else",e)}get contentEncoding(){return this.get("contentEncoding")}set contentEncoding(e){this.set("contentEncoding",e)}get contentMediaType(){return this.get("contentMediaType")}set contentMediaType(e){this.set("contentMediaType",e)}get media(){throw new Pe('media keyword from Hyper-Schema vocabulary has been moved to validation vocabulary as "contentMediaType" / "contentEncoding"')}set media(e){throw new Pe('media keyword from Hyper-Schema vocabulary has been moved to validation vocabulary as "contentMediaType" / "contentEncoding"')}get writeOnly(){return this.get("writeOnly")}set writeOnly(e){this.set("writeOnly",e)}};const oi=class extends Ds{get anchor(){return this.get("anchor")}set anchor(e){this.set("anchor",e)}get anchorPointer(){return this.get("anchorPointer")}set anchorPointer(e){this.set("anchorPointer",e)}get templatePointers(){return this.get("templatePointers")}set templatePointers(e){this.set("templatePointers",e)}get templateRequired(){return this.get("templateRequired")}set templateRequired(e){this.set("templateRequired",e)}get mediaType(){throw new Pe("mediaType keyword from Hyper-Schema vocabulary has been renamed to targetMediaType.")}set mediaType(e){throw new Pe("mediaType keyword from Hyper-Schema vocabulary has been renamed to targetMediaType.")}get targetMediaType(){return this.get("targetMediaType")}set targetMediaType(e){this.set("targetMediaType",e)}get targetHints(){return this.get("targetHints")}set targetHints(e){this.set("targetHints",e)}get description(){return this.get("description")}set description(e){this.set("description",e)}get $comment(){return this.get("$comment")}set $comment(e){this.set("$comment",e)}get submissionEncType(){throw new Pe("submissionEncType keyword from Hyper-Schema vocabulary has been renamed to submissionMediaType.")}set submissionEncType(e){throw new Pe("submissionEncType keyword from Hyper-Schema vocabulary has been renamed to submissionMediaType.")}get submissionMediaType(){return this.get("submissionMediaType")}set submissionMediaType(e){this.set("submissionMediaType",e)}},ci={namespace:e=>{const{base:t}=e;return t.register("jSONSchemaDraft7",ii),t.register("jSONReference",Rn),t.register("linkDescription",oi),t}},ai=e=>{if(re(e))return`${e.element.charAt(0).toUpperCase()+e.element.slice(1)}Element`},ui={JSONSchemaDraft7Element:["content"],JSONReferenceElement:["content"],LinkDescriptionElement:["content"],...wn},li=e=>se(e)&&Oe(["yaml-e-node","yaml-e-scalar"],e),pi={JSONSchemaDraft7Element:{additionalItems:(...e)=>new ii(...e),items:(...e)=>new ii(...e),contains:(...e)=>new ii(...e),required(...e){const t=new o.ON(...e);return t.classes.push("json-schema-required"),t},properties(...e){const t=new o.Sb(...e);return t.classes.push("json-schema-properties"),t},additionalProperties:(...e)=>new ii(...e),patternProperties(...e){const t=new o.Sb(...e);return t.classes.push("json-schema-patternProperties"),t},dependencies(...e){const t=new o.Sb(...e);return t.classes.push("json-schema-dependencies"),t},propertyNames:(...e)=>new ii(...e),enum(...e){const t=new o.ON(...e);return t.classes.push("json-schema-enum"),t},allOf(...e){const t=new o.ON(...e);return t.classes.push("json-schema-allOf"),t},anyOf(...e){const t=new o.ON(...e);return t.classes.push("json-schema-anyOf"),t},oneOf(...e){const t=new o.ON(...e);return t.classes.push("json-schema-oneOf"),t},if:(...e)=>new ii(...e),then:(...e)=>new ii(...e),else:(...e)=>new ii(...e),not:(...e)=>new ii(...e),definitions(...e){const t=new o.Sb(...e);return t.classes.push("json-schema-definitions"),t},examples(...e){const t=new o.ON(...e);return t.classes.push("json-schema-examples"),t},links(...e){const t=new o.ON(...e);return t.classes.push("json-schema-links"),t}},LinkDescriptionElement:{hrefSchema:(...e)=>new ii(...e),targetSchema:(...e)=>new ii(...e),submissionSchema:(...e)=>new ii(...e),templatePointers:(...e)=>new o.Sb(...e),templateRequired:(...e)=>new o.ON(...e),targetHints:(...e)=>new o.Sb(...e)},"json-schema-properties":{"[key: *]":function(...e){return new ii(...e)}},"json-schema-patternProperties":{"[key: *]":function(...e){return new ii(...e)}},"json-schema-dependencies":{"[key: *]":function(...e){return new ii(...e)}},"json-schema-allOf":{"<*>":function(...e){return new ii(...e)}},"json-schema-anyOf":{"<*>":function(...e){return new ii(...e)}},"json-schema-oneOf":{"<*>":function(...e){return new ii(...e)}},"json-schema-definitions":{"[key: *]":function(...e){return new ii(...e)}},"json-schema-links":{"<*>":function(...e){return new oi(...e)}}},fi=(e,t)=>{const n=ai(e),r=pi[n]||pi[ur(e.classes.first)];return void 0===r?void 0:Object.prototype.hasOwnProperty.call(r,"[key: *]")?r["[key: *]"]:r[t]},hi=()=>()=>({visitor:{MemberElement(e,...t){if(!li(e.value))return;const[,,,n]=t,r=n[n.length-1],s=fi(r,ur(e.key));if(void 0===s)return;const i=e.value;return new o.c6(e.key,s.call({context:r},void 0,bn(i.meta),bn(i.attributes)),bn(e.meta),bn(e.attributes))},StringElement(e,...t){if(!li(e))return;const[,,,n]=t,r=n[n.length-1];if(!ue(r))return;const s=fi(r,"<*>");return void 0!==s?s.call({context:e},void 0,bn(e.meta),bn(e.attributes)):void 0}}}),mi=sn()(mr,er,{props:{specPath:z(["document","objects","JSONSchema"])},methods:{ObjectElement(e){return this.element=new ii,mr.compose.methods.ObjectElement.call(this,e)},BooleanElement(e){return this.element=bn(e),this.element.classes.push("boolean-json-schema"),ln}}}),di=er,yi=er,vi=er,bi=er,gi=sn()(mr,er,{props:{specPath:z(["document","objects","LinkDescription"])},init(){this.element=new oi}}),Oi=er,ji=er,Si=er,Ei=er,xi=er,wi=er,Ai=er,ki=At(Js(["visitors","document","objects","JSONSchema","$visitor"],mi),Js(["visitors","document","objects","JSONSchema","fixedFields","$comment"],di),Js(["visitors","document","objects","JSONSchema","fixedFields","if"],Qs.visitors.JSONSchemaOrJSONReferenceVisitor),Js(["visitors","document","objects","JSONSchema","fixedFields","then"],Qs.visitors.JSONSchemaOrJSONReferenceVisitor),Js(["visitors","document","objects","JSONSchema","fixedFields","else"],Qs.visitors.JSONSchemaOrJSONReferenceVisitor),Bs(["visitors","document","objects","JSONSchema","fixedFields","media"]),Js(["visitors","document","objects","JSONSchema","fixedFields","contentEncoding"],yi),Js(["visitors","document","objects","JSONSchema","fixedFields","contentMediaType"],vi),Js(["visitors","document","objects","JSONSchema","fixedFields","writeOnly"],bi),Js(["visitors","document","objects","LinkDescription","$visitor"],gi),Js(["visitors","document","objects","LinkDescription","fixedFields","anchor"],Oi),Js(["visitors","document","objects","LinkDescription","fixedFields","anchorPointer"],ji),Bs(["visitors","document","objects","LinkDescription","fixedFields","mediaType"]),Js(["visitors","document","objects","LinkDescription","fixedFields","targetMediaType"],Si),Js(["visitors","document","objects","LinkDescription","fixedFields","targetHints"],Ei),Js(["visitors","document","objects","LinkDescription","fixedFields","description"],xi),Js(["visitors","document","objects","LinkDescription","fixedFields","$comment"],wi),Bs(["visitors","document","objects","LinkDescription","fixedFields","submissionEncType"]),Js(["visitors","document","objects","LinkDescription","fixedFields","submissionMediaType"],Ai))(Qs),Pi=ne((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof ii||e(r)&&t("JSONSchemaDraft7",r)&&n("object",r))),_i=ne((({hasBasicElementProps:e,isElementType:t,primitiveEq:n})=>r=>r instanceof oi||e(r)&&t("linkDescription",r)&&n("object",r))),Ni=()=>{const e=en(ci);return{predicates:{...i,isStringElement:se},namespace:e}},Ti=(e,{specPath:t=["visitors","document","objects","JSONSchema","$visitor"],plugins:n=[],specificationObj:r=ki}={})=>{const s=(0,o.Qc)(e),i=Xn(r),c=$t(t,[],i);return An(s,c,{state:{specObj:i}}),kn(c.element,n,{toolboxCreator:Ni,visitorOptions:{keyMap:ui,nodeTypeGetter:ai}})},Mi=e=>(t,n={})=>Ti(t,{specPath:e,...n}),Ri=Ti})(),r})()));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@swagger-api/apidom-ns-json-schema-draft-7",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.83.0",
|
|
4
4
|
"description": "JSON Schema Draft 7 namespace for ApiDOM.",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public",
|
|
@@ -42,9 +42,9 @@
|
|
|
42
42
|
"license": "Apache-2.0",
|
|
43
43
|
"dependencies": {
|
|
44
44
|
"@babel/runtime-corejs3": "^7.20.7",
|
|
45
|
-
"@swagger-api/apidom-core": "^0.
|
|
46
|
-
"@swagger-api/apidom-error": "^0.
|
|
47
|
-
"@swagger-api/apidom-ns-json-schema-draft-6": "^0.
|
|
45
|
+
"@swagger-api/apidom-core": "^0.83.0",
|
|
46
|
+
"@swagger-api/apidom-error": "^0.83.0",
|
|
47
|
+
"@swagger-api/apidom-ns-json-schema-draft-6": "^0.83.0",
|
|
48
48
|
"@types/ramda": "~0.29.6",
|
|
49
49
|
"ramda": "~0.29.0",
|
|
50
50
|
"ramda-adjunct": "^4.1.1",
|
|
@@ -60,5 +60,5 @@
|
|
|
60
60
|
"README.md",
|
|
61
61
|
"CHANGELOG.md"
|
|
62
62
|
],
|
|
63
|
-
"gitHead": "
|
|
63
|
+
"gitHead": "4f5563541b7973162e0d5096966d56dbad4c706c"
|
|
64
64
|
}
|